Movatterモバイル変換


[0]ホーム

URL:


CN104503841A - Process clearing method and process clearing device - Google Patents

Process clearing method and process clearing device
Download PDF

Info

Publication number
CN104503841A
CN104503841ACN201410778475.3ACN201410778475ACN104503841ACN 104503841 ACN104503841 ACN 104503841ACN 201410778475 ACN201410778475 ACN 201410778475ACN 104503841 ACN104503841 ACN 104503841A
Authority
CN
China
Prior art keywords
application program
user
associated process
currently used
processes
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
CN201410778475.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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co LtdfiledCriticalBeijing Qihoo Technology Co Ltd
Priority to CN201410778475.3ApriorityCriticalpatent/CN104503841A/en
Publication of CN104503841ApublicationCriticalpatent/CN104503841A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

Translated fromChinese

本发明公开了一种进程清理方法及装置,其中,方法包括:监控设备中应用程序的使用状态,在监控到所述应用程序关闭时,在预设的关联进程表中查找与所述关闭的应用程序的进程相关联的关联进程;判断所述关联进程对应的应用程序是否是用户当前使用的应用程序,如果不是,则对所述关联进程对应的应用程序进行优化处理。上述方法可提高计算设备的运行速度,同时提升用户体验。

The present invention discloses a process cleaning method and device, wherein, the method includes: monitoring the use state of the application program in the device, and when the monitoring detects that the application program is closed, searching for the closed process in the preset associated process table An associated process associated with the process of the application program; judging whether the application program corresponding to the associated process is the application program currently used by the user, and if not, optimizing the application program corresponding to the associated process. The above method can increase the running speed of the computing device and improve the user experience at the same time.

Description

Translated fromChinese
进程清理方法及装置Process cleaning method and device

技术领域technical field

本发明涉及互联网技术,具体涉及一种进程清理方法及装置。The invention relates to Internet technology, in particular to a process cleaning method and device.

背景技术Background technique

当前,海量的应用程序(特别是大量的免费应用程序)给用户带来了更多的选择,用户一般都会选择在电子设备/计算设备上安装多个应用程序,以满足自己在不同方面的需求(例如,网页浏览、音频和视频播放、阅读、网络电话、导航定位、游戏等)。目前大多数电子设备的操作系统中,在用户选择退出应用程序后,该应用程序并不会完全关闭,而是在操作系统的后台继续运行,或者在系统启动是或者其它情况下自动启动并在后台运行,以便用户选择运行该应用程序时能够快速将其打开,或者在后台运行时继续接收网络数据,实时接收电子邮件、新闻、天气信息、社交软件和聊天软件消息等内容。At present, a large number of applications (especially a large number of free applications) have brought more choices to users, and users generally choose to install multiple applications on electronic devices/computing devices to meet their needs in different aspects (For example, web browsing, audio and video playback, reading, Internet telephony, navigation and positioning, games, etc.). In the current operating systems of most electronic devices, after the user chooses to exit the application program, the application program will not be completely closed, but will continue to run in the background of the operating system, or will be automatically started when the system is started or in other situations Running in the background so that users can quickly open the application when they choose to run it, or continue to receive network data while running in the background, and receive emails, news, weather information, social software and chat software messages in real time, etc.

由此,后台运行的程序使得操作系统的运行速度变慢,使系统操作变得不流畅,且大量的应用程序在运行时会产生大量的垃圾文件,占用系统资源,导致用户体验极差。需要定期对设备进行清理,以加快设备的运行速度。As a result, the programs running in the background slow down the running speed of the operating system, making the system operation unsmooth, and a large number of application programs will generate a large number of junk files when running, occupying system resources, resulting in extremely poor user experience. The equipment needs to be cleaned regularly to speed up the operation of the equipment.

为了提高手机的运行速度,需要将后台不需要继续运行的进程进行清理。目前,市场上出现了很多的计算设备支持清理进程的功能,它们调用Android提供的操作系统API遍历出当前所有驻留在后台的进程,将它们展示给用户,并且提示用户是否可以清理,当用户选择要清理的进程后,点击“一键清理”,软件再根据用户的选择逐条调用操作系统API结束进程,释放出内存来。In order to improve the running speed of the mobile phone, it is necessary to clean up the processes that do not need to continue running in the background. At present, there are many computing devices on the market that support the function of cleaning processes. They call the operating system API provided by Android to traverse all the processes currently residing in the background, display them to the user, and prompt the user whether they can be cleaned. When the user After selecting the process to be cleaned, click "One-click Clean", and the software calls the operating system API one by one according to the user's choice to end the process and release the memory.

然而,上述清理方式无法对该些待清理进程关联的进程清理,导致设备中残留较多的关联进程,影响设备运行速度。However, the above cleaning method cannot clean up the processes associated with the processes to be cleaned, resulting in many associated processes remaining in the device, which affects the running speed of the device.

为此,如何将用户选择关闭的程序的关联程序完全清除成为当前需要解决的技术问题。For this reason, how to completely clear the associated program of the program that the user chooses to close has become a technical problem that needs to be solved at present.

发明内容Contents of the invention

针对现有技术中的缺陷,本发明提供了一种进程清理方法及装置,该方法能够提高设备的运行速度,提升用户体验。Aiming at the defects in the prior art, the present invention provides a process cleaning method and device, which can increase the running speed of the equipment and improve the user experience.

第一方面,本发明提供一种进程清理装置,包括:In a first aspect, the present invention provides a process cleaning device, including:

关联进程查找单元,用于监控设备中应用程序的使用状态,在监控到所述应用程序关闭时,在预设的关联进程表中查找与所述关闭的应用程序的进程相关联的关联进程;An associated process search unit, configured to monitor the usage status of the application program in the device, and search for an associated process associated with the process of the closed application program in a preset associated process table when the monitored application program is closed;

判断单元,用于判断所述关联进程对应的应用程序是否属于用户当前使用的应用程序;a judging unit, configured to judge whether the application program corresponding to the associated process belongs to the application program currently used by the user;

优化处理单元,用于在所述关联进程对应的应用程序不属于用户当前使用的应用程序时,对所述关联进程对应的应用程序进行优化处理。The optimization processing unit is configured to optimize the application program corresponding to the associated process when the application program corresponding to the associated process does not belong to the application program currently used by the user.

可选地,所述优化处理单元,还用于在所述关联进程对应的应用程序部分属于用户当前使用的应用程序时,对所有关联进程对应的应用程序中不属于用户当前使用的应用程序进行优化处理。Optionally, the optimization processing unit is further configured to, when the application program corresponding to the associated process partly belongs to the application program currently used by the user, perform an optimization process on all the application programs corresponding to the associated process that do not belong to the application program currently used by the user. Optimized processing.

可选地,所述关联进程表为预先从服务器中下载的进程表;Optionally, the associated process table is a process table downloaded from the server in advance;

所述关联进程表包括进程和该进程的关联进程的信息。The associated process table includes information about a process and its associated processes.

可选地,关联进程查找单元,具体用于Optionally, associated process lookup units, specifically for

确定用户选择关闭的应用程序的进程标识,将所述进程标识发送服务器,以使所述服务器在关联进程表中查找所述进程标识对应的关联进程的标识;Determine the process ID of the application program that the user chooses to close, and send the process ID to the server, so that the server searches the associated process table for the ID of the associated process corresponding to the process ID;

接收所述服务器发送的所述关联进程的标识,获取所述关联进程。Receive the identifier of the association process sent by the server, and acquire the association process.

可选地,所述装置还包括:Optionally, the device also includes:

提示单元,用于在所述优化处理单元执行优化处理之前,在所述设备的界面上展示对所述关联进程对应的应用程序进行优化的提示窗口,所述提示窗口包括:所述关联进程对应的应用程序是否优化的选项;A prompting unit, configured to display a prompt window for optimizing the application corresponding to the associated process on the interface of the device before the optimization processing unit performs optimization processing, the prompt window includes: The option of whether the application is optimized;

所述优化处理单元,具体用于,对用户在提示窗口中选择的应用程序进行优化处理。The optimization processing unit is specifically configured to optimize the application program selected by the user in the prompt window.

可选地,所述优化处理单元,具体用于Optionally, the optimization processing unit is specifically used for

结束所述关联进程,并释放这些进程所占用的内存,清理这些进程的垃圾数据。End the associated processes, release the memory occupied by these processes, and clean up the garbage data of these processes.

第二方面,本发明提供一种进程清理方法,包括:In a second aspect, the present invention provides a process cleaning method, comprising:

监控设备中应用程序的使用状态,在监控到所述应用程序关闭时,在预设的关联进程表中查找与所述关闭的应用程序的进程相关联的关联进程;monitoring the usage status of the application program in the device, and searching for the associated process associated with the process of the closed application program in the preset associated process table when the monitored application program is closed;

判断所述关联进程对应的应用程序是否是用户当前使用的应用程序,如果不是,则对所述关联进程对应的应用程序进行优化处理。Judging whether the application program corresponding to the associated process is the application program currently used by the user, if not, optimizing the application program corresponding to the associated process.

可选地,所述方法还包括:Optionally, the method also includes:

如果关联进程对应的应用程序部分属于用户当前使用的应用程序,则对所有关联进程对应的应用程序中不属于用户当前使用的应用程序进行优化处理。If the part of the application program corresponding to the associated process belongs to the application program currently used by the user, optimization processing is performed on the application program corresponding to all the associated processes that is not currently used by the user.

可选地,所述关联进程表为预先从服务器中下载的进程表;Optionally, the associated process table is a process table downloaded from the server in advance;

所述关联进程表包括进程和该进程的关联进程的信息。The associated process table includes information about a process and its associated processes.

可选地,在预设的关联进程表中查找与所述关闭的应用程序的进程相关联的关联进程,包括:Optionally, searching for an associated process associated with the process of the closed application program in a preset associated process table includes:

确定用户选择关闭的应用程序的进程标识,将所述进程标识发送服务器,以使所述服务器在关联进程表中查找所述进程标识对应的关联进程的标识;Determine the process ID of the application program that the user chooses to close, and send the process ID to the server, so that the server searches the associated process table for the ID of the associated process corresponding to the process ID;

接收所述服务器发送的所述关联进程的标识,获取所述关联进程。Receive the identifier of the association process sent by the server, and acquire the association process.

可选地,对所述关联进程对应的应用程序进行优化处理之前,Optionally, before optimizing the application program corresponding to the associated process,

在所述设备的界面上展示对所述关联进程对应的应用程序进行优化的提示窗口,所述提示窗口包括:所述关联进程对应的应用程序是否优化的选项;A prompt window for optimizing the application program corresponding to the associated process is displayed on the interface of the device, and the prompt window includes: an option of whether the application program corresponding to the associated process is optimized;

相应地,对所述关联进程对应的应用程序进行优化处理,包括:Correspondingly, optimizing the application program corresponding to the associated process includes:

对用户在提示窗口中选择的应用程序进行优化处理。Optimize the application selected by the user in the prompt window.

可选地,对所述关联进程对应的程序进行优化处理,包括:Optionally, optimizing the program corresponding to the associated process includes:

结束所述关联进程,并释放这些进程所占用的内存,清理这些进程的缓存数据或临时数据。End the associated processes, release the memory occupied by these processes, and clean up the cached data or temporary data of these processes.

由上述技术方案可知,本发明提供的进程清理方法及装置,在监控到用户选择关闭的某应用程序时,查找与该应用程序的进程关联的关联进程,进而将判断关联进程的应用程序不属于用户当前使用的应用程序时,对该些关联进程的应用程序优化处理,由此,可提高设备的运行速度,同时提升用户体验。It can be seen from the above technical solution that the process cleaning method and device provided by the present invention, when monitoring an application program that the user chooses to close, searches for the associated process associated with the process of the application program, and then judges that the application program associated with the process does not belong to When the user is currently using the application program, the application program of these associated processes is optimized, thereby improving the running speed of the device and improving user experience.

附图说明Description of drawings

图1A为本发明一实施例提供的进程清理方法的流程示意图;FIG. 1A is a schematic flowchart of a process cleaning method provided by an embodiment of the present invention;

图1B为本发明一实施例提供的提示窗口的示意图;FIG. 1B is a schematic diagram of a prompt window provided by an embodiment of the present invention;

图2为本发明另一实施例提供的进程清理方法的流程示意图;FIG. 2 is a schematic flowchart of a process cleaning method provided by another embodiment of the present invention;

图3为本发明另一实施例提供的进程清理方法的流程示意图;FIG. 3 is a schematic flowchart of a process cleaning method provided by another embodiment of the present invention;

图4为本发明一实施例提供的进程清理装置的结构示意图。Fig. 4 is a schematic structural diagram of a process cleaning device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图,对发明的具体实施方式作进一步描述。以下实施例仅用于更加清楚地说明本发明的技术方案,而不能以此来限制本发明的保护范围。The specific embodiments of the invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.

图1A示出了本发明一实施例提供的进程清理方法的流程示意图,如图1所示,本实施例的进程清理方法如下所述。FIG. 1A shows a schematic flowchart of a process cleaning method provided by an embodiment of the present invention. As shown in FIG. 1 , the process cleaning method of this embodiment is as follows.

101、监控设备中运行的应用程序的使用状态,在监控到所述应用程序关闭时,在预设的关联进程表中查找与所述关闭的应用程序的进程相关联的关联进程。101. Monitor the usage status of the application program running in the device, and when monitoring that the application program is closed, search for an associated process associated with the process of the closed application program in a preset associated process table.

在本实施例中,应用程序是指计算设备中可以识别运行的指令集合。进程是一个正在执行的应用程序。进程是应用程序的一部分,应用程序运行的时候会产生进程。In this embodiment, an application program refers to a set of instructions that can be identified and run in a computing device. A process is an executing application. A process is a part of an application, and a process is generated when the application is running.

举例来说,该步骤中的关联进程表可为预先从服务器中下载的进程表;所述关联进程表包括进程和该进程的关联进程的信息。For example, the associated process table in this step may be a process table downloaded from the server in advance; the associated process table includes the information of the process and the associated process of the process.

例如,浏览器进程和浏览器插件进程、浏览器扩展进程等属于关联进程,其中,该浏览器进程可为主进程。For example, a browser process, a browser plug-in process, a browser extension process, etc. belong to associated processes, wherein the browser process may be a main process.

在一种具体的例子中,步骤101中的在预设的关联进程表中查找与所述关闭的应用程序的进程关联的关联进程,可包括:In a specific example, searching for an associated process associated with the process of the closed application program in the preset associated process table in step 101 may include:

确定用户选择关闭的应用程序的进程标识,将所述进程标识发送云服务器,以使所述云服务器在关联进程表中查找所述进程标识对应的关联进程的标识;接收所述云服务器发送的所述关联进程的标识,获取所述关联进程信息。该关联进程信息可包括关联进程的标识、关联进程的名称、关联进程的图标等。当然,关联进程的标识可为关联进程的名称等。Determine the process ID of the application program that the user chooses to close, and send the process ID to the cloud server, so that the cloud server searches the associated process table for the ID of the associated process corresponding to the process ID; receiving the ID sent by the cloud server The identifier of the associated process, and the information of the associated process is acquired. The associated process information may include an identifier of the associated process, a name of the associated process, an icon of the associated process, and the like. Certainly, the identifier of the associated process may be the name of the associated process and the like.

102、判断所述关联进程对应的应用程序是否是用户当前使用的应用程序,如果不是,则对所述关联进程对应的应用程序进行优化处理。102. Determine whether the application program corresponding to the associated process is an application program currently used by the user, and if not, optimize the application program corresponding to the associated process.

举例来说,如果浏览器进程和浏览器插件进程、浏览器扩展进程属于关联进程,此时用户关闭浏览器程序之后,相关的广告窗口还在运行,这些广告窗口的进程可为浏览器插件进程,其属于用户不使用的,且属于恶意插件进程,故,在确定关闭浏览器进程/程序之后,查找浏览器进程的关联进程,如浏览器插件进程和浏览器扩展进程,确定该些进程不属于用户正在使用的,则直接对该些进程进行优化处理,如结束该些进程,并释放内存,清理垃圾数据等。For example, if a browser process, a browser plug-in process, and a browser extension process are associated processes, and the relevant advertisement windows are still running after the user closes the browser program, the processes of these advertisement windows may be browser plug-in processes , which is not used by the user, and is a malicious plug-in process. Therefore, after confirming that the browser process/program is closed, search for the associated processes of the browser process, such as the browser plug-in process and the browser extension process, and determine that these processes are not If the processes are currently being used by the user, optimize them directly, such as ending these processes, releasing memory, cleaning up garbage data, and so on.

当然,在实际应用中,如果关联进程对应的程序部分属于用户当前使用的应用程序,则对所有关联进程对应的程序中不属于用户当前使用的应用程序进行优化处理。Of course, in practical applications, if the program part corresponding to the associated process belongs to the application program currently used by the user, optimization processing is performed on the application program not belonging to the user's current use among the programs corresponding to all the associated processes.

例如,XL进程和XLM进程属于关联进程,如果用户关闭XLM,此时用户正在使用XL下载某一视频,则该XL属于用户当前正在使用的进程,故,可跳过XL进程,进行后续关联进程的查找。For example, the XL process and the XLM process belong to the associated process. If the user closes XLM and the user is using XL to download a certain video, then the XL process belongs to the process that the user is currently using. Therefore, the XL process can be skipped and the subsequent associated process can be performed. lookup.

为了便于用户使用,且提升用户体验,在步骤102中的对所述关联进程对应的应用程序进行优化处理之前,方法还可包括:In order to facilitate user use and improve user experience, before optimizing the application program corresponding to the associated process in step 102, the method may further include:

在所述设备的界面上展示对所述关联进程对应的应用程序进行优化的提示窗口,所述提示窗口包括:所述关联进程对应的应用程序是否优化的选项;A prompt window for optimizing the application program corresponding to the associated process is displayed on the interface of the device, and the prompt window includes: an option of whether the application program corresponding to the associated process is optimized;

相应地,如果用户根据提示窗口进行选择,可对用户在提示窗口中选择的应用程序进行优化处理。Correspondingly, if the user makes a selection according to the prompt window, the application program selected by the user in the prompt window may be optimized.

例如,结束所述关联进程,并释放这些进程所占用的内存,清理这些进程的垃圾数据。For example, the associated processes are terminated, the memory occupied by these processes is released, and the garbage data of these processes are cleaned up.

例如,可弹出如图1B所示的提示窗口,该提示窗口可位于用户界面的顶层,根据用户选择的需要结束的应用程序进行优化处理。For example, a prompt window as shown in FIG. 1B may pop up, the prompt window may be located at the top layer of the user interface, and optimization processing may be performed according to the application program selected by the user that needs to be terminated.

如果用户选择XLM程序,则在用户触发“优化处理”操作接口之后,结束该XLM程序的进程,并释放该XLM所占用的内存,以及清理该XLM使用过程中产生的垃圾数据等。If the user selects the XLM program, after the user triggers the "optimize processing" operation interface, the process of the XLM program is terminated, the memory occupied by the XLM is released, and the garbage data generated during the use of the XLM is cleaned up.

本实施例的进程清理方法,在监控到用户选择关闭的某应用程序时,查找与该应用程序的进程关联的关联进程,进而将判断关联进程的应用程序不属于用户当前使用的应用程序时,对该些关联进程的应用程序优化处理,由此,可提高设备的运行速度,同时提升用户体验。In the process cleaning method of this embodiment, when an application program that the user chooses to close is monitored, the associated process associated with the process of the application program is searched, and then when it is determined that the application program associated with the process does not belong to the application program currently used by the user, The application program optimization processing of these associated processes can thereby improve the operating speed of the device and improve user experience at the same time.

进一步地,在关闭关联进程时,能够向用户展现所有待优化进程的资源占用情况,用户可通过对这些进程进行相应的优化处理,来释放系统资源,以加快设备的运行速度。Furthermore, when the associated process is closed, the resource occupation of all processes to be optimized can be displayed to the user, and the user can release system resources by performing corresponding optimization on these processes to speed up the running speed of the device.

在本实施例中,有些进程之间存在相互依赖关系,如进程A必须依赖进程B才能运行,则可认为该进程A和进程B属于关联进程。In this embodiment, some processes are interdependent. For example, process A must depend on process B to run, then process A and process B may be considered as associated processes.

因此,当检测到进程A正在关闭时,可以进一步检测进程B是否正在运行,如果检测结果为是,则可以确定进程B的运行条件不符合,从而对其进行优化处理。Therefore, when it is detected that the process A is shutting down, it can be further detected whether the process B is running, and if the detection result is yes, it can be determined that the running condition of the process B is not met, so that it can be optimized.

图2示出了本发明一实施例提供的进程清理方法的流程示意图,如图2所示,本实施例的进程清理方法如下所述。FIG. 2 shows a schematic flowchart of a process cleaning method provided by an embodiment of the present invention. As shown in FIG. 2 , the process cleaning method in this embodiment is described as follows.

201、根据用户选择的待清理的应用程序,在预设的关联进程表中查找与所述待清理的应用程序的运行进程关联的关联进程。201. According to the application program to be cleaned up selected by the user, search for an associated process associated with a running process of the application program to be cleaned up in a preset associated process table.

可理解的是,本实施例中的关联进程表可为预先从云服务器中下载的进程表;所述关联进程表包括进程和该进程的关联进程的信息。It can be understood that the associated process table in this embodiment may be a process table downloaded from the cloud server in advance; the associated process table includes information about a process and associated processes of the process.

通常,进程表可为操作人员根据多个设备中进程信息统计的主进程和关联进程的信息表。Usually, the process table can be an information table of the main process and associated processes that the operator counts according to the process information in multiple devices.

例如,XL程序对应的进程和XLM程序对应的进程属于关联进程。For example, the process corresponding to the XL program and the process corresponding to the XLM program are associated processes.

浏览器主进程,浏览器插件进程和浏览器扩展进程、网页标签子进程等。Browser main process, browser plug-in process and browser extension process, web page label sub-process, etc.

202、判断所述关联进程对应的应用程序是否是用户当前使用的应用程序,如果不是,则对所述用户选择的待清理的应用程序和所述关联进程对应的应用程序进行优化处理。202. Determine whether the application program corresponding to the associated process is the application program currently used by the user, and if not, perform optimization processing on the application program selected by the user to be cleaned and the application program corresponding to the associated process.

当然,在具体应用中,如果关联进程对应的应用程序部分属于用户当前使用的应用程序,则对所述用户选择的待清理的应用程序,以及所有关联进程对应的应用程序中不属于用户当前使用的应用程序进行优化处理。Of course, in a specific application, if the application program corresponding to the associated process belongs to the application program currently used by the user, the application program selected by the user to be cleaned and all the application programs corresponding to the associated process do not belong to the application program currently used by the user. optimized applications.

例如,结束待清理的应用程序的运行进程,以及结束所述关联进程,并释放这些进程所占用的内存,清理这些进程的垃圾数据。For example, end the running process of the application program to be cleaned, end the associated process, release the memory occupied by these processes, and clean up the garbage data of these processes.

在实际应用中,若需要结束的应用程序为浏览器,可通过浏览器侧提供的关闭标签标准接口关闭浏览器网页标签或线程;或者,通过浏览器侧提供的chrome.management.setEnabled扩展管理接口关闭扩展应用程序等。In practical applications, if the application that needs to be terminated is a browser, you can close the browser webpage tab or thread through the standard interface for closing tabs provided on the browser side; or, through the chrome.management.setEnabled extended management interface provided on the browser side Close extension apps, etc.

如果关闭的是非浏览器进程或应用程序,可通过调用TerminateProcess接口关闭非浏览器进程或应用程序等等。If the non-browser process or application is closed, the non-browser process or application can be closed by calling the TerminateProcess interface.

本实施例的进程清理方法,在准备清理用户选择的待清理的应用程序时,查找与该些应用程序的进程关联的关联进程,进而将判断关联进程的应用程序不属于用户当前使用的应用程序时,对用户选择的待清理的应用程序,以及关联进程的应用程序优化处理,由此,可提高设备的运行速度,同时提升用户体验。The process cleaning method of this embodiment, when preparing to clean up the application programs selected by the user to be cleaned up, searches for the associated processes associated with the processes of these application programs, and then determines that the application programs of the associated processes do not belong to the application programs currently used by the user At the same time, the application program to be cleaned selected by the user and the application program of the associated process are optimized, thereby improving the running speed of the device and improving user experience.

图3示出了本发明一实施例提供的进程清理方法的流程示意图,如图3所示,本实施例的进程清理方法如下所述。FIG. 3 shows a schematic flowchart of a process cleaning method provided by an embodiment of the present invention. As shown in FIG. 3 , the process cleaning method of this embodiment is as follows.

301、获取设备中的每一进程的标识及该进程当前的资源使用率。301. Acquire the identifier of each process in the device and the current resource usage rate of the process.

每一进程的资源使用率根据如下的一项或多项信息计算得到:该进程的内存使用率,中央处理器(Central Processing Unit,简称CPU)占用率,磁盘输入输出(IO)信息,网络吞吐量等。The resource usage rate of each process is calculated based on one or more of the following information: memory usage rate of the process, central processing unit (Central Processing Unit, referred to as CPU) occupancy rate, disk input and output (IO) information, network throughput amount etc.

302、根据每一进程的标识,确定与每一进程的标识对应的进程优化策略。302. Determine a process optimization strategy corresponding to the identifier of each process according to the identifier of each process.

举例来说,在本实施例中,进程优化策略可为预先从云服务器中下载的包括当前进程的资源使用率优化值的策略;For example, in this embodiment, the process optimization strategy may be a strategy downloaded from the cloud server in advance, including the resource usage optimization value of the current process;

可理解的是,该处的进程优化策略可为与设备的系统环境信息匹配的策略,所述资源使用率优化值为所述云服务器根据用户使用信息统计的优化值。It can be understood that the process optimization strategy here may be a strategy matching the system environment information of the device, and the resource usage optimization value is an optimization value calculated by the cloud server according to user usage information.

在另一可能的例子中,可将所述进程的标识和设备的系统环境信息发送云服务器,以使云服务器根据所述进程的标识和所述设备的系统环境信息确定与该标识对应的进程优化策略;In another possible example, the identification of the process and the system environment information of the device may be sent to the cloud server, so that the cloud server determines the process corresponding to the identification according to the identification of the process and the system environment information of the device Optimization Strategy;

该设备可接收云服务器发送的与该进程的标识对应的进程优化策略。The device may receive a process optimization policy corresponding to the process identifier sent by the cloud server.

其中,云服务器中的进程优化策略为包括当前进程的资源使用率优化值的策略。Wherein, the process optimization strategy in the cloud server is a strategy including the resource usage optimization value of the current process.

本实施例中,设备的系统环境信息可为包括:该设备当前的软件环境、硬件环境,如内存大小、操作系统等。通常,云服务器可实时获取任一设备的系统环境信息即操作系统环境信息。In this embodiment, the system environment information of the device may include: the current software environment and hardware environment of the device, such as memory size and operating system. Generally, the cloud server can obtain system environment information of any device in real time, that is, operating system environment information.

303、将每一进程当前的资源使用率与该进程的进程优化策略进行比较,将符合进程优化策略的进程对应的应用程序推荐用户,以使用户在推荐的需要清理的应用程序中选择待清理的应用程序。303. Compare the current resource usage rate of each process with the process optimization strategy of the process, and recommend the application corresponding to the process conforming to the process optimization strategy to the user, so that the user selects the application to be cleaned from the recommended applications that need to be cleaned s application.

304、确定用户选择的待清理的应用程序的运行进程的标识,将所述运行进程的标识发送云服务器,以使所述云服务器在关联进程表中查找所述运行进程的标识对应的关联进程的标识。304. Determine the ID of the running process of the application program to be cleaned selected by the user, and send the ID of the running process to the cloud server, so that the cloud server searches the associated process table for the associated process corresponding to the ID of the running process logo.

举例来说,本实施例中关联进程的标识可为该进程的名称等。For example, the identifier of the associated process in this embodiment may be the name of the process or the like.

305、接收所述云服务器发送的所述关联进程的标识,确定与所述待清理的应用程序的运行进程关联的关联进程。305. Receive the identifier of the associated process sent by the cloud server, and determine the associated process associated with the running process of the application program to be cleaned.

306、判断所述关联进程对应的应用程序是否是用户当前使用的应用程序。306. Determine whether the application program corresponding to the associated process is the application program currently used by the user.

307、在所述设备的界面上弹出对所述关联进程对应的应用程序进行优化的提示窗口,所述提示窗口包括:所述关联进程对应的应用程序是否优化的选项。307. A prompt window for optimizing the application program corresponding to the associated process is popped up on the interface of the device, and the prompt window includes: an option of whether the application program corresponding to the associated process is optimized.

308、对所述用户选择的待清理的应用程序进行优化处理,以及,308. Perform optimization processing on the application program selected by the user to be cleaned up, and,

对用户在提示窗口中选择的应用程序进行优化处理。Optimize the application selected by the user in the prompt window.

例如,结束待清理的应用程序的运行进程,以及结束所述关联进程,并释放这些进程所占用的内存,清理这些进程的垃圾数据。For example, end the running process of the application program to be cleaned, end the associated process, release the memory occupied by these processes, and clean up the garbage data of these processes.

例如,可调用系统内存清理函数SetProcessWorkingSetSize清理该进程占用的内存。For example, the system memory cleaning function SetProcessWorkingSetSize can be called to clean up the memory occupied by the process.

本实施例的进程清理方法,能够将设备中所有待清理的应用程序,以及这些应用程序的关联应用程序进行完全清理,进而可提高设备的运行速度,同时提升用户体验。The process cleaning method of this embodiment can completely clean up all the application programs to be cleaned up in the device and the associated application programs of these application programs, thereby improving the running speed of the device and improving user experience at the same time.

图4示出了本发明一实施例提供的进程清理装置的结构示意图,如图4所示,本实施例的进程清理装置可包括:关联进程查找单元41、判断单元42和优化处理单元43;FIG. 4 shows a schematic structural diagram of a process cleaning device provided by an embodiment of the present invention. As shown in FIG. 4 , the process cleaning device of this embodiment may include: an associated process search unit 41, a judging unit 42, and an optimization processing unit 43;

关联进程查找单元41用于监控设备中运行的应用程序的使用状态,在监控到所述应用程序关闭时,在预设的关联进程表中查找与所述关闭的应用程序的进程关联的关联进程;The associated process search unit 41 is used to monitor the usage state of the application program running in the device, and when it is monitored that the application program is closed, search for the associated process associated with the process of the closed application program in the preset associated process table ;

判断单元42用于判断所述关联进程对应的应用程序是否属于用户当前使用的应用程序;The judging unit 42 is used to judge whether the application program corresponding to the associated process belongs to the application program currently used by the user;

优化处理单元43用于在所述关联进程对应的应用程序不属于用户当前使用的应用程序时,对所述关联进程对应的应用程序进行优化处理。The optimization processing unit 43 is configured to optimize the application program corresponding to the associated process when the application program corresponding to the associated process does not belong to the application program currently used by the user.

进一步地,所述优化处理单元43还用于在所述关联进程对应的应用程序部分属于用户当前使用的应用程序时,对所有关联进程对应的应用程序中不属于用户当前使用的应用程序进行优化处理。Further, the optimization processing unit 43 is also configured to optimize the application programs corresponding to all associated processes that do not belong to the user's current application program when the application program corresponding to the associated process part belongs to the application program currently used by the user. deal with.

本实施例中的关联进程表可为预先从服务器中下载的进程表;The associated process table in this embodiment may be a process table downloaded from the server in advance;

所述关联进程表包括进程和该进程的关联进程的信息。The associated process table includes information about a process and its associated processes.

在一种可能的实现方式中,前述的关联进程查找单元41具体用于In a possible implementation, the aforementioned associated process search unit 41 is specifically used to

确定用户选择关闭的应用程序的进程标识,将所述进程标识发送云服务器,以使所述云服务器在关联进程表中查找所述进程标识对应的关联进程的标识;Determine the process ID of the application program that the user chooses to close, and send the process ID to the cloud server, so that the cloud server searches the associated process table for the ID of the associated process corresponding to the process ID;

接收所述云服务器发送的所述关联进程的标识,获取所述关联进程。Receive the identifier of the association process sent by the cloud server, and acquire the association process.

在另一可能的实现方式中,进程清理装置还可包括下述的图中未示出的提示单元44,该提示单元44用于在所述优化处理单元43执行优化处理之前,在所述设备的界面上展示对所述关联进程对应的程序进行优化的提示窗口,所述提示窗口包括:所述关联进程对应的应用程序是否优化的选项;In another possible implementation manner, the process cleaning device may also include a prompt unit 44 not shown in the figure below, which is used to, before the optimization processing unit 43 performs optimization processing, A prompt window for optimizing the program corresponding to the associated process is displayed on the interface, and the prompt window includes: an option of whether the application program corresponding to the associated process is optimized;

相应地,所述优化处理单元43具体用于,对用户在提示窗口中选择的应用程序进行优化处理。例如,结束所述关联进程,并释放这些进程所占用的内存,清理这些进程的垃圾数据。Correspondingly, the optimization processing unit 43 is specifically configured to optimize the application program selected by the user in the prompt window. For example, the associated processes are terminated, the memory occupied by these processes is released, and the garbage data of these processes are cleaned up.

此外,本实施例的进程清理装置可执行前述的图1所示的方法实施例中的流程,本实施例不在此进行详述。In addition, the process cleaning device in this embodiment can execute the process in the aforementioned method embodiment shown in FIG. 1 , and this embodiment will not be described in detail here.

本实施例的进程清理方法,能够将设备中所有待清理的应用程序,以及这些应用程序的关联应用程序进行完全清理,进而可提高设备的运行速度,同时提升用户体验。The process cleaning method of this embodiment can completely clean up all the application programs to be cleaned up in the device and the associated application programs of these application programs, thereby improving the running speed of the device and improving user experience at the same time.

在其他实施例中,前述的关联进程查找单元41还可用于根据用户选择的待清理的应用程序,在预设的关联进程表中查找与所述待清理的应用程序的运行进程关联的关联进程;相应地,判断单元42用于判断所述关联进程对应的应用程序是否属于用户当前使用的应用程序;优化处理单元43可用于在所述关联进程对应的应用程序不属于用户当前使用的应用程序时,对所述用户选择的待清理的应用程序和所述关联进程对应的应用程序进行优化处理。该处的优化处理可为结束部分进程,并释放该进程所占用的内容等。In other embodiments, the aforementioned associated process search unit 41 can also be used to search the associated process associated with the running process of the application program to be cleaned up in the preset associated process table according to the application program to be cleaned up selected by the user Correspondingly, the judging unit 42 is used to judge whether the application program corresponding to the associated process belongs to the application program currently used by the user; the optimization processing unit 43 can be used to determine whether the application program corresponding to the associated process does not belong to the application program currently used by the user , optimize the application program selected by the user to be cleaned and the application program corresponding to the associated process. The optimization processing here may be to end some processes, release the content occupied by the processes, and so on.

例如,所述优化处理单元43具体用于,结束待清理的应用程序的运行进程,以及结束上述提及的关联进程,并释放这些进程所占用的内存,清理这些进程的垃圾数据。For example, the optimization processing unit 43 is specifically configured to end the running process of the application program to be cleaned and the above-mentioned associated process, release the memory occupied by these processes, and clean up the garbage data of these processes.

进一步地,上述的关联进程表可为预先从云服务器中下载的进程表;该关联进程表包括进程和该进程的关联进程的信息。Further, the above-mentioned associated process table may be a process table downloaded from the cloud server in advance; the associated process table includes the information of the process and the associated process of the process.

在一种可能的实现方式中,关联进程查找单元41可具体用于,确定用户选择的待清理的应用程序的运行进程的标识,将所述运行进程的标识发送云服务器,以使所述云服务器在关联进程表中查找所述运行进程的标识对应的关联进程的标识;In a possible implementation manner, the associated process search unit 41 may be specifically configured to determine the identification of the running process of the application program to be cleaned selected by the user, and send the identification of the running process to the cloud server, so that the cloud The server searches the associated process table for the identifier of the associated process corresponding to the identifier of the running process;

接收所述云服务器发送的所述关联进程的标识,根据所述关联进程的标识确定与所述待清理的程序的运行进程关联的关联进程。The associated process identifier sent by the cloud server is received, and the associated process associated with the running process of the program to be cleaned is determined according to the associated process identifier.

在第二种可能的实现方式中,进程清理装置还可包括下述的图中未示出的待清理的程序确定单元40,该待清理的程序确定单元40用于获取设备中的每一进程的标识及该进程当前的资源使用率;In the second possible implementation manner, the process cleaning device may further include a program determination unit 40 not shown in the figure below, and the program determination unit 40 to be cleaned is used to obtain the process of each process in the device and the current resource usage of the process;

根据每一进程的标识,确定与每一进程的标识对应的进程优化策略;According to the identification of each process, determine the process optimization strategy corresponding to the identification of each process;

将每一进程当前的资源使用率与该进程的进程优化策略进行比较,将符合进程优化策略的进程对应的应用程序推荐用户,以使用户在推荐的需要清理的应用程序中选择待清理的应用程序。Compare the current resource usage of each process with the process optimization strategy of the process, and recommend the application corresponding to the process that meets the process optimization strategy to the user, so that the user can select the application to be cleaned from the recommended applications that need to be cleaned program.

举例来说,所述进程优化策略为预先从云服务器中下载的包括当前进程的资源使用率优化值的策略;For example, the process optimization strategy is a strategy downloaded from the cloud server in advance including the resource utilization optimization value of the current process;

所述进程优化策略为与设备的系统环境信息匹配的策略,所述资源使用率优化值为所述云服务器根据用户使用信息统计的优化值。The process optimization strategy is a strategy matching the system environment information of the device, and the resource usage optimization value is an optimization value calculated by the cloud server according to user usage information.

在一个具体的实例中,待清理的应用程序确定单元,还可具体用于获取设备中的每一进程的标识及该进程当前的资源使用率;In a specific example, the unit to determine the application program to be cleaned can also be specifically used to obtain the identifier of each process in the device and the current resource usage rate of the process;

将所述进程的标识和设备的系统环境信息发送云服务器,以使云服务器根据所述进程的标识和所述设备的系统环境信息确定与该标识对应的进程优化策略;Sending the identification of the process and the system environment information of the device to the cloud server, so that the cloud server determines a process optimization strategy corresponding to the identification according to the identification of the process and the system environment information of the device;

接收云服务器发送的与该进程的标识对应的进程优化策略;receiving the process optimization strategy corresponding to the process identifier sent by the cloud server;

将每一进程当前的资源使用率与该进程的进程优化策略进行比较,将符合进程优化策略的进程对应的应用程序推荐用户,以使用户在推荐的需要清理的应用程序中选择待清理的应用程序。Compare the current resource usage of each process with the process optimization strategy of the process, and recommend the application corresponding to the process that meets the process optimization strategy to the user, so that the user can select the application to be cleaned from the recommended applications that need to be cleaned program.

此时,云服务器中的进程优化策略可为包括当前进程的资源使用率优化值的策略。At this point, the process optimization policy in the cloud server may be a policy including the resource usage optimization value of the current process.

可选地,上述提及的每一进程的资源使用率可根据如下的一项或多项信息计算得到:Optionally, the resource usage rate of each process mentioned above can be calculated according to one or more of the following information:

该进程的内存使用率,中央处理器CPU占用率,磁盘输入输出IO信息,网络吞吐量。The memory usage rate of the process, the CPU usage rate of the central processing unit, the disk input and output IO information, and the network throughput.

此外,本实施例的进程清理装置可执行前述的图2至图3所示的方法实施例中的流程,本实施例不在此进行详述。In addition, the process cleaning device in this embodiment can execute the processes in the aforementioned method embodiments shown in FIG. 2 to FIG. 3 , and this embodiment will not be described in detail here.

本实施例的进程清理方法,能够将设备中所有待清理的应用程序,以及这些应用程序的关联应用程序进行完全清理,进而可提高设备的运行速度,同时提升用户体验。The process cleaning method of this embodiment can completely clean up all the application programs to be cleaned up in the device and the associated application programs of these application programs, thereby improving the running speed of the device and improving user experience at the same time.

本发明以Windows系统为例说明,并不限定上述方法用于iOS、Android等操作系统中。The present invention is described by taking the Windows system as an example, and does not limit the above method to be used in operating systems such as iOS and Android.

本发明的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description of the invention, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本发明公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释呈反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the above description of exemplary embodiments of the invention, in order to streamline the present disclosure and to facilitate understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together into a single embodiment , figure, or description of it. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在于该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是互相排斥之处,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and installed in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except where at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的一种浏览器终端的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in a browser terminal device according to an embodiment of the present invention . The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围,其均应涵盖在本发明的权利要求和说明书的范围当中。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. All of them should be covered by the scope of the claims and description of the present invention.

Claims (10)

Translated fromChinese
1.一种进程清理装置,其特征在于,包括:1. A process cleaning device, characterized in that, comprising:关联进程查找单元,用于监控设备中应用程序的使用状态,在监控到所述应用程序关闭时,在预设的关联进程表中查找与所述关闭的应用程序的进程相关联的关联进程;An associated process search unit, configured to monitor the usage status of the application program in the device, and search for an associated process associated with the process of the closed application program in a preset associated process table when the monitored application program is closed;判断单元,用于判断所述关联进程对应的应用程序是否属于用户当前使用的应用程序;a judging unit, configured to judge whether the application program corresponding to the associated process belongs to the application program currently used by the user;优化处理单元,用于在所述关联进程对应的应用程序不属于用户当前使用的应用程序时,对所述关联进程对应的应用程序进行优化处理。The optimization processing unit is configured to optimize the application program corresponding to the associated process when the application program corresponding to the associated process does not belong to the application program currently used by the user.2.根据权利要求1所述的装置,其特征在于,所述优化处理单元,还用于在所述关联进程对应的应用程序部分属于用户当前使用的应用程序时,对所有关联进程对应的应用程序中不属于用户当前使用的应用程序进行优化处理。2. The device according to claim 1, wherein the optimization processing unit is further configured to, when the application program part corresponding to the associated process belongs to the application program currently used by the user, optimize all the applications corresponding to the associated process The program does not belong to the application program currently used by the user for optimization.3.根据权利要求1所述的装置,其特征在于,所述关联进程表为预先从服务器中下载的进程表;3. The device according to claim 1, wherein the associated progress table is a progress table downloaded from a server in advance;所述关联进程表包括进程和该进程的关联进程的信息。The associated process table includes information about a process and its associated processes.4.根据权利要求1所述的装置,其特征在于,关联进程查找单元,具体用于4. The device according to claim 1, characterized in that the associated process search unit is specifically used to确定用户选择关闭的应用程序的进程标识,将所述进程标识发送服务器,以使所述服务器在关联进程表中查找所述进程标识对应的关联进程的标识;Determine the process ID of the application program that the user chooses to close, and send the process ID to the server, so that the server searches the associated process table for the ID of the associated process corresponding to the process ID;接收所述服务器发送的所述关联进程的标识,获取所述关联进程。Receive the identifier of the association process sent by the server, and acquire the association process.5.根据权利要求1所述的装置,其特征在于,所述装置还包括:5. The device according to claim 1, further comprising:提示单元,用于在所述优化处理单元执行优化处理之前,在所述设备的界面上展示对所述关联进程对应的应用程序进行优化的提示窗口,所述提示窗口包括:所述关联进程对应的应用程序是否优化的选项;A prompting unit, configured to display a prompt window for optimizing the application corresponding to the associated process on the interface of the device before the optimization processing unit performs optimization processing, the prompt window includes: The option of whether the application is optimized;所述优化处理单元,具体用于,对用户在提示窗口中选择的应用程序进行优化处理。The optimization processing unit is specifically configured to optimize the application program selected by the user in the prompt window.6.一种进程清理方法,其特征在于,包括:6. A process cleaning method, characterized in that, comprising:监控设备中应用程序的使用状态,在监控到所述应用程序关闭时,在预设的关联进程表中查找与所述关闭的应用程序的进程相关联的关联进程;monitoring the usage status of the application program in the device, and searching for the associated process associated with the process of the closed application program in the preset associated process table when the monitored application program is closed;判断所述关联进程对应的应用程序是否是用户当前使用的应用程序,如果不是,则对所述关联进程对应的应用程序进行优化处理。Judging whether the application program corresponding to the associated process is the application program currently used by the user, if not, optimizing the application program corresponding to the associated process.7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, further comprising:如果关联进程对应的应用程序部分属于用户当前使用的应用程序,则对所有关联进程对应的应用程序中不属于用户当前使用的应用程序进行优化处理。If the part of the application program corresponding to the associated process belongs to the application program currently used by the user, optimization processing is performed on the application program corresponding to all the associated processes that is not currently used by the user.8.根据权利要求6所述的方法,其特征在于,所述关联进程表为预先从服务器中下载的进程表;8. The method according to claim 6, wherein the associated process table is a process table downloaded from a server in advance;所述关联进程表包括进程和该进程的关联进程的信息。The associated process table includes information about a process and its associated processes.9.根据权利要求7所述的方法,其特征在于,在预设的关联进程表中查找与所述关闭的应用程序的进程相关联的关联进程,包括:9. The method according to claim 7, wherein searching for an associated process associated with the process of the closed application program in a preset associated process table comprises:确定用户选择关闭的应用程序的进程标识,将所述进程标识发送服务器,以使所述服务器在关联进程表中查找所述进程标识对应的关联进程的标识;Determine the process ID of the application program that the user chooses to close, and send the process ID to the server, so that the server searches the associated process table for the ID of the associated process corresponding to the process ID;接收所述服务器发送的所述关联进程的标识,获取所述关联进程。Receive the identifier of the association process sent by the server, and acquire the association process.10.根据权利要求6所述的方法,其特征在于,对所述关联进程对应的应用程序进行优化处理之前,10. The method according to claim 6, characterized in that, before optimizing the application program corresponding to the associated process,在所述设备的界面上展示对所述关联进程对应的应用程序进行优化的提示窗口,所述提示窗口包括:所述关联进程对应的应用程序是否优化的选项;A prompt window for optimizing the application program corresponding to the associated process is displayed on the interface of the device, and the prompt window includes: an option of whether the application program corresponding to the associated process is optimized;相应地,对所述关联进程对应的应用程序进行优化处理,包括:Correspondingly, optimizing the application program corresponding to the associated process includes:对用户在提示窗口中选择的应用程序进行优化处理。Optimize the application selected by the user in the prompt window.
CN201410778475.3A2014-12-152014-12-15Process clearing method and process clearing devicePendingCN104503841A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410778475.3ACN104503841A (en)2014-12-152014-12-15Process clearing method and process clearing device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410778475.3ACN104503841A (en)2014-12-152014-12-15Process clearing method and process clearing device

Publications (1)

Publication NumberPublication Date
CN104503841Atrue CN104503841A (en)2015-04-08

Family

ID=52945241

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410778475.3APendingCN104503841A (en)2014-12-152014-12-15Process clearing method and process clearing device

Country Status (1)

CountryLink
CN (1)CN104503841A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104991829A (en)*2015-06-302015-10-21广东欧珀移动通信有限公司Mobile terminal memory management method and related device
CN105094844A (en)*2015-08-212015-11-25广东欧珀移动通信有限公司Electronic photo album management method and mobile terminal
CN105148516A (en)*2015-06-252015-12-16四川天上友嘉网络科技有限公司Online game accelerating method
CN105183656A (en)*2015-09-302015-12-23北京金山安全软件有限公司Method, system and device for detecting package stop failure of application program
CN106020427A (en)*2016-05-312016-10-12广东欧珀移动通信有限公司Processing method and device of associated applications and mobile terminal
CN106020426A (en)*2016-05-312016-10-12广东欧珀移动通信有限公司 A wake lock release method and device
CN106227565A (en)*2016-07-272016-12-14北京金山安全软件有限公司Application control method and device and terminal
CN106250236A (en)*2016-07-272016-12-21北京金山安全软件有限公司Application control method and device and terminal
CN106557361A (en)*2016-11-142017-04-05天脉聚源(北京)传媒科技有限公司A kind of application program exits method and device
CN106681753A (en)*2016-11-012017-05-17腾讯科技(深圳)有限公司Software residual process processing method and device
CN106844070A (en)*2017-03-102017-06-13广东欧珀移动通信有限公司A kind of control method of broadcast, device and mobile terminal
WO2019024619A1 (en)*2017-07-312019-02-07Oppo广东移动通信有限公司Process management method and apparatus, storage medium, and electronic device
WO2019036906A1 (en)*2017-08-222019-02-28深圳传音通讯有限公司Android system-based low memory killer system and method
CN111176751A (en)*2019-12-182020-05-19南京巨鲨显示科技有限公司Method and system for completely closing application software
CN114117305A (en)*2021-11-292022-03-01深圳市中科明望通信软件有限公司 A process control method, device, terminal and computer-readable storage medium
WO2024055726A1 (en)*2022-09-162024-03-21Oppo广东移动通信有限公司Application management method and terminal device

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102163161A (en)*2011-04-012011-08-24奇智软件(北京)有限公司Process management method and device thereof
CN102957555A (en)*2011-08-292013-03-06中国移动通信集团上海有限公司Method, system and server for identifying inter-process association relationship in business support system
CN103809955A (en)*2012-11-152014-05-21腾讯科技(深圳)有限公司Method and device for ending process
CN103970596A (en)*2014-03-172014-08-06珠海市君天电子科技有限公司Process management method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102163161A (en)*2011-04-012011-08-24奇智软件(北京)有限公司Process management method and device thereof
CN102957555A (en)*2011-08-292013-03-06中国移动通信集团上海有限公司Method, system and server for identifying inter-process association relationship in business support system
CN103809955A (en)*2012-11-152014-05-21腾讯科技(深圳)有限公司Method and device for ending process
CN103970596A (en)*2014-03-172014-08-06珠海市君天电子科技有限公司Process management method and terminal

Cited By (23)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105148516A (en)*2015-06-252015-12-16四川天上友嘉网络科技有限公司Online game accelerating method
CN104991829B (en)*2015-06-302018-01-23广东欧珀移动通信有限公司Manage the method and relevant device of mobile terminal internal memory
CN104991829A (en)*2015-06-302015-10-21广东欧珀移动通信有限公司Mobile terminal memory management method and related device
CN105094844A (en)*2015-08-212015-11-25广东欧珀移动通信有限公司Electronic photo album management method and mobile terminal
CN105094844B (en)*2015-08-212018-05-29广东欧珀移动通信有限公司A kind of electron album management method and mobile terminal
CN105183656A (en)*2015-09-302015-12-23北京金山安全软件有限公司Method, system and device for detecting package stop failure of application program
CN105183656B (en)*2015-09-302018-03-30北京金山安全软件有限公司Method, system and device for detecting package stop failure of application program
CN106020426A (en)*2016-05-312016-10-12广东欧珀移动通信有限公司 A wake lock release method and device
WO2017206881A1 (en)*2016-05-312017-12-07广东欧珀移动通信有限公司Method and apparatus for processing associated applications, storage medium, and electronic device
CN106020427A (en)*2016-05-312016-10-12广东欧珀移动通信有限公司Processing method and device of associated applications and mobile terminal
WO2017206877A1 (en)*2016-05-312017-12-07广东欧珀移动通信有限公司Wakeup lock releasing method and apparatus, storage medium, and electronic device
CN106227565A (en)*2016-07-272016-12-14北京金山安全软件有限公司Application control method and device and terminal
CN106250236A (en)*2016-07-272016-12-21北京金山安全软件有限公司Application control method and device and terminal
CN106681753A (en)*2016-11-012017-05-17腾讯科技(深圳)有限公司Software residual process processing method and device
CN106557361A (en)*2016-11-142017-04-05天脉聚源(北京)传媒科技有限公司A kind of application program exits method and device
CN106844070A (en)*2017-03-102017-06-13广东欧珀移动通信有限公司A kind of control method of broadcast, device and mobile terminal
CN106844070B (en)*2017-03-102020-07-31Oppo广东移动通信有限公司Broadcast control method and device and mobile terminal
WO2019024619A1 (en)*2017-07-312019-02-07Oppo广东移动通信有限公司Process management method and apparatus, storage medium, and electronic device
US11157315B2 (en)2017-07-312021-10-26Guangdong Oppo Mobile Telecommunications Corp., Ltd.Method for process management and electronic device
WO2019036906A1 (en)*2017-08-222019-02-28深圳传音通讯有限公司Android system-based low memory killer system and method
CN111176751A (en)*2019-12-182020-05-19南京巨鲨显示科技有限公司Method and system for completely closing application software
CN114117305A (en)*2021-11-292022-03-01深圳市中科明望通信软件有限公司 A process control method, device, terminal and computer-readable storage medium
WO2024055726A1 (en)*2022-09-162024-03-21Oppo广东移动通信有限公司Application management method and terminal device

Similar Documents

PublicationPublication DateTitle
CN104503841A (en)Process clearing method and process clearing device
CN104461742B (en)Calculate equipment optimization method and device
CN104503840B (en)The method and device that terminal resource is optimized
CN104216905B (en) Application sharing method and device
CN104239157B (en)Method and device for optimizing and cleaning data of mobile terminal
US20150262031A1 (en)Method And Apparatus For Identifying Picture
CN104503887A (en)Method and device for showing state of computing equipment
CN104484599A (en)Behavior processing method and device based on application program
CN104123324B (en)Positioning and obtaining method and device for unread messages
CN103164229A (en)Method and device for clearing progresses of mobile terminal
CN104536813B (en)The acceleration method and device of calculating equipment
WO2016019893A1 (en)Application installation method and apparatus
CN103036770B (en)The system and method pushed for message
CN103793248B (en)Method and device for upgrading application program
CN104536792A (en)Method and device for eliminating application program residual files
WO2014026553A1 (en)Method, client, and system for recommending software
CN103701876A (en)Method and device based on shared network resources
JP6196740B2 (en) System and method for informing users about applications available for download
CN105204963A (en)Data caching method and device
CN104965731A (en)Data processing method and electronic terminal
CN104461829B (en)Calculating equipment optimization method and apparatus based on window application
CN104503839B (en)Computing device optimization method and device based on audio
CN104375831B (en)Realize the methods, devices and systems of the webpage and inter-application communication on terminal device
CN103853851B (en)Document down loading method in browser and browser device
CN103023757B (en)Message display device and methods of exhibiting

Legal Events

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

Application publication date:20150408


[8]ページ先頭

©2009-2025 Movatter.jp