Audio system and terminal equipment

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

CN119545250AActive Publication Date: 2025-02-28HUAWEI TECH CO LTD

Patent Information

Application Number
CN202311138519.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-08-29
Filing Date
2023-09-04
Publication Date
2025-02-28
Estimated Expiration
2043-09-04

AI Technical Summary

Technical Problem

In the prior art, the sound effect of terminal devices is poor, affecting the user experience.

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, and the sound effect and power consumption are optimized according to the battery status and volume level by dynamically adjusting the frequency division points of the treble and bass audio streams.

Benefits of technology

Improves the sound effect of the terminal device, while dynamically adjusting the audio stream and voltage, extending battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119545250A_ABST
    Figure CN119545250A_ABST
Patent Text Reader

Abstract

The invention provides an audio system and terminal equipment, which can be applied to the technical field of audio. In the audio system, the second audio power amplifier is added on the basis of the first audio power amplifier, the first audio power amplifier is a common audio power amplifier, the second audio power amplifier is a high-power audio power amplifier, and the sound effect of the terminal equipment can be improved through the second audio power amplifier. Besides, an audio processor in the audio system can dynamically adjust audio streams input to the first audio power amplifier and the second audio power amplifier according to the volume level, the battery electric quantity or the battery temperature, and can dynamically adjust the input voltage of the second audio power amplifier according to the volume level, the battery electric quantity or the battery temperature. While the sound effect of the terminal equipment is improved, the power consumption of the terminal equipment can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority of the Chinese patent application filed with the China Patent Office on August 29, 2023, with application number 202311103334.7 and application name “A Audio System and Terminal Device”, all contents of which are incorporated by reference in 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. At present, in an audio system of a terminal device, the audio power amplifier can be powered by a 4.2V battery. After receiving the electrical signal, the audio power 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. Summary of the invention

[0005] 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.

[0006] 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, 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 power consumption of the second audio power amplifier is greater than that of the first audio power amplifier.

[0007] The audio processor is used to:

[0008] Acquire audio information of an audio stream to be played, the audio information including a volume level of the audio stream to be played; acquire 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.

[0009] 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.

[0010] In addition, 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.

[0011] 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 frequency division point based on the audio information and the status information, wherein the lower the remaining power of the battery is, the higher the first frequency division point is, the higher the first frequency division point is when the temperature of the battery is higher, and the lower the volume level of the audio stream to be played is, the higher the first frequency division point is; determine the audio stream in the audio stream to be played whose frequency is greater than the first frequency division point as the treble audio stream; determine a second frequency division point based on the audio information and the status information, wherein the lower the remaining power of the battery is, the lower the second frequency division point is, the higher the temperature of the battery is, the lower the second frequency division point is, and the lower the volume level of the audio stream to be played is, the lower the second frequency division point is; determine the audio stream in the audio stream to be played whose frequency is less than the second frequency division point as the bass audio stream.

[0012] 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-frequency 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.

[0013] 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.

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

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

[0016] In some possible designs, the system also includes a switch switching module, 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.

[0017] The audio processor is also used for:

[0018] 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.

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

[0020] 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 state information, the audio processor is specifically used to:

[0021] 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.

[0022] In the system, the voltage of the electric signal input to the first input end of the switch switching module may be equal to the battery voltage, the voltage of the electric signal input to the second input end of the switch switching module may be a voltage after the battery voltage is boosted, and the voltage of the electric signal input to the first input end of the switch switching module is less than the voltage of the electric signal input to the second input end of the switch switching 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 power amplifier through the switch switching module, thereby reducing the power consumption of the second audio power 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 power amplifier through the switch switching module, so that while ensuring the endurance of the terminal device, the output power of the second audio power amplifier can be further improved, that is, the driving ability of the second speaker can be further improved.

[0023] In some possible designs, the system further includes a pulse width modulation (PWM) control module, 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.

[0024] The audio processor is also used for:

[0025] Acquire PWM information, wherein the PWM information includes a correspondence between multiple volume levels and multiple PWM duty cycles; determine a target PWM duty cycle corresponding to the volume level of the audio stream 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 to update the PWM duty cycle to the target PWM duty cycle.

[0026] In the system, the PWM duty cycle can be adjusted through the PWM control module, and the output voltage of the boost module can be dynamically adjusted when the boost module supplies power to the second audio amplifier. In other words, the input voltage of the second audio amplifier is dynamically adjusted, which is conducive to improving the endurance of the terminal device.

[0027] In a second aspect, the present application provides a terminal device. 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.

[0028] The audio processor is used to:

[0029] Acquire audio information of an audio stream to be played, the audio information including a volume level of the audio stream to be played; acquire status information of the battery, the status information including a remaining power of the battery 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.

[0030] 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 frequency division point based on the audio information and the status information, wherein the lower the remaining power of the battery is, the higher the first frequency division point is, the higher the first frequency division point is when the temperature of the battery is higher, and the lower the volume level of the audio stream to be played is, the higher the first frequency division point is; determine the audio stream in the audio stream to be played whose frequency is greater than the first frequency division point as the treble audio stream; determine a second frequency division point based on the audio information and the status information, wherein the lower the remaining power of the battery is, the lower the second frequency division point is, the higher the temperature of the battery is, the lower the second frequency division point is, and the lower the volume level of the audio stream to be played is, the lower the second frequency division point is; determine the audio stream in the audio stream to be played whose frequency is less than the second frequency division point as the bass audio stream.

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

[0032] In some possible designs, the system also includes a switch switching module, 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.

[0033] The audio processor is also used for:

[0034] 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.

[0035] 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 state information, the audio processor is specifically used to:

[0036] 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.

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

[0038] The audio processor is also used for:

[0039] Acquire PWM information, wherein the PWM information includes a correspondence between multiple volume levels and multiple PWM duty cycles; determine a target PWM duty cycle corresponding to the volume level of the audio stream 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 to update the PWM duty cycle to the target PWM duty cycle.

[0040] It can be understood that the effect that can be obtained in the second aspect can refer to the description in the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0042] Figure 2 A software structure block diagram of a terminal device applicable to the embodiments of the present application;

[0043] Figure 3 A schematic diagram of an audio system of an existing terminal device;

[0044] Figure 4 A schematic diagram of an audio system 400 provided in accordance with an embodiment of the present application;

[0045] Figure 5 A schematic diagram of an audio stream provided for an embodiment of the present application;

[0046] Figure 6 A schematic diagram of an audio system 400 provided in accordance with another embodiment of the present application;

[0047] Figure 7 A schematic diagram of an audio system 400 provided in yet another embodiment of the present application;

[0048] Figure 8 A schematic diagram of an audio system 400 provided in yet another embodiment of the present application;

[0049] Fig. 9 A schematic diagram of a terminal device provided for this application. DETAILED DESCRIPTION

[0050] 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.

[0051] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first information and the second information are only used to distinguish different information, and their order is not limited. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit them to be different.

[0052] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" 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: A exists alone, A and B exist at the same time, and B exists 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" 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 and b and c. Among them, a, b, c can be single or multiple.

[0053] The terminal device of the embodiment of the present application may be a mobile phone, a tablet computer, a personal computer (PC), a smart screen, a car machine device, a wearable terminal device such as a smart watch, or various teaching aids (such as a learning machine, an early education machine), a smart toy, a portable robot, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, etc. It may also be a device with a mobile office function, a device with a smart home function, a device with an audio-visual entertainment function, a device supporting smart travel, etc. It should be understood that the embodiment of the present application does not limit the specific technology and specific device form adopted by the terminal device.

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

[0055] 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.

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

[0057] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0058] 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. Among them, different processing units may be independent devices or integrated into one or more processors. A memory may also be provided in the processor 110 for storing instructions and data.

[0059] The USB interface 130 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the terminal device, and can also be used to transfer data between the terminal device and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.

[0060] 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.

[0061] 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 supplies power to the processor 110, the internal memory 121, the external memory, the camera 193, the display screen 194, the audio module 170 and the wireless communication module 160. In some embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be disposed in the same device.

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

[0063] 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.

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

[0065] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to terminal devices. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.

[0066] 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 the terminal device. 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, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0067] 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.

[0068] 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.

[0069] 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.

[0070] In the embodiment of the present application, the interface of the preset application and the interface of the volume bar, etc. can be displayed on the display screen 194. Among them, the interface of the preset application may include: video frame pictures and video duration, etc. When the video frame pictures are displayed on the display screen 194, the volume bar displayed on the display screen 194 can indicate the current volume value.

[0071] 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 a few minutes of audio, or more than ten minutes of audio, such as a song, audio in a video, and the like.

[0072] The terminal device can realize the display function through a graphics processing unit (GPU), a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which 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, a display chip, etc.

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

[0074] Video codecs are used to compress or decompress digital videos. Terminal devices can support one or more video codecs. In this way, terminal devices can play or record videos in multiple coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc. In addition, terminal devices can realize the encapsulation and playback of audio and video data and screen recording data.

[0075] 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 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0076] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store applications required for at least one function in 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.).

[0077] The terminal device can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.

[0078] 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 answered 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.

[0079] The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be arranged on the display screen 194. When a touch operation acts on the display screen 194, the terminal device can detect the intensity of the touch operation according to the pressure sensor 180A. The terminal device can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. The touch sensor 180B can be arranged 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 acting on or near it. 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 arranged on the surface of the mobile phone, which is different from the position of the display screen 194.

[0080] The button 190 includes a power button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The terminal device can receive the button input and generate a key signal input related to the user settings and function control of the terminal device. The motor 391 can generate a vibration prompt. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The timer 196 can be used to record time information. For example, when the terminal device records a video, the start time and end time of the video can be recorded, and the duration of the recorded video can be recorded.

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

[0082] Figure 2 A software structure block diagram of a terminal device applicable to an embodiment of the present application. The layered architecture divides the software system of the terminal device into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the system may include an application layer (applications), an application framework layer (application framework), an Android runtime (Android runtime) and a system library, a hardware abstraction layer (HAL) and a kernel layer (kernel).

[0083] 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.

[0084] 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.

[0085] Among them, the social application can have the function of playing video and audio. In response to the user's operation of playing the video, the terminal device can play the video frame and the corresponding audio. In a possible design of the present 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 the video.

[0086] In some embodiments of the present application, during the process of the terminal device playing audio, the terminal device can set the volume level of the audio in response to user operation. In the case where the terminal device automatically plays a video, the terminal device can play the audio corresponding to the video based on the set volume level.

[0087] The application framework layer provides an application programming interface (API) and a programming framework for the application programs 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., and the embodiments of the present application do not impose any restrictions on this.

[0088] Among them, the audio service can be started when the terminal device is turned on, and the audio service can be used to transmit and save relevant audio data information of the audio module.

[0089] The Android runtime consists of a core library, a virtual machine, and a virtual machine monitor. The Android runtime is responsible for scheduling and management of the Android system. The core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.

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

[0091] The surface manager is used to manage the display subsystem and provides the fusion of two-dimensional and three-dimensional layers for multiple applications. The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files. The media library can support a variety of 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. Among them, 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.

[0092] 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.

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

[0094] 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 the audio stream, close the audio stream, etc.

[0095] The kernel layer is the layer between hardware and software. The kernel layer is used to drive the hardware to make it work. The kernel layer contains at least display driver, camera driver, audio driver, sensor driver, etc. Among them, the audio driver is the driver layer of audio-related devices (such as speakers), which is mainly responsible for the interaction with the hardware.

[0096] 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.

[0097] The hardware layer includes display, camera, speaker, receiver and microphone, etc.

[0098] Understandably, Figure 2 The software structure of the terminal device in the illustrated embodiment is only a simple example and does not limit the scope of the present application.

[0099] The terminal device can output audio through the audio system to meet the needs of the user. Figure 3 FIG. 1 is a schematic diagram of an audio system of an existing terminal device, such as Figure 3As shown, the audio system includes an audio power amplifier and a speaker. The audio power amplifier can be powered by a 4.2V battery. After receiving an electrical signal, the audio power amplifier can amplify the electrical signal to drive the speaker to produce sound.

[0100] 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.

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

[0102] In the audio system of the present application, a high-power audio amplifier is added on the basis of the original audio amplifier. The original audio amplifier can be called a first audio amplifier, which can be connected to a first speaker, and the high-power audio amplifier can be called a second audio amplifier, which can be connected to a second speaker. The audio system can be powered by a battery.

[0103] 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.

[0104] 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.

[0105] In the present application, an audio stream having a frequency greater than a first crossover frequency 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 frequency point in the audio stream may be determined as a bass audio stream.

[0106] The first frequency division point can be dynamically adjusted based on the volume level, battery power and battery temperature. For example, the lower the remaining battery power, the higher the first frequency division point, the higher the battery temperature, and the lower the volume level of the audio stream to be played, the higher the first frequency division point.

[0107] The second frequency division point can also be dynamically adjusted based on the volume level, battery power and battery temperature. For example, the lower the remaining battery power, the lower the second frequency division point; the higher the battery temperature, the lower the second frequency division point; and the lower the volume level of the audio stream to be played, the lower the second frequency division point.

[0108] 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.

[0109] 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 increasing the output power of the second audio amplifier and further improving the sound effect of the second speaker.

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

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

[0112] 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.

[0113] 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.

[0114] Furthermore, the audio system may also include a pulse width modulation (PWM) control module, through which the PWM duty cycle can be adjusted, 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 endurance of the terminal device.

[0115] Next, this application will combine Figures 4 to 9 , the solution of this application is introduced in detail.

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

[0117] 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 .

[0118] An output terminal 402 - 2 of the first audio power amplifier 402 may be connected to an input terminal 404 - 1 of the first speaker 404 , and an output terminal 403 - 2 of the second audio power amplifier 403 may be connected to an input terminal 405 - 1 of the second speaker 405 .

[0119] 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 .

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

[0121] In the 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.

[0122] Optionally, the number of the first audio power amplifier 402 may be at least one, and the number of the first speakers 404 connected to each first audio power amplifier 402 may also be at least one.

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

[0124] In the system, the output power of the second audio power amplifier 403 may be greater than the output power of the first audio power amplifier 402 . Based on the second audio power amplifier 403 , the driving capability of the second speaker 405 may be improved, thereby improving the sound effect of the second speaker 405 .

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

[0126] The input terminal 406 - 1 of the step-down module 406 may be used to connect 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 power amplifier 402 .

[0127] The voltage reduction module 406 may be used 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 power amplifier 402. The voltage of the first electrical signal may be 8.4V, and the voltage of the second electrical signal is less than the voltage of the first electrical signal. As an example, the voltage of the second electrical signal may be 4.2V.

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

[0129] In the system, the audio processor 401 can be used to: obtain audio information of an 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 the battery temperature; 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 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.

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

[0131] 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, and 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.

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

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

[0134] like Figure 5 As shown, it is assumed that 11 audio streams are included, and 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.

[0135] Optionally, after the user inputs a volume operation instruction on the terminal device, the terminal device may 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 and decreasing the volume.

[0136] 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 audio type of the audio stream to be played can be first converted into the mode or input source of the audio stream to be played, and then the mode or input source of the audio stream to be played is sent to the hardware abstraction layer, so that the hardware abstraction layer can determine the audio type corresponding to the mode or input source based on the mode or input source.

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

[0138] As an example, the kernel layer of the terminal device can obtain the 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.

[0139] 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 frequency division 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 frequency division point as the treble audio stream; and determine a second frequency division 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 frequency division point as the bass audio stream.

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

[0141] The second frequency division point can also be dynamically adjusted based on audio information and battery status information. For example, the lower the remaining battery power, the lower the second frequency division point; the higher the battery temperature, the lower the second frequency division point; and the lower the volume level of the audio stream to be played, the lower the second frequency division point.

[0142] The higher the first crossover frequency point is, the fewer audio streams with frequencies greater than the first crossover frequency point are in the audio stream to be played, that is, the fewer high-frequency 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.

[0143] 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.

[0144] Furthermore, the audio system 400 may further include a voltage boost module 407. Figure 6 As shown, the first input terminal 407 - 1 of the boost module 407 can be used to connect to a battery, and the output terminal 407 - 2 of the boost module 407 can be connected to the second input terminal 403 - 3 of the second audio amplifier 403 .

[0145] The boost module 407 can be used to receive a first electrical signal from a battery, boost the first electrical signal to obtain a third electrical signal, and output the third electrical signal to the second audio power amplifier 403. The voltage of the first electrical signal can be 8.4V, and the voltage of the third electrical signal is greater than the voltage of the first electrical signal. As an example, the voltage of the third electrical signal can range from 10V to 12V.

[0146] In the system, the input voltage of the second audio power amplifier 403 can be increased by the boost module 407 , thereby increasing the output power of the second audio power amplifier 403 , which is beneficial to further improve the sound effect of the second speaker 405 .

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

[0148] The switch module 408 may be configured to receive a first electrical signal from the battery or a 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 .

[0149] 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 based on audio information and battery status information, 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.

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

[0151] 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.

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

[0153] In some possible implementations, when 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, it can be specifically used to: when the volume level of the audio stream to be played is less than the preset volume level, or the remaining power of the battery is less than the preset power threshold, or the temperature of the battery is greater than the preset temperature threshold, 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; 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, 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.

[0154] The preset volume level may be a volume level set in advance. As an example, the preset volume level may be level 13.

[0155] The preset power threshold may also be a power threshold set in advance. As an example, the preset power threshold may be 70%.

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

[0157] 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.

[0158] For example, when the volume level of the audio stream to be played is less than the preset volume level, or the remaining power of the battery is less than the preset power threshold, or the temperature of the battery is greater than the preset temperature threshold, the audio processor 401 can send a first indication message to the HAL layer of the terminal device, and the first indication message is used to indicate 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.

[0159] For another example, 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 audio processor 401 may send a second indication message to the HAL layer of the terminal device, and the second indication message is used to indicate 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.

[0160] In the system, the electric signal inputted by the first input terminal 408-1 of the switch switching module 408 may be a first electric signal, and the electric signal inputted by the second input terminal 408-2 of the switch switching module 408 may be a third electric signal, and the voltage of the first electric signal is less than the voltage of the third electric signal. 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 voltage of the first electric signal may be transmitted to the second audio power amplifier 403 through the switch switching module 408, thereby reducing the power consumption of the second audio power 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 electric signal may be transmitted to the second audio power amplifier 403 through the switch switching module 408, so that while ensuring the endurance of the terminal device, the output power of the second audio power amplifier 403 may be further improved, that is, the driving capability of the second speaker 405 may be further improved.

[0161] Furthermore, the audio system 400 may further include a PWM control module 409. Figure 8 As shown, the 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 the output terminal 409 - 2 of the PWM control module 409 is connected to the second input terminal 407 - 3 of the boost module 407 .

[0162] 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.

[0163] In this system, the audio processor 401 can also be used to: obtain PWM information, the PWM information includes 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; control the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle.

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

[0165] As an example, the PWM information may be configured in advance in 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.

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

[0167] 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, the third indication information can be sent to the HAL layer of the terminal device, and the third indication information is used to instruct the control 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, the third indication information can be sent to the kernel layer of the terminal device. After the kernel layer of the terminal device receives the third indication information, it drives the PWM control module 409 to update the PWM duty cycle to the target PWM duty cycle.

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

[0169] For example, the audio processor 401 may 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 may determine the voltage of the electrical signal input to the second input terminal 408-2 of the switch switching module 408 that needs to be controlled to output the switch switching module 408 based on the second indication message. Then the HAL layer of the terminal device may 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, and the third indication message is used to instruct the control 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.

[0170] Fig. 9 A schematic diagram of a terminal device provided in the present application, the terminal device may include 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 a battery, the input end of the buck module is used to connect 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.

[0171] The audio processor can be used to: obtain audio information of an audio stream to be played, the audio information of the audio stream to be played including the volume level of the audio stream to be played; obtain battery status information, the battery status information including the remaining battery power and / or the battery temperature; 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 the input end of a first audio power amplifier; and output the bass audio stream to the input end of a second audio power amplifier.

[0172] 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.

[0173] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part 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 instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed 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 instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc; it may also be a semiconductor medium, for example, a solid-state hard disk.

[0174] In the various embodiments of the present application, unless otherwise specified or provided for in any logical conflict, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.

[0175] It is understood that the various numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal 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, the status information including 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 treble 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 treble 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, the status information including 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 treble 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

  • Power supply apparatus, power amplifier system and audio equipment

    CN106878867A

  • Audio signal control method and device

    CN115202606A

  • Device for reducing power consumption of loudspeaker system, control method and wearable equipment

    CN115209311A

  • Audio power amplifier mode switching method and device, terminal equipment and storage medium

    CN115373622A

  • High-power sound box based on hybrid power supply

    CN218734917U

Cited By

  • Audio system and terminal device

    WO2025044568A1