Audio playing method, earphone charging box, audio playing system and storage medium
By establishing cellular communication or WiFi connection in the headphone charging box and converting audio data using high-quality Bluetooth protocol, the problem of insufficient audio quality of wireless headphones is solved, and the practicality of high-quality audio playback and headphone charging box is improved.
Patent Information
- Application Number
- CN202510499212.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-07-25
AI Technical Summary
The connection between existing wireless headphones and sound source devices is mainly classic Bluetooth or low-power Bluetooth, resulting in relatively average audio data quality and affecting the user's audio playback experience.
Establish cellular communication or WiFi connection between the headphone charging box and the sound source device and the wireless headphones, convert audio data using the high-quality Bluetooth protocol, and send it to the wireless headphones for playback through the high-quality Bluetooth connection.
It improves the quality of audio playback, reduces delay, improves user experience, and enhances the practicality of the headphone charging box.
Smart Images

Figure CN120378787A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of multimedia communication technologies, and particularly relates to an audio playback method, a headphone charging case, an audio playback system, and a computer-readable storage medium. Background Art
[0002] In the related art, when playing audio through wireless headphones, an audio source device sends audio data to be played to the wireless headphones so that the wireless headphones can play audio based on the obtained audio data.
[0003] However, the connection between the audio source device and the wireless headphones is mainly a classic Bluetooth connection or a low-power Bluetooth connection, which results in relatively average quality of the audio data received by the wireless headphones, thus affecting the user experience. Summary of the Invention
[0004] To overcome the problems in the related art, an exemplary embodiment of the present disclosure provides an audio playback method, which is applied to a headphone charging case of wireless headphones. The headphone charging case is respectively connected to an audio source sending end and the wireless headphones, and includes: receiving audio data from the audio source sending end through a cellular communication connection or a WiFi connection, where the audio source sending end includes a server or an audio source device; performing conversion processing on the audio data based on a high-quality Bluetooth protocol to obtain a first audio signal; and sending the first audio signal to the wireless headphones based on a high-quality Bluetooth connection with the wireless headphones, so that the wireless headphones play audio based on the first audio signal.
[0005] In some embodiments, receiving audio data from the audio source sending end through a cellular communication or a WiFi connection includes: receiving audio data from the server based on a cellular communication connection with a cellular communication base station; or receiving audio data sent by the audio source device based on a WiFi connection with the audio source device.
[0006] In some embodiments, receiving audio data from the audio source sending end through a cellular communication or a WiFi connection further includes: detecting the quality of the WiFi connection with the audio source device; if the WiFi connection quality is greater than or equal to a first quality standard, then performing the step of receiving audio data sent by the audio source device based on the WiFi connection with the audio source device; if the WiFi connection quality is less than the first quality standard, then performing the step of receiving audio data from the server based on the cellular communication connection with the cellular communication base station.
[0007] In some embodiments, audio data is received from a sound source sending end through cellular communication or a WiFi connection. It further includes: during the process of receiving audio data from a server in response to a cellular communication connection with a cellular communication base station, if the current remaining battery power is less than a first battery power threshold, then the step of receiving audio data sent by the sound source device based on a WiFi connection with the sound source device is executed.
[0008] In some embodiments, audio data is received from a sound source sending end through cellular communication or a WiFi connection. It further includes: if the current remaining battery power is less than a second battery power threshold, then a first connection control instruction is sent to the wireless earphone, so that the wireless earphone establishes a classic Bluetooth connection or a low power consumption Bluetooth connection with the sound source device in response to the first connection control instruction, the sound source device sends a second audio signal to the wireless earphone, and the wireless earphone plays audio content corresponding to the audio data based on the second audio signal.
[0009] In some embodiments, sending the first connection control instruction to the wireless earphone includes: sending the first connection control instruction to the wireless earphone based on a low power consumption Bluetooth connection with the wireless earphone.
[0010] In some embodiments, the method further includes: detecting the high-quality Bluetooth connection quality with the wireless earphone; if the high-quality Bluetooth connection quality with the wireless earphone is less than a second quality standard, then a second connection control instruction is sent to the sound source device, so that the sound source device establishes a classic Bluetooth connection or a low power consumption Bluetooth connection with the wireless earphone in response to the second connection control instruction, and sends a second audio signal to the wireless earphone, and the wireless earphone performs audio playback based on the second audio signal.
[0011] In a second aspect, the present disclosure also provides a headphone charging case, including: a cellular module for receiving audio data from a server; a WiFi module for receiving audio data sent by a sound source device; a processor for performing conversion processing on the audio data based on a high-quality Bluetooth protocol to obtain a first audio signal; a high-quality Bluetooth module for sending the first audio signal to the wireless earphone based on a high-quality Bluetooth connection with the wireless earphone, so that the wireless earphone performs audio playback based on the first audio signal.
[0012] In a third aspect, the present disclosure also provides an audio playback system, including: a sound source sending end, including a sound source device or a server. The sound source device is used to send audio data or a second audio signal, and the server is used to send audio data; a headphone charging case, establishing a WiFi connection with the sound source device through a WiFi module to receive the audio data sent by the sound source device; establishing a high-quality Bluetooth connection with a wireless headphone corresponding to the headphone charging case through a Bluetooth module to send a first audio signal to the wireless headphone. The first audio signal is obtained by converting and processing the audio data based on a high-quality Bluetooth protocol; or, the headphone charging case establishes a cellular communication connection with a cellular communication base station through a cellular module to receive audio data from the server; a wireless headphone, used to receive the first audio signal and perform audio playback based on the first audio signal; or receive the second audio signal based on a classic Bluetooth connection or a low-power Bluetooth connection and perform audio playback based on the second audio signal.
[0013] In a fourth aspect, the present disclosure also provides a computer-readable storage medium storing the following program, and the program is used to execute the audio playback method provided in any of the above aspects.
[0014] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure.
[0015] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: A high-quality Bluetooth connection can be established between the headphone charging case and the wireless headphone, and then audio data conversion can be performed through the headphone charging case, which can overcome the defect that the sound source device cannot transmit data with the wireless headphone based on the high-quality Bluetooth protocol, enabling the wireless headphone to obtain the first audio signal that supports the high-quality Bluetooth protocol. When performing audio playback, the delay can be reduced, the audio playback quality can be improved, and the user experience can be enhanced. Moreover, performing audio data conversion through the headphone charging case also helps to improve the utilization rate of the headphone charging case and enhance the practicality of the headphone charging case. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] By describing the exemplary embodiments of the present disclosure in conjunction with the drawings, the present disclosure can be better understood. In the drawings:
[0017] Figure 1 is a framework schematic diagram of an audio playback system shown according to an exemplary embodiment of the present disclosure;
[0018] Figure 2 is a flowchart of an audio playback method shown according to an exemplary embodiment of the present disclosure;
[0019] Figure 3 is a framework schematic diagram of a headphone charging case shown according to an exemplary embodiment of the present disclosure;
[0020] Figure 4 It is a schematic framework diagram of another audio playback system shown according to a disclosed exemplary embodiment. Detailed implementation manners
[0021] The following will describe the detailed implementation manners of the present disclosure. It should be noted that in the specific description of these implementation manners, for the sake of concise description, this specification cannot describe all features of the actual implementation manners in detail. It should be understood that in the actual implementation process of any implementation manner, just as in the process of any engineering project or design project, in order to achieve the specific goals of the developer and to meet system-related or business-related restrictions, various specific decisions are often made, and these will also change from one implementation manner to another. In addition, it can also be understood that although the efforts made in this development process may be complex and lengthy, for those of ordinary skill in the art related to the content disclosed in the present disclosure, some design, manufacturing or production changes based on the technical content disclosed in the present disclosure are only conventional technical means and should not be understood as the content of the present disclosure being insufficient.
[0022] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should have the ordinary meaning understood by those of ordinary skill in the art within the technical field to which the present disclosure belongs. The "first", "second" and similar terms used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. The terms such as "a" or "one" do not indicate a quantity limitation, but indicate that there is at least one. The terms such as "include" or "comprise" mean that the elements or objects appearing before "include" or "comprise" cover the elements or objects listed after "include" or "comprise" and their equivalent elements, and do not exclude other elements or objects. The terms such as "connect" or "be connected" are not limited to physical or mechanical connections, nor are they limited to direct or indirect connections.
[0023] In the related art, when playing audio through wireless earphones, the audio source device sends the audio data to be played to the wireless earphones so that the wireless earphones can play audio based on the obtained audio data.
[0024] However, the connection between the audio source device and the wireless earphones is mainly a classic Bluetooth connection or a low-power Bluetooth connection, which results in relatively average quality of the audio data received by the wireless earphones and cannot meet the high-quality requirements of users for audio playback, thus affecting the user experience.
[0025] To solve the above problems, the present disclosure provides an audio playback system. AsFigure 1 As shown in Figure 1 , the audio playback system 100 may include: a sound source sending end 110, a headphone charging case 120, and wireless headphones 130. There is a high-quality Bluetooth connection between the headphone charging case 120 and the wireless headphones 130.
[0026] The sound source sending end 110 is used to provide audio data or audio signals to be played. The sound source sending end 110 may include a server or a sound source device. Among them, the server may include but is not limited to the cloud or the server side. The sound source device may include but is not limited to terminal devices such as smartphones, tablets, and laptops.
[0027] The headphone charging case 120 is respectively connected to the sound source device 110 and the wireless headphones 130, and is used to receive the audio data sent by the sound source sending end 110, convert the audio data into a first audio signal that conforms to the high-quality Bluetooth protocol for transmission, and send the first audio signal to the wireless headphones 130.
[0028] The wireless headphones 130 are used to play audio based on the received first audio signal. The wireless headphones 130 may include but are not limited to any one of in-ear headphones, semi-in-ear headphones, or open headphones.
[0029] It should be noted that each device in the audio playback system 100 may include but is not limited to the functions described above, and will not be enumerated here.
[0030] In the related art, due to the small size of the wireless headphones 130, only a very small-capacity lithium-ion battery can be placed inside the wireless headphones 130. Based on the battery capacity limitation of the lithium-ion battery, generally, a dedicated headphone charging case will be standardly equipped to charge the wireless headphones, extending the service life of the wireless headphones. And, due to the small size of the wireless headphones 130, the headphone charging case is also required to store them for the user to pick up and use immediately. That is, in the related art, the headphone charging case is mainly used to store the wireless headphones 130 and charge the wireless headphones 130 to enhance the battery life of the wireless headphones.
[0031] Since terminal devices such as smartphones, tablets, and laptops do not support the high-quality Bluetooth protocol, through the audio playback system provided by the present disclosure, the headphone charging case 120 converts the audio data sent by the sound source device 110 into a first audio signal that conforms to the high-quality Bluetooth protocol, which can effectively improve the transmission quality of the audio data. Thus, the audio can be played effectively through the wireless headphones 130 based on the obtained first audio signal, and the audio playback quality can be effectively improved. Moreover, by converting the audio data through the headphone charging case 120, the practicality of the headphone charging case 120 can be improved, which helps to enhance the practicality of the headphone charging case 120.
[0032] The present disclosure provides an audio playback method for a headphone charging case applied to the above audio playback system.
[0033] As Figure 2 shown, the audio playback method may include the following steps:
[0034] Step S210, receiving audio data from a sound source sending end through a cellular communication connection or a WiFi connection.
[0035] Among them, cellular communication is a wireless communication technology that can provide mobile communication services by dividing the service area into multiple small areas (called cells). For example, cellular communication may include mobile networks such as 2G, 3G, 4G, or 5G. The sound source sending end includes a server end or a sound source device. The server end may include, but is not limited to, the cloud or the server side. The sound source device may include, but is not limited to, terminal devices such as smartphones, pads, and laptops. Audio data refers to the data to be played by the wireless headphones.
[0036] Establish a cellular communication connection or a WiFi connection with the sound source sending end in advance to build a data transmission link, and then receive audio data from the sound source sending end through the established cellular communication connection or WiFi connection to meet the need for audio playback through the wireless headphones.
[0037] Step S220, performing conversion processing on the audio data based on a high-quality Bluetooth protocol to obtain a first audio signal.
[0038] To improve the audio playback quality, the received audio data is subjected to conversion processing based on a high-quality Bluetooth protocol so that the converted format of the audio data can conform to the format for data transmission based on the high-quality Bluetooth protocol, thereby obtaining a first audio signal. Based on the high-quality Bluetooth protocol, the headphone charging case can decode and transmit complex audio formats, such as 5.1 or 7.1 surround sound and Dolby Atmos, etc., and there is no need for cable transmission. Among them, the application scenarios based on the high-quality Bluetooth protocol are very extensive. For example, the application scenarios may include, but are not limited to, home entertainment application scenarios. The home entertainment application scenarios may include, but are not limited to: wirelessly connecting to a home theater audio system based on the high-quality Bluetooth protocol to enjoy a high-quality surround sound experience; using wireless headphones or speakers to play music, watch videos, or play games; or, working or studying remotely in a home environment and obtaining clear call quality and high-quality background music through wireless headphones.
[0039] Among them, the high-quality Bluetooth protocol can include but is not limited to the HDT Bluetooth protocol or the LE Audio protocol. The HDT Bluetooth protocol is a protocol upgraded based on the low-power Bluetooth technology, aiming to provide a higher data transmission rate while maintaining low power consumption. The maximum data transmission rate supported by the existing low-power Bluetooth protocol is 2Mbps, while the maximum data transmission rate supported by the classic Bluetooth protocol is 3Mbps. The HDT Bluetooth protocol can increase the data transmission rate to a maximum of 8Mbps to meet the requirements of high-quality sound, lossless transmission, and low latency.
[0040] The LE Audio (Low Energy Audio) protocol is a new generation of Bluetooth audio standard, designed based on the low-power Bluetooth (BLE) architecture, aiming to improve sound quality, reduce power consumption, and expand application scenarios, and is regarded as a major innovation in the wireless audio field. Bluetooth LE Audio adopts the LC3 codec (Low Complexity Communication Codec), which can still maintain high sound quality at low bit rates. The LE Audio protocol supports synchronous transmission of a single audio source to multiple devices (such as the left and right ears of true wireless earphones receiving independently), and the synchronization time difference can be controlled at the microsecond level, solving the latency problem of traditional Bluetooth master-slave transmission. The LE Audio protocol realizes two-way communication between the wireless earphones and the earphone charging case through the Connectionless Isochronous Streams (CIS). Among them, each synchronous data stream corresponds to an independent audio stream, supporting multiple CIS channels, ensuring that the left and right earphones of the wireless earphones can receive data independently, eliminating the latency and power consumption differences caused by the traditional master-slave mode of wireless earphones.
[0041] Step S230: Based on the high-quality Bluetooth connection with the wireless earphones, send the first audio signal to the wireless earphones so that the wireless earphones play audio based on the first audio signal.
[0042] The connection between the wireless earphones and the earphone charging case is a high-quality Bluetooth connection. Therefore, during the data transmission process between the two, they can support the high-quality Bluetooth protocol. Send the first audio signal to the wireless earphones so that the wireless earphones can parse the obtained first audio signal based on the high-quality Bluetooth protocol and then play it, facilitating the user to clarify the audio content corresponding to the audio data and meeting the user's audio playback needs. Moreover, the first audio signal is obtained based on the high-quality Bluetooth protocol. Therefore, when playing audio through the wireless earphones subsequently, the latency can be reduced and the audio quality can be improved, which is conducive to enhancing the user experience.
[0043] According to the audio playback method provided by the present disclosure, a high-quality Bluetooth connection can be established between the headphone charging case and the wireless headphones, and then audio data can be forwarded through the headphone charging case, which can overcome the defect that the sound source device cannot transmit data with the wireless headphones based on the high-quality Bluetooth protocol, enabling the wireless headphones to obtain a first audio signal that supports the high-quality Bluetooth protocol. When playing audio, the latency can be reduced, the audio playback quality can be improved, and the user experience can be enhanced. Moreover, forwarding audio data through the headphone charging case also helps to improve the utilization rate of the headphone charging case and enhance its practicality.
[0044] In some embodiments, the above step S210 may include the following steps:
[0045] Step a1, receiving audio data from the server based on the cellular communication connection with the cellular communication base station.
[0046] Since the server can be an online service platform that can provide audio content, such as a music streaming service platform, an online video platform, etc., therefore, to meet the need for audio playback through wireless headphones, a cellular communication connection with the cellular communication base station can be established in advance to construct a transmission channel for obtaining audio data, and then audio data can be received from the server through the cellular communication base station. Receiving audio data through the cellular communication connection is not restricted by geographical location, making the reception of audio data more flexible and convenient.
[0047] Step a2, receiving the audio data sent by the sound source device based on the WiFi connection with the sound source device.
[0048] The sound source device can be understood as an entity device that can provide audio content locally. For example, the sound source device may include, but is not limited to, a local player, a computer, or other devices that support WiFi connection. When it is necessary for the sound source device to provide audio content, a WiFi connection with the sound source device can be established in advance to construct a transmission channel for obtaining audio data, and then the audio data sent by the sound source device can be received. Receiving audio data through the WiFi connection can ensure the stability and efficiency of the data, and thus help to improve the transmission quality of the audio data.
[0049] In some examples, the manner in which the sound source device receives the audio data sent by the sound source device based on the WiFi connection with the headphone charging case may be, but is not limited to, any of the following manners:
[0050] Manner 1, through WIFI direct connection, the sound source device transmits an audio signal to the headphone charging case;
[0051] Method 2: The audio signal is transmitted from the sound source device to the earphone charging case through the Digital Living Network Alliance (DLNA) protocol. The sound source device transmits audio data to the earphone charging case based on DLNA, and the earphone charging case receives the audio data using the WiFi module based on the DLNA protocol. When the sound source device transmits audio data to the earphone charging case based on the DLNA protocol, it can be achieved through a router or a softAP (soft access point). If it is achieved through a softAP, the softAP can run on the earphone charging case or the sound source device.
[0052] Method 3: The audio signal is transmitted from the sound source device to the earphone charging case through the Airplay protocol. Specifically, the sound source device transmits audio data to the earphone charging case based on Airplay, and the earphone charging case receives the audio data using the WiFi module based on the Airplay protocol. When the sound source device transmits audio data to the earphone charging case based on the Airplay protocol, it can be achieved through a router or a softAP (soft access point). If it is achieved through a softAP, the softAP can run on the earphone charging case or the sound source device.
[0053] The data transmission rate of data transmission through WiFi is much greater than that of data transmission through Bluetooth. Therefore, based on the WIFI connection, transmitting audio data from the sound source device to the earphone charging case can ensure that the earphone charging case receives the audio data and the signal quality of the first audio signal sent to the wireless earphone through the high-quality Bluetooth connection, meeting the requirement of playing high-quality audio through the wireless earphone.
[0054] It should be noted that during the actual audio playback process, the above two audio data reception processes are not fixed and can be determined or switched according to the user's actual usage needs, the connection quality between the earphone charging case and the sound source device, or the usage situation of the earphone charging case itself.
[0055] The following embodiments will specifically illustrate the process of receiving audio data based on the connection quality between the earphone charging case and the sound source device or the usage situation of the earphone charging case itself.
[0056] In some embodiments, the above step S210 may further include: detecting the WiFi connection quality with the sound source device to determine whether the connection between the two will affect the high-quality Bluetooth transmission between the earphone charging case and the wireless earphone.
[0057] Since high-quality Bluetooth transmission requires a large data throughput, to ensure the data transmission quality between the headphone charging case and the wireless headphones, it is necessary to ensure that the headphone charging case has sufficient audio data to meet the data requirements of high-quality Bluetooth transmission. The WiFi connection quality between the sound source device and the headphone charging case will affect the data reception volume of the headphone charging case. Therefore, to ensure the data transmission quality between the headphone charging case and the wireless headphones, the WiFi connection quality between the headphone charging case and the sound source device is detected. Among them, the WiFi connection quality can be measured by any one of the following indicators: Received Signal Strength Indicator (RSSI), Signal-to-Noise Ratio (SNR), Bit Error Rate (BER), Packet Error Rate (PER), or retransmission ratio. Among them, for the received signal strength indicator and the signal-to-noise ratio, the larger the value, the better the connection quality. For the bit error rate, the packet error rate, and the retransmission ratio, the smaller the value, the better the connection quality.
[0058] If the WiFi connection quality is greater than or equal to the first quality standard, it indicates that the WiFi connection quality between the headphone charging case and the sound source device can meet the requirements for the headphone charging case to transmit signals based on the high-quality Bluetooth protocol. Therefore, the audio data sent by the sound source device can be received based on the WiFi connection with the sound source device. Among them, the WiFi connection quality can be represented as strong, medium, or weak. The first quality standard can be the lowest standard for determining normal WiFi connection quality. For example, the first quality standard can be medium. In some examples, for the convenience of computer storage, different values can be used to represent the WiFi connection quality, and the specific values corresponding to each connection quality can be determined according to requirements. For example, strong, medium, or weak can be represented by 0, 1, and 2 respectively.
[0059] If the WiFi connection quality is less than the first quality standard, it indicates that the WiFi connection quality between the headphone charging case and the sound source device cannot meet the requirements for the headphone charging case to transmit signals based on the high-quality Bluetooth protocol. Therefore, to ensure the audio playback quality, the audio data is received from the server based on the cellular communication connection with the cellular communication base station.
[0060] In some application scenarios, the step of detecting the WiFi connection quality with the sound source device can be performed before the sound source device sends audio data, thereby ensuring the continuity of audio data transmission.
[0061] In some other application scenarios, the step of detecting the WiFi connection quality between the headphone charging case and the sound source device can be performed during the process of the sound source device sending audio data. Then, based on the WiFi connection quality, it can be determined whether the sound source sending end is the sound source device or the server, which can improve the flexibility of receiving audio data, ensure the data transmission quality between the headphone charging case and the wireless headphones, and thus meet the requirement of playing high-quality audio through the wireless headphones and enhance the user experience.
[0062] In some embodiments, the above step S210 may further include: during the process of receiving audio data from the server based on the cellular communication connection with the cellular communication base station, in response to the current remaining power being less than the first power threshold, the step of receiving the audio data sent by the sound source device based on the WiFi connection with the sound source device is performed.
[0063] That is, during the process of receiving audio data from the server based on the cellular communication connection with the cellular communication base station, the headphone charging case will detect its own remaining power to determine its power consumption situation. In response to the current remaining power being less than the first power threshold, it indicates that there is a power warning for the headphone charging case. If audio data continues to be obtained from the server, it may affect the function of the headphone charging case to charge the wireless headphones. Since the power consumption required for data transmission based on the WiFi connection is less than that required for data transmission based on the cellular communication connection, in order to meet the requirement of playing high-quality audio through the wireless headphones, the sound source sending end is switched from the server to the sound source device, and the audio data sent by the sound source device is received based on the WiFi connection with the sound source device, so as to minimize the power consumption of the headphone charging case as much as possible for better subsequent battery life of the wireless headphones.
[0064] In some other examples, if during the process of receiving the audio data sent by the sound source device based on the WiFi connection with the sound source device, it is detected that the WiFi connection quality between the headphone charging case and the sound source device is less than the first quality standard, the sound source sending end can be switched from the sound source device to the server, and the audio data is received from the server based on the cellular communication connection with the cellular communication base station to meet the requirement of playing high-quality audio through the wireless headphones. Among them, the server is in a connected state with the cellular communication base station.
[0065] In some other examples, if during the process of receiving the audio data sent by the sound source device based on the WiFi connection with the sound source device, it is detected that the WiFi connection quality between the headphone charging case and the sound source device is less than the first quality standard, a power warning can be sent to prompt the user to charge the headphone charging case in time and extend the usage duration of the headphone charging case.
[0066] In some other examples, during the process of receiving audio data sent by the sound source device based on the WiFi connection with the sound source device, if it is detected that the WiFi connection quality between the headphone charging case and the sound source device is less than the first quality standard, the reception of audio data can be stopped and the audio playback can be interrupted, so that the user can determine whether to continue the audio playback.
[0067] In some embodiments, the above step S210 may further include: in response to the current remaining power being less than the second power threshold, sending a first connection control instruction to the wireless headphones, so that the wireless headphones establish a classic Bluetooth connection or a low-power Bluetooth connection with the sound source device in response to the first connection control instruction, the sound source device sends a second audio signal to the wireless headphones, and the wireless headphones play the audio content corresponding to the audio data based on the second audio signal. The second power threshold is less than the first power threshold. In response to the current remaining power being less than the second power threshold, it indicates that the current remaining power of the headphone charging case is too low. Therefore, to ensure the function of the headphone charging case to charge the wireless headphones, a first connection control instruction is sent to the wireless headphones to inform that the headphone charging case cannot continue the audio conversion function currently, and the wireless headphones need to switch the interaction party of data communication from the headphone charging case to the sound source device, so that the sound source device provides the audio content to be played for the wireless headphones. By sending the first connection control instruction to the wireless headphones, the wireless headphones can establish a classic Bluetooth connection or a low-power Bluetooth connection with the sound source device in response to the received first connection control instruction. Since the sound source device generally supports connecting to the wireless headphones via Bluetooth, a data transmission link between the wireless headphones and the sound source device can be successfully established. Subsequently, the sound source device can send a second audio signal to the wireless headphones, and the wireless headphones play the audio content corresponding to the audio data based on the second audio signal, meeting the requirement of audio playback via the wireless headphones.
[0068] In some other embodiments, sending the first connection control instruction to the wireless headphones includes: sending the first connection control instruction to the wireless headphones based on the low-power Bluetooth connection with the wireless headphones. That is, to facilitate the communication and interaction between the headphone charging case and the wireless headphones, a low-power Bluetooth connection between the headphone charging case and the wireless headphones is established in advance, so that the corresponding relationship between the two can be clarified through this low-power Bluetooth connection. When it is necessary to control the wireless headphones to establish a classic Bluetooth connection or a low-power Bluetooth connection with the sound source device, the first connection control instruction can be sent to the wireless headphones based on the low-power Bluetooth connection between the headphone charging case and the wireless headphones. Furthermore, without affecting the current reception of the first audio signal by the wireless headphones, the wireless headphones can establish a connection with the sound source device in a timely manner and successfully receive the second audio signal, thus ensuring the continuity and stability of audio playback.
[0069] In some embodiments, the above step S210 may further include: in response to the current remaining power being less than a second power threshold, sending a second connection control instruction to the sound source device, so that the sound source device responds to the second connection control instruction to establish a classic Bluetooth connection or a low-power Bluetooth connection with the wireless earphone, and sends a second audio signal to the wireless earphone, so that the wireless earphone plays the audio content corresponding to the audio data based on the second audio signal. Wherein, the second power threshold is less than the first power threshold. That is, to ensure the function of the earphone charging case to charge the wireless earphone, a second connection control instruction is sent to the sound source device to inform the earphone charging case that the audio conversion function cannot continue at present, and the sound source device needs to switch the interaction party for data communication from the earphone charging case to the wireless earphone. Furthermore, the sound source device can respond to the second connection control instruction to establish a classic Bluetooth connection or a low-power Bluetooth connection with the wireless earphone, establish a data transmission link between the sound source device and the wireless earphone, so that the sound source device can send a second audio signal to the wireless earphone, and the wireless earphone plays the audio content corresponding to the audio data based on the second audio signal, meeting the requirement of audio playback through the wireless earphone.
[0070] By establishing a classic Bluetooth connection or a low-power Bluetooth connection between the sound source device and the wireless earphone, so that the sound source device directly sends the second audio signal to the wireless earphone for audio playback, the power consumption of the earphone charging case can be stopped, so that the earphone charging case can reserve a certain amount of power to charge the wireless earphone, thus better ensuring the battery life of the wireless earphone.
[0071] In some embodiments, the above step S210 may further include: detecting the high-quality Bluetooth connection quality with the wireless earphone; in response to the high-quality Bluetooth connection quality with the wireless earphone being less than the second quality standard, sending a connection control instruction to the sound source device, so that the sound source device responds to the connection control instruction to establish a classic Bluetooth connection or a low-power Bluetooth connection with the wireless earphone, and sending a second audio signal to the wireless earphone, so that the wireless earphone plays audio based on the second audio signal. That is, during the connection process between the earphone charging case and the wireless earphone, to ensure the quality of audio playback, the high-quality Bluetooth connection quality with the wireless earphone is detected to determine whether the data transmission quality between the earphone charging case and the wireless earphone is normal. In response to the high-quality Bluetooth connection quality with the wireless earphone being less than the second quality standard, it indicates that the high-quality Bluetooth connection quality between the earphone charging case and the wireless earphone is poor, which will cause abnormal data transmission quality between the earphone charging case and the wireless earphone, thus affecting the coherence and stability of audio playback. Therefore, to ensure the quality of audio playback, a connection control instruction is sent to the sound source device to inform the earphone charging case that it cannot continue with the audio conversion function currently, and the sound source device needs to switch the interaction party for data communication from the earphone charging case to the wireless earphone. Then, the sound source device can respond to the connection control instruction to establish a classic Bluetooth connection or a low-power Bluetooth connection with the wireless earphone, establish a data transmission link between the sound source device and the wireless earphone, so that the sound source device can send a second audio signal to the wireless earphone, and the wireless earphone plays the audio content corresponding to the audio data based on the second audio signal, meeting the requirement of audio playback through the wireless earphone and ensuring the coherence and stability of audio playback.
[0072] Among them, the second quality standard may be the lowest standard for determining the normal high-quality Bluetooth connection quality. For example, the second quality standard may be medium. In some examples, for the convenience of computer storage, different numerical values may be used to represent the high-quality Bluetooth connection quality, and the specific numerical values corresponding to each connection quality can be determined according to requirements. For example, strong, medium, or weak can be represented by 0, 1, and 2 respectively. The high-quality Bluetooth connection quality can be measured using any one of the following indicators: Received Signal Strength Indicator (RSSI), Signal-to-Noise Ratio (SNR), Bit Error Rate (BER), Packet Error Rate (PER), or retransmission ratio. Among them, for the received signal strength indicator and the signal-to-noise ratio, the larger the value, the better the connection quality. For the bit error rate, the packet error rate, and the retransmission ratio, the smaller the value, the better the connection quality.
[0073] In some embodiments, the process of sending a second connection control instruction to a sound source device may include: based on a classic Bluetooth connection or a low power consumption Bluetooth connection with the sound source device, sending the second connection control instruction to the sound source device. A classic Bluetooth connection or a low power consumption Bluetooth connection between the headphone charging case and the sound source device is established in advance, so that the headphone charging case and the wireless headphones can identify that the sound source sending end for data transmission to be the sound source device. Thus, when the power of the headphone charging case is insufficient or the quality of the high-quality Bluetooth connection between the headphone charging case and the wireless headphones is poor, the headphone charging case can send the second connection control instruction to the sound source device based on the classic Bluetooth connection or the low power consumption Bluetooth connection with the sound source device, so that the sound source device can quickly identify the wireless headphones and establish a classic Bluetooth connection or a low power consumption Bluetooth connection with the wireless headphones, reducing latency and ensuring the continuity and stability of audio playback. Moreover, the power consumption through a classic Bluetooth connection or a low power consumption Bluetooth connection is relatively less than that through a WiFi connection. Therefore, sending the second connection control instruction to the sound source device based on the classic Bluetooth connection or the low power consumption Bluetooth connection with the sound source device also helps to save the power consumption of the headphone charging case, reduce the power loss, and thus can better ensure the ability to provide power for the wireless headphones.
[0074] In some optional application scenarios, the process of playing audio through the headphone charging case may be as follows:
[0075] Establish a classic Bluetooth connection or a low power consumption Bluetooth connection between the sound source device and the headphone charging case, so that the headphone charging case and the wireless headphones can establish a connection with the sound source device.
[0076] Establish a WiFi connection between the sound source device and the headphone charging case, and establish a high-quality Bluetooth connection between the headphone charging case and the wireless headphones.
[0077] Based on the WiFi connection between the sound source device and the headphone charging case, the sound source device sends audio data to the headphone charging case, and the headphone charging case receives the audio data.
[0078] The headphone charging case performs conversion processing on the audio data based on the high-quality Bluetooth protocol to obtain a first audio signal, and based on the high-quality Bluetooth connection between the headphone charging case and the wireless headphones, sends the first audio signal to the wireless headphones.
[0079] The wireless headphones play audio based on the received first audio signal to meet the user's high-quality playback requirements.
[0080] Under some working conditions, during the process of sending audio data from the sound source device to the headphone charging case based on the WiFi connection between the sound source device and the headphone charging case, the WiFi connection quality between the sound source devices is detected. If the WiFi connection quality is greater than or equal to the first quality standard, continue to receive the audio data sent by the sound source device based on the WiFi connection with the sound source device. If the WiFi connection quality is less than the first quality standard, establish a cellular communication connection with the cellular communication base station, so that based on the connection between the server and the network side, audio data can be received from the server to ensure the audio playback quality.
[0081] Under some working conditions, before sending audio data from the sound source device to the headphone charging case based on the WiFi connection between the sound source device and the headphone charging case, the WiFi connection quality between the sound source devices is detected. If the WiFi connection quality is greater than or equal to the first quality standard, receive the audio data sent by the sound source device based on the WiFi connection with the sound source device. If the WiFi connection quality is less than the first quality standard, establish a cellular communication connection with the cellular communication base station and receive audio data from the server to meet the audio playback requirements.
[0082] Under some working conditions, during the process of receiving audio data from the server based on the cellular communication connection with the cellular communication base station, in response to the current remaining power being less than the first power threshold, the headphone charging case receives the audio data sent by the sound source device based on the WiFi connection with the sound source device, thereby reducing the power consumption of the headphone charging case and ensuring the ability of the headphone charging case to provide battery life for the wireless headphones.
[0083] Under some working conditions, in response to the current remaining power being less than the second power threshold, the headphone charging case sends a first connection control instruction to the wireless headphones based on the low-power Bluetooth connection with the wireless headphones to reduce the power consumption of the headphone charging case and ensure the ability of the headphone charging case to provide battery life for the wireless headphones. The wireless headphones establish a classic Bluetooth connection or a low-power Bluetooth connection with the sound source device in response to the first connection control instruction. Since the sound source device generally supports connecting to the wireless headphones via Bluetooth, the sound source device can be successfully connected to the wireless headphones, and then the sound source device can send a second audio signal to the wireless headphones based on the classic Bluetooth connection or the low-power Bluetooth connection with the wireless headphones. The wireless headphones can play audio based on the second audio signal to meet the audio playback requirements.
[0084] Under some working conditions, in response to the current remaining power being less than the second power threshold, the headset charging case sends a second connection control instruction to the sound source device to reduce the power consumption of the headset charging case and ensure the ability of the headset charging case to provide battery life for the wireless headset. The sound source device responds to the second connection control instruction to establish a classic Bluetooth connection or a low-power Bluetooth connection with the wireless headset and sends a second audio signal to the wireless headset. The wireless headset plays audio based on the second audio signal to meet the audio playback requirements.
[0085] Under some working conditions, during the process of audio playback or during the preparation for audio playback, the headset charging case detects the high-quality Bluetooth connection quality between it and the wireless headset. In response to the high-quality Bluetooth connection quality between the headset charging case and the wireless headset being less than the second quality standard, the headset charging case sends a second connection control instruction to the sound source device to reduce the power consumption of the headset charging case and ensure the ability of the headset charging case to provide battery life for the wireless headset. The sound source device responds to the second connection control instruction to establish a classic Bluetooth connection or a low-power Bluetooth connection with the wireless headset and sends a second audio signal to the wireless headset. The wireless headset plays audio based on the second audio signal to meet the audio playback requirements.
[0086] Based on the same inventive concept, the present disclosure also provides a headset charging case. As Figure 3 shown, the headset charging case 300 includes:
[0087] A cellular module 310 for receiving audio data from a server;
[0088] A WiFi module 320 for receiving audio data sent by a sound source device;
[0089] A processor 330 for converting and processing the audio data based on the high-quality Bluetooth protocol to obtain a first audio signal;
[0090] A high-quality Bluetooth module 340 for sending the first audio signal to the wireless headset based on the high-quality Bluetooth connection with the wireless headset, so that the wireless headset plays audio based on the first audio signal.
[0091] According to the headset charging case provided by the present disclosure, the audio data sent by the server or the sound source device can be converted into a high-quality first audio signal and played by the wireless headset, so that the wireless headset can play high-quality audio content, meet the user's high-quality audio playback requirements, thereby not only improving the user experience but also helping to enhance the practicality of the headset charging case and increase its practical value.
[0092] In some embodiments, as Figure 3 shown, the headset charging case 300 further includes a charging module 350 for charging the wireless headset.
[0093] Regarding the earphone charging case in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.
[0094] Based on the same inventive concept, the present disclosure also provides an audio playback system. As Figure 4 shown, the audio playback system 400 may include:
[0095] A sound source sending end 410, including a sound source device 411 or a server 412. The sound source device 411 is used to send audio data or a second audio signal, and the server 412 is used to send audio data;
[0096] An earphone charging case 420, which establishes a WiFi connection with the sound source device 411 through a WiFi module to receive audio data from the sound source device 411; and establishes a high-quality Bluetooth connection with a wireless earphone 430 corresponding to the earphone charging case 420 through a Bluetooth module to send a first audio signal to the wireless earphone 430. The first audio signal is obtained by converting and processing the audio data based on a high-quality Bluetooth protocol; or the earphone charging case 420 establishes a cellular communication connection with a cellular communication base station through a cellular module to receive audio data from the server;
[0097] A wireless earphone 430, which is used to receive the first audio signal and perform audio playback based on the first audio signal; or receive a second audio signal based on a classic Bluetooth connection or a low-power Bluetooth connection and perform audio playback based on the second audio signal.
[0098] Based on the same inventive concept, the present disclosure also provides a computer-readable storage medium, which stores the following program, and the program is used to execute the audio playback method of any one of the foregoing embodiments.
[0099] The present disclosure uses specific terms to describe the embodiments of the present disclosure. For example, "one embodiment", "an embodiment", and / or "some embodiments" mean a certain feature, structure, or characteristic related to at least one embodiment of the present disclosure. Therefore, it should be emphasized and noted that the "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more at different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures, or characteristics in one or more embodiments of the present disclosure can be combined appropriately.
[0100] In the context of the present disclosure, unless the context clearly indicates otherwise, words such as "a", "an", "one", and / or "the" are not intended to refer to the singular and may also include the plural. Generally speaking, the terms "comprising" and "including" only indicate the inclusion of the steps and elements that have been specifically identified, and these steps and elements do not constitute an exclusive list. A method or apparatus may also include other steps or elements.
[0101] Similarly, it should be noted that, in order to simplify the presentation of the present disclosure and thus assist in the understanding of one or more embodiments of the application, in the foregoing description of the embodiments of the present disclosure, various features are sometimes grouped together in one embodiment, drawing, or description thereof. However, this method of disclosure does not mean that the features required by the subject matter of the present disclosure are more than those required to be claimed. In fact, the features of the embodiments are fewer than all the features of the individual embodiments disclosed above.
[0102] The basic concepts have been described above. Obviously, for those skilled in the art, the above disclosure is only an example and does not constitute a limitation of the present disclosure. Although not explicitly stated here, those skilled in the art may make various modifications, improvements, and corrections to the present disclosure. Such modifications, improvements, and corrections are proposed in the present disclosure, so such modifications, improvements, and corrections still fall within the spirit and scope of the embodiments of the present disclosure.
Claims
1. An audio playback method is applied to a headphone charging case of wireless headphones. The headphone charging case is respectively connected to a sound source sending end and the wireless headphones, and includes: Receiving audio data from the sound source sending end through a cellular communication connection or a WiFi connection, where the sound source sending end includes a server or a sound source device; Performing conversion processing on the audio data based on a high-quality Bluetooth protocol to obtain a first audio signal; Sending the first audio signal to the wireless headphones based on a high-quality Bluetooth connection with the wireless headphones, so that the wireless headphones perform audio playback based on the first audio signal.
2. The audio playing method according to claim 1, wherein, The receiving audio data from the sound source sending end through a cellular communication or a WiFi connection includes: Receiving the audio data from the server based on a cellular communication connection with a cellular communication base station; or, Receiving the audio data sent by the sound source device based on a WiFi connection with the sound source device.
3. The audio playing method according to claim 2, wherein, The receiving audio data from the sound source sending end through a cellular communication or a WiFi connection further includes: Detecting the WiFi connection quality with the sound source device; If the WiFi connection quality is greater than or equal to a first quality standard, then execute the step of receiving the audio data sent by the sound source device based on the WiFi connection with the sound source device; If the WiFi connection quality is less than the first quality standard, then execute the step of receiving audio data from the server based on the cellular communication connection with the cellular communication base station.
4. The audio playing method according to claim 2 or 3, wherein, The receiving audio data from the sound source sending end through a cellular communication or a WiFi connection further includes: During the process of receiving audio data from the server based on the cellular communication connection with the cellular communication base station, in response to the current remaining power being less than a first power threshold, then execute the step of receiving the audio data sent by the sound source device based on the WiFi connection with the sound source device.
5. The audio playing method according to claim 4, wherein, The receiving audio data from the sound source sending end through a cellular communication or a WiFi connection further includes: In response to the current remaining power being less than a second power threshold, sending a first connection control instruction to the wireless headphones, so that the wireless headphones establish a classic Bluetooth connection or a low-power Bluetooth connection with the sound source device in response to the first connection control instruction, the sound source device sends a second audio signal to the wireless headphones, and the wireless headphones play audio content corresponding to the audio data based on the second audio signal.
6. The audio playback method according to claim 5, wherein, The sending the first connection control instruction to the wireless headphones includes: Sending the first connection control instruction to the wireless headphones based on a low-power Bluetooth connection with the wireless headphones.
7. The audio playback method according to claim 4, wherein, The method further includes: Detecting the high-quality Bluetooth connection quality with the wireless headphones; In response to the high-quality Bluetooth connection quality with the wireless headset being less than the second quality standard, a second connection control instruction is sent to the sound source device, so that the sound source device establishes a classic Bluetooth connection or a low-power Bluetooth connection with the wireless headset in response to the second connection control instruction, and sends a second audio signal to the wireless headset, enabling the wireless headset to play audio based on the second audio signal.
8. A headset charging case, comprising: A cellular module for receiving audio data from a server; A WiFi module for receiving audio data sent by a sound source device; A processor for performing conversion processing on the audio data based on the high-quality Bluetooth protocol to obtain a first audio signal; A high-quality Bluetooth module for sending the first audio signal to the wireless headset based on the high-quality Bluetooth connection with the wireless headset, enabling the wireless headset to play audio based on the first audio signal.
9. An audio playback system, comprising: A sound source sending end, including a sound source device or a server, where the sound source device is used to send audio data or a second audio signal, and the server is used to send the audio data; A headset charging case that establishes a WiFi connection with the sound source device through the WiFi module to receive the audio data sent by the sound source device; Establishing a high-quality Bluetooth connection with the wireless headset corresponding to the headset charging case through a Bluetooth module to send a first audio signal to the wireless headset, where the first audio signal is obtained by performing conversion processing on the audio data based on the high-quality Bluetooth protocol; or, the headset charging case establishes a cellular communication connection with a cellular communication base station through the cellular module to receive the audio data from the server; The wireless headset is used to receive the first audio signal and play audio based on the first audio signal; or receive the second audio signal based on a classic Bluetooth connection or a low-power Bluetooth connection and play audio based on the second audio signal.
10. A computer-readable storage medium storing the following program, where the program is used to execute the audio playback method according to any one of claims 1-7.
Citation Information
Cited By
Communication method and related equipment
CN122489030A