WO2015184885A1 - Method and device for closing background application of mobile terminal, and mobile terminal - Google Patents

Method and device for closing background application of mobile terminal, and mobile terminal Download PDF

Info

Publication number
WO2015184885A1
WO2015184885A1 PCT/CN2015/074529 CN2015074529W WO2015184885A1 WO 2015184885 A1 WO2015184885 A1 WO 2015184885A1 CN 2015074529 W CN2015074529 W CN 2015074529W WO 2015184885 A1 WO2015184885 A1 WO 2015184885A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
background application
mobile terminal
background
time
Prior art date
Application number
PCT/CN2015/074529
Other languages
French (fr)
Chinese (zh)
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 WO2015184885A1 publication Critical patent/WO2015184885A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/73Battery saving arrangements
    • 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
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • This article covers the field of mobile terminals.
  • the method for closing the background application of the terminal is: deleting the background application without pre-protection, closing the non-system application according to the CPU or memory usage of the mobile phone system, or switching the background application according to the time of the mobile phone system in the case of locking or blanking out. Wait.
  • these methods can close the background application, all background applications will be closed, which will cause the background application with higher usage to be closed. And for these applications that are closed by mistake, if the user uses it again, it needs to be restarted, so that the required resources are reloaded, which is more time-consuming, wastes resources, and reduces the user experience.
  • the embodiment of the invention provides a method, a device and a mobile terminal for closing a background application, which are intended to solve the technical problem that all background applications are closed in the prior art, resulting in waste of resources, time-consuming power consumption, and poor user experience.
  • the embodiment of the invention provides a method for closing a background application of a mobile terminal, which includes the following steps:
  • the background application is closed.
  • the step of preset a detection time period of the background application in the mobile terminal includes:
  • a user interface is provided for the user to set the detection time period.
  • the step of acquiring the actual running time of the background application of the mobile terminal at the end of the detecting time period includes:
  • the background application of the mobile terminal is monitored, and the information of the background application is collected and added to the application statistics list of the mobile terminal;
  • the information of the background application includes: the name and identifier of the background application, and the time when the application enters the background operation;
  • the application statistics list is monitored in real time and the application statistics list is updated according to user operations.
  • the step of acquiring the actual running time of the background application of the mobile terminal at the end of the detecting time period includes:
  • the current time is obtained
  • the actual running time of the background application is obtained.
  • the step of monitoring the application statistics list in real time and updating the application statistics list according to user operations includes:
  • the current application name and the identifier are compared with those in the application statistics list. If the current application information is consistent with a background application information in the application statistics list, the information corresponding to the background application in the application statistics list is cleared.
  • the embodiment of the invention further provides an apparatus for closing a background application of a mobile terminal, comprising:
  • a time setting module configured to preset a detection time period of the background application in the mobile terminal
  • the monitoring module is configured to acquire an actual running time of the background application of the mobile terminal at the end of the detecting time period;
  • the background application closes the module, and is set to close the background application when the running time of the background application is greater than or equal to a preset threshold.
  • the time setting module is set to:
  • a user interface is provided for the user to set the detection time period.
  • the monitoring module includes:
  • the information statistics unit is configured to monitor a background application of the mobile terminal, collect information of the background application, and add the information to the application statistics list of the mobile terminal;
  • the information of the background application includes: a name, an identifier of the background application, and the application enters the background operation time;
  • the statistics list monitoring unit is configured to monitor the application statistics list in real time and update the application statistics list according to user operations.
  • the monitoring module further includes:
  • the current time acquisition unit is configured to acquire the current time at the end of the detection time period
  • the operation unit is set to perform an operation according to the time when the application enters the background running and the current time, and obtains the actual running time of the background application.
  • the monitoring module further includes:
  • the list update unit is configured to compare the current application name and the identifier with the application statistics list. If the current application information is consistent with a background application information in the application statistics list, the background application corresponding to the application statistics list is cleared. Information.
  • the embodiment of the invention further provides a mobile terminal, which comprises means for closing a background application of the mobile terminal.
  • the device for closing the background application of the mobile terminal includes:
  • a time setting module configured to preset a detection time period of the background application in the mobile terminal
  • a monitoring module configured to acquire a background application of the mobile terminal at the end of the detecting time period Actual running time
  • the background application closes the module, and is set to close the background application when the running time of the background application is greater than or equal to a preset threshold.
  • the mobile terminal is a mobile phone or a tablet.
  • the embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
  • the detection time period of the background application When the detection time period of the background application is preset in the mobile terminal, the actual running time of the background application of the mobile terminal is obtained when the detection time period is over, and when the running time of the background application is greater than or equal to the preset threshold, The background application is closed, and the background application that the user does not use is closed, thereby releasing resources in time, improving system resource utilization, reducing power consumption of the mobile terminal, and participating in setting time, and the detection time is flexible, and the user is improved. Experience.
  • FIG. 1 is a schematic flowchart of a method for closing a background application of a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a step of presetting a detection time period of a background application in a mobile terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of steps for monitoring a background application of a mobile terminal according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of steps for obtaining an actual running time of a background application of a mobile terminal according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an apparatus for shutting down a background application of a mobile terminal according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a monitoring module according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a monitoring module according to another embodiment of the present invention.
  • the mobile terminal mentioned in the embodiment of the present invention can be understood as a data processing terminal having an application, including a mobile phone, a tablet computer, a notebook computer, etc., and the following is a detailed description of the technical solution of the present invention by using a mobile phone as an example. . It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • An embodiment of the present invention provides a method for shutting down a background application of a mobile terminal.
  • the method for closing a background application of a mobile terminal includes at least the following steps:
  • the detection time period of the background application is preset in the mobile terminal.
  • the background application refers to an application that enters the background running of the mobile phone.
  • the user operation interface can be provided in the mobile phone for the user to set the detection time period in the mobile phone.
  • the detection time period is flexible, and can be 1 second, 1 hour, 10 hours, etc., can be started in real time or can be started after a long time.
  • step S30 when the running time of the background application is greater than or equal to the preset threshold, the background application is closed. If the actual running time of the background application is greater than or equal to the preset threshold (the time threshold may be half an hour or one hour, and the user interface may be provided by the mobile phone manufacturer or the software provider to the user), the background application is considered as the user. The background application is not used, the background application is closed, and the corresponding system resources are released; otherwise, the background application continues to be running.
  • the preset threshold the time threshold may be half an hour or one hour, and the user interface may be provided by the mobile phone manufacturer or the software provider to the user
  • the invention automatically presets the detection time period of the background application in the mobile phone by the user, and obtains the actual running time of the background application of the mobile phone when the detection time period ends.
  • the running time of the background application is greater than or equal to the preset threshold, the method is closed.
  • the background application can specifically shut down some background applications that the user does not use, and can release resources in time, thereby improving system resource utilization, reducing the power consumption of the mobile phone, and participating in setting time, the detection time is more flexible, and the user is improved. Experience.
  • step S10 includes:
  • Step S11 creating a menu for closing the background application in the mobile terminal, and setting a switch for closing the background application in the menu;
  • step S12 when the state of the switch for closing the background application is on, a user interface is provided for the user to set the detection time period.
  • the mobile phone manufacturer or the software provider may set the background application function for the mobile phone in advance in the operating system or the application software of the mobile phone.
  • the function of closing the background application is: creating a close background application menu, and setting a switch for closing the background application in the menu.
  • a user interface is provided for the user to set the detection time period.
  • the time for starting and closing the background application is set by the user, which is flexible, and does not close all background applications, but only closes unused background applications, thereby saving resources, reducing energy consumption, and improving users. Experience.
  • step S20 includes:
  • step S201 the background application of the mobile terminal is monitored, and the information of the background application is collected and added to the application statistics list of the mobile terminal.
  • the information of the background application includes: the name and identifier of the background application, and the time when the application enters the background operation;
  • the system starts to collect statistics on the background application of the current time, and adds the information to the preset statistics list.
  • the statistics list records the names and identifiers of all background applications and the background application enters the background. Time (also called start time).
  • Step S202 Monitor the application statistics list in real time and update the application statistics list according to user operations. For example, when some new applications enter the background, the information of the application is added in the application statistics list; when a background application is closed, the information of the background application is deleted in the application statistics list; when a background application is used by the user If enabled, the background application information and so on should also be cleared in the application statistics list.
  • step S20 includes:
  • Step S21 At the end of the detection time period, acquire the current time
  • step S22 the operation is performed according to the time when the application enters the background running and the current time, and the actual running time of the background application is obtained.
  • the statistics list is updated, and the closed background application is deleted from the statistics list.
  • the start time of the background application that is not closed remains unchanged, and the information of the background application in the statistics list is continuously updated for the next detection time. cycle.
  • step S202 further includes:
  • the current application name and the identifier are compared with those in the application statistics list. If the current application information is consistent with a background application information in the application statistics list, the information corresponding to the background application in the application statistics list is cleared. Considering that the user may be using the mobile phone constantly, some background applications may be started by the user constantly. If the name of the current application, the identifier, and the information of a background application in the statistical table are consistent, the application is to be taken from the statistical list. Deleted.
  • the present invention also provides an apparatus for turning off a background application of a mobile terminal, which is configured to implement the above method.
  • the apparatus for closing a background application of a mobile terminal includes:
  • the time setting module 10 is configured to preset a detection time period of the background application in the mobile terminal.
  • the time setting module 10 can provide a user operation interface in the mobile phone for the user to set the detection time period in the mobile phone.
  • the detection time period is flexible, and can be 1 second, 1 hour, 10 hours, etc., and can be started in real time or after a long time.
  • the monitoring module 20 is configured to acquire the actual running time of the background application of the mobile terminal at the end of the detecting time period; after the user sets the detecting time period, the monitoring module 20 acquires the set time period and starts timing.
  • the detection time period ends that is, when the detection time period is completed
  • the actual running time of the background application of the mobile terminal is obtained, and the actual running time of the background application is the current time-starting running time (that is, the time when the application enters the background running).
  • the background application close module 30 is configured to close the background application when the running time of the background application is greater than or equal to a preset threshold. If the actual running time of the background application is greater than or equal to a preset threshold (the time threshold may be half an hour or one hour, the user interface may be provided by the mobile phone manufacturer or the software provider to the user), the background application closing module 30 considers The background application is a background application that is not used by the user, and the background application is closed, and the corresponding system resource is released; otherwise, the background application continues to maintain the running state.
  • a preset threshold the time threshold may be half an hour or one hour, the user interface may be provided by the mobile phone manufacturer or the software provider to the user
  • the time setting module 10 is configured to:
  • a user interface is provided for the user to set the detection time period.
  • the mobile phone manufacturer or the software provider may set the background application function for the mobile phone in advance in the operating system or the application software of the mobile phone.
  • the function of closing the background application is: creating a close background application menu, and setting a switch for closing the background application in the menu.
  • the time setting module 10 provides a user interface for the user to set the detection time period.
  • the time for starting and closing the background application is set by the user, which is flexible, and does not close all background applications, but only closes unused background applications, thereby saving resources, reducing energy consumption, and improving users. Experience.
  • the monitoring module 20 includes:
  • the information statistic unit 21 is configured to monitor a background application of the mobile terminal, and collect information of the background application, and add the information to the application statistics list of the mobile terminal.
  • the information of the background application includes: a name, an identifier of the background application, and the application enters the background. Running time
  • the statistics list monitoring unit 22 is configured to monitor the application statistics list in real time and update the application statistics list according to user operations.
  • the information statistics unit 21 starts to collect the information of the background application in the current time, and adds the information to the preset statistics list, and records the names and identifiers of all the background applications in the statistics list.
  • the time that the background application enters the background also known as the start time.
  • the information of the application is added in the application statistics list; when a background application is closed, the information of the background application is deleted in the application statistics list; when a background application is enabled by the user, Then also clear the information of the background application in the application statistics list.
  • the monitoring module 20 further includes:
  • the current time obtaining unit 23 is configured to acquire the current time when the detection time period ends;
  • the operation unit 24 is configured to perform an operation according to the time when the application enters the background operation and the current time, to obtain the actual running time of the background application.
  • the current time acquisition unit 23 acquires the current time, and the operation unit 24 calculates the actual runtime of each background application in the statistics list.
  • the statistics list is updated, and the closed background application is deleted from the statistics list.
  • the start time of the background application that is not closed remains unchanged, and the information of the background application in the statistics list is continuously updated for the next detection time. cycle.
  • the monitoring module 20 further includes:
  • the list updating unit 25 is configured to compare the name and the identifier of the current application with the application statistics list. If the current application information is consistent with a background application information in the application statistics list, the background application in the application statistics list is cleared. Corresponding information. Considering that the user may be using the mobile phone constantly, some background applications may be started by the user constantly. If the name of the current application, the identifier, and the information of a background application in the statistical table are consistent, the list updating unit 25 applies the application. Remove from the statistics list.
  • the apparatus for closing the background application of the mobile terminal of the present invention may be an application software loaded in the mobile terminal implemented by a computer program, and those skilled in the art can understand and implement the above by using a computer language through the description of the above embodiments. Program.
  • the embodiment of the invention further provides a mobile terminal, which comprises the foregoing device for closing a background application of a mobile terminal.
  • a mobile terminal which comprises the foregoing device for closing a background application of a mobile terminal.
  • the device for closing the background application of the mobile terminal is provided, the part of the background application that is not used by the user can be closed in a targeted manner, and resources can be released in time, thereby improving system resource utilization and reducing power consumption of the mobile phone.
  • the user participates in setting the time, the detection time is more flexible, and the user experience is improved.
  • the embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the method and device for closing a background application and the mobile terminal provided by the embodiment of the present invention can specifically shut down a background application that is not used by the user, thereby releasing resources in time, improving system resource utilization, reducing power consumption of the mobile terminal, and participating in the user. Setting the time, the detection time is more flexible, and the user experience is improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

A method and device for closing a background application of a mobile terminal, and a mobile terminal. The method comprises the following steps: presetting a detection time period of a background application in a mobile terminal; when the detection time period ends, acquiring the actual running time of the background application of the mobile terminal; and when the running time of the background application is longer than or equal to a preset threshold, closing the background application. The device is provided for implementing the above method. The mobile terminal comprises the device for implementing the above method.

Description

关闭移动终端后台应用的方法、装置及移动终端Method, device and mobile terminal for closing mobile terminal background application 技术领域Technical field
本文涉及移动终端领域。This article covers the field of mobile terminals.
背景技术Background technique
随着终端技术的不断发展,移动终端(例如手机、平板电脑等)的功能越来越强大,特别是多任务处理技术的应用,更好的满足了用户的需求。然而,多任务处理能力在给用户带来强大的应用体验的同时,也给用户带来了烦恼,例如,终端的内存越用越少,终端越用越慢。由于终端多任务处理技术本身的特点,只有一个应用为当前应用,其他大量的应用程序将驻留在终端的后台运行,占用大量的系统资源,从而导致终端运行速度下降,用户体验降低。With the continuous development of terminal technologies, the functions of mobile terminals (such as mobile phones, tablet computers, etc.) are becoming more and more powerful, especially the application of multi-tasking technology, which better meets the needs of users. However, multi-tasking ability brings a strong application experience to users, but also brings troubles to users. For example, the less memory of the terminal is used, the slower the terminal is. Due to the characteristics of the terminal multi-tasking technology, only one application is the current application, and a large number of other applications will reside in the background of the terminal, occupying a large amount of system resources, resulting in a decrease in the running speed of the terminal and a decrease in the user experience.
目前实现关闭终端后台应用的方法有:在锁屏或者熄屏的情况下,对没有预保护的后台应用进行删除、根据手机系统CPU或者内存占用率关闭非系统应用程序或者分时段管理后台应用程序等。虽然这些方法能够实现关闭后台应用,但是会将所有后台应用关闭,这样会导致使用率比较高的后台应用被误关闭。且对于这些被误关闭的应用,如果用户再次使用,需要重新启动,这样所需资源重新被加载,这样反而更加耗电耗时,浪费资源,降低用户体验。At present, the method for closing the background application of the terminal is: deleting the background application without pre-protection, closing the non-system application according to the CPU or memory usage of the mobile phone system, or switching the background application according to the time of the mobile phone system in the case of locking or blanking out. Wait. Although these methods can close the background application, all background applications will be closed, which will cause the background application with higher usage to be closed. And for these applications that are closed by mistake, if the user uses it again, it needs to be restarted, so that the required resources are reloaded, which is more time-consuming, wastes resources, and reduces the user experience.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种关闭后台应用的方法、装置及移动终端,旨在解决现有技术中将所有后台应用关闭,导致资源浪费、耗时耗电、用户体验较差的技术问题。The embodiment of the invention provides a method, a device and a mobile terminal for closing a background application, which are intended to solve the technical problem that all background applications are closed in the prior art, resulting in waste of resources, time-consuming power consumption, and poor user experience.
本发明实施例提供一种关闭移动终端后台应用的方法,包括以下步骤: The embodiment of the invention provides a method for closing a background application of a mobile terminal, which includes the following steps:
在移动终端中预置后台应用的检测时间周期;Presetting a detection time period of the background application in the mobile terminal;
在所述检测时间周期结束时,获取移动终端后台应用的实际运行时间;Obtaining an actual running time of the background application of the mobile terminal at the end of the detecting time period;
当后台应用的运行时间大于或等于预设的阈值时,关闭该后台应用。When the running time of the background application is greater than or equal to the preset threshold, the background application is closed.
可选地,所述在移动终端中预置后台应用的检测时间周期的步骤包括:Optionally, the step of preset a detection time period of the background application in the mobile terminal includes:
在移动终端中创建用于关闭后台应用的菜单,在该菜单中设置关闭后台应用的开关;Creating a menu for closing the background application in the mobile terminal, and setting a switch for closing the background application in the menu;
在关闭后台应用的开关的状态为开启时,提供用户界面供用户设置检测时间周期。When the state of the switch for closing the background application is on, a user interface is provided for the user to set the detection time period.
可选地,所述在检测时间周期结束时,获取移动终端后台应用的实际运行时间的步骤包括:Optionally, the step of acquiring the actual running time of the background application of the mobile terminal at the end of the detecting time period includes:
监测移动终端的后台应用,统计后台应用的信息,并添加到移动终端的应用统计列表中;所述后台应用的信息包括:后台应用的名称、标识以及该应用进入后台运行的时间;The background application of the mobile terminal is monitored, and the information of the background application is collected and added to the application statistics list of the mobile terminal; the information of the background application includes: the name and identifier of the background application, and the time when the application enters the background operation;
实时监测所述应用统计列表并根据用户操作对所述应用统计列表进行更新。The application statistics list is monitored in real time and the application statistics list is updated according to user operations.
可选地,所述在检测时间周期结束时,获取移动终端后台应用的实际运行时间的步骤中包括:Optionally, the step of acquiring the actual running time of the background application of the mobile terminal at the end of the detecting time period includes:
在检测时间周期结束时,获取当前时间;At the end of the detection time period, the current time is obtained;
根据应用进入后台运行的时间和当前时间进行运算,得到后台应用的实际运行时间。According to the time that the application enters the background running time and the current time, the actual running time of the background application is obtained.
可选地,所述实时监测所述应用统计列表并根据用户操作对所述应用统计列表进行更新的步骤中包括:Optionally, the step of monitoring the application statistics list in real time and updating the application statistics list according to user operations includes:
将当前应用的名称、标识与应用统计列表中的进行比对,如果当前应用的信息与应用统计列表中的某后台应用信息一致,则清空应用统计列表中该后台应用对应的信息。The current application name and the identifier are compared with those in the application statistics list. If the current application information is consistent with a background application information in the application statistics list, the information corresponding to the background application in the application statistics list is cleared.
本发明实施例还提供一种关闭移动终端后台应用的装置,包括:The embodiment of the invention further provides an apparatus for closing a background application of a mobile terminal, comprising:
时间设置模块,设置为在移动终端中预置后台应用的检测时间周期; a time setting module, configured to preset a detection time period of the background application in the mobile terminal;
监测模块,设置为在所述检测时间周期结束时,获取移动终端后台应用的实际运行时间;The monitoring module is configured to acquire an actual running time of the background application of the mobile terminal at the end of the detecting time period;
后台应用关闭模块,设置为当后台应用的运行时间大于或等于预设的阈值时,关闭该后台应用。The background application closes the module, and is set to close the background application when the running time of the background application is greater than or equal to a preset threshold.
可选地,所述时间设置模块是设置为:Optionally, the time setting module is set to:
在移动终端中创建用于关闭后台应用的菜单,在该菜单中设置关闭后台应用的开关;Creating a menu for closing the background application in the mobile terminal, and setting a switch for closing the background application in the menu;
在关闭后台应用的开关的状态为开启时,提供用户界面供用户设置检测时间周期。When the state of the switch for closing the background application is on, a user interface is provided for the user to set the detection time period.
可选地,所述监测模块包括:Optionally, the monitoring module includes:
信息统计单元,设置为监测移动终端的后台应用,统计后台应用的信息,并添加到移动终端的应用统计列表中;所述后台应用的信息包括:后台应用的名称、标识以及该应用进入后台运行的时间;The information statistics unit is configured to monitor a background application of the mobile terminal, collect information of the background application, and add the information to the application statistics list of the mobile terminal; the information of the background application includes: a name, an identifier of the background application, and the application enters the background operation time;
统计列表监测单元,设置为实时监测所述应用统计列表并根据用户操作对所述应用统计列表进行更新。The statistics list monitoring unit is configured to monitor the application statistics list in real time and update the application statistics list according to user operations.
可选地,所述监测模块还包括:Optionally, the monitoring module further includes:
当前时间获取单元,设置为在检测时间周期结束时,获取当前时间;The current time acquisition unit is configured to acquire the current time at the end of the detection time period;
运算单元,设置为根据应用进入后台运行的时间和当前时间进行运算,得到后台应用的实际运行时间。The operation unit is set to perform an operation according to the time when the application enters the background running and the current time, and obtains the actual running time of the background application.
可选地,所述监测模块还包括:Optionally, the monitoring module further includes:
列表更新单元,设置为将当前应用的名称、标识与应用统计列表中的进行比对,如果当前应用的信息与应用统计列表中的某后台应用信息一致,则清空应用统计列表中该后台应用对应的信息。The list update unit is configured to compare the current application name and the identifier with the application statistics list. If the current application information is consistent with a background application information in the application statistics list, the background application corresponding to the application statistics list is cleared. Information.
本发明实施例还提供一种移动终端,其包括关闭移动终端后台应用的装置。该关闭移动终端后台应用的装置包括:The embodiment of the invention further provides a mobile terminal, which comprises means for closing a background application of the mobile terminal. The device for closing the background application of the mobile terminal includes:
时间设置模块,设置为在移动终端中预置后台应用的检测时间周期;a time setting module, configured to preset a detection time period of the background application in the mobile terminal;
监测模块,设置为在所述检测时间周期结束时,获取移动终端后台应用 的实际运行时间;a monitoring module, configured to acquire a background application of the mobile terminal at the end of the detecting time period Actual running time;
后台应用关闭模块,设置为当后台应用的运行时间大于或等于预设的阈值时,关闭该后台应用。The background application closes the module, and is set to close the background application when the running time of the background application is greater than or equal to a preset threshold.
可选地,该移动终端为手机或平板电脑。Optionally, the mobile terminal is a mobile phone or a tablet.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现上述方法。The embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
本发明通过在移动终端中预置后台应用的检测时间周期,在所述检测时间周期结束时,获取移动终端后台应用的实际运行时间,在后台应用的运行时间大于或等于预设的阈值时,关闭该后台应用,能够针对性的将用户没有使用的后台应用关闭,从而及时释放资源,提高系统资源利用率,降低了移动终端功耗,并且用户参与设置时间,检测时间比较灵活,提高了用户体验。When the detection time period of the background application is preset in the mobile terminal, the actual running time of the background application of the mobile terminal is obtained when the detection time period is over, and when the running time of the background application is greater than or equal to the preset threshold, The background application is closed, and the background application that the user does not use is closed, thereby releasing resources in time, improving system resource utilization, reducing power consumption of the mobile terminal, and participating in setting time, and the detection time is flexible, and the user is improved. Experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明一实施例中关闭移动终端后台应用的方法的流程示意图;1 is a schematic flowchart of a method for closing a background application of a mobile terminal according to an embodiment of the present invention;
图2为本发明一实施例中在移动终端中预置后台应用的检测时间周期的步骤流程示意图;2 is a schematic flowchart of a step of presetting a detection time period of a background application in a mobile terminal according to an embodiment of the present invention;
图3为本发明一实施例中监测移动终端后台应用的步骤流程示意图;3 is a schematic flowchart of steps for monitoring a background application of a mobile terminal according to an embodiment of the present invention;
图4为本发明一实施例中获取移动终端后台应用的实际运行时间的步骤流程示意图;4 is a schematic flowchart of steps for obtaining an actual running time of a background application of a mobile terminal according to an embodiment of the present invention;
图5为本发明一实施例中关闭移动终端后台应用的装置的结构示意图;FIG. 5 is a schematic structural diagram of an apparatus for shutting down a background application of a mobile terminal according to an embodiment of the present invention; FIG.
图6为本发明一实施例中监测模块的结构示意图;6 is a schematic structural diagram of a monitoring module according to an embodiment of the present invention;
图7为本发明另一实施例中监测模块的结构示意图。FIG. 7 is a schematic structural diagram of a monitoring module according to another embodiment of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。 The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
本发明的实施方式Embodiments of the invention
应当说明的是,本发明实施例中所提到的移动终端可以理解为具有应用程序的数据处理终端,包括手机、平板电脑、笔记本电脑等,以下将以手机为例详细说明本发明的技术方案。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。It should be noted that the mobile terminal mentioned in the embodiment of the present invention can be understood as a data processing terminal having an application, including a mobile phone, a tablet computer, a notebook computer, etc., and the following is a detailed description of the technical solution of the present invention by using a mobile phone as an example. . It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例提供一种关闭移动终端后台应用的方法,参照图1,本发明一实施例中,该关闭移动终端后台应用的方法至少包括以下步骤:An embodiment of the present invention provides a method for shutting down a background application of a mobile terminal. Referring to FIG. 1 , in an embodiment of the present invention, the method for closing a background application of a mobile terminal includes at least the following steps:
步骤S10,在移动终端中预置后台应用的检测时间周期;本发明实施例中,后台应用指的是进入手机后台运行的应用。可以在手机中提供用户操作界面供用户在手机中自行设置检测时间周期,该检测时间周期比较灵活,可以为1秒,1小时,10小时等,可以实时启动也可以长时间后启动。In step S10, the detection time period of the background application is preset in the mobile terminal. In the embodiment of the present invention, the background application refers to an application that enters the background running of the mobile phone. The user operation interface can be provided in the mobile phone for the user to set the detection time period in the mobile phone. The detection time period is flexible, and can be 1 second, 1 hour, 10 hours, etc., can be started in real time or can be started after a long time.
步骤S20,在检测时间周期结束时,获取移动终端后台应用的实际运行时间;在用户设置检测时间周期后,移动终端开始计时,当结束一个检测时间周期(即一个检测时间周期运行完)时,获取移动终端后台应用的实际运行时间,该后台应用的实际运行时间=当前时间-开始运行时间(即应用进入后台运行的时间)。Step S20: Acquire an actual running time of the background application of the mobile terminal at the end of the detecting time period; after the user sets the detecting time period, the mobile terminal starts timing, and when a detecting time period ends (ie, one detecting time period is completed), Obtain the actual running time of the background application of the mobile terminal, and the actual running time of the background application=current time-starting running time (that is, the time when the application enters the background running).
步骤S30,当后台应用的运行时间大于或等于预设的阈值时,关闭该后台应用。如果后台应用的实际运行时间大于或等于预设的阈值(该时间阈值可以为半小时或者一小时,可以由手机制造商或者软件提供商提供用户界面给用户设置),则认为该后台应用为用户未使用的后台应用,关闭该后台应用,并释放相应的系统资源;否则该后台应用继续维持运行状态。In step S30, when the running time of the background application is greater than or equal to the preset threshold, the background application is closed. If the actual running time of the background application is greater than or equal to the preset threshold (the time threshold may be half an hour or one hour, and the user interface may be provided by the mobile phone manufacturer or the software provider to the user), the background application is considered as the user. The background application is not used, the background application is closed, and the corresponding system resources are released; otherwise, the background application continues to be running.
本发明通过用户自主在手机中预置后台应用的检测时间周期,在检测时间周期结束时,获取手机后台应用的实际运行时间,在后台应用的运行时间大于或等于预设的阈值时,关闭该后台应用,能够针对性的将用户没有使用的部分后台应用关闭,并能够及时释放资源,从而提高系统资源利用率,降低了手机功耗,并且用户参与设置时间,检测时间比较灵活,提高了用户体验。The invention automatically presets the detection time period of the background application in the mobile phone by the user, and obtains the actual running time of the background application of the mobile phone when the detection time period ends. When the running time of the background application is greater than or equal to the preset threshold, the method is closed. The background application can specifically shut down some background applications that the user does not use, and can release resources in time, thereby improving system resource utilization, reducing the power consumption of the mobile phone, and participating in setting time, the detection time is more flexible, and the user is improved. Experience.
参照图2,在一实施例中,上述步骤S10包括: Referring to FIG. 2, in an embodiment, the foregoing step S10 includes:
步骤S11,在移动终端中创建用于关闭后台应用的菜单,在该菜单中设置关闭后台应用的开关;Step S11, creating a menu for closing the background application in the mobile terminal, and setting a switch for closing the background application in the menu;
步骤S12,在关闭后台应用的开关的状态为开启时,提供用户界面供用户设置检测时间周期。In step S12, when the state of the switch for closing the background application is on, a user interface is provided for the user to set the detection time period.
本发明实施例中,可以由手机制造商或者软件提供商在手机的操作系统或者应用软件中事先为手机设置关闭后台应用功能。所述关闭后台应用功能为:创建关闭后台应用菜单,菜单中设置关闭后台应用的开关。在关闭后台应用的开关为开启状态时,提供用户界面供用户设置检测时间周期。本发明实施例中,启动关闭后台应用的时间由用户设定,比较灵活,而且不会关闭所有后台应用,只是关闭未使用的后台应用,这样既能够节省资源,降低能耗,还能够提高用户体验。In the embodiment of the present invention, the mobile phone manufacturer or the software provider may set the background application function for the mobile phone in advance in the operating system or the application software of the mobile phone. The function of closing the background application is: creating a close background application menu, and setting a switch for closing the background application in the menu. When the switch of the background application is turned off, a user interface is provided for the user to set the detection time period. In the embodiment of the present invention, the time for starting and closing the background application is set by the user, which is flexible, and does not close all background applications, but only closes unused background applications, thereby saving resources, reducing energy consumption, and improving users. Experience.
参照图3,本发明一实施例中,前述步骤S20包括:Referring to FIG. 3, in an embodiment of the present invention, the foregoing step S20 includes:
步骤S201,监测移动终端的后台应用,统计后台应用的信息,并添加到移动终端的应用统计列表中;所述后台应用的信息包括:后台应用的名称、标识以及该应用进入后台运行的时间;上述步骤中,当检测时间周期设置好以后,系统开始统计当前时间后台应用的信息,并增加到预设的统计列表中,统计列表中记录所有后台应用的名称、标识以及该后台应用进入后台的时间(也可称开始运行时间)。In step S201, the background application of the mobile terminal is monitored, and the information of the background application is collected and added to the application statistics list of the mobile terminal. The information of the background application includes: the name and identifier of the background application, and the time when the application enters the background operation; In the above steps, after the detection time period is set, the system starts to collect statistics on the background application of the current time, and adds the information to the preset statistics list. The statistics list records the names and identifiers of all background applications and the background application enters the background. Time (also called start time).
步骤S202,实时监测所述应用统计列表并根据用户操作对所述应用统计列表进行更新。例如,当一些新的应用进入后台时,在应用统计列表中增加该应用的信息;当某个后台应用被关闭后,在应用统计列表中删除该后台应用的信息;当某个后台应用被用户启用,则也要在应用统计列表中清空该后台应用的信息等。Step S202: Monitor the application statistics list in real time and update the application statistics list according to user operations. For example, when some new applications enter the background, the information of the application is added in the application statistics list; when a background application is closed, the information of the background application is deleted in the application statistics list; when a background application is used by the user If enabled, the background application information and so on should also be cleared in the application statistics list.
参见图4,本发明实施例中,上述步骤S20中包括:Referring to FIG. 4, in the embodiment of the present invention, the foregoing step S20 includes:
步骤S21,在检测时间周期结束时,获取当前时间;Step S21: At the end of the detection time period, acquire the current time;
步骤S22,根据应用进入后台运行的时间和当前时间进行运算,得到后台应用的实际运行时间。在检测时间周期结束时,获取移动终端的当前时间,并计算统计列表中每个后台应用的实际运行时间(实际运行时间=当前时间- 开始运行时间)。该实际运行时间为该后台应用用户未使用时间。如果实际运行时间>=设定的阈值,则认为是用户未使用的后台应用,关闭该后台应用,并释放相应的系统资源。否则该后台应用继续维持运行状态。关闭相应的后台应用后,更新统计列表,将关闭的后台应用从统计列表中删除,未关闭的后台应用的开始运行时间不变,继续更新统计列表中后台应用的信息,用于下次检测时间周期。In step S22, the operation is performed according to the time when the application enters the background running and the current time, and the actual running time of the background application is obtained. At the end of the detection time period, obtain the current time of the mobile terminal, and calculate the actual running time of each background application in the statistics list (actual running time = current time - Start running time). The actual running time is the unused time of the background application user. If the actual running time >= set threshold, it is considered as a background application that the user does not use, close the background application, and release the corresponding system resources. Otherwise the background application continues to be running. After the corresponding background application is closed, the statistics list is updated, and the closed background application is deleted from the statistics list. The start time of the background application that is not closed remains unchanged, and the information of the background application in the statistics list is continuously updated for the next detection time. cycle.
本发明一实施例中,上述步骤S202中还包括:In an embodiment of the present invention, the foregoing step S202 further includes:
将当前应用的名称、标识与应用统计列表中的进行比对,如果当前应用的信息与应用统计列表中的某后台应用信息一致,则清空应用统计列表中该后台应用对应的信息。考虑到用户可能在不断地使用手机,某些后台应用可能不停地被用户启动,如果检测到当前应用的名称、标识和统计表中某后台应用的信息一致,则要将该应用从统计列表中删除。The current application name and the identifier are compared with those in the application statistics list. If the current application information is consistent with a background application information in the application statistics list, the information corresponding to the background application in the application statistics list is cleared. Considering that the user may be using the mobile phone constantly, some background applications may be started by the user constantly. If the name of the current application, the identifier, and the information of a background application in the statistical table are consistent, the application is to be taken from the statistical list. Deleted.
本发明还提供一种关闭移动终端后台应用的装置,设置为实现上述方法。参照图5,在一实施例中,该关闭移动终端后台应用的装置包括:The present invention also provides an apparatus for turning off a background application of a mobile terminal, which is configured to implement the above method. Referring to FIG. 5, in an embodiment, the apparatus for closing a background application of a mobile terminal includes:
时间设置模块10,设置为在移动终端中预置后台应用的检测时间周期;本发明实施例中,时间设置模块10可以在手机中提供用户操作界面供用户在手机中自行设置检测时间周期,该检测时间周期比较灵活,可以为1秒,1小时,10小时等,可以实时启动也可以长时间后启动。The time setting module 10 is configured to preset a detection time period of the background application in the mobile terminal. In the embodiment of the present invention, the time setting module 10 can provide a user operation interface in the mobile phone for the user to set the detection time period in the mobile phone. The detection time period is flexible, and can be 1 second, 1 hour, 10 hours, etc., and can be started in real time or after a long time.
监测模块20,设置为在所述检测时间周期结束时,获取移动终端后台应用的实际运行时间;在用户设置检测时间周期后,监测模块20获取设置的时间周期,并开始计时。在检测时间周期结束(即一个检测时间周期运行完)时,获取移动终端后台应用的实际运行时间,该后台应用的实际运行时间=当前时间-开始运行时间(即应用进入后台运行的时间)。The monitoring module 20 is configured to acquire the actual running time of the background application of the mobile terminal at the end of the detecting time period; after the user sets the detecting time period, the monitoring module 20 acquires the set time period and starts timing. When the detection time period ends (that is, when the detection time period is completed), the actual running time of the background application of the mobile terminal is obtained, and the actual running time of the background application is the current time-starting running time (that is, the time when the application enters the background running).
后台应用关闭模块30,设置为当后台应用的运行时间大于或等于预设的阈值时,关闭该后台应用。如果后台应用的实际运行时间大于或等于预设的阈值(该时间阈值可以为半小时或者一小时,可以由手机制造商或者软件提供商提供用户界面给用户设置),则后台应用关闭模块30认为该后台应用为用户未使用的后台应用,关闭该后台应用,并释放相应的系统资源;否则该后台应用继续维持运行状态。 The background application close module 30 is configured to close the background application when the running time of the background application is greater than or equal to a preset threshold. If the actual running time of the background application is greater than or equal to a preset threshold (the time threshold may be half an hour or one hour, the user interface may be provided by the mobile phone manufacturer or the software provider to the user), the background application closing module 30 considers The background application is a background application that is not used by the user, and the background application is closed, and the corresponding system resource is released; otherwise, the background application continues to maintain the running state.
在一实施例中,时间设置模块10是设置为:In an embodiment, the time setting module 10 is configured to:
在移动终端中创建用于关闭后台应用的菜单,在该菜单中设置关闭后台应用的开关;Creating a menu for closing the background application in the mobile terminal, and setting a switch for closing the background application in the menu;
在关闭后台应用的开关的状态为开启时,提供用户界面供用户设置检测时间周期。本发明实施例中,可以由手机制造商或者软件提供商在手机的操作系统或者应用软件中事先为手机设置关闭后台应用功能。所述关闭后台应用功能为:创建关闭后台应用菜单,菜单中设置关闭后台应用的开关。在关闭后台应用的开关为开启状态时,时间设置模块10提供用户界面供用户设置检测时间周期。本发明实施例中,启动关闭后台应用的时间由用户设定,比较灵活,而且不会关闭所有后台应用,只是关闭未使用的后台应用,这样既能够节省资源,降低能耗,还能够提高用户体验。When the state of the switch for closing the background application is on, a user interface is provided for the user to set the detection time period. In the embodiment of the present invention, the mobile phone manufacturer or the software provider may set the background application function for the mobile phone in advance in the operating system or the application software of the mobile phone. The function of closing the background application is: creating a close background application menu, and setting a switch for closing the background application in the menu. When the switch of the background application is turned off, the time setting module 10 provides a user interface for the user to set the detection time period. In the embodiment of the present invention, the time for starting and closing the background application is set by the user, which is flexible, and does not close all background applications, but only closes unused background applications, thereby saving resources, reducing energy consumption, and improving users. Experience.
参照图6所示,本发明一实施例中,监测模20块包括:Referring to FIG. 6, in an embodiment of the present invention, the monitoring module 20 includes:
信息统计单元21,设置为监测移动终端的后台应用,统计后台应用的信息,并添加到移动终端的应用统计列表中;所述后台应用的信息包括:后台应用的名称、标识以及该应用进入后台运行的时间;The information statistic unit 21 is configured to monitor a background application of the mobile terminal, and collect information of the background application, and add the information to the application statistics list of the mobile terminal. The information of the background application includes: a name, an identifier of the background application, and the application enters the background. Running time
统计列表监测单元22,设置为实时监测所述应用统计列表并根据用户操作对所述应用统计列表进行更新。上述时间设置模块10中,当检测时间周期设置好以后,信息统计单元21开始统计当前时间后台应用的信息,并增加到预设的统计列表中,统计列表中记录所有后台应用的名称、标识以及该后台应用进入后台的时间(也可称开始运行时间)。当一些新的应用进入后台时,在应用统计列表中增加该应用的信息;当某个后台应用被关闭后,在应用统计列表中删除该后台应用的信息;当某个后台应用被用户启用,则也要在应用统计列表中清空该后台应用的信息等。The statistics list monitoring unit 22 is configured to monitor the application statistics list in real time and update the application statistics list according to user operations. In the time setting module 10, after the detection time period is set, the information statistics unit 21 starts to collect the information of the background application in the current time, and adds the information to the preset statistics list, and records the names and identifiers of all the background applications in the statistics list. The time that the background application enters the background (also known as the start time). When some new applications enter the background, the information of the application is added in the application statistics list; when a background application is closed, the information of the background application is deleted in the application statistics list; when a background application is enabled by the user, Then also clear the information of the background application in the application statistics list.
参照图7,本发明一实施例中,监测模块20还包括:Referring to FIG. 7, in an embodiment of the present invention, the monitoring module 20 further includes:
当前时间获取单元23,设置为在检测时间周期结束时,获取当前时间;The current time obtaining unit 23 is configured to acquire the current time when the detection time period ends;
运算单元24,设置为根据应用进入后台运行的时间和当前时间进行运算,得到后台应用的实际运行时间。在检测时间周期结束时,当前时间获取单元23获取当前时间,运算单元24计算统计列表中每个后台应用的实际运行时 间(实际运行时间=当前时间-开始运行时间)。该实际运行时间为该后台应用用户未使用时间。如果实际运行时间>=设定的阈值,则认为是用户未使用的后台应用,关闭该后台应用,并释放相应的系统资源。否则该后台应用继续维持运行状态。关闭相应的后台应用后,更新统计列表,将关闭的后台应用从统计列表中删除,未关闭的后台应用的开始运行时间不变,继续更新统计列表中后台应用的信息,用于下次检测时间周期。The operation unit 24 is configured to perform an operation according to the time when the application enters the background operation and the current time, to obtain the actual running time of the background application. At the end of the detection time period, the current time acquisition unit 23 acquires the current time, and the operation unit 24 calculates the actual runtime of each background application in the statistics list. (actual running time = current time - start running time). The actual running time is the unused time of the background application user. If the actual running time >= set threshold, it is considered as a background application that the user does not use, close the background application, and release the corresponding system resources. Otherwise the background application continues to be running. After the corresponding background application is closed, the statistics list is updated, and the closed background application is deleted from the statistics list. The start time of the background application that is not closed remains unchanged, and the information of the background application in the statistics list is continuously updated for the next detection time. cycle.
在一实施例中,上述监测模块20还包括:In an embodiment, the monitoring module 20 further includes:
列表更新单元25,设置为将当前应用的名称、标识与应用统计列表中的进行比对,如果当前应用的信息与应用统计列表中的某后台应用信息一致,则清空应用统计列表中该后台应用对应的信息。考虑到用户可能在不断地使用手机,某些后台应用可能不停地被用户启动,如果检测到当前应用的名称、标识和统计表中某后台应用的信息一致,则列表更新单元25将该应用从统计列表中删除。The list updating unit 25 is configured to compare the name and the identifier of the current application with the application statistics list. If the current application information is consistent with a background application information in the application statistics list, the background application in the application statistics list is cleared. Corresponding information. Considering that the user may be using the mobile phone constantly, some background applications may be started by the user constantly. If the name of the current application, the identifier, and the information of a background application in the statistical table are consistent, the list updating unit 25 applies the application. Remove from the statistics list.
应当说明的是,本发明关闭移动终端后台应用的装置可以为通过计算机程序实现的、加载在移动终端中的应用软件,本领域技术人员通过上述实施例的描述,可以理解并通过计算机语言实现上述方案。It should be noted that the apparatus for closing the background application of the mobile terminal of the present invention may be an application software loaded in the mobile terminal implemented by a computer program, and those skilled in the art can understand and implement the above by using a computer language through the description of the above embodiments. Program.
本发明实施例还提供一种移动终端,其包括前述关闭移动终端后台应用的装置。本发明移动终端中由于设置有上述关闭移动终端后台应用的装置,能够针对性的将用户没有使用的部分后台应用关闭,并能够及时释放资源,从而提高系统资源利用率,降低了手机功耗,并且用户参与设置时间,检测时间比较灵活,提高了用户体验。The embodiment of the invention further provides a mobile terminal, which comprises the foregoing device for closing a background application of a mobile terminal. In the mobile terminal of the present invention, because the device for closing the background application of the mobile terminal is provided, the part of the background application that is not used by the user can be closed in a targeted manner, and resources can be released in time, thereby improving system resource utilization and reducing power consumption of the mobile phone. And the user participates in setting the time, the detection time is more flexible, and the user experience is improved.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现上述方法。The embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
以上仅为本发明的可选实施例,并不用于限定本发明的专利保护范围。The above are only optional embodiments of the present invention and are not intended to limit the scope of the patent protection of the present invention.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。 One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例提供的关闭后台应用的方法、装置以及移动终端能够针对性的将用户没有使用的后台应用关闭,从而及时释放资源,提高系统资源利用率,降低了移动终端功耗,并且用户参与设置时间,检测时间比较灵活,提高了用户体验。 The method and device for closing a background application and the mobile terminal provided by the embodiment of the present invention can specifically shut down a background application that is not used by the user, thereby releasing resources in time, improving system resource utilization, reducing power consumption of the mobile terminal, and participating in the user. Setting the time, the detection time is more flexible, and the user experience is improved.

Claims (12)

  1. 一种关闭移动终端后台应用的方法,其包括以下步骤:A method for shutting down a background application of a mobile terminal, comprising the steps of:
    在移动终端中预置后台应用的检测时间周期;Presetting a detection time period of the background application in the mobile terminal;
    在所述检测时间周期结束时,获取移动终端后台应用的实际运行时间;Obtaining an actual running time of the background application of the mobile terminal at the end of the detecting time period;
    当后台应用的实际运行时间大于或等于预设的阈值时,关闭该后台应用。When the actual running time of the background application is greater than or equal to the preset threshold, the background application is closed.
  2. 如权利要求1所述的方法,其中,所述在移动终端中预置后台应用的检测时间周期的步骤包括:The method of claim 1, wherein the step of presetting the detection time period of the background application in the mobile terminal comprises:
    在移动终端中创建用于关闭后台应用的菜单,在该菜单中设置关闭后台应用的开关;Creating a menu for closing the background application in the mobile terminal, and setting a switch for closing the background application in the menu;
    在关闭后台应用的开关的状态为开启时,提供用户界面供用户设置检测时间周期。When the state of the switch for closing the background application is on, a user interface is provided for the user to set the detection time period.
  3. 如权利要求1所述的方法,其中,所述在检测时间周期结束时,获取移动终端后台应用的实际运行时间的步骤包括:The method of claim 1, wherein the step of obtaining the actual running time of the background application of the mobile terminal at the end of the detecting time period comprises:
    监测移动终端的后台应用,统计后台应用的信息,并添加到移动终端的应用统计列表中;所述后台应用的信息包括:后台应用的名称、标识以及该应用进入后台运行的时间;The background application of the mobile terminal is monitored, and the information of the background application is collected and added to the application statistics list of the mobile terminal; the information of the background application includes: the name and identifier of the background application, and the time when the application enters the background operation;
    实时监测所述应用统计列表并根据用户操作对所述应用统计列表进行更新。The application statistics list is monitored in real time and the application statistics list is updated according to user operations.
  4. 如权利要求1至3中任一项所述的方法,其中,所述在检测时间周期结束时,获取移动终端后台应用的实际运行时间的步骤包括:The method according to any one of claims 1 to 3, wherein the step of acquiring the actual running time of the background application of the mobile terminal at the end of the detecting time period comprises:
    在检测时间周期结束时,获取当前时间;At the end of the detection time period, the current time is obtained;
    根据应用进入后台运行的时间和当前时间进行运算,得到后台应用的实际运行时间。According to the time that the application enters the background running time and the current time, the actual running time of the background application is obtained.
  5. 如权利要求3所述的方法,其中,所述实时监测所述应用统计列表并根据用户操作对所述应用统计列表进行更新的步骤包括:The method of claim 3, wherein the step of monitoring the application statistics list in real time and updating the application statistics list according to user operations comprises:
    将当前应用的名称、标识与应用统计列表中的进行比对,如果当前应用的信息与应用统计列表中的某后台应用信息一致,则清空应用统计列表中该 后台应用对应的信息。The current application name and the identifier are compared with those in the application statistics list. If the current application information is consistent with a background application information in the application statistics list, the application statistics list is cleared. The corresponding information of the background application.
  6. 一种关闭移动终端后台应用的装置,其包括:An apparatus for shutting down a background application of a mobile terminal, comprising:
    时间设置模块,设置为在移动终端中预置后台应用的检测时间周期;a time setting module, configured to preset a detection time period of the background application in the mobile terminal;
    监测模块,设置为在所述检测时间周期结束时,获取移动终端后台应用的实际运行时间;以及a monitoring module, configured to acquire an actual running time of the background application of the mobile terminal at the end of the detecting time period;
    后台应用关闭模块,设置为当后台应用的运行时间大于或等于预设的阈值时,关闭该后台应用。The background application closes the module, and is set to close the background application when the running time of the background application is greater than or equal to a preset threshold.
  7. 如权利要求5所述的关闭移动终端后台应用的装置,其中,所述时间设置模块是设置为:The apparatus for turning off a background application of a mobile terminal according to claim 5, wherein the time setting module is configured to:
    在移动终端中创建用于关闭后台应用的菜单,在该菜单中设置关闭后台应用的开关;Creating a menu for closing the background application in the mobile terminal, and setting a switch for closing the background application in the menu;
    在关闭后台应用的开关的状态为开启时,提供用户界面供用户设置检测时间周期。When the state of the switch for closing the background application is on, a user interface is provided for the user to set the detection time period.
  8. 如权利要求6所述的关闭移动终端后台应用的装置,其中,所述监测模块包括:The apparatus for shutting down a background application of a mobile terminal according to claim 6, wherein the monitoring module comprises:
    信息统计单元,设置为监测移动终端的后台应用,统计后台应用的信息,并添加到移动终端的应用统计列表中;所述后台应用的信息包括:后台应用的名称、标识以及该应用进入后台运行的时间;The information statistics unit is configured to monitor a background application of the mobile terminal, collect information of the background application, and add the information to the application statistics list of the mobile terminal; the information of the background application includes: a name, an identifier of the background application, and the application enters the background operation time;
    统计列表监测单元,设置为实时监测所述应用统计列表并根据用户操作对所述应用统计列表进行更新。The statistics list monitoring unit is configured to monitor the application statistics list in real time and update the application statistics list according to user operations.
  9. 如权利要求6至8中任一项所述的关闭移动终端后台应用的装置,其中,所述监测模块还包括:The apparatus for closing a background application of a mobile terminal according to any one of claims 6 to 8, wherein the monitoring module further comprises:
    当前时间获取单元,设置为在检测时间周期结束时,获取当前时间;以及a current time acquisition unit configured to acquire a current time at the end of the detection time period;
    运算单元,设置为根据应用进入后台运行的时间和当前时间进行运算,得到后台应用的实际运行时间。The operation unit is set to perform an operation according to the time when the application enters the background running and the current time, and obtains the actual running time of the background application.
  10. 如权利要求8所述的关闭移动终端后台应用的装置,其中,所述监 测模块还包括:The apparatus for closing a background application of a mobile terminal according to claim 8, wherein said supervisor The test module also includes:
    列表更新单元,设置为将当前应用的名称、标识与应用统计列表中的进行比对,如果当前应用的信息与应用统计列表中的某后台应用信息一致,则清空应用统计列表中该后台应用对应的信息。The list update unit is configured to compare the current application name and the identifier with the application statistics list. If the current application information is consistent with a background application information in the application statistics list, the background application corresponding to the application statistics list is cleared. Information.
  11. 一种移动终端,包括如权利要求6至10中任一项所述的关闭移动终端后台应用的装置。A mobile terminal comprising the apparatus for turning off a background application of a mobile terminal according to any one of claims 6 to 10.
  12. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-5中任一项所述的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-5.
PCT/CN2015/074529 2014-11-19 2015-03-18 Method and device for closing background application of mobile terminal, and mobile terminal WO2015184885A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410665632.X 2014-11-19
CN201410665632.XA CN105676987A (en) 2014-11-19 2014-11-19 Method for shutting down background application of mobile terminal, device and mobile terminal

Publications (1)

Publication Number Publication Date
WO2015184885A1 true WO2015184885A1 (en) 2015-12-10

Family

ID=54766111

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074529 WO2015184885A1 (en) 2014-11-19 2015-03-18 Method and device for closing background application of mobile terminal, and mobile terminal

Country Status (2)

Country Link
CN (1) CN105676987A (en)
WO (1) WO2015184885A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554575A (en) * 2015-12-11 2016-05-04 北京元心科技有限公司 Method and device for processing media playing function in multiple systems
CN106125882A (en) * 2016-06-15 2016-11-16 深圳市万普拉斯科技有限公司 The management method of a kind of application program and electronic equipment
WO2018023563A1 (en) * 2016-08-04 2018-02-08 薄冰 Method for pushing information when deleting software, and mobile phone
WO2018214718A1 (en) * 2017-05-26 2018-11-29 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Application control method and mobile terminal
CN109413726A (en) * 2018-12-24 2019-03-01 维沃移动通信有限公司 Power consumption control method and mobile terminal
CN110032431A (en) * 2018-01-12 2019-07-19 广东欧珀移动通信有限公司 Application processing method and device, electronic equipment, computer readable storage medium
CN110134219A (en) * 2019-05-13 2019-08-16 深圳传音通讯有限公司 Application program backstage power consumption processing method and processing device
EP3964928A4 (en) * 2019-07-02 2022-11-02 ZTE Corporation Application freezing control method and device, terminal, and readable storage medium
EP3968129A4 (en) * 2019-07-02 2022-11-02 ZTE Corporation Application program freezing control method and apparatus, terminal, and readable storage medium
CN117435818A (en) * 2023-12-20 2024-01-23 深圳市唯博易科技有限公司 Processing method and system of PDA machine based on personalized recommendation application

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130159511A1 (en) 2011-12-14 2013-06-20 Seven Networks, Inc. System and method for generating a report to a network operator by distributing aggregation of data
CN105912395B (en) * 2016-06-29 2019-03-15 中科创达软件股份有限公司 A kind of process management method and device
CN106155790B (en) * 2016-06-30 2020-02-18 宇龙计算机通信科技(深圳)有限公司 Application program management method and device and terminal
WO2018023402A1 (en) * 2016-08-02 2018-02-08 张阳 Application process closing method and mobile phone
WO2018023400A1 (en) * 2016-08-02 2018-02-08 张阳 Usage data statistic compilation method for application automatic shutdown technique and mobile phone
WO2018023401A1 (en) * 2016-08-02 2018-02-08 张阳 Redundant application shutdown technology information pushing method and mobile phone
WO2018023562A1 (en) * 2016-08-04 2018-02-08 薄冰 Method for collecting usage situation of automatic software deletion technology, and mobile phone
WO2018023561A1 (en) * 2016-08-04 2018-02-08 薄冰 Method for application software management, and mobile phone
CN106371906A (en) * 2016-08-29 2017-02-01 珠海格力电器股份有限公司 Control method and device for background application software of intelligent equipment, and processor
CN106569804B (en) * 2016-10-19 2020-06-30 北京安云世纪科技有限公司 Application control management method and device on intelligent terminal
CN106569579A (en) * 2016-10-21 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Power-saving control method and device of terminal
CN106648889A (en) * 2016-12-01 2017-05-10 北京珠穆朗玛移动通信有限公司 Application control method and mobile terminal
WO2018170819A1 (en) * 2017-03-23 2018-09-27 李卓希 Method and system for controlling power consumption of mobile terminal
CN107291543B (en) * 2017-07-31 2020-08-07 Oppo广东移动通信有限公司 Application processing method and device, storage medium and terminal
CN107450951B (en) * 2017-07-31 2020-08-04 Oppo广东移动通信有限公司 Application processing method and device, storage medium and terminal
CN107678796A (en) * 2017-09-28 2018-02-09 惠州Tcl移动通信有限公司 A kind of method, storage device and mobile terminal for optimizing system resource
CN108647050A (en) * 2018-03-27 2018-10-12 广东欧珀移动通信有限公司 Application program launching method, device and mobile terminal
CN108600840B (en) * 2018-03-29 2020-07-10 深圳市九洲电器有限公司 Set top box power consumption control method and system
CN109343690A (en) * 2018-11-08 2019-02-15 平安科技(深圳)有限公司 APP is from start and stop electricity saving method, system, terminal device and can storage medium
CN110187753B (en) * 2019-05-27 2021-09-07 Oppo广东移动通信有限公司 Application program control method, device, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049319A (en) * 2012-12-18 2013-04-17 广东欧珀移动通信有限公司 Method for managing background application program in divided period and terminal thereof
CN103092685A (en) * 2012-12-21 2013-05-08 广东欧珀移动通信有限公司 Method and device for closing application program
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5764150B2 (en) * 2013-01-16 2015-08-12 レノボ・シンガポール・プライベート・リミテッド Method and computer for transition from power-on state to power-saving state

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049319A (en) * 2012-12-18 2013-04-17 广东欧珀移动通信有限公司 Method for managing background application program in divided period and terminal thereof
CN103092685A (en) * 2012-12-21 2013-05-08 广东欧珀移动通信有限公司 Method and device for closing application program
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554575B (en) * 2015-12-11 2019-12-03 北京元心科技有限公司 Method and device for processing media playing function in multiple systems
CN105554575A (en) * 2015-12-11 2016-05-04 北京元心科技有限公司 Method and device for processing media playing function in multiple systems
CN106125882A (en) * 2016-06-15 2016-11-16 深圳市万普拉斯科技有限公司 The management method of a kind of application program and electronic equipment
CN106125882B (en) * 2016-06-15 2019-04-26 深圳市万普拉斯科技有限公司 A kind of management method and electronic equipment of application program
WO2018023563A1 (en) * 2016-08-04 2018-02-08 薄冰 Method for pushing information when deleting software, and mobile phone
WO2018214718A1 (en) * 2017-05-26 2018-11-29 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Application control method and mobile terminal
US10725820B2 (en) 2017-05-26 2020-07-28 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Application control method and mobile terminal
CN110032431A (en) * 2018-01-12 2019-07-19 广东欧珀移动通信有限公司 Application processing method and device, electronic equipment, computer readable storage medium
CN109413726A (en) * 2018-12-24 2019-03-01 维沃移动通信有限公司 Power consumption control method and mobile terminal
CN109413726B (en) * 2018-12-24 2021-05-07 维沃移动通信有限公司 Power consumption control method and mobile terminal
CN110134219A (en) * 2019-05-13 2019-08-16 深圳传音通讯有限公司 Application program backstage power consumption processing method and processing device
CN110134219B (en) * 2019-05-13 2024-03-19 深圳传音通讯有限公司 Application program background power consumption processing method and device
EP3964928A4 (en) * 2019-07-02 2022-11-02 ZTE Corporation Application freezing control method and device, terminal, and readable storage medium
EP3968129A4 (en) * 2019-07-02 2022-11-02 ZTE Corporation Application program freezing control method and apparatus, terminal, and readable storage medium
CN117435818A (en) * 2023-12-20 2024-01-23 深圳市唯博易科技有限公司 Processing method and system of PDA machine based on personalized recommendation application
CN117435818B (en) * 2023-12-20 2024-04-02 深圳市唯博易科技有限公司 Processing method and system of PDA machine based on personalized recommendation application

Also Published As

Publication number Publication date
CN105676987A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
WO2015184885A1 (en) Method and device for closing background application of mobile terminal, and mobile terminal
US11662802B2 (en) Task management method and device
EP2977854B1 (en) Method, apparatus, and user terminal for removing malicious power consuming application
RU2651207C2 (en) Method and apparatus for processing application program package
WO2017113660A1 (en) Application program management method and device
CN105677477B (en) Method and device for optimizing application program resources and electronic equipment
KR101693565B1 (en) Application heartbeat period adjusting method and apparatus, and terminal
CN102298532B (en) Startup-item-based management method and device
WO2017036156A1 (en) Terminal reset control method, controller and system
WO2016054957A1 (en) Application exception detection method, device and mobile terminal
JP6639665B2 (en) Method, apparatus and terminal for terminal-based wakelock control
JP2016507109A (en) MEMORY CLEANING METHOD AND DEVICE, AND TERMINAL DEVICE
TW201421230A (en) Portable electronic device and operative method thereof, and non-transitory recording medium
WO2015131679A1 (en) Task process processing method and device
JP2017510864A (en) Method, terminal and system for pushing information
WO2013026311A1 (en) Method and device for application program operation, mobile terminal
CN102156534A (en) Hardware energy-saving processing method and device
WO2018000675A1 (en) Background application management apparatus and terminal, and background application management method
CN104679218A (en) Method and device for controlling power consumption
CN112767936A (en) Voice conversation method, device, storage medium and electronic equipment
CN107885307B (en) Equipment control method and device
WO2017219446A1 (en) Icon processing method and device
CN112579369B (en) Multithreading brushing system, method, device, equipment and storage medium
CN107547742B (en) Wake-up lock release method and device for mobile terminal
CN105022665A (en) Control method for locking long-term unused app for Android and system of control method

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: 15803936

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: 15803936

Country of ref document: EP

Kind code of ref document: A1