CN115175065A - Broadcasting method, TWS earphone and storage medium - Google Patents
Broadcasting method, TWS earphone and storage medium Download PDFInfo
- Publication number
- CN115175065A CN115175065A CN202211081917.XA CN202211081917A CN115175065A CN 115175065 A CN115175065 A CN 115175065A CN 202211081917 A CN202211081917 A CN 202211081917A CN 115175065 A CN115175065 A CN 115175065A
- Authority
- CN
- China
- Prior art keywords
- earphone
- headset
- tws
- master
- link
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/033—Headphones for stereophonic communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Telephone Function (AREA)
Abstract
The application provides a broadcasting method, a TWS headset and a storage medium. According to the method, when the TWS earphone executes the audio service, the broadcasting is finished by the slave earphone, and the master earphone only receives and transmits the data information related to the currently executed audio service, so that the occupation of the resources of the master earphone is reduced, the occurrence of the pause phenomenon can be effectively reduced, the audio service can be normally executed, and meanwhile, the state information can be sent to the electronic equipment through the broadcasting, so that the user experience is guaranteed.
Description
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to a broadcasting method, a TWS headset, and a storage medium.
Background
With the development of wireless communication technology and the wide use of related bluetooth products, bluetooth wireless headsets have become necessary for carrying about. True Wireless Stereo (TWS) headsets are increasingly being used for greater portability and ease of wear.
Currently, in a use scenario of a TWS headset, in order to bring a better experience to a user, the TWS headset is generally configured to send own status information to a paired electronic device in a broadcast manner, so that the electronic device can know the status of the TWS headset. But limited by the chip capability of the TWS headset, the TWS headset transmits the broadcast while performing the audio service, causing the audio service to be stuck.
Disclosure of Invention
In order to solve the above technical problems, the present application provides a broadcasting method, a TWS headset, and a storage medium. Based on the scheme, the occurrence of the blockage can be effectively reduced, so that the audio service can be normally executed, and meanwhile, the state information can be sent to the electronic equipment through broadcasting, so that the user experience is guaranteed.
In a first aspect, the present application provides a broadcast method applied to a true wireless stereo TWS headset comprising a first headset and a second headset, the first headset being determined to be the master headset and the second headset being determined to be the slave headset. The method comprises the following steps: in the process that the master earphone interacts with the electronic equipment which establishes the Bluetooth connection and processes the audio service of the electronic equipment, the slave earphone broadcasts the state information of the TWS earphone in a broadcasting mode.
For example, in some implementations, the first earpiece may be, for example, a right earpiece worn on the right ear and the second earpiece may be, for example, a left earpiece worn on the left ear.
For example, in other implementations, the first earpiece may be, for example, a left earpiece worn on a left ear, and the second earpiece may be, for example, a right earpiece worn on a right ear.
The audio service may include, for example, a call service, a multimedia service, and the like.
For example, in some implementations, the call service can include, for example, a voice call service, such as a voice call initiated based on a call application, a voice call initiated based on an instant messaging application, and so on.
For example, in other implementations, the call service may further include an audio and video conference service, such as a conference initiated based on an instant messaging application.
The status information may be, for example, an electric quantity value, a wearing status, identification information of the master earphone and the slave earphone, which is not listed here, and the present application is not limited thereto.
Therefore, when the TWS earphone executes the audio service, the broadcasting is finished by the slave earphone, and the master earphone only receives and transmits data information related to the currently executed audio service, so that the occupation of the resources of the master earphone is reduced, the phenomenon of pause can be effectively reduced, the audio service can be normally executed, and meanwhile, the state information can be sent to the electronic equipment through the broadcasting, and the user experience is guaranteed.
In addition, the broadcasting is carried out by the slave earphone, the master earphone only receives and transmits the data information related to the currently executed audio service, the power consumption energy between the master earphone and the slave earphone can be balanced, the power consumption difference between the master earphone and the slave earphone is reduced, and the service lives of the master earphone and the slave earphone can be basically kept consistent.
According to a first aspect, status information of a TWS headset is broadcast from the headset in the form of a broadcast, comprising: determining whether a TWS link is established between the slave earphone and the master earphone; when a TWS link is established between the slave earphone and the master earphone, the slave earphone acquires the state information of the slave earphone and acquires the state information of the master earphone through the TWS link; the slave earphone broadcasts the status information of the slave earphone and the status information of the master earphone in a broadcast form.
The TWS link may also be denoted as a primary-secondary link, or a primary-secondary link. The physical link is used for realizing information interaction between the master earphone and the slave earphone, such as connection information between the master earphone and electronic equipment providing an audio data packet when switching between the master earphone and the slave earphone, monitoring information of the slave earphone on the audio data packet sent by the electronic equipment to the master earphone, respective state information and the like.
The state information of the master earphone may be sent to the slave earphone by the master earphone through the TWS link at regular time according to a certain period, or the slave earphone may initiate a request to the master earphone through the TWS link actively according to a certain period to obtain the state information.
Therefore, under the condition that a TWS link exists between the master earphone and the slave earphone, namely the two earphones are connected, the slave earphone sends the broadcast, the master earphone receives and sends data information related to the currently executed audio service without changing the broadcast period, the broadcast sending can be in a relatively high frequency, the electronic equipment can acquire the state information of the TWS more timely, and then a corresponding response is made according to the acquired state information, so that the user experience is better.
According to a first aspect, or any one of the above implementations of the first aspect, the method further comprises: when the TWS link is not established between the slave earphone and the master earphone, the master earphone adjusts the broadcast period according to the audio service; and the master earphone broadcasts the state information of the master earphone according to the adjusted broadcasting period.
Therefore, when the TWS link does not exist between the master earphone and the slave earphone, that is, the two earphones are not connected, and the user only wears the master earphone (in a single-ear mode), the fundamentally executed audio service dynamically adjusts the broadcast period, for example, the period is increased or decreased, so that the operations of processing the audio service and sending the broadcast by the master earphone can be executed in a peak-to-peak manner, the occurrence of the pause phenomenon can be effectively reduced, the audio service can be normally executed, and meanwhile, the state information can be sent to the electronic device through the broadcast, thereby ensuring the user experience.
According to the first aspect, or any implementation manner of the first aspect, the adjusting, by the master earphone, a broadcast period according to an audio service includes: the main earphone determines the processing time length of an audio data packet corresponding to the audio service; and adjusting the broadcast period according to the processing time length.
Therefore, the broadcasting period is dynamically adjusted according to the processing time of the audio data packets corresponding to different audio services, so that the main earphone can better execute the audio service and the broadcasting operation in a single-ear mode.
According to the first aspect, or any implementation manner of the first aspect above, before the master earphone broadcasts the status information of the master earphone in a broadcast form, the method further includes: connecting the slave earphone back to the master earphone to establish a TWS link; when the slave earphone and the master earphone are connected back successfully, the step of broadcasting the state information of the TWS earphone in a broadcasting mode by the slave earphone is executed; and when the slave earphone fails to be connected back to the master earphone, the step of broadcasting the state information of the master earphone in a broadcasting mode by the master earphone is executed.
Therefore, when the TWS link does not exist between the master earphone and the slave earphone, the return connection operation is executed to establish the TWS link, and the broadcasting mode under the single-ear mode is adopted under the condition that the return connection is not available, so that the broadcasting period can be adjusted as far as possible, the broadcasting is carried out at a relatively high frequency, the state information of the TWS earphone can be timely acquired by the electronic equipment, and meanwhile, the power consumption of the master earphone can be reduced.
According to the first aspect, or any implementation manner of the first aspect, in a process that the master earphone interacts with the electronic device that establishes the bluetooth connection and processes an audio service of the electronic device, the method further includes: the slave earphone monitors an audio data packet corresponding to the audio service sent to the master earphone by the electronic equipment through a data transceiving link between the slave earphone and the electronic equipment; and after the slave earphone monitors the audio data packet, sending a message for monitoring the audio data packet to the master earphone through a TWS link between the slave earphone and the master earphone.
According to the first aspect, or any implementation manner of the first aspect above, the processing an audio service of an electronic device by interaction between a master earphone and the electronic device that establishes a bluetooth connection includes: the main earphone receives an audio data packet corresponding to the audio service sent by the electronic equipment through a data transceiving link; and after receiving the message which is sent by the slave earphone and used for monitoring the audio data packet through the TWS link, the master earphone feeds back the received audio data packet to the electronic equipment through the data transceiving link and plays the audio data in the audio data packet.
According to the first aspect, or any implementation manner of the first aspect above, the method further includes: responding to the target trigger operation, switching the second earphone into a master earphone, and switching the first earphone into a slave earphone; the target triggering operation comprises any one of the following steps: the electric quantity value of the first earphone is lower than that of the second earphone, and the first earphone is switched from a wearing state to an unworn state.
According to the first aspect or any one of the above implementation manners of the first aspect, switching the second earphone to the master earphone and switching the first earphone to the slave earphone comprises: the first earphone sends the connection information of a data transceiving link between the first earphone and the electronic equipment to the second earphone through a TWS link between the first earphone and the second earphone so that the second earphone switches a monitoring link between the second earphone and the electronic equipment into the data transceiving link according to the connection information of the data transceiving link; and the second earphone sends the connection information of the monitoring link to the first earphone through the TWS link so that the first earphone switches the data transceiving link into the monitoring link according to the connection information of the monitoring link.
According to the first aspect, or any implementation manner of the first aspect, after the second earphone is switched to the master earphone and the first earphone is switched to the slave earphone, the method further includes: the second earphone sends the state information of itself to the first earphone through the TWS link and stops broadcasting; the first earphone acquires the state information of the first earphone, and broadcasts the state information of the second earphone and the state information of the first earphone in a broadcasting mode.
Therefore, after the switching of the master earphone and the slave earphone occurs, the broadcasting can still be carried out according to the broadcasting mode given above.
According to the first aspect as such or any one of the above implementations of the first aspect, the broadcast is a bluetooth low energy broadcast.
Therefore, the power consumption of the TWS earphone can be reduced as much as possible while the user experience requirements are considered.
In a second aspect, the present application provides a TWS headset. The TWS headset includes: a memory and a processor, the memory and the processor coupled; the memory stores program instructions that, when executed by the processor, cause the TWS headset to perform the instructions of the first aspect or any possible implementation of the first aspect.
Any one implementation manner of the second aspect and the second aspect corresponds to any one implementation manner of the first aspect and the first aspect, respectively. For technical effects corresponding to any one of the implementation manners of the second aspect and the second aspect, reference may be made to the technical effects corresponding to any one of the implementation manners of the first aspect and the first aspect, and details are not described here.
In a third aspect, the present application provides a computer readable medium for storing a computer program comprising instructions for performing the method of the first aspect or any possible implementation manner of the first aspect.
Any one implementation manner of the third aspect corresponds to any one implementation manner of the first aspect. For technical effects corresponding to any one implementation manner of the third aspect and the third aspect, reference may be made to the technical effects corresponding to any one implementation manner of the first aspect and the first aspect, and details are not repeated here.
In a fourth aspect, the present application provides a computer program comprising instructions for carrying out the method of the first aspect or any possible implementation manner of the first aspect.
Any one implementation manner of the fourth aspect and the fourth aspect corresponds to any one implementation manner of the first aspect and the first aspect, respectively. For technical effects corresponding to any one implementation manner of the fourth aspect and the fourth aspect, reference may be made to the technical effects corresponding to any one implementation manner of the first aspect and the first aspect, and details are not described here again.
In a fifth aspect, the present application provides a chip comprising a processing circuit, a transceiver pin. Wherein the transceiver pin and the processing circuit are in communication with each other via an internal connection path, and the processing circuit is configured to perform the method of the first aspect or any one of the possible implementations of the first aspect to control the receiving pin to receive signals and to control the sending pin to send signals.
Any one implementation manner of the fifth aspect and the fifth aspect corresponds to any one implementation manner of the first aspect and the first aspect, respectively. For technical effects corresponding to any one of the implementation manners of the fifth aspect and the fifth aspect, reference may be made to the technical effects corresponding to any one of the implementation manners of the first aspect and the first aspect, and details are not described here.
In a sixth aspect, the present application provides a wireless communication system comprising an electronic device for providing audio data packets corresponding to an audio service and the TWS headset of the second aspect.
Any one of the implementations of the sixth aspect and the sixth aspect corresponds to any one of the implementations of the first aspect and the first aspect, respectively. For technical effects corresponding to any one of the implementation manners of the sixth aspect and the sixth aspect, reference may be made to the technical effects corresponding to any one of the implementation manners of the first aspect and the first aspect, and details are not described here.
Drawings
FIG. 1 is a schematic diagram of an exemplary hardware configuration of a TWS headset;
FIG. 2 is a schematic diagram of the software architecture of an exemplary TWS headset;
FIG. 3 is a diagram illustrating an exemplary handset Bluetooth paired with a TWS headset;
FIG. 4 is a schematic diagram of an exemplary link between two of the handsets and TWS headset;
FIGS. 5a and 5b are schematic diagrams illustrating an application scenario;
FIGS. 6a and 6b are schematic diagrams illustrating still another exemplary application scenario;
FIGS. 7a and 7b are schematic diagrams illustrating still another exemplary application scenario;
8a, 8b are schematic diagrams of still another exemplary application scenario;
fig. 9 is a flowchart illustrating a broadcasting method according to an embodiment of the present application;
fig. 10 is a flowchart illustrating a further broadcasting method according to an embodiment of the present application;
fig. 11 is a flowchart illustrating another broadcasting method according to an embodiment of the present application;
fig. 12 is a schematic diagram of an exemplary master-slave ear switch.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The term "and/or" herein is merely an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The terms "first" and "second," and the like, in the description and in the claims of the embodiments of the present application are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first target object and the second target object, etc. are specific sequences for distinguishing different target objects, rather than describing target objects.
In the embodiments of the present application, the words "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present application, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of processing units refers to two or more processing units; a plurality of systems refers to two or more systems.
The embodiment of the application provides a TWS earphone. As shown in fig. 1, the TWS headset 100 provided in the present embodiment may include a headset case 101, a right headset 102 to be worn on the right ear, and a left headset 103 to be worn on the left ear.
The earphone case 101 includes a case 1011 for accommodating the right earphone 102 and the left earphone 103 and for charging the right earphone 102 and the left earphone 103, and a cover 1012 for sealing the right earphone 102 and the left earphone 103 in the case 1011.
Illustratively, in some implementations, the housing 1011 and cover 1012 can be coupled by a coupling mechanism such that the cover 1012 can be coupled to the housing 1011 even when the cover 1012 is opened, such as shown in FIG. 1, which can effectively prevent the cover 1012 from being lost.
It should be understood that the above description is only an example for better understanding of the technical solution of the present embodiment, and is not intended to limit the present embodiment. In practical applications, the box 1011 and the cover 1012 can be connected by screw threads, snap fit, or other means, which is not limited by the embodiment.
The right earphone 102 and the left earphone 103 may be switched between a master earphone and a slave earphone according to an actual wearing state, a taking-out state from the earphone box 101, respective electric quantity values, and the like.
For example, in some implementations, it may be provided that the right earpiece 102 is set by default as the master earpiece, while the left earpiece 103 is set as the slave earpiece. That is, when the user opens the cover 1012 of the earphone case 101, the right earphone 102 is regarded as the master earphone and the left earphone 103 is regarded as the slave earphone.
For example, in other implementations, it may be further provided that the earphone taken out from the earphone box 101 is the master earphone, and then the slave earphone is taken out.
For example, in other implementations, it may be further provided that the earphone worn first on the ear is the master earphone and the earphone worn later is the slave earphone.
It should be understood that the above description is only an example for better understanding of the technical solution of the present embodiment, and is not to be taken as the only limitation of the present embodiment. In practical application, the master earphone and the slave earphone can also be determined according to the remaining electric quantity values of the two earphones, for example, the master earphone with a high electric quantity value is used as the master earphone, and the slave earphone with a low electric quantity value is used as the slave earphone.
As can be seen from the above description, in a current usage scenario of the TWS headset, in order to bring a better experience to a user, the TWS headset is usually configured to send its own status information to the electronic device that establishes the bluetooth connection in a broadcast manner, so that the electronic device can know the status of the TWS headset.
To achieve the above, in some common implementations, the state information of the TWS headset is broadcast, in particular by a master one of the TWS headsets. However, since the main headset also needs to interact with the electronic device, data information related to the currently performed audio service is transceived. Therefore, the chip capability and system performance of the TWS headset are limited, and in a scene where a user wears the TWS headset and generates an audio service, the TWS headset transmits a broadcast while executing the audio service, which may cause the audio service to be stuck.
In addition, the master earphone processes the audio service and broadcasts the state information, so that the power consumption of the master earphone is far greater than that of the slave earphone, the power consumption difference between the master earphone and the slave earphone is large, the service lives of the master earphone and the slave earphone are greatly different, and the user experience is not facilitated.
In view of this, an embodiment of the present application provides a broadcasting method, which aims to reduce the occurrence of deadlock, so that an audio service can be normally executed, and meanwhile, status information can be sent to an electronic device through broadcasting, thereby ensuring user experience.
Specifically, in this embodiment, the broadcasting method mainly depends on the function modules/functions/services in the software architecture followed by the TWS headset, and the bluetooth chips provided by different manufacturers. In order to better understand the broadcasting method provided by the embodiment, the software architecture and the bluetooth chip of the TWS headset are described below with reference to fig. 2.
Referring to fig. 2, the software architecture of the TWS headset may be divided into an application layer, an application framework layer, an interface adaptation layer, and a kernel layer from top to bottom.
Wherein the application layer may include a series of application packages. Such as the sensor application shown in fig. 2, a user operated event processing application, etc.
In the present embodiment, in-out box detection, wearing state detection, and the like of the left and right earphones in the TWS earphone are implemented by an in-out box sensor application and a wearing sensor application in the sensor application.
Furthermore, it is to be understood that, in practical applications, the sensor application may further include a touch sensor application for detecting a touch operation of a user, a stable sensor application for detecting a temperature, a sliding sensor application for detecting a sliding operation, and the like, which are not listed here, and the present embodiment is not limited thereto.
With continued reference to fig. 2, for example, the user operation event such as opening and closing the cover of the earphone box, taking out and putting in the earphone from and into the box body of the earphone box, wearing and taking off the earphone, pairing with bluetooth, playing audio, and acquiring the charging state information of the earphone is processed by the user operation event processing application.
Continuing to refer to fig. 2, exemplary user operation events related to opening the lid of the earphone box and closing the lid may be implemented, for example, by a user operating a box event processing module in an event processing application; regarding the user operation events of taking out and putting in the earphone from the earphone box body, wearing and taking off the earphone, the user operation events can be realized by the sensor event module in the user operation event processing application, for example; user operation events regarding bluetooth pairing, for example, may be implemented by a bluetooth event module in a user operation event processing application; the user operation event related to obtaining the charging state information of the headset may be implemented by, for example, a charging event module in the user operation event processing application; the user operation event related to the execution of the audio service may be implemented by, for example, an audio event in the user operation event processing application.
Specifically, in practical application, the sensor event module may be matched with an in-out box sensor application and a wearing sensor application in the sensor application to trigger corresponding sensor drivers, and call corresponding sensors to implement user operation event processing of taking out and putting in an earphone from a box body of an earphone box, wearing the earphone and taking off the earphone.
In addition, it should be noted that the state information obtained by the event module processing, such as whether the event module is in a box, whether the event module is worn, whether charging is performed, whether bluetooth connection is completed, information of the electronic device paired with bluetooth, information of the executed audio service, and the like, may be managed by the state management module in the event processing application operated by the user, so that when the information is obtained, the state management module may be searched first, and if the information is not searched, the corresponding event module may perform processing.
Furthermore, it is to be understood that, in practical applications, the application package may further include some common applications, such as an application for implementing Over The Air software upgrade (Firmware Over-The-Air, FOTA), an application for displaying a headset power value, and The like, which are not listed here, and The embodiment is not limited thereto.
It should be understood that the above description is only an example for better understanding of the technical solution of the present embodiment, and is not to be taken as the only limitation of the present embodiment.
The application Framework layer provides an Application Programming Interface (API) and a programming Framework (Framework) for an application program of the application layer, that is, the application layer accesses/invokes a service provided by the application Framework layer through the Framework API. In some implementations, the services of the application Framework layer accessed through the Framework API include, for example, the base software services, the common base library, etc. shown in fig. 2.
Specifically, in this embodiment, the determination of the earphone power value needs to be performed by using a soft circuit calculation method packaged in an algorithm library in a common base library, and the wearing state needs to be determined by processing data acquired by the wearing sensor by using a wearing detection algorithm packaged in the algorithm library.
In addition, it can be understood that, in practical applications, some third party libraries may also be included in the common base library, such as an algorithm for establishing a secure communication connection, an algorithm for maintaining service security, and the like, which are not listed here, and this embodiment is not limited to this.
In addition, it can be understood that, in practical applications, some common runtime libraries, such as memory pool (memory pool), security mode (safe) helper code (hellpcode), etc., may also be included in the common base library, which is not listed here, and this embodiment is not limited in this respect.
Continuing to refer to fig. 2, for example, the basic software services include a service for performing log storage, a service for application management, a service for device management, a service for serial communication management, a service for configuration storage management, and the like, which are not listed here one by one, and this embodiment is not limited thereto.
It should be understood that the above description is only an example for better understanding of the technical solution of the present embodiment, and is not to be taken as the only limitation of the present embodiment.
The interface adaptation layer provides various adaptation interfaces, such as a bluetooth interface for accessing a bluetooth system in the bluetooth chip, an audio interface for a user to access an audio system integrated in the bluetooth chip, and the like, as shown in fig. 2.
In the embodiment, accessing the bluetooth system through the bluetooth interface can realize data transceiving, earphone status (wearing, not wearing, and not wearing), and earphone box status (opening a cover, closing the cover) updating; the corresponding audio service, such as playing birth, muting and the like, can be executed by accessing the audio system through the audio interface.
In addition, it is also understood that, in practical applications, the interface adaptation layer may further include other adaptation interfaces, such as an interface for accessing the temperature sensor, an interface for accessing the hardware abstraction layer, an interface for accessing the sliding sensor, and the like, which are not listed here, and the present embodiment is not limited thereto.
It should be understood that the above description is only an example for better understanding of the technical solution of the present embodiment, and is not to be taken as the only limitation of the present embodiment.
The kernel layer includes a lightweight operating system, various hardware drivers, and the like.
The lightweight operating system includes, for example, a task scheduling module for implementing task scheduling, a memory management module for implementing memory management, a timer for implementing timing, a low power consumption module for reducing power consumption, a chip adaptation module for implementing chip adaptation, an IPC Communication module for implementing Inter-Process Communication (IPC), and the like, which are not listed here, but this embodiment is not limited thereto.
The hardware drivers related to the TWS headset include, for example, a slide sensor driver, a temperature sensor driver, a wearing sensor driver, an in-out box sensor driver, and the like, which are not illustrated here, and this embodiment is not limited thereto.
The software structure of the TWS according to the present embodiment is described here, and it is understood that the layers in the software structure and the components included in the layers shown in fig. 2 do not constitute a specific limitation to the type of TWS headset. In other embodiments of the present application, the TWS headset may include more or fewer layers than shown, and more or fewer components may be included in each layer, as the present application is not limited.
In addition, it should be noted that, since the left earphone and the right earphone in the TWS earphone are configured with independent bluetooth, such as the bluetooth chip shown in fig. 2, the overall architecture of the left earphone and the right earphone is as shown in fig. 2.
Based on the above hardware structure and software architecture, before implementing the broadcasting method provided in this embodiment, it is necessary to complete the bluetooth pairing between the TWS headset and the electronic device providing the audio data packet corresponding to the audio service, such as a mobile phone, and the connection between the left headset and the right headset in the TWS headset. For convenience of explanation, the following description will be made with reference to fig. 3.
It should be noted that, since the TWS headset is not a specific brand of headset and refers to a true wireless stereo bluetooth headset, different manufacturers produce different brands and models of TWS headsets and electronic devices such as mobile phones with different bluetooth pairing modes.
Referring to fig. 3, an exemplary manner in which a TWS headset bluetooth pairs with a handset is shown. Specifically, when the bluetooth pairing between the mobile phone and the TWS headset needs to be implemented, for example, the bluetooth of the mobile phone may be opened through a pull-down notification bar, an entry provided by a setting application, or other shortcuts, and a cover of a headset case in which the TWS headset is placed is opened, then a bluetooth device is searched in a bluetooth setting interface of the mobile phone, and the TWS headset to be worn is found, and then the TWS headset is selected, so that the pairing with the left headset and the right headset in the headset case can be successful.
For example, in other implementations, for TWS earphones of other brands and models, pairing with the bluetooth of the mobile phone may be, for example, after the bluetooth of the mobile phone is turned on, bringing the TWS earphone close to the mobile phone, pressing a button on the earphone box for a long time to enable the TWS earphone to enter a pairing mode, then opening the earphone and the cover, popping up a pairing picture in an interface of the mobile phone, and when a user clicks a confirmation, successfully pairing with the left earphone and the right earphone in the earphone box.
For example, in other implementation manners, for a TWS headset in which two headsets need to be taken out to realize bluetooth pairing, the left headset and the right headset need to be taken out from the headset box, then function switches on the two headsets are pressed simultaneously to enable the two headsets to enter a pairing mode, then the bluetooth of the mobile phone is turned on, and bluetooth pairing between the TWS headset and the mobile phone can be realized by operating on a bluetooth setting interface of the mobile phone.
It should be understood that the above description is only an example for better understanding of the technical solution of the present embodiment, and is not to be taken as the only limitation of the present embodiment.
In addition, it should be noted that, in the process of implementing bluetooth pairing, three links need to be involved between two earphones of the TWS earphone and the handset, which are respectively a TWS link between the two earphones, a data transceiving link between the earphone identified as the master earphone and the handset, and a listening link between the earphone identified as the slave earphone and the handset. The establishment of these 3 links is explained below with reference to fig. 4.
Referring to fig. 4, it is assumed that a headphone 1 (which may be a left headphone or a right headphone) in the TWS headset is confirmed as a master headphone, and a headphone 2 (which may be a right headphone or a left headphone) is confirmed as a slave headphone. The headset 1 and the headset 2 are in a headset case, and after a cover of the headset case is opened, a TWS link is established between the headset 1 and the headset 2, specifically, the headset 2 actively connects the headset 1 back, i.e., the main headset.
As can be seen from fig. 4, the TWS link is a two-way physical link, that is, the headset 1 and the headset 2 may interact via the TWS link, for example, the headset 2 may send, to the headset 1 via the TWS link, information for monitoring an audio data packet sent by the handset to the headset 1, status information, connection information, and the like, which are referred to below, and the headset 1 may also send, to the headset 2 via the TWS link, status information, connection information, and the like, which are referred to below.
Then, after the TWS link is established, if the bluetooth of the Mobile phone is already turned on, when the Mobile phone approaches the TWS headset, or when the two are within a certain range and space, the bluetooth setting interface of the Mobile phone displays the searched TWS headset, and when the user selects the displayed TWS headset, the headset 1 establishes a data transceiving link, i.e., the Mobile link in fig. 4, with the Mobile phone, specifically, the headset 1, i.e., the primary headset, actively connects back to the Mobile phone.
As can be seen from fig. 4, the Mobile link is a bidirectional physical link, that is, the headset 1 and the Mobile phone can interact with each other through the Mobile link, for example, the Mobile phone can send an audio data packet corresponding to an audio service to the headset 1 through the Mobile link, and the headset 1 can also send a feedback of receiving the audio data packet to the Mobile phone through the Mobile link.
Then, after the Mobile link is established, the headset 1 will notify the headset 2 to establish a listening link, i.e. the IBRT link in fig. 4, with the handset.
As can be seen from fig. 4, the IBRT link is a unidirectional virtual link, and is used for the headset 2 to monitor the audio data packet corresponding to the audio service sent by the handset to the headset 1, that is, only to receive data, but not to send data.
In addition, it should be understood that, regarding the establishment of the three links, the Mobile link needs to be established after the TWS link is successfully established, and the IBRT link needs to be established after both the TWS link and the Mobile link are established.
In addition, for the specific establishment procedure of the three links, reference may be made to a protocol standard followed by the TWS headset, and details are not described here.
Accordingly, after the earphones 1 and 2 are placed in the earphone box and the cover of the earphone box is closed, the three links are disconnected in sequence. The method specifically comprises the steps that the master earphone informs the slave earphone to disconnect an IBRT link between the slave earphone and the Mobile phone, then the master earphone disconnects a Mobile link between the master earphone and the Mobile phone, and finally a TWS link between the two earphones is disconnected.
For the specific disconnection process of the three links, reference may be made to a protocol standard followed by the TWS headset, and details thereof are not described here.
Aiming at the TWS earphone with the software and hardware structure, after the Bluetooth pairing between the TWS earphone and the mobile phone is completed and the three links are established, in order to enable the TWS earphone to be suitable for the scene which executes audio service and broadcast simultaneously and solve the problems in the scene, the broadcasting method provided by the embodiment of the application reduces the occupation of the main earphone resource by handing the broadcast to the slave earphone when the TWS earphone executes the audio service, and the main earphone only receives and transmits data information related to the currently executed audio service, thereby effectively reducing the occurrence of the blocking phenomenon, enabling the audio service to be executed normally, and simultaneously sending state information to the electronic equipment through the broadcast, and ensuring the user experience.
In the embodiment of the present application, in an initial state, that is, before a master-slave ear switching operation occurs, the first earphone is taken as a master earphone, and the second earphone is taken as a slave earphone as an example.
For example, in some implementations, the first earpiece may be, for example, a right earpiece worn on the right ear and the second earpiece may be, for example, a left earpiece worn on the left ear.
For example, in other implementations, the first earpiece may be, for example, a left earpiece worn on a left ear, and the second earpiece may be, for example, a right earpiece worn on a right ear.
In addition, in the present embodiment, the audio service may include, for example, a call service, a multimedia service, and the like.
For example, in some implementations, the call service can include, for example, a voice call service, such as a voice call initiated based on a call application, a voice call initiated based on an instant messaging application, and so on.
For example, in other implementations, the call service may further include an audio and video conference service, such as a conference initiated based on an instant messaging application.
In addition, in this embodiment, the status information may be, for example, an electric quantity value, a wearing status, identification information of the master earphone and the slave earphone, which is not listed here, and the present application is not limited thereto.
For convenience of understanding, the following description explains the broadcasting method provided in the embodiments of the present application by taking an electronic device that establishes a bluetooth connection with a TWS headset as an example of a mobile phone through several specific application scenarios.
Scene one
In this scenario, the earphone 1 is a master earphone, the earphone 2 is a slave earphone, and a TWS link exists between the earphone 1 and the earphone 2, and the status information to be broadcasted is power information (current power values of the earphone 1 and the earphone 2) for example.
Referring to fig. 5a, for example, if the Mobile phone has bluetooth enabled and has a bluetooth connection with the TWS headset, as described above, a Mobile link is established with the master headset and an IBRT link is established with the slave headset, in some implementations, a control identifying the bluetooth connection is displayed in the user interface of the Mobile phone.
Continuing with fig. 5a, for example, when the audio service triggered by the Mobile phone is a call service, the Mobile phone may send an audio data packet generated during the execution of the audio service to the primary headset through the Mobile link, and the secondary headset may monitor the audio data packet sent by the Mobile phone to the primary headset through the Mobile link through the IBRT link, and notify, through the TWS link, that the audio data packet is monitored.
Correspondingly, after receiving the feedback of monitoring the audio data packet sent by the slave earphone through the TWS link, the master earphone feeds back the received audio data packet to the Mobile phone through the Mobile link, and simultaneously, both the master earphone and the slave earphone play the audio data in the audio data packet, so that a user wearing the TWS earphone can hear the voice of the other party and can talk with the other party.
Continuing with fig. 5a, for example, in the process that the master earphone and the slave earphone execute the audio service according to the logic, the slave earphone may obtain the power information of the master earphone through the TWS link, and also obtain the power information of the slave earphone, so as to broadcast the power information of the master earphone and the power information of the slave earphone according to the set broadcast period.
It will be appreciated that the power information about the master earphone may, in some implementations, be automatically obtained by the master earphone and sent to the slave earphone via the TWS link, for example, according to a certain period, that is, the master earphone is actively sent to the slave earphone. In other implementation manners, the state information acquisition request may also be initiated by the slave earphone to the master earphone through the TWS link according to a certain period, and then the state information acquisition request is acquired from the master earphone.
For specific implementation of obtaining the electric quantity information of the master earphone and obtaining the electric quantity information of the slave earphone, reference may be made to the above description of the software architecture portion of the TWS earphone, and details are not described here.
For example, after the slave earphone broadcasts the power information of the master earphone and the power information of the slave earphone according to a set period, the nearby electronic device, such as a mobile phone, that establishes a bluetooth connection with the slave earphone receives the broadcast, and analyzes the broadcast in an agreed analysis manner, so as to obtain the power information of the master earphone and the power information of the slave earphone.
Referring to fig. 5b, as an example, taking the mobile phone receiving the broadcast sent by the slave earphone as the above-mentioned mobile phone sending the audio data packet, the mobile phone obtains the electric quantity information by parsing the broadcast, where the electric quantity value of the slave earphone is 100%, and the electric quantity value of the master earphone is 70%, in some implementations, the electric quantity values of the master earphone and the slave earphone may be displayed on a user interface, as shown in fig. 5b, a control 101 identifying that the electric quantity value of the master earphone is 70%, and a control 102 identifying that the electric quantity value of the slave earphone is 100%.
It can be understood that, since the slave headset continuously broadcasts the latest power information of the TWS headset according to the set broadcast period, during the audio service execution process, the power values of the master headset and the slave headset displayed in the user interface of the mobile phone are also dynamically adjusted according to the power information in the broadcast received each time.
Therefore, broadcasting is finished by the slave earphone, the master earphone only receives and transmits data information related to the currently executed audio service, occupation of resources of the master earphone is reduced, accordingly, the phenomenon of pause can be effectively reduced, the audio service can be normally executed, meanwhile, electric quantity information can be sent to the mobile phone through broadcasting, and a user can know the residual electric quantity of the TWS earphone in real time through a mobile phone interface so as to charge in time.
Scene two
In this scenario, the headset 1 is a master headset, the headset 2 is a slave headset, and a TWS link exists between the headset 1 and the headset 2, and the state information to be broadcasted is a wearing state (the current wearing state of the headset 1 and the headset 2) for example.
Referring to fig. 6a, for example, if the Mobile phone has bluetooth enabled and has a bluetooth connection with the TWS headset, as described above, a Mobile link is established with the master headset and an IBRT link is established with the slave headset, in some implementations, a control identifying the bluetooth connection is displayed in the user interface of the Mobile phone.
Continuing with fig. 6a, for example, when the audio service triggered by the Mobile phone is a call service, the Mobile phone may send an audio data packet generated during the execution of the audio service to the primary headset through the Mobile link, and the secondary headset may monitor the audio data packet sent by the Mobile phone to the primary headset through the Mobile link through the IBRT link, and notify, through the TWS link, that the audio data packet is monitored.
Correspondingly, after receiving the feedback of monitoring the audio data packet sent by the slave earphone through the TWS link, the master earphone feeds back the received audio data packet to the Mobile phone through the Mobile link, and simultaneously, the master earphone and the slave earphone play the audio data in the audio data packet, so that a user wearing the TWS earphone can hear the voice of the other party and can talk with the other party.
With reference to fig. 6a, in the process that the master earphone and the slave earphone execute the audio service according to the logic, the slave earphone may acquire the wearing state of the master earphone through the TWS link, and also may acquire the wearing state of the slave earphone, and further broadcast the wearing state of the master earphone and the wearing state of the slave earphone according to the set broadcast period.
It will be appreciated that with respect to the wearing state of the master earphone, in some implementations, it may be, for example, that the master earphone automatically acquires and transmits to the slave earphone through the TWS link according to a certain period, i.e., the master earphone actively transmits to the slave earphone. In other implementation manners, the state information acquisition request may also be initiated by the slave earphone to the master earphone through the TWS link according to a certain period, and then the state information acquisition request is acquired from the master earphone.
For specific implementation of the main headset acquiring the wearing state of the main headset and the slave headset acquiring the wearing state of the main headset, reference may be made to the above description of the software architecture portion of the TWS headset, and details are not described here.
For example, after the slave earphone broadcasts the wearing state of the master earphone and the wearing state of the slave earphone according to a set period, an electronic device, such as a mobile phone, nearby and establishing a bluetooth connection with the slave earphone receives the broadcast, and analyzes the broadcast in an agreed analysis manner, so as to obtain the wearing state of the master earphone and the wearing state of the slave earphone.
Referring to fig. 6b, as an example, taking the mobile phone that receives the broadcast sent by the slave earphone and sends the audio data packet as the example, the mobile phone analyzes the broadcast, and obtains the wearing states that the slave earphone is not worn and the master earphone is worn, in some implementations, the wearing states of the master earphone and the slave earphone may be displayed on the user interface, as shown in fig. 6b, a control 103 that identifies the master earphone as a wearing state, and a control 104 that identifies the slave earphone as an unworn state.
Understandably, since the slave earphone continuously broadcasts the latest wearing state of the TWS earphone according to the set broadcasting period, the wearing states of the master earphone and the slave earphone displayed in the user interface of the mobile phone are dynamically adjusted according to the wearing state in the broadcast received each time in the process of executing the audio service.
Therefore, broadcasting is finished by the slave earphone, the master earphone only receives and transmits data information related to the currently executed audio service, occupation of resources of the master earphone is reduced, accordingly, the occurrence of the pause phenomenon can be effectively reduced, the audio service can be normally executed, meanwhile, electric quantity information can be sent to the mobile phone through broadcasting, a user can master wearing states of the two earphones through a mobile phone interface in real time, and the user can select the earphone in the wearing state to carry out the audio service all the time.
Scene three
In this scenario, the earphone 1 is a master earphone, the earphone 2 is a slave earphone, and there is no TWS link between the earphones 1 and 2, and the status information to be broadcasted is power information (current power value of the earphone 1) for example.
Referring to fig. 7a, if the headset 2 is currently in the headset case and the lid of the headset case is closed, or for other reasons, such as the headset 2 is not powered, the headset 1 and the headset 2 are not connected, i.e. there is no TWS link between the two, as an example. As can be seen from the above description, the IBRT link between the Mobile phone and the slave earphone is established only on the premise that the Mobile link and the TWS link are established, and thus the IBRT link is also disconnected when the TWS link is disconnected. For such a scenario, the TWS headset is in a single-ear mode, i.e., only the primary headset works, and since the Mobile link exists between the primary headset and the Mobile phone, i.e., the bluetooth connection is completed, in some implementations, a control identifying the establishment of the bluetooth connection is displayed in a user interface of the Mobile phone.
Continuing with fig. 7a, for example, when the audio service triggered by the Mobile phone is a call service, the Mobile phone sends an audio data packet generated during the execution of the audio service to the primary headset through the Mobile link. Due to the single-ear mode, the master earphone does not need to wait for the feedback of the slave earphone, and after receiving the audio data packet sent by the Mobile phone, the master earphone directly feeds back the received audio data packet to the Mobile phone through the Mobile link and plays the audio data in the audio data packet, so that a user wearing the master earphone can hear the voice of the other party and can communicate with the other party.
Continuing with fig. 7a, for example, in the process of executing the audio service by the master earphone according to the above logic, the master earphone adjusts the broadcast period, for example, the broadcast period is increased, and then broadcasts the power information of the master earphone according to the adjusted off period. That is, an operation of transceiving data regarding an audio service and a broadcasting operation are made to be executed in a wrong order.
Understandably, as the TWS link does not exist between the master earphone and the slave earphone, the master earphone cannot acquire the power information of the slave earphone, so that the broadcast sent by the master earphone only carries the power information of the master earphone.
For specific implementation of the main headset for acquiring the power information of the main headset, reference may be made to the above description of the software architecture portion of the TWS headset, and details are not described here again.
For example, after the main earphone broadcasts the electric quantity information of the main earphone according to the adjusted broadcast period, the nearby electronic device, such as a mobile phone, that establishes the bluetooth connection with the main earphone receives the broadcast, and analyzes the broadcast in an agreed analysis manner, so as to obtain the electric quantity information of the main earphone.
Referring to fig. 7b, as an example, taking the mobile phone that receives the broadcast sent by the earphone and sends the audio data packet as the example, the mobile phone parses the broadcast, and the obtained power information is that the power value of the primary earphone is 70%, in some implementations, the power value of the primary earphone may be displayed on the user interface, as shown in fig. 7b, the control 101 that identifies that the power value of the primary earphone is 70%.
It can be understood that, since the main earphone continuously broadcasts the latest electric quantity information of the main earphone according to the adjusted broadcast period, the electric quantity value of the main earphone displayed in the user interface of the mobile phone is dynamically adjusted according to the electric quantity information in the broadcast received each time in the process of executing the audio service.
Therefore, in the process of receiving and transmitting data information related to the currently executed audio service by the main earphone, the broadcasting period suitable for the current audio service is adjusted, and then the main earphone broadcasts the electric quantity information of the main earphone according to the adjusted broadcasting period, so that the audio service and the broadcasting can be executed in a staggered mode, the occurrence of the blocking phenomenon can be effectively reduced, the audio service can be normally executed, meanwhile, the electric quantity information can be sent to the mobile phone through the broadcasting, and a user can master the residual electric quantity of the main earphone through a mobile phone interface in real time so as to charge in time.
Scene four
In this scenario, the headset 1 is a master headset, the headset 2 is a slave headset, and there is no TWS link between the headset 1 and the headset 2, and the status information to be broadcasted is a wearing status (current wearing status of the headset 1) for example.
Referring to fig. 8a, if the headset 2 is currently in the headset case and the lid of the headset case is closed, or for other reasons, such as the headset 2 is not powered, the headset 1 and the headset 2 are not connected, i.e. there is no TWS link between the two, as an example. As can be seen from the above description, the IBRT link between the Mobile phone and the slave earphone is established only on the premise that the Mobile link and the TWS link are established, and thus the IBRT link is also disconnected when the TWS link is disconnected. For such a scenario, the TWS headset is in a single-ear mode, i.e. only the primary headset works, and since the Mobile link exists between the primary headset and the Mobile phone, i.e. the bluetooth connection is completed, in some implementation manners, a control identifying the establishment of the bluetooth connection is displayed in a user interface of the Mobile phone.
Continuing with fig. 8a, for example, when the audio service triggered by the Mobile phone is a call service, the Mobile phone sends an audio data packet generated during the execution of the audio service to the primary headset through the Mobile link. Due to the single-ear mode, the master earphone does not need to wait for the feedback of the slave earphone, and after receiving the audio data packet sent by the Mobile phone, the master earphone directly feeds back the received audio data packet to the Mobile phone through the Mobile link and plays the audio data in the audio data packet, so that a user wearing the master earphone can hear the voice of the other party and can communicate with the other party.
Continuing with fig. 8a, for example, in the process of executing the audio service by the master earphone according to the above logic, the master earphone adjusts the broadcast period, for example, the broadcast period is increased, and further broadcasts the wearing state of the master earphone according to the adjusted off period. That is, an operation of transceiving data regarding an audio service and a broadcasting operation are made to be executed in a wrong order.
Understandably, as the TWS link does not exist between the master earphone and the slave earphone, the master earphone cannot acquire the wearing state of the slave earphone, and the broadcast sent by the master earphone only carries the wearing state of the master earphone.
For specific implementation of the main headset to acquire the wearing state of the main headset, reference may be made to the above description of the software architecture portion of the TWS headset, and details are not described here.
For example, after the main earphone broadcasts the wearing state of the main earphone according to the adjusted broadcast cycle, the electronic device, such as a mobile phone, which establishes a bluetooth connection with the main earphone nearby receives the broadcast, and analyzes the broadcast in an agreed analysis manner, thereby obtaining the wearing state of the main earphone.
Referring to fig. 7b, for example, taking the mobile phone that receives the broadcast sent from the earphone and sends the audio data packet as an example, the mobile phone analyzes the broadcast, and obtains a wearing state that the mobile phone is worn by the primary earphone, in some implementations, the wearing state of the primary earphone may be displayed on a user interface, as shown in fig. 8b, the control 103 that identifies the primary earphone as a wearing state, and the control 104 that identifies the secondary earphone as an unworn state.
It can be understood that, since the main earphone continuously broadcasts the latest wearing state of the main earphone according to the adjusted broadcasting period, the electric quantity value of the main earphone displayed in the user interface of the mobile phone is dynamically adjusted according to the wearing state in the broadcast received each time in the process of executing the audio service.
Therefore, in the process of receiving and transmitting data information related to the currently executed audio service by the main earphone, the main earphone broadcasts the wearing state of the main earphone according to the adjusted broadcasting period by adjusting the broadcasting period suitable for the current audio service, so that the audio service and the broadcasting can be executed in a staggered mode, the occurrence of the pause phenomenon can be effectively reduced, the audio service can be normally executed, and meanwhile, the wearing state can be sent to the mobile phone by the broadcasting, so that a user can always select the earphone in the wearing state to carry out the audio service.
It should be understood that the above description is only an example for better understanding of the technical solutions of the embodiments of the present application, and is not intended to limit the embodiments of the present application solely. In practical applications, the status information carried in the broadcast may include both the circuit information and the wearing status, that is, in the diagrams in the user interfaces of the mobile phones shown in fig. 5b, fig. 6b, fig. 7b, and fig. 8b, the controls 101 to 104 may be displayed at the same time.
In order to better understand the broadcasting method for implementing the foregoing scenario provided by the embodiment of the present application, the following describes the broadcasting method provided by the embodiment of the present application with reference to the drawings.
Referring to fig. 9, the broadcasting method provided in this embodiment specifically includes:
s101, the Mobile phone sends an audio data packet to the earphone 1 through the Mobile link.
For example, in the present embodiment, it is assumed that the headset 1 is currently in a wearing state and is determined as a master headset, and the headset 2 is determined as a slave headset and establishes a TWS link with the headset 1, which may be in a wearing state or an unworn state. After the bluetooth pairing of the mobile phone, the headset 1 and the headset 2 is completed in the manner described above and the establishment of the three links is realized. If the Mobile phone triggers an audio service, such as a call service, a multimedia service, etc., the Mobile phone will send an audio data packet corresponding to the currently triggered audio service to the headset 1 through the Mobile link with the headset 1, so that the headset 1 plays audio data in the audio data packet.
For example, in some implementations, the earphone 2 is in an unworn state, for example, the earphone 2 is in an earphone box, and the earphone box is in an open-lid state, that is, a lid of the earphone box is open.
For example, in other implementations, the headset 2 is in an unworn state, which means that the headset 2 is not in a headset case and the headset 2 is not worn on the ear by the user, for example, the headset 2 is taken out from the headset case by the user and placed on a table, in a pocket, in a bag, or the like.
It should be understood that the above description is only an example for better understanding of the technical solutions of the embodiments of the present application, and is not intended to be the only limitation of the embodiments of the present application.
S102, the earphone 2 monitors the audio signal sent to the earphone 1 by the mobile phone through the IBRT link.
As can be seen from the above description of the IBRT link, the IBRT link is used for the headset 2 to monitor the audio data packet sent by the Mobile phone to the headset 1, so that the headset 2 can monitor the audio data packet sent by the Mobile phone to the headset 1 through the IBRT link in the process that the Mobile phone sends the audio data packet to the headset 1 through the Mobile link.
S103, the headset 2 acquires the state information of the headset 1 through the TWS link.
For example, the mode in which the headset 2 acquires the state information of the headset 1 through the TWS link may be that the headset 1 actively sends the state information to the headset 2, or that the headset 2 actively requests the headset 1 for acquisition, and specific implementation details may be referred to above, and are not described here again.
The state information of the headset 1 may be, for example, power information, wearing state, etc., which are not listed here, and the present embodiment is not limited thereto.
Accordingly, when the state information is the power information, the state information is obtained, for example, by determining the state information by using a soft power calculation method packaged in an algorithm library in a common base library of an application Framework layer accessed by a Framework API through an application for displaying the power value of the headset in a common application in the software architecture of the headset 1.
Accordingly, when the state information is the wearing state, the acquisition is obtained, for example, by processing and determining the data acquired by the wearing sensor through a wearing detection algorithm encapsulated in an algorithm library in a common base library of an application Framework layer accessed by the wearing sensor in the sensor application in the software architecture of the headset 1 through the Framework API.
In addition, it should be noted that the state information may also be periodically acquired by the main headset and then delivered to the state management module for unified management and maintenance. For such a scenario, the state information may be directly searched from the state management module, and may be determined by a corresponding algorithm only when the state information does not exist in the state management module.
It should be understood that the above description is only an example for better understanding of the technical solutions of the embodiments of the present application, and is not intended to limit the embodiments of the present application solely.
S104, the headset 2 acquires the state information of the headset 2.
The state information of the headset 2 may be, for example, electric quantity information, wearing state, in-box state, charging state, etc., which are not listed here, but the present embodiment is not limited thereto.
Because the earphone 2 and the earphone 1 are both provided with the independent bluetooth chip and the independent processing chip, and the system architecture is the same, the acquisition mode of the electric quantity information and the state information of the earphone 2 is similar to that of the earphone 1, and the details can be referred to above specifically, and are not repeated here.
The acquisition of the state in the case is, for example, determined by triggering a corresponding sensor driver by a sensor event in the user operation event processing application in cooperation with an in-out case sensor application in the software architecture of the headset 2, and invoking the corresponding sensor.
The acquisition of the charging status is determined, for example, by a charging event module in a user-operated event processing application in the software architecture of the headset 2.
It should be understood that the above description is only an example for better understanding of the technical solutions of the embodiments of the present application, and is not intended to be the only limitation of the embodiments of the present application.
S105, the headset 2 informs the headset 1 via the TWS link that the audio data packet is listened to.
S106, the headset 2 broadcasts the status information of the headset 1 and the status information of the headset 2.
It should be noted that, in the present embodiment, steps S103, S104, and S106 may be independent from steps S101, S102, S105, and S106, that is, the execution order of the two sets of flows is not limited, and may be executed alternately, or may be executed according to the respective processing order, that is, the execution order of the group of operations of steps S103, S104, and S106 and the group of operations of steps S101, S102, S105, and S106 are not distinguished.
S107, the headset 1 replies to the received audio data packet through the Mobile link, and plays the sound.
Specifically, because the headset 1 receives the information that the headset 2 sends through the TWS link and monitors the audio data packet, the headset 1 can notify the Mobile phone through the Mobile link that the audio data packet sent by the headset is received, so that the Mobile phone can continue to send other audio data packets after the audio data packet through the Mobile link. Meanwhile, the headset 1 may also play sound according to the received audio data packet, that is, play the audio data in the audio data packet.
Understandably, in the process of playing the audio data by the master earphone, the slave earphone also plays the sound according to the audio data packet which is monitored.
Therefore, in the broadcasting method provided by this embodiment, when the TWS headset executes the audio service, the broadcasting is completed by the slave headset, and the master headset only receives and transmits data information related to the currently executed audio service, so that occupation of resources of the master headset is reduced, thereby effectively reducing occurrence of a pause phenomenon, enabling the audio service to be normally executed, and simultaneously, sending status information to the electronic device through the broadcasting, and ensuring user experience.
In addition, under the condition that a TWS link exists between the master earphone and the slave earphone, namely the two earphones are connected, the slave earphone sends a broadcast, the master earphone receives and sends data information related to the currently executed audio service, the broadcast period does not need to be changed, the broadcast sending can be in a relatively high frequency, the electronic equipment can acquire the state information of the TWS more timely, and then a corresponding response is made according to the acquired state information, so that the user experience is better.
In addition, the broadcasting is carried out by the slave earphone, the master earphone only receives and transmits the data information related to the currently executed audio service, the power consumption energy between the master earphone and the slave earphone can be balanced, the power consumption difference between the master earphone and the slave earphone is reduced, and the service lives of the master earphone and the slave earphone can be basically kept consistent.
Referring to fig. 10, the broadcasting method provided in this embodiment specifically includes:
s201, the Mobile phone sends an audio data packet to the headset 1 through the Mobile link.
For example, in the present embodiment, it is assumed that the headset 1 is currently in a wearing state and is determined as a master headset, and the headset 2 is determined as a slave headset, but there is no TWS link with the headset 1, which may be in a wearing state or an unworn state. After the bluetooth pairing between the Mobile phone and the headset 1 is completed in the manner described above and the establishment of the Mobile link is realized. If the Mobile phone triggers an audio service, such as a call service, a multimedia service, etc., the Mobile phone will send an audio data packet corresponding to the currently triggered audio service to the headset 1 through the Mobile link with the headset 1, so that the headset 1 plays audio data in the audio data packet.
For example, in some implementations, there is no TWS link between headset 1 and headset 2, possibly currently in a single-ear mode, i.e., the user is working with only the master headset, while the slave headset is placed in the headset case, and the headset case is in the off state.
For example, in other implementations, there is no TWS link between headset 1 and headset 2, and it is also possible that headset 2 is worn or not worn, but headset 2 is powered off automatically.
It should be understood that the above description is only an example for better understanding of the technical solutions of the embodiments of the present application, and is not intended to be the only limitation of the embodiments of the present application.
S202, the headset 1 acquires the state information of the headset 1.
The self-state information acquired by the headset 1 in this embodiment may be the above-mentioned power information and/or wearing state.
For a specific way for the headset 1 to obtain the status information, see the above, the detailed description is omitted here.
S203, the headset 1 replies to the received audio signal through the mobile link, and plays the sound.
And S204, the earphone 1 adjusts the broadcasting later stage according to the audio service.
For example, in some implementations, the headset 1 may adjust the broadcast period according to the determined processing duration, for example, by determining the processing duration of the audio data packet corresponding to the currently executed audio service. That is, the adjusted broadcast period needs to avoid the time of currently processing the received audio data packet, and select the unprocessed audio data packet, such as the time of non-reception and non-feedback, for broadcast.
S205, the headset 1 broadcasts the status information of the headset 1 according to the adjusted broadcast period.
As can be seen from the above description, the processing of the broadcast and audio services needs to be performed in a peak-off manner, so in some implementations, the steps S202, S204, and S205 may be completed in an idle interval after performing the processing of the audio data packet once.
Therefore, in the broadcasting method provided by this embodiment, when there is no TWS link between the master earphone and the slave earphone, that is, the two earphones are not connected, and the user only wears the master earphone (monaural mode), the audio service that is executed fundamentally dynamically adjusts the broadcasting period, for example, increases or decreases, so that the operations of the master earphone for processing the audio service and sending the broadcast can be executed in a peak-to-peak manner, thereby effectively reducing the occurrence of a pause phenomenon, enabling the audio service to be executed normally, and simultaneously sending status information to the electronic device through the broadcast, thereby ensuring user experience.
Referring to fig. 11, the broadcasting method provided in this embodiment specifically includes:
and S301, the Mobile phone sends an audio data packet to the earphone 1 through the Mobile link.
For example, in the present embodiment, it is assumed that the headset 1 is currently in a wearing state and is determined as a master headset, and the headset 2 is determined as a slave headset, but there is no TWS link with the headset 1, which may be in a wearing state or an unworn state. After the bluetooth pairing between the Mobile phone and the headset 1 is completed in the manner described above and the establishment of the Mobile link is realized. If the Mobile phone triggers an audio service, such as a call service, a multimedia service, etc., the Mobile phone will send an audio data packet corresponding to the currently triggered audio service to the headset 1 through the Mobile link with the headset 1, so that the headset 1 plays audio data in the audio data packet.
For example, in some implementations, there is no TWS link between headset 1 and headset 2, perhaps with the current user working with only the master headset and the slave headset placed in the headset case, but with the lid of the headset case open, i.e., with the case closed (either charged or simply placed in the headset case); or the headset 2 is not in the box. That is, the headset 2 is capable of actively triggering the operation of the loop back with the electronic device and the operation of the loop back with the cellular phone
It should be understood that the above description is only an example for better understanding of the technical solutions of the embodiments of the present application, and is not intended to be the only limitation of the embodiments of the present application.
S302, the headset 2 is connected back to the headset 1.
That is, headset 2 actively initiates a request to headset 1 to establish a TWS link, thereby enabling the establishment of a TWS link between headset 1 and headset 2 after headset 1 receives the request and responds.
Specifically, in the present embodiment, the case that the headset 2 is connected back to the headset 1 successfully, i.e. the TWS link is reestablished between the two is taken as an example.
And S303, the earphone 2 is connected with the mobile phone.
As can be seen from the above description, in the presence of the TWS link and the Mobile link, the headset 2 may connect back to the Mobile phone, so as to establish the IBRT link between the headset 2 and the Mobile phone.
Regarding the operation of headset 2 to connect back to the handset, it may be that after the TWS link between headset 1 and headset 2 is successfully created, headset 1 informs headset 2 to connect back to the handset through the TWS link.
Accordingly, the earphone 2 initiates a request for establishing the IBRT link to the mobile phone, and after the mobile phone receives the request and responds, the establishment of the IBRT link between the mobile phone and the earphone 2 is realized.
Specifically, in the present embodiment, the headset 2 is successfully connected to the mobile phone, that is, the IBRT link is reestablished between the two.
S304, the headset 2 monitors the audio signal sent to the headset 1 by the handset through the IBRT link.
S305, the headset 2 acquires the state information of the headset 1 through the TWS link.
S306, the headset 2 acquires the state information of the headset 2.
S307, the headset 2 informs the headset 1 through the TWS link that the audio data packet is listened to.
S308, the headset 2 broadcasts the status information of the headset 1 and the status information of the headset 2.
S309, the headset 1 replies to the received audio signal through the mobile link, and plays the sound.
It is to be understood that steps S304 to S309 in this embodiment are substantially the same as steps S102 to S107 in the above embodiment, and specific implementation details may refer to the description of steps S102 to S107, which is not described herein again.
Furthermore, it can be understood that if the operations of step S302 and step S303 described above are not successful, i.e. the TWS link between headset 1 and headset 2 is still disconnected, and the IBRT link between handset and headset 2 is still disconnected, then the broadcasting operation is performed by headset 1, i.e. headset 1 implements the broadcasting and audio service compatible processing according to the processing logic of step 202 to step S205 in the above-described embodiment.
Therefore, in the broadcasting method provided by this embodiment, when there is no TWS link between the master earphone and the slave earphone, a loopback operation is performed to establish the TWS link, and the above-mentioned broadcasting mode in the monaural mode is adopted under the condition that the loopback is not possible, so that the broadcasting cycle is not adjusted as much as possible, and the broadcasting is performed at a relatively high frequency, which ensures that the electronic device can acquire the state information of the TWS earphone in time, and at the same time, can reduce the power consumption of the master earphone.
In addition, it should be noted that in an actual usage scenario, there may be a situation where the user takes off the headset 1 as a master headset and only wears the headset 2 currently as a slave headset, or the power value of the headset 1 is lower than a preset power threshold value as a master headset, and the power threshold value of the headset 2 meets the power threshold value as a master headset, that is, a target trigger operation is triggered. To ensure that the audio service and broadcast can continue to be performed, the TWS headset may perform a master-slave ear switch in response to a target trigger operation, such as switching headset 1, which is determined to be the master, to the slave and switching headset 2, which was previously determined to be the slave, to the master.
The second target triggering operation may be, for example, that the slave earphone is in a wearing state and the master earphone is in an unworn state, that is, the wearing state of the slave earphone and the master earphone changes. The main earphone (the earphone 1 before switching) is in an unworn state, which can indicate that the earphone 1 is in an earphone box and the earphone box is in an open-cover state; alternatively, the headset 1 is not in the headset case and the headset 1 is not worn by the user.
Regarding the processing flow between the earphone 2 and the earphone 1 after switching between the master earphone and the slave earphone, the operation performed by the earphone 1 in the above embodiments is changed to be performed by the earphone 2, the operation performed by the earphone 2 is changed to be performed by the earphone 1, the data interaction between the mobile phone and the earphone 1 is changed to be performed by the earphone 2, and the monitoring of the audio data sent by the mobile phone by the earphone 2 is changed to be performed by the earphone 1, and the specific implementation details are not described herein again.
The switching of the earphone 2 to the master earphone and the switching of the earphone 1 to the slave earphone specifically includes:
(1) The headset 1 sends the connection information of the data transceiving link between the headset 1 and the mobile phone to the headset 2 through the TWS link, so that the headset 2 switches the monitoring link to the data transceiving link according to the connection information of the data transceiving link.
(2) The headset 2 sends the connection information of the monitoring link between the headset 2 and the mobile phone to the headset 1 through the TWS link, so that the headset 1 switches the data transceiving link to the monitoring link according to the connection information of the monitoring link.
Thus, after the master-slave ear switching operation is completed, the link between the headset 1 and the mobile phone, and the link between the headset 2 and the mobile phone, are changed from the pattern shown in the upper part of fig. 12 to the pattern shown in the lower part.
In addition, it should be noted that, after the switching between the master and the slave earphones is completed, the earphone 2 sends its own status information to the earphone 1 through the TWS link and stops broadcasting, and the earphone 1 acquires its own status information and broadcasts the status information of the earphone 2 and its own status information in a broadcast form.
Therefore, in the broadcasting method provided in this embodiment, for the above-mentioned scenario, when the master-slave states of the earphones 1 and 2 change, specifically, the electric quantity value of the earphone 1 is lower than the preset electric quantity threshold value serving as the master earphone, and the electric quantity threshold value of the earphone 2 meets the electric quantity threshold value serving as the master earphone, or the earphone 1 is switched from the wearing state to the unworn state, that is, is removed, the master earphone and the slave earphone are switched, so that the transceiving and broadcasting of the audio data packets corresponding to the audio service can still be performed through different earphones.
In addition, it should be noted that in the embodiments of the present application, specifically, in the form of bluetooth low energy broadcasting, the state information of the TWS headset is broadcasted according to the above-mentioned broadcasting method, so that while considering the user experience requirements, the power consumption of the TWS headset can be reduced as much as possible.
Furthermore, it is understood that the TWS headset comprises corresponding hardware and/or software modules for performing the respective functions in order to implement the above-described functions. The present application can be realized in hardware or a combination of hardware and computer software in connection with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In addition, it should be noted that, in an actual application scenario, the broadcasting method provided by the above embodiments implemented by the TWS headset may also be executed by a chip system included in the TWS headset, where the chip system may include a processor. The chip system may be coupled to the memory, so that the chip system invokes the computer program stored in the memory when running to implement the steps performed by the TWS headset described above. The processor in the system on chip may be an application processor or a processor other than an application processor.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed on a TWS headset, the TWS headset executes the above related method steps to implement the broadcasting method in the above embodiment.
In addition, the embodiment of the present application further provides a computer program product, which, when running on a TWS headset, causes the TWS headset to execute the above related steps, so as to implement the broadcasting method in the above embodiment.
In addition, embodiments of the present application also provide a chip (which may also be a component or a module), which may include one or more processing circuits and one or more transceiver pins; wherein, the receiving/transmitting pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the related method steps to implement the broadcasting method in the above embodiment, so as to control the receiving pin to receive signals and control the sending pin to send signals.
In addition, as can be seen from the above description, the TWS headset, the computer readable storage medium, the computer program product, or the chip provided in the embodiments of the present application are all used for executing the corresponding methods provided above, and therefore, the beneficial effects achieved by the TWS headset, the computer readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding methods provided above, and are not repeated herein.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
Claims (13)
1. A broadcast method applied to a true wireless stereo TWS headset, the TWS headset comprising a first headset and a second headset, the first headset being determined to be a master headset and the second headset being determined to be a slave headset, the method comprising:
and in the process that the master earphone interacts with the electronic equipment which establishes the Bluetooth connection and processes the audio service of the electronic equipment, the slave earphone broadcasts the state information of the TWS earphone in a broadcasting mode.
2. The method of claim 1, wherein the broadcasting of the TWS headset status information from the slave headset in a broadcast comprises:
the slave earpiece determining whether a TWS link is established with the master earpiece;
when the TWS link is established between the slave earphone and the master earphone, the slave earphone acquires the state information of the slave earphone and acquires the state information of the master earphone through the TWS link;
the slave earphone broadcasts the status information of the slave earphone and the status information of the master earphone in a broadcast form.
3. The method of claim 2, further comprising:
when the TWS link is not established between the slave earphone and the master earphone, the master earphone adjusts a broadcasting period according to the audio service;
and the master earphone broadcasts the state information of the master earphone according to the adjusted broadcasting period.
4. The method of claim 3, wherein the master earphone adjusts a broadcast period according to the audio service, comprising:
the master earphone determines the processing time length of an audio data packet corresponding to the audio service;
and adjusting the broadcast period according to the processing time length.
5. The method of claim 3, wherein before the primary earpiece broadcasts the primary earpiece's status information in a broadcast, the method further comprises:
the slave headset looping back the master headset to establish the TWS link;
when the slave earphone and the master earphone are connected back successfully, the step that the slave earphone broadcasts the state information of the TWS earphone in a broadcasting mode is executed;
and when the slave earphone fails to be connected back to the master earphone, the master earphone broadcasts the state information of the master earphone in a broadcasting mode.
6. The method of claim 1, wherein during the process of processing the audio service of the electronic device by the interaction of the master earphone and the electronic device which establishes the bluetooth connection, the method further comprises:
the slave earphone monitors an audio data packet corresponding to the audio service sent to the master earphone by the electronic equipment through a data transceiving link between the slave earphone and the electronic equipment;
and after monitoring the audio data packet, the slave earphone sends a message for monitoring the audio data packet to the master earphone through a TWS link between the slave earphone and the master earphone.
7. The method of claim 6, wherein the master headset interacts with an electronic device that establishes a Bluetooth connection, and wherein processing audio traffic of the electronic device comprises:
the main earphone receives an audio data packet corresponding to the audio service sent by the electronic equipment through the data transceiving link;
and after receiving the message which is sent by the slave earphone and used for monitoring the audio data packet through the TWS link, the master earphone feeds back and receives the audio data packet to the electronic equipment through the data transceiving link and plays the audio data in the audio data packet.
8. The method according to any one of claims 1 to 7, further comprising:
in response to a target trigger operation, switching the second earphone to the master earphone and switching the first earphone to the slave earphone;
wherein the target trigger operation includes any one of: the electric quantity value of the first earphone is lower than that of the second earphone, and the first earphone is switched from a wearing state to an unworn state.
9. The method of claim 8, wherein switching the second earphone to the master earphone and the first earphone to the slave earphone comprises:
the first earphone is connected with a TWS link between the second earphone, and the connection information of a data transceiving link between the first earphone and the electronic equipment is sent to the second earphone, so that the second earphone switches a monitoring link between the second earphone and the electronic equipment into the data transceiving link according to the connection information of the data transceiving link;
and the second earphone sends the connection information of the monitoring link to the first earphone through the TWS link so that the first earphone switches the data transceiving link to the monitoring link according to the connection information of the monitoring link.
10. The method of claim 8, wherein after the switching the second earphone to the master earphone and the first earphone to the slave earphone, the method further comprises:
the second earphone sends the state information of the second earphone to the first earphone through the TWS link and stops broadcasting;
the first earphone acquires the state information of the first earphone, and broadcasts the state information of the second earphone and the state information of the first earphone in a broadcasting mode.
11. The method of any of claims 1 to 7, wherein the broadcast is a Bluetooth Low energy broadcast.
12. A TWS headset, comprising: a memory and a processor, the memory and the processor coupled; the memory stores program instructions that, when executed by the processor, cause the TWS headset to perform the broadcast method of any of claims 1 to 11.
13. A computer readable storage medium, comprising a computer program which, when run on a TWS headset, causes the TWS headset to perform a broadcast method according to any one of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211081917.XA CN115175065B (en) | 2022-09-06 | 2022-09-06 | Broadcasting method, TWS headset and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211081917.XA CN115175065B (en) | 2022-09-06 | 2022-09-06 | Broadcasting method, TWS headset and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115175065A true CN115175065A (en) | 2022-10-11 |
CN115175065B CN115175065B (en) | 2023-01-17 |
Family
ID=83481639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211081917.XA Active CN115175065B (en) | 2022-09-06 | 2022-09-06 | Broadcasting method, TWS headset and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115175065B (en) |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107809697A (en) * | 2017-11-30 | 2018-03-16 | 成都必盛科技有限公司 | It is a kind of to be used to establish the Earphone box interacted with wireless headset |
CN108271090A (en) * | 2018-01-10 | 2018-07-10 | 深圳市沃特沃德股份有限公司 | Bluetooth headset master-slave switching method and device |
CN208174945U (en) * | 2018-05-15 | 2018-11-30 | 上海巨微集成电路有限公司 | The TWS earphone charging box of carried charge push function |
CN109660975A (en) * | 2019-01-28 | 2019-04-19 | 上海与德通讯技术有限公司 | The switching method of principal and subordinate's earphone, main earphone, from earphone and bluetooth headset network |
CN111385777A (en) * | 2018-12-28 | 2020-07-07 | 华为终端有限公司 | TWS earphone low-power reminding method and electronic equipment |
CN111436041A (en) * | 2019-10-31 | 2020-07-21 | 珠海市杰理科技股份有限公司 | Method and device for switching master and slave Bluetooth earphones, Bluetooth earphones and system |
CN112261535A (en) * | 2020-10-16 | 2021-01-22 | 深圳传音控股股份有限公司 | Major-minor switching method and device for wireless earphone and readable storage medium |
CN112789867A (en) * | 2018-11-30 | 2021-05-11 | 华为技术有限公司 | Bluetooth connection method and device |
CN113038316A (en) * | 2019-12-25 | 2021-06-25 | Oppo广东移动通信有限公司 | Earphone control method and device, Bluetooth earphone and storage medium |
US20210211853A1 (en) * | 2020-01-08 | 2021-07-08 | Kunshan Telink Semiconductor Co., Ltd. | Bluetooth headset device and communication method for the same |
CN113573202A (en) * | 2021-09-23 | 2021-10-29 | 深圳市外星人创新电子有限公司 | Data transmission control method and system of Bluetooth headset |
US11240586B1 (en) * | 2020-11-05 | 2022-02-01 | Shenzhen Goodix Technology Co Ltd. | Method, apparatus and device for synchronously playing audio |
WO2022033176A1 (en) * | 2020-08-14 | 2022-02-17 | Oppo广东移动通信有限公司 | Audio play control method and apparatus, and electronic device and storage medium |
US20220078541A1 (en) * | 2018-12-24 | 2022-03-10 | Huawei Technologies Co., Ltd. | Audio data transmission method applied to switching between single-earbud mode and double-earbud mode of tws headset and device |
CN114173309A (en) * | 2020-09-10 | 2022-03-11 | 华为技术有限公司 | Audio control system |
CN115002734A (en) * | 2022-04-29 | 2022-09-02 | 恒玄科技(上海)股份有限公司 | Audio sharing method, device and system and readable storage medium |
CN115002934A (en) * | 2022-07-18 | 2022-09-02 | 荣耀终端有限公司 | Audio service processing system, electronic equipment and Bluetooth headset |
-
2022
- 2022-09-06 CN CN202211081917.XA patent/CN115175065B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107809697A (en) * | 2017-11-30 | 2018-03-16 | 成都必盛科技有限公司 | It is a kind of to be used to establish the Earphone box interacted with wireless headset |
CN108271090A (en) * | 2018-01-10 | 2018-07-10 | 深圳市沃特沃德股份有限公司 | Bluetooth headset master-slave switching method and device |
CN208174945U (en) * | 2018-05-15 | 2018-11-30 | 上海巨微集成电路有限公司 | The TWS earphone charging box of carried charge push function |
CN112789867A (en) * | 2018-11-30 | 2021-05-11 | 华为技术有限公司 | Bluetooth connection method and device |
US20220078541A1 (en) * | 2018-12-24 | 2022-03-10 | Huawei Technologies Co., Ltd. | Audio data transmission method applied to switching between single-earbud mode and double-earbud mode of tws headset and device |
CN111385777A (en) * | 2018-12-28 | 2020-07-07 | 华为终端有限公司 | TWS earphone low-power reminding method and electronic equipment |
CN109660975A (en) * | 2019-01-28 | 2019-04-19 | 上海与德通讯技术有限公司 | The switching method of principal and subordinate's earphone, main earphone, from earphone and bluetooth headset network |
CN111436041A (en) * | 2019-10-31 | 2020-07-21 | 珠海市杰理科技股份有限公司 | Method and device for switching master and slave Bluetooth earphones, Bluetooth earphones and system |
CN113038316A (en) * | 2019-12-25 | 2021-06-25 | Oppo广东移动通信有限公司 | Earphone control method and device, Bluetooth earphone and storage medium |
US20210211853A1 (en) * | 2020-01-08 | 2021-07-08 | Kunshan Telink Semiconductor Co., Ltd. | Bluetooth headset device and communication method for the same |
WO2022033176A1 (en) * | 2020-08-14 | 2022-02-17 | Oppo广东移动通信有限公司 | Audio play control method and apparatus, and electronic device and storage medium |
CN114173309A (en) * | 2020-09-10 | 2022-03-11 | 华为技术有限公司 | Audio control system |
CN112261535A (en) * | 2020-10-16 | 2021-01-22 | 深圳传音控股股份有限公司 | Major-minor switching method and device for wireless earphone and readable storage medium |
US11240586B1 (en) * | 2020-11-05 | 2022-02-01 | Shenzhen Goodix Technology Co Ltd. | Method, apparatus and device for synchronously playing audio |
CN113573202A (en) * | 2021-09-23 | 2021-10-29 | 深圳市外星人创新电子有限公司 | Data transmission control method and system of Bluetooth headset |
CN115002734A (en) * | 2022-04-29 | 2022-09-02 | 恒玄科技(上海)股份有限公司 | Audio sharing method, device and system and readable storage medium |
CN115002934A (en) * | 2022-07-18 | 2022-09-02 | 荣耀终端有限公司 | Audio service processing system, electronic equipment and Bluetooth headset |
Non-Patent Citations (2)
Title |
---|
KISHOR PATIL: "Spectrum measurement and analysis of TV band support of Cognitive Radio operation in India", 《WIRELESS VITAE 2013》 * |
邢白灵: "TWS耳机的发展趋势", 《科学技术创新》 * |
Also Published As
Publication number | Publication date |
---|---|
CN115175065B (en) | 2023-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102495173B1 (en) | Downlink channel reception method, transmission method, terminal and base station | |
EP3849223B1 (en) | Bluetooth headset device and communication method for the same | |
CN108718467B (en) | Voice data transmission method, wireless headset and TWS headset | |
EP3668253B1 (en) | Data transmission methods and devices | |
US11711688B2 (en) | Overheating protection method for user equipment, device, user equipment, and base station | |
US20100048133A1 (en) | Audio data flow input/output method and system | |
JP2022529033A (en) | Bluetooth connection method, device, and system | |
WO2020132839A1 (en) | Audio data transmission method and device applied to monaural and binaural modes switching of tws earphone | |
JP2022501920A (en) | Sidelink link failure detection method and terminal | |
CN115002934B (en) | Audio service processing system, electronic equipment and Bluetooth headset | |
US12101614B2 (en) | Bluetooth communication system capable of avoiding voice interruption, and related Bluetooth device set | |
CN114245362B (en) | Device reconnection method and Bluetooth peripheral | |
WO2024156219A1 (en) | Bluetooth connection method, device, and system | |
CN110830973B (en) | Method for transmitting audio information by using wireless earphone | |
CN115175065B (en) | Broadcasting method, TWS headset and storage medium | |
CN110149620A (en) | A kind of control method of intelligent earphone, device, intelligent earphone and storage medium | |
CN114866998B (en) | Bluetooth connection method and Bluetooth device | |
CN116208882B (en) | Earphone upgrading method and wireless earphone | |
CN115119098B (en) | Audio playing control method, TWS earphone and storage medium | |
WO2024148604A1 (en) | Bandwidth part (bwp) switching method and device, and storage medium | |
CN115426341A (en) | Wireless audio/video device and wireless communication method | |
CN110381418B (en) | Loudspeaking device, relay device and mobile terminal | |
CN115967927A (en) | Bluetooth connection method and device, earphone and storage medium | |
WO2024087219A1 (en) | Audio data transmission method and apparatus, and chip, device and storage medium | |
CN118175473A (en) | Earphone fitting degree detection method and earphone |
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 |