CN115278636B - 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
CN115278636B
CN115278636B CN202210861523.XA CN202210861523A CN115278636B CN 115278636 B CN115278636 B CN 115278636B CN 202210861523 A CN202210861523 A CN 202210861523A CN 115278636 B CN115278636 B CN 115278636B
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.)
Active
Application number
CN202210861523.XA
Other languages
Chinese (zh)
Other versions
CN115278636A (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

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

Landscapes

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

Abstract

A Bluetooth device, a terminal device and a pairing connection method thereof, wherein the pairing connection method comprises the following steps: when the Bluetooth equipment enters a pairing mode, acquiring audio information for broadcasting pairing, wherein the audio information is associated with equipment information of the Bluetooth equipment; and distributing the audio information through a broadcast channel, so that the terminal equipment receives the audio information through monitoring broadcast, and completing pairing connection with the Bluetooth equipment based on the audio information. According to the method, when the Bluetooth equipment is in pairing connection, the audio information associated with the equipment information of the Bluetooth equipment is released through the broadcast channel, so that the other equipment can acquire the equipment information of the Bluetooth equipment based on the audio information, the Bluetooth equipment can be automatically paired with the Bluetooth equipment, the noninductive pairing connection is realized, and the user experience is improved.

Description

Bluetooth device, terminal device and pairing connection method thereof
Technical Field
The application relates to the technical field of Bluetooth equipment, in particular to Bluetooth equipment, terminal equipment and a pairing connection method thereof.
Background
At present, bluetooth devices are increasingly increased, and the Bluetooth devices are not limited to mobile phones and computers, and gradually expand to various wearable devices, peripheral devices and the like. For bluetooth devices such as bluetooth headsets, it is still inconvenient for the first time they are connected 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 started in the same place and the same time period, the user cannot identify the options corresponding to the bluetooth devices at one time because the same options are too many in the display list of the mobile phone end of the user, which causes a certain trouble for connecting the designated devices to the user.
Disclosure of Invention
The present application has been made in order to solve at least one of the above problems. According to an aspect of the present application, there is provided a pairing connection method applicable to a bluetooth device, the method including: when the Bluetooth equipment enters a pairing mode, acquiring audio information for broadcasting pairing, wherein the audio information is associated with equipment information of the Bluetooth equipment; and distributing the audio information through a broadcast channel, so that the terminal equipment receives the audio information through monitoring broadcast, and completing pairing connection with the Bluetooth equipment based on the audio information.
In one embodiment of the application, the audio information is generated by the Bluetooth device after being started based on stored device information of the Bluetooth device; the device information comprises a medium 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: when the Bluetooth equipment enters a pairing mode, responding to a received modification instruction of a user on the connection priority level, and updating the audio information based on modified equipment information; and issuing updated audio information through the broadcast channel, so that the terminal equipment selects the Bluetooth equipment pairing connection with the highest connection priority when receiving a plurality of audio information for broadcasting pairing.
In one embodiment of the application, the Bluetooth device comprises a Bluetooth headset; the receiving the modification instruction of the connection priority level from the user comprises the following steps: and recognizing 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 generates audio information for a broadcast pairing based on stored own device information, including: combining the equipment information with a specific protocol header and a protocol frame to form 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 the 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, where the processor is configured to execute a pairing connection program stored in the memory, so as to implement the pairing connection method described above.
According to still another aspect of the present application, there is provided a pairing connection method, adapted to be executed by a terminal device, the method including: monitoring broadcasting through a broadcasting channel; when audio information for broadcasting pairing is received from the broadcasting channel, device information of Bluetooth devices which issue the audio information is obtained based on the audio information, and pairing connection is completed with the Bluetooth devices based on the device 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 pairing connection with the Bluetooth device based on the device information comprises the following steps: 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 the Bluetooth equipment is paired and connected 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: when a plurality of audio information for broadcasting pairing is received from the broadcasting channel, acquiring the connection priority level of each corresponding Bluetooth device based on each audio information, and selecting the Bluetooth device pairing connection with the highest connection priority level.
In one embodiment of the application, the method further comprises: when a plurality of audio information for broadcasting pairing is received from the broadcasting channel, selecting Bluetooth equipment pairing connection corresponding to the audio information with highest signal strength based on the signal strength of each audio information.
In one embodiment of the application, the method further comprises: starting a timer when a plurality of audio information for broadcasting pairing is received from the broadcasting channel; restarting the timer when new audio information for broadcasting pairing is received again within the preset time of the timer until the new audio information for broadcasting pairing is not received any more within the preset time; when new audio information for broadcasting pairing is not received within the preset time, selecting the Bluetooth equipment pairing connection with the highest connection priority level from the Bluetooth equipment corresponding to the received audio information, or selecting the Bluetooth equipment pairing connection corresponding to the audio information with the highest signal strength.
According to still another aspect of the present application, there is provided a terminal device including a processor and a memory, where the processor is configured to execute a pairing connection program stored in the memory to implement the pairing connection method described above.
According to the pairing connection method, the Bluetooth device issues the audio information associated with the device information through the broadcast channel when in pairing connection, so that the other device waiting to be paired with the Bluetooth device can receive the audio information through monitoring broadcast, and acquire the device information of the Bluetooth device based on the audio information, so that the pairing connection is automatically completed with the Bluetooth device, a user does not need to manually operate the discovery device and the connection device, the noninductive pairing connection is realized, and the user experience is improved.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing embodiments of the present application in more detail with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of embodiments of the application and are incorporated in and constitute a part of this specification, illustrate the application and together with the embodiments of the application, and not constitute a limitation to the application. In the drawings, like reference numerals generally refer to like parts or steps.
Fig. 1 shows a schematic block diagram of a bluetooth device according to an embodiment of the application.
Fig. 2 shows a schematic block diagram of a terminal device according to an embodiment of the application.
Fig. 3 shows a schematic flow chart of a pairing connection method of a bluetooth device and a terminal device according to an embodiment of the application.
Fig. 4 shows a schematic flow chart of a pairing connection method of a bluetooth device and a terminal device according to another embodiment of the 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 with reference to the accompanying drawings. It should be apparent that the described embodiments are only some 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 by the example embodiments described herein. Based on the embodiments of the application described in the present application, all other embodiments that a person skilled in the art would have without inventive effort shall fall within the scope of the application.
Fig. 1 shows a schematic block diagram of a bluetooth device 100 according to an embodiment of the application. As shown in fig. 1, bluetooth device 100 includes a memory 110, a processor 120, and a communication interface 130. The memory 110 stores therein audio information for broadcasting pairing and a computer program executed by the processor 120, which when executed by the processor 120, performs the following operations: when the bluetooth device 100 enters the pairing mode, audio information is acquired from the memory 110, the audio information being associated with device information of the bluetooth device 100; the audio information is distributed through a 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 an embodiment of the present application, the memory 110 of the bluetooth device 100 stores therein audio information for broadcasting pairing, which is 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 acquire the AUDIO information from the memory 110, and issue the AUDIO information through a broadcast channel (such as a low-power high-performance LE-AUDIO broadcast channel) via the communication interface 130, so that another device waiting for pairing with the bluetooth device 100 can receive the AUDIO information by listening to the broadcast, acquire the device information of the bluetooth device 100 based on the AUDIO information, thereby completing the pairing connection with the bluetooth device 100 automatically, without requiring a user to perform a manual operation of discovering the device and the connection device, and realizing a non-inductive pairing connection, thereby improving the user experience.
In an 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 broadcasting pairing includes the MAC address, the device ID, and the device name of the bluetooth device 100, and since both the MAC address and the device ID of the bluetooth device 100 are unchangeable and the device name is user-modifiable, the audio information can be updated according to the user-modified device name when the user modifies the name of the bluetooth device 100. However, with the bluetooth device 100 such as a bluetooth headset, it is often inconvenient for the user to modify its device name before the first pairing connection, but it is often the case that the device name is modified through the display interface of another device (such as a cell phone side) after the pairing connection is completed, so that it is often unnecessary to update the audio information for the broadcast pairing for the first pairing connection scenario, and it is possible to update the audio information for the broadcast pairing 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, which defaults to a lowest priority level, and the processor 120 may be further configured to: when the bluetooth device 100 enters the pairing mode, in response to receiving a modification instruction of the connection priority level from the user, updating the audio information based on the modified device information; the updated audio information is distributed through the broadcast channel via the communication interface 130 so that the other device selects the bluetooth device 100 pairing connection with the highest connection priority 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 waiting pairs. Specifically, the user can modify the connection priority of the bluetooth device 100 that the user wants to pair and connect, so that the bluetooth device 100 updates the audio information used for broadcasting and transmits the audio information, and thus, when another device receives a plurality of audio information for broadcasting and pairing, the device information contained in each audio information can be analyzed, the connection priority of the device information is traversed, and the bluetooth device with the highest connection priority is selected to complete the pairing connection, so that compared with the existing manual operation method of the user, the user experience can be greatly improved for a plurality of bluetooth devices with the same model or the same display name in the same time period at the same place.
It should be noted that, the modification of the connection priority level by the user may only work on the present pairing connection, in other words, after the present pairing connection is completed, the connection priority level may be restored to the initial default level, because the next pairing connection is not necessarily the bluetooth device 100, and thus the connection priority level of the bluetooth device 100 may be modified and updated in real time according to the user's 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 trigger action on the charging box of the wireless bluetooth headset, for example. For example, the connection priority level of the bluetooth headset is modified by performing a cover opening and closing action on the charging cartridge. In one example, the connection priority level of bluetooth device 100 initially defaults to 0, and the user performs a cover opening and closing action on the charging cartridge once, increasing the level by one, for example, 5 times the charging cartridge is opened and closed, which may correspond to modifying the connection priority level of the headset 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 of the bluetooth headset by performing a trigger action on a key (e.g., a pairing key) on the bluetooth headset, for example. For example, the connection priority level of the bluetooth headset is modified by performing a pressing action on the key. In one example, the connection priority level of bluetooth device 100 initially defaults to 0, and the user presses a key, increasing by one level each time it is pressed.
In an embodiment of the present application, the processor 120 generates audio information for a broadcast pairing based on the device information of the bluetooth device 100, may include: combining the device information with the specific protocol header and the protocol frame to form information to be processed; encrypting the information to be processed to obtain encrypted text information (such as by hash operation and the like); 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 an OPUS algorithm, etc.). Wherein the particular protocol header and protocol frame are associated with broadcast technologies 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 compressed to obtain audio information for broadcasting pairing, so that not only can the security of broadcasting data be ensured, but also the data transmission efficiency can be improved.
The above exemplarily shows the bluetooth device 100 according to an 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 of itself through the broadcast channel when performing the pairing connection, so that another device waiting for pairing with the bluetooth device can receive the audio information by listening to the broadcast, and acquire the device information of the bluetooth device based on the audio information, thereby automatically completing the pairing connection with the bluetooth device, without requiring a user to perform a manual operation of discovering the device and the connection device, realizing the noninductive pairing connection, and improving the user experience.
A terminal device 200 according to another aspect of the present application, which can cooperate with the bluetooth device 100 described above to achieve an auto-pairing connection of both of them, is described below in connection with fig. 2. As shown in fig. 2, the terminal device 200 may include a memory 210, a processor 220, and a communication interface 230. The memory 210 stores therein a computer program executed by the processor 220, which when executed by the processor 220, performs the following operations: listening to the broadcast over the broadcast channel via the communication interface 230; when audio information for broadcasting pairing is received from a broadcasting channel, device information of a Bluetooth device that issues 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 an embodiment of the present application, the processor 220 of the terminal device 200 may receive the AUDIO information for broadcasting pairing of the bluetooth device by listening to the broadcast of a specific broadcast channel (i.e. the broadcast channel of the AUDIO information broadcast by the bluetooth device as described above, such as the LE-AUDIO broadcast channel), after receiving the AUDIO information, the processor 220 may parse the AUDIO information to obtain the device information of the bluetooth device (how to parse may depend on the generation process of the AUDIO information, which may include decompression and decryption, in the above-described example), so as to automatically pair with the bluetooth device, without the user having to perform a manual operation of discovering the device and the connection device, thereby implementing a non-inductive pairing connection and improving the user experience.
In an embodiment of the present application, as described above, the device information of the bluetooth device may include a media access control address, a device serial number, and a device name. Accordingly, the processor 220 may initiate a connection to the bluetooth device based on the medium access control 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 the pairing connection with the bluetooth device is completed, to display a pairing success result. A scenario in which audio information may be received for the processor 220 is described in this embodiment.
In another scenario, the processor 220 may receive a plurality of audio information for broadcast pairing. In this scenario, in one embodiment, the device information of the bluetooth device may further include a connection priority level, as described above, and the processor 220 may be further configured to: when a plurality of audio information for broadcasting pairing is received from a broadcasting channel, the connection priority level of each corresponding Bluetooth device is acquired based on each audio information, and the Bluetooth device pairing connection with the highest connection priority level is selected. In this embodiment, the processor 220 may store the device information of a plurality of bluetooth devices in the linked list, and cycle through the connection priority levels in the device information, and select the bluetooth device with the highest connection priority level to complete the pairing connection, which can greatly improve the user experience compared with the existing manual operation method for a plurality of bluetooth devices with the same model or the same display name in the same location and the same time period.
In another embodiment, the processor 220 may also be configured to: when a plurality of audio information for broadcast pairing is received from a broadcast channel, a 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 the broadcast pairing issued by the bluetooth device may not necessarily include a connection priority level, and when the processor 220 of the terminal device 200 receives a plurality of audio information for the broadcast pairing from a broadcast channel, the processor 220 may select a bluetooth device pairing connection corresponding to the audio information having 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 audio information it broadcasts is received by the terminal device 200, and the bluetooth device is most likely to be a bluetooth device to which a user desires to pair. Thus, this embodiment provides another solution for the multiple bluetooth device option to implement an auto-pairing connection, which is also applicable to situations where the connection priority level is included in the audio information, but the connection priority levels of multiple bluetooth devices are the same (i.e. the user may not perform a trigger action to modify the connection priority level).
In a further embodiment of the present application, the processor 220 may also be configured to: starting a timer when a plurality of audio information for broadcasting pairing is received from a broadcasting channel; restarting the timer when receiving new audio information for the broadcasting pairing again within the preset time of the timer until no new audio information for the broadcasting pairing is received within the preset time; when new audio information for broadcasting pairing is not received within a preset time, selecting the Bluetooth equipment pairing connection with the highest connection priority level from the Bluetooth equipment corresponding to the received audio information, or selecting the Bluetooth equipment pairing connection corresponding to the audio information with the highest signal strength. In this embodiment, the terminal device 200 further ensures that bluetooth devices that may need to be paired are not missed by setting a timer to determine if new audio information is also received. For example, when the terminal device 200 receives a plurality of audio information for broadcasting pairing at the same time, it may count 3 seconds, and if new audio information is received within 3 seconds, it counts 3 seconds again, and after 3 seconds, it initiates connection to the device with the highest connection level or 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 listening mode through the APP to implement an 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 Bluetooth devices can be displayed, and the device with the highest connection level or the highest signal strength is selected to initiate connection. Typically, the APP on the terminal device 200 needs to be turned on only at the first connection. Subsequently, when the bluetooth device is connected to the terminal device 200 again, the operation described above is not required, that is, the APP is not required to be turned on.
Based on the above description, the terminal device 200 according to the embodiment of the present application receives the audio information for broadcasting pairing of the bluetooth device by monitoring a specific broadcasting channel, and obtains the device information of the bluetooth device based on the received audio information, thereby automatically pairing with the bluetooth device, without requiring a user to manually operate the discovery device and the connection device, realizing the noninductive pairing connection, and improving the 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 previously, respectively, are described below with reference to 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 for brevity, only some main operation steps will be described.
As shown in fig. 3, the pairing connection method 300 of the bluetooth device and the terminal device may include the steps of:
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, audio information is distributed through a broadcast channel such that the terminal device receives the audio information by listening to the broadcast and completes a 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 equipment based on the stored equipment information after the Bluetooth equipment is started; the device information includes a media 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, where 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 modification instruction of a user on the connection priority level, and updating audio information based on modified equipment information; the updated audio information is issued through the broadcast channel, so that when the terminal equipment receives a plurality of audio information for broadcasting pairing, the Bluetooth equipment pairing connection with the highest connection priority level is selected.
In an embodiment of the application, the Bluetooth device comprises a Bluetooth headset; receiving a modification instruction of a user on the connection priority level, wherein the modification instruction comprises the following steps: and recognizing the triggering action of the user on the earphone charging box or the keys on the earphone.
In an embodiment of the present application, a bluetooth device generates audio information for a broadcast pairing based on stored own device information, including: combining the device information with the specific protocol header and the protocol frame to form information to be processed; encrypting the information to be processed to obtain encrypted text information; converting the encrypted text information into encrypted audio information; the encrypted audio information is compressed to obtain audio information for the broadcast pairing.
In an embodiment of the present application, the broadcast channel comprises an LE-AUDIO broadcast channel.
Based on the above description, the pairing connection method 300 for bluetooth devices and terminal devices according to the embodiments of the present application issues audio information associated with own device information through a broadcast channel when bluetooth devices are paired, so that another device waiting for pairing with the bluetooth devices can receive the audio information by listening to the broadcast, and acquire device information of the bluetooth devices based on the audio information, thereby completing pairing connection with the bluetooth devices automatically, without requiring a user to perform manual operations of discovering devices and connecting devices, realizing noninductive 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 steps of:
in step S410, broadcasting is listened to through a broadcasting channel.
When audio information for broadcasting pairing is received from the broadcasting channel, device information of a bluetooth device that issues audio information is acquired based on the audio information, and pairing connection with the bluetooth device is completed based on the device information at step S420.
In an embodiment of the present application, the device information includes a medium access control address, a device serial number, and a device name, and the terminal device further includes a display;
completing pairing connection with the Bluetooth device based on the device information, including: 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 the Bluetooth device is paired and connected.
In an embodiment of the present application, the device information further includes a connection priority level, and the method 400 further includes: when a plurality of audio information for broadcasting pairing is received from a broadcasting channel, the connection priority level of each corresponding Bluetooth device is acquired based on each audio information, and the Bluetooth device pairing connection with the highest connection priority level is selected.
In an embodiment of the present application, the method 400 further comprises: when a plurality of audio information for broadcast pairing is received from a broadcast channel, a 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 broadcasting pairing is received from a broadcasting channel; restarting the timer when receiving new audio information for the broadcasting pairing again within the preset time of the timer until no new audio information for the broadcasting pairing is received within the preset time; when new audio information for broadcasting pairing is not received within a preset time, selecting the Bluetooth equipment pairing connection with the highest connection priority level from the Bluetooth equipment corresponding to the received audio information, or selecting the Bluetooth equipment pairing connection corresponding to the audio information with the highest signal strength.
Based on the above description, the pairing connection method 400 for bluetooth devices and terminal devices according to the embodiments of the present application receives audio information of bluetooth devices for broadcasting pairing by listening to a specific broadcasting channel, and obtains device information of bluetooth devices based on the received audio information, thereby automatically pairing with bluetooth devices without requiring a user to perform manual operations of discovering devices and connecting devices, realizing noninductive pairing connection, and improving user experience.
Furthermore, according to an embodiment of the present application, there is also provided a storage medium on which program instructions are stored, which program instructions, when executed by a computer or a processor, are adapted to carry out the respective steps of the pairing connection method of a bluetooth device and a terminal device according to the embodiment of the present application. The storage medium may include, for example, a memory card of a smart phone, a memory component of a tablet computer, a hard disk of a personal computer, read-only memory (ROM), erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), USB memory, or any combination of the foregoing 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 illustrative embodiments are merely illustrative and are not intended to limit the scope of the present application thereto. Various changes and modifications may be made therein by one of ordinary skill in the art without departing from the scope and spirit of the application. All such changes and modifications are intended to be included within the scope of the present application as set forth 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 solution. 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 by 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, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another device, or some features may be omitted or not performed.
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 order to streamline the application and aid in understanding one or more of the various inventive aspects, various features of the application are sometimes grouped together in a single embodiment, figure, or description thereof in the description of exemplary embodiments of the application. However, the method of the present application should not be construed as reflecting the following intent: i.e., the claimed application requires more features than are expressly recited in each claim. 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 units of any method or apparatus so disclosed, may be combined in any combination, except combinations where the 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 but not others included in other embodiments, 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 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 some or all of the functions of some of the modules according to embodiments of the present application may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present application can also be implemented as an apparatus program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present application may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided 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 use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
The foregoing description is merely illustrative of specific embodiments of the present application and the scope of the present application is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the scope of the present application. The protection scope of the application is subject to the protection scope of the claims.

Claims (9)

1. A pairing connection method suitable for a bluetooth device, the method comprising:
when the Bluetooth equipment enters a pairing mode, acquiring audio information for broadcasting pairing, wherein the audio information is associated with equipment information of the Bluetooth equipment;
the audio information is released through a broadcast channel, so that the terminal equipment receives the audio information through monitoring broadcast, and pairing connection is completed with the Bluetooth equipment based on the audio information; the audio information is generated by the Bluetooth device after the Bluetooth device is started on the basis of the stored device information of the Bluetooth device;
the device information includes a connection priority level of the bluetooth device, the connection priority level defaulting to a lowest priority level, the method further comprising: when the Bluetooth equipment enters a pairing mode, responding to a received modification instruction of a user on the connection priority level, and updating the audio information based on modified equipment information; and issuing updated audio information through the broadcast channel, so that the terminal equipment selects the Bluetooth equipment pairing connection with the highest connection priority when receiving a plurality of audio information for broadcasting pairing.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the device information also includes a media access control address, a device serial number, and a device name of the bluetooth device.
3. The method of claim 1, wherein the bluetooth device comprises a bluetooth headset;
the receiving the modification instruction of the connection priority level from the user comprises the following steps: and recognizing the triggering action of the user on the key of the earphone charging box or the Bluetooth earphone.
4. A method according to any of claims 1-3, wherein the bluetooth device generates audio information for a broadcast pairing based on the stored own device information, comprising:
combining the equipment information with a specific protocol header and a protocol frame to form 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 the audio information for broadcasting pairing.
5. A pairing connection method suitable for a terminal device, the method comprising:
monitoring broadcasting through a broadcasting channel;
when audio information for broadcasting pairing is received from the broadcasting channel, acquiring device information of Bluetooth devices which release the audio information based on the audio information, and completing pairing connection with the Bluetooth devices based on the device information;
the device information includes a connection priority level, the method further comprising: when a plurality of audio information for broadcasting pairing is received from the broadcasting channel, acquiring the connection priority level of each corresponding Bluetooth device based on each audio information, and selecting the Bluetooth device pairing connection with the highest connection priority level, or,
when a plurality of audio information for broadcasting pairing is received from the broadcasting channel, selecting Bluetooth equipment pairing connection corresponding to the audio information with highest signal strength based on the signal strength of each audio information.
6. The method of claim 5, wherein the device information further comprises a media access control address, a device serial number, and a device name, and wherein the terminal device further comprises a display;
the pairing connection with the Bluetooth device based on the device information comprises the following steps: 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 the Bluetooth equipment is paired and connected with the Bluetooth equipment.
7. The method according to claim 5 or 6, characterized in that the method further comprises:
starting a timer when a plurality of audio information for broadcasting pairing is received from the broadcasting channel;
restarting the timer when new audio information for broadcasting pairing is received again within the preset time of the timer until the new audio information for broadcasting pairing is not received any more within the preset time;
when new audio information for broadcasting pairing is not received within the preset time, selecting the Bluetooth equipment pairing connection with the highest connection priority level from the Bluetooth equipment corresponding to the received audio information, or selecting the Bluetooth equipment pairing connection corresponding to the audio information with the highest signal strength.
8. A bluetooth device comprising a processor and a memory, the processor being 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 4.
9. A terminal device comprising a processor and a memory, the processor being configured to execute a pairing connection program stored in the memory to implement the pairing connection method according to any one of claims 5 to 7.
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 CN115278636A (en) 2022-11-01
CN115278636B true 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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (4)

* 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
CA2789216C (en) * 2010-02-08 2017-02-14 Daniel Friedlaender Method, apparatus, and use of presence detection
CN106792474A (en) * 2016-12-31 2017-05-31 深圳市优必选科技有限公司 The connection method of audio Bluetooth pairing, apparatus and system
CN112788579A (en) * 2020-12-31 2021-05-11 厦门亿联网络技术股份有限公司 Method and device for quickly pairing dual-mode Bluetooth equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
CN115278636A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
US10452349B2 (en) Electronic device and operation control method therefor
US20230251826A1 (en) Method for Quickly Starting Application Service, and Terminal
US11812485B2 (en) Bluetooth communication method and terminal
US10635391B2 (en) Electronic device and method for controlling an operation thereof
CN104484200B (en) The method and device upgraded to firmware
KR102350498B1 (en) Electronic device and method for reproducing audio signal via the external device
EP3148161A1 (en) Message transmission method, message reception method and apparatus, computer program and recording medium
CN112911556A (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device
CN108874421B (en) TWS earphone, upgrading method and device thereof, and storage medium
EP3379404A1 (en) Electronic device and method for controlling operation of electronic device
US20180109930A1 (en) Electronic device and method for controlling industrial communication device, and industrial communication device thereof
KR20150062686A (en) Spam filtering method of electronic apparatus and electronic appparatus thereof
WO2018049892A1 (en) Data transmission method and apparatus, and terminal
WO2017028651A1 (en) Method, apparatus and system for performing configuration setting between devices
CN108882211A (en) A kind of method, system and the TWS earphone of the upgrading of TWS earphone program
CN106569910B (en) Data backup and transmission method and mobile terminal
CN104798031A (en) Handsfree device with continuous keyword recognition
KR20100071146A (en) Method for storing data of video telephony call in mobile terminal and system thereof
CN114175701A (en) Method for using remote SIM module and electronic equipment
CN113542487B (en) Method, device, chip and storage medium for prompting device electric quantity information
CN105320616A (en) External device control method and device
CN109561414A (en) A kind of method, apparatus and wireless headset of wireless headset pairing
CN105468504A (en) Program test method and device
CN112165704A (en) Information sharing method, earphone box and computer readable storage medium
US20170118586A1 (en) Voice data transmission processing method, terminal and computer 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