[go: up one dir, main page]

CN102981906A - Application program background process management method and device - Google Patents

Application program background process management method and device Download PDF

Info

Publication number
CN102981906A
CN102981906A CN2012104643951A CN201210464395A CN102981906A CN 102981906 A CN102981906 A CN 102981906A CN 2012104643951 A CN2012104643951 A CN 2012104643951A CN 201210464395 A CN201210464395 A CN 201210464395A CN 102981906 A CN102981906 A CN 102981906A
Authority
CN
China
Prior art keywords
application program
background
instruction
receiving
running background
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
CN2012104643951A
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 Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN2012104643951A priority Critical patent/CN102981906A/en
Publication of CN102981906A publication Critical patent/CN102981906A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention is suitable for the technical field of mobile terminals, and provides a method and a device for managing background processes of an application program, wherein the method comprises the following steps: after receiving an application program return instruction, transferring a process of an application program running in a system foreground into a system background; suspending the process running in the system background; and when a process recovery instruction is received, recovering the process of the application program corresponding to the process recovery instruction, and switching to the foreground for operation. According to the technical scheme, the processes where the application program running in the background is located are suspended, the permission of the processes is limited, and the processes are not called by a CPU to be executed, so that the CPU resource can be saved, the electric quantity can be saved, and extra flow can be prevented from being wasted at some time.

Description

一种应用程序后台进程管理方法及装置Application program background process management method and device

技术领域 technical field

本发明属于移动终端技术领域,尤其涉及一种应用程序后台进程管理方法及装置。The invention belongs to the technical field of mobile terminals, and in particular relates to a method and device for managing background processes of application programs.

背景技术 Background technique

现有的移动终端可以支持多任务并行处理,用户可以同时打开多个应用程序,当前需要使用的应用程序所在进程在系统前台运行,暂时无需使用的应用程序在系统后台运行,若用户需要切换应用程序时,将在后台运行的应用程序转入前台运行即可,由于已经开启的应用程序始终在后台运行,因此,可以快速地将后台进程切换到前台运行,但是这种应用程序进程管理方式也存在严重问题:由于暂时无需使用的应用程序所在进程始终处于系统后台,可以被CPU调用,必然会占用一定的系统资源,而且过多后台进程会消耗额外的电量,如果系统后台运行的应用程序所在线程需要网络连接,这样还会消耗额外流量。Existing mobile terminals can support multi-task parallel processing. Users can open multiple applications at the same time. The process of the application that needs to be used currently runs in the foreground of the system, and the application that does not need to be used temporarily runs in the background of the system. If the user needs to switch applications When running a program, just transfer the application running in the background to the foreground. Since the opened application is always running in the background, you can quickly switch the background process to the foreground. However, this method of application process management is also There is a serious problem: because the process of the application program that is not used temporarily is always in the background of the system and can be called by the CPU, it will inevitably occupy a certain amount of system resources, and too many background processes will consume extra power. If the application program running in the background of the system is located Threads require a network connection, which consumes additional traffic.

发明内容 Contents of the invention

鉴于上述问题,本发明的目的在于提供一种应用程序后台进程管理方法及装置,旨在解决现有的应用程序后台进程管理方式需要占用额外资源,而且还会消耗额外的电量甚至流量的技术问题。In view of the above problems, the purpose of the present invention is to provide a method and device for managing background processes of application programs, aiming at solving the technical problems that existing background process management methods of application programs need to occupy additional resources and consume additional power and even traffic .

一方面,所述应用程序后台进程管理方法包括:In one aspect, the application program background process management method includes:

接收到应用程序返回指令后,将系统前台运行的应用程序所在进程转入系统后台;After receiving the application program return instruction, transfer the process of the application program running in the foreground of the system to the background of the system;

挂起所述处于系统后台运行的进程;Suspend the process running in the background of the system;

接收到进程恢复指令时,恢复所述进程恢复指令对应的应用程序所在进程,并转入前台运行。When receiving the process recovery instruction, resume the process of the application program corresponding to the process recovery instruction, and turn to the foreground to run.

另一方面,所述应用程序后台进程管理装置包括:On the other hand, the application background process management device includes:

后台转入单元,用于在接收到应用程序返回指令后,将系统前台运行的应用程序所在进程转入系统后台;The background transfer unit is used to transfer the process of the application program running in the system foreground to the system background after receiving the application program return instruction;

进程挂起单元,用于挂起所述处于系统后台运行的进程;A process suspending unit, configured to suspend the process running in the background of the system;

进程恢复运行单元,用于在接收到进程恢复指令时,恢复所述进程恢复指令对应的应用程序所在进程,并转入前台运行。The process recovery running unit is used for recovering the process of the application program corresponding to the process recovery command when receiving the process recovery command, and switching to the foreground to run.

本发明的有益效果是:本发明技术方案中,当应用程序所在进程处于系统后台时,可以将该进程挂起,不会被cpu调度,即无法继续运行,释放出部分系统资源;当后台应用程序需要再次回到前台时,把之前挂起的进程恢复并转入系统前台正常运行,由于本发明中,后台进程被挂起,无法继续运行,可以在一定程度上节约系统资源和节省电量,另外被挂起的进程也无法连接网络,避免浪费额外的流量。The beneficial effects of the present invention are: in the technical scheme of the present invention, when the process of the application program is in the background of the system, the process can be suspended and will not be scheduled by the cpu, that is, it cannot continue to run, and part of the system resources are released; when the background application When the program needs to return to the foreground again, the previously suspended process is restored and transferred to the system foreground to run normally. Because in the present invention, the background process is suspended and cannot continue to run, system resources and power can be saved to a certain extent. In addition, the suspended process cannot connect to the network to avoid wasting additional traffic.

附图说明 Description of drawings

图1是本发明第一实施例提供的应用程序后台进程管理方法的流程图;Fig. 1 is a flow chart of the application background process management method provided by the first embodiment of the present invention;

图2是本发明第二实施例提供的应用程序后台进程管理方法的流程图;FIG. 2 is a flow chart of a method for managing an application background process provided by a second embodiment of the present invention;

图3是本发明第三实施例提供的应用程序后台进程管理装置的结构框图;Fig. 3 is a structural block diagram of an application program background process management device provided by a third embodiment of the present invention;

图4是本发明第四实施例提供的应用程序后台进程管理装置的结构框图。Fig. 4 is a structural block diagram of an application program background process management device provided by a fourth embodiment of the present invention.

具体实施方式 Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, 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, not to limit the present invention.

为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

实施例一:Embodiment one:

图1示出了本发明第一实施例提供的应用程序后台进程管理方法的流程,为了便于说明仅示出了与本发明实施例相关的部分。Fig. 1 shows the flow of the application program background process management method provided by the first embodiment of the present invention, and only shows the part related to the embodiment of the present invention for the convenience of description.

本实施例提供的应用程序后台进程管理方法包括下述步骤:The application background process management method provided in this embodiment includes the following steps:

步骤S101、接收到应用程序返回指令后,将系统前台运行的应用程序所在进程转入系统后台。Step S101, after receiving the application program return instruction, transfer the process of the application program running in the foreground of the system to the background of the system.

本步骤中所述的应用程序返回指令后由用户触发,具体的,在移动终端中在系统前台运行了一个应用程序,若用户想切换其他应用程序或者暂且不使用该应用程序时,通过点击移动终端界面上的返回键,触发生成应用程序返回指令,需要说明的是,所述返回键不是退出键,不退出该应用程序,只是将该应用程序转入到系统后台。The application program described in this step is triggered by the user after returning the command. Specifically, an application program is running in the foreground of the system in the mobile terminal. The return key on the terminal interface triggers the generation of an application program return command. It should be noted that the return key is not an exit key, and does not exit the application program, but only transfers the application program to the system background.

步骤S102、挂起所述处于系统后台运行的进程。Step S102, suspending the process running in the background of the system.

本步骤中为了使得处于系统后台的进程不被CPU调用,将所述处于系统后台的进程挂起,限制进程的运行权限,In this step, in order to make the process in the background of the system not called by the CPU, the process in the background of the system is suspended, and the operating authority of the process is limited.

步骤S103、接收到进程恢复指令时,恢复所述进程恢复指令对应的应用程序所在进程,并转入前台运行。Step S103 , when the process restoration instruction is received, restore the process of the application program corresponding to the process restoration instruction, and turn to the foreground to run.

本步骤中所述的进程恢复指令同样由用户触发生成,具体的,用户可以在移动终端直接打开已经被挂起的应用程序,包括可以在程序库中打开也可以在历史记录中打开,这里不限定具体的应用程序开启方式,当点击打开已被挂起的应用程序后,生成进程恢复指令,该指令中包括需要恢复的应用程序的相关信息,根据该指令恢复对应的应用程序所在进程,并转入前台运行,实现时更改进程权限即可。The process recovery instruction described in this step is also triggered and generated by the user. Specifically, the user can directly open the suspended application program on the mobile terminal, including opening it in the program library or opening it in the history record. Limit the specific opening method of the application program. After clicking to open the application program that has been suspended, a process recovery instruction is generated. The instruction includes the relevant information of the application program that needs to be restored. According to the instruction, the process of the corresponding application program is resumed, and Turn to the foreground to run, and change the process permissions when implementing.

本实施例提供的应用程序后台进程管理方法将后台进程挂起,限制这些进程的权限,使得不被CPU调用执行,这样可以节约CPU资源同时也可以节省电量,在有些时候也可以避免浪费额外流量。The application program background process management method provided by this embodiment suspends the background processes, limits the authority of these processes, and prevents them from being called and executed by the CPU, which can save CPU resources and also save power, and can also avoid wasting extra traffic in some cases .

实施例二:Embodiment two:

图2示出了本发明第二实施例提供的应用程序后台进程管理方法的流程,为了便于说明仅示出了与本发明实施例相关的部分。Fig. 2 shows the flow of the application program background process management method provided by the second embodiment of the present invention, and only shows the part related to the embodiment of the present invention for convenience of description.

本实施例提供的应用程序后台进程管理方法包括下述步骤:The application background process management method provided in this embodiment includes the following steps:

步骤S201、接收到应用程序返回指令后,将系统前台运行的应用程序所在进程转入系统后台;Step S201, after receiving the application program return instruction, transfer the process of the application program running in the foreground of the system to the background of the system;

步骤S202、判断所述转入系统后台运行的进程是否满足挂起策略;Step S202, judging whether the process transferred to the system to run in the background satisfies the suspension policy;

步骤S203、若满足挂起策略,则挂起所述转入系统后台运行的进程。Step S203, if the suspension policy is satisfied, then suspend the process transferred to the system to run in the background.

上述步骤S202、S203是实施例一中步骤S102的一种具体优选的实现方式,本实施例中,不对所有处于后台运行的进程进行挂起操作,首先需要定义挂起策略,比如设置只针对某些应用程序的进程挂起,比如对于社交应用程序,如QQ等,就可以让其在后台上始终运行,保证可以实时接收到消息,而对于浏览器等可以将其挂起,具体用户可以在移动终端的相关设置界面设置,选择可以后台挂起的应用程序。在具体实现时,可以通过相关语句即可判断当前应用程序所在进程是否满足挂起策略,The above steps S202 and S203 are a specific preferred implementation of step S102 in the first embodiment. In this embodiment, all processes running in the background are not suspended. First, a suspension strategy needs to be defined, such as setting only for a certain Suspend the process of some applications. For example, for social applications, such as QQ, etc., you can keep them running in the background to ensure that you can receive messages in real time. For browsers, etc., you can suspend them. On the relevant setting interface of the mobile terminal, select the application that can be suspended in the background. In the specific implementation, you can judge whether the process where the current application program is located satisfies the suspension policy through relevant statements.

比如对于JAVA语言:For example, for the JAVA language:

对于C++语言:For C++ language:

Figure BDA00002417812400042
Figure BDA00002417812400042

Figure BDA00002417812400051
Figure BDA00002417812400051

定义管理类进行相应判断即可知晓当前进程是否满足挂起策略,满足的话就将该进程挂起,使其处于暂停状态。Define the management class to make corresponding judgments to know whether the current process satisfies the suspension policy, and if so, suspend the process and make it in a suspended state.

步骤S204、当所述处于系统后台运行的进程不满足挂起策略或满足恢复策略时,恢复该进程。Step S204, when the process running in the background of the system does not satisfy the suspension policy or the recovery policy, resume the process.

若用户在使用过程中更改了策略设置,使得处于挂起状态的进程不满足挂起策略时,将所述进程恢复,或者用户也可以设置恢复策略,当满足恢复策略时恢复该进程,比如可以设置将后台进程挂起一段时间后,恢复该进程,过一段时间后再次挂起,本实施例不限定具体的挂起策略和恢复策略,可以根据实际情况进行修改和设定。If the user changes the policy setting during use, so that when the process in the suspended state does not meet the suspension policy, the process will be restored, or the user can also set a recovery policy, and the process will be resumed when the recovery policy is met, for example, you can Set to suspend the background process for a period of time, resume the process, and suspend it again after a period of time. This embodiment does not limit the specific suspension strategy and recovery strategy, which can be modified and set according to actual conditions.

具体的,对应JAVA语言:Specifically, corresponding to the JAVA language:

Figure BDA00002417812400052
Figure BDA00002417812400052

对于C++语言:For C++ language:

Figure BDA00002417812400053
Figure BDA00002417812400053

通过判断进程是否被挂起以及是否满足挂起策略即可恢复该进程对应的应用程序。The application program corresponding to the process can be resumed by judging whether the process is suspended and whether the suspension policy is satisfied.

步骤S205、接收到进程恢复指令时,恢复所述进程恢复指令对应的应用程序所在进程,并转入前台运行。Step S205 , when the process restoration instruction is received, restore the process of the application program corresponding to the process restoration instruction, and switch to the foreground to run.

这里所述的进程恢复指令由用户触发,当用户启动已挂起的应用程序时,恢复所述应用程序所在进程,并将该应用程序转入前台运行。The process recovery instruction described here is triggered by the user, and when the user starts the suspended application program, the process where the application program is located is resumed, and the application program is transferred to the foreground to run.

步骤S206、接收到进程后台管理开启指令时,将后台运行的满足挂起策略的进程挂起;Step S206: Suspend the process running in the background that satisfies the suspension policy when receiving the process background management start instruction;

步骤S207、接收到进程后台管理关闭指令时,恢复所有系统后台挂起的进程。Step S207, when receiving the process background management closing instruction, resume all the processes suspended in the system background.

上述两步骤中考虑到了用户在使用移动终端时可能修改进程管理设置,可以在相关的界面上设置开启或关闭进程后台管理,本实施例不限定具体的步骤顺序,用户可以在任何时候进行相关设置。如果用户设置开启进程后台管理时,此时对于当前所有处于后台运行的进程进行逐一判断,当满足挂起策略时,挂起该进程;同样用户也可以选择设置关闭进程后台管理,此时对应当前已经被挂起的进程全部予以恢复。在本实施例中,用户可以选择是否开启后台进程管理,无需强迫使用本方法进行后台进程管理,增加了移动终端操作的灵活性。In the above two steps, it is considered that the user may modify the process management settings when using the mobile terminal, and the background management of the process can be set to be turned on or off on the relevant interface. This embodiment does not limit the specific sequence of steps, and the user can make relevant settings at any time . If the user sets to enable process background management, at this time, all processes currently running in the background are judged one by one, and when the suspension policy is satisfied, the process is suspended; similarly, the user can also choose to set to close the process background management, which corresponds to the current All suspended processes are resumed. In this embodiment, the user can choose whether to enable background process management, and there is no need to use this method for background process management, which increases the flexibility of the mobile terminal operation.

实施例三:Embodiment three:

图3示出了本发明第三实施例提供的应用程序后台进程管理装置的结构,为了便于说明仅示出了与本发明实施例相关的部分。Fig. 3 shows the structure of the application program background process management apparatus provided by the third embodiment of the present invention, and only shows the part related to the embodiment of the present invention for the convenience of description.

本实施例提供的应用程序后台进程管理装置包括:The application program background process management device provided in this embodiment includes:

后台转入单元301,用于在接收到应用程序返回指令后,将系统前台运行的应用程序所在进程转入系统后台;The background transfer unit 301 is used to transfer the process of the application program running in the system foreground to the system background after receiving the application return instruction;

进程挂起单元302,用于挂起所述处于系统后台运行的进程;A process suspending unit 302, configured to suspend the process running in the background of the system;

进程恢复运行单元303,用于在接收到进程恢复指令时,恢复所述进程恢复指令对应的应用程序所在进程,并转入前台运行。The process recovery running unit 303 is configured to recover the process of the application program corresponding to the process recovery command when receiving the process recovery command, and switch to the foreground to run.

本实施例提供的各个功能单元301-303对应实现了实施例一中的步骤S101-S103,具体的,在接收到应用程序返回指令后,后台转入单元301将系统前台运行的应用程序所在进程转入系统后台,进程挂起单元302挂起所述处于系统后台运行的进程,在接收到进程恢复指令时,进程恢复运行单元303恢复所述进程恢复指令对应的应用程序所在进程,并转入前台运行。本实施例提供的应用程序后台进程管理装置将后台进程挂起,限制这些进程的权限,使得不被CPU调用执行,这样可以节约CPU资源同时也可以节省电量,在有些时候也可以避免浪费额外流量Each functional unit 301-303 provided in this embodiment correspondingly implements steps S101-S103 in the first embodiment. Specifically, after receiving the application program return instruction, the background transfer unit 301 transfers the process of the application program running in the foreground of the system to Go to the system background, the process suspension unit 302 suspends the process running in the system background, when receiving the process recovery instruction, the process recovery operation unit 303 resumes the process where the application program corresponding to the process recovery instruction is, and transfers to The foreground runs. The application program background process management device provided in this embodiment suspends the background processes, limits the authority of these processes, so that they are not invoked and executed by the CPU, which can save CPU resources and also save power, and can also avoid wasting additional traffic in some cases

实施例四:Embodiment four:

图4示出了本发明第四实施例提供的应用程序后台进程管理装置的结构,为了便于说明仅示出了与本发明实施例相关的部分。Fig. 4 shows the structure of the application program background process management apparatus provided by the fourth embodiment of the present invention, and only shows the part related to the embodiment of the present invention for the convenience of description.

本实施例提供的应用程序后台进程管理装置包括:The application program background process management device provided in this embodiment includes:

后台转入单元41,用于在接收到应用程序返回指令后,将系统前台运行的应用程序所在进程转入系统后台;The background transfer unit 41 is used to transfer the process of the application program running in the system foreground to the system background after receiving the application return instruction;

进程挂起单元42,用于挂起所述处于系统后台运行的进程;A process suspending unit 42, configured to suspend the process running in the background of the system;

进程恢复单元43,用于当所述处于系统后台运行的进程不满足挂起策略或满足恢复策略时,恢复该进程;A process recovery unit 43, configured to recover the process when the process running in the background of the system does not meet the suspension policy or the recovery policy;

进程恢复运行单元44,用于在接收到进程恢复指令时,恢复所述进程恢复指令对应的应用程序所在进程,并转入前台运行。The process recovery running unit 44 is configured to recover the process of the application program corresponding to the process recovery command when receiving the process recovery command, and switch to the foreground to run.

其中,所述进程挂起单元42包括:Wherein, the process suspension unit 42 includes:

判断模块421,用于判断所述转入系统后台运行的进程是否满足挂起策略;A judging module 421, configured to judge whether the process transferred into the background of the system satisfies the suspension policy;

进程挂起模块422,用于若满足挂起策略,则挂起所述转入系统后台运行的进程。The process suspending module 422 is configured to suspend the process transferred to the system to run in the background if the suspending policy is satisfied.

所述进程恢复单元43还用于在接收到进程后台管理关闭指令时,恢复所有系统后台挂起的进程。The process recovery unit 43 is also configured to recover all the processes suspended in the background of the system when receiving the process background management closing instruction.

所述进程挂起单元42还用于在接收到进程后台管理开启指令时,将后台运行的满足挂起策略的进程挂起。The process suspending unit 42 is also configured to suspend the process running in the background that satisfies the suspension policy when receiving the process background management enabling instruction.

本实施例提供的各个功能单元及功能模块对应实现了实施例二中的各个步骤,本实施例在实施例一的基础上增加了进程恢复单元43以及描述了进程挂起单元42的具体结构,同时描述了所述进程恢复单元43和进程挂起单元42另外的功能。本实施例提供应用程序后台进程管理装置不仅仅可以根据用户的触发命令恢复相应进程,也可以自动判断是否满足恢复策略或者不满足挂起策略来进行进程恢复,此外用户也可以在使用移动终端的过程中更改设置,开启或关闭后台进程管理,同时执行相应操作,将满足挂起策略的进程挂起,或者恢复所有系统后台挂起的进程。The various functional units and functional modules provided in this embodiment correspond to the various steps in the second embodiment. This embodiment adds a process recovery unit 43 and describes the specific structure of the process suspension unit 42 on the basis of the first embodiment. At the same time, other functions of the process recovery unit 43 and the process suspension unit 42 are described. This embodiment provides an application program background process management device that can not only restore the corresponding process according to the trigger command of the user, but also automatically determine whether the recovery policy is satisfied or the suspension policy is not satisfied to restore the process. In addition, the user can also use the mobile terminal Change settings during the process, enable or disable background process management, and perform corresponding operations at the same time to suspend processes that meet the suspension policy, or restore all system background suspended processes.

综上,部分所述的几个实施例将后台进程挂起,限制这些进程的权限,使得不被CPU调用执行,这样可以节约CPU资源同时也可以节省电量,在有些时候也可以避免浪费额外流量。To sum up, some of the above-mentioned embodiments suspend background processes and limit the permissions of these processes so that they are not invoked and executed by the CPU. This can save CPU resources and also save power, and in some cases can also avoid wasting additional traffic. .

本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以在存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘、光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. Storage media, such as ROM/RAM, magnetic disk, optical disk, etc.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (10)

1. application program background process management method is characterized in that described method comprises:
After receiving the application program link order, change the application program place process of system's front stage operation over to the system backstage;
Hang up the described process that is in system's running background;
When the process that receives is recovered instruction, recover described process and recover application program place process corresponding to instruction, and change front stage operation over to.
2. method as claimed in claim 1 is characterized in that, hangs up the described process steps that is in system's running background, specifically comprises:
Judge whether the described process that changes system's running background over to satisfies the hang-up strategy;
Hang up strategy if satisfy, then hang up the described process that changes system's running background over to.
3. method as claimed in claim 2 is characterized in that, when the process that receives is recovered instruction, recovers described process and recovers application program place process corresponding to instruction, and change over to before the front stage operation step, also comprises:
When the described process that is in system's running background does not satisfy the hang-up strategy or satisfies recovery policy, recover this process.
4. such as claim 1-3 method as described in each, it is characterized in that, described when receiving process and recovering instruction, recover described process and recover application program place process corresponding to instruction, and change over to after the front stage operation step, also comprise:
When receiving the out code of process back-stage management, recover the process that all system backstages are hung up.
5. such as claim 1-3 method as described in each, it is characterized in that, described when receiving process and recovering instruction, recover described process and recover application program place process corresponding to instruction, and change over to after the front stage operation step, also comprise:
When receiving process back-stage management open command, the satisfied process of hanging up strategy of running background is hung up.
6. application program background process management devices is characterized in that described device comprises:
The backstage changes the unit over to, is used for after receiving the application program link order, changes the application program place process of system's front stage operation over to the system backstage;
Process is hung up the unit, is used for hanging up the described process that is in system's running background;
The process unit that resumes operation is used for recovering described process and recovering application program place process corresponding to instruction, and change front stage operation over to when the process that receives is recovered instruction.
7. install as claimed in claim 6, it is characterized in that, described process is hung up the unit and is specifically comprised:
Judge module is used for judging whether the described process that changes system's running background over to satisfies the hang-up strategy;
Process is hung up module, hangs up strategy if be used for satisfying, and then hangs up the described process that changes system's running background over to.
8. install as claimed in claim 7, it is characterized in that described device also comprises:
The process recovery unit is used for recovering this process when the described process that is in system's running background does not satisfy the hang-up strategy or satisfies recovery policy.
9. such as device as described in the claim 6-8, it is characterized in that described process recovery unit also is used for recovering the process that all system backstages are hung up when receiving the out code of process back-stage management.
10. such as device as described in the claim 6-8, it is characterized in that described process is hung up the unit and also is used for when receiving process back-stage management open command, the satisfied process of hanging up strategy of running background is hung up.
CN2012104643951A 2012-11-16 2012-11-16 Application program background process management method and device Pending CN102981906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104643951A CN102981906A (en) 2012-11-16 2012-11-16 Application program background process management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104643951A CN102981906A (en) 2012-11-16 2012-11-16 Application program background process management method and device

Publications (1)

Publication Number Publication Date
CN102981906A true CN102981906A (en) 2013-03-20

Family

ID=47855964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104643951A Pending CN102981906A (en) 2012-11-16 2012-11-16 Application program background process management method and device

Country Status (1)

Country Link
CN (1) CN102981906A (en)

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226491A (en) * 2013-04-08 2013-07-31 北京小米科技有限责任公司 Method and device for setting application program states
CN103476064A (en) * 2013-09-13 2013-12-25 小米科技有限责任公司 Method and device for flow control of terminal device and terminal device
CN103853610A (en) * 2012-12-07 2014-06-11 腾讯科技(深圳)有限公司 Resource optimization method and resource optimization device
CN104102540A (en) * 2014-06-30 2014-10-15 上海卓悠网络科技有限公司 Operation process management method and mobile terminal
CN104252389A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Application operation method, system and application
CN104572167A (en) * 2013-10-28 2015-04-29 国际商业机器公司 Computer system and method for launching and managing an unattended application program
WO2015081713A1 (en) * 2013-12-03 2015-06-11 Tencent Technology (Shenzhen) Company Limited Method and apparatus for running applications in background
CN105208642A (en) * 2015-10-10 2015-12-30 魅族科技(中国)有限公司 Application management method and terminal
WO2016095681A1 (en) * 2014-12-19 2016-06-23 北京奇虎科技有限公司 Method and device for application running in background
CN105868624A (en) * 2016-03-23 2016-08-17 北京小米移动软件有限公司 Application program authority management method and device
CN105893134A (en) * 2016-04-20 2016-08-24 联想(北京)有限公司 Information processing method and electronic equipment
CN106101806A (en) * 2016-07-04 2016-11-09 天脉聚源(北京)传媒科技有限公司 A kind of method for processing video frequency when sharing live video and device
CN106095507A (en) * 2016-06-16 2016-11-09 依偎科技(南昌)有限公司 A kind of method controlling navigation operation and terminal
CN106126392A (en) * 2016-06-30 2016-11-16 乐视控股(北京)有限公司 The determination methods of a kind of AM/BAM application program and device
CN106126305A (en) * 2016-07-05 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of application freezing method, device and mobile terminal
CN106484538A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A memory control method and device for terminal equipment and terminal equipment
CN106648849A (en) * 2016-10-18 2017-05-10 上海传英信息技术有限公司 Process freezing method and mobile terminal
CN106708575A (en) * 2016-12-20 2017-05-24 北京奇虎科技有限公司 Mobile terminal and method and device for loading and operating applications by mobile terminal
US9727351B2 (en) 2013-04-08 2017-08-08 Xiaomi Inc. Method and device for setting status of application
CN107305422A (en) * 2016-04-25 2017-10-31 中兴通讯股份有限公司 Economize on electricity processing method and processing device
CN107391259A (en) * 2017-07-25 2017-11-24 广东欧珀移动通信有限公司 Method for processing resource and device, computer-readable recording medium, mobile terminal
CN107479953A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 process management method, device, storage medium and electronic equipment
CN108052258A (en) * 2017-12-28 2018-05-18 维沃移动通信有限公司 A terminal task processing method, task processing device and mobile terminal
CN108399085A (en) * 2018-02-12 2018-08-14 广东欧珀移动通信有限公司 electronic device, application management method and related product
CN108877143A (en) * 2018-04-20 2018-11-23 深圳市沃特沃德股份有限公司 Amusement of children garden project safety prompt function method and device thereof
CN109155765A (en) * 2016-06-14 2019-01-04 麦克赛尔株式会社 communication control method
CN109302333A (en) * 2018-11-13 2019-02-01 奇酷互联网络科技(深圳)有限公司 A kind of uplink resource allocating method, user equipment and the device with store function
CN109445567A (en) * 2018-09-30 2019-03-08 联想(北京)有限公司 Information processing method and electronic equipment
WO2019071619A1 (en) * 2017-10-13 2019-04-18 华为技术有限公司 Application management method and terminal
CN110083444A (en) * 2013-12-10 2019-08-02 华为终端有限公司 A kind of task management method and equipment
CN110691401A (en) * 2019-08-28 2020-01-14 华为技术有限公司 System application management method and device
CN110851819A (en) * 2019-11-20 2020-02-28 杭州安恒信息技术股份有限公司 Multi-application access authority control method and device and electronic equipment
CN112181529A (en) * 2020-10-12 2021-01-05 Oppo广东移动通信有限公司 Application program control method and device and electronic equipment
WO2021043046A1 (en) * 2019-09-05 2021-03-11 华为技术有限公司 Resource management and control method and device
CN114518954A (en) * 2020-11-20 2022-05-20 华为技术有限公司 A management method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655808A (en) * 2009-09-07 2010-02-24 宇龙计算机通信科技(深圳)有限公司 Application program management method and mobile communication terminal
US20110179366A1 (en) * 2010-01-18 2011-07-21 Samsung Electronics Co. Ltd. Method and apparatus for privacy protection in mobile terminal
TW201134265A (en) * 2010-03-24 2011-10-01 Mitake Information Corp Device and method for auto data network connection/disconnection of the finance software on a mobile apparatus
CN102298538A (en) * 2010-04-07 2011-12-28 苹果公司 Opportunistic Multitasking
CN102681896A (en) * 2011-02-14 2012-09-19 微软公司 Dormant background applications on mobile devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655808A (en) * 2009-09-07 2010-02-24 宇龙计算机通信科技(深圳)有限公司 Application program management method and mobile communication terminal
US20110179366A1 (en) * 2010-01-18 2011-07-21 Samsung Electronics Co. Ltd. Method and apparatus for privacy protection in mobile terminal
TW201134265A (en) * 2010-03-24 2011-10-01 Mitake Information Corp Device and method for auto data network connection/disconnection of the finance software on a mobile apparatus
CN102298538A (en) * 2010-04-07 2011-12-28 苹果公司 Opportunistic Multitasking
CN102681896A (en) * 2011-02-14 2012-09-19 微软公司 Dormant background applications on mobile devices

Cited By (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853610A (en) * 2012-12-07 2014-06-11 腾讯科技(深圳)有限公司 Resource optimization method and resource optimization device
CN103853610B (en) * 2012-12-07 2018-11-16 腾讯科技(深圳)有限公司 Method for optimizing resources and device
CN103226491A (en) * 2013-04-08 2013-07-31 北京小米科技有限责任公司 Method and device for setting application program states
US9727351B2 (en) 2013-04-08 2017-08-08 Xiaomi Inc. Method and device for setting status of application
CN103226491B (en) * 2013-04-08 2017-06-16 小米科技有限责任公司 A kind of method and device that Application Status are set
CN104252389A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Application operation method, system and application
CN104252389B (en) * 2013-06-27 2016-04-13 腾讯科技(深圳)有限公司 application program operation method, system
CN103476064A (en) * 2013-09-13 2013-12-25 小米科技有限责任公司 Method and device for flow control of terminal device and terminal device
CN104572167A (en) * 2013-10-28 2015-04-29 国际商业机器公司 Computer system and method for launching and managing an unattended application program
CN104572167B (en) * 2013-10-28 2019-01-22 国际商业机器公司 The method and computer system of starting and the unmanned application program participated in of management
WO2015081713A1 (en) * 2013-12-03 2015-06-11 Tencent Technology (Shenzhen) Company Limited Method and apparatus for running applications in background
CN110083444B (en) * 2013-12-10 2024-06-11 华为终端有限公司 Task management method and device
US11662802B2 (en) 2013-12-10 2023-05-30 Huawei Device Co., Ltd. Task management method and device
CN110083444A (en) * 2013-12-10 2019-08-02 华为终端有限公司 A kind of task management method and equipment
CN104102540A (en) * 2014-06-30 2014-10-15 上海卓悠网络科技有限公司 Operation process management method and mobile terminal
CN104102540B (en) * 2014-06-30 2017-08-25 上海卓悠网络科技有限公司 The management method and mobile terminal of a kind of operation process
WO2016095681A1 (en) * 2014-12-19 2016-06-23 北京奇虎科技有限公司 Method and device for application running in background
CN105208642A (en) * 2015-10-10 2015-12-30 魅族科技(中国)有限公司 Application management method and terminal
CN105208642B (en) * 2015-10-10 2018-08-21 魅族科技(中国)有限公司 A kind of method and terminal of application management
CN105868624A (en) * 2016-03-23 2016-08-17 北京小米移动软件有限公司 Application program authority management method and device
CN105893134A (en) * 2016-04-20 2016-08-24 联想(北京)有限公司 Information processing method and electronic equipment
CN107305422A (en) * 2016-04-25 2017-10-31 中兴通讯股份有限公司 Economize on electricity processing method and processing device
WO2017185656A1 (en) * 2016-04-25 2017-11-02 中兴通讯股份有限公司 Power-saving processing method and apparatus
CN109155765A (en) * 2016-06-14 2019-01-04 麦克赛尔株式会社 communication control method
CN106095507A (en) * 2016-06-16 2016-11-09 依偎科技(南昌)有限公司 A kind of method controlling navigation operation and terminal
CN106126392A (en) * 2016-06-30 2016-11-16 乐视控股(北京)有限公司 The determination methods of a kind of AM/BAM application program and device
CN106101806B (en) * 2016-07-04 2019-07-02 天脉聚源(北京)传媒科技有限公司 Method for processing video frequency and device when a kind of sharing live video
CN106101806A (en) * 2016-07-04 2016-11-09 天脉聚源(北京)传媒科技有限公司 A kind of method for processing video frequency when sharing live video and device
CN106126305A (en) * 2016-07-05 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of application freezing method, device and mobile terminal
CN106484538B (en) * 2016-10-10 2020-01-14 Oppo广东移动通信有限公司 Memory control method and device of terminal equipment and terminal equipment
CN106484538A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A memory control method and device for terminal equipment and terminal equipment
CN106648849A (en) * 2016-10-18 2017-05-10 上海传英信息技术有限公司 Process freezing method and mobile terminal
CN106708575A (en) * 2016-12-20 2017-05-24 北京奇虎科技有限公司 Mobile terminal and method and device for loading and operating applications by mobile terminal
CN107391259A (en) * 2017-07-25 2017-11-24 广东欧珀移动通信有限公司 Method for processing resource and device, computer-readable recording medium, mobile terminal
CN107479953A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 process management method, device, storage medium and electronic equipment
WO2019071619A1 (en) * 2017-10-13 2019-04-18 华为技术有限公司 Application management method and terminal
US11409567B2 (en) 2017-10-13 2022-08-09 Huawei Technologies Co., Ltd. Application management method and terminal
CN108052258B (en) * 2017-12-28 2020-02-11 维沃移动通信有限公司 Terminal task processing method, task processing device and mobile terminal
CN108052258A (en) * 2017-12-28 2018-05-18 维沃移动通信有限公司 A terminal task processing method, task processing device and mobile terminal
CN108399085A (en) * 2018-02-12 2018-08-14 广东欧珀移动通信有限公司 electronic device, application management method and related product
CN108399085B (en) * 2018-02-12 2020-01-14 Oppo广东移动通信有限公司 Electronic device, application management method and related product
CN108877143B (en) * 2018-04-20 2021-06-22 深圳市沃特沃德股份有限公司 Children amusement park project safety reminding method and device
CN108877143A (en) * 2018-04-20 2018-11-23 深圳市沃特沃德股份有限公司 Amusement of children garden project safety prompt function method and device thereof
CN109445567A (en) * 2018-09-30 2019-03-08 联想(北京)有限公司 Information processing method and electronic equipment
CN109445567B (en) * 2018-09-30 2021-11-16 联想(北京)有限公司 Information processing method and electronic device
CN109302333A (en) * 2018-11-13 2019-02-01 奇酷互联网络科技(深圳)有限公司 A kind of uplink resource allocating method, user equipment and the device with store function
CN110691401A (en) * 2019-08-28 2020-01-14 华为技术有限公司 System application management method and device
WO2021043046A1 (en) * 2019-09-05 2021-03-11 华为技术有限公司 Resource management and control method and device
CN110851819A (en) * 2019-11-20 2020-02-28 杭州安恒信息技术股份有限公司 Multi-application access authority control method and device and electronic equipment
CN112181529A (en) * 2020-10-12 2021-01-05 Oppo广东移动通信有限公司 Application program control method and device and electronic equipment
CN114518954A (en) * 2020-11-20 2022-05-20 华为技术有限公司 A management method and related device

Similar Documents

Publication Publication Date Title
CN102981906A (en) Application program background process management method and device
CN103092691B (en) A kind of process management method and administrative unit of Android system
CN110677305B (en) Automatic scaling method and system in cloud computing environment
CN103473142B (en) Virtual machine migration method under a kind of cloud computing operating system and device
CN103428241B (en) Service arrangement method and system
US10091307B2 (en) Application management method and terminal
CN100570575C (en) Method and device for data backup
CN103176842A (en) Background process management method and mobile terminal thereof
CN106959874B (en) The electronic equipment of application management method and application this method based on operating system
CN103078933B (en) A kind of method and apparatus determining data migration time
CN108023958B (en) Resource scheduling system based on cloud platform resource monitoring
CN105792335B (en) A kind of method and terminal device improving cruise duration
CN104244381A (en) Method, device and terminal device for awakening control
US8539271B2 (en) Determining a power saving mode based on a hardware resource utilization trend
CN104168310A (en) Method and apparatus for scheduling cloud end vertual server
CN103064733A (en) Cloud computing virtual machine live migration technology
CN103780428A (en) Centralized resource management method and system applied to cloud architecture
CN106125891A (en) Terminal power optimization method, device and terminal
CN107977254B (en) Response method and computer readable storage medium for request in cloud data system
CN107306230B (en) Method, device, controller and core network equipment for network resource deployment
CN103257700A (en) Energy saving method and energy saving device for Android system
CN103051793B (en) Method and device for controlling data transmission mode of mobile terminal
US9882787B2 (en) Service management in appliance-based solutions
CN103856502A (en) Method and NAS cluster system for realizing mirror image document thermal migration of virtual machine
KR101890046B1 (en) Concurrent network application scheduling for reduced power consumption

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130320

RJ01 Rejection of invention patent application after publication