[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111464993B - Bluetooth headset pairing method and wireless headset for Bluetooth headset - Google Patents

Bluetooth headset pairing method and wireless headset for Bluetooth headset Download PDF

Info

Publication number
CN111464993B
CN111464993B CN202010268928.3A CN202010268928A CN111464993B CN 111464993 B CN111464993 B CN 111464993B CN 202010268928 A CN202010268928 A CN 202010268928A CN 111464993 B CN111464993 B CN 111464993B
Authority
CN
China
Prior art keywords
pairing
earphone
headset
bluetooth
earpiece
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
CN202010268928.3A
Other languages
Chinese (zh)
Other versions
CN111464993A (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.)
Kunshan Taixin Microelectronics Co ltd
Original Assignee
Kunshan Taixin Microelectronics 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 Kunshan Taixin Microelectronics Co ltd filed Critical Kunshan Taixin Microelectronics Co ltd
Priority to CN202010268928.3A priority Critical patent/CN111464993B/en
Publication of CN111464993A publication Critical patent/CN111464993A/en
Application granted granted Critical
Publication of CN111464993B publication Critical patent/CN111464993B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

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

Abstract

The application discloses a pairing method for between bluetooth earphone of ears and bluetooth earphone of ears, pairing method includes: in a preset triggering state, a first earphone in the double-ear Bluetooth earphone broadcasts a first pairing request on a predefined radio frequency channel and scans on the predefined radio frequency channel; and when the first earphone receives a first pairing response returned by the second earphone in the Bluetooth earphone in response to the first pairing request through scanning, the first earphone and the second earphone carry out pairing confirmation. The technical scheme can provide a robust earphone pairing scheme for the existing TWS Bluetooth technical scheme.

Description

Bluetooth headset pairing method and wireless headset for Bluetooth headset
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a pairing method for a pair of Bluetooth earphones and a wireless earphone for the Bluetooth earphones.
Background
With the development of social progress and communication technology, headphones have become an indispensable living article in people's life. Among them, the bluetooth headset is to apply bluetooth technology to the headset, to cancel a connection between the headset and a data source device (e.g., a smart terminal), and to easily use the headset in various ways.
The true wireless stereo (True Wireless Stereo, TWS) Bluetooth headset completely gets rid of the constraint of the connecting wire. The commonly adopted technical scheme of TWS Bluetooth headset is based on a forwarding mode: one earpiece (e.g., a master earpiece) establishes a bluetooth connection with the data source device and the other earpiece (e.g., a slave earpiece), respectively, and then the data source device sends audio data to the master earpiece, which forwards the audio data to the slave earpiece, so that the master earpiece sounds in synchronization with the slave earpiece. Because there is not the physical connecting wire between two earphones for TWS bluetooth headset's wearing experience has obtained promotion. However, in this solution, the master earphone needs to perform complete bluetooth data transmission (e.g., reception and retransmission) with the data source device and the slave earphone, respectively, so the amount of data to be transmitted as a whole is large, while the power consumption of the master earphone is larger than that of the slave earphone, resulting in imbalance of the power consumption of the two earphones. In response to this problem, the industry has also proposed a different listening mode based alternative, wherein after a bluetooth connection is established between one earpiece (e.g. the master earpiece) and the data source device, the other earpiece (e.g. the slave earpiece) can synchronously receive bluetooth data from the data source device when it sends it to the master earpiece by receiving relevant parameters of the bluetooth connection from the master earpiece, so that it is not necessary to receive the forwarded bluetooth audio data separately from the master earpiece.
In either of the above-mentioned bluetooth headset communication solutions, before bluetooth data (e.g., audio data) is transmitted between two headsets and a data source device, a pairing relationship needs to be established so that one headset can quickly find the other headset; meanwhile, the two earphones also need to exchange information through the mutual channel, if a forwarding mode is adopted, the channel can be used for forwarding audio information, and if a monitoring mode is adopted, synchronous information and the like still need to be exchanged between the two earphones. Thus, a solution is currently needed to address the problem of initial or re-pairing between two headphones.
Disclosure of Invention
The present application aims to propose a pairing method for a bluetooth headset and a wireless headset for a bluetooth headset, so as to at least solve the above and other technical problems existing in the prior art.
A first aspect of the present application provides a pairing method for use between a bluetooth headset, the bluetooth headset comprising a first headset and a second headset, the pairing method comprising the steps of: s210: in a preset triggering state, the first earphone broadcasts a first pairing request on a predefined radio frequency channel and scans the predefined radio frequency channel; s220: and when the first earphone receives a first pairing response through the scanning, the first earphone and the second earphone carry out pairing confirmation, wherein the first pairing response is returned by the second earphone in response to the first pairing request.
In some embodiments, the preset trigger state is a state that determines that other headphones that are not currently paired with the first headphone are on, or determines that headphone pairing needs to be performed on the first headphone.
In some embodiments, the predefined radio frequency channel is a broadcast channel predefined based on the BLE bluetooth low energy protocol, or a channel predefined based on other short range wireless communication protocols.
In some implementations, the first pairing request includes a device address, a device type, a target access code, a target radio frequency channel of the first earpiece, and the first pairing response includes a device address, a device type, a target access code, a target radio frequency channel of the second earpiece. Optionally, the information included in the first pairing confirm request is the same as the information included in the first pairing request, and the information included in the first pairing confirm response is the same as the information included in the first pairing response.
In some embodiments, the pairing method further includes, after step S220: the first earpiece communicates wirelessly with the second earpiece via pairing information determined via the pairing confirmation.
In some embodiments, step S220 includes: the first earphone sends a first pairing confirmation request to the second earphone and receives the first pairing confirmation response from the second earphone. Optionally, in step S220, the first earphone sends the first pairing confirm request, so that the second earphone serves as a secondary earphone to at least save pairing information of the first earphone serving as a primary earphone. Optionally, the pairing information includes a device address, a target access code, and a target radio frequency channel. Optionally, the pairing method further includes, after step S220: the first earphone is in wireless communication with the second earphone through the target access code and the target radio frequency channel.
In some embodiments, the pairing method further includes, after step S210: s220': when the first earphone receives a second pairing request broadcast by the second earphone through the scanning, the first earphone returns a second pairing response to the second earphone; s230': and the first earphone and the second earphone are matched and confirmed. Optionally, the information included in the second pairing request is the same as the information included in the first pairing response, and the information included in the second pairing response is the same as the information included in the first pairing request. Optionally, step S230' includes: the first earphone receives a second pairing confirmation request from the second earphone and sends a second pairing confirmation response to the second earphone. Optionally, the second earphone is configured to perform substantially the same operations as the first earphone, also according to step S210, step S220', step S230'.
In some embodiments, before step S210, the first earphone stores in advance indication information for indicating that the second earphone is a wireless earphone to be paired, and step S220 includes: the first earpiece identifies the first pairing response based on the indication information. Optionally, the method further includes, after S210: s220": the first earpiece continues to alternate the broadcasting and the scanning when the first earpiece does not recognize the first pairing response from the second earpiece.
Another aspect of the present application provides a wireless headset for a bluetooth headset comprising a processor and a memory, the memory having stored therein a computer program executable by the processor, wherein the computer program, when executed by the processor, causes the wireless headset to perform the aforementioned pairing method for a bluetooth headset.
A further aspect of the present application provides a storage medium for storing a computer program which, when executed by a computer or processor, implements the aforementioned pairing method for use between bluetooth headsets.
Yet another aspect of the present application provides a computer program product comprising instructions that, when executed, cause a computer to perform the aforementioned pairing method between bluetooth headsets.
Yet another aspect of the present application provides a chip applicable to a bluetooth headset, the chip comprising: the system comprises at least one communication interface, at least one processor and at least one memory, wherein the communication interface, the memory and the processor are interconnected through a bus, and the processor can enable the Bluetooth headset to execute the pairing method between the Bluetooth headset by executing instructions stored in the memory.
It should be understood that the foregoing description is only an overview of the technical solutions of the present application, so that the technical means of the present invention may be more clearly understood and implemented in accordance with the content of the specification. The following specific embodiments of the present application are described in detail in order to make the above and other objects, features and advantages of the present application more comprehensible.
Drawings
Fig. 1 is a schematic diagram of an application scenario of a bluetooth headset according to an embodiment of the present application.
Fig. 2 is a flowchart of a pairing method for bluetooth headphones according to an embodiment of the present application.
Fig. 3 is a flow chart of a pairing method for use between bluetooth headsets according to a particular embodiment.
Detailed Description
Various embodiments will be described in detail with reference to the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. References to particular embodiments and particular implementations are for illustrative purposes and are not intended to limit the scope of the application or the claims.
Fig. 1 is a schematic diagram of an application scenario of a bluetooth headset according to an embodiment of the present application. As shown in fig. 1, the Bluetooth headset 20 may communicate wirelessly with the data source device 10 via a Bluetooth (Bluetooth) connection.
The binaural bluetooth headset 20 comprises a first headset 21 and a second headset 22, each comprising a bluetooth module supporting a bluetooth protocol, which may be, but is not limited to, a single mode bluetooth module supporting a classical bluetooth protocol or a bluetooth protocol newly introduced in the future, or a dual mode bluetooth module also supporting a BLE low energy bluetooth protocol. The first earpiece 21 and the second earpiece 22 may also include wireless communication modules that support other short range wireless communication protocols. The first earphone 21 and the second earphone 22 may communicate with each other through the dual mode bluetooth module or the wireless communication module. There is no connecting wire between the first earphone 21 and the second earphone 22, so that the portable earphone is convenient to carry and easy to use. The first earpiece 21 and the second earpiece 22 further comprise a speaker and optionally a microphone.
The data source device 10 may be any device having arithmetic processing capabilities. The data source device 10 includes a bluetooth module supporting a bluetooth protocol, which may be, but is not limited to, a single mode bluetooth module supporting a classical bluetooth protocol or a bluetooth protocol newly introduced in the future, or a dual mode bluetooth module also supporting a BLE low energy bluetooth protocol, as long as it is compatible with bluetooth communication with the binaural bluetooth headset 20. The data source device 10 may also have audio playback functionality and/or voice communication functionality. For example, the data source device 10 may be a cell phone, computer, television, vehicle-mounted device, wearable device, industrial device, or the like.
In this application, the first earphone 21 and the second earphone 22 are not limited to the left earphone or the right earphone. In some scenarios, the first earpiece 21 is a left earpiece and the second earpiece 22 is a right earpiece. In other scenarios, the first earpiece 21 is a right earpiece and the second earpiece 22 is a left earpiece. In still other scenarios, the first earpiece 21 and the second earpiece 22 may also be role switched (e.g., operation interchanged) as needed or as applicable.
The prior art scheme commonly adopted by TWS Bluetooth headset is based on a forwarding mode: one earpiece (e.g., a master earpiece) establishes a bluetooth connection with the data source device and the other earpiece (e.g., a slave earpiece), respectively, and then the data source device sends audio data to the master earpiece, which forwards the audio data to the slave earpiece, so that the master earpiece sounds in synchronization with the slave earpiece. Because there is not the physical connecting wire between two earphones for TWS bluetooth headset's wearing experience has obtained promotion. However, in this solution, the master earphone needs to perform complete bluetooth data transmission (e.g., reception and retransmission) with the data source device and the slave earphone, respectively, so the amount of data to be transmitted as a whole is large, while the power consumption of the master earphone is larger than that of the slave earphone, resulting in imbalance of the power consumption of the two earphones. In response to this problem, the industry has also proposed a different listening mode based alternative, wherein after a bluetooth connection is established between one earpiece (e.g. the master earpiece) and the data source device, the other earpiece (e.g. the slave earpiece) can synchronously receive bluetooth data from the data source device when it sends it to the master earpiece by receiving relevant parameters of the bluetooth connection from the master earpiece, so that it is not necessary to receive the forwarded bluetooth audio data separately from the master earpiece. However, for this alternative, it is not yet given how to pair two headphones in particular in order to conduct the wireless communication between them that is required for implementing the above alternative.
In either of the above-mentioned bluetooth headset communication solutions, before bluetooth data (e.g., audio data) is transmitted between two headsets and a data source device, a pairing relationship needs to be established so that one headset can quickly find the other headset; meanwhile, the two earphones also need to exchange information through the mutual channel, if a forwarding mode is adopted, the channel can be used for forwarding audio information, and if a monitoring mode is adopted, synchronous information and the like still need to be exchanged between the two earphones. The present application therefore aims to provide a solution to the problem of an initial or re-pairing between two headphones.
The following describes, in detail, by some embodiments, the technical solutions of the present application, which aim to solve at least the above and other technical problems existing in the prior art. It should be noted that the following embodiments may exist alone or in combination with each other, and for the same or similar content, the description will not be repeated in different embodiments.
Fig. 2 is a flowchart of a pairing method for bluetooth headphones according to an embodiment of the present application. As shown in fig. 2, the method comprises the steps of:
s210: in a preset trigger state, a first earphone in the Bluetooth earphone pair broadcasts a first pairing request on a predefined radio frequency channel and scans on the predefined radio frequency channel.
S220: when the first earphone receives a first pairing response returned by the second earphone in the double-ear Bluetooth earphone in response to the first pairing request through scanning, the first earphone and the second earphone carry out pairing confirmation.
After the pairing is completed through the steps, for example, when audio data is transmitted between the bluetooth headset and the data source device, information exchanged in the pairing process (which will be further described below, for example, a target access code and a target radio frequency channel) can be directly used for wireless communication, and repeated pairing is not required.
In some embodiments, step S220 may include: the first earphone sends a first pairing confirmation request to the second earphone and receives a first pairing confirmation response from the second earphone. As an embodiment, the first earphone may send the first pairing confirmation request and receive the first pairing confirmation response through the predefined radio frequency channel. Specifically, the information included in the first pairing confirm request may be the same as the information included in the first pairing request, and the information included in the first pairing confirm response may be the same as the information included in the first pairing response.
As can be seen, some embodiments of the present application improve the robustness of pairing a bluetooth headset through two rounds of handshaking, such as two rounds of bi-directional interaction of pairing related information.
In some embodiments, the preset trigger state may be a determination that no other headphones are currently paired with the first headphones after power-on. As an embodiment, after the first earphone is powered on, it may be determined whether information about other earphones that have been paired with the first earphone is stored therein, and if not, it may be determined that the first earphone is currently in a preset trigger state. Specifically, the first earphone may be in a state that the first earphone is not paired with other earphones after leaving the factory, or may be in a state that the first earphone is initialized, that is, in a state of restoring the factory setting, for example, the first earphone may be initialized by pressing a button on the first earphone that triggers initialization or receiving an instruction for triggering initialization from another device (for example, an intelligent terminal connected to the first earphone through a bluetooth module). In some embodiments, the preset trigger state may be a state that determines that headset pairing needs to be performed after power-on. For example, the first earpiece may determine that an earpiece pairing needs to be performed by a button that triggers the earpiece pairing being pressed or receiving an instruction from another device (e.g., a smart terminal connected to the first earpiece via a bluetooth module) to trigger the earpiece pairing. In some embodiments, the preset trigger state may be a state of being first paired with the data source device, or a state of being located on the jig, or a state of being first placed in the charging bin.
The predefined radio frequency channel may be a broadcast channel predefined based on the BLE bluetooth low energy protocol, or may be a channel predefined based on other short range wireless communication protocols (such as WIFI or ZigBee, but not limited thereto). The predefined radio frequency channels may be one or more, and are not particularly limited in this application. For example, the same first pairing request may be broadcast simultaneously on a plurality of predefined radio frequency channels.
In some embodiments, the first earpiece may alternately broadcast and scan. As an example, the broadcasting and scanning may be periodically alternated.
In some embodiments, the first pairing request may include a device address, a device type, a target access code, a target radio frequency channel of the first earpiece, and the first pairing response may include a device address, a device type, a target access code, a target radio frequency channel of the second earpiece. As an embodiment, the device address is a Media Access Control (MAC) address of the corresponding wireless headset, and the device type is information indicating whether the corresponding wireless headset is a left headset or a right headset. It will be appreciated that the device address and device type are used to identify the corresponding wireless headset. As an embodiment, the target access code and the target radio frequency channel are used for wireless communication between the first earpiece and the second earpiece. As an embodiment, the first earpiece may send a first pairing confirmation request and receive a first pairing confirmation response over the target radio frequency channel. Optionally, the first pairing request and the first pairing response may further include: at least one of pairing status, system beat, and power information.
In some embodiments, the method may further include, after S210:
s220': when the first earphone receives a second pairing request broadcast by the second earphone through scanning, the first earphone returns a second pairing response to the second earphone. In some embodiments, the information included in the second pairing request may be the same as the information included in the first pairing response, and the information included in the second pairing response may be the same as the information included in the first pairing request.
S230': and the first earphone and the second earphone are matched and confirmed.
In some embodiments, step S230' may include: the first earphone receives a second pairing confirmation request from the second earphone and sends a second pairing confirmation response to the second earphone. As an embodiment, the first earpiece may receive the second pairing confirmation request and send a second pairing confirmation response through the predefined radio frequency channel or through the target radio frequency channel. Specifically, the information included in the second pairing confirm request may be the same as the information included in the first pairing request, and the information included in the second pairing confirm response may be the same as the information included in the first pairing response.
In some embodiments, before S210, the first earphone may have stored therein indication information for indicating that the second earphone is a wireless earphone to be paired. For example, the indication information may be provided in the first earphone through another device (e.g., a smart terminal connected to the first earphone through a bluetooth module) at the time of shipment or after shipment. As an embodiment, the indication information includes a device address (e.g., MAC address) of the second earpiece, and the first earpiece identifies the first pairing response in S220 or the second pairing request in S220' based on the indication information.
In some embodiments, the earphone of the bluetooth headset that sends the pairing confirm request is used as a master earphone, or the earphone that receives the pairing confirm request is used as a slave earphone. For example, in step S220, the first earphone is a main earphone, and the second earphone is a sub-earphone; in step S220', the first earphone is a secondary earphone, and the second earphone is a primary earphone. In other embodiments, the headset that receives the pairing confirm request is the master headset, or the headset that issues the pairing confirm request is the slave headset. As an embodiment, the secondary earpiece at least stores the device address, the target access code and the target radio frequency channel of the primary earpiece for the required wireless communication with the primary earpiece, e.g. when the bluetooth earpiece (or primary earpiece) is in audio data transmission with the data source device via a bluetooth connection. It should be understood that the primary/secondary earphone mentioned herein may refer to the primary/secondary earphone in the foregoing forwarding mode, and may also refer to the primary/secondary earphone in the foregoing listening mode.
In some embodiments, the method may further include, after S210:
s220": when the first earpiece does not recognize a pairing request or pairing response from the second earpiece, the first earpiece continues to alternate broadcasting and scanning. As an embodiment, broadcasting and scanning may be alternately performed for a preset duration threshold in S220 ".
It should be noted that, although the above description of the method is described only with the operation of the first earphone side in the bluetooth headset, these operations are equally applicable to the second earphone in the bluetooth headset.
As an embodiment, to avoid that the first earpiece and the second earpiece continuously fail to receive each other's broadcast and response by alternating broadcast and scanning substantially synchronously, a random delay may be added at each specified period.
Fig. 3 is a flow chart of a pairing method for use between bluetooth headsets according to a particular embodiment. As shown in fig. 3, this embodiment is described in terms of an interactive operation between a first earphone and a second earphone in a bluetooth headset, and specifically includes the following steps:
s310: in a preset trigger state, a first earpiece (e.g., left earpiece) broadcasts a radio frequency data packet (e.g., BLE data packet) carrying first pairing information (i.e., own pairing information) on a pairing channel (i.e., a predefined radio frequency channel). The first pairing information may include a pairing status, a MAC address, a target access code, a target radio frequency channel, a system beat (tick), a tag indicating left/right headphones, and a battery status, among others.
S320: in a preset trigger state, the second earpiece (e.g., right earpiece) scans the pairing channel for radio frequency data packets from the first earpiece.
S330: when the radio frequency data packet (including the pairing information) broadcast by the first earphone is received through scanning, the second earphone replies to the radio frequency data packet carrying the second pairing information (i.e., the own pairing information). Wherein the information item included in the second pairing information may be similar to the first pairing information in S310.
S340: a further interaction is performed between the first earpiece and the second earpiece to confirm the pairing. Specifically, the first earpiece may send a pairing confirm request to the second earpiece, and in response thereto, the second earpiece sends a pairing confirm response to the first earpiece. For example, the pairing confirmation request may also carry the first pairing information, and the pairing confirmation response may also carry the second pairing information. Alternatively, the primary earpiece and the secondary earpiece may be determined by this step, see in particular the relevant description above.
S350: at least one of the first earphone and the second earphone stores pairing information of the other earphone, and at this time, the pairing process can be regarded as ending. Specifically, one headset as a secondary headset may save pairing information of another headset as a primary headset, including at least a MAC address of the primary headset, a target access code, and a target radio frequency channel.
It should be understood that although the operations of the methods of the present application are illustrated in the accompanying drawings in a particular order, this does not require or imply that the operations must be performed in that particular order or that all of the illustrated operations be performed in order to achieve desirable results. Rather, the steps depicted in the flowcharts may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
The embodiment of the application also provides a wireless earphone for the double-lug Bluetooth earphone, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor. The memory and processor may, for example, communicate via a communication bus. The processor, when executing the computer program, performs the operations of the wireless headset (e.g., the first headset) in the method embodiments described above. The implementation principle and technical effect are similar to those of the method embodiment, and are not repeated here.
The embodiment of the application provides a storage medium for storing a computer program, which when executed by a computer or a processor, implements the pairing method for the bluetooth headphones.
Embodiments of the present application provide a computer program product comprising instructions that, when executed, cause a computer to perform the pairing method described above for use between bluetooth headsets.
The embodiment of the application provides a chip, the chip can be applied to bluetooth headset, the chip includes: the system comprises at least one communication interface, at least one processor and at least one memory, wherein the communication interface, the memory and the processor are interconnected through a bus, and the processor can enable the Bluetooth headset to execute the pairing method between the Bluetooth headset by executing instructions stored in the memory.
In the embodiments of the present application, the processor may be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution.
In the embodiment of the present application, the memory may be a nonvolatile memory, such as a hard disk (HDD) or a Solid State Drive (SSD), or may be a volatile memory (volatile memory), such as a random-access memory (RAM). The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory in the embodiments of the present application may also be circuitry or any other device capable of implementing a memory function for storing program instructions and/or data.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (18)

1. A pairing method for use between bluetooth headsets, the bluetooth headsets comprising a first headset and a second headset, the pairing method comprising the steps of:
s210: in a preset triggering state, the first earphone broadcasts a first pairing request on a predefined radio frequency channel and scans the predefined radio frequency channel; and
s220: and when the first earphone receives a first pairing response through the scanning, the first earphone and the second earphone carry out pairing confirmation, wherein the first pairing response is returned by the second earphone in response to the first pairing request.
2. The pairing method for bluetooth headphones as defined in claim 1, wherein the preset trigger state is a state that determines that other headphones that are not currently paired with the first headphone are on, or that determines that headphone pairing needs to be performed on the other headphones.
3. A pairing method between bluetooth headsets according to claim 1, wherein the predefined radio frequency channel is a broadcast channel predefined based on BLE bluetooth low energy protocol or a channel predefined based on other short range wireless communication protocol.
4. The pairing method between bluetooth headsets according to claim 1, wherein the first pairing request includes a device address, a device type, a target access code, a target radio frequency channel of the first headset, and the first pairing response includes a device address, a device type, a target access code, a target radio frequency channel of the second headset.
5. The pairing method between the bluetooth headphones as recited in claim 1, wherein the step S220 comprises: the first earphone sends a first pairing confirmation request to the second earphone and receives a first pairing confirmation response from the second earphone.
6. The pairing method between the bluetooth headphones as set forth in claim 5, wherein the first pairing confirm request contains the same information as the first pairing request, and the first pairing confirm response contains the same information as the first pairing response.
7. The pairing method between bluetooth headphones as recited in claim 1, wherein the pairing method further comprises, after step S210:
s220': when the first earphone receives a second pairing request broadcast by the second earphone through the scanning, the first earphone returns a second pairing response to the second earphone; and
s230': and the first earphone and the second earphone are matched and confirmed.
8. The pairing method between the bluetooth headphones as recited in claim 7, wherein the second pairing request contains the same information as the first pairing response, and the second pairing response contains the same information as the first pairing request.
9. The pairing method between the bluetooth headsets as defined in claim 7, wherein step S230' includes: the first earphone receives a second pairing confirmation request from the second earphone and sends a second pairing confirmation response to the second earphone.
10. The pairing method between bluetooth headsets as defined in claim 1, wherein before step S210, the first headset has stored therein in advance indication information for indicating that the second headset is a wireless headset to be paired, and step S220 includes: the first earpiece identifies the first pairing response based on the indication information.
11. The pairing method for use between bluetooth headsets as defined in claim 5, wherein in step S220, the first headset causes the second headset to save pairing information of at least the first headset as a master headset as a slave headset by transmitting the first pairing confirmation request.
12. The pairing method between the bluetooth headsets as defined in claim 11, wherein the pairing information includes a device address, a target access code and a target radio frequency channel.
13. The pairing method between the bluetooth headphones as recited in claim 10, wherein the pairing method further comprises, after S210:
s220": the first earpiece continues to alternate the broadcasting and the scanning when the first earpiece does not recognize the first pairing response from the second earpiece.
14. The pairing method between bluetooth headsets according to claim 7, wherein the second headset is configured to perform the same operations as the first headset, also according to step S210, step S220', step S230'.
15. The pairing method between bluetooth headsets according to claim 1, wherein the pairing method further comprises, after step S220: the first earpiece communicates wirelessly with the second earpiece via pairing information determined via the pairing confirmation.
16. The pairing method between bluetooth headsets according to claim 12, wherein the pairing method further comprises, after step S220: the first earphone is in wireless communication with the second earphone through the target access code and the target radio frequency channel.
17. A wireless headset for a bluetooth headset comprising a processor and a memory, the memory having stored therein a computer program executable by the processor, wherein the computer program, when executed by the processor, causes the wireless headset to perform the pairing method for use between bluetooth headsets according to any of claims 1 to 16.
18. A chip applicable to a bluetooth headset, the chip comprising: at least one communication interface, at least one processor and at least one memory, the communication interface, memory and processor being interconnected by a bus, the processor, by executing instructions stored in the memory, causing the bluetooth headset to perform the pairing method according to any one of claims 1 to 16 for use between bluetooth headsets.
CN202010268928.3A 2020-04-08 2020-04-08 Bluetooth headset pairing method and wireless headset for Bluetooth headset Active CN111464993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010268928.3A CN111464993B (en) 2020-04-08 2020-04-08 Bluetooth headset pairing method and wireless headset for Bluetooth headset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010268928.3A CN111464993B (en) 2020-04-08 2020-04-08 Bluetooth headset pairing method and wireless headset for Bluetooth headset

Publications (2)

Publication Number Publication Date
CN111464993A CN111464993A (en) 2020-07-28
CN111464993B true CN111464993B (en) 2023-05-02

Family

ID=71681706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010268928.3A Active CN111464993B (en) 2020-04-08 2020-04-08 Bluetooth headset pairing method and wireless headset for Bluetooth headset

Country Status (1)

Country Link
CN (1) CN111464993B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125620A (en) * 2020-08-31 2022-03-01 瑞昱半导体股份有限公司 Bluetooth headset system and box that charges is accomodate to bluetooth headset
CN112104943B (en) * 2020-09-22 2022-09-09 深圳市汇顶科技股份有限公司 Address transmission method, Bluetooth chip, Bluetooth headset and electronic equipment
WO2022061527A1 (en) * 2020-09-22 2022-03-31 深圳市汇顶科技股份有限公司 Method for address exchange between bluetooth devices, communication system, and bluetooth headset
WO2022061551A1 (en) * 2020-09-22 2022-03-31 深圳市汇顶科技股份有限公司 Address transmission method, bluetooth chip, bluetooth headset, and electronic device
CN114666741B (en) * 2020-12-22 2023-07-14 Oppo广东移动通信有限公司 Wireless communication method and system
CN114679710A (en) * 2020-12-25 2022-06-28 华为技术有限公司 TWS earphone connection method and equipment
CN114765769B (en) * 2021-01-14 2023-12-08 未岚大陆(北京)科技有限公司 Communication pairing method and device of wireless equipment and wireless equipment
KR20230021871A (en) * 2021-08-06 2023-02-14 삼성전자주식회사 Apparatus and method for establishing a connection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108811182A (en) * 2018-06-14 2018-11-13 歌尔科技有限公司 A kind of method, apparatus and wireless headset of wireless headset pairing
CN109348466A (en) * 2018-11-29 2019-02-15 与德科技有限公司 Bluetooth headset, bluetooth headset box and bluetooth headset MAC Address exchange method
CN109547897A (en) * 2018-11-30 2019-03-29 歌尔科技有限公司 A kind of method, apparatus, system and the wireless headset box of wireless headset connection
CN110933616A (en) * 2019-11-21 2020-03-27 昆山泰芯微电子有限公司 Wireless earphone pairing method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257516A (en) * 2017-07-17 2017-10-17 湖南海翼电子商务股份有限公司 Wireless headset and its matching method
CN109618318A (en) * 2018-12-21 2019-04-12 潍坊歌尔电子有限公司 A kind of matching method and TWS earphone of TWS earphone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108811182A (en) * 2018-06-14 2018-11-13 歌尔科技有限公司 A kind of method, apparatus and wireless headset of wireless headset pairing
CN109348466A (en) * 2018-11-29 2019-02-15 与德科技有限公司 Bluetooth headset, bluetooth headset box and bluetooth headset MAC Address exchange method
CN109547897A (en) * 2018-11-30 2019-03-29 歌尔科技有限公司 A kind of method, apparatus, system and the wireless headset box of wireless headset connection
CN110933616A (en) * 2019-11-21 2020-03-27 昆山泰芯微电子有限公司 Wireless earphone pairing method and system

Also Published As

Publication number Publication date
CN111464993A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN111464993B (en) Bluetooth headset pairing method and wireless headset for Bluetooth headset
CN111200769B (en) Communication method for Bluetooth headset device and Bluetooth headset device
CN113348675B (en) Fast role switching between bluetooth Truly Wireless Stereo (TWS) earbud headphones
KR102362156B1 (en) Earphone wireless communication method, master earphone, slave earphone and earphone system
US10097931B2 (en) Ear to ear communication using wireless low energy transport
US9699593B2 (en) Scanning enhancements for short-range wireless devices
KR20210020542A (en) Method for supporting multiple links in bluetooth network environment and electronic device thereof
CN110650408A (en) Earphone, anti-lost method, anti-lost system and computer readable storage medium
KR20210020541A (en) Electronic device for retransmitting data in bluetooth network environment and method thereof
US11438688B2 (en) Sharing audio from a source device
WO2023061127A1 (en) Communication method and apparatus, earphone set, and computer readable medium
KR102333306B1 (en) Data communication method and system, electronic device, chip and storage medium
KR20200106743A (en) Electronic device for transmitting response message in bluetooth network environment and method thereof
CN111954123B (en) Method, system, medium, and wireless audio device for information synchronization of wireless audio devices
CN114866998B (en) Bluetooth connection method and Bluetooth device
CN114727371A (en) Communication method and device, equipment and storage medium
EP3843495B1 (en) Communication method and apparatus, and device
KR20200106744A (en) Method for sharing channel information and electronic device therefor
CN114208234B (en) Method for supporting multiple links in Bluetooth network environment and electronic device thereof
US20220417637A1 (en) Method and system for wireless transmission of audio data
CN112104943B (en) Address transmission method, Bluetooth chip, Bluetooth headset and electronic equipment
CN114245453A (en) Time synchronization method and device, TWS earphone, computer equipment and storage medium
WO2015151179A1 (en) Wireless communication system, electronic device and wireless connection method
CN116601973A (en) Sharing audio from a source device
CN117729513A (en) Audio transmission method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant