CN107291483A - Intelligence deletes the method and electronic equipment of application program - Google Patents
Intelligence deletes the method and electronic equipment of application program Download PDFInfo
- Publication number
- CN107291483A CN107291483A CN201610204435.7A CN201610204435A CN107291483A CN 107291483 A CN107291483 A CN 107291483A CN 201610204435 A CN201610204435 A CN 201610204435A CN 107291483 A CN107291483 A CN 107291483A
- Authority
- CN
- China
- Prior art keywords
- application program
- internal memory
- electronic equipment
- intelligence
- deletes
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
Abstract
The present invention provides a kind of method that intelligence deletes application program, and applied in electronic equipment, the electronic equipment includes internal memory, and this method includes:Step is added, the application program being loaded into internal memory is added in white list;Step is removed, one or more application programs are removed from the white list;And delete step, delete background applications not in the white list in internal memory.The present invention also provides a kind of electronic installation for the method for applying the intelligence to delete application program.By the intelligence delete application program method can intelligence selection and deletion is loaded into application program in internal memory.
Description
Technical field
The method and one kind for deleting application program the present invention relates to a kind of intelligence apply institute
State the electronic equipment that intelligence deletes the method for application program.
Background technology
Existing electronic equipment, can be by order to allow the speed that application program is restarted to accelerate
The application program being performed is loaded into internal memory, and only when the usage amount of internal memory reaches
During to preset value, just application program is deleted from internal memory.But deleted application
Program is likely to be the application program to be reused behind user, such application
The load time is slower caused by program is deleted, and certain be stranded can be caused to user
Disturb.
The content of the invention
In view of the foregoing, it is necessary to which a kind of method that intelligence deletes application program is provided
And a kind of electronic equipment for the method for applying the intelligence to delete application program, can
The selection of intelligence simultaneously deletes the application program in internal memory.
A kind of method that intelligence deletes application program, it is described applied in electronic equipment
Electronic equipment includes internal memory, and this method includes:Step is added, will be loaded into internal memory
Application program be added in white list;Step is removed, is removed from the white list
One or more application programs;And delete step, delete in internal memory not in the white name
Background applications in list.
A kind of electronic equipment, the electronic equipment includes:For storing depositing for application program
Storage device;Internal memory for loading application programs;Journey is applied for realizing that intelligence is deleted
The processor of the method for sequence, the computing device following step:Step is added, will
The application program being loaded into internal memory is added in white list;Step is removed, from described
One or more application programs are removed in white list;And delete step, delete in internal memory
Not background applications in the white list.
Compared to prior art, the method that intelligence of the invention deletes application program passes through
The application program being loaded into internal memory is added in white list, and according to default rule
One or more application programs are then deleted from the white list, and are deleted not described
Application program in white list, so as to selectively delete internal memory according to default rule
In application program so that as far as possible avoid delete user's application journey subsequently to be used
Sequence, improves the experience effect of user.
Brief description of the drawings
Fig. 1 is the fortune of the preferred embodiment for the system that intelligence of the invention deletes application program
Row environment schematic.
Fig. 2 is the stream of the preferred embodiment for the method that intelligence of the invention deletes application program
Cheng Tu.
Main element symbol description
Electronic equipment | 1 |
The system that intelligence deletes application program | 10 |
Add module | 101 |
Remove module | 102 |
Removing module | 103 |
Internal memory | 11 |
Processor | 12 |
Storage device | 13 |
Following embodiment will further illustrate the present invention with reference to above-mentioned accompanying drawing.
Embodiment
As shown in fig.1, being the preferable reality for the system that intelligence of the invention deletes application program
Apply the running environment schematic diagram of example.The system 10 that the intelligence deletes application program is installed
And run in electronic equipment 1.In the electronic equipment 1 also includes, but not limited to
Deposit 11, processor 12 and storage device 13.The electronic equipment 1 can be mobile phone,
The mobile electronic devices such as tablet personal computer, can also be PC, Wearable,
Other electronic equipments such as DTV or automobile-used display screen.The intelligence is deleted should
It is used to select in the application program from internal memory is loaded into of intelligence with the system 10 of program
And delete one or more application programs.
The internal memory 11 is used to load the application program and data for needing to be run, its
Can be that random access memory (RAM), read-only storage (ROM) and high speed are slow
Deposit (Cache) etc..The processor 12 is installed on the electronic equipment 1 for operation
In application program and each device in the control electronic equipment 1 perform it is corresponding
Operation.The storage device 13 is installed on each in the electronic equipment 1 for storage
Individual application program and data information, it can be smart media card (Smart Media
Card), safe digital card (Secure Digital Card), flash memory cards (Flash
The storage device such as Card).
In the present embodiment, the system of intelligence deletion application program of the present invention can
To be divided into one or more modules, one or more of modules are stored in
In the storage device 13, and there are one or more processors 12 (the present embodiment is one
Individual processor) it is performed, to complete the present invention.As shown in fig.1, of the present invention
Intelligence delete application program system 10 be divided into add module 101, remove module
102 and removing module 103.Module alleged by the present invention is to refer to complete specific work(
The series of computation machine program segment of energy, is deleted than program more suitable for describing the intelligence
Implementation procedure of the system 10 of application program in the electronic equipment 1.Below with reference to
Fig. 2 flow chart describes the concrete function of modules.
As shown in fig.2, being the preferable reality for the method that intelligence of the invention deletes application program
Apply the flow chart of example.In the present embodiment, according to different demands, the stream shown in Fig. 2
The execution sequence of step in journey figure can change, and some steps can be omitted.
Step S21, add module 101 adds the application program being loaded into internal memory 11
Into a white list.The white list, which is one, is used for the list of records application program,
It passes through the identification information (title or ID of such as application program) of records application program
Carry out records application program.That is, the add module 101 will be loaded into internal memory 11
The identification information of application program is added in the white list.The white list can be deposited
It is stored in the internal memory 11, is stored in the storage device 13.
In the present embodiment, the add module 101 is loaded into internal memory in application program
When in 11, the application program is added in the white list.That is, when using journey
Sequence is loaded into internal memory 11, and the add module 101 just immediately adds the application program
It is added in the white list.
In another embodiment, the add module 101 also can will be every preset time
The application program being loaded into this period in internal memory 11 is added to the white list
In.
Step S22, remove module 102 judges whether the usage amount of the internal memory 11 exceedes
First preset value.If the usage amount of the internal memory 11 exceedes first preset value,
Perform step S23;If the usage amount of the internal memory 11 is not less than first preset value,
Then perform step S24.
In the present embodiment, the remove module 102 is judged as once every preset time
Whether the usage amount of the internal memory 11 is more than the first preset value.First preset value can
To be fixed numerical value (such as 1.5GB) or an internal memory 11
Total capacity ratio (such as 75%).
Step S23, remove module 102 removes one or more answer from the white list
Use program.Specifically, the remove module 102 is by all applications in the white list
Program sorts according to default rule is arranged with generating a list, and removing in the list
The minimum one or more application programs of name.In this manual, its higher row of ranking
The numerical value of name is smaller, namely is ranked first as highest.
In the present embodiment, the default rule is making according to each application program
It is ranked up with number of times, and the higher application program of access times is arranged in the list
Name is higher.That is, the remove module 102 obtains each application program in white list
After internal memory 11 is loaded into, the number of times used in the user of electronic equipment 1, so
All application programs in the white list are entered according to the number of times used by user afterwards
Row sequence, and the higher ranking of access times is higher, the corresponding lower ranking of access times
It is lower.
For example, the white list includes three application programs:Program A, program B with
And program C.These three application programs are made by the user of the electronic equipment 1 successively
Order with (or being performed) is as follows:Program A, program B, program A, program B,
Program A and program C.Now, described program A, program B and program C use
Number of times is respectively 3 times, 2 times and 1 time.Therefore arranged from high to low according to access times
Sequence obtains a list, and its Program A ranking is 1, and program B ranking is 2, journey
Sequence C ranking is 3.
In another embodiment, the default rule is according to each application program
Last use time or last use sequentially are ranked up, and the last use time
Or it is last higher using the more late then ranking of order.
For example, the white list includes three application programs:Program A, program B with
And program C.These three application programs are made by the user of the electronic equipment 1 successively
Order with (or being performed) is as follows:Program A, program B, program A, program B,
Program A and program C.Now, according to the last use time or last of application program
It is ranked up using order and obtains a list, its Program C ranking is 1, program
A ranking is 2, and program B ranking is 3.
In another embodiment, the default rule is according to each application program
Access times and last use time or last use sequentially are ranked up.It is described to move
Except module 102 passes through for the access times and the last use time or finally
A corresponding weight is distributed respectively using order to determine access times and finally make
With time or the last influence using order to last ranking results.
For example, the white list includes three application programs:Program A, program B with
And program C.These three application programs are made by the user of the electronic equipment 1 successively
Order with (or being performed) is as follows:Program A, program B, program A, program B,
Program A and program C.It is ranked up from high to low according to access times and obtains first row
Table, its Program A ranking is 1, and program B ranking is 2, and program C ranking is 3.
The is obtained according to the last use time or last be ranked up using order of application program
Two lists, its Program C ranking is 1, and program A ranking is 2, program B row
Entitled 3.Then sequentially divided according to access times and last use time or last use
Not shared weight determines the 3rd list with the first list and second list.It is false
If the weight shared by access times is 0.4, last use time or last use order institute
The weight accounted for is 0.6.Then program A score is 1*0.4+2*0.6=1.6, and program B's obtains
It is 2*0.4+3*0.6=2.6 to divide, and program C score is 3*0.4+1*0.6=1.8, and score is got over
Small then ranking is higher.Therefore in the 3rd list finally determined, program A ranking is 1,
Program C ranking is 2, and program B ranking is 3.
It should be noted that in the present embodiment, the remove module 102 is described
Performed when the usage amount of internal memory 11 is more than the first preset value.In other embodiments, institute
Stating remove module 102 can also perform under other conditions, for example, performed every preset time
Once.That is, in other embodiments, the step S22 can be omitted.
Simultaneously it should also be noted that, the application program in the white list is all can be with
Deleted, namely after the deletion from internal memory 11 electronic equipment will not be caused event occur
Barrier.The system 10 that the intelligence deletes application program may further include one can not
To delete list, for recording the important application program that can not be deleted, or will be described
The application program that can not be deleted comes the top ranked of the list always.
Step S24, removing module 103 judges whether the usage amount of the internal memory 11 exceedes
Second preset value.If the usage amount of the internal memory 11 exceedes second preset value,
Perform step S25;If the usage amount of the internal memory 11 is not less than second preset value,
Then flow terminates.In the present embodiment, second preset value is less than the first preset value.
In other embodiments, second preset value also can be equal with first preset value.
It should be noted that in the present embodiment, the removing module 103 is described
Performed when the usage amount of internal memory 11 is more than the second preset value.In other embodiments, institute
Stating removing module 103 can also perform under other conditions, for example, performed every preset time
Once.That is, in other embodiments, the step S24 can be omitted.
Step S25, removing module 103 deletes the back of the body in internal memory not in the white list
Scape application program.If the system 10 that the intelligence deletes application program is still further comprised
One cannot delete list, then what the removing module 103 was deleted is not in the white name
It is single and not it is described can not delete list in background applications.
It should be noted that step S21~S25 is a circulation, the intelligence is deleted should
Above-mentioned circulation is being performed always from end is turned on to the system 10 of program.
It should be noted last that, technology of the above example only to illustrate the present invention
Scheme and it is unrestricted, it will be understood by those within the art that, can be to this hair
Bright technical scheme is modified or equivalent substitution, without departing from technical solution of the present invention
Spirit and scope.
Claims (14)
1. a kind of method that intelligence deletes application program, applied in electronic equipment, institute
Stating electronic equipment includes internal memory, it is characterised in that this method includes:
Step is added, the application program being loaded into internal memory is added in a white list;
Step is removed, one or more application programs are removed from the white list;And
Delete step, deletes background applications not in the white list in internal memory.
2. the method that intelligence as claimed in claim 1 deletes application program, its feature
It is, the removal step also judges whether the usage amount of the internal memory is pre- more than first
If value, and when the usage amount of the internal memory is more than the first preset value, from the white name
One or more application programs are removed in list.
3. the method that intelligence as claimed in claim 1 deletes application program, its feature
It is, the delete step also judges whether the usage amount of the internal memory is pre- more than second
If value, and when the usage amount of the internal memory is more than the second preset value, delete in internal memory
Not background applications in the white list.
4. the intelligence as described in any one of claims 1 to 3 deletes the side of application program
Method, it is characterised in that the removal step also includes:
All application programs in white list are sorted according to default rule to generate one
Individual list, and delete the minimum one or more application programs of ranking in the list.
5. the method that intelligence as claimed in claim 4 deletes application program, its feature
It is, the default rule is arranged according to the access times of each application program
Sequence, and the higher application program ranking of access times is higher.
6. the method that intelligence as claimed in claim 4 deletes application program, its feature
Be, the default rule be according to each application program last use time or
Finally it is ranked up using order, and the last use time or last using sequentially
More late ranking is higher.
7. the method that intelligence as claimed in claim 4 deletes application program, its feature
It is, the default rule is the access times, last according to each application program
Weight, Yi Jisuo shared by use time or last use order, the access times
State last use time or the last weight using shared by order is ranked up, and use
Number of times is higher, and ranking is higher, and last use time or the more late ranking of last use order are more
It is high.
8. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
Storage device for storing application program;
Internal memory for loading application programs;
For realizing that intelligence deletes the processor of the method for application program, the processor
Perform following step:
Step is added, the application program being loaded into internal memory is added in a white list;
Step is removed, one or more application programs are removed from the white list;And
Delete step, deletes background applications not in the white list in internal memory.
9. electronic equipment as claimed in claim 8, it is characterised in that the removal
Whether step also judges the usage amount of the internal memory more than the first preset value, and described
When the usage amount of internal memory is more than the first preset value, from the white list remove one or
Multiple application programs.
10. electronic equipment as claimed in claim 8, it is characterised in that the deletion
Whether step also judges the usage amount of the internal memory more than the second preset value, and described
When the usage amount of internal memory is more than the second preset value, delete in internal memory not in the white list
In background applications.
11. the electronic equipment as described in any one of claim 8 to 10, it is characterised in that
The removal step also includes:
All application programs in white list are sorted according to default rule to generate one
Individual list, and delete the minimum one or more application programs of ranking in the list.
12. electronic equipment as claimed in claim 11, it is characterised in that described default
Rule be to be ranked up according to the access times of each application program, and access times
Higher application program ranking is higher.
13. electronic equipment as claimed in claim 11, it is characterised in that described default
Rule be according to each application program last use time or last entered using order
Row sequence, and the last use time or last higher using the more late ranking of order.
14. electronic equipment as claimed in claim 11, it is characterised in that described default
Rule be according to the access times of each application program, last use time or last
Use the weight and the last use time shared by order, the access times
Or the last weight using shared by order is ranked up, and the higher ranking of access times is more
Height, last use time or last higher using the more late ranking of order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610204435.7A CN107291483B (en) | 2016-04-01 | 2016-04-01 | Method for intelligently deleting application program and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610204435.7A CN107291483B (en) | 2016-04-01 | 2016-04-01 | Method for intelligently deleting application program and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107291483A true CN107291483A (en) | 2017-10-24 |
CN107291483B CN107291483B (en) | 2021-02-05 |
Family
ID=60087882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610204435.7A Active CN107291483B (en) | 2016-04-01 | 2016-04-01 | Method for intelligently deleting application program and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107291483B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111274093A (en) * | 2020-01-23 | 2020-06-12 | 湖南快乐阳光互动娱乐传媒有限公司 | Application program sorting method and device |
CN113312591A (en) * | 2021-05-28 | 2021-08-27 | 杭州迈冲科技有限公司 | Control method and device based on Android system application white list |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092700A (en) * | 2013-02-01 | 2013-05-08 | 华为终端有限公司 | Internal memory cleaning method and cleaning device and terminal device |
CN103164268A (en) * | 2013-04-02 | 2013-06-19 | 北京奇虎科技有限公司 | System optimization method and system optimization device |
CN104298549A (en) * | 2014-09-30 | 2015-01-21 | 北京金山安全软件有限公司 | Method and device for cleaning application programs in mobile terminal and mobile terminal |
CN104298613A (en) * | 2014-09-29 | 2015-01-21 | 广州金山网络科技有限公司 | Method for cleaning up system memory and terminal device |
US8943261B2 (en) * | 2011-10-28 | 2015-01-27 | International Business Machines Corporation | Efficient memory management in software caches |
CN104503840A (en) * | 2014-12-15 | 2015-04-08 | 北京奇虎科技有限公司 | Method and device for optimizing terminal resources |
CN104636364A (en) * | 2013-11-08 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Method and device for freeing memory of browser |
CN104881493A (en) * | 2015-06-12 | 2015-09-02 | 北京金山安全软件有限公司 | File cleaning method and device |
CN105335099A (en) * | 2015-09-25 | 2016-02-17 | 深圳市金立通信设备有限公司 | Memory cleaning method and terminal |
CN105373485A (en) * | 2014-09-01 | 2016-03-02 | 富泰华工业(深圳)有限公司 | Memory cleaning system and method and terminal device |
-
2016
- 2016-04-01 CN CN201610204435.7A patent/CN107291483B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8943261B2 (en) * | 2011-10-28 | 2015-01-27 | International Business Machines Corporation | Efficient memory management in software caches |
CN103092700A (en) * | 2013-02-01 | 2013-05-08 | 华为终端有限公司 | Internal memory cleaning method and cleaning device and terminal device |
CN103164268A (en) * | 2013-04-02 | 2013-06-19 | 北京奇虎科技有限公司 | System optimization method and system optimization device |
CN104636364A (en) * | 2013-11-08 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Method and device for freeing memory of browser |
CN105373485A (en) * | 2014-09-01 | 2016-03-02 | 富泰华工业(深圳)有限公司 | Memory cleaning system and method and terminal device |
CN104298613A (en) * | 2014-09-29 | 2015-01-21 | 广州金山网络科技有限公司 | Method for cleaning up system memory and terminal device |
CN104298549A (en) * | 2014-09-30 | 2015-01-21 | 北京金山安全软件有限公司 | Method and device for cleaning application programs in mobile terminal and mobile terminal |
CN104503840A (en) * | 2014-12-15 | 2015-04-08 | 北京奇虎科技有限公司 | Method and device for optimizing terminal resources |
CN104881493A (en) * | 2015-06-12 | 2015-09-02 | 北京金山安全软件有限公司 | File cleaning method and device |
CN105335099A (en) * | 2015-09-25 | 2016-02-17 | 深圳市金立通信设备有限公司 | Memory cleaning method and terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111274093A (en) * | 2020-01-23 | 2020-06-12 | 湖南快乐阳光互动娱乐传媒有限公司 | Application program sorting method and device |
CN111274093B (en) * | 2020-01-23 | 2023-12-01 | 湖南快乐阳光互动娱乐传媒有限公司 | Application program ordering method and device |
CN113312591A (en) * | 2021-05-28 | 2021-08-27 | 杭州迈冲科技有限公司 | Control method and device based on Android system application white list |
Also Published As
Publication number | Publication date |
---|---|
CN107291483B (en) | 2021-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111913955A (en) | Data sorting processing device, method and storage medium | |
JP2008059438A (en) | Storage system, data rearranging method thereof and data rearrangement program | |
CN108933993A (en) | Short message buffer queue selection method, device, computer equipment and storage medium | |
CN109447253B (en) | Video memory allocation method and device, computing equipment and computer storage medium | |
CN103744962B (en) | Method and device for realizing K-means clustering | |
CN112346859A (en) | Resource scheduling method and device, electronic equipment and storage medium | |
CN110209493B (en) | Memory management method, device, electronic equipment and storage medium | |
CN111984400A (en) | Memory allocation method and device of neural network | |
CN108241531A (en) | A kind of method and apparatus for distributing resource for virtual machine in the cluster | |
CN107590144A (en) | A kind of file memory method and terminal | |
CN109992307A (en) | Instruction list dispatching method, device, computer equipment and storage medium | |
CN104516929A (en) | Method and device for file system | |
CN107291483A (en) | Intelligence deletes the method and electronic equipment of application program | |
CN104778088B (en) | A kind of Parallel I/O optimization methods and system based on reduction interprocess communication expense | |
US20230394307A1 (en) | Data caching method and apparatus for multiple concurrent deep learning training tasks | |
CN117271100A (en) | Algorithm chip cluster scheduling method, device, computer equipment and storage medium | |
CN106202374A (en) | A kind of data processing method and device | |
CN114564149B (en) | Data storage method, device, equipment and storage medium | |
CN103530742B (en) | Improve the method and device of scheduling arithmetic speed | |
CN110688223B (en) | Data processing method and related product | |
CN112347394A (en) | Method and device for acquiring webpage information, computer equipment and storage medium | |
CN112052330B (en) | Application keyword distribution method and device | |
CN111767999A (en) | Data processing method and device and related products | |
CN112988383A (en) | Resource allocation method, device, equipment and storage medium | |
CN112862085B (en) | Storage space optimization method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |