Movatterモバイル変換


[0]ホーム

URL:


CN106648704A - Process management method and device and mobile terminal - Google Patents

Process management method and device and mobile terminal
Download PDF

Info

Publication number
CN106648704A
CN106648704ACN201710007200.3ACN201710007200ACN106648704ACN 106648704 ACN106648704 ACN 106648704ACN 201710007200 ACN201710007200 ACN 201710007200ACN 106648704 ACN106648704 ACN 106648704A
Authority
CN
China
Prior art keywords
application program
history
starts
application
terminal
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
CN201710007200.3A
Other languages
Chinese (zh)
Inventor
张晓璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710007200.3ApriorityCriticalpatent/CN106648704A/en
Publication of CN106648704ApublicationCriticalpatent/CN106648704A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the invention discloses a process management method, a process management device and a mobile terminal. Acquiring historical operating data of an application program according to a set period; determining a target application program meeting set conditions according to historical operating data, and marking the target application program; and updating the set resident process list according to the marked target application program so as to shield the destroy operation of the processes included in the set resident process list. The embodiment of the invention solves the problem that the notification or the message cannot be received in real time due to the fact that the process of the application program commonly used by the user is killed by the user manually cleaning the memory, ensures that the application program most frequently used by the user is not killed by mistake in the last period of time, and achieves the effect of improving the management efficiency of the terminal.

Description

Translated fromChinese
一种进程管理的方法、装置及移动终端Process management method, device and mobile terminal

技术领域technical field

本发明实施例涉及移动终端技术,尤其涉及一种进程管理的方法、装置及移动终端。Embodiments of the present invention relate to mobile terminal technologies, and in particular, to a method and device for process management and a mobile terminal.

背景技术Background technique

为了满足对智能手机、平板电脑等移动终端的娱乐、即时通信等方面的需求,用户通常在移动终端上安装各种功能的应用程序。In order to meet the entertainment and instant communication needs of mobile terminals such as smartphones and tablet computers, users usually install application programs with various functions on the mobile terminals.

在终端的操作系统中,可能有多个应用程序在同时运行。许多应用程序为了提升运行效率和流畅性,在其安装并运行时,将应用程序的用户数据、临时文件以及音频、视频等资源作为缓存文件存储在Android(安卓)设备的内存中,随着越来越多的应用被使用,缓存文件越来越多,就会导致内存空间不足。In the terminal's operating system, there may be multiple applications running at the same time. In order to improve operating efficiency and fluency, many applications store user data, temporary files, audio, video and other resources of the application as cache files in the memory of the Android (Android) device when they are installed and running. More and more applications are used, and more and more cache files will lead to insufficient memory space.

为了避免内存空间不足的情况发生,用户通常会对当前操作系统中运行的应用程序的进程进行手动清理。例如,采用移动终端中预置的内存清理功能或某些应用软件提供的一键清理功能,对当前操作系统中处于运行状态的进程进行清理。此种处理方式虽然实现了对占用内存空间的进程的销毁(kill)处理,但是,导致某些常用应用程序被自动清理,从而,无法实时接收到该应用程序的消息或通知,影响了用户的使用体验。In order to avoid the occurrence of insufficient memory space, the user usually manually cleans up the processes of the application programs running in the current operating system. For example, the memory cleaning function preset in the mobile terminal or the one-key cleaning function provided by some application software are used to clean up the running processes in the current operating system. Although this processing method realizes the process of destroying (kill) the process occupying the memory space, it causes some commonly used applications to be automatically cleaned up, thereby making it impossible to receive messages or notifications of the applications in real time, which affects the user's Use experience.

发明内容Contents of the invention

本发明实施例提供一种进程管理的方法、装置及移动终端,可以避免常用应用程序的进程被销毁。Embodiments of the present invention provide a process management method, device and mobile terminal, which can prevent the processes of commonly used application programs from being destroyed.

第一方面,本发明实施例提供了一种进程管理的方法,包括:In a first aspect, an embodiment of the present invention provides a method for process management, including:

按照设定周期获取应用程序的历史运行数据;Obtain the historical operation data of the application program according to the set cycle;

根据所述历史运行数据确定满足设定条件的目标应用程序,对所述目标应用程序进行标记;determining a target application that satisfies a set condition according to the historical operation data, and marking the target application;

根据标记后的所述目标应用程序更新设定常驻进程列表,以屏蔽对于设定常驻进程列表包括的进程的销毁操作。The set resident process list is updated according to the marked target application program, so as to shield the destruction operation on the processes included in the set resident process list.

第二方面,本发明实施例还提供了一种进程管理的装置,该装置包括:In the second aspect, the embodiment of the present invention also provides a device for process management, which includes:

数据获取模块,用于按照设定周期获取应用程序的历史运行数据;The data acquisition module is used to acquire the historical operation data of the application program according to the set period;

程序确定模块,用于根据所述历史运行数据确定满足设定条件的目标应用程序,对所述目标应用程序进行标记;A program determination module, configured to determine a target application that satisfies a set condition according to the historical operation data, and mark the target application;

列表更新模块,用于根据标记后的所述目标应用程序更新设定常驻进程列表,以屏蔽对于设定常驻进程列表包括的进程的销毁操作。The list update module is configured to update the set resident process list according to the marked target application program, so as to shield the destroy operation of the processes included in the set resident process list.

第三方面,本发明实施例还提供了一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In the third aspect, the embodiment of the present invention also provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the following steps when executing the computer program :

按照设定周期获取应用程序的历史运行数据;Obtain the historical operation data of the application program according to the set cycle;

根据所述历史运行数据确定满足设定条件的目标应用程序,对所述目标应用程序进行标记;determining a target application that satisfies a set condition according to the historical operation data, and marking the target application;

根据标记后的所述目标应用程序更新设定常驻进程列表,以屏蔽对于设定常驻进程列表包括的进程的销毁操作。The set resident process list is updated according to the marked target application program, so as to shield the destruction operation on the processes included in the set resident process list.

本发明实施例提供一种进程管理的方法,还提供执行该方法的进程管理装置和移动终端,解决目前用户手动清理正在运行的应用程序导致用户常用的应用程序的进程被杀掉,而无法实时接收消息或通知的问题,实现用户在最近一段时间最常使用的应用程序不被误杀掉,避免用户常使用的应用程序的消息无法实时接收的情况发生,达到了提高终端管理效率的效果。The embodiment of the present invention provides a method for process management, and also provides a process management device and a mobile terminal for executing the method, so as to solve the problem that currently the user manually cleans up the running application program, which causes the process of the user's commonly used application program to be killed and cannot be processed in real time. The problem of receiving messages or notifications prevents the most frequently used applications from being accidentally killed in the recent period, avoiding the situation that the messages of the frequently used applications cannot be received in real time, and achieves the effect of improving terminal management efficiency.

附图说明Description of drawings

图1是本发明实施例提供的一种进程管理的方法的流程图;FIG. 1 is a flowchart of a process management method provided by an embodiment of the present invention;

图2是本发明实施例提供的进程管理的方法中一种标记目标应用程序的方法流程图;FIG. 2 is a flow chart of a method for marking a target application in the method for process management provided by an embodiment of the present invention;

图3是本发明实施例提供的进程管理的方法中另一种标记目标应用程序的方法流程图;FIG. 3 is a flow chart of another method for marking a target application in the method for process management provided by an embodiment of the present invention;

图4是本发明实施例提供的另一种进程管理的方法的流程图;FIG. 4 is a flow chart of another process management method provided by an embodiment of the present invention;

图5是本发明实施例提供的一种进程管理的装置的结构示意图;Fig. 5 is a schematic structural diagram of a device for process management provided by an embodiment of the present invention;

图6是本发明实施例提供的一种移动终端的结构示意图。Fig. 6 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention.

具体实施方式detailed description

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processing, many of the steps may be performed in parallel, concurrently, or simultaneously. Additionally, the order of steps may be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

图1为本发明实施例提供的一种进程管理的方法的流程图,该方法可以由一种进程管理的装置来执行,其中,该装置可由软件和/或硬件实现,一般可集成在终端中,特别是移动终端中。如图1所示,该方法可以包括如下步骤:Fig. 1 is a flow chart of a process management method provided by an embodiment of the present invention, the method can be executed by a process management device, wherein the device can be implemented by software and/or hardware, and can generally be integrated in a terminal , especially in mobile terminals. As shown in Figure 1, the method may include the following steps:

步骤110、按照设定周期获取应用程序的历史运行数据。Step 110, acquiring historical running data of the application program according to a set period.

其中,设定周期可以是获取应用程序的相关数据以确定最常使用的应用程序的时间间隔。例如,设定周期可以由用户自行设定。又如,设定周期还可以在移动终端出厂之前,由终端制造商将其作为出厂设置参数预置于移动终端内。可以理解的是确定设定周期的方式有很多种,本实施例不作具体限定。Wherein, the setting period may be a time interval for obtaining relevant data of application programs to determine the most frequently used application programs. For example, the setting cycle can be set by the user. For another example, the setting period may also be preset in the mobile terminal by the terminal manufacturer as a factory setting parameter before the mobile terminal leaves the factory. It can be understood that there are many ways to determine the set period, which are not specifically limited in this embodiment.

其中,应用程序可以通过包名进行唯一标识。例如,对于安卓系统上安装的应用程序,可以通过APK(Android Package,安卓安装包)包名进行区分。应用程序的历史运行数据包括历史启动次数、前台运行次数和前台运行时长等代表应用程序的用户使用频率的数据。示例性的,按照设定周期获取应用程序的历史运行数据可以是获取终端上安装的应用程序的历史启动次数、前台运行次数和前台运行时长中的任意一个,还可以是获取历史启动次数、前台运行次数和前台运行时长中至少两个。Among them, the application program can be uniquely identified by the package name. For example, the application programs installed on the Android system can be distinguished by the APK (Android Package, Android installation package) package name. The historical running data of the application program includes data representing the frequency of use of the application program by the user, such as the historical startup times, the foreground running times, and the foreground running time. Exemplarily, acquiring the historical running data of the application program according to the set period may be acquiring any one of the historical startup times, the foreground running times and the foreground running time of the application installed on the terminal, and may also be acquiring the historical startup times, the foreground At least two of running times and foreground running time.

步骤120、根据历史运行数据确定满足设定条件的目标应用程序,对目标应用程序进行标记。Step 120: Determine the target application program meeting the set condition according to the historical operation data, and mark the target application program.

其中,设定条件包括设定周期内使用频率由高至低排序,选取排名在前的设定数量的应用程序。设定数量是由用户自行定义的需要标记的在手动清理操作中不被清理的应用程序的数量。Wherein, the setting condition includes sorting the frequency of use in the setting period from high to low, and selecting a set number of top-ranked application programs. The set number is the number of applications defined by the user that need to be marked not to be cleaned up in the manual cleanup operation.

示例性的,在所述历史运行数据包括所述历史启动次数时,根据所述历史启动次数对所述应用程序进行排序,按照所述历史启动次数由高至低的顺序选定设定数量的目标应用程序。优选的,在存在所述历史启动次数相同的应用程序时,根据所述历史启动次数相同的应用程序的包名的首字母确定所述历史启动次数相同的应用程序的排序。Exemplarily, when the historical running data includes the historical startup times, the application programs are sorted according to the historical startup times, and a set number of application programs are selected in descending order of the historical startup times. target application. Preferably, when there are applications with the same historical startup times, the ranking of the application programs with the same historical startup times is determined according to the first letter of the package name of the application programs with the same historical startup times.

可替换的,若所述历史运行数据还包括所述前台运行次数和/或所述前台运行时长,则在存在所述历史启动次数相同的应用程序时,根据所述应用程序的所述前台运行次数和/或所述前台运行时长,确定所述历史启动次数相同的应用程序的排序。Alternatively, if the historical running data also includes the number of times the foreground runs and/or the duration of the foreground running, when there is an application with the same number of historical startups, according to the foreground running time of the application, times and/or the foreground running time, determine the ranking of the application programs with the same number of historical startup times.

步骤130、根据标记后的目标应用程序更新设定常驻进程列表,以屏蔽对于设定常驻进程列表包括的进程的销毁操作。Step 130 , update the set resident process list according to the marked target application program, so as to block the destruction operation on the processes included in the set resident process list.

其中,设定常驻进程列表是常驻进程的集合,常驻进程指进程在内存中永远存在,不会被用户主动杀掉。设定常驻进程列表的确定方式有很多种,例如,可以是通过调研用户群体对不同应用程序的使用数据,根据用户使用频率较高的设定数量的应用程序确定设定常驻进程列表,该设定常驻进程列表中可以存储使用频率较高的应用程序的包名,并由终端厂商在终端出厂前进行设置。该设定常驻进程列表可以根据用户的使用习惯实时更新。又如,在用户开始使用移动终端前,也可以先进入常驻进程设置功能,由用户输入最常使用的应用程序。移动终端根据用户输入的应用程序确定对应的应用程序包名生成常驻进程列表。可以理解的是,每一进程所占用的系统资源包括内存容量、中央处理器(CentralProcessing Unit,简称CPU)使用率、磁盘输入/输出(I/O)信息等等。为了达到不明显降低移动终端处理效率的目的,应选择合适数量的应用程序生成常驻进程列表。Among them, the resident process list is set to be a collection of resident processes. The resident process means that the process exists forever in the memory and will not be actively killed by the user. There are many ways to determine the list of resident processes. For example, it may be by investigating the use data of different application programs by user groups, and determining the list of resident processes according to the set number of application programs that are frequently used by users. The set resident process list can store the package names of frequently used applications, and is set by the terminal manufacturer before the terminal leaves the factory. The set resident process list can be updated in real time according to the usage habits of the user. For another example, before the user starts to use the mobile terminal, the user may first enter the resident process setting function, and the user inputs the most frequently used application programs. The mobile terminal determines the corresponding application package name according to the application program input by the user to generate a resident process list. It can be understood that the system resources occupied by each process include memory capacity, central processing unit (Central Processing Unit, CPU for short) usage rate, disk input/output (I/O) information, and the like. In order to achieve the purpose of not significantly reducing the processing efficiency of the mobile terminal, an appropriate number of application programs should be selected to generate a resident process list.

设定常驻进程列表并不是固定不变的,其根据用户的使用情况定时更新。例如,按照设定周期对终端上安装的应用程序进行排序,从排序结果中确定使用频率最高的5个应用程序,并标记其包名。终端读取具有标记的包名,根据该包名更新设定常驻进程列表中的5个应用程序。The set resident process list is not fixed, it is regularly updated according to the usage of the user. For example, sort the applications installed on the terminal according to the set period, determine the 5 most frequently used applications from the sorting results, and mark their package names. The terminal reads the marked package name, and updates and sets the five application programs in the resident process list according to the package name.

终端在检测到用户输入的手动清理进程的操作指示时,读取当前系统处于运行状态的应用程序进程。根据该应用程序进程查询设定常驻进程列表,屏蔽对于设定常驻进程列表包括的应用程序进程的销毁操作。When the terminal detects an operation instruction input by the user to manually clean up the process, it reads the application process that is currently running in the system. The resident process list is set according to the application process query, and the destruction operation of the application process included in the set resident process list is shielded.

本实施例的技术方案,通过按照设定周期获取应用程序的历史运行数据;根据所述历史运行数据确定满足设定条件的目标应用程序,对所述目标应用程序进行标记;根据标记后的所述目标应用程序更新设定常驻进程列表,以屏蔽对于设定常驻进程列表包括的进程的销毁操作,实现自动标记用户常用的应用程序,使该常用应用程序的进程不会被销毁。本实施例的技术方案解决了用户常用的应用程序的进程因用户手动清理内存而被杀掉,导致发生无法实时接收通知或消息的问题,保证用户在最近一段时间最常使用的应用程序不被误杀掉,达到了提高终端管理效率的效果。In the technical solution of this embodiment, the historical operation data of the application program is obtained according to the set period; the target application program that meets the set condition is determined according to the historical operation data, and the target application program is marked; The target application program updates and sets the resident process list to shield the destruction operation of the processes included in the set resident process list, so as to automatically mark the frequently used application programs of the user so that the processes of the frequently used application programs will not be destroyed. The technical solution of this embodiment solves the problem that the process of the application program commonly used by the user is killed because the user manually clears the memory, resulting in the problem that the notification or message cannot be received in real time, and ensures that the application program that the user uses most recently will not be blocked. Killing it by mistake has achieved the effect of improving the efficiency of terminal management.

图2示出了本发明实施例提供的进程管理的方法中一种标记目标应用程序的方法流程图。如图2所示,该标记目标应用程序的方法包括:Fig. 2 shows a flowchart of a method for marking a target application in the process management method provided by the embodiment of the present invention. As shown in Figure 2, the method of marking the target application includes:

步骤210、根据历史启动次数对应用程序进行排序。Step 210, sorting the application programs according to the historical startup times.

在该历史运行数据是历史启动次数时,终端根据所述历史启动次数对所述应用程序进行排序。例如,可以按照该历史启动次数由高至低的顺序进行排序。可替换的,还可以根据需要按照该历史启动次数由低至高的顺序进行排序。When the historical running data is historical start times, the terminal sorts the application programs according to the historical start times. For example, sorting may be performed in descending order of the historical startup times. Alternatively, sorting may also be performed according to the order of the historical startup times from low to high as required.

步骤220、判断是否存在历史启动次数相同的应用程序,若是,则执行步骤230,若否,则执行步骤240。Step 220 , judging whether there is an application program with the same number of historical startups, if yes, execute step 230 , if not, execute step 240 .

步骤230、根据历史启动次数相同的应用程序的包名的首字母确定该历史启动次数相同的应用程序的排序。Step 230: Determine the ranking of the application programs with the same historical startup times according to the initial letters of the package names of the application programs with the same historical startup times.

步骤240、按照排序结果由高至低的顺序选定设定数量的目标应用程序。Step 240, select a set number of target application programs in descending order of the sorting results.

若不存在历史启动次数相同的应用程序,则可以根据上述排序结果直接确定排名在前的设定数量的应用程序作为目标应用程序。若存在历史启动次数相同的应用程序,但是该历史启动次数相同的应用程序不是排名在前的设定数量的应用程序,则可以根据上述排序结果直接确定排名在前的设定数量的应用程序作为目标应用程序。若存在历史启动次数相同的应用程序,且该历史启动次数相同的应用程序属于排名在前的设定数量的应用程序集合,则可以根据所述历史启动次数相同的应用程序的包名的首字母确定所述历史启动次数相同的应用程序的排序。例如,历史启动次数相同的包名的首字母是c的应用程序排在包名的首字母是f的应用程序之前。终端在将应用程序按照历史启动次数和包名的首字母进行降序排列后,将排名在前的设定数量的应用程序作为目标应用程序。If there is no application program with the same number of historical startups, the top application programs with a set number can be directly determined as the target application program according to the above sorting result. If there are applications with the same number of historical startups, but the application with the same number of historical startups is not the top-ranked application of the set number, the top-ranked set number of applications can be directly determined according to the above sorting results as target application. If there are applications with the same number of historical startups, and the application with the same number of historical startups belongs to a set of top-ranked application programs, then the first letter of the package name of the application with the same number of historical startups can be used. Determine the ranking of the applications with the same number of historical startup times. For example, an application whose package name starts with c is ranked before an application whose package name starts with f for the same number of historical startups. After the terminal arranges the application programs in descending order according to the historical start times and the first letter of the package name, the top set number of application programs are used as the target application programs.

步骤250、对所述目标应用程序进行标记。Step 250, mark the target application.

终端对目标应用程序进行自动标记,标记的方法可以是标记应用程序的包名,例如,在代表包名的字符串的设定位置添加“#”或“ζ”等字符。可以理解的是,对目标应用程序的标记方法并不限于本实施例列举的方式,其它标记应用程序的方式同样可以用于本实施例的技术方案。The terminal automatically marks the target application, and the method of marking may be to mark the package name of the application, for example, adding characters such as "#" or "ζ" at the set position of the character string representing the package name. It can be understood that the method for marking the target application is not limited to the methods listed in this embodiment, and other methods for marking application programs can also be used in the technical solution of this embodiment.

可以理解的是,标记目标应用程序的方法可以有很多种,上述示例中公开的技术方案并不用于对标记目标应用程序方法的限定。例如,图3示出了本发明实施例提供的进程管理的方法中另一种标记目标应用程序的方法流程图。如图3所示,该标记目标应用程序的方法包括:It can be understood that there may be many methods for marking the target application program, and the technical solutions disclosed in the above examples are not intended to limit the method for marking the target application program. For example, FIG. 3 shows a flowchart of another method for marking a target application in the process management method provided by the embodiment of the present invention. As shown in Figure 3, the method of marking the target application includes:

步骤310、根据历史启动次数对应用程序进行排序。Step 310, sorting the application programs according to the historical startup times.

在该历史运行数据包括终端上安装的应用程序的历史启动次数、前台运行次数和前台运行时长时,可以选择其中的历史启动次数作为排序依据。可以理解的是,还可以采用前台运行次数或前台运行时长作为排序依据。When the historical running data includes historical startup times, foreground running times and foreground running time of the applications installed on the terminal, the historical startup times can be selected as a sorting basis. It is understandable that the number of foreground operations or the duration of foreground operations may also be used as a sorting basis.

步骤320、判断是否存在历史启动次数相同的应用程序,若是,则执行步骤330,若否,则执行步骤360。Step 320 , judging whether there is an application program with the same number of historical startups, if yes, execute step 330 , if not, execute step 360 .

步骤330、根据该历史启动次数相同的应用程序的前台运行次数确定该历史启动次数相同的应用程序的排序。Step 330 : Determine the ranking of the application programs with the same historical startup times according to the foreground running times of the application programs with the same historical startup times.

步骤340、判断该历史启动次数相同的应用程序的前台运行次数是否也相同,若是,则执行步骤350,若否,则执行步骤360。Step 340 , judging whether the application programs with the same historical startup times have the same number of foreground running times, if yes, go to step 350 , if not, go to step 360 .

步骤350、根据前台运行时长确定该历史启动次数与前台运行次数均相同的应用程序的排序。Step 350 , according to the foreground running time, determine the ranking of the application programs whose historical start times and foreground running times are the same.

步骤360、按照排序结果由高至低的顺序选定设定数量的目标应用程序。Step 360, select a set number of target application programs in descending order of the sorting results.

若不存在历史启动次数相同的应用程序,则可以根据上述排序结果直接确定排名在前的设定数量的应用程序作为目标应用程序。若存在历史启动次数相同的应用程序,但是该历史启动次数相同的应用程序不是排名在前的设定数量的应用程序,则可以根据上述排序结果直接确定排名在前的设定数量的应用程序作为目标应用程序。若存在历史启动次数相同的应用程序,且该历史启动次数相同的应用程序属于排名在前的设定数量的应用程序集合,则可以根据该历史启动次数相同的应用程序的前台运行次数确定该历史启动次数相同的应用程序的排序。若该历史启动次数相同的应用程序的前台运行次数不相同,则可以按照排序结果由高至低的顺序选定排名在前的设定数量的应用程序作为目标应用程序。若该历史启动次数相同的应用程序的前台运行次数也相同,则可以根据前台运行时长确定该历史启动次数与前台运行次数均相同的应用程序的排序。可以按照排序结果由高至低的顺序选定排名在前的设定数量的应用程序作为目标应用程序。If there is no application program with the same number of historical startups, the top application programs with a set number can be directly determined as the target application program according to the above sorting result. If there are applications with the same number of historical startups, but the application with the same number of historical startups is not the top-ranked application of the set number, the top-ranked set number of applications can be directly determined according to the above sorting results as target application. If there are applications with the same number of historical startups, and the application with the same number of historical startups belongs to the set number of top-ranked applications, the historical Sort the applications with the same number of launches. If the application programs with the same historical start times have different foreground running times, a set number of top-ranked application programs may be selected as the target application programs in descending order of the sorting results. If the application programs with the same historical startup times have the same foreground running times, the order of the applications with the same historical startup times and foreground running times may be determined according to the foreground running time. A set number of top-ranked applications may be selected as target applications in descending order of the sorting results.

可以理解的是,本实施例并不限定通过历史启动次数、前台运行次数或前台运行时长对应用程序进行排序操作的执行顺序。例如,可以首先执行根据应用程序的前台运行时长对终端上安装的应用程序进行排序。然后,对于前台运行时长相同且排名在前的应用程序,根据历史启动次数进行排序。然后,对于前台运行时长与历史启动次数均相同的应用程序,还可以根据前台运行次数进行排序。又如,还可以首先执行根据应用程序的前台运行次数对终端上安装的应用程序进行排序。然后,对于前台运行次数相同且排名在前的应用程序,根据前台运行时长进行排序。然后,对于前台运行次数与前台运行时长均相同的应用程序,还可以根据历史启动次数进行排序。又如,可以通过终端上安装的应用程序的前台运行次数(或前台运行时长)结合应用程序的包名的方式,对应用程序进行排序等。It can be understood that, this embodiment does not limit the execution order of sorting the application programs according to the historical startup times, the foreground running times, or the foreground running time. For example, sorting the application programs installed on the terminal according to the foreground running time of the application programs may be performed first. Then, for the top applications with the same foreground running time, they are sorted according to the number of historical startups. Then, for applications whose foreground running time and historical startup times are the same, they can also be sorted according to the foreground running times. For another example, sorting the application programs installed on the terminal according to the number of running times of the application programs in the foreground may also be performed first. Then, for the top applications with the same foreground running times, they are sorted according to the foreground running time. Then, for applications whose foreground running times and foreground running duration are the same, they can also be sorted according to the historical startup times. For another example, the application programs can be sorted by combining the foreground running times (or the foreground running duration) of the application programs installed on the terminal in combination with the package names of the application programs.

步骤370、对所述目标应用程序进行标记。Step 370, mark the target application.

终端对目标应用程序进行自动标记,标记的方法可以是标记应用程序的包名,例如,在代表包名的字符串的设定位置添加“@”或“&”等字符。The terminal automatically marks the target application program by marking the package name of the application program, for example, adding characters such as "@" or "&" at the set position of the character string representing the package name.

图4是本发明实施例提供的另一种进程管理的方法的流程图。如图4所示,该方法可以包括如下步骤:Fig. 4 is a flow chart of another process management method provided by an embodiment of the present invention. As shown in Figure 4, the method may include the following steps:

步骤410、在更新时间间隔达到设定周期时,记录用户启动应用程序的历史启动次数,根据历史启动次数对应用程序排序,实时进行统计。Step 410 , when the update time interval reaches the set period, record the historical start times of the application programs started by the user, sort the application programs according to the historical start times, and make statistics in real time.

其中,更新时间间隔为距离上一次更新常驻进程链表操作的时间间隔。例如,系统记录上一次更新常驻进程链表的时间是1天前,若用户设定常驻进程链表的更新周期是3天,则认为更新时间间隔未达到设定周期。若系统记录上一次更新常驻进程链表的时间是3天前,且用户设定常驻进程链表的更新周期是3天,则认为更新时间间隔达到设定周期。Wherein, the update time interval is the time interval from the last update operation of the resident process linked list. For example, the system records that the last time the resident process list was updated was 1 day ago, and if the user sets the update period of the resident process list as 3 days, it is considered that the update time interval has not reached the set period. If the system records that the last time the resident process list was updated was 3 days ago, and the update cycle of the resident process list is set by the user to be 3 days, then the update time interval is considered to have reached the set cycle.

在更新时间间隔达到设定周期时,操作系统获取终端上安装的应用程序的历史使用记录,其中,该历史使用记录包括历史启动次数、前台运行次数和前台运行时长等。例如,对于搭载安卓系统的移动终端,安卓系统提供android.app.usage API接口,通过该接口可以访问该移动终端上的应用程序使用情况的历史记录。据此,安卓系统以每个应用程序为单元收集其使用情况数据,并对该使用情况数据进行汇总。When the update time interval reaches the set period, the operating system obtains the historical use records of the application programs installed on the terminal, wherein the historical use records include historical startup times, foreground running times, foreground running time, and the like. For example, for a mobile terminal equipped with an Android system, the Android system provides an android.app.usage API interface, through which the historical records of application usage on the mobile terminal can be accessed. Accordingly, the Android system collects usage data of each application program as a unit, and aggregates the usage data.

终端根据该应用程序的历史使用记录对应用程序进行排序。优选的,终端按照设定周期实时对该应用程序的历史使用记录进行统计,根据统计结果更新该应用程序的排列顺序。The terminal sorts the application programs according to the historical use records of the application programs. Preferably, the terminal counts the historical use records of the application program in real time according to a set period, and updates the arrangement order of the application program according to the statistics result.

示例性的,在该历史运行数据是历史启动次数时,获取终端上安装的应用程序的历史启动次数。例如,终端上安装了微信、QQ、美团外卖、爱奇艺客户端、音乐播放器、计算机、阅读器和车来了等应用程序。用户自行设置设定周期为3天。终端的操作系统是安卓系统。那么,系统每隔3天获取微信、QQ、美团外卖、爱奇艺客户端、音乐播放器、计算机、阅读器和车来了等终端上安装的应用程序的历史启动次数,根据该历史启动次数对终端上安装的应用程序进行降序排列。若存在历史启动次数相同的应用程序,则根据该历史启动次数相同的应用程序的包名对其进行排序。Exemplarily, when the historical running data is the historical startup times, the historical startup times of the application programs installed on the terminal are acquired. For example, applications such as WeChat, QQ, Meituan Waimai, iQiyi client, music player, computer, reader, and Chelailai are installed on the terminal. The user can set the set cycle to 3 days. The operating system of the terminal is Android system. Then, every 3 days, the system obtains the historical startup times of the applications installed on terminals such as WeChat, QQ, Meituan Waimai, iQiyi client, music player, computer, reader, and car, and starts according to the history. The number of times sorts the applications installed on the endpoint in descending order. If there are applications with the same number of historical startups, sort them according to the package names of the applications with the same number of historical startups.

可以理解的是,本示例列举的终端上安装的应用程序、终端的操作系统和设定周期并不用于具体限定,不同终端上安装的应用程序会有所不同,并且终端的操作系统还可以是iOS系统(Cisco的网际操作系统)等。It can be understood that the applications installed on the terminal, the operating system of the terminal and the setting cycle listed in this example are not intended to be specifically limited, and the applications installed on different terminals will be different, and the operating system of the terminal can also be iOS system (Cisco's Internet operating system), etc.

步骤420、在排序结果中由高到低选取用户自定义数目的应用程序进行标记。Step 420: Select a user-defined number of applications from the sorting results from high to low to mark.

用户可以在使用常驻进程设置功能时,修改自定义的可标记的应用程序的个数。例如,用户自定义可标记的应用程序的个数为5。在确定终端上安装的应用程序的排序后,终端自动根据用户自定义的可标记应用程序的个数,按照降序排列的顺序,从应用程序的排序结果中选定排序在前的5个应用程序进行标记。Users can modify the number of custom marked application programs when using the resident process setting function. For example, the number of user-defined applications that can be marked is 5. After determining the sorting of the applications installed on the terminal, the terminal automatically selects the top 5 applications from the sorting results of the applications in descending order according to the number of user-defined markable applications to mark.

步骤430、读取具有标记的应用程序的包名,据其更新一张常驻进程链表。Step 430, read the package name of the marked application program, and update a resident process list according to it.

示例性的,终端采用全替换的方式更新常驻进程链表,即将具有标记的设定数量的应用程序的包名存入链表的数据域,链表的指针域指向系统常驻进程。可以理解的是,终端还可以采用诸如线性表等其它存储结构记录具有标记的应用程序的包名。Exemplarily, the terminal updates the resident process linked list in a full replacement manner, that is, stores package names of a set number of application programs with flags in the data field of the linked list, and the pointer field of the linked list points to the system resident process. It can be understood that the terminal may also use other storage structures such as a linear table to record the package names of the marked applications.

可替换的,终端还可以采用部分替换的方式更新常驻进程链表,即根据标记后的所述目标应用程序的包名查询常驻进程链表,根据具有标记的应用程序的包名替换不再属于该常驻进程链表的应用程序的包名。Alternatively, the terminal may also update the resident process linked list in a partial replacement manner, that is, query the resident process linked list according to the marked package name of the target application program, and replace the marked application program with the package name that no longer belongs to the resident process linked list. The package name of the application of the resident process list.

步骤440、判断是否接收到用户输入的进程清理指示,若是,则执行步骤450,若否,则执行步骤460。Step 440 , judging whether a process cleaning instruction input by the user is received, if yes, execute step 450 , if not, execute step 460 .

步骤450、判断系统当前应用程序进程是否属于该链表,若是,则执行步骤470,若否,则执行步骤480。Step 450 , judging whether the current application process of the system belongs to the linked list, if yes, execute step 470 , if not, execute step 480 .

终端在检测到用户输入的进程清理指示时,读取当前系统处于执行状态的应用程序进程。根据该应用程序进程查询设定常驻进程列表。对于属于设定常驻进程列表的应用程序,执行步骤470。对于不属于设定常驻进程列表的应用程序,执行步骤480。When the terminal detects the process cleaning instruction input by the user, it reads the application process currently being executed by the system. A resident process list is set according to the application process query. For the application programs belonging to the set resident process list, step 470 is executed. For an application that does not belong to the set resident process list, step 480 is performed.

步骤460、维持系统当前应用进程处于执行状态。Step 460, maintaining the current application process of the system in the execution state.

终端在未检测到用户输入的进程清理指示时,使当前处于执行状态的应用程序进程维持执行状态。When the terminal does not detect the process cleaning instruction input by the user, it keeps the application program process currently in the execution state in the execution state.

步骤470、属于该链表的应用程序进程不进行销毁动作。Step 470, the application process belonging to the linked list does not perform the destruction action.

步骤480、不属于该链表的应用程序进程进行销毁动作Step 480, the application process that does not belong to the linked list performs a destruction action

本实施例的技术方案实现根据用户使用习惯自动为常用应用进程进行标记,定时更新常驻进程链表,保证用户在最近一段时间最常使用的应用程序不被误杀掉,达到了提升终端处理准确度、提高终端管理效率的效果。The technical solution of this embodiment realizes automatically marking frequently-used application processes according to the user's usage habits, regularly updates the resident process linked list, and ensures that the most frequently used application programs of the user in the recent period are not killed by mistake, thereby improving the accuracy of terminal processing Degree, improve the effect of terminal management efficiency.

图5是本发明实施例提供的一种进程管理的装置的结构示意图。如图5所示,该装置可以包括:数据获取模块510、程序确定模块520和列表更新模块530。Fig. 5 is a schematic structural diagram of an apparatus for process management provided by an embodiment of the present invention. As shown in FIG. 5 , the device may include: a data acquisition module 510 , a program determination module 520 and a list update module 530 .

数据获取模块510,用于按照设定周期获取应用程序的历史运行数据;程序确定模块520,用于根据所述历史运行数据确定满足设定条件的目标应用程序,对所述目标应用程序进行标记;列表更新模块530,用于根据标记后的所述目标应用程序更新设定常驻进程列表,以屏蔽对于设定常驻进程列表包括的进程的销毁操作。The data acquisition module 510 is used to acquire the historical operation data of the application program according to the set period; the program determination module 520 is used to determine the target application program that meets the set conditions according to the historical operation data, and mark the target application program The list update module 530 is configured to update the set resident process list according to the marked target application program, so as to shield the destroy operation of the processes included in the set resident process list.

本实施例的技术方案提供一种进程管理的装置实现自动标记用户常用的应用程序,使该常用应用程序的进程不会被销毁。本实施例的技术方案解决了用户常用的应用程序的进程因用户手动清理内存而被杀掉,导致发生无法实时接收通知或消息的问题,保证用户在最近一段时间最常使用的应用程序不被误杀掉,达到了提高终端管理效率的效果。The technical solution of this embodiment provides a device for process management to automatically mark frequently-used application programs of the user, so that the processes of the frequently-used application programs will not be destroyed. The technical solution of this embodiment solves the problem that the process of the application program commonly used by the user is killed because the user manually clears the memory, resulting in the problem that the notification or message cannot be received in real time, and ensures that the application program that the user uses most recently will not be blocked. Killing it by mistake has achieved the effect of improving the efficiency of terminal management.

可选的,所述数据获取模块510具体用于执行下述至少一种操作:Optionally, the data acquisition module 510 is specifically configured to perform at least one of the following operations:

按照设定周期获取终端上安装的应用程序的历史启动次数;Obtain the historical startup times of the applications installed on the terminal according to the set period;

按照设定周期获取终端上安装的应用程序的前台运行次数;Obtain the number of foreground running times of the application program installed on the terminal according to the set period;

按照设定周期获取终端上安装的应用程序的前台运行时长。Obtain the foreground running time of the application program installed on the terminal according to the set period.

可选的,所述程序确定模块520包括:Optionally, the program determination module 520 includes:

排序子模块,用于在所述历史运行数据包括所述历史启动次数时,根据所述历史启动次数对所述应用程序进行排序;A sorting submodule, configured to sort the application programs according to the historical startup times when the historical running data includes the historical startup times;

程序选定子模块,用于按照所述历史启动次数由高至低的顺序选定设定数量的目标应用程序。The program selection sub-module is used to select a set number of target application programs in descending order of the historical startup times.

可选的,所述排序子模块还用于:Optionally, the sorting submodule is also used for:

若所述历史运行数据还包括所述前台运行次数和/或所述前台运行时长,则在存在所述历史启动次数相同的应用程序时,根据所述历史启动次数相同的应用程序的包名的首字母确定所述历史启动次数相同的应用程序的排序。If the historical running data also includes the foreground running times and/or the foreground running duration, when there are applications with the same historical startup times, according to the package name of the historical startup times of the application programs The initial letter determines the ordering of applications with the same number of historical launches.

可选的,所述排序子模块还用于:Optionally, the sorting submodule is also used for:

在存在所述历史启动次数相同的应用程序时,根据所述应用程序的所述前台运行次数和/或所述前台运行时长,确定所述历史启动次数相同的应用程序的排序。When there are application programs with the same number of historical startup times, the ranking of the application programs with the same historical startup times is determined according to the foreground running times and/or the foreground running duration of the application programs.

可选的,还包括:所述列表更新模块530,具体用于根据标记后的所述目标应用程序的包名替换设定常驻进程列表中存储的包名。Optionally, it also includes: the list updating module 530, specifically configured to replace and set the package name stored in the resident process list according to the marked package name of the target application program.

本实施例提供的进程管理的装置可执行本发明任意实施例所提供的进程管理的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明任意实施例提供的进程管理的方法。The process management device provided in this embodiment can execute the process management method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in this embodiment, refer to the process management method provided in any embodiment of the present invention.

本发明实施例提供了一种移动终端,该移动终端中可集成本发明实施例提供的进程管理的装置。图6是本发明实施例提供的一种移动终端的结构示意图。如图6所示,该移动终端可以包括:壳体(图中未示出)、存储器601、中央处理器(Central Processing Unit,CPU)602(又称处理器,以下简称CPU)、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在触摸屏612与所述壳体围成的空间内部;所述CPU602和所述存储器601设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器601,用于存储计算机程序;所述CPU602读取并执行所述存储器601中存储的计算机程序。所述CPU602在执行所述计算机程序时实现以下步骤:An embodiment of the present invention provides a mobile terminal, in which the device for process management provided by the embodiment of the present invention can be integrated. Fig. 6 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. As shown in FIG. 6, the mobile terminal may include: a housing (not shown in the figure), a memory 601, a central processing unit (Central Processing Unit, CPU) 602 (also called a processor, hereinafter referred to as CPU), a circuit board ( not shown in the figure) and power supply circuit (not shown in the figure). The circuit board is placed inside the space enclosed by the touch screen 612 and the housing; the CPU 602 and the memory 601 are arranged on the circuit board; the power supply circuit is used to power each circuit of the mobile terminal or device power supply; the memory 601 is used to store computer programs; the CPU 602 reads and executes the computer programs stored in the memory 601 . The CPU602 implements the following steps when executing the computer program:

按照设定周期获取应用程序的历史运行数据;Obtain the historical operation data of the application program according to the set cycle;

根据所述历史运行数据确定满足设定条件的目标应用程序,对所述目标应用程序进行标记;determining a target application that satisfies a set condition according to the historical operation data, and marking the target application;

根据标记后的所述目标应用程序更新设定常驻进程列表,以屏蔽对于设定常驻进程列表包括的进程的销毁操作。The set resident process list is updated according to the marked target application program, so as to shield the destruction operation on the processes included in the set resident process list.

所述移动终端还包括:外设接口603、RF(Radio Frequency,射频)电路605、音频电路606、扬声器611、电源管理芯片608、输入/输出(I/O)子系统609、其他输入/控制设备610以及外部端口604,这些部件通过一个或多个通信总线或信号线607来通信。The mobile terminal also includes: peripheral interface 603, RF (Radio Frequency, radio frequency) circuit 605, audio circuit 606, speaker 611, power management chip 608, input/output (I/O) subsystem 609, other input/control Device 610 and external port 604 , these components communicate via one or more communication buses or signal lines 607 .

应该理解的是,图示移动终端600仅仅是移动终端的一个范例,并且移动终端600可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 600 is only an example of a mobile terminal, and the mobile terminal 600 may have more or fewer components than those shown in the figure, and two or more components may be combined, Or can have a different component configuration. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.

下面就本实施例提供的集成有进程管理的装置的移动终端进行详细的描述,该移动终端以手机为例。The mobile terminal integrated with the device for process management provided in this embodiment will be described in detail below, and the mobile terminal is a mobile phone as an example.

存储器601,所述存储器601可以被CPU602、外设接口603等访问,所述存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 601, the memory 601 can be accessed by the CPU 602, the peripheral interface 603, etc., the memory 601 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.

外设接口603,所述外设接口603可以将设备的输入和输出外设连接到CPU602和存储器601。Peripheral interface 603 , which can connect the input and output peripherals of the device to CPU 602 and memory 601 .

I/O子系统609,所述I/O子系统609可以将设备上的输入输出外设,例如触摸屏612和其他输入/控制设备610,连接到外设接口603。I/O子系统609可以包括显示控制器6091和用于控制其他输入/控制设备610的一个或多个输入控制器6092。其中,一个或多个输入控制器6092从其他输入/控制设备610接收电信号或者向其他输入/控制设备610发送电信号,其他输入/控制设备610可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器6092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。The I/O subsystem 609 , the I/O subsystem 609 can connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610 , to the peripheral interface 603 . I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610 . Among them, one or more input controllers 6092 receive electrical signals from or send electrical signals to other input/control devices 610, which may include physical buttons (push buttons, rocker buttons, etc.) ), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 6092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.

触摸屏612,所述触摸屏612是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。A touch screen 612, the touch screen 612 is an input interface and an output interface between the user terminal and the user, and displays visual output to the user. The visual output may include graphics, text, icons, videos, and the like.

I/O子系统609中的显示控制器6091从触摸屏612接收电信号或者向触摸屏612发送电信号。触摸屏612检测触摸屏上的接触,显示控制器6091将检测到的接触转换为与显示在触摸屏612上的用户界面对象的交互,即实现人机交互,显示在触摸屏612上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or sends electrical signals to the touch screen 612 . The touch screen 612 detects the contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 612, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 612 can be a running Icons for games, icons for networking to appropriate networks, etc. It is worth noting that the device may also include an optical mouse, which is a touch-sensitive surface that does not display visual output, or that is an extension of a touch-sensitive surface formed by a touchscreen.

RF电路605,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路605接收并发送RF信号,RF信号也称为电磁信号,RF电路605将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路605可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 605 is mainly used to establish communication between the mobile phone and the wireless network (that is, the network side), and realize data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. Specifically, the RF circuit 605 receives and sends RF signals, which are also called electromagnetic signals, and the RF circuit 605 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 605 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, Codec) Chipset, Subscriber Identity Module (Subscriber Identity Module, SIM) and so on.

音频电路606,主要用于从外设接口603接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器611。The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603 , convert the audio data into electrical signals, and send the electrical signals to the speaker 611 .

扬声器611,用于将手机通过RF电路605从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 611 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 605 into sound and play the sound to the user.

电源管理芯片608,用于为CPU602、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 608 is used for power supply and power management for the hardware connected to the CPU 602 , the I/O subsystem and the peripheral interface.

本实施例中提供的移动终端实现自动标记用户常用的应用程序,使该常用应用程序的进程不会被销毁。从而,解决了用户常用的应用程序的进程因用户手动清理内存而被杀掉,导致发生无法实时接收通知或消息的问题。进而,保证用户在最近一段时间最常使用的应用程序不被误杀掉,达到了提高终端管理效率的效果。The mobile terminal provided in this embodiment realizes automatic marking of frequently-used application programs of the user, so that the process of the frequently-used application programs will not be destroyed. Therefore, the process of the application program frequently used by the user is killed because the user manually clears the memory, resulting in the problem that the notification or message cannot be received in real time. Furthermore, it is ensured that the most frequently used application program of the user in the recent period is not accidentally killed, and the effect of improving terminal management efficiency is achieved.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (13)

CN201710007200.3A2017-01-052017-01-05Process management method and device and mobile terminalPendingCN106648704A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710007200.3ACN106648704A (en)2017-01-052017-01-05Process management method and device and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710007200.3ACN106648704A (en)2017-01-052017-01-05Process management method and device and mobile terminal

Publications (1)

Publication NumberPublication Date
CN106648704Atrue CN106648704A (en)2017-05-10

Family

ID=58843203

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710007200.3APendingCN106648704A (en)2017-01-052017-01-05Process management method and device and mobile terminal

Country Status (1)

CountryLink
CN (1)CN106648704A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108304258A (en)*2018-02-282018-07-20维沃移动通信有限公司A kind of process management method and mobile terminal
CN109086094A (en)*2018-06-062018-12-25中国建设银行股份有限公司Method, system, device and the storage medium of application service self-starting
CN109144232A (en)*2018-08-012019-01-04Oppo广东移动通信有限公司Process handling method and device, electronic equipment, computer readable storage medium
CN110806925A (en)*2018-08-062020-02-18成都鼎桥通信技术有限公司Audio playing method and equipment
CN110928596A (en)*2018-09-042020-03-27北京奇虎科技有限公司 A method and device for killing a resident process
CN115292050A (en)*2022-09-142022-11-04平安付科技服务有限公司 Process management method, device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102063261A (en)*2011-01-192011-05-18宇龙计算机通信科技(深圳)有限公司Starting method of application program and mobile terminal
CN103164229A (en)*2013-04-082013-06-19北京奇虎科技有限公司Method and device for clearing progresses of mobile terminal
CN103345397A (en)*2013-07-112013-10-09北京奇虎科技有限公司Method and device for cleaning processes of mobile terminal
CN104317649A (en)*2014-09-302015-01-28北京金山安全软件有限公司Processing method and device of terminal application program APP and terminal
CN104573420A (en)*2014-12-262015-04-29北京奇虎科技有限公司Method and device for preventing processes from being mistakenly killed
CN105825127A (en)*2016-03-112016-08-03北京金山安全软件有限公司Window destruction intercepting method and device
CN105912395A (en)*2016-06-292016-08-31中科创达软件股份有限公司Process management method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102063261A (en)*2011-01-192011-05-18宇龙计算机通信科技(深圳)有限公司Starting method of application program and mobile terminal
CN103164229A (en)*2013-04-082013-06-19北京奇虎科技有限公司Method and device for clearing progresses of mobile terminal
CN103345397A (en)*2013-07-112013-10-09北京奇虎科技有限公司Method and device for cleaning processes of mobile terminal
CN104317649A (en)*2014-09-302015-01-28北京金山安全软件有限公司Processing method and device of terminal application program APP and terminal
CN104573420A (en)*2014-12-262015-04-29北京奇虎科技有限公司Method and device for preventing processes from being mistakenly killed
CN105825127A (en)*2016-03-112016-08-03北京金山安全软件有限公司Window destruction intercepting method and device
CN105912395A (en)*2016-06-292016-08-31中科创达软件股份有限公司Process management method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108304258A (en)*2018-02-282018-07-20维沃移动通信有限公司A kind of process management method and mobile terminal
CN109086094A (en)*2018-06-062018-12-25中国建设银行股份有限公司Method, system, device and the storage medium of application service self-starting
CN109086094B (en)*2018-06-062021-07-06中国建设银行股份有限公司Method, system, device and storage medium for self-starting of application service
CN109144232A (en)*2018-08-012019-01-04Oppo广东移动通信有限公司Process handling method and device, electronic equipment, computer readable storage medium
CN109144232B (en)*2018-08-012020-12-01Oppo广东移动通信有限公司 Process processing method and apparatus, electronic device, and computer-readable storage medium
CN110806925A (en)*2018-08-062020-02-18成都鼎桥通信技术有限公司Audio playing method and equipment
CN110928596A (en)*2018-09-042020-03-27北京奇虎科技有限公司 A method and device for killing a resident process
CN110928596B (en)*2018-09-042024-02-06三六零科技集团有限公司 A method and device for killing resident processes
CN115292050A (en)*2022-09-142022-11-04平安付科技服务有限公司 Process management method, device, computer equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN106648704A (en)Process management method and device and mobile terminal
CN104618222B (en)A kind of method and device for matching facial expression image
US10691328B2 (en)Method and apparatus for switching the display state between messaging records and contacts information
US9386463B1 (en)Application risk analysis
US10097292B2 (en)Method, device, terminal and storage medium for adjusting broadcast message queue
CN107844992A (en) Comment information processing method, device, terminal device and storage medium
CN105490919A (en)Message withdrawal method and device
CN107678823A (en) Mobile terminal application control method, device and storage medium, and mobile terminal
CN106528282A (en)Method, device and terminal for closing process
CN106851779A (en)A kind of method and mobile terminal for recognizing access point and focus
CN106708553B (en)Mark generating method, apparatus and system
CN107862203A (en)Control method, device, storage medium and the terminal of application program
CN107026933A (en) A message management method, device and intelligent terminal for multiple applications
CN106294027A (en) A data backup method, device, operator server and mobile terminal
CN104967637A (en)Operation processing methods, operation processing devices and operation processing terminals
CN104572771B (en)Processing state display method and device
WO2018161956A1 (en)Broadcast recipient adjustment method, device, and terminal
WO2024109786A1 (en)Instant messaging session information processing method and apparatus, and electronic device
CN103607431A (en)Mobile terminal resource processing method, apparatus and equipment thereof
CN106445671A (en)Application program management method and device and terminal
CN104169854A (en)An icon arranging method and a terminal
CN110955614B (en)Method and device for recovering file cache, storage medium and terminal
CN104966205A (en)Object draw-off method and apparatus
CN106953852A (en)Registration method and device of broadcast receiver and terminal equipment
CN106648738A (en)Copy application management method and device, and terminal

Legal Events

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

Application publication date:20170510

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp