CN115278636A - Bluetooth device, terminal device and pairing connection method thereof - Google Patents

Bluetooth device, terminal device and pairing connection method thereof Download PDF

Info

Publication number
CN115278636A
CN115278636A CN202210861523.XA CN202210861523A CN115278636A CN 115278636 A CN115278636 A CN 115278636A CN 202210861523 A CN202210861523 A CN 202210861523A CN 115278636 A CN115278636 A CN 115278636A
Authority
CN
China
Prior art keywords
audio information
pairing
bluetooth
information
connection
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
CN202210861523.XA
Other languages
Chinese (zh)
Other versions
CN115278636B (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.)
Anker Innovations Co Ltd
Original Assignee
Anker Innovations 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 Anker Innovations Co Ltd filed Critical Anker Innovations Co Ltd
Priority to CN202210861523.XA priority Critical patent/CN115278636B/en
Publication of CN115278636A publication Critical patent/CN115278636A/en
Application granted granted Critical
Publication of CN115278636B publication Critical patent/CN115278636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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

Abstract

A Bluetooth device, a terminal device and a pairing connection method thereof are provided, the pairing connection method comprises: when the Bluetooth equipment enters a pairing mode, acquiring audio information for broadcast pairing, wherein the audio information is associated with equipment information of the Bluetooth equipment; and releasing the audio information through a broadcast channel so that the terminal equipment receives the audio information by monitoring broadcast and completes pairing connection with the Bluetooth equipment based on the audio information. According to the method, the Bluetooth equipment releases the audio information associated with the equipment information of the Bluetooth equipment through the broadcast channel when the Bluetooth equipment is connected in a pairing mode, so that the other equipment can acquire the equipment information of the Bluetooth equipment based on the audio information and automatically complete pairing connection with the Bluetooth equipment, non-inductive pairing connection is achieved, and user experience is improved.

Description

Bluetooth device, terminal device and pairing connection method thereof
Technical Field
The present application relates to the technical field of bluetooth devices, and in particular, to a bluetooth device, a terminal device, and a pairing connection method thereof.
Background
At present, the number of Bluetooth devices is increasing, the Bluetooth devices are not limited to mobile phones and computers, and the Bluetooth devices are gradually expanded to various wearable devices, peripheral devices and the like. For bluetooth devices such as bluetooth headsets, it is still inconvenient to connect them for the first time by the user manually discovering the device, selecting the device and initiating the connection. In addition, if a plurality of bluetooth devices with the same model or the same display name are all turned on in the same place and the same time period, the user cannot recognize the option corresponding to the bluetooth device for a while because the same options in the display list of the user mobile phone end are too many, and certain trouble is caused to the user for connecting the designated device.
Disclosure of Invention
The present application has been made to solve at least one of the above problems. According to an aspect of the present application, there is provided a pairing connection method, adapted to a bluetooth device, the method including: when the Bluetooth equipment enters a pairing mode, acquiring audio information for broadcast pairing, wherein the audio information is associated with equipment information of the Bluetooth equipment; and releasing the audio information through a broadcast channel so that the terminal equipment receives the audio information by monitoring broadcast and completes pairing connection with the Bluetooth equipment based on the audio information.
In one embodiment of the present application, the audio information is generated by the bluetooth device after being powered on based on the stored device information of the bluetooth device; wherein the device information includes a media access control address, a device serial number, and a device name of the bluetooth device.
In one embodiment of the present application, the device information further includes a connection priority level of the bluetooth device, the connection priority level defaults to a lowest priority level, and the method further includes: updating the audio information based on the modified device information in response to receiving a user modification instruction of the connection priority when the Bluetooth device enters a pairing mode; and issuing the updated audio information through the broadcast channel so that the terminal equipment selects the Bluetooth equipment with the highest connection priority level for pairing connection when receiving a plurality of audio information for broadcast pairing.
In one embodiment of the present application, the bluetooth device comprises a bluetooth headset; the receiving of the instruction of modifying the connection priority by the user includes: and identifying the triggering action of the user on the earphone charging box or the keys on the earphone.
In one embodiment of the present application, the bluetooth device generating audio information for broadcast pairing based on stored own device information includes: combining the equipment information with a specific protocol header and a protocol frame into information to be processed; encrypting the information to be processed to obtain encrypted text information; converting the encrypted text information into encrypted audio information; and compressing the encrypted audio information to obtain audio information for broadcasting pairing.
According to another aspect of the present application, there is provided a bluetooth device, including a processor and a memory, wherein the processor is configured to execute a pairing connection program stored in the memory to implement the pairing connection method.
According to another aspect of the present application, a pairing connection method is provided, which is suitable for being executed by a terminal device, and includes: monitoring broadcast through a broadcast channel; and when audio information for broadcast pairing is received from the broadcast channel, acquiring the equipment information of the Bluetooth equipment issuing the audio information based on the audio information, and completing pairing connection with the Bluetooth equipment based on the equipment information.
In one embodiment of the present application, the device information includes a media access control address, a device serial number, and a device name, and the terminal device further includes a display; the completing pairing connection with the Bluetooth device based on the device information includes: and initiating connection to the Bluetooth equipment based on the medium access control address and the equipment serial number, and displaying the equipment name of the Bluetooth equipment after completing pairing connection with the Bluetooth equipment.
In one embodiment of the present application, the device information further includes a connection priority level, and the method further includes: and when a plurality of pieces of audio information for broadcast pairing are received from the broadcast channel, acquiring the connection priority level of each corresponding Bluetooth device based on each piece of audio information, and selecting the Bluetooth device with the highest connection priority level for pairing connection.
In one embodiment of the present application, the method further comprises: when a plurality of audio information for broadcast pairing are received from the broadcast channel, the Bluetooth equipment corresponding to the audio information with the highest signal intensity is selected to be connected in a pairing mode based on the signal intensity of each piece of audio information.
In one embodiment of the present application, the method further comprises: starting a timer when a plurality of audio information for broadcast pairing is received from the broadcast channel; when new audio information for broadcast pairing is received again within the preset time of the timer, restarting the timer until the new audio information for broadcast pairing is no longer received within the preset time; and when no new audio information for broadcast pairing is received within the preset time, selecting Bluetooth equipment with the highest connection priority level from the Bluetooth equipment corresponding to the received audio information for pairing connection, or selecting Bluetooth equipment corresponding to the audio information with the highest signal intensity for pairing connection.
According to another aspect of the present application, there is provided a terminal device, including a processor and a memory, wherein the processor is configured to execute a pairing connection program stored in the memory to implement the pairing connection method.
According to the pairing connection method, the Bluetooth device issues the audio information associated with the device information through the broadcast channel when pairing connection is conducted, so that another device waiting for being paired with the Bluetooth device can receive the audio information through monitoring broadcast, the device information of the Bluetooth device is obtained based on the audio information, pairing connection is automatically completed with the Bluetooth device, manual operation of finding the device and the connecting device by a user is not needed, non-inductive pairing connection is achieved, and user experience is improved.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in more detail embodiments of the present application with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 shows a schematic block diagram of a bluetooth device according to an embodiment of the present application.
Fig. 2 shows a schematic block diagram of a terminal device according to an embodiment of the present application.
Fig. 3 shows a schematic flowchart of a pairing connection method of a bluetooth device and a terminal device according to an embodiment of the present application.
Fig. 4 shows a schematic flowchart of a pairing connection method of a bluetooth device and a terminal device according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, exemplary embodiments according to the present application will be described in detail below with reference to the accompanying drawings. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all embodiments of the present application, and it should be understood that the present application is not limited to the example embodiments described herein. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the application described in the application without inventive step, shall fall within the scope of protection of the application.
Fig. 1 shows a schematic block diagram of a bluetooth device 100 according to an embodiment of the present application. As shown in fig. 1, bluetooth device 100 includes a memory 110, a processor 120, and a communication interface 130. Wherein the memory 110 has stored therein audio information for broadcasting the pairing and a computer program executed by the processor 120, which, when executed by the processor 120, performs the following operations: acquiring audio information from the memory 110 when the bluetooth device 100 enters the pairing mode, the audio information being associated with device information of the bluetooth device 100; the audio information is distributed through the broadcast channel via the communication interface 130 so that another device receives the audio information by listening to the broadcast and completes a pairing connection with the bluetooth device 100 based on the audio information.
In the embodiment of the present application, the memory 110 of the bluetooth device 100 stores therein audio information for broadcasting pairing, the audio information being associated with device information of the bluetooth device 100; when the bluetooth device 100 enters the pairing connection mode (such as when the bluetooth device 100 is paired with another device for the first time or when the bluetooth device 100 changes a pairing object), the processor 120 of the bluetooth device 100 may obtain the AUDIO information from the memory 110 and issue the AUDIO information through a broadcast channel (such as a low-power and high-performance LE-AUDIO broadcast channel) via the communication interface 130, so that another device waiting to be paired with the bluetooth device 100 can receive the AUDIO information by monitoring a broadcast, and obtain the device information of the bluetooth device 100 based on the AUDIO information, thereby completing pairing connection with the bluetooth device 100 automatically, and without manual operation of discovering devices and connected devices by a user, implementing non-inductive pairing connection, and improving user experience.
In the embodiment of the present application, the audio information may be generated by the processor 120 based on the device information of the bluetooth device 100 acquired from the memory 110 after the bluetooth device 100 is powered on; the device information includes, among other things, a Media Access Control (MAC) address, a device serial number (ID), and a device name of the bluetooth device 100. In this embodiment, the audio information for broadcast pairing includes the MAC address, device ID, and device name of the bluetooth device 100, and since both the MAC address and device ID of the bluetooth device 100 cannot be changed and the device name is user-modifiable, the audio information can be updated according to the device name modified by the user after the user modifies the name of the bluetooth device 100. However, for a bluetooth device 100 such as a bluetooth headset, it is generally inconvenient for a user to modify the device name before the first pairing connection, but generally modify the device name through a display interface of another device (such as a mobile phone end) after completing the pairing connection, so that the audio information for broadcast pairing is not required to be updated for the first pairing connection scenario, and the audio information for broadcast pairing may be required to be updated for the re-pairing connection scenario.
In a further embodiment of the present application, the device information of the bluetooth device 100 may further include a connection priority level, and the connection priority level defaults to a lowest priority level, and the processor 120 may further be configured to: updating audio information based on the modified device information in response to receiving a user's modification instruction for the connection priority when the bluetooth device 100 enters the pairing mode; the updated audio information is distributed through the broadcast channel via the communication interface 130 so that another device selects the bluetooth device 100 having the highest connection priority level to pair with the connection when receiving a plurality of audio information for broadcast pairing.
In this embodiment, a solution is provided for a scenario where multiple bluetooth devices are simultaneously broadcasting pending pairings. Specifically, the user may modify the connection priority of the bluetooth device 100 that the user desires to pair and connect, so that the bluetooth device 100 updates and distributes the audio information used for broadcast pairing, and thus, when another device receives multiple audio information for broadcast pairing, the device information included in each audio information may be analyzed, and the connection priority in the device information is traversed, and the bluetooth device with the highest connection priority is selected from the device information to complete pairing and connection.
It should be noted that the modification of the connection priority by the user may only work on the pairing connection, in other words, after the pairing connection is completed, the connection priority may be restored to the initial default level, because the bluetooth device 100 is not necessarily the bluetooth device 100 that the user desires to be paired when the pairing connection is performed next time, and therefore it is sufficient to keep the connection priority of the bluetooth device 100 modified and updated in real time according to the user requirement.
In one embodiment of the present application, the aforementioned bluetooth device 100 may be a wireless bluetooth headset, and the user may modify the connection priority of the bluetooth headset by performing a triggering action on a charging box of the wireless bluetooth headset, for example. For example, the connection priority level of the bluetooth headset is modified by performing an opening and closing action on the charging box. In one example, the connection priority level of the bluetooth device 100 initially defaults to 0, and the user performs a switch cover action on the charging box, and the switch cover action is increased by one level every time the charging box is switched, for example, 5 times the charging box is switched may correspond to the earphone connection priority level being modified to 5.
In another embodiment of the present application, the aforementioned bluetooth device 100 may be a bluetooth headset, and the user may modify the connection priority level of the bluetooth headset by performing a triggering action on a certain key (e.g., a pairing key) on the bluetooth headset. For example, the connection priority level of the bluetooth headset is modified by performing a pressing action on a key. In one example, the connection priority level of the bluetooth device 100 initially defaults to 0, and the user presses a key, which increases by one level each time the user presses the key.
In an embodiment of the present application, the processor 120 generates audio information for broadcast pairing based on the device information of the bluetooth device 100, which may include: combining the equipment information with the specific protocol header and the protocol frame into information to be processed; encrypting information to be processed to obtain encrypted text information (such as through hash operation); converting the encrypted text information into encrypted audio information (such as by a TTL text-to-speech algorithm, etc.); the encrypted audio information is compressed to obtain audio information for the broadcast pairing (such as by the OPUS algorithm). Wherein the specific protocol headers and protocol frames are associated with the broadcast technology supported by the processor 120. In this embodiment, the device information of the bluetooth device 100 is encrypted to obtain text information, and the text information is converted into audio information and then compressed to obtain audio information for broadcast pairing, so that not only can the security of broadcast data be ensured, but also the data transmission efficiency can be improved.
The above exemplarily illustrates the bluetooth device 100 according to the embodiment of the present application. Based on the above description, the bluetooth device 100 according to the embodiment of the present application issues the audio information associated with the device information through the broadcast channel when performing pairing connection, so that another device waiting for pairing with the bluetooth device can receive the audio information by monitoring the broadcast, and obtain the device information of the bluetooth device based on the audio information, thereby automatically completing pairing connection with the bluetooth device, without a manual operation of a user for discovering the device and the connection device, realizing non-inductive pairing connection, and improving user experience.
A terminal device 200 provided according to another aspect of the present application, which can cooperate with the bluetooth device 100 described above to realize auto-pairing connection between them, is described below with reference to fig. 2. As shown in fig. 2, terminal device 200 may include memory 210, processor 220, and communication interface 230. Wherein the memory 210 stores therein a computer program to be executed by the processor 220, the computer program, when executed by the processor 220, performs the following operations: listen for broadcasts over a broadcast channel via the communication interface 230; when audio information for broadcast pairing is received from a broadcast channel, acquiring equipment information of Bluetooth equipment issuing the audio information based on the audio information, and completing pairing connection with the Bluetooth equipment based on the equipment information.
In the embodiment of the present application, the processor 220 of the terminal device 200 may receive AUDIO information for broadcast pairing of the bluetooth device by monitoring broadcast of a specific broadcast channel (i.e., a broadcast channel for broadcasting AUDIO information by the bluetooth device described above, such as an LE-AUDIO broadcast channel) via the communication interface 230, and after receiving the AUDIO information, the processor 220 may parse the AUDIO information to obtain device information of the bluetooth device (how to parse may depend on a generation process of the AUDIO information, which may include decompression and decryption in the example described above), so as to automatically pair and connect with the bluetooth device, and do not need a manual operation of a user to discover the device and the connected device, thereby implementing an imperceptible pairing connection and improving user experience.
In an embodiment of the present application, the device information of the bluetooth device may include a media access control address, a device serial number, and a device name, as described above. Accordingly, the processor 220 may initiate a connection to the bluetooth device based on the mac address and the device serial number, and display the device name of the bluetooth device by a display (not shown) of the terminal device 200 after completing a pairing connection with the bluetooth device, so as to display a pairing success result. Which in this embodiment may be a scenario where the processor 220 receives an audio message.
In another scenario, the processor 220 may receive a plurality of audio information for broadcast pairing. In this scenario, in an embodiment, as described above, the device information of the bluetooth device may further include a connection priority level, and the processor 220 may be further configured to: when a plurality of audio information for broadcast pairing is received from a broadcast channel, the connection priority level of each corresponding Bluetooth device is obtained based on each audio information, and the Bluetooth device with the highest connection priority level is selected for pairing connection. In this embodiment, the processor 220 may store the device information of the multiple bluetooth devices in a linked list, and cyclically traverse the connection priority levels in the device information, and select a bluetooth device with the highest connection priority level to complete pairing connection, which may greatly improve user experience for a scenario in which a plurality of bluetooth devices of the same type or with the same display name are to be paired and connected in the same place and in the same time period, compared with an existing method of manual operation by a user.
In another embodiment, the processor 220 may be further configured to: when a plurality of audio information for broadcast pairing are received from a broadcast channel, the Bluetooth device pairing connection corresponding to the audio information with the highest signal strength is selected based on the signal strength of each audio information. In this embodiment, the audio information for broadcast pairing issued by the bluetooth device may not necessarily include the connection priority level, and when the processor 220 of the terminal device 200 receives a plurality of audio information for broadcast pairing from a broadcast channel, the processor 220 may select a bluetooth device pairing connection corresponding to the audio information with the highest signal strength based on the signal strength of each audio information. For example, in general, the closer a bluetooth device is to the terminal device 200, the greater the signal strength of the audio information that the terminal device 200 receives its broadcast, and the more likely it is that the bluetooth device that the user desires to be paired to connect. Thus, this embodiment provides another solution for multiple bluetooth device selection to enable auto-pairing connections, which is also applicable to the case where the connection priority levels are included in the audio information, but the connection priority levels of the multiple bluetooth devices are the same (i.e., the user may not perform a triggering action to modify the connection priority levels).
In further embodiments of the present application, the processor 220 may be further configured to: starting a timer when a plurality of audio information for broadcast pairing is received from a broadcast channel; when new audio information for broadcast pairing is received again within the preset time of the timer, restarting the timer until the new audio information for broadcast pairing is no longer received within the preset time; and when new audio information for broadcast pairing is not received within the preset time, selecting Bluetooth equipment with the highest connection priority level from the Bluetooth equipment corresponding to the received audio information for pairing connection, or selecting Bluetooth equipment corresponding to the audio information with the highest signal intensity for pairing connection. In this embodiment, the terminal device 200 further ensures that bluetooth devices that may need pairing connection are not missed by setting a timer to determine whether new audio information will be received. For example, when the terminal device 200 receives a plurality of audio information for broadcast pairing at the same time, the time may be counted for 3 seconds, and if new audio information is received within 3 seconds, the time is counted for 3 seconds again, and after 3 seconds, a connection is initiated to the device with the highest connection level or the highest signal strength.
In an embodiment of the present application, the above-described operations performed by the processor 220 of the terminal device 200 may be implemented by an application program (APP). When the bluetooth device enters the pairing mode, the terminal device 200 may enter the broadcast monitoring mode through the APP to realize the automatic pairing connection with the bluetooth device. Finally, the device name of the paired bluetooth device can be displayed on the APP; when the audio information of a plurality of Bluetooth devices is monitored, the audio information can be displayed, and the device with the highest connection grade or the device with the highest signal strength is selected to initiate connection. Generally, the APP on the terminal device 200 needs to be turned on only at the first connection. Subsequently, when the bluetooth device connects to the terminal device 200 again, the aforementioned operation is not needed, that is, the APP does not need to be started.
Based on the above description, the terminal device 200 according to the embodiment of the present application receives audio information of a bluetooth device for broadcast pairing by monitoring a specific broadcast channel, and obtains device information of the bluetooth device based on the received audio information, so as to pair and connect with the bluetooth device automatically, without manual operations of a user for discovering the device and the connected device, thereby implementing non-inductive pairing connection, and improving user experience.
The pairing connection methods 300 and 400 of the bluetooth device and the terminal device, which may be performed by the bluetooth device 100 and the terminal device 200 described above, respectively, are described below in conjunction with fig. 3 and 4. The structure and operation of the bluetooth device 100 and the terminal device 200 have been described in detail in the foregoing, and details are not repeated here for brevity, and only some main operation steps are described.
As shown in fig. 3, the pairing connection method 300 of the bluetooth device and the terminal device may include the following steps:
in step S310, when the bluetooth device enters the pairing mode, audio information for broadcasting pairing is acquired, the audio information being associated with device information of the bluetooth device.
In step S320, the audio information is distributed through the broadcast channel, so that the terminal device receives the audio information by monitoring the broadcast, and completes pairing connection with the bluetooth device based on the audio information.
In the embodiment of the application, the audio information is generated by the Bluetooth device based on the stored device information of the Bluetooth device after the Bluetooth device is started; the device information includes a medium access control address, a device serial number, and a device name of the bluetooth device.
In an embodiment of the present application, the device information further includes a connection priority level of the bluetooth device, and the connection priority level defaults to a lowest priority level, and the method 300 further includes: when the Bluetooth equipment enters a pairing mode, responding to a received user modification instruction of the connection priority, and updating audio information based on modified equipment information; and issuing the updated audio information through the broadcast channel so that the terminal equipment selects the Bluetooth equipment with the highest connection priority level to be connected in a pairing mode when receiving a plurality of pieces of audio information for broadcast pairing.
In an embodiment of the application, the bluetooth device comprises a bluetooth headset; receiving a modification instruction of a user to the connection priority, wherein the modification instruction comprises the following steps: and identifying the triggering action of the user on the earphone charging box or the keys on the earphone.
In an embodiment of the present application, the bluetooth device generating audio information for broadcast pairing based on stored own device information includes: combining the equipment information with a specific protocol header and a protocol frame into information to be processed; encrypting information to be processed to obtain encrypted text information; converting the encrypted text information into encrypted audio information; and compressing the encrypted audio information to obtain audio information for broadcasting pairing.
In an embodiment of the present application, the broadcast channel includes an LE-AUDIO broadcast channel.
Based on the above description, according to the pairing connection method 300 for the bluetooth device and the terminal device in the embodiment of the present application, when the bluetooth device performs pairing connection, the audio information associated with the device information of the bluetooth device is issued through the broadcast channel, so that another device waiting for being paired with the bluetooth device can receive the audio information by monitoring broadcast, and the device information of the bluetooth device is acquired based on the audio information, thereby automatically completing pairing connection with the bluetooth device, and a user does not need to perform manual operation for discovering a device and a connection device, thereby implementing non-inductive pairing connection, and improving user experience.
As shown in fig. 4, the pairing connection method 400 of the bluetooth device and the terminal device may include the following steps:
in step S410, a broadcast is listened to through a broadcast channel.
In step S420, when audio information for broadcast pairing is received from a broadcast channel, device information of a bluetooth device issuing the audio information is acquired based on the audio information, and pairing connection is completed with the bluetooth device based on the device information.
In the embodiment of the application, the device information includes a media access control address, a device serial number and a device name, and the terminal device further includes a display;
accomplish to pair with bluetooth equipment and be connected based on equipment information, include: and initiating connection to the Bluetooth device based on the medium access control address and the device serial number, and displaying the device name of the Bluetooth device after completing pairing connection with the Bluetooth device.
In an embodiment of the application, the device information further includes a connection priority level, and the method 400 further includes: when a plurality of audio information for broadcast pairing is received from a broadcast channel, the connection priority level of each corresponding Bluetooth device is obtained based on each audio information, and the Bluetooth device with the highest connection priority level is selected for pairing connection.
In an embodiment of the present application, the method 400 further comprises: when a plurality of audio information for broadcast pairing are received from a broadcast channel, the Bluetooth device pairing connection corresponding to the audio information with the highest signal strength is selected based on the signal strength of each audio information.
In an embodiment of the present application, the method 400 further comprises: starting a timer when a plurality of audio information for broadcast pairing is received from a broadcast channel; when new audio information for broadcast pairing is received again within the preset time of the timer, restarting the timer until new audio information for broadcast pairing is no longer received within the preset time; and when new audio information for broadcast pairing is not received within the preset time, selecting Bluetooth equipment with the highest connection priority level from the Bluetooth equipment corresponding to the received audio information for pairing connection, or selecting Bluetooth equipment corresponding to the audio information with the highest signal intensity for pairing connection.
Based on the above description, according to the pairing connection method 400 of the bluetooth device and the terminal device in the embodiment of the present application, the audio information of the bluetooth device for broadcasting pairing is received by monitoring the specific broadcast channel, and the device information of the bluetooth device is obtained based on the received audio information, so that the bluetooth device is automatically paired and connected, the manual operation of discovering the device and the connection device by the user is not required, the non-inductive pairing connection is realized, and the user experience is improved.
Furthermore, according to an embodiment of the present application, there is also provided a storage medium, on which program instructions are stored, and when the program instructions are executed by a computer or a processor, the program instructions are used for executing corresponding steps of a pairing connection method of a bluetooth device and a terminal device according to an embodiment of the present application. The storage medium may include, for example, a memory card of a smart phone, a storage component of a tablet computer, a hard disk of a personal computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. The computer-readable storage medium may be any combination of one or more computer-readable storage media.
Although the illustrative embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the above-described illustrative embodiments are only exemplary, and are not intended to limit the scope of the present application thereto. Various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the scope or spirit of the present application. All such changes and modifications are intended to be included within the scope of the present application as claimed in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the description of exemplary embodiments of the present application, various features of the present application are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the application and aiding in the understanding of one or more of the various inventive aspects. However, the method of this application should not be construed to reflect the intent: this application is intended to cover such departures from the present disclosure as come within known or customary practice in the art to which this invention pertains. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this application.
It will be understood by those skilled in the art that all of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where such features are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
Various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some of the modules according to embodiments of the present application. The present application may also be embodied as apparatus programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The above description is only for the specific embodiments of the present application or the description thereof, and the protection scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope disclosed in the present application, and shall be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A pairing connection method is applicable to Bluetooth equipment, and is characterized by comprising the following steps:
when the Bluetooth equipment enters a pairing mode, acquiring audio information for broadcast pairing, wherein the audio information is associated with equipment information of the Bluetooth equipment;
and releasing the audio information through a broadcast channel so that the terminal equipment receives the audio information by monitoring broadcast and completes pairing connection with the Bluetooth equipment based on the audio information.
2. The method of claim 1, wherein the audio information is generated by the bluetooth device after power-on based on stored own device information;
wherein the device information includes a media access control address, a device serial number, and a device name of the bluetooth device.
3. The method of claim 2, wherein the device information further comprises a connection priority level of the Bluetooth device, wherein the connection priority level defaults to a lowest priority level, and wherein the method further comprises:
updating the audio information based on the modified device information in response to receiving a user modification instruction of the connection priority when the Bluetooth device enters a pairing mode;
and issuing the updated audio information through the broadcast channel so that the terminal equipment selects the Bluetooth equipment with the highest connection priority level for pairing connection when receiving a plurality of audio information for broadcast pairing.
4. The method of claim 3, wherein the Bluetooth device comprises a Bluetooth headset;
the receiving of the instruction of modifying the connection priority by the user includes: and identifying the triggering action of the user on the button on the earphone charging box or the Bluetooth earphone.
5. The method of any of claims 1-4, wherein the Bluetooth device generates audio information for broadcast pairing based on stored own device information, comprising:
combining the equipment information with a specific protocol header and a protocol frame into information to be processed;
encrypting the information to be processed to obtain encrypted text information;
converting the encrypted text information into encrypted audio information;
and compressing the encrypted audio information to obtain audio information for broadcasting pairing.
6. A pairing connection method is applicable to terminal equipment, and is characterized by comprising the following steps:
monitoring broadcast through a broadcast channel;
and when audio information for broadcast pairing is received from the broadcast channel, acquiring the equipment information of the Bluetooth equipment issuing the audio information based on the audio information, and completing pairing connection with the Bluetooth equipment based on the equipment information.
7. The method of claim 6, wherein the device information comprises a media access control address, a device serial number, and a device name, and wherein the terminal device further comprises a display;
the completing pairing connection with the Bluetooth device based on the device information includes: initiating connection to the Bluetooth device based on the medium access control address and the device serial number, and displaying the device name of the Bluetooth device after completing pairing connection with the Bluetooth device.
8. The method of claim 7, wherein the device information further comprises a connection priority level, and wherein the method further comprises:
and when a plurality of audio information for broadcast pairing is received from the broadcast channel, acquiring the connection priority level of each corresponding Bluetooth device based on each audio information, and selecting the Bluetooth device with the highest connection priority level for pairing connection.
9. The method of claim 6, further comprising:
when a plurality of audio information for broadcast pairing are received from the broadcast channel, the Bluetooth equipment corresponding to the audio information with the highest signal intensity is selected to be connected in a pairing mode based on the signal intensity of each piece of audio information.
10. The method according to claim 8 or 9, characterized in that the method further comprises:
starting a timer when a plurality of audio information for broadcast pairing is received from the broadcast channel;
when new audio information for broadcast pairing is received again within the preset time of the timer, restarting the timer until the new audio information for broadcast pairing is no longer received within the preset time;
and when no new audio information for broadcasting pairing is received within the preset time, selecting Bluetooth equipment with the highest connection priority level from the Bluetooth equipment corresponding to the received audio information for pairing connection, or selecting Bluetooth equipment corresponding to the audio information with the highest signal intensity for pairing connection.
11. A bluetooth device, comprising a processor and a memory, wherein the processor is configured to execute a pairing connection program stored in the memory to implement the pairing connection method according to any one of claims 1 to 5.
12. A terminal device, comprising a processor and a memory, wherein the processor is configured to execute a pairing connection program stored in the memory to implement the pairing connection method according to any one of claims 6 to 10.
CN202210861523.XA 2022-07-20 2022-07-20 Bluetooth device, terminal device and pairing connection method thereof Active CN115278636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210861523.XA CN115278636B (en) 2022-07-20 2022-07-20 Bluetooth device, terminal device and pairing connection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210861523.XA CN115278636B (en) 2022-07-20 2022-07-20 Bluetooth device, terminal device and pairing connection method thereof

Publications (2)

Publication Number Publication Date
CN115278636A true CN115278636A (en) 2022-11-01
CN115278636B CN115278636B (en) 2023-10-31

Family

ID=83766429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210861523.XA Active CN115278636B (en) 2022-07-20 2022-07-20 Bluetooth device, terminal device and pairing connection method thereof

Country Status (1)

Country Link
CN (1) CN115278636B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100330909A1 (en) * 2009-06-25 2010-12-30 Blueant Wireless Pty Limited Voice-enabled walk-through pairing of telecommunications devices
US20110195665A1 (en) * 2010-02-08 2011-08-11 Daniel Friedlaender Method, apparatus, and use of presence detection
US20180192448A1 (en) * 2016-12-31 2018-07-05 UBTECH Robotics Corp. Method, device, and system for audio bluetooth pairing and connecting
CN108307365A (en) * 2017-09-30 2018-07-20 宇龙计算机通信科技(深圳)有限公司 Connection method of Bluetooth device, device and user terminal
CN111163452A (en) * 2020-01-07 2020-05-15 宇龙计算机通信科技(深圳)有限公司 Bluetooth headset-based independent audio playing method
CN112135281A (en) * 2020-09-25 2020-12-25 北京百瑞互联技术有限公司 Method, device and storage medium for Bluetooth pairing authentication by using audio
CN113438640A (en) * 2021-05-20 2021-09-24 深圳市声扬科技有限公司 Equipment pairing connection method, device, system and storage medium
CN113840266A (en) * 2020-06-24 2021-12-24 华为技术有限公司 Bluetooth pairing method, device, system, electronic equipment and storage medium
CN113993114A (en) * 2021-11-15 2022-01-28 歌尔科技有限公司 Bluetooth broadcasting method, device and computer readable storage medium
US20220210851A1 (en) * 2020-12-31 2022-06-30 Yealink (Xiamen) Network Technology Co., Ltd. Method and apparatus for quickly pairing dual-mode wireless device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100330909A1 (en) * 2009-06-25 2010-12-30 Blueant Wireless Pty Limited Voice-enabled walk-through pairing of telecommunications devices
US20110195665A1 (en) * 2010-02-08 2011-08-11 Daniel Friedlaender Method, apparatus, and use of presence detection
US20180192448A1 (en) * 2016-12-31 2018-07-05 UBTECH Robotics Corp. Method, device, and system for audio bluetooth pairing and connecting
CN108307365A (en) * 2017-09-30 2018-07-20 宇龙计算机通信科技(深圳)有限公司 Connection method of Bluetooth device, device and user terminal
CN111163452A (en) * 2020-01-07 2020-05-15 宇龙计算机通信科技(深圳)有限公司 Bluetooth headset-based independent audio playing method
CN113840266A (en) * 2020-06-24 2021-12-24 华为技术有限公司 Bluetooth pairing method, device, system, electronic equipment and storage medium
CN112135281A (en) * 2020-09-25 2020-12-25 北京百瑞互联技术有限公司 Method, device and storage medium for Bluetooth pairing authentication by using audio
US20220210851A1 (en) * 2020-12-31 2022-06-30 Yealink (Xiamen) Network Technology Co., Ltd. Method and apparatus for quickly pairing dual-mode wireless device
CN113438640A (en) * 2021-05-20 2021-09-24 深圳市声扬科技有限公司 Equipment pairing connection method, device, system and storage medium
CN113993114A (en) * 2021-11-15 2022-01-28 歌尔科技有限公司 Bluetooth broadcasting method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN115278636B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
US11812485B2 (en) Bluetooth communication method and terminal
US10452349B2 (en) Electronic device and operation control method therefor
US10158946B2 (en) Speaker discovery and assignment
JP6329259B2 (en) Method and apparatus for selecting information push destination terminal
CN108882211A (en) A kind of method, system and the TWS earphone of the upgrading of TWS earphone program
CN111132111B (en) BLE-based audio sharing method, system and computer readable storage medium
WO2018049892A1 (en) Data transmission method and apparatus, and terminal
CN104581993B (en) It is wirelessly connected the method and terminal of the method established, data transmission
CN111462746B (en) TWS earphone-based control method, system, device and equipment
WO2019120102A1 (en) Wireless handheld electronic device, smart electronic device and pairing connection method thereof
CN105120528A (en) A method, apparatus and system for carrying out configuration setting between devices
CN104301782A (en) Method and device for outputting audios and terminal
CN111447600A (en) Audio sharing method for wireless earphone, terminal device and storage medium
CN203219287U (en) Media playing system and media emitting apparatus
CN106488413A (en) Notification message based reminding method and mobile terminal
CN111491279A (en) Bluetooth scanning method, device, equipment and computer readable storage medium
CN103324459A (en) Method and system for implementing USB (universal serial bus) headset devices
US20170118586A1 (en) Voice data transmission processing method, terminal and computer storage medium
CN103942507A (en) Information processing method and electronic device
CN111970676B (en) WiFi hot spot access method, device, equipment and storage medium
CN111615090A (en) Interaction method and device between Bluetooth devices, storage medium and electronic device
CN114500730A (en) Popup window function control method, device and computer readable storage medium
CN107040902A (en) The method and apparatus that a kind of message is pushed
JP6603430B1 (en) Safety confirmation system and safety confirmation method
CN115278636A (en) Bluetooth device, terminal device and pairing connection method thereof

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