Audio playing control method and device, equipment and storage medium

By pairing the wearable device with the terminal device once, and then using Bluetooth Low Energy (BLE) and Bluetooth BT (Broadband) to pair, the connection process between the headphones and the terminal device is simplified, solving the problem of frequent pairing and switching between smartwatch headphones and improving the audio playback experience for elderly users.

CN121785082APending Publication Date: 2026-04-03GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Existing smart wearable devices, such as smartwatches, require complex pairing and switching operations with mobile phones and other terminal devices, which are difficult for the elderly to familiarize themselves with, resulting in confusing audio playback methods.

Method used

By synchronizing audio data to the headphones using the target wireless connection after the wearable device and the terminal device are paired once, the connection process between the headphones and the terminal device is simplified. It adopts Bluetooth Low Energy (BLE) and classic Bluetooth BT pairing and transmits audio data through a dedicated communication protocol.

Benefits of technology

It enables headphones to play audio data from terminal devices without additional pairing operations, improving user experience, simplifying operation process, and providing a high-quality audio playback experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121785082A_ABST
    Figure CN121785082A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an audio playing control method and device, equipment and a storage medium. In the technical scheme of the application, the wearable device firstly obtains the target audio data, the target audio data comprises the audio data from the terminal device and / or the audio data in the wearable device, and then synchronizes the target audio data to a part or all of the at least one earphone through the target wireless connection. And playing the target audio data through part or all of the at least one earphone, wherein the target wireless connection is connection between the wearable device and part or all of the at least one earphone. According to the audio playing control method, a wearable device synchronizes target audio data to at least one earphone through a target wireless connection, so that the earphone plays the target audio data; the wearable device and the terminal device only need to be paired once, other complex earphone pairing and device switching operations are not needed, and the user experience is good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wearable device technology, and to, but is not limited to, an audio playback control method, apparatus, device, and storage medium. Background Technology

[0002] Smartwatches, as portable smart wearable devices, have been widely used in various fields such as health monitoring, social interaction, and communication. To meet the special needs of the elderly, smartwatches can also integrate headphone functionality and provide hearing aids.

[0003] However, existing smart wearable devices on the market, such as smartwatches that integrate headphone functionality, allow headphones to be paired with both the smartwatch and a mobile phone. The frequent pairing and switching between devices is quite complicated, and older people are not familiar with the connection and operation logic between headphones, smartwatches, and mobile phones, resulting in a rather confusing audio playback method. Summary of the Invention

[0004] In view of this, the audio playback control method, apparatus, device, and storage medium provided in this application only require pairing the wearable device with the terminal device once, without any other complex headphone pairing and device switching operations, to achieve the function of playing audio data from the terminal device through the headphones, resulting in a good user experience. The audio playback control method, apparatus, device, and storage medium provided in this application are implemented as follows:

[0005] The audio playback control method provided in this application is applied to a wearable device, which includes an earphone case for storing at least one earphone. The method includes: acquiring target audio data, the target audio data including audio data from a terminal device and / or audio data in the wearable device, wherein the terminal device and the wearable device are communicatively connected; synchronizing the target audio data to some or all of the at least one earphone via a target wireless connection; and playing the target audio data through some or all of the at least one earphone, wherein the target wireless connection is a connection between the wearable device and some or all of the at least one earphone.

[0006] In some embodiments, the target audio data is audio data from the terminal device. Before acquiring the target audio data, the method further includes: completing Bluetooth Low Energy (BLE) pairing and Bluetooth Classic (BT) pairing with the terminal device; establishing a BT connection with the terminal device when the target earphone is detected to be in an unfolded state, wherein the at least one earphone includes the target earphone, and each earphone includes a folded state and an unfolded state, wherein the folded state is the state in which the earphone is folded into the earphone case; acquiring the target audio data includes: receiving audio data from the terminal device through the BT connection.

[0007] In some embodiments, before synchronizing the target audio data to some or all of the at least one earphone via the target wireless connection, the method further includes: completing true wireless TWS pairing with the target earphone and establishing a target Bluetooth connection, the target Bluetooth connection including a BLE connection or a BT connection, wherein the target earphone is a slave earphone.

[0008] In some embodiments, after completing Bluetooth Low Energy (BLE) pairing and Bluetooth Classic (BT) pairing with the terminal device, the method further includes: establishing a BLE connection with the terminal device when each of the at least one earphone is in the retracted state.

[0009] In some embodiments, the earphone case includes a sensor that detects whether the target earphone is in the stored state or not by sensing the voltage of the sensor.

[0010] In some embodiments, the target audio data is audio data in the wearable device, and synchronizing the target audio data to some or all of the at least one earphone via a target wireless connection includes: establishing a target communication connection with the target earphone, wherein the target communication connection uses a different communication protocol than the target Bluetooth connection; and synchronizing the target audio data to the target earphone via the target communication connection.

[0011] In some embodiments, before acquiring the target audio data, the method further includes: receiving a first playback request to play the audio data from the terminal device and a second playback request to play the audio data from the wearable device within a preset time period; acquiring the target audio data includes: acquiring a first moment corresponding to the first playback request and a second moment corresponding to the second playback request; acquiring the audio data corresponding to the later moment between the first moment and the second moment as the target audio data.

[0012] In some embodiments, acquiring the target audio data includes: determining whether it is in Bluetooth audio mode, wherein the wearable device includes the Bluetooth audio mode and the auxiliary hearing mode; when the wearable device is in the auxiliary hearing mode, the wearable device prohibits the acquisition of the target audio data; and when it is in Bluetooth audio mode, the target audio data is acquired.

[0013] In some embodiments, after determining whether it is in Bluetooth audio mode, the method further includes: detecting a mode switching operation when it is in the hearing aid mode; and controlling the wearable device to be in the Bluetooth audio mode in response to the mode switching operation.

[0014] In some embodiments, the mode switching operation includes exiting the hearing aid mode.

[0015] In some embodiments, prior to the detection mode switching operation, the method further includes: detecting an audio playback operation; in response to the audio playback operation, displaying a confirmation interface, the confirmation interface being used to confirm whether to switch to the Bluetooth audio mode; the detection mode switching operation includes: detecting a confirmation operation on the confirmation interface.

[0016] The audio playback control device provided in this application embodiment is applied to a wearable device. The wearable device includes an earphone case for storing at least one earphone. The device includes: an acquisition module for acquiring target audio data, the target audio data including audio data from a terminal device and / or audio data in the wearable device, wherein the terminal device and the wearable device are communicatively connected; and a processing module for synchronizing the target audio data to some or all of the at least one earphone via a target wireless connection, and playing the target audio data through some or all of the at least one earphone, wherein the target wireless connection is a connection between the wearable device and some or all of the at least one earphone.

[0017] The computer device provided in this application includes a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements the audio playback control method described in this application.

[0018] The computer-readable storage medium provided in this application embodiment stores a computer program thereon, which, when executed by a processor, implements the audio playback control method provided in this application embodiment.

[0019] The computer program product provided in this application includes a computer program that, when executed by a processor, implements the audio playback control method provided in this application.

[0020] In the audio playback control method, apparatus, device, and storage medium provided in this application, the wearable device first acquires target audio data, which includes audio data from a terminal device and / or audio data in the wearable device, and the terminal device and the wearable device are connected in communication. Then, the target audio data is synchronized to some or all of the headphones in at least one headset via a target wireless connection, and the target audio data is played through some or all of the headphones in at least one headset. The target wireless connection is the connection between the wearable device and some or all of the headphones in at least one headset. In the audio playback control method of this application, the wearable device synchronizes the target audio data to at least one headset via a target wireless connection, so that the headphones play the target audio data. Only one pairing between the wearable device and the terminal device is required, without other complex headphone pairing and switching operations, to achieve the function of playing audio data from the terminal device through the headphones, thus solving the technical problems mentioned in the background art. Attached Figure Description

[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.

[0022] Figure 1 This is a structural schematic diagram of a watch product form provided in one embodiment of this application;

[0023] Figure 2 This is a structural schematic diagram of a watch product form provided in another embodiment of this application;

[0024] Figure 3 A schematic diagram illustrating the implementation flow of an audio playback control method provided in one embodiment of this application;

[0025] Figure 4 A schematic diagram illustrating the implementation flow of an audio playback control method provided in another embodiment of this application;

[0026] Figure 5 This is a schematic diagram illustrating the connection relationship between a mobile phone and a watch, provided in one embodiment of this application.

[0027] Figure 6 A schematic diagram illustrating the connection relationship between a traditional watch, TWS earphones, and a mobile phone in the prior art, provided as an embodiment of this application;

[0028] Figure 7 This is a schematic diagram of the Bluetooth interface display of a mobile phone when it is connected to a hearing aid watch, according to one embodiment of this application.

[0029] Figure 8A schematic diagram illustrating the implementation flow of an audio playback control method provided in yet another embodiment of this application;

[0030] Figure 9 A schematic diagram showing a confirmation interface on the screen of a wearable device provided in one embodiment of this application;

[0031] Figure 10 A structural schematic diagram of an audio playback control device provided in one embodiment of this application;

[0032] Figure 11 This is a structural schematic diagram of a computer device provided in one embodiment of this application. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the specific technical solutions of this application will be further described in detail below with reference to the accompanying drawings of the embodiments of this application. The following embodiments are used to illustrate this application, but are not intended to limit the scope of this application.

[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0035] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0036] It should be noted that the terms "first, second, third" used in the embodiments of this application are used to distinguish similar or different objects and do not represent a specific order of objects. It can be understood that "first, second, third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0037] Against the backdrop of a growing global aging population, the rapid increase in the elderly population has led to a growing societal focus on the health and quality of life of the elderly. Modern technological advancements have provided new solutions to various challenges faced by the elderly in their daily lives. Among these solutions, smartwatches, as portable smart wearable devices, have been widely used in health monitoring, social interaction, and communication. Currently, most smartwatches on the market integrate basic functions such as pedometers and heart rate monitors. To meet the specific needs of the elderly, smartwatches can also integrate headphone functionality and provide hearing aids.

[0038] However, existing smart wearable devices on the market, such as smartwatches that integrate headphone functionality, allow headphones to be paired with both the smartwatch and a mobile phone. The frequent pairing and switching between devices is quite complicated, and older people are not familiar with the connection and operation logic between headphones, smartwatches, and mobile phones, resulting in a rather confusing audio playback method.

[0039] In view of this, embodiments of this application provide an audio playback control method applied to a wearable device. The wearable device includes an earphone case for storing at least one earphone. The method specifically includes: acquiring target audio data, which includes audio data from a terminal device and / or audio data from the wearable device, wherein the terminal device and the wearable device are connected in communication; then synchronizing the target audio data to some or all of the at least one earphone via a target wireless connection, and playing the target audio data through some or all of the at least one earphone. The target wireless connection is the connection between the wearable device and some or all of the at least one earphone. In the audio playback control method of this application, the wearable device synchronizes the target audio data to at least one earphone via a target wireless connection, enabling the earphones to play the target audio data. Only one pairing between the wearable device and the terminal device is required, eliminating the need for other complex earphone pairing and device switching operations, thus enabling the earphones to play audio data from the terminal device, resulting in a good user experience.

[0040] It should be understood that the wearable devices involved in the embodiments of this application can be smart terminal devices such as watches with built-in earphones or hearing aids with built-in earphones, and the embodiments of this application are not limited to this. This application uses a watch with built-in earphones as an example for illustration.

[0041] For example, Figure 1 This is a structural diagram of a watch product form provided in one embodiment of this application. Figure 1 As shown, the watch includes an earphone case 101, a left earphone 102, a right earphone 103, a screen 104, and a watch strap 105. The left earphone 102 and right earphone 103 are in a stored state. The earphone case 101 is used to store the left earphone 102 and right earphone 103. The earphone case 101 is located on the top and bottom of the watch, and the earphones are placed and removed using a magnetic structure. The watch can be based on an Android system with built-in software content. The screen 104 is used to display the software content and detect user operations. The watch strap 105 is for convenient wearing. The left earphone 102 and right earphone 103 are open-back earphones, distinguishing between left and right ears. However, considering the habits of elderly users, their placement is not differentiated; both earphones can be placed in the earphone case from any top or bottom position. The earphones support a wear detection function.

[0042] For example, when the left earphone 102 and the right earphone 103 are not in a stored state, the product form structure diagram of the watch is as follows: Figure 2 As shown, the left earphone 102 and the right earphone 103 are in the unplugged state.

[0043] To make the objectives and technical solutions of this application clearer and more intuitive, the audio playback control method, apparatus, device, and storage medium provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0044] Please refer to Figure 3 This is a schematic diagram illustrating the implementation flow of an audio playback control method provided in one embodiment of this application. This method can be applied to, for example... Figure 1 and Figure 2 The watch shown can also be applied to other forms of wearable devices, and this application does not limit its application to this. Figure 3 As shown, the method may include the following steps 301 and 302:

[0045] Step 301: Obtain target audio data, which includes audio data from the terminal device and / or audio data from the wearable device, and a communication connection between the terminal device and the wearable device.

[0046] It should be noted that the wearable device includes an earphone case, which is used to store at least one earphone.

[0047] In some embodiments, a wireless communication connection can be established between the terminal device and the wearable device, such as a Bluetooth connection, a Wireless Fidelity (WiFi) connection, etc., which is not limited in this application.

[0048] In some embodiments, the wearable device can determine the target audio data to be acquired based on user operations or settings, such as audio data sent by a terminal device (e.g., online music, video audio streams), and / or audio data to be played by the wearable device itself (e.g., local music files). If the wearable device itself wants to play audio data, it can directly access the wearable device's storage module.

[0049] Step 302: Synchronize target audio data to some or all of the headphones in at least one headset via a target wireless connection, and play the target audio data through some or all of the headphones in at least one headset. The target wireless connection is the connection between the wearable device and some or all of the headphones in at least one headset.

[0050] Optionally, the connection between the wearable device and some or all of the earpieces in at least one earpiece can be a classic Bluetooth (BT) connection or a Bluetooth Low Energy (BLE) connection, which is not limited in this application.

[0051] In some embodiments, after ensuring a normal target wireless connection between the wearable device and some or all of the headphones in at least one headset, the target audio data is prepared for synchronization.

[0052] For example, the target audio data can be divided into appropriate data packets to ensure smooth transmission; these data packets can be adjusted in size according to the performance of the headphones. Further, the wearable device, via a target wireless connection, progressively sends the segmented audio data packets to some or all of the headphones in at least one headset, ensuring appropriate error detection and retransmission mechanisms during transmission to improve data transmission reliability. Accordingly, some or all of the headphones in at least one headset receive the audio data packets, buffer and assemble the data, and begin decoding and playing the target audio data once enough data packets have been received. Optionally, the wearable device can also monitor the headset's connection status during playback to ensure smooth audio playback and promptly address connection loss or interruption.

[0053] In this embodiment, the wearable device synchronizes target audio data to at least one earphone via a target wireless connection, enabling the earphone to play the target audio data. The wearable device only needs to be paired with the terminal device once, without any other complicated earphone pairing and device switching operations, to achieve the function of playing audio data from the terminal device through the earphone, resulting in a good user experience.

[0054] Based on the above embodiments, please refer to Figure 4 , Figure 4 This is a schematic diagram illustrating the implementation flow of an audio playback control method provided in another embodiment of this application. Figure 4 The embodiments described herein are illustrated using the example of target audio data being audio data from a terminal device. Figure 4 As shown, the method may include the following steps 401 to 405:

[0055] Step 401: Complete Bluetooth Low Energy (BLE) pairing and Bluetooth Classic (BT) pairing with the terminal device.

[0056] In some embodiments, first ensure that Bluetooth is enabled on both the wearable device and the terminal device and that they are in pairing mode. Then, the wearable device initiates a BLE scan to discover pairable terminal devices, selects the device to be paired, initiates a BLE connection request, waits for a response from the terminal device, and completes BLE pairing upon receiving the response. Alternatively, the wearable device and the terminal device complete the security verification required for pairing (such as a PIN code or pairing code) to complete classic Bluetooth BT pairing.

[0057] Step 402: When the target earphone is detected to be in an unfolded state, a BT connection is established with the terminal device. At least one earphone includes the target earphone, and each earphone includes a folded state and an unfolded state. The folded state is the state in which the earphone is folded into the earphone case.

[0058] In some embodiments, the earphone case includes a sensor that can detect whether the target earphone is in a retracted or unretracted state by sensing the voltage of the sensor. Alternatively, a built-in sensor, such as a contact sensor or accelerometer, can be used to detect whether the earphone is in an unretracted state; the sensor emits a signal when the earphone is removed or when there is movement.

[0059] Furthermore, upon detecting that the earphones are not in a stored state, the Bluetooth module is activated. The Bluetooth module begins scanning for connectable devices and searches for paired terminal devices for Bluetooth connection. Once the connection is successful, the earphones can provide feedback on the connection status through voice prompts or a light-emitting diode (LED) indicator. If the connection fails, the user can be prompted to retry or check the device settings. Additionally, when the earphones are not in use, they enter a low-power mode after a period of time to extend battery life. These steps ensure that the earphones can quickly and reliably establish a connection with the terminal device when the user removes them, thereby improving the user experience.

[0060] Furthermore, after the wearable device completes Bluetooth Low Energy (BLE) pairing and Bluetooth Classic (BT) pairing with the terminal device, and with each earbud in at least one earbud in a retracted state, a BLE connection is established with the terminal device. The BLE connection can be used to transmit information such as the wearable device's battery level, pairing status, notifications, and heartbeat.

[0061] For example, assuming the terminal device is a mobile phone and the wearable device is a watch including left and right earbuds, the watch and the left and right earbuds constitute True Wireless Stereo (TWS). The connection relationship between the mobile phone and the watch in this embodiment is as follows: Figure 5 As shown, the phone and TWS (True Wireless Stereo) connect via BT (BitTorrent) and BLE (Browser-to-Earth) connections. TWS includes a watch and left and right earbuds. The connection relationships between traditional watches, TWS earbuds, and phones in existing technologies are as follows: Figure 6 As shown, a pair of TWS earbuds connects to the watch via BT and BLE connections, a pair of TWS earbuds connects to the phone via BT connections, and the watch and phone connect via BLE connections. It is evident that in existing technologies, the earbuds connect separately to the phone and watch, requiring users to switch between devices for playback as needed, which is relatively complex and not user-friendly for elderly users unfamiliar with device operation. In contrast, this application only requires the watch and phone to connect, enabling the earbuds in the watch to play audio from the phone, making operation simple.

[0062] In one possible implementation, taking a hearing aid watch as the wearable device and the earphones within the watch as the hearing aid watch earphones, when a user pairs their phone with the watch, both BLE and BT pairing occurs simultaneously. After pairing, the earphones are activated, and the phone displays two different Bluetooth names: "Hearing Aid Watch" and "Hearing Aid Watch Earphones." Subsequently, when the user removes the earphones while using the watch, the watch's BT connection is activated, and the phone displays both the Bluetooth names of the hearing aid watch and the hearing aid watch earphones. Figure 7 (a) shows the connection status of the earphones when they are removed from the case, as displayed on the phone. The Bluetooth connection shows both the smartwatch and the earphones, with both showing 60% battery. The earphones are also in use. If the earphones are in the case, only BLE connection is enabled, while Bluetooth is disabled, and the phone only displays the smartwatch's Bluetooth name. Figure 7 (b) shows the connection status of the earphones when they are inserted into the case, displayed on the phone side. The Bluetooth connection only shows the auxiliary listening watch, and the auxiliary listening watch's battery level is 60%. Here, "earphones out of the case" means the earphones are taken out of the charging case, and "earphones in the case" means the earphones are put back into the charging case.

[0063] Step 403: Receive audio data from the terminal device via BT connection.

[0064] In some embodiments, after the wearable device establishes a BT connection with the terminal device, it begins to listen to and receive audio data from the terminal device, which may be online music, video, etc.

[0065] Step 404: Complete the true wireless TWS pairing with the target earphone and establish a target Bluetooth connection. The target Bluetooth connection includes a BLE connection or a BT connection, where the target earphone is the slave earphone.

[0066] In some embodiments, the wearable device activates the Bluetooth function and puts the target earphone (from the earphone) into pairing mode. Then, it scans for nearby Bluetooth devices, finds the signal of the target earphone, selects the target earphone on the wearable device, and completes the true wireless TWS pairing with the target earphone. After successful pairing, users can choose BLE or classic BT connection as needed to establish a stable Bluetooth connection. The connection status can also be confirmed through audio prompts or a display screen to ensure that the user knows that the earphone has been successfully connected.

[0067] In other words, the wearable device and the target earphones are packaged together to form a TWS (True Wireless Stereo) system. The wearable device is the TWS master, and the target earphones are the slaves, with the TWS connecting to the mobile phone. In this scenario, the user can directly treat the wearable device as an audio device. When playing music or making a call, the user can use the wearable device to play music. Of course, the wearable device itself does not actually have playback functionality. Therefore, after receiving the signal from the source, the wearable device synchronizes it to the target earphones via BLE (Browser-to-Earth) or BT (BitTorrent) through the TWS pairing mechanism. Specifically, for BLE, the LE Audio technology is used.

[0068] Step 405: Synchronize the target audio data to the target headphones via the target wireless connection, and play the target audio data through the target headphones.

[0069] It should be understood that the target wireless connection includes the aforementioned target Bluetooth connection, i.e., BLE connection or BT connection, and this application does not limit it.

[0070] In some embodiments, the wearable device synchronizes target audio data to the target earphone via a target Bluetooth connection. Encoding and compression techniques can also be used to optimize audio transmission and reduce latency. Correspondingly, at the target earphone, the earphone receives and decodes the target audio data, converting it into sound waves for playback while ensuring the internal speakers function properly. During playback, the target earphone can monitor the connection status and audio stream stability in real time, reconnecting or adjusting audio quality as needed to achieve wireless synchronization and playback of the target audio data.

[0071] In this embodiment, the target audio data comes from the terminal device. The wearable device first completes Bluetooth Low Energy (BLE) pairing and Bluetooth Classic (BT) pairing with the terminal device. Then, when the target earphone is detected to be out of storage, a BT connection is established with the terminal device to receive audio data from the terminal device. Further, the wearable device completes true wireless (TWS) pairing with the target earphone and establishes a target Bluetooth connection. Finally, the target audio data is synchronized to the target earphone via the target wireless connection, and the target earphone plays the target audio data. Using BLE pairing effectively reduces power consumption between devices and extends the battery life of the wearable device. The BT connection ensures fast audio data transmission between the wearable device and the terminal device, improving user experience and reducing latency. Establishing a BT connection when the earphone is detected to be out of storage simplifies the user's operation process and improves ease of use. Meanwhile, by pairing with the target earphones via TWS, high-fidelity audio transmission can be achieved, providing a better sound quality experience. The target audio data can be synchronized to the target earphones in real time, ensuring a smooth experience for users when listening to music or making calls. Without the need for other complicated earphone pairing and device switching operations, the earphones can play audio data from the terminal device, thus improving the user experience.

[0072] Based on the above embodiments, Figure 8 This is a schematic diagram illustrating the implementation flow of an audio playback control method provided in another embodiment of this application. Figure 8 The embodiments described herein use audio data from a wearable device as an example for illustration. Figure 8 As shown, the method may include the following steps 801 to 803:

[0073] Step 801: Obtain target audio data, which includes audio data from the wearable device.

[0074] In some embodiments, the audio data in the wearable device includes stored music files, call audio, or real-time audio streams, etc., and the wearable device can read files, receive real-time audio streams, etc. Preparing the target audio data ensures that the wearable device can effectively acquire and prepare the target audio data.

[0075] Step 802: Establish a target communication connection with the target earphone. The target communication connection uses a different communication protocol than the target Bluetooth connection.

[0076] In some embodiments, when the wearable device plays its own audio data, it establishes a target communication connection with the target headphones. This target communication connection is based on a proprietary protocol, which differs from the communication protocol used by the target Bluetooth connection. The connection is established using the selected proprietary protocol. Once the connection is successful, data can be transmitted through this target communication connection to achieve the required functions, such as audio streaming and sensor data sharing. Simultaneously, during the connection establishment process, signal strength and connection stability can be monitored, and the connection can be maintained and managed as needed. Despite using a different protocol than conventional Bluetooth connections, it is essential to ensure that the wearable device can communicate effectively with the headphones.

[0077] Step 803: Synchronize the target audio data to the target headphones via the target communication connection, and play the target audio data through the target headphones.

[0078] In some embodiments, the wearable device encodes and packages the target audio data (such as music files or live streams) to ensure the data is suitable for transmission via a proprietary protocol. Then, using the established target communication connection, it sends the packaged audio data to the target headphones, either chunk by chunk or sequentially, ensuring data integrity and sequence. Correspondingly, after receiving the target audio data, the target headphones can send an acknowledgment signal to the wearable device to confirm data reception. The received target audio data is then buffered and playback begins at an appropriate time, ensuring smooth audio playback. Simultaneously, during playback, the quality of the audio stream is continuously monitored, including latency and interruptions, and the data transmission rate is adjusted as needed to ensure effective synchronization of the target audio data from the wearable device to the target headphones, achieving a high-quality audio playback experience.

[0079] In this embodiment, the wearable device first acquires target audio data, which includes audio data stored within the wearable device. Then, it establishes a target communication connection with the target earphone. This target communication connection uses a different communication protocol than the target Bluetooth connection. Through this connection, the target audio data is synchronized to the target earphone, which then plays the target audio data. The dedicated target communication connection reduces latency and interference. Using a different communication protocol than the target Bluetooth connection supports more types of audio data, providing a more flexible audio experience. Efficient data transmission ensures real-time audio synchronization, improving overall audio playback stability and smoothness, and enhancing user satisfaction.

[0080] In one possible implementation, before acquiring the target audio data, the wearable device can receive a first playback request for audio data from a terminal device and a second playback request for audio data from the wearable device within a preset time period. Further, it acquires a first timeframe corresponding to the first playback request and a second timeframe corresponding to the second playback request, and then acquires the audio data corresponding to the later of the first and second timesframes as the target audio data. That is, if the user simultaneously plays audio data from both the terminal device and the wearable device, the last playback is assumed to take effect, while the use of the other channel is paused.

[0081] In one possible implementation, the wearable device includes a Bluetooth audio mode and a hearing aid mode. In Bluetooth audio mode, the wearable device connects to a terminal device via Bluetooth and plays audio data from the terminal device through headphones. When the hearing aid mode is activated, the audio signal is blocked, and the sound pickup of the headphone microphone is amplified to achieve the purpose of assisting hearing. To improve the effectiveness of the hearing aid, the product will also test the user's hearing loss in both ears upon first use.

[0082] Furthermore, when using a wearable device, the user can first confirm the usage mode, such as whether it is in Bluetooth audio mode. Since the wearable device is prohibited from acquiring target audio data when it is in auxiliary hearing mode, it can acquire target audio data when it is in Bluetooth audio mode.

[0083] Optionally, when the wearable device is in auxiliary hearing mode, a mode switching operation is detected. This operation includes exiting auxiliary hearing mode. In response to the mode switching operation, the wearable device is controlled to switch to Bluetooth audio mode. Prior to detecting the mode switching operation, the wearable device can also detect an audio playback operation and, in response, display a confirmation screen to confirm whether to switch to Bluetooth audio mode; subsequently, a confirmation operation on the confirmation screen is detected.

[0084] In other words, when a user activates the auxiliary hearing mode, the wearable device's function as a TWS audio device host is disabled. This means that the earphones from the wearable device cannot play audio on the terminal device at this time, and the earphones will activate the auxiliary hearing function. The auxiliary hearing mode is restored when the user actively exits it on the wearable device, or when the user plays audio data on the wearable device, a confirmation screen is displayed asking the user whether to switch to Bluetooth audio mode. For example, assuming the wearable device is a watch with a round screen... Figure 9 This is a schematic diagram illustrating the confirmation interface displayed on the screen of a wearable device according to one embodiment of this application, as shown below. Figure 9As shown, the screen displays "Switch to Bluetooth audio mode?" along with "Yes" and "No" options for user confirmation.

[0085] In summary, in the audio playback control method of this application embodiment, the wearable device synchronizes target audio data to at least one earphone through a target wireless connection, so that the earphone plays the target audio data; the wearable device only needs to be paired with the terminal device once, without other complicated earphone pairing and device switching operations, so that the function of the earphone playing the audio data of the terminal device can be realized, while not affecting the function of the earphone playing the audio of the wearable device, resulting in a good user experience.

[0086] It should be understood that although the steps in the above flowcharts are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the above flowcharts may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0087] Based on the foregoing embodiments, this application provides an audio playback control device, which includes various modules and units included in each module, and can be implemented by a processor; of course, it can also be implemented by specific logic circuits; in the implementation process, the processor can be a central processing unit, a microprocessor, a digital signal processor or a field-programmable gate array, etc.

[0088] Figure 10 This is a structural schematic diagram of an audio playback control device provided in one embodiment of this application, as shown below. Figure 10 As shown, the device 1000 includes an acquisition module 1001 and a processing module 1002, wherein:

[0089] The acquisition module 1001 is used to acquire target audio data, which includes audio data from a terminal device and / or audio data from the wearable device, wherein the terminal device and the wearable device are connected in communication; the processing module 1002 is used to synchronize the target audio data to some or all of the at least one earphone through a target wireless connection, and to play the target audio data through some or all of the at least one earphone, wherein the target wireless connection is a connection between the wearable device and some or all of the at least one earphone.

[0090] In some embodiments, the target audio data is audio data from the terminal device, and the device further includes: a pairing module. The pairing module is used to complete Bluetooth Low Energy (BLE) pairing and Bluetooth Classic (BT) pairing with the terminal device; the processing module 1002 is further used to establish a BT connection with the terminal device when the target earphone is detected to be in an unfolded state, wherein the at least one earphone includes the target earphone, and each earphone includes a folded state and an unfolded state, wherein the folded state is the state in which the earphone is folded into the earphone case; the acquisition module 1001 is specifically used to: receive audio data from the terminal device through the BT connection.

[0091] In some embodiments, the device further includes: an establishment module; a pairing module, further configured to complete true wireless (TWS) pairing with the target earphone; and an establishment module, configured to establish a target Bluetooth connection, the target Bluetooth connection including a BLE connection or a BT connection, wherein the target earphone is a slave earphone.

[0092] In some embodiments, the establishment module is further configured to establish a BLE connection with the terminal device when each of the at least one earphone is in the retracted state.

[0093] In some embodiments, the earphone case includes a sensor that detects whether the target earphone is in the stored state or not by sensing the voltage of the sensor.

[0094] In some embodiments, the target audio data is audio data in the wearable device, and the processing module 1002 is specifically used to: establish a target communication connection with the target earphone, wherein the target communication connection uses a different communication protocol than the target Bluetooth connection; and synchronize the target audio data to the target earphone through the target communication connection.

[0095] In some embodiments, the apparatus further includes a receiving module. The receiving module is configured to receive a first playback request for playing audio data from a terminal device and a second playback request for playing audio data from a wearable device within a preset time period; the obtaining module 1001 is specifically configured to: obtain a first time corresponding to the first playback request and a second time corresponding to the second playback request; and obtain the audio data corresponding to the later of the first and second times as the target audio data.

[0096] In some embodiments, the acquisition module 1001 is specifically used to: determine whether it is in Bluetooth audio mode, wherein the wearable device includes Bluetooth audio mode and auxiliary hearing mode; when the wearable device is in auxiliary hearing mode, the wearable device prohibits the acquisition of the target audio data; and when it is in Bluetooth audio mode, the target audio data is acquired.

[0097] In some embodiments, the device further includes a detection module and a control module. The detection module is configured to detect a mode switching operation when the device is in the hearing assistance mode; the control module is configured to control the wearable device to be in the Bluetooth audio mode in response to the mode switching operation.

[0098] In some embodiments, the mode switching operation includes exiting the hearing aid mode.

[0099] In some embodiments, the device further includes: a display module; a detection module, further configured to detect an audio playback operation; and a display module, configured to display a confirmation interface in response to the audio playback operation, the confirmation interface being used to confirm whether to switch to the Bluetooth audio mode; specifically, the detection module is configured to detect a confirmation operation on the confirmation interface.

[0100] The descriptions of the above device embodiments are similar to those of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0101] It should be noted that, in the embodiments of this application... Figure 10 The module division of the audio playback control device shown is illustrative and represents only one logical functional division; in actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, exist as separate physical units, or be integrated into one unit with two or more units. The integrated units can be implemented in hardware, as software functional units, or a combination of both.

[0102] It should be noted that, in the embodiments of this application, if the above-described methods are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.

[0103] This application provides a computer device, which may be a server, and its internal structure diagram may be as follows: Figure 11 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements the methods described above.

[0104] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the method provided in the above embodiments.

[0105] This application provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the steps in the method provided in the above-described method embodiments.

[0106] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0107] In one embodiment, the audio playback control device provided in this application can be implemented as a computer program, and the computer program can be implemented as follows: Figure 11The device operates on the computer device shown. The memory of the computer device can store the various program modules that make up the above-described apparatus. The computer program, composed of the various program modules, causes the processor to execute the steps of the methods in the various embodiments of this application described in this specification.

[0108] It should be noted that the descriptions of the storage medium and device embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium, storage medium, and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0109] It should be understood that the phrases "one embodiment," "an embodiment," or "some embodiments" mentioned throughout the specification mean that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment," "in one embodiment," or "in some embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The descriptions of the various embodiments above tend to emphasize the differences between the various embodiments; their similarities or commonalities can be referred to mutually, and for the sake of brevity, they will not be repeated here.

[0110] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three kinds of relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist simultaneously, and object B exists alone.

[0111] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0112] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple modules or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or modules can be electrical, mechanical, or other forms.

[0113] The modules described above as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules. They may be located in one place or distributed across multiple network units. Some or all of the modules may be selected to achieve the purpose of this embodiment according to actual needs.

[0114] In addition, each functional module in the various embodiments of this application can be integrated into one processing unit, or each module can be a separate unit, or two or more modules can be integrated into one unit; the integrated modules can be implemented in hardware or in the form of hardware plus software functional units.

[0115] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0116] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0117] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0118] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0119] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.

[0120] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for controlling audio playback, characterized in that, Applied to a wearable device, the wearable device including an earphone case for storing at least one earphone, the method includes: Acquire target audio data, the target audio data including audio data from a terminal device and / or audio data from the wearable device, wherein the terminal device and the wearable device are connected in communication; The target audio data is synchronized to some or all of the at least one earphones via a target wireless connection, and the target audio data is played through some or all of the at least one earphones. The target wireless connection is the connection between the wearable device and some or all of the at least one earphones.

2. The method according to claim 1, characterized in that, The target audio data is audio data from the terminal device. Before acquiring the target audio data, the method further includes: Complete Bluetooth Low Energy (BLE) pairing and Bluetooth Classic (BT) pairing with the terminal device. When the target earphone is detected to be in an unfolded state, a BT connection is established with the terminal device. The at least one earphone includes the target earphone. Each earphone includes a folded state and an unfolded state. The folded state is the state in which the earphone is folded into the earphone compartment. The acquisition of target audio data includes: Audio data is received from the terminal device via the BT connection.

3. The method according to claim 2, characterized in that, Prior to synchronizing the target audio data to some or all of the at least one earphone via the target wireless connection, the method further includes: Complete the true wireless TWS pairing with the target earphone and establish a target Bluetooth connection, which includes a BLE connection or a BT connection, wherein the target earphone is a slave earphone.

4. The method according to claim 2, characterized in that, After completing Bluetooth Low Energy (BLE) pairing and Bluetooth Classic (BT) pairing with the terminal device, the method further includes: When each of the at least one earphone is in the retracted state, a BLE connection is established with the terminal device.

5. The method according to any one of claims 2-4, characterized in that, The earphone case includes a sensor that detects whether the target earphone is in the stored or unstored state by sensing the voltage of the sensor.

6. The method according to claim 3, characterized in that, The target audio data is the audio data in the wearable device, and the step of synchronizing the target audio data to some or all of the at least one earphone via the target wireless connection includes: Establish a target communication connection with the target earphone, wherein the target communication connection uses a different communication protocol than the target Bluetooth connection; The target audio data is synchronized to the target headphones via the target communication connection.

7. The method according to claim 1, characterized in that, Prior to acquiring the target audio data, the method further includes: Within a preset time period, receive a first playback request to play audio data from the terminal device and a second playback request to play audio data from the wearable device; The acquisition of target audio data includes: Obtain the first moment corresponding to the first playback request and the second moment corresponding to the second playback request; The target audio data is obtained by acquiring the audio data corresponding to the later of the first and second moments.

8. The method according to claim 1, characterized in that, The acquisition of target audio data includes: Determine whether it is in Bluetooth audio mode. The wearable device includes Bluetooth audio mode and auxiliary hearing mode. When the wearable device is in auxiliary hearing mode, the wearable device prohibits the acquisition of the target audio data. In Bluetooth audio mode, acquire the target audio data.

9. The method according to claim 8, characterized in that, After determining whether it is in Bluetooth audio mode, the method further includes: When in the hearing assistance mode, detect mode switching operation; In response to the mode switching operation, the wearable device is controlled to enter the Bluetooth audio mode.

10. The method according to claim 9, characterized in that, The mode switching operation includes exiting the hearing aid mode.

11. The method according to claim 9, characterized in that, Prior to the detection mode switching operation, the method further includes: Detect audio playback operations; In response to the audio playback operation, a confirmation interface is displayed, which is used to confirm whether to switch to the Bluetooth audio mode. The detection mode switching operation includes: The confirmation operation on the confirmation interface is detected.

12. A control device for audio playback, characterized in that, Applied to wearable devices, the wearable device including an earphone case for storing at least one earphone, the device comprising: An acquisition module is used to acquire target audio data, the target audio data including audio data from a terminal device and / or audio data in the wearable device, wherein the terminal device and the wearable device are connected in communication. A processing module is configured to synchronize the target audio data to some or all of the at least one earphones via a target wireless connection, and play the target audio data through some or all of the at least one earphones, wherein the target wireless connection is a connection between the wearable device and some or all of the at least one earphones.

13. A computer device comprising a memory and a processor, the memory storing a computer program executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 11.