CN107832131A - Closing application program method, apparatus, storage medium and electronic equipment - Google Patents
Closing application program method, apparatus, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN107832131A CN107832131A CN201711045061.XA CN201711045061A CN107832131A CN 107832131 A CN107832131 A CN 107832131A CN 201711045061 A CN201711045061 A CN 201711045061A CN 107832131 A CN107832131 A CN 107832131A
- Authority
- CN
- China
- Prior art keywords
- application
- application program
- module
- terminal
- foreground
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3212—Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Telephone Function (AREA)
Abstract
本申请实施例公开了一种应用程序关闭方法、装置、存储介质和电子设备;所述方法包括:当终端的剩余电量小于预设电量时,获取当前时间,判断当前时间是否处于第一预设时间段内,若是,则获取在第二预设时间段内终端中每个应用程序处于前台的时间,并根据时间确定目标应用程序,若否,则获取在第二预设时间段内终端中每个应用程序进入前台的次数,并根据次数确定目标应用程序,关闭目标应用程序。本申请可以根据应用程序处于终端前台的时间或者进入前台的次数确定目标应用程序,当终端剩余电量较少时关闭该目标应用程序,以此来减小了电子设备的耗电量,从而提升电子设备的续航能力。
The embodiment of the present application discloses a method, device, storage medium and electronic device for closing an application program; the method includes: when the remaining power of the terminal is less than the preset power, acquiring the current time and judging whether the current time is in the first preset In the time period, if yes, then obtain the time that each application program in the terminal is in the foreground within the second preset time period, and determine the target application program according to the time, if not, then obtain the time in the terminal during the second preset time period The number of times each application enters the foreground, and the target application is determined according to the number of times, and the target application is closed. This application can determine the target application program according to the time when the application program is in the foreground of the terminal or the number of times it enters the foreground, and close the target application program when the remaining battery power of the terminal is low, thereby reducing the power consumption of the electronic device, thereby improving the power consumption of the electronic device. The battery life of the device.
Description
技术领域technical field
本申请涉及电子设备领域,具体涉及一种应用程序关闭方法、装置、存储介质和电子设备。The present application relates to the field of electronic equipment, in particular to a method, device, storage medium and electronic equipment for closing an application program.
背景技术Background technique
随着终端技术的发展,终端已经开始从以前简单地提供通话设备渐渐变成一个通用软件运行的平台。该平台不再以提供通话管理为主要目的,而是提供一个包括通话管理、游戏娱乐、办公记事、移动支付等各类应用软件在内的运行环境,随着大量的普及,已经深入至人们的生活、工作的方方面面。With the development of terminal technology, the terminal has gradually changed from simply providing communication equipment in the past to a platform for general software operation. The platform no longer aims to provide call management, but to provide an operating environment including call management, game entertainment, office notes, mobile payment and other application software. With a large number of popularization, it has penetrated into people's All aspects of life and work.
随着智能手机的不断发展,为了满足人们日常工作和生活的需求,越来越多的应用程序出现在智能手机中,每个应用程序在运行过程中都会消耗智能手机中的中央处理器(Central Processing Unit,CPU)资源。当手机的CPU资源被大量占用后,各应用的运行效率就会受到影响。往往占用CPU资源率高的应用所消耗的电量也较大,因此会给终端的续航带来一定的压力。With the continuous development of smart phones, in order to meet the needs of people's daily work and life, more and more applications appear in smart phones, and each application will consume the central processing unit (Central Processing Unit) of the smart phone during operation. Processing Unit, CPU) resources. When the CPU resources of the mobile phone are heavily occupied, the operating efficiency of each application will be affected. Applications that often occupy a high CPU resource rate also consume a large amount of power, which will put a certain pressure on the battery life of the terminal.
发明内容Contents of the invention
本申请实施例提供一种应用程序关闭方法、装置、存储介质和电子设备,可以减小电子设备的耗电量。Embodiments of the present application provide a method and device for closing an application program, a storage medium, and an electronic device, which can reduce power consumption of the electronic device.
第一方面,本申请实施例提供一种应用程序关闭方法,包括:In the first aspect, the embodiment of the present application provides a method for closing an application program, including:
当终端的剩余电量小于预设电量时,获取当前时间;When the remaining power of the terminal is less than the preset power, get the current time;
判断所述当前时间是否处于第一预设时间段内;judging whether the current time is within a first preset time period;
若是,则获取在第二预设时间段内所述终端中每个应用程序处于前台的时间,并根据所述时间确定目标应用程序;If so, obtain the time when each application program in the terminal is in the foreground within the second preset time period, and determine the target application program according to the time;
若否,则获取在第二预设时间段内所述终端中每个应用程序进入前台的次数,并根据所述次数确定目标应用程序;If not, then obtain the number of times that each application program in the terminal enters the foreground within the second preset time period, and determine the target application program according to the number of times;
关闭所述目标应用程序。Close the target application.
第二方面,本申请实施例还提供了一种应用程序关闭装置,包括:时间获取模块、时间判断模块、第一确定模块、第二确定模块以及关闭模块;In the second aspect, the embodiment of the present application also provides an application closing device, including: a time acquiring module, a time judging module, a first determining module, a second determining module, and a closing module;
所述时间获取模块,用于当终端的剩余电量小于预设电量时,获取当前时间;The time obtaining module is used to obtain the current time when the remaining power of the terminal is less than the preset power;
所述时间判断模块,用于判断所述当前时间是否处于第一预设时间段内;The time judging module is used to judge whether the current time is within a first preset time period;
所述第一确定模块,用于当所述时间判断模块判断为是时,获取在第二预设时间段内所述终端中每个应用程序处于前台的时间,并根据所述时间确定目标应用程序;The first determining module is configured to obtain the time when each application program in the terminal is in the foreground within the second preset time period when the time judging module judges as yes, and determine the target application according to the time program;
所述第二确定模块,用于当所述时间判断模块判断为否时,则获取在第二预设时间段内所述终端中每个应用程序进入前台的次数,并根据所述次数确定目标应用程序;The second determining module is configured to acquire the number of times each application in the terminal enters the foreground within a second preset time period when the time judging module judges as no, and determine the target according to the number of times application;
所述关闭模块,用于关闭所述目标应用程序。The closing module is used to close the target application program.
第三方面,本申请实施例还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述应用程序关闭方法的步骤。In a third aspect, the embodiment of the present application further provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method for closing an application program are implemented.
第四方面,本申请实施例还提供一种电子设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述应用程序关闭方法的步骤。In the fourth aspect, the embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the above-mentioned application program is closed when the processor executes the program method steps.
本申请实施例提供的应用程序关闭方法首先当终端的剩余电量小于预设电量时,获取当前时间,判断当前时间是否处于第一预设时间段内,若是,则获取在第二预设时间段内终端中每个应用程序处于前台的时间,并根据时间确定目标应用程序,若否,则获取在第二预设时间段内终端中每个应用程序进入前台的次数,并根据次数确定目标应用程序,关闭目标应用程序。本申请可以根据应用程序处于终端前台的时间或者进入前台的次数确定目标应用程序,当终端剩余电量较少时关闭该目标应用程序,以此来减小了电子设备的耗电量,从而提升电子设备的续航能力。The method for closing an application program provided by the embodiment of the present application first obtains the current time when the remaining power of the terminal is less than the preset power, and judges whether the current time is within the first preset time period, and if so, obtains the current time within the second preset time period The time that each application program in the internal terminal is in the foreground, and determine the target application program according to the time, if not, then obtain the number of times each application program in the terminal enters the foreground within the second preset time period, and determine the target application program according to the number of times program, close the target application. This application can determine the target application program according to the time when the application program is in the foreground of the terminal or the number of times it enters the foreground, and close the target application program when the remaining power of the terminal is low, thereby reducing the power consumption of the electronic device, thereby improving the power consumption of the electronic device. The battery life of the device.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本申请实施例提供的应用程序关闭方法的一种流程示意图。FIG. 1 is a schematic flowchart of a method for closing an application provided by an embodiment of the present application.
图2为本申请实施例提供的应用程序关闭方法的一种应用场景示意图。FIG. 2 is a schematic diagram of an application scenario of a method for closing an application provided by an embodiment of the present application.
图3为本申请实施例提供的应用程序关闭方法的另一种流程示意图。FIG. 3 is another schematic flowchart of the method for closing an application program provided by the embodiment of the present application.
图4为本申请实施例提供的应用程序关闭装置的一种结构示意图。FIG. 4 is a schematic structural diagram of an application closing device provided in an embodiment of the present application.
图5为本申请实施例提供的应用程序关闭装置的另一种结构示意图。FIG. 5 is another schematic structural diagram of an application closing device provided in an embodiment of the present application.
图6为本申请实施例提供的应用程序关闭装置的又一种结构示意图。FIG. 6 is another schematic structural diagram of the application program closing device provided by the embodiment of the present application.
图7为本申请实施例提供的电子设备的一种结构示意图。FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
图8为本申请实施例提供的电子设备的另一种结构示意图。FIG. 8 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Referring to the drawings, wherein the same reference numerals represent the same components, the principles of the present application are exemplified by being implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the present application, which should not be construed as limiting other specific embodiments of the present application that are not described in detail here.
在以下的说明中,本申请的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本申请原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。In the following description, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise stated. Accordingly, these steps and operations will several times be referred to as being computer-implemented, which herein refers to operations by a computer processing unit of electronic signals representing data in a structured form. This operation transforms the data or maintains it at a location in the computer's memory system that can reconfigure or otherwise alter the operation of the computer in a manner well known to testers in the art. The data structures maintained by the data are physical locations in the memory that have certain characteristics defined by the data format. However, the principle of the present application is described in the above text, which is not meant to be a limitation, and testers in the field will understand that the various steps and operations described below can also be implemented in hardware.
本申请的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。所熟知的适合用于本申请的运算系统、环境与组态的范例可包括(但不限于)手持电话、个人计算机、服务器、多处理器系统、微电脑为主的系统、主架构型计算机、及分布式运算环境,其中包括了任何的上述系统或装置。The principles of the present application operate with numerous other general purpose or special purpose computing, communication environments or configurations. Examples of well-known computing systems, environments, and configurations suitable for use in this application may include, but are not limited to, handheld phones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe computers, and A distributed computing environment, including any of the above systems or devices.
以下将分别进行详细说明。The details will be described respectively below.
本实施例将从应用程序关闭装置的角度进行描述,该装置具体可以集成在电子设备中,该电子设备可以为移动互连接网络设备(如智能手机、平板电脑) 等具备网络通信功能的电子设备。This embodiment will be described from the perspective of the device for closing the application program. The device can be specifically integrated into an electronic device, and the electronic device can be an electronic device with a network communication function such as a mobile interconnection network device (such as a smart phone, a tablet computer) .
首先参考图1,图1为本申请实施例提供的应用程序关闭方法的一种流程示意图,包括以下步骤:First, referring to FIG. 1, FIG. 1 is a schematic flowchart of a method for closing an application provided in an embodiment of the present application, including the following steps:
步骤S101,当终端的剩余电量小于预设电量时,获取当前时间。Step S101, when the remaining power of the terminal is less than the preset power, obtain the current time.
在一实施例当中,可以获取终端当前的剩余电量,然后判断该剩余电量是否小于预设电量,其中,上述获取终端的剩余电量可以每隔预设时间获取一次,比如每隔10分钟获取一次当前剩余电量并进行判断,若当前剩余电量小于预设电量,则执行获取当前时间的步骤,也可以定时检测终端的电源的剩余电量等。也即在一实施例中,该步骤可以具体包括:In one embodiment, the current remaining power of the terminal can be obtained, and then it can be judged whether the remaining power is less than the preset power. The above-mentioned acquisition of the remaining power of the terminal can be obtained every preset time, such as once every 10 minutes. The remaining power is judged. If the current remaining power is less than the preset power, the step of obtaining the current time is performed, and the remaining power of the power supply of the terminal can also be regularly detected. That is, in an embodiment, this step may specifically include:
获取终端当前剩余电量;Obtain the current remaining power of the terminal;
判断所述剩余电量是否小于预设电量;judging whether the remaining power is less than a preset power;
若小于,则获取当前时间。If less than, get the current time.
其中,终端的初始电量是预知的,终端通过运行安装在终端上的多个程序或者使用硬件等方式消耗一定的电量,则终端可以根据多种方式获取终端的剩余电量,例如:直接将终端上电源的剩余电量作为终端的剩余电量,在实际应用中,在电源的内部设置有电量计,用于指示电源的剩余电量以及在特定工作条件下电源还能持续供电的时间,其中电量计主要运用的检测方式有电压测试法,电池建模法,库仑计等,此处不做具体限定。Among them, the initial power of the terminal is predictable. The terminal consumes a certain amount of power by running multiple programs installed on the terminal or using hardware. The terminal can obtain the remaining power of the terminal in various ways. The remaining power of the power supply is used as the remaining power of the terminal. In practical applications, a fuel gauge is installed inside the power supply to indicate the remaining power of the power supply and the time that the power supply can continue to supply power under specific working conditions. The fuel gauge is mainly used The detection methods include voltage test method, battery modeling method, coulomb counter, etc., which are not specifically limited here.
在一实施例中,可以实时检测终端电源的剩余电量,也可以定时检测终端的电源的剩余电量,还可以由用户根据实际需要进行调整,例如,在9:00至20:00 内每间隔一小时检测手机电源的剩余电量,在20:00至次日9:00内实时检测手机电源的剩余电量;或者,在22:00定时检测手机电源的剩余电量等。优选的,可以选择定时检测终端的电源的剩余电量,以节省能耗,例如,每隔一小时检测一次终端的电源的剩余电量。In one embodiment, the remaining power of the terminal power supply can be detected in real time, or the remaining power of the terminal power supply can be detected regularly, and can also be adjusted by the user according to actual needs, for example, every interval between 9:00 and 20:00 Detect the remaining power of the mobile phone power supply every hour, and detect the remaining power of the mobile phone power supply in real time from 20:00 to 9:00 the next day; or, regularly detect the remaining power of the mobile phone power supply at 22:00. Preferably, the remaining power of the power supply of the terminal can be selected to be regularly detected to save energy consumption, for example, the remaining power of the power supply of the terminal is detected every hour.
本发明实施例中,当获取终端的剩余电量后,通过判断终端的剩余电量是否小于预设电量来决定是否需要获取当前时间,其中,该预设电量是终端根据实际情况预设的或者用户自定义的,此处不做具体限定。若终端的剩余电量小于预设电量,则获取终端的当前时间,若终端的剩余电量不小于预设电量,则确定终端无需进一步获取当前时间,直接结束流程。In the embodiment of the present invention, after obtaining the remaining power of the terminal, it is determined whether the current time needs to be obtained by judging whether the remaining power of the terminal is less than the preset power, wherein the preset power is preset by the terminal according to the actual situation or the user chooses to Defined, not specifically limited here. If the remaining power of the terminal is less than the preset power, the current time of the terminal is obtained; if the remaining power of the terminal is not less than the preset power, it is determined that the terminal does not need to further obtain the current time, and the process is directly ended.
其中,获取终端当前时间的方法也可以有多种,比如获取终端当前的系统时间以作为当前时间,也可以联网获取终端当前所在的时区所对应的标准时间作为当前时间,本发明对此不做进一步限定。Among them, there are many ways to obtain the current time of the terminal. For example, the current system time of the terminal is obtained as the current time, and the standard time corresponding to the time zone where the terminal is currently located can also be obtained online as the current time. The present invention does not do this further qualified.
步骤S102,判断当前时间是否处于第一预设时间段内,若是,则执行步骤 S103,若否,则执行步骤S104。Step S102, judging whether the current time is within the first preset time period, if yes, execute step S103, if not, execute step S104.
在一实施例当中,可以由用户提前预设该预设时间段,该时间段可以为一个或是多个。In an embodiment, the preset time period may be preset by the user in advance, and there may be one or more time periods.
举例来说,该第一预设时间段可以设置为每天的某个时间段或多个时间段,比如每天的上午9:00-下午17:00,考虑到用户在周末和工作日对终端的使用习惯可能存在差异,上述第一预设时间段也可以设置为工作日,也即周一至周五,具体的,也即周一凌晨的0:00至周五晚上的24:00。For example, the first preset time period can be set to a certain time period or multiple time periods every day, such as 9:00 am to 17:00 pm every day, considering that the user's There may be differences in usage habits, and the above-mentioned first preset time period can also be set as a working day, that is, Monday to Friday, specifically, that is, 0:00 on Monday morning to 24:00 on Friday night.
在一实施例当中,判断当前时间是否处于第一预设时间段内的步骤具体可以通过判断当前时间是否达到该预设时间段的起始时间点。比如,用户设置的第一预设时间段为周一凌晨的0:00至周五晚上的24:00,因此可以判断当前时间是否达到周一的凌晨0:00,若是,则确定当前时间处于第一预设时间段当中。也即上述判断当前时间是否处于第一预设时间段内的步骤可以具体包括:In an embodiment, the step of judging whether the current time is within the first preset time period may be specifically determined by judging whether the current time reaches the start time point of the preset time period. For example, the first preset time period set by the user is 0:00 in the morning of Monday to 24:00 in the evening of Friday, so it can be judged whether the current time reaches 0:00 in the morning of Monday, and if so, determine that the current time is in the first time period. during the preset time period. That is to say, the above step of judging whether the current time is within the first preset time period may specifically include:
获取上述第一预设时间段的起始时间点;Acquiring the starting time point of the above-mentioned first preset time period;
判断当前时间是否达到上述起始时间点;Determine whether the current time reaches the above starting time point;
若达到,则确定当前时间处于第一预设时间段内。If so, it is determined that the current time is within the first preset time period.
步骤S103,获取在第二预设时间段内终端中每个应用程序处于前台的时间,并根据时间确定目标应用程序。Step S103, acquiring the time that each application program in the terminal is in the foreground within the second preset time period, and determining the target application program according to the time.
在一实施例当中,上述第二预设时间段可以为在终端使用历史中的某个时间段,比如当前时间之前的24小时,也可以设置为固定的一时间段,比如每天的上午8;00至晚上20:00等等。In an embodiment, the above-mentioned second preset time period may be a certain time period in the terminal usage history, such as 24 hours before the current time, or may be set as a fixed time period, such as 8 am every day; 00 to 20:00 in the evening and so on.
在实际应用当中,以基于android系统的智能设备为例,一切都是软件进程事件触发自行后台启动造成的。因为安卓系统的进程管理机制是事件触发式,比如开机时、打开某应用进程时、网络连接更改时、电量不足时、时间更改、插上电源时、断开电源时等等这些状态的改变都可看作一个事件,而安卓系统允许程序关联这些事件,比如关联开机事件后,就相当于我们一般说的开机启动了。但是安卓系统是可以允许一个程序关联多个事件的,以谷歌地图举例,它关联的触发事件有“开机后、安装程序、卸载程序、更新程序、插上电源”等等,这些事件中的任何一个状态发生改变,系统就会自动后台运行谷歌地图。很多软件安装完以后所产生的自启动项,会根据不同触发条件自行启动自身的进程。终端中的每个应用程序在启动进程时便会由进程管理机制进行记录。In practical applications, taking the smart device based on the android system as an example, everything is caused by the background startup triggered by the software process event. Because the process management mechanism of the Android system is event-triggered, such as when starting up, when opening an application process, when the network connection is changed, when the battery is low, when the time is changed, when the power is plugged in, when the power is disconnected, etc. It can be regarded as an event, and the Android system allows programs to associate these events. For example, after associated with the boot event, it is equivalent to what we generally call booting. But the Android system can allow a program to be associated with multiple events. Take Google Maps as an example. When a state changes, the system will automatically run Google Maps in the background. Many self-starting items generated after the software is installed will automatically start their own processes according to different trigger conditions. Each application in the terminal is recorded by the process management mechanism as it starts a process.
其中,每个应用程序处于前台的时间可以通过进程管理机制获取,该进程管理机制可以包含一个应用程序管理器,在上述应用程序管理器当中记录着终端中每个应用程序的使用记录,该使用记录可以包括应用程序的处于前台的时间,当然该使用记录还可以包括应用程序的其他使用信息,比如自动唤醒时间、应用开启时间、应用关闭时间、应用在后台运行的时间等等。Wherein, the time that each application program is in the foreground can be obtained through a process management mechanism, and the process management mechanism may include an application program manager, which records the use records of each application program in the terminal. The record may include the time when the application is in the foreground, and of course the usage record may also include other usage information of the application, such as automatic wake-up time, application opening time, application closing time, application running time in the background, and so on.
在一实施例中,根据所述时间确定目标应用程序的方法可以有多种,比如根据每个应用程序处于前台的时间对应用程序进行排序,可以将时长最长的排在首位,然后将排序最高的一个或多个应用程序确定为目标应用程序。在其他实施例当中,还可以将处于前台的时长满足预设时长的应用程序确定为目标应用程序,比如在过去的24小时内,将处于终端前台时长超过2个小时的应用程序确定为目标应用程序。In an embodiment, there are multiple methods for determining the target application program according to the time, for example, sorting the application programs according to the time each application program is in the foreground, the longest duration can be ranked first, and then the The top one or more applications are identified as target applications. In other embodiments, an application whose duration in the foreground meets a preset duration may also be determined as the target application, for example, in the past 24 hours, an application that has been in the foreground of the terminal for more than 2 hours may be determined as the target application program.
步骤S104,获取在第二预设时间段内终端中每个应用程序进入前台的次数,并根据次数确定目标应用程序。Step S104, acquiring the number of times each application program enters the foreground in the terminal within a second preset time period, and determining the target application program according to the number of times.
该步骤原理与步骤S103相同,同样可以根据进程管理机制中的应用程序管理器获取每个应用程序进入前台的次数,并根据每个应用程序对应的次数来确定目标应用程序。The principle of this step is the same as that of step S103, and the number of times each application program enters the foreground can also be obtained according to the application program manager in the process management mechanism, and the target application program can be determined according to the corresponding times of each application program.
其中,根据次数确定目标应用程序也可以有多种,比如根据每个应用程序进入前台的次数对应用程序进行排序,可以按照次数从多到少进行排序,然后将排序最高的一个或多个应用程序确定为目标应用程序。在其他实施例当中,还可以将进入前台次数满足预设次数的应用程序确定为目标应用程序,比如在过去的24小时内,将进入前台次数超过5次的应用程序确定为目标应用程序。Among them, there are also many ways to determine the target application program according to the number of times. For example, the application programs are sorted according to the number of times each application program enters the foreground. The program is identified as the target application. In other embodiments, an application that enters the foreground more than 5 times in the past 24 hours may be determined as the target application.
步骤S105,关闭目标应用程序。Step S105, closing the target application program.
在一实施例中,还可以预先设置一些比较重要的应用程序为预设应用程序,然后在关闭目标应用程序之前先判断该目标应用程序是否为预设应用程序,若否,则继续执行关闭目标应用程序的步骤。这样可以避免关闭对用户较为重要的应用程序,从而造成错失信息数据。其中,上述预设应用程序可以由用户自行添加也可以由系统自动设置,本申请对此不做进一步限定。In one embodiment, it is also possible to pre-set some more important applications as default applications, and then judge whether the target application is a default application before closing the target application, if not, continue to execute the closing target Application steps. This can avoid closing applications that are more important to the user, resulting in missing information data. Wherein, the above-mentioned preset application program can be added by the user or automatically set by the system, which is not further limited in this application.
在实际使用当中,可能存在用户正在使用该目标应用程序的情况,此时关闭该目标应用程序可能影响用户使用,因此,在一实施例当中,关闭目标应用程序之前还可以生成一提示信息并显示在终端屏幕中,如图2所示,当剩余电量小于预设电量后,终端判断目标又要重新为“XX音乐”播放器,终端弹窗“是否关闭XX音乐”,用户可以点击“否”按钮以阻止关闭该目标应用程序,若该弹窗弹出一预设时间譬如10秒后未接收到用户操作,则可以关闭该目标应用程序。In actual use, there may be a situation where the user is using the target application. At this time, closing the target application may affect the user's use. Therefore, in one embodiment, before closing the target application, a prompt message may be generated and displayed. On the terminal screen, as shown in Figure 2, when the remaining power is less than the preset power, the terminal judges that the target should be the "XX music" player again, and the terminal pops up a window "whether to close XX music", and the user can click "No". button to prevent closing the target application program, if the pop-up window pops up for a preset time such as 10 seconds after no user operation is received, the target application program can be closed.
由上可知,本申请实施例可以当终端的剩余电量小于预设电量时,获取当前时间,判断当前时间是否处于第一预设时间段内,若是,则获取在第二预设时间段内终端中每个应用程序处于前台的时间,并根据时间确定目标应用程序,若否,则获取在第二预设时间段内终端中每个应用程序进入前台的次数,并根据次数确定目标应用程序,关闭目标应用程序。本申请可以根据应用程序处于终端前台的时间或者进入前台的次数确定目标应用程序,当终端剩余电量较少时关闭该目标应用程序,以此来减小了电子设备的耗电量,从而提升电子设备的续航能力。It can be seen from the above that in the embodiment of the present application, when the remaining power of the terminal is less than the preset power, the current time can be obtained, and it can be judged whether the current time is within the first preset time period, and if so, the terminal can be obtained within the second preset time period. The time each application program in the terminal is in the foreground, and determine the target application program according to the time, if not, then obtain the number of times each application program in the terminal enters the foreground within the second preset time period, and determine the target application program according to the number of times, Close the target application. This application can determine the target application program according to the time when the application program is in the foreground of the terminal or the number of times it enters the foreground, and close the target application program when the remaining power of the terminal is low, thereby reducing the power consumption of the electronic device, thereby improving the power consumption of the electronic device. The battery life of the device.
根据上一实施例的描述,以下将进一步地来说明本申请的应用程序关闭方法。According to the description of the previous embodiment, the application closing method of the present application will be further described below.
请参阅图3,图3为本申请实施例提供的另一种应用程序关闭方法的流程示意图,包括以下步骤:Please refer to FIG. 3. FIG. 3 is a schematic flowchart of another method for closing an application program provided by the embodiment of the present application, including the following steps:
步骤S201,当终端的剩余电量小于预设电量时,根据剩余电量确定目标应用程序的数量。Step S201, when the remaining power of the terminal is less than the preset power, determine the number of target application programs according to the remaining power.
在一实施例当中,可以获取终端当前的剩余电量,然后判断该剩余电量是否小于预设电量,其中,上述获取终端的剩余电量可以每隔预设时间获取一次,比如每隔10分钟获取一次当前剩余电量并进行判断,若当前剩余电量小于预设电量,则执行根据剩余电量确定目标应用程序的数量的步骤。In one embodiment, the current remaining power of the terminal can be obtained, and then it can be judged whether the remaining power is less than the preset power. The above-mentioned acquisition of the remaining power of the terminal can be obtained every preset time, such as once every 10 minutes. and judge the remaining power, if the current remaining power is less than the preset power, perform the step of determining the number of target applications according to the remaining power.
在一实施例中,本发明实施例还可以预设多个预设剩余电量区间,且每个预设剩余电量区间对应一个目标应用程序的数量信息,比如剩余电量1%-10%区间对应的目标应用程序数量为3,剩余电量11%-20%区间对应的目标应用程序数量为2,剩余电量21%-30%区间对应的目标应用程序数量为1,若当前剩余电量为18%则确定其对应的目标应用程序数量为2。也即根据所述剩余电量确定目标应用程序的数量的步骤可以具体包括:In one embodiment, the embodiment of the present invention can also preset a plurality of preset remaining battery intervals, and each preset remaining battery interval corresponds to the quantity information of a target application program, for example, the interval corresponding to the remaining electricity 1%-10% The number of target applications is 3, the number of target applications corresponding to the range of remaining power 11%-20% is 2, the number of target applications corresponding to the range of remaining power 21%-30% is 1, and if the current remaining power is 18%, it is determined Its corresponding number of target applications is 2. That is, the step of determining the number of target application programs according to the remaining power may specifically include:
确定剩余电量所在的预设剩余电量区间;Determine the preset remaining power range where the remaining power is located;
获取该预设剩余电量区间对应的目标应用程序数量。Obtain the number of target applications corresponding to the preset remaining power range.
步骤S202,获取当前时间。Step S202, acquiring the current time.
其中,获取终端当前时间的方法也可以有多种,比如获取终端当前的系统时间以作为当前时间,也可以联网获取终端当前所在的时区所对应的标准时间作为当前时间,本发明对此不做进一步限定。Among them, there are many ways to obtain the current time of the terminal. For example, the current system time of the terminal is obtained as the current time, and the standard time corresponding to the time zone where the terminal is currently located can also be obtained online as the current time. The present invention does not do this further qualified.
步骤S203,判断当前时间是否处于第一预设时间段内,若是,则执行步骤 S204,若否,则执行步骤S206。Step S203, judging whether the current time is within the first preset time period, if yes, execute step S204, if not, execute step S206.
在一实施例当中,可以由用户提前预设该预设时间段,该时间段可以为一个或是多个。In an embodiment, the preset time period may be preset by the user in advance, and there may be one or more time periods.
举例来说,该第一预设时间段可以设置为每天的某个时间段或多个时间段,比如每天的上午9:00-下午17:00,考虑到用户在周末和工作日对终端的使用习惯可能存在差异,上述第一预设时间段也可以设置为工作日,也即周一至周五,具体的,也即周一凌晨的0:00至周五晚上的24:00。For example, the first preset time period can be set to a certain time period or multiple time periods every day, such as 9:00 am to 17:00 pm every day, considering that the user's There may be differences in usage habits, and the above-mentioned first preset time period can also be set as a working day, that is, Monday to Friday, specifically, that is, 0:00 on Monday morning to 24:00 on Friday night.
步骤S204,根据在第二预设时间段内终端中每个应用程序处于前台的时间对应用程序进行排序,以得到第一排序结果。Step S204, sorting the application programs according to the time each application program in the terminal is in the foreground within the second preset time period, so as to obtain a first sorting result.
步骤S205,根据第一排序结果和数量确定所述目标应用程序。Step S205, determining the target application program according to the first sorting result and the quantity.
比如,可以将时长最长的排在首位,然后将排序最高的一个或多个应用程序确定为目标应用程序,具体根据目标应用程序的数量来进行确定。For example, the one with the longest duration may be ranked first, and then one or more applications with the highest ranking may be determined as target applications, specifically determined according to the number of target applications.
在其他实施例当中,还可以将处于前台的时长满足预设时长的应用程序确定为目标应用程序,比如在过去的24小时内,将处于终端前台时长超过2个小时的应用程序确定为目标应用程序。In other embodiments, an application whose duration in the foreground meets a preset duration may also be determined as the target application, for example, in the past 24 hours, an application that has been in the foreground of the terminal for more than 2 hours may be determined as the target application program.
步骤S206,根据在第二预设时间段内终端中每个应用程序进入前台的次数对应用程序进行排序,以得到第二排序结果。Step S206, sorting the application programs according to the number of times each application program enters the foreground in the terminal within the second preset time period, so as to obtain a second sorting result.
步骤S207,根据第二排序结果和数量确定目标应用程序。Step S207, determining the target application program according to the second sorting result and the quantity.
比如根据每个应用程序进入前台的次数对应用程序进行排序,可以按照次数从多到少进行排序,然后将排序最高的一个或多个应用程序确定为目标应用程序,具体根据目标应用程序的数量来进行确定。For example, according to the number of times each application enters the foreground, the applications can be sorted according to the number of times, and then one or more applications with the highest ranking can be determined as the target application, depending on the number of target applications to make sure.
在其他实施例当中,还可以将进入前台次数满足预设次数的应用程序确定为目标应用程序,比如在过去的24小时内,将进入前台次数超过5次的应用程序确定为目标应用程序。In other embodiments, an application that enters the foreground more than 5 times in the past 24 hours may be determined as the target application.
需要说明的是,每个应用程序处于前台的时间或者进入前台的次数都可以通过进程管理机制获取,该进程管理机制可以包含一个应用程序管理器,在上述应用程序管理器当中记录着终端中每个应用程序的使用记录,该使用记录可以包括应用程序的处于前台的时间以及进入前台的次数,当然该使用记录还可以包括应用程序的其他使用信息,比如自动唤醒时间、应用开启时间、应用关闭时间、应用在后台运行的时间等等It should be noted that the time that each application program is in the foreground or the number of times that each application program enters the foreground can be obtained through the process management mechanism. The process management mechanism may include an application program manager. A usage record of an application, which may include the time the application is in the foreground and the number of times it enters the foreground. Of course, the usage record may also include other usage information of the application, such as automatic wake-up time, application opening time, application closing time, how long the app was running in the background, etc.
步骤S208,关闭目标应用程序。Step S208, closing the target application program.
在一实施例中,可以先获取终端当前运行的前台应用程序集合,当该应用程序集合中包含目标应用程序时则执行关闭目标应用程序的步骤。其中,上述当前运行的前台应用程序可以为一个或多个。获取终端当前前台运行的应用程序可以通过应用标识来进行获取,其中,应用标识是指终端中所安装的应用的唯一标识,从而可用应用标识对终端的应用进行识别。具体地,在本发明一些可能的实施方式中,可以在终端开启应用的时候记录所开启的应用标识。In an embodiment, the set of foreground application programs currently running on the terminal may be obtained first, and when the set of application programs includes the target application program, the step of closing the target application program is performed. Wherein, the above-mentioned currently running foreground application programs may be one or more. The acquisition of the application program currently running in the foreground of the terminal can be obtained through the application identification, wherein the application identification refers to the unique identification of the application installed in the terminal, so that the application identification of the terminal can be used to identify the application. Specifically, in some possible implementation manners of the present invention, the opened application identifier may be recorded when the terminal starts the application.
当终端当前前台运行的应用程序中包括上述目标应用程序时,关闭该目标应用程序。也即,在关闭目标应用程序之前,所述方法还可以包括:When the above-mentioned target application program is included in the application programs currently running in the foreground of the terminal, the target application program is closed. That is, before closing the target application program, the method may further include:
获取终端当前运行的前台应用程序集合;Obtain the set of foreground applications currently running on the terminal;
判断前台应用程序集合当中是否存在目标应用程序;Determine whether there is a target application program in the foreground application program collection;
若是,则执行关闭目标应用程序的步骤。If yes, the step of closing the target application is performed.
在一实施例中,还可以预先设置一些比较重要的应用程序白名单为预设应用程序,然后在关闭目标应用程序之前先判断该目标应用程序是否为预设应用程序,若否,则继续执行关闭目标应用程序的步骤。这样可以避免关闭对用户较为重要的应用程序,从而造成错失信息数据。其中,上述预设应用程序可以由用户自行添加也可以由系统自动设置,本申请对此不做进一步限定。也即上述关闭目标应用程序之前,所述方法还可以包括:In an embodiment, it is also possible to pre-set some important application whitelists as default applications, and then determine whether the target application is a default application before closing the target application, and if not, continue to execute Steps to close the target application. This can avoid closing applications that are more important to the user, resulting in missing information data. Wherein, the aforementioned preset application program may be added by the user or automatically set by the system, which is not further limited in this application. That is, before the above-mentioned closing of the target application program, the method may further include:
判断目标应用程序是否为预设应用程序;judging whether the target application program is a preset application program;
若否,则执行关闭目标应用程序的步骤。If not, the step of closing the target application program is performed.
由上可知,本申请实施例可以当终端的剩余电量小于预设电量时,根据剩余电量确定目标应用程序的数量,获取当前时间,判断当前时间是否处于第一预设时间段内,若是,则根据在第二预设时间段内终端中每个应用程序处于前台的时间对应用程序进行排序,以得到第一排序结果,并根据第一排序结果和数量确定所述目标应用程序,若否,则根据在第二预设时间段内终端中每个应用程序进入前台的次数对应用程序进行排序,以得到第二排序结果,并根据第二排序结果和数量确定目标应用程序,关闭目标应用程序。本申请可以根据应用程序处于终端前台的时间或者进入前台的次数确定目标应用程序,当终端剩余电量较少时关闭该目标应用程序,以此来减小了电子设备的耗电量,从而提升电子设备的续航能力。It can be seen from the above that in the embodiment of the present application, when the remaining power of the terminal is less than the preset power, the number of target applications can be determined according to the remaining power, and the current time can be obtained to determine whether the current time is within the first preset time period. If so, then Sort the application programs according to the time each application program in the terminal is in the foreground within the second preset time period to obtain the first sorting result, and determine the target application program according to the first sorting result and quantity, if not, The application programs are then sorted according to the number of times each application program in the terminal enters the foreground within the second preset time period to obtain the second sorting result, and the target application program is determined according to the second sorting result and quantity, and the target application program is closed . This application can determine the target application program according to the time when the application program is in the foreground of the terminal or the number of times it enters the foreground, and close the target application program when the remaining power of the terminal is low, thereby reducing the power consumption of the electronic device, thereby improving the power consumption of the electronic device. The battery life of the device.
为了便于更好的实施本申请实施例提供的应用程序关闭方法,本申请实施例还提供了一种基于上述应用程序关闭方法的装置。其中名词的含义与上述应用程序关闭方法中相同,具体实现细节可以参考方法实施例中的说明。In order to facilitate better implementation of the method for closing an application program provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the above method for closing an application program. The meanings of the nouns are the same as those in the above method for closing the application program, and for specific implementation details, please refer to the description in the method embodiments.
请参阅图4,图4为本申请实施例提供的一种应用程序关闭装置的结构示意图,该应用程序关闭装置30包括:时间获取模块301、时间判断模块302、第一确定模块303、第二确定模块304以及关闭模块305;Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of an application closing device provided in an embodiment of the present application. The application closing device 30 includes: a time acquisition module 301, a time judgment module 302, a first determination module 303, a second Determining module 304 and closing module 305;
该时间获取模块301,用于当终端的剩余电量小于预设电量时,获取当前时间;The time acquisition module 301 is used to acquire the current time when the remaining power of the terminal is less than the preset power;
该时间判断模块302,用于判断当前时间是否处于第一预设时间段内;The time judging module 302 is used to judge whether the current time is within the first preset time period;
该第一确定模块303,用于当时间判断模块302判断为是时,获取在第二预设时间段内终端中每个应用程序处于前台的时间,并根据时间确定目标应用程序;The first determination module 303 is configured to obtain the time when each application program in the terminal is in the foreground within the second preset time period when the time determination module 302 determines yes, and determine the target application program according to the time;
该第二确定模块304,用于当时间判断模块302判断为否时,则获取在第二预设时间段内终端中每个应用程序进入前台的次数,并根据次数确定目标应用程序;The second determination module 304 is configured to obtain the number of times each application program in the terminal enters the foreground within the second preset time period when the time determination module 302 determines no, and determine the target application program according to the number of times;
该关闭模块305,用于关闭目标应用程序。The closing module 305 is used to close the target application program.
继续参阅图5,在一实施例当中,所述第一确定模块303可以具体包括:第一排序子模块3031和第一确定子模块3032;Continuing to refer to FIG. 5, in an embodiment, the first determination module 303 may specifically include: a first sorting submodule 3031 and a first determination submodule 3032;
该第一排序子模块3031,用于根据所述在第二预设时间段内所述终端中每个应用程序处于前台的时间对所述应用程序进行排序,以得到第一排序结果;The first sorting submodule 3031 is configured to sort the application programs according to the time each application program in the terminal is in the foreground within the second preset time period, so as to obtain a first sorting result;
该第一确定子模块3032,用于根据第一排序结果确定所述目标应用程序;The first determining submodule 3032 is configured to determine the target application program according to the first sorting result;
第二确定模块304可以具体包括:第二排序子模块3041和第二确定子模块 3042;The second determining module 304 may specifically include: a second sorting submodule 3041 and a second determining submodule 3042;
该第二排序子模块3041,用于根据在第二预设时间段内所述终端中每个应用程序进入前台的次数对所述应用程序进行排序,以得到第二排序结果;The second sorting submodule 3041 is configured to sort the application programs according to the number of times each application program in the terminal enters the foreground within a second preset time period, so as to obtain a second sorting result;
该第二确定子模块3042,用于根据第二排序结果确定目标应用程序。The second determining submodule 3042 is configured to determine the target application program according to the second sorting result.
在一实施例当中,如图6所示,上述应用程序关闭装置30还可以包括:集合获取模块306和应用判断模块307;In an embodiment, as shown in FIG. 6 , the above-mentioned application closing device 30 may further include: a collection acquisition module 306 and an application judgment module 307;
该集合获取模块306,用于在关闭模块关闭目标应用程序之前,获取终端当前运行的前台应用程序集合;The set acquisition module 306 is used to acquire the set of foreground application programs currently running on the terminal before the closing module closes the target application program;
该应用判断模块307,用于判断前台应用程序集合当中是否存在所述目标应用程序;The application judging module 307 is used to judge whether the target application program exists in the foreground application program set;
上述关闭模块305,具体用于当所述应用判断模块307判断为是时,关闭所述目标应用程序。The closing module 305 is specifically configured to close the target application program when the application judging module 307 judges yes.
由上可知,本申请实施例提供的应用程序关闭装置30可以由时间获取模块 301当终端的剩余电量小于预设电量时,获取当前时间,时间判断模块302判断当前时间是否处于第一预设时间段内,若是,则第一确定模块303获取在第二预设时间段内终端中每个应用程序处于前台的时间,并根据时间确定目标应用程序,若否,则第二确定模块304获取在第二预设时间段内终端中每个应用程序进入前台的次数,并根据次数确定目标应用程序,关闭模块305关闭目标应用程序。本申请可以根据应用程序处于终端前台的时间或者进入前台的次数确定目标应用程序,当终端剩余电量较少时关闭该目标应用程序,以此来减小了电子设备的耗电量,从而提升电子设备的续航能力。As can be seen from the above, the application closing device 30 provided by the embodiment of the present application can use the time acquisition module 301 to obtain the current time when the remaining power of the terminal is less than the preset power, and the time judging module 302 judges whether the current time is within the first preset time If yes, the first determination module 303 obtains the time when each application program in the terminal is in the foreground within the second preset time period, and determines the target application program according to the time; if not, the second determination module 304 obtains the The number of times each application program enters the foreground in the terminal within the second preset time period, and the target application program is determined according to the number of times, and the closing module 305 closes the target application program. This application can determine the target application program according to the time when the application program is in the foreground of the terminal or the number of times it enters the foreground, and close the target application program when the remaining battery power of the terminal is low, thereby reducing the power consumption of the electronic device, thereby improving the power consumption of the electronic device. The battery life of the device.
本申请还提供一种存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现方法实施例提供的应用程序关闭方法。The present application also provides a storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the method for closing an application program provided by the method embodiment is implemented.
本申请还提供一种电子设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现方法实施例提供的应用程序关闭方法。The present application also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor implements the application provided by the method embodiment when executing the program Program shutdown method.
在本申请又一实施例中还提供一种电子设备,该电子设备可以是智能手机、平板电脑等设备。如图7所示,电子设备400包括处理器401、存储器402。其中,处理器401与存储器402电性连接。In yet another embodiment of the present application, an electronic device is also provided, and the electronic device may be a smart phone, a tablet computer, or the like. As shown in FIG. 7 , an electronic device 400 includes a processor 401 and a memory 402 . Wherein, the processor 401 is electrically connected with the memory 402 .
处理器401是电子设备400的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器402内的应用程序,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or loading the application program stored in the memory 402 and calling the data stored in the memory 402, the processor 401 executes the electronic Various functions and processing data of the equipment, so as to monitor the electronic equipment as a whole.
在本实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器402中,并由处理器401 来运行存储在存储器402中的应用程序,从而实现各种功能:In this embodiment, the processor 401 in the electronic device 400 will follow the steps below to load the instructions corresponding to the process of one or more application programs into the memory 402, and the instructions stored in the memory 402 will be executed by the processor 401. in the application, so as to realize various functions:
当终端的剩余电量小于预设电量时,获取当前时间;When the remaining power of the terminal is less than the preset power, get the current time;
判断所述当前时间是否处于第一预设时间段内;judging whether the current time is within a first preset time period;
若是,则获取在第二预设时间段内所述终端中每个应用程序处于前台的时间,并根据所述时间确定目标应用程序;If so, obtain the time when each application program in the terminal is in the foreground within the second preset time period, and determine the target application program according to the time;
若否,则获取在第二预设时间段内所述终端中每个应用程序进入前台的次数,并根据所述次数确定目标应用程序;If not, then obtain the number of times each application program in the terminal enters the foreground within the second preset time period, and determine the target application program according to the number of times;
关闭所述目标应用程序。Close the target application.
请参阅图8,图8为本申请实施例提供的电子设备结构示意图。该电子设备500可以包括射频(RF,Radio Frequency)电路501、包括有一个或一个以上计算机可读存储介质的存储器502、输入单元503、显示单元504、传感器 504、音频电路506、无线保真(WiFi,Wireless Fidelity)模块507、包括有一个或者一个以上处理核心的处理器508、以及电源509等部件。本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 8 . FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device 500 may include a radio frequency (RF, Radio Frequency) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 504, an audio circuit 506, a wireless fidelity ( WiFi, Wireless Fidelity) module 507, including a processor 508 with one or more processing cores, and a power supply 509 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
射频电路501可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器508处理;另外,将涉及上行的数据发送给基站。通常,射频电路501包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,射频电路501还可以通过无线通信与网络和其他设备通信。该无线通信可以使用任一通信标准或协议,包括但不限于全球移动通信系统 (GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,General Packet Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,LongTerm Evolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。The radio frequency circuit 501 can be used to send and receive information, or to receive and send signals during a call. In particular, after receiving the downlink information of the base station, it is processed by one or more processors 508; in addition, the data related to the uplink is sent to the base station . Generally, the radio frequency circuit 501 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM, Subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, Low Noise Amplifier), duplexer, etc. In addition, the radio frequency circuit 501 can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM, Global System of Mobile communication), General Packet Radio Service (GPRS, General Packet Radio Service), Code Division Multiple Access (CDMA, Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, LongTerm Evolution), email, Short Message Service (SMS, Short Messaging Service), etc.
存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器508通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。存储器502 可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等) 等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器508和输入单元 503对存储器502的访问。Memory 502 may be used to store applications and data. The application programs stored in the memory 502 include executable codes. Applications can be composed of various functional modules. The processor 508 executes various functional applications and data processing by running the application programs stored in the memory 502 . The memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of electronic devices (such as audio data, phonebook, etc.), etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 with access to the memory 502.
输入单元503可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元503可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器508,并能接收处理器508发来的命令并加以执行。The input unit 503 can be used to receive input numbers, character information or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 503 may include a touch-sensitive surface and other input devices. A touch-sensitive surface, also known as a touch display or trackpad, collects user touch operations on or near it (for example, the user uses a finger, stylus, etc. any suitable object or accessory on the touch-sensitive surface or on the touch-sensitive Operation near the surface), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 508, and can receive and execute commands sent by the processor 508.
显示单元504可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元504可包括显示面板。可选的,可以采用液晶显示器(LCD,Liquid CrystalDisplay)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器508 以确定触摸事件的类型,随后处理器508根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图8中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。The display unit 504 can be used to display information input by or provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 504 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface may cover the display panel, and when the touch-sensitive surface detects a touch operation on or near it, the touch operation is sent to the processor 508 to determine the type of the touch event, and then the processor 508 displays on the display according to the type of the touch event. The corresponding visual output is provided on the panel. Although in FIG. 8, the touch-sensitive surface and the display panel are used as two independent components to realize the input and input functions, in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize the input and output functions.
电子设备还可包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在电子设备移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电子设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The electronic device may also include at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or backlight. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. Let me repeat.
音频电路506可通过扬声器、传声器提供用户与电子设备之间的音频接口。音频电路506可将接收到的音频数据转换成电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路506接收后转换为音频数据,再将音频数据输出处理器508处理后,经射频电路501以发送给比如另一电子设备,或者将音频数据输出至存储器 502以便进一步处理。音频电路506还可能包括耳塞插孔,以提供外设耳机与电子设备的通信。The audio circuit 506 can provide an audio interface between the user and the electronic device through a speaker or a microphone. The audio circuit 506 can convert the received audio data into an electrical signal, transmit it to the speaker, and the speaker converts it into a sound signal output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is converted into The audio data, after being processed by the audio data output processor 508, is sent to another electronic device through the radio frequency circuit 501, or the audio data is output to the memory 502 for further processing. Audio circuitry 506 may also include an earphone jack to provide communication of peripheral headphones with the electronic device.
无线保真(WiFi)属于短距离无线传输技术,电子设备通过无线保真模块 507可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了无线保真模块507,但是可以理解的是,其并不属于电子设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wireless Fidelity (WiFi) belongs to short-distance wireless transmission technology. Electronic equipment can help users send and receive emails, browse webpages, and access streaming media through the wireless fidelity module 507, which provides users with wireless broadband Internet access. Although FIG. 8 shows the Wi-Fi module 507, it can be understood that it is not a necessary component of the electronic device, and can be completely omitted according to needs without changing the essence of the invention.
处理器508是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器508可包括一个或多个处理核心;优选的,处理器508可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器508中。The processor 508 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing the application program stored in the memory 502 and calling the data stored in the memory 502, the electronic device executes Various functions and processing data, so as to monitor the electronic equipment as a whole. Optionally, the processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 508 .
电子设备还包括给各个部件供电的电源509(比如电池)。优选的,电源可以通过电源管理系统与处理器508逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源509还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The electronic device also includes a power source 509 (such as a battery) for powering various components. Preferably, the power supply can be logically connected to the processor 508 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 509 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
尽管图8中未示出,电子设备还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 8 , the electronic device may also include a camera, a Bluetooth module, etc., which will not be repeated here.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above modules may be implemented as an independent entity, or may be combined arbitrarily as the same or several entities. For the specific implementation of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如信息发布方法的实施例的流程。其中,存储介质可以包括:只读存储器(ROM,Read OnlyMemory)、随机存取记忆体 (RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as It is stored in the memory of the terminal and executed by at least one processor in the terminal, and the execution process may include the flow of the embodiment of the information publishing method. Wherein, the storage medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
以上对本申请实施例提供的一种应用程序关闭方法、装置、存储介质和电子设备进行了详细介绍,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A method, device, storage medium, and electronic device for closing an application program provided by the embodiments of the present application have been described above in detail. Each functional module of the application can be integrated into one processing chip, or each module can exist separately physically, or it can be two One or more modules are integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. In this paper, specific examples are used to illustrate the principle and implementation of the application. The description of the above embodiments is only used to help understand the method and core idea of the application; meanwhile, for those skilled in the art, according to the application Thoughts, specific implementation methods and application ranges all have changes. In summary, the content of this specification should not be construed as limiting the application.
Claims (10)
- A kind of 1. closing application program method, it is characterised in that comprise the following steps:When the dump energy of terminal is less than default electricity, current time is obtained;Judge the current time whether in the first preset time period;If so, then obtaining in the second preset time period, each application program is in the time on foreground in the terminal, and according to The time determines destination application;If it is not, then obtain in the second preset time period in the terminal each application program into foreground number, and according to The number determines destination application;Close the destination application.
- 2. closing application program method as claimed in claim 1, it is characterised in that described to determine that target according to the time Included with the step of program:The time on foreground is in the application according to each application program in the terminal described in the second preset time period Program is ranked up, to obtain the first ranking results;The destination application is determined according to first ranking results;Described the step of determining destination application according to the number, includes:The number on foreground is entered to the application according to each application program in the terminal described in the second preset time period Program is ranked up, to obtain the second ranking results;The destination application is determined according to second ranking results.
- 3. closing application program method as claimed in claim 2, it is characterised in that it is determined that the dump energy of terminal is less than in advance If after electricity, methods described also includes:The quantity of destination application is determined according to the dump energy;Described the step of determining the destination application according to first ranking results, includes:The destination application is determined according to first ranking results and the quantity;Described the step of determining the destination application according to second ranking results, includes:The destination application is determined according to second ranking results and the quantity.
- 4. closing application program method as claimed in claim 3, it is characterised in that described that mesh is determined according to the dump energy The step of quantity for marking application program, specifically includes:Determine the default dump energy section where the dump energy;Obtain destination application quantity corresponding to the default dump energy section.
- 5. closing application program method as claimed in claim 1, it is characterised in that close the destination application described The step of before, methods described also includes:Obtain the foreground application set that the terminal is currently run;Judge to whether there is the destination application among the foreground application set;If so, then perform the step of closing the destination application.
- A kind of 6. closing application program device, it is characterised in that including:Time-obtaining module, time judgment module, first determine Module, the second determining module and closedown module;The time-obtaining module, for when the dump energy of terminal is less than default electricity, obtaining current time;The time judgment module, for judging the current time whether in the first preset time period;First determining module, for when the time judgment module is judged as YES, obtaining in the second preset time period Each application program is in the time on foreground in the terminal, and determines destination application according to the time;Second determining module, for when the time judgment module is judged as NO, then obtaining in the second preset time period Each application program enters the number on foreground in the interior terminal, and determines destination application according to the number;The closedown module, for closing the destination application.
- 7. closing application program device as claimed in claim 6, it is characterised in that first determining module includes:First Sorting sub-module and the first determination sub-module;First sorting sub-module, at each application program in the basis terminal described in the second preset time period Time in foreground is ranked up to the application program, to obtain the first ranking results;First determination sub-module, for determining the destination application according to first ranking results;Second determining module includes:Second sorting sub-module and the second determination sub-module;Second sorting sub-module, for being entered according to each application program in the terminal described in the second preset time period The number for entering foreground is ranked up to the application program, to obtain the second ranking results;Second determination sub-module, for determining the destination application according to second ranking results.
- 8. closing application program device as claimed in claim 6, it is characterised in that described device also includes:Set obtains mould Block and using judge module;The set acquisition module, for before the closedown module closes the destination application, obtaining the terminal The foreground application set currently run;It is described to apply judge module, for judging to whether there is the intended application journey among the foreground application set Sequence;The closedown module, specifically for when the application judge module is judged as YES, closing the destination application.
- 9. a kind of storage medium, is stored thereon with computer program, it is characterised in that the computer program is executed by processor The step of Shi Shixian such as any one of claim 1-5 methods describeds.
- 10. a kind of electronic equipment, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, it is characterised in that realized during the computing device described program such as the step of any one of claim 1-5 methods described Suddenly.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711045061.XA CN107832131B (en) | 2017-10-31 | 2017-10-31 | Application closing method, device, storage medium and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711045061.XA CN107832131B (en) | 2017-10-31 | 2017-10-31 | Application closing method, device, storage medium and electronic device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107832131A true CN107832131A (en) | 2018-03-23 |
| CN107832131B CN107832131B (en) | 2020-07-07 |
Family
ID=61651210
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711045061.XA Expired - Fee Related CN107832131B (en) | 2017-10-31 | 2017-10-31 | Application closing method, device, storage medium and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107832131B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112068688A (en) * | 2020-09-09 | 2020-12-11 | 北京字节跳动网络技术有限公司 | Power saving method and device, electronic equipment and computer readable medium |
| CN112997150A (en) * | 2018-12-29 | 2021-06-18 | 深圳市欢太科技有限公司 | Application program management method and device, storage medium and electronic equipment |
| CN114265495A (en) * | 2021-11-22 | 2022-04-01 | 上海小传科技有限公司 | Application program processing method, intelligent terminal and storage medium |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114995625B (en) | 2021-08-11 | 2023-05-12 | 荣耀终端有限公司 | System power consumption control method and electronic equipment |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105677386A (en) * | 2015-12-29 | 2016-06-15 | 北京金山安全软件有限公司 | Application program management method and device and electronic equipment |
| CN107045443A (en) * | 2017-04-14 | 2017-08-15 | 北京安云世纪科技有限公司 | background process control method, device and intelligent terminal |
| CN107291549A (en) * | 2016-03-31 | 2017-10-24 | 阿里巴巴集团控股有限公司 | A kind of method and device for managing application program |
-
2017
- 2017-10-31 CN CN201711045061.XA patent/CN107832131B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105677386A (en) * | 2015-12-29 | 2016-06-15 | 北京金山安全软件有限公司 | Application program management method and device and electronic equipment |
| CN107291549A (en) * | 2016-03-31 | 2017-10-24 | 阿里巴巴集团控股有限公司 | A kind of method and device for managing application program |
| CN107045443A (en) * | 2017-04-14 | 2017-08-15 | 北京安云世纪科技有限公司 | background process control method, device and intelligent terminal |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112997150A (en) * | 2018-12-29 | 2021-06-18 | 深圳市欢太科技有限公司 | Application program management method and device, storage medium and electronic equipment |
| CN112997150B (en) * | 2018-12-29 | 2023-12-08 | 深圳市欢太科技有限公司 | Application management method, device, storage medium and electronic device |
| CN112068688A (en) * | 2020-09-09 | 2020-12-11 | 北京字节跳动网络技术有限公司 | Power saving method and device, electronic equipment and computer readable medium |
| CN114265495A (en) * | 2021-11-22 | 2022-04-01 | 上海小传科技有限公司 | Application program processing method, intelligent terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107832131B (en) | 2020-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107734616B (en) | Application program closing method and device, storage medium and electronic equipment | |
| EP3502880B1 (en) | Method for preloading application, storage medium, and terminal device | |
| CN106786962B (en) | Charging control method and device and terminal | |
| CN107809542B (en) | Application control method, device, storage medium and electronic device | |
| CN107800651B (en) | Application closing method, device, storage medium and electronic device | |
| CN109960539A (en) | Application preloading method, device, storage medium and mobile terminal | |
| CN106453829B (en) | Method and device for detecting drop height | |
| CN104967896A (en) | Method for displaying bulletscreen comment information, and apparatus thereof | |
| CN107562539B (en) | Application processing method and apparatus, computer equipment, storage medium | |
| CN108549519A (en) | Split-screen processing method, device, storage medium and electronic equipment | |
| CN110008008A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
| CN109062468B (en) | Split-screen display method, device, storage medium and electronic device | |
| CN107544842A (en) | Application program processing method and device, computer equipment, storage medium | |
| CN108932093A (en) | Split screen application switching method and device, storage medium and electronic equipment | |
| CN106528335A (en) | A data backup method, device and terminal | |
| CN107295183A (en) | An alarm clock reminder method, device, storage medium and terminal | |
| CN107832131B (en) | Application closing method, device, storage medium and electronic device | |
| EP2869604B1 (en) | Method, apparatus and device for processing a mobile terminal resource | |
| CN108932094A (en) | Split screen application switching method and device, storage medium and electronic equipment | |
| CN107734618B (en) | Application program closing method and device, storage medium and electronic equipment | |
| CN103197944B (en) | Method for determining performance of process of application program and computer system | |
| CN106535249A (en) | A control method, device and terminal of a wireless local area network | |
| CN109992425A (en) | Information processing method, apparatus, computer device, and computer-readable storage medium | |
| CN107317917B (en) | Application control methods and related products | |
| CN107491349A (en) | Application program processing method and device, computer equipment, storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200707 |