Movatterモバイル変換


[0]ホーム

URL:


CN110531904A - A kind of background task display methods and terminal - Google Patents

A kind of background task display methods and terminal
Download PDF

Info

Publication number
CN110531904A
CN110531904ACN201910753737.3ACN201910753737ACN110531904ACN 110531904 ACN110531904 ACN 110531904ACN 201910753737 ACN201910753737 ACN 201910753737ACN 110531904 ACN110531904 ACN 110531904A
Authority
CN
China
Prior art keywords
input
application program
display area
interface
background task
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
CN201910753737.3A
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 LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201910753737.3ApriorityCriticalpatent/CN110531904A/en
Publication of CN110531904ApublicationCriticalpatent/CN110531904A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例提供了一种后台任务显示方法及终端。该方法包括:接收用户的第一输入;响应于第一输入,显示多任务界面;该多任务界面包括:第一显示区域和第二显示区域,第一显示区域用于显示后台任务中的第一应用程序的界面缩略图列表,第二显示区域用于显示后台任务中的第二应用程序的图标列表,第一应用程序为后台任务清理白名单之外的应用程序,第二应用程序为后台任务清理白名单中的应用程序。本发明实施例中,在多任务界面中,分别在不同区域显示未加入后台清理白名单的应用程序的后台任务与加入后台清理白名单的应用程序的后台任务,这样便于用户对普通APP和白名单APP的后台任务的分辨。

Embodiments of the present invention provide a background task display method and a terminal. The method includes: receiving a first input from a user; in response to the first input, displaying a multitasking interface; the multitasking interface includes: a first display area and a second display area, and the first display area is used to display the first task in the background task A list of interface thumbnails of the application program, the second display area is used to display the icon list of the second application program in the background task, the first application program cleans up the application programs outside the white list for the background task, and the second application program is the background task The task cleans up applications in the whitelist. In the embodiment of the present invention, in the multi-tasking interface, the background tasks of the application programs that have not been added to the background cleaning whitelist and the background tasks of the application programs that have been added to the background cleaning whitelist are displayed in different areas. The background tasks of the list APP are distinguished.

Description

Translated fromChinese
一种后台任务显示方法及终端Background task display method and terminal

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种后台任务显示方法及终端。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method for displaying background tasks and a terminal.

背景技术Background technique

有些系统(如安卓系统)的终端,为了控制耗电会限制后台应用程序(以下简称APP)的运行,部分后台运行的APP一段时间后会被关闭,对于例如跑步类APP,这样处理会导致APP的记录功能无法使用。现有技术中,为了保持APP的后台运行,需要将该APP加入到后台清理白名单,才能在后台运行时不会被清理。In some systems (such as Android system) terminals, in order to control power consumption, the running of background applications (hereinafter referred to as APPs) will be restricted, and some APPs running in the background will be closed after a period of time. For running APPs, such processing will cause APP The recording function of is not available. In the prior art, in order to keep the APP running in the background, it is necessary to add the APP to the background cleaning whitelist, so that the APP will not be cleaned when running in the background.

目前在多任务界面中,后台运行的普通APP(即未加入后台清理白名单中的APP)与白名单APP(即加入后台清理白名单中的APP)均以卡片(可以理解为应用程序的界面缩略图)的形式展示在多任务界面,两者通过右上角的小锁图标的开关来作区分。用户通过上滑,选中卡片任务来关闭APP后台,通过选中卡片下拉后放手,可以将普通的APP加入到后台清理白名单,这时,卡片右上角小锁图标展示为关闭状态,再次下拉后放手,将白名单APP变成普通APP,这时,卡片右上角的小锁图标展示为打开状态。普通的APP与白名单APP都是通过一步上滑操作来关闭。由于白名单APP与普通APP在任务卡片栏不容易被区分,习惯上滑关闭应用的用户容易将刚刚加入白名单的APP上滑关闭,影响用户的使用。At present, in the multitasking interface, ordinary apps running in the background (that is, apps that have not been added to the background cleanup whitelist) and whitelist apps (that is, apps that have been added to the background cleanup whitelist) are all separated by cards (which can be understood as the interface of the application program). Thumbnails) are displayed on the multitasking interface, and the two are distinguished by the switch of the small lock icon in the upper right corner. The user slides up and selects the card task to close the APP background. By selecting the card and dropping it down, the user can add the ordinary APP to the background cleaning white list. , to turn the whitelist app into a normal app. At this time, the small lock icon in the upper right corner of the card is displayed as open. Ordinary apps and whitelist apps are closed by one-step sliding operation. Since whitelisted apps are not easy to distinguish from common apps on the task card bar, users who are used to swiping up to close apps will easily swipe up to close apps that have just been added to the whitelist, which will affect the user's use.

发明内容Contents of the invention

本发明实施例提供了一种后台任务显示方法及终端,以解决现有技术中由于在多任务界面显示的白名单APP的后台任务与普通APP的后台任务不容易被区分,导致容易误关闭白名单APP的后台任务的问题。Embodiments of the present invention provide a background task display method and terminal to solve the problem that in the prior art, the background tasks of the white list APP displayed on the multi-tasking interface are not easy to be distinguished from the background tasks of ordinary APPs, which leads to easy to close the white list by mistake. The problem with the background task of List APP.

为了解决上述技术问题,本发明采用如下技术方案:In order to solve the above technical problems, the present invention adopts the following technical solutions:

第一方面,提供了一种后台任务显示方法,应用于终端,包括:In the first aspect, a method for displaying background tasks is provided, which is applied to a terminal, including:

接收用户的第一输入;receiving a first input from the user;

响应于所述第一输入,显示多任务界面;displaying a multitasking interface in response to the first input;

其中,所述多任务界面包括:第一显示区域和第二显示区域,所述第一显示区域用于显示后台任务中的第一应用程序的界面缩略图列表,所述第二显示区域用于显示后台任务中的第二应用程序的图标列表,所述第一应用程序为后台任务清理白名单之外的应用程序,所述第二应用程序为后台任务清理白名单中的应用程序。Wherein, the multi-tasking interface includes: a first display area and a second display area, the first display area is used to display the interface thumbnail list of the first application program in the background task, and the second display area is used for An icon list of a second application program in the background task is displayed, the first application program is an application program outside the background task cleaning white list, and the second application program is an application program in the background task cleaning white list.

第二方面,提供了一种终端,包括:In a second aspect, a terminal is provided, including:

第一接收模块,用于接收用户的第一输入;A first receiving module, configured to receive a first input from a user;

第一处理模块,用于响应于所述第一接收模块接收的所述第一输入,显示多任务界面;A first processing module, configured to display a multitasking interface in response to the first input received by the first receiving module;

其中,所述多任务界面包括:第一显示区域和第二显示区域,所述第一显示区域用于显示后台任务中的第一应用程序的界面缩略图列表,所述第二显示区域用于显示后台任务中的第二应用程序的图标列表,所述第一应用程序为后台任务清理白名单之外的应用程序,所述第二应用程序为后台任务清理白名单中的应用程序。Wherein, the multi-tasking interface includes: a first display area and a second display area, the first display area is used to display the interface thumbnail list of the first application program in the background task, and the second display area is used for An icon list of a second application program in the background task is displayed, the first application program is an application program outside the background task cleaning white list, and the second application program is an application program in the background task cleaning white list.

第三方面,提供了一种终端,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述的后台任务显示方法的步骤。In a third aspect, a terminal is provided, including: a processor, a memory, and a computer program stored on the memory and operable on the processor. When the computer program is executed by the processor, the above-mentioned Steps in the background task display method described above.

第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上所述的后台任务显示方法的步骤。In a fourth aspect, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above background task display method are realized.

本发明实施例中,在多任务界面中,分别在不同区域显示未加入后台清理白名单的应用程序的后台任务与加入后台清理白名单的应用程序的后台任务,这样清晰明了,能够便于用户快速、清楚的区分出哪些是普通APP,哪些是白名单APP,从而避免用户因对普通APP和白名单APP的后台任务分辨不清,导致不小心关闭白名单APP后台任务而造成的尴尬。In the embodiment of the present invention, in the multi-tasking interface, the background tasks of the application programs that have not been added to the background cleaning whitelist and the background tasks of the application programs that have been added to the background cleaning whitelist are displayed in different areas. , Clearly distinguish which are ordinary apps and which are whitelisted apps, so as to avoid the embarrassment caused by users not being able to distinguish the background tasks of ordinary apps and whitelisted apps, resulting in accidentally closing the background tasks of whitelisted apps.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1表示本发明实施例提供的后台任务显示方法的流程示意图;FIG. 1 shows a schematic flow diagram of a background task display method provided by an embodiment of the present invention;

图2表示本发明实施例提供的多任务界面的示意图;FIG. 2 shows a schematic diagram of a multitasking interface provided by an embodiment of the present invention;

图3表示本发明实施例提供的终端的框图之一;FIG. 3 shows one of the block diagrams of a terminal provided by an embodiment of the present invention;

图4表示本发明实施例提供的终端的框图之二。FIG. 4 shows the second block diagram of a terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

依据发明实施例的一个方面,提供了一种后台任务显示方法,应用于终端,该终端包括但不限于:手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。According to an aspect of an embodiment of the invention, a method for displaying background tasks is provided, which is applied to terminals, including but not limited to: mobile phones, tablet computers, notebook computers, handheld computers, vehicle-mounted terminals, wearable devices, and pedometers Wait.

如图1所示,该后台任务显示方法包括:As shown in Figure 1, the background task display method includes:

步骤101:接收用户的第一输入。Step 101: Receive a first input from a user.

这里所述的第一输入为用于调出多任务界面的操作。The first input mentioned here is an operation for calling out a multitasking interface.

可选地,该第一输入可以是用户对多任务按钮的点击操作,也可以是在系统导航开启了导航手势的前提下,在终端的屏幕上的上滑操作,一般为在屏幕上上滑至预设位置并在该预设位置停留预设时间后,调出多任务界面。Optionally, the first input may be the user's click operation on the multitasking button, or it may be an up-swipe operation on the screen of the terminal under the premise that navigation gestures are enabled in the system navigation, generally, a swipe up operation on the screen After arriving at the preset position and staying at the preset position for a preset time, the multitasking interface is called out.

步骤102:响应于第一输入,显示多任务界面。Step 102: Display a multitasking interface in response to the first input.

终端在检测到第一输入后,调出并显示该多任务界面。After detecting the first input, the terminal invokes and displays the multitasking interface.

如图2所示,该多任务界面2包括:第一显示区域201和第二显示区域202。该第一显示区域201用于显示后台任务中的第一应用程序的界面缩略图列表,(如图2中的203所示)。该第二显示区域202用于显示后台任务中的第二应用程序的图标列表,(如图2中的204所示)。其中,第一应用程序为后台任务清理白名单之外的应用程序,第二应用程序为后台任务清理白名单中的应用程序。As shown in FIG. 2 , the multitasking interface 2 includes: a first display area 201 and a second display area 202 . The first display area 201 is used to display an interface thumbnail list of the first application program in the background task (as shown by 203 in FIG. 2 ). The second display area 202 is used to display a list of icons of the second application program in the background task (as shown by 204 in FIG. 2 ). Wherein, the first application program cleans up the application programs outside the white list for the background task, and the second application program cleans up the application programs in the white list for the background task.

本发明实施例中,第一应用程序的后台任务的显示形式可以遵循现有的显示方式,即第一应用程序的后台任务以第一应用程序的界面缩略图列表显示(如图2中的203所示),也就是以卡片形式进行显示,而各个界面缩略图堆叠显示,形成界面缩略图列表,这样可以保证绝大多数用户的使用习惯,降低用户的使用不适感。而第二应用程序的后台任务可以以第二应用程序的图标列表(如图2中的204所示)进行显示,由于图标比较小、占用的显示空间少且图标鲜明,因此,在保证第二应用程序的后台任务显示的同时,还能够使用户便于确认对应的应用程序。In the embodiment of the present invention, the display form of the background task of the first application program can follow the existing display mode, that is, the background task of the first application program is displayed in a list of interface thumbnails of the first application program (as shown in 203 in FIG. 2 ). As shown), it is displayed in the form of cards, and the thumbnails of each interface are stacked and displayed to form a list of interface thumbnails, which can ensure the usage habits of most users and reduce the discomfort of users. And the background task of the second application program can be displayed with the icon list of the second application program (as shown in 204 in Figure 2), because the icon is relatively small, the display space taken up is less and the icon is bright, therefore, in ensuring the second While displaying the background tasks of the application programs, it is also possible for the user to easily confirm the corresponding application programs.

本发明实施例中,在多任务界面中,将未加入后台清理白名单的应用程序的后台任务与加入后台清理白名单的应用程序的后台任务分开显示,即在多任务界面中,分别在不同区域显示未加入后台清理白名单的应用程序的后台任务与加入后台清理白名单的应用程序的后台任务,这样清晰明了,能够便于用户快速、清楚的区分出哪些是普通APP,哪些是白名单APP,从而避免用户因对普通APP和白名单APP的后台任务分辨不清,导致不小心关闭白名单APP后台任务而造成的尴尬。In the embodiment of the present invention, in the multitasking interface, the background tasks of applications not added to the background cleaning whitelist are displayed separately from the background tasks of applications added to the background cleaning whitelist, that is, in the multitasking interface, they are displayed separately in different The area displays the background tasks of applications that have not been added to the background cleaning whitelist and the background tasks of applications that have been added to the background cleaning whitelist. This is clear and clear, and it is easy for users to quickly and clearly distinguish which are ordinary apps and which are whitelist apps. , so as to avoid the embarrassment caused by the user not being able to distinguish between the background tasks of the normal APP and the whitelist APP, and accidentally closing the background tasks of the whitelist APP.

可选地,第二显示区域显示于第一显示区域的下方。如图2所示,第二显示区域位于多任务界面的底部。由于白名单APP属于用户常用的APP,放在界面底部,可方便用户切换。而第一显示区域位于第二显示区域的上方、多任务界面的上方。Optionally, the second display area is displayed below the first display area. As shown in FIG. 2, the second display area is located at the bottom of the multitasking interface. Since the whitelist APPs are commonly used by users, they are placed at the bottom of the interface, which is convenient for users to switch. The first display area is located above the second display area and above the multitasking interface.

可选地,在显示多任务界面之后,该方法还包括:接收用户对第一应用程序中的第一目标应用程序的界面缩略图的第二输入;响应于第二输入,将第一目标应用程序加入后台任务清理白名单中,并在第二显示区域显示第一目标应用程序的图标。Optionally, after the multitasking interface is displayed, the method further includes: receiving a second input from the user on the interface thumbnail of the first target application program in the first application program; The program is added to the background task cleaning white list, and the icon of the first target application program is displayed in the second display area.

其中,这里所述的第二输入为将第一目标应用程序的界面缩略图移动到第二显示区域的输入。该第二输入可以是滑动操作,也可以是点击操作。Wherein, the second input mentioned here is an input for moving the interface thumbnail of the first target application program to the second display area. The second input can be a sliding operation or a clicking operation.

本发明实施例中,可通过对第一应用程序的中某个应用程序(即第一目标应用程序)的后台任务进行第二输入,将该应用程序加入后台清理白名单中,同时,该应用程序的后台任务显示也相应的发生变化,如从第一显示区域移动至第二显示区域进行显示,并且后台任务的显示形式也从界面缩略图变为应用图标。In the embodiment of the present invention, by performing a second input on the background task of a certain application program (i.e. the first target application program) in the first application program, the application program can be added to the background cleaning white list, and at the same time, the application program The background task display of the program also changes correspondingly, for example, moves from the first display area to the second display area for display, and the display form of the background task also changes from an interface thumbnail to an application icon.

例如,在第一显示区域显示的后台任务以应用程序的界面缩略图进行显示,在第二显示区域显示的后台任务以应用程序的图标进行显示。当用户通过触控体(如手指或触控笔)在屏幕上对第一显示区域的一应用程序的界面缩略图做出了向第二显示区域方向移动的下拉操作(即向下的滑动操作),并且在触控体达到预设位置(如第二显示区域)并远离屏幕时,该应用程序即被加入后台清理白名单中。与此同时,该应用程序的后台任务也会由第一显示区域移动至第二显示区域进行显示,后台任务的显示形式也从界面缩略图变为应用图标。For example, the background tasks displayed in the first display area are displayed as interface thumbnails of the application programs, and the background tasks displayed in the second display area are displayed as icons of the application programs. When the user uses a touch body (such as a finger or a stylus) on the screen to perform a pull-down operation on the interface thumbnail of an application in the first display area to move toward the second display area (that is, a downward slide operation) ), and when the touch body reaches the preset position (such as the second display area) and moves away from the screen, the application is added to the background cleaning whitelist. At the same time, the background task of the application will also be moved from the first display area to the second display area for display, and the display form of the background task will also be changed from an interface thumbnail to an application icon.

在第二输入为点击操作时,可以先通过点击操作选中第一目标应用程序,然后再点击第二显示区域,这时第一目标应用程序会被加入后台清理白名单中,同时第一目标应用程序的后台任务以应用图标形式显示于第二显示区域。When the second input is a click operation, you can first select the first target application through the click operation, and then click the second display area. At this time, the first target application will be added to the background cleaning white list, and the first target application The background tasks of the program are displayed in the second display area in the form of application icons.

其中,为了表现出后台任务的显示变化过程,可以设置动画效果,如飞入动画,在通过下拉操作控制应用程序的后台任务移动时,设计应用程序的界面缩略图逐渐缩小,然后逐渐变为该应用程序的图标,最后飞入到第二显示区域显示。其中,可以将新加入到后台清理白名单中的应用程序的图标显示在图标列表中的第一个位置,而其他图标后移。Among them, in order to show the display change process of the background task, animation effects can be set, such as flying into the animation. When the background task movement of the application is controlled by the pull-down operation, the interface thumbnail of the design application gradually shrinks, and then gradually changes to this The icon of the application program is finally flown into the second display area for display. Wherein, the icon of the application program newly added to the background cleaning white list can be displayed at the first position in the icon list, while other icons are moved backward.

可选地,在显示多任务界面之后,该方法还包括:接收用户对第二应用程序中的第二目标应用程序的图标的第三输入;响应于第三输入,将第二目标应用程序从后台任务清理白名单中删除,并在第一显示区域显示第二目标应用程序的界面缩略图。Optionally, after the multitasking interface is displayed, the method further includes: receiving a third input from the user on the icon of the second target application program in the second application program; in response to the third input, moving the second target application program from the The background task is deleted from the white list, and the interface thumbnail of the second target application is displayed in the first display area.

其中,这里所述的第三输入为将第二目标应用程序的图标移动到第一显示区域的输入。该第二输入可以是滑动操作,也可以是点击操作。Wherein, the third input mentioned here is an input of moving the icon of the second target application program to the first display area. The second input can be a sliding operation or a clicking operation.

本发明实施例中,可通过对第二应用程序中的某一应用程序的后台任务进行第三输入,将该应用程序从后台清理白名单中删除,同时,该应用程序的后台任务显示也相应的发生变化,如从第二显示区域移动至第一显示区域进行显示,并且后台任务的显示形式也从应用图标变为界面缩略图。In the embodiment of the present invention, the background task of a certain application program in the second application program can be deleted from the background cleaning whitelist through the third input, and at the same time, the background task display of the application program is also corresponding changes, such as moving from the second display area to the first display area for display, and the display form of the background task is also changed from an application icon to an interface thumbnail.

例如,在第一显示区域显示的后台任务以应用程序的界面缩略图进行显示,在第二显示区域显示的后台任务以应用程序的图标进行显示。当用户通过触控体(如手指或触控笔)在屏幕上对第二显示区域的一应用程序的图标做出了向第一显示区域方向移动的上拉操作(即向上的滑动操作),并且在触控体达到预设位置(如第一显示区域)并远离屏幕时,该应用程序即被从后台清理白名单中移除。与此同时,该应用程序的后台任务也会由第二显示区域移动至第一显示区域进行显示,后台任务的显示形式也从应用图标变为界面缩略图。For example, the background tasks displayed in the first display area are displayed as interface thumbnails of the application programs, and the background tasks displayed in the second display area are displayed as icons of the application programs. When the user performs a pull-up operation (that is, an upward sliding operation) to move toward the direction of the first display area on an application icon in the second display area on the screen through a touch body (such as a finger or a stylus pen), And when the touch body reaches the preset position (such as the first display area) and moves away from the screen, the application program is removed from the background cleaning white list. At the same time, the background task of the application will also be moved from the second display area to the first display area for display, and the display form of the background task will also be changed from an application icon to an interface thumbnail.

在第三输入为点击操作时,可以先通过点击操作选中第二目标应用程序,然后再点击第一显示区域,这时第一目标应用程序会被从后台清理白名单中移除,同时第而目标应用程序的后台任务以界面缩略图形式显示于第一显示区域。When the third input is a click operation, the second target application can be selected through the click operation first, and then click the first display area. At this time, the first target application will be removed from the background cleaning whitelist, and the second Background tasks of the target application are displayed in the first display area in the form of interface thumbnails.

其中,为了表现出后台任务的显示变化过程,可以设置动画效果,如飞入动画,在通过上拉操作控制应用程序的后台任务移动时,设计应用程序的图标逐渐方便,然后逐渐变为该应用程序的界面缩略图,最后飞入到第一显示区域显示。其中,可以将新显示第一显示区域的应用程序的界面缩略图,显示在卡片列表的第一个位置,其他卡片任务后移。Among them, in order to show the display change process of the background task, animation effects can be set, such as flying into the animation. When the background task movement of the application is controlled by the pull-up operation, the icon of the design application is gradually convenient, and then gradually changes to the application. The thumbnail of the program interface will finally fly into the first display area for display. Wherein, the interface thumbnail of the application newly displayed in the first display area may be displayed at the first position of the card list, and other card tasks may be moved backward.

可选地,在将第二目标应用程序的后台任务从第二显示区域移动至第一显示区域进行显示之后,该方法还包括:接收用户对第二目标应用程序的界面缩略图的第四输入;响应于所述第四输入,在后台任务中关闭第二目标应用程序。Optionally, after the background task of the second target application is moved from the second display area to the first display area for display, the method further includes: receiving a fourth input from the user on the interface thumbnail of the second target application ; closing the second target application in a background task in response to the fourth input.

其中,这里所述的第四输入为将第二目标应用程序的界面缩略图拖出多任务界面的滑动输入。Wherein, the fourth input mentioned here is a sliding input for dragging the interface thumbnail of the second target application program out of the multitasking interface.

本发明实施例中,可通过对显示于第一显示区域的后台任务进行第四输入,将该后台任务关闭。可选地,该第四输入可以是对后台任务的上拉滑动操作。In the embodiment of the present invention, the background task displayed in the first display area may be closed by performing a fourth input on the background task. Optionally, the fourth input may be a pull-up slide operation on the background task.

本发明实施例中,在关闭白名单APP的后台任务时,可以先通过第三输入,将APP由白名单APP变为普通APP,即将APP从后台清理白名单中删除,然后再通过第四输入将该APP的后台任务关闭,这样,通过多重操作来关闭白名单APP,可以降低误关闭事件的发生。In the embodiment of the present invention, when closing the background task of the whitelist APP, the APP can be changed from the whitelist APP to a normal APP through the third input, that is, to delete the APP from the background cleaning whitelist, and then through the fourth input Close the background task of the APP. In this way, closing the whitelist APP through multiple operations can reduce the occurrence of accidental shutdown events.

当然可以理解的是,还可以采用其他方式来关闭白名单APP的后台任务,如通过下拉白名单APP的后台任务,来关闭后台任务,这种方式简单便捷,便于用户操作。Of course, it is understandable that other methods can also be used to close the background tasks of the whitelist APP, such as closing the background tasks by pulling down the background tasks of the whitelist APP. This method is simple and convenient, and is convenient for the user to operate.

可选地,在显示多任务界面之后,该方法还包括:接收用户对显示于第一显示区域中的预设清理按键的第五输入;响应于第五输入,在后台任务中关闭第一显示区域显示的应用程序。Optionally, after the multitasking interface is displayed, the method further includes: receiving a fifth input from the user on the preset cleaning button displayed in the first display area; in response to the fifth input, closing the first display in the background task The application displayed in the area.

这里所述的第五输入可以是单击触控操作、双击触控操作、长按触控操作等。The fifth input mentioned here may be a single-click touch operation, a double-click touch operation, a long-press touch operation, and the like.

本发明实施例中,对于普通APP的后台任务,设置了一键关闭功能,通过触控预设清理按键,可以将第一显示区域内的所有普通APP的后台任务全部关闭,方便了用户的使用。In the embodiment of the present invention, for the background tasks of ordinary APPs, a one-key closing function is set, and by touching the preset cleaning button, all the background tasks of ordinary APPs in the first display area can be completely closed, which is convenient for users to use .

可选地,当没有后台运行的应用程序时,可以设置多任务界面以“无近期应用”文字进行无任务提醒。当只有普通APP的后台任务或白名单APP的后台任务时,可以设置没有后台任务显示的显示区域展示为灰色半透明效果,以进行无相应任务提醒。Optionally, when there is no application program running in the background, the multitasking interface can be set to use the text "No recent application" for no task reminder. When there are only background tasks of ordinary APPs or whitelisted APPs, you can set the display area without background tasks to be displayed as a gray translucent effect to remind you that there is no corresponding task.

综上所述,本发明实施例中,在多任务界面中,分别在不同区域显示未加入后台清理白名单的应用程序的后台任务与加入后台清理白名单的应用程序的后台任务,这样清晰明了,能够便于用户快速、清楚的区分出哪些是普通APP,哪些是白名单APP,从而避免用户因对普通APP和白名单APP的后台任务分辨不清,导致不小心关闭白名单APP后台任务而造成的尴尬。To sum up, in the embodiment of the present invention, in the multi-tasking interface, the background tasks of the applications not added to the background cleaning whitelist and the background tasks of the applications added to the background cleaning whitelist are displayed in different areas, so that it is clear and clear , it is convenient for users to quickly and clearly distinguish which are ordinary apps and which are whitelisted apps, so as to prevent users from being confused about the background tasks of ordinary apps and whitelisted apps, resulting in accidental closing of background tasks of whitelisted apps embarrassment.

依据本发明实施例的另一个方面,提供了一种终端,能实现上述后台任务显示方法中的细节,并达到相同的效果。According to another aspect of the embodiments of the present invention, a terminal is provided, which can realize the details in the above background task display method and achieve the same effect.

如图3所示,该终端包括:As shown in Figure 3, the terminal includes:

第一接收模块301,用于接收用户的第一输入。The first receiving module 301 is configured to receive a first input from a user.

第一处理模块302,用于响应于所述第一接收模块301接收的所述第一输入,显示多任务界面。The first processing module 302 is configured to display a multitasking interface in response to the first input received by the first receiving module 301 .

其中,所述多任务界面包括:第一显示区域和第二显示区域,所述第一显示区域用于显示后台任务中的第一应用程序的界面缩略图列表,所述第二显示区域用于显示后台任务中的第二应用程序的图标列表,所述第一应用程序为后台任务清理白名单之外的应用程序,所述第二应用程序为后台任务清理白名单中的应用程序。Wherein, the multi-tasking interface includes: a first display area and a second display area, the first display area is used to display the interface thumbnail list of the first application program in the background task, and the second display area is used for An icon list of a second application program in the background task is displayed, the first application program is an application program outside the background task cleaning white list, and the second application program is an application program in the background task cleaning white list.

可选地,所述终端还包括:Optionally, the terminal also includes:

第二接收模块,用于接收用户对所述第一应用程序中的第一目标应用程序的界面缩略图的第二输入,其中,所述第二输入为将所述第一目标应用程序的界面缩略图移动到所述第二显示区域的输入。The second receiving module is configured to receive a second input from the user on the interface thumbnail of the first target application program in the first application program, wherein the second input is to change the interface of the first target application program The thumbnail moves to the input of the second display area.

第二处理模块,用于响应于所述第二输入,将所述第一目标应用程序加入所述后台任务清理白名单中,并在所述第二显示区域显示所述第一目标应用程序的图标。A second processing module, configured to add the first target application program to the background task cleaning whitelist in response to the second input, and display the information of the first target application program in the second display area icon.

可选地,所述终端还包括:Optionally, the terminal also includes:

第三接收模块,用于接收用户对所述第二应用程序中的第二目标应用程序的图标的第三输入,其中,所述第三输入为将所述第二目标应用程序的图标移动到所述第一显示区域的输入。The third receiving module is configured to receive a third input from the user on the icon of the second target application program in the second application program, wherein the third input is to move the icon of the second target application program to The input of the first display area.

第三处理模块,用于响应于所述第三输入,将所述第二目标应用程序从所述后台任务清理白名单中删除,并在所述第一显示区域显示所述第二目标应用程序的界面缩略图。A third processing module, configured to delete the second target application program from the background task cleaning whitelist in response to the third input, and display the second target application program in the first display area interface thumbnail.

可选地,所述终端还包括:Optionally, the terminal also includes:

第四接收模块,用于接收用户对所述第二目标应用程序的界面缩略图的第四输入,其中,所述第四输入为将所述第二目标应用程序的界面缩略图拖出所述多任务界面的滑动输入。The fourth receiving module is configured to receive a fourth input from the user on the interface thumbnail of the second target application, wherein the fourth input is dragging the interface thumbnail of the second target application out of the Swipe input for multitasking interface.

第四处理模块,用于响应于所述第四接收模块接收的第四输入,在后台任务中关闭所述第二目标应用程序。A fourth processing module, configured to close the second target application program in a background task in response to a fourth input received by the fourth receiving module.

可选地,所述终端还包括:Optionally, the terminal also includes:

第五接收模块,用于接收用户对显示于所述第一显示区域中的预设清理按键的第五输入。The fifth receiving module is configured to receive a fifth input from the user on the preset cleaning button displayed in the first display area.

第五处理模块,用于响应于所述第五接收模块接收的第五输入,在后台任务中关闭所述第一显示区域显示的应用程序。The fifth processing module is configured to close the application program displayed in the first display area in a background task in response to the fifth input received by the fifth receiving module.

本发明实施例中,在多任务界面中,分别在不同区域显示未加入后台清理白名单的应用程序的后台任务与加入后台清理白名单的应用程序的后台任务,这样清晰明了,能够便于用户快速、清楚的区分出哪些是普通APP,哪些是白名单APP,从而避免用户因对普通APP和白名单APP的后台任务分辨不清,导致不小心关闭白名单APP后台任务而造成的尴尬。In the embodiment of the present invention, in the multi-tasking interface, the background tasks of the application programs that have not been added to the background cleaning whitelist and the background tasks of the application programs that have been added to the background cleaning whitelist are displayed in different areas. , Clearly distinguish which are ordinary apps and which are whitelisted apps, so as to avoid the embarrassment caused by users not being able to distinguish the background tasks of ordinary apps and whitelisted apps, resulting in accidentally closing the background tasks of whitelisted apps.

图4为实现本发明各个实施例的一种终端的硬件结构示意图。Fig. 4 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention.

该终端400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The terminal 400 includes but not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and a power supply 411 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 4 does not constitute a limitation on the terminal, and the terminal may include more or less components than shown in the figure, or combine some components, or arrange different components. In the embodiment of the present invention, the terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.

处理器410,用于在用户输入单元407接收到用户的第一输入时,响应于所述第一输入,并通过显示单元406显示多任务界面。The processor 410 is configured to, when the user input unit 407 receives a user's first input, respond to the first input and display a multitasking interface through the display unit 406 .

其中,所述多任务界面包括:第一显示区域和第二显示区域,所述第一显示区域用于显示后台任务中的第一应用程序的界面缩略图列表,所述第二显示区域用于显示后台任务中的第二应用程序的图标列表,所述第一应用程序为后台任务清理白名单之外的应用程序,所述第二应用程序为后台任务清理白名单中的应用程序。Wherein, the multi-tasking interface includes: a first display area and a second display area, the first display area is used to display the interface thumbnail list of the first application program in the background task, and the second display area is used for An icon list of a second application program in the background task is displayed, the first application program is an application program outside the background task cleaning white list, and the second application program is an application program in the background task cleaning white list.

本发明实施例中,在多任务界面中,分别在不同区域显示未加入后台清理白名单的应用程序的后台任务与加入后台清理白名单的应用程序的后台任务,这样清晰明了,能够便于用户快速、清楚的区分出哪些是普通APP,哪些是白名单APP,从而避免用户因对普通APP和白名单APP的后台任务分辨不清,导致不小心关闭白名单APP后台任务而造成的尴尬。In the embodiment of the present invention, in the multi-tasking interface, the background tasks of the application programs that have not been added to the background cleaning whitelist and the background tasks of the application programs that have been added to the background cleaning whitelist are displayed in different areas. , Clearly distinguish which are ordinary apps and which are whitelisted apps, so as to avoid the embarrassment caused by users not being able to distinguish the background tasks of ordinary apps and whitelisted apps, resulting in accidentally closing the background tasks of whitelisted apps.

应理解的是,本发明实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 410; Uplink data is sent to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.

终端通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 402, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与终端400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal 400 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.

输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used for receiving audio or video signals. The input unit 404 can include a graphics processing unit (Graphics Processing Unit, GPU) 4041 and a microphone 4042, and the graphics processing unit 4041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 406 . The image frames processed by the graphics processor 4041 may be stored in the memory 409 (or other storage media) or sent via the radio frequency unit 401 or the network module 402 . The microphone 4042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 for output in the case of a phone call mode.

终端400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在终端400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 4061 and/or when the terminal 400 moves to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer posture calibration), vibration recognition related functions (such as pedometer, knocking), etc.; sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray Sensors, etc., will not be described in detail here.

显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元407可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072 . The touch panel 4071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 4071 or near the touch panel 4071). operate). The touch panel 4071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 410, receive the command sent by the processor 410 and execute it. In addition, the touch panel 4071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071 , the user input unit 407 may also include other input devices 4072 . Specifically, other input devices 4072 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 repeated here.

进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 4071 can be covered on the display panel 4061, and when the touch panel 4071 detects a touch operation on or near it, it will be sent to the processor 410 to determine the type of the touch event, and then the processor 410 will The type of event provides a corresponding visual output on the display panel 4061 . Although in FIG. 4, the touch panel 4071 and the display panel 4061 are used as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated to Realize the input and output functions of the terminal, which is not limited here.

接口单元408为外部装置与终端400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端400内的一个或多个元件或者可以用于在终端400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device to the terminal 400 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 408 may be used to receive input from an external device (for example, data information, power, etc.) transfer data between.

存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs as well as various data. The memory 409 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器410是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and/or modules stored in the memory 409, and calling data stored in the memory 409, execution Various functions and processing data of the terminal, so as to monitor the terminal as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410 .

终端400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 400 can also include a power supply 411 (such as a battery) for supplying power to various components. Preferably, the power supply 411 can be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Function.

另外,终端400包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 400 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种终端,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述后台任务显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a terminal, including a processor 410, a memory 409, and a computer program stored in the memory 409 and operable on the processor 410, and the computer program is implemented when executed by the processor 410 Each process of the above-mentioned background task display method embodiment can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述后台任务显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned background task display method embodiment is realized, and the same performance can be achieved. Technical effects, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

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

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

Claims (12)

Translated fromChinese
1.一种后台任务显示方法,应用于终端,其特征在于,包括:1. A background task display method, applied to a terminal, is characterized in that, comprising:接收用户的第一输入;receiving a user's first input;响应于所述第一输入,显示多任务界面;displaying a multitasking interface in response to the first input;其中,所述多任务界面包括:第一显示区域和第二显示区域,所述第一显示区域用于显示后台任务中的第一应用程序的界面缩略图列表,所述第二显示区域用于显示后台任务中的第二应用程序的图标列表,所述第一应用程序为后台任务清理白名单之外的应用程序,所述第二应用程序为后台任务清理白名单中的应用程序。Wherein, the multi-tasking interface includes: a first display area and a second display area, the first display area is used to display the interface thumbnail list of the first application program in the background task, and the second display area is used for An icon list of a second application program in the background task is displayed, the first application program is an application program outside the background task cleaning white list, and the second application program is an application program in the background task cleaning white list.2.根据权利要求1所述的方法,其特征在于,在显示多任务界面之后,所述方法还包括:2. The method according to claim 1, characterized in that, after displaying the multitasking interface, the method further comprises:接收用户对所述第一应用程序中的第一目标应用程序的界面缩略图的第二输入,其中,所述第二输入为将所述第一目标应用程序的界面缩略图移动到所述第二显示区域的输入;receiving a second input from the user on the interface thumbnail of the first target application in the first application, wherein the second input is to move the interface thumbnail of the first target application to the second 2. Input of the display area;响应于所述第二输入,将所述第一目标应用程序加入所述后台任务清理白名单中,并在所述第二显示区域显示所述第一目标应用程序的图标。In response to the second input, adding the first target application program to the background task cleaning white list, and displaying the icon of the first target application program in the second display area.3.根据权利要求1所述的方法,其特征在于,在所述显示多任务界面之后,所述方法还包括:3. The method according to claim 1, characterized in that, after the multitasking interface is displayed, the method further comprises:接收用户对所述第二应用程序中的第二目标应用程序的图标的第三输入,其中,所述第三输入为将所述第二目标应用程序的图标移动到所述第一显示区域的输入;receiving a third input from the user on the icon of the second target application program in the second application program, wherein the third input is to move the icon of the second target application program to the first display area enter;响应于所述第三输入,将所述第二目标应用程序从所述后台任务清理白名单中删除,并在所述第一显示区域显示所述第二目标应用程序的界面缩略图。In response to the third input, the second target application is deleted from the background task cleaning whitelist, and an interface thumbnail of the second target application is displayed in the first display area.4.根据权利要求3所述的方法,其特征在于,在响应于所述第三输入,将所述第二目标应用程序从所述后台任务清理白名单中删除,并在所述第一显示区域显示所述第二目标应用程序的界面缩略图之后,所述方法还包括:4. The method according to claim 3, wherein in response to the third input, the second target application program is deleted from the background task cleaning whitelist, and is displayed on the first display After the interface thumbnail of the second target application is displayed in the area, the method further includes:接收用户对所述第二目标应用程序的界面缩略图的第四输入,其中,所述第四输入为将所述第二目标应用程序的界面缩略图拖出所述多任务界面的滑动输入;receiving a fourth input from the user on the interface thumbnail of the second target application, wherein the fourth input is a sliding input for dragging the interface thumbnail of the second target application out of the multitasking interface;响应于所述第四输入,在后台任务中关闭所述第二目标应用程序。In response to the fourth input, the second target application is closed in a background task.5.根据权利要求1所述的方法,其特征在于,在所述显示多任务界面之后,所述方法还包括:5. The method according to claim 1, characterized in that, after the multitasking interface is displayed, the method further comprises:接收用户对显示于所述第一显示区域中的预设清理按键的第五输入;receiving a fifth input from a user on a preset cleaning button displayed in the first display area;响应于所述第五输入,在后台任务中关闭所述第一显示区域显示的应用程序。In response to the fifth input, the application displayed in the first display area is closed in a background task.6.一种终端,其特征在于,包括:6. A terminal, characterized in that, comprising:第一接收模块,用于接收用户的第一输入;A first receiving module, configured to receive a first input from a user;第一处理模块,用于响应于所述第一接收模块接收的所述第一输入,显示多任务界面;A first processing module, configured to display a multitasking interface in response to the first input received by the first receiving module;其中,所述多任务界面包括:第一显示区域和第二显示区域,所述第一显示区域用于显示后台任务中的第一应用程序的界面缩略图列表,所述第二显示区域用于显示后台任务中的第二应用程序的图标列表,所述第一应用程序为后台任务清理白名单之外的应用程序,所述第二应用程序为后台任务清理白名单中的应用程序。Wherein, the multi-tasking interface includes: a first display area and a second display area, the first display area is used to display the interface thumbnail list of the first application program in the background task, and the second display area is used for An icon list of a second application program in the background task is displayed, the first application program is an application program outside the background task cleaning white list, and the second application program is an application program in the background task cleaning white list.7.根据权利要求6所述的终端,其特征在于,所述终端还包括:7. The terminal according to claim 6, further comprising:第二接收模块,用于接收用户对所述第一应用程序中的第一目标应用程序的界面缩略图的第二输入,其中,所述第二输入为将所述第一目标应用程序的界面缩略图移动到所述第二显示区域的输入;The second receiving module is configured to receive a second input from the user on the interface thumbnail of the first target application program in the first application program, wherein the second input is to change the interface of the first target application program an input for moving the thumbnail to the second display area;第二处理模块,用于响应于所述第二输入,将所述第一目标应用程序加入所述后台任务清理白名单中,并在所述第二显示区域显示所述第一目标应用程序的图标。A second processing module, configured to add the first target application program to the background task cleaning whitelist in response to the second input, and display the information of the first target application program in the second display area icon.8.根据权利要求6所述的终端,其特征在于,所述终端还包括:8. The terminal according to claim 6, further comprising:第三接收模块,用于接收用户对所述第二应用程序中的第二目标应用程序的图标的第三输入,其中,所述第三输入为将所述第二目标应用程序的图标移动到所述第一显示区域的输入;The third receiving module is configured to receive a third input from the user on the icon of the second target application program in the second application program, wherein the third input is to move the icon of the second target application program to input to the first display area;第三处理模块,用于响应于所述第三输入,将所述第二目标应用程序从所述后台任务清理白名单中删除,并在所述第一显示区域显示所述第二目标应用程序的界面缩略图。A third processing module, configured to delete the second target application program from the background task cleaning whitelist in response to the third input, and display the second target application program in the first display area interface thumbnail.9.根据权利要求8所述的终端,其特征在于,所述终端还包括:9. The terminal according to claim 8, further comprising:第四接收模块,用于接收用户对所述第二目标应用程序的界面缩略图的第四输入,其中,所述第四输入为将所述第二目标应用程序的界面缩略图拖出所述多任务界面的滑动输入;The fourth receiving module is configured to receive a fourth input from the user on the interface thumbnail of the second target application, wherein the fourth input is dragging the interface thumbnail of the second target application out of the Swipe input on multitasking interface;第四处理模块,用于响应于所述第四接收模块接收的第四输入,在后台任务中关闭所述第二目标应用程序。A fourth processing module, configured to close the second target application program in a background task in response to a fourth input received by the fourth receiving module.10.根据权利要求6所述的终端,其特征在于,所述终端还包括:10. The terminal according to claim 6, further comprising:第五接收模块,用于接收用户对显示于所述第一显示区域中的预设清理按键的第五输入;A fifth receiving module, configured to receive a fifth input from the user on the preset cleaning button displayed in the first display area;第五处理模块,用于响应于所述第五接收模块接收的第五输入,在后台任务中关闭所述第一显示区域显示的应用程序。The fifth processing module is configured to close the application program displayed in the first display area in a background task in response to the fifth input received by the fifth receiving module.11.一种终端,其特征在于,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的后台任务显示方法的步骤。11. A terminal, characterized by comprising: a processor, a memory, and a computer program stored on the memory and operable on the processor, when the computer program is executed by the processor, the The steps of the background task display method described in any one of requirements 1 to 5.12.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的后台任务显示方法的步骤。12. A computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the background as described in any one of claims 1 to 5 is realized The task shows the steps of the method.
CN201910753737.3A2019-08-152019-08-15A kind of background task display methods and terminalPendingCN110531904A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910753737.3ACN110531904A (en)2019-08-152019-08-15A kind of background task display methods and terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910753737.3ACN110531904A (en)2019-08-152019-08-15A kind of background task display methods and terminal

Publications (1)

Publication NumberPublication Date
CN110531904Atrue CN110531904A (en)2019-12-03

Family

ID=68663395

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910753737.3APendingCN110531904A (en)2019-08-152019-08-15A kind of background task display methods and terminal

Country Status (1)

CountryLink
CN (1)CN110531904A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111124204A (en)*2019-12-122020-05-08维沃移动通信有限公司 Application control method and electronic device
CN111813307A (en)*2020-06-232020-10-23维沃移动通信有限公司 Application display method, device and electronic device
CN113325988A (en)*2021-08-042021-08-31荣耀终端有限公司Multitask management method and terminal equipment
WO2022068864A1 (en)*2020-09-302022-04-07维沃移动通信有限公司Background task display method and apparatus, electronic device, and readable storage medium
CN114363462A (en)*2020-09-302022-04-15华为技术有限公司 Interface display method and related device
CN114968031A (en)*2022-06-302022-08-30Vidaa国际控股(荷兰)公司 A task management method and display device
WO2023010903A1 (en)*2021-08-032023-02-09荣耀终端有限公司Desktop management method for terminal device, and terminal device
WO2023093745A1 (en)*2021-11-232023-06-01维沃移动通信有限公司Application icon management method and apparatus, and electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2011099803A3 (en)*2010-02-122012-01-05Samsung Electronics Co., Ltd.Apparatus and method for performing multi-tasking
CN103970395A (en)*2013-01-302014-08-06腾讯科技(深圳)有限公司Method and device for stopping background programs
CN105446582A (en)*2014-08-212016-03-30阿里巴巴集团控股有限公司Method and apparatus for closing background programs
CN105653312A (en)*2015-11-062016-06-08乐视移动智能信息技术(北京)有限公司Multi-application locking and unlocking method and apparatus
CN106650430A (en)*2016-12-012017-05-10惠州Tcl移动通信有限公司Application state locking control method and system based on mobile terminal
CN107450804A (en)*2017-08-032017-12-08维沃移动通信有限公司A kind of method and terminal for responding touch control operation
CN107783830A (en)*2017-10-232018-03-09华为技术有限公司A kind of multitask management process and terminal device
CN108701037A (en)*2017-02-232018-10-23华为技术有限公司 Method, device and terminal for cleaning application task list of terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2011099803A3 (en)*2010-02-122012-01-05Samsung Electronics Co., Ltd.Apparatus and method for performing multi-tasking
CN103970395A (en)*2013-01-302014-08-06腾讯科技(深圳)有限公司Method and device for stopping background programs
CN105446582A (en)*2014-08-212016-03-30阿里巴巴集团控股有限公司Method and apparatus for closing background programs
CN105653312A (en)*2015-11-062016-06-08乐视移动智能信息技术(北京)有限公司Multi-application locking and unlocking method and apparatus
CN106650430A (en)*2016-12-012017-05-10惠州Tcl移动通信有限公司Application state locking control method and system based on mobile terminal
CN108701037A (en)*2017-02-232018-10-23华为技术有限公司 Method, device and terminal for cleaning application task list of terminal
CN107450804A (en)*2017-08-032017-12-08维沃移动通信有限公司A kind of method and terminal for responding touch control operation
CN107783830A (en)*2017-10-232018-03-09华为技术有限公司A kind of multitask management process and terminal device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111124204A (en)*2019-12-122020-05-08维沃移动通信有限公司 Application control method and electronic device
CN111124204B (en)*2019-12-122021-08-20维沃移动通信有限公司 Application control method and electronic device
CN111813307A (en)*2020-06-232020-10-23维沃移动通信有限公司 Application display method, device and electronic device
WO2022068864A1 (en)*2020-09-302022-04-07维沃移动通信有限公司Background task display method and apparatus, electronic device, and readable storage medium
CN114363462A (en)*2020-09-302022-04-15华为技术有限公司 Interface display method and related device
CN114363462B (en)*2020-09-302023-01-06华为技术有限公司 An interface display method, electronic device, and computer-readable medium
WO2023010903A1 (en)*2021-08-032023-02-09荣耀终端有限公司Desktop management method for terminal device, and terminal device
CN113325988A (en)*2021-08-042021-08-31荣耀终端有限公司Multitask management method and terminal equipment
WO2023093745A1 (en)*2021-11-232023-06-01维沃移动通信有限公司Application icon management method and apparatus, and electronic device and storage medium
CN114968031A (en)*2022-06-302022-08-30Vidaa国际控股(荷兰)公司 A task management method and display device

Similar Documents

PublicationPublication DateTitle
CN109375890B (en) A screen display method and multi-screen electronic device
CN110531904A (en)A kind of background task display methods and terminal
CN108829304A (en)A kind of display control method and terminal
CN111596845A (en) Display control method, device and electronic device
CN108255378A (en)A kind of display control method and mobile terminal
WO2020258929A1 (en)Folder interface switching method and terminal device
CN110618969B (en)Icon display method and electronic equipment
WO2021083132A1 (en)Icon moving method and electronic device
CN110413364A (en) An information processing method and terminal
CN108062194B (en) A display method, device and mobile terminal
CN111338530A (en) Application icon control method and electronic device
CN110196667A (en)A kind of processing method and terminal of notification message
CN108762634A (en)A kind of control method and terminal
CN109165033B (en)Application updating method and mobile terminal
CN110008011A (en)A kind of target switching method and terminal device
CN108733282A (en)A kind of page moving method and terminal device
CN110609648A (en) Application program control method and terminal
CN107728923A (en)The processing method and mobile terminal of a kind of operation
CN108228902B (en) A file display method and mobile terminal
CN110531915A (en) Screen operation method and terminal equipment
CN110221761A (en)Display methods and terminal device
WO2020078234A1 (en)Display control method and terminal
CN108334272A (en) A control method and mobile terminal
CN110221799A (en)A kind of control method, terminal and computer readable storage medium
CN108958583A (en)A kind of method for sorting and terminal device of icon

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20191203

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp