Audio processing method and device, electronic equipment and storage medium

By degrading the sound effect processing according to the preset mode level when the terminal device enters the preset mode, the problem of fixed power consumption reduction operation in the power saving mode in the prior art is solved, and the power saving effect and adaptability are improved.

CN120071958APending Publication Date: 2025-05-30BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311619310.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The operation of existing terminal equipment to reduce power consumption in power saving mode is fixed, and it cannot adapt to different usage scenarios, resulting in average power saving effect and adaptability.

Method used

When the device enters the preset mode, it acquires the current audio processing mode and degrades the sound effects according to the level of the preset mode to reduce power consumption. The preset mode has multiple levels, and the levels are negatively correlated with the sound level.

Benefits of technology

It realizes that when the terminal device enters the preset mode, power consumption reduction operations adapted to the use scenarios are performed, which improves power saving effect and adaptability to different use scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120071958A_ABST
    Figure CN120071958A_ABST
Patent Text Reader

Abstract

The invention relates to an audio processing method and device, electronic equipment and a storage medium, and the method comprises the steps: responding to the equipment entering a preset mode, and obtaining a currently running audio processing mode; and in response to the fact that the audio in the currently running audio processing mode has the sound effect, carrying out degradation processing on the sound effect in the audio processing mode according to the grade of the preset mode. The preset mode has a plurality of grades, and the grade of the preset mode is in negative correlation with the grade of the sound effect, so that when the equipment enters the preset mode, power consumption reduction operation adapted to the currently running audio processing mode and the grade of the preset mode can be executed, namely, the sound effect is degraded; the degraded sound effect grade is the sound effect grade corresponding to the preset mode grade, that is, the power consumption reduction operation suitable for the use scene is executed, so that the adaptability of the preset mode of the terminal equipment to the use scene is improved, and the power saving effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technologies, and particularly to an audio processing method, apparatus, electronic device, and storage medium. Background Art

[0002] In recent years, the functions of terminal devices such as smart phones and tablet computers have become increasingly rich, and their performance has become increasingly superior, which has led to higher and higher energy consumption of terminal devices. In order to improve the battery life of terminal devices, terminal devices often start the power-saving mode when the battery level is low. However, in related technologies, terminal devices only perform fixed power consumption reduction operations in the power-saving mode, and the power-saving effect is average, and the adaptability to different usage scenarios is average. Summary of the Invention

[0003] To overcome the problems existing in related technologies, embodiments of the present disclosure provide an audio processing method, apparatus, electronic device, and storage medium to solve the defects in related technologies.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an audio processing method, the method including:

[0005] In response to the device entering a preset mode, obtain the currently running audio processing mode;

[0006] In response to the audio in the currently running audio processing mode having a sound effect, perform a downgrading process on the sound effect in the audio processing mode according to the level of the preset mode, where the preset mode has multiple levels, and the level of the preset mode is negatively correlated with the level of the sound effect.

[0007] In a possible embodiment of the present disclosure, the method further includes:

[0008] In response to the device exiting the preset mode, restore the sound effect in the audio processing mode to the default level.

[0009] In a possible embodiment of the present disclosure, the method further includes:

[0010] In response to the audio in the currently running audio processing mode not having a sound effect, adjust the audio processing mode having a sound effect to an unavailable state.

[0011] In a possible embodiment of the present disclosure, the step of, in response to the audio in the currently running audio processing mode having a sound effect, performing a downgrading process on the sound effect in the audio processing mode according to the level of the preset mode, includes:

[0012] In response to the audio having sound effects in the currently running audio processing mode and the currently running audio processing mode being in an unlocked state, downgrade the sound effects in the audio processing mode according to the level of the preset mode.

[0013] In a possible embodiment of the present disclosure, the downgrading the sound effects in the audio processing mode according to the level of the preset mode includes:

[0014] Downgrade the sound effects in the audio processing mode in the application processor and the digital signal processor according to the level of the preset mode.

[0015] In a possible embodiment of the present disclosure, the method further includes:

[0016] Determine in real time whether the device enters the preset mode by means of broadcast listening and / or file listening.

[0017] In a possible embodiment of the present disclosure, the method further includes:

[0018] When the remaining power of the device is less than or equal to the power threshold, enter the preset mode and determine the level of the preset mode according to the remaining power.

[0019] According to a second aspect of the embodiments of the present disclosure, there is provided an audio processing device, the device includes:

[0020] An acquisition module, configured to acquire the currently running audio processing mode in response to the device entering the preset mode;

[0021] A downgrading module, configured to downgrade the sound effects in the audio processing mode according to the level of the preset mode in response to the audio in the currently running audio processing mode having sound effects, wherein the preset mode has multiple levels, and the level of the preset mode is negatively correlated with the level of the sound effects.

[0022] In a possible embodiment of the present disclosure, the device further includes a restoration module, configured to:

[0023] Restore the sound effects in the audio processing mode to the default level in response to the device exiting the preset mode.

[0024] In a possible embodiment of the present disclosure, the device further includes a status module, configured to:

[0025] Adjust the audio processing mode with sound effects to an unavailable state in response to the audio in the currently running audio processing mode not having sound effects.

[0026] In a possible embodiment of the present disclosure, the downgrading module is configured to:

[0027] In response to the audio having sound effects in the currently running audio processing mode and the currently running audio processing mode being in an unlocked state, the sound effects in the audio processing mode are downgraded according to the level of the preset mode.

[0028] In a possible embodiment of the present disclosure, when the downgrading module is used to downgrade the sound effects in the audio processing mode according to the level of the preset mode, it is used for:

[0029] Downgrade the sound effects in the audio processing mode in the application processor and the digital signal processor according to the level of the preset mode.

[0030] In a possible embodiment of the present disclosure, the device further includes a monitoring module, which is used for:

[0031] Determine in real time whether the device enters the preset mode by means of broadcast monitoring and / or file monitoring.

[0032] In a possible embodiment of the present disclosure, the device further includes a power module, which is used for:

[0033] When the remaining power of the device is less than or equal to the power threshold, enter the preset mode and determine the level of the preset mode according to the remaining power.

[0034] According to the third aspect of the embodiments of the present disclosure, there is provided an electronic device, which includes a memory and a processor. The memory is used to store computer instructions that can be run on the processor, and the processor is used to implement the audio processing method described in the first aspect when executing the computer instructions.

[0035] According to the fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method described in the first aspect is implemented.

[0036] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

[0037] The audio processing method provided by the embodiments of the present disclosure can, in response to the device entering a preset mode, obtain the currently running audio processing mode. Furthermore, in response to the audio in the currently running audio processing mode having sound effects, the sound effects in the audio processing mode can be downgraded according to the level of the preset mode. The preset mode has multiple levels, and the level of the preset mode is negatively correlated with the level of the sound effects. Therefore, when the device enters the preset mode, a power consumption reduction operation adapted to the currently running audio processing mode and the level of the preset mode can be performed - downgrading the sound effects so that the downgraded sound effect level is the sound effect level corresponding to the preset mode level, that is, performing a power consumption reduction operation adapted to the usage scenario, thereby improving the adaptability of the preset mode of the terminal device to the usage scenario and the power saving effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present invention and used together with the specification to explain the principles of the present invention.

[0039] Figure 1 is an architecture diagram of a device shown in an exemplary embodiment of the present disclosure;

[0040] Figure 2 is a flowchart of an audio processing method shown in an exemplary embodiment of the present disclosure;

[0041] Figure 3 is a flowchart of sound effect downgrading shown in an exemplary embodiment of the present disclosure;

[0042] Figure 4 is a flowchart of an audio processing method shown in an exemplary embodiment of the present disclosure;

[0043] Figure 5 is a schematic structural diagram of an audio processing device shown in an exemplary embodiment of the present disclosure;

[0044] Figure 6 is a structural block diagram of an electronic device shown in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0045] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0046] The terms used in this disclosure are for the purpose of describing particular embodiments only and are not intended to limit the disclosure. The singular forms "a", "the", and "said" used in this disclosure and the appended claims are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0047] It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".

[0048] In recent years, the functions of terminal devices such as smart phones and tablet computers have become increasingly rich and their performance has become increasingly superior, which has led to higher and higher energy consumption of terminal devices. In order to improve the battery life of terminal devices, terminal devices often start the power-saving mode when the battery level is low. However, in related technologies, terminal devices only perform fixed power consumption reduction operations in the power-saving mode, and the power-saving effect is average and the adaptability to different usage scenarios is average.

[0049] Based on this, in a first aspect, at least one embodiment of the present disclosure provides an audio processing method, which can perform power consumption reduction operations adapted to the usage scenario when the device enters a preset mode, improve the power-saving effect of the preset mode, etc. Exemplarily, the usage scenario can be divided according to various dimensions. For example, the usage scenario can be divided using the audio processing mode.

[0050] Please refer to the appendix Figure 1 , which exemplarily shows the architecture diagram inside the device that executes this method, including the Frameworks layer, the Hardware Abstraction Layer (HAL), and the Digital Signal Processor layer (ADSP). When the device processes audio, it can first use the application processor for processing in the hardware abstraction layer, and then send it to the digital signal processor layer for further processing using the digital signal processor to obtain the processing result.

[0051] Please refer to the appendix Figure 2 , which shows the flow of the audio processing method, including steps S201 to step S202.

[0052] In step S201, in response to the device entering a preset mode, obtain the currently running audio processing mode.

[0053] Among them, the preset mode can be what is commonly called the power-saving mode, do not disturb mode, flight mode, etc. The preset mode has multiple levels. In actual applications, different levels of the preset mode can have different names. Taking the preset mode as the commonly called power-saving mode with two levels as an example, its low level can be called the "power-saving mode" (note that the power-saving mode here corresponds to the super power-saving mode below, which is a level name of the power-saving mode, that is, the ordinary power-saving mode), and its high level can be called the "super power-saving mode".

[0054] Exemplarily, the device can turn on the preset mode when receiving a user instruction indicating to turn on the preset mode, and determine the level indicated by the user instruction as the level of the preset mode; additionally exemplarily, it can enter the preset mode when the remaining battery power of the device is less than or equal to the power threshold, and determine the level of the preset mode according to the remaining power (for example, when the remaining power is less than or equal to 20% and not in the charging state, turn on the power-saving mode, and when the remaining power is less than or equal to 10% and not in the charging state, turn on the super power-saving mode); in addition, the above two methods can be applied simultaneously. For example, in response to the remaining battery power of the device being less than or equal to the power threshold, a prompt message can be presented to the user, and the user's indicated preset mode level based on the prompt message can be received. Another example is that the user can specify the power threshold of the device by himself, and after the remaining battery power of the device is less than or equal to the power threshold, determine the preset mode level according to the remaining power. The above several ways of entering the preset mode customize the overall power-saving scheme of the device for the user, are convenient to operate, improve the user experience, and have high practical value.

[0055] Optionally, in this step, the framework layer can listen for whether the device enters the preset mode. For example, the framework layer can determine in real time whether the device enters the preset mode by means of broadcast listening and / or file listening.

[0056] Broadcast listening: Use the method of dynamically registering a broadcast to add ACTION_POWER_SAVE_MODE_CHANGE (that is, the flag of power-saving mode change), and at the same time define a broadcast receiver. If a broadcast action of power-saving mode change is received, then the function of checking the power-saving mode status will be called, and by obtaining the file content of the power-saving mode status, check whether the power-saving mode is turned on.

[0057] File monitoring: Inherit the FileObserver class as a file listener to monitor the power saving level file. If a file modification event is detected, the onEvent callback function will be triggered, sending a check message MSG_CHECK_AUDIO_POWER_SAVE_POLICY. After reading the check message through the Looper mechanism, the function for checking the power saving mode status will be called to check whether the power saving mode is enabled.

[0058] In step S102, in response to the audio having sound effects in the currently running audio processing mode, the sound effects in the audio processing mode are downgraded according to the level of the preset mode, where the preset mode has multiple levels, and the level of the preset mode is negatively correlated with the level of the sound effects.

[0059] Among them, the audio processing mode is used to characterize the way the device processes audio when playing audio, such as directly playing the audio, or adding specific sound effects to the audio, etc. The sound effects added to the audio in the audio processing mode also have levels. The higher the level, the better the sound effect and the higher the power consumption. The lower the level, the worse the sound effect and the lower the power consumption. For example, the audio processing modes with sound effects for the audio can include the cinema mode, the concert mode, etc. When the user uses the device to watch a movie, the cinema mode can be started to make the device add the sound effects of the cinema scene to create the effect of watching a movie on the spot. When the user uses the device to listen to music, the concert mode can be started to make the device add the sound effects of the concert scene to create the effect of listening to a concert.

[0060] The fact that the level of the preset mode is negatively correlated with the level of the sound effects means that the higher the level of the preset mode, the lower the target level of the corresponding sound effects, and the lower the level of the preset mode, the higher the target level of the corresponding sound effects. Downgrading the sound effects in the audio processing mode is to reduce the level of the sound effects in the audio processing mode to the target level of the sound effects corresponding to the level of the preset mode. For example, the two-level preset modes are the power saving mode and the super power saving mode. When not in the preset mode, the target level of the sound effects is 2. The target level of the sound effects corresponding to the power saving mode is 1, and the target level of the sound effects corresponding to the super power saving mode is 0 (i.e., turn off the sound effects). Then in this step, when the preset mode is the power saving mode, the target level of the sound effects can be adjusted from 2 to 1, and when the preset mode is the super power saving mode, the sound effects can be turned off to reduce the power consumption.

[0061] In this step, the sound effects in the audio processing mode can be downgraded in the application processor and the digital signal processor according to the level of the preset mode. For example, please refer to the appendix Figure 3, after the Frameworks layer monitors that the device enters the preset mode, it can send a setting message MSG_SET_AUDIO_POWER_SAVE_LEVEL_POLICY. After the Looper mechanism reads the above setting message, it will call the function to set the power saving level, obtain the current power saving mode level, construct a String parameter field carrying the power saving mode level information, and send it to the virtual hardware layer HAL. When the virtual hardware layer HAL receives the parameter field and parses to obtain the power saving mode level information, if the power saving mode level is not 0, that is, the power saving mode is enabled and the sound effect is in the enabled state, then the sound effect of the application processor (AP side) in the virtual hardware layer is turned off, and the flag of the sound effect switch parameter is set to false, and the parameter to turn off the sound effect is sent to the digital signal processor in the digital signal processing layer ADSP to turn off the sound effect on the ADSP side.

[0062] It should be understood that the user can lock the currently running audio processing mode through operations, so that the currently running audio processing mode is in a locked state. Therefore, this step can respond to the fact that the audio in the currently running audio processing mode has a sound effect and the currently running audio processing mode is in an unlocked state, and degrade the sound effect in the audio processing mode according to the level of the preset mode. For example, when the user starts the theater mode to watch a movie when there is a charger, power supply nearby or the planned usage time of the terminal device is very short, and locks the theater mode to ensure the viewing effect, then when the terminal device enters the preset mode, although the theater mode is currently running, since the theater mode is in a locked state, its sound effect is not degraded but remains unchanged. By locking the audio processing mode, the priority order between the preset mode and the audio processing mode can be flexibly adjusted, improving the user experience.

[0063] In addition, the method can also respond to the fact that the audio in the currently running audio processing mode does not have a sound effect, and adjust the audio processing mode with a sound effect to an unavailable state. In this way, after the device enters the preset mode, if the user starts an audio processing mode with a sound effect, the audio processing mode with a sound effect cannot be started. For example, the user is prompted that this mode is unavailable. This can avoid the user starting an audio processing mode with a sound effect when the device is in the preset mode and then having it degraded or turned off by this step, resulting in frequent opening and closing of the audio processing mode, affecting the normal operation of the device and the stability of the sound effect processing.

[0064] In addition, the method can also respond to the device exiting the preset mode, and restore the sound effect in the audio processing mode to the default level. That is, the sound effect in the audio processing mode is restored to the level before entering the preset mode.

[0065] Please refer to the appendix Figure 4, which exemplarily shows the process of the audio processing method obtained by combining the above-mentioned multiple embodiments. This method is jointly completed by Frameworks, HAL, and ADSP.

[0066] The Frameworks side receives broadcast actions through broadcast listening, determines whether the power-saving mode has changed, and checks the power-saving mode status when the power-saving mode changes; and listens to the power-saving level file through file listening, and sends a check message to check the power-saving mode status when the file is modified.

[0067] The Frameworks side obtains the content of the power-saving mode status file by checking the power-saving mode status to determine whether the power-saving mode is enabled. If it is not enabled, the power-saving mode is set to 0. If it is enabled, a setting message is sent, the power-saving mode is set, the power-saving mode level is obtained, and finally a parameter field is sent to the HAL layer.

[0068] After receiving the parameter field, the HAL layer determines whether the level is 0. If not, it determines whether the sound effect is enabled. If so, it turns off the sound effect on the AP side and sends the sound effect off parameter to the ADSP layer.

[0069] After receiving the sound effect off parameter, the ADSP layer turns off the sound effect.

[0070] According to the second aspect of the embodiments of the present disclosure, an audio processing device is provided. Please refer to the appendix Figure 5 , the device includes:

[0071] An acquisition module 501, configured to acquire the currently running audio processing mode in response to the device entering a preset mode;

[0072] A downgrading module 502, configured to downgrade the sound effect in the audio processing mode according to the level of the preset mode in response to the audio in the currently running audio processing mode having a sound effect, where the preset mode has multiple levels, and the level of the preset mode is negatively correlated with the level of the sound effect.

[0073] In a possible embodiment of the present disclosure, the device further includes a recovery module, configured to:

[0074] In response to the device exiting the preset mode, restore the sound effect in the audio processing mode to the default level.

[0075] In a possible embodiment of the present disclosure, the device further includes a status module, configured to:

[0076] In response to the audio in the currently running audio processing mode not having a sound effect, adjust the audio processing mode with a sound effect to an unavailable state.

[0077] In a possible embodiment of the present disclosure, the downgrading module is configured to:

[0078] In response to the audio having sound effects in the currently running audio processing mode and the currently running audio processing mode being in an unlocked state, downgrade the sound effects in the audio processing mode according to the level of the preset mode.

[0079] In a possible embodiment of the present disclosure, when the downgrading module is configured to downgrade the sound effects in the audio processing mode according to the level of the preset mode, it is configured to:

[0080] Downgrade the sound effects in the audio processing mode in the application processor and the digital signal processor according to the level of the preset mode.

[0081] In a possible embodiment of the present disclosure, the device further includes a monitoring module, which is configured to:

[0082] Determine in real time whether the device enters the preset mode by means of broadcast monitoring and / or file monitoring.

[0083] In a possible embodiment of the present disclosure, the device further includes a power module, which is configured to:

[0084] When the remaining power of the device is less than or equal to the power threshold, enter the preset mode and determine the level of the preset mode according to the remaining power.

[0085] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments of the method in the first aspect, and will not be elaborated herein.

[0086] According to the fifth aspect of the embodiments of the present disclosure, please refer to the attached Figure 6 , which exemplarily shows a block diagram of an electronic device. For example, the device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0087] Referring to Figure 5 , the device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.

[0088] The processing component 602 generally controls the overall operation of the device 600, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above methods. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.

[0089] The memory 604 is configured to store various types of data to support the operation of the device 600. Examples of such data include instructions for any application or method operating on the device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disks, or optical disks.

[0090] The power component 606 provides power to various components of the device 600. The power component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 600.

[0091] The multimedia component 608 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each of the front camera and the rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0092] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC) that is configured to receive external audio signals when the device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 further includes a speaker for outputting audio signals.

[0093] The I / O interface 612 provides an interface between the processing component 602 and peripheral interface modules, and the peripheral interface modules may be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.

[0094] The sensor component 614 includes one or more sensors for providing an assessment of various aspects of the state of the device 600. For example, the sensor component 614 can detect the on / off state of the device 600, the relative positioning of components, such as the display and keypad of the device 600, the sensor component 614 can also detect a change in the position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, the orientation or acceleration / deceleration of the device 600, and the temperature change of the device 600. The sensor component 614 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 614 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 614 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0095] The communication component 616 is configured to facilitate communication between the device 600 and other devices in a wired or wireless manner. The device 600 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0096] In an exemplary embodiment, the device 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the audio processing method of the above electronic device.

[0097] In a fourth aspect, in an exemplary embodiment of the present disclosure, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 604 including instructions, and the above instructions can be executed by a processor 620 of the device 600 to complete the audio processing method of the above electronic device. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0098] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are to be considered as exemplary only, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0099] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. An audio processing method, characterized in that, the method includes: Upon response to the device entering a preset mode, obtain the currently running audio processing mode; Upon response to the audio in the currently running audio processing mode having a sound effect, downgrade the sound effect in the audio processing mode according to the level of the preset mode, wherein the preset mode has multiple levels, and the level of the preset mode is negatively correlated with the level of the sound effect.

2. The audio processing method according to claim 1, characterized in that, the method further includes: Upon response to the device exiting the preset mode, restore the sound effect in the audio processing mode to the default level.

3. The audio processing method according to claim 1, characterized in that, the method further includes: Upon response to the audio in the currently running audio processing mode not having a sound effect, adjust the audio processing mode with a sound effect to an unavailable state.

4. The audio processing method according to claim 1, characterized in that, the step of, upon response to the audio in the currently running audio processing mode having a sound effect, downgrading the sound effect in the audio processing mode according to the level of the preset mode includes: Upon response to the audio in the currently running audio processing mode having a sound effect and the currently running audio processing mode being in an unlocked state, downgrade the sound effect in the audio processing mode according to the level of the preset mode.

5. The audio processing method according to claim 1, characterized in that, the step of downgrading the sound effect in the audio processing mode according to the level of the preset mode includes: According to the level of the preset mode, downgrade the sound effect in the audio processing mode in the application processor and the digital signal processor.

6. The audio processing method according to claim 1, characterized in that, the method further includes: Determine in real time whether the device enters the preset mode by means of broadcast listening and / or file listening.

7. The audio processing method according to claim 1, characterized in that, the method further includes: When the remaining power of the device is less than or equal to the power threshold, enter the preset mode and determine the level of the preset mode according to the remaining power.

8. An audio processing device, characterized in that, the device includes: An acquisition module, configured to obtain the currently running audio processing mode upon response to the device entering a preset mode; A downgrading module, configured to downgrade the sound effect in the audio processing mode according to the level of the preset mode upon response to the audio in the currently running audio processing mode having a sound effect, wherein the preset mode has multiple levels, and the level of the preset mode is negatively correlated with the level of the sound effect.

9. An electronic device, characterized in that, the electronic device includes a memory and a processor, the memory is used to store computer instructions that can be run on the processor, and the processor is used to implement the audio processing method according to any one of claims 1 to 7 when executing the computer instructions.

10. A computer-readable storage medium, on which a computer program is stored, characterized in that, When the described program is executed by a processor, it implements the method described in any one of claims 1 to 7.