[go: up one dir, main page]

CN108701037A - A kind of method, apparatus and terminal of the application task list of cleaning terminal - Google Patents

A kind of method, apparatus and terminal of the application task list of cleaning terminal Download PDF

Info

Publication number
CN108701037A
CN108701037A CN201780005201.2A CN201780005201A CN108701037A CN 108701037 A CN108701037 A CN 108701037A CN 201780005201 A CN201780005201 A CN 201780005201A CN 108701037 A CN108701037 A CN 108701037A
Authority
CN
China
Prior art keywords
application
type set
application type
terminal
user
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
CN201780005201.2A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108701037A publication Critical patent/CN108701037A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

A kind of method, apparatus and terminal of the application task list of cleaning terminal, this method is, terminal obtains the first instruction input by user, and first instruction, which is used to indicate the terminal-pair backstage at least one first application in operating status and carries out classification, to be shown;It instructs according to described first, classifies at least one first application, show that at least one first application type set, the first application type collection are combined into the set of same or analogous at least one first application of attribute information according to classification results;The second instruction input by user is obtained, second instruction is used to indicate the terminal and clears up the corresponding application task of at least one first application type set;It is instructed according to described second, clears up the application task of the corresponding application of at least one first application type set, such user being capable of demand that is time saving and energy saving and taking into account user when platform is applied after the cleaning.

Description

一种清理终端的应用任务列表的方法、装置及终端Method, device and terminal for cleaning application task list of terminal

技术领域technical field

本申请涉及电子设备技术领域,尤其涉及一种清理终端的应用任务列表的方法、装置及终端。The present application relates to the technical field of electronic equipment, and in particular to a method, a device and a terminal for clearing an application task list of a terminal.

背景技术Background technique

现在的安卓智能手机在屏幕下部会显示虚拟按键,或者在手机底部设计实体按键,其中,菜单键是现有手机上都具有的一个按键。利用这个按键,可以方便得调出手机后台应用列表,罗列用户之前操作过的各个应用,显示各个应用的名称以及用户离开应用时的屏幕截图,方便用户在各个应用之间来回切换,清理某个或者所有的后台应用。Present Android smartphones can display virtual keys at the bottom of the screen, or design physical keys at the bottom of the mobile phone, wherein the menu key is a key that all existing mobile phones have. Using this button, you can easily call up the mobile phone background application list, list the applications that the user has operated before, display the name of each application and the screenshot when the user leaves the application, and facilitate the user to switch back and forth between various applications and clean up a certain application. Or all background apps.

但是随着手机内存的逐渐增大,允许用户同时开启很多应用,在手机长时间使用后,会遗留很多应用信息在任务列表中,使得任务列表变得很庞大;而且,在安卓M版本以后,为了方便用户操作,即使重新开关手机,之前的任务列表也依然会保存。However, with the gradual increase of mobile phone memory, users are allowed to open many applications at the same time. After the mobile phone is used for a long time, a lot of application information will be left in the task list, making the task list very large; moreover, after the Android M version, For the convenience of users, even if the phone is turned on and off again, the previous task list will still be saved.

目前,存在以下两种任务列表的清理方式:Currently, there are two ways to clean up the task list:

第一种方式:逐个清理用户已经不用的后台应用,不仅操作繁琐,而且如果用户的任务列表里的应用数量较多时,逐个清理非常耗时。The first way: to clean up the background applications that the user does not use one by one, which is not only cumbersome to operate, but also very time-consuming if there are many applications in the user's task list.

第二种方式:提供所有的后台应用的一键清理快捷键,此时,点击一下一键清理快捷键,把所有的后台应用都清理掉。这种一键清理方式虽然操作简便,但是不能考虑用户的需求,需要用户再把常用的应用重新启动起来,才能够实现快捷切换,影响用户体验。The second method: provide one-key cleanup shortcuts for all background applications. At this time, click the one-key cleanup shortcuts to clean up all background applications. Although this one-click cleaning method is easy to operate, it cannot consider the needs of users. It requires users to restart frequently used applications to achieve quick switching, which affects user experience.

因此,亟需一种新的应用任务列表的清理方案,既能够省时省力的清理后台应用,还能够在应用清理的同时考虑用户的需求。Therefore, there is an urgent need for a new cleaning solution for the application task list, which can not only save time and effort to clean up background applications, but also consider user needs while cleaning applications.

发明内容Contents of the invention

本申请实施例提供一种清理终端的应用任务列表的方法、装置及终端,以使得终端的后台应用的清理能够省时省力,并兼顾用户的需求。Embodiments of the present application provide a method, an apparatus, and a terminal for cleaning an application task list of a terminal, so that the cleaning of background applications of the terminal can save time and effort, and take into account user needs.

第一方面,提供一种清理终端的应用任务列表的方法,终端获取用户输入的第一指令,所述第一指令用于指示所述终端对后台处于运行状态的至少一个第一应用进行分类显示;根据所述第一指令,对所述至少一个第一应用进行分类,按照分类结果显示至少一个第一应用类型集合,所述第一应用类型集合为属性信息相同或相似的至少一个第一应用的集合;获取用户输入的第二指令,所述第二指令用于指示所述终端清理所述至少一个第一应用类型集合对应的应用任务;根据所述第二指令,清理所述至少一个第一应用类型集合对应的应用的应用任务。In the first aspect, a method for clearing the application task list of the terminal is provided. The terminal acquires a first instruction input by the user, and the first instruction is used to instruct the terminal to classify and display at least one first application that is running in the background. ; According to the first instruction, classify the at least one first application, and display at least one first application type set according to the classification result, the first application type set is at least one first application with the same or similar attribute information collection; acquire a second instruction input by the user, the second instruction is used to instruct the terminal to clean up the application tasks corresponding to the at least one first application type set; according to the second instruction, clean up the at least one first application type set An application task of an application corresponding to an application type set.

本申请实施例中终端对后台处于运行状态的至少一个第一应用进行分类,按照分类结果显示属性信息相同或相似的至少一个第一应用的集合,在获取到用于清理至少一个第一应用类型集合对应的应用任务的第二指令后,清理所述至少一个第一应用类型集合对应的应用的应用任务,这样能够在兼顾用户的使用需求的前提下,使用户能够省时省力的能够按照分类显示结果进行后台应用的清理,无需逐一清理,节省后台应用的清理耗时。In the embodiment of the present application, the terminal classifies at least one first application that is running in the background, and displays a set of at least one first application with the same or similar attribute information according to the classification result. After obtaining the at least one first application type for cleaning After the second instruction of the corresponding application task is collected, the application task of the application corresponding to the at least one first application type set is cleared, so that the user can save time and effort according to the classification while taking into account the user's use requirements. Display the results to clean up the background applications, without cleaning up one by one, saving the time-consuming cleaning of the background applications.

结合第一方面,一种可能的设计中,所述属性信息为应用类型时,获取所述至少一个第一应用的应用类型;根据所述至少一个第一应用的应用类型,将应用类型相同或相似的应用分类为同一个应用类型集合,以便能够按照应用类型对至少一个第一应用进行分类,方便用户了解各个第一应用的应用类型。With reference to the first aspect, in a possible design, when the attribute information is an application type, the application type of the at least one first application is acquired; according to the application type of the at least one first application, the application type is the same or Similar applications are classified into the same application type set, so that at least one first application can be classified according to the application type, and it is convenient for the user to know the application type of each first application.

结合第一方面,一种可能的设计中,所述获取所述至少一个第一应用的应用类型时,根据所述至少一个第一应用的安装包文件,获取应用类型;和/或,根据用户的预先设置,获取应用类型,例如,在根据第一应用的安装包文件获取所述至少一个第一应用的应用类型时,可以将第一应用在诸如应用市场的应用中进行应用类型的匹配,无需用户提前设置,操作简便;在根据用户的预先设置获取应用类型时,能够考虑用户的实际使用需求,提升用户体验。With reference to the first aspect, in a possible design, when obtaining the application type of the at least one first application, the application type is obtained according to the installation package file of the at least one first application; and/or, according to the user Pre-set to obtain the application type, for example, when the application type of the at least one first application is obtained according to the installation package file of the first application, the application type of the first application may be matched in an application such as an application market, The user does not need to set up in advance, and the operation is simple; when obtaining the application type according to the user's preset setting, the user's actual use needs can be considered to improve the user experience.

结合第一方面,一种可能的设计中,所述属性信息为所述至少一个第一应用的最后使用时刻时,获取所述至少一个第一应用的最后使用时刻;根据所述至少一个第一应用的最后使用时刻,以时间维度,将最后使用时刻符合预设条件的应用分类为同一个应用类型集合,采用这种方式对至少一个第一应用进行分类时,按照第一应用的最后使用时刻进行分类,从而能够将各个第一应用的最后使用时刻信息呈现给用户,方便用户了解各个第一应用的使用情况。With reference to the first aspect, in a possible design, when the attribute information is the last use time of the at least one first application, the last use time of the at least one first application is acquired; according to the at least one first application The last use time of the application, according to the time dimension, the applications whose last use time meets the preset conditions are classified into the same application type set. When at least one first application is classified in this way, the last use time of the first application Classification is carried out, so that the last use time information of each first application can be presented to the user, which is convenient for the user to understand the use situation of each first application.

结合第一方面,一种可能的设计中,所述属性信息为所述至少一个第一应用的使用时长时,获取所述至少一个第一应用在预设时间段内的使用时长;根据所述至少一个第一应用的使用时长,将使用时长符合预设条件的应用分类为同一个应用类型集合,采用这种方式,能够按照第一应用在预设时间段内的使用时长进行分类,从而考虑用户针对各个第一应用的使用习惯来对各个第一应用进行分类显示。With reference to the first aspect, in a possible design, when the attribute information is the usage duration of the at least one first application, the usage duration of the at least one first application within a preset time period is acquired; according to the The duration of use of at least one first application, and the applications whose usage duration meets the preset conditions are classified into the same application type set. In this way, the usage duration of the first application within the preset time period can be classified according to the usage duration of the first application, thereby considering The user classifies and displays each first application according to usage habits of each first application.

结合第一方面,一种可能的设计中,所述按照分类结果显示至少一个第一应用类型集合,可以包括以下三种情形:With reference to the first aspect, in a possible design, the displaying at least one first application type set according to the classification result may include the following three situations:

情形一,显示所述第一应用类型集合所包括的应用的图标;Case 1, displaying icons of applications included in the first application type set;

情形二,生成与所述第一应用类型集合对应的第一类型图标,显示所述第一类型图标和所述第一应用类型集合所包括的应用的图标;Case 2: generating a first type icon corresponding to the first application type set, and displaying the first type icon and icons of applications included in the first application type set;

情形三,生成与所述第一应用类型集合对应的第一类型文字,显示所述第一类型文字和所述第一应用类型集合所包括的应用的图标。In case three, a first type of text corresponding to the first application type set is generated, and the first type of text and icons of applications included in the first application type set are displayed.

这种设计中,在显示第一应用类型集合时,显示所述第一应用类型集合所包括的应用的图标,相比于现有技术中显示应用的最后使用界面,能够保护用户的重要隐私信息,提高用户信息的安全性。In this design, when the first application type set is displayed, the icons of the applications included in the first application type set are displayed, which can protect the important private information of the user compared with the display of the last used interface of the application in the prior art , to improve the security of user information.

结合第一方面,一种可能的设计中,所述终端获取用户输入的第二指令之前,显示第一控件,所述第一控件与所述第一应用类型集合相对应,所述第一控件用于根据用户的指令清理所述第一应用类型集合中所有应用的应用任务。With reference to the first aspect, in a possible design, before the terminal obtains the second instruction input by the user, it displays a first control, the first control corresponds to the first application type set, and the first control and cleaning up application tasks of all applications in the first application type set according to a user's instruction.

结合第一方面,一种可能的设计中,在所述终端获取用户输入的第二指令之前,所述终端获取用户输入的第三指令,所述第三指令用于选择所述第一应用类型集合中的第一应用;根据所述第二指令,清理所述至少一个第一应用类型集合对应的应用的应用任务时,根据所述第二指令,清理所述第一应用类型集合中,除所述第一应用之外的其它应用的应用任务,这种设计中,如果用户在清理某个第一应用类型集合中的各个应用时,根据实际使用需求,确定某个第一应用不需要被清理时,可以选择该第一应用不被清理,考虑用户的实际使用需求,提升用户体验。With reference to the first aspect, in a possible design, before the terminal acquires the second instruction input by the user, the terminal acquires a third instruction input by the user, and the third instruction is used to select the first application type The first application in the set; according to the second instruction, when clearing the application tasks of the application corresponding to the at least one first application type set, according to the second instruction, clean up the first application type set, except Application tasks of other applications other than the first application, in this design, if the user determines that a certain first application does not need to be When cleaning, the first application can be selected not to be cleaned, considering the actual use needs of the user, and improving user experience.

第二方面,提供一种清理终端的应用任务列表的装置,该装置具有实现上述第一方面涉及的清理终端的应用任务列表的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a second aspect, an apparatus for clearing an application task list of a terminal is provided, and the apparatus has a function of realizing the above mentioned first aspect for clearing the application task list of a terminal. The functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.

一种可能的设计中,该装置包括获取单元、处理单元和显示单元,其中,获取单元、处理单元和显示单元的功能与可以和各方法步骤相对应,在此不予赘述。In a possible design, the device includes an acquisition unit, a processing unit, and a display unit, wherein the functions of the acquisition unit, the processing unit, and the display unit may correspond to the steps of each method, and details are not described here.

第三方面,提供一种终端,该终端包括处理器、存储器、显示设备和输入设备;所述输入设备、所述显示设备、所述存储器均通过总线与所述处理器连接,其中,所述输入设备,用于获取用户输入的指令;所述存储器,用于存储所述处理器执行的程序代码;所述处理器,用于调用所述存储器存储的程序代码,通过所述输入设备获取的指令获取用户输入的第一指令和第二指令,所述第一指令用于指示所述终端对后台处于运行状态的至少一个第一应用进行分类显示,所述第二指令用于指示所述终端清理所述至少一个第一应用类型集合对应的应用任务,并根据所述第一指令,对所述至少一个第一应用进行分类;根据所述第二指令,清理所述至少一个第一应用类型集合对应的应用的应用任务;所述显示设备,用于按照分类结果显示至少一个第一应用类型集合,所述第一应用类型集合为属性信息相同或相似的至少一个第一应用的集合。In a third aspect, a terminal is provided, the terminal includes a processor, a memory, a display device, and an input device; the input device, the display device, and the memory are all connected to the processor through a bus, wherein the The input device is used to obtain the instruction input by the user; the memory is used to store the program code executed by the processor; the processor is used to call the program code stored in the memory, and the program code obtained through the input device The instruction acquires a first instruction and a second instruction input by the user, the first instruction is used to instruct the terminal to classify and display at least one first application running in the background, and the second instruction is used to instruct the terminal Clean up the application tasks corresponding to the at least one first application type set, and classify the at least one first application according to the first instruction; clean up the at least one first application type according to the second instruction The application task of the application corresponding to the collection; the display device is configured to display at least one first application type collection according to the classification result, and the first application type collection is a collection of at least one first application with the same or similar attribute information.

本申请实施例提供的清理终端的应用任务列表的方法、装置及终端,对后台处于运行状态的至少一个第一应用进行分类,按照分类结果显示属性信息相同或相似的至少一个第一应用的集合,在获取到用于清理至少一个第一应用类型集合对应的应用任务的第二指令后,清理所述至少一个第一应用类型集合对应的应用的应用任务,这样能够在兼顾用户的使用需求的前提下,使用户能够省时省力的能够按照分类显示结果进行后台应用的清理,无需逐一清理,节省后台应用的清理耗时。The method, device and terminal for cleaning the application task list of the terminal provided by the embodiments of the present application classify at least one first application running in the background, and display a set of at least one first application with the same or similar attribute information according to the classification result After obtaining the second instruction for clearing the application tasks corresponding to at least one first application type set, clear the application tasks of the at least one application corresponding to the first application type set, so that the user's use requirements can be considered Under the premise, the user can save time and effort by cleaning the background applications according to the classification and display results, without cleaning them one by one, saving the time-consuming cleaning of the background applications.

附图说明Description of drawings

图1为本申请实施例中终端的硬件结构示意图;FIG. 1 is a schematic diagram of a hardware structure of a terminal in an embodiment of the present application;

图2A、图2B、图2C为任务列表清理方式示意图;2A, 2B, and 2C are schematic diagrams of task list cleaning methods;

图3为本申请实施例中清理终端的应用任务列表的方法流程图;FIG. 3 is a flow chart of a method for clearing the application task list of the terminal in the embodiment of the present application;

图4为本申请实施例中应用的区分显示过程示意图;FIG. 4 is a schematic diagram of the distinguishing display process applied in the embodiment of the present application;

图5为本申请实施例中应用的拖动显示示意图;Fig. 5 is a schematic diagram of the drag display applied in the embodiment of the present application;

图6为本申请实施例中一种应用的分类实现流程图;FIG. 6 is a flow chart of classifying an application in an embodiment of the present application;

图7A、图7B为本申请实施例中应用的分类显示示意图;FIG. 7A and FIG. 7B are schematic diagrams of classification display applied in the embodiment of the present application;

图8为本申请实施例中清理终端的应用任务列表的装置结构图。FIG. 8 is a structural diagram of a device for cleaning an application task list of a terminal in an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

本申请实施例提供的清理终端的应用任务列表的方法,可应用于终端(MobileTerminal)。需要理解的是,本申请实施例中涉及的终端,还可称之为移动终端(MobileTerminal)、移动台(Mobile Station,MS)、用户设备(User Equipment,UE)等。该终端,可以是向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备,比如:该终端可以是移动电话(或称为“蜂窝”电话)、具有终端的计算机等,还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,当然也可以是可穿戴设备(如智能手表、智能手环等)、平板电脑、个人电脑(PersonalComputer,PC)、个人数字助理(Personal Digital Assistant,PDA)、POS(销售终端,Pointof Sales)等。The method for clearing the application task list of the terminal provided in the embodiment of the present application can be applied to a terminal (MobileTerminal). It should be understood that the terminals involved in the embodiments of the present application may also be referred to as mobile terminals (Mobile Terminal), mobile stations (Mobile Station, MS), user equipment (User Equipment, UE) and so on. The terminal may be a device that provides voice and/or data connectivity to the user, a handheld device with a wireless connection function, or other processing device connected to a wireless modem, such as: the terminal may be a mobile phone (or " "cellular" phone), computer with terminal, etc., it can also be portable, pocket, handheld, computer built-in or vehicle-mounted mobile device, of course it can also be wearable device (such as smart watch, smart bracelet, etc.), tablet Computer, Personal Computer (Personal Computer, PC), Personal Digital Assistant (Personal Digital Assistant, PDA), POS (Sales Terminal, Point of Sales), etc.

图1所示为本申请实施例涉及的终端100的一种可选的硬件结构示意图。FIG. 1 is a schematic diagram of an optional hardware structure of a terminal 100 involved in the embodiment of the present application.

如图1所示,终端100内部可包括处理器101,分别与处理器101连接的存储器102、显示设备103和输入设备104。其中,存储器102可用于存储程序和数据,包括本申请实施例中涉及的各个应用的程序,处理器101通过运行存储在存储器102的程序从而执行终端100的各种功能应用以及数据处理,例如执行终端100的各个应用的任务列表的清理功能。As shown in FIG. 1 , the terminal 100 may include a processor 101 , a memory 102 connected to the processor 101 , a display device 103 and an input device 104 . Among them, the memory 102 can be used to store programs and data, including the programs of various applications involved in the embodiments of the present application. The processor 101 executes various functional applications and data processing of the terminal 100 by running the programs stored in the memory 102, such as executing The cleaning function of the task list of each application of the terminal 100.

下面结合图1对终端100的各个构成部件进行具体的介绍:The components of the terminal 100 are specifically introduced below in conjunction with FIG. 1 :

处理器101是终端100的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器102内的程序(或称为“模块”),以及调用存储在存储器102内的数据,执行终端100的各种功能和处理数据,从而对终端100进行整体监控。The processor 101 is the control center of the terminal 100, using various interfaces and lines to connect various parts of the entire terminal, by running or executing the program (or "module") stored in the memory 102, and calling the program stored in the memory 102 data, execute various functions of the terminal 100 and process data, so as to monitor the terminal 100 as a whole.

可选的,处理器101可包括至少一个处理单元;可选地,处理器101可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器101中。Optionally, the processor 101 may include at least one processing unit; optionally, the processor 101 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc., The modem processor primarily handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 101 .

存储器102主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统(比如:安卓操作系统,简称“安卓系统”,其中,操作系统也可简称为“系统”)、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等),以及本申请实施例涉及的至少一个第一应用的程序等,所述第一应用指的是安装在终端100上的后台处于运行状态的任意一个应用。存储数据区可存储根据终端100的使用所创建的数据,包括本申请实施例中涉及的第一应用的相关设置信息或使用情况信息等。此外,存储器102可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 102 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system (for example: Android operating system, referred to as "Android system", wherein the operating system can also be referred to as "system" for short), at least one function Required application programs (such as sound playback function, image playback function, etc.), and at least one first application program related to the embodiment of the present application, the first application refers to the background installed on the terminal 100 running Any application of the state. The storage data area can store data created according to the use of the terminal 100, including related setting information or usage information of the first application involved in the embodiment of the present application. In addition, the memory 102 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.

输入设备104可用于接收输入的数字或字符信息,以及产生与终端100的用户设置以及功能控制有关的键信号输入的输入指令,包括本申请实施例中涉及的用户在终端100上输入的第一指令。具体地,输入设备104可包括触控面板1041以及其他输入设备1042。触控面板1041,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1041上或在触控面板1041附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1041可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器101,并能接收处理器101发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1041。除了触控面板1041,输入设备104还可以包括其他输入设备1042。具体地,其他输入设备1042可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input device 104 can be used to receive input numbers or character information, and generate input instructions related to key signal input related to the user settings and function control of the terminal 100, including the first instruction. Specifically, the input device 104 may include a touch panel 1041 and other input devices 1042 . The touch panel 1041, 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 1041 or near the touch panel 1041). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 1041 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 to the processor 101, and can receive and execute commands sent by the processor 101. In addition, the touch panel 1041 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1041 , the input device 104 may also include other input devices 1042 . Specifically, other input devices 1042 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示设备103可用于显示由用户输入的信息或提供给用户的信息以及终端100的各种菜单,包括显示本申请实施例中涉及的处于运行状态的第一应用类型集合对应的第一类型图标或第一类型文字,以及第一应用类型集合所包括的应用的图标,其中,第一应用类型集合为属性信息相同或相似的至少一个第一应用的集合,第一应用为后台处于运行状态的任意一个应用。显示设备103可包括显示面板1031,可选的,可以采用液晶显示器(LiquidCrystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1031。进一步的,触控面板1041可覆盖显示面板1031,当触控面板1041检测到在其上或附近的触摸操作后,传送给处理器101以确定触摸事件的类型,随后处理器101根据触摸事件的类型在显示面板1031上提供相应的视觉输出。虽然在图1中,触控面板1041与显示面板1031是作为两个独立的部件来实现终端100的输入和输入功能,但是在某些实施例中,可以将触控面板1041与显示面板1031集成而实现终端100的输入和输出功能。The display device 103 can be used to display information input by the user or provided to the user and various menus of the terminal 100, including displaying the first type icon or The first type of text, and the icons of the applications included in the first application type set, wherein the first application type set is a set of at least one first application with the same or similar attribute information, and the first application is any running state in the background. an application. The display device 103 may include a display panel 1031. Optionally, the display panel 1031 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. Further, the touch panel 1041 may cover the display panel 1031. When the touch panel 1041 detects a touch operation on or near it, it transmits to the processor 101 to determine the type of the touch event, and then the processor 101 determines the type of the touch event according to the The type provides a corresponding visual output on the display panel 1031 . Although in FIG. 1, the touch panel 1041 and the display panel 1031 are used as two independent components to realize the input and input functions of the terminal 100, in some embodiments, the touch panel 1041 and the display panel 1031 can be integrated. The input and output functions of the terminal 100 are realized.

本领域技术人员可以理解,图1中示出的终端100的内部结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。例如终端100还可包括提供用户与终端100之间音频接口的音频电路、扬声器和麦克风等。当终端100采用无线方式与外界通信时,还可包括射频(Radio Frequency,RF)电路和连接的天线,无线保真(Wireless Fidelity,WiFi)模块和连接的天线等。此外,终端100还包括传感器以及为其供电的电源等,在此不再一一列举。Those skilled in the art can understand that the internal structure of the terminal 100 shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine some components, or arrange different components. . For example, the terminal 100 may further include an audio circuit, a speaker, a microphone, etc. that provide an audio interface between the user and the terminal 100 . When the terminal 100 communicates with the outside world in a wireless manner, it may further include a radio frequency (Radio Frequency, RF) circuit and a connected antenna, a wireless fidelity (Wireless Fidelity, WiFi) module and a connected antenna, and the like. In addition, the terminal 100 also includes a sensor and a power supply for powering it, etc., which will not be listed here.

本申请实施例中,处理器101通过运行存储器102中存储的操作系统,调用存储器102中存储的程序,通过所述输入设备104获取用户输入的第一指令;根据所述第一指令,对所述至少一个第一应用进行分类,按照分类结果在所述显示设备103上显示至少一个第一应用类型集合,所述第一应用类型集合为属性信息相同或相似的至少一个第一应用的集合;通过所述输入设备104获取用户输入的第二指令;根据所述第二指令,清理所述至少一个第一应用类型集合对应的应用的应用任务,从而使终端100对处于运行状态的后台应用的清理能够省时省力,并兼顾用户的需求。In the embodiment of the present application, the processor 101 calls the program stored in the memory 102 by running the operating system stored in the memory 102, and obtains the first instruction input by the user through the input device 104; according to the first instruction, the Classify the at least one first application, and display at least one first application type set on the display device 103 according to the classification result, the first application type set is a set of at least one first application with the same or similar attribute information; The second instruction input by the user is obtained through the input device 104; according to the second instruction, the application task of the application corresponding to the at least one first application type set is cleared, so that the terminal 100 can perform the operation of the background application in the running state. Cleaning can save time and effort, and take into account the needs of users.

本申请实施例中涉及的应用指的是安装在终端上的应用程序,后台应用指的是安装在终端上在后台处于运行状态的应用程序。第一应用类型集合指的是属性信息相同或相似的至少一个第一应用的集合,所述第一应用为后台处于运行状态的任意一个应用,第一应用类型集合对应的第一类型图标指的是某一确定应用类型中的各个应用的应用图标所显示在的文件夹对应的文件夹图标,进一步的,第一类型图标中显示有至少一个应用图标。第一应用类型集合对应的第一类型文字指的是某一确定应用类型中的各个应用的应用图标所显示在的文件夹对应的文件夹的名称。The application involved in the embodiment of the present application refers to the application installed on the terminal, and the background application refers to the application installed on the terminal and running in the background. The first application type set refers to a set of at least one first application with the same or similar attribute information. The first application is any application running in the background. The first type icon corresponding to the first application type set refers to It is a folder icon corresponding to a folder where the application icons of each application in a certain application type are displayed. Further, at least one application icon is displayed in the first type of icon. The first type of text corresponding to the first application type set refers to the name of the folder corresponding to the folder where the application icons of each application in a certain application type are displayed.

图2A所示为终端的操作系统为安卓M版本之前的任务列表的清理方式示意图,由图2A可以看出,在显示后台应用时,一屏显示4个后台应用,左右滑动可以看到其他应用,在显示界面拖动某一个应用向上滑动,可以清除该应用,并且提供一键清理快捷键,点击该一键清理快捷键将当前显示的4个后台应用全部清理。Figure 2A shows a schematic diagram of the cleaning method of the task list before the operating system of the terminal is the Android M version. It can be seen from Figure 2A that when the background application is displayed, 4 background applications are displayed on one screen, and other applications can be seen by sliding left and right , drag an app to slide up on the display interface, you can clear the app, and provide a one-key clean shortcut key, click the one-key clean shortcut key to clear all the currently displayed 4 background apps.

图2B所示为终端的操作系统为安卓M版本的任务列表清理方式示意图,这种实现方式与之前的版本大致类似,只是将4个后台应用的一屏显示改成了所有后台应用横向显示,左右滑动可以查看各应用,拖动某一个应用向上滑动,可以清除该应用,并且在应用显示时提供一键清理快捷键,点击该一键清理快捷键将所有的后台应用全部清理。Figure 2B shows a schematic diagram of the task list cleaning method for the terminal operating system of the Android M version. This implementation method is roughly similar to the previous version, except that the one-screen display of 4 background applications is changed to the horizontal display of all background applications. Swipe left and right to view each application, drag an application to swipe up to clear the application, and provide a one-key cleanup shortcut key when the application is displayed, click the one-key cleanup shortcut key to clean up all background applications.

从上述任务列表实现方式中可知,若逐个清理后台应用导致用户的操作繁琐,如果用户的任务列表里存在的应用数量较多时,逐个清理非常耗时;而一键清理功能虽然方便,但是这种清理方式,没有考虑用户的实际需求,对于用户经常使用的常用应用还需要重新启动起来,才能够实现应用的快捷切换。此外,任务列表会显示应用最后退出时的截图,这样容易暴露用户隐私。From the implementation of the task list above, it can be seen that if the background applications are cleaned up one by one, the user’s operation will be cumbersome. The cleaning method does not take into account the actual needs of the user, and the common applications that the user uses often need to be restarted in order to realize the quick switching of the application. In addition, the task list will display a screenshot of the last exit of the application, which easily exposes user privacy.

图2C所示为终端的操作系统为安卓N版本的任务列表清理方式示意图,这种实现方式将任务列表的显示方式变成层叠的方式,点住要清理的后台应用左右滑动可以清理该后台应用,同时,提供了应用锁定功能,被锁定的应用不会在后台应用的清理过程中被清理掉。这种实现方式中需要用户手动把不需要关闭的应用锁定住,操作繁琐;此外,层叠显示方式不直观,需要上下拖动才能看到所有应用,如果后台应用的数量较多时,重复性操作非常多。Figure 2C shows a schematic diagram of the task list cleaning method for the terminal operating system of Android N version. This implementation method changes the display mode of the task list into a cascading mode. Click and hold the background application to be cleaned and swipe left and right to clean the background application. , at the same time, it provides the application locking function, and the locked application will not be cleaned up during the cleaning process of the background application. In this implementation method, the user needs to manually lock the applications that do not need to be closed, and the operation is cumbersome; in addition, the cascading display method is not intuitive, and you need to drag up and down to see all the applications. If there are many background applications, repetitive operations are very difficult. many.

鉴于上述应用的任务列表的清理方式中的各种缺陷和问题,本申请实施例提供一种新的应用任务列表的清理方案,能够使用户根据自己的需求把后台应用进行区分,简化后台应用的清理操作,使用户既可以较为轻松的清理后台应用,又可以保留用户感兴趣的应用以便来回切换使用。In view of the various defects and problems in the cleaning method of the task list of the above application, the embodiment of the present application provides a new cleaning solution of the application task list, which can enable users to distinguish background applications according to their own needs, and simplify background application cleaning. The cleaning operation allows the user to easily clean up the background applications, and to keep the applications that the user is interested in for switching back and forth.

本申请实施例中终端的处理器可将将后台处于运行状态的至少一个第一应用进行分类,并按照分类结果显示至少一个第一应用类型集合。本申请实施例中对处于运行状态的至少一个第一应用进行分类时,可以根据各个第一应用分别对应的最后使用时刻进行分类;也可以根据各个第一应用在预设时长内的使用频率和/或使用时长进行分类;也可以根据预先设置的应用类型数据库对各个第一应用进行分类,需要说明的是,应用类型数据库可以从终端已安装的外部应用中获取,例如从终端安装的应用市场软件中获取应用类型数据库;也可以从终端的存储器上获取应用类型数据库,此时,终端在第一次安装某应用时,获取该应用的相关信息进行语义分析即可得到该应用的应用类型,并将该应用的应用名称和对应的应用类型存储到终端的存储器上,针对终端安装的每一个应用都执行此操作,就可以得到终端的应用类型数据库。In the embodiment of the present application, the processor of the terminal may classify at least one first application that is running in the background, and display at least one first application type set according to the classification result. In this embodiment of the present application, when at least one first application in the running state is classified, it may be classified according to the last use time corresponding to each first application; it may also be classified according to the usage frequency and /or use duration to classify; each first application can also be classified according to a preset application type database. It should be noted that the application type database can be obtained from external applications installed on the terminal, for example, from an application market installed on the terminal The application type database can be obtained from the software; the application type database can also be obtained from the terminal memory. At this time, when the terminal installs an application for the first time, the application type can be obtained by obtaining the relevant information of the application and performing semantic analysis. And store the application name and the corresponding application type of the application in the memory of the terminal, perform this operation for each application installed in the terminal, and obtain the application type database of the terminal.

本申请实施例中,为兼顾用户的使用习惯,终端的处理器可以按照第一应用类型集合中包括的各个第一应用中最后一次使用时刻至当前时刻之间的时长从小到大的排列顺序,将第一应用类型集合所包括的应用的图标在显示设备上进行前后排序显示,这样能够方便用户感知各个后台应用的最后一次使用时间的先后顺序。In the embodiment of the present application, in order to take into account the user's usage habits, the processor of the terminal may arrange the time lengths from the last use time to the current time of each first application included in the first application type set in ascending order, The icons of the applications included in the first application type set are sorted and displayed on the display device, so that the user can easily perceive the order of the last use time of each background application.

下面介绍本申请实施例提供的应用任务列表的清理方法的实现流程图。The implementation flow chart of the method for clearing the application task list provided by the embodiment of the present application is introduced below.

参阅图3所示,本申请实施例提供一种清理终端的应用任务列表的方法,该方法可以由如前所述的终端100来执行,该终端100包括显示设备,该方法的流程介绍如下。Referring to FIG. 3 , the embodiment of the present application provides a method for clearing the application task list of a terminal. The method can be executed by the terminal 100 as described above. The terminal 100 includes a display device. The flow of the method is introduced as follows.

步骤301:终端获取用户输入的第一指令,所述第一指令用于指示所述终端对后台处于运行状态的至少一个第一应用进行分类显示。Step 301: The terminal acquires a first instruction input by a user, and the first instruction is used to instruct the terminal to classify and display at least one first application that is running in the background.

可选的,本申请实施例中的第一指令可以是针对菜单键的第一指令,所述菜单键可以为硬件的菜单键或功能性的虚拟菜单键,本申请实施例不作限制,其中,所述第一指令可以为点击操作指令,包括单击操作指令或双击操作指令;或者为长按操作指令。Optionally, the first instruction in this embodiment of the present application may be a first instruction for a menu key, and the menu key may be a hardware menu key or a functional virtual menu key, which is not limited in this embodiment of the present application, wherein, The first instruction may be a click operation instruction, including a single-click operation instruction or a double-click operation instruction; or a long-press operation instruction.

步骤302:所述终端根据所述第一指令,对所述至少一个第一应用进行分类,按照分类结果显示至少一个第一应用类型集合,所述第一应用类型集合为属性信息相同或相似的至少一个第一应用的集合。Step 302: The terminal classifies the at least one first application according to the first instruction, and displays at least one first application type set according to the classification result, and the first application type set is the same or similar attribute information A collection of at least one first application.

步骤303:所述终端获取用户输入的第二指令,所述第二指令用于指示所述终端清理所述至少一个第一应用类型集合对应的应用任务。Step 303: The terminal acquires a second instruction input by the user, where the second instruction is used to instruct the terminal to clean up application tasks corresponding to the at least one first application type set.

可选的,所述第二指令可以为点击操作指令,包括单击操作指令或双击操作指令;或者为长按操作指令。第一操作指令与第二操作指令可以设置为相同,也可以设置为不同。Optionally, the second instruction may be a click operation instruction, including a single-click operation instruction or a double-click operation instruction; or a long-press operation instruction. The first operation instruction and the second operation instruction may be set to be the same or different.

进一步的,所述终端在获取用户输入的第二指令之前,显示第一控件,所述第一控件与所述第一应用类型集合相对应,所述第一控件用于根据用户的指令清理所述第一应用类型集合中所有应用的应用任务。此时,所述第二指令为针对所述第一控件的操作指令,具体的,可以为针对所述第一控件的点击操作指令,包括单击操作指令或双击操作指令;或者为长按操作指令。Further, before acquiring the second instruction input by the user, the terminal displays a first control, the first control corresponds to the first application type set, and the first control is used to clear all application tasks of all applications in the first application type set. At this time, the second instruction is an operation instruction for the first control, specifically, it may be a click operation instruction for the first control, including a single-click operation instruction or a double-click operation instruction; or a long-press operation instruction.

步骤304:所述终端根据所述第二指令,清理所述至少一个第一应用类型集合对应的应用的应用任务。Step 304: According to the second instruction, the terminal clears the application tasks of the applications corresponding to the at least one first application type set.

这样,用户在对后台应用进行清理时,能够根据后台应用的分类结果进行分类清理,既能够兼顾用户需求还能够避免繁琐操作。In this way, when the user cleans up the background applications, the background applications can be sorted and cleaned according to the classification results of the background applications, which can not only take into account user needs but also avoid tedious operations.

具体的,在上述步骤302中,所述终端根据所述第一指令,对所述至少一个第一应用进行分类时,包括以下三种可能的实现方式:Specifically, in the above step 302, when the terminal classifies the at least one first application according to the first instruction, the following three possible implementation manners are included:

第一种应用分类实现方式中,所述属性信息为所述至少一个第一应用的最后使用时刻;此时,对所述至少一个第一应用进行分类时,获取所述至少一个第一应用的最后使用时刻;根据所述至少一个第一应用的最后使用时刻,以时间维度,将最后使用时刻符合预设条件的应用分类为同一个应用类型集合。In the first application classification implementation manner, the attribute information is the last use time of the at least one first application; at this time, when classifying the at least one first application, the at least one first application is acquired The last use time: according to the last use time of the at least one first application, the applications whose last use time meets the preset condition are classified into the same application type set in a time dimension.

具体的,一种可能的实施方式中,终端的处理器在检测到所述第一指令时,统计所述各个第一应用的最后使用时刻,根据各个第一应用分别对应的最后使用时刻,将最后使用时刻至当前时刻之间的时长不大于预设时长的应用确定为第一类应用,将最后使用时刻至当前时刻之间的时长大于预设时长的应用确定为第二类应用。Specifically, in a possible implementation manner, when the processor of the terminal detects the first instruction, it counts the last use time of each first application, and according to the last use time corresponding to each first application, the Applications whose duration between the last used time and the current time is not greater than the preset duration are determined as the first type of applications, and applications whose duration between the last used time and the current time is longer than the preset duration are determined as the second type of applications.

这种实现方式,终端的处理器可以将应用分为常用应用和不常用应用,因此,终端的存储器需要维护两张应用列表,分别是常用应用列表和不常用应用列表。其中,第一类应用对应为常用应用,第二类应用对应为不常用应用。例如,终端处理器在检测到用户通过终端的输入设备输入的第一操作指令时,将后台应用中最后使用时刻至当前时刻之间的时长不大于半小时的应用确定为常用应用;将最后使用时刻至当前时刻之间的时长大于半小时的应用确定为不常用应用。此时,用户每次使用一个应用并将该应用退出至后台运行时,终端的处理器都会获取该应用的最后使用时刻,并在存储器中进行记录和保存。具体的,这种方式的后台应用的分类实现过程可参阅图4所示。In this implementation manner, the processor of the terminal can divide the applications into commonly used applications and infrequently used applications. Therefore, the terminal memory needs to maintain two application lists, which are the frequently used application list and the infrequently used application list. Wherein, the first type of application corresponds to commonly used applications, and the second type of application corresponds to infrequently used applications. For example, when the terminal processor detects the first operation instruction input by the user through the input device of the terminal, it determines the application in the background application whose duration between the last used time and the current time is not more than half an hour as a frequently used application; Applications whose duration between time and current time is longer than half an hour are determined as infrequently used applications. At this time, every time the user uses an application and exits the application to run in the background, the processor of the terminal will obtain the last use time of the application, and record and save it in the memory. Specifically, the implementation process of classifying background applications in this manner can be referred to as shown in FIG. 4 .

S40:终端的输入设备接收用户输入的第一指令,可选的,第一指令可以但不限于是针对菜单键的点击操作。S40: The input device of the terminal receives a first instruction input by the user. Optionally, the first instruction may be, but not limited to, a click operation on a menu key.

S41:终端的处理器获取各个第一应用的最后使用时刻,将所有的第一应用的最后使用时刻按照距离当前时刻由近及远进行排序,当前时刻为终端的输入设备接收到第一指令的时刻。S41: The processor of the terminal obtains the last use time of each first application, and sorts the last use time of all first applications according to the distance from the current time to the nearest and farthest, and the current time is the time when the input device of the terminal receives the first instruction time.

S42:终端的处理器按照上述排列顺序,依次判断各个后台应用的最后使用时刻距离当前时刻是否大于半小时,若是,则执行S43;否则,执行S44。S42: The processor of the terminal sequentially judges whether the last used time of each background application is more than half an hour away from the current time according to the above sequence, and if so, executes S43; otherwise, executes S44.

S43:将对应的应用对应的应用图标显示在不常用应用列表中。S43: Display the application icon corresponding to the corresponding application in the list of infrequently used applications.

S44:将对应的应用对应的应用图标显示在常用应用列表中。S44: Display the application icon corresponding to the corresponding application in the frequently used application list.

需要说明的是,针对上述区分的常用应用列表和不常用应用列表中的各个第一应用的区分结果,可能不符合用户需求,此时,终端的输入设备可以接收用户通过点击拖动的方式把不符合用户预期的某个第一应用拖到对应的列表中去,被拖动过的第一应用会被打上标签,标明这个第一应用是用户把它放到了常用或者不常用应用列表中,例如,图5所示,用户将在终端的显示设备上显示的不常用应用列表中包括的A应用,假设为QQ应用从不常用应用列表中拖动到常用应用列表中时,终端会在该拖动的QQ应用对应的应用图标中添加标签,以使用户能够获知该QQ应用是用户人为拖动到常用应用列表中去的。用这种方式来构建应用列表,既可以方便用户查看应用列表,也可以让用户修改第一应用所在的应用列表,方便应用的清理,其中该实施例中所提及的在终端的显示设备上显示的应用列表即为上述实施例中所介绍的分类应用文件夹图标的一种表现形式而已,根据具体情况,本发明实施例中提及的分类应用文件夹图标还可以表现为其他形式,在此不作限制。It should be noted that, for the above-mentioned distinguishing results of the first applications in the commonly used application list and the infrequently used application list, it may not meet the needs of the user. At this time, the input device of the terminal can receive the Drag a certain first application that does not meet the user's expectations to the corresponding list, and the dragged first application will be marked to indicate that the user has put it in the list of frequently used or uncommonly used applications. For example, as shown in Figure 5, when the user drags the A application included in the list of infrequently used applications displayed on the display device of the terminal, assuming that it is a QQ application, when dragging it from the list of infrequently used applications to the list of commonly used A label is added to the application icon corresponding to the dragged QQ application, so that the user can know that the QQ application is artificially dragged by the user to the frequently used application list. Constructing the application list in this way can not only facilitate the user to view the application list, but also allow the user to modify the application list where the first application is located, which facilitates the cleaning of the application. The terminal display device mentioned in this embodiment The displayed application list is just a manifestation of the classified application folder icons introduced in the above embodiments. According to specific circumstances, the classified application folder icons mentioned in the embodiments of the present invention may also be expressed in other forms. This is not limited.

第二种应用分类实现方式中,所述属性信息为所述至少一个第一应用的使用时长,此时,对所述至少一个第一应用进行分类时,获取所述至少一个第一应用在预设时间段内的使用时长;根据所述至少一个第一应用的使用时长,将使用时长符合预设条件的应用分类为同一个应用类型集合。In the second application classification implementation manner, the attribute information is the usage time of the at least one first application. At this time, when classifying the at least one first application, the The usage duration within a time period is set; according to the usage duration of the at least one first application, the applications whose usage duration meets a preset condition are classified into the same application type set.

具体的,一种可能的实现方式中,终端的处理器在检测到所述第一指令时,根据后台处于运行状态的各个第一应用在预设时长内的使用频率和/或使用时长,将使用频率和/或使用时长大于预设阈值的第一应用确定为第一类应用,将使用频率和/或使用时长不大于预设阈值的第一应用确定为第二类应用。Specifically, in a possible implementation manner, when the processor of the terminal detects the first instruction, it will The first application whose usage frequency and/or duration is greater than a preset threshold is determined as the first type of application, and the first application whose usage frequency and/or usage duration is not greater than the preset threshold is determined as the second type of application.

这种实现方式中,和上述第一种实现方式类似,终端将应用分为了常用应用和不常用应用,因此,终端的存储器需要维护两张应用列表,分别是常用应用列表和不常用应用列表。其中,第一类应用对应为常用应用,第二类应用对应为不常用应用。随着用户使用应用次数的不断增加,终端的处理器统计用户在预设时长内对各个应用的使用频率和使用时长,将使用频率和/或使用时长大于预设阈值的应用确定为常用应用,将使用频率和/或使用时长不大于预设阈值的应用确定为不常用应用,从而生成常用应用列表和不常用应用列表。在常用应用列表中,包含终端的各个应用中使用频率排在前X名的应用,X为正整数。在这张常用应用列表里的应用,除非用户手动切换,否则一直会保持在常用应用列表中,不随上次使用时间变动。用这种方式保存用户在不知不觉中培养起来的应用使用习惯,并且把这种使用习惯应用于后台列表的应用分类上。In this implementation, similar to the first implementation above, the terminal divides applications into commonly used applications and infrequently used applications. Therefore, the storage of the terminal needs to maintain two application lists, namely the frequently used application list and the infrequently used application list. Wherein, the first type of application corresponds to commonly used applications, and the second type of application corresponds to infrequently used applications. As the number of times the user uses the application continues to increase, the processor of the terminal counts the frequency and duration of use of each application by the user within a preset period of time, and determines the application with a frequency of use and/or duration of use greater than a preset threshold as a frequently used application, An application whose frequency of use and/or duration of use is not greater than a preset threshold is determined as an infrequently used application, thereby generating a frequently used application list and an infrequently used application list. The list of commonly used applications includes the top X most frequently used applications among the applications of the terminal, where X is a positive integer. The applications in this list of frequently used applications will remain in the list of frequently used applications unless the user manually switches them, and will not change with the last use time. In this way, the application usage habit cultivated by the user unconsciously is saved, and this usage habit is applied to the application classification of the background list.

需要说明的是,在对后台应用进行分类时,上述第一种应用分类实现方式和第二种应用分类实现方式,可以单独使用,也可以结合使用。具体的,在对后台应用进行分类时综合考虑各个第一应用的最后使用时刻、在预设时长内的使用频率、使用时长来对各个第一应用进行分类。例如,参阅图6所示,一种可能的实现方式中,首先获取各个第一应用的最后使用时刻,针对各个第一应用依次判断最后使用时刻距离当前时刻是否在在半小时之内,若是,则确定为常用应用;若不是,则继续获取剩余的各个第一应用在2小时内被启动的次数,判断启动次数是否大于5次,若是,则确定为常用应用;若不是,则继续获取剩余的各个第一应用在2小时内对应的进程存在的时长,判断进程存在的时长是否大于1小时,若是,则确定为常用应用;若不是则确定为不常用应用,这仅为一种示意性的实现方式,当然,也可以基于各个第一应用的最后使用时刻、在预设时长内的使用频率来对各个第一应用进行分类或者基于各个第一应用的最后使用时刻、在预设时长内的使用时长来对各个第一应用进行分类,在此不作限制。It should be noted that, when classifying background applications, the above-mentioned first implementation manner of application classification and the second implementation manner of application classification may be used alone or in combination. Specifically, when classifying the background applications, the last use time of each first application, the frequency of use within a preset duration, and the duration of use of each first application are comprehensively considered to classify each first application. For example, referring to FIG. 6 , in a possible implementation, first obtain the last use time of each first application, and sequentially determine whether the last use time is within half an hour from the current time for each first application, and if so, If not, then continue to obtain the number of times that each of the remaining first applications is activated within 2 hours, and determine whether the number of activations is greater than 5 times, if so, determine that it is a commonly used application; if not, continue to obtain the remaining The duration of the corresponding process of each first application within 2 hours, determine whether the duration of the process is greater than 1 hour, if so, determine it as a commonly used application; if not, determine it as an infrequently used application, this is only for illustration Of course, it is also possible to classify each first application based on the last use time of each first application and the frequency of use within a preset time period, or to classify each first application based on the last use time of each first application, within a preset time period Each first application is classified according to the duration of use, which is not limited here.

第三种应用分类实现方式中,所述属性信息为应用类型,此时,对所述至少一个第一应用进行分类时,获取所述至少一个第一应用的应用类型;根据所述至少一个第一应用的应用类型,将应用类型相同或相似的应用分类为同一个应用类型集合。In the third application classification implementation manner, the attribute information is an application type. At this time, when classifying the at least one first application, the application type of the at least one first application is acquired; according to the at least one first application An application type of an application, and applications of the same or similar application type are classified into the same application type set.

具体的,一种可能的实现方式中,终端的处理器在检测到所述第一指令时,根据预先设置的应用类型数据库,获取后台处于运行状态的各个第一应用在所述应用类型数据库中的应用类型,然后在根据获取的处于运行状态的各个第一应用对应的应用类型,对处于运行状态的所述各个第一应用进行分类。Specifically, in a possible implementation manner, when the processor of the terminal detects the first instruction, according to the preset application type database, obtain each first application that is running in the background in the application type database. The application type of each first application in the running state is then classified according to the obtained application type corresponding to each first application in the running state.

这种实现方式中,将各个第一应用按照应用类型进行分类,具体的,按照应用类型进行应用分类时,包括以下两种可能的实施方式:In this implementation manner, each first application is classified according to the application type. Specifically, when the application is classified according to the application type, the following two possible implementation manners are included:

一种可能的实施方式中,终端将后台处于运行状态的各个第一应用基于类似应用市场这种软件平台进行分类。例如,应用市场的应用大致分为:影音娱乐、实用工具、社交通讯、学习办公、新闻阅读、游戏娱乐。在终端开机时,终端的处理器针对终端已经安装的各个第一应用进行统计,排除掉系统应用之后,匹配剩下的第一应用分别在应用市场中对应的应用类型,然后把应用对应的应用图标放到对应类型的应用列表中,将应用类型无法匹配成功的应用对应的应用图标划分到待清理应用类型所对应的应用列表中,以后用户每一次新增应用,都进行这种检查和匹配,这样,终端的处理器在检测到所述第一指令时,能够直接获取后台处于运行状态的各个第一应用对应的应用类型,从而将相同应用类型的第一应用划分到同一个应用列表中以在显示设备上显示。In a possible implementation manner, the terminal classifies each first application that is running in the background based on a software platform such as an application market. For example, applications in the application market are roughly divided into: audio-visual entertainment, practical tools, social communication, learning and office work, news reading, and game entertainment. When the terminal is turned on, the processor of the terminal makes statistics on each first application installed on the terminal, after excluding the system applications, matches the corresponding application types of the remaining first applications in the application market, and then puts the corresponding application Icons are placed in the application list of the corresponding type, and the application icons corresponding to the application types that cannot be successfully matched are divided into the application list corresponding to the application type to be cleaned. In the future, each time the user adds an application, this check and match will be performed In this way, when the processor of the terminal detects the first instruction, it can directly obtain the application types corresponding to the first applications running in the background, so as to divide the first applications of the same application type into the same application list to display on the display device.

另一种可能的实施方式中,终端的处理器可采用诸如语义分析的方式获取应用的属性信息和相关的通信接口,确定该第一应用的应用类型,按照应用类型对各个第一应用进行分类。例如,终端在第一次安装某个应用时,通过语义分析,确定该待安装应用所具有的功能,将具有相似或相同功能的应用,划分为该功能对应的应用类型中,例如,终端在第一次安装具有支付功能的招商银行客户端应用时,通过语义分析,获取到该应用具有支付功能,将该应用划分到支付功能应用类型中,可以为这种应用类型集合的应用生成对应的第一类型文字,并命名为购物理财应用列表或者也可以为这种应用类型集合的应用生成对应的第一类型图标。In another possible implementation manner, the processor of the terminal may obtain application attribute information and related communication interfaces by means such as semantic analysis, determine the application type of the first application, and classify each first application according to the application type . For example, when installing an application for the first time, the terminal determines the functions of the application to be installed through semantic analysis, and classifies applications with similar or identical functions into the application types corresponding to the functions. When the China Merchants Bank client application with payment function is installed for the first time, through semantic analysis, it is obtained that the application has payment function, and the application is classified into the payment function application type, and the corresponding application can be generated for this application type set The first type of text is named as a shopping and financial management application list, or a corresponding first type of icon can be generated for the application of this application type set.

需要说明的是,在显示第一应用类型集合时,需要显示所述第一应用类型集合所包括的应用的图标,即所述第一应用类型集合中包括至少一个应用的图标。进一步的,在显示第一应用类型集合时,生成与所述第一应用类型集合对应的第一类型图标,显示所述第一类型图标;或者,在显示第一应用类型集合时,生成与所述第一应用类型集合对应的第一类型文字,显示所述第一类型文字。It should be noted that, when displaying the first application type set, icons of applications included in the first application type set need to be displayed, that is, the first application type set includes at least one application icon. Further, when displaying the first application type set, generate a first type icon corresponding to the first application type set, and display the first type icon; or, when displaying the first application type set, generate an icon corresponding to the first application type set The first type of text corresponding to the first application type set is displayed, and the first type of text is displayed.

具体的,终端在显示所述第一应用类型集合所包括的应用的图标时,可以通过以下过程实现:Specifically, when the terminal displays the icons of the applications included in the first application type set, it may be implemented through the following process:

终端分别确定每个第一应用类型集合所包括的各个应用中,最后一次使用时刻至当前时刻之间的时长;The terminal respectively determines the duration between the last time of use and the current time in each application included in each first application type set;

终端按照第一应用类型集合中所包括的各个应用中最后一次使用时刻至当前时刻之间的时长从小到大的排列顺序,将每个应用的图标依次显示在终端的显示设备上。The terminal displays the icons of each application on the display device of the terminal sequentially in ascending order of the duration between the last use time and the current time of each application included in the first application type set.

这样,能够将各个第一应用的最后使用时刻信息呈现给用户,方便用户了解各个第一应用的使用情况。In this way, the information about the last use time of each first application can be presented to the user, which is convenient for the user to understand the usage status of each first application.

进一步的,在上述步骤303之前,即在所述终端获取用户输入的第二指令之前,所述终端获取到用户输入的第三指令,所述第三指令用于选择所述第一应用类型集合中的第一应用;若所述终端获取到用户输入的第二指令,所述终端根据所述第二指令,清理所述至少一个第一应用类型集合对应的应用的应用任务时,清理所述第一应用类型集合中,除所述第一应用之外的其它应用的应用任务。Further, before the above step 303, that is, before the terminal obtains the second instruction input by the user, the terminal obtains a third instruction input by the user, and the third instruction is used to select the first application type set if the terminal obtains the second instruction input by the user, and when the terminal clears the application tasks of the application corresponding to the at least one first application type set according to the second instruction, the terminal clears the In the first application type set, application tasks of other applications except the first application.

通过上述实现方式,如果用户在清理某个第一应用类型集合中的各个应用时,根据实际使用需求,确定某个第一应用不需要被清理时,终端的输入设备接收用户输入的第三指令,可选的,所述第三可以是针对该第一应用的图标的长按操作,此时,终端的显示设备在呈现给用户的显示界面上显示该第一应用的图标的选中标记,后续终端的处理器若检测到针对该第一应用的图标所在的第一应用类型集合的第二指令时,可以保持选中的第一应用不被清理,同时需要清理第一应用类型集合中的其他应用的应用任务。Through the above implementation, if the user determines that a certain first application does not need to be cleaned up according to actual usage requirements when cleaning up each application in a certain first application type set, the input device of the terminal receives the third instruction input by the user , optionally, the third may be a long-press operation on the icon of the first application. At this time, the display device of the terminal displays the check mark of the icon of the first application on the display interface presented to the user, and the subsequent If the processor of the terminal detects the second instruction for the first application type set where the icon of the first application is located, it can keep the selected first application from being cleaned up, and at the same time need to clean up other applications in the first application type set application tasks.

值得一提的是,上述第一指令、第二指令、第三指令可以是相同的操作指令或不同的操作指令。It is worth mentioning that the above-mentioned first instruction, second instruction, and third instruction may be the same operation instruction or different operation instructions.

下面将结合实际应用,介绍本申请实施例提供的各个第一应用的分类显示的具体实现过程。The following will introduce the specific implementation process of classifying and displaying each first application provided by the embodiment of the present application in combination with practical applications.

针对上述第一种应用分类实现方式和第二种应用分类实现方式中各个第一应用的分类显示可参阅图7A所示,此时后台应用的显示界面分为上下两部分,上面部分为常用应用对应的第一应用类型集合,里面包含城市银行、微信和中国邮政等三个应用图标,即城市银行、微信和中国邮政这3个应用为用户经常使用的应用,下面部分为不常用应用列表对应的第一应用类型集合,里面包含香港银行和手机银行分别对应的应用图标,即香港银行和手机银行这2个应用为用户不经常使用的应用。此外,终端还会在常用应用对应的第一应用类型集合和不常用应用对应的第一应用类型集合的右下角显示清理按钮,如果用户点击不常用应用对应的第一应用类型集合的右下角的清理按钮,此时终端只会清理不常用应用对应的第一应用类型集合中显示的香港银行和手机银行分别对应的香港银行应用和手机银行应用的应用任务,不会影响上面的常用应用对应的第一应用类型集合中包括的应用的图标对应的后台应用,从而按照各个第一应用的分类结果进行清理,用户无需额外设置,就可以清理不关注的各个第一应用,同时保留用户关注的常用应用,兼顾用户的使用习惯,提升用户体验。For the classification and display of each first application in the above-mentioned first application classification implementation method and the second application classification implementation method, please refer to FIG. 7A. At this time, the display interface of the background application is divided into upper and lower parts, and the upper part is commonly used applications. The corresponding first application type set contains three application icons of City Bank, WeChat and China Post, that is, the three applications of City Bank, WeChat and China Post are applications frequently used by users, and the following part corresponds to the list of infrequently used applications The first application type set includes application icons corresponding to Bank of Hong Kong and Mobile Banking respectively, that is, the two applications of Bank of Hong Kong and Mobile Banking are applications that are not frequently used by users. In addition, the terminal will also display a cleanup button in the lower right corner of the first application type set corresponding to commonly used applications and the first application type set corresponding to infrequently used applications. Clear button. At this time, the terminal will only clear the application tasks of the Hong Kong bank application and mobile banking application corresponding to the Hong Kong bank and mobile banking displayed in the first application type set corresponding to the infrequently used applications, and will not affect the application tasks corresponding to the frequently used applications above. The background applications corresponding to the application icons included in the first application type set can be cleaned according to the classification results of each first application. The user can clean up the first applications that are not concerned by the user without additional settings, while retaining the frequently used ones that the user cares about. The application takes into account the user's usage habits and improves the user experience.

值得一提的,在应用设置中为用户提供管理常用应用的功能,用户可以自己操作将某个应用迁移到常用应用中,或者,将某个应用从常用应用中移除到不常用应用中显示,避免出现统计显示的应用分类结果不合符用户需求,使用户不满意的情形,这种被用户挪动过的应用的图标,除非用户手动移除,否则该挪动过的应用的图标一直会在某类应用对应的第一应用类型集合中显示。It is worth mentioning that in the application settings, users are provided with the function of managing commonly used applications. Users can operate to migrate an application to frequently used applications, or remove an application from commonly used applications to unused applications. , to avoid the situation that the application classification results displayed by the statistics do not meet the user's needs and make the user dissatisfied. The icon of the application that has been moved by the user, unless the user manually removes it, otherwise the icon of the application that has been moved will always be in a certain place. displayed in the first application type set corresponding to the class application.

针对上述第三种应用分类实现方式中各个第一应用的分类显示可参阅图7B所示,此时应用的显示界面,根据用户针对各类应用在预设时长内的综合使用频度(包括使用频率和使用时长),将使用频度最高的三类应用优先显示,最后一类显示待清理的应用,并且在显示每一类应用对应的第一应用类型集合时按照该第一应用类型集合包括的各个应用的图标对应的各个应用中,最后一次使用时刻距离当前时刻由近及远的顺序来排列显示。For the classification display of each first application in the above-mentioned third application classification implementation method, refer to FIG. 7B . At this time, the display interface of the application is based on the user's comprehensive use frequency (including use frequency and duration of use), the three types of applications with the highest usage frequency will be displayed first, and the last type will display the applications to be cleaned up, and when displaying the first application type set corresponding to each type of application, the first application type set includes Among the applications corresponding to the icons of the various applications, the last used time is arranged and displayed in the order of the closest and the farthest from the current time.

这样,在用户后台使用的应用较多时,可以将应用按照应用的分类结果进行分类区别显示,界面操作简单明了,分类清晰,在一般情况下,用户不需要额外设置和操作,就可以直接清理掉不关注的应用,保留自己感兴趣的应用,使用户能够根据自己的需要把后台应用按照各个应用的使用信息进行应用的分类清理,简化后台应用的清理操作,让用户既可以较为轻松的清理后台应用,又可以保留用户感兴趣的应用以便来回切换使用。In this way, when there are many applications used in the background of the user, the applications can be classified and displayed according to the classification results of the applications. The interface operation is simple and clear, and the classification is clear. In general, the user does not need additional settings and operations, and can be directly cleaned up. Keep the apps you don’t care about, and keep the apps you are interested in, so that users can classify and clean the background apps according to the usage information of each app according to their needs, simplify the cleaning operation of the background apps, and let the users clean the background more easily Applications, and the applications that the user is interested in can be reserved for switching back and forth.

本申请实施例可以根据上述方法示例对终端进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the functional units of the terminal according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.

在采用集成的单元的情况下,图8示出了本申请实施例提供的一种清理终端的应用任务列表的装置的结构示意图。参阅图8所示,该装置800包括获取单元801、处理单元802和显示单元803,其中:In the case of using an integrated unit, FIG. 8 shows a schematic structural diagram of an apparatus for clearing an application task list of a terminal provided by an embodiment of the present application. Referring to FIG. 8, the device 800 includes an acquisition unit 801, a processing unit 802, and a display unit 803, wherein:

获取单元801:用于获取用户输入的第一指令,所述第一指令用于指示所述终端对后台处于运行状态的至少一个第一应用进行分类显示;An acquiring unit 801: configured to acquire a first instruction input by a user, where the first instruction is used to instruct the terminal to classify and display at least one first application that is running in the background;

处理单元802,用于根据所述第一指令,对所述至少一个第一应用进行分类;a processing unit 802, configured to classify the at least one first application according to the first instruction;

显示单元803,用于按照分类结果显示至少一个第一应用类型集合,所述第一应用类型集合为属性信息相同或相似的至少一个第一应用的集合;A display unit 803, configured to display at least one first application type set according to the classification result, where the first application type set is a set of at least one first application with the same or similar attribute information;

所述获取单元801,还用于获取用户输入的第二指令,所述第二指令用于指示所述终端清理所述至少一个第一应用类型集合对应的应用任务;The obtaining unit 801 is further configured to obtain a second instruction input by the user, the second instruction is used to instruct the terminal to clean up the application tasks corresponding to the at least one first application type set;

所述处理单元802,还用于根据所述第二指令,清理所述至少一个第一应用类型集合对应的应用的应用任务。The processing unit 802 is further configured to clear application tasks of applications corresponding to the at least one first application type set according to the second instruction.

可选的,所述属性信息为应用类型;所述处理单元802用于:获取所述至少一个第一应用的应用类型;根据所述至少一个第一应用的应用类型,将应用类型相同或相似的应用分类为同一个应用类型集合。Optionally, the attribute information is an application type; the processing unit 802 is configured to: acquire the application type of the at least one first application; applications are classified into the same application type set.

可选的,所述处理单元802用于:根据所述至少一个第一应用的安装包文件,获取应用类型;和/或,根据用户的预先设置,获取应用类型。Optionally, the processing unit 802 is configured to: obtain the application type according to the installation package file of the at least one first application; and/or obtain the application type according to the preset settings of the user.

可选的,所述属性信息为所述至少一个第一应用的最后使用时刻;所述处理单元802用于:获取所述至少一个第一应用的最后使用时刻;根据所述至少一个第一应用的最后使用时刻,以时间维度,将最后使用时刻符合预设条件的应用分类为同一个应用类型集合。Optionally, the attribute information is the last use time of the at least one first application; the processing unit 802 is configured to: obtain the last use time of the at least one first application; The last use time of the time dimension, the applications whose last use time meets the preset conditions are classified into the same application type set.

可选的,所述属性信息为所述至少一个第一应用的使用时长;所述处理单元802用于:获取所述至少一个第一应用在预设时间段内的使用时长;根据所述至少一个第一应用的使用时长,将使用时长符合预设条件的应用分类为同一个应用类型集合。Optionally, the attribute information is the usage duration of the at least one first application; the processing unit 802 is configured to: obtain the usage duration of the at least one first application within a preset time period; according to the at least one The usage duration of a first application is to classify the applications whose usage duration meets the preset condition into the same application type set.

可选的,所述显示单元803用于:显示所述第一应用类型集合所包括的应用的图标;或,生成与所述第一应用类型集合对应的第一类型图标,显示所述第一类型图标和所述第一应用类型集合所包括的应用的图标;或,生成与所述第一应用类型集合对应的第一类型文字,显示所述第一类型文字和所述第一应用类型集合所包括的应用的图标。Optionally, the display unit 803 is configured to: display icons of applications included in the first application type set; or generate a first type icon corresponding to the first application type set, and display the first Type icons and icons of applications included in the first application type set; or, generate first type text corresponding to the first application type set, and display the first type text and the first application type set Icons for the included apps.

可选的,所述显示单元803还用于:显示第一控件,所述第一控件与所述第一应用类型集合相对应,所述第一控件用于根据用户的指令清理所述第一应用类型集合中所有应用的应用任务。Optionally, the display unit 803 is further configured to: display a first control, the first control corresponds to the first application type set, and the first control is used to clean up the first application type set according to a user instruction. Application tasks for all applications in the application type collection.

可选的,在所述终端获取用户输入的第二指令之前,所述获取单元801还用于:获取用户输入的第三指令,所述第三指令用于选择所述第一应用类型集合中的第一应用;所述处理单元802,还用于根据所述第二指令,清理所述至少一个第一应用类型集合对应的应用的应用任务,包括:根据所述第二指令,清理所述第一应用类型集合中,除所述第一应用之外的其它应用的应用任务。Optionally, before the terminal obtains the second instruction input by the user, the obtaining unit 801 is further configured to: obtain a third instruction input by the user, where the third instruction is used to select an application from the first application type set. the first application of the first application; the processing unit 802 is further configured to, according to the second instruction, clear the application tasks of the application corresponding to the at least one first application type set, including: according to the second instruction, clear the In the first application type set, application tasks of other applications except the first application.

本申请实施例提供的装置800具有实现上述方法实施例中涉及的清理终端的应用任务列表的方法过程中的所有功能,其具体实现过程可参阅上述实施例及附图的相关描述,在此不再赘述。The device 800 provided by the embodiment of the present application has all the functions in the process of clearing the application task list of the terminal involved in the above method embodiment. For the specific implementation process, please refer to the relevant description of the above embodiment and the accompanying drawings, and will not be discussed here. Let me repeat.

需要说明的是,本申请实施例中附图中涉及的各附图仅是进行示意性说明,并不限定实际实施过程中终端的形态,例如图2A至图2C、图5、图7A以及图7B中仅是对终端显示界面上显示的第一应用进行示意性说明,省略了终端的机壳等部分,实际实施过程中该显示界面是显示在具有终端机壳等实体结构上的,并且终端显示界面上显示的具体内容以及应用名称都不限定。It should be noted that the various drawings involved in the drawings in the embodiments of the present application are only for schematic illustration, and do not limit the form of the terminal in the actual implementation process, such as Fig. 2A to Fig. 2C, Fig. 5, Fig. 7A and Fig. 7B is only a schematic description of the first application displayed on the terminal display interface, omitting the terminal casing and other parts. In actual implementation, the display interface is displayed on a physical structure such as a terminal casing, and the terminal The specific content displayed on the display interface and the name of the application are not limited.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令处理器完成,所述的程序可以存储于计算机可读存储介质中,所述存储介质是非短暂性(英文:non-transitory)介质,例如随机存取存储器,只读存储器,快闪存储器,硬盘,固态硬盘,磁带(英文:magnetic tape),软盘(英文:floppy disk),光盘(英文:optical disc)及其任意组合。Those of ordinary skill in the art can understand that all or part of the steps in the methods of the above embodiments can be implemented through a program to instruct the processor to complete, and the program can be stored in a computer-readable storage medium, and the storage medium is non-transitory ( English: non-transitory) media, such as random access memory, read-only memory, flash memory, hard disk, solid-state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.

本申请是参照本申请实施例的方法和设备各自的流程图和方框图来描述的。应理解可由计算机程序指令实现流程图和方框图中的每一流程和方框、以及流程图和方框图中的流程和方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the respective flow charts and block diagrams of the methods and devices in the embodiments of the present application. It will be understood that each procedure and block in the flowchart illustrations and block diagrams, and combinations of procedures and blocks in the flowchart illustrations and block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and one or more blocks of the block diagram.

以上所述,仅为本申请可选的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应该以权利要求的保护范围为准。The above is only an optional specific implementation mode of this application, but the scope of protection of this application is not limited thereto. Any person familiar with the technical field can easily think of changes or changes within the technical scope disclosed in this application. Replacement should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (24)

1. a kind of method of the application task list of cleaning terminal, which is characterized in that the method includes:
Terminal obtains the first instruction input by user, and it is in operating status that first instruction is used to indicate the terminal-pair backstage At least one first application carry out classification and show;
The terminal is instructed according to described first, is classified at least one first application, is shown according to classification results At least one first application type set, the first application type collection are combined into attribute information same or analogous at least one The set of one application;
The terminal obtains the second instruction input by user, and second instruction is used to indicate at least one described in the terminal cleaning The corresponding application task of a first application type set;
The terminal is instructed according to described second, clears up the application of the corresponding application of at least one first application type set Task.
2. according to the method described in claim 1, it is characterized in that, the attribute information is application type;It is described to it is described extremely Few one first application is classified, including:
Obtain the application type of at least one first application;
It is same by the same or analogous application class of application type according to the application type of at least one first application Application type set.
3. according to the method described in claim 2, it is characterized in that, the application class for obtaining at least one first application Type, including:
According to the installation package file of at least one first application, application type is obtained;And/or
According to pre-setting for user, application type is obtained.
4. according to the method described in claim 1, it is characterized in that, the attribute information is at least one first application Finally use the moment;It is described to classify at least one first application, including:
Obtain at least one first application finally uses the moment;
The moment is finally used according at least one first application, it is default by finally being met using the moment with time dimension The application class of condition is the same application type set.
5. according to the method described in claim 1, it is characterized in that, the attribute information is at least one first application Use duration;It is described to classify at least one first application, including:
Obtain the use duration of at least one first application within a preset period of time;
Duration is used according at least one first application, it is same that duration will be used, which to meet the application class of preset condition, A application type set.
6. according to any methods of claim 1-5, which is characterized in that described to show at least one the according to classification results One application type set, including:
Show the icon of the application included by the first application type set;Or,
Corresponding with the first application type set first kind icon is generated, shows the first kind icon and described the The icon of application included by one application type set;Or,
Corresponding with the first application type set first kind word is generated, shows the first kind word and described the The icon of application included by one application type set.
7. according to the method described in claim 6, it is characterized in that, the method further includes:
The terminal shows the first control, and first control is corresponding with the first application type set, first control Part is used to clear up the application task of all applications in the first application type set according to the instruction of user.
8. according to any methods of claim 1-6, which is characterized in that obtain input by user second in the terminal and refer to Before order, the method further includes:
The terminal obtains third instruction input by user, and the third instruction is for selecting in the first application type set First application;
The terminal is instructed according to described second, clears up the application of the corresponding application of at least one first application type set Task, including:
The terminal is instructed according to described second, is cleared up in the first application type set, in addition to first application The application task of other application.
9. a kind of device of the application task list of cleaning terminal, which is characterized in that described device includes:
Acquiring unit, for obtaining the first instruction input by user, first instruction is used to indicate at the terminal-pair backstage Classification is carried out at least one first application of operating status to show;
Processing unit classifies at least one first application for being instructed according to described first;
Display unit, for showing at least one first application type set, the first application type collection according to classification results It is combined into the set of same or analogous at least one first application of attribute information;
The acquiring unit is additionally operable to obtain the second instruction input by user, and it is clear that second instruction is used to indicate the terminal Manage the corresponding application task of at least one first application type set;
The processing unit is additionally operable to instruct according to described second, and cleaning at least one first application type set corresponds to Application application task.
10. device according to claim 9, which is characterized in that the attribute information is application type;The processing unit For:
Obtain the application type of at least one first application;
It is same by the same or analogous application class of application type according to the application type of at least one first application Application type set.
11. device according to claim 10, which is characterized in that the processing unit is used for:
According to the installation package file of at least one first application, application type is obtained;And/or
According to pre-setting for user, application type is obtained.
12. device according to claim 9, which is characterized in that the attribute information is at least one first application Finally use the moment;The processing unit is used for:
Obtain at least one first application finally uses the moment;
The moment is finally used according at least one first application, it is default by finally being met using the moment with time dimension The application class of condition is the same application type set.
13. device according to claim 9, which is characterized in that the attribute information is at least one first application Use duration;The processing unit is used for:
Obtain the use duration of at least one first application within a preset period of time;
Duration is used according at least one first application, it is same that duration will be used, which to meet the application class of preset condition, A application type set.
14. according to any devices of claim 9-13, which is characterized in that the display unit is used for:
Show the icon of the application included by the first application type set;Or,
Corresponding with the first application type set first kind icon is generated, shows the first kind icon and described the The icon of application included by one application type set;Or,
Corresponding with the first application type set first kind word is generated, shows the first kind word and described the The icon of application included by one application type set.
15. device according to claim 14, which is characterized in that the display unit is additionally operable to:
Show the first control, first control is corresponding with the first application type set, and first control is used for root The application task of all applications in the first application type set is cleared up according to the instruction of user.
16. according to any devices of claim 9-14, which is characterized in that obtain input by user second in the terminal Before instruction, the acquiring unit is additionally operable to:
Third instruction input by user is obtained, the third instruction is for selecting first in the first application type set to answer With;
The processing unit is additionally operable to instruct according to described second, and cleaning at least one first application type set corresponds to Application application task, including:
It instructs, is cleared up in the first application type set according to described second, the other application in addition to first application Application task.
17. a kind of terminal, which is characterized in that including processor, memory, display equipment and input equipment;
The input equipment, the display equipment, the memory are connected to the processor by bus, wherein
The input equipment, for obtaining instruction input by user;
The memory, the program code executed for storing the processor;
The processor, the program code for calling the memory storage, the instruction obtained by the input equipment obtain The first instruction and the second instruction input by user are taken, it is in operating status that first instruction is used to indicate the terminal-pair backstage At least one first application carry out classification and show, second instruction is used to indicate the terminal cleaning described at least one the The corresponding application task of one application type set, and instructed according to described first, at least one first application is divided Class;It is instructed according to described second, clears up the application task of the corresponding application of at least one first application type set;
The display equipment, for showing at least one first application type set according to classification results, described first applies class Type collection is combined into the set of same or analogous at least one first application of attribute information.
18. terminal according to claim 17, which is characterized in that the attribute information is application type;The processor For:
Obtain the application type of at least one first application;
It is same by the same or analogous application class of application type according to the application type of at least one first application Application type set.
19. terminal according to claim 18, which is characterized in that the processor is used for:
According to the installation package file of at least one first application, application type is obtained;And/or
According to pre-setting for user, application type is obtained.
20. terminal according to claim 17, which is characterized in that the attribute information is at least one first application Finally use the moment;The processor is used for:
Obtain at least one first application finally uses the moment;
The moment is finally used according at least one first application, it is default by finally being met using the moment with time dimension The application class of condition is the same application type set.
21. terminal according to claim 17, which is characterized in that the attribute information is at least one first application Use duration;The processor is used for:
Obtain the use duration of at least one first application within a preset period of time;
Duration is used according at least one first application, it is same that duration will be used, which to meet the application class of preset condition, A application type set.
22. according to any terminals of claim 17-21, which is characterized in that the display equipment is used for:
Show the icon of the application included by the first application type set;Or,
If the processor generates first kind icon corresponding with the first application type set, the first kind is shown The icon of application included by icon and the first application type set;Or,
If the processor generates first kind word corresponding with the first application type set, the first kind is shown The icon of application included by word and the first application type set.
23. terminal according to claim 22, which is characterized in that the display equipment is additionally operable to:
Show the first control, first control is corresponding with the first application type set, and first control is used for root The application task of all applications in the first application type set is cleared up according to the instruction of user.
24. according to any terminals of claim 17-22, which is characterized in that the processor is additionally operable to:
Before the terminal obtains the second instruction input by user, third input by user is obtained by the input equipment and is referred to It enables, the third instruction is for selecting first in the first application type set to apply;
It is instructed according to described second, clears up the application task of the corresponding application of at least one first application type set, packet It includes:
It instructs, is cleared up in the first application type set according to described second, the other application in addition to first application Application task.
CN201780005201.2A 2017-02-23 2017-02-23 A kind of method, apparatus and terminal of the application task list of cleaning terminal Pending CN108701037A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/074556 WO2018152734A1 (en) 2017-02-23 2017-02-23 Method and device for clearing application task list of terminal, and terminal

Publications (1)

Publication Number Publication Date
CN108701037A true CN108701037A (en) 2018-10-23

Family

ID=63252385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780005201.2A Pending CN108701037A (en) 2017-02-23 2017-02-23 A kind of method, apparatus and terminal of the application task list of cleaning terminal

Country Status (2)

Country Link
CN (1) CN108701037A (en)
WO (1) WO2018152734A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710363A (en) * 2018-12-26 2019-05-03 北京金山安全软件有限公司 Method and device for preventing application program from being cleaned, terminal equipment and storage medium
CN110262877A (en) * 2019-04-30 2019-09-20 华为技术有限公司 A kind of card processing method and equipment
CN110531904A (en) * 2019-08-15 2019-12-03 维沃移动通信有限公司 Background task display method and terminal
CN110865743A (en) * 2019-09-02 2020-03-06 华为技术有限公司 Task management method and terminal equipment
CN110955365A (en) * 2019-11-28 2020-04-03 维沃移动通信有限公司 Application identifier display method and electronic equipment
CN111124204A (en) * 2019-12-12 2020-05-08 维沃移动通信有限公司 Application control method and electronic equipment
CN112181570A (en) * 2020-09-28 2021-01-05 维沃移动通信有限公司 Background task display method and device and electronic equipment
CN112799755A (en) * 2021-01-19 2021-05-14 惠州Tcl移动通信有限公司 Interface generation method, terminal and computer readable storage medium
CN114253637A (en) * 2020-09-22 2022-03-29 华为技术有限公司 Icon data migration method, electronic equipment and computer readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678800B (en) * 2017-09-30 2020-02-14 Oppo广东移动通信有限公司 Background application cleaning method and device, storage medium and electronic equipment
US11646112B2 (en) 2018-05-30 2023-05-09 TaskUnite Inc. Real-time health care inventory imaging and tracking intelligence system
CN113703844A (en) * 2021-07-27 2021-11-26 厦门市思芯微科技有限公司 Instruction issuing method, system and device and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929703A (en) * 2012-10-25 2013-02-13 北京奇虎科技有限公司 Application software management system and method
CN103645914A (en) * 2013-11-26 2014-03-19 北京奇虎科技有限公司 Software cleaning method and device
US20140278409A1 (en) * 2004-07-30 2014-09-18 At&T Intellectual Property Ii, L.P. Preserving privacy in natural langauge databases
CN104615494A (en) * 2015-01-24 2015-05-13 陆俊 Mobile terminal and application switching method
CN105117290A (en) * 2015-09-30 2015-12-02 联想(北京)有限公司 Information processing method and system and electronic equipment
CN105426233A (en) * 2014-09-16 2016-03-23 三星电子株式会社 Electronic device having independent screen configuration and application running method thereof
CN105630932A (en) * 2015-12-22 2016-06-01 北京奇虎科技有限公司 Method and device for managing files of intelligent terminals
CN106055354A (en) * 2016-05-24 2016-10-26 努比亚技术有限公司 Task processing method and terminal
CN106293924A (en) * 2015-05-20 2017-01-04 Tcl集团股份有限公司 The EMS memory management process of Android system and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786520A (en) * 2016-03-17 2016-07-20 北京百纳威尔科技有限公司 Method and device for managing applications of electronic equipment
CN106201572A (en) * 2016-06-23 2016-12-07 努比亚技术有限公司 Mobile terminal and internal memory releasing control method
CN106339470B (en) * 2016-08-29 2020-02-04 北京小米移动软件有限公司 File processing method and device
CN106445664B (en) * 2016-09-18 2020-05-12 深圳市邦华电子有限公司 Application program management method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140278409A1 (en) * 2004-07-30 2014-09-18 At&T Intellectual Property Ii, L.P. Preserving privacy in natural langauge databases
CN102929703A (en) * 2012-10-25 2013-02-13 北京奇虎科技有限公司 Application software management system and method
CN103645914A (en) * 2013-11-26 2014-03-19 北京奇虎科技有限公司 Software cleaning method and device
CN105426233A (en) * 2014-09-16 2016-03-23 三星电子株式会社 Electronic device having independent screen configuration and application running method thereof
CN104615494A (en) * 2015-01-24 2015-05-13 陆俊 Mobile terminal and application switching method
CN106293924A (en) * 2015-05-20 2017-01-04 Tcl集团股份有限公司 The EMS memory management process of Android system and device
CN105117290A (en) * 2015-09-30 2015-12-02 联想(北京)有限公司 Information processing method and system and electronic equipment
CN105630932A (en) * 2015-12-22 2016-06-01 北京奇虎科技有限公司 Method and device for managing files of intelligent terminals
CN106055354A (en) * 2016-05-24 2016-10-26 努比亚技术有限公司 Task processing method and terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710363A (en) * 2018-12-26 2019-05-03 北京金山安全软件有限公司 Method and device for preventing application program from being cleaned, terminal equipment and storage medium
CN110262877A (en) * 2019-04-30 2019-09-20 华为技术有限公司 A kind of card processing method and equipment
CN110262877B (en) * 2019-04-30 2022-05-13 华为技术有限公司 Card processing method and device
CN110531904A (en) * 2019-08-15 2019-12-03 维沃移动通信有限公司 Background task display method and terminal
CN110865743A (en) * 2019-09-02 2020-03-06 华为技术有限公司 Task management method and terminal equipment
CN110955365A (en) * 2019-11-28 2020-04-03 维沃移动通信有限公司 Application identifier display method and electronic equipment
CN111124204A (en) * 2019-12-12 2020-05-08 维沃移动通信有限公司 Application control method and electronic equipment
CN111124204B (en) * 2019-12-12 2021-08-20 维沃移动通信有限公司 Application control method and electronic device
CN114253637A (en) * 2020-09-22 2022-03-29 华为技术有限公司 Icon data migration method, electronic equipment and computer readable storage medium
CN114253637B (en) * 2020-09-22 2024-04-26 华为技术有限公司 Icon data migration method, electronic device and computer-readable storage medium
CN112181570A (en) * 2020-09-28 2021-01-05 维沃移动通信有限公司 Background task display method and device and electronic equipment
CN112799755A (en) * 2021-01-19 2021-05-14 惠州Tcl移动通信有限公司 Interface generation method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
WO2018152734A1 (en) 2018-08-30

Similar Documents

Publication Publication Date Title
CN108701037A (en) A kind of method, apparatus and terminal of the application task list of cleaning terminal
RU2677595C2 (en) Application interface presentation method and apparatus and electronic device
AU2014216029B2 (en) Electronic device and method for providing content according to field attribute
CN103081365B (en) Mobile terminal and for control its table data output method based on multi-touch
EP2752749B1 (en) Processing method of touch screen device user interface and touch screen device
CN107092520B (en) Recommended method, device, storage medium and mobile terminal for application program
EP2854009B1 (en) Method and apparatus for unlocking lock screen in electronic device
WO2019128732A1 (en) Icon management method and device
CN103106026A (en) Data input method and apparatus for mobile terminal having touchscreen
CN107493389A (en) Singlehanded mode implementation method, terminal and computer-readable medium
CN114827914B (en) Short message processing method, device and electronic equipment
CN103076942A (en) Apparatus and method for changing an icon in a portable terminal
CN107066167A (en) A kind of regional selection method, device and graphic user interface
CN107193451B (en) Information display method, apparatus, computer equipment, and computer-readable storage medium
WO2018086234A1 (en) Method for processing object, and terminal
CN107450799B (en) A message display method and mobile terminal
US20150084877A1 (en) Touch device and method for dynamically setting touch inactive area, and non-transitory recording medium
KR20140089224A (en) Device and method for executing operation based on touch-input
WO2023005828A1 (en) Message display method and apparatus, and electronic device
CN106528350B (en) A kind of file backup method and mobile terminal
CN107562365A (en) Pass through the method and product of double finger gesture operation files in intelligent terminal
CN108604160A (en) The method and device of touch-screen gesture identification
WO2016131181A1 (en) Fingerprint event processing method, apparatus, and terminal
CN106293386B (en) A method for hiding application program and mobile terminal
CN111796736B (en) Application sharing method and device and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181023