CN107608748A - Application program management-control method, device, storage medium and terminal device - Google Patents

Application program management-control method, device, storage medium and terminal device Download PDF

Info

Publication number
CN107608748A
CN107608748A CN201710944853.4A CN201710944853A CN107608748A CN 107608748 A CN107608748 A CN 107608748A CN 201710944853 A CN201710944853 A CN 201710944853A CN 107608748 A CN107608748 A CN 107608748A
Authority
CN
China
Prior art keywords
application program
sample vector
training pattern
hyperplane
control method
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
CN201710944853.4A
Other languages
Chinese (zh)
Other versions
CN107608748B (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 CN201710944853.4A priority Critical patent/CN107608748B/en
Publication of CN107608748A publication Critical patent/CN107608748A/en
Priority to PCT/CN2018/100331 priority patent/WO2019062358A1/en
Application granted granted Critical
Publication of CN107608748B publication Critical patent/CN107608748B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application provides a kind of application program management-control method, device, storage medium and terminal device, enters backstage by detecting application program, obtains history feature information xi, training pattern is generated using linear SVM algorithm, so as to bring the current characteristic information s of application program into training patterns, and then judges whether the application program needs to close, intelligence closes application program.

Description

Application program management-control method, device, storage medium and terminal device
Technical field
The application is related to field of terminal, and in particular to a kind of application program management-control method, device, storage medium and terminal are set It is standby.
Background technology
Terminal user can use widely apply daily, after a usual application is pulled to backstage, if unclear in time comprehend Valuable system memory resource is taken, and system power dissipation can be influenceed.Therefore, it is necessary to provide a kind of application program management and control side Method, device, storage medium and terminal device.
The content of the invention
The embodiment of the present application provides a kind of application program management-control method, device, storage medium and terminal device, with intelligent pass Close application program.
The embodiment of the present application provides a kind of application program management-control method, applied to terminal device, the application program management and control Method comprises the following steps:
Obtain sample vector collection of the application program in default historical period, the sample that wherein sample vector is concentrated Vector includes the history feature information x of multiple dimensions of several time points of the application program in default historical time sectioni
Using linear SVM algorithm to the history feature information xiCalculated, generate training pattern;
The current characteristic information s of the application program is inputted into the training pattern to be calculated;And
Judge whether the application program needs to close.
The embodiment of the present application also provides a kind of application program control device, and described device includes:
Acquisition module, for obtaining sample vector collection of the application program in default historical period, the wherein sample Sample vector in vector set includes multiple dimensions of several time points of the application program in default historical time section History feature information xi
Generation module, for using linear SVM algorithm to the history feature information xiCalculated, generated Training pattern;
Computing module, calculated for the current characteristic information s of the application program to be inputted into the training pattern;With And
Judge module, for judging whether the application program needs to close.
The embodiment of the present application also provides a kind of storage medium, and a plurality of instruction, the instruction are stored with the storage medium Suitable for being loaded by processor to perform above-mentioned application program management-control method.
The embodiment of the present application also provides a kind of terminal device, and the terminal device includes processor and memory, the end End equipment and the memory are electrically connected with, and the memory is used for store instruction and data, the processor be used for execution with Lower step:
Obtain sample vector collection of the application program in default historical period, the sample that wherein sample vector is concentrated Vector includes the history feature information x of multiple dimensions of several time points of the application program in default historical time sectioni
Using linear SVM algorithm to the history feature information xiCalculated, generate training pattern;
The current characteristic information s of the application program is inputted into the training pattern to be calculated;And
Judge whether the application program needs to close.
Application program management-control method, device, storage medium and terminal device provided herein, journey is applied by detection Sequence enters backstage, obtains history feature information xi, training pattern is generated using linear SVM algorithm, so as to which journey will be applied The characteristic information of sequence brings training pattern into, and then judges whether the application program needs to close, and intelligence closes application program.
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 apparent 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 a kind of system schematic for the application program control device that the embodiment of the present application provides.
Fig. 2 is the application scenarios schematic diagram for the application program control device that the embodiment of the present application provides.
Fig. 3 is a kind of schematic flow sheet for the application program management-control method that the embodiment of the present application provides.
Fig. 4 is another schematic flow sheet for the application program management-control method that the embodiment of the present application provides.
Fig. 5 is a kind of structural representation for the device that the embodiment of the present application provides.
Fig. 6 is another structural representation for the device that the embodiment of the present application provides.
Fig. 7 is a kind of structural representation for the electronic equipment that the embodiment of the present application provides.
Fig. 8 is another structural representation for the electronic equipment that the embodiment of the present application provides.
Main element symbol description
Device 30
Acquisition module 31
Generation module 32
Training module 321
Solve module 322
Computing module 33
Acquisition module 331
Computing module 332
Judge module 34
Detection module 35
First presetting module 36
Storage module 37
Second presetting module 38
Closedown module 39
Electronic equipment 500
Processor 501
Memory 502
Radio-frequency cable 503
Display screen 504
Control circuit 505
Input block 506
Voicefrequency circuit 507
Sensor 508
Power supply 509
Specific 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 made Example, belong to the scope of the application protection.
In the description of the present application, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", " on ", " under ", "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom ", " interior ", " outer ", " up time The orientation or position relationship of the instruction such as pin ", " counterclockwise " are based on orientation shown in the drawings or position relationship, are for only for ease of Describe the application and simplify to describe, rather than indicate or imply that signified device or element must have specific orientation, Yi Te Fixed azimuth configuration and operation, therefore it is not intended that limitation to the application.In addition, term " first ", " second " are only used for Purpose is described, and it is not intended that instruction or hint relative importance or the implicit quantity for indicating indicated technical characteristic. Thus, " first " is defined, the feature of " second " can be expressed or implicitly includes one or more feature. In the description of the present application, " multiple " are meant that two or more, unless otherwise specifically defined.
, it is necessary to illustrate in the description of the present application, unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can To be mechanical connection or electrical connection or can mutually communicate;Can be joined directly together, can also be by between intermediary Connect connected, can be connection or the interaction relationship of two elements of two element internals.For the ordinary skill of this area For personnel, the concrete meaning of above-mentioned term in this application can be understood as the case may be.
In this application, unless otherwise clearly defined and limited, fisrt feature second feature it " on " or it " under " Can directly it be contacted including the first and second features, it is not directly to contact but pass through it that can also include the first and second features Between other characterisation contact.Moreover, fisrt feature second feature " on ", " top " and " above " to include first special Sign is directly over second feature and oblique upper, or is merely representative of fisrt feature level height and is higher than second feature.Fisrt feature exists Second feature " under ", " lower section " and " following " fisrt feature that includes are immediately below second feature and obliquely downward, or be merely representative of Fisrt feature level height is less than second feature.
Following disclosure provides many different embodiments or example is used for realizing the different structure of the application.For letter Change disclosure herein, hereinafter the part and setting of specific examples are described.Certainly, they are only example, and Purpose does not lie in limitation the application.In addition, the application can in different examples repeat reference numerals and/or reference letter, this Kind repeats to be the relation between itself not indicating discussed various embodiments and/or setting for purposes of simplicity and clarity. In addition, this application provides various specific techniques and material examples, but those of ordinary skill in the art will be appreciated that To the application of other techniques and/or the use of other materials.
Refer to the schema in accompanying drawing, wherein identical element numbers represent identical component, the principle of the application be with Implement to illustrate in an appropriate computing environment.The following description is the specific implementation based on exemplified the application Example, it is not construed as limiting the application other specific embodiments not detailed herein.
The application principle illustrates that it is not represented as a kind of limitation, those skilled in the art can with above-mentioned word Solve plurality of step as described below and operation also may be implemented among hardware.The principle of the application uses many other wide usages Or specific purpose computing, communication environment or configuration are operated.
The application program management-control method that the application provides, is mainly used in terminal device, such as:Bracelet, smart mobile phone, it is based on The intelligent mobile such as the tablet personal computer of apple system or Android system or the notebook computer based on Windows or linux system is whole End equipment.
Referring to Fig. 1, Fig. 1 is the system schematic for the application program control device that the embodiment of the present application provides.It is described to answer It is mainly used in program control device:The history feature information x of application program is obtained from databasei, then, by history feature Information xiCalculated by algorithm, obtain training pattern, secondly, by the current characteristic information s input training moulds of application program Type is calculated, and judges whether application program can close by result of calculation, to carry out management and control to default application program, such as is closed Close or freeze.
Specifically, referring to Fig. 2, the application scenarios that Fig. 2 is the application program management-control method that the embodiment of the present application provides show It is intended to.In one embodiment, application program control device is when detecting that application program enters the backstage of electronic equipment, from number According to the history feature information x that application program is obtained in storehousei, then, by history feature information xiCalculated, obtained by algorithm Training pattern, secondly, the current characteristic information s inputs training pattern of application program is calculated, judged by result of calculation Whether application program can close.For example application program control device is detecting application program a into the backstage of electronic equipment When, the acquisition application program a history feature information x from databasei, then, by history feature information xiCounted by algorithm Calculate, obtain training pattern, secondly, the current characteristic information s inputs training pattern of application program is calculated, tied by calculating Fruit judges that application program a can be closed, and application program a is closed;Application program control device is detecting application program b entrance During the backstage of electronic equipment, application program b history feature information x is obtained from databasei, then, by history feature information xi Calculated by algorithm, obtain training pattern, secondly, application program b current characteristic information s input training patterns are carried out Calculate, judge that application program b needs to retain by result of calculation, and application program b is retained.
The embodiment of the present application provides a kind of application program management-control method, and the executive agent of the application program management-control method can To be application program control device provided in an embodiment of the present invention, or the electronic equipment into the application program control device, Wherein the application program control device can be realized by the way of hardware or software.
Referring to Fig. 3, Fig. 3 is the schematic flow sheet for the application program management-control method that the embodiment of the present application provides.The application The application program management-control method that embodiment provides is applied to electronic equipment, and idiographic flow can be as follows:
Step S101, obtain sample vector collection of the application program in default historical period, the wherein sample vector The sample vector of concentration includes the history of multiple dimensions of several time points of the application program in default historical time section Characteristic information xi
Wherein, the default historical period is to detect the period that application program entered before the time point on backstage.
For example, the default historical period can be to detect one week that application program was in before the time point on backstage. In one embodiment, the go-on-go of 8 a.m. 15 on the 15th of August in 2017 measures a certain application program and entered from the background, obtains 2017 8 The history feature information x of 15 15/the last weeks of 8 a.m. of the mooni, namely obtain the 8 a.m. 15 on the 8th of August in 2017 divide to The 8 a.m. 15 on the 15th of August in 2017/ history feature information xi
For example, the default historical period can also be detect application program be in the time point on backstage before three My god.In one embodiment, the go-on-go of 6 pm 20 on the 13rd of August in 2017 measures a certain application program and entered from the background, obtains 2017 The history feature information x of on August 13,6 pm 20/first three day ini, namely obtain the 6 pm 20 on the 10th of August in 2017 divide To the 6 pm 20 on the 13rd of August in 2017/ history feature information xi
Wherein, the characteristic information of the multiple dimension may be referred to table 1.
Table 1
It should be noted that be only one kind in the embodiment of the present application with the characteristic information of 10 dimensions shown in upper table 1, But the application is not limited to the characteristic information of 10 dimensions shown in table 1, or one of them or wherein at least Two, or all, also or can also include the characteristic informations of other dimensions, for example, it is current whether charge, current electricity Whether amount currently connects WiFi etc..
Step S102, using linear SVM algorithm to the history feature information xiCalculated, generation training Model.
Referring to Fig. 4, in one embodiment, the step S102 can include:
Step S1021:The sample vector concentrated to sample vector is marked, and generates the mark result of each sample vector yi;And
Step S1022:By defining hyperplane, training pattern is obtained.
In step S1021, the sample vector concentrated to sample vector is marked, and generates the mark of each sample vector As a result yi
It is defeated in Nonlinear Support Vector Machines algorithm for example the sample vector that can be concentrated to sample vector is marked Enter sample vector, generate the mark result y of each sample vectori, form sample vector result set T={ (x1,y1),(x2, y2),...,(xm,ym), input sample vector xi∈Rn,yi∈ {+1, -1 }, i=1,2,3 ..., n, RnRepresent sample vector institute The input space, n represent the input space dimension, yiRepresent mark result corresponding to input sample vector.
In step S1022, by defining hyperplane, training pattern is obtained.
In one embodiment, the hyperplane can be hyperplane (w, b):wTX+b=0, wherein, w is hyperplane Normal vector, wTFor w transposed vector, x is sample vector, and b is hyperplane intercept.
In one embodiment, described by defining hyperplane, the step of obtaining training pattern can be super by defining Plane, categorised decision function is obtained according to hyperplane, obtains training pattern.The categorised decision function can beWherein, f (x) is categorised decision value, and as f (x)=1, representing the application program " can Cleaning ", as f (x)=- 1, represent the application program " can not clear up "
In one embodiment, described by defining hyperplane, the step of obtaining training pattern can be super by defining Plane, categorised decision function is obtained according to hyperplane, defines target optimization function according to categorised decision function, by sequence most Small optimized algorithm obtains the optimal solution of objective optimization function, obtains training pattern, and the objective optimization function isWherein, the target optimization function is in parameter (α12,…,αi) on Minimize, a αiCorresponding to a sample (xi,yi), the sum of variable is equal to the capacity m of training sample.
In one embodiment, the optimal solution can be designated asThe training pattern can be g (sx)=wTSx+b, wherein, g (x) is training pattern output valve,
Step S103, the current characteristic information s of the application program is inputted into the training pattern and calculated.
Referring to Fig. 4, in one embodiment, the step S103 can include:
Step S1031:Gather the current characteristic information s of the application program;And
Step S1032:Current characteristic information s is brought into training patterns to be calculated.
In one embodiment, the current characteristic information s of the application program is gathered, brings current characteristic information s into public affairs Formula calculates g (s)=wTs+b。
In one embodiment, the current characteristic information s of the application program of collection dimension is described with gathering The history feature information x of application programiDimension it is identical.
Step S104, judges whether the application program needs to close.
It should be noted that work as g (s)>0, judge that application program needs to close;As g (s)<0, judge that application program needs Retain.
Application program management-control method provided herein, enter backstage by detecting application program, obtain history feature Information xi, training pattern is generated using linear SVM algorithm, so as to bring the characteristic information of application program into training mould Type, and then judge whether the application program needs to close, intelligence closes application program.
Referring to Fig. 5, the embodiment of the present application also provides a kind of device 30, described device 30 includes acquisition module 31, generation Module 32, computing module 33 and judge module 34.
It should be noted that the application program can be chat application, video application, music application journey Sequence, shopping application program, shared bicycle application program or Mobile banking's application program etc..
The acquisition module 31 is used to obtain sample vector collection of the application program in default historical period, wherein should The sample vector that sample vector is concentrated includes multiple dimensions of several time points of the application program in default historical time section The history feature information x of degreei
In one embodiment, referring to Fig. 6, described device 30 also includes detection module 35, for detecting the application Program enters backstage.
Referring to Fig. 6, described device 30 can also include the first presetting module 36 and storage module 37.Described first is default Module 36 is used to preset historical period.The storage module 37 is used for the characteristic information for storing application program.The acquisition module The 31 default historical periods set according to first presetting module 36, obtain from storage module 37 and gone through in default historical period History characteristic information xi
For example when detecting that application program enters backstage, obtain multiple sample vectors of application program, the multiple sample This vector forms sample vector collection.It is more that one sample vector includes application program sometime putting in default historical period The history feature information x of individual dimensioni
Wherein, the default historical period is to detect the period that application program entered before the time point on backstage.
For example, the default historical period can be to detect one week that application program was in before the time point on backstage. In one embodiment, the go-on-go of 8 a.m. 15 on the 15th of August in 2017 measures a certain application program and entered from the background, obtains 2017 8 The history feature information x of 15 15/the last weeks of 8 a.m. of the mooni, namely obtain the 8 a.m. 15 on the 8th of August in 2017 divide to The 8 a.m. 15 on the 15th of August in 2017/ history feature information xi
For example, the default historical period can also be detect application program be in the time point on backstage before three My god.In one embodiment, the go-on-go of 6 pm 20 on the 13rd of August in 2017 measures a certain application program and entered from the background, obtains 2017 The history feature information x of on August 13,6 pm 20/first three day ini, namely obtain the 6 pm 20 on the 10th of August in 2017 divide To the 6 pm 20 on the 13rd of August in 2017/ history feature information xi
Wherein, the characteristic information of the multiple dimension may be referred to table 2.
Table 2
It should be noted that be only one kind in the embodiment of the present application with the characteristic information of 10 dimensions shown in upper table 2, But the application is not limited to the characteristic information of 10 dimensions shown in table 1, or one of them or wherein at least Two, or all, also or can also include the characteristic informations of other dimensions, for example, it is current whether charge, current electricity Whether amount currently connects WiFi etc..
The generation module 32 is used for using linear SVM algorithm to the history feature information xiCalculated, Generate training pattern.
The generation module 32 trains the history feature information x that the acquisition module 31 obtainsi, in linear SVM The history feature information x is inputted in algorithmi
Referring to Fig. 6, the generation module 32 includes training module 321 and solves module 322.
The training module 321 is used to the sample vector that sample vector is concentrated be marked, and generates each sample vector Mark result.
It is defeated in Nonlinear Support Vector Machines algorithm for example the sample vector that can be concentrated to sample vector is marked Enter sample vector, generate the mark result y of each sample vectori, form sample vector result set T={ (x1,y1),(x2, y2),...,(xm,ym), input sample vector xi∈Rn,yi∈ {+1, -1 }, i=1,2,3 ..., n, RnRepresent sample vector institute The input space, n represent the input space dimension, yiRepresent mark result corresponding to input sample vector.
The solution module 322 is used to, by defining hyperplane, obtain training pattern.
In one embodiment, the hyperplane can be hyperplane (w, b):wTX+b=0, wherein, w is hyperplane Normal vector, wTFor w transposed vector, x is sample vector, and b is hyperplane intercept.
In one embodiment, the solution module 322 can be used for, by defining hyperplane, according to hyperplane being divided Class decision function, obtains training pattern.The categorised decision function can beWherein, f (x) be categorised decision value, as f (x)=1, represent the application program " can clear up ", as f (x)=- 1, represent it is described should " it can not be cleared up " with program
In one embodiment, the solution module 322 can be used for, by defining hyperplane, according to hyperplane being divided Class decision function, target optimization function is defined according to categorised decision function, and it is excellent to obtain target by sequential minimal optimization algorithm Change the optimal solution of function, obtain training pattern, the objective optimization function isWherein, the target optimization function is in parameter (α12,…,αi) on Minimize, a αiCorresponding to a sample (xi,yi), the sum of variable is equal to the capacity m of training sample.
In one embodiment, the optimal solution can be designated asThe training pattern can be g (sx)=wTSx+b, wherein, g (x) is training pattern output valve,
The computing module 33 is based on the current characteristic information s inputs training pattern of the application program is carried out Calculate.
Referring to Fig. 6, in one embodiment, the computing module 33 can include acquisition module 331 and computing module 332。
The acquisition module 331 is used for the current characteristic information s for gathering the application program.
The computing module 332 is brought training pattern into for current characteristic information s and calculated.
In one embodiment, the current characteristic information s of the application program is gathered, brings current characteristic information s into public affairs Formula calculates g (s)=wTs+b。
In one embodiment, the current characteristic information s of the application program of collection dimension is described with gathering The history feature information x of application programiDimension it is identical.
In one embodiment, the acquisition module 331 is used for according to predetermined acquisition time timing acquiring characteristic information, and By characteristic information be stored in storage module 37, the acquisition module 331 be additionally operable to acquisition testing to application program into backstage when Between characteristic information corresponding to point, and this feature information input computing module 332 is used to bring training pattern into and calculated.
The judge module 34 is used to judge whether the application program needs to close.
It should be noted that work as g (s)>0, judge that application program needs to close;As g (s)<0, judge that application program needs Retain.
Described device 30 also includes one second presetting module 38.Second presetting module 38 is used to preset future time period. The result that the judge module 34 calculates according to the computing module 33 judges application program in the general of default future time period application Rate.The default future time period can be from detect application program be in the time point on backstage after 5 minutes, 10 minutes or Person 15 minutes.
Described device 30 can also include closedown module 39, for when judging that application program needs to close, described will answer Use stop.
Application program control device provided herein, enter backstage by detecting application program, obtain history feature Information xi, training pattern is generated using linear SVM algorithm, so as to bring the characteristic information of application program into training mould Type, and then judge whether the application program needs to close, intelligence closes application program.
Referring to Fig. 7, the embodiment of the present application also provides a kind of terminal device 500.The terminal device 500 includes:Processing Device 501 and memory 502.Wherein, processor 501 is electrically connected with memory 502.
Processor 501 is the control centre of terminal device 500, utilizes various interfaces and the whole terminal device of connection 500 various pieces, by the application program of operation or load store in memory 502, and call and be stored in memory Data in 502, the various functions and processing data of terminal device are performed, so as to carry out integral monitoring to terminal device 500.
In the present embodiment, processor 501 in terminal device 500 can according to the steps, by one or one with On application program process corresponding to instruction be loaded into memory 502, and be stored in memory by processor 501 to run Application program in 502, so as to realize various functions:
Obtain sample vector collection of the application program in default historical period, the sample that wherein sample vector is concentrated Vector includes the history feature information x of multiple dimensions of several time points of the application program in default historical time sectioni
Using linear SVM algorithm to the history feature information xiCalculated, generate training pattern;
The current characteristic information s of the application program is inputted into the training pattern to be calculated;And
Judge whether the application program needs to close.
It should be noted that the application program can be chat application, video application, music application journey Sequence, shopping application program, shared bicycle application program or Mobile banking's application program etc..
For example when detecting that application program enters backstage, obtain multiple sample vectors of application program, the multiple sample This vector forms sample vector collection.It is more that one sample vector includes application program sometime putting in default historical period The history feature information x of individual dimensioni
Wherein, the default historical period is to detect the period that application program entered before the time point on backstage.
For example, the default historical period can be to detect one week that application program was in before the time point on backstage. In one embodiment, the go-on-go of 8 a.m. 15 on the 15th of August in 2017 measures a certain application program and entered from the background, obtains 2017 8 The history feature information x of 15 15/the last weeks of 8 a.m. of the mooni, namely obtain the 8 a.m. 15 on the 8th of August in 2017 divide to The 8 a.m. 15 on the 15th of August in 2017/ history feature information xi
For example, the default historical period can also be detect application program be in the time point on backstage before three My god.In one embodiment, the go-on-go of 6 pm 20 on the 13rd of August in 2017 measures a certain application program and entered from the background, obtains 2017 The history feature information x of on August 13,6 pm 20/first three day ini, namely obtain the 6 pm 20 on the 10th of August in 2017 divide To the 6 pm 20 on the 13rd of August in 2017/ history feature information xi
Wherein, the characteristic information of the multiple dimension may be referred to table 3.
Table 3
It should be noted that be only one kind in the embodiment of the present application with the characteristic information of 10 dimensions shown in upper table 3, But the application is not limited to the characteristic information of 10 dimensions shown in table 1, or one of them or wherein at least Two, or all, also or can also include the characteristic informations of other dimensions, for example, it is current whether charge, current electricity Whether amount currently connects WiFi etc..
In one embodiment, the processor 501 uses linear SVM algorithm to the history feature information xiCalculated, generation training mould also includes:
The sample vector concentrated to sample vector is marked, and generates the mark result y of each sample vectori;And
By defining hyperplane, training pattern is obtained.
In one embodiment, the sample vector that can be concentrated to sample vector is marked, in non-linear supporting vector Input sample vector in machine algorithm, generate the mark result y of each sample vectori, form sample vector result set T={ (x1, y1),(x2,y2),...,(xm,ym), input sample vector xi∈Rn,yi∈ {+1, -1 }, i=1,2,3 ..., n, RnRepresent sample The input space where this vector, n represent the dimension of the input space, yiRepresent mark result corresponding to input sample vector.
In one embodiment, the hyperplane can be hyperplane (w, b):wTX+b=0, wherein, w is hyperplane Normal vector, wTFor w transposed vector, x is sample vector, and b is hyperplane intercept.
In one embodiment, described by defining hyperplane, the step of obtaining training pattern can be super by defining Plane, categorised decision function is obtained according to hyperplane, obtains training pattern.The categorised decision function can beWherein, f (x) is categorised decision value, and as f (x)=1, representing the application program " can Cleaning ", as f (x)=- 1, represent the application program " can not clear up "
In one embodiment, described by defining hyperplane, the step of obtaining training pattern can be super by defining Plane, categorised decision function is obtained according to hyperplane, defines target optimization function according to categorised decision function, by sequence most Small optimized algorithm obtains the optimal solution of objective optimization function, obtains training pattern, and the objective optimization function isWherein, the target optimization function is in parameter (α12,…,αi) on Minimize, a αiCorresponding to a sample (xi,yi), the sum of variable is equal to the capacity m of training sample.
In one embodiment, the optimal solution can be designated asThe training pattern can be g (sx)=wTSx+b, wherein, g (x) is training pattern output valve,
In one embodiment, the current characteristic information s of the application program is inputted the training by the processor 501 Model, which is calculated, also to be included:
Gather the current characteristic information s of the application program;And
Current characteristic information s is brought into training patterns to be calculated.
In one embodiment, the processor 501 gathers the current characteristic information s of the application program, will be current special Reference breath s brings formula into and calculates g (s)=wTs+b。
In one embodiment, the current characteristic information s for the application program that the processor 501 gathers dimension With the history feature information x of the application program of collectioniDimension it is identical.
In one embodiment, the processor 501 judges whether the application program needs to close.As g (s)>0, The processor 501 judges that application program needs to close;As g (s)<0, the processor 501 judges that application program needs to retain.
Memory 502 can be used for storage application program and data.Include and can handle in the program that memory 502 stores The instruction performed in device.Described program can form various functions module.Processor 501 is stored in memory 502 by operation Program, so as to perform various function application and data processing.
In certain embodiments, as shown in figure 8, terminal device 500 also includes:Radio circuit 503, display screen 504, control Circuit 505, input block 506, voicefrequency circuit 507, sensor 508 and power supply 509.Wherein, processor 501 respectively with radio frequency Circuit 503, display screen 504, control circuit 505, input block 506, voicefrequency circuit 507, sensor 508 and the electricity of power supply 509 Property connection.
Radio circuit 503 is used for transceiving radio frequency signal, to pass through cordless communication network and server or other electronic equipments Communicated.
Display screen 504 can be used for display by the information of user's input or be supplied to the information of user and the various figures of terminal Shape user interface, these graphical user interface can be made up of image, text, icon, video and its any combination.
Control circuit 505 is electrically connected with display screen 504, for the display information of control display screen 504.
Input block 506 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.
Voicefrequency circuit 507 can provide the COBBAIF between user and terminal by loudspeaker, microphone.
Sensor 508 is used to gather external environmental information.Sensor 508 can include ambient light sensor, acceleration One or more in the sensors such as sensor, gyroscope.
Power supply 509 is used to power to all parts of terminal device 500.In certain embodiments, power supply 509 can pass through Power-supply management system and processor 501 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 Fig. 8, terminal device 500 can also include camera, bluetooth module etc., will not be repeated here.
Terminal device provided herein, enter backstage by detecting application program, obtain history feature information xi, adopt Training pattern is generated with linear SVM algorithm, so as to bring the characteristic information of application program into training pattern, and then is sentenced Whether the application program of breaking needs to close, and intelligence closes application program.
The embodiment of the present invention also provides a kind of storage medium, and a plurality of instruction is stored with the storage medium, and the instruction is suitable to Loaded as processor to perform the application program management-control method described in any of the above-described embodiment.
Application program management-control method, device, storage medium and terminal device provided in an embodiment of the present invention belong to same structure Think, its specific implementation process refers to specification in full, and here is omitted.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable storage medium, Storage medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Application program management-control method, device, storage medium and the terminal device 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 application.Meanwhile for those skilled in the art, according to the thought of the application, specific There will be changes in embodiment and application, in summary, this specification content should not be construed as the limit to the application System.

Claims (14)

1. a kind of application program management-control method, applied to terminal device, it is characterised in that the application program management-control method includes Following steps:
Obtain sample vector collection of the application program in default historical period, the sample vector that wherein sample vector is concentrated The history feature information x of multiple dimensions of several time points including the application program in default historical time sectioni
Using linear SVM algorithm to the history feature information xiCalculated, generate training pattern;
The current characteristic information s of the application program is inputted into the training pattern to be calculated;And
Judge whether the application program needs to close.
2. application program management-control method as claimed in claim 1, it is characterised in that:Using linear SVM algorithm to institute State history feature information xiThe step of being calculated, generating training pattern includes:
The sample vector concentrated to sample vector is marked, and generates the mark result y of each sample vectori;And
By defining hyperplane, training pattern is obtained.
3. application program management-control method as claimed in claim 2, it is characterised in that:The hyperplane is hyperplane (w, b):wTx + b=0, wherein, w be hyperplane normal vector, wTFor w transposed vector, x is sample vector, and b is hyperplane intercept.
4. application program management-control method as claimed in claim 3, it is characterised in that:The training pattern is g (sx)=wTsx+ B, wherein, g (x) is training pattern output valve,
5. application program management-control method as claimed in claim 4, it is characterised in that:The current signature by application program is believed Breath s, which inputs the step of training pattern is calculated, to be included:
Gather the current characteristic information s of the application program;And
Current characteristic information s is brought into training patterns to be calculated.
6. application program management-control method as claimed in claim 5, it is characterised in that:It is described to judge whether application program needs to close The step of closing also includes:
As g (s)>0, judge that the application program needs to close;And
As g (s)<0, judge that the application program needs to retain.
7. a kind of application program control device, it is characterised in that described device includes:
Acquisition module, for obtaining sample vector collection of the application program in default historical period, the wherein sample vector The sample vector of concentration includes the history of multiple dimensions of several time points of the application program in default historical time section Characteristic information xi
Generation module, for using linear SVM algorithm to the history feature information xiCalculated, generation training mould Type;
Computing module, calculated for the current characteristic information s of the application program to be inputted into the training pattern;And
Judge module, for judging whether the application program needs to close.
8. application program control device as claimed in claim 7, it is characterised in that:The generation module includes:
Training module, for the sample vector that sample vector is concentrated to be marked, generate the mark result of each sample vector yi
Module is solved, by defining hyperplane, obtains training pattern.
9. application program control device as claimed in claim 8, it is characterised in that:The hyperplane is hyperplane (w, b):wTx + b=0, wherein, w be hyperplane normal vector, wTFor w transposed vector, x is sample vector, and b is hyperplane intercept.
10. application program control device as claimed in claim 9, it is characterised in that:The training pattern is g (sx)=wTsx+ B, wherein, g (x) is training pattern output valve,
11. application program control device as claimed in claim 10, it is characterised in that:The computing module includes acquisition module And computing module, the acquisition module are used for the current characteristic information s for gathering the application program, the computing module is used for will Current characteristic information s brings training pattern into and calculated.
12. application program control device as claimed in claim 11, it is characterised in that:As g (s)>0, judgement is described to apply journey Sequence needs to close, as g (s)<0, judge that the application program needs to retain.
A kind of 13. storage medium, it is characterised in that:Be stored with a plurality of instruction in the storage medium, the instruction be suitable to by Reason device is loaded to perform the application program management-control method as any one of claim 1 to 6.
A kind of 14. terminal device, it is characterised in that:The terminal device includes processor and memory, the terminal device with The memory is electrically connected with, and the memory is used for store instruction and data, and the processor is used to perform such as claim 1 To the application program management-control method any one of 6.
CN201710944853.4A 2017-09-30 2017-09-30 Application program management-control method, device, storage medium and terminal device Active CN107608748B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710944853.4A CN107608748B (en) 2017-09-30 2017-09-30 Application program management-control method, device, storage medium and terminal device
PCT/CN2018/100331 WO2019062358A1 (en) 2017-09-30 2018-08-14 Application program control method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710944853.4A CN107608748B (en) 2017-09-30 2017-09-30 Application program management-control method, device, storage medium and terminal device

Publications (2)

Publication Number Publication Date
CN107608748A true CN107608748A (en) 2018-01-19
CN107608748B CN107608748B (en) 2019-09-13

Family

ID=61069094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710944853.4A Active CN107608748B (en) 2017-09-30 2017-09-30 Application program management-control method, device, storage medium and terminal device

Country Status (2)

Country Link
CN (1) CN107608748B (en)
WO (1) WO2019062358A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019062358A1 (en) * 2017-09-30 2019-04-04 Oppo广东移动通信有限公司 Application program control method and terminal device
WO2019062317A1 (en) * 2017-09-30 2019-04-04 Oppo广东移动通信有限公司 Application program control method and electronic device
WO2019085749A1 (en) * 2017-10-31 2019-05-09 Oppo广东移动通信有限公司 Application program control method and apparatus, medium, and electronic device
CN110086835A (en) * 2018-01-24 2019-08-02 腾讯科技(深圳)有限公司 Application program management-control method, terminal, server and system
WO2020206696A1 (en) * 2019-04-12 2020-10-15 深圳市欢太科技有限公司 Application cleaning method, apparatus, storage medium and electronic device
CN113439263A (en) * 2019-04-12 2021-09-24 深圳市欢太科技有限公司 Application cleaning method and device, storage medium and electronic equipment
CN115033304A (en) * 2022-06-27 2022-09-09 维沃移动通信有限公司 Application program control method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786711A (en) * 2016-03-25 2016-07-20 广州华多网络科技有限公司 Data analysis method and device
US20160217198A1 (en) * 2015-01-26 2016-07-28 Samsung Electronics Co., Ltd. User management method and apparatus
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150008653A (en) * 2013-07-15 2015-01-23 삼성전자주식회사 Method for utilizing Usage Log of Portable Terminal and Apparatus for using the same
CN106055399A (en) * 2016-05-31 2016-10-26 宇龙计算机通信科技(深圳)有限公司 Application program control method and terminal
CN107608748B (en) * 2017-09-30 2019-09-13 Oppo广东移动通信有限公司 Application program management-control method, device, storage medium and terminal device
CN107643948B (en) * 2017-09-30 2020-06-02 Oppo广东移动通信有限公司 Application program control method, device, 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
CN105786711A (en) * 2016-03-25 2016-07-20 广州华多网络科技有限公司 Data analysis method and device
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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019062358A1 (en) * 2017-09-30 2019-04-04 Oppo广东移动通信有限公司 Application program control method and terminal device
WO2019062317A1 (en) * 2017-09-30 2019-04-04 Oppo广东移动通信有限公司 Application program control method and electronic device
WO2019085749A1 (en) * 2017-10-31 2019-05-09 Oppo广东移动通信有限公司 Application program control method and apparatus, medium, and electronic device
CN110086835A (en) * 2018-01-24 2019-08-02 腾讯科技(深圳)有限公司 Application program management-control method, terminal, server and system
CN110086835B (en) * 2018-01-24 2021-08-03 腾讯科技(深圳)有限公司 Application program control method, terminal, server and system
WO2020206696A1 (en) * 2019-04-12 2020-10-15 深圳市欢太科技有限公司 Application cleaning method, apparatus, storage medium and electronic device
CN113439263A (en) * 2019-04-12 2021-09-24 深圳市欢太科技有限公司 Application cleaning method and device, storage medium and electronic equipment
CN115033304A (en) * 2022-06-27 2022-09-09 维沃移动通信有限公司 Application program control method and device and electronic equipment

Also Published As

Publication number Publication date
WO2019062358A1 (en) 2019-04-04
CN107608748B (en) 2019-09-13

Similar Documents

Publication Publication Date Title
CN107608748A (en) Application program management-control method, device, storage medium and terminal device
CN107643948A (en) Application program management-control method, device, medium and electronic equipment
CN107678799B (en) Application program management-control method, device, storage medium and electronic equipment
CN107885544B (en) Application program control method, device, medium and electronic equipment
CN109034365A (en) The training method and device of deep learning model
CN107678845A (en) Application program management-control method, device, storage medium and electronic equipment
US11249645B2 (en) Application management method, storage medium, and electronic apparatus
CN107704070A (en) Using method for cleaning, device, storage medium and electronic equipment
CN107844338B (en) Application program management-control method, device, medium and electronic equipment
CN107704876B (en) Application control method, device, storage medium and electronic equipment
CN105447583A (en) User churn prediction method and device
CN107766891A (en) User&#39;s gender identification method, device, storage medium and electronic equipment
CN110633870A (en) Harmonic early warning method, harmonic early warning device and terminal equipment
CN108692735A (en) Processing method, device, storage medium and the electronic equipment of navigation routine
CN108763847A (en) Non-invasive electric signal analysis tracking method and device and electronic equipment
CN107402808A (en) process management method, device, storage medium and electronic equipment
CN110470995A (en) Remaining battery discharge time acquisition methods, system and terminal device
CN109377406A (en) Electronic device promotes the building Methods of electric load forecasting and storage medium returned based on gradient
CN107943570A (en) application management method, device, storage medium and electronic equipment
CN107943571A (en) Background application management-control method, device, storage medium and electronic equipment
CN107728772A (en) Processing method, device, storage medium and the electronic equipment of application program
CN107643925A (en) Background application method for cleaning, device, storage medium and electronic equipment
CN107861770B (en) Application program management-control method, device, storage medium and terminal device
CN107832848B (en) Application management method, device, storage medium and electronic equipment
CN113743580B (en) Artificial immune model obtaining method and terminal 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: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant