Processing method, device and electronic equipment for application
By detecting audio playback parameters and processing the application when it is silent, the power consumption problem caused by silent background playback of Android applications is solved, and efficient battery use is achieved.
Patent Information
- Application Number
- CN202111287075.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-02
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2041-11-02
AI Technical Summary
Existing Android applications play silent audio in the background, causing the user's electronic device to consume power quickly.
By detecting audio playback parameters, silent playback is identified, and when silent playback is detected, processing operations are performed on the application, such as closing or displaying a prompt message, to avoid energy waste caused by silent playback.
Effectively identifying and processing silent playback applications prevents rapid power consumption of electronic devices and improves battery life.
Smart Images

Figure CN113986190B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of electronic devices, and particularly relates to application processing, a device and an electronic device. BACKGROUND
[0002] At present, more and more applications exist in the Android application market, and the functions of the applications are also more and more rich. From the perspective of application designers, it is always hoped that the applications survive for a longer and longer time in user's mobile phones to improve the activity of the applications. Since Android is a true background design, it itself allows applications to play audio in the background to meet the basic functions such as background music playing and voice calling. However, some application developers use this mechanism to play silent audio after the application is opened and enters the background to keep the application alive and prevent it from being recycled by the system, which eventually leads to fast power consumption of the user's mobile phone. SUMMARY
[0003] The purpose of the embodiments of the present application is to provide application processing, a device and an electronic device, which can solve the problem that the application plays silent audio in the background in the prior art, resulting in fast power consumption of the user's electronic device.
[0004] In a first aspect, the embodiments of the present application provide an application processing method, which comprises:
[0005] In the case that audio playing exists in a first application, detecting a playing parameter of the audio;
[0006] In the case that the playing parameter indicates that the audio is silent playing, performing a target processing operation on the first application.
[0007] In a second aspect, the embodiments of the present application provide an application processing device, which comprises:
[0008] A detection module, configured to detect a playing parameter of audio in the case that audio playing exists in a first application;
[0009] A first processing module, configured to perform a target processing operation on the first application in the case that the playing parameter indicates that the audio is silent playing.
[0010] In a third aspect, the embodiments of the present application provide an electronic device, which comprises a processor, a memory and a program or instructions stored in the memory and executable on the processor, and the program or instructions are executed by the processor to implement the steps of the method according to the first aspect.
[0011] In a fourth aspect, the embodiments of the present application provide a readable storage medium, which stores a program or instructions, and the program or instructions are executed by a processor to implement the steps of the method according to the first aspect.
[0012] In a fifth aspect, an embodiment of the present application provides a chip, which comprises a processor and a communication interface, the communication interface and the processor are coupled, the processor is used to run programs or instructions to realize the method in the first aspect.
[0013] In the embodiments of the present application, in the case that there is audio playing in the first application, the playing parameters of the audio are detected, and in the case that the playing parameters indicate that the audio is silent playing, the target processing operation is performed on the first application, so that the first application playing silent audio can be found in time, and the first application can be processed in time, so as to avoid the electronic device from consuming power too fast. BRIEF DESCRIPTION OF DRAWINGS
[0014] Figure 1 is one of the application processing method flowcharts of the application;
[0015] Figure 2 is one of the application processing schematic diagrams of the application;
[0016] Figure 3 is the second application processing schematic diagram of the application;
[0017] Figure 4 is the third application processing schematic diagram of the application;
[0018] Figure 5 is the second application processing method flowchart of the application;
[0019] Figure 6 is the structural block diagram of the application processing device of the application;
[0020] Figure 7 is the structural block diagram of the electronic device of the application;
[0021] Figure 8 is the hardware structure schematic diagram of the electronic device of the application. DETAILED DESCRIPTION
[0022] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.
[0023] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a class, not limited to the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the objects before and after are in an "or" relationship.
[0024] The application processing method, device and electronic equipment provided by the embodiments of the present application will be described in detail below in conjunction with the drawings, specific embodiments and application scenarios.
[0025] As shown in Figure 1 The present application provides an application processing method, which is applied to an electronic device, and specifically includes the following steps:
[0026] Step 101, in the case that there is audio playing in the first application, detecting the playing parameters of the audio;
[0027] In this step, the step of detecting the playing parameters of the audio can include: identifying the audio stream to obtain the output frequency of the audio, or data sampling the audio stream data to obtain the number of empty data.
[0028] Step 102, in the case that the playing parameters indicate that the audio is silent playing, performing a target processing operation on the first application.
[0029] Specifically, the playing parameters of the audio include the output frequency of the audio and the audio stream data; before step 102, the method further includes:
[0030] In the case that the output frequency is not within the audible range of human ears (the normal hearing frequency of human ears is between 20 and 20000 Hz), it is determined that the audio is silent playing; or, in the case that the output frequency is within the audible range of human ears, if the proportion of empty data in the audio stream data is higher than a preset value, it is determined that the audio is silent playing.
[0031] In this step, in the case that the output frequency of the audio is not within the audible range of human ears (the normal hearing frequency of human ears is between 20 and 20000 Hz), it is determined that the first application is playing the audio silently; or, in the case that the output frequency of the audio is within the audible range of human ears, if the sampled audio stream data is mostly empty data or close to empty data (for example, most of the data is 0, and only a small amount of data is not 0), it is determined that the first application is playing the audio silently.
[0032] The target processing operation performed on the first application comprises: detecting a playing parameter of the audio in the first application; and performing different processing operations on the first application according to the running position (foreground running or background running) of the first application.
[0033] In the above embodiment, in the case that the first application plays audio, the playing parameter of the audio is detected, and in the case that the playing parameter indicates that the audio is played in silence, the target processing operation is performed on the first application, so that the user can discover the first application playing audio in silence in time and process the first application in time, thereby avoiding the user's electronic device from consuming power too fast.
[0034] In an embodiment, the target processing operation performed on the first application comprises:
[0035] In the case that the first application runs in the background, the first application is closed; or
[0036] In the case that the first application runs in the foreground, first prompt information is displayed, and the first prompt information is used to prompt that the first application is in the state of playing audio in silence.
[0037] For example, the first prompt information can be a notification message, or a silent identifier displayed on the icon or status bar of the first application.
[0038] In this embodiment, if the first application runs in the background, the system recycles the first application, so that the first application is in a closed state, the audio resource of the first application is released, the system is normally hibernated, and the first application is marked as a blacklisted application; if the first application runs in the foreground, the first prompt information is displayed, so that the user is informed in time that the first application is in the state of playing audio in silence, so that the user can process the first application in time. In this way, the user can exit the first application from the background running according to needs, so as to avoid power consumption.
[0039] Specifically, the first prompt information comprises an identifier of the first application, and the identifier of the first application is displayed in an interface. For example, the identifier of the first application can be displayed on a notification bar, so that the user can conveniently adjust the state of the first application.
[0040] Further, after the first application is closed, the method further comprises:
[0041] A first input of the user to the first application is received, and the first input is used to trigger at least one of starting the first application and playing audio;
[0042] In response to the first input, second prompt information is displayed, and the second prompt information is used to prompt that the first application plays audio in silence in the background.
[0043] Among them, the first input is a pre-set input, and the first input may include but is not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input and swipe input. That is to say, the first input can be one of the above inputs, or it can be a combination input of two or more of them.
[0044] Exemplarily, the first input may be a user clicking on the icon of the first application, and in response to the click input, the first application is triggered to be opened; or, the first application may also be a user clicking on the play button of the first application, and in response to the click input, audio playback is triggered.
[0045] For example, the second prompt information may be: "Application A is requesting to play audio, and the application has played silent audio, resulting in power consumption" or other prompts.
[0046] Furthermore, in one embodiment, the above method further includes:
[0047] In response to the first input, a first control is displayed, wherein the first control includes a first selection button for insisting on launching the first application or starting audio playback, and a second selection button for rejecting launching the first application or starting audio playback.
[0048] For example, in a real-time scenario, Figure 4 As shown, in the first control c, a second prompt message is displayed: "Application A is requesting to play audio. The application has played silent audio, resulting in power consumption." At the same time, a first selection button and a second selection button d3 are displayed. The first selection button is used to trigger the opening of the first application or the opening of audio playback, specifically including a "Trust once" button d2 and a "Trust always" button d1. When the user selects "Trust always", and later finds that the first application is still playing silent audio in the background, then in the following example, Figure 2 A silent mark is added to the icon of the first application shown; if the user chooses to trust once, the first application is allowed to play audio within a preset time period (such as one day) and without exiting. After the preset time period or the application is restarted, if the application continues to play silent audio in the background, the first application will be recycled by the system.
[0049] In this embodiment, when the first application that has been closed requests to play audio again, the user needs to confirm again before applying for audio playback permission. At the same time, based on the second prompt information, the user is helped to quickly identify such applications that have a history of playing silent audio in the background, thereby preventing such applications from continuing to consume power.
[0050] Furthermore, in one embodiment, the above step 102 further includes:
[0051] If the electronic device is in a sleep state, the first application is closed.
[0052] The sleep state includes a state in which the electronic device automatically enters a power saving mode when the electronic device is not used for a long time (which can be a preset time length), and can also include a long-term (which can be a preset time length) lock screen state.
[0053] For example, in a night screen-off or long-time sleep scenario of the electronic device, if it is detected that the first application plays a soundless audio, the system recycles the first application, thereby closing the first application, to avoid power consumption.
[0054] In an optional embodiment, when it is checked that a certain application often plays soundless audio in the background and is not trusted by multiple users, a special mark can be made in a download channel such as an application store, so that when other users download the application, a prompt can be given, and a more aggressive background recycling strategy can be performed for the application to ensure the endurance of more users.
[0055] In an embodiment, the above method further includes:
[0056] displaying an icon of the second application in a notification bar; wherein the second application is an application that plays audio in the background;
[0057] receiving a second input to the icon;
[0058] in response to the second input, closing the second application.
[0059] The second input can include, but is not limited to, at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input, and a swipe input, that is, the second input can be one of the above inputs, or can be a combination of two or more inputs.
[0060] For example, when an application needs to play audio in the background, it must apply to the system, and when the system receives the user application, the notification bar of the system needs to display a list of applications (Application, APP for short) that currently play audio in the background. Figure 2 As shown, icons b1, b2, and b3 of APPs App1, App2, and App3 that play audio in the background are displayed in a notification bar a. When the user long-presses the icon of App1, App1 is recycled by the system, that is, when the user long-presses the icon of App1, App1 is closed.
[0061] In the embodiment, the icon of the application running in the background to play audio is displayed in the notification bar, so that the user can learn the application running in the background to play audio through the notification bar and timely perform the closing processing, the application running in the background to play audio without the user's knowledge can be avoided, and the electronic device can be prevented from consuming power too fast.
[0062] Further, the method further includes:
[0063] In the case that it is detected that the audio of the second application is played in silence, a sound mark is displayed on the icon, and / or a silence mark; the silence mark is used to prompt that the second application is in the audio playing in silence state; and the sound mark is used to prompt that the second application is in the audio playing in sound state.
[0064] For example, as shown in Figure 3 If the App2 is the application running in the background to play audio in silence, the silence mark is displayed on the icon b2 of the App2, which can be the text of "audio playing in silence" as shown in Figure 2 or other icons or symbols, such as a silence horn icon, and the like, which are not limited.
[0065] In the embodiment, the icon of the application running in the background to play audio is displayed in the notification bar, and the silence mark is further displayed on the icon, so that the user can learn the audio playing state of the application through the sound mark and the silence mark of the application icon in the notification bar, and quickly judge which application is playing audio in silence, so that the application playing audio in silence running in the background without the user's knowledge can be avoided, the user can timely find and close the application playing audio in silence through the icon in the notification bar, and the electronic device can be prevented from consuming power too fast.
[0066] Further, in an embodiment, in order to improve the detection rate and the detection efficiency, in the case that the first application is multiple, the method further includes:
[0067] obtaining a target application in which the record of playing audio in silence exists in the multiple first applications;
[0068] preferentially detecting the playing parameter of the audio of the target application.
[0069] Next, a processing flow of an application of the present application is introduced. Figure 5
[0070] As shown in Figure 5 the processing flow of the application includes:
[0071] In step 51, the audio played by the application A is detected;
[0072] Step 52, judging whether the audio is played in silence; if yes, proceeding to step 53; if no, proceeding to step 51;
[0073] Step 53, judging whether it is a black list application; if yes, proceeding to step 54; if no, proceeding to step 55;
[0074] Step 54, judging whether it is a night sleep scene; if yes, proceeding to step 58; if no, proceeding to step 57;
[0075] Step 55, marking the application A as a black list, and recycling the application A;
[0076] Step 56, identifying the application A in silence in a notification bar;
[0077] Step 57, judging whether the application is trusted; if yes, proceeding to step 56; if no, proceeding to step 58;
[0078] Step 58, recycling the application A.
[0079] In the above scheme, whether to recycle the application in the background which uses the audio mechanism to keep alive can be executed according to whether the audio of the application is played in silence and the selection of the user. Since the application usually uses the audio to keep alive, and often accompanied by a large number of other system resources, recycling the application in silence can avoid power consumption, and can protect the normal music playing and sound playing requirements of the user, and prevent the overall system power consumption and heating problem caused by silent playing.
[0080] It should be noted that the application processing method provided in the embodiments of the present application can be executed by an application processing device or a control module in the application processing device for executing the application processing method. In the embodiments of the present application, the application processing device executes the application processing method, and the application processing device provided in the embodiments of the present application is described.
[0081] As shown in the figure, Figure 6 The application processing device 600 provided in the embodiments of the present application comprises:
[0082] The detection module 601 is configured to detect a playing parameter of the audio in the case that the audio is played in the first application.
[0083] The first processing module 602 is configured to execute a target processing operation on the first application in the case that the playing parameter indicates that the audio is played in silence.
[0084] Optionally, the first processing module 602 comprises:
[0085] the first processing submodule is configured to close the first application in a case where the first application runs in the background; or
[0086] the second processing submodule is configured to display first prompt information in a case where the first application runs in the foreground, the first prompt information being used to prompt that the first application is in a state of silent audio playing.
[0087] Optionally, the apparatus 600 further includes:
[0088] the first receiving module is configured to receive first input of a user on the first application, the first input being used to trigger at least one of starting the first application and triggering audio playing;
[0089] the first response module is configured to display second prompt information in response to the first input, wherein the second prompt information is used to prompt that the first application has played silent audio in the background.
[0090] Optionally, the first processing module 602 includes:
[0091] the second processing submodule is configured to close the first application in a case where the electronic device is in a sleep state.
[0092] Optionally, the playing parameter of the audio includes an output frequency of the audio and audio stream data.
[0093] in a case where the playing parameter indicates that the audio is silent playing, the apparatus 600 further includes:
[0094] the first determining module is configured to determine that the audio is silent playing in a case where the output frequency is not in a range of human ear audible frequency; or
[0095] the second determining module is configured to determine that the audio is silent playing in a case where the output frequency is in the range of human ear audible frequency, and the proportion of empty data in the audio stream data is higher than a preset value.
[0096] The processing apparatus 600 of the application can detect the playing parameter of the audio in a case where the first application plays audio, and perform a target processing operation on the first application in a case where the playing parameter indicates that the audio is silent playing, so that the user can discover the first application playing silent audio in time and process the first application in time, thereby avoiding fast power consumption of the user's electronic device.
[0097] The processing apparatus of the application in the embodiments can be a device, a component in a terminal, an integrated circuit, or a chip. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., which are not limited in the embodiments of the application.
[0098] The processing apparatus of the application in the embodiments can be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not limited in the embodiments of the application.
[0099] The processing apparatus of the application in the embodiments can implement the method embodiments Figures 1 to 5 , and each process of the method embodiments is not repeated here to avoid repetition.
[0100] Optionally, as shown in Figure 7 , the embodiments of the application further provide an electronic device 700, which includes a processor 701, a memory 702, a program or instruction stored in the memory 702 and executable on the processor 701. When the program or instruction is executed by the processor 701, each process of the above-mentioned processing method embodiments of the application is implemented, and the same technical effects are achieved. Each process of the above-mentioned processing method embodiments of the application is not repeated here to avoid repetition.
[0101] It should be noted that the electronic device in the embodiments of the application includes the above-mentioned mobile electronic device and non-mobile electronic device.
[0102] Figure 8 To implement the hardware structure of an electronic device in the embodiments of the application.
[0103] The electronic device 800 includes but is not limited to a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810, etc.
[0104] Those skilled in the art can understand that the electronic device 800 can also include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 810 through a power management system, so that the power management system can realize functions such as management of charging, discharging, and power consumption management. Figure 8 The electronic device structure shown in the foregoing embodiments does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than those shown, or combine certain components, or arrange different components, which will not be described here.
[0105] The processor 810 is configured to, in a case where audio playing exists in a first application, detect a playing parameter of the audio, and in a case where the playing parameter indicates that the audio is silent playing, perform a target processing operation on the first application.
[0106] The electronic device 800 can enable a user to discover a first application playing silent audio in a timely manner and process the first application in a timely manner, thereby avoiding causing the electronic device of the user to consume power quickly, by detecting a playing parameter of the audio in a case where audio playing exists in the first application, and performing a target processing operation on the first application in a case where the playing parameter indicates that the audio is silent playing.
[0107] Optionally, the processor 810, when performing the target processing operation on the first application, is specifically configured to, in a case where the first application runs in the background, close the first application; or,
[0108] In a case where the first application runs in the foreground, display first prompt information, the first prompt information being used to prompt that the first application is in a state of playing silent audio.
[0109] Optionally, the user input unit 807 is configured to receive first input of a user on the first application, the first input being used to trigger at least one of starting the first application and playing audio.
[0110] The display unit 806 is configured to, in response to the first input, display second prompt information, the second prompt information being used to prompt that the first application plays silent audio in the background.
[0111] Optionally, the processor 810 is further configured to, if the electronic device is in a sleep state, close the first application.
[0112] Optionally, the playing parameter of the audio includes an output frequency of the audio and audio stream data, and the processor 810 is further configured to, in a case where the output frequency is not in a range of audible frequencies of human ears, determine that the audio is silent playing, or in a case where the output frequency is in the range of audible frequencies of human ears, if a proportion of empty data in the audio stream data is higher than a preset value, determine that the audio is silent playing.
[0113] It should be understood that in the embodiments of the present application, the input unit 804 can include a graphics processor (GPU) 8041 and a microphone 8042. The graphics processor 8041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 806 can include a display panel 8061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 can include two parts of a touch detection device and a touch controller. The other input devices 8072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), trackballs, mice, joysticks, and the like, which are not described here. The memory 809 can be used to store software programs and various data, including but not limited to application programs and operating systems. The processor 810 can integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 810.
[0114] The embodiments of the present application also provide a readable storage medium, which stores programs or instructions. When the programs or instructions are executed by a processor, each process of the processing method embodiments of the above application is implemented, and the same technical effects can be achieved. To avoid repetition, this will not be repeated here.
[0115] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc.
[0116] The embodiments of the present application further provide a chip, which includes a processor and a communication interface. The communication interface is coupled with the processor. The processor is configured to execute programs or instructions to implement each process of the processing method embodiments of the above application, and achieve the same technical effects. To avoid repetition, this will not be repeated here.
[0117] It should be understood that the chip mentioned in the embodiments of the present application can also be referred to as a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0118] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element. Furthermore, it is to be understood that the method and apparatus of the present application can be carried out by more than one process, method, article, or apparatus either simultaneously, concurrently, or with intervening action that are carried out at the same time, either in a simultaneous fashion or in a fashion that is interleaved in time. For example, the described methods can be performed in a different order from that described, and / or various steps can be combined or omitted, and / or additional steps can be added, without departing from the scope of the present application. Also, features described with respect to certain examples can be combined in other examples.
[0119] From the above description of the embodiments, it is apparent that the above-described method of the embodiments can be realized by means of software and general-purpose hardware platforms, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such an understanding, the technical solutions of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk), and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present application.
[0120] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-described specific embodiments, and the above-described specific embodiments are merely illustrative, rather than limiting, and those of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims, which all belong to the protection of the present application.
Claims
1. A method for processing an application, characterized in that: include: In a case where audio is being played in the first application, detecting playback parameters of the audio; When the playback parameter indicates that the audio is played silently and the first application is running in the background, closing the first application; receiving a first input from a user to the first application, where the first input is used to trigger at least one of launching the first application and playing audio; In response to the first input, a second prompt message is displayed, wherein the second prompt message is used to prompt that the first application has played silent audio in the background.
2. The application processing method according to claim 1, characterized in that: The audio playback parameters include: the output frequency of the audio and audio stream data; When the playback parameter indicates that the audio is played silently, before performing the target processing operation on the first application, the method further includes: If the output frequency is not within the audible range of the human ear, determining that the audio is played silently; or When the output frequency is within the audible range of the human ear, if the proportion of the empty data in the audio stream data is higher than a preset value, it is determined that the audio is played silently.
3. An application processing device, characterized in that: include: a detection module, configured to detect playback parameters of the audio when audio is being played in the first application; a first processing module, configured to close the first application when the playback parameter indicates that the audio is played silently and the first application is running in the background; a first receiving module, configured to receive a first input from a user to the first application, wherein the first input is used to trigger at least one of launching the first application and triggering playing audio; The first response module is configured to display a second prompt message in response to the first input, wherein the second prompt message is configured to prompt that the first application has played silent audio in the background.
4. The application processing device according to claim 3, characterized in that: The audio playback parameters include: the output frequency of the audio and audio stream data; When the playback parameter indicates that the audio is played silently, the device further includes: A first determining module is configured to determine that the audio is played silently when the output frequency is not within the audible range of the human ear; or The second determining module is configured to determine that the audio is played silently if the output frequency is within the audible range of the human ear and the proportion of the empty data in the audio stream data is higher than a preset value.
5. An electronic device, characterized in that: The invention comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the application processing method according to any one of claims 1 to 2.
6. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the application processing method according to any one of claims 1 to 2 are implemented.
Citation Information
Patent Citations
Application control method and device and terminal
CN105335056A
Mute sound prompting method, device, and terminal
CN107426401A
Electronic equipment, management method of application programs of electronic equipment and computer storage medium
CN111459759A
Audio output mode adjusting method and device and electronic equipment
CN112394901A