WO2019062404A1 - Application program processing method and apparatus, storage medium, and electronic device - Google Patents

Application program processing method and apparatus, storage medium, and electronic device Download PDF

Info

Publication number
WO2019062404A1
WO2019062404A1 PCT/CN2018/102001 CN2018102001W WO2019062404A1 WO 2019062404 A1 WO2019062404 A1 WO 2019062404A1 CN 2018102001 W CN2018102001 W CN 2018102001W WO 2019062404 A1 WO2019062404 A1 WO 2019062404A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
sample
sampling
probability
sampling period
Prior art date
Application number
PCT/CN2018/102001
Other languages
French (fr)
Chinese (zh)
Inventor
曾元清
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019062404A1 publication Critical patent/WO2019062404A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the field of electronic device technologies, and in particular, to a method, an apparatus, a storage medium, and an electronic device for processing an application.
  • the application running in the background will seriously occupy the resources of the electronic device, reduce the running fluency of the electronic device, and cause the power consumption of the electronic device to be large.
  • the embodiment of the present application provides a processing method, an apparatus, a storage medium, and an electronic device of an application program, which can intelligently control an application program and reduce power consumption of the electronic device.
  • an embodiment of the present application provides a processing method of an application, which is applied to an electronic device, where the method includes:
  • the background application in the electronic device is processed based on the trained mixed Gaussian model.
  • the embodiment of the present application provides an application processing device, which is applied to an electronic device, where the device includes:
  • An obtaining module configured to acquire usage information of a sample application at each sampling time point in a historical time period
  • a generating module configured to generate a training sample according to the sampling time point and the usage information
  • a training module configured to train the preset mixed Gaussian model according to the training sample
  • a processing module configured to process a background application in the electronic device based on the trained mixed Gaussian model.
  • the embodiment of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to perform the following steps:
  • the background application in the electronic device is processed based on the trained mixed Gaussian model.
  • 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, the memory is used to store instructions and data, and the processor is configured to execute The following steps:
  • the background application in the electronic device is processed based on the trained mixed Gaussian model.
  • FIG. 1 is a schematic diagram of a scenario structure of a processing method of an application provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for processing an application provided by an embodiment of the present application.
  • FIG. 3 is another schematic flowchart of a method for processing an application provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a Gaussian model provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a hybrid Gaussian model provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a processing device of an application program according to an embodiment of the present application.
  • FIG. 7 is another schematic structural diagram of a processing device of an application program according to an embodiment of the present application.
  • FIG. 8 is still another schematic structural diagram of a processing device of an application program according to an embodiment of the present application.
  • FIG. 9 is still another schematic structural diagram of a processing device of an application program according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 11 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the embodiment of the present application provides a processing method, device, storage medium, and electronic device of an application program. The details will be described separately below.
  • FIG. 1 is a schematic diagram of a scenario structure of an application processing method according to an embodiment of the present application.
  • the application running in the background is processed from A to E as an example.
  • data collection is performed to record the usage information of the electronic device in each application, such as recording the time when each application is opened within one month.
  • the usage probability of each application at different times is counted, and the usage time and the corresponding usage probability are used as training samples, and the preset mixed Gaussian model is trained according to the input
  • the sample adjusts the parameter information in the mixed Gaussian model to obtain a trained mixed Gaussian model corresponding to each application.
  • the usage probability of the background application at time T is calculated, and the target background whose usage probability is lower than the preset probability P is determined from the plurality of background applications A to E.
  • Application and close the target background application Therefore, the control of the background application is implemented based on the user's usage habits, and the occupation of the electronic device resources by the application 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.
  • An embodiment of the present application provides a processing method of an application, where the method includes:
  • the background application in the electronic device is processed based on the trained mixed Gaussian model.
  • the historical time period includes a plurality of time periods, each time period being divided into a plurality of sampling periods;
  • the step of generating a training sample according to the sampling time point and the usage information includes:
  • the usage information corresponding to the same sampling period in different time periods is processed to obtain a sample usage probability corresponding to the sample application in each sampling period;
  • the training samples are generated based on the sampling period and the corresponding sample usage probability.
  • the processing information corresponding to the same sampling period in different time periods is processed to obtain a sample usage probability corresponding to the sample application in each sampling period, including:
  • a sample usage probability corresponding to each sample application period is calculated according to the number of sampling time points and the total number of sampling time points.
  • the usage information is running state information of the sample application; and the step of determining whether the usage information meets a preset condition comprises:
  • the sampling period includes [t 1 , t 2 ... t m ], and the sample usage probability includes [P 1 , P 2 . . . P m ];
  • the step of training the preset mixed Gaussian model according to the training sample includes:
  • Ai 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
  • ⁇ k, ⁇ k) represents the random variable t obeys a mathematics It is expected that the normal distribution is ⁇ k and the variance is ⁇ k
  • Ai) represents the probability that the running state of the sample application i is the sampling period of the foreground running time is t;
  • a plurality of trained sub-Gaussian models are superimposed to obtain a mixed Gaussian model after training.
  • each application corresponds to a uniquely trained mixed Gaussian model
  • the usage probability of each background application at the target time is calculated by using the second preset formula based on the mixed Gaussian model corresponding to each application, and the second preset formula is:
  • T is the time
  • N is the number of mixed Gaussian models after training
  • T) is the probability that the application running in the foreground is the application i when the sampling period is T
  • Ai) is the sample application.
  • the running state of the program i is the probability that the sampling period is T when the foreground is running
  • Aj) indicates the probability that the running state of the application j is the sampling period of the foreground running time is T;
  • the background application is processed according to the usage probability.
  • the step of processing the background application according to the usage probability includes:
  • a processing method of an application 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, or a notebook computer.
  • the process can be as follows:
  • the application mentioned in this embodiment may be any application installed on the electronic device, such as an office application, a social application, a game application, a shopping application, and the like.
  • the sample application can be multiple or all installed applications in the electronic device.
  • the application usage information can be a usage record of the application, such as the opening time record of each application.
  • the sampling time point can be set according to actual needs. If you want to get higher accuracy results, you can set the collection time point to be more dense, such as every 1min as a sampling time point; if you want to save resources of electronic equipment If the accuracy of the result is not required, the sampling time point can be set loosely, for example, every 10 minutes is a sampling time point.
  • the usage information of each installed application may be recorded and converted into corresponding data storage into a preset storage area.
  • data corresponding to the certain application or some applications may be retrieved from the storage area, and the acquired data is parsed to obtain corresponding information, as The usage information of the application or the application, and the application or the application is used as a sample application, and the usage information in the required time period is selected from the obtained usage information.
  • the time period of the required recording may be directly set, and then the usage information of the sample application for each sampling time point is selected within the time period. Record it for later use.
  • the usage information of the obtained sample application may be preprocessed, the usage probability of each sample application at different sampling time points is calculated, and the probability distribution of the usage of each sample application over time is further obtained.
  • the training sample is generated by one-to-one correspondence between the sampling time point and the usage probability.
  • each mixed Gaussian model is composed of multiple sub-Gaussian models.
  • the background application in the electronic device is processed based on the trained mixed Gaussian model.
  • N mixed Gaussian models after training.
  • identity information such as application name, application identifier, etc.
  • N the identity information of each background application
  • select a target mixed Gaussian model from the N trained mixed Gaussian models according to the identity information of the background application (ie, for the background application)
  • Train the mixed Gaussian model and blend the Gaussian model based on the target against the background application.
  • the usage probability of each background application at the time may be calculated based on the mixed Gaussian model corresponding to each of the different background applications, combined with the current time. According to the calculated usage probabilities of the respective applications, the background application whose usage probability meets certain conditions is cleaned or closed to reduce the occupation of the electronic device resources by the application.
  • the application is a processing method of an application provided by an embodiment, which acquires usage information of a sample application at each sampling time point in a historical time period, generates a training sample according to a sampling time point and usage information, and then, according to the training sample.
  • the preset mixed Gaussian model is trained, and the background application in the electronic device is processed based on the trained mixed Gaussian model.
  • the solution can reduce the occupation of the final resources of the electronic device, improve the running fluency of the electronic device, and reduce the power consumption of the electronic device.
  • another application processing method 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, or a notebook computer.
  • the process can be as follows:
  • the sample application can be multiple or all installed applications in an electronic device.
  • the sampling time point can be set according to actual needs. If you want to get higher accuracy results, you can set the collection time point to be more dense, such as every 1min as a sampling time point; if you want to save resources of electronic equipment, the result is If the accuracy is not required, the sampling time point can be loosely set, such as every 10 minutes as a sampling time point.
  • the usage information of the application can be related information of the application during use.
  • the historical time period can be the past month
  • each time point can be the time stamp of the current time.
  • the usage parameters can be extracted from the database, which can store the open records of the applications in the electronic device in the past month, as shown in Table 1 below:
  • the historical time period includes a plurality of time periods, such as the historical time period being the past month, and the time period may be each of the past one month.
  • Each time period can be divided into multiple sampling periods, such as every minute of the day.
  • the time period to which the sampling time point corresponds and the specific sampling period may be determined, such as xx months xx days xx minutes. Take September 481 as an example, September is the historical time period, 9 is the time period, and 481 is the sampling period.
  • the sample collection can be completed on a terminal device such as a smart phone or a tablet computer, and the application information currently being used on the current terminal device is acquired every 1 minute and stored in the database of the terminal device, then one for one user.
  • the monthly usage record can extract tens of thousands of usage information samples.
  • 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 processes:
  • the sample usage probability corresponding to each sample application period is calculated according to the number of sampling time points and the total number of sampling time points.
  • the usage information may be operational status information of the sample application; then the step “determining whether the usage information satisfies the preset condition” may include the following processes:
  • the running state is running in the foreground, which means that the current user is using the sample application.
  • each sample application is counted for the same time period in each day of the past month (eg, 1440 minutes per day, then 481 minutes and September 31st of September 1st)
  • the probability of the sample use probability corresponding to each sample application period in each sampling period may be defined as Pi, and the specific algorithm of the probability Pi may refer to the following formula:
  • xj is the same as the definition of xi, both indicate the number of times the application is used during the ith or j minutes of the day.
  • n is a positive integer greater than one.
  • the sampling time point and the sample use probability are generated in one-to-one correspondence to generate a training sample.
  • the sampling period if the sampling period is recorded 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 ].
  • the generated training sample can be recorded as (t m , P m ), and the training sample corresponding to the 481th minute is (481, 0.1).
  • the first preset formula in the embodiment of the present application is a probability spectral density function of the mixed Gaussian model, as follows:
  • 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
  • ⁇ k , ⁇ k ) represents The random variable t obeys a normal distribution with a mathematical expectation of ⁇ k and a variance of ⁇ k
  • a i ) can represent the probability that the running state of the sample application i is the sampling period of the foreground running time is t.
  • the first preset formula is trained to obtain a plurality of trained sub-Gaussian models.
  • the mixed Gaussian model can be modeled when the training sample corresponding to the first minute is read; then the training sample corresponding to the second minute is read, the Gaussian model parameters are updated; and the training sample corresponding to the third minute is read, and the processing is continued. Update the mixed Gaussian model parameters... and so on, until all training samples are read, update the Gaussian model parameters to get the final trained mixed Gaussian model.
  • the mixed Gaussian model is generally constructed using 3 to 5 sub-Gaussian models.
  • some parameters such as variance ⁇ k , mathematical expectation ⁇ k , weight ⁇ k in the mixed Gaussian model need to be initialized, and the data required for modeling is obtained through these parameters.
  • the variance can be set as large as possible, and the weight (ie ⁇ k ) is as small as possible (such as 0.001).
  • This setup is due to the fact that the initialized Gaussian model is an inaccurate model that needs to constantly shrink its range and update its parameter values to get the most probable Gaussian model.
  • To set the variance larger in order to include as many pixels as possible into a model, find the parameter k, the corresponding weights ⁇ k , and the corresponding parameters ⁇ k and ⁇ k in all the sub-Gaussian models.
  • maximum likelihood estimation may be employed to determine these model parameters such as ⁇ k , ⁇ k , and ⁇ k .
  • the likelihood function of the mixed Gaussian model is:
  • the weighted k sub-Gaussian models are superimposed to obtain a mixed Gaussian model after training.
  • the resulting mixed Gaussian model consists of four sub-Gaussian models.
  • N mixed Gaussian models namely [P(t
  • the application processing instructions may be triggered when the central processing unit (CPU) of the electronic device occupies a large amount, the running memory resource is occupied, and/or the remaining power of the electronic device is insufficient.
  • 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 subsequently process the background application.
  • each application corresponds to a uniquely trained mixed Gaussian model. Based on the mixed Gaussian model after training, the probability of use of the application at different times can be accurately estimated.
  • the second preset formula is:
  • T represents time
  • T can be every minute of the day, ie T ⁇ [1,2,3,...1440]
  • N represents the number of mixed Gaussian models after training
  • T) The application running in the foreground when the sampling period is T is the probability of the application i
  • a i ) indicates the probability that the running state of the sample application i is the sampling period of the foreground running time is T
  • a j ) Indicates the running state of the application j is the probability that the sampling period is T when the foreground is running.
  • the initial usage probability corresponding to each application in the target time is estimated, and then the second preset formula is used to calculate the initial usage probability corresponding to the target background application.
  • the occupancy rate of the initial usage probability of the program is used as the usage probability of the application at the target time to improve the accuracy of the usage probability.
  • the probability threshold can be set as a basis for processing the application. That is, the step "Processing the background application according to the probability of use” may include the following process:
  • the preset threshold may be set by a person skilled in the art or a product manufacturer. For example, the predetermined threshold is set to 0.5, then T is opened when the background application probability P of A i in the next period (T
  • the processing method of the application program obtains the usage information of the sample application at each sampling time point in the historical time period, and then determines the time period and the sampling period corresponding to each sampling time point, and then The usage information corresponding to the same sampling period in different time periods is processed to obtain a sample usage probability corresponding to the sample application in each sampling period.
  • the training samples are generated based on the sampling period and the corresponding sample use probability, and are input into a preset mixed Gaussian model for model training, and a new mixed Gaussian model composed of a plurality of trained sub-Gaussian models is obtained.
  • the new mixed Gaussian model is 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 the final resources of the electronic device, improve the running fluency of the electronic device, and reduce the power consumption of the electronic device.
  • a processing device for an application is further provided.
  • the processing device of the application may be integrated into the electronic device in the form of software or hardware, and the electronic device may specifically include a mobile phone, a tablet computer, and a notebook computer. And other equipment.
  • the processing device 30 of the application may include a receiving module 31, a determining module 32, a receiving module 33, and a processing module 34, where:
  • the obtaining module 31 is configured to acquire usage information of the sample application at each sampling time point in the historical time period;
  • a generating module 32 configured to generate a training sample according to the sampling time point and the usage information
  • the training module 33 is configured to train the preset mixed Gaussian model according to the training sample
  • the processing module 34 is configured to process the background application in the electronic device based on the trained mixed Gaussian model.
  • the historical time period includes a plurality of time periods, each time period being divided into a plurality of sampling periods.
  • the generating module 32 may include:
  • the first determining submodule 321 is configured to determine a time period and a sampling period corresponding to each sampling time point, wherein the sampling time point corresponds to the sampling period one-to-one in each time period;
  • the information processing sub-module 322 is configured to process the usage information corresponding to the same sampling period in different time periods to obtain a sample usage probability corresponding to the sample application in each sampling period;
  • the generating submodule 323 is configured to generate a training sample based on the sampling period and the corresponding sample usage probability.
  • processing sub-module 322 can include:
  • a determining unit configured to determine whether the usage information meets a preset condition
  • a first determining unit configured to determine, by each sample, a number of sampling time points that the corresponding usage information in the same sampling period meets the preset condition
  • An obtaining unit configured to acquire a total number of sampling time points in which each sample application uses the information to satisfy the preset condition in multiple time periods;
  • the calculating unit is configured to calculate, according to the number of sampling time points and the total number of sampling time points, a sample usage probability corresponding to each sample application period in each sampling period.
  • the usage information is operational state information of the sample application; the determining unit can be used to:
  • the sampling period includes [t 1 , t 2 ... t m ], and the sample usage probability includes [P 1 , P 2 . . . P m ]; referring to FIG. 8 , the training module 33 may include:
  • the input sub-module 331 is configured to input the sampling period and the corresponding sample usage probability into the first formula, where the first preset formula is:
  • 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
  • ⁇ k , ⁇ k ) represents The random variable t obeys a normal distribution with a mathematical expectation of ⁇ k and a variance of ⁇ k
  • a i ) represents the probability that the running state of the sample application i is the sampling period of the foreground running time is t;
  • the training sub-module 332 is configured to train the first preset formula based on the input sampling period and the sample usage probability to obtain a plurality of trained sub-Gauss models;
  • the superposition sub-module 333 is configured to superimpose the plurality of trained sub-Gaussian models to obtain the trained mixed Gaussian model.
  • each application corresponds to a uniquely trained mixed Gaussian model; with reference to Figure 9, the processing module 34 can include:
  • the obtaining submodule 341 is configured to acquire an application processing instruction
  • a second determining submodule 342 configured to determine a background application in the electronic device according to the application processing instruction
  • the calculation sub-module 343 is configured to calculate the usage probability of each background application at the target time by using the second preset formula based on the mixed Gaussian model corresponding to each application, and the second preset formula is:
  • T is the time
  • N is the number of mixed Gaussian models after training
  • T) is the probability that the application running in the foreground is the application i when the sampling period is T
  • a i ) is expressed.
  • the running state of the sample application i is the probability that the sampling period is T when the foreground is running
  • a j ) indicates the probability that the running state of the application j is the sampling period of the foreground running time is T;
  • the application processing sub-module 344 is configured to process the background application according to the usage probability.
  • the application processing sub-module 344 can 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
  • the processing device of the application program provided by the embodiment of the present application generates the training sample according to the sampling time point and the usage information by acquiring the usage information of the sample application at each sampling time point in the historical time period, and then according to the training sample pair.
  • the preset mixed Gaussian model is trained, and the background application in the electronic device is processed based on the trained mixed Gaussian model.
  • the solution can reduce the occupation of the final resources of the electronic device, improve the running fluency of the electronic device, and reduce the power consumption of the electronic device.
  • an electronic device is further provided, and the electronic device may be a device such as a smart phone or a tablet computer.
  • the electronic device 400 includes a processor 401 and a memory 402.
  • the processor 401 is electrically connected to the memory 402.
  • the processor 401 is a control center of the electronic device 400, and connects various parts of the entire electronic device using various interfaces and lines, executes the electronic device by running or loading an application stored in the memory 402, and calling data stored in the memory 402. The various functions and processing of data to provide overall monitoring of the electronic device.
  • the processor 401 in the electronic device 400 loads the instructions corresponding to the process of one or more applications into the memory 402 according to the following steps, and is stored in the memory 402 by the processor 401.
  • the background application in the electronic device is processed based on the trained mixed Gaussian model.
  • the historical time period includes a plurality of time periods, each time period being divided into a plurality of sampling periods; the processor 401 is further configured to perform the following steps:
  • the usage information corresponding to the same sampling period in different time periods is processed to obtain a sample usage probability corresponding to the sample application in each sampling period;
  • the training samples are generated based on the sampling period and the corresponding sample usage probability.
  • the processor 401 is further configured to perform the following steps:
  • the sample usage probability corresponding to each sample application period is calculated according to the number of sampling time points and the total number of sampling time points.
  • the usage information is operational state information of the sample application
  • the processor 401 is further configured to perform the following steps:
  • 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 formula, and the first preset formula is:
  • Ai 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
  • ⁇ k, ⁇ k) represents the random variable t obeys a mathematics It is expected that the normal distribution is ⁇ k and the variance is ⁇ k
  • Ai) represents the probability that the running state of the sample application i is the sampling period of the foreground running time is t;
  • the first preset formula is trained based on the input sampling period and the sample usage probability to obtain a plurality of trained sub-Gauss models
  • a plurality of trained sub-Gaussian models are superimposed to obtain a mixed Gaussian model after training.
  • each application corresponds to a uniquely trained mixed Gaussian model; the processor 401 is further configured to perform the following steps:
  • the second preset formula is used to calculate the usage probability of each background application at the target time.
  • the second preset formula is:
  • T is the time
  • N is the number of mixed Gaussian models after training
  • T) is the probability that the application running in the foreground is the application i when the sampling period is T
  • Ai) is the sample application.
  • the running state of the program i is the probability that the sampling period is T when the foreground is running
  • Aj) indicates the probability that the running state of the application j is the sampling period of the foreground running time is T;
  • the background application is processed according to the probability of use.
  • the processor 401 is further configured to perform the following steps:
  • Memory 402 can be used to store applications and data.
  • the application stored in memory 402 contains instructions that are executable in the processor.
  • Applications can form various functional modules.
  • the processor 401 executes various functional applications and data processing by running an application stored in the memory 402.
  • 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 source 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 source 409, respectively.
  • the display screen 403 can be used to display information entered by the user or information provided to the user as well as various graphical user interfaces of the electronic device, which can be composed of images, text, icons, video, and any combination thereof.
  • the control circuit 404 is electrically connected to the display screen 403 for controlling the display screen 403 to display information.
  • the radio frequency circuit 405 is configured to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
  • the input unit 406 can be configured to receive input digits, character information, or user characteristic information (eg, fingerprints), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function controls.
  • the input unit 406 can include a fingerprint identification module.
  • the audio circuit 407 can provide an audio interface between the user and the electronic device through a speaker and a microphone.
  • Sensor 408 is used to collect external environmental information.
  • Sensor 408 can include ambient brightness sensors, acceleration sensors, light sensors, motion sensors, and other sensors.
  • Power source 409 is used to power various components of electronic device 400.
  • the power supply 409 can be logically coupled to the processor 401 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
  • the electronic device 400 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the electronic device provided by the embodiment of the present application generates the training sample according to the sampling time point and the usage information by acquiring the usage information of the sample application at each sampling time point in the historical time period, and then presets according to the training sample.
  • the mixed Gaussian model is trained to process the background application in the electronic device based on the trained mixed Gaussian model.
  • the solution can reduce the occupation of the final resources of the electronic device, improve the running fluency of the electronic device, and reduce the power consumption of the electronic device.
  • a storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform a processing method of any of the applications described above.
  • the stored plurality of instructions are adapted to be loaded by the processor to perform the following steps:
  • the background application in the electronic device is processed based on the trained mixed Gaussian model.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
  • ROM Read Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

Disclosed are an application program processing method and apparatus, a storage medium, and an electronic device. The application program processing method comprises: acquiring usage information about a sample application program at each sampling time point in a historical time period; generating a training sample according to the sampling time point and the usage information; training a pre-set Gaussian mixture model according to the training sample; and processing a background application program in an electronic device on the basis of the trained Gaussian mixture model.

Description

应用程序的处理方法、装置、存储介质及电子设备Application processing method, device, storage medium and electronic device
本申请要求于2017年9月30日提交中国专利局、申请号为201710939548.6、发明名称为“应用程序的处理方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on Sep. 30, 2017, the Chinese Patent Office, Application No. 201710939548.6, entitled "Application Processing Method, Apparatus, Storage Medium, and Electronic Equipment", the entire contents of which are hereby incorporated by reference. The citations are incorporated herein by reference.
技术领域Technical field
本申请涉及电子设备技术领域,尤其涉及一种应用程序的处理方法、装置、存储介质及电子设备。The present application relates to the field of electronic device technologies, and in particular, to a method, an apparatus, a storage medium, and an electronic device for processing an application.
背景技术Background technique
随着互联网的发展和移动通信网络的发展,同时也伴随着电子设备的处理能力和存储能力的迅猛发展,海量的应用得到了迅速传播和使用;常用的应用在方便用户工作和生活的同时,不乏新开发的应用也进入到用户的日常生活,提高了用户的生活质量、使用终端的频率以及使用中的娱乐感。With the development of the Internet and the development of mobile communication networks, along with the rapid development of processing capabilities and storage capabilities of electronic devices, massive applications have been rapidly spread and used; commonly used applications are convenient for users to work and live. There are also many newly developed applications that enter the daily life of users, improving the quality of life of users, the frequency of using terminals, and the sense of entertainment in use.
当电子设备开启有多个应用程序时,在后台运行的应用程序会严重地占用电子设备的资源,降低电子设备的运行流畅度,同时还会导致电子设备的功耗较大。When there are multiple applications in the electronic device, the application running in the background will seriously occupy the resources of the electronic device, reduce the running fluency of the electronic device, and cause the power consumption of the electronic device to be large.
技术问题technical problem
本申请实施例提供一种应用程序的处理方法、装置、存储介质及电子设备,可以智能地管控应用程序,降低电子设备功耗。The embodiment of the present application provides a processing method, an apparatus, a storage medium, and an electronic device of an application program, which can intelligently control an application program and reduce power consumption of the electronic device.
技术解决方案Technical solution
第一方面,本申请实施例提供一种应用程序的处理方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides a processing method of an application, which is applied to an electronic device, where the method includes:
获取历史时间段内每一采样时间点样本应用程序的使用信息;Obtaining usage information of the sample application at each sampling time point in the historical time period;
根据所述采样时间点和所述使用信息生成训练样本;Generating a training sample according to the sampling time point and the usage information;
根据所述训练样本对预设的混合高斯模型进行训练;Training a preset mixed Gaussian model according to the training sample;
基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理。The background application in the electronic device is processed based on the trained mixed Gaussian model.
第二方面,本申请实施例提供了一种应用程序的处理装置,应用于电子设备,所述装置包括:In a second aspect, the embodiment of the present application provides an application processing device, which is applied to an electronic device, where the device includes:
获取模块,用于获取历史时间段内每一采样时间点样本应用程序的使用信息;An obtaining module, configured to acquire usage information of a sample application at each sampling time point in a historical time period;
生成模块,用于根据所述采样时间点和所述使用信息生成训练样本;a generating module, configured to generate a training sample according to the sampling time point and the usage information;
训练模块,用于根据所述训练样本对预设的混合高斯模型进行训练;a training module, configured to train the preset mixed Gaussian model according to the training sample;
处理模块,用于基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理。And a processing module, configured to process a background application in the electronic device based on the trained mixed Gaussian model.
第三方面,本申请实施例还提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行以下步骤:In a third aspect, the embodiment of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to perform the following steps:
获取历史时间段内每一采样时间点样本应用程序的使用信息;Obtaining usage information of the sample application at each sampling time point in the historical time period;
根据所述采样时间点和所述使用信息生成训练样本;Generating a training sample according to the sampling time point and the usage information;
根据所述训练样本对预设的混合高斯模型进行训练;Training a preset mixed Gaussian model according to the training sample;
基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理。The background application in the electronic device is processed based on the trained mixed Gaussian model.
第四方面,本申请实施例还提供了一种电子设备,包括处理器及存储器,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据;所述处理器用于执行以下步骤: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, the memory is used to store instructions and data, and the processor is configured to execute The following steps:
获取历史时间段内每一采样时间点样本应用程序的使用信息;Obtaining usage information of the sample application at each sampling time point in the historical time period;
根据所述采样时间点和所述使用信息生成训练样本;Generating a training sample according to the sampling time point and the usage information;
根据所述训练样本对预设的混合高斯模型进行训练;Training a preset mixed Gaussian model according to the training sample;
基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理。The background application in the electronic device is processed based on the trained mixed Gaussian model.
有益效果Beneficial effect
可以智能地管控应用程序,降低电子设备功耗。Intelligently manage applications and reduce power consumption in electronic devices.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings can also be obtained from those skilled in the art based on these drawings without paying any creative effort.
图1是本申请实施例提供的应用程序的处理方法的场景架构示意图。FIG. 1 is a schematic diagram of a scenario structure of a processing method of an application provided by an embodiment of the present application.
图2是本申请实施例提供的应用程序的处理方法的一种流程示意图。FIG. 2 is a schematic flowchart of a method for processing an application provided by an embodiment of the present application.
图3是本申请实施例提供的应用程序的处理方法的另一种流程示意图。FIG. 3 is another schematic flowchart of a method for processing an application provided by an embodiment of the present application.
图4是本申请实施例提供的一种高斯模型的示意图。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 a hybrid Gaussian model provided by an embodiment of the present application.
图6是本申请实施例提供的应用程序的处理装置的一种结构示意图。FIG. 6 is a schematic structural diagram of a processing device of an application program according to an embodiment of the present application.
图7是本申请实施例提供的应用程序的处理装置的另一种结构示意图。FIG. 7 is another schematic structural diagram of a processing device of an application program according to an embodiment of the present application.
图8是本申请实施例提供的应用程序的处理装置的又一种结构示意图。FIG. 8 is still another schematic structural diagram of a processing device of an application program according to an embodiment of the present application.
图9是本申请实施例提供的应用程序的处理装置的再一种结构示意图FIG. 9 is still another schematic structural diagram of a processing device of an application program according to an embodiment of the present application;
图10是本申请实施例提供的电子设备的一种结构示意图。FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
图11是本申请实施例提供的电子设备的另一种结构示意图。FIG. 11 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
本发明的实施方式Embodiments of the invention
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present application without creative efforts are within the scope of the present application.
本申请实施例提供一种应用程序的处理方法、装置、存储介质及电子设备。以下将分别进行详细说明。The embodiment of the present application provides a processing method, device, storage medium, and electronic device of an application program. The details will be described separately below.
请参阅图1,图1为本申请实施例提供的应用程序的处理方法的场景架构示意图。Referring to FIG. 1 , FIG. 1 is a schematic diagram of a scenario structure of an application processing method according to an embodiment of the present application.
如图1,对后台运行的应用程序为A~E进行处理为例。首先进行数据采集,记录电子设备在各应用程序的使用信息,如记录一个月内打开各应用程序的时间。然后,根据采集到的应用程序的使用记录统计出各应用程序在不同时间的使用概率,并将使用时间及对应的使用概率作为训练样本,对预设的混合高斯模型进行训练,根据所输入的样本调整该混合高斯模型中的参数信息,以得到每一应用程序所对应的训练后的混合高斯模型。基于各应用程序对应的训练后的混合高斯模型,对后台应用程序在时间T下的使用概率进行计算,从多个后台应用程序A~E中确定出使用概率低于预设概率P的目标后台应用程序,并关闭目标后台应用程序。从而基于用户的使用习惯实现对后台应用程序的管控,减少应用程序对电子设备资源的占用。As shown in Figure 1, the application running in the background is processed from A to E as an example. First, data collection is performed to record the usage information of the electronic device in each application, such as recording the time when each application is opened within one month. Then, according to the usage record of the collected application, the usage probability of each application at different times is counted, and the usage time and the corresponding usage probability are used as training samples, and the preset mixed Gaussian model is trained according to the input The sample adjusts the parameter information in the mixed Gaussian model to obtain a trained mixed Gaussian model corresponding to each application. Based on the trained mixed Gaussian model corresponding to each application, the usage probability of the background application at time T is calculated, and the target background whose usage probability is lower than the preset probability P is determined from the plurality of background applications A to E. Application and close the target background application. Therefore, the control of the background application is implemented based on the user's usage habits, and the occupation of the electronic device resources by the application 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.
本申请实施例提供一种应用程序的处理方法,其中,所述方法包括:An embodiment of the present application provides a processing method of an application, where the method includes:
获取历史时间段内每一采样时间点样本应用程序的使用信息;Obtaining usage information of the sample application at each sampling time point in the historical time period;
根据所述采样时间点和所述使用信息生成训练样本;Generating a training sample according to the sampling time point and the usage information;
根据所述训练样本对预设的混合高斯模型进行训练;Training a preset mixed Gaussian model according to the training sample;
基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理。The background application in the electronic device is processed based on the trained mixed Gaussian model.
在一些实施例中,所述历史时间段包括多个时间周期,每一时间周期划分为多个采样时段;In some embodiments, the historical time period includes a plurality of time periods, each time period being divided into a plurality of sampling periods;
根据所述采样时间点和所述使用信息生成训练样本的步骤,包括:The step of generating a training sample according to the sampling time point and the usage information includes:
确定每一采样时间点对应的时间周期和采样时段,其中,每一时间周期内采样时间点与采样时段一一对应;Determining a time period and a sampling period corresponding to each sampling time point, wherein the sampling time point corresponds to the sampling period one-to-one in each time period;
将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率;The usage information corresponding to the same sampling period in different time periods is processed to obtain a sample usage probability corresponding to the sample application in each sampling period;
基于采样时段以及对应的样本使用概率生成训练样本。The training samples are generated based on the sampling period and the corresponding sample usage probability.
在一些实施例中,将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率的步骤,包括:In some embodiments, the processing information corresponding to the same sampling period in different time periods is processed to obtain a sample usage probability corresponding to the sample application in each sampling period, including:
判断所述使用信息是否满足预设条件;Determining whether the usage information meets a preset condition;
确定每一样本应用在相同采样时段中对应的使用信息满足预设条件的采样时间点数量;Determining, by each sample, the number of sampling time points in which the corresponding usage information in the same sampling period satisfies a preset condition;
获取每一样本应用在多个时间周期内使用信息满足预设条件的采样时间点总数量;Obtaining a total number of sampling time points for which each sample application uses information in a plurality of time periods to satisfy a preset condition;
根据所述采样时间点数量和所述采样时间点总数量,计算每一样本应用程序在每一采样时段对应的样本使用概率。A sample usage probability corresponding to each sample application period is calculated according to the number of sampling time points and the total number of sampling time points.
在一些实施例中,所述使用信息为样本应用程序的运行状态信息;判断所述使用信息是否满足预设条件的步骤,包括:In some embodiments, the usage information is running state information of the sample application; and the step of determining whether the usage information meets a preset condition comprises:
判断所述运行状态是否为前台运行;Determining whether the running state is running in the foreground;
若是,则判定所述使用信息满足预设条件;If yes, determining that the usage information meets a preset condition;
若否,则判定所述使用信息不满足预设条件。If not, it is determined that the usage information does not satisfy the preset condition.
在一些实施例中,所述采样时段包括[t 1,t 2…t m],所述样本使用概率包括[P 1,P 2…P m]; 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 step of training the preset mixed Gaussian model according to the training sample includes:
将所述采样时段及对应的样本使用概率输入至第一公式中,所述第一预设公式为:Inputting the sampling period and the corresponding sample usage probability into the first formula, where the first preset formula is:
Figure PCTCN2018102001-appb-000001
Figure PCTCN2018102001-appb-000001
其中,Ai表示样本应用程序i,t表示采样时段,k表示子高斯模型数量,μk表示数学期望,σk表示方差,ωk表示权值,N(t|μk,σk)表示随机变量t服从一个数学期望为μk、方差为σk的正态分布,P(t|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为t的概率;Where Ai 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 random variable t obeys a mathematics It is expected that the normal distribution is μk and the variance is σk, and P(t|Ai) represents the probability that the running state of the sample application i is the sampling period of the foreground running time is t;
基于所输入的采样时段、样本使用概率,对所述第一预设公式进行训练,得到多个训练后的子高斯模型;And training the first preset formula to obtain a plurality of trained sub-Gaussian models based on the input sampling period and the sample usage probability;
将多个训练后的子高斯模型叠加,以得到训练后的混合高斯模型。A plurality of trained sub-Gaussian models are superimposed to obtain a mixed Gaussian model after training.
在一些实施例中,每一应用程序对应有唯一训练后的混合高斯模型;In some embodiments, each application corresponds to a uniquely trained mixed Gaussian model;
基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理的步骤,包括:The step of processing the background application in the electronic device based on the trained mixed Gaussian model includes:
获取应用程序处理指令;Obtain application processing instructions;
根据所述应用程序处理指令确定所述电子设备中的后台应用程序;Determining a background application in the electronic device according to the application processing instruction;
基于每一应用程序所对应训练后的混合高斯模型,利用第二预设公式计算每一后台应用程序在目标时间的使用概率,所述第二预设公式为:The usage probability of each background application at the target time is calculated by using the second preset formula based on the mixed Gaussian model corresponding to each application, and the second preset formula is:
Figure PCTCN2018102001-appb-000002
Figure PCTCN2018102001-appb-000002
其中,T表示时间,N表示训练后的混合高斯模型的数量,P(Ai|T)表示采样时段为T时前台运行的应用程序为应用程序i的概率,P(T|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为T的概率,P(T|Aj)表示应用程序j的运行状态为前台运行时采样时段为T的概率;Where T is the time, N is the number of mixed Gaussian models after training, P(Ai|T) is the probability that the application running in the foreground is the application i when the sampling period is T, and P(T|Ai) is the sample application. The running state of the program i is the probability that the sampling period is T when the foreground is running, and P(T|Aj) indicates the probability that the running state of the application j is the sampling period of the foreground running time is T;
根据所述使用概率对后台应用程序进行处理。The background application is processed according to the usage probability.
在一些实施例中,根据所述使用概率对后台应用程序进行处理的步骤,包括:In some embodiments, the step of processing the background application according to the usage probability includes:
从当前后台应用程序中确定使用概率小于预设阈值的目标后台应用程序;Determining a target background application whose usage probability is less than a preset threshold from the current background application;
关闭所述目标后台应用程序。Close the target background application.
在一实施例中,提供一种应用程序的处理方法,应用于电子设备,该电子设备可以为智能手机、平板电脑、笔记本电脑等移动终端。如图2所示,流程可以如下:In an embodiment, a processing method of an application 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, or a notebook computer. As shown in Figure 2, the process can be as follows:
101、获取历史时间段内每一采样时间点样本应用程序的使用信息。101. Obtain usage information of the sample application at each sampling time point in the historical time period.
本实施例所提及的应用程序,可以是电子设备上安装的任何一个应用程序,例如办公应用、社交应用、游戏应用、购物应用等。The application mentioned in this embodiment may be any application 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 can be multiple or all installed applications in the electronic device. The application usage information can be a usage record of the application, such as the opening time record of each application. The sampling time point can be set according to actual needs. If you want to get higher accuracy results, you can set the collection time point to be more dense, such as every 1min as a sampling time point; if you want to save resources of electronic equipment If the accuracy of the result is not required, the sampling time point can be set loosely, for example, every 10 minutes is a sampling time point.
在一些实施例中,自应用程序安装,则可记录每一已安装应用程序的使用信息,转换成相应的数据存储到预设的存储区域中。当需要使用某一或某些应用程序的使用信息时,则可以从该存储区域中调取与该某一或某些应用程序对应的数据,对获取的数据进行解析得到相应的信息,以作为该某一或某些应用程序的使用信息,而该某一或某些应用程序则作为样本应用程序,从获取的使用信息中选取出所需时间段内的使用信息即可。In some embodiments, from the application installation, the usage information of each installed application may be recorded and converted into corresponding data storage into a preset storage area. When the usage information of one or some applications needs to be used, data corresponding to the certain application or some applications may be retrieved from the storage area, and the acquired data is parsed to obtain corresponding information, as The usage information of the application or the application, and the application or the application is used as a sample application, and the usage information in the required time period is selected from the obtained 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 time period of the required recording may be directly set, and then the usage information of the sample application for each sampling time point is selected within the time period. Record it for later use.
102、根据采样时间点和使用信息生成训练样本。102. Generate a training sample according to the sampling time point and the usage information.
具体地,可对所获取到的样本应用程序的使用信息进行预处理,计算出每一样本应用程序在不同采样时间点的使用概率,进一步得到每一样本应用程序的使用随时间变化的概率分布,将采样时间点与使用概率一一对应生成训练样本。Specifically, the usage information of the obtained sample application may be preprocessed, the usage probability of each sample application at different sampling time points is calculated, and the probability distribution of the usage of each sample application over time is further obtained. The training sample is generated by one-to-one correspondence between the sampling time point and the usage probability.
103、根据训练样本对预设的混合高斯模型进行训练。103. Train the preset mixed Gaussian model according to the training sample.
具体地,将上述生成的训练样本输入至预设的混合高斯模型中,根据所输入的训练样本不断地修正预设的混合高斯模型中的相关参数,以使得训练后的混合高斯模型可适用于所有训练样本,最后对每一个样本应用程序都训练出一个混合高斯模型。其中,每一混合高斯模型由多个子高斯模型构成。Specifically, the training sample generated above is input into a preset mixed Gaussian model, and relevant parameters in the preset mixed Gaussian model are continuously corrected according to the input training sample, so that the trained mixed Gaussian model can be applied to All training samples, and finally a mixed Gaussian model is trained for each sample application. Among them, each mixed Gaussian model is composed of multiple sub-Gaussian models.
104、基于训练后的混合高斯模型对电子设备中的后台应用程序进行处理。104. The background application in the electronic device is processed based on the trained mixed Gaussian model.
在本申请实施例中,若样本应用程序的个数有N个,则相应的有N个训练后的混合高斯模型。获取每一后台应用的身份信息(如应用名称、应用标识等等),并根据后台应用程序的身份信息,从N个训练后的混合高斯模型中选取目标混合高斯模型(即针对该后台应用程序训练出的混合高斯模型),并基于该目标混合高斯模型对该后台应用程序。In the embodiment of the present application, if there are N number of sample applications, there are corresponding N mixed Gaussian models after training. Obtain identity information (such as application name, application identifier, etc.) of each background application, and select a target mixed Gaussian model from the N trained mixed Gaussian models according to the identity information of the background application (ie, for the background application) Train the mixed Gaussian model) and blend the Gaussian model based on the target against the background application.
在一些实施例中,可基于不同后台应用程序各自所对应训练后的混合高斯模型,结合当前的时间,对各后台应用程序在该时间下的使用概率进行计算。根据计算到的各个应用程序各自对应的使用概率,对使用概率满足一定条件的后台应用程序进行清理或关闭操作,以减少应用程序对电子设备资源的占用。In some embodiments, the usage probability of each background application at the time may be calculated based on the mixed Gaussian model corresponding to each of the different background applications, combined with the current time. According to the calculated usage probabilities of the respective applications, the background application whose usage probability meets certain conditions is cleaned or closed to reduce the occupation of the electronic device resources by the application.
由上可知,本申请是实施例提供的应用程序的处理方法,通过获取历史时间段内每一采样时间点样本应用程序的使用信息,根据采样时间点和使用信息生成训练样本,再根据训练样本对预设的混合高斯模型进行训练,基于训练后的混合高斯模型对电子设备中的后台应用程序进行处理。该方案可降低电子设备终资源的占用,提升了电子设备的运行流畅度,减少了电子设备的功耗。As can be seen from the above, the application is a processing method of an application provided by an embodiment, which acquires usage information of a sample application at each sampling time point in a historical time period, generates a training sample according to a sampling time point and usage information, and then, according to the training sample. The preset mixed Gaussian model is trained, and the background application in the electronic device is processed based on the trained mixed Gaussian model. The solution can reduce the occupation of the final resources of the electronic device, improve the running fluency of the electronic device, and reduce the power consumption of the electronic device.
在一实施例中,还提供另一种应用程序的处理方法,应用于电子设备,该电子设备可以为智能手机、平板电脑、笔记本电脑等移动终端。如图3所示,流程可以如下:In an embodiment, another application processing method 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, or a notebook computer. As shown in Figure 3, the process can be as follows:
201、获取历史时间段内每一采样时间点样本应用程序的使用信息。201. Obtain usage information of the sample application at each sampling time point in the historical time period.
样本应用程序可为电子设备中多个或所有已安装的应用程序。采样时间点可根据实际需求进行设定,若想得到精确度较高的结果,可将采集时间点设置地密集一些,如每隔1min为一采样时间点;若想节省电子设备的资源而对结果的精确度不做要求,则可将采样时间点设置地松散一些,如每隔10min为一采样时间点。应用程序的使用信息可为应用程序在使用过程中的相关信息。The sample application can be multiple or all installed applications in an electronic device. The sampling time point can be set according to actual needs. If you want to get higher accuracy results, you can set the collection time point to be more dense, such as every 1min as a sampling time point; if you want to save resources of electronic equipment, the result is If the accuracy is not required, the sampling time point can be loosely set, such as every 10 minutes as a sampling time point. The usage information of the application can be related information of the application during use.
比如,历史时段可以是过去一个月,每一时间点可以为当前时间的时间戳。使用参数可以是从数据库中提取出来的,该数据库内可以存储有过去一个月电子设备中应用程序的打开记录,如下表1所示:For example, the historical time period can be the past month, and each time point can be the time stamp of the current time. The usage parameters can be extracted from the database, which can store the open records of the applications in the electronic device in the past month, as shown in Table 1 below:
应用程序包名Application package name 打开此应用程序的时间戳Open the timestamp of this app
com.tencent.mobileqqCom.tencent.mobileqq 14575506554651457550655465
com.android.setingsCom.android.setings 14576051075221457605107522
...... ......
表1Table 1
之后,将这些应用程序的打开记录,作为各样本应用程序在每一采样时间点的使用信息After that, open the records of these applications 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, where the sampling time point corresponds to the sampling period one-to-one in each time period.
在一些实施例中,历史时间段包括多个时间周期,如历史时间段为过去一个月,则时间周期则可以为过去一个月中的每一天。每一时间周期可划分为多个采样时段,如一天中的每一分钟。具体地,可基于采样时间点对应的时间戳,确定其所属的时间周期以及具体的采样时段,如可为xx月xx日xx分。以9月9日481分为例,9月为历史时间段,9日为时间周期,481分为采样时段。In some embodiments, the historical time period includes a plurality of time periods, such as the historical time period being the past month, and the time period may be each of the past one month. Each time period can be divided into multiple sampling periods, such as every minute of the day. Specifically, the time period to which the sampling time point corresponds and the specific sampling period may be determined, such as xx months xx days xx minutes. Take September 481 as an example, September is the historical time period, 9 is the time period, and 481 is the sampling period.
其中,样本的采集是可在智能手机、平板电脑等终端设备上完成,每隔1分钟获取当前终端设备上正在使用的应用程序信息,并且存储到该终端设备的数据库里,那么对于一个用户一个月的使用记录,可提取上万条使用信息样本。The sample collection can be completed on a terminal device such as a smart phone or a tablet computer, and the application information currently being used on the current terminal device is acquired every 1 minute and stored in the database of the terminal device, then one for one user. The monthly usage record can extract tens of thousands of usage information samples.
203、将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率。203. Process usage information corresponding to the same sampling period in different time periods to obtain a sample usage probability corresponding to the sample application in each sampling period.
在一些实施例中,步骤“将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率”可以包括以下流程: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 processes:
判断使用信息是否满足预设条件;Determining whether the usage information satisfies a preset condition;
确定每一样本应用在相同采样时段中对应的使用信息满足预设条件的采样时间点数量;Determining, by each sample, the number of sampling time points in which the corresponding usage information in the same sampling period satisfies a preset condition;
获取每一样本应用在多个时间周期内使用信息满足预设条件的采样时间点总数量;Obtaining a total number of sampling time points for which each sample application uses information in a plurality of time periods to satisfy a preset condition;
根据采样时间点数量和采样时间点总数量,计算每一样本应用程序在每一采样时段对应的样本使用概率。The sample usage probability corresponding to each sample application period is calculated according to the number of sampling time points and the total number of sampling time points.
具体地,可根据上述采集到的用户使用应用程序记录,统计出用户最常用的N个样本应用程序,其中N是可配置的。为了合理调配电子设备资源,减少运算量,通常N=5。Specifically, according to the collected user usage application record, the N sample application programs most commonly used by the user may be counted, where N is configurable. In order to properly allocate electronic equipment resources and reduce the amount of computation, usually N=5.
在一些实施例中,使用信息可为样本应用程序的运行状态信息;则步骤“判断使用信息是否满足预设条件”可以包括以下流程:In some embodiments, the usage information may be operational status information of the sample application; then the step “determining whether the usage information satisfies the preset condition” may include the following processes:
判断运行状态是否为前台运行;Determine whether the running status is running in the foreground;
若是,则判定使用信息满足预设条件;If yes, it is determined that the usage information satisfies the preset condition;
若否,则判定使用信息不满足预设条件。If not, it is determined that the usage information does not satisfy the preset condition.
其中,运行状态为在前台运行,即意味着当前用户正在使用该样本应用程序。那么对于这N个样本应用程序,分别统计每个样本应用程序在过去一个月内每一天中相同时间段(如一天可包括1440分钟,则9月1日的第481分钟和9月31日的第481分钟为相同时间段;9月1日的第1440分钟和9月31日的第1440分钟为相同时间段)中在前台运行的采样时间点数量,记为X=[x 1,x 2,x 3…x i…,x n],其中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 the N sample applications, each sample application is counted for the same time period in each day of the past month (eg, 1440 minutes per day, then 481 minutes and September 31st of September 1st) The number of sampling time points running in the foreground in the same time period; the 1440 minutes on September 1 and the 1440 minutes on September 31 are the same time period, recorded as X=[x 1 , x 2 , x 3 ... x i ..., x n ], where xi represents the number of times the application was used during the ith minute of the day of 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, take the 30 days from September 1st to September 30th as the historical time period. If there are 25 days, 25 days of users use WeChat from 8:01 to 8:10 in the morning, while others Time does not use WeChat. Then the statistical method is: convert 8:01 to the time zone as the 481th (8*60+1=481), and convert 8:10 to the time zone as the 490th (8*60+10=490) . Then the user's WeChat usage information statistics can be as shown in Table 2 below:
应用程序application x 1 x 1 ...... x 481 x 481 ...... x 490 x 490 ...... x 1440 x 1440
微信WeChat 00 00 2525 2525 2525 00 00
QQQQ ...... ...... ...... ...... ...... ...... ......
...              
...              
表2Table 2
在本申请实施例中,可将每一样本应用程序在每一采样时段对应的样本使用概率的概率定义为Pi,则概率Pi的具体的算法可参考以下公式:In the embodiment of the present application, the probability of the sample use probability corresponding to each sample application period in each sampling period may be defined as Pi, and the specific algorithm of the probability Pi may refer to the following formula:
Figure PCTCN2018102001-appb-000003
Figure PCTCN2018102001-appb-000003
其中,xj与xi示定义相同,都表示在一天中的第i或j分钟时间应用程序的使用次数。n为大于1的正整数。基于上述数据以及概率算法,可得到每一样本应用程序在每一采样时段对应的样本使用概率的概率分布,可如下表3所示:Where xj is the same as the definition of xi, both indicate the number of times the application is used during the ith or j minutes of the day. n is a positive integer greater than one. Based on the above data and the probability algorithm, the probability distribution of the sample use probability corresponding to each sample application period in each sampling period can be obtained, as shown in Table 3 below:
应用程序application P 1 P 1 ...... P 481 P 481 ...... P 490 P 490 ...... P 1440 P 1440
微信WeChat 00 00 0.10.1 0.10.1 0.10.1 00 00
QQQQ ...... ...... ...... ...... ...... ...... ......
...              
...              
表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 use probability of each sample application in the above Table 2, the sampling time point and the sample use probability are generated in one-to-one correspondence to generate a training sample.
在一些实施方式中,若将采样时段记为t,则采样时段包括[t 1,t 2…t m],将样本使用概率记为P,样本使用概率包括[P 1,P 2…P m]。则具体可将生成的训练样本记为(t m,P m),如第481分钟对应的训练样本为(481,0.1)。 In some embodiments, if the sampling period is recorded 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 can be recorded as (t m , P m ), and the training sample corresponding to the 481th minute is (481, 0.1).
205、将训练样本输入至第一公式中,以对第一预设公式进行训练,得到多个训练后的子高斯模型。205. Input the training sample into the first formula to train the first preset formula to obtain a plurality of trained sub-Gaussian models.
在本申请实施例中的第一预设公式为混合高斯模型的概率谱密度函数,具体如下所示:The first preset formula in the embodiment of the present application is a probability spectral density function of the mixed Gaussian model, as follows:
Figure PCTCN2018102001-appb-000004
Figure PCTCN2018102001-appb-000004
其中,A i表示样本应用程序i,t表示采样时段,k表示子高斯模型数量,μ k表示数学期望,σ k表示方差,ω k表示权值,N(t|μ kk)表示随机变量t服从一个数学期望为μ k、方差为σ k的正态分布,P(t|A i)则可表示样本应用程序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 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 running state of the sample application i is the sampling period of the foreground running time is t.
Figure PCTCN2018102001-appb-000005
是高斯分布概率模型。
Figure PCTCN2018102001-appb-000005
It is a Gaussian distribution probability model.
参考图4,可作为所构建的一个初始化的高斯模型。然后,基于所输入的采样时段、样本使用概率,对第一预设公式进行训练,得到多个训练后的子高斯模型。具体地,可在读取第1分钟对应的训练样本时进行混合高斯模型建模;接着读取第2分钟对应的训练样本,更新高斯模型参数;再读取第3分钟对应的训练样本,继续更新混合高斯模型参数……以此类推,直到所有训练样本都被读取后,更新高斯模型参数得到最终训练后的混合高斯模型。Referring to Figure 4, it can be used as an initialized Gaussian model. Then, based on the input sampling period and the sample usage probability, the first preset formula is trained to obtain a plurality of trained sub-Gaussian models. Specifically, the mixed Gaussian model can be modeled when the training sample corresponding to the first minute is read; then the training sample corresponding to the second minute is read, the Gaussian model parameters are updated; and the training sample corresponding to the third minute is read, and the processing is continued. Update the mixed Gaussian model parameters... and so on, until all training samples are read, update the Gaussian model parameters to get the final trained mixed Gaussian model.
混合高斯模型一般使用3~5个子高斯模型构成。建模过程中,需要对混合高斯模型中的方差σ k、数学期望μ k、权值ω k等一些参数初始化,并通过这些参数求出建模所需的数据。在初始化过程中,可将方差设置的尽量大些,而权值(即ω k)则尽量小些(如0.001)。这样设置是由于初始化的高斯模型是一个并不准确的模型,需要不停地缩小他的范围,更新他的参数值,从而得到最可能的高斯模型。将方差设置大些,就是为了将尽可能多的像素包含到一个模型里面,找出参数k、对应的所有的权值ω k,以及所有子高斯模型中各自对应的参数μ k和σ kThe mixed Gaussian model is generally constructed using 3 to 5 sub-Gaussian models. In the modeling process, some parameters such as variance σ k , mathematical expectation μ k , weight ω k in the mixed Gaussian model need to be initialized, and the data required for modeling is obtained through these parameters. In the initialization process, the variance can be set as large as possible, and the weight (ie ω k ) is as small as possible (such as 0.001). This setup is due to the fact that the initialized Gaussian model is an inaccurate model that needs to constantly shrink its range and update its parameter values to get the most probable Gaussian model. To set the variance larger, in order to include as many pixels as possible into a model, find the parameter k, the corresponding weights ω k , and the corresponding parameters μ k and σ k in all the sub-Gaussian models.
在一些实施方式中,可采用最大似然估计法来确定ω k、μ k和σ k等这些模型参数。其中,混合高斯模型的似然函数为: In some embodiments, maximum likelihood estimation may be employed to determine these model parameters such as ω k , μ k , and σ k . Among them, the likelihood function of the mixed Gaussian model is:
Figure PCTCN2018102001-appb-000006
Figure PCTCN2018102001-appb-000006
采用期望最大化(EM)算法,使(μ kk)的似然函数极大化。则极大值对应的ω k、μ k和σ k就是我们的估计。最终得到[(ω 111),(ω 111),…(ω kkk)]。 The likelihood function of (μ k , σ k ) is maximized using an expectation maximization (EM) algorithm. Then the maximum values corresponding to ω k , μ k and σ k are our estimates. Finally, [(ω 1 , μ 1 , σ 1 ), (ω 1 , μ 1 , σ 1 ), ... (ω k , μ k , σ k )] are obtained.
206、将多个训练后的子高斯模型叠加,以得到训练后的混合高斯模型。206. Superimpose the plurality of trained sub-Gaussian models to obtain a mixed Gaussian model after training.
具体地,按所估计出的权值ω k对每一子高斯模型加权处理后,将加权后的k个子高斯模型叠加处理,以得到训练后的混合高斯模型。参考图5,所得到的混合高斯模型由4个子高斯模型构成。 Specifically, after weighting each sub-Gaussian model according to the estimated weight ω k , the weighted k sub-Gaussian models are superimposed to obtain a mixed Gaussian model after training. Referring to Figure 5, the resulting mixed Gaussian model consists of four sub-Gaussian models.
假设用户有N个样本应用程序,则有N个混合高斯模型,即[P(t|A 1),P(t|A 2),…P(t|A N)]。 Assuming that the user has N sample applications, there are N mixed Gaussian models, namely [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, the application processing instructions may be triggered when the central processing unit (CPU) of the electronic device occupies a large amount, the running memory resource is occupied, and/or the remaining power of the electronic device is insufficient. 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 subsequently process the background application.
208、基于每一应用程序所对应训练后的混合高斯模型,利用第二预设公式计算每一后台应用程序在目标时间的使用概率。208. Calculate a usage probability of each background application at a target time by using a second preset formula based on the mixed Gaussian model corresponding to each application.
在本申请实施例中,每一应用程序对应有唯一训练后的混合高斯模型。基于训练后的混合高斯模型,可以精确地估计出应用程序在不同时间对应的使用概率。而第二预设公式为:In the embodiment of the present application, each application corresponds to a uniquely trained mixed Gaussian model. Based on the mixed Gaussian model after training, the probability of use of the application at different times can be accurately estimated. The second preset formula is:
Figure PCTCN2018102001-appb-000007
Figure PCTCN2018102001-appb-000007
其中,T表示时间,T具体可以为一天中的每一分钟,即T∈[1,2,3,…1440];N表示训练后的混合高斯模型的数量;P(A i|T)表示采样时段为T时前台运行的应用程序为应用程序i的概率;P(T|A i)表示样本应用程序i的运行状态为前台运行时采样时段为T的概率;P(T|A j)表示应用程序j的运行状态为前台运行时采样时段为T的概率。 Where T represents time, T can be every minute of the day, ie T∈[1,2,3,...1440]; N represents the number of mixed Gaussian models after training; P(A i |T) The application running in the foreground when the sampling period is T is the probability of the application i; P(T|A i ) indicates the probability that the running state of the sample application i is the sampling period of the foreground running time is T; P(T|A j ) Indicates the running state of the application j is the probability that the sampling period is T when the foreground is running.
具体地,首先基于训练后的混合高斯模型,估计出不同应用程序各自在目标时间下对应的初始使用概率,然后利用第二预设公式,计算出目标后台应用程序对应的初始使用概率占所有应用程序的初始使用概率总和的占用率,将该概率占用率作为应用程序在目标时间下对应的使用概率,以提升使用概率的精确度。Specifically, firstly, based on the mixed Gaussian model after training, the initial usage probability corresponding to each application in the target time is estimated, and then the second preset formula is used to calculate the initial usage probability corresponding to the target background application. The occupancy rate of the initial usage probability of the program is used as the usage probability of the application at the target time to improve the accuracy of the usage probability.
209、根据使用概率对后台应用程序进行处理。209. Process the background application according to the usage probability.
在一些实施例中,可通过设定概率阈值来作为对应用进行处理的基准。也即,步骤“根据使用概率对后台应用程序进行处理”可以包括以下流程:In some embodiments, the probability threshold can be set as a basis for processing the application. That is, the step "Processing the background application according to the probability of use" may include the following process:
从当前后台应用程序中确定使用概率小于预设阈值的目标后台应用程序;Determining a target background application whose usage probability is less than a preset threshold from the current background application;
关闭目标后台应用程序。Close the target background app.
其中,该预设阈值可以由本领域技术人员或产品生产厂商进行设定。比如,设定预设阈值为0.5,那么若在未来一时段T打开后台应用程序A i的概率P(T|A i)小于0.5,则清理该后台应用程序A i,若不小于0.5,则保持该后台应用程序A i继续在后台运行。 The preset threshold may be set by a person skilled in the art or a product manufacturer. For example, the predetermined threshold is set to 0.5, then T is opened when the background application probability P of A i in the next period (T | A i) is less than 0.5, the background application program A i is clean, if not less than 0.5, Keep the background application A i running in the background.
由上可知,本申请实施例提供的应用程序的处理方法,通过获取历史时间段内每一采样时间点样本应用程序的使用信息,然后确定每一采样时间点对应的时间周期和采样时段,再将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率。基于采样时段以及对应的样本使用概率生成训练样本,并输入到预设的混合高斯模型中进行模型训练,得到有多个训练后的子高斯模型组成的新的混合高斯模型。最后,利用新的混合高斯模型估计每个后台应用在目标时间下的使用概率,并根据得到的概率对相应的后台应用程序进行处理。该方案可降低电子设备终资源的占用,提升了电子设备的运行流畅度,减少了电子设备的功耗。It can be seen that the processing method of the application program provided by the embodiment of the present application obtains the usage information of the sample application at each sampling time point in the historical time period, and then determines the time period and the sampling period corresponding to each sampling time point, and then The usage information corresponding to the same sampling period in different time periods is processed to obtain a sample usage probability corresponding to the sample application in each sampling period. The training samples are generated based on the sampling period and the corresponding sample use probability, and are input into a preset mixed Gaussian model for model training, and a new mixed Gaussian model composed of a plurality of trained sub-Gaussian models is obtained. Finally, the new mixed Gaussian model is 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 the final resources of the electronic device, improve the running fluency of the electronic device, and reduce the power consumption of the electronic device.
在本申请又一实施例中,还提供一种应用程序的处理装置,该应用程序的处理装置可以软件或硬件的形式集成在电子设备中,该电子设备具体可以包括手机、平板电脑、笔记本电脑等设备。如图6所示,该应用程序的处理装置30可以包括接收模块31、确定模块32、接收模块33以及处理模块34,其中:In another embodiment of the present application, a processing device for an application is further provided. The processing device of the application may be integrated into the electronic device in the form of software or hardware, and the electronic device may specifically include a mobile phone, a tablet computer, and a notebook computer. And other equipment. As shown in FIG. 6, the processing device 30 of the application may include a receiving module 31, a determining module 32, a receiving module 33, and a processing module 34, where:
获取模块31,用于获取历史时间段内每一采样时间点样本应用程序的使用信息;The obtaining module 31 is configured to acquire usage information of the sample application at each sampling time point in the historical time period;
生成模块32,用于根据采样时间点和使用信息生成训练样本;a generating module 32, configured to generate a training sample according to the sampling time point and the usage information;
训练模块33,用于根据训练样本对预设的混合高斯模型进行训练;The training module 33 is configured to train the preset mixed Gaussian model according to the training sample;
处理模块34,用于基于训练后的混合高斯模型对电子设备中的后台应用程序进行处理。The processing module 34 is configured to process the background application in the electronic device based on the trained mixed Gaussian model.
在一些实施例中,历史时间段包括多个时间周期,每一时间周期划分为多个采样时段。 参考图7,生成模块32可以包括:In some embodiments, the historical time period includes a plurality of time periods, each time period being divided into a plurality of sampling periods. Referring to FIG. 7, the generating module 32 may include:
第一确定子模321,用于确定每一采样时间点对应的时间周期和采样时段,其中,每一时间周期内采样时间点与采样时段一一对应;The first determining submodule 321 is configured to determine a time period and a sampling period corresponding to each sampling time point, wherein the sampling time point corresponds to the sampling period one-to-one in each time period;
信息处理子模块322,用于将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率;The information processing sub-module 322 is configured to process the usage information corresponding to the same sampling period in different time periods to obtain a sample usage probability corresponding to the sample application in each sampling period;
生成子模块323,用于基于采样时段以及对应的样本使用概率生成训练样本。The generating submodule 323 is configured to generate a training sample based on the sampling period and the corresponding sample usage probability.
在一些实施例中,处理子模块322可以包括:In some embodiments, the processing sub-module 322 can include:
判断单元,用于判断使用信息是否满足预设条件;a determining unit, configured to determine whether the usage information meets a preset condition;
第一确定单元,用于确定每一样本应用在相同采样时段中对应的使用信息满足预设条件的采样时间点数量;a first determining unit, configured to determine, by each sample, a number of sampling time points that the corresponding usage information in the same sampling period meets the preset condition;
获取单元,用于获取每一样本应用在多个时间周期内使用信息满足预设条件的采样时间点总数量;An obtaining unit, configured to acquire a total number of sampling time points in which each sample application uses the information to satisfy the preset condition in multiple time periods;
计算单元,用于根据采样时间点数量和采样时间点总数量,计算每一样本应用程序在每一采样时段对应的样本使用概率。The calculating unit is configured to calculate, according to the number of sampling time points and the total number of sampling time points, a sample usage probability corresponding to each sample application period in each sampling period.
在一些实施例中,使用信息为样本应用程序的运行状态信息;判断单元可以用于:In some embodiments, the usage information is operational state information of the sample application; the determining unit can be used to:
判断运行状态是否为前台运行;Determine whether the running status is running in the foreground;
若是,则判定使用信息满足预设条件;If yes, it is determined that the usage information satisfies the preset condition;
若否,则判定使用信息不满足预设条件If not, it is determined that the usage information does not satisfy the preset condition
在一些实施例中,采样时段包括[t 1,t 2…t m],样本使用概率包括[P 1,P 2…P m];参考图8,训练模块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 ]; referring to FIG. 8 , the training module 33 may include:
输入子模块331,用于将采样时段及对应的样本使用概率输入至第一公式中,第一预设公式为:The input sub-module 331 is configured to input the sampling period and the corresponding sample usage probability into the first formula, where the first preset formula is:
Figure PCTCN2018102001-appb-000008
Figure PCTCN2018102001-appb-000008
其中,A i表示样本应用程序i,t表示采样时段,k表示子高斯模型数量,μ k表示数学期望,σ k表示方差,ω k表示权值,N(t|μ kk)表示随机变量t服从一个数学期望为μ k、方差为σ k的正态分布,P(t|A i)表示样本应用程序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 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 running state of the sample application i is the sampling period of the foreground running time is t;
训练子模块332,用于基于所输入的采样时段、样本使用概率,对第一预设公式进行训练,得到多个训练后的子高斯模型;The training sub-module 332 is configured to train the first preset formula based on the input sampling period and the sample usage probability to obtain a plurality of trained sub-Gauss models;
叠加子模块333,用于将多个训练后的子高斯模型叠加,以得到训练后的混合高斯模型。The superposition sub-module 333 is configured to superimpose the plurality of trained sub-Gaussian models to obtain the trained mixed Gaussian model.
在一些实施例中,每一应用程序对应有唯一训练后的混合高斯模型;参考图9,处理模块34可以包括:In some embodiments, each application corresponds to a uniquely trained mixed Gaussian model; with reference to Figure 9, the processing module 34 can include:
获取子模块341,用于获取应用程序处理指令;The obtaining submodule 341 is configured to acquire an application processing instruction;
第二确定子模块342,用于根据应用程序处理指令确定电子设备中的后台应用程序;a second determining submodule 342, configured to determine a background application in the electronic device according to the application processing instruction;
计算子模块343,用于基于每一应用程序所对应训练后的混合高斯模型,利用第二预设公式计算每一后台应用程序在目标时间的使用概率,第二预设公式为:The calculation sub-module 343 is configured to calculate the usage probability of each background application at the target time by using the second preset formula based on the mixed Gaussian model corresponding to each application, and the second preset formula is:
Figure PCTCN2018102001-appb-000009
Figure PCTCN2018102001-appb-000009
其中,T表示时间,N表示训练后的混合高斯模型的数量,P(A i|T)表示采样时段为T时前台运行的应用程序为应用程序i的概率,P(T|A i)表示样本应用程序i的运行状态为前台运行 时采样时段为T的概率,P(T|A j)表示应用程序j的运行状态为前台运行时采样时段为T的概率; Where T is the time, N is the number of mixed Gaussian models after training, and P(A i |T) is the probability that the application running in the foreground is the application i when the sampling period is T, and P(T|A i ) is expressed. The running state of the sample application i is the probability that the sampling period is T when the foreground is running, and P(T|A j ) indicates the probability that the running state of the application j is the sampling period of the foreground running time is T;
应用处理子模块344,用于根据使用概率对后台应用程序进行处理。The application processing sub-module 344 is configured to process the background application according to the usage probability.
在一些实施例中,应用处理子模块344可以包括:In some embodiments, the application processing sub-module 344 can 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;
关闭单元,用于关闭目标后台应用程序。Close the unit to close the target background application.
由上可知,本申请实施例提供的应用程序的处理装置,通过获取历史时间段内每一采样时间点样本应用程序的使用信息,根据采样时间点和使用信息生成训练样本,再根据训练样本对预设的混合高斯模型进行训练,基于训练后的混合高斯模型对电子设备中的后台应用程序进行处理。该方案可降低电子设备终资源的占用,提升了电子设备的运行流畅度,减少了电子设备的功耗。It can be seen that the processing device of the application program provided by the embodiment of the present application generates the training sample according to the sampling time point and the usage information by acquiring the usage information of the sample application at each sampling time point in the historical time period, and then according to the training sample pair. The preset mixed Gaussian model is trained, and the background application in the electronic device is processed based on the trained mixed Gaussian model. The solution can reduce the occupation of the final resources of the electronic device, improve the running fluency of the electronic device, and reduce the power consumption of the electronic device.
在本申请又一实施例中还提供一种电子设备,该电子设备可以是智能手机、平板电脑等设备。如图10所示,电子设备400包括处理器401及存储器402。其中,处理器401与存储器402电性连接。In another embodiment of the present application, an electronic device is further provided, and the electronic device may be a device such as a smart phone or a tablet computer. As shown in FIG. 10, 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 a control center of the electronic device 400, and connects various parts of the entire electronic device using various interfaces and lines, executes the electronic device by running or loading an application stored in the memory 402, and calling data stored in the memory 402. The various functions and processing of data to provide overall monitoring of the electronic device.
在本实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上的应用的进程对应的指令加载到存储器402中,并由处理器401来运行存储在存储器402中的应用,从而实现各种功能:In this embodiment, the processor 401 in the electronic device 400 loads the instructions corresponding to the process of one or more applications into the memory 402 according to the following steps, and is stored in the memory 402 by the processor 401. Application to achieve various functions:
获取历史时间段内每一采样时间点样本应用程序的使用信息;Obtaining usage information of the sample application at each sampling time point in the historical time period;
根据采样时间点和使用信息生成训练样本;Generating training samples based on sampling time points and usage information;
根据训练样本对预设的混合高斯模型进行训练;Training the preset mixed Gaussian model according to the training sample;
基于训练后的混合高斯模型对电子设备中的后台应用程序进行处理。The background application in the electronic device is processed based on the trained mixed Gaussian model.
在一些实施例中,历史时间段包括多个时间周期,每一时间周期划分为多个采样时段;处理器401进一步用于执行以下步骤:In some embodiments, the historical time period includes a plurality of time periods, each time period being divided into a plurality of sampling periods; the processor 401 is further configured to perform the following steps:
确定每一采样时间点对应的时间周期和采样时段,其中,每一时间周期内采样时间点与采样时段一一对应;Determining a time period and a sampling period corresponding to each sampling time point, wherein the sampling time point corresponds to the sampling period one-to-one in each time period;
将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率;The usage information corresponding to the same sampling period in different time periods is processed to obtain a sample usage probability corresponding to the sample application in each sampling period;
基于采样时段以及对应的样本使用概率生成训练样本。The training samples are generated based on the sampling period and the corresponding sample usage probability.
在一些实施例中,处理器401进一步用于执行以下步骤:In some embodiments, the processor 401 is further configured to perform the following steps:
判断使用信息是否满足预设条件;Determining whether the usage information satisfies a preset condition;
确定每一样本应用在相同采样时段中对应的使用信息满足预设条件的采样时间点数量;Determining, by each sample, the number of sampling time points in which the corresponding usage information in the same sampling period satisfies a preset condition;
获取每一样本应用在多个时间周期内使用信息满足预设条件的采样时间点总数量;Obtaining a total number of sampling time points for which each sample application uses information in a plurality of time periods to satisfy a preset condition;
根据采样时间点数量和采样时间点总数量,计算每一样本应用程序在每一采样时段对应的样本使用概率。The sample usage probability corresponding to each sample application period is calculated according to the number of sampling time points and the total number of sampling time points.
在一些实施例中,使用信息为样本应用程序的运行状态信息,处理器401进一步用于执行以下步骤:In some embodiments, the usage information is operational state information of the sample application, and the processor 401 is further configured to perform the following steps:
判断运行状态是否为前台运行;Determine whether the running status is running in the foreground;
若是,则判定使用信息满足预设条件;If yes, it is determined that the usage information satisfies the preset condition;
若否,则判定使用信息不满足预设条件。If not, it is determined that the usage information does not satisfy the preset condition.
在一些实施例中,采样时段包括[t 1,t 2…t m],样本使用概率包括[P 1,P 2…P m];处理器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 formula, and the first preset formula is:
Figure PCTCN2018102001-appb-000010
Figure PCTCN2018102001-appb-000010
其中,Ai表示样本应用程序i,t表示采样时段,k表示子高斯模型数量,μk表示数学期望,σk表示方差,ωk表示权值,N(t|μk,σk)表示随机变量t服从一个数学期望为μk、方差为σk的正态分布,P(t|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为t的概率;Where Ai 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 random variable t obeys a mathematics It is expected that the normal distribution is μk and the variance is σk, and P(t|Ai) represents the probability that the running state of the sample application i is the sampling period of the foreground running time is t;
基于所输入的采样时段、样本使用概率,对第一预设公式进行训练,得到多个训练后的子高斯模型;The first preset formula is trained based on the input sampling period and the sample usage probability to obtain a plurality of trained sub-Gauss models;
将多个训练后的子高斯模型叠加,以得到训练后的混合高斯模型。A plurality of trained sub-Gaussian models are superimposed to obtain a mixed Gaussian model after training.
在一些实施例中,每一应用程序对应有唯一训练后的混合高斯模型;处理器401进一步用于执行以下步骤:In some embodiments, each application corresponds to a uniquely trained mixed Gaussian model; the processor 401 is further configured to perform the following steps:
获取应用程序处理指令;Obtain application processing instructions;
根据应用程序处理指令确定电子设备中的后台应用程序;Determining a background application in the electronic device according to the application processing instruction;
基于每一应用程序所对应训练后的混合高斯模型,利用第二预设公式计算每一后台应用程序在目标时间的使用概率,第二预设公式为:Based on the trained mixed Gaussian model of each application, the second preset formula is used to calculate the usage probability of each background application at the target time. The second preset formula is:
Figure PCTCN2018102001-appb-000011
Figure PCTCN2018102001-appb-000011
其中,T表示时间,N表示训练后的混合高斯模型的数量,P(Ai|T)表示采样时段为T时前台运行的应用程序为应用程序i的概率,P(T|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为T的概率,P(T|Aj)表示应用程序j的运行状态为前台运行时采样时段为T的概率;Where T is the time, N is the number of mixed Gaussian models after training, P(Ai|T) is the probability that the application running in the foreground is the application i when the sampling period is T, and P(T|Ai) is the sample application. The running state of the program i is the probability that the sampling period is T when the foreground is running, and P(T|Aj) indicates the probability that the running state of the application j is the sampling period of the foreground running time is T;
根据使用概率对后台应用程序进行处理。The background application is processed according to the probability of use.
在一些实施例中,处理器401进一步用于执行以下步骤:In some embodiments, the processor 401 is further configured to perform the following steps:
从当前后台应用程序中确定使用概率小于预设阈值的目标后台应用程序;Determining a target background application whose usage probability is less than a preset threshold from the current background application;
关闭目标后台应用程序。Close the target background app.
存储器402可用于存储应用和数据。存储器402存储的应用中包含有可在处理器中执行的指令。应用可以组成各种功能模块。处理器401通过运行存储在存储器402的应用,从而执行各种功能应用以及数据处理。 Memory 402 can be used to store applications and data. The application stored in memory 402 contains instructions that are executable in the processor. Applications can form various functional modules. The processor 401 executes various functional applications and data processing by running an application stored in the memory 402.
在一些实施例中,如图11所示,电子设备400还包括:显示屏403、控制电路404、射频电路405、输入单元406、音频电路407、传感器408以及电源409。其中,处理器401分别与显示屏403、控制电路404、射频电路405、输入单元406、音频电路407、传感器408以及电源409电性连接。In some embodiments, as shown in FIG. 11, 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 source 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 source 409, respectively.
显示屏403可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图像、文本、图标、视频和其任意组合来构成。The display screen 403 can be used to display information entered by the user or information provided to the user as well as various graphical user interfaces of the electronic device, which can be composed of images, text, icons, video, 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 configured to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
输入单元406可用于接收输入的数字、字符信息或用户特征信息(例如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。其中, 输入单元406可以包括指纹识别模组。The input unit 406 can be configured to receive input digits, character information, or user characteristic information (eg, fingerprints), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function controls. The input unit 406 can include a fingerprint identification module.
音频电路407可通过扬声器、传声器提供用户与电子设备之间的音频接口。The audio circuit 407 can provide an audio interface between the user and the electronic device through a speaker and a microphone.
传感器408用于采集外部环境信息。传感器408可以包括环境亮度传感器、加速度传感器、光传感器、运动传感器、以及其他传感器。 Sensor 408 is used to collect external environmental information. Sensor 408 can include ambient brightness sensors, acceleration sensors, light sensors, motion sensors, and other sensors.
电源409用于给电子设备400的各个部件供电。在一些实施例中,电源409可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。 Power source 409 is used to power various components of electronic device 400. In some embodiments, the power supply 409 can be logically coupled to the processor 401 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
尽管图11中未示出,电子设备400还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 11, the electronic device 400 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
由上可知,本申请实施例提供的电子设备,通过获取历史时间段内每一采样时间点样本应用程序的使用信息,根据采样时间点和使用信息生成训练样本,再根据训练样本对预设的混合高斯模型进行训练,基于训练后的混合高斯模型对电子设备中的后台应用程序进行处理。该方案可降低电子设备终资源的占用,提升了电子设备的运行流畅度,减少了电子设备的功耗。It can be seen that the electronic device provided by the embodiment of the present application generates the training sample according to the sampling time point and the usage information by acquiring the usage information of the sample application at each sampling time point in the historical time period, and then presets according to the training sample. The mixed Gaussian model is trained to process the background application in the electronic device based on the trained mixed Gaussian model. The solution can reduce the occupation of the final resources of the electronic device, improve the running fluency of the electronic device, and reduce the power consumption of the electronic device.
在一些实施例中,还提供了一种存储介质,该存储介质中存储有多条指令,该指令适于由处理器加载以执行上述任一应用程序的处理方法。例如,所存储的多条指令适于由处理器加载以执行以下步骤:In some embodiments, a storage medium is also provided having stored therein a plurality of instructions adapted to be loaded by a processor to perform a processing method of any of the applications described above. For example, the stored plurality of instructions are adapted to be loaded by the processor to perform the following steps:
获取历史时间段内每一采样时间点样本应用程序的使用信息;Obtaining usage information of the sample application at each sampling time point in the historical time period;
根据所述采样时间点和所述使用信息生成训练样本;Generating a training sample according to the sampling time point and the usage information;
根据所述训练样本对预设的混合高斯模型进行训练;Training a preset mixed Gaussian model according to the training sample;
基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理。The background application in the electronic device is processed based on the trained mixed Gaussian model.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
在描述本申请的概念的过程中使用了术语“一”和“所述”以及类似的词语(尤其是在所附的权利要求书中),应该将这些术语解释为既涵盖单数又涵盖复数。此外,除非本文中另有说明,否则在本文中叙述数值范围时仅仅是通过快捷方法来指代属于相关范围的每个独立的值,而每个独立的值都并入本说明书中,就像这些值在本文中单独进行了陈述一样。另外,除非本文中另有指明或上下文有明确的相反提示,否则本文中所述的所有方法的步骤都可以按任何适当次序加以执行。本申请的改变并不限于描述的步骤顺序。除非另外主张,否则使用本文中所提供的任何以及所有实例或示例性语言(例如,“例如”)都仅仅为了更好地说明本申请的概念,而并非对本申请的概念的范围加以限制。在不脱离精神和范围的情况下,所属领域的技术人员将易于明白多种修改和适应。The terms "a", "an", "the", and "the" In addition, unless otherwise stated herein, the recitation of numerical ranges herein is merely referring to each of the individual These values are stated separately in this article. In addition, the steps of all methods described herein can be performed in any suitable order unless otherwise indicated herein or otherwise indicated. Changes to the application are not limited to the sequence of steps described. The use of any and all examples or exemplary language, such as "a" Numerous modifications and adaptations will be apparent to those skilled in the art without departing from the scope of the invention.
以上对本申请实施例所提供的应用程序的处理方法、装置、存储介质及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The processing method, device, storage medium and electronic device of the application program provided by the embodiments of the present application are described in detail. The principles and implementation manners of the application are described in the specific examples. The description of the above embodiments is only The method for understanding the present application and its core idea; at the same time, those skilled in the art, according to the idea of the present application, there will be changes in the specific embodiment and the scope of application, in summary, the present specification The content should not be construed as limiting the application.

Claims (20)

  1. 一种应用程序的处理方法,应用于电子设备,其中,所述方法包括:An application processing method is applied to an electronic device, wherein the method includes:
    获取历史时间段内每一采样时间点样本应用程序的使用信息;Obtaining usage information of the sample application at each sampling time point in the historical time period;
    根据所述采样时间点和所述使用信息生成训练样本;Generating a training sample according to the sampling time point and the usage information;
    根据所述训练样本对预设的混合高斯模型进行训练;Training a preset mixed Gaussian model according to the training sample;
    基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理。The background application in the electronic device is processed based on the trained mixed Gaussian model.
  2. 如权利要求1所述的应用程序的处理方法,其中,所述历史时间段包括多个时间周期,每一时间周期划分为多个采样时段;The processing method of an application program according to claim 1, wherein the historical time period comprises a plurality of time periods, each time period being divided into a plurality of sampling periods;
    根据所述采样时间点和所述使用信息生成训练样本的步骤,包括:The step of generating a training sample according to the sampling time point and the usage information includes:
    确定每一采样时间点对应的时间周期和采样时段,其中,每一时间周期内采样时间点与采样时段一一对应;Determining a time period and a sampling period corresponding to each sampling time point, wherein the sampling time point corresponds to the sampling period one-to-one in each time period;
    将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率;The usage information corresponding to the same sampling period in different time periods is processed to obtain a sample usage probability corresponding to the sample application in each sampling period;
    基于采样时段以及对应的样本使用概率生成训练样本。The training samples are generated based on the sampling period and the corresponding sample usage probability.
  3. 如权利要求2所述的应用程序的处理方法,其中,将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率的步骤,包括:The processing method of the application program according to claim 2, wherein 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 comprises:
    判断所述使用信息是否满足预设条件;Determining whether the usage information meets a preset condition;
    确定每一样本应用在相同采样时段中对应的使用信息满足预设条件的采样时间点数量;Determining, by each sample, the number of sampling time points in which the corresponding usage information in the same sampling period satisfies a preset condition;
    获取每一样本应用在多个时间周期内使用信息满足预设条件的采样时间点总数量;Obtaining a total number of sampling time points for which each sample application uses information in a plurality of time periods to satisfy a preset condition;
    根据所述采样时间点数量和所述采样时间点总数量,计算每一样本应用程序在每一采样时段对应的样本使用概率。A sample usage probability corresponding to each sample application period is calculated according to the number of sampling time points and the total number of sampling time points.
  4. 如权利要求3所述的应用程序的处理方法,其中,所述使用信息为样本应用程序的运行状态信息;判断所述使用信息是否满足预设条件的步骤,包括:The processing method of the application program according to claim 3, wherein the usage information is operation state information of the sample application; and the step of determining whether the usage information satisfies a preset condition comprises:
    判断所述运行状态是否为前台运行;Determining whether the running state is running in the foreground;
    若是,则判定所述使用信息满足预设条件;If yes, determining that the usage information meets a preset condition;
    若否,则判定所述使用信息不满足预设条件。If not, it is determined that the usage information does not satisfy the preset condition.
  5. 如权利要求2所述的应用程序的处理方法,其中,所述采样时段包括[t 1,t 2…t m],所述样本使用概率包括[P 1,P 2…P m]; The processing method of an application according to claim 2, wherein said sampling period includes [t 1 , t 2 ... t m ], and said sample use probability includes [P 1 , P 2 ... P m ];
    根据所述训练样本对预设的混合高斯模型进行训练的步骤,包括:The step of training the preset mixed Gaussian model according to the training sample includes:
    将所述采样时段及对应的样本使用概率输入至第一公式中,所述第一预设公式为:Inputting the sampling period and the corresponding sample usage probability into the first formula, where the first preset formula is:
    Figure PCTCN2018102001-appb-100001
    Figure PCTCN2018102001-appb-100001
    其中,Ai表示样本应用程序i,t表示采样时段,k表示子高斯模型数量,μk表示数学期望,σk表示方差,ωk表示权值,N(t|μk,σk)表示随机变量t服从一个数学期望为μk、方差为σk的正态分布,P(t|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为t的概率;Where Ai 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 random variable t obeys a mathematics It is expected that the normal distribution is μk and the variance is σk, and P(t|Ai) represents the probability that the running state of the sample application i is the sampling period of the foreground running time is t;
    基于所输入的采样时段、样本使用概率,对所述第一预设公式进行训练,得到多个训练后的子高斯模型;And training the first preset formula to obtain a plurality of trained sub-Gaussian models based on the input sampling period and the sample usage probability;
    将多个训练后的子高斯模型叠加,以得到训练后的混合高斯模型。A plurality of trained sub-Gaussian models are superimposed to obtain a mixed Gaussian model after training.
  6. 如权利要求5所述的应用程序的处理方法,其中,每一应用程序对应有唯一训练后的混合高斯模型;The processing method of an application according to claim 5, wherein each application corresponds to a uniquely trained mixed Gaussian model;
    基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理的步骤,包括:The step of processing the background application in the electronic device based on the trained mixed Gaussian model includes:
    获取应用程序处理指令;Obtain application processing instructions;
    根据所述应用程序处理指令确定所述电子设备中的后台应用程序;Determining a background application in the electronic device according to the application processing instruction;
    基于每一应用程序所对应训练后的混合高斯模型,利用第二预设公式计算每一后台应用程序在目标时间的使用概率,所述第二预设公式为:The usage probability of each background application at the target time is calculated by using the second preset formula based on the mixed Gaussian model corresponding to each application, and the second preset formula is:
    Figure PCTCN2018102001-appb-100002
    Figure PCTCN2018102001-appb-100002
    其中,T表示时间,N表示训练后的混合高斯模型的数量,P(Ai|T)表示采样时段为T时前台运行的应用程序为应用程序i的概率,P(T|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为T的概率,P(T|Aj)表示应用程序j的运行状态为前台运行时采样时段为T的概率;Where T is the time, N is the number of mixed Gaussian models after training, P(Ai|T) is the probability that the application running in the foreground is the application i when the sampling period is T, and P(T|Ai) is the sample application. The running state of the program i is the probability that the sampling period is T when the foreground is running, and P(T|Aj) indicates the probability that the running state of the application j is the sampling period of the foreground running time is T;
    根据所述使用概率对后台应用程序进行处理。The background application is processed according to the usage probability.
  7. 如权利要求6所述的应用程序的处理方法,其中,根据所述使用概率对后台应用程序进行处理的步骤,包括:The processing method of the application program according to claim 6, wherein the step of processing the background application according to the usage probability comprises:
    从当前后台应用程序中确定使用概率小于预设阈值的目标后台应用程序;Determining a target background application whose usage probability is less than a preset threshold from the current background application;
    关闭所述目标后台应用程序。Close the target background application.
  8. 一种应用程序的处理装置,其中,所述装置包括:An application processing device, wherein the device comprises:
    获取模块,用于获取历史时间段内每一采样时间点样本应用程序的使用信息;An obtaining module, configured to acquire usage information of a sample application at each sampling time point in a historical time period;
    生成模块,用于根据所述采样时间点和所述使用信息生成训练样本;a generating module, configured to generate a training sample according to the sampling time point and the usage information;
    训练模块,用于根据所述训练样本对预设的混合高斯模型进行训练;a training module, configured to train the preset mixed Gaussian model according to the training sample;
    处理模块,用于基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理。And a processing module, configured to process a background application in the electronic device based on the trained mixed Gaussian model.
  9. 如权利要求8所述的应用程序的处理装置,其中,所述历史时间段包括多个时间周期,每一时间周期划分为多个采样时段;The processing device of the application according to claim 8, wherein the historical time period comprises a plurality of time periods, each time period being divided into a plurality of sampling periods;
    所述生成模块包括:The generating module includes:
    第一确定子模块,用于确定每一采样时间点对应的时间周期和采样时段,其中,每一时间周期内采样时间点与采样时段一一对应;a first determining submodule, configured to determine a time period and a sampling period corresponding to each sampling time point, wherein the sampling time point corresponds to the sampling period one-to-one in each time period;
    信息处理子模块,用于将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率;An information processing sub-module, configured to process usage information corresponding to the same sampling period in different time periods, to obtain a sample usage probability corresponding to the sample application in each sampling period;
    生成子模块,用于基于采样时段以及对应的样本使用概率生成训练样本。Generating a sub-module for generating a training sample based on the sampling period and the corresponding sample usage probability.
  10. 如权利要求9所述的应用程序的处理装置,其中,所述处理子模块包括:The processing device of the application of claim 9, wherein the processing sub-module comprises:
    判断单元,用于判断所述使用信息是否满足预设条件;a determining unit, configured to determine whether the usage information meets a preset condition;
    第一确定单元,用于确确定每一样本应用在相同采样时段中对应的使用信息满足预设条件的采样时间点数量;a first determining unit, configured to determine, by using each sample, a number of sampling time points in which the corresponding usage information in the same sampling period meets the preset condition;
    获取单元,用于获取每一样本应用在多个时间周期内使用信息满足预设条件的采样时间点总数量;An obtaining unit, configured to acquire a total number of sampling time points in which each sample application uses the information to satisfy the preset condition in multiple time periods;
    计算单元,用于根据所述采样时间点数量和所述采样时间点总数量,计算每一样本应用程序在每一采样时段对应的样本使用概率。And a calculating unit, configured to calculate, according to the number of sampling time points and the total number of sampling time points, a sample usage probability corresponding to each sample application period in each sampling period.
  11. 如权利要求10所述的应用程序的处理装置,其中,所述使用信息为样本应用程序的运行状态信息;所述判断单元用于:The processing device of the application according to claim 10, wherein the usage information is operating state information of the sample application; the determining unit is configured to:
    判断所述运行状态是否为前台运行;Determining whether the running state is running in the foreground;
    若是,则判定所述使用信息满足预设条件;If yes, determining that the usage information meets a preset condition;
    若否,则判定所述使用信息不满足预设条件If not, it is determined that the usage information does not satisfy the preset condition
  12. 如权利要求9所述的应用程序的处理装置,其中,所述采样时段包括[t 1,t 2…t m],所述样本使用概率包括[P 1,P 2…P m];所述训练模块包括: The processing device of an application according to claim 9, wherein said sampling period includes [t 1 , t 2 ... t m ], and said sample use probability includes [P 1 , P 2 ... P m ]; The training module includes:
    输入子模块,用于将所述采样时段及对应的样本使用概率输入至第一公式中,所述第一预设公式为:The input submodule is configured to input the sampling period and the corresponding sample usage probability into the first formula, where the first preset formula is:
    Figure PCTCN2018102001-appb-100003
    Figure PCTCN2018102001-appb-100003
    其中,Ai表示样本应用程序i,t表示采样时段,k表示子高斯模型数量,μk表示数学期望,σk表示方差,ωk表示权值,N(t|μk,σk)表示随机变量t服从一个数学期望为μk、方差为σk的正态分布,P(t|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为t的概率;Where Ai 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 random variable t obeys a mathematics It is expected that the normal distribution is μk and the variance is σk, and P(t|Ai) represents the probability that the running state of the sample application i is the sampling period of the foreground running time is t;
    训练子模块,用于基于所输入的采样时段、样本使用概率,对所述第一预设公式进行训练,得到多个训练后的子高斯模型;a training sub-module, configured to train the first preset formula based on the input sampling period and the sample usage probability to obtain a plurality of trained sub-Gauss models;
    叠加子模块,用于将多个训练后的子高斯模型叠加,以得到训练后的混合高斯模型。The superposition sub-module is used to superimpose a plurality of trained sub-Gaussian models to obtain a mixed Gaussian model after training.
  13. 如权利要求12所述的应用程序的处理装置,其中,每一应用程序对应有唯一训练后的混合高斯模型;所述处理模块包括:The processing device of the application according to claim 12, wherein each application corresponds to a uniquely trained mixed Gaussian model; and the processing module comprises:
    获取子模块,用于获取应用程序处理指令;Obtaining a submodule for obtaining an application processing instruction;
    第二确定子模块,用于根据所述应用程序处理指令确定所述电子设备中的后台应用程序;a second determining submodule, configured to determine, according to the application processing instruction, a background application in the electronic device;
    计算子模块,用于基于每一应用程序所对应训练后的混合高斯模型,利用第二预设公式计算每一后台应用程序在目标时间的使用概率,所述第二预设公式为:The calculation sub-module is configured to calculate a usage probability of each background application at a target time by using a second preset formula based on the mixed Gaussian model corresponding to each application, and the second preset formula is:
    Figure PCTCN2018102001-appb-100004
    Figure PCTCN2018102001-appb-100004
    其中,T表示时间,N表示训练后的混合高斯模型的数量,P(Ai|T)表示采样时段为T时前台运行的应用程序为应用程序i的概率,P(T|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为T的概率,P(T|Aj)表示应用程序j的运行状态为前台运行时采样时段为T的概率;Where T is the time, N is the number of mixed Gaussian models after training, P(Ai|T) is the probability that the application running in the foreground is the application i when the sampling period is T, and P(T|Ai) is the sample application. The running state of the program i is the probability that the sampling period is T when the foreground is running, and P(T|Aj) indicates the probability that the running state of the application j is the sampling period of the foreground running time is T;
    应用处理子模块,用于根据所述使用概率对后台应用程序进行处理。An application processing submodule is configured to process the background application according to the usage probability.
  14. 如权利要求13所述的应用程序的处理装置,其中,所述应用处理子模块包括:The processing device of the application of claim 13, wherein the application processing sub-module comprises:
    第二确定单元,用于从当前后台应用程序中确定使用概率小于预设阈值的目标后台应用程序;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;
    关闭单元,用于关闭所述目标后台应用程序。A close unit that closes the target background application.
  15. 一种存储介质,其中,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行以下步骤:A storage medium, wherein the storage medium stores a plurality of instructions adapted to be loaded by a processor to perform the following steps:
    获取历史时间段内每一采样时间点样本应用程序的使用信息;Obtaining usage information of the sample application at each sampling time point in the historical time period;
    根据所述采样时间点和所述使用信息生成训练样本;Generating a training sample according to the sampling time point and the usage information;
    根据所述训练样本对预设的混合高斯模型进行训练;Training a preset mixed Gaussian model according to the training sample;
    基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理。The background application in the electronic device is processed based on the trained mixed Gaussian model.
  16. 一种电子设备,其中,包括处理器及存储器,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据;所述处理器用于执行以下步骤:An electronic device, comprising a processor and a memory, the processor being electrically connected to the memory, the memory for storing instructions and data; the processor for performing the following steps:
    获取历史时间段内每一采样时间点样本应用程序的使用信息;Obtaining usage information of the sample application at each sampling time point in the historical time period;
    根据所述采样时间点和所述使用信息生成训练样本;Generating a training sample according to the sampling time point and the usage information;
    根据所述训练样本对预设的混合高斯模型进行训练;Training a preset mixed Gaussian model according to the training sample;
    基于训练后的混合高斯模型对所述电子设备中的后台应用程序进行处理。The background application in the electronic device is processed based on the trained mixed Gaussian model.
  17. 如权利要求16所述的电子设备,其中,所述历史时间段包括多个时间周期,每一时间周期划分为多个采样时段;The electronic device of claim 16, wherein the historical time period comprises a plurality of time periods, each time period being divided into a plurality of sampling periods;
    在根据所述采样时间点和所述使用信息生成训练样本时,处理器用于执行以下步骤:The processor is configured to perform the following steps when generating the training samples according to the sampling time point and the usage information:
    确定每一采样时间点对应的时间周期和采样时段,其中,每一时间周期内采样时间点与采样时段一一对应;Determining a time period and a sampling period corresponding to each sampling time point, wherein the sampling time point corresponds to the sampling period one-to-one in each time period;
    将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率;The usage information corresponding to the same sampling period in different time periods is processed to obtain a sample usage probability corresponding to the sample application in each sampling period;
    基于采样时段以及对应的样本使用概率生成训练样本。The training samples are generated based on the sampling period and the corresponding sample usage probability.
  18. 如权利要求17所述的电子设备,其中,在将不同时间周期中相同采样时段对应的使用信息进行处理,得到样本应用程序在每一采样时段对应的样本使用概率时,处理器用于执行以下步骤:The electronic device according to claim 17, wherein the processor is configured to perform the following steps when the usage information corresponding to the same sampling period in different time periods is processed to obtain a sample usage probability corresponding to the sample application in each sampling period. :
    判断所述使用信息是否满足预设条件;Determining whether the usage information meets a preset condition;
    确定每一样本应用在相同采样时段中对应的使用信息满足预设条件的采样时间点数量;Determining, by each sample, the number of sampling time points in which the corresponding usage information in the same sampling period satisfies a preset condition;
    获取每一样本应用在多个时间周期内使用信息满足预设条件的采样时间点总数量;Obtaining a total number of sampling time points for which each sample application uses information in a plurality of time periods to satisfy a preset condition;
    根据所述采样时间点数量和所述采样时间点总数量,计算每一样本应用程序在每一采样时段对应的样本使用概率。A sample usage probability corresponding to each sample application period is calculated according to the number of sampling time points and the total number of sampling time points.
  19. 如权利要求18所述的应用程序的处理方法,其中,所述使用信息为样本应用程序的运行状态信息;在判断所述使用信息是否满足预设条件时,处理器用于执行以下步骤:The processing method of the application program according to claim 18, wherein the usage information is operation state information of the sample application; and when determining whether the usage information satisfies a preset condition, the processor is configured to perform the following steps:
    判断所述运行状态是否为前台运行;Determining whether the running state is running in the foreground;
    若是,则判定所述使用信息满足预设条件;If yes, determining that the usage information meets a preset condition;
    若否,则判定所述使用信息不满足预设条件。If not, it is determined that the usage information does not satisfy the preset condition.
  20. 如权利要求17所述的电子设备,其中,所述采样时段包括[t 1,t 2…t m],所述样本使用概率包括[P 1,P 2…P m]; The electronic device of claim 17, wherein the sampling period comprises [t 1 , t 2 ... t m ], and the sample usage probability comprises [P 1 , P 2 ... P m ];
    在根据所述训练样本对预设的混合高斯模型进行训练时,处理器用于执行以下步骤:When training the preset mixed Gaussian model according to the training sample, the processor is configured to perform the following steps:
    将所述采样时段及对应的样本使用概率输入至第一公式中,所述第一预设公式为:Inputting the sampling period and the corresponding sample usage probability into the first formula, where the first preset formula is:
    Figure PCTCN2018102001-appb-100005
    Figure PCTCN2018102001-appb-100005
    其中,Ai表示样本应用程序i,t表示采样时段,k表示子高斯模型数量,μk表示数学期望,σk表示方差,ωk表示权值,N(t|μk,σk)表示随机变量t服从一个数学期望为μk、方差为σk的正态分布,P(t|Ai)表示样本应用程序i的运行状态为前台运行时采样时段为t的概率;Where Ai 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 random variable t obeys a mathematics It is expected that the normal distribution is μk and the variance is σk, and P(t|Ai) represents the probability that the running state of the sample application i is the sampling period of the foreground running time is t;
    基于所输入的采样时段、样本使用概率,对所述第一预设公式进行训练,得到多个训练后的子高斯模型;And training the first preset formula to obtain a plurality of trained sub-Gaussian models based on the input sampling period and the sample usage probability;
    将多个训练后的子高斯模型叠加,以得到训练后的混合高斯模型。A plurality of trained sub-Gaussian models are superimposed to obtain a mixed Gaussian model after training.
PCT/CN2018/102001 2017-09-30 2018-08-23 Application program processing method and apparatus, storage medium, and electronic device WO2019062404A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710939548.6 2017-09-30
CN201710939548.6A CN107728772B (en) 2017-09-30 2017-09-30 Application processing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
WO2019062404A1 true WO2019062404A1 (en) 2019-04-04

Family

ID=61208678

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/102001 WO2019062404A1 (en) 2017-09-30 2018-08-23 Application program processing method and apparatus, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN107728772B (en)
WO (1) WO2019062404A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107728772B (en) * 2017-09-30 2020-05-12 Oppo广东移动通信有限公司 Application processing method and device, storage medium and electronic equipment
CN109461231B (en) * 2018-10-15 2021-07-23 珠海格力电器股份有限公司 Door lock control method and device, control equipment and readable storage medium
CN113439253B (en) * 2019-04-12 2023-08-22 深圳市欢太科技有限公司 Application cleaning method and device, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077224A (en) * 2011-12-30 2013-05-01 微软公司 Method and system for forecasting motion of device based on context
CN104423532A (en) * 2013-09-06 2015-03-18 中国移动通信集团公司 Power supply management method, device and system of mobile terminal
CN107003929A (en) * 2014-12-12 2017-08-01 高通股份有限公司 The application of machine learning on isomery nuclear equipment is characterized
CN107632697A (en) * 2017-09-30 2018-01-26 广东欧珀移动通信有限公司 Processing method, device, storage medium and the electronic equipment of application program
CN107678858A (en) * 2017-09-30 2018-02-09 广东欧珀移动通信有限公司 application processing method, device, storage medium and electronic equipment
CN107728772A (en) * 2017-09-30 2018-02-23 广东欧珀移动通信有限公司 Processing method, device, storage medium and the electronic equipment of application program
CN107943583A (en) * 2017-11-14 2018-04-20 广东欧珀移动通信有限公司 Processing method, device, storage medium and the electronic equipment of application program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891916B (en) * 2011-07-18 2016-01-20 中兴通讯股份有限公司 A kind of method and mobile terminal predicting user operation
CN102521041B (en) * 2011-12-14 2014-10-08 华为终端有限公司 Method for processing application program and wireless handheld device
CN107133094B (en) * 2017-06-05 2021-11-02 努比亚技术有限公司 Application management method, mobile terminal and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077224A (en) * 2011-12-30 2013-05-01 微软公司 Method and system for forecasting motion of device based on context
CN104423532A (en) * 2013-09-06 2015-03-18 中国移动通信集团公司 Power supply management method, device and system of mobile terminal
CN107003929A (en) * 2014-12-12 2017-08-01 高通股份有限公司 The application of machine learning on isomery nuclear equipment is characterized
CN107632697A (en) * 2017-09-30 2018-01-26 广东欧珀移动通信有限公司 Processing method, device, storage medium and the electronic equipment of application program
CN107678858A (en) * 2017-09-30 2018-02-09 广东欧珀移动通信有限公司 application processing method, device, storage medium and electronic equipment
CN107728772A (en) * 2017-09-30 2018-02-23 广东欧珀移动通信有限公司 Processing method, device, storage medium and the electronic equipment of application program
CN107943583A (en) * 2017-11-14 2018-04-20 广东欧珀移动通信有限公司 Processing method, device, storage medium and the electronic equipment of application program

Also Published As

Publication number Publication date
CN107728772A (en) 2018-02-23
CN107728772B (en) 2020-05-12

Similar Documents

Publication Publication Date Title
WO2019062405A1 (en) Application program processing method and apparatus, storage medium, and electronic device
CN107678845B (en) Application program control method and device, storage medium and electronic equipment
CN107943583B (en) Application processing method and device, storage medium and electronic equipment
CN107678803B (en) Application control method and device, storage medium and electronic equipment
CN107577522B (en) Application control method, device, storage medium and electronic equipment
CN108337358B (en) Application cleaning method and device, storage medium and electronic equipment
US11748452B2 (en) Method for data processing by performing different non-linear combination processing
CN110741387B (en) Face recognition method and device, storage medium and electronic equipment
WO2019062342A1 (en) Background application cleaning method and apparatus, and storage medium and electronic device
US11422831B2 (en) Application cleaning method, storage medium and electronic device
WO2019062369A1 (en) Application management method and apparatus, storage medium, and electronic device
WO2019062404A1 (en) Application program processing method and apparatus, storage medium, and electronic device
CN109961032A (en) Method and apparatus for generating disaggregated model
CN105468161A (en) Instruction execution method and device
WO2019062462A1 (en) Application control method and apparatus, storage medium and electronic device
CN113051465A (en) Push method and device for optimization strategy, server and storage medium
WO2019085754A1 (en) Application cleaning method and apparatus, and storage medium and electronic device
CN107943570B (en) Application management method and device, storage medium and electronic equipment
CN112084959A (en) Crowd image processing method and device
CN115271931A (en) Credit card product recommendation method and device, electronic equipment and medium
CN111984803B (en) Multimedia resource processing method and device, computer equipment and storage medium
CN107729144B (en) Application control method and device, storage medium and electronic equipment
CN113055423B (en) Policy pushing method, policy execution method, device, equipment and medium
CN107122464A (en) A kind of aid decision-making system and method
CN111538852A (en) Multimedia resource processing method, device, storage medium and equipment

Legal Events

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

Ref document number: 18861906

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18861906

Country of ref document: EP

Kind code of ref document: A1