[go: up one dir, main page]

CN113986190A - Application processing method and device and electronic equipment - Google Patents

Application processing method and device and electronic equipment Download PDF

Info

Publication number
CN113986190A
CN113986190A CN202111287075.9A CN202111287075A CN113986190A CN 113986190 A CN113986190 A CN 113986190A CN 202111287075 A CN202111287075 A CN 202111287075A CN 113986190 A CN113986190 A CN 113986190A
Authority
CN
China
Prior art keywords
application
audio
playback
processing
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111287075.9A
Other languages
Chinese (zh)
Inventor
欧超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111287075.9A priority Critical patent/CN113986190A/en
Publication of CN113986190A publication Critical patent/CN113986190A/en
Priority to PCT/CN2022/129062 priority patent/WO2023078262A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种应用的处理方法,属于电子设备领域。方法包括:在第一应用中存在音频播放的情况下,检测所述音频的播放参数;在所述播放参数指示所述音频为无声播放的情况下,对所述第一应用执行目标处理操作。

Figure 202111287075

The application discloses an application processing method, which belongs to the field of electronic equipment. The method includes: in the case of audio playback in the first application, detecting a playback parameter of the audio; and in the case that the playback parameter indicates that the audio is played silently, performing a target processing operation on the first application.

Figure 202111287075

Description

应用的处理方法、装置和电子设备Application processing method, device and electronic device

技术领域technical field

本申请属于电子设备领域,具体涉及一种应用的处理、装置和电子设备。The present application belongs to the field of electronic equipment, and specifically relates to an application processing, device and electronic equipment.

背景技术Background technique

目前,安卓(Android)应用市场上的应用越来越多功能也越来越丰富,从应用设计者的角度总是希望自己的应用在用户手机中存活越来越长的时间以提升自身活跃度。由于Android是真后台设计,本身允许应用在后台播放音频,以满足后台音乐播放以及语音通话等基础功能。但是,部分应用开发者利用这个机制,通过在应用打开并进入后台之后播放无声音频,以保活自身防止被系统回收,最终导致用户手机耗电快。At present, the applications on the Android application market are becoming more and more functional and richer. From the perspective of application designers, they always hope that their applications will survive longer and longer in the user's mobile phone to enhance their activity. . Because Android is a true background design, it allows applications to play audio in the background to meet basic functions such as background music playback and voice calls. However, some application developers use this mechanism to keep themselves alive and prevent them from being recycled by the system by playing silent audio after the application is opened and enters the background, which eventually leads to fast power consumption of the user's mobile phone.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种应用的处理、装置和电子设备,能够解决现有技术中应用在后台播放无声音频,导致用户的电子设备耗电快的问题。The purpose of the embodiments of the present application is to provide an application processing, apparatus, and electronic device, which can solve the problem in the prior art that the application plays silent audio in the background, causing the user's electronic device to consume fast power.

第一方面,本申请实施例提供了一种应用的处理方法,该方法包括:In a first aspect, an embodiment of the present application provides an application processing method, the method comprising:

在第一应用中存在音频播放的情况下,检测所述音频的播放参数;In the case of audio playback in the first application, detecting the playback parameters of the audio;

在所述播放参数指示所述音频为无声播放的情况下,对所述第一应用执行目标处理操作。In a case where the playback parameter indicates that the audio is played silently, a target processing operation is performed on the first application.

第二方面,本申请实施例提供了一种应用的处理装置,包括:In a second aspect, an embodiment of the present application provides an application processing device, including:

检测模块,用于在第一应用中存在音频播放的情况下,检测所述音频的播放参数;a detection module, configured to detect the playback parameters of the audio when there is audio playback in the first application;

第一处理模块,用于在所述播放参数指示所述音频为无声播放的情况下,对所述第一应用执行目标处理操作。A first processing module, configured to perform a target processing operation on the first application when the playback parameter indicates that the audio is played silently.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.

在本申请实施例中,在第一应用中存在音频播放的情况下,通过检测所述音频的播放参数;并在播放参数指示音频为无声播放的情况下,对第一应用执行目标处理操作,能够及时发现播放无声音频的第一应用,并及时对第一应用进行处理,避免导致电子设备耗电过快。In the embodiment of the present application, when there is audio playback in the first application, by detecting the playback parameters of the audio; and when the playback parameters indicate that the audio is played silently, the target processing operation is performed on the first application, The first application that plays the silent audio can be discovered in time, and the first application can be processed in time to avoid excessive power consumption of the electronic device.

附图说明Description of drawings

图1是本申请实施例的应用的处理方法流程图之一;Fig. 1 is one of the flow charts of the processing method of the application of the embodiment of the present application;

图2是本申请实施例的应用的处理示意图之一;FIG. 2 is one of the schematic diagrams of processing of the application of the embodiment of the present application;

图3是本申请实施例的应用的处理示意图之二;FIG. 3 is the second schematic diagram of the processing of the application of the embodiment of the present application;

图4是本申请实施例的应用的处理示意图之三;FIG. 4 is the third schematic diagram of the processing of the application of the embodiment of the present application;

图5是本申请实施例的应用的处理方法流程图之二;FIG. 5 is the second flowchart of the processing method of the application of the embodiment of the present application;

图6是本申请实施例的应用的处理装置的结构框图;6 is a structural block diagram of a processing device of an application of an embodiment of the present application;

图7是本申请实施例的电子设备的结构框图;7 is a structural block diagram of an electronic device according to an embodiment of the present application;

图8是本申请实施例的电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the protection scope of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的应用的处理方法、装置及电子设备进行详细地说明。The following describes in detail the application processing method, apparatus, and electronic device provided by the embodiments of the present application through specific embodiments and application scenarios with reference to the accompanying drawings.

如图1所示,本申请实施例提供一种应用的处理方法,应用于电子设备,具体包括以下步骤:As shown in FIG. 1 , an embodiment of the present application provides an application processing method, which is applied to an electronic device, and specifically includes the following steps:

步骤101,在第一应用中存在音频播放的情况下,检测所述音频的播放参数;Step 101, in the case of audio playback in the first application, detecting the playback parameters of the audio;

该步骤中,检测所述音频的播放参数的步骤可以包括:对音频流进行识别,获得音频的输出频率,或者对音频流数据进行数据抽样,获得空数据的数量。In this step, the step of detecting the playback parameters of the audio may include: identifying the audio stream to obtain the output frequency of the audio, or performing data sampling on the audio stream data to obtain the number of null data.

步骤102,在所述播放参数指示所述音频为无声播放的情况下,对所述第一应用执行目标处理操作。Step 102, in the case that the playback parameter indicates that the audio is played silently, perform a target processing operation on the first application.

具体的,所述音频的播放参数包括:所述音频的输出频率和音频流数据;步骤102之前,所述方法还包括:Specifically, the audio playback parameters include: the audio output frequency and audio stream data; before step 102, the method further includes:

在所述输出频率不在人耳可听见范围内的情况下,确定所述音频为无声播放;或者,在所述输出频率在人耳可听见范围内的情况下,若所述音频流数据中空数据占比高于预设值,则确定所述音频为无声播放。In the case that the output frequency is not within the audible range of the human ear, it is determined that the audio is played silently; or, in the case that the output frequency is within the audible range of the human ear, if the audio stream data is empty data If the proportion is higher than the preset value, it is determined that the audio is played silently.

该步骤中,在音频的输出频率不在人耳可听见范围(人耳正常的听力频率在20至20000赫兹之间),则确定第一应用在无声播放音频;或者,当音频的输出频率在人耳可听见范围内时,若采样抽取的音频流数据大部分为空数据或者是接近空数据(例如大部分数据为0,只有少量非0数据),则确定第一应用在无声播放音频。In this step, when the output frequency of the audio is not within the audible range of the human ear (the normal hearing frequency of the human ear is between 20 and 20,000 Hz), it is determined that the first application is playing audio without sound; or, when the output frequency of the audio is within the range of human hearing Within the audible range, if most of the sampled audio stream data is empty data or close to empty data (eg, most of the data is 0 and only a small amount of non-0 data), it is determined that the first application is playing audio silently.

其中,对第一应用执行目标处理操作,包括,根据第一应用的运行位置(前台运行和后台运行),分别对第一应用执行不同的处理操作。Wherein, performing the target processing operation on the first application includes performing different processing operations on the first application respectively according to the running positions (foreground running and background running) of the first application.

上述实施例中,在第一应用中存在音频播放的情况下,通过检测所述音频的播放参数;并在播放参数指示音频为无声播放的情况下,对第一应用执行目标处理操作,能够使用户及时发现播放无声音频的第一应用,并及时对第一应用进行处理,避免导致用户电子设备耗电过快。In the above embodiment, when there is audio playback in the first application, by detecting the playback parameters of the audio; and when the playback parameters indicate that the audio is played silently, performing the target processing operation on the first application can make The user discovers the first application that plays the silent audio in time, and processes the first application in time to avoid excessive power consumption of the user's electronic device.

在一实施例中,所述对所述第一应用执行目标处理操作,包括:In an embodiment, the performing a target processing operation on the first application includes:

在所述第一应用运行于后台的情况下,关闭所述第一应用;或者,In the case that the first application is running in the background, the first application is closed; or,

在所述第一应用运行于前台的情况下,显示第一提示信息,所述第一提示信息用于提示所述第一应用处于无声播放音频的状态。When the first application runs in the foreground, first prompt information is displayed, where the first prompt information is used to prompt the first application to be in a state of playing audio without sound.

示例性的,第一提示信息可以为通知消息、或者显示在第一应用的图标或者状态栏上的无声标识等。Exemplarily, the first prompt information may be a notification message, or a silent logo displayed on an icon of the first application or a status bar, or the like.

该实施例中,若第一应用在后台运行,则系统回收第一应用,使第一应用处于关闭状态,以释放第一应用的音频资源,让系统正常休眠,并将第一应用标记成黑名单应用;若第一应用在前台运行,则显示第一提示信息,以及时告知用户该第一应用处于无声播放音频的状态,从而使得用户可以及时对第一应用进行处理。这样,用户可根据需要及时将该第一应用退出后台运行,避免耗电。In this embodiment, if the first application is running in the background, the system recycles the first application, keeps the first application in a closed state, releases the audio resources of the first application, makes the system sleep normally, and marks the first application as black List application; if the first application is running in the foreground, the first prompt message is displayed to promptly inform the user that the first application is in a state of silently playing audio, so that the user can process the first application in time. In this way, the user can exit the first application from running in the background in time as needed to avoid power consumption.

具体地,第一提示信息包括第一应用的标识,将第一应用的标识显示于界面中,示例性地,可以将第一应用的标识显示在通知栏处,从而用户可以方便的对第一应用的状态进行调整。Specifically, the first prompt information includes the identification of the first application, and the identification of the first application is displayed on the interface. Exemplarily, the identification of the first application may be displayed in the notification bar, so that the user can conveniently The state of the application is adjusted.

进一步的,关闭所述第一应用之后,所述方法还包括:Further, after closing the first application, the method further includes:

接收用户对所述第一应用的第一输入,所述第一输入用于触发开启所述第一应用和触发播放音频中的至少一项;receiving a first input from the user to the first application, where the first input is used to trigger at least one of opening the first application and triggering playback of audio;

响应于所述第一输入,显示第二提示信息,其中,所述第二提示信息用于提示所述第一应用在后台播放过无声音频。In response to the first input, second prompt information is displayed, wherein the second prompt information is used to prompt the first application to play silent audio in the background.

其中,第一输入为预先设置的输入,该第一输入可以包括但不限于点击输入、按压输入、长按输入、捏合输入、拖拽输入、滑动输入和划动输入中的至少一种,也即是说,该第一输入可以为上述输入中的其中一种,或者也可以为其中两种或以上输入的组合输入。The first input is a preset 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, or That is to say, the first input can be one of the above-mentioned inputs, or can also be a combined input of two or more of the above-mentioned inputs.

示例性的,第一输入可以为用户对第一应用的图标的点击输入,响应该点击输入,触发开启第一应用;或者,第一应用也可以为对第一应用的播放按钮的点击输入,响应于该点击输入,触发音频播放。Exemplarily, the first input may be a click input by the user on the icon of the first application, and in response to the click input, the opening of the first application is triggered; or, the first application may also be a click input on the play button of the first application, In response to the click input, audio playback is triggered.

示例性的,第二提示信息可以为:“应用A正请求播放音频,该应用曾播放无声音频导致耗电”等提示语。Exemplarily, the second prompt information may be prompt words such as "application A is requesting to play audio, and the application once played silent audio which caused power consumption".

进一步的,在一实施例中,上述方法还包括:Further, in one embodiment, the above method also includes:

响应于所述第一输入,显示第一控件,所述第一控件包括:坚持开启第一应用或开启播放音频的第一选择按钮,以及拒绝启动第一应用或开启音频播放的第二选择按钮。In response to the first input, a first control is displayed, the first control including: a first selection button to insist on opening the first application or enabling audio playback, and a second selection button for refusing to launch the first application or enable audio playback .

示例性的,在一实时场景中,如图4所示,第一控件c中,显示有第二提示信息:“应用A正请求播放音频,该应用曾播放无声音频导致耗电”,同时,显示有第一选择按钮以及第二选择按钮d3,其中第一选择按钮用于触发开启所述第一应用或开启音频播放,具体包括:“信任一次”的按钮d2和“始终信任”的按钮d1。当用户选择“始终信任”时,后续发现该第一应用后台仍然播放无声音频,则在如图2所示的第一应用的图标上加一个无声标记;如果用户选择信任一次,则允许该第一应用在预设时间段内(如一天内)且未退出的情况下播放音频,超过预设时间段或者重启过应用之后,如该应用在后台继续播放无声音频,则第一应用将会被系统回收。Exemplarily, in a real-time scenario, as shown in FIG. 4 , in the first control c, a second prompt message is displayed: "Application A is requesting to play audio, and this application has played silent audio and caused power consumption", and at the same time, A first selection button and a second selection button d3 are displayed, wherein the first selection button is used to trigger the opening of the first application or the opening of audio playback, and specifically includes: a "trust once" button d2 and a "always trust" button d1 . When the user selects "always trust", and it is found that the first application still plays silent audio in the background, a silent mark is added to the icon of the first application as shown in Figure 2; if the user chooses to trust once, the first application is allowed to When an application plays audio within a preset time period (such as within a day) without exiting, if the application continues to play silent audio in the background after the preset time period or restarts the application, the first application will be blocked by the system Recycle.

该实施例中,当已被关闭的第一应用再次请求播放音频,则需要用户基于用户的再次确认才可申请到音频播放权限,同时基于第二提示信息帮助用户快速识别该类有在后台播放无声音频的历史记录的应用,避免该类应用继续耗电。In this embodiment, when the first application that has been closed requests to play audio again, the user needs to re-confirm based on the user to apply for the audio playback permission, and at the same time, based on the second prompt information, it helps the user to quickly identify that this category is playing in the background. The application of the history of silent audio, to avoid this type of application continue to consume power.

更进一步的,在一实施例中,上述步骤102,还包括:Further, in an embodiment, the above step 102 further includes:

若电子设备处于休眠状态,则关闭所述第一应用。If the electronic device is in a dormant state, the first application is closed.

其中,休眠状态包括:当长时间(可以为预设时长)不使用电子设备时,电子设备会自动进入省电模式的状态,还可以包括长期(可以为预设时长)的锁屏状态。The sleep state includes: when the electronic device is not used for a long time (can be a preset time), the electronic device will automatically enter a power-saving mode, and may also include a long-term (can be a preset) lock screen state.

示例性的,在电子设备处于夜间灭屏或长时间休眠场景中,若检测到第一应用播放无声音频,则系统回收该第一应用,从而关闭第一应用,避免耗电。Exemplarily, in a scenario where the screen of the electronic device is off at night or sleeping for a long time, if it is detected that the first application plays silent audio, the system recycles the first application, thereby closing the first application to avoid power consumption.

在一可选实施例中,当检查到某一个应用经常后台播放无声音频,并且多个用户非信任的时候,可以在应用商店等下载渠道作出特殊标记,这样可以当其他用户下载该应用的时候进行提示,并且针对该应用进行激进一点的后台回收策略,以保障更多用户的续航。In an optional embodiment, when it is checked that a certain application often plays silent audio in the background, and multiple users do not trust it, a special mark can be made in the download channel such as the application store, so that when other users download the application, a special mark can be made. Prompt and implement a more aggressive background recycling strategy for the application to ensure the battery life of more users.

在一实施例中,上述方法还包括:In one embodiment, the above method further includes:

在通知栏显示第二应用的图标;其中,所述第二应用为在后台运行音频播放的应用;Display the icon of the second application in the notification bar; wherein, the second application is an application that runs audio playback in the background;

接收对所述图标的第二输入;receiving a second input to the icon;

响应于所述第二输入,关闭所述第二应用。In response to the second input, the second application is closed.

其中,第二输入可以包括但不限于点击输入、按压输入、长按输入、捏合输入、拖拽输入、滑动输入和划动输入中的至少一种,也即是说,该第二输入可以为上述输入中的其中一种,或者也可以为其中两种或以上输入的组合输入。Wherein, the second 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, the second input may be One of the above inputs, or a combination of two or more of them.

示例性的,当应用需要在后台播放音频时,必须向系统申请,当系统接收到用户申请时,系统的通知栏需要显示当前后台持有音频的应用列表。如图2所示,其示出的是在通知栏a中显示在后台运行音频播放的应用(Application,简称APP):App1、App2、App3的图标b1,b2和b3的示意图。当用户长按App1的图标时,App1被系统回收,即,用户长按App1的图标时,关闭APP1。Exemplarily, when an application needs to play audio in the background, it must apply to the system. When the system receives the user's application, the notification bar of the system needs to display a list of applications currently holding audio in the background. As shown in FIG. 2 , it shows a schematic diagram of icons b1 , b2 and b3 of App1 , App2 , and App3 , which are displayed in notification bar a (Application, APP for short) running audio playback in the background. 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.

该实施例中,通过在通知栏中显示后台运行音频播放的应用的图标,能够使用户通过通知栏获知后台运行音频播放的应用并及时进行关闭处理,避免在用户未知的情况下,应用在后台运行播放无声音频,能够避免电子设备耗电过快。In this embodiment, by displaying the icon of the application running audio playback in the background in the notification bar, the user can know the application running audio playback in the background through the notification bar and close it in time, so as to avoid the application running in the background when the user is unknown. Running and playing silent audio can avoid excessive power consumption of electronic devices.

进一步的,所述方法还包括:Further, the method also includes:

在检测到所述第二应用的音频为无声播放的情况下,在所述图标上显示有声标识,和/或无声标识;其中,所述无声标识用于提示所述第二应用处于无声播放音频状态;所述有声标识用于提示所述第二应用处于有声播放音频状态。In the case where it is detected that the audio of the second application is played without sound, a sound mark and/or a sound mark is displayed on the icon; wherein the sound mark is used to prompt the second application to play audio without sound state; the voiced identifier is used to prompt the second application to be in a voiced playback audio state.

示例性的,如图3所示,若App2为在后台运行无声音频的应用,则在App2的图标b2上显示无声标识,可以为如图2所示出的“无声播放”的文字,或者其他图标或者符号均可,如无声喇叭图标等,不以此为限。Exemplarily, as shown in Figure 3, if App2 is an application that runs silent audio in the background, then a silent logo is displayed on the icon b2 of App2, which can be the text of "silent playback" as shown in Figure 2, or other Icons or symbols can be used, such as a silent speaker icon, etc., but not limited to this.

该实施例中,通过在通知栏中显示后台运行音频播放的应用的图标,并进一步在图标上显示无声标识,能够使用户通过通知栏中的应用图标的有声标识和无声标识,获知应用的音频播放状态,快速判断出哪些是无声播放音频的应用,这样,能够避免在用户未知的情况下,在后台运行无声播放音频,用户能够通过通知栏的图标及时发现并关闭无声播放的应用,避免电子设备耗电过快。In this embodiment, by displaying the icon of the application running audio playback in the background in the notification bar, and further displaying the silent sign on the icon, the user can be informed of the audio of the application through the audible and silent signs of the application icon in the notification bar The playback status can quickly determine which applications are silently playing audio. In this way, it can avoid running silently playing audio in the background without the user's knowledge. The device is draining power too quickly.

进一步的,在一实施例中,为了提高检测速率和检测效率,在第一应用为多个的情况下,所述方法还包括:Further, in an embodiment, in order to improve the detection rate and detection efficiency, in the case of multiple first applications, the method further includes:

获取多个所述第一应用中存在播放过无声音频记录的目标应用;Acquiring a plurality of target applications that have played silent audio recordings in the first applications;

优先检测目标应用的音频的播放参数。Priority is given to detecting the audio playback parameters of the target application.

下面结合图5,对本申请的一种应用的处理流程进行介绍。The following describes a processing flow of an application of the present application with reference to FIG. 5 .

如图5所示,应用的处理流程包括:As shown in Figure 5, the processing flow of the application includes:

步骤51,启动对应用A播放的音频进行检测;Step 51, start to detect the audio played by application A;

步骤52,判断音频是否无声播放;若是,则进行步骤53;若否,则继续进行步骤51;Step 52, determine whether the audio is played silently; if so, proceed to Step 53; if not, proceed to Step 51;

步骤53,判断是否是黑名单应用;若是,则进行步骤54,若否,则进行步骤,5;Step 53, determine whether it is a blacklist application; if so, go to step 54, if not, go to step 5;

步骤54,判断是否是夜间休眠场景;若是,则进行步骤58;若否,则进行57;Step 54, determine whether it is a nighttime sleep scene; if yes, go to Step 58; if not, go to Step 57;

步骤55,将应用A标记成黑名单,且回收该应用A;Step 55, marking application A as a blacklist, and recycling this application A;

步骤56,在通知栏中对应用A进行无声标识;Step 56, silently marking application A in the notification bar;

步骤57,判断是否信任该应用;若当前信任,则进行步骤56;若当前非信任,则进行步骤58;Step 57, determine whether to trust the application; if it is currently trusted, go to Step 56; if it is not currently trusted, go to Step 58;

步骤58,回收该应用A。Step 58: Recycle the application A.

上述方案中,能够根据应用的音频是否无声播放以及用户的选择,来执行是否回收掉在后台利用音频机制保活的应用,由于通常应用使用音频保活的同时,经常还伴随着大量其他系统资源的使用,及时回收掉无声音频应用能避免耗电,还能够保护用户需要的正常的音乐播放以及声音播放需求,阻止无声播放导致的整体系统耗电以及发热问题。In the above solution, whether to recycle the application that uses the audio mechanism to keep alive in the background can be executed according to whether the audio of the application is played silently and the user's choice. Because the application uses the audio keep alive, it is often accompanied by a large number of other system resources. Timely recycling of silent audio applications can avoid power consumption, and can also protect the normal music playback and sound playback requirements that users need, and prevent the overall system power consumption and heating problems caused by silent playback.

需要说明的是,本申请实施例提供的应用的处理方法,执行主体可以为应用的处理装置,或者该应用的处理装置中的用于执行应用的处理方法的控制模块。本申请实施例中以应用的处理装置执行应用的处理方法为例,说明本申请实施例提供的应用的处理装置。It should be noted that, in the application processing method provided by the embodiments of the present application, the execution subject may be 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, a method for processing an application to be executed by an application processing device is used as an example to describe the application processing device provided by the embodiments of the present application.

如图6所示,本申请实施例提供一种应用的处理装置600,包括:As shown in FIG. 6, an embodiment of the present application provides an application processing apparatus 600, including:

检测模块601,用于在第一应用中存在音频播放的情况下,检测所述音频的播放参数;A detection module 601, configured to detect the playback parameters of the audio when there is audio playback in the first application;

第一处理模块602,用于在所述播放参数指示所述音频为无声播放的情况下,对所述第一应用执行目标处理操作。The first processing module 602 is configured to perform a target processing operation on the first application when the playback parameter indicates that the audio is played silently.

可选的,所述第一处理模块602,包括:Optionally, the first processing module 602 includes:

第一处理子模块,用于在所述第一应用运行于后台的情况下,关闭所述第一应用;或者,a first processing submodule, configured to close the first application when the first application runs in the background; or,

第二处理子模块,用于在所述第一应用运行于前台的情况下,显示第一提示信息,所述第一提示信息用于提示所述第一应用处于无声播放音频的状态。The second processing submodule is configured to display first prompt information when the first application is running in the foreground, where the first prompt information is used to prompt the first application to be in a state of playing audio without sound.

可选的,所述装置600还包括:Optionally, the apparatus 600 further includes:

第一接收模块,用于接收用户对所述第一应用的第一输入,所述第一输入用于触发开启所述第一应用和触发播放音频中的至少一项;a first receiving module, configured to receive a user's first input to the first application, where the first input is used to trigger at least one of opening the first application and triggering playback of audio;

第一响应模块,用于响应于所述第一输入,显示第二提示信息,其中,所述第二提示信息用于提示所述第一应用在后台播放过无声音频。A first response module, configured to display second prompt information in response to the first input, wherein the second prompt information is used to prompt the first application to play silent audio in the background.

可选的,所述第一处理模块602,包括:Optionally, the first processing module 602 includes:

第二处理子模块,用于在所述电子设备处于休眠状态时,关闭所述第一应用。The second processing submodule is configured to close the first application when the electronic device is in a sleep state.

可选的,所述音频的播放参数包括:所述音频的输出频率和音频流数据;Optionally, the audio playback parameters include: the audio output frequency and audio stream data;

所述在所述播放参数指示所述音频为无声播放的情况下,所述装置600还包括:In the case that the playback parameter indicates that the audio is played silently, the apparatus 600 further includes:

第一确定模块,用于在所述输出频率不在人耳可听见范围内的情况下,确定所述音频为无声播放;或者,a first determining module, 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 proportion of empty data in the audio stream data is higher than a preset value when the output frequency is within the audible range of the human ear.

该应用的处理装置600,在第一应用中存在音频播放的情况下,通过检测所述音频的播放参数;并在播放参数指示音频为无声播放的情况下,对第一应用执行目标处理操作,能够使用户及时发现播放无声音频的第一应用,并及时对第一应用进行处理,避免导致用户电子设备耗电快。The processing device 600 of the application, in the case of audio playback in the first application, detects the playback parameters of the audio; and when the playback parameters indicate that the audio is played silently, performs the target processing operation on the first application, It enables the user to discover the first application playing silent audio in time, and to process the first application in time, so as to avoid fast power consumption of the user's electronic device.

本申请实施例中的应用的处理装置600可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The processing device 600 of the application in the embodiments of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. This application Examples are not specifically limited.

本申请实施例中的应用的处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The processing device of the application in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的应用的处理装置能够实现图1至图5的方法实施例实现的各个过程,为避免重复,这里不再赘述。The application processing apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 5 , which is not repeated here to avoid repetition.

可选地,如图7所示,本申请实施例还提供一种电子设备700,包括处理器701,存储器702,存储在存储器702上并可在所述处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述应用的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 7 , an embodiment of the present application further provides an electronic device 700, including 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 application processing method embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.

图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。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. part.

本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 800 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .

处理器810,用于在第一应用中存在音频播放的情况下,检测所述音频的播放参数;在所述播放参数指示所述音频为无声播放的情况下,对所述第一应用执行目标处理操作。The processor 810 is configured to detect a playback parameter of the audio in the case of audio playback in the first application; in the case that the playback parameter indicates that the audio is played without sound, execute a target for the first application Handling operations.

该电子设备800,在第一应用中存在音频播放的情况下,通过检测所述音频的播放参数;并在播放参数指示音频为无声播放的情况下,对第一应用执行目标处理操作,能够使用户及时发现播放无声音频的第一应用,并及时对第一应用进行处理,避免导致用户电子设备耗电快。The electronic device 800, when there is audio playback in the first application, detects the playback parameters of the audio; and when the playback parameters indicate that the audio is played silently, performs the target processing operation on the first application, so that the The user discovers the first application that plays the silent audio in time, and processes the first application in time, so as to avoid fast power consumption of the user's electronic device.

可选的,处理器810在对所述第一应用执行目标处理操作时,具体用于在所述第一应用运行于后台的情况下,关闭所述第一应用;或者,Optionally, when the processor 810 performs the target processing operation on the first application, it is specifically configured to close the first application when the first application runs in the background; or,

在所述第一应用运行于前台的情况下,显示第一提示信息,所述第一提示信息用于提示所述第一应用处于无声播放音频的状态。When the first application runs in the foreground, first prompt information is displayed, where the first prompt information is used to prompt the first application to be in a state of playing audio without sound.

可选的,用户输入单元807,用于接收用户对所述第一应用的第一输入,所述第一输入用于触发开启所述第一应用和触发播放音频中的至少一项;Optionally, the user input unit 807 is configured to receive a first input from a user to the first application, where the first input is used to trigger at least one of opening the first application and triggering playback of audio;

显示单元806,用于响应于所述第一输入,显示第二提示信息,其中,所述第二提示信息用于提示所述第一应用在后台播放过无声音频。The display unit 806 is configured to display second prompt information in response to the first input, wherein the second prompt information is used to prompt the first application to play silent audio in the background.

可选的,处理器810,还用于若所述电子设备处于休眠状态,则关闭所述第一应用。Optionally, the processor 810 is further configured to close the first application if the electronic device is in a sleep state.

可选的,所述音频的播放参数包括:所述音频的输出频率和音频流数据;处理器810,还用于在所述输出频率不在人耳可听见范围内的情况下,确定所述音频为无声播放;或者,在所述输出频率在人耳可听见范围内的情况下,若所述音频流数据中空数据占比高于预设值,则确定所述音频为无声播放。Optionally, the playback parameters of the audio include: the output frequency of the audio and audio stream data; the processor 810 is further configured to determine the audio when the output frequency is not within the audible range of the human ear or, in the case that the output frequency is within the audible range of the human ear, if the proportion of empty data in the audio stream data is higher than a preset value, it is determined that the audio is played silently.

应理解的是,本申请实施例中,输入单元804可以包括图形处理器(GraphicsProcessing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器809可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。It should be understood that, in this embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042. camera) to process the image data of still pictures or videos. The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. 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 may include two parts, a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again. Memory 809 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 810.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述应用的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned application processing method embodiment can be achieved, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述应用的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement the processing method embodiment of the above application and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present application can be embodied in the form of computer software products that are essentially or contribute to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk , CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (12)

1.一种应用的处理方法,其特征在于,包括:1. a processing method of application, is characterized in that, comprises: 在第一应用中存在音频播放的情况下,检测所述音频的播放参数;In the case of audio playback in the first application, detecting the playback parameters of the audio; 在所述播放参数指示所述音频为无声播放的情况下,对所述第一应用执行目标处理操作。In a case where the playback parameter indicates that the audio is played silently, a target processing operation is performed on the first application. 2.根据权利要求1所述的应用的处理方法,其特征在于,所述对所述第一应用执行目标处理操作,包括:2. The method for processing an application according to claim 1, wherein the performing a target processing operation on the first application comprises: 在所述第一应用运行于后台的情况下,关闭所述第一应用;或者,In the case that the first application is running in the background, the first application is closed; or, 在所述第一应用运行于前台的情况下,显示第一提示信息,所述第一提示信息用于提示所述第一应用处于无声播放音频的状态。When the first application runs in the foreground, first prompt information is displayed, where the first prompt information is used to prompt the first application to be in a state of playing audio without sound. 3.根据权利要求2所述的应用的处理方法,其特征在于,所述关闭所述第一应用之后,所述方法还包括:3. The application processing method according to claim 2, wherein after the first application is closed, the method further comprises: 接收用户对所述第一应用的第一输入,所述第一输入用于触发开启所述第一应用和触发播放音频中的至少一项;receiving a first input from the user to the first application, where the first input is used to trigger at least one of opening the first application and triggering playback of audio; 响应于所述第一输入,显示第二提示信息,其中,所述第二提示信息用于提示所述第一应用在后台播放过无声音频。In response to the first input, second prompt information is displayed, wherein the second prompt information is used to prompt the first application to play silent audio in the background. 4.根据权利要求1所述的应用的处理方法,其特征在于,所述对所述第一应用执行目标处理操作,包括:4. The application processing method according to claim 1, wherein the performing a target processing operation on the first application comprises: 若所述电子设备处于休眠状态,则关闭所述第一应用。If the electronic device is in a dormant state, the first application is closed. 5.根据权利要求1所述的应用的处理方法,其特征在于,所述音频的播放参数包括:所述音频的输出频率和音频流数据;5. The application processing method according to claim 1, wherein the audio playback parameters comprise: the audio output frequency and audio stream data; 所述在所述播放参数指示所述音频为无声播放的情况下,对所述第一应用执行目标处理操作之前,所述方法还包括:In the case where the playback parameter indicates that the audio is played silently, before performing the target processing operation on the first application, the method further includes: 在所述输出频率不在人耳可听见范围内的情况下,确定所述音频为无声播放;或者,In the case that the output frequency is not within the audible range of human ears, it is determined that the audio is played silently; or, 在所述输出频率在人耳可听见范围内的情况下,若所述音频流数据中空数据占比高于预设值,则确定所述音频为无声播放。In the case that the output frequency is within the audible range of the human ear, if the proportion of empty data in the audio stream data is higher than a preset value, it is determined that the audio is played silently. 6.一种应用的处理装置,其特征在于,包括:6. An applied processing device, characterized in that, comprising: 检测模块,用于在第一应用中存在音频播放的情况下,检测所述音频的播放参数;a detection module, configured to detect the playback parameters of the audio when there is audio playback in the first application; 第一处理模块,用于在所述播放参数指示所述音频为无声播放的情况下,对所述第一应用执行目标处理操作。A first processing module, configured to perform a target processing operation on the first application when the playback parameter indicates that the audio is played silently. 7.根据权利要求6所述的应用的处理装置,其特征在于,所述第一处理模块,包括:7. The application processing device according to claim 6, wherein the first processing module comprises: 第一处理子模块,用于在所述第一应用运行于后台的情况下,关闭所述第一应用;或者,a first processing submodule, configured to close the first application when the first application runs in the background; or, 第二处理子模块,用于在所述第一应用运行于前台的情况下,显示第一提示信息,所述第一提示信息用于提示所述第一应用处于无声播放音频的状态。The second processing submodule is configured to display first prompt information when the first application is running in the foreground, where the first prompt information is used to prompt the first application to be in a state of playing audio without sound. 8.根据权利要求7所述的应用的处理装置,其特征在于,所述装置还包括:8. The application processing device according to claim 7, wherein the device further comprises: 第一接收模块,用于接收用户对所述第一应用的第一输入,所述第一输入用于触发开启所述第一应用和触发播放音频中的至少一项;a first receiving module, configured to receive a user's first input to the first application, where the first input is used to trigger at least one of opening the first application and triggering playback of audio; 第一响应模块,用于响应于所述第一输入,显示第二提示信息,其中,所述第二提示信息用于提示所述第一应用在后台播放过无声音频。A first response module, configured to display second prompt information in response to the first input, wherein the second prompt information is used to prompt the first application to play silent audio in the background. 9.根据权利要求6所述的应用的处理装置,其特征在于,所述第一处理模块,包括:9. The application processing device according to claim 6, wherein the first processing module comprises: 第二处理子模块,用于在所述电子设备处于休眠状态时,关闭所述第一应用。The second processing submodule is configured to close the first application when the electronic device is in a sleep state. 10.根据权利要求6所述的应用的处理装置,其特征在于,所述音频的播放参数包括:所述音频的输出频率和音频流数据;10. The processing device of claim 6, wherein the audio playback parameters include: the audio output frequency and audio stream data; 所述在所述播放参数指示所述音频为无声播放的情况下,所述装置还包括:In the case that the playback parameter indicates that the audio is played silently, the apparatus further includes: 第一确定模块,用于在所述输出频率不在人耳可听见范围内的情况下,确定所述音频为无声播放;或者,a first determining module, 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 proportion of empty data in the audio stream data is higher than a preset value when the output frequency is within the audible range of the human ear. 11.一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的应用的处理方法的步骤。11. An electronic device, characterized in that it comprises a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and the program or instruction is implemented when executed by the processor The steps of the application processing method according to any one of claims 1-5. 12.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的应用的处理方法的步骤。12. A readable storage medium, characterized in that, a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the application according to any one of claims 1-5 is implemented. The steps of the processing method.
CN202111287075.9A 2021-11-02 2021-11-02 Application processing method and device and electronic equipment Pending CN113986190A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111287075.9A CN113986190A (en) 2021-11-02 2021-11-02 Application processing method and device and electronic equipment
PCT/CN2022/129062 WO2023078262A1 (en) 2021-11-02 2022-11-01 Application processing method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111287075.9A CN113986190A (en) 2021-11-02 2021-11-02 Application processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113986190A true CN113986190A (en) 2022-01-28

Family

ID=79745679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111287075.9A Pending CN113986190A (en) 2021-11-02 2021-11-02 Application processing method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN113986190A (en)
WO (1) WO2023078262A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023078262A1 (en) * 2021-11-02 2023-05-11 维沃移动通信有限公司 Application processing method and apparatus, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208642A (en) * 2015-10-10 2015-12-30 魅族科技(中国)有限公司 Application management method and terminal
WO2016095681A1 (en) * 2014-12-19 2016-06-23 北京奇虎科技有限公司 Method and device for application running in background
CN107426401A (en) * 2017-04-27 2017-12-01 北京小米移动软件有限公司 Silence warning method, apparatus and terminal
CN108605162A (en) * 2016-12-30 2018-09-28 华为技术有限公司 The treating method and apparatus of audio data
CN111459759A (en) * 2020-03-31 2020-07-28 Oppo广东移动通信有限公司 Electronic device, method for managing application program thereof, and computer storage medium
CN112997131A (en) * 2018-11-13 2021-06-18 深圳市欢太科技有限公司 Audio resource release method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6531449B2 (en) * 2015-03-20 2019-06-19 沖電気工業株式会社 Voice processing apparatus, program and method, and exchange apparatus
CN105429984B (en) * 2015-11-27 2019-03-15 刘军 Media playback method, equipment and music teaching system
CN113986190A (en) * 2021-11-02 2022-01-28 维沃移动通信有限公司 Application processing method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095681A1 (en) * 2014-12-19 2016-06-23 北京奇虎科技有限公司 Method and device for application running in background
CN105208642A (en) * 2015-10-10 2015-12-30 魅族科技(中国)有限公司 Application management method and terminal
CN108605162A (en) * 2016-12-30 2018-09-28 华为技术有限公司 The treating method and apparatus of audio data
CN107426401A (en) * 2017-04-27 2017-12-01 北京小米移动软件有限公司 Silence warning method, apparatus and terminal
CN112997131A (en) * 2018-11-13 2021-06-18 深圳市欢太科技有限公司 Audio resource release method and device and electronic equipment
CN111459759A (en) * 2020-03-31 2020-07-28 Oppo广东移动通信有限公司 Electronic device, method for managing application program thereof, and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023078262A1 (en) * 2021-11-02 2023-05-11 维沃移动通信有限公司 Application processing method and apparatus, and electronic device

Also Published As

Publication number Publication date
WO2023078262A1 (en) 2023-05-11

Similar Documents

Publication Publication Date Title
WO2022001900A1 (en) Information sending method and apparatus, and electronic device
CN108062190B (en) Application running state control method and mobile terminal
US11088567B2 (en) Brownout avoidance
WO2014201863A1 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
WO2022156668A1 (en) Information processing method and electronic device
CN107783803A (en) System optimization method, device, storage medium and intelligent terminal for intelligent terminal
CN109660665A (en) Screen control method, screen control device and terminal equipment
CN107450838B (en) Response method and device of black screen gesture, storage medium and mobile terminal
WO2014101101A1 (en) Task switching method and terminal
US20230152956A1 (en) Wallpaper display control method and apparatus and electronic device
EP3232325B1 (en) Method and device for starting application interface
WO2022135476A1 (en) Screenshot method and apparatus, and electronic device
CN111831181A (en) Application switching display method and device and electronic equipment
WO2022161466A1 (en) Method and apparatus for operating application program, electronic device, and storage medium
CN106095419A (en) Wake lock release method and device
WO2021233282A1 (en) Method and apparatus for displaying message detail page, and electronic device
WO2022161382A1 (en) Control method and apparatus, and electronic device
CN107562356B (en) Fingerprint identification positioning method and device, storage medium and electronic equipment
CN112099702A (en) Application running method and device and electronic equipment
WO2021022434A1 (en) Application monitoring method and apparatus, storage medium, and electronic device
CN113986190A (en) Application processing method and device and electronic equipment
WO2023030129A1 (en) Message display method, apparatus and electronic device
WO2022002025A1 (en) New message prompting method and apparatus, electronic device, medium, product, and chip
CN113703896A (en) Event trigger control method and device, electronic equipment and medium
CN114327088A (en) Message sending method, device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination