CN107870791A - application management method, device, storage medium and electronic equipment - Google Patents

application management method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN107870791A
CN107870791A CN201711047015.3A CN201711047015A CN107870791A CN 107870791 A CN107870791 A CN 107870791A CN 201711047015 A CN201711047015 A CN 201711047015A CN 107870791 A CN107870791 A CN 107870791A
Authority
CN
China
Prior art keywords
application
coefficient
duration
feature coefficient
preset duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711047015.3A
Other languages
Chinese (zh)
Other versions
CN107870791B (en
Inventor
曾元清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711047015.3A priority Critical patent/CN107870791B/en
Publication of CN107870791A publication Critical patent/CN107870791A/en
Application granted granted Critical
Publication of CN107870791B publication Critical patent/CN107870791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present application provides a kind of application management method, device, storage medium and electronic equipment, and this method includes:Multiple characteristic informations of the application are gathered according to the log of application;The multiple characteristic information is learnt by self organizing neural network, to obtain the self organizing neural network model of the application;When the application enters running background, the effective number of run applied and enter front stage operation in preset time period is obtained;The fisrt feature coefficient of the application is calculated according to the current characteristic information of the application;Second feature coefficient is determined from the characteristic coefficient matrix according to the fisrt feature coefficient;Judge whether the application can be cleaned according to the second feature coefficient.The program judges whether the application can be cleaned according to the second feature coefficient of application, it is possible to reduce the EMS memory occupation of electronic equipment, improves the operation fluency of electronic equipment.

Description

Application management method, device, storage medium and electronic equipment
Technical field
The application is related to technical field of electronic equipment, more particularly to a kind of application management method, device, storage medium and electricity Sub- equipment.
Background technology
It is increasingly abundanter with the function of the electronic equipments such as the development of electronic technology, smart mobile phone.People generally exist Multiple applications are installed on electronic equipment.When user opens multiple applications in the electronic device, if user retracts electronic equipment Main screen or rest on the application interface of a certain application, then multiple applications that user opens still can be after electronic equipment Platform is run.The application of running background can seriously take the internal memory of electronic equipment, reduce the operation fluency of electronic equipment.
The content of the invention
The embodiment of the present application provides a kind of application management method, device, storage medium and electronic equipment, it is possible to reduce electronics The EMS memory occupation of equipment, improve the operation fluency of electronic equipment.
The embodiment of the present application provides a kind of application management method, including:
Multiple characteristic informations of the application are gathered according to the log of application;
The multiple characteristic information is learnt by self organizing neural network, to obtain the self-organizing of application god Through network model, the self organizing neural network model includes the characteristic coefficient matrix of the application;
When the application enters running background, described apply in preset time period into the effective of front stage operation is obtained Number of run, the effectively number of run are time that the application reaches the first preset duration into the operation duration of front stage operation Number;
The fisrt feature coefficient of the application, the current characteristic information are calculated according to the current characteristic information of the application Including effective number of run;
Second feature coefficient is determined from the characteristic coefficient matrix according to the fisrt feature coefficient;
Judge whether the application can be cleaned according to the second feature coefficient.
The embodiment of the present application also provides a kind of application management device, including:
Acquisition module, for gathering multiple characteristic informations of the application according to the log of application;
Study module, it is described to obtain for being learnt by self organizing neural network to the multiple characteristic information The self organizing neural network model of application, the self organizing neural network model include the characteristic coefficient matrix of the application;
Acquisition module, enter for when the application enters running background, obtaining described apply in preset time period Effective number of run of front stage operation, the effectively number of run are that the application enters the operation duration of front stage operation and reaches the The number of one preset duration;
Computing module, for calculating the fisrt feature coefficient of the application, institute according to the current characteristic information of the application Stating current characteristic information includes effective number of run;
Determining module, for determining second feature system from the characteristic coefficient matrix according to the fisrt feature coefficient Number;
Judge module, for judging whether the application can be cleaned according to the second feature coefficient.
The embodiment of the present application also provides a kind of storage medium, computer program is stored with the storage medium, when described When computer program is run on computers so that the computer performs above-mentioned application management method.
The embodiment of the present application also provides a kind of electronic equipment, including processor and memory, is stored with the memory Computer program, the processor is by calling the computer program stored in the memory, for performing above-mentioned answer Use management method.
The application management method that the embodiment of the present application provides, multiple spies of the application are gathered according to the log of application Reference ceases;The multiple characteristic information is learnt by self organizing neural network, to obtain the self-organizing of application god Through network model;When the application enters running background, described apply in preset time period into front stage operation is obtained Effective number of run, the effectively number of run are that the application reaches the first preset duration into the operation duration of front stage operation Number;The fisrt feature coefficient of the application, the current characteristic information are calculated according to the current characteristic information of the application Including effective number of run;Second feature system is determined from the characteristic coefficient matrix according to the fisrt feature coefficient Number;Judge whether the application can be cleaned according to the second feature coefficient.The program is according to the second feature coefficient of application To judge whether the application can be cleaned, so as to be accurately judged to described answer according to the practical operation situation of the application With that when can be cleaned, when the application can be cleaned, the application is closed in time to discharge the internal memory of electronic equipment, And then the EMS memory occupation of electronic equipment can be reduced, improve the operation fluency of electronic equipment.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, make required in being described below to embodiment Accompanying drawing is briefly described.It should be evident that drawings in the following description are only some embodiments of the present application, for For those skilled in the art, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the system schematic for the application management device that the embodiment of the present application provides.
Fig. 2 is the application scenarios schematic diagram for the application management method that the embodiment of the present application provides.
Fig. 3 is the schematic flow sheet for the application management method that the embodiment of the present application provides.
Fig. 4 is another schematic flow sheet for the application management method that the embodiment of the present application provides.
Fig. 5 is the another schematic flow sheet for the application management method that the embodiment of the present application provides.
Fig. 6 is the configuration diagram of the self organizing neural network in the embodiment of the present application.
Fig. 7 is the structural representation for the application management device that the embodiment of the present application provides.
Fig. 8 is another structural representation for the application management device that the embodiment of the present application provides.
Fig. 9 is the another structural representation for the application management device that the embodiment of the present application provides.
Figure 10 is the structural representation for the electronic equipment that the embodiment of the present application provides.
Figure 11 is another structural representation for the electronic equipment that the embodiment of the present application provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation describes.Obviously, described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on Embodiment in the application, the every other implementation that those skilled in the art are obtained under the premise of creative work is not paid Example, belong to the protection domain of the application.
Term " first ", " second ", " the 3rd " in the description and claims of this application and above-mentioned accompanying drawing etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that this The object of sample description can exchange in the appropriate case.In addition, term " comprising " and " having " and their any deformation, meaning Figure is to cover non-exclusive include.For example, contain the process of series of steps, method or contain a series of modules or list The device of member, electronic equipment, system are not necessarily limited to those steps or module or the unit clearly listed, and can also include not having The step of clearly listing or module or unit, it can also include for these processes, method, apparatus, electronic equipment or system Intrinsic other steps or module or unit.
With reference to figure 1, Fig. 1 is the system schematic for the application management device that the embodiment of the present application provides.The application management fills Put and be mainly used in:Multiple characteristic informations of the application are gathered according to the log of application;Pass through self organizing neural network mould Type learns to the multiple features collected, to obtain the self organizing neural network model of the application, wherein described from group Knitting neural network model includes the characteristic coefficient matrix of the application;Gather the current characteristic information of the application, and according to adopting The current characteristic information collected calculates the fisrt feature coefficient of the application;According to the fisrt feature coefficient from the feature system Second feature coefficient is determined in matrix number;Then judge whether the application can be cleaned according to the second feature coefficient.
With reference to figure 2, Fig. 2 is the application scenarios schematic diagram for the application management method that the embodiment of the present application provides.Wherein, electronics Multiple applications of the equipment to running background are managed.For example, running background has using a, using b and using c.Electronic equipment Judge whether can be cleaned using a, using b, using c respectively.For example, it is judged as to be cleaned using a, using c, using b It can be cleaned, then electronic equipment can be cleaned out using b, keep continuing in running background using a and application c.So as to which electronics is set It is standby to close using b, to discharge using the internal memory shared by b.
With reference to figure 3, Fig. 3 is the schematic flow sheet for the application management method that the embodiment of the present application provides.The application management side Method can apply in electronic equipment.The electronic equipment can be the equipment such as smart mobile phone, tablet personal computer.The application management method It may comprise steps of:
S110, multiple characteristic informations of the application are gathered according to the log of application.
Wherein, the application can be mounted in any application in electronic equipment, such as messaging application, more Media application, game application, information application program or shopping application program etc..
Multiple characteristic informations of the application can include it is described using itself intrinsic characteristic information, such as it is described should Application type;Multiple characteristic informations of the application can also include the application caused feature in the process of running Information, for example, it is described apply the operation duration on backstage, in one day into backstage number, on once operation on foreground when Mode long or that enter backstage (such as by home key (i.e. HOME keys) switching, be returned key and switch or cut by other APP Change) etc.;Multiple characteristic informations of the application can also include caused characteristic information in electronic equipment running, example Such as electronic equipment puts out screen (go out screen) duration, bright screen duration, dump energy, network state or charged state.
In the running of electronic equipment, electronic equipment can record to the operation conditions of itself.Such as electronics At the time of equipment can put out screen every time by journal file recorded electronic equipment, bright screen at the time of, information about power, network state, Charged state etc..After above-mentioned application brings into operation, electronic equipment can also record to the operation conditions of the application. Such as the journal file in electronic equipment can record application at the time of bring into operation, into running background at the time of, enter Enter the switching mode on backstage etc..
When electronic equipment receives application management request, the application can be obtained according to the log of the application Multiple characteristic informations.Wherein, application management request can be triggered by the instruction of user or electronics The operation that equipment voluntarily triggers.For example, timing can be set in electronic equipment, the timing set is reached whenever the time, electronics is set It is standby voluntarily to trigger application management operation.
S120, the multiple characteristic information is learnt by self organizing neural network, with obtain the application from Organize neural network model.
With reference to figure 6, Fig. 6 is the configuration diagram of the self organizing neural network in the embodiment of the present application.Self-organizing feature map Network is by the inherent law and essential attribute in Automatic-searching sample, self-organizing, adaptively changes network parameter and structure. Wherein, self organizing neural network has input layer and computation layer.Input layer and computation layer include multiple nodes respectively.
After electronic equipment collects multiple characteristic informations of application, multiple characteristic informations of the application are input to from group Knit the input layer of neutral net.Then, the self organizing neural network learns to the multiple characteristic information, to obtain State the self organizing neural network model of application.Wherein, the self organizing neural network model includes the characteristic coefficient of the application Matrix, the characteristic coefficient matrix include multiple characteristic coefficients.
In certain embodiments, as shown in figure 4, step S120, being believed the multiple feature by self organizing neural network Breath is learnt, and to obtain the self organizing neural network model of the application, is comprised the following steps:
S121, according to the connection weight meter of each node in the multiple characteristic informations and self organizing neural network collected Calculate multiple characteristic coefficients of the application;
S122, the self organizing neural network model of the application is obtained according to obtained multiple characteristic coefficients.
Specifically, after some node (input node) in the input layer of self organizing neural network gets characteristic information, Node (calculate node) best with the node (input node) matching in computation layer is determined according to below equation one:
Formula one:
Wherein, DistFromInput represent computation layer in the node (input node) matching in input layer most Good node (calculate node) arrives the distance between described input node, and I represents the node (input being input in input layer Node) characteristic information, W represent field radius in all nodes connection weight, n represent be input to the node (input section Point) characteristic information number.
Wherein, the connection weight W of all nodes calculates according to below equation two in the radius of field:
Formula two:W (t)=W (t-1)+Θ (t-1) L (t-1) (I (t-1)-W (t-1))
Wherein, at the time of t is represented when being calculated, connection weight that W (t) is calculated by t, the also spy to be calculated Levy coefficient, W (t-1) be (t-1) moment node connection weight, Θ (t-1) be (t-1) moment field radius changing rate, L (t-1) it is the learning rate at (t-1) moment, I (t-1) is the input node being input in self organizing neural network at (t-1) moment Characteristic information.Θ (t-1) and L (t-1) is calculated according to below equation three and formula four respectively:
Formula three:
Formula four:
Wherein, e is natural constant (transcendental number), and e is definite value, and e is approximately equal to 2.71828.L0For fixed constant, such as L0Can With value 0.3,0.5 etc..σ (t-1) represents the field radius at (t-1) moment, and σ (t-1) is calculated according to below equation five:
Formula five:
Wherein, σ0For initial field radius, σ0For fixed constant, such as σ0Can be with value 5,10 etc..λ (t-1) is (t- 1) iteration coefficient at moment, λ (t-1) are calculated according to below equation six:
Formula six:
Wherein, λ0For primary iteration coefficient, λ0For fixed constant, such as λ0Can be with value 1000.
After electronic equipment collects multiple characteristic informations of above-mentioned application, fortune is iterated according to formula one to formula six Calculate, obtain multiple connection weight W (t) of the application.Connection weight W (t) namely it is characterized coefficient.Finally, it is calculated Multiple connection weight W (t) constitutive characteristic coefficient matrixes.The characteristic coefficient matrix includes multiple characteristic coefficients.The feature Multiple characteristic coefficients in coefficient matrix and characteristic coefficient matrix and the corresponding relation between the time form the application Self organizing neural network model.
It should be noted that in the self organizing neural network model of structure application, electronic equipment can be public more than Formula carries out the computing of a large amount of numbers.
S130, when the application enters running background, the application is calculated according to the current characteristic information of the application Fisrt feature coefficient.
Wherein, when the application enters running background by front stage operation, electronic equipment can be to the application The no judgement operation being cleaned.
Specifically, when the application enters running background, the current characteristic information of the electronic equipment collection application.Its In, current characteristic information can include described using itself intrinsic characteristic information, such as the application type of the application;When Preceding characteristic information can also include the application caused characteristic information in the process of running, such as described apply on backstage Operation duration, in one day into the number on backstage, last operation duration on foreground or enter backstage mode (such as Switched by home key (i.e. HOME keys), be returned key switching or switched by other APP) etc.;Current characteristic information can be with Including caused characteristic information in electronic equipment running, such as when putting out screen (go out screen) duration, bright screen of electronic equipment Length, dump energy, network state or charged state etc..
Then, electronic equipment is calculated the current characteristic information of the application according to above-mentioned formula one to formula six, To obtain the fisrt feature coefficient of the application.
In certain embodiments, the current characteristic information of the application include it is described apply enter in preset time period before Effective number of run of platform operation.Step S130, when the application enters running background, according to the current signature of the application Before information calculates the fisrt feature coefficient of the application, the application management method is further comprising the steps of:
When the application enters running background, described apply in preset time period into the effective of front stage operation is obtained Number of run, the effectively number of run are time that the application reaches the first preset duration into the operation duration of front stage operation Number.
Wherein, the preset time period can pre-set a time range in the electronic device.It is for example, default Period can be 10 hours, 24 hours etc..An it is understood that time of the preset time period for cut-off current time Scope.First preset duration can pre-set a duration numerical value in the electronic device.First preset duration table Show application certain operate to effectively operation or invalid operation separation.For example, the first preset duration can be 10 seconds, 1 Minute etc..The effectively number of run is applied in the preset time period into all numbers of front stage operation to be described In, operation duration reaches the number of first preset duration.
When the application enters running background, electronic equipment obtains described apply and enters foreground fortune in preset time period Capable effective number of run.
In certain embodiments, when the application enters running background, obtain described apply and enter in preset time period Enter effective number of run of front stage operation, comprise the following steps:
When the application enters running background, obtain described apply and enter the first of front stage operation in preset time period Number and the duration for entering front stage operation every time;
Determine that the application enters the duration of front stage operation and reaches the of the first preset duration from first number Two numbers;
Second number is defined as described apply in preset time period into effective number of run of front stage operation.
Wherein, when the application enters running background, electronic equipment can obtain according to the log of the application It is described to apply in preset time period into first number of front stage operation and every time into the duration of front stage operation.For example, Preset time period is 10 hours.First number applied into front stage operation in 10 hours is 5 times, before 5 entrance The duration of platform operation is respectively 30 seconds, 5 minutes, 2 minutes, 2 hours, 40 minutes.
Then, electronic equipment is respectively carried out the application into the duration of front stage operation and the first preset duration each time Compare, to determine that the application reaches the second of the first preset duration into the duration of front stage operation from first number Number.For example, the first preset duration is 1 minute, then in first number 5 times, into effective number of run of front stage operation Second number is 4 times.Then, second number is defined as described apply and enters foreground in preset time period by electronic equipment Effective number of run of operation.
In certain embodiments, determine that the application enters the duration of front stage operation and reaches the from first number It is further comprising the steps of before second number of one preset duration:
Obtain the application type of the application;
Corresponding first preset duration is obtained according to the application type.
Wherein, different application types, such as social networking application, shopping application, music can be pre-set in electronic equipment Using, Video Applications etc..Also, electronic equipment can be the first preset duration corresponding to each type of application is set.Example Such as, the first preset duration corresponding to social networking application is 10 seconds, and the first preset duration corresponding to shopping application is 1 minute, and music should It it is 30 seconds with corresponding first preset duration, the first preset duration corresponding to Video Applications is 3 minutes.
Electronic equipment can determine the application type of the application, and pre- according to application type acquisition corresponding first If duration.For example, the application is social networking application, then the first preset duration that electronic equipment is got is 10 seconds.
S140, second feature coefficient is determined from the characteristic coefficient matrix according to the fisrt feature coefficient.
Wherein, after the fisrt feature coefficient of the application is calculated in electronic equipment, you can according to the fisrt feature system The self organizing neural network model of several and described application determines the second feature coefficient of the application.
Specifically, the self organizing neural network model of the application includes the characteristic coefficient matrix of the application.The spy Sign coefficient matrix includes multiple characteristic coefficients.Electronic equipment can be respectively by the fisrt feature coefficient and the characteristic coefficient Multiple characteristic coefficients in matrix are compared, to determine second from multiple characteristic coefficients in the characteristic coefficient matrix Characteristic coefficient.
In certain embodiments, as shown in figure 4, step S140, according to the fisrt feature coefficient from the characteristic coefficient Second feature coefficient is determined in matrix, is comprised the following steps:
S141, the fisrt feature coefficient and the absolute value of the difference of the multiple characteristic coefficient are calculated respectively;
S142, characteristic coefficient corresponding to the minimum difference of absolute value is defined as second feature coefficient.
Wherein, after the fisrt feature coefficient of the application is calculated in electronic equipment, respectively by the fisrt feature coefficient Compared with multiple characteristic coefficients in the characteristic coefficient matrix, the fisrt feature coefficient and the multiple feature are calculated The difference of coefficient, and calculate the absolute value of the difference.
After obtaining the absolute value of multiple differences, minimum one is determined from the absolute value of multiple differences.Then, will be exhausted Second feature coefficient is defined as to the characteristic coefficient corresponding to the minimum difference of value.
S150, judge whether the application can be cleaned according to the second feature coefficient.
Wherein, after the second feature coefficient of the application is calculated in electronic equipment, you can according to the second feature system Number is judged, to determine whether the application can be cleaned.If the application can not be cleaned, retain the application and continue In running background, it is allowed to which the process of the application is resident in systems.If the application can be cleaned, can terminate described The process of application, to close the application, discharge the internal memory that the application takes.
In certain embodiments, as shown in figure 4, step S150, according to the second feature coefficient judging that the application is It is no to be cleaned, comprise the following steps:
S151, obtain the second preset duration;
S152, by the second feature coefficient compared with second preset duration, to obtain comparative result;
S153, judge whether the application can be cleaned according to the comparative result.
Wherein, the second preset duration can pre-set a duration value in the electronic device.For example, second is default Duration can be 10 minutes.After the second feature coefficient of the application is calculated in electronic equipment, adjusted from the electronic equipment Take second preset duration.Then, by the second feature coefficient compared with second preset duration, to be compared Relatively result.Wherein, magnitude relationship of the comparative result between the second feature coefficient and second preset duration.Compare knot Fruit is less than or equal to second preset duration, or the second feature coefficient more than described including the second feature coefficient Second preset duration.Then, electronic equipment judges whether the application can be cleaned according to the comparative result.
In certain embodiments, as shown in figure 5, step S151, the second preset duration of acquisition, comprise the following steps:
S1511, at the time of determining that the second feature coefficient corresponds to according to the second feature coefficient;
S1512, period and default corresponding relation according to residing for the moment obtain the second preset duration, described pre- If corresponding relation of the corresponding relation between period and the second preset duration.
Wherein, second feature coefficient is the characteristic coefficient determined from the self organizing neural network model of the application. Second feature coefficient is the function on time t.Electronic equipment can determine that described second is special according to the second feature coefficient At the time of sign coefficient corresponds to.
The corresponding relation between period and the second preset duration can be pre-set in electronic equipment.For example, in one day 24 hours can be divided into 4 periods:0:00~6:00,6:00~12:00,12:00~18:00,18:00~24:00. Each period can set corresponding second preset duration.For example, 0:00~6:Second preset duration corresponding to 00 is 8 points Clock, 6:00~12:Second preset duration corresponding to 00 be 10 minutes, 12:00~18:Second preset duration corresponding to 00 is 15 points Clock, 18:00~24:Second preset duration corresponding to 00 is 20 minutes.
After electronic equipment is determined at the time of the second feature coefficient corresponds to, further determine that residing for the moment when Between section.Then, the second preset duration is obtained according to the corresponding relation between period and period and the second preset duration.
In certain embodiments, as shown in figure 5, step S153, according to the comparative result judge it is described application whether may be used It is cleaned, comprises the following steps:
S1531, when the second feature coefficient is less than or equal to second preset duration, judged result is answered to be described With can not be cleaned;
S1532, when the second feature coefficient is more than second preset duration, judged result is that the application can quilt Cleaning.
Wherein, after electronic equipment obtains the comparative result between the second feature coefficient and the second preset duration, according to The comparative result judges whether the application can be cleaned.
Specifically, when the second feature coefficient is less than or equal to second preset duration, represent described and apply Front stage operation may be again switched in the period of second preset duration, now judged result is that the application can not It is cleaned.For example, second feature coefficient is less than the second preset duration 10 minutes, represents described and apply in ensuing 10 minutes Front stage operation may be again switched to by user, the now application can not be cleaned.
When the second feature coefficient is more than second preset duration, represents described and apply when described second is default Front stage operation will not be again switched in the long period, namely user will not reuse the application, now judge knot Fruit is that the application can be cleaned.For example, second feature coefficient is more than the second preset duration 15 minutes, represents described and apply It will not be run again by user in ensuing 15 minutes, the now application can be cleaned.Then, electronic equipment can close Close the application.
When it is implemented, the application is not limited by the execution sequence of described each step, conflict is not being produced In the case of, some steps can also use other orders to carry out or carry out simultaneously.
From the foregoing, it will be observed that the application management method that the embodiment of the present application provides, should according to the collection of the log of application Multiple characteristic informations;The multiple characteristic information is learnt by self organizing neural network, to obtain the application Self organizing neural network model;When the application enters running background, obtain described apply and enter in preset time period Effective number of run of front stage operation, the effectively number of run are that the application enters the operation duration of front stage operation and reaches the The number of one preset duration;The fisrt feature coefficient of the application is calculated according to the current characteristic information of the application, it is described to work as Preceding characteristic information includes effective number of run;Determined according to the fisrt feature coefficient from the characteristic coefficient matrix Second feature coefficient;Judge whether the application can be cleaned according to the second feature coefficient.The program is according to the of application Two characteristic coefficients come judge it is described application whether can be cleaned, so as to accurately be sentenced according to the practical operation situation of the application Break and when the application can be cleaned, when the application can be cleaned, close the application in time to discharge electronics The internal memory of equipment, and then the EMS memory occupation of electronic equipment can be reduced, improve the operation fluency of electronic equipment.
The embodiment of the present application also provides a kind of application management device, and the device can integrate in the electronic device, the electronics Equipment can be the equipment such as smart mobile phone, tablet personal computer.
As shown in fig. 7, application management device 200 can include:Acquisition module 201, study module 202, computing module 203rd, determining module 204 and judge module 205.
Acquisition module 201, for gathering multiple characteristic informations of the application according to the log of application.
Wherein, the application can be mounted in any application in electronic equipment, such as messaging application, more Media application, game application, information application program or shopping application program etc..
Multiple characteristic informations of the application can include it is described using itself intrinsic characteristic information, such as it is described should Application type;Multiple characteristic informations of the application can also include the application caused feature in the process of running Information, for example, it is described apply the operation duration on backstage, in one day into backstage number, on once operation on foreground when Mode long or that enter backstage (such as by home key (i.e. HOME keys) switching, be returned key and switch or cut by other APP Change) etc.;Multiple characteristic informations of the application can also include caused characteristic information in electronic equipment running, example Such as electronic equipment puts out screen (go out screen) duration, bright screen duration, dump energy, network state or charged state.
In the running of electronic equipment, application management device 200 can be remembered to the operation conditions of electronic equipment Record.Such as at the time of can putting out screen every time by journal file recorded electronic equipment, bright screen at the time of, it is information about power, network-like State, charged state etc..After above-mentioned application brings into operation, application management device 200 can also be to the operation shape of the application Condition is recorded.Such as the journal file in electronic equipment can record the application and be transported at the time of bring into operation, into backstage At the time of row, into the switching mode on backstage etc..
When application management device 200 receives application management request, acquisition module 201 can be according to the fortune of the application Row record obtains multiple characteristic informations of the application.Wherein, the application management request can be the instruction institute by user Operation triggering or that electronic equipment voluntarily triggers.For example, timing can be set in electronic equipment, arrived whenever the time Up to the timing of setting, electronic equipment voluntarily triggers application management operation.
Study module 202, for being learnt by self organizing neural network to the multiple characteristic information, to obtain State the self organizing neural network model of application.
Wherein, self organizing neural network be by the inherent law and essential attribute in Automatic-searching sample, self-organizing, from Adaptively change network parameter and structure.Self organizing neural network has input layer and computation layer.Input layer and computation layer difference Including multiple nodes.
After acquisition module 201 collects multiple characteristic informations of application, study module 202 is by multiple features of the application Information is input to the input layer of self organizing neural network.Then, the self organizing neural network enters to the multiple characteristic information Row study, to obtain the self organizing neural network model of the application.Wherein, the self organizing neural network model includes described The characteristic coefficient matrix of application, the characteristic coefficient matrix include multiple characteristic coefficients.
In certain embodiments, study module 202 is used to perform following steps:
Calculated according to the connection weight of each node in the multiple characteristic informations and self organizing neural network collected Multiple characteristic coefficients of the application;
The self organizing neural network model of the application is obtained according to obtained multiple characteristic coefficients.
Specifically, after some node (input node) in the input layer of self organizing neural network gets characteristic information, Study module 202 determines node best with the node (input node) matching in computation layer (meter according to below equation seven Operator node):
Formula seven:
Wherein, DistFromInput represent computation layer in the node (input node) matching in input layer most Good node (calculate node) arrives the distance between described input node, and I represents the node (input being input in input layer Node) characteristic information, W represent field radius in all nodes connection weight, n represent be input to the node (input section Point) characteristic information number.
Wherein, the connection weight W of all nodes calculates according to below equation eight in the radius of field:
Formula eight:W (t)=W (t-1)+Θ (t-1) L (t-1) (I (t-1)-W (t-1))
Wherein, at the time of t is represented when being calculated, connection weight that W (t) is calculated by t, the also spy to be calculated Levy coefficient, W (t-1) be (t-1) moment node connection weight, Θ (t-1) be (t-1) moment field radius changing rate, L (t-1) it is the learning rate at (t-1) moment, I (t-1) is the input node being input in self organizing neural network at (t-1) moment Characteristic information.Θ (t-1) and L (t-1) is calculated according to below equation nine and formula ten respectively:
Formula nine:
Formula ten:
Wherein, e is natural constant (transcendental number), and e is definite value, and e is approximately equal to 2.71828.L0For fixed constant, such as L0Can With value 0.3,0.5 etc..σ (t-1) represents the field radius at (t-1) moment, and σ (t-1) is calculated according to below equation 11:
Formula 11:
Wherein, σ0For initial field radius, σ0For fixed constant, such as σ0Can be with value 5,10 etc..λ (t-1) is (t- 1) iteration coefficient at moment, λ (t-1) are calculated according to below equation 12:
Formula 12:
Wherein, λ0For primary iteration coefficient, λ0For fixed constant, such as λ0Can be with value 1000.
After acquisition module 201 collects multiple characteristic informations of above-mentioned application, study module 202 is according to formula seven to formula 12 are iterated computing, obtain multiple connection weight W (t) of the application.Connection weight W (t) namely it is characterized coefficient.Most Afterwards, multiple connection weight W (t) the constitutive characteristic coefficient matrixes being calculated.The characteristic coefficient matrix includes multiple features Coefficient.Multiple characteristic coefficients in the characteristic coefficient matrix and characteristic coefficient matrix and the corresponding relation between the time are structure Into the self organizing neural network model of the application.
It should be noted that in the self organizing neural network model of structure application, study module 202 can be according to the above Formula carries out the computing of a large amount of numbers.
Computing module 203, for when the application enters running background, according to the current characteristic information meter of the application Calculate the fisrt feature coefficient of the application.
Wherein, when the application enters running background by front stage operation, application management device 200 can be to the application It is made whether the judgement operation that can be cleaned.
Specifically, when the application enters running background, computing module 203 gathers the current feature letter of the application Breath.Wherein, current characteristic information can include the application class using itself intrinsic characteristic information, such as the application Type;Current characteristic information can also include the application caused characteristic information in the process of running, such as described apply The operation duration on backstage, in one day into the number on backstage, last operation duration on foreground or the mode for entering backstage (such as switched by home key (i.e. HOME keys), be returned key switching or switched by other APP) etc.;Current characteristic information Can also include electronic equipment running in caused characteristic information, such as electronic equipment put out screen (go out screen) duration, Bright screen duration, dump energy, network state or charged state etc..
Then, computing module 203 is carried out according to the current characteristic information of above-mentioned formula seven to 12 pairs of applications of formula Calculate, to obtain the fisrt feature coefficient of the application.
In certain embodiments, the current characteristic information of the application include it is described apply enter in preset time period before Effective number of run of platform operation.The application management device 200 also includes acquisition module.The acquisition module be used for perform with Lower step:
When the application enters running background, described apply in preset time period into the effective of front stage operation is obtained Number of run, the effectively number of run are time that the application reaches the first preset duration into the operation duration of front stage operation Number.
Wherein, the preset time period can pre-set a time range in the electronic device.It is for example, default Period can be 10 hours, 24 hours etc..An it is understood that time of the preset time period for cut-off current time Scope.First preset duration can pre-set a duration numerical value in the electronic device.First preset duration table Show application certain operate to effectively operation or invalid operation separation.For example, the first preset duration can be 10 seconds, 1 Minute etc..The effectively number of run is applied in the preset time period into all numbers of front stage operation to be described In, operation duration reaches the number of first preset duration.
When the application enters running background, acquisition module obtains described apply and enters foreground fortune in preset time period Capable effective number of run.
In certain embodiments, when the application enters running background, obtain described apply and enter in preset time period When entering effective number of run of front stage operation, the acquisition module is used to perform following steps:
When the application enters running background, obtain described apply and enter the first of front stage operation in preset time period Number and the duration for entering front stage operation every time;
Determine that the application enters the duration of front stage operation and reaches the of the first preset duration from first number Two numbers;
Second number is defined as described apply in preset time period into effective number of run of front stage operation.
Wherein, when the application enters running background, the acquisition module can be according to the log of the application Obtain described apply in preset time period into first number of front stage operation and every time into the duration of front stage operation.Example Such as, preset time period is 10 hours.First number applied into front stage operation in 10 hours is 5 times, this 5 times entrance The duration of front stage operation is respectively 30 seconds, 5 minutes, 2 minutes, 2 hours, 40 minutes.
Then, acquisition module is respectively carried out the application into the duration of front stage operation and the first preset duration each time Compare, to determine that the application reaches the second of the first preset duration into the duration of front stage operation from first number Number.For example, the first preset duration is 1 minute, then in first number 5 times, into effective number of run of front stage operation Second number is 4 times.Then, second number is defined as described apply and enters foreground in preset time period by acquisition module Effective number of run of operation.
In certain embodiments, determine that the application enters the duration of front stage operation and reaches the from first number Before second number of one preset duration, the acquisition module is additionally operable to perform following steps:
Obtain the application type of the application;
Corresponding first preset duration is obtained according to the application type.
Wherein, different application types, such as social networking application, shopping application, music can be pre-set in electronic equipment Using, Video Applications etc..Also, electronic equipment can be the first preset duration corresponding to each type of application is set.Example Such as, the first preset duration corresponding to social networking application is 10 seconds, and the first preset duration corresponding to shopping application is 1 minute, and music should It it is 30 seconds with corresponding first preset duration, the first preset duration corresponding to Video Applications is 3 minutes.
The acquisition module can determine the application type of the application, and obtain corresponding the according to the application type One preset duration.For example, the application is social networking application, then the first preset duration that acquisition module is got is 10 seconds.
Determining module 204, for determining that second is special from the characteristic coefficient matrix according to the fisrt feature coefficient Levy coefficient.
Wherein, after the fisrt feature coefficient of the application is calculated in computing module 203, determining module 204 can basis The fisrt feature coefficient and the self organizing neural network model of the application determine the second feature coefficient of the application.
Specifically, the self organizing neural network model of the application includes the characteristic coefficient matrix of the application.The spy Sign coefficient matrix includes multiple characteristic coefficients.Determining module 204 can be respectively by the fisrt feature coefficient and the feature Multiple characteristic coefficients in coefficient matrix are compared, to be determined from multiple characteristic coefficients in the characteristic coefficient matrix Second feature coefficient.
In certain embodiments, as shown in figure 8, determining module 204 includes:Calculating sub module 2041, determination sub-module 2042。
Calculating sub module 2041, for calculating the fisrt feature coefficient and the difference of the multiple characteristic coefficient respectively Absolute value;
Determination sub-module 2042, for characteristic coefficient corresponding to the minimum difference of absolute value to be defined as into second feature system Number.
Wherein, after the fisrt feature coefficient of the application is calculated in computing module 203, calculating sub module 2041 respectively will The fisrt feature coefficient calculates the fisrt feature system compared with multiple characteristic coefficients in the characteristic coefficient matrix The difference of number and the multiple characteristic coefficient, and calculate the absolute value of the difference.
After obtaining the absolute value of multiple differences, determination sub-module 2042 determines minimum from the absolute value of multiple differences One.Then, the characteristic coefficient corresponding to the minimum difference of absolute value is defined as second feature coefficient.
Judge module 205, for judging whether the application can be cleaned according to the second feature coefficient.
Wherein it is determined that after module 204 draws the second feature coefficient of the application, judge module 205 can be according to described Second feature coefficient is judged, to determine whether the application can be cleaned.If the application can not be cleaned, retain institute State using continuation in running background, it is allowed to which the process of the application is resident in systems.If the application can be cleaned, can To terminate the process of the application, to close the application, the internal memory that the application takes is discharged.
In certain embodiments, as shown in figure 9, judge module 205 includes:Acquisition submodule 2051, comparison sub-module 2052nd, judging submodule 2053.
Acquisition submodule 2051, for obtaining the second preset duration;
Comparison sub-module 2052, for by the second feature coefficient compared with second preset duration, with To comparative result;
Judging submodule 2053, for judging whether the application can be cleaned according to the comparative result.
Wherein, the second preset duration can pre-set a duration value in the electronic device.For example, second is default Duration can be 10 minutes.After determining module 204 draws the second feature coefficient of the application, acquisition submodule 2051 is from described Second preset duration is transferred in electronic equipment.Then, comparison sub-module 2052 is by the second feature coefficient and described the Two preset durations are compared, to obtain comparative result.Wherein, comparative result is that the second feature coefficient and described second are pre- If the magnitude relationship between duration.Comparative result is less than or equal to second preset duration including the second feature coefficient, Or the second feature coefficient is more than second preset duration.Then, judging submodule 2053 is according to the comparative result Judge whether the application can be cleaned.
In certain embodiments, acquisition submodule 2051 is used to perform following steps:
At the time of determining that the second feature coefficient corresponds to according to the second feature coefficient;
Period and default corresponding relation according to residing for the moment obtain the second preset duration, the default correspondence Corresponding relation of the relation between period and the second preset duration.
Wherein, second feature coefficient is the characteristic coefficient determined from the self organizing neural network model of the application. Second feature coefficient is the function on time t.Acquisition submodule 2051 can be according to determining the second feature coefficient At the time of second feature coefficient corresponds to.
The corresponding relation between period and the second preset duration can be pre-set in electronic equipment.For example, in one day 24 hours can be divided into 4 periods:0:00~6:00,6:00~12:00,12:00~18:00,18:00~24:00. Each period can set corresponding second preset duration.For example, 0:00~6:Second preset duration corresponding to 00 is 8 points Clock, 6:00~12:Second preset duration corresponding to 00 be 10 minutes, 12:00~18:Second preset duration corresponding to 00 is 15 points Clock, 18:00~24:Second preset duration corresponding to 00 is 20 minutes.
After acquisition submodule 2051 is determined at the time of the second feature coefficient corresponds to, the moment institute is further determined that The period at place.Then, second is obtained according to the corresponding relation between period and period and the second preset duration to preset Duration.
In certain embodiments, judging submodule 2053 is used to perform following steps:
When the second feature coefficient is less than or equal to second preset duration, judged result is that the application can not It is cleaned;
When the second feature coefficient is more than second preset duration, judged result is that the application can be cleaned.
Wherein, comparison sub-module 2052 obtains the comparative result between the second feature coefficient and the second preset duration Afterwards, judging submodule 2053 judges whether the application can be cleaned according to the comparative result.
Specifically, when the second feature coefficient is less than or equal to second preset duration, represent described and apply Front stage operation may be again switched in the period of second preset duration, now judged result is that the application can not It is cleaned.For example, second feature coefficient is less than the second preset duration 10 minutes, represents described and apply in ensuing 10 minutes Front stage operation may be again switched to by user, the now application can not be cleaned.
When the second feature coefficient is more than second preset duration, represents described and apply when described second is default Front stage operation will not be again switched in the long period, namely user will not reuse the application, now judge knot Fruit is that the application can be cleaned.For example, second feature coefficient is more than the second preset duration 15 minutes, represents described and apply It will not be run again by user in ensuing 15 minutes, the now application can be cleaned.Then, application management device 200 can close the application.
It when it is implemented, above modules can be realized as independent entity, can also be combined, be made Realized for same or several entities.
From the foregoing, it will be observed that the application management device 200 that the embodiment of the present application provides, the operation by acquisition module according to application Record gathers multiple characteristic informations of the application;Study module is entered by self organizing neural network to the multiple characteristic information Row study, to obtain the self organizing neural network model of the application;Acquisition module obtains when the application enters running background The effective number of run applied and enter front stage operation in preset time period is taken, the effectively number of run is the application Operation duration into front stage operation reaches the number of the first preset duration;Computing module is believed according to the current signature of the application Breath calculates the fisrt feature coefficient of the application, and the current characteristic information includes effective number of run;Determining module 204 Second feature coefficient is determined from the characteristic coefficient matrix according to the fisrt feature coefficient;Judge module 205 is according to institute State second feature coefficient and judge whether the application can be cleaned.Described in the program judges according to the second feature coefficient of application Using whether being cleaned, so as to be accurately judged to the application when can be with according to the practical operation situation of the application It is cleaned, when the application can be cleaned, closes the application in time to discharge the internal memory of electronic equipment, and then can subtract The EMS memory occupation of few electronic equipment, improve the operation fluency of electronic equipment.
The embodiment of the present application also provides a kind of electronic equipment.The electronic equipment can be that smart mobile phone, tablet personal computer etc. are set It is standby.As shown in Figure 10, electronic equipment 300 includes processor 301 and memory 302.Wherein, processor 301 and the electricity of memory 302 Property connection.
Processor 301 is the control centre of electronic equipment 300, utilizes various interfaces and the whole electronic equipment of connection Various pieces, by running or calling the computer program being stored in memory 302, and call and be stored in memory 302 Interior data, the various functions and processing data of electronic equipment are performed, so as to carry out integral monitoring to electronic equipment.
In the present embodiment, processor 301 in electronic equipment 300 can according to the steps, by one or one with On computer program process corresponding to instruction be loaded into memory 302, and be stored in storage by processor 301 to run Computer program in device 302, so as to realize various functions:
Multiple characteristic informations of the application are gathered according to the log of application;
The multiple characteristic information is learnt by self organizing neural network, to obtain the self-organizing of application god Through network model, the self organizing neural network model includes the characteristic coefficient matrix of the application;
When the application enters running background, described apply in preset time period into the effective of front stage operation is obtained Number of run, the effectively number of run are time that the application reaches the first preset duration into the operation duration of front stage operation Number;
The fisrt feature coefficient of the application, the current characteristic information are calculated according to the current characteristic information of the application Including effective number of run;
Second feature coefficient is determined from the characteristic coefficient matrix according to the fisrt feature coefficient;
Judge whether the application can be cleaned according to the second feature coefficient.
In certain embodiments, when the application enters running background, obtain described apply and enter in preset time period When entering effective number of run of front stage operation, processor 301 performs following steps:
When the application enters running background, obtain described apply and enter the first of front stage operation in preset time period Number and the duration for entering front stage operation every time;
Determine that the application enters the duration of front stage operation and reaches the of the first preset duration from first number Two numbers;
Second number is defined as described apply in preset time period into effective number of run of front stage operation.
In certain embodiments, determine that the application enters the duration of front stage operation and reaches the from first number Before second number of one preset duration, processor 301 also performs following steps:
Obtain the application type of the application;
Corresponding first preset duration is obtained according to the application type.
In certain embodiments, the characteristic coefficient matrix includes multiple characteristic coefficients, according to the fisrt feature coefficient When determining second feature coefficient from the characteristic coefficient matrix, processor 301 performs following steps:
The fisrt feature coefficient and the absolute value of the difference of the multiple characteristic coefficient are calculated respectively;
Characteristic coefficient corresponding to the minimum difference of absolute value is defined as second feature coefficient.
In certain embodiments, when judging whether the application can be cleaned according to the second feature coefficient, processor 301 perform following steps:
Obtain the second preset duration;
By the second feature coefficient compared with second preset duration, to obtain comparative result;
Judge whether the application can be cleaned according to the comparative result.
In certain embodiments, when obtaining the second preset duration, processor 301 performs following steps:
At the time of determining that the second feature coefficient corresponds to according to the second feature coefficient;
Period and default corresponding relation according to residing for the moment obtain the second preset duration, the default correspondence Corresponding relation of the relation between period and the second preset duration.
In certain embodiments, when judging whether the application can be cleaned according to the comparative result, processor 301 is held Row following steps:
When the second feature coefficient is less than or equal to second preset duration, judged result is that the application can not It is cleaned;
When the second feature coefficient is more than second preset duration, judged result is that the application can be cleaned.
In certain embodiments, the multiple characteristic information is learnt by self organizing neural network, to obtain When stating the self organizing neural network model of application, processor 301 performs following steps:
Calculated according to the connection weight of each node in the multiple characteristic informations and self organizing neural network collected Multiple characteristic coefficients of the application;
The self organizing neural network model of the application is obtained according to obtained multiple characteristic coefficients.
In certain embodiments, according to each node in the multiple characteristic informations and self organizing neural network collected When connection weight calculates multiple characteristic coefficients of the application, processor 301 is calculated according to below equation:
W (t)=W (t-1)+Θ (t-1) L (t-1) (I (t-1)-W (t-1))
Wherein, W (t) is the connection weight of t node, and the characteristic coefficient that W (t) is also calculated by t, t tables At the time of showing when being calculated, W (t-1) is the connection weight of t-1 moment nodes, and Θ (t-1) is the field radius at (t-1) moment Rate of change, L (t-1) are the learning rate at (t-1) moment, and I (t-1) is input to defeated in self organizing neural network for (t-1) moment The characteristic information of ingress.
Memory 302 can be used for storage computer program and data.Include in the computer program that memory 302 stores The instruction that can be performed within a processor.Computer program can form various functions module.Processor 301 is stored in by calling The computer program of memory 302, so as to perform various function application and data processing.
In certain embodiments, as shown in figure 11, electronic equipment 300 also includes:Radio circuit 303, display screen 304, control Circuit 305, input block 306, voicefrequency circuit 307, sensor 308 and power supply 309 processed.Wherein, processor 301 is respectively with penetrating Frequency circuit 303, display screen 304, control circuit 305, input block 306, voicefrequency circuit 307, sensor 308 and power supply 309 It is electrically connected with.
Radio circuit 303 is used for transceiving radio frequency signal, to be entered by radio communication and the network equipment or other electronic equipments Row communication.
Display screen 304 can be used for display by user input information or be supplied to user information and electronic equipment it is each Kind graphical user interface, these graphical user interface can be made up of image, text, icon, video and its any combination.
Control circuit 305 is electrically connected with display screen 304, for the display information of control display screen 304.
Input block 306 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and Keyboard, mouse, action bars, optics or the trace ball signal relevant with user's setting and function control is produced to input.Wherein, Input block 306 can include fingerprint recognition module.
Voicefrequency circuit 307 can provide the COBBAIF between user and electronic equipment by loudspeaker, microphone.
Sensor 308 is used to gather external environmental information.Sensor 308 can include ambient light sensor, acceleration One or more in the sensors such as sensor, gyroscope.
The all parts that power supply 309 is used for electron equipment 300 are powered.In certain embodiments, power supply 309 can pass through Power-supply management system and processor 301 are logically contiguous, so as to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.
Although not shown in Figure 11, electronic equipment 300 can also include camera, bluetooth module etc., will not be repeated here.
From the foregoing, it will be observed that the embodiment of the present application provides a kind of electronic equipment, the electronic equipment is according to the log of application Gather multiple characteristic informations of the application;The multiple characteristic information is learnt by self organizing neural network, with To the self organizing neural network model of the application;When the application enters running background, described apply when default is obtained Between enter effective number of run of front stage operation in section, the effectively number of run is the operation that the application enters front stage operation Duration reaches the number of the first preset duration;The fisrt feature system of the application is calculated according to the current characteristic information of the application Number, the current characteristic information include effective number of run;According to the fisrt feature coefficient from the characteristic coefficient square Second feature coefficient is determined in battle array;Judge whether the application can be cleaned according to the second feature coefficient.Program root Judge whether the application can be cleaned according to the second feature coefficient of application, so as to the actual motion according to the application Situation is accurately judged to when the application can be cleaned, and when the application can be cleaned, closes the application in time To discharge the internal memory of electronic equipment, and then the EMS memory occupation of electronic equipment can be reduced, improve the operation fluency of electronic equipment.
The embodiment of the present application also provides a kind of storage medium, and computer program is stored with the storage medium, when the calculating When machine program is run on computers, the computer performs the application management method described in any of the above-described embodiment.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps are by program the hardware of correlation can be instructed to complete, and the program can be stored in computer-readable storage medium In matter, the storage medium can include but is not limited to:Read-only storage (ROM, Read Only Memory), random access memory Device (RAM, Random Access Memory), disk or CD etc..
Application management method, device, storage medium and the electronic equipment provided above the embodiment of the present application is carried out It is discussed in detail, specific case used herein is set forth to the principle and embodiment of the application, above example Illustrate that being only intended to help understands the present processes and its core concept;Meanwhile for those skilled in the art, according to this The thought of application, there will be changes in specific embodiments and applications, in summary, this specification content should It is interpreted as the limitation to the application.

Claims (12)

  1. A kind of 1. application management method, it is characterised in that including:
    Multiple characteristic informations of the application are gathered according to the log of application;
    The multiple characteristic information is learnt by self organizing neural network, to obtain the self-organizing feature map of the application Network model, the self organizing neural network model include the characteristic coefficient matrix of the application;
    When the application enters running background, the effective operation applied and enter front stage operation in preset time period is obtained Number, the effectively number of run are the number that the application reaches the first preset duration into the operation duration of front stage operation;
    The fisrt feature coefficient of the application is calculated according to the current characteristic information of the application, the current characteristic information includes Effective number of run;
    Second feature coefficient is determined from the characteristic coefficient matrix according to the fisrt feature coefficient;
    Judge whether the application can be cleaned according to the second feature coefficient.
  2. 2. application management method according to claim 1, it is characterised in that described when the application enters running background When, the effective number of run applied and enter front stage operation in preset time period is obtained, including:
    When the application enters running background, first number applied and enter front stage operation in preset time period is obtained And enter the duration of front stage operation every time;
    Determine that the application reaches second of the first preset duration into the duration of front stage operation from first number Number;
    Second number is defined as described apply in preset time period into effective number of run of front stage operation.
  3. 3. application management method according to claim 2, it is characterised in that described to determine institute from first number State before reaching second number of the first preset duration using the duration into front stage operation, in addition to:
    Obtain the application type of the application;
    Corresponding first preset duration is obtained according to the application type.
  4. 4. according to the application management method described in any one of claims 1 to 3, it is characterised in that the characteristic coefficient matrix bag Multiple characteristic coefficients are included, it is described that second feature coefficient is determined from the characteristic coefficient matrix according to the fisrt feature coefficient The step of include:
    The fisrt feature coefficient and the absolute value of the difference of the multiple characteristic coefficient are calculated respectively;
    Characteristic coefficient corresponding to the minimum difference of absolute value is defined as second feature coefficient.
  5. 5. according to the application management method described in any one of claims 1 to 3, it is characterised in that described special according to described second Sign coefficient judges that the step of whether application can be cleaned includes:
    Obtain the second preset duration;
    By the second feature coefficient compared with second preset duration, to obtain comparative result;
    Judge whether the application can be cleaned according to the comparative result.
  6. 6. application management method according to claim 5, it is characterised in that described the step of obtaining the second preset duration wraps Include:
    At the time of determining that the second feature coefficient corresponds to according to the second feature coefficient;
    Period and default corresponding relation according to residing for the moment obtain the second preset duration, the default corresponding relation For the corresponding relation between period and the second preset duration.
  7. 7. application management method according to claim 5, it is characterised in that described according to judging the comparative result Using whether can be cleaned the step of include:
    When the second feature coefficient is less than or equal to second preset duration, judged result is that the application can not be clear Reason;
    When the second feature coefficient is more than second preset duration, judged result is that the application can be cleaned.
  8. A kind of 8. application management device, it is characterised in that including:
    Acquisition module, for gathering multiple characteristic informations of the application according to the log of application;
    Study module, for being learnt by self organizing neural network to the multiple characteristic information, to obtain the application Self organizing neural network model, the self organizing neural network model includes the characteristic coefficient matrix of the application;
    Acquisition module, enter foreground in preset time period for when the application enters running background, obtaining described apply Effective number of run of operation, the effectively number of run are that the application enters the operation duration of front stage operation to reach first pre- If the number of duration;
    Computing module, it is described to work as calculating the fisrt feature coefficient of the application according to the current characteristic information of the application Preceding characteristic information includes effective number of run;
    Determining module, for determining second feature coefficient from the characteristic coefficient matrix according to the fisrt feature coefficient;
    Judge module, for judging whether the application can be cleaned according to the second feature coefficient.
  9. 9. application management device according to claim 8, it is characterised in that the acquisition module is used for:
    When the application enters running background, first number applied and enter front stage operation in preset time period is obtained And enter the duration of front stage operation every time;
    Determine that the application reaches second of the first preset duration into the duration of front stage operation from first number Number;
    Second number is defined as described apply in preset time period into effective number of run of front stage operation.
  10. 10. application management device according to claim 9, it is characterised in that described to be determined from first number Before the application reaches second number of the first preset duration into the duration of front stage operation, the acquisition module is additionally operable to:
    Obtain the application type of the application;
    Corresponding first preset duration is obtained according to the application type.
  11. 11. a kind of storage medium, it is characterised in that computer program is stored with the storage medium, when the computer journey When sequence is run on computers so that the computer perform claim requires the application management method described in 1 to 7 any one.
  12. 12. a kind of electronic equipment, it is characterised in that including processor and memory, computer journey is stored with the memory Sequence, the processor is by calling the computer program stored in the memory, for perform claim requirement 1 to 7 Application management method described in one.
CN201711047015.3A 2017-10-31 2017-10-31 Application management method, device, storage medium and electronic equipment Active CN107870791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711047015.3A CN107870791B (en) 2017-10-31 2017-10-31 Application management method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711047015.3A CN107870791B (en) 2017-10-31 2017-10-31 Application management method, device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN107870791A true CN107870791A (en) 2018-04-03
CN107870791B CN107870791B (en) 2019-07-16

Family

ID=61752764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711047015.3A Active CN107870791B (en) 2017-10-31 2017-10-31 Application management method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107870791B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019062369A1 (en) * 2017-09-30 2019-04-04 Oppo广东移动通信有限公司 Application management method and apparatus, storage medium, and electronic device
CN111050385A (en) * 2018-10-15 2020-04-21 中兴通讯股份有限公司 Application cleaning method, device, equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160217198A1 (en) * 2015-01-26 2016-07-28 Samsung Electronics Co., Ltd. User management method and apparatus
CN106155695A (en) * 2016-07-28 2016-11-23 努比亚技术有限公司 The removing control device and method of background application
CN107729081A (en) * 2017-09-30 2018-02-23 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment
CN107832848A (en) * 2017-10-31 2018-03-23 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160217198A1 (en) * 2015-01-26 2016-07-28 Samsung Electronics Co., Ltd. User management method and apparatus
CN106155695A (en) * 2016-07-28 2016-11-23 努比亚技术有限公司 The removing control device and method of background application
CN107729081A (en) * 2017-09-30 2018-02-23 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment
CN107832848A (en) * 2017-10-31 2018-03-23 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019062369A1 (en) * 2017-09-30 2019-04-04 Oppo广东移动通信有限公司 Application management method and apparatus, storage medium, and electronic device
US11249645B2 (en) 2017-09-30 2022-02-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Application management method, storage medium, and electronic apparatus
CN111050385A (en) * 2018-10-15 2020-04-21 中兴通讯股份有限公司 Application cleaning method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN107870791B (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN107729081A (en) application management method, device, storage medium and electronic equipment
CN111325258B (en) Feature information acquisition method, device, equipment and storage medium
CN110738211B (en) Object detection method, related device and equipment
CN110909630B (en) Abnormal game video detection method and device
CN109948633A (en) User gender prediction method, apparatus, storage medium and electronic equipment
CN107832848B (en) Application management method, device, storage medium and electronic equipment
CN110995810B (en) Object identification method based on artificial intelligence and related device
CN107678858A (en) application processing method, device, storage medium and electronic equipment
CN107765853A (en) Using method for closing, device, storage medium and electronic equipment
CN111726341A (en) Data detection method and device, electronic equipment and storage medium
CN108182271A (en) A kind of photographic method, terminal and computer readable storage medium
CN107943570A (en) application management method, device, storage medium and electronic equipment
CN115392405A (en) Model training method, related device and storage medium
CN114862488A (en) Identification method of resource consumption abnormal object and related device
CN108763478A (en) User's recessive character computational methods, server and computer readable storage medium
CN107870791A (en) application management method, device, storage medium and electronic equipment
CN107844338A (en) Application program management-control method, device, medium and electronic equipment
CN107729144A (en) Application control method, apparatus, storage medium and electronic equipment
CN107229728A (en) Searching method, equipment and storage medium based on neutral net
CN107302591A (en) Method of data synchronization, device, storage medium and electronic equipment
CN107395872A (en) Using startup method, apparatus, storage medium and electronic equipment
CN117115596B (en) Training method, device, equipment and medium of object action classification model
CN110022235A (en) Information processing method, terminal and server
CN111797867A (en) System resource optimization method and device, storage medium and electronic equipment
CN108306817A (en) A kind of Information locating processing method and mobile terminal

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