CN107844342B - Application program keep alive management and control method, device and storage medium and mobile terminal - Google Patents
Application program keep alive management and control method, device and storage medium and mobile terminal Download PDFInfo
- Publication number
- CN107844342B CN107844342B CN201711168305.3A CN201711168305A CN107844342B CN 107844342 B CN107844342 B CN 107844342B CN 201711168305 A CN201711168305 A CN 201711168305A CN 107844342 B CN107844342 B CN 107844342B
- Authority
- CN
- China
- Prior art keywords
- application
- foreground service
- application program
- foreground
- setting
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及应用管控技术领域,尤其涉及一种应用程序保活的管控方法、装置及存储介质和移动终端。The embodiments of the present application relate to the technical field of application management and control, and in particular, to a management and control method, device, storage medium, and mobile terminal for keeping an application program alive.
背景技术Background technique
手机等移动终端中应用程序的种类和可实现的功能越来越多,为人们的生活和工作提供了便利,人们可以利用手机接打电话,还可以听音乐、观看视频、玩游戏等。但有些流氓应用程序为了保持自己可以一直运行,而通过一些保活方式自启动或者保持运行状态。相关技术中,对于应用程序保活的管控方法存在缺陷,需要改进。There are more and more types and functions of applications in mobile terminals such as mobile phones, which provide convenience for people's life and work. People can use mobile phones to make calls, listen to music, watch videos, and play games. However, some rogue applications use some keep-alive methods to self-start or keep running in order to keep themselves running all the time. In the related art, there are defects in the management and control method for application program keep-alive, which needs to be improved.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种应用程序保活的管控方法、装置及存储介质和移动终端,可以合理的管控应用程序的保活。The embodiments of the present application provide a method, device, storage medium, and mobile terminal for managing and controlling application program keep-alive, which can reasonably manage and control the keep-alive of application programs.
在第一方面,本申请实施例提供了一种应用程序保活的管控方法,包括:In a first aspect, an embodiment of the present application provides a management and control method for application keep-alive, including:
获取请求设置前台服务的应用程序的应用信息;Get the application information of the application requesting to set the foreground service;
按照预设前台服务设置策略基于所述应用信息,判断所述应用程序是否可以设置前台服务;According to the preset foreground service setting policy, based on the application information, determine whether the application can set the foreground service;
若否,则禁止所述应用程序设置前台服务,以禁止所述应用程序通过设置前台服务来进行保活。If not, the application program is prohibited from setting the foreground service, so as to prohibit the application program from keeping alive by setting the foreground service.
在第二方面,本申请实施例提供了一种应用程序保活的管控装置,包括:In a second aspect, an embodiment of the present application provides a management and control device for keeping an application program alive, including:
应用信息获取模块,用于获取请求设置前台服务的应用程序的应用信息;The application information acquisition module is used to acquire the application information of the application requesting to set the foreground service;
前台服务设置判断模块,用于按照预设前台服务设置策略基于所述应用信息,判断所述应用程序是否可以设置前台服务;a foreground service setting judging module, configured to judge whether the application can set a foreground service based on the application information according to a preset foreground service setting policy;
前台服务设置禁止模块,用于若所述应用程序是否不可以设置前台服务,则禁止所述应用程序设置前台服务,以禁止所述应用程序通过设置前台服务来自启动。The foreground service setting prohibition module is configured to prohibit the application from setting the foreground service if the application cannot set the foreground service, so as to prohibit the application from starting by setting the foreground service.
第三方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面所提供的应用程序保活的管控方法。In a third aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the management and control method for keeping an application program alive as provided in the first aspect.
在第四方面,本申请实施例提供了一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行时实现如第一方面所提供的应用程序保活的管控方法。In a fourth aspect, an embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the implementation as provided in the first aspect when executed The application keep-alive control method.
本申请实施例通过获取请求设置前台服务的应用程序的应用信息,按照预设前台服务设置策略基于所述应用信息,判断所述应用程序是否可以设置前台服务,若判断结果为不可以,则禁止所述应用设置前台服务,以防止所述应用程序通过设置前台服务来进行保活,可以合理的管控应用程序的保活操作,避免由于一些流氓应用保活自己,而浪费移动终端的运行资源和电量,也提升了移动终端运行的流畅度。This embodiment of the present application obtains the application information of the application that requests to set the foreground service, and judges whether the application can set the foreground service based on the application information according to the preset foreground service setting policy. The application sets the foreground service to prevent the application from being kept alive by setting the foreground service, so that the keep alive operation of the application can be reasonably controlled, so as to avoid wasting the running resources and the operating resources of the mobile terminal due to some rogue applications keeping themselves alive. The power consumption also improves the smoothness of the operation of the mobile terminal.
附图说明Description of drawings
图1是本申请实施例提供的一种应用程序保活的管控方法的流程图;FIG. 1 is a flowchart of a management and control method for application program keep alive provided by an embodiment of the present application;
图2是本申请实施例提供的另一种应用程序保活的管控方法的流程图;FIG. 2 is a flowchart of another application program keep-alive management and control method provided by an embodiment of the present application;
图3是本申请实施例提供的另一种应用程序保活的管控方法的流程图;FIG. 3 is a flowchart of another application program keep-alive management and control method provided by an embodiment of the present application;
图4是本申请实施例提供的一种应用程序保活的管控装置的结构示意图;FIG. 4 is a schematic structural diagram of a management and control device for keeping an application program alive according to an embodiment of the present application;
图5是本申请实施例提供的一种移动终端的结构示意图;FIG. 5 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application;
图6是本申请实施例提供的另一种移动终端的结构示意图。FIG. 6 is a schematic structural diagram of another mobile terminal provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面结合附图对本申请具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。In order to make the objectives, technical solutions and advantages of the present application clearer, the specific embodiments of the present application will be further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all of the contents related to the present application. Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts various operations (or steps) as a sequential process, many of the operations may be performed in parallel, concurrently, or concurrently. Additionally, the order of operations can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
图1给出了本申请实施例提供的一种应用程序保活的管控方法的流程图,本实施例的方法可以由应用程序保活的管控装置来执行,该装置可通过硬件和/或软件的方式实现,所述装置可作为移动终端一部分设置在所述移动终端的内部。本申请实施中所述的移动终端包括手机、平板电脑或者笔记本等设备。FIG. 1 shows a flowchart of an application program keep alive management and control method provided by an embodiment of the present application. The method in this embodiment may be executed by an application program keep alive management and control device, and the device may be implemented by hardware and/or software. The device can be implemented in the mobile terminal as a part of the mobile terminal. The mobile terminals described in the implementation of this application include devices such as mobile phones, tablet computers, or notebooks.
如图1所示,本实施例提供的应用程序保活的管控方法包括以下步骤:As shown in FIG. 1 , the method for managing and controlling application program keeping alive provided by this embodiment includes the following steps:
步骤101、获取请求设置前台服务的应用程序的应用信息。Step 101: Obtain application information of an application requesting to set a foreground service.
service是一种非可视化的后台运行逻辑,用于为应用提供后台运行服务,可以称为服务,例如后台音乐播放服务。service几乎都是在后台运行的,一直以来它都是默默地做着辛苦的工作。但是service的系统优先级还是比较低的,当系统出现内存不足情况时,就有可能会回收掉正在后台运行的service。如果希望service可以一直保持运行状态,而不会由于系统内存不足的原因导致被回收,就可以考虑使用前台service,那么系统会认为该服务是对用户可见的,并不会在内存不足时kill掉该服务或者该服务对应的应用程序前台Service和普通Service最大的区别就在于,它会一直有一个正在运行的图标在系统的状态栏显示,下拉状态栏后可以看到更加详细的信息,非常类似于通知的效果。这种设置前台服务保活应用程序的方式也会被一些流氓应用程序所利用,通过设置通知将该应用程序的某个服务设置为前台服务后,自己主动去清除通知,让用户无法感知,但系统又因为是前台服务,不会去清理它,导致该应用程序的进程保持常驻,从而实现该应用程序的保活。其中,所述应用程序的保活可以是应用程序关闭之后通过设置前台服务来自启动,也可以为应用程序在运行的过程中将某一个服务设置为前台服务而保持常驻运行,本申请实施例对此并不进行限制。Service is a non-visual background running logic used to provide background running services for applications, which can be called services, such as background music playback services. The service is almost always running in the background, and it has been doing the hard work silently all the time. However, the system priority of the service is still relatively low. When the system runs out of memory, the service running in the background may be recycled. If you want the service to keep running all the time without being recycled due to insufficient system memory, you can consider using the foreground service, then the system will consider the service visible to the user and will not kill it when the memory is insufficient. The biggest difference between the service or the application foreground service corresponding to the service and the ordinary service is that it will always have a running icon displayed in the status bar of the system. After pulling down the status bar, you can see more detailed information, very similar effect of notification. This method of setting the foreground service to keep the application alive will also be used by some rogue applications. After setting a service of the application as the foreground service by setting the notification, it will actively clear the notification, so that the user cannot perceive it, but Because the system is a foreground service, it will not clean it up, so that the process of the application remains resident, so as to keep the application alive. Wherein, the keep alive of the application may be started by setting a foreground service after the application is closed, or it may be a certain service that is set as a foreground service during the running process of the application to keep running permanently, the embodiment of the present application This is not restricted.
本实施例提供的技术方案可适用于应用程序通过设置前台服务来保活的应用场景。在检测到应用程序请求设置前台服务的事件被触发时,获取请求设置前台服务的应用程序的应用信息。The technical solution provided in this embodiment is applicable to an application scenario in which an application is kept alive by setting a foreground service. When it is detected that the event of the application requesting to set the foreground service is triggered, the application information of the application requesting to set the foreground service is obtained.
其中,所述检测到应用程序请求设置前台服务的事件被触发可以包括:检测到调用用于设置前台服务的设定函数的事件被触发,所述设定函数可以为startForeground函数。Wherein, the detecting that the event of the application requesting to set the foreground service is triggered may include: detecting that the event of calling the setting function for setting the foreground service is triggered, and the setting function may be the startForeground function.
所述应用信息可以包括应用的应用属性信息和/或应用设置信息和/或应用运行信息等。所述应用属性信息可以包括:用户标识(User Identifier,UID)、应用包名和进程标识(Process Identifier,PID)等信息。所述应用设置信息可以包括:该应用是否设置为设定白名单中的成员,或者该应用的自启动开关是否设置为开启,或者该应用是否设置为用户的常用应用等。所述应用运行信息可以包括:该应用的使用频率、运行优先级或者应用类型等运行情况信息,或者该应用在运行过程中用户的反馈信息,或者该应用在运行过程中是否有对应的前台界面和/或在运行过程中设置前台服务的次数等。所述用户的反馈信息可以包括用户手动关闭该应用程序。The application information may include application attribute information and/or application setting information and/or application running information and the like of the application. The application attribute information may include information such as a user identifier (User Identifier, UID), an application package name, and a process identifier (Process Identifier, PID). The application setting information may include: whether the application is set as a member in the set whitelist, or whether the self-starting switch of the application is set to on, or whether the application is set as a frequently used application of the user, and the like. The application running information may include: running information such as the frequency of use of the application, the running priority or the type of the application, or the feedback information of the user during the running process of the application, or whether the application has a corresponding foreground interface during the running process And/or set the number of times the foreground service is running, etc. The user's feedback information may include that the user manually closes the application.
步骤102、按照预设前台服务设置策略基于所述应用信息,判断所述应用程序是否可以设置前台服务,若是,则执行步骤103,若否则执行步骤104。
按照预设前台服务设置策略基于所述应用属性信息和/或应用设置信息和/或应用运行信息,判断所述应用程序是否可以设置前台服务。若判断结果为所述应用程序可以设置前台服务,那么说明所述应用程序为正常应用程序,则可以控制执行为所述应用程序设置前台服务的操作,若判断结果为所述应用程序不可以设置前台服务,那么说明所述应用程序为流氓应用,则禁止所述应用程序设置前台服务。Based on the application attribute information and/or application setting information and/or application running information according to the preset foreground service setting policy, it is determined whether the application can set the foreground service. If the judgment result is that the application program can set foreground service, it means that the application program is a normal application program, and the operation of setting foreground service for the application program can be controlled to be executed. If the judgment result is that the application program cannot be set If the application is a foreground service, it means that the application is a rogue application, and the application is prohibited from setting a foreground service.
步骤103、禁止所述应用程序设置前台服务,以禁止所述应用程序通过设置前台服务来进行保活。
其中,所述禁止所述应用程序设置前台服务的实现方式可以为禁止调用上述的设定函数来设置前台服务,或者禁止执行消除通知的操作,让用户知道有这么一个应用程序设置了前台服务,可由用户选择是否关闭该应用程序。在根据上述步骤102判断出应用程序为流氓应用后,通过禁止应用设置前台服务,可以实现禁止应用程序通过设置前台服务来进行保活。Wherein, the implementation manner of prohibiting the application from setting the foreground service may be prohibiting calling the above-mentioned setting function to set the foreground service, or prohibiting the execution of the operation of canceling the notification, so that the user knows that such an application has set the foreground service, The user can choose whether to close the application. After it is determined according to the
步骤104、控制执行为所述应用程序设置前台服务的操作。Step 104: Control the execution of an operation of setting a foreground service for the application.
在某些实施方式中,还可以包括以下步骤:将所述应用程序的应用包名进行保存,作为拦截记录,并向用户展示所述拦截记录。In some embodiments, the following steps may also be included: saving the application package name of the application as an interception record, and displaying the interception record to the user.
在某些实施方式中,还可以包括以下步骤:若所述应用程序为系统内置应用,则允许所述应用程序设置前台服务。In some embodiments, the following step may also be included: if the application is a built-in application of the system, allowing the application to set a foreground service.
在某些实施方式中,还可以包括以下步骤:从服务器或者移动终端本地获取所述预设前台设置策略。In some embodiments, the following step may be further included: locally acquiring the preset foreground setting policy from a server or a mobile terminal.
在某些实施方式中,在按照预设前台服务设置策略基于所述应用信息,判断所述应用程序是否可以设置前台服务之前,还可以包括以下步骤:判断所述应用程序请求设置为前台服务的目标服务是否满足第二设定条件,若是,则确定所述应用程序可以将所述目标服务设置为前台服务;若否,则按照预设前台服务设置策略基于所述应用信息,判断所述应用程序是否可以设置前台服务或者确定所述应用程序不可以将所述目标服务设置为前台服务。所述第二设定条件可以为所述目标服务的服务名称在预设的服务白名单中,或者所述目标服务的服务类型为设定服务类型,例如支付服务类型等。In some embodiments, before judging whether the application can set the foreground service based on the application information according to the preset foreground service setting policy, the following step may be further included: judging that the application requests to be set as the foreground service Whether the target service satisfies the second setting condition, if so, it is determined that the application can set the target service as a foreground service; if not, the application is determined based on the application information according to a preset foreground service setting policy Whether the program can set the foreground service or determine that the application cannot set the target service as the foreground service. The second setting condition may be that the service name of the target service is in a preset service whitelist, or the service type of the target service is a setting service type, such as a payment service type.
本实施例提供的方法,通过获取请求设置前台服务的应用程序的应用信息,按照预设前台服务设置策略基于所述应用信息,判断所述应用程序是否可以设置前台服务,若判断结果为不可以,则禁止所述应用设置前台服务,以防止所述应用程序通过设置前台服务来进行保活,可以合理的管控应用程序的保活操作,避免由于一些流氓应用保活自己,而浪费移动终端的运行资源和电量以及流量,也提升了移动终端运行的流畅度。In the method provided by this embodiment, by obtaining the application information of the application requesting to set the foreground service, and according to the preset foreground service setting policy based on the application information, it is judged whether the application can set the foreground service, and if the judgment result is that it cannot be set , then the application is prohibited from setting the foreground service to prevent the application from keeping alive by setting the foreground service, so that the keep-alive operation of the application can be reasonably controlled, so as to avoid wasting the mobile terminal due to some rogue applications keeping themselves alive. Operating resources, power and traffic also improve the smoothness of mobile terminal operation.
图2给出了本申请实施例提供的另一种应用程序保活的管控方法的流程图,如图2所示,本实施例提供的方法包括以下步骤:FIG. 2 shows a flowchart of another application program keep-alive management and control method provided by an embodiment of the present application. As shown in FIG. 2 , the method provided by this embodiment includes the following steps:
步骤201、获取请求设置前台服务的应用程序的应用信息。Step 201: Obtain application information of an application requesting to set a foreground service.
步骤202、按照第一预设前台服务设置策略,基于所述应用程序的应用设置信息,判断所述应用程序是否可以设置前台服务。若是,则执行步骤203,若否则执行步骤204。Step 202: According to the first preset foreground service setting policy, based on the application setting information of the application, determine whether the application can set the foreground service. If yes, go to step 203, otherwise go to step 204.
在某些实施方式中,该步骤202可以包括:若所述应用程序在设定白名单中,则确定所述应用程序可以设置前台服务,否则,确定所述应用程序不可以设置前台服务;或者,若所述应用程序的自启动开关开启,则确定所述应用程序可以设置前台服务,否则,确定所述应用程序不可以设置前台服务。若所述应用程序在设定白名单中,说明该应用程序为正常应用,则可确定该应用程序可以设置前台服务,否则,说明该应用程序为流氓应用,则确定该应用不可以设置前台服务;若所述应用程序的自启动开关开启,说明该应用程序为可以自启动和进行适时保活的正常应用,则可确定该应用程序可以设置前台服务,否则,说明该应用程序为流氓应用,则确定该应用不可以设置前台服务。其中,可以将用户常用或者比较基础的应用程序设置在白名单中,例如,将微信应用设置在白名单中,而将游戏应用不设置在白名单中。In some embodiments, this
可选的,还包括以下步骤:从服务器或者移动终端本地获取所述预设白名单。进一步的,所述预设白名单可以实时更新,例如,在接收到用户的更新指令时,更新所述预设白名单,或者在检测到满足更新条件的目标应用程序时,将目标应用程序添加至预设白名单中,所述更新条件可以包括目标应用由用户启动的次数达到设定启动次数时添加至预设白名单,或者自启动次数大于设定启动次数时,从预设白名单中删除。Optionally, the method further includes the following step: locally acquiring the preset whitelist from the server or the mobile terminal. Further, the preset whitelist can be updated in real time, for example, when an update instruction from the user is received, the preset whitelist is updated, or when a target application that meets the update conditions is detected, the target application is added. To the preset whitelist, the update condition may include adding the target application to the preset whitelist when the number of times the target application is launched by the user reaches the set launch times, or when the number of self-launches is greater than the set launch times, from the preset whitelist. delete.
可选的,在确定所述应用程序可以设置前台服务之后,还可以包括:判断所述应用程序在设置前台服务之后,系统是否发出相应通知;若否,则将所述应用程序列入黑名单,后续不允许所述应用程序设置前台服务。一般,若应用程序在设置前台服务之后,会在状态栏中显示相应通知,若系统未发出通知,那么说明是流氓应用为了不让用户知道其偷偷的在运行而将通知清除了,那么可以将该应用程序添加至黑名单中。Optionally, after determining that the application can set the foreground service, it may further include: judging whether the system sends a corresponding notification after the application sets the foreground service; if not, blacklisting the application , the application is not allowed to set foreground services subsequently. Generally, if the application sets up the foreground service, the corresponding notification will be displayed in the status bar. If the system does not send a notification, it means that the rogue application has cleared the notification in order not to let the user know that it is running secretly. The application is added to the blacklist.
步骤203、禁止所述应用程序设置前台服务,以禁止所述应用程序通过设置前台服务来进行保活。
步骤204、控制执行为所述应用程序设置前台服务的操作。Step 204: Control the execution of an operation of setting a foreground service for the application.
本实施例提供的方法,通过获取请求设置前台服务的应用程序的应用信息,按照第一预设前台服务设置策略基于所述应用程序的应用设置信息,判断所述应用程序是否可以设置前台服务,若判断结果为不可以,则禁止所述应用设置前台服务,以防止所述应用程序通过设置前台服务来进行保活,可以合理的管控应用程序的保活操作,避免由于一些流氓应用保活自己,而浪费移动终端的运行资源和电量以及流量,也提升了移动终端运行的流畅度。The method provided by this embodiment determines whether the application can set the foreground service by acquiring the application information of the application requesting to set the foreground service, and based on the application setting information of the application according to the first preset foreground service setting policy, If the judgment result is no, the application is prohibited from setting the foreground service to prevent the application from keeping alive by setting the foreground service, which can reasonably control the keep-alive operation of the application and avoid keeping itself alive due to some rogue applications. , and the running resources, power and traffic of the mobile terminal are wasted, and the smoothness of the operation of the mobile terminal is also improved.
图3给出了本申请实施例提供的另一种应用程序保活的管控方法的流程图,如图3所示,本实施例提供的方法包括以下步骤:FIG. 3 shows a flowchart of another application program keep-alive management and control method provided by an embodiment of the present application. As shown in FIG. 3 , the method provided by this embodiment includes the following steps:
步骤301、获取请求设置前台服务的应用程序的应用信息。Step 301: Obtain application information of an application requesting to set a foreground service.
步骤302、按照第二预设前台服务设置策略,基于所述应用程序的应用运行信息,判断所述应用程序是否可以设置前台服务,若是,则执行步骤303,若否则执行步骤304。Step 302: According to the second preset foreground service setting policy, based on the application running information of the application, determine whether the application can set the foreground service, if yes, go to step 303, otherwise go to step 304.
在某些实施方式中,该步骤302可以包括:若所述应用程序的设定属性满足第一设定条件,则确定所述应用程序可以设置前台服务,否则,确定所述应用程序不可以设置前台服务,所述设定属性包括使用频率、运行优先级和类型中的至少一项;或者,若所述应用程序为无前台界面的应用程序且设置前台服务的次数大于设定次数,则确定所述应用程序不可以设置前台服务,否则,确定所述应用程序可以设置前台服务。其中,所述第一设定条件可以包括使用频率大于设定频率,运行优先级大于设定优先级,应用类型为设定类型中的至少一项。在使用频率大于设定频率时,说明该应用程序为用户经常使用的应用,是正常应用。示例性的,所述设定类型可以为日历、拍摄类型等。In some embodiments, this
可选的,在确定所述应用程序可以设置前台服务之后,还包括:判断所述应用程序在设置前台服务之后,系统是否发出通知;若否,则将所述应用程序列入黑名单,后续不允许所述应用程序设置前台服务。Optionally, after determining that the application can set the foreground service, the method further includes: judging whether the system sends a notification after the application has set the foreground service; The application is not allowed to set a foreground service.
步骤303、禁止所述应用程序设置前台服务,以禁止所述应用程序通过设置前台服务来进行保活。
步骤304、控制执行为所述应用程序设置前台服务的操作。Step 304: Control the execution of an operation of setting a foreground service for the application.
本实施例提供的方法,通过获取请求设置前台服务的应用程序的应用信息,按照第二预设前台服务设置策略基于所述应用程序的应用运行信息,判断所述应用程序是否可以设置前台服务,若判断结果为不可以,则禁止所述应用设置前台服务,以防止所述应用程序通过设置前台服务来进行保活,可以合理的管控应用程序的保活操作,避免由于一些流氓应用保活自己,而浪费移动终端的运行资源和电量以及流量,也提升了移动终端运行的流畅度。In the method provided by this embodiment, by acquiring the application information of the application requesting to set the foreground service, it is judged whether the application can set the foreground service based on the application running information of the application according to the second preset foreground service setting policy, If the judgment result is no, the application is prohibited from setting the foreground service to prevent the application from keeping alive by setting the foreground service, which can reasonably control the keep-alive operation of the application and avoid keeping itself alive due to some rogue applications. , and the running resources, power and traffic of the mobile terminal are wasted, and the smoothness of the operation of the mobile terminal is also improved.
图4为本申请实施例提供的一种应用程序保活的管控装置的结构示意图,该装置可由软件和/或硬件实现,集成在移动终端中。如图4所示,该装置包括应用信息获取模块41、前台服务设置判断模块42和前台服务设置禁止模块43。FIG. 4 is a schematic structural diagram of a management and control device for keeping an application program alive according to an embodiment of the present application. The device may be implemented by software and/or hardware and integrated in a mobile terminal. As shown in FIG. 4 , the device includes an application
所述应用信息获取模块41,用于获取请求设置前台服务的应用程序的应用信息;The application
所述前台服务设置判断模块42,用于按照预设前台服务设置策略基于所述应用信息,判断所述应用程序是否可以设置前台服务;The foreground service setting judging
所述前台服务设置禁止模块43,用于若所述应用程序是否不可以设置前台服务,则禁止所述应用程序设置前台服务,以禁止所述应用程序通过设置前台服务来自启动。The foreground service
本实施例提供的应用程序保活的管控装置,通过获取请求设置前台服务的应用程序的应用信息,按照预设前台服务设置策略基于所述应用信息,判断所述应用程序是否可以设置前台服务,若判断结果为不可以,则禁止所述应用设置前台服务,以防止所述应用程序通过设置前台服务来进行保活,可以合理的管控应用程序的保活操作,避免由于一些流氓应用保活自己,而浪费移动终端的运行资源和电量,也提升了移动终端运行的流畅度。The device for managing and controlling the application program keeping alive provided by this embodiment determines whether the application program can set the foreground service according to the preset foreground service setting policy based on the application information by acquiring the application information of the application program that requests to set the foreground service, If the judgment result is no, the application is prohibited from setting the foreground service to prevent the application from keeping alive by setting the foreground service, which can reasonably control the keep-alive operation of the application and avoid keeping itself alive due to some rogue applications. , and the running resources and power of the mobile terminal are wasted, and the smoothness of the running of the mobile terminal is also improved.
可选的,所述前台服务设置判断模块包括:Optionally, the foreground service setting judgment module includes:
第一前台服务设置判断单元,用于按照第一预设前台服务设置策略,基于所述应用程序的应用设置信息,判断所述应用程序是否可以设置前台服务。The first foreground service setting judging unit is configured to, according to a first preset foreground service setting policy, judge whether the application program can set the foreground service based on the application setting information of the application program.
可选的,所述前台服务设置判断模块包括:Optionally, the foreground service setting judgment module includes:
第二前台服务设置判断单元,用于按照第二预设前台服务设置策略,基于所述应用程序的应用运行信息,判断所述应用程序是否可以设置前台服务。The second foreground service setting judging unit is configured to, according to a second preset foreground service setting policy, determine whether the application can set the foreground service based on the application running information of the application.
可选的,所述第一前台服务设置判断单元具体用于:Optionally, the first foreground service setting judgment unit is specifically used for:
若所述应用程序在设定白名单中,则确定所述应用程序可以设置前台服务,否则,确定所述应用程序不可以设置前台服务;或者,If the application is in the set whitelist, it is determined that the application can set the foreground service; otherwise, it is determined that the application cannot be set to the foreground service; or,
若所述应用程序的自启动开关开启,则确定所述应用程序可以设置前台服务,否则,确定所述应用程序不可以设置前台服务。If the self-starting switch of the application program is turned on, it is determined that the application program can set the foreground service; otherwise, it is determined that the application program cannot set the foreground service.
可选的,所述第二前台服务设置判断单元具体用于:Optionally, the second foreground service setting judgment unit is specifically used for:
若所述应用程序的设定属性满足第一设定条件,则确定所述应用程序可以设置前台服务,否则,确定所述应用程序不可以设置前台服务,所述设定属性包括使用频率、运行优先级和类型中的至少一项;或者,If the set attribute of the application satisfies the first set condition, it is determined that the application can set the foreground service; otherwise, it is determined that the application cannot set the foreground service, and the set attribute includes the frequency of use, running at least one of priority and type; or,
若所述应用程序为无前台界面的应用程序且设置前台服务的次数大于设定次数,则确定所述应用程序不可以设置前台服务,否则,确定所述应用程序可以设置前台服务。If the application program is an application program without a foreground interface and the number of times of setting the foreground service is greater than the set number of times, it is determined that the application program cannot set the foreground service; otherwise, it is determined that the application program can set the foreground service.
可选的,所述装置还可以包括:Optionally, the device may also include:
预设前台设置策略获取模块,用于从服务器或者移动终端本地获取所述预设前台设置策略;和/或,a preset foreground setting strategy acquisition module, configured to locally obtain the preset foreground setting strategy from a server or a mobile terminal; and/or,
预设白名单获取模块,用于从服务器或者移动终端本地获取所述预设白名单。The preset whitelist obtaining module is configured to obtain the preset whitelist locally from the server or the mobile terminal.
可选的,所述装置还可以包括:Optionally, the device may also include:
通知发出判断模块,用于在确定所述应用程序可以设置前台服务之后,判断所述应用程序在设置前台服务之后,系统是否发出通知;a notification sending judgment module, used to determine whether the system sends a notification after the application program can set the foreground service after determining that the application program can set the foreground service;
黑名单添加模块,用于若未发出通知,则将所述应用程序列入黑名单,后续不允许所述应用程序设置前台服务。The blacklist adding module is used for blacklisting the application if no notification is issued, and subsequently not allowing the application to set foreground services.
可选的,所述装置还包括:Optionally, the device further includes:
前台服务设置模块,用于判断所述应用程序请求设置为前台服务的目标服务是否满足第二设定条件,若是,则确定所述应用程序可以将所述目标服务设置为前台服务。The foreground service setting module is configured to judge whether the target service requested by the application program to be set as the foreground service satisfies the second setting condition, and if so, determine that the application program can set the target service as the foreground service.
本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种应用程序保活的管控方法,该方法包括:Embodiments of the present application further provide a storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute a management and control method for application program keeping alive when executed by a computer processor, and the method includes:
获取请求设置前台服务的应用程序的应用信息;Get the application information of the application requesting to set the foreground service;
按照预设前台服务设置策略基于所述应用信息,判断所述应用程序是否可以设置前台服务;According to the preset foreground service setting policy, based on the application information, determine whether the application can set the foreground service;
若否,则禁止所述应用程序设置前台服务,以禁止所述应用程序通过设置前台服务来进行保活。If not, the application program is prohibited from setting the foreground service, so as to prohibit the application program from keeping alive by setting the foreground service.
存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROMs, floppy disks, or tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the Internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (eg, in different computer systems connected by a network). The storage medium may store program instructions (eg, embodied as a computer program) executable by one or more processors.
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的应用程序保活的管控操作,还可以执行本申请任意实施例所提供的应用程序保活的管控方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided by the embodiments of the present application, the computer-executable instructions of which are not limited to the management and control operations for keeping the application program alive as described above, and can also execute the storage medium provided by any embodiment of the present application. Related operations in the control method of application keep-alive.
本申请实施例提供了一种移动终端,该移动终端中可集成本申请实施例提供的应用程序保活的管控装置。图5为本申请实施例提供的一种移动终端的结构示意图。移动终端500可以包括:存储器501,处理器502及存储在存储器501上并可在处理器502运行的计算机程序,所述处理器502执行所述计算机程序时实现如本申请实施例所述的应用程序保活的管控方法。The embodiments of the present application provide a mobile terminal, in which the mobile terminal can integrate the application program keep alive management and control device provided by the embodiments of the present application. FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. The
本申请实施例提供的移动终端,可以合理的管控应用程序的保活操作,防止流氓应用程序通过设置前台服务来进行保活,而浪费移动终端的运行资源和电量,也提升了移动终端运行的流畅度。The mobile terminal provided by the embodiment of the present application can reasonably control the keep-alive operation of the application program, so as to prevent the rogue application program from keeping alive by setting the foreground service, which wastes the operating resources and power of the mobile terminal, and also improves the running efficiency of the mobile terminal. Fluency.
图6为本申请实施例提供的另一种移动终端的结构示意图,如图6所示,该移动终端可以包括:存储器601、中央处理器(Central Processing Unit,CPU)602(又称处理器,以下简称CPU)、所述存储器601,用于存储可执行程序代码;所述处理器602通过读取所述存储器601中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行:获取请求设置前台服务的应用程序的应用信息;按照预设前台服务设置策略基于所述应用信息,判断所述应用程序是否可以设置前台服务;若否,则禁止所述应用程序设置前台服务,以禁止所述应用程序通过设置前台服务来进行保活。FIG. 6 is a schematic structural diagram of another mobile terminal provided by an embodiment of the present application. As shown in FIG. 6 , the mobile terminal may include: a
所述移动终端还包括:外设接口603、RF(Radio Frequency,射频)电路605、音频电路606、扬声器611、电源管理芯片608、输入/输出(I/O)子系统609、触摸屏612、其他输入/控制设备610以及外部端口604,这些部件通过一个或多个通信总线或信号线607来通信。The mobile terminal further includes: a
应该理解的是,图示移动终端600仅仅是移动终端的一个范例,并且移动终端600可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated
下面就本实施例提供的用于管控应用程序保活的移动终端进行详细的描述,该移动终端以手机为例。The following will describe in detail the mobile terminal provided by this embodiment for keeping the application program alive. The mobile terminal is a mobile phone as an example.
存储器601,所述存储器601可以被CPU602、外设接口603等访问,所述存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
外设接口603,所述外设接口603可以将设备的输入和输出外设连接到CPU502和存储器601。A
I/O子系统609,所述I/O子系统609可以将设备上的输入输出外设,例如触摸屏612和其他输入/控制设备610,连接到外设接口603。I/O子系统609可以包括显示控制器6091和用于控制其他输入/控制设备610的一个或多个输入控制器6092。其中,一个或多个输入控制器6092从其他输入/控制设备610接收电信号或者向其他输入/控制设备610发送电信号,其他输入/控制设备610可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器6092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/
触摸屏612,所述触摸屏612是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。The
I/O子系统609中的显示控制器6091从触摸屏612接收电信号或者向触摸屏612发送电信号。触摸屏612检测触摸屏上的接触,显示控制器6091将检测到的接触转换为与显示在触摸屏612上的用户界面对象的交互,即实现人机交互,显示在触摸屏612上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。
RF电路605,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路605接收并发送RF信号,RF信号也称为电磁信号,RF电路605将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路605可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The
音频电路606,主要用于从外设接口603接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器611。The
扬声器611,用于将手机通过RF电路605从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 611 is used to restore the voice signal received by the mobile phone from the wireless network through the
电源管理芯片608,用于为CPU602、I/O子系统及外设接口603所连接的硬件进行供电及电源管理。The
上述实施例中提供的应用程序保活的管控装置、存储介质及移动终端可执行本申请任意实施例所提供的应用程序保活的管控方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的应用程序保活的管控方法。The application keep-alive management and control device, storage medium, and mobile terminal provided in the above embodiments can execute the application keep-alive management and control method provided by any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the foregoing embodiments, reference may be made to the management and control method for application keep-alive provided by any embodiment of the present application.
上述仅为本申请的较佳实施例及所运用的技术原理。本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由权利要求的范围决定。The above are only the preferred embodiments of the present application and the applied technical principles. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not depart from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present application. The scope is determined by the scope of the claims.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711168305.3A CN107844342B (en) | 2017-11-21 | 2017-11-21 | Application program keep alive management and control method, device and storage medium and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711168305.3A CN107844342B (en) | 2017-11-21 | 2017-11-21 | Application program keep alive management and control method, device and storage medium and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107844342A CN107844342A (en) | 2018-03-27 |
CN107844342B true CN107844342B (en) | 2021-07-09 |
Family
ID=61679930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711168305.3A Expired - Fee Related CN107844342B (en) | 2017-11-21 | 2017-11-21 | Application program keep alive management and control method, device and storage medium and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107844342B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109756888B (en) * | 2019-01-03 | 2021-07-06 | 中国—东盟信息港股份有限公司 | eSIM service keep-alive system for terminals of different brands |
CN111782347A (en) * | 2019-04-03 | 2020-10-16 | 安克创新科技股份有限公司 | Mobile phone application keep alive method, device, system and storage medium |
CN112416380B (en) * | 2019-08-21 | 2024-03-29 | 成都鼎桥通信技术有限公司 | Method and device for killing and freezing prevention by application |
CN112445539A (en) * | 2019-09-02 | 2021-03-05 | 珠海市魅族科技有限公司 | Method, device, electronic equipment and storage medium for identifying disguised music playing |
CN112835656A (en) * | 2019-11-01 | 2021-05-25 | 科美诊断技术股份有限公司 | A method and device for starting a client |
CN114168212A (en) * | 2020-09-09 | 2022-03-11 | 成都鼎桥通信技术有限公司 | Application processing method, device, equipment and computer readable storage medium |
CN112307465A (en) * | 2020-10-30 | 2021-02-02 | 上海中通吉网络技术有限公司 | Keep-alive pull-alive method, storage medium and equipment for coping with application program being checked and killed |
CN112988282B (en) * | 2021-04-27 | 2021-08-20 | 荣耀终端有限公司 | Application keep-alive method and terminal device |
CN113407348B (en) * | 2021-07-07 | 2024-04-09 | Tcl通讯(宁波)有限公司 | Application process management method, device, equipment and storage medium |
CN117076089B (en) * | 2023-10-07 | 2024-03-26 | 荣耀终端有限公司 | Application management method, terminal device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6189047B1 (en) * | 1997-03-20 | 2001-02-13 | Sun Microsystems, Inc. | Apparatus and method for monitoring event queue operations with pluggable event queues |
CN105653934A (en) * | 2015-12-25 | 2016-06-08 | 惠州Tcl移动通信有限公司 | Mobile terminal and application protection method thereof |
CN105701025A (en) * | 2015-12-31 | 2016-06-22 | 华为技术有限公司 | Memory recovery method and device |
CN106874713A (en) * | 2017-01-09 | 2017-06-20 | 广东小天才科技有限公司 | Application program operation authority management method and device and user equipment |
CN106933660A (en) * | 2017-02-17 | 2017-07-07 | 广州启生信息技术有限公司 | The implementation method of application process keep-alive under a kind of Android platform |
CN107291549A (en) * | 2016-03-31 | 2017-10-24 | 阿里巴巴集团控股有限公司 | A kind of method and device for managing application program |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101144346B1 (en) * | 2009-02-20 | 2012-05-11 | 에스케이플래닛 주식회사 | Method of managing java application and computer-readable medium having thereon program performing function embodying the same |
CN104021019B (en) * | 2014-06-18 | 2016-09-14 | 腾讯科技(深圳)有限公司 | A kind of apply the control method of self-starting, terminal and server |
CN106648855B (en) * | 2016-11-21 | 2020-04-10 | 武汉斗鱼网络科技有限公司 | Method and device for controlling application program of terminal |
CN106648861B (en) * | 2016-12-05 | 2020-07-14 | 阿里巴巴(中国)有限公司 | Keep-alive method and device for background service process |
CN106874086B (en) * | 2017-01-25 | 2019-11-05 | 北京安云世纪科技有限公司 | A kind of processing method, device and the mobile terminal of application program self-starting |
-
2017
- 2017-11-21 CN CN201711168305.3A patent/CN107844342B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6189047B1 (en) * | 1997-03-20 | 2001-02-13 | Sun Microsystems, Inc. | Apparatus and method for monitoring event queue operations with pluggable event queues |
CN105653934A (en) * | 2015-12-25 | 2016-06-08 | 惠州Tcl移动通信有限公司 | Mobile terminal and application protection method thereof |
CN105701025A (en) * | 2015-12-31 | 2016-06-22 | 华为技术有限公司 | Memory recovery method and device |
CN107291549A (en) * | 2016-03-31 | 2017-10-24 | 阿里巴巴集团控股有限公司 | A kind of method and device for managing application program |
CN106874713A (en) * | 2017-01-09 | 2017-06-20 | 广东小天才科技有限公司 | Application program operation authority management method and device and user equipment |
CN106933660A (en) * | 2017-02-17 | 2017-07-07 | 广州启生信息技术有限公司 | The implementation method of application process keep-alive under a kind of Android platform |
Non-Patent Citations (1)
Title |
---|
Android进程保活;zhichu_2025;《https://blog.csdn.net/ZhiChu_2025/article/details/52434525》;20160904;第1-2页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107844342A (en) | 2018-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107844342B (en) | Application program keep alive management and control method, device and storage medium and mobile terminal | |
CN107861773A (en) | Management and control method, device, storage medium and mobile terminal for association activation | |
CN108270786B (en) | Application rights management method, device, storage medium and smart terminal | |
CN107748685B (en) | Application program starting control method and device, terminal equipment and storage medium | |
US9076020B2 (en) | Protected mode for mobile communication and other devices | |
CN107861816A (en) | Resource allocation method and device | |
CN107783803B (en) | System optimization method and device of intelligent terminal, storage medium and intelligent terminal | |
CN107943270B (en) | Application service control method and device, storage medium and mobile terminal | |
WO2019153211A1 (en) | Application switching method, and terminal | |
EP3486770B1 (en) | Processing method, device and storage medium for implementing automatic startup | |
CN107885588B (en) | Application service control method and device, storage medium and mobile terminal | |
CN107844341B (en) | Process starting control method and device, storage medium and mobile terminal | |
CN107957913A (en) | Management and control method and device for associated startup, storage medium and mobile terminal | |
CN107797841A (en) | Window control method, apparatus, terminal device and storage medium | |
CN107026933B (en) | Multi-open application message management method and device and intelligent terminal | |
CN107831886B (en) | Control method and device for associated starting application, storage medium and intelligent terminal | |
CN107648844A (en) | A kind of game mode method to set up and mobile terminal | |
CN107027150A (en) | WiFi control method, device and terminal equipment | |
CN107957905A (en) | Method and device for limiting self-starting of application, storage medium and intelligent terminal | |
CN107862203A (en) | Control method, device, storage medium and the terminal of application program | |
CN108932086A (en) | Display methods, device and the storage medium of application interface | |
CN110868693A (en) | Application flow control method, terminal device and storage medium | |
WO2019101107A1 (en) | System notification service control method, apparatus, terminal device, and storage medium | |
CN107861608A (en) | System notification service control method, device, terminal device and storage medium | |
CN108287605A (en) | Charging control method and device, terminal equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210709 |
|
CF01 | Termination of patent right due to non-payment of annual fee |