CN107729087B - Background application method for cleaning, device, storage medium and electronic equipment - Google Patents
Background application method for cleaning, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN107729087B CN107729087B CN201711045112.9A CN201711045112A CN107729087B CN 107729087 B CN107729087 B CN 107729087B CN 201711045112 A CN201711045112 A CN 201711045112A CN 107729087 B CN107729087 B CN 107729087B
- Authority
- CN
- China
- Prior art keywords
- sample
- application
- always
- distance
- characteristic information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the present application discloses a kind of background application method for cleaning, device, storage medium and electronic equipment, wherein background application method for cleaning includes: the multidimensional characteristic information of acquisition applications as sample, and the sample for constructing the application always collects;Acquisition time stamp is added for each sample that the sample is always concentrated;The sample is always collected and is trained, each acquisition time is obtained and stabs corresponding sample set;When the application enters backstage, the current characteristic information of the application is predicted using current time stamp corresponding sample set, and is determined whether to clear up the application according to prediction result.The embodiment of the present application can be improved the operation fluency of electronic equipment, reduce power consumption.
Description
Technical field
This application involves fields of communication technology, and in particular to a kind of background application method for cleaning, device, storage medium and electricity
Sub- equipment.
Background technique
Currently, on the electronic equipments such as smart phone, it will usually the application of multiple and different functions is installed, to solve user not
Same demand.The system of electronic equipment supports multiple applications while running that is, one is applied in front stage operation, and other application can at present
In running background.If not clearing up the application of running background for a long time, the free memory that will lead to electronic equipment becomes smaller, in
Central processor (central processing unit, CPU) occupancy is excessively high, causes electronic equipment the speed of service occur slack-off,
The problems such as Caton, power consumption is too fast.It solves the above problems therefore, it is necessary to provide a kind of method.
Summary of the invention
It is set in view of this, the embodiment of the present application provides a kind of background application method for cleaning, device, storage medium and electronics
It is standby, it can be improved the operation fluency of electronic equipment, reduce power consumption.
In a first aspect, background application method for cleaning provided by the embodiments of the present application, comprising:
As sample, the sample for constructing the application always collects the multidimensional characteristic information of acquisition applications;
Acquisition time stamp is added for each sample that the sample is always concentrated;
The sample is always collected and is trained, each acquisition time is obtained and stabs corresponding sample set;
When the application enters backstage, using the corresponding sample set of current time stamp to the current signature of the application
Information is predicted, and is determined whether to clear up the application according to prediction result.
Second aspect, background application cleaning plant provided by the embodiments of the present application, comprising:
Acquisition unit, as sample, the sample for constructing the application always collects the multidimensional characteristic information for acquisition applications;
Adding unit, each sample addition acquisition time stamp for always being concentrated for the sample;
Training unit is trained for always collecting to the sample, is obtained each acquisition time and is stabbed corresponding sample set;
Predicting unit, for when the application enters backstage, using the corresponding sample set of current time stamp to described
The current characteristic information of application is predicted, and is determined whether to clear up the application according to prediction result.
The third aspect, storage medium provided by the embodiments of the present application, is stored thereon with computer program, when the computer
When program is run on computers, so that the background application that the computer is executed as described in the embodiment of the present application first aspect is clear
Reason method.
Fourth aspect, electronic equipment provided by the embodiments of the present application, including processor and memory, the memory have meter
Calculation machine program, which is characterized in that the processor is by calling the computer program, for executing such as the embodiment of the present application the
Background application method for cleaning described in one side.
In the embodiment of the present application, by the multidimensional characteristic information of acquisition applications as sample, the sample of the application is constructed
Total collection, and each sample always concentrated for the sample adds acquisition time stamp, then always collects to the sample and is trained, obtains
Corresponding sample set, which is stabbed, to each acquisition time utilizes the corresponding sample of current time stamp when the application enters backstage
Subset predicts the application, and the accuracy of prediction can be improved, cleaning is determined whether according to prediction result described in
Using realizing the automatic cleaning of background application with this, improve the operation fluency of electronic equipment, reduce power consumption.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the application scenarios schematic diagram of background application method for cleaning provided by the embodiments of the present application.
Fig. 2 is the flow diagram of background application method for cleaning provided by the embodiments of the present application.
Fig. 3 is the flow diagram that training provided by the embodiments of the present application obtains sample set.
Fig. 4 a is another flow diagram of background application method for cleaning provided by the embodiments of the present application.
Fig. 4 b is the another flow diagram of background application method for cleaning provided by the embodiments of the present application.
Fig. 5 is the structural schematic diagram of background application cleaning plant provided by the embodiments of the present application.
Fig. 6 is another structural schematic diagram of background application cleaning plant provided by the embodiments of the present application.
Fig. 7 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 8 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by
It is considered as limitation the application other specific embodiments not detailed herein.
In the following description, the specific embodiment of the application will refer to the step as performed by one or multi-section computer
And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is executed by computer, this paper institute
The computer execution of finger includes by representing with the computer processing unit of the electronic signal of the data in a structuring pattern
Operation.This operation is converted at the data or the position being maintained in the memory system of the computer, reconfigurable
Or in addition change the running of the computer in mode known to the tester of this field.The maintained data structure of the data
For the provider location of the memory, there is the specific feature as defined in the data format.But the application principle is with above-mentioned text
Word illustrates that be not represented as a kind of limitation, this field tester will appreciate that plurality of step and behaviour as described below
Also it may be implemented in hardware.
Term as used herein " module " can regard the software object to execute in the arithmetic system as.It is as described herein
Different components, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And device as described herein and side
Method can be implemented in the form of software, can also be implemented on hardware certainly, within the application protection scope.
Term " first ", " second " and " third " in the application etc. are for distinguishing different objects, rather than for retouching
State particular order.In addition, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include.
Such as contain series of steps or module process, method, system, product or equipment be not limited to listed step or
Module, but some embodiments further include the steps that not listing or module or some embodiments further include for these processes,
Method, product or equipment intrinsic other steps or module.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
The embodiment of the present application provides a kind of background application method for cleaning, and the executing subject of the background application method for cleaning can be with
It is background application cleaning plant provided by the embodiments of the present application, or is integrated with the electronic equipment of the background application cleaning plant,
Wherein the background application cleaning plant can be realized by the way of hardware or software.Wherein, electronic equipment can be intelligence
The equipment such as mobile phone, tablet computer, palm PC, laptop or desktop computer.
Referring to Fig. 1, Fig. 1 is the application scenarios schematic diagram of background application method for cleaning provided by the embodiments of the present application, with
Background application cleaning plant is for electronic equipment, electronic equipment can be using the multidimensional characteristic information of acquisition applications as sample, structure
The sample for building the application always collects, and adds acquisition time stamp for each sample that the sample is always concentrated, always collects to the sample
It is trained, obtains the corresponding sample set of each acquisition time stamp and utilize current time stamp when the application enters backstage
Corresponding sample set predicts the current characteristic information of the application, and determines whether to clear up according to prediction result
The application, the prediction result include that can clear up or can not clear up.If prediction result is that can clear up, backstage can be closed and transported
The capable application keeps described and applies the state in running background constant if prediction result is that can not clear up.
Specifically, as shown in Figure 1, for example, background application cleaning plant is detected when receiving cleaning request in electronics
The application of the running background of equipment includes using a, using b and using c;Then it obtains respectively using a, each acquisition time
Stab corresponding sample set Ma, corresponding sample set M is stabbed using b, each acquisition timeb, using c, each acquisition time
Stab corresponding sample set Mc, pass through the corresponding sample set M of current time stampa1It predicts using a, obtains prediction result
A ' passes through the corresponding sample set M of current time stampb1It predicts using b, obtains prediction result b ', pass through current time
Stab corresponding sample set Mc1It predicts using c, obtains prediction result c ';It is determined according to prediction result a ', b ' and c '
The application a of running background, whether can be cleared up using b and using c, such as: prediction result a ', c ' they are that can not clear up, and are predicted
As a result b ' is that can clear up, then keeps constant in the state of running background using a, c, and the application b of running background is closed.
It is clear to describe the embodiment of the present application offer background application by from the angle of background application cleaning plant for the embodiment of the present application
Reason method, the background application cleaning plant specifically can integrate in the electronic device.The background application method for cleaning includes: acquisition
As sample, the sample for constructing the application always collects the multidimensional characteristic information of application;The each sample always concentrated for the sample
Add acquisition time stamp;The sample is always collected and is trained, each acquisition time is obtained and stabs corresponding sample set;When described
When using entering backstage, the current characteristic information of the application is predicted using current time stamp corresponding sample set,
And it is determined whether to clear up the application according to prediction result.
Referring to Fig. 2, Fig. 2 is the flow diagram of background application method for cleaning provided by the embodiments of the present application.The application
The detailed process for the background application method for cleaning that embodiment provides can be such that
Step S201, as sample, the sample for constructing the application always collects the multidimensional characteristic information of acquisition applications.
Application mentioned by the present embodiment can be any one application installed on electronic equipment, such as: office is answered
With, communications applications, game application, shopping application etc..
The multidimensional characteristic information of application has the dimension of certain length, the corresponding characterization application of the parameter in each of which dimension
A kind of characteristic information, i.e. the multidimensional characteristic information is made of multiple characteristic informations.
Multiple characteristic information may include using itself relevant characteristic information, such as: application be cut into backstage when
It is long;Using during being cut into backstage, duration is shielded in going out for electronic equipment;Using the number for entering foreground;Using in foreground when
Between;Using the mode for entering backstage, such as: it switched by homepage key (home key), be returned key and switch into, answered by other
With switching into;Type of application, including level-one (common application), second level (other application) etc..
Multiple characteristic information can also include the correlated characteristic information for applying the electronic equipment at place, such as: electronics is set
Standby going out is shielded time, bright screen time, current electric quantity, and whether the wireless network connection state of electronic equipment, electronic equipment is charging
State etc..
It should be noted that not representing the restriction to characteristic information to the citing of characteristic information above.
The sample of application is always concentrated, and may include in historical time section, and the application is operating status (before being included in
Platform operation, or in running background) when, according to multiple samples of predeterminated frequency acquisition.Historical time section, such as can be over
1 day, the past 7 days;Predeterminated frequency, such as can be acquisition per minute and acquire once, per hour once.It is understood that one
The multi-dimensional feature data of the application of secondary acquisition constitutes a sample, and multiple samples constitute the sample and always collect.
Step S202, acquisition time stamp is added for each sample that the sample is always concentrated.
The acquisition time of sample stabs, and indicates that there is corresponding acquisition time to stab, adopt for the acquisition time of sample, each sample
The specific representation of collection timestamp can be determined by sampling time section and sample frequency.
Such as: sampling time section is one day in the past, and sample frequency is that acquisition is primary per minute, then acquisition time stamp can be by small
When, minute constitute, such as 12:01,17:20,19:35 etc.;In addition, due to one day include 1440 (24*60) minutes, can also be straight
Connecing indicates that acquisition time stabs with minute, such as the 1st minute, the 1440th minute the 2nd minute ...;In this case, if
Past one day, using operating status is constantly in, then it will acquire 1440 samples, the corresponding acquisition time of each sample
Stamp.Again for example: acquisition time section is one day in the past, and sample frequency is that acquisition is primary per hour, then acquisition time stamp can be by hour
It constitutes, such as 1 point, 2 points ... 24 points;In this case, if at past one day, using being constantly in operating status,
24 samples, the corresponding acquisition time stamp of each sample will then be acquired.
Such as: sampling time section is that seven days (one week), sample frequency are that acquisition is primary per minute in the past, then acquisition time stabs
It can be made of week, hour, minute, such as Monday 12:01, Wednesday 17:20, Sunday 19:35 etc..For another example sampling time section
For past seven days (one week), sample frequency is that acquisition is primary per hour, then acquisition time stamp can be made of week, hour, such as
1 point of Monday, 2 points of Thursday, 24 points of Saturday etc..
Step S203, the sample is always collected and is trained, obtained each acquisition time and stab corresponding sample set.
It, can be by characteristic information apparatus that in the multidimensional characteristic information of application, unused numerical value is directly indicated for convenient for training
The numerical quantization of body comes out.Such as: for this characteristic information of the wireless network connection status of electronic equipment, 1 table of numerical value can be used
Show normal state, indicate abnormal state with numerical value 0 (vice versa);Again for example: for electronic equipment whether in charging shape
This characteristic information of state, can indicate charged state with numerical value 1, indicate uncharged state with numerical value 0 (vice versa).
Specific training process is seen shown in Fig. 3, comprising the following steps:
Step S2031, the distance between any one sample and other each samples that sample is always concentrated are calculated.
Specifically, it is each with other that any one sample that the sample is always concentrated can be calculated based on the first preset formula
The distance between sample, first preset formula are as follows:
dijIndicate the distance between sample i and sample j, xiIndicate sample i,
xjIndicate that sample j, n indicate the dimension of the characteristic information of sample, xikIndicate k-th of characteristic information of sample i, xjkIndicate sample j
K-th of characteristic information.
Step S2032, it for any one described sample, counts the sample and always concentrates and any one sample
Distance is greater than the sample of the pre-determined distance threshold value, the sample always concentrate it is every there are one with any one sample away from
From the sample for being greater than pre-determined distance threshold value, then the Distance Density of any one sample is increased by 1.
Specifically, for any one described sample, such as sample 1, can successively judgement sample always concentrate other are every
The distance between a sample and sample 1, every there are one at a distance from sample 1 is greater than the sample of the pre-determined distance threshold value, then
The Distance Density of sample 1 is increased by 1.The Distance Density of each sample can increase since 0.For example, sample is always concentrated, in total
There are the samples that the distance between 10 and sample 1 are greater than pre-determined distance threshold value, then the Distance Density of sample 1 is 10.
The customized value of the visual actual demand of pre-determined distance threshold value, such as value are 5,6 etc..
Step S2033, each sample that the sample is always concentrated is traversed, the Distance Density of each sample is obtained.
Step S2034, it always concentrates selected distance density to be greater than the sample of the pre-set density threshold value from the sample, constitutes
Selected sample set.
It filters out present in sample always collects, Distance Density is less than the sample of the pre-set density threshold value, remaining sample
Constitute selected sample set.The purpose for the arrangement is that: the noise that removal sample is always concentrated avoids noise jamming, quasi- to improve prediction
Exactness.
The customized value of the visual actual demand of pre-set density threshold value, such as value are 5,10 etc..
Step S2035, from being chosen in the selected sample set at a distance from any one described sample less than or equal to institute
The sample of selection and any one described sample are classified as a sample set, by the sample by the sample for stating pre-determined distance threshold value
This subset stabs corresponding sample set as the acquisition time of any one sample.
For example, any one described sample be sample 1, i.e., from selected sample set choose be less than at a distance from sample 1 or
Equal to the sample of the pre-determined distance threshold value, the sample of selection and sample 1 are constituted into a sample set, by sample of composition
Collect and stabs corresponding sample set as the acquisition time of sample 1.
Step S2036, each sample in the selected sample set is traversed, each acquisition time is obtained and stabs corresponding sample
Subset.
View of the above, it will be seen that an acquisition time, which stabs, can correspond to a sample set, in a sample set
It will include multiple samples, and the same sample may belong to different sample sets.
In practical application, sample is always collected be trained during, sample can not also always be collected and be filtered, and
The distance between each sample is directly always concentrated according to sample, is generated each acquisition time and is stabbed corresponding sample set, that is, trains
In the process, it is convenient to omit step S2032~S2034.
In some embodiments it is possible to which the S2031~S2036 that repeats the above steps, generates acquisition time stamp for multiple applications
Corresponding sample set.Such as: acquisition time can be generated for each application installed in electronic equipment stabs corresponding sample
Collection, to can be answered according to the corresponding sample set of corresponding timestamp this when some application of electronic equipment enters backstage
With whether can clearing up and predicted.
In some embodiments it is possible to when detecting new application installation to electronic equipment, for the new application
Repeat the above steps S2031~S2036, and the acquisition time for generating the new application program stabs corresponding sample set.
In certain embodiments, step S2031~S2036 can be completed in the server in advance.For example, electronic equipment can
It is sent to server always to collect the sample of each application of acquisition, each sample is always collected be trained in the server, obtained
Corresponding sample set is stabbed to each application, each acquisition time, training result is sent to electronic equipment by server, when need
Predict using whether can clear up when, electronic equipment directly carries out corresponding application according to the training result that obtains from server
Prediction.
Step S204, when the application enters backstage, using the corresponding sample set of current time stamp to the application
Current characteristic information predicted, and determined whether to clear up the application according to prediction result.
It should be noted that the current characteristic information of the application was acquired at current time, the current time stamp
Indicate the acquisition time of the current characteristic information of the application, the current characteristic information of the application is acquired with when constituting sample
The application multidimensional characteristic information, dimension having the same, corresponding parameter value may be identical in each dimension for the two,
It may also be different.
Specifically, the corresponding sample set of current time stamp can be first obtained, judges the current characteristic information of the application
Whether current time stamp corresponding sample set is belonged to.Due to each sample in sample set, be the application for operation
In the state of acquire, therefore, if the current characteristic information of the application belongs to the corresponding sample set of current time stamp, table
The bright application preferably keeps operating status, it is determined that prediction result is that can not clear up, if being not belonging to, it is determined that prediction knot
Fruit is that can clear up.
It should be noted that can determine specific prediction mode according to specific sample mode in the present embodiment.Example
Such as: sampling time section is one day in the past, and sample frequency is once every minute, then to can use over one day corresponding sample per minute
This subset, when certain minute in prediction following one day, using whether being cleaned;Such as: utilize 8:25 yesterday points of corresponding samples
This subset, predicts whether 8:25 today timesharing, the application of running background can be cleaned.For another example sampling time section is the past
One week, sample frequency was that once every minute, then using one week in the past, corresponding sample set, prediction were one week following per minute daily
When certain interior day minute, using whether being cleaned;Such as: using 12:30 last Wednesday points of corresponding sample sets, prediction is originally
Whether the application of the timesharing of Wednesday 12:30, running background can be cleaned.
It is possible to further the application that after detecting the default cleaning condition of satisfaction, can be cleared up determined by cleaning.
This presets cleaning condition for example: (remaining capacity can for the remaining capacity of application cleaning instruction or electronic equipment that user sends
To be the percent value of remaining capacity, it is also possible to the capacitance of remaining capacity) it is less than default power threshold or running background
The quantity of application be greater than the free memory of preset quantity threshold value or electronic equipment and be less than default memory threshold.
In the present embodiment, by the multidimensional characteristic information of acquisition applications as sample, the sample for constructing the application always collects,
And each sample always concentrated for the sample adds acquisition time stamp, then always collects to the sample and is trained, and obtains every
A acquisition time stabs corresponding sample set and utilizes the corresponding sample set of current time stamp when the application enters backstage
The application is predicted, the accuracy of prediction can be improved, is determined whether to clear up the application according to prediction result,
The automatic cleaning that background application is realized with this is improved the operation fluency of electronic equipment, reduces power consumption.
It further, include reflecting that user uses the behavioural habits of application in each sample always collected due to sample
Multiple characteristic informations, therefore the embodiment of the present application can make the cleaning to corresponding application more personalized.
Further, always collected according to the multidimensional characteristic information architecture sample of each application and training, acquisition are directed to and each answer
, each acquisition time stab corresponding sample set, current characteristic information and exclusive sample set using each application
Whether prediction application can clear up, and the accuracy of cleaning can be improved.
Below by the basis of the method that above-described embodiment describes, the method for cleaning of the application is described further.Please
Fig. 4 a and Fig. 4 b is referred to together, and the method for the present embodiment includes:
Step S401, in historical time section, and application be operating status when, acquire the application according to predeterminated frequency
As sample, the sample for constructing the application always collects multidimensional characteristic information.
Historical time section, such as can be over 1 day, the past 7 days;Predeterminated frequency, such as can be acquisition one per minute
Secondary, acquisition per hour is once.It is understood that the multi-dimensional feature data of the application of one acquisition constitutes a sample, it is multiple
Sample constitutes the sample and always collects.
The multidimensional characteristic information of application has the dimension of certain length, the corresponding characterization application of the parameter in each of which dimension
A kind of characteristic information, i.e. the multidimensional characteristic information is made of multiple characteristic informations.
Multiple characteristic information may include using itself relevant characteristic information, such as: application be cut into backstage when
It is long;Using during being cut into backstage, duration is shielded in going out for electronic equipment;Using the number for entering foreground;Using in foreground when
Between;Using the mode for entering backstage, such as: it switched by homepage key (home key), be returned key and switch into, answered by other
With switching into;Type of application, including level-one (common application), second level (other application) etc..
Multiple characteristic information can also include the correlated characteristic information for applying the electronic equipment at place, such as: electronics is set
Standby going out is shielded time, bright screen time, current electric quantity, and whether the wireless network connection state of electronic equipment, electronic equipment is charging
State etc..
Step S402, acquisition time stamp is added for each sample that the sample is always concentrated.
The acquisition time of sample stabs, and indicates that there is corresponding acquisition time to stab, adopt for the acquisition time of sample, each sample
The specific representation of collection timestamp can be determined by sampling time section and sample frequency.
Such as: sampling time section is one day in the past, and sample frequency is that acquisition is primary per minute, then acquisition time stamp can be by small
When, minute constitute, such as 12:01,17:20,19:35 etc.;In addition, due to one day include 1440 (24*60) minutes, can also be straight
Connecing indicates that acquisition time stabs with minute, such as the 1st minute, the 1440th minute the 2nd minute ...;In this case, if
Past one day, using operating status is constantly in, then it will acquire 1440 samples, the corresponding acquisition time of each sample
Stamp.Again for example: acquisition time section is one day in the past, and sample frequency is that acquisition is primary per hour, then acquisition time stamp can be by hour
It constitutes, such as 1 point, 2 points ... 24 points;In this case, if at past one day, using being constantly in operating status,
24 samples, the corresponding acquisition time stamp of each sample will then be acquired.
Such as: sampling time section is that seven days (one week), sample frequency are that acquisition is primary per minute in the past, then acquisition time stabs
It can be made of week, hour, minute, such as Monday 12:01, the 3rd 17:20, Sunday 19:35 etc..For another example sampling time section
For past seven days (one week), sample frequency is that acquisition is primary per hour, then acquisition time stamp can be made of week, hour, such as
1 point of Monday, 2 points of Thursday, 24 points of Saturday etc..
Specifically, always concentrating using 1 sample includes N number of sample for example, application mentioned by the present embodiment is using 1,
Each sample includes the characteristic information of Q dimension, for example Q is 30, and sampling time section is one day in the past, and sample frequency is per small
When, then always collect using 1 sample and the acquisition time of each sample stamp can be as shown in table 1 below:
Table 1
Step S403, the sample is always collected and is trained, obtained each acquisition time and stab corresponding sample set.
During training, the noise that sample is always concentrated can be filtered out, selected sample set is constituted.
Such as: sample always concentrates N number of sample altogether, includes M sample in the selected sample set constituted after denoising, then M is less than
Equal to N, and M, N are positive integer.The acquisition time of each sample, which is stabbed, in selected sample set always concentrates corresponding sample with sample
Acquisition time stamp is identical.
In a specific embodiment, the acquisition time of selected sample set and each of which sample stamp can be as shown in table 2 below:
Table 2
Specific training process sees the description of above-described embodiment, and details are not described herein again.After training, it obtains each
Acquisition time stabs corresponding sample set, and each acquisition time stabs corresponding sample set can be as shown in Figure 4 b.
Step S404, when the application enters backstage, the corresponding sample set of current time stamp is obtained.
For example, current time is, then 6 points of corresponding sample sets, i.e. sample set 2 can be obtained according to Fig. 4 b at 6 points.
Step S405, judge whether the current characteristic information of the application belongs to the corresponding sample set of current time stamp,
If belonging to, S406 is thened follow the steps, otherwise, executes step S407.
The current characteristic information of the application was acquired at current time, and the current time stamp indicates the application
Current characteristic information acquisition time, the application that the current characteristic information of the application and while constituting sample acquire it is more
Dimensional feature information, dimension having the same, corresponding parameter value may be identical in each dimension for the two, it is also possible to different.
Specifically, in the current characteristic information that the application can be counted, belong to the corresponding sample of the current time stamp
The quantity of the characteristic information of subset;If the quantity of statistics is greater than preset quantity threshold value, it is determined that the current signature of the application is believed
Breath belongs to the corresponding sample set of the current time stamp, if the quantity of statistics is less than or equal to preset quantity threshold value, it is determined that
The current characteristic information of the application is not belonging to the corresponding sample set of the current time stamp.
The visual actual demand of preset quantity threshold value is customized.For example, when the dimension of the characteristic information of sample is 30, present count
Measuring threshold value can be 20, and in 30 dimensional feature information of the application, when having more than the characteristic informations of 20 dimensions and belonging to described current
Between when stabbing corresponding sample set, it is determined that the current characteristic information of the application belongs to the corresponding sample of the current time stamp
Subset.
Step S406, determine that prediction result is that can not clear up.
It is to be acquired in the state of application operation, therefore, if described due to each sample in sample set
The current characteristic information of application belongs to the corresponding sample set of current time stamp, then shows that the application preferably keeps operation
State, it is determined that prediction result be can not clear up, in this case, can keep it is described apply running background state not
Become.
Step S407, determine that prediction result is that can clear up.
Specifically, can be after detecting and meeting default cleaning condition, the application that can be cleared up determined by cleaning.It should
Default cleaning condition is for example: (remaining capacity can be with for the remaining capacity of the application cleaning instruction or electronic equipment that user sends
It is the percent value of remaining capacity, is also possible to the capacitance of remaining capacity) it is less than default power threshold or running background
The quantity of application is greater than preset quantity threshold value or the free memory of electronic equipment is less than default memory threshold.
In the present embodiment, by the multidimensional characteristic information of acquisition applications as sample, the sample for constructing the application always collects,
And each sample always concentrated for the sample adds acquisition time stamp, then always collects to the sample and is trained, and obtains every
A acquisition time stabs corresponding sample set and utilizes the corresponding sample set of current time stamp when the application enters backstage
The application is predicted, the accuracy of prediction can be improved, is determined whether to clear up the application according to prediction result,
The automatic cleaning that background application is realized with this is improved the operation fluency of electronic equipment, reduces power consumption.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of background application cleaning plant provided by the embodiments of the present application.Wherein should
Background application cleaning plant be applied to electronic equipment, the background application cleaning plant include acquisition unit 501, adding unit 502,
Training unit 503 and predicting unit 504 are as follows:
Acquisition unit 501, for the multidimensional characteristic information for acquisition applications as sample, the sample for constructing the application is total
Collection;
Adding unit 502, each sample addition acquisition time stamp for always being concentrated for the sample;
Training unit 503 is trained for always collecting to the sample, is obtained each acquisition time and is stabbed corresponding sample
Collection;
Predicting unit 504, for when the application enters backstage, using the corresponding sample set of current time stamp to institute
The current characteristic information for stating application is predicted, and is determined whether to clear up the application according to prediction result.
In some embodiments, the acquisition unit 501 is specifically used for:
In historical time section, and the application be operating status when, the multidimensional of the application is acquired according to predeterminated frequency
As sample, the sample for constructing the application always collects characteristic information.
In some embodiments, as shown in fig. 6, the training unit 503 includes:
Metrics calculation unit 5031, for calculate any one sample that the sample is always concentrated and other each samples it
Between distance;
Subset Component units 5034 are less than at a distance from any one described sample for always concentrating to choose from the sample
Or the sample equal to pre-determined distance threshold value, the sample of selection and any one described sample are classified as a sample set, by institute
The acquisition time that sample set is stated as any one sample stabs corresponding sample set;
The subset Component units 5034 traverse each sample that the sample is always concentrated, and obtain each acquisition time stamp pair
The sample set answered.
In some embodiments, the metrics calculation unit 5031 calculates the sample based on the first preset formula and always concentrates
Any one sample and the distance between other each samples, first preset formula are as follows:
dijIndicate the distance between sample i and sample j, xiIndicate sample i,
xjIndicate that sample j, n indicate the dimension of the characteristic information of sample, xikIndicate k-th of feature of sample i, xjkIndicate the kth of sample j
A feature.
In some embodiments, as shown in fig. 6, described device further include:
Density computing unit 5032, any one sample for always being concentrated according to the sample and other each samples it
Between distance, calculate the Distance Density of each sample;
Collection of choice Component units 5033, for always concentrating selected distance density to be greater than the pre-set density threshold from the sample
The sample of value constitutes selected sample set;
The subset Component units 5034 are also used to, and are chosen from the selected sample set and any one sample
Distance is less than or equal to the sample of the pre-determined distance threshold value, and the sample of selection and any one described sample are classified as a sample
The sample set is stabbed corresponding sample set by this subset;
The subset Component units 5034 traverse each sample in the selected sample set, obtain each acquisition time stamp
Corresponding sample set.
In some embodiments, the density computing unit 5032 is specifically used for:
For any one described sample, counts the sample and always concentrate at a distance from any one described sample greater than institute
State the sample of pre-determined distance threshold value, the sample always concentrate it is every there are one be greater than at a distance from any one described sample it is described
The Distance Density of any one sample is then increased by 1 by the sample of pre-determined distance threshold value;
Each sample that the sample is always concentrated is traversed, the Distance Density of each sample is obtained.
In some embodiments, as shown in fig. 6, the predicting unit 504 includes:
Acquiring unit 5041, for obtaining the corresponding sample set of current time stamp;
Determination unit 5042, for judging it is corresponding whether the current characteristic information of the application belongs to the current time stamp
Sample set, if belonging to, it is determined that prediction result be can not clear up, if being not belonging to, it is determined that prediction result be can clear up.
In some embodiments, it is described to judge whether the current characteristic information of the application belongs to for the determination unit 5042
The corresponding sample set of current time stamp includes:
The determination unit 5042 counts in the current characteristic information of the application, and it is corresponding to belong to the current time stamp
The quantity of the characteristic information of sample set;If the quantity of statistics is greater than preset quantity threshold value, it is determined that the current spy of the application
Reference breath belongs to the corresponding sample set of the current time stamp, if the quantity of statistics is less than or equal to preset quantity threshold value,
Determine that the current characteristic information of the application is not belonging to the corresponding sample set of the current time stamp.
From the foregoing, it will be observed that the present embodiment uses in the electronic device, by the multidimensional characteristic information of 501 acquisition applications of acquisition unit
As sample, the sample for constructing the application always collects, and is that each sample that the sample is always concentrated adds by adding unit 502
Acquisition time stamp, then always collects the sample by training unit 503 and is trained, and obtains each acquisition time and stabs corresponding sample
This subset, when the application enters backstage, predicting unit 504 is using the corresponding sample set of current time stamp to the application
It is predicted, the accuracy of prediction can be improved, determined whether to clear up the application according to prediction result, be realized with this
The automatic cleaning of background application improves the operation fluency of electronic equipment, reduces power consumption.
When it is implemented, the above modules can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of the above modules can be found in the embodiment of the method for front, herein not
It repeats again.
The embodiment of the present application also provides a kind of electronic equipment.Referring to Fig. 7, electronic equipment 600 include processor 601 and
Memory 602.Wherein, processor 601 and memory 602 are electrically connected.
The processor 600 is the control centre of electronic equipment 600, is set using various interfaces and the entire electronics of connection
Standby various pieces by the computer program of operation or load store in memory 602, and are called and are stored in memory
Data in 602 execute the various functions of electronic equipment 600 and handle data, to carry out whole prison to electronic equipment 600
Control.
The memory 602 can be used for storing software program and module, and processor 601 is stored in memory by operation
602 computer program and module, thereby executing various function application and data processing.Memory 602 can mainly include
Storing program area and storage data area, wherein storing program area can computer needed for storage program area, at least one function
Program (such as sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses institute according to electronic equipment
The data etc. of creation.In addition, memory 602 may include high-speed random access memory, it can also include non-volatile memories
Device, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory
602 can also include Memory Controller, to provide access of the processor 601 to memory 602.
In the embodiment of the present application, the processor 601 in electronic equipment 600 can be according to following step, by one or one
The corresponding instruction of the process of a above computer program is loaded into memory 602, and is stored in by the operation of processor 601
Computer program in reservoir 602, thus realize various functions, it is as follows:
As sample, the sample for constructing the application always collects the multidimensional characteristic information of acquisition applications;
Acquisition time stamp is added for each sample that the sample is always concentrated;
The sample is always collected and is trained, each acquisition time is obtained and stabs corresponding sample set;
When the application enters backstage, using the corresponding sample set of current time stamp to the current signature of the application
Information is predicted, and is determined whether to clear up the application according to prediction result.
In some embodiments, the sample of the application is constructed as sample in the multidimensional characteristic information of acquisition applications
When total collection, processor 601 specifically executes following steps:
In historical time section, and the application be operating status when, the multidimensional of the application is acquired according to predeterminated frequency
As sample, the sample for constructing the application always collects characteristic information.
In some embodiments, it is trained always collecting to the sample, obtains each acquisition time and stab corresponding sample
When this subset, processor 601 specifically executes following steps:
Calculate the distance between any one sample and other each samples that the sample is always concentrated;
It always concentrates and is chosen at a distance from any one described sample less than or equal to pre-determined distance threshold value from the sample
The sample of selection and any one described sample are classified as a sample set by sample, are appointed using the sample set as described
The acquisition time an of sample of anticipating stabs corresponding sample set;
Each sample that the sample is always concentrated is traversed, each acquisition time is obtained and stabs corresponding sample set.
In some embodiments, processor 601 based on the first preset formula calculate the sample always concentrate it is any one
The distance between a sample and other each samples, first preset formula are as follows:
dijIndicate the distance between sample i and sample j, xiIndicate sample i,
xjIndicate that sample j, n indicate the dimension of the characteristic information of sample, xikIndicate k-th of feature of sample i, xjkIndicate the kth of sample j
A feature.
In some embodiments, it is calculating between any one sample and other each samples that the sample is always concentrated
Distance after, processor 601 is also used to execute following steps:
The distance between any one sample and other each samples for always being concentrated according to the sample, calculate each sample
Distance Density;
It always concentrates selected distance density to be greater than the sample of the pre-set density threshold value from the sample, constitutes selected sample
Collection;
It is less than or equal to the pre-determined distance at a distance from any one described sample from choosing in the selected sample set
The sample of selection and any one described sample are classified as a sample set by the sample of threshold value, using the sample set as
The acquisition time of any one sample stabs corresponding sample set;
Each sample in the selected sample set is traversed, each acquisition time is obtained and stabs corresponding sample set.
In some embodiments, between any one sample always concentrated according to the sample and other each samples
Distance, when calculating the Distance Density of each sample, processor 601 be specifically used for execute following steps:
For any one described sample, counts the sample and always concentrate at a distance from any one described sample greater than institute
State the sample of pre-determined distance threshold value, the sample always concentrate it is every there are one be greater than at a distance from any one described sample it is described
The Distance Density of any one sample is then increased by 1 by the sample of pre-determined distance threshold value;
Each sample that the sample is always concentrated is traversed, the Distance Density of each sample is obtained.
In some embodiments, believe using current signature of the corresponding sample set of current time stamp to the application
When breath is predicted, processor 601 is specifically used for executing following steps:
Obtain the corresponding sample set of current time stamp;
Judge whether the current characteristic information of the application belongs to the corresponding sample set of the current time stamp;
If belonging to, it is determined that prediction result is that can not clear up, if being not belonging to, it is determined that prediction result is that can clear up.
In some embodiments, whether belong to the current time stamp pair in the current characteristic information for judging the application
When the sample set answered, processor 601 is specifically used for executing following steps:
In the current characteristic information for counting the application, belong to the feature letter of the corresponding sample set of the current time stamp
The quantity of breath;
If the quantity of statistics is greater than preset quantity threshold value, it is determined that the current characteristic information of the application belongs to described current
The corresponding sample set of timestamp, if statistics quantity be less than or equal to preset quantity threshold value, it is determined that the application it is current
Characteristic information is not belonging to the corresponding sample set of the current time stamp.
It can be seen from the above, the electronic equipment of the embodiment of the present application, by the multidimensional characteristic information of acquisition applications as sample,
The sample for constructing the application always collects, and each sample always concentrated for the sample adds acquisition time stamp, then to described
Sample, which always collects, to be trained, and is obtained each acquisition time and is stabbed corresponding sample set, when the application enters backstage, using working as
The corresponding sample set of preceding timestamp predicts the application, and the accuracy of prediction can be improved, true according to prediction result
It is fixed whether to clear up the application, the automatic cleaning of background application is realized with this, the operation for improving electronic equipment is smooth
Degree, reduces power consumption.
Also referring to Fig. 8, in some embodiments, electronic equipment 600 can also include: display 603, radio frequency electrical
Road 604, voicefrequency circuit 605 and power supply 606.Wherein, wherein display 603, radio circuit 604, voicefrequency circuit 605 and
Power supply 606 is electrically connected with processor 601 respectively.
The display 603 be displayed for information input by user or be supplied to user information and various figures
Shape user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display
603 may include display panel, in some embodiments, can use liquid crystal display (Liquid Crystal
Display, LCD) or the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) match
Set display panel.
The radio circuit 604 can be used for transceiving radio frequency signal, with by wireless communication with the network equipment or other electricity
Sub- equipment establishes wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
The voicefrequency circuit 605 can be used for providing the audio between user and electronic equipment by loudspeaker, microphone
Interface.
The power supply 606 is used to all parts power supply of electronic equipment 600.In some embodiments, power supply 606
Can be logically contiguous by power-supply management system and processor 601, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although being not shown in Fig. 8, electronic equipment 600 can also include camera, bluetooth module etc., and details are not described herein.
The embodiment of the present application also provides a kind of storage medium, and the storage medium is stored with computer program, when the meter
When calculation machine program is run on computers, so that the computer executes the background application cleaning side in any of the above-described embodiment
Method, such as: as sample, the sample for constructing the application always collects the multidimensional characteristic information of acquisition applications;Always collect for the sample
In each sample addition acquisition time stamp;The sample is always collected and is trained, each acquisition time is obtained and stabs corresponding sample
This subset;When the application enters backstage, using the corresponding sample set of current time stamp to the current signature of the application
Information is predicted, and is determined whether to clear up the application according to prediction result.
In the embodiment of the present application, storage medium can be magnetic disk, CD, read-only memory (Read Only Memory,
ROM) or random access memory (Random Access Memory, RAM) etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
It should be noted that for the background application method for cleaning of the embodiment of the present application, the common decision-maker in this field
It is understood that realize all or part of the process of the background application method for cleaning of the embodiment of the present application, being can be by computer journey
Sequence is completed to control relevant hardware, and the computer program can be stored in a computer-readable storage medium, such as deposit
Storage executes in the memory of electronic equipment, and by least one processor in the electronic equipment, can wrap in the process of implementation
Include the process of the embodiment such as background application method for cleaning.Wherein, the storage medium can be magnetic disk, CD, read-only storage
Device, random access memory etc..
For the background application cleaning plant of the embodiment of the present application, each functional module be can integrate in a processing core
In piece, it is also possible to modules and physically exists alone, can also be integrated in two or more modules in a module.On
It states integrated module both and can take the form of hardware realization, can also be realized in the form of software function module.The collection
If at module realized in the form of software function module and when sold or used as an independent product, also can store
In one computer-readable storage medium, the storage medium is for example read-only memory, disk or CD etc..
A kind of background application method for cleaning, device, storage medium and electronics provided by the embodiment of the present application are set above
Standby to be described in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above
The explanation of embodiment is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art
Member, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as the limitation to the application.
Claims (16)
1. a kind of background application method for cleaning characterized by comprising
As sample, the sample for constructing the application always collects the multidimensional characteristic information of acquisition applications;
Acquisition time stamp is added for each sample that the sample is always concentrated;
The sample is always collected and is trained, each acquisition time is obtained and stabs corresponding sample set, comprising: calculate the sample
The distance between any one sample and other each samples for always concentrating;From the sample always concentrate selection with it is described any one
The distance of a sample is less than or equal to the sample of pre-determined distance threshold value, and the sample of selection and any one described sample are classified as one
The sample set is stabbed corresponding sample set by a sample set;Traversal
Each sample that the sample is always concentrated obtains each acquisition time and stabs corresponding sample set;
When the application enters backstage, using the corresponding sample set of current time stamp to the current characteristic information of the application
It is predicted, and is determined whether to clear up the application according to prediction result.
2. background application method for cleaning according to claim 1, which is characterized in that the multidimensional characteristic information of acquisition applications is made
For sample, the sample for constructing the application always collects, comprising:
In historical time section, and the application be operating status when, the multidimensional characteristic of the application is acquired according to predeterminated frequency
As sample, the sample for constructing the application always collects information.
3. background application method for cleaning according to claim 1, which is characterized in that based on described in the calculating of the first preset formula
The distance between any one sample and other each samples that sample is always concentrated, first preset formula are as follows:
dijIndicate the distance between sample i and sample j, xiIndicate sample i, xjTable
This j of sample, n indicate the dimension of the characteristic information of sample, xikIndicate k-th of characteristic information of sample i, xjkIndicate the of sample j
K characteristic information.
4. background application method for cleaning according to claim 1, which is characterized in that appoint what the calculating sample was always concentrated
It anticipates after the distance between a sample and other each samples, further includes:
The distance between any one sample and other each samples for always being concentrated according to the sample, calculate each sample away from
From density;
It always concentrates selected distance density to be greater than the sample of pre-set density threshold value from the sample, constitutes selected sample set;
It is less than or equal to the pre-determined distance threshold value at a distance from any one described sample from choosing in the selected sample set
Sample, the sample of selection and any one described sample are classified as a sample set, using the sample set as described in
The acquisition time of any one sample stabs corresponding sample set;
Each sample in the selected sample set is traversed, each acquisition time is obtained and stabs corresponding sample set.
5. background application method for cleaning according to claim 4, which is characterized in that always concentrated according to the sample any
The distance between one sample and other each samples, calculate the Distance Density of each sample, comprising:
For any one described sample, counts the sample and always concentrate at a distance from any one described sample greater than described pre-
If the sample of distance threshold, the sample always concentrate it is every there are one at a distance from any one described sample be greater than it is described default
The Distance Density of any one sample is then increased by 1 by the sample of distance threshold;
Each sample that the sample is always concentrated is traversed, the Distance Density of each sample is obtained.
6. according to claim 1 to background application method for cleaning described in 5 any one, which is characterized in that utilize current time
Corresponding sample set is stabbed to predict the current characteristic information of the application, comprising:
Obtain the corresponding sample set of current time stamp;
Judge whether the current characteristic information of the application belongs to the corresponding sample set of the current time stamp;
If belonging to, it is determined that prediction result is that can not clear up, if being not belonging to, it is determined that prediction result is that can clear up.
7. background application method for cleaning according to claim 6, which is characterized in that judge the current signature letter of the application
Whether breath belongs to the corresponding sample set of the current time stamp, comprising:
In the current characteristic information for counting the application, belong to the characteristic information of the corresponding sample set of the current time stamp
Quantity;
If the quantity of statistics is greater than preset quantity threshold value, it is determined that the current characteristic information of the application belongs to the current time
Corresponding sample set is stabbed, if the quantity of statistics is less than or equal to preset quantity threshold value, it is determined that the current signature of the application
Information is not belonging to the corresponding sample set of the current time stamp.
8. a kind of background application cleaning plant characterized by comprising
Acquisition unit, as sample, the sample for constructing the application always collects the multidimensional characteristic information for acquisition applications;
Adding unit, each sample addition acquisition time stamp for always being concentrated for the sample;
Training unit is trained for always collecting to the sample, is obtained each acquisition time and is stabbed corresponding sample set, described
Training unit includes metrics calculation unit, subset Component units, and the metrics calculation unit is used for, calculates the sample and always concentrate
Any one sample and the distance between other each samples;The subset Component units are used for, and are always concentrated from the sample
The sample for being less than or equal to pre-determined distance threshold value at a distance from any one described sample is chosen, by the sample of selection and described
Sample of anticipating is classified as a sample set, and the sample set is stabbed as the acquisition time of any one sample and is corresponded to
Sample set, traverse each sample that the sample is always concentrated, obtain each acquisition time and stab corresponding sample set;
Predicting unit, for when the application enters backstage, using the corresponding sample set of current time stamp to the application
Current characteristic information predicted, and determined whether to clear up the application according to prediction result.
9. background application cleaning plant according to claim 8, which is characterized in that the acquisition unit is specifically used for:
In historical time section, and the application be operating status when, the multidimensional characteristic of the application is acquired according to predeterminated frequency
As sample, the sample for constructing the application always collects information.
10. background application cleaning plant according to claim 8, which is characterized in that the metrics calculation unit is based on the
One preset formula calculates the distance between any one sample that the sample is always concentrated and other each samples, and described first is pre-
If formula are as follows:
dijIndicate the distance between sample i and sample j, xiIndicate sample i, xjTable
This j of sample, n indicate the dimension of the characteristic information of sample, xikIndicate k-th of characteristic information of sample i, xjkIndicate the of sample j
K characteristic information.
11. background application cleaning plant according to claim 8, which is characterized in that described device further include:
Density computing unit, between any one sample and other each samples for always being concentrated according to the sample away from
From calculating the Distance Density of each sample;
Collection of choice Component units, for always concentrating sample of the selected distance density greater than pre-set density threshold value, structure from the sample
At selected sample set;
The subset Component units are also used to, and are less than at a distance from any one described sample from choosing in the selected sample set
Or the sample equal to the pre-determined distance threshold value, the sample of selection and any one described sample are classified as a sample set,
Corresponding sample set is stabbed using the sample set as the acquisition time of any one sample;
The subset Component units traverse each sample in the selected sample set, obtain each acquisition time and stab corresponding sample
This subset.
12. background application cleaning plant according to claim 11, which is characterized in that the density computing unit is specifically used
In:
For any one described sample, counts the sample and always concentrate at a distance from any one described sample greater than described pre-
If the sample of distance threshold, the sample always concentrate it is every there are one at a distance from any one described sample be greater than it is described default
The Distance Density of any one sample is then increased by 1 by the sample of distance threshold;
Each sample that the sample is always concentrated is traversed, the Distance Density of each sample is obtained.
13. according to background application cleaning plant described in claim 8 to 12 any one, which is characterized in that the prediction is single
Member includes:
Acquiring unit, for obtaining the corresponding sample set of current time stamp;
Determination unit, for judging whether the current characteristic information of the application belongs to corresponding sample of the current time stamp
Collection, if belonging to, it is determined that prediction result is that can not clear up, if being not belonging to, it is determined that prediction result is that can clear up.
14. background application cleaning plant according to claim 13, which is characterized in that answered described in the determination unit judgement
Whether current characteristic information belongs to the corresponding sample set of the current time stamp
The determination unit counts in the current characteristic information of the application, belongs to the corresponding sample set of the current time stamp
Characteristic information quantity;If the quantity of statistics is greater than preset quantity threshold value, it is determined that the current characteristic information category of the application
In the corresponding sample set of the current time stamp, if the quantity of statistics is less than or equal to preset quantity threshold value, it is determined that described
The current characteristic information of application is not belonging to the corresponding sample set of the current time stamp.
15. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program is in computer
When upper operation, so that the computer executes background application method for cleaning as described in any one of claim 1 to 7.
16. a kind of electronic equipment, including processor and memory, the memory have computer program, which is characterized in that described
Processor is by calling the computer program, for executing background application cleaning side as described in any one of claim 1 to 7
Method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711045112.9A CN107729087B (en) | 2017-10-31 | 2017-10-31 | Background application method for cleaning, device, storage medium and electronic equipment |
PCT/CN2018/110466 WO2019085742A1 (en) | 2017-10-31 | 2018-10-16 | Background application cleaning method and apparatus, and storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711045112.9A CN107729087B (en) | 2017-10-31 | 2017-10-31 | Background application method for cleaning, device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107729087A CN107729087A (en) | 2018-02-23 |
CN107729087B true CN107729087B (en) | 2019-08-06 |
Family
ID=61203468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711045112.9A Active CN107729087B (en) | 2017-10-31 | 2017-10-31 | Background application method for cleaning, device, storage medium and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107729087B (en) |
WO (1) | WO2019085742A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107729087B (en) * | 2017-10-31 | 2019-08-06 | Oppo广东移动通信有限公司 | Background application method for cleaning, device, storage medium and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775809A (en) * | 2016-11-15 | 2017-05-31 | 北京奇虎科技有限公司 | A kind of method of mobile terminal internal memory cleaning, device and mobile terminal |
CN107133094A (en) * | 2017-06-05 | 2017-09-05 | 努比亚技术有限公司 | Application management method, mobile terminal and computer-readable recording medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902357A (en) * | 2012-12-27 | 2014-07-02 | 富泰华工业(深圳)有限公司 | Application program management system and method |
US9710752B2 (en) * | 2014-09-11 | 2017-07-18 | Qualcomm Incorporated | Methods and systems for aggregated multi-application behavioral analysis of mobile device behaviors |
KR20160091786A (en) * | 2015-01-26 | 2016-08-03 | 삼성전자주식회사 | Method and apparatus for managing user |
CN106294902A (en) * | 2015-05-28 | 2017-01-04 | 阿里巴巴集团控股有限公司 | Method, device and the electronic equipment of prediction mobile applications page performance |
CN106557146B (en) * | 2015-09-28 | 2019-08-27 | 北京金山安全软件有限公司 | Power saving method, device and terminal |
CN105718027B (en) * | 2016-01-20 | 2019-05-31 | 努比亚技术有限公司 | The management method and mobile terminal of background application |
CN107729087B (en) * | 2017-10-31 | 2019-08-06 | Oppo广东移动通信有限公司 | Background application method for cleaning, device, storage medium and electronic equipment |
-
2017
- 2017-10-31 CN CN201711045112.9A patent/CN107729087B/en active Active
-
2018
- 2018-10-16 WO PCT/CN2018/110466 patent/WO2019085742A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775809A (en) * | 2016-11-15 | 2017-05-31 | 北京奇虎科技有限公司 | A kind of method of mobile terminal internal memory cleaning, device and mobile terminal |
CN107133094A (en) * | 2017-06-05 | 2017-09-05 | 努比亚技术有限公司 | Application management method, mobile terminal and computer-readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019085742A1 (en) | 2019-05-09 |
CN107729087A (en) | 2018-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107678799B (en) | Application program management-control method, device, storage medium and electronic equipment | |
CN105701025B (en) | A kind of method for recovering internal storage and device | |
CN107678800A (en) | Background application method for cleaning, device, storage medium and electronic equipment | |
CN108289121A (en) | The method for pushing and device of marketing message | |
CN103221899B (en) | Tactile input device, microprocessor system and the method for control tactile input device | |
CN107704070A (en) | Using method for cleaning, device, storage medium and electronic equipment | |
CN109032825A (en) | A kind of fault filling method, device and equipment | |
CN107402804B (en) | background process control method and device, storage medium and electronic equipment | |
CN110300084A (en) | A kind of IP address-based portrait method and apparatus | |
CN107729081A (en) | application management method, device, storage medium and electronic equipment | |
CN107894827A (en) | Using method for cleaning, device, storage medium and electronic equipment | |
CN107704289A (en) | Using method for cleaning, device, storage medium and electronic equipment | |
CN107807730B (en) | Using method for cleaning, device, storage medium and electronic equipment | |
CN107678531A (en) | Using method for cleaning, device, storage medium and electronic equipment | |
CN107643925A (en) | Background application method for cleaning, device, storage medium and electronic equipment | |
CN107943571A (en) | Background application management-control method, device, storage medium and electronic equipment | |
CN106293327A (en) | End application fast operating method and system | |
CN108197002A (en) | Mobile equipment is without burying point data statistical method, system, terminal and medium | |
CN106296259A (en) | Software evaluation information acquisition method and related device and equipment | |
CN107729087B (en) | Background application method for cleaning, device, storage medium and electronic equipment | |
CN107704364B (en) | Background application management-control method, device, storage medium and electronic equipment | |
CN107748697A (en) | Using method for closing, device, storage medium and electronic equipment | |
CN103491564B (en) | Self-diagnostic method and system of mobile terminal | |
CN109961163A (en) | Gender prediction's method, apparatus, storage medium and electronic equipment | |
CN107943537A (en) | Using method for cleaning, device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |