WO2018000673A1 - 一种终端应用程序运行的方法及装置 - Google Patents

一种终端应用程序运行的方法及装置 Download PDF

Info

Publication number
WO2018000673A1
WO2018000673A1 PCT/CN2016/103872 CN2016103872W WO2018000673A1 WO 2018000673 A1 WO2018000673 A1 WO 2018000673A1 CN 2016103872 W CN2016103872 W CN 2016103872W WO 2018000673 A1 WO2018000673 A1 WO 2018000673A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
blacklist
self
terminal
module
Prior art date
Application number
PCT/CN2016/103872
Other languages
English (en)
French (fr)
Inventor
饶志治
刘飞
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2018000673A1 publication Critical patent/WO2018000673A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Definitions

  • the embodiments of the present invention relate to the technical field of mobile terminals, and in particular, to a method and an apparatus for operating a terminal application.
  • the application can be started by receiving the system broadcast, registering the alarm clock, and the like.
  • the android platform With the popularity of the android platform, there are more and more applications, and the applications of various companies hope to run more and achieve better operational results. However, these applications often do not require user clicks, but are self-starting by receiving system broadcasts, registering alarms, etc., resulting in running a large number of users in the background of the android system and not using the application, consuming CPU and memory resources, resulting in a mobile phone card. Faults such as slowing down and slowing down.
  • the purpose of the embodiments of the present invention is to provide a method and an apparatus for operating a terminal application, which is to solve the problem of how to prohibit an application that the user does not need to run in the background of the terminal.
  • the embodiment of the present invention adopts the following technical solutions:
  • a method for a terminal application to run includes:
  • the application blacklist includes an application that prohibits self-starting in the background of the terminal;
  • the application is in the application blacklist, the application is prohibited from being launched.
  • the receiving the user blacklist of the application set includes:
  • the application-set application blacklist is received by the self-starting managed application.
  • the detecting whether an application reaches a self-starting condition comprises:
  • the method further includes:
  • the detection receives a broadcast instruction to run the application, and the application is already enabled, transmitting the broadcast instruction to the application;
  • a step of determining whether the application is in the application blacklist is performed.
  • the method further includes:
  • the application is launched.
  • a device for running a terminal application comprising:
  • a receiving module configured to receive an application blacklist set by a user, where the application blacklist includes an application that prohibits self-starting in the background of the terminal;
  • a detection module configured to detect whether an application has reached a self-starting condition
  • a determining module configured to determine, if the application reaches the self-starting condition, determine whether the application is in the application blacklist
  • the prohibition module is set to prohibit the application from being launched if the application is in the application blacklist.
  • the receiving module is configured to:
  • the application-set application blacklist is received by the self-starting managed application.
  • the detecting module is configured to:
  • the device comprises:
  • a sending module configured to send the broadcast command if it detects that a broadcast command to run the application is received and the application is already open before determining whether the application is in the application blacklist Give the application;
  • an execution module configured to: if the detection of the broadcast instruction that runs the application is received, and the application is not turned on, perform the determining the determining module.
  • the device further comprises:
  • the startup module is configured to launch the application if the application is not in the application blacklist.
  • An embodiment of the present invention provides a method and an apparatus for running a terminal application, which receives an application blacklist set by a user, where the application blacklist includes an application that is prohibited from being automatically started in the background of the terminal; and detects whether an application reaches a self-starting a condition; if it is detected that the application reaches the self-starting condition, determining whether the application is in the application blacklist; if the application is in the application blacklist, prohibiting starting the application
  • the program sets a self-starting application list by providing a user human-computer interaction interface, and then the system performs self-starting restrictions on the applications through the list, thereby achieving the purpose of restricting the running of the application that the user does not expect to run, and can effectively solve the android mobile background.
  • FIG. 1 is a schematic flowchart of a method for running a terminal application according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for running a terminal application according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another method for running a terminal application according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of functional modules of a device for running a terminal application according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart diagram of a method for operating a terminal application according to an embodiment of the present invention.
  • the method for running the terminal application includes:
  • Step 101 Receive an application blacklist set by a user, where the application blacklist includes an application that is prohibited from being automatically started in the background of the terminal;
  • the receiving the user blacklist of the application set includes:
  • the application-set application blacklist is received by the self-starting managed application.
  • the user can set the application blacklist through the “self-starting management” interface, and after the user selects, invoke the interface provided by the system to transmit the list to the system self-starting logic.
  • Step 102 Detect whether an application reaches a self-starting condition
  • the detecting whether an application reaches a self-starting condition comprises:
  • Step 103 If it is detected that the application reaches the self-starting condition, determine whether the application is in the application blacklist;
  • Step 104 If the application is in the application blacklist, prohibiting starting the application.
  • the Android system is normally booted; the self-starting blacklist is read and saved; the applications that need to be started are checked one by one; if the application to be started is not in the blacklist, it needs to be started; if the application to be started is blacked out In the list, you do not need to start.
  • the system adds the blacklist to the broadcast distribution process. If the application that needs to receive the broadcast has not been started, you need to determine whether it is in the blacklist. In the blacklist, the application is not started.
  • An embodiment of the present invention provides a method for running a terminal application, which receives an application blacklist set by a user, where the application blacklist includes an application that is prohibited from being automatically started in the background of the terminal; and detects whether an application reaches a self-starting condition; If it is detected that the application reaches the self-starting condition, determining whether the application is in the application blacklist; if the application is in the application blacklist, prohibiting starting the application,
  • the user-computer interaction interface is provided to set a self-starting application list, and then the system performs self-starting restrictions on the applications through the list, thereby achieving the purpose of restricting the running of the application that the user does not expect to run, and can effectively solve the android mobile background running application.
  • the problem caused by the phone is getting stuck and slowing down.
  • FIG. 2 is a schematic flowchart diagram of another method for operating a terminal application according to an embodiment of the present invention.
  • the method for running the terminal application includes:
  • Step 201 Receive an application blacklist set by a user, where the application blacklist includes an application that is prohibited from being automatically started in the background of the terminal;
  • Step 202 Detect whether an application reaches a self-starting condition
  • Step 203 If it is detected that a broadcast instruction for running the application is received, and the application is already enabled, sending the broadcast instruction to the application;
  • the system adds a blacklist to the broadcast distribution process, and if the application that needs to receive the broadcast has been started, sends the broadcast instruction to the application.
  • Step 204 If it is detected that a broadcast instruction for running the application is received, and the application is not enabled, performing a step of determining whether the application is in the application blacklist;
  • Step 205 Determine whether the application is in the application blacklist.
  • Step 206 If the application is in the application blacklist, prohibiting starting the application.
  • FIG. 3 is a schematic flowchart diagram of another method for operating a terminal application according to an embodiment of the present invention.
  • the method for running the terminal application includes:
  • Step 301 Receive an application blacklist set by a user, where the application blacklist includes an application that is prohibited from being automatically started in the background of the terminal;
  • Step 302 Detect whether an application reaches a self-starting condition
  • Step 303 if it is detected that a broadcast instruction for running the application is received, and the application is already enabled, sending the broadcast instruction to the application;
  • Step 304 If it is detected that the broadcast instruction for running the application is received, and the application is not enabled, perform a step of determining whether the application is in the application blacklist.
  • Step 305 Determine whether the application is in the application blacklist.
  • Step 306 If the application is in the application blacklist, prohibiting starting the application;
  • Step 307 If the application is not in the application blacklist, start the application.
  • FIG. 4 is a schematic diagram of functional modules of a device for running a terminal application according to an embodiment of the present invention.
  • the device running by the terminal application includes:
  • the receiving module 401 is configured to receive an application blacklist set by a user, where the application blacklist includes an application that prohibits self-starting in the background of the terminal;
  • the detecting module 402 is configured to detect whether an application reaches a self-starting condition
  • the determining module 403 is configured to: if it is detected that the application reaches the self-starting condition, determine whether the application is in the application blacklist;
  • the prohibition module 404 is configured to prohibit launching the application if the application is in the application blacklist.
  • the receiving module 401 is configured to:
  • the application-set application blacklist is received by the self-starting managed application.
  • the detecting module 402 is configured to:
  • the device comprises:
  • a sending module configured to send the broadcast command if it detects that a broadcast command to run the application is received and the application is already open before determining whether the application is in the application blacklist Give the application;
  • an execution module configured to: if the detection of the broadcast instruction that runs the application is received, and the application is not turned on, perform the determining the determining module.
  • the device further comprises:
  • the startup module is configured to launch the application if the application is not in the application blacklist.
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 500 in the embodiment of the present invention may be different types of electronic devices, such as: smart phones, tablet computers, palmtop computers, and mobile internet devices, personal digital assistants, media players, smart televisions, smart watches, smart glasses, smart hands. Ring and so on.
  • the terminal 500 in the embodiment of the present invention includes: at least one processor 510, such as a CPU, at least one receiver 513, at least one memory 514, at least one transmitter 515, and at least one communication bus 512.
  • the communication bus 512 is used to implement connection communication between these components.
  • the receiver 513 and the transmitter 515 may be wired transmission ports, or may be wireless devices, for example, including antenna devices for performing data communication with other devices.
  • the memory 514 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the processor 510 can execute an operating system of the terminal 500 and various installed application programs, program codes, and the like.
  • each module described above includes the receiving module 401, the monitoring module 402, and the determining module. 403.
  • Program code is stored in the memory 514, and the processor 510 can invoke program code stored in the memory 514 via the communication bus 512 to perform related functions.
  • each module described in FIG. 4 eg, the receiving module 401, the monitoring module 402, the determining module 403, the prohibiting module 404, etc.
  • the memory 514 stores a plurality of instructions that are executed by the processor 510 to implement a method of operation of the terminal application.
  • the process 510 receives an application blacklist set by a user, where the application blacklist includes an application that prohibits self-starting in the terminal background; detects whether an application reaches a self-starting condition; and if the detected application reaches The self-starting condition determines whether the application is in the application blacklist; if the application is in the application blacklist, prohibiting launching the application.
  • the receiving the blacklist of applications set by the user comprises: the processor 510 receiving the blacklist of applications set by the user by using an application managed by the self-starting.
  • the detecting whether an application reaches a self-starting condition comprises: the processor 510 detecting whether the terminal is powered on and restarting, or detecting whether a broadcast instruction to run the application is received.
  • the method before the determining whether the application is in the application blacklist, the method further includes: if the processor 510 detects that a broadcast instruction to run the application is received, and the application The program is already opened, and the broadcast instruction is sent to the application; if the processor 510 detects that a broadcast instruction to run the application is received, and the application is not enabled, performing the determining the application Whether it is within the blacklist of the application.
  • the processor 510 is further configured to start the application if the application is not in the application blacklist.
  • An embodiment of the present invention provides a device for running a terminal application, which receives an application blacklist set by a user, where the application blacklist includes an application that is prohibited from being automatically started in the background of the terminal; and detects whether an application reaches a self-starting condition; If it is detected that the application reaches the self-starting condition, determining whether the application is in the application blacklist; if the application is in the application blacklist, prohibiting starting the application,
  • the user-computer interaction interface is provided to set a self-starting application list, and then the system performs self-starting restrictions on the applications through the list, thereby achieving the purpose of restricting the running of the application that the user does not expect to run, and can effectively solve the android mobile background running application.
  • the problem caused by the phone is getting stuck and slowing down.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例公开了一种终端应用程序运行的装置,接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;检测是否有应用程序达到自启动条件;若检测有应用程序达到所述自启动条件,则判断所述应用程序是否在所述应用程序黑名单内;若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序,通过提供用户人机交互界面设置自启动应用的名单,然后系统通过该名单对这些应用进行自启动限制,达到对用户不期望运行的应用进行限制运行的目的,可以有效的解决android手机后台运行应用多导致的手机卡顿、变慢的问题。

Description

一种终端应用程序运行的方法及装置
本申请要求于2016年6月28日提交中国专利局,申请号为201610486793.1、发明名称为“一种终端应用程序运行的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及移动终端的技术领域,尤其涉及一种终端应用程序运行的方法及装置。
背景技术
在开源的安卓android项目中,应用的启动除了通过用户点击应用图标的方式外,还可以通过接收系统广播、注册闹钟等方式启动。随着android平台的普及,其应用程序也越来越多,各个公司的应用都希望能更多的运行,达到更好运营的效果。但这些应用往往都不需要用户点击,而是通过接收系统广播、注册闹钟等方式自启动,从而导致在android系统的后台运行大量用户并不需要使用的应用,消耗CPU、内存资源,导致手机卡顿、变慢等故障。
发明内容
本发明实施例的目的在于提出一种终端应用程序运行的方法及装置,旨在解决如何禁止用户不需要运行的应用在终端后台运行的问题。
为达此目的,本发明实施例采用以下技术方案:
第一方面,一种终端应用程序运行的方法,方法包括:
接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;
检测是否有应用程序达到自启动条件;
若检测有应用程序达到所述自启动条件,则判断所述应用程序是否在所述应用程序黑名单内;
若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序。
优选地,所述接收用户设置的应用程序黑名单,包括:
通过自启动管理的应用程序接收所述用户设置的应用程序黑名单。
优选地,所述检测是否有应用程序达到自启动条件,包括:
检测所述终端是否开机重启,或者检测是否接收到运行所述应用程序的广播指令。
优选地,所述判断所述应用程序是否在所述应用程序黑名单内之前,还包括:
若检测接收到运行所述应用程序的广播指令,且所述应用程序已经开启,则将所述广播指令发送给所述应用程序;
若检测接收到运行所述应用程序的广播指令,且所述应用程序未开启,则执行判断所述应用程序是否在所述应用程序黑名单内的步骤。
优选地,所述方法还包括:
若所述应用程序不在所述应用程序黑名单内,则启动所述应用程序。
第二方面,一种终端应用程序运行的装置,所述装置包括:
接收模块,设置为接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;
检测模块,设置为检测是否有应用程序达到自启动条件;
判断模块,设置为若检测有应用程序达到所述自启动条件,则判断所述应用程序是否在所述应用程序黑名单内;
禁止模块,设置为若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序。
优选地,所述接收模块,设置为:
通过自启动管理的应用程序接收所述用户设置的应用程序黑名单。
优选地,所述检测模块,设置为:
检测所述终端是否开机重启,或者检测是否接收到运行所述应用程序的广播指令。
优选地,所述装置包括:
发送模块,设置为在判断所述应用程序是否在所述应用程序黑名单内之前,若检测接收到运行所述应用程序的广播指令,且所述应用程序已经开启,则将所述广播指令发送给所述应用程序;
执行模块,设置为若检测接收到运行所述应用程序的广播指令,且所述应用程序未开启,则执行判断所述判断模块。
优选地,所述装置还包括:
启动模块,设置为若所述应用程序不在所述应用程序黑名单内,则启动所述应用程序。
本发明实施例提供一种终端应用程序运行的方法及装置,接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;检测是否有应用程序达到自启动条件;若检测有应用程序达到所述自启动条件,则判断所述应用程序是否在所述应用程序黑名单内;若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序,通过提供用户人机交互界面设置自启动应用的名单,然后系统通过该名单对这些应用进行自启动限制,达到对用户不期望运行的应用进行限制运行的目的,可以有效的解决android手机后台运行应用多导致的手机卡顿、变慢的问题。
附图说明
图1是本发明实施例提供一种终端应用程序运行的方法的流程示意图;
图2是本发明实施例提供的另一种终端应用程序运行的方法的流程示意图;
图3是本发明实施例提供的另一种终端应用程序运行的方法的流程示意图;
图4是本发明实施例提供的一种终端应用程序运行的装置的功能模块示意图;
图5是本发明实施例提供的一种终端的结构示意图。
具体实施方式
下面结合附图和实施例对本发明实施例作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明实施例,而非对本发明实施例的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明实施例相关的部分而非全部结构。
参考图1,图1是本发明实施例提供一种终端应用程序运行的方法的流程示意图。
如图1所示,所述终端应用程序运行的方法包括:
步骤101,接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;
优选地,所述接收用户设置的应用程序黑名单,包括:
通过自启动管理的应用程序接收所述用户设置的应用程序黑名单。
具体的,用户可以通过该“自启动管理”的界面设置应用程序黑名单,在用户进行选择后,调用系统提供的接口,将名单传给系统自启动逻辑。
步骤102,检测是否有应用程序达到自启动条件;
优选地,所述检测是否有应用程序达到自启动条件,包括:
检测所述终端是否开机重启,或者检测是否接收到运行所述应用程序的广播指令。
步骤103,若检测有应用程序达到所述自启动条件,则判断所述应用程序是否在所述应用程序黑名单内;
步骤104,若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序。
具体的,Android系统正常开机初始化;读取自启动黑名单,并保存;对需要启动的应用一一进行检查;如果需要启动的应用不在黑名单中,则需要启动;如果需要启动的应用中黑名单中,则不需要启动。
系统在广播分发的过程中加入对黑名单进行处理,如果需要接收广播的应用还没有启动,则需要判断其是否在黑名单中,在黑名单中则不启动该应用。
本发明实施例提供一种终端应用程序运行的方法,接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;检测是否有应用程序达到自启动条件;若检测有应用程序达到所述自启动条件,则判断所述应用程序是否在所述应用程序黑名单内;若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序,通过提供用户人机交互界面设置自启动应用的名单,然后系统通过该名单对这些应用进行自启动限制,达到对用户不期望运行的应用进行限制运行的目的,可以有效的解决android手机后台运行应用多导致的手机卡顿、变慢的问题。
参考图2,图2是本发明实施例提供的另一种终端应用程序运行的方法的流程示意图。
如图2所示,所述终端应用程序运行的方法包括:
步骤201,接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;
步骤202,检测是否有应用程序达到自启动条件;
步骤203,若检测接收到运行所述应用程序的广播指令,且所述应用程序已经开启,则将所述广播指令发送给所述应用程序;
具体的,系统在广播分发的过程中加入对黑名单进行处理,如果需要接收广播的应用已经启动,则将所述广播指令发送给所述应用。
步骤204,若检测接收到运行所述应用程序的广播指令,且所述应用程序未开启,则执行判断所述应用程序是否在所述应用程序黑名单内的步骤;
步骤205,判断所述应用程序是否在所述应用程序黑名单内;
步骤206,若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序。
参考图3,图3是本发明实施例提供的另一种终端应用程序运行的方法的流程示意图。
在图1和图2的基础上,如图3所示,所述如图3所示,所述终端应用程序运行的方法包括:
步骤301,接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;
步骤302,检测是否有应用程序达到自启动条件;
步骤303,若检测接收到运行所述应用程序的广播指令,且所述应用程序已经开启,则将所述广播指令发送给所述应用程序;
步骤304,若检测接收到运行所述应用程序的广播指令,且所述应用程序未开启,则执行判断所述应用程序是否在所述应用程序黑名单内的步骤。
步骤305,判断所述应用程序是否在所述应用程序黑名单内;
步骤306,若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序;
步骤307,若所述应用程序不在所述应用程序黑名单内,则启动所述应用程序。
参考图4,图4是本发明实施例提供的一种终端应用程序运行的装置的功能模块示意图。
如图4所示,所述终端应用程序运行的装置包括:
接收模块401,设置为接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;
检测模块402,设置为检测是否有应用程序达到自启动条件;
判断模块403,设置为若检测有应用程序达到所述自启动条件,则判断所述应用程序是否在所述应用程序黑名单内;
禁止模块404,设置为若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序。
优选地,所述接收模块401,设置为:
通过自启动管理的应用程序接收所述用户设置的应用程序黑名单。
优选地,所述检测模块402,设置为:
检测所述终端是否开机重启,或者检测是否接收到运行所述应用程序的广播指令。
优选地,所述装置包括:
发送模块,设置为在判断所述应用程序是否在所述应用程序黑名单内之前,若检测接收到运行所述应用程序的广播指令,且所述应用程序已经开启,则将所述广播指令发送给所述应用程序;
执行模块,设置为若检测接收到运行所述应用程序的广播指令,且所述应用程序未开启,则执行判断所述判断模块。
优选地,所述装置还包括:
启动模块,设置为若所述应用程序不在所述应用程序黑名单内,则启动所述应用程序。
请参考图5,图5是本发明实施例公开的一种终端的结构示意图。本发明实施例中的终端500可以是不同类型的电子设备,例如:智能手机、平板电脑、掌上电脑以及移动互联网设备、个人数字助理、媒体播放器、智能电视、智能手表、智能眼镜、智能手环等。如图5所示,本发明实施例中的终端500包括:至少一个处理器510,例如CPU,至少一个接收器513,至少一个存储器514,至少一个发送器515,至少一个通信总线512。其中,所述通信总线512用于实现这些组件之间的连接通信。其中,所述接收器513和所述发送器515可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他设备进行数据通信。所述存储器514可以是高速RAM存储器,也可以是非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
所述处理器510可执行所述终端500的操作系统以及安装的各类应用程序、程序代码等,例如,上述的各个模块,包括所述接收模块401、所述监测模块402、所述判断模块403、所述禁止模块404等。
所述存储器514中存储有程序代码,且所述处理器510可通过通信总线512,调用所述存储器514中存储的程序代码以执行相关的功能。例如,图4中所述的各个模块(例如,所述接收模块401、所述监测模块402、所述判断模块403、所述禁止模块404等)是存储在所述存储器514中的程序代码,并由所述处理器510所执行,从而实现所述各个模块的功能以实现终端应用程序的运行。
在本发明的一个实施例中,所述存储器514存储多个指令,所述多个指令被所述处理器510所执行以实现终端应用程序的运行方法。具体而言,所述处理510接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;检测是否有应用程序达到自启动条件;若检测有应用程序达到所述自启动条件,则判断所述应用程序是否在所述应用程序黑名单内;若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序。
在进一步的实施例中,所述接收用户设置的应用程序黑名单,包括:所述处理器510通过自启动管理的应用程序接收所述用户设置的应用程序黑名单。
在进一步的实施例中,所述检测是否有应用程序达到自启动条件,包括:所述处理器510检测所述终端是否开机重启,或者检测是否接收到运行所述应用程序的广播指令。
在进一步的实施例中,所述判断所述应用程序是否在所述应用程序黑名单内之前,还包括:若所述处理器510检测接收到运行所述应用程序的广播指令,且所述应用程序已经开启,则将所述广播指令发送给所述应用程序;若所述处理器510检测接收到运行所述应用程序的广播指令,且所述应用程序未开启,则执行判断所述应用程序是否在所述应用程序黑名单内的步骤。
在进一步的实施例中,所述处理器510还用于,若所述应用程序不在所述应用程序黑名单内,则启动所述应用程序。
本发明实施例提供一种终端应用程序运行的装置,接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;检测是否有应用程序达到自启动条件;若检测有应用程序达到所述自启动条件,则判断所述应用程序是否在所述应用程序黑名单内;若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序,通过提供用户人机交互界面设置自启动应用的名单,然后系统通过该名单对这些应用进行自启动限制,达到对用户不期望运行的应用进行限制运行的目的,可以有效的解决android手机后台运行应用多导致的手机卡顿、变慢的问题。
以上结合具体实施例描述了本发明实施例的技术原理。这些描述只是为了解释本发明实施例的原理,而不能以任何方式解释为对本发明实施例保护范围的限制。基于此处的解释,本领域的技术人员不需要付出创造性的劳动即可联想到本发明实施例的其它具体实施方式,这些方式都将落入本发明实施例的保护范围之内。

Claims (10)

  1. 一种终端应用程序运行的方法,其特征在于,方法包括:
    接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;
    检测是否有应用程序达到自启动条件;
    若检测有应用程序达到所述自启动条件,则判断所述应用程序是否在所述应用程序黑名单内;
    若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序。
  2. 根据权利要求1所述的方法,其特征在于,所述接收用户设置的应用程序黑名单,包括:
    通过自启动管理的应用程序接收所述用户设置的应用程序黑名单。
  3. 根据权利要求1所述的方法,其特征在于,所述检测是否有应用程序达到自启动条件,包括:
    检测所述终端是否开机重启,或者检测是否接收到运行所述应用程序的广播指令。
  4. 根据权利要求3所述的方法,其特征在于,所述判断所述应用程序是否在所述应用程序黑名单内之前,还包括:
    若检测接收到运行所述应用程序的广播指令,且所述应用程序已经开启,则将所述广播指令发送给所述应用程序;
    若检测接收到运行所述应用程序的广播指令,且所述应用程序未开启,则执行判断所述应用程序是否在所述应用程序黑名单内的步骤。
  5. 根据权利要求1至4任意一项所述的方法,其特征在于,所述方法还包括:
    若所述应用程序不在所述应用程序黑名单内,则启动所述应用程序。
  6. 一种终端应用程序运行的装置,其特征在于,所述装置包括:
    接收模块,设置为接收用户设置的应用程序黑名单,所述应用程序黑名单包括禁止在终端后台自启动的应用程序;
    检测模块,设置为是否有应用程序达到自启动条件;
    判断模块,设置为若检测有应用程序达到所述自启动条件,则判断所述应用程序是否在所述应用程序黑名单内;
    禁止模块,设置为若所述应用程序在所述应用程序黑名单内,则禁止启动所述应用程序。
  7. 根据权利要求6所述的装置,其特征在于,所述接收模块,设置为:
    通过自启动管理的应用程序接收所述用户设置的应用程序黑名单。
  8. 根据权利要求6所述的装置,其特征在于,所述检测模块,设置为:
    检测所述终端是否开机重启,或者检测是否接收到运行所述应用程序的广播指令。
  9. 根据权利要求8所述的装置,其特征在于,所述装置包括:
    发送模块,设置为在判断所述应用程序是否在所述应用程序黑名单内之前,若检测接收到运行所述应用程序的广播指令,且所述应用程序已经开启,则将所述广播指令发送给所述应用程序;
    执行模块,设置为若检测接收到运行所述应用程序的广播指令,且所述应用程序未开启,则执行判断所述判断模块。
  10. 根据权利要求6至9任意一项所述的装置,其特征在于,所述装置还包括:
    启动模块,设置为若所述应用程序不在所述应用程序黑名单内,则启动所述应用程序。
PCT/CN2016/103872 2016-06-28 2016-10-29 一种终端应用程序运行的方法及装置 WO2018000673A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610486793.1A CN106095517A (zh) 2016-06-28 2016-06-28 一种终端应用程序运行的方法及装置
CN201610486793.1 2016-06-28

Publications (1)

Publication Number Publication Date
WO2018000673A1 true WO2018000673A1 (zh) 2018-01-04

Family

ID=57213962

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103872 WO2018000673A1 (zh) 2016-06-28 2016-10-29 一种终端应用程序运行的方法及装置

Country Status (2)

Country Link
CN (1) CN106095517A (zh)
WO (1) WO2018000673A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860338A (zh) * 2021-01-29 2021-05-28 中国农业银行股份有限公司 软件启动方法和装置

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937370A (zh) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 一种广播消息发送方法、装置及移动终端
CN107302789B (zh) * 2017-06-21 2021-04-16 上海集赫电子商务有限公司 一种提高安卓设备电池续航能力的方法及系统
CN107943270B (zh) * 2017-11-21 2020-09-01 Oppo广东移动通信有限公司 应用服务的控制方法、装置及存储介质和移动终端
CN107943268B (zh) * 2017-11-21 2020-03-10 Oppo广东移动通信有限公司 调度作业控制方法、装置、终端设备及存储介质
CN107894909B (zh) * 2017-11-30 2020-06-02 北京小米移动软件有限公司 限制Activity启动的方法、装置及存储介质
CN108776613A (zh) * 2018-04-26 2018-11-09 努比亚技术有限公司 一种终端进程控制方法、终端及计算机可读存储介质
CN110737484A (zh) * 2018-07-19 2020-01-31 马上消费金融股份有限公司 一种启动应用程序的方法及终端设备
CN112052101A (zh) * 2020-07-17 2020-12-08 苏宁智能终端有限公司 一种广播的处理方法、装置及计算机系统
CN114528033A (zh) * 2020-11-03 2022-05-24 成都鼎桥通信技术有限公司 控制方法、装置、电子设备以及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711098A (zh) * 2012-04-28 2012-10-03 广东欧珀移动通信有限公司 一种防止应用程序后台流量流失的方法
CN105094279A (zh) * 2015-07-07 2015-11-25 北京奇虎科技有限公司 一种改善智能终端待机性能的方法、装置和系统
CN105094280A (zh) * 2015-07-07 2015-11-25 北京奇虎科技有限公司 一种提高智能终端待机性能的方法、装置和系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021019B (zh) * 2014-06-18 2016-09-14 腾讯科技(深圳)有限公司 一种应用自启动的控制方法、终端及服务器
CN104462978B (zh) * 2014-12-24 2017-09-15 北京奇虎科技有限公司 一种应用程序权限管理的方法和装置
CN104462952B (zh) * 2014-12-31 2017-11-10 北京奇虎科技有限公司 一种禁止应用自启动的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711098A (zh) * 2012-04-28 2012-10-03 广东欧珀移动通信有限公司 一种防止应用程序后台流量流失的方法
CN105094279A (zh) * 2015-07-07 2015-11-25 北京奇虎科技有限公司 一种改善智能终端待机性能的方法、装置和系统
CN105094280A (zh) * 2015-07-07 2015-11-25 北京奇虎科技有限公司 一种提高智能终端待机性能的方法、装置和系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860338A (zh) * 2021-01-29 2021-05-28 中国农业银行股份有限公司 软件启动方法和装置
CN112860338B (zh) * 2021-01-29 2024-06-11 中国农业银行股份有限公司 软件启动方法和装置

Also Published As

Publication number Publication date
CN106095517A (zh) 2016-11-09

Similar Documents

Publication Publication Date Title
WO2018000673A1 (zh) 一种终端应用程序运行的方法及装置
WO2017148117A1 (zh) 一种安全刷机的方法及装置
WO2018000675A1 (zh) 一种后台应用管理装置、终端及后台应用管理方法
WO2013137662A1 (en) Apparatus and method of controlling permission to applications in a portable terminal
WO2012105764A2 (en) Apparatus and method for providing application auto-install function in digital device
WO2017206506A1 (zh) 一种nfc移动支付终端的安全模块管理方法及终端
WO2014107084A1 (en) Apparatus and method for providing a near field communication function in a portable terminal
WO2018094839A1 (zh) 一种移动终端预装应用的安装方法及装置
WO2017096796A1 (zh) 用于智能手机的系统更新方法和装置
WO2016029659A1 (zh) 同步智能设备音乐播放器功能的方法、系统及蓝牙耳机
WO2018035929A1 (zh) 一种验证码的处理方法及装置
WO2020197275A1 (en) Method for installing subscriber profile and electronic device therefor
WO2018068740A1 (zh) 终端及其应用程序的启动管理方法
WO2023124328A1 (zh) 无线通信模组及其功能恢复方法、电子设备和存储介质
WO2013180345A1 (ko) 외부 디바이스와 이에 도킹되는 휴대 단말 사이의 입력 이벤트 처리 방법
WO2017206453A1 (zh) 应用图标显示方法及系统
WO2015102372A1 (ko) 네트워크 인터페이스 가상화 장치 및 방법
WO2017082633A1 (en) Method and apparatus for maintaining continuity of on-going session over wired or wireless interface
WO2021040395A1 (en) Electronic device for controlling access to device resource and operation method thereof
WO2021006574A1 (en) Method and apparatus for managing application
WO2018018694A1 (zh) 应用程序的控制方法、控制装置和终端
WO2020060124A1 (ko) 패킷을 필터링하는 전자 장치 및 그 작동 방법
WO2018040177A1 (zh) 一种重新开机的方法及装置
WO2016190485A1 (ko) 데이터 무단 엑세스 차단 방법 및 그 기능이 구비된 컴퓨팅 장치
WO2013004175A1 (zh) 一种电子设备的软件升级方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16907069

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16907069

Country of ref document: EP

Kind code of ref document: A1