CN107632697B - Application processing method and device, storage medium and electronic equipment - Google Patents
Application processing method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN107632697B CN107632697B CN201710919655.2A CN201710919655A CN107632697B CN 107632697 B CN107632697 B CN 107632697B CN 201710919655 A CN201710919655 A CN 201710919655A CN 107632697 B CN107632697 B CN 107632697B
- Authority
- CN
- China
- Prior art keywords
- sample
- application program
- probability
- application
- sampling
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims description 19
- 238000005070 sampling Methods 0.000 claims abstract description 169
- 238000012549 training Methods 0.000 claims abstract description 74
- 238000012545 processing Methods 0.000 claims abstract description 52
- 238000000034 method Methods 0.000 claims abstract description 33
- 230000010365 information processing Effects 0.000 claims description 2
- 239000000203 mixture Substances 0.000 description 65
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000007476 Maximum Likelihood Methods 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000002354 daily effect Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- 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)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Computer Hardware Design (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请实施例公开了一种应用程序的处理方法、装置、存储介质及电子设备。该应用程序的处理方法,通过获取历史时间段内每一采样时间点样本应用程序的使用信息,根据采样时间点和使用信息生成训练样本,再根据训练样本对预设的混合高斯模型进行训练,基于训练后的混合高斯模型和预设的贝叶斯模型,对电子设备中的后台应用程序进行处理。该方案可降低电子设备终资源的占用,提升了电子设备的运行流畅度,减少了电子设备的功耗。
The embodiment of the present application discloses a method, device, storage medium and electronic device for processing an application. The method for processing the application obtains usage information of a sample application at each sampling time point in a historical time period, generates training samples according to the sampling time point and usage information, and then trains a preset mixed Gaussian model according to the training samples, and processes the background application in the electronic device based on the trained mixed Gaussian model and the preset Bayesian model. This solution can reduce the occupation of terminal resources of the electronic device, improve the running smoothness of the electronic device, and reduce the power consumption of the electronic device.
Description
技术领域technical field
本申请涉及电子设备技术领域,尤其涉及一种应用程序的处理方法、装置、存储介质及电子设备。The present application relates to the technical field of electronic devices, and in particular, to a method, device, storage medium and electronic device for processing an application program.
背景技术Background technique
随着互联网的发展和移动通信网络的发展,同时也伴随着电子设备的处理能力和存储能力的迅猛发展,海量的应用得到了迅速传播和使用;常用的应用在方便用户工作和生活的同时,不乏新开发的应用也进入到用户的日常生活,提高了用户的生活质量、使用终端的频率以及使用中的娱乐感。With the development of the Internet and the development of mobile communication networks, as well as the rapid development of the processing and storage capabilities of electronic devices, a large number of applications have been rapidly disseminated and used; commonly used applications are convenient for users to work and live. Many newly developed applications have also entered the daily life of users, improving the quality of life of users, the frequency of using the terminal, and the sense of entertainment in use.
当电子设备开启有多个应用程序时,在后台运行的应用程序会严重地占用电子设备的资源,降低电子设备的运行流畅度,同时还会导致电子设备的功耗较大。When an electronic device has multiple application programs turned on, the application programs running in the background will seriously occupy the resources of the electronic device, reduce the running smoothness of the electronic device, and at the same time lead to high power consumption of the electronic device.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种应用程序的处理方法、装置、存储介质及电子设备,可以智能地管控应用程序,降低电子设备功耗。The embodiments of the present application provide an application processing method, apparatus, storage medium and electronic device, which can intelligently control the application and reduce the power consumption of the electronic device.
第一方面,本申请实施例提供一种应用程序的处理方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides a method for processing an application program, which is applied to an electronic device, and the method includes:
获取历史时间段内每一采样时间点样本应用程序的使用信息;Obtain the usage information of the sample application at each sampling time point in the historical time period;
根据所述采样时间点和所述使用信息生成训练样本;generating training samples according to the sampling time point and the usage information;
根据所述训练样本对预设的混合高斯模型进行训练;training a preset Gaussian mixture model according to the training sample;
基于训练后的混合高斯模型和预设的贝叶斯模型,对所述电子设备中的后台应用程序进行处理。The background application in the electronic device is processed based on the trained mixture Gaussian model and the preset Bayesian model.
第二方面,本申请实施例提供了一种应用程序的处理装置,应用于电子设备,所述装置包括:In a second aspect, an embodiment of the present application provides an apparatus for processing an application program, which is applied to an electronic device, and the apparatus includes:
获取模块,用于获取历史时间段内每一采样时间点样本应用程序的使用信息;The acquisition module is used to acquire the usage information of the sample application at each sampling time point in the historical time period;
生成模块,用于根据所述采样时间点和所述使用信息生成训练样本;a generating module, configured to generate training samples according to the sampling time point and the usage information;
训练模块,用于根据所述训练样本对预设的混合高斯模型进行训练;a training module for training a preset Gaussian mixture model according to the training sample;
处理模块,用于基于训练后的混合高斯模型和预设的贝叶斯模型,对所述电子设备中的后台应用程序进行处理。The processing module is used for processing the background application in the electronic device based on the trained mixture Gaussian model and the preset Bayesian model.
第三方面,本申请实施例还提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行上述的应用程序的处理方法。In a third aspect, an embodiment of the present application further provides a storage medium, where a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute the above processing method of an application program.
第四方面,本申请实施例还提供了一种电子设备,包括处理器及存储器,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据;处理器用于执行上述的应用程序的处理方法。In a fourth aspect, an embodiment of the present application further provides an electronic device, including a processor and a memory, the processor is electrically connected to the memory, and the memory is used to store instructions and data; the processor is used to execute the above-mentioned The processing method of the application.
本申请实施例公开了一种应用程序的处理方法、装置、存储介质及电子设备。该应用程序的处理方法,通过获取历史时间段内每一采样时间点样本应用程序的使用信息,根据采样时间点和使用信息生成训练样本,再根据训练样本对预设的混合高斯模型进行训练,基于训练后的混合高斯模型和预设的贝叶斯模型,对电子设备中的后台应用程序进行处理。该方案可降低电子设备终资源的占用,提升了电子设备的运行流畅度,减少了电子设备的功耗。The embodiments of the present application disclose an application processing method, apparatus, storage medium, and electronic device. The processing method of the application program is to obtain the usage information of the sample application program at each sampling time point in the historical time period, generate training samples according to the sampling time point and the usage information, and then train the preset Gaussian mixture model according to the training samples. Based on the trained mixture Gaussian model and the preset Bayesian model, the background application in the electronic device is processed. The solution can reduce the occupation of final resources of the electronic device, improve the running smoothness of the electronic device, and reduce the power consumption of the electronic device.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. 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 from these drawings without creative effort.
图1是本申请实施例提供的应用程序的处理方法的场景架构示意图。FIG. 1 is a schematic diagram of a scenario architecture of an application processing method provided by an embodiment of the present application.
图2是本申请实施例提供的应用程序的处理方法的一种流程示意图。FIG. 2 is a schematic flowchart of a method for processing an application program provided by an embodiment of the present application.
图3是本申请实施例提供的应用程序的处理方法的另一种流程示意图。FIG. 3 is another schematic flowchart of a method for processing an application program provided by an embodiment of the present application.
图4是本申请实施例提供的一种高斯模型的示意图。FIG. 4 is a schematic diagram of a Gaussian model provided by an embodiment of the present application.
图5是本申请实施例提供的混合高斯模型的训练示意图。FIG. 5 is a schematic diagram of training a Gaussian mixture model provided by an embodiment of the present application.
图6是本申请实施例提供的一种混合高斯模型的示意图。FIG. 6 is a schematic diagram of a Gaussian mixture model provided by an embodiment of the present application.
图7是本申请实施例提供的应用程序的处理装置的一种结构示意图。FIG. 7 is a schematic structural diagram of an apparatus for processing an application program provided by an embodiment of the present application.
图8是本申请实施例提供的应用程序的处理装置的另一种结构示意图。FIG. 8 is another schematic structural diagram of an apparatus for processing an application program provided by an embodiment of the present application.
图9是本申请实施例提供的应用程序的处理装置的又一种结构示意图。FIG. 9 is another schematic structural diagram of an apparatus for processing an application program provided by an embodiment of the present application.
图10是本申请实施例提供的应用程序的处理装置的再一种结构示意图FIG. 10 is another schematic structural diagram of an apparatus for processing an application program provided by an embodiment of the present application
图11是本申请实施例提供的电子设备的一种结构示意图。FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
图12是本申请实施例提供的电子设备的另一种结构示意图。FIG. 12 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
本申请实施例提供一种应用程序的处理方法、装置、存储介质及电子设备。以下将分别进行详细说明。Embodiments of the present application provide an application processing method, apparatus, storage medium, and electronic device. The detailed descriptions will be given below.
请参阅图1,图1为本申请实施例提供的应用程序的处理方法的场景架构示意图。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a scene architecture of an application processing method provided by an embodiment of the present application.
如图,以对后台运行的应用程序为A~E进行处理为例。首先进行数据采集,记录电子设备在各应用程序的使用信息,如记录一个月内打开各应用程序的时间。然后,根据采集到的应用程序的使用记录统计出各应用程序在不同时间的使用概率,并将使用时间及对应的使用概率作为训练样本,对预设的混合高斯模型进行训练,根据所输入的样本调整该混合高斯模型中的参数信息,以得到每一应用程序所对应的训练后的混合高斯模型。基于各应用程序对应的训练后的混合高斯模型,结合预设的贝叶斯模型对后台应用程序的使用做预测,计算出在时间T下的每一后台应用程序的使用概率。再从多个后台应用程序A~E中确定出使用概率低于预设概率P的目标后台应用程序,并关闭目标后台应用程序。从而基于用户的使用习惯实现对后台应用程序的管控,减少应用程序对电子设备资源的占用。As shown in the figure, take the processing of applications A to E running in the background as an example. First, data collection is performed to record the usage information of electronic devices in various applications, such as recording the time when each application is opened within a month. Then, according to the collected usage records of the application programs, the usage probability of each application program at different times is counted, and the usage time and the corresponding usage probability are used as training samples to train the preset Gaussian mixture model. The sample adjusts the parameter information in the Gaussian mixture model to obtain the trained Gaussian mixture model corresponding to each application. Based on the trained mixture Gaussian model corresponding to each application and combined with a preset Bayesian model, the usage of the background application is predicted, and the usage probability of each background application at time T is calculated. Then, a target background application program whose usage probability is lower than the preset probability P is determined from the plurality of background application programs A to E, and the target background application program is closed. Thereby, the management and control of the background application program is realized based on the user's usage habits, and the resource occupation of the electronic device by the application program is reduced.
其中,电子设备可以为移动终端,如手机、平板电脑、笔记本电脑等,本申请实施例对此不进行限定。The electronic device may be a mobile terminal, such as a mobile phone, a tablet computer, a notebook computer, etc., which is not limited in this embodiment of the present application.
在一实施例中,提供一种应用程序的处理方法,应用于电子设备,该电子设备可以为智能手机、平板电脑、笔记本电脑等移动终端。如图2所示,流程可以如下:In one embodiment, a method for processing an application program is provided, which is applied to an electronic device, and the electronic device may be a mobile terminal such as a smart phone, a tablet computer, and a notebook computer. As shown in Figure 2, the process can be as follows:
101、获取历史时间段内每一采样时间点样本应用程序的使用信息。101. Acquire usage information of the sample application at each sampling time point in the historical time period.
本实施例所提及的应用程序,可以是电子设备上安装的任何一个应用程序,例如办公应用、社交应用、游戏应用、购物应用等。The application program mentioned in this embodiment may be any application program installed on the electronic device, such as an office application, a social application, a game application, a shopping application, and the like.
其中,样本应用程序可为电子设备中多个或所有已安装的应用程序。应用程序的使用信息可以为应用程序的使用记录,如各应用程序的开启时间记录。采样时间点则可根据实际需求进行设定,若想得到精确度较高的结果,则可将采集时间点设置地密集一些,如每隔1min为一采样时间点;若想节省电子设备的资源而对结果的精确度不做要求,则可将采样时间点设置地松散一些,如每隔10min为一采样时间点。The sample application programs may be multiple or all installed application programs in the electronic device. The usage information of the application may be a usage record of the application, such as a record of the opening time of each application. The sampling time point can be set according to the actual needs. If you want to get higher accuracy results, you can set the sampling time point more densely, for example, every 1min is a sampling time point; if you want to save the resources of electronic equipment, If the accuracy of the result is not required, the sampling time point can be set loosely, for example, every 10min is a sampling time point.
在一些实施例中,自应用程序安装,则可记录每一已安装应用程序的使用信息,转换成相应的数据存储到预设的存储区域中。当需要使用某一或某些应用程序的使用信息时,则可以从该存储区域中调取与该某一或某些应用程序对应的数据,对获取的数据进行解析得到相应的信息,以作为该某一或某些应用程序的使用信息,而该某一或某些应用程序则作为样本应用程序,从获取的使用信息中选取出所需时间段内的使用信息即可。In some embodiments, since the application is installed, the usage information of each installed application may be recorded, converted into corresponding data, and stored in a preset storage area. When the usage information of one or some applications needs to be used, the data corresponding to the one or some applications can be retrieved from the storage area, and the acquired data can be parsed to obtain the corresponding information, which can be used as The usage information of the one or some application programs, and the one or some application programs are used as a sample application program, and the usage information in the required time period can be selected from the acquired usage information.
在一些实施例中,为减少电子设备的功耗,节省电子设备的终端资源,可直接设定所需记录的时间段,然后在该时间段内对每一采样时间点样本应用程序的使用信息进行记录即可,以便后续使用。In some embodiments, in order to reduce the power consumption of the electronic device and save the terminal resources of the electronic device, the required recording time period can be directly set, and then the usage information of the application program can be sampled at each sampling time point during the time period. Just record it for later use.
102、根据采样时间点和使用信息生成训练样本。102. Generate a training sample according to the sampling time point and the usage information.
具体地,可对所获取到的样本应用程序的使用信息进行预处理,计算出每一样本应用程序在不同采样时间点的使用概率,进一步得到每一样本应用程序的使用随时间变化的概率分布,将采样时间点与使用概率一一对应生成训练样本。Specifically, the obtained usage information of the sample applications can be preprocessed, the usage probability of each sample application at different sampling time points can be calculated, and the probability distribution of the usage of each sample application over time can be obtained. , and generate training samples by one-to-one correspondence between sampling time points and usage probabilities.
103、根据训练样本对预设的混合高斯模型进行训练。103. Train a preset Gaussian mixture model according to the training sample.
具体地,将上述生成的训练样本输入至预设的混合高斯模型中,根据所输入的训练样本不断地修正预设的混合高斯模型中的相关参数,以使得训练后的混合高斯模型可适用于所有训练样本,最后对每一个样本应用程序都训练出一个混合高斯模型。其中,每一混合高斯模型由多个子高斯模型构成。Specifically, the above-generated training samples are input into the preset Gaussian mixture model, and the relevant parameters in the preset Gaussian mixture model are continuously modified according to the input training samples, so that the trained Gaussian mixture model can be applied to All training samples, and finally a Gaussian mixture model is trained for each sample application. Wherein, each Gaussian mixture model consists of multiple sub-Gaussian models.
104、基于训练后的混合高斯模型和预设的贝叶斯模型,对电子设备中的后台应用程序进行处理。104. Based on the trained mixture Gaussian model and the preset Bayesian model, process the background application in the electronic device.
在本申请实施例中,若样本应用程序的个数有N个,则相应的有N个训练后的混合高斯模型。获取每一后台应用的身份信息(如应用名称、应用标识等等),并根据后台应用程序的身份信息,从N个训练后的混合高斯模型中选取目标混合高斯模型(即针对该后台应用程序训练出的混合高斯模型),并基于该目标混合高斯模型对该后台应用程序进行处理。In the embodiment of the present application, if there are N number of sample application programs, there are correspondingly N trained mixture Gaussian models. Obtain the identity information of each background application (such as application name, application identification, etc.), and select the target mixture Gaussian model from the N trained mixture Gaussian models (that is, for the background application according to the identity information of the background application). trained mixture Gaussian model), and process the background application based on the target mixture Gaussian model.
在一些实施例中,可基于不同后台应用程序各自所对应训练后的混合高斯模型,结合当前的时间,对各后台应用程序在该时间下的使用概率进行计算。根据所计算到的各个应用程序各自对应的使用概率,对使用概率满足一定条件的后台应用程序进行清理或关闭等操作,以减少应用程序对电子设备资源的占用。In some embodiments, the usage probability of each background application at this time may be calculated based on the respective trained mixture Gaussian models corresponding to different background applications and in combination with the current time. According to the calculated usage probability corresponding to each application program, the background application program whose usage probability satisfies a certain condition is cleaned or closed, so as to reduce the occupation of electronic device resources by the application program.
由上可知,本申请是实施例提供的应用程序的处理方法,通过获取历史时间段内每一采样时间点样本应用程序的使用信息,根据采样时间点和使用信息生成训练样本,再根据训练样本对预设的混合高斯模型进行训练,基于训练后的混合高斯模型和预设的贝叶斯模型,对电子设备中的后台应用程序进行处理。该方案可降低电子设备终资源的占用,提升了电子设备的运行流畅度,减少了电子设备的功耗。As can be seen from the above, the present application is a processing method of the application program provided by the embodiment. By obtaining the usage information of the sample application program at each sampling time point in the historical time period, a training sample is generated according to the sampling time point and the usage information, and then according to the training sample. The preset mixture Gaussian model is trained, and the background application in the electronic device is processed based on the trained mixture Gaussian model and the preset Bayesian model. The solution can reduce the occupation of final resources of the electronic device, improve the running smoothness of the electronic device, and reduce the power consumption of the electronic device.
在一实施例中,还提供另一种应用程序的处理方法,应用于电子设备,该电子设备可以为智能手机、平板电脑、笔记本电脑等移动终端。如图3所示,流程可以如下:In an embodiment, another method for processing an application program is also provided, which is applied to an electronic device, and the electronic device may be a mobile terminal such as a smart phone, a tablet computer, and a notebook computer. As shown in Figure 3, the process can be as follows:
201、获取历史时间段内每一采样时间点样本应用程序的使用信息。201. Acquire usage information of the sample application at each sampling time point in the historical time period.
样本应用程序可为电子设备中多个或所有已安装的应用程序。采样时间点可根据实际需求进行设定,若想得到精确度较高的结果,可将采集时间点设置地密集一些,如每隔1min为一采样时间点;若想节省电子设备的资源而对结果的精确度不做要求,则可将采样时间点设置地松散一些,如每隔10min为一采样时间点。应用程序的使用信息可为应用程序在使用过程中的相关信息。The sample applications may be multiple or all of the installed applications in the electronic device. The sampling time point can be set according to the actual needs. If you want to get higher accuracy results, you can set the sampling time point more densely, for example, every 1min is a sampling time point; if you want to save the resources of electronic equipment, you can There is no requirement for the accuracy of the sampling time point, and the sampling time point can be set loosely, for example, every 10min is a sampling time point. The usage information of the application can be related information during the use of the application.
比如,历史时段可以是过去一个月,每一时间点可以为当前时间的时间戳。使用参数可以是从数据库中提取出来的,该数据库内可以存储有过去一个月电子设备中应用程序的打开记录,如下表1所示:For example, the historical period can be the past month, and each time point can be the timestamp of the current time. The usage parameters can be extracted from the database, which can store the opening records of the applications in the electronic device in the past month, as shown in Table 1 below:
表1Table 1
之后,将这些应用程序的打开记录,作为各样本应用程序在每一采样时间点的使用信息。Afterwards, the opening records of these applications are used as the usage information of each sample application at each sampling time point.
202、确定每一采样时间点对应的时间周期和采样时段,其中,每一时间周期内采样时间点与采样时段一一对应。202. Determine a time period and a sampling period corresponding to each sampling time point, wherein the sampling time points in each time period are in one-to-one correspondence with the sampling period.
在一些实施例中,历史时间段包括多个时间周期,如历史时间段为过去一个月,则时间周期则可以为过去一个月中的每一天。每一时间周期可划分为多个采样时段,如一天中的每一分钟。具体地,可基于采样时间点对应的时间戳,确定其所属的时间周期以及具体的采样时段,如可为xx月xx日xx分。以9月9日481分为例,9月为历史时间段,9日为时间周期,481分为采样时段。In some embodiments, the historical time period includes multiple time periods. If the historical time period is the past month, the time period may be every day of the past month. Each time period can be divided into multiple sampling periods, such as every minute of the day. Specifically, the time period to which it belongs and the specific sampling period may be determined based on the timestamp corresponding to the sampling time point, for example, it may be xx month xx day xx minutes. Taking September 9th as an example of 481 points, September is the historical time period, 9th is the time period, and 481 points are the sampling period.
其中,样本的采集是可在智能手机、平板电脑等终端设备上完成,每隔1分钟获取当前终端设备上正在使用的应用程序信息,并且存储到该终端设备的数据库里,那么对于一个用户一个月的使用记录,可提取上万条使用信息样本。Among them, the collection of samples can be completed on terminal devices such as smart phones and tablet computers, and the application information currently being used on the terminal device is obtained every 1 minute and stored in the database of the terminal device. Monthly usage records, tens of thousands of usage information samples can be extracted.
203、将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率。203. Process the usage information corresponding to the same sampling period in different time periods to obtain the sample usage probability corresponding to each sampling period of the sample application.
在一些实施例中,步骤“将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率”可以包括以下流程:In some embodiments, the step of "processing the usage information corresponding to the same sampling period in different time periods to obtain the sample usage probability corresponding to the sample application in each sampling period" may include the following process:
判断使用信息是否满足预设条件;Determine whether the usage information satisfies the preset conditions;
确定每一样本应用在相同采样时段中对应的使用信息满足预设条件的采样时间点数量;Determine the number of sampling time points at which the corresponding usage information of each sample application in the same sampling period satisfies the preset condition;
获取每一样本应用在多个时间周期内使用信息满足预设条件的采样时间点总数量;Obtain the total number of sampling time points where the usage information of each sample application meets the preset conditions in multiple time periods;
根据采样时间点数量和采样时间点总数量,计算每一样本应用程序在每一采样时段对应的样本使用概率。According to the number of sampling time points and the total number of sampling time points, calculate the sample usage probability corresponding to each sample application in each sampling period.
具体地,可根据上述采集到的用户使用应用程序记录,统计出用户最常用的N个样本应用程序,其中N是可配置的。为了合理调配电子设备资源,减少运算量,通常N=5。Specifically, N sample application programs most commonly used by the user may be counted according to the collected application program records of the user, where N is configurable. In order to reasonably allocate the resources of the electronic equipment and reduce the amount of computation, usually N=5.
在一些实施例中,使用信息可为样本应用程序的运行状态信息;则步骤“判断使用信息是否满足预设条件”可以包括以下流程:In some embodiments, the usage information may be the running status information of the sample application; then the step "judging whether the usage information satisfies the preset condition" may include the following process:
判断运行状态是否为前台运行;Determine whether the running status is foreground running;
若是,则判定使用信息满足预设条件;If so, it is determined that the usage information satisfies the preset condition;
若否,则判定使用信息不满足预设条件。If not, it is determined that the usage information does not meet the preset condition.
其中,运行状态为在前台运行,即意味着当前用户正在使用该样本应用程序。那么对于这N个样本应用程序,分别统计每个样本应用程序在过去一个月内每一天中相同时间段(如一天可包括1440分钟,则9月1日的第481分钟和9月31日的第481分钟为相同时间段;9月1日的第1440分钟和9月31日的第1440分钟为相同时间段)中在前台运行的采样时间点数量,记为X=[x1,x2,x3…xi…,xn],其中xi表示9月份每天的第i分钟时间该应用程序的使用次数。Among them, the running state is running in the foreground, which means that the current user is using the sample application. Then for these N sample applications, count the same time period in each day of each sample application in the past month (for example, a day can include 1440 minutes, then the 481st minute on September 1 and the 481st minute on September 31) The 481st minute is the same time period; the 1440th minute on September 1st and the 1440th minute on September 31st are the same time period) the number of sampling time points running in the foreground, denoted as X=[x 1 , x 2 , x 3 ... x i ..., x n ], where x i represents the number of times the application is used at the i-th minute of each day in September.
比如,以9月1日~9月30日这30天作为历史时间段为例,若在这30内,其中有25天用户在早上8点01分至8点10分使用了微信,而其它时间不用微信。那么统计方式是:把8点01分换算成时间段为第481分(8*60+1=481),把8点10分换算成时间段为第490分(8*60+10=490)。那么该用户的微信使用信息统计结果可如下表2所示:For example, taking the 30 days from September 1st to September 30th as an example of a historical time period, if within these 30 days, users used WeChat from 8:01 am to 8:10 am on 25 days, while other Time does not need WeChat. Then the statistical method is: convert 8:01 into a time slot as the 481st minute (8*60+1=481), and convert 8:10 into a time slot as the 490th minute (8*60+10=490) . Then the statistical results of the user's WeChat usage information can be shown in Table 2 below:
表2Table 2
在本申请实施例中,可将每一样本应用程序在每一采样时段对应的样本使用概率的概率定义为Pi,则概率Pi的具体的算法可参考以下公式:In the embodiment of the present application, the probability of the sample usage probability corresponding to each sample application in each sampling period can be defined as P i , and the specific algorithm of the probability P i can refer to the following formula:
其中,xj与xi示定义相同,都表示在一天中的第i或j分钟时间应用程序的使用次数。n为大于1的正整数。基于上述数据以及概率算法,可得到每一样本应用程序在每一采样时段对应的样本使用概率的概率分布,可如下表3所示:Among them, x j and x i have the same definitions, and both represent the number of times the application is used at the ith or jth minute in a day. n is a positive integer greater than 1. Based on the above data and probability algorithm, the probability distribution of the sample usage probability corresponding to each sample application in each sampling period can be obtained, as shown in Table 3 below:
表3table 3
204、基于采样时段以及对应的样本使用概率生成训练样本。204. Generate a training sample based on the sampling period and the corresponding sample usage probability.
具体地,根据上述表2中每一样本应用程序的样本使用概率随时间变化的概率分布,将采样时间点与样本使用概率一一对应生成训练样本。Specifically, according to the probability distribution of the sample usage probability of each sample application program in Table 2 above, the training samples are generated by one-to-one correspondence between the sampling time point and the sample usage probability.
在一些实施方式中,若将采样时段记为t,则采样时段包括[t1,t2…tm],将样本使用概率记为P,样本使用概率包括[P1,P2…Pm]。则具体可将生成的训练样本记为(tm,Pm),如第481分钟对应的训练样本为(481,0.1)。In some embodiments, if the sampling period is denoted as t, the sampling period includes [t 1 , t 2 ···t m ], the sample usage probability is denoted as P, and the sample usage probability includes [P 1 , P 2 ···P m ] ]. Specifically, the generated training sample may be recorded as (t m , P m ), for example, the training sample corresponding to the 481st minute is (481, 0.1).
205、将训练样本输入至第一预设公式中,以对第一预设公式进行训练,得到多个训练后的子高斯模型。205. Input the training samples into the first preset formula to train the first preset formula to obtain a plurality of trained sub-Gaussian models.
在本申请实施例中第一预设公式的实质为的混合高斯模型的概率谱密度函数,具体如下所示:In the embodiment of the present application, the essence of the first preset formula is the probability spectral density function of the Gaussian mixture model, specifically as follows:
其中,Ai表示样本应用程序i,t表示采样时段,k表示子高斯模型数量,μk表示数学期望,σk表示方差,ωk表示权值,N(t|μk,σk)表示随机变量t服从一个数学期望为μk、方差为σk的正态分布,P(t|Ai)则可表示样本应用程序i的运行状态为前台运行时采样时段为t的概率。where A i represents the sample application i, t represents the sampling period, k represents the number of sub-Gaussian models, μ k represents the mathematical expectation, σ k represents the variance, ω k represents the weight, and N(t|μ k ,σ k ) represents the The random variable t obeys a normal distribution with a mathematical expectation of μ k and a variance of σ k , and P(t|A i ) can represent the probability that the sample application i is running in the foreground when the sampling period is t.
是高斯分布概率模型。 is a Gaussian distribution probability model.
参考图4,可作为所构建的一个初始化的高斯模型。然后,基于所输入的采样时段t、样本使用概率P,对第一预设公式进行训练,得到多个训练后的子高斯模型。参考图5,首先对采集到的数据进行预处理,得到各应用程序被使用的概率分布,然后将该概率分布作为输入,对预设的混合高斯模型进行训练,最终得到合适的混合高斯模型。Referring to Figure 4, an initialized Gaussian model can be constructed. Then, based on the input sampling period t and the sample usage probability P, the first preset formula is trained to obtain a plurality of trained sub-Gaussian models. Referring to Figure 5, the collected data is first preprocessed to obtain the probability distribution used by each application, and then the probability distribution is used as input to train the preset Gaussian mixture model, and finally a suitable Gaussian mixture model is obtained.
比如,可在读取第1分钟对应的训练样本时进行混合高斯模型建模;接着读取第2分钟对应的训练样本,更新高斯模型参数;再读取第3分钟对应的训练样本,继续更新混合高斯模型参数……以此类推,直到所有训练样本都被读取后,更新高斯模型参数得到最终训练后的混合高斯模型。For example, the Gaussian mixture model can be modeled when the training samples corresponding to the first minute are read; then the training samples corresponding to the second minute are read to update the parameters of the Gaussian model; the training samples corresponding to the third minute are read again, and the update is continued. Mixture Gaussian model parameters... and so on, until all training samples have been read, update the Gaussian model parameters to obtain the final trained Gaussian mixture model.
混合高斯模型一般使用3~5个子高斯模型构成。建模过程中,需要对混合高斯模型中的方差σk、数学期望μk、权值ωk等一些参数初始化,并通过这些参数求出建模所需的数据。在初始化过程中,可将方差设置的尽量大些,而权值(即ωk)则尽量小些(如0.001)。这样设置是由于初始化的高斯模型是一个并不准确的模型,需要不停地缩小他的范围,更新他的参数值,从而得到最可能的高斯模型。将方差设置大些,就是为了将尽可能多的像素包含到一个模型里面,找出参数k、对应的所有的权值ωk,以及所有子高斯模型中各自对应的参数μk和σk。The mixture Gaussian model is generally composed of 3 to 5 sub-Gaussian models. In the modeling process, it is necessary to initialize some parameters such as variance σ k , mathematical expectation μ k , and weight ω k in the Gaussian mixture model, and obtain the data required for modeling through these parameters. In the initialization process, the variance can be set as large as possible, and the weight (ie, ω k ) can be set as small as possible (eg, 0.001). This setting is because the initialized Gaussian model is an inaccurate model, and it is necessary to continuously narrow its range and update its parameter values to obtain the most probable Gaussian model. Setting the variance larger is to include as many pixels as possible into a model, to find the parameter k, all the corresponding weights ω k , and the corresponding parameters μ k and σ k in all sub-Gaussian models.
在一些实施方式中,可采用最大似然估计法来确定ωk、μk和σk等这些模型参数。其中,混合高斯模型的似然函数为:In some embodiments, the maximum likelihood estimation method can be used to determine these model parameters ω k , μ k and σ k . Among them, the likelihood function of the mixture Gaussian model is:
采用期望最大化(EM)算法,使(μk,σk)的似然函数极大化。则极大值对应的ωk、μk和σk就是我们的估计。最终得到[(ω1,μ1,σ1),(ω1,μ1,σ1),…(ωk,μk,σk)]。The expectation maximization (EM) algorithm is used to maximize the likelihood function of (μ k ,σ k ). Then ω k , μ k and σ k corresponding to the maximum value are our estimates. Finally [(ω 1 , μ 1 ,σ 1 ), (ω 1 , μ 1 ,σ 1 ),…(ω k , μ k ,σ k )].
206、将多个训练后的子高斯模型叠加,以得到训练后的混合高斯模型。206. Superimpose multiple trained sub-Gaussian models to obtain a trained mixture Gaussian model.
具体地,按所估计出的权值ωk对每一子高斯模型加权处理后,将加权后的k个子高斯模型叠加处理,以得到训练后的混合高斯模型。参考图6,所得到的混合高斯模型由4个子高斯模型构成。Specifically, after each sub-Gaussian model is weighted according to the estimated weight ω k , the weighted k sub-Gaussian models are superimposed to obtain a trained mixture Gaussian model. Referring to Fig. 6, the resulting mixture Gaussian model consists of 4 sub-Gaussian models.
假设用户有N个样本应用程序,则有N个混合高斯模型,即[P(t|A1),P(t|A2),…P(t|AN)]。Assuming that the user has N sample applications, there are N mixture Gaussian models, ie [P(t|A 1 ), P(t|A 2 ), ... P(t|A N )].
207、确定电子设备中的后台应用程序。207. Determine a background application in the electronic device.
在一些实施例中,可在电子设备的中央处理器(CPU,central processing unit)占用较大、运行内存资源占用较大和/或电子设备剩余电量不足时,可以触发应用程序处理指令。电子设备获取该应用程序处理指令,然后,根据该应用程序处理指令确定处于后台运行的后台应用程序,以便后续对后台应用程序进行处理。In some embodiments, when a central processing unit (CPU, central processing unit) of the electronic device occupies a large amount, a running memory resource occupies a large amount, and/or the remaining power of the electronic device is insufficient, the application processing instruction may be triggered. The electronic device acquires the application processing instruction, and then determines a background application running in the background according to the application processing instruction, so as to process the background application subsequently.
208、基于每一应用程序所对应训练后的混合高斯模型,利用第二预设公式计算每一后台应用程序在目标时间的使用概率。208. Based on the trained mixture Gaussian model corresponding to each application, use a second preset formula to calculate the usage probability of each background application at the target time.
在本申请实施例中,每一应用程序对应有唯一训练后的混合高斯模型。基于训练后的混合高斯模型,可以精确地估计出应用程序在不同时间对应的使用概率。本申请实施例中,预设的贝叶斯模型的表达式即为第二预设公式,该第二预设公式如下:In the embodiment of the present application, each application program corresponds to a unique trained Gaussian mixture model. Based on the trained Gaussian mixture model, the corresponding usage probability of the application at different times can be accurately estimated. In the embodiment of the present application, the expression of the preset Bayesian model is the second preset formula, and the second preset formula is as follows:
其中,T表示时间,N表示训练后的混合高斯模型的数量,P(Ai|T)表示采样时段为T时前台运行的应用程序为应用程序i的概率,P(T|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为T的概率,P(T|Aj)表示应用程序j的运行状态为前台运行时采样时段为T的概率,P(Ai)表示应用程序i在历史时间段内的应用使用概率,P(Aj)表示应用程序j的在历史时间段内的应用使用概率。Among them, T represents time, N represents the number of Gaussian mixture models after training, P(A i |T) represents the probability that the application running in the foreground is application i when the sampling period is T, and P(T|A i ) represents The running state of the sample application i is the probability that the sampling period is T when the running state is in the foreground, P(T|A j ) represents the probability that the running state of the application j is the sampling period T when the running state is the foreground running, and P(A i ) represents the application The application usage probability of the program i in the historical time period, P(A j ) represents the application usage probability of the application program j in the historical time period.
具体地,首先基于训练后的混合高斯模型,估计出不同应用程序各自在目标时间下对应的初始使用概率(即P(T|Ai))。接着后,计算出目标后台应用程序i在历史时间段内的应用使用概率(即P(Ai))。其中,P(Ai)可由数据预处理时期,可由应用程序i在历史时间段内的使用次数、与所有样本应用程序在历史时间段内的使用次数总和的比值得到,即P(Ai)的计算公式如下:Specifically, first, based on the trained Gaussian mixture model, the initial usage probability (ie, P(T|A i )) corresponding to each application program at the target time is estimated. Next, the application usage probability (ie, P(A i )) of the target background application i in the historical time period is calculated. Among them, P(A i ) can be obtained from the data preprocessing period, which can be obtained by the ratio of the usage times of application i in the historical time period to the sum of the usage times of all sample applications in the historical time period, namely P(A i ) The calculation formula is as follows:
其中,S(Ai)为应用程序i在历史时间段内的总使用次数,S为所有样本应用程序在历史时间段内的使用次数总和。Among them, S(A i ) is the total usage times of application i in the historical time period, and S is the sum of the usage times of all sample applications in the historical time period.
同样地,按照目标后台应用程序i对应的初始使用概率的算法,利用各应用程序各自对应的混合高斯模型,计算出各应用程序的初始使用概率;利用P(Ai)的计算公式,计算出各样本应用程序在历史时间段内的应用使用概率。Similarly, according to the algorithm of the initial use probability corresponding to the target background application i, using the Gaussian mixture model corresponding to each application, calculate the initial use probability of each application; using the calculation formula of P(A i ), calculate Probability of application usage for each sample application over a historical time period.
最后,将以上所得到的各项数据代入第二预设公式(即预设的贝叶斯模型),利用第二预设公式计算出目标后台应用程序在目标时间下对应的使用概率,以提升使用概率的精确度。Finally, the data obtained above are substituted into the second preset formula (that is, the preset Bayesian model), and the second preset formula is used to calculate the corresponding usage probability of the target background application under the target time, so as to improve the Use the precision of probabilities.
209、根据使用概率对后台应用程序进行处理。209. Process the background application according to the usage probability.
在一些实施例中,可可通过设定概率阈值来作为对应用进行处理的基准。也即,步骤“根据使用概率对后台应用程序进行处理”可以包括以下流程:In some embodiments, a probability threshold may be set as a benchmark for processing an application. That is, the step "processing the background application according to the usage probability" may include the following flow:
从当前后台应用程序中确定使用概率小于预设阈值的目标后台应用程序;Determine the target background application whose usage probability is less than the preset threshold from the current background applications;
关闭目标后台应用程序。Close the target background application.
其中,该预设阈值可以由本领域技术人员或产品生产厂商进行设定。比如,设定预设阈值为0.5,那么若在未来一时段T打开后台应用程序Ai的概率P(T|Ai)小于0.5,则清理该后台应用程序Ai,若不小于0.5,则保持该后台应用程序Ai继续在后台运行。Wherein, the preset threshold can be set by those skilled in the art or product manufacturers. For example, if the preset threshold is set to 0.5, then if the probability P(T|A i ) of opening the background application A i in the future period T is less than 0.5, the background application A i will be cleaned up, if not less than 0.5, then Keep the background application A i running in the background.
由上可知,本申请实施例提供的应用程序的处理方法,通过获取历史时间段内每一采样时间点样本应用程序的使用信息,然后确定每一采样时间点对应的时间周期和采样时段,再将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率。基于采样时段以及对应的样本使用概率生成训练样本,并输入到预设的混合高斯模型中进行模型训练,得到有多个训练后的子高斯模型组成的新的混合高斯模型。最后,利用新的混合高斯模型和预设的贝叶斯模型估计每个后台应用在目标时间下的使用概率,并根据得到的概率对相应的后台应用程序进行处理。该方案可降低电子设备终资源的占用,提升了电子设备的运行流畅度,减少了电子设备的功耗。As can be seen from the above, the application processing method provided by the embodiment of the present application obtains the usage information of the sample application program at each sampling time point in the historical time period, and then determines the time period and sampling period corresponding to each sampling time point, and then determines the time period and sampling period corresponding to each sampling time point. The usage information corresponding to the same sampling period in different time periods is processed to obtain the sample usage probability corresponding to each sampling period of the sample application. A training sample is generated based on the sampling period and the corresponding sample usage probability, and is input into the preset Gaussian mixture model for model training, and a new Gaussian mixture model composed of multiple trained sub-Gaussian models is obtained. Finally, the new Gaussian mixture model and the preset Bayesian model are used to estimate the usage probability of each background application at the target time, and the corresponding background application is processed according to the obtained probability. The solution can reduce the occupation of final resources of the electronic device, improve the running smoothness of the electronic device, and reduce the power consumption of the electronic device.
在本申请又一实施例中,还提供一种应用程序的处理装置,该应用程序的处理装置可以软件或硬件的形式集成在电子设备中,该电子设备具体可以包括手机、平板电脑、笔记本电脑等设备。如图7所示,该应用程序的处理装置30可以包括获取模块31、生成模块32、训练模块33以及处理模块34,其中:In yet another embodiment of the present application, a processing device for an application program is also provided. The processing device for an application program can be integrated into an electronic device in the form of software or hardware, and the electronic device can specifically include a mobile phone, a tablet computer, a notebook computer and other equipment. As shown in FIG. 7 , the processing device 30 of the application may include an acquisition module 31, a generation module 32, a training module 33 and a processing module 34, wherein:
获取模块31,用于获取历史时间段内每一采样时间点样本应用程序的使用信息;The acquisition module 31 is used to acquire the usage information of the sample application program at each sampling time point in the historical time period;
生成模块32,用于根据采样时间点和使用信息生成训练样本;A generation module 32 is used to generate training samples according to the sampling time point and the usage information;
训练模块33,用于根据训练样本对预设的混合高斯模型进行训练;The training module 33 is used for training the preset Gaussian mixture model according to the training samples;
处理模块34,用于基于训练后的混合高斯模型和预设的贝叶斯模型,对电子设备中的后台应用程序进行处理。The processing module 34 is configured to process the background application in the electronic device based on the trained Gaussian mixture model and the preset Bayesian model.
在一些实施例中,历史时间段包括多个时间周期,每一时间周期划分为多个采样时段。参考图8,生成模块32可以包括:In some embodiments, the historical time period includes a plurality of time periods, and each time period is divided into a plurality of sampling periods. 8, the generation module 32 may include:
第一确定子模321,用于确定每一采样时间点对应的时间周期和采样时段,其中,每一时间周期内采样时间点与采样时段一一对应;The first determination sub-module 321 is used to determine the time period and the sampling period corresponding to each sampling time point, wherein the sampling time points in each time period correspond to the sampling period one-to-one;
信息处理子模块322,用于将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率;The information processing sub-module 322 is used to process the usage information corresponding to the same sampling period in different time periods to obtain the sample usage probability corresponding to each sampling period of the sample application;
生成子模块323,用于基于采样时段以及对应的样本使用概率生成训练样本。The generating sub-module 323 is configured to generate training samples based on the sampling period and the corresponding sample usage probability.
在一些实施例中,处理子模块322可以包括:In some embodiments, the processing sub-module 322 may include:
判断单元,用于判断使用信息是否满足预设条件;a judging unit for judging whether the usage information satisfies a preset condition;
第一确定单元,用于确定每一样本应用在相同采样时段中对应的使用信息满足预设条件的采样时间点数量;a first determining unit, configured to determine the number of sampling time points at which the usage information corresponding to each sample application in the same sampling period satisfies a preset condition;
获取单元,用于获取每一样本应用在多个时间周期内使用信息满足预设条件的采样时间点总数量;an acquisition unit, configured to acquire the total number of sampling time points where the usage information of each sample application satisfies a preset condition in multiple time periods;
计算单元,用于根据采样时间点数量和采样时间点总数量,计算每一样本应用程序在每一采样时段对应的样本使用概率。The calculation unit is configured to calculate the sample usage probability corresponding to each sample application program in each sampling period according to the number of sampling time points and the total number of sampling time points.
在一些实施例中,使用信息为样本应用程序的运行状态信息;判断单元可以用于:In some embodiments, the usage information is the running state information of the sample application; the judgment unit can be used to:
判断运行状态是否为前台运行;Determine whether the running status is foreground running;
若是,则判定使用信息满足预设条件;If so, it is determined that the usage information satisfies the preset condition;
若否,则判定使用信息不满足预设条件If not, it is determined that the usage information does not meet the preset conditions
在一些实施例中,采样时段包括[t1,t2…tm],样本使用概率包括[P1,P2…Pm];参考图9,训练模块33可以包括:In some embodiments, the sampling period includes [t 1 , t 2 . . . t m ], and the sample usage probability includes [P 1 , P 2 . . . P m ]; with reference to FIG. 9 , the training module 33 may include:
输入子模块331,用于将采样时段及对应的样本使用概率输入至第一预设公式中,第一预设公式为:The input sub-module 331 is used to input the sampling period and the corresponding sample usage probability into the first preset formula, and the first preset formula is:
其中,Ai表示样本应用程序i,t表示采样时段,k表示子高斯模型数量,μk表示数学期望,σk表示方差,ωk表示权值,N(t|μk,σk)表示随机变量t服从一个数学期望为μk、方差为σk的正态分布,P(t|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为t的概率;where A i represents the sample application i, t represents the sampling period, k represents the number of sub-Gaussian models, μ k represents the mathematical expectation, σ k represents the variance, ω k represents the weight, and N(t|μ k ,σ k ) represents the The random variable t obeys a normal distribution with a mathematical expectation of μ k and a variance of σ k , and P(t|A i ) represents the probability that the sampling period is t when the running state of the sample application i is foreground running;
训练子模块332,用于基于所输入的采样时段t、样本使用概率P,对第一预设公式进行训练,得到多个训练后的子高斯模型;The training sub-module 332 is used for training the first preset formula based on the input sampling period t and the sample usage probability P to obtain a plurality of trained sub-Gaussian models;
叠加子模块333,用于将多个训练后的子高斯模型叠加,以得到训练后的混合高斯模型。The stacking sub-module 333 is used for stacking multiple trained sub-Gaussian models to obtain a trained mixture Gaussian model.
在一些实施例中,每一应用程序对应有唯一训练后的混合高斯模型;参考图10,处理模块34可以包括:In some embodiments, each application corresponds to a unique trained Gaussian mixture model; with reference to FIG. 10 , the processing module 34 may include:
获取子模块341,用于获取应用程序处理指令;Obtaining sub-module 341 for obtaining application processing instructions;
第二确定子模块342,用于根据应用程序处理指令确定电子设备中的后台应用程序;The second determination submodule 342 is configured to determine the background application in the electronic device according to the application processing instruction;
计算子模块343,用于基于每一应用程序所对应训练后的混合高斯模型,利用第二预设公式计算每一后台应用程序在目标时间的使用概率,第二预设公式为:The calculation sub-module 343 is used to calculate the use probability of each background application at the target time based on the Gaussian mixture model after training corresponding to each application program, and the second preset formula is:
其中,T表示时间,N表示训练后的混合高斯模型的数量,P(Ai|T)表示采样时段为T时前台运行的应用程序为应用程序i的概率,P(T|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为T的概率,P(T|Aj)表示应用程序j的运行状态为前台运行时采样时段为T的概率,P(Ai)表示应用程序i在历史时间段内的应用使用概率,P(Aj)表示应用程序j的在历史时间段内的应用使用概率;Among them, T represents time, N represents the number of Gaussian mixture models after training, P(A i |T) represents the probability that the application running in the foreground is application i when the sampling period is T, and P(T|A i ) represents The running state of the sample application i is the probability that the sampling period is T when the running state is in the foreground, P(T|A j ) represents the probability that the running state of the application j is the sampling period T when the running state is the foreground running, and P(A i ) represents the application The application usage probability of program i in the historical time period, P(A j ) represents the application usage probability of application program j in the historical time period;
应用处理子模块344,用于根据使用概率对后台应用程序进行处理。The application processing sub-module 344 is used to process the background application according to the usage probability.
在一些实施例中,应用处理子模块344可以包括:In some embodiments, the application processing sub-module 344 may include:
第二确定单元,用于从当前后台应用程序中确定使用概率小于预设阈值的目标后台应用程序;a second determining unit, configured to determine, from the current background application, a target background application whose usage probability is less than a preset threshold;
关闭单元,用于关闭目标后台应用程序。Shutdown unit, used to close the target background application.
由上可知,本申请实施例提供的应用程序的处理装置,通过获取历史时间段内每一采样时间点样本应用程序的使用信息,根据采样时间点和使用信息生成训练样本,再根据训练样本对预设的混合高斯模型进行训练,基于训练后的混合高斯模型和预设的贝叶斯模型,对电子设备中的后台应用程序进行处理。该方案可降低电子设备终资源的占用,提升了电子设备的运行流畅度,减少了电子设备的功耗。As can be seen from the above, the application processing device provided by the embodiment of the present application generates training samples according to the sampling time point and the use information by acquiring the usage information of the sample application program at each sampling time point in the historical time period, and then performs the training samples according to the training samples. The preset mixture Gaussian model is trained, and the background application in the electronic device is processed based on the trained mixture Gaussian model and the preset Bayesian model. The solution can reduce the occupation of final resources of the electronic device, improve the running smoothness of the electronic device, and reduce the power consumption of the electronic device.
在本申请又一实施例中还提供一种电子设备,该电子设备可以是智能手机、平板电脑等设备。如图11所示,电子设备400包括处理器401及存储器402。其中,处理器401与存储器402电性连接。Another embodiment of the present application further provides an electronic device, where the electronic device may be a smartphone, a tablet computer, or the like. As shown in FIG. 11 , the electronic device 400 includes a processor 401 and a memory 402 . The processor 401 is electrically connected to the memory 402 .
处理器401是电子设备400的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器402内的应用,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The processor 401 is the control center of the electronic device 400, uses various interfaces and lines to connect various parts of the entire electronic device, executes the electronic device by running or loading the application stored in the memory 402, and calling the data stored in the memory 402. The various functions and processing data of the device are used to monitor the electronic equipment as a whole.
在本实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上的应用的进程对应的指令加载到存储器402中,并由处理器401来运行存储在存储器402中的应用,从而实现各种功能:In this embodiment, the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more applications into the memory 402 according to the following steps, and is executed by the processor 401 and stored in the memory 402 application to achieve various functions:
获取历史时间段内每一采样时间点样本应用程序的使用信息;Obtain the usage information of the sample application at each sampling time point in the historical time period;
根据采样时间点和使用信息生成训练样本;Generate training samples based on sampling time points and usage information;
根据训练样本对预设的混合高斯模型进行训练;Train the preset Gaussian mixture model according to the training samples;
基于训练后的混合高斯模型和预设的贝叶斯模型,对电子设备中的后台应用程序进行处理。Based on the trained mixture Gaussian model and the preset Bayesian model, the background application in the electronic device is processed.
在一些实施例中,历史时间段包括多个时间周期,每一时间周期划分为多个采样时段;处理器401进一步用于执行以下步骤:In some embodiments, the historical time period includes multiple time periods, and each time period is divided into multiple sampling periods; the processor 401 is further configured to perform the following steps:
确定每一采样时间点对应的时间周期和采样时段,其中,每一时间周期内采样时间点与采样时段一一对应;Determine the time period and the sampling period corresponding to each sampling time point, wherein the sampling time point in each time period corresponds to the sampling period one-to-one;
将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率;Process the usage information corresponding to the same sampling period in different time periods to obtain the sample usage probability corresponding to each sampling period of the sample application;
基于采样时段以及对应的样本使用概率生成训练样本。Training samples are generated based on the sampling period and the corresponding sample usage probabilities.
在一些实施例中,处理器401进一步用于执行以下步骤:In some embodiments, the processor 401 is further configured to perform the following steps:
判断使用信息是否满足预设条件;Determine whether the usage information meets the preset conditions;
确定每一样本应用在相同采样时段中对应的使用信息满足预设条件的采样时间点数量;Determine the number of sampling time points at which the corresponding usage information of each sample application in the same sampling period satisfies the preset condition;
获取每一样本应用在多个时间周期内使用信息满足预设条件的采样时间点总数量;Obtain the total number of sampling time points where the usage information of each sample application meets the preset conditions in multiple time periods;
根据采样时间点数量和采样时间点总数量,计算每一样本应用程序在每一采样时段对应的样本使用概率。According to the number of sampling time points and the total number of sampling time points, calculate the sample usage probability corresponding to each sample application in each sampling period.
在一些实施例中,使用信息为样本应用程序的运行状态信息,处理器401进一步用于执行以下步骤:In some embodiments, the usage information is running state information of the sample application, and the processor 401 is further configured to perform the following steps:
判断运行状态是否为前台运行;Determine whether the running status is foreground running;
若是,则判定使用信息满足预设条件;If so, it is determined that the usage information satisfies the preset condition;
若否,则判定使用信息不满足预设条件。If not, it is determined that the usage information does not meet the preset condition.
在一些实施例中,采样时段包括[t1,t2…tm],样本使用概率包括[P1,P2…Pm];处理器401进一步用于执行以下步骤:In some embodiments, the sampling period includes [t 1 , t 2 . . . t m ], and the sample usage probability includes [P 1 , P 2 . . . P m ]; the processor 401 is further configured to perform the following steps:
将采样时段及对应的样本使用概率输入至第一预设公式中,第一预设公式为:The sampling period and the corresponding sample usage probability are input into the first preset formula, and the first preset formula is:
其中,Ai表示样本应用程序i,t表示采样时段,k表示子高斯模型数量,μk表示数学期望,σk表示方差,ωk表示权值,N(t|μk,σk)表示随机变量t服从一个数学期望为μk、方差为σk的正态分布,P(t|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为t的概率;where A i represents the sample application i, t represents the sampling period, k represents the number of sub-Gaussian models, μ k represents the mathematical expectation, σ k represents the variance, ω k represents the weight, and N(t|μ k ,σ k ) represents the The random variable t obeys a normal distribution with a mathematical expectation of μ k and a variance of σ k , and P(t|A i ) represents the probability that the sampling period is t when the running state of the sample application i is foreground running;
基于所输入的采样时段t、样本使用概率P,对第一预设公式进行训练,得到多个训练后的子高斯模型;Based on the input sampling period t and the sample usage probability P, the first preset formula is trained to obtain a plurality of trained sub-Gaussian models;
将多个训练后的子高斯模型叠加,以得到训练后的混合高斯模型。Stack multiple trained sub-Gaussian models to get a trained mixture Gaussian model.
在一些实施例中,每一应用程序对应有唯一训练后的混合高斯模型;处理器401进一步用于执行以下步骤:In some embodiments, each application corresponds to a unique trained Gaussian mixture model; the processor 401 is further configured to perform the following steps:
获取应用程序处理指令;Get application processing instructions;
根据应用程序处理指令确定电子设备中的后台应用程序;Determine the background application in the electronic device according to the application processing instruction;
基于每一应用程序所对应训练后的混合高斯模型,利用第二预设公式计算每一后台应用程序在目标时间的使用概率,第二预设公式为:Based on the trained mixture Gaussian model corresponding to each application, use the second preset formula to calculate the usage probability of each background application at the target time. The second preset formula is:
其中,T表示时间,N表示训练后的混合高斯模型的数量,P(Ai|T)表示采样时段为T时前台运行的应用程序为应用程序i的概率,P(T|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为T的概率,P(T|Aj)表示应用程序j的运行状态为前台运行时采样时段为T的概率,P(Ai)表示应用程序i在历史时间段内的应用使用概率,P(Aj)表示应用程序j的在历史时间段内的应用使用概率;Among them, T represents time, N represents the number of Gaussian mixture models after training, P(A i |T) represents the probability that the application running in the foreground is application i when the sampling period is T, and P(T|A i ) represents The running state of the sample application i is the probability that the sampling period is T when the running state is in the foreground, P(T|A j ) represents the probability that the running state of the application j is the sampling period T when the running state is the foreground running, and P(A i ) represents the application The application usage probability of program i in the historical time period, P(A j ) represents the application usage probability of application program j in the historical time period;
根据使用概率对后台应用程序进行处理。Background applications are processed according to the probability of use.
在一些实施例中,处理器401进一步用于执行以下步骤:In some embodiments, the processor 401 is further configured to perform the following steps:
从当前后台应用程序中确定使用概率小于预设阈值的目标后台应用程序;Determine the target background application whose usage probability is less than the preset threshold from the current background applications;
关闭目标后台应用程序。Close the target background application.
存储器402可用于存储应用和数据。存储器402存储的应用中包含有可在处理器中执行的指令。应用可以组成各种功能模块。处理器401通过运行存储在存储器402的应用,从而执行各种功能应用以及数据处理。Memory 402 may be used to store applications and data. The application stored in memory 402 contains instructions executable in the processor. Applications can be composed of various functional modules. The processor 401 executes various functional applications and data processing by executing applications stored in the memory 402 .
在一些实施例中,如图12所示,电子设备400还包括:显示屏403、控制电路404、射频电路405、输入单元406、音频电路407、传感器408以及电源409。其中,处理器401分别与显示屏403、控制电路404、射频电路405、输入单元406、音频电路407、传感器408以及电源409电性连接。In some embodiments, as shown in FIG. 12 , the electronic device 400 further includes: a display screen 403 , a control circuit 404 , a radio frequency circuit 405 , an input unit 406 , an audio circuit 407 , a sensor 408 and a power supply 409 . The processor 401 is electrically connected to the display screen 403 , the control circuit 404 , the radio frequency circuit 405 , the input unit 406 , the audio circuit 407 , the sensor 408 and the power supply 409 respectively.
显示屏403可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图像、文本、图标、视频和其任意组合来构成。The display screen 403 may be used to display information input by or provided to the user and various graphical user interfaces of the electronic device, which may be composed of images, text, icons, videos, and any combination thereof.
控制电路404与显示屏403电性连接,用于控制显示屏403显示信息。The control circuit 404 is electrically connected to the display screen 403 for controlling the display screen 403 to display information.
射频电路405用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。The radio frequency circuit 405 is used for transmitting and receiving radio frequency signals, so as to establish wireless communication with network equipment or other electronic equipment through wireless communication, and send and receive signals with the network equipment or other electronic equipment.
输入单元406可用于接收输入的数字、字符信息或用户特征信息(例如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。其中,输入单元406可以包括指纹识别模组。Input unit 406 may be used to receive input numbers, character information, or user characteristic information (eg, fingerprints), and generate keyboard, mouse, joystick, optical, or trackball signal input related to user settings and function control. The input unit 406 may include a fingerprint identification module.
音频电路407可通过扬声器、传声器提供用户与电子设备之间的音频接口。The audio circuit 407 can provide an audio interface between the user and the electronic device through speakers and microphones.
传感器408用于采集外部环境信息。传感器408可以包括环境亮度传感器、加速度传感器、光传感器、运动传感器、以及其他传感器。The sensor 408 is used to collect external environment information. Sensors 408 may include ambient brightness sensors, acceleration sensors, light sensors, motion sensors, and other sensors.
电源409用于给电子设备400的各个部件供电。在一些实施例中,电源409可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。Power supply 409 is used to power various components of electronic device 400 . In some embodiments, the power supply 409 may be logically connected to the processor 401 through a power management system, so as to implement functions such as managing charging, discharging, and power consumption through the power management system.
尽管图12中未示出,电子设备400还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 12 , the electronic device 400 may further include a camera, a Bluetooth module, and the like, which will not be repeated here.
由上可知,本申请实施例提供的电子设备,通过获取历史时间段内每一采样时间点样本应用程序的使用信息,根据采样时间点和使用信息生成训练样本,再根据训练样本对预设的混合高斯模型进行训练,基于训练后的混合高斯模型对电子设备中的后台应用程序进行处理。该方案可降低电子设备终资源的占用,提升了电子设备的运行流畅度,减少了电子设备的功耗。It can be seen from the above that the electronic device provided by the embodiment of the present application generates training samples according to the sampling time point and the use information by acquiring the usage information of the sample application program at each sampling time point in the historical time period, and then performs the presetting of the training samples according to the training samples. The mixture Gaussian model is trained, and the background application in the electronic device is processed based on the trained mixture Gaussian model. The solution can reduce the occupation of final resources of the electronic device, improve the running smoothness of the electronic device, and reduce the power consumption of the electronic device.
在一些实施例中,还提供了一种存储介质,该存储介质中存储有多条指令,该指令适于由处理器加载以执行上述任一应用程序的处理方法。In some embodiments, a storage medium is also provided, and a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute the processing method of any of the above application programs.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,RandomAccess Memory)、磁盘或光盘等。Those of ordinary skill 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 relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
在描述本申请的概念的过程中使用了术语“一”和“所述”以及类似的词语(尤其是在所附的权利要求书中),应该将这些术语解释为既涵盖单数又涵盖复数。此外,除非本文中另有说明,否则在本文中叙述数值范围时仅仅是通过快捷方法来指代属于相关范围的每个独立的值,而每个独立的值都并入本说明书中,就像这些值在本文中单独进行了陈述一样。另外,除非本文中另有指明或上下文有明确的相反提示,否则本文中所述的所有方法的步骤都可以按任何适当次序加以执行。本申请的改变并不限于描述的步骤顺序。除非另外主张,否则使用本文中所提供的任何以及所有实例或示例性语言(例如,“例如”)都仅仅为了更好地说明本申请的概念,而并非对本申请的概念的范围加以限制。在不脱离精神和范围的情况下,所属领域的技术人员将易于明白多种修改和适应。The terms "a" and "said" and similar words are used in describing concepts of the present application (particularly in the appended claims) and should be construed to encompass both the singular and the plural. Furthermore, unless otherwise indicated herein, recitation of numerical ranges herein is merely by way of shorthand to refer to each separate value belonging to the relevant range, and each separate value is incorporated into the specification as if These values are individually stated in this document. Additionally, the steps of all methods described herein can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. Variations of the present application are not limited to the order of steps described. Unless otherwise claimed, any and all examples or exemplary language provided herein (eg, "for example") are used merely to better illustrate the concepts of the present application and are not intended to limit the scope of the concepts of the present application. Various modifications and adaptations will be readily apparent to those skilled in the art without departing from the spirit and scope.
以上对本申请实施例所提供的应用程序的处理方法、装置、存储介质及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The method, device, storage medium, and electronic device for processing the application provided by the embodiments of the present application have been described in detail above. The principles and implementations of the present application are described with specific examples. The descriptions of the above embodiments are only It is used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there will be changes in the specific embodiments and application scope. In summary, this specification The content should not be construed as a limitation on this application.
Claims (14)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710919655.2A CN107632697B (en) | 2017-09-30 | 2017-09-30 | Application processing method and device, storage medium and electronic equipment |
PCT/CN2018/102011 WO2019062405A1 (en) | 2017-09-30 | 2018-08-23 | Application program processing method and apparatus, storage medium, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710919655.2A CN107632697B (en) | 2017-09-30 | 2017-09-30 | Application processing method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107632697A CN107632697A (en) | 2018-01-26 |
CN107632697B true CN107632697B (en) | 2019-10-25 |
Family
ID=61104863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710919655.2A Active CN107632697B (en) | 2017-09-30 | 2017-09-30 | Application processing method and device, storage medium and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107632697B (en) |
WO (1) | WO2019062405A1 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107632697B (en) * | 2017-09-30 | 2019-10-25 | Oppo广东移动通信有限公司 | Application processing method and device, storage medium and electronic equipment |
CN107728772B (en) * | 2017-09-30 | 2020-05-12 | Oppo广东移动通信有限公司 | Application processing method and device, storage medium and electronic equipment |
US20190370009A1 (en) * | 2018-06-03 | 2019-12-05 | Apple Inc. | Intelligent swap for fatigable storage mediums |
CN108932140A (en) * | 2018-07-13 | 2018-12-04 | 重庆邮电大学 | Method for cleaning background applications based on behavior habits of Android users |
WO2020206696A1 (en) * | 2019-04-12 | 2020-10-15 | 深圳市欢太科技有限公司 | Application cleaning method, apparatus, storage medium and electronic device |
CN112866482B (en) * | 2019-11-27 | 2022-04-15 | 青岛海信移动通信技术股份有限公司 | Method and terminal for predicting behavior habits of objects |
CN111045507B (en) * | 2019-11-27 | 2022-04-19 | RealMe重庆移动通信有限公司 | List management and control method, device, mobile terminal and storage medium |
CN113050783B (en) * | 2019-12-26 | 2023-08-08 | Oppo广东移动通信有限公司 | Terminal control method, device, mobile terminal and storage medium |
CN114090276B (en) * | 2020-08-25 | 2025-03-11 | 比亚迪股份有限公司 | Controller system, data acquisition method, domain controller and storage medium |
CN112650564A (en) * | 2020-12-18 | 2021-04-13 | 北京紫光展锐通信技术有限公司 | Application limiting method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521041A (en) * | 2011-12-14 | 2012-06-27 | 华为终端有限公司 | Method for processing application program and wireless handheld device |
CN105718027A (en) * | 2016-01-20 | 2016-06-29 | 努比亚技术有限公司 | Management method of background application programs and mobile terminal |
CN106201686A (en) * | 2016-06-30 | 2016-12-07 | 北京小米移动软件有限公司 | Management method, device and the terminal of application |
CN106709298A (en) * | 2017-01-04 | 2017-05-24 | 广东欧珀移动通信有限公司 | Information processing method and device and intelligent terminal |
CN107133094A (en) * | 2017-06-05 | 2017-09-05 | 努比亚技术有限公司 | Application management method, mobile terminal and computer-readable recording medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110307200A1 (en) * | 2010-06-11 | 2011-12-15 | Academia Sinica | Recognizing multiple appliance operating states using circuit-level electrical information |
CN104317658B (en) * | 2014-10-17 | 2018-06-12 | 华中科技大学 | A kind of loaded self-adaptive method for scheduling task based on MapReduce |
CN105046429B (en) * | 2015-07-10 | 2018-08-24 | 南京大学 | User's thinking workload assessment method in interactive process based on mobile phone sensor |
JP2017167930A (en) * | 2016-03-17 | 2017-09-21 | 富士通株式会社 | Information processing device, power measurement method and power measurement program |
CN107632697B (en) * | 2017-09-30 | 2019-10-25 | Oppo广东移动通信有限公司 | Application processing method and device, storage medium and electronic equipment |
-
2017
- 2017-09-30 CN CN201710919655.2A patent/CN107632697B/en active Active
-
2018
- 2018-08-23 WO PCT/CN2018/102011 patent/WO2019062405A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521041A (en) * | 2011-12-14 | 2012-06-27 | 华为终端有限公司 | Method for processing application program and wireless handheld device |
CN105718027A (en) * | 2016-01-20 | 2016-06-29 | 努比亚技术有限公司 | Management method of background application programs and mobile terminal |
CN106201686A (en) * | 2016-06-30 | 2016-12-07 | 北京小米移动软件有限公司 | Management method, device and the terminal of application |
CN106709298A (en) * | 2017-01-04 | 2017-05-24 | 广东欧珀移动通信有限公司 | Information processing method and device and intelligent terminal |
CN107133094A (en) * | 2017-06-05 | 2017-09-05 | 努比亚技术有限公司 | Application management method, mobile terminal and computer-readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019062405A1 (en) | 2019-04-04 |
CN107632697A (en) | 2018-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107632697B (en) | Application processing method and device, storage medium and electronic equipment | |
CN107943583B (en) | Application processing method, device, storage medium and electronic device | |
CN107678799B (en) | Application program control method and device, storage medium and electronic equipment | |
CN108337358B (en) | Application cleaning method and device, storage medium and electronic equipment | |
CN107678858B (en) | Application processing method and device, storage medium and electronic equipment | |
CN107577522B (en) | Application control method, device, storage medium, and electronic device | |
WO2019120019A1 (en) | User gender prediction method and apparatus, storage medium and electronic device | |
US11544633B2 (en) | Method for cleaning up background application, storage medium, and electronic device | |
CN113284142B (en) | Image detection method, image detection device, computer-readable storage medium and computer equipment | |
CN107728772B (en) | Application processing method and device, storage medium and electronic equipment | |
WO2019184640A1 (en) | Indicator determination method and related device thereto | |
CN107678803A (en) | Application control method, device, storage medium and electronic equipment | |
CN107704876B (en) | Application control method, device, storage medium and electronic equipment | |
CN107870810B (en) | Application cleaning method, device, storage medium and electronic device | |
CN107832132A (en) | Application control method, apparatus, storage medium and electronic equipment | |
CN107885545B (en) | Application management method, device, storage medium and electronic device | |
WO2019085749A1 (en) | Application program control method and apparatus, medium, and electronic device | |
CN113055423B (en) | Policy push method, policy execution method, device, equipment and medium | |
WO2019062369A1 (en) | Application management method and apparatus, storage medium, and electronic device | |
CN107608778A (en) | Application program management and control method, device, storage medium and electronic device | |
CN108681480B (en) | Background application program control method and device, storage medium and electronic equipment | |
WO2019085750A1 (en) | Application program control method and apparatus, medium, and electronic device | |
CN112948763B (en) | Piece quantity prediction method and device, electronic equipment and storage medium | |
CN107832848A (en) | Application management method, device, storage medium and electronic device | |
CN107729144A (en) | Application control method, device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |