CN112055349A - Wireless communication method and Bluetooth device - Google Patents

Wireless communication method and Bluetooth device Download PDF

Info

Publication number
CN112055349A
CN112055349A CN202010983908.4A CN202010983908A CN112055349A CN 112055349 A CN112055349 A CN 112055349A CN 202010983908 A CN202010983908 A CN 202010983908A CN 112055349 A CN112055349 A CN 112055349A
Authority
CN
China
Prior art keywords
bluetooth
link
headset
parameters
earphone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010983908.4A
Other languages
Chinese (zh)
Other versions
CN112055349B (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.)
Bestechnic Shanghai Co Ltd
Original Assignee
Bestechnic Shanghai 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 Bestechnic Shanghai Co Ltd filed Critical Bestechnic Shanghai Co Ltd
Priority to CN202010983908.4A priority Critical patent/CN112055349B/en
Publication of CN112055349A publication Critical patent/CN112055349A/en
Application granted granted Critical
Publication of CN112055349B publication Critical patent/CN112055349B/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/15Setup of multiple wireless link connections

Abstract

The invention provides a wireless communication method and Bluetooth equipment. The wireless communication method is applied between the intelligent device and a plurality of Bluetooth devices, the plurality of Bluetooth devices comprise Bluetooth earphones and at least one Bluetooth device, the Bluetooth earphones comprise a first earphone and a second earphone which are communicated through a wireless link, and the at least one Bluetooth device establishes a first Bluetooth link with the intelligent device and a third Bluetooth link with the Bluetooth earphones; when the intelligent equipment needs to carry out voice call or play audio through the Bluetooth headset: the method comprises the steps that at least one Bluetooth device and intelligent equipment establish a second Bluetooth link, link parameters of the second Bluetooth link are sent to a Bluetooth headset through a third Bluetooth link, and the Bluetooth headset monitors audio data sent by the intelligent equipment by using the link parameters of the second Bluetooth link; wherein the first bluetooth link is not broken when the second bluetooth link is established.

Description

Wireless communication method and Bluetooth device
Technical Field
The present invention relates to the field of communication of wireless devices, and in particular, to a wireless communication method and a bluetooth device applied between an intelligent device and a plurality of bluetooth devices.
Background
Currently, many smart devices (such as smart phones) can only connect with one bluetooth device (such as bluetooth watch, bluetooth speaker, or bluetooth headset) at a time. For example, many smart phones on the market are connected with a smart watch through bluetooth at ordinary times, and obtain information such as a step count, a heart rate, a sleep condition, a body temperature and positioning from the smart watch, when a user wants to play music through the phone or the phone comes in, the phone needs to be disconnected from the smart watch at the moment, and then the connection is established with a bluetooth headset, so that unnecessary waste of communication resources is caused, and user experience is greatly influenced.
Disclosure of Invention
The embodiment of the invention discloses a wireless communication method and Bluetooth equipment, which are used for solving the problems that when the existing intelligent equipment is switched from the Bluetooth equipment to a Bluetooth earphone for conversation or audio playing, the connection with the Bluetooth equipment needs to be disconnected, so that unnecessary waste of communication resources is caused, and the user experience is greatly influenced.
In order to achieve the above object, an embodiment of the present invention discloses a wireless communication method, applied between an intelligent device and a plurality of bluetooth devices, where the plurality of bluetooth devices include a bluetooth headset and at least one bluetooth device, the bluetooth headset includes a first headset and a second headset that communicate via a first wireless link, and the at least one bluetooth device establishes a first bluetooth link with the intelligent device and a third bluetooth link with the bluetooth headset; when the intelligent device needs to perform voice call or play audio through the Bluetooth headset: the at least one Bluetooth device and the intelligent device establish a second Bluetooth link, and send link parameters of the second Bluetooth link to the Bluetooth headset through a third Bluetooth link, and the Bluetooth headset monitors audio data sent by the intelligent device by using the link parameters of the second Bluetooth link; wherein the first Bluetooth link is not broken when the second Bluetooth link is established.
In order to achieve the above object, the embodiment of the present invention further discloses a bluetooth device, comprising a bluetooth module; the Bluetooth module is configured to: establishing a first Bluetooth link with the intelligent equipment and establishing a third Bluetooth link with the Bluetooth headset; when the intelligent device needs to perform voice call or play audio through a bluetooth headset, the bluetooth module is further configured to: establishing a second Bluetooth link with the intelligent device, and sending link parameters of the second Bluetooth link to the Bluetooth headset, so that the Bluetooth headset monitors audio data sent by the intelligent device by using the link parameters of the second Bluetooth link; wherein the first Bluetooth link is not broken when the second Bluetooth link is established.
In order to achieve the above object, the embodiment of the present invention further discloses a non-volatile computer storage medium, which is disposed in the bluetooth device and stores computer executable instructions, and when executed by a processor, the non-volatile computer storage medium implements the wireless communication method according to any of the above embodiments.
The application discloses a wireless communication method, Bluetooth equipment and a storage medium, when intelligent equipment needs to be connected with a Bluetooth earphone to carry out communication or play music, the intelligent equipment does not need to disconnect links with other Bluetooth equipment or reestablish links with the Bluetooth earphone, and the Bluetooth earphone only needs to be disguised to form other Bluetooth equipment to carry out communication with the intelligent equipment, so that the time delay of music playing or communication can be reduced, the operation of Bluetooth switching on the intelligent equipment by a user is not needed, and the user experience is greatly improved.
Specific embodiments of the present invention are disclosed in detail with reference to the following description and drawings, indicating the manner in which the principles of the invention may be employed. It should be understood that the embodiments of the invention are not so limited in scope. The embodiments of the invention include many variations, modifications and equivalents within the spirit and scope of the appended claims.
Features that are described and/or illustrated with respect to one embodiment may be used in the same way or in a similar way in one or more other embodiments, in combination with or instead of the features of the other embodiments.
It should be emphasized that the term "comprises/comprising" when used herein, is taken to specify the presence of stated features, integers, steps or components but does not preclude the presence or addition of one or more other features, integers, steps or components.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic application diagram of a wireless communication method applied between an intelligent device and a plurality of bluetooth devices according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an exemplary application scenario of the present application;
fig. 3 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
In the current bluetooth technology, the smart device can only be connected with one bluetooth device at the same time. For example, when bluetooth of a mobile phone is turned on, a plurality of surrounding bluetooth devices, such as a smart watch, a smart speaker, smart glasses, or a bluetooth headset, may be discovered. If the user needs the smart watch to detect and upload body data in real time, a Bluetooth link needs to be established on the mobile phone with the smart watch, and communication between the mobile phone and the Bluetooth earphone cannot be carried out at the moment. When a phone call comes in or a user wants to listen to music through a bluetooth headset, the existing technology needs the user to disconnect the link with the smart watch on the mobile phone and then select the bluetooth headset to establish the bluetooth link, which undoubtedly increases the waiting time of the user and greatly affects the use experience of the user; moreover, if the disconnection and re-establishment of the bluetooth link are required for each call, unnecessary waste of communication resources is also caused.
Fig. 1 is an application diagram of a wireless communication method applied between an intelligent device and a plurality of bluetooth devices according to an embodiment of the present application.
As shown in fig. 1, the plurality of bluetooth devices in this embodiment includes a bluetooth headset 13 and at least one other bluetooth device 12, the bluetooth headset 13 includes a first headset 131 and a second headset 132 that communicate via a wireless link 4, and the at least one bluetooth device 12 establishes communication with the smart device 11 via a first bluetooth link 1 and establishes a third bluetooth link 3 with the bluetooth headset 13.
When the intelligent device 11 needs to perform voice call or play audio through the bluetooth headset 13: the at least one bluetooth device 12 establishes a second bluetooth link 2 with the intelligent device 11, and sends the link parameter of the second bluetooth link 2 to the bluetooth headset 13 through a third bluetooth link 3, and the bluetooth headset 13 listens to the audio data sent by the intelligent device 11 by using the link parameter of the second bluetooth link 2; wherein the first bluetooth link 1 is not disconnected when the second bluetooth link 2 is established.
In the above embodiment, when the smart device 11 needs to connect the bluetooth headset 13 for a call or playing music, the smart device 11 does not need to disconnect the link with the bluetooth device 12, and does not need to reestablish the link with the bluetooth headset 13, and the bluetooth headset 13 only needs to "disguise" the bluetooth device 12 to communicate with the smart device 11, so that the time delay of playing music or a call can be reduced, and the bluetooth switching operation on the smart device 11 by a user is not needed, thereby greatly improving the user experience.
As shown in fig. 1, when the bluetooth device 12 establishes the first bluetooth link 1 with the smart device 11, the bluetooth device 12 may transmit the obtained user information to the smart device 11 in real time through the first bluetooth link 1, and the user may also transmit various control commands, such as various parameter modification commands, data upload time intervals, etc., to the bluetooth device 12 through the smart device 11.
In one embodiment, when the smart device 11 initiates a call or plays audio through the bluetooth headset 13, the second bluetooth link 2 is established between the bluetooth device 12 and the smart device 11 without disconnecting the first bluetooth link 1. When the intelligent device 11 initiates a voice call, the established second bluetooth link 2 is an SCO link (Synchronous Connection Oriented), that is, a Synchronous link established by a bluetooth SCO protocol; when the smart device 11 plays music, the established second bluetooth link 2 is an A2DP link (bluetooth Audio transmission model protocol), and the smart device 11 transmits stereo Audio to the bluetooth device 12 via the A2DP protocol, and plays music.
After the second bluetooth link 2 is established, the bluetooth device 12 sends the link parameters of the second bluetooth link 2 to the first headset 131 of the bluetooth headset 13, which is a master headset. The first earpiece 131 listens for voice or audio data etc. sent by the smart device 11 using the link parameters of the second bluetooth link 2. On the other hand, the second headset 132 may also obtain the link parameters of the second bluetooth link 2 via the wireless link 4, and listen to the audio data sent by the smart device 11 according to the link parameters of the second bluetooth link 2.
In one embodiment, the first headset 131 forwards the link parameters of the second bluetooth link 2 sent by the bluetooth device 12 to the second headset 132 via the wireless link 4, and the second headset 132 listens to the audio data sent by the smart device 11 by using the obtained link parameters of the second bluetooth link 2. In this embodiment, the link parameters of the second bluetooth link 2 include the bluetooth address of the smart device 11, the bluetooth address of the bluetooth device 12, the encryption parameters of the second bluetooth link 2, and the piconet clock of the second bluetooth link 2.
In another embodiment, the first headset 131 sends the link parameters of the third bluetooth link 3 to the second headset 132 via the wireless link 4, and the second headset 132 listens to the link parameters of the second bluetooth link 2 sent by the bluetooth device 12 using the link parameters of the third bluetooth link 3. Thus, the second headset 132 further listens for audio data sent by the smart device 11 according to the link parameters of the second bluetooth link 2 that are listened to. In this embodiment, the link parameters of the third bluetooth link 3 include the bluetooth address of the bluetooth device 12, the encryption parameters of the third bluetooth link 3, and the piconet clock of the third bluetooth link 3. In this embodiment, when the first earphone 131 receives the link parameter related to the second bluetooth link 2, the second earphone 132 can also receive the link parameter related to the second bluetooth link 2, thereby avoiding the link parameter related to the second bluetooth link 2 being transmitted to the first earphone 131 first and then to the second earphone 132. Thus, this embodiment reduces transmission latency so that the ear piece can receive the call voice or music from the smart device with less latency.
When the first earphone 131 and the second earphone 132 communicate with the smart device 11 by listening to the second bluetooth link 2, the bluetooth device 12 has disregarded the second bluetooth link 2, and it can continue to communicate data, such as upload data, with the smart device 11 via the first bluetooth link 1. And when the first earphone 131 and the second earphone 132 both correctly receive the audio data sent by the smart device 11, the first earphone 131 or the second earphone 132 sends ACK to the smart device 11, otherwise, the first earphone 131 or the second earphone 132 sends NACK to the smart device 11. Since the link parameters of the second bluetooth link 2 include the bluetooth address of the bluetooth device 12, the second headset 132 may masquerade as the bluetooth device 12 sending ACK/NACK to the smart device 11.
In another embodiment, a third bluetooth link 3 is established between the bluetooth device 12 and the bluetooth headset 13, and the bluetooth device 12 may play music to the bluetooth headset 13. At this time, if the smart device 11 has a call coming, the smart device 11 and the bluetooth device 12 will establish an SCO connection, the bluetooth device 12 disconnects the music playing with the bluetooth headset 13 and transmits the link information related to the SCO connection (i.e. the second bluetooth link 2) to the bluetooth headset 13, and the bluetooth headset 13 receives the call from the smart device 11 accordingly. Furthermore, replying the ACK/NACK packet to the mobile phone is also completed by the bluetooth headset 13, and the uplink voice of the user sent to the smart device 11 is also collected by the MIC on the bluetooth headset 13, disguised as the bluetooth device 12 (using the relevant link information of the SCO connection) by the bluetooth headset 13, and sent to the smart device 11. The bluetooth device 12, as a master device between the smart device 11 and the bluetooth headset 13, may immediately stop playing music with the bluetooth headset 13, and seamlessly (or with a very low delay) switch to the bluetooth headset 13 to receive a call, and does not need any user intervention on the smart device side, thereby improving user experience.
In yet another embodiment, if the channel of the first bluetooth link 1 weakens during the communication or audio playing between the smart device 11 and the bluetooth headset 13, the bluetooth device 12 may also send the second data acquired by the smart device to the bluetooth headset 13 through the third bluetooth link 3, and the bluetooth headset 13 sends the second data to the smart device 11 by using the link parameters of the second bluetooth link 2 that are actually heard. In this embodiment, the second data may be user data with a small data volume, generally speaking, the requirement on real-time performance is not high, and the influence on the communication between the smart device 11 and the bluetooth headset 13 is small.
In an application of the wireless communication method shown in fig. 1, the smart device 11 may be a smart phone at a user end, and has bluetooth communication and voice communication functions; the bluetooth device 12 may be an intelligent bluetooth device such as an intelligent watch, an intelligent speaker, an intelligent glasses, etc., and on one hand, the bluetooth device may establish a bluetooth link with the intelligent device 11 for data interaction, and on the other hand, the bluetooth device may also establish a bluetooth link with the bluetooth headset 13, and serve as a relay device between the intelligent device and the bluetooth headset, thereby reducing the time delay of communication or music playing.
In this application, a typical application scenario is shown in fig. 2, the smart device is a smart phone 21, and the bluetooth device is a smart watch 22. The smart watch 22 establishes communication with the smart phone 21 through the first bluetooth link 1, and sends various user information (such as heart rate, step counting, sleep state, body temperature, positioning information, and the like) to the smart phone 11 through the first bluetooth link 1; furthermore, the smart watch 22 may be connected to the wireless bluetooth headset 23 via the third bluetooth link 3.
When the smart watch 22 establishes a call with the smart phone 11 or plays a second bluetooth link 2 of music, the smart watch 22 transmits the relevant link parameters (including the bluetooth address of the smart phone 11, the encryption parameter of the second bluetooth link 2, the piconet clock of the second bluetooth link 2, and other parameters) of the second bluetooth link 2 to the first headset 231 through the second bluetooth link 2 between the smart watch 22 and the smart phone 11; the first earphone 231 receives the audio data sent by the smart phone 11 in the second bluetooth link 2 by using the related link parameters of the second bluetooth link 2.
In this embodiment, when the smart phone 11 initiates a call, the established second bluetooth link 2 is an SCO link; when the smartphone 11 plays music, the established second bluetooth link 2 is an A2DP link, and the smartphone 11 transmits stereo audio to the smartwatch 22 or the bluetooth headset 23 via the A2DP protocol, plays music, and so on.
A wireless link 4 is established between the first earphone 231 and the second earphone 232, and the first earphone 231 transmits link parameters related to the third bluetooth link 3 (including parameters such as the bluetooth address of the smart watch 22, the encryption parameter of the third bluetooth link 3 between the smart watch 22 and the first earphone 131, and the piconet clock of the third bluetooth link 3) to the second earphone 232 through the wireless link 4; the second headset 232 receives the bluetooth frame sent by the smart watch 221 in the third bluetooth link 3 by using the relevant link parameters of the third bluetooth link 3. Therefore, when the first headset 231 receives the link parameter related to the second bluetooth link 2, the second headset 232 can also receive the link parameter related to the second bluetooth link 2. In this way, it is avoided that the link parameters associated with the second bluetooth link 2 are transmitted to the first earphone 231 and then to the second earphone 232, thereby reducing the transmission delay and enabling the earphone to receive the call voice or music from the mobile phone with less delay.
Then, for the second bluetooth link 2, it is actually the relation of the smartphone 21, the first headset 231, and the second headset 232. The first headset 231, the second headset 232 pretend to be the smart watch 22 itself, communicating with the smartphone 21. The first headphone 231 receives the data correctly and sends an indication frame (which may be an ACK packet or an ECC packet) to the second headphone 232. The first earpiece 231, the second earpiece 232 both receive correctly, giving an ACK back to the smartphone 21, otherwise giving a NACK back to the smartphone 21. At this point, the smart watch 22 gives the second bluetooth link 2 to the bluetooth headset 23, and does not itself disregard the second bluetooth link 2.
According to the embodiment, a plurality of mobile phones on the market at present are connected with the intelligent watch at ordinary times, information such as step counting, heartbeat, body temperature and the like can be obtained from the intelligent watch in real time, and when a user wants to play music through the mobile phone or the mobile phone has a call to come in, the mobile phone does not need to disconnect the Bluetooth link with the intelligent watch and reestablish the Bluetooth link with the earphone. Therefore, the time delay of starting playing music or calling is reduced, the first Bluetooth link 1 between the mobile phone and the smart watch can continue, and the mobile phone can continue to obtain information such as step counting, heartbeat and the like from the watch. In addition, the user does not need to manually disconnect the Bluetooth link with the watch at the mobile phone side and select the corresponding earphone device to establish the Bluetooth link, so that the user experience is greatly improved. On the other hand, even though the mobile phone can be connected with the earphone and the watch at the same time, in the prior art, if the mobile phone receives a call, the user is required to select which bluetooth device to transmit the call to, and the use experience of the user is also greatly influenced. In the embodiment of the invention, when the mobile phone receives the call, the SCO link is established between the watch and the mobile phone, and the Bluetooth headset realizes the voice call with the mobile phone by monitoring the SCO link, so that no operation is required by a user, and the user experience is greatly improved.
In the embodiment shown in fig. 2, when the smart watch 22 plays music to the bluetooth headset 23 through the third bluetooth link 3, if there is a call coming in the mobile phone 21 at this time, the mobile phone 21 establishes an SCO connection with the smart watch 22, and the smart watch 22 disconnects music playing with the bluetooth headset 23. The link information associated with the SCO connection is passed to the bluetooth headset 23, whereupon the bluetooth headset 23 receives the call from the handset 21. Replying the ACK/NACK packet to the mobile phone 21 is also completed by the bluetooth headset 23, the uplink voice of the user sent to the mobile phone 21 is also collected by the MIC on the bluetooth headset 23, and the bluetooth headset 23 pretends to be the smart watch 22 (using the relevant link information of the SCO connection), and sends the smart watch 22 to the mobile phone 21. The smart watch 22, as a master device in the mobile phone 21 and the bluetooth headset 23, may immediately stop playing music with the headset, and seamlessly (or with a very low delay) switch to the bluetooth headset 23 to receive a call, and does not need any user intervention on the smart device side, thereby improving user experience.
In the embodiment shown in fig. 2, after the bluetooth headset 23 is disguised as the smart watch 22 communicating with the mobile phone 21, various user information (e.g., heart rate, step count, sleep status, body temperature, positioning information) on the smart watch 22 may be transmitted to the bluetooth headset 23 (e.g., a master headset, i.e., a headset that sends ACK/NACK back to the mobile phone 21) through the connection between the smart watch 22 and the bluetooth headset 23, and then the bluetooth headset 23 forwards the user information to the mobile phone 21. Because the user information on the smart watch 22 generally has a small data volume and a low requirement on real-time performance, the influence on the communication between the mobile phone 21 and the bluetooth headset 23 is small. Meanwhile, the communication between the cell phone 21 and the smart watch 22 is not interrupted.
In the embodiments shown in fig. 1 and fig. 2, it should be noted that the smart device (mobile phone), the bluetooth device (smart watch) and the bluetooth headset communicate independently with each other in different time periods of respective bluetooth frames to avoid causing communication interference.
Fig. 3 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application. As shown in fig. 3, the bluetooth device 3 includes a bluetooth module 30. The bluetooth module 30 is configured to implement the following functions through three bluetooth logic modules:
the first Bluetooth logic module 31 establishes a first Bluetooth link with the intelligent device;
a third bluetooth logic module 33, establishing a third bluetooth link with the bluetooth headset;
the second bluetooth logic module 32, when the smart device needs to perform a voice call or play an audio through a bluetooth headset, establishes a second bluetooth link with the smart device, and sends a link parameter of the second bluetooth link to the bluetooth headset through a third bluetooth link, so that the bluetooth headset listens to audio data sent by the smart device by using the link parameter of the second bluetooth link;
wherein the first Bluetooth link is not broken when the second Bluetooth link is established.
In this embodiment, it can be understood that the logic functions of the three bluetooth logic modules 31, 32, and 33 are all implemented in the bluetooth module 30, but the three bluetooth logic modules can be implemented in a time-sharing manner, so as to avoid causing communication interference.
In some embodiments, the bluetooth module 30 sends the link parameter of the second bluetooth link to the first headset as a master headset, and the first headset listens to the audio data sent by the smart device by using the link parameter of the second bluetooth link; and the second earphone acquires the link parameters of the second Bluetooth link through a wireless link and listens audio data sent by the intelligent equipment according to the link parameters of the second Bluetooth link.
In one embodiment, the first headset sends the link parameter linked by the third bluetooth to the second headset through a wireless link, and the second headset monitors the link parameter linked by the second bluetooth and sent by the at least one bluetooth device by using the link parameter linked by the third bluetooth, and obtains the audio data sent by the smart device according to the link parameter linked by the second bluetooth. The link parameters of the third bluetooth link include a bluetooth address of the at least one bluetooth device, encryption parameters of the third bluetooth link, and a piconet clock of the third bluetooth link.
In another embodiment, the first headset forwards a link parameter of a second bluetooth link, which is sent by the at least one bluetooth device, to the second headset through the wireless link, and the second headset obtains the audio data sent by the smart device by using the link parameter of the second bluetooth link.
In some embodiments, an ACK is sent by the first or second headset to the smart device when both the first and second headsets correctly receive the data, and a NACK is sent by the first or second headset to the smart device otherwise.
In some embodiments, the bluetooth module 30 is further configured to: and sending second data acquired by the Bluetooth equipment to the Bluetooth headset through the third Bluetooth link, and sending the second data to the intelligent equipment by the Bluetooth headset by using the link parameter of the second Bluetooth link.
In some embodiments, the second bluetooth link is an SCO connection or an A2DP connection.
In some embodiments, the link parameters of the second bluetooth link include a bluetooth address of the smart device, encryption parameters of the second bluetooth link, and a piconet clock of the second bluetooth link.
The embodiment of the invention also discloses a nonvolatile computer storage medium which is arranged in the Bluetooth device and stores computer executable instructions, and when the nonvolatile computer storage medium is executed by a processor, the nonvolatile computer storage medium implements the wireless communication method of the embodiment shown in the figure 1 or the figure 2.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (14)

1. A wireless communication method is applied between an intelligent device and a plurality of Bluetooth devices, and is characterized in that the Bluetooth devices comprise Bluetooth headsets and at least one Bluetooth device, the Bluetooth headsets comprise a first headset and a second headset which are communicated through a wireless link, and the at least one Bluetooth device establishes a first Bluetooth link with the intelligent device and a third Bluetooth link with the Bluetooth headset;
when the intelligent device needs to perform voice call or play audio through the Bluetooth headset:
the at least one Bluetooth device and the intelligent device establish a second Bluetooth link, and send link parameters of the second Bluetooth link to the Bluetooth headset through a third Bluetooth link, and the Bluetooth headset monitors audio data sent by the intelligent device by using the link parameters of the second Bluetooth link;
wherein the first Bluetooth link is not broken when the second Bluetooth link is established.
2. The wireless communication method of claim 1, wherein the at least one Bluetooth device sending link parameters of the second Bluetooth link to the Bluetooth headset comprises:
the at least one Bluetooth device sends the link parameters of the second Bluetooth link to a first earphone serving as a main earphone, and the first earphone monitors audio data sent by the intelligent device by using the link parameters of the second Bluetooth link;
and the second earphone acquires the link parameters of the second Bluetooth link through the wireless link and listens audio data sent by the intelligent equipment according to the link parameters of the second Bluetooth link.
3. The wireless communication method of claim 2, wherein the second headset obtains link parameters of the second bluetooth connection via the wireless link, comprising:
the first earphone sends the link parameter of the third Bluetooth link to the second earphone through the wireless link, and the second earphone monitors the link parameter of the second Bluetooth link sent by the at least one Bluetooth device by using the link parameter of the third Bluetooth link and obtains the audio data sent by the intelligent device according to the link parameter of the second Bluetooth link.
4. The wireless communication method of claim 3, wherein the link parameters of the third Bluetooth link comprise a Bluetooth address of the at least one Bluetooth device, encryption parameters of the third Bluetooth link, and a piconet clock of the third Bluetooth link.
5. The wireless communication method of claim 2, wherein the second headset obtaining link parameters of the second bluetooth connection over the wireless link comprises:
and the first earphone forwards the link parameter of the second Bluetooth link sent by the at least one Bluetooth device to the second earphone through the wireless link, and the second earphone acquires the audio data sent by the intelligent device by using the link parameter of the second Bluetooth link.
6. The wireless communication method according to any of claims 2-5, wherein an ACK is sent by the first or second headset to the smart device when the data is received correctly by both the first and second headset, and a NACK is sent by the first or second headset to the smart device otherwise.
7. The wireless communication method according to any one of claims 1 to 5, further comprising:
and the at least one Bluetooth device sends the acquired second data to the first earphone through the third Bluetooth link, and the first earphone sends the second data to the intelligent device by using the link parameter of the second Bluetooth link.
8. The wireless communication method according to claim 1, wherein the second bluetooth link is an SCO connection or an A2DP connection.
9. The wireless communication method of claim 1, wherein the link parameters of the second bluetooth link comprise a bluetooth address of the smart device, encryption parameters of the second bluetooth link, and a piconet clock of the second bluetooth link.
10. A Bluetooth device, comprising a Bluetooth module;
the Bluetooth module is configured to: establishing a first Bluetooth link with the intelligent equipment and establishing a third Bluetooth link with the Bluetooth headset;
when the intelligent device needs to perform voice call or play audio through a bluetooth headset, the bluetooth module is further configured to:
establishing a second Bluetooth link with the intelligent device, and sending link parameters of the second Bluetooth link to the Bluetooth headset, so that the Bluetooth headset monitors audio data sent by the intelligent device by using the link parameters of the second Bluetooth link;
wherein the first Bluetooth link is not broken when the second Bluetooth link is established.
11. The bluetooth device of claim 10, wherein the bluetooth module is further configured to:
and sending second data acquired by the Bluetooth equipment to the Bluetooth headset through the third Bluetooth link, and sending the second data to the intelligent equipment by the Bluetooth headset by using the link parameter of the second Bluetooth link.
12. The bluetooth device according to claim 10, wherein the second bluetooth link is an SCO connection or an A2DP connection.
13. The bluetooth device of claim 10, wherein the link parameters of the second bluetooth link comprise a bluetooth address of the smart device, encryption parameters of the second bluetooth link, and a piconet clock of the second bluetooth link.
14. A non-transitory computer storage medium provided in a bluetooth device and storing computer-executable instructions that, when executed by a processor, perform the wireless communication method of any one of claims 1-9.
CN202010983908.4A 2020-09-18 2020-09-18 Wireless communication method and Bluetooth device Active CN112055349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010983908.4A CN112055349B (en) 2020-09-18 2020-09-18 Wireless communication method and Bluetooth device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010983908.4A CN112055349B (en) 2020-09-18 2020-09-18 Wireless communication method and Bluetooth device

Publications (2)

Publication Number Publication Date
CN112055349A true CN112055349A (en) 2020-12-08
CN112055349B CN112055349B (en) 2022-08-05

Family

ID=73603710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010983908.4A Active CN112055349B (en) 2020-09-18 2020-09-18 Wireless communication method and Bluetooth device

Country Status (1)

Country Link
CN (1) CN112055349B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672324A (en) * 2020-12-21 2021-04-16 北京百瑞互联技术有限公司 Method, device and medium for communication by using vehicle-mounted equipment as bridge
CN113115290A (en) * 2021-04-12 2021-07-13 英华达(上海)科技有限公司 Method for receiving audio data
CN114301481A (en) * 2021-12-03 2022-04-08 深圳市沃信达科技有限公司 Intercom voice receiving and transmitting method, Bluetooth watch, Bluetooth earphone and storage medium
WO2022247470A1 (en) * 2021-05-24 2022-12-01 Oppo广东移动通信有限公司 Method and apparatus for establishing bluetooth link, device, and storage medium
WO2023098423A1 (en) * 2021-12-03 2023-06-08 Oppo广东移动通信有限公司 Bluetooth connection method and apparatus, and bluetooth address configuration method and apparatus
WO2023240443A1 (en) * 2022-06-14 2023-12-21 北京小米移动软件有限公司 Bluetooth communication method and apparatus, and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140073256A1 (en) * 2012-09-10 2014-03-13 Adam E. Newham Method of providing call control information from a mobile phone to a peripheral device
CN203689028U (en) * 2014-02-13 2014-07-02 许银龙 Intelligent watch based on bluetooth technology
CN105846866A (en) * 2015-01-30 2016-08-10 桂花网科技有限公司 Bluetooth transparent relay
US20170223163A1 (en) * 2014-07-28 2017-08-03 Huawei Technologies Co., Ltd. Bluetooth Communication Method and Device
US20170289329A1 (en) * 2014-09-23 2017-10-05 Lg Electronics Inc. Mobile terminal and method for controlling same
CN107894881A (en) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch
CN208096233U (en) * 2018-03-15 2018-11-16 浙江智玲机器人科技有限公司 A kind of multi-functional wearable device with bluetooth headset
CN109391926A (en) * 2018-01-10 2019-02-26 展讯通信(上海)有限公司 The data processing method and wireless audio devices of wireless audio devices
CN111294784A (en) * 2020-05-13 2020-06-16 深圳市汇顶科技股份有限公司 Data transmission method, device, chip, electronic equipment and storage medium
CN111436046A (en) * 2020-01-14 2020-07-21 珠海市杰理科技股份有限公司 Bluetooth-based audio data providing method and device, charging equipment and system
CN111654845A (en) * 2020-05-12 2020-09-11 南京中感微电子有限公司 Bluetooth multi-terminal link switching method, Bluetooth audio equipment and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140073256A1 (en) * 2012-09-10 2014-03-13 Adam E. Newham Method of providing call control information from a mobile phone to a peripheral device
CN203689028U (en) * 2014-02-13 2014-07-02 许银龙 Intelligent watch based on bluetooth technology
US20170223163A1 (en) * 2014-07-28 2017-08-03 Huawei Technologies Co., Ltd. Bluetooth Communication Method and Device
US20170289329A1 (en) * 2014-09-23 2017-10-05 Lg Electronics Inc. Mobile terminal and method for controlling same
CN105846866A (en) * 2015-01-30 2016-08-10 桂花网科技有限公司 Bluetooth transparent relay
CN107894881A (en) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch
CN109391926A (en) * 2018-01-10 2019-02-26 展讯通信(上海)有限公司 The data processing method and wireless audio devices of wireless audio devices
CN208096233U (en) * 2018-03-15 2018-11-16 浙江智玲机器人科技有限公司 A kind of multi-functional wearable device with bluetooth headset
CN111436046A (en) * 2020-01-14 2020-07-21 珠海市杰理科技股份有限公司 Bluetooth-based audio data providing method and device, charging equipment and system
CN111654845A (en) * 2020-05-12 2020-09-11 南京中感微电子有限公司 Bluetooth multi-terminal link switching method, Bluetooth audio equipment and system
CN111294784A (en) * 2020-05-13 2020-06-16 深圳市汇顶科技股份有限公司 Data transmission method, device, chip, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵海燕等: "蓝牙技术的应用", 《无线电工程》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672324A (en) * 2020-12-21 2021-04-16 北京百瑞互联技术有限公司 Method, device and medium for communication by using vehicle-mounted equipment as bridge
CN112672324B (en) * 2020-12-21 2023-04-25 北京百瑞互联技术有限公司 Method, device and medium for communication by taking vehicle-mounted equipment as bridge
CN113115290A (en) * 2021-04-12 2021-07-13 英华达(上海)科技有限公司 Method for receiving audio data
WO2022247470A1 (en) * 2021-05-24 2022-12-01 Oppo广东移动通信有限公司 Method and apparatus for establishing bluetooth link, device, and storage medium
CN114301481A (en) * 2021-12-03 2022-04-08 深圳市沃信达科技有限公司 Intercom voice receiving and transmitting method, Bluetooth watch, Bluetooth earphone and storage medium
WO2023098423A1 (en) * 2021-12-03 2023-06-08 Oppo广东移动通信有限公司 Bluetooth connection method and apparatus, and bluetooth address configuration method and apparatus
WO2023240443A1 (en) * 2022-06-14 2023-12-21 北京小米移动软件有限公司 Bluetooth communication method and apparatus, and storage medium

Also Published As

Publication number Publication date
CN112055349B (en) 2022-08-05

Similar Documents

Publication Publication Date Title
CN112055349B (en) Wireless communication method and Bluetooth device
CN108718467B (en) Voice data transmission method, wireless headset and TWS headset
US11350486B2 (en) Wireless communication method for earphones, master earphone, slave earphone, earphone system
US10412494B2 (en) Operation mode switch of wireless headphones
CN109391926B (en) Data processing method of wireless audio equipment and wireless audio equipment
CN111200769B (en) Communication method for Bluetooth headset device and Bluetooth headset device
WO2021082875A1 (en) Method and apparatus for switching master and slave bluetooth headsets, bluetooth headset, and system
CN108600892B (en) Upgrading method and device, wireless headset, TWS headset and charging box
CN109391724B (en) Method for realizing double-ear call, mobile terminal and double-ear wireless earphone
WO2017133191A1 (en) Method for switching operation mode of headphone and headphone
CN108600897A (en) Realize the one drag two bluetooth headset and communication means of low frequency switching
CN112437369B (en) Audio data transmission method and system, TWS earphone pair, chip and medium
JP2023545591A (en) System and method for switching master and slave roles of devices used in wireless communications
CN108696784A (en) A kind of method of wireless headset role switching, wireless headset and TWS earphones
CN105260159B (en) A kind of audio frequency playing method and device
CN111436042B (en) Bluetooth headset and dynamic master-slave switching method, device and system thereof
CN110191389A (en) Mulit-point Connection method, apparatus, bluetooth headset and the TWS earphone of wireless headset
CN112055280A (en) Wireless communication method for earphone and intelligent devices and wireless earphone assembly
CN115769602A (en) Switching between multiple earplug architectures
CN114982369A (en) Audio data transmission method, device, chip and electronic equipment
CN112437371B (en) BLE link switching method, equipment, earphone pair, chip and medium
CN111934724B (en) Wireless communication method for earphone and intelligent device and wireless earphone assembly
CN112105005A (en) Method and device for controlling Bluetooth equipment to play
CN112867115B (en) Wireless device and wireless communication method
CN112218197B (en) Audio compensation method and wireless audio output device using same

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