Audio system and terminal device

By designing an audio system that dynamically adjusts the audio stream in the terminal device, the problem of poor sound effects of terminal devices is solved and the battery life is improved.

WO2025044568A1PCT designated stage expired Publication Date: 2025-03-06HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2024/105810
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-04
Filing Date
2024-07-16
Publication Date
2025-03-06

AI Technical Summary

Technical Problem

When the terminal equipment outputs audio based on an existing audio system, the sound effect is poor.

Method used

An audio system is designed, including an audio processor, a first audio amplifier, a second audio amplifier, a first speaker, a second speaker and a buck module. By dynamically adjusting the frequency division points of the treble and bass audio streams, it is optimized according to the volume level, battery power and temperature to improve sound effects and reduce power consumption.

Benefits of technology

By dynamically adjusting the audio stream, the sound effect of the terminal device is improved while extending the battery life, solving the problems of poor sound effects and insufficient battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024105810_06032025_PF_FP_ABST
    Figure CN2024105810_06032025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are an audio system and a terminal device, which can be applied to the technical field of audio. In the audio system of the present application, a second audio power amplifier is added to a first audio power amplifier, wherein the first audio power amplifier is a common audio power amplifier, the second audio power amplifier is a high-power audio power amplifier, such that the sound effect of a terminal device can be improved by means of the second audio power amplifier. In addition, an audio processor in the audio system can dynamically adjust, on the basis of a volume level, a battery charge level or a battery temperature, audio streams input into the first audio power amplifier and the second audio power amplifier, and can dynamically adjust an input voltage of the second audio power amplifier on the basis of the volume level, the battery charge level or the battery temperature, such that the power consumption of the terminal device can be reduced while the sound effect of the terminal device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Audio system and terminal equipment

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on August 29, 2023, with application number 202311103334.7 and application name “A kind of audio system and terminal equipment”, and claims priority to the Chinese patent application filed with the China Patent Office on September 4, 2023, with application number 202311138519.1 and application name “A kind of audio system and terminal equipment”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of audio technology, and in particular to an audio system and terminal equipment. Background Art

[0003] The terminal device can output audio through the audio system to meet the needs of the user. Currently, in an audio system of a terminal device, the audio amplifier can be powered by a 4.2V battery. After receiving the electrical signal, the audio amplifier can amplify the electrical signal to drive the speaker to produce sound.

[0004] However, it was found during use that when the terminal device outputs audio based on the audio system, the sound effect of the terminal device is poor.

[0005] Summary of the Invention

[0006] The present application provides an audio system and a terminal device, which are used to solve the problem of poor sound quality of the terminal device in the prior art.

[0007] In a first aspect, the present application provides an audio system. The audio system includes an audio processor, a first audio power amplifier, a second audio power amplifier, a first speaker, a second speaker, and a step-down module, wherein the first output end of the audio processor is connected to the first input end of the first audio power amplifier, the second output end of the audio processor is connected to the first input end of the second audio power amplifier, the output end of the first audio power amplifier is connected to the input end of the first speaker, and the output end of the second audio power amplifier is connected to the input end of the second speaker. The audio system is powered by a battery, the input end of the step-down module is used to connect to the battery, the output end of the step-down module is connected to the second input end of the first audio power amplifier, and the second audio power amplifier consumes more power than the first audio amplifier.

[0008] The audio processor is used to:

[0009] Obtain audio information of an audio stream to be played, the audio information including a volume level of the audio stream to be played; obtain status information of the battery, the status information including a remaining battery charge and / or a temperature of the battery; determine a treble audio stream and a bass audio stream in the audio stream to be played based on the audio information and the status information; output the treble audio stream to a first input terminal of the first audio power amplifier; and output the bass audio stream to a first input terminal of the second audio power amplifier.

[0010] In the system, the output power of the second audio power amplifier is greater than the output power of the first audio power amplifier. Based on the second audio power amplifier, the driving capability of the second speaker can be improved, thereby improving the sound effect of the second speaker.

[0011] In addition, the treble audio stream and bass audio stream can be dynamically adjusted based on the volume level, battery power, and battery temperature, which can improve the sound quality of the terminal device while also improving the battery life of the terminal device.

[0012] In some possible designs, when the audio processor determines the treble audio stream and the bass audio stream in the audio stream to be played based on the audio information and the status information, the audio processor is specifically used to: determine a first crossover point based on the audio information and the status information, wherein the lower the remaining battery power is, the higher the first crossover point is, the higher the first crossover point is, and the lower the volume level of the audio stream to be played is, the higher the first crossover point is; determine the audio stream in the audio stream to be played whose frequency is greater than the first crossover point as the treble audio stream; determine a second crossover point based on the audio information and the status information, wherein the lower the remaining battery power is, the lower the second crossover point is, the higher the battery temperature is, the lower the second crossover point is, and the lower the volume level of the audio stream to be played is, the lower the second crossover point is; determine the audio stream in the audio stream to be played whose frequency is less than the second crossover point as the bass audio stream.

[0013] In this system, the higher the first crossover point is, the fewer audio streams with frequencies greater than the first crossover point are in the audio stream to be played, that is, the fewer high-pitched audio streams are input into the first audio power amplifier, and the lower the power consumption of the first audio power amplifier is, which is beneficial to reducing battery power consumption and improving battery life.

[0014] The lower the second crossover frequency point is, the fewer audio streams with frequencies lower than the second crossover frequency point are in the audio stream to be played, that is, the fewer bass audio streams are input into the second audio power amplifier, and the lower the power consumption of the second audio power amplifier is, which is beneficial to reducing battery power consumption and improving battery life.

[0015] In some possible designs, the system further includes a boost module, a first input end of the boost module is used to connect to the battery, and an output end of the boost module is connected to a second input end of the second audio amplifier.

[0016] In the system, the boost module can increase the input voltage of the second audio power amplifier, thereby increasing the output power of the second audio power amplifier, which is beneficial to further improve the sound effect of the second speaker.

[0017] In some possible designs, the system also includes a switch switching module, wherein a first input end of the switch switching module is used to connect to the battery, a second input end of the switch switching module is connected to the output end of the boost module, the output end of the switch switching module is connected to the second input end of the second audio amplifier, and a third input end of the switch switching module is connected to the third output end of the audio processor.

[0018] The audio processor is further configured to:

[0019] Based on the audio information and the state information, the switch switching module is controlled to output the voltage of the electrical signal input to the first input terminal of the switch switching module or the switch switching module is controlled to output the voltage of the electrical signal input to the second input terminal of the switch switching module.

[0020] In the system, the input voltage of the second audio power amplifier can be switched by the switch switching module to dynamically adjust the input voltage of the second audio power amplifier, which is beneficial to improving the endurance of the terminal device.

[0021] In some possible designs, when the audio processor controls the switch switching module to output the voltage of the electrical signal input to the first input terminal of the switch switching module or controls the switch switching module to output the voltage of the electrical signal input to the second input terminal of the switch switching module based on the audio information and the status information, the audio processor is specifically configured to:

[0022] When the volume level of the audio stream to be played is less than a preset volume level, or the remaining power of the battery is less than a preset power threshold, or the temperature of the battery is greater than a preset temperature threshold, the switch switching module is controlled to output the voltage of the electrical signal input to the first input end of the switch switching module; when the volume level of the audio stream to be played is greater than or equal to the preset volume level, the remaining power of the battery is greater than or equal to the preset power threshold, and the temperature of the battery is less than or equal to the preset temperature threshold, the switch switching module is controlled to output the voltage of the electrical signal input to the second input end of the switch switching module.

[0023] In this system, the voltage of the electrical signal input to the first input end of the switch module can be equal to the battery voltage, the voltage of the electrical signal input to the second input end of the switch module can be a voltage after boosting the battery voltage, and the voltage of the electrical signal input to the first input end of the switch module is less than the voltage of the electrical signal input to the second input end of the switch module. When the volume level of the audio stream to be played is low, or the remaining battery power is low, or the battery temperature is high, the battery voltage can be transmitted to the second audio amplifier through the switch module, thereby reducing the power consumption of the second audio amplifier. When the volume level of the audio stream to be played is high, the remaining battery power is high, and the battery temperature is low, the boosted voltage can be transmitted to the second audio amplifier through the switch module, so that while ensuring the endurance of the terminal device, the output power of the second audio amplifier can be further improved, that is, the driving capability of the second speaker can be further improved.

[0024] In some possible designs, the system further includes a pulse width modulation (PWM) control module, wherein an input end of the PWM control module is connected to the fourth output end of the audio processor, and an output end of the PWM control module is connected to the second input end of the boost module.

[0025] The audio processor is further configured to:

[0026] Acquiring PWM information, the PWM information including a correspondence between a plurality of volume levels and a plurality of PWM duty cycles; determining a target PWM duty cycle corresponding to the volume level of the audio to be played based on the PWM information and the volume level of the audio stream to be played; and controlling the PWM control module to update the PWM duty cycle to the target PWM duty cycle.

[0027] In this system, the PWM control module can adjust the PWM duty cycle, and when the boost module is used to power the second audio amplifier, the output voltage of the boost module can be dynamically adjusted. In other words, dynamically adjusting the input voltage of the second audio amplifier is beneficial to improving the battery life of the terminal device.

[0028] In a second aspect, the present application provides a terminal device. The terminal device includes a battery and an audio system, the audio system including an audio processor, a first audio power amplifier, a second audio power amplifier, a first speaker, a second speaker, and a step-down module, the first output end of the audio processor is connected to the first input end of the first audio power amplifier, the second output end of the audio processor is connected to the first input end of the second audio power amplifier, the output end of the first audio power amplifier is connected to the input end of the first speaker, the output end of the second audio power amplifier is connected to the input end of the second speaker, the audio system is powered by the battery, the input end of the step-down module is used to connect to the battery, the output end of the step-down module is connected to the second input end of the first audio power amplifier, and the power consumption of the second audio power amplifier is greater than that of the first audio amplifier.

[0029] The audio processor is used to:

[0030] Obtain audio information of an audio stream to be played, the audio information including a volume level of the audio stream to be played; obtain status information of the battery, the status information including a remaining battery charge and / or a temperature of the battery; determine a treble audio stream and a bass audio stream in the audio stream to be played based on the audio information and the status information; output the treble audio stream to an input end of the first audio power amplifier; and output the bass audio stream to an input end of the second audio power amplifier.

[0031] In some possible designs, when the audio processor determines the treble audio stream and the bass audio stream in the audio stream to be played based on the audio information and the status information, the audio processor is specifically used to: determine a first crossover point based on the audio information and the status information, wherein the lower the remaining battery power is, the higher the first crossover point is, the higher the first crossover point is, and the lower the volume level of the audio stream to be played is, the higher the first crossover point is; determine the audio stream in the audio stream to be played whose frequency is greater than the first crossover point as the treble audio stream; determine a second crossover point based on the audio information and the status information, wherein the lower the remaining battery power is, the lower the second crossover point is, the higher the battery temperature is, the lower the second crossover point is, and the lower the volume level of the audio stream to be played is, the lower the second crossover point is; determine the audio stream in the audio stream to be played whose frequency is less than the second crossover point as the bass audio stream.

[0032] In some possible designs, the system further includes a boost module, a first input end of the boost module is used to connect to the battery, and an output end of the boost module is connected to a second input end of the second audio amplifier.

[0033] In some possible designs, the system also includes a switch switching module, wherein a first input end of the switch switching module is used to connect to the battery, a second input end of the switch switching module is connected to the output end of the boost module, the output end of the switch switching module is connected to the second input end of the second audio amplifier, and a third input end of the switch switching module is connected to the third output end of the audio processor.

[0034] The audio processor is further configured to:

[0035] Based on the audio information and the state information, the switch switching module is controlled to output the voltage of the electrical signal input to the first input terminal of the switch switching module or the switch switching module is controlled to output the voltage of the electrical signal input to the second input terminal of the switch switching module.

[0036] In some possible designs, when the audio processor controls the switch switching module to output the voltage of the electrical signal input to the first input terminal of the switch switching module or controls the switch switching module to output the voltage of the electrical signal input to the second input terminal of the switch switching module based on the audio information and the status information, the audio processor is specifically configured to:

[0037] When the volume level of the audio stream to be played is less than a preset volume level, or the remaining power of the battery is less than a preset power threshold, or the temperature of the battery is greater than a preset temperature threshold, the switch switching module is controlled to output the voltage of the electrical signal input to the first input end of the switch switching module; when the volume level of the audio stream to be played is greater than or equal to the preset volume level, the remaining power of the battery is greater than or equal to the preset power threshold, and the temperature of the battery is less than or equal to the preset temperature threshold, the switch switching module is controlled to output the voltage of the electrical signal input to the second input end of the switch switching module.

[0038] In some possible designs, the system further includes a pulse width modulation (PWM) control module, wherein an input terminal of the PWM control module is connected to the fourth output terminal of the audio processor, and an output terminal of the PWM control module is connected to the second input terminal of the boost module.

[0039] The audio processor is further configured to:

[0040] Acquiring PWM information, the PWM information including a correspondence between a plurality of volume levels and a plurality of PWM duty cycles; determining a target PWM duty cycle corresponding to the volume level of the audio to be played based on the PWM information and the volume level of the audio stream to be played; and controlling the PWM control module to update the PWM duty cycle to the target PWM duty cycle.

[0041] It can be understood that the effects obtainable in the second aspect can be referred to the description in the first aspect and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] FIG1 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;

[0043] FIG2 is a software structure block diagram of a terminal device applicable to an embodiment of the present application;

[0044] FIG3 is a schematic diagram of an audio system of an existing terminal device;

[0045] FIG4 is a schematic diagram of an audio system 400 provided in one embodiment of the present application;

[0046] FIG5 is a schematic diagram of an audio stream provided by an embodiment of the present application;

[0047] FIG6 is a schematic diagram of an audio system 400 provided in another embodiment of the present application;

[0048] FIG7 is a schematic diagram of an audio system 400 provided in yet another embodiment of the present application;

[0049] FIG8 is a schematic diagram of an audio system 400 provided in yet another embodiment of the present application;

[0050] FIG9 is a schematic diagram of a terminal device provided in this application. DETAILED DESCRIPTION

[0051] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0052] To facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the first information and the second information are merely used to distinguish different information and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity or execution order, and words such as "first" and "second" do not necessarily limit differences.

[0053] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c; a and b; a and c; b and c; or a, b, and c. Among them, a, b, and c can be single or multiple.

[0054] The terminal devices in the embodiments of the present application may be wearable terminal devices such as mobile phones, tablet computers, personal computers (PCs), smart screens, car equipment, and smart watches. They may also be various teaching aids (such as learning machines, early childhood education machines), smart toys, portable robots, personal digital assistants (PDAs), augmented reality (AR) devices, virtual reality (VR) devices, etc. They may also be devices with mobile office functions, devices with smart home functions, devices with audio and video entertainment functions, devices that support smart travel, etc. It should be understood that the embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal devices.

[0055] In order to better understand the embodiments of the present application, the hardware structure of the terminal device of the embodiment of the present application is introduced below. For example, Figure 1 is a schematic diagram of the structure of a terminal device provided in the embodiment of the present application.

[0056] The terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0057] Optionally, the sensor module 180 may include a pressure sensor 180A, a touch sensor 180B, and the like.

[0058] It is understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0059] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, etc. The different processing units may be independent devices or integrated into one or more processors. The processor 110 may also include a memory for storing instructions and data.

[0060] USB interface 130 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. USB interface 130 can be used to connect a charger to charge the terminal device, or to transfer data between the terminal device and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect to other terminal devices, such as AR devices.

[0061] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While the charging management module 140 is charging the battery 142, it can also charge the terminal device through the power management module 141.

[0062] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the camera 193, the display 194, the audio module 170, the wireless communication module 160, and the like. In some embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.

[0063] Optionally, in some embodiments, the power management module 141 may also be referred to as a battery management unit (PMU), and the PMU may be used to obtain status information of the battery 142 , such as the remaining power and temperature of the battery 142 .

[0064] The wireless communication function of the terminal device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0065] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. The antennas in a terminal device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.

[0066] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for terminal devices. The mobile communication module 150 may include at least one filter, switch, power amplifier, and low-noise amplifier (LNA). The mobile communication module 150 receives electromagnetic waves from antenna 1, filters and amplifies the received electromagnetic waves, and transmits them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor and convert them into electromagnetic waves for radiation via antenna 1.

[0067] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), etc. applied to terminal devices. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0068] In some embodiments, antenna 1 of the terminal device is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology.

[0069] The camera 193 is used to capture static images or videos. In some embodiments, the terminal device may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0070] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the terminal device may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0071] In an embodiment of the present application, the display screen 194 may display a preset application interface and a volume bar interface, etc. The preset application interface may include: a video frame image and video duration, etc. When the video frame image is displayed on the display screen 194, the volume bar displayed on the display screen 194 may indicate the current volume value.

[0072] In some embodiments of the present application, the preset application may include, but is not limited to, video playback applications, audio playback applications, game applications, shopping applications, social applications, and other applications that can play audio. The audio stream of the preset application may include, but is not limited to, a relatively complete audio segment, that is, the currently buffered audio segment, or audio of several minutes or more than ten minutes, such as a song or audio from a video.

[0073] The terminal device can implement display functions through a graphics processing unit (GPU), display screen 194, and application processor. The GPU is a microprocessor for image processing that connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The GPU can also be called a display core, a visual processor, or a display chip.

[0074] The terminal device can realize the shooting function through the ISP, camera 193, video codec, GPU, display 194 and application processor.

[0075] Video codecs are used to compress or decompress digital video. Terminal devices may support one or more video codecs. This allows them to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4. Furthermore, terminal devices can encapsulate and play audio, video, and screen recordings.

[0076] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0077] The internal memory 121 can be used to store computer-executable program code, which includes instructions. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store applications required for at least one function of the operating system (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the terminal device (such as audio data, a phone book, etc.).

[0078] The terminal device can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0079] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The speaker 170A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The terminal device can listen to music or listen to hands-free calls through the speaker 170A. The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. When the terminal device answers a call or voice message, the voice can be heard by placing the receiver 170B close to the human ear. The microphone 170C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals. The headphone jack 170D is used to connect wired headphones.

[0080] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be set on the display screen 194. When a touch operation is applied to the display screen 194, the terminal device can detect the intensity of the touch operation based on the pressure sensor 180A. The terminal device can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. The touch sensor 180B can be set on the display screen 194, and the touch sensor 180B and the display screen 194 form a touch screen, also known as a "touch screen". The touch sensor 180B is used to detect touch operations applied thereto or nearby. The touch sensor 180B can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180B can also be set on the surface of the mobile phone, at a different location from the display screen 194.

[0081] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The terminal device may receive key inputs and generate key signal inputs related to the user settings and function control of the terminal device. The motor 391 may generate vibration prompts. The indicator 192 may be an indicator light that may be used to indicate the charging status, power level changes, messages, missed calls, notifications, and the like. The timer 196 may be used to record time information. For example, when the terminal device is recording a video, the start and end times of the video may be recorded, as well as the duration of the recorded video.

[0082] In the embodiments of the present application, as examples, the software system of the terminal device can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a microservice architecture, or a cloud architecture. The layered architecture can adopt the Android system, the Apple (IOS) system, or other operating systems, which are not limited in the embodiments of the present application. The following uses the Android system with a layered architecture as an example to illustrate the software structure of the terminal device.

[0083] Figure 2 is a block diagram of the software structure of a terminal device applicable to embodiments of the present application. A layered architecture divides the terminal device's software system into several layers, each with distinct roles and divisions of labor. Layers communicate with each other via software interfaces. In some embodiments, the system may include an application layer, an application framework layer, an Android runtime and system libraries, a hardware abstraction layer (HAL), and a kernel layer.

[0084] The application layer may include a series of application packages, and the application layer runs applications by calling the application programming interface (API) provided by the application framework layer.

[0085] For example, the application package may include applications such as camera, gallery, calendar, call, map, navigation, wireless local area network (WLAN), Bluetooth, music, video, short message, lock screen application, etc. Of course, the application layer may also include third-party application packages, such as social applications, third-party music applications, third-party video applications, payment applications, shopping applications, banking applications, chat applications, or financial management applications, etc., which are not limited in this application.

[0086] Among them, the social application can have the function of playing video and audio. In response to the user's operation of playing a video, the terminal device can play the video frame and the corresponding audio. In a possible design of this application, the social application can call the media playback interface to start (one or more) players of the system in response to the user's operation of playing a video.

[0087] In some embodiments of the present application, when the terminal device plays audio, the terminal device can set the audio volume level in response to user operation. When the terminal device automatically plays a video, the terminal device can play the audio corresponding to the video based on the set volume level.

[0088] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions. For example, it may include an activity manager, a window manager, a content provider, a view system, a resource manager, and an audio service, etc., which are not limited in this embodiment of the application.

[0089] Among them, the audio service can be started during the boot-up phase of the terminal device, and the audio service can be used to transmit and save relevant audio data information of the audio module.

[0090] The Android runtime consists of core libraries, a virtual machine, and a virtual machine monitor (VMM). The Android runtime is responsible for scheduling and management of the Android system. The core libraries consist of two parts: one for Java-based functions and the other for the Android core library. The application layer and application framework layer run in the virtual machine. The virtual machine executes Java files from the application layer and application framework layer as binary files. The virtual machine is responsible for performing functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0091] The system library can contain modules with multiple functions, such as: surface manager, media library, 3D graphics processing library, and recognition algorithm module.

[0092] The surface manager manages the display subsystem and provides fusion of two-dimensional and three-dimensional layers for multiple applications. The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support multiple audio and video encoding formats, such as JPG, PNG, etc. The three-dimensional graphics processing library is used to implement three-dimensional graphics drawing, image rendering, synthesis, and layer processing. The recognition algorithm module can be used for sign language recognition, speech recognition, and text semantic recognition. Sign language recognition refers to recognizing speech or text as sign language, speech recognition refers to recognizing sign language or text as speech, and text semantic recognition refers to recognizing sign language or speech as text.

[0093] The HAL layer is an encapsulation of the Linux kernel driver, providing an interface to the upper layer and shielding the implementation details of the low-level hardware.

[0094] The HAL layer may include Wi-Fi HAL, audio HAL, and camera HAL.

[0095] In the embodiment of the present application, the audio HAL is the core software framework of the audio module. The audio HAL may include an audio stream control module, a whitelist identification module, a volume value monitoring module, an audio data stream monitoring module, a virtual write operation module, etc. Among them, the audio stream control module can manage an actual audio stream, for example, it can open an audio stream, close an audio stream, etc.

[0096] The kernel layer is the layer between hardware and software. It drives the hardware, making it work. The kernel layer includes at least the display driver, camera driver, audio driver, and sensor driver. The audio driver, which drives audio-related devices (such as speakers), is primarily responsible for interacting with the hardware.

[0097] In the embodiment of the present application, the audio driver may include a driver corresponding to a speaker, a driver corresponding to a receiver, and a driver corresponding to a microphone.

[0098] The hardware layer includes displays, cameras, speakers, receivers, and microphones.

[0099] It is understandable that the software structure of the terminal device in the embodiment shown in FIG2 is only a simple example and does not limit the scope of the present application.

[0100] Terminal devices can output audio through an audio system to meet user needs. Figure 3 shows a schematic diagram of an existing audio system for a terminal device. As shown in Figure 3, the audio system includes an audio amplifier and a speaker. The audio amplifier can be powered by a 4.2V battery. After receiving an electrical signal, the audio amplifier can amplify the signal to drive the speaker to produce sound.

[0101] However, it was found during use that when the terminal device outputs audio based on the audio system, the sound effect of the terminal device is poor.

[0102] To this end, the present application can provide an audio system, which can be applied to a terminal device to solve the problem of poor sound quality of the terminal device.

[0103] In the audio system of the present application, a high-power audio amplifier is added to the existing audio amplifier. The existing audio amplifier can be referred to as a first audio amplifier, which can be connected to a first speaker, and the high-power audio amplifier can be referred to as a second audio amplifier, which can be connected to a second speaker. The audio system can be powered by a battery.

[0104] In the system, the output power of the second audio power amplifier is greater than the output power of the first audio power amplifier, and the driving capability of the second speaker can be improved based on the second audio power amplifier.

[0105] In the system, the first audio power amplifier and the second audio power amplifier can be used to receive a treble audio stream and a bass audio stream respectively.

[0106] In the present application, an audio stream having a frequency greater than a first crossover point in the audio stream may be determined as a treble audio stream, and an audio stream having a frequency less than a second crossover point in the audio stream may be determined as a bass audio stream.

[0107] The first crossover frequency point can be dynamically adjusted based on the volume level, battery charge, and battery temperature. For example, the first crossover frequency point may be higher when the remaining battery charge is lower, higher when the battery temperature is higher, and lower when the volume level of the audio stream to be played is lower.

[0108] The second crossover frequency can also be dynamically adjusted based on the volume level, battery charge, and battery temperature. For example, the second crossover frequency may be lower when the remaining battery charge is lower, lower when the battery temperature is higher, or lower when the volume level of the audio stream to be played is lower.

[0109] In other words, the treble audio stream and the bass audio stream can be dynamically adjusted based on the volume level, battery power, and battery temperature, which can improve the sound quality of the terminal device while also improving the battery life of the terminal device.

[0110] Furthermore, the audio system may also include a boost module, which can boost the battery voltage to increase the input voltage of the second audio amplifier, which is beneficial to increase the output power of the second audio amplifier and further improve the sound effect of the second speaker.

[0111] Furthermore, the audio system may further include a switch module, through which the input voltage of the second audio power amplifier can be switched to the voltage output by the battery or a voltage obtained by boosting the battery voltage.

[0112] As an example, when the volume level of the audio stream is lower than a preset volume level, or the remaining battery power is lower than a preset power threshold, or the battery temperature is higher than a preset temperature threshold, the switch switching module can switch the input voltage of the second audio amplifier to the battery output voltage.

[0113] As another example, when the volume level of the audio stream is greater than or equal to a preset volume level, the remaining battery power is greater than or equal to a preset power threshold, and the battery temperature is less than or equal to a preset temperature threshold, the switch switching module can switch the input voltage of the second audio amplifier to a voltage obtained by boosting the battery voltage.

[0114] The input voltage of the second audio amplifier can be dynamically adjusted through the switch switching module, which is beneficial to improving the battery life of the terminal device.

[0115] Furthermore, the audio system may also include a pulse width modulation (PWM) control module that adjusts the PWM duty cycle. This allows the output voltage of the boost module to be dynamically adjusted when the boost module is used to power the second audio amplifier. In other words, dynamically adjusting the input voltage of the second audio amplifier can improve the battery life of the terminal device.

[0116] Next, the present application will provide a detailed introduction to the solution of the present application in conjunction with Figures 4 to 9.

[0117] Figure 4 is a schematic diagram of an audio system 400 provided in an embodiment of the present application. As shown in Figure 4, the audio system 400 may include an audio processor 401, a first audio amplifier 402, a second audio amplifier 403, a first speaker 404, and a second speaker 405. The audio system 400 may be applied to a terminal device.

[0118] The first output terminal 401 - 1 of the audio processor 401 may be connected to the first input terminal 402 - 1 of the first audio amplifier 402 , and the second output terminal 401 - 2 of the audio processor 401 may be connected to the first input terminal 403 - 1 of the second audio amplifier 403 .

[0119] The output terminal 402 - 2 of the first audio amplifier 402 can be connected to the input terminal 404 - 1 of the first speaker 404 , and the output terminal 403 - 2 of the second audio amplifier 403 can be connected to the input terminal 405 - 1 of the second speaker 405 .

[0120] The audio system 400 may be powered by a battery, and the battery may be used to power the first audio power supply 402 and the second audio power amplifier 403 .

[0121] In this system, the output voltage of the battery can be 8.4 V. In some embodiments, the battery can be formed by connecting two 4.2 V batteries in series.

[0122] In this system, the power consumption of the first speaker 404 may be greater than the power consumption of the second speaker 405. As an example, the power consumption of the first speaker 404 may be 4W, and the power consumption of the second speaker may be 9W.

[0123] Optionally, there may be at least one first audio power amplifier 402. Each first audio power amplifier 402 may also be connected to at least one first speaker 404.

[0124] Optionally, the number of the second audio power amplifier 403 may also be at least one, and the number of the second speakers 405 connected to each second audio power amplifier 403 may also be at least one.

[0125] In this system, the output power of the second audio power amplifier 403 can be greater than the output power of the first audio power amplifier 402 . The second audio power amplifier 403 can improve the driving capability of the second speaker 405 , thereby improving the sound quality of the second speaker 405 .

[0126] Optionally, the system may further include a voltage reduction module 406 .

[0127] The input terminal 406 - 1 of the step-down module 406 may be connected to a battery, and the output terminal 406 - 2 of the step-down module 406 may be connected to the second input terminal 402 - 3 of the first audio amplifier 402 .

[0128] The voltage reduction module 406 can be configured to receive a first electrical signal from a battery, reduce the voltage of the first electrical signal to obtain a second electrical signal, and output the second electrical signal to the first audio amplifier 402. The voltage of the first electrical signal can be 8.4V, and the voltage of the second electrical signal can be lower than the voltage of the first electrical signal. For example, the voltage of the second electrical signal can be 4.2V.

[0129] In the system, the power consumption of the first audio amplifier 402 is less than that of the second audio amplifier 403. As an example, the first audio amplifier 402 may be an audio amplifier in an existing audio system, and the second audio amplifier 403 may be a high-power audio amplifier.

[0130] In this system, the audio processor 401 can be used to: obtain audio information of the audio stream to be played, the audio information including the volume level of the audio stream to be played; obtain battery status information, the status information including the remaining battery power and / or battery temperature; determine the treble audio stream and the bass audio stream in the audio stream to be played based on the audio information and the status information; output the treble audio stream to the first input terminal 402-1 of the first audio power amplifier 402; and output the bass audio stream to the first input terminal 403-1 of the second audio power amplifier 403.

[0131] In some possible implementations, the audio processor 401 may obtain audio information of the audio stream to be played based on an operating system of the terminal device.

[0132] As an example, the terminal device can determine the audio information of the audio stream to be played based on the application framework layer and send the audio information to the hardware abstraction layer. After receiving the audio information, the hardware abstraction layer can send the audio information to the audio processor 401. Accordingly, the audio processor 401 receives the audio information.

[0133] Optionally, the audio information may further include the audio type of the audio stream to be played.

[0134] In the present application, the audio system may include multiple audio streams, and the audio stream to be played may be any one of these multiple audio streams.

[0135] As shown in FIG5 , assuming that 11 audio streams are included, each of the 11 audio streams has its own corresponding audio type, audio value, and audio name. Each audio stream has its own corresponding volume level, and the number of volume levels corresponding to different audio streams can be the same. In some embodiments, each audio stream can correspond to 16 volume levels.

[0136] Optionally, after the user inputs a volume operation instruction on the terminal device, the terminal device can also obtain the user's volume operation instruction through the application framework layer and determine the current volume level based on the user's volume operation instruction. For example, the volume operation instruction may include increasing the volume or decreasing the volume.

[0137] Optionally, each audio stream has its own corresponding mode or input source. When the application framework layer sends the audio type of the audio stream to be played to the hardware abstraction layer, the application framework layer can first convert the audio type of the audio stream to be played into the mode or input source of the audio stream to be played, and then send the mode or input source of the audio stream to be played to the hardware abstraction layer. In this way, the hardware abstraction layer can determine the audio type corresponding to the mode or input source based on the mode or input source.

[0138] In some possible implementations, the audio processor 401 may obtain battery status information based on an operating system of the terminal device.

[0139] As an example, the kernel layer of the terminal device can obtain battery status information from the PMU and send the battery status information to the hardware abstraction layer. Accordingly, after receiving the battery status information, the hardware abstraction layer can send the battery status information to the audio processor 401. Accordingly, the audio processor 401 receives the battery status information.

[0140] Optionally, when the audio processor 401 determines the treble audio stream and the bass audio stream in the audio stream to be played based on the audio information and the status information, it can be specifically used to: determine a first crossover point based on the audio information and the battery status information, and determine the audio stream in the audio stream to be played whose frequency is greater than the first crossover point as the treble audio stream; and determine a second crossover point based on the audio information and the status information, and determine the audio stream in the audio stream to be played whose frequency is less than the second crossover point as the bass audio stream.

[0141] The first crossover frequency can be dynamically adjusted based on audio information and battery status information. For example, the first crossover frequency may be higher when the battery power is lower, higher when the battery temperature is higher, or lower when the volume level of the audio stream to be played is lower.

[0142] The second crossover frequency can also be dynamically adjusted based on audio information and battery status information. For example, the second crossover frequency may be lower when the battery power is lower, the battery temperature is higher, or the volume level of the audio stream to be played is lower.

[0143] The higher the first crossover frequency point, the fewer audio streams with frequencies greater than the first crossover frequency point in the audio stream to be played, that is, the fewer high-pitched audio streams are input into the first audio power amplifier, and the lower the power consumption of the first audio power amplifier, which is beneficial to reducing battery power consumption and improving battery life.

[0144] The lower the second crossover frequency point is, the fewer audio streams with frequencies lower than the second crossover frequency point are in the audio stream to be played, that is, the fewer bass audio streams are input into the second audio power amplifier, and the lower the power consumption of the second audio power amplifier is, which is beneficial to reducing battery power consumption and improving battery life.

[0145] Furthermore, the audio system 400 may further include a boost module 407 . As shown in FIG6 , a first input terminal 407 - 1 of the boost module 407 may be connected to a battery, and an output terminal 407 - 2 of the boost module 407 may be connected to a second input terminal 403 - 3 of the second audio amplifier 403 .

[0146] The boost module 407 can be configured to receive a first electrical signal from a battery, boost the first electrical signal to generate a third electrical signal, and output the third electrical signal to the second audio amplifier 403. The voltage of the first electrical signal can be 8.4V, and the voltage of the third electrical signal is greater than that of the first electrical signal. For example, the voltage of the third electrical signal can range from 10V to 12V.

[0147] In this system, the boost module 407 can increase the input voltage of the second audio power amplifier 403 , thereby increasing the output power of the second audio power amplifier 403 , which is beneficial to further improve the sound quality of the second speaker 405 .

[0148] Furthermore, the audio system 400 may further include a switching module 408. As shown in FIG7 , a first input terminal 408-1 of the switching module 408 is connected to a battery, a second input terminal 408-2 of the switching module 408 is connected to an output terminal 407-2 of the boost module 407, an output terminal 408-3 of the switching module 408 is connected to a second input terminal 403-3 of the second audio amplifier 403, and a third input terminal 408-4 of the switching module 408 is connected to a third output terminal 401-3 of the audio processor 401.

[0149] The switch module 408 may be configured to receive the first electrical signal from the battery or the third electrical signal from the boost module 407 , and transmit the first electrical signal or the third electrical signal to the second audio power amplifier 403 .

[0150] In this system, the audio processor 401 can also be used to: control the switch switching module 408 to output the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408 or control the switch switching module 408 to output the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408 based on audio information and battery status information.

[0151] The electrical signal input to the first input terminal 408 - 1 of the switch module 408 may be a first electrical signal, and the electrical signal input to the second input terminal 408 - 2 of the switch module 408 may be a third electrical signal.

[0152] In some possible implementations, the audio processor 401 can control the switch switching module 408 to output the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408 or control the switch switching module 408 to output the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408 based on the operating system of the terminal device.

[0153] In the system, the input voltage of the second audio power amplifier 403 can be switched by the switch module 408 to dynamically adjust the input voltage of the second audio power amplifier 403, which is beneficial to improving the endurance of the terminal device.

[0154] In some possible implementations, the audio processor 401 controls the switch switching module 408 to output the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408 or controls the switch switching module 408 to output the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408 based on the audio information and the battery status information. Specifically, when the volume level of the audio stream to be played is less than a preset volume level, or the remaining battery power is less than a preset power threshold, or the battery temperature is greater than a preset temperature threshold, the switch switching module 408 is controlled to output the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408; and when the volume level of the audio stream to be played is greater than or equal to the preset volume level, the remaining battery power is greater than or equal to the preset power threshold, and the battery temperature is less than or equal to the preset temperature threshold, the switch switching module 408 is controlled to output the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408.

[0155] The preset volume level may be a volume level set in advance. For example, the preset volume level may be level 13.

[0156] The preset power threshold may also be a power threshold set in advance. For example, the preset power threshold may be 70%.

[0157] The preset temperature threshold may also be a temperature threshold set in advance. As an example, the preset temperature threshold may be 40°C.

[0158] In some possible implementations, the audio processor 401 can control the switch switching module 408 to output the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408 or control the switch switching module 408 to output the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408 based on the operating system of the terminal device.

[0159] For example, when the volume level of the audio stream to be played is less than a preset volume level, or the remaining battery power is less than a preset power threshold, or the battery temperature is greater than a preset temperature threshold, the audio processor 401 can send a first indication message to the HAL layer of the terminal device, where the first indication message is used to instruct the control switch switching module 408 to output the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408. Accordingly, after receiving the first indication message, the HAL layer of the terminal device can send the first indication message to the kernel layer of the terminal device. After receiving the first indication message, the kernel layer of the terminal device drives the switch switching module 408 to output the voltage of the electrical signal input to the first input terminal 408-1 of the switch switching module 408.

[0160] For another example, when the volume level of the audio stream to be played is greater than or equal to a preset volume level, the remaining battery power is greater than or equal to a preset power threshold, and the battery temperature is less than or equal to a preset temperature threshold, the audio processor 401 may send a second indication message to the HAL layer of the terminal device, where the second indication message is used to instruct the control switch switching module 408 to output the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408. Accordingly, after receiving the second indication message, the HAL layer of the terminal device may send the second indication message to the kernel layer of the terminal device. After receiving the second indication message, the kernel layer of the terminal device drives the switch switching module 408 to output the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408.

[0161] In this system, the electrical signal input to the first input terminal 408-1 of the switching module 408 may be a first electrical signal, and the electrical signal input to the second input terminal 408-2 of the switching module 408 may be a third electrical signal, where the voltage of the first electrical signal is lower than the voltage of the third electrical signal. When the volume level of the audio stream to be played is low, the remaining battery power is low, or the battery temperature is high, the voltage of the first electrical signal can be transmitted to the second audio amplifier 403 via the switching module 408, thereby reducing the power consumption of the second audio amplifier 403. When the volume level of the audio stream to be played is high, the remaining battery power is high, and the battery temperature is low, the voltage of the third electrical signal can be transmitted to the second audio amplifier 403 via the switching module 408, thereby further increasing the output power of the second audio amplifier 403 while ensuring the battery life of the terminal device, that is, further improving the driving capability of the second speaker 405.

[0162] Furthermore, the audio system 400 may further include a PWM control module 409. As shown in FIG8 , an input terminal 409-1 of the PWM control module 409 is connected to the fourth output terminal 401-4 of the audio processor 401, and an output terminal 409-2 of the PWM control module 409 is connected to the second input terminal 407-3 of the boost module 407.

[0163] The PWM control module 409 can be used to adjust the PWM duty cycle, and thus dynamically adjust the output voltage of the boost module 407, which is beneficial to improving the endurance of the terminal device.

[0164] In this system, the audio processor 401 can also be used to: obtain PWM information, the PWM information including the correspondence between multiple volume levels and multiple PWM duty cycles; determine the target PWM duty cycle corresponding to the volume level of the audio to be played based on the PWM information and the volume level of the audio stream to be played; and control the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle.

[0165] In some possible implementations, the audio processor 401 may obtain PWM information from an operating system of the terminal device.

[0166] As an example, the PWM information may be configured in advance into the hardware abstraction layer of the terminal device. The hardware abstraction layer of the terminal device may send the PWM information to the audio processor 401, and accordingly, the audio processor 401 receives the PWM information.

[0167] In some possible implementations, the audio processor 401 may control the PWM control module 409 through the operating system of the terminal device to update the PWM duty cycle to the target PWM duty cycle.

[0168] For example, after the audio processor 401 determines the target PWM duty cycle corresponding to the volume level of the audio to be played based on the PWM information and the volume level of the audio stream to be played, it can send third indication information to the HAL layer of the terminal device. The third indication information is used to instruct the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle. Accordingly, after the HAL layer of the terminal device receives the third indication information, it can send the third indication information to the kernel layer of the terminal device. After receiving the third indication information, the kernel layer of the terminal device drives the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle.

[0169] Optionally, the target duty cycle may also be determined by the HAL layer of the terminal device.

[0170] For example, the audio processor 401 can send a second indication message to the HAL layer of the terminal device. After receiving the second indication message, the HAL layer of the terminal device can determine, based on the second indication message, that it is necessary to control the switch switching module 408 to output the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408. The HAL layer of the terminal device can then determine the target PWM duty cycle corresponding to the volume level of the audio to be played based on the PWM information, and send a third indication message to the kernel layer of the terminal device. The third indication message is used to instruct the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle. Accordingly, after receiving the third indication message, the kernel layer of the terminal device drives the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle.

[0171] Figure 9 is a schematic diagram of a terminal device provided by the present application, which may include a battery and an audio system. The audio system includes an audio processor, a first audio amplifier, a second audio amplifier, a first speaker, a second speaker, and a step-down module. The first output of the audio processor is connected to the first input of the first audio amplifier, the second output of the audio processor is connected to the first input of the second audio amplifier, the output of the first audio amplifier is connected to the input of the first speaker, and the output of the second audio amplifier is connected to the input of the second speaker. The audio system is powered by a battery, the input of the step-down module is used to connect to the battery, the output of the step-down module is connected to the second input of the first audio amplifier, and the second audio amplifier consumes more power than the first audio amplifier.

[0172] The audio processor can be used to: obtain audio information of the audio stream to be played, the audio information of the audio stream to be played includes the volume level of the audio stream to be played; obtain battery status information, the battery status information includes the remaining battery power and / or the battery temperature; determine the treble audio stream and the bass audio stream in the audio stream to be played based on the audio information and the status information; output the treble audio stream to the input end of the first audio power amplifier; output the bass audio stream to the input end of the second audio power amplifier.

[0173] In the terminal device, the structure and function of the audio system may refer to the audio system 400 in the aforementioned embodiment, and will not be described in detail here.

[0174] In the above embodiments, all or part of the embodiments may be implemented using software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are performed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable device. The computer program or instructions may be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions may be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; an optical medium, such as a digital video disk; or a semiconductor medium, such as a solid-state drive.

[0175] In the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

[0176] It is understood that the various numbers used in the embodiments of this application are merely for ease of description and are not intended to limit the scope of the embodiments of this application. The order of the sequence numbers of the above-mentioned processes does not necessarily imply a specific order of execution; the order of execution of the processes should be determined by their functions and inherent logic.

Claims

1. An audio system, characterized in that: The audio system comprises an audio processor, a first audio power amplifier, a second audio power amplifier, a first speaker, a second speaker and a buck module, wherein a first output end of the audio processor is connected to a first input end of the first audio power amplifier, a second output end of the audio processor is connected to a first input end of the second audio power amplifier, an output end of the first audio power amplifier is connected to an input end of the first speaker, an output end of the second audio power amplifier is connected to an input end of the second speaker, the audio system is powered by a battery, an input end of the buck module is used to connect to the battery, an output end of the buck module is connected to a second input end of the first audio power amplifier, and a power consumption of the second audio power amplifier is greater than that of the first audio power amplifier; The audio processor is used to: Acquire audio information of an audio stream to be played, wherein the audio information includes a volume level of the audio stream to be played; Acquiring status information of the battery, wherein the status information includes the remaining power of the battery and / or the temperature of the battery; Determine a treble audio stream and a bass audio stream in the audio stream to be played based on the audio information and the state information; Outputting the high-frequency audio stream to a first input terminal of the first audio power amplifier; The bass audio stream is output to the first input terminal of the second audio power amplifier.

2. The system according to claim 1, characterized in that When the audio processor determines the treble audio stream and the bass audio stream in the audio stream to be played based on the audio information and the state information, the audio processor is specifically used to: Determine a first frequency division point based on the audio information and the state information, wherein the first frequency division point is higher when the remaining power of the battery is lower, the first frequency division point is higher when the temperature of the battery is higher, and the first frequency division point is higher when the volume level of the audio stream to be played is lower; Determine an audio stream with a frequency greater than the first frequency division point in the audio stream to be played as a high-pitch audio stream; Determine a second frequency division point based on the audio information and the state information, wherein the second frequency division point is lower when the remaining power of the battery is lower, the second frequency division point is lower when the temperature of the battery is higher, and the second frequency division point is lower when the volume level of the audio stream to be played is lower; An audio stream having a frequency lower than the second frequency division point in the audio stream to be played is determined as a bass audio stream.

3. The system according to claim 2, characterized in that The system further comprises a boost module, a first input end of the boost module is used to connect to the battery, and an output end of the boost module is connected to a second input end of the second audio power amplifier.

4. The system according to claim 3, characterized in that The system further comprises a switch switching module, wherein a first input end of the switch switching module is used to connect to the battery, a second input end of the switch switching module is connected to an output end of the boost module, an output end of the switch switching module is connected to a second input end of the second audio power amplifier, and a third input end of the switch switching module is connected to a third output end of the audio processor; The audio processor is also used for: Based on the audio information and the state information, the switch switching module is controlled to output the voltage of the electrical signal input to the first input terminal of the switch switching module or the switch switching module is controlled to output the voltage of the electrical signal input to the second input terminal of the switch switching module.

5. The system according to claim 4, characterized in that When the audio processor controls the switch switching module to output the voltage of the electrical signal input to the first input terminal of the switch switching module or controls the switch switching module to output the voltage of the electrical signal input to the second input terminal of the switch switching module based on the audio information and the state information, the audio processor is specifically used to: When the volume level of the audio stream to be played is less than a preset volume level, or the remaining power of the battery is less than a preset power threshold, or the temperature of the battery is greater than a preset temperature threshold, controlling the switch switching module to output the voltage of the electrical signal input to the first input end of the switch switching module; When the volume level of the audio stream to be played is greater than or equal to the preset volume level, the remaining power of the battery is greater than or equal to the preset power threshold, and the temperature of the battery is less than or equal to the preset temperature threshold, the switch switching module is controlled to output the voltage of the electrical signal input to the second input end of the switch switching module.

6. The system according to claim 5, characterized in that The system further comprises a pulse width modulation (PWM) control module, wherein an input end of the PWM control module is connected to a fourth output end of the audio processor, and an output end of the PWM control module is connected to a second input end of the boost module; The audio processor is also used for: Acquire PWM information, where the PWM information includes a correspondence between a plurality of volume levels and a plurality of PWM duty cycles; Determining a target PWM duty cycle corresponding to the volume level of the audio to be played based on the PWM information and the volume level of the audio stream to be played; The PWM control module is controlled to update the PWM duty cycle to the target PWM duty cycle.

7. A terminal device, characterized in that: The terminal device includes a battery and an audio system, the audio system includes an audio processor, a first audio power amplifier, a second audio power amplifier, a first speaker, a second speaker and a buck module, the first output end of the audio processor is connected to the first input end of the first audio power amplifier, the second output end of the audio processor is connected to the first input end of the second audio power amplifier, the output end of the first audio power amplifier is connected to the input end of the first speaker, the output end of the second audio power amplifier is connected to the input end of the second speaker, the audio system is powered by the battery, the input end of the buck module is used to connect to the battery, the output end of the buck module is connected to the second input end of the first audio power amplifier, and the power consumption of the second audio power amplifier is greater than that of the first audio power amplifier; The audio processor is used to: Acquire audio information of an audio stream to be played, wherein the audio information includes a volume level of the audio stream to be played; Acquiring status information of the battery, wherein the status information includes the remaining power of the battery and / or the temperature of the battery; Determine a treble audio stream and a bass audio stream in the audio stream to be played based on the audio information and the state information; Outputting the high-frequency audio stream to an input end of the first audio power amplifier; The bass audio stream is output to an input terminal of the second audio power amplifier.

8. The terminal device according to claim 7, characterized in that: When the audio processor determines the treble audio stream and the bass audio stream in the audio stream to be played based on the audio information and the state information, the audio processor is specifically used to: Determine a first frequency division point based on the audio information and the state information, wherein the first frequency division point is higher when the remaining power of the battery is lower, the first frequency division point is higher when the temperature of the battery is higher, and the first frequency division point is higher when the volume level of the audio stream to be played is lower; Determine an audio stream with a frequency greater than the first frequency division point in the audio stream to be played as a high-pitch audio stream; Determine a second frequency division point based on the audio information and the state information, wherein the second frequency division point is lower when the remaining power of the battery is lower, the second frequency division point is lower when the temperature of the battery is higher, and the second frequency division point is lower when the volume level of the audio stream to be played is lower; An audio stream having a frequency lower than the second frequency division point in the audio stream to be played is determined as a bass audio stream.

9. The terminal device according to claim 8, characterized in that: The system further comprises a boost module, a first input end of the boost module is used to connect to the battery, and an output end of the boost module is connected to a second input end of the second audio power amplifier.

10. The terminal device according to claim 9, characterized in that: The system further comprises a switch switching module, wherein a first input end of the switch switching module is used to connect to the battery, a second input end of the switch switching module is connected to an output end of the boost module, an output end of the switch switching module is connected to a second input end of the second audio power amplifier, and a third input end of the switch switching module is connected to a third output end of the audio processor; The audio processor is also used for: Based on the audio information and the state information, the switch switching module is controlled to output the voltage of the electrical signal input to the first input terminal of the switch switching module or the switch switching module is controlled to output the voltage of the electrical signal input to the second input terminal of the switch switching module.

11. The terminal device according to claim 10, characterized in that: When the audio processor controls the switch switching module to output the voltage of the electrical signal input to the first input terminal of the switch switching module or controls the switch switching module to output the voltage of the electrical signal input to the second input terminal of the switch switching module based on the audio information and the state information, the audio processor is specifically used to: When the volume level of the audio stream to be played is less than a preset volume level, or the remaining power of the battery is less than a preset power threshold, or the temperature of the battery is greater than a preset temperature threshold, controlling the switch switching module to output the voltage of the electrical signal input to the first input end of the switch switching module; When the volume level of the audio stream to be played is greater than or equal to the preset volume level, the remaining power of the battery is greater than or equal to the preset power threshold, and the temperature of the battery is less than or equal to the preset temperature threshold, the switch switching module is controlled to output the voltage of the electrical signal input to the second input end of the switch switching module.

12. The terminal device according to claim 11, characterized in that: The system further comprises a pulse width modulation (PWM) control module, wherein an input end of the PWM control module is connected to a fourth output end of the audio processor, and an output end of the PWM control module is connected to a second input end of the boost module; The audio processor is also used for: Acquire PWM information, where the PWM information includes a correspondence between a plurality of volume levels and a plurality of PWM duty cycles; Determining a target PWM duty cycle corresponding to the volume level of the audio to be played based on the PWM information and the volume level of the audio stream to be played; The PWM control module is controlled to update the PWM duty cycle to the target PWM duty cycle.

Citation Information

Patent Citations

  • Audio system and terminal equipment

    CN119545250A

  • Power supply apparatus, power amplifier system and audio equipment

    CN106878867A

  • Audio output control method, head-mounted device and computer readable storage medium

    CN115460532A

  • Audio signal output method, circuit and electronic equipment

    CN116261083A

  • Method and circuit for controlling an output of an audio signal of a battery-powered device

    US20100322438A1

Cited By

  • Intelligent earphone running state analysis control system based on Internet

    CN121078368A