CN105893152A - Memory management method and device and mobile terminal - Google Patents

Memory management method and device and mobile terminal Download PDF

Info

Publication number
CN105893152A
CN105893152A CN201610200426.0A CN201610200426A CN105893152A CN 105893152 A CN105893152 A CN 105893152A CN 201610200426 A CN201610200426 A CN 201610200426A CN 105893152 A CN105893152 A CN 105893152A
Authority
CN
China
Prior art keywords
file
folder
apk
memory management
list
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.)
Pending
Application number
CN201610200426.0A
Other languages
Chinese (zh)
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 CN201610200426.0A priority Critical patent/CN105893152A/en
Publication of CN105893152A publication Critical patent/CN105893152A/en
Pending legal-status Critical Current

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/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/5016Allocation 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 the resource being the memory

Abstract

The invention discloses a memory management method and device and a mobile terminal. The method comprises the following steps that a monitoring application monitors the space occupied by an APK mother folder in a list exceeds the preset space threshold value or not, and if yes, the operation is transferred to the next step; whether all files or folders in the APK mother folder meet the preset clearing conditions or not are searched and compared; the files or folders meeting the preset clearing conditions are deleted. According to the memory management method and device and the mobile terminal, the files are deleted based on the maximum occupation space of the limited APK folder and according to time attributes, automatic processing of memory management is achieved, when the preset upper limit is reached, part of early-stage useless files which are not systematically functional are deleted, and it can be guaranteed that the memory occupied certain APKs do not get larger and larger as time goes; effective memory management is achieved, files occupying the memory are cleared in time, efficient smooth operation of a system is guaranteed, and use experience of an operating terminal of a user is improved.

Description

A kind of EMS memory management process, device and mobile terminal
Technical field
The present invention relates to the communication technical field of mobile terminal, particularly to a kind of EMS memory management process, device And mobile terminal.
Background technology
Along with the arrival of mobile terminal intellectualization times, the hardware configuration of mobile terminal from strength to strength, function More and more complete, it is adaptable to the application program of mobile terminal is also rich and varied, user can by network from Cloud server is downloaded the application program needed and is installed, to enjoy the intelligent experience of mobile terminal.
But, due to increasing of application program, mobile terminal internal memory and extension storage card can exist substantial amounts of File, uses and finds the most for a long time more to block, and free memory space is the most involuntary simultaneously decreases a lot, opens The file of various APK, even if having run file clean-up, but the limited space vacateed, consult literary composition with computer Shared by the file of those several classes APK that part discovery is commonly used, internal memory is very big, such as wechat, QQ, often Seeing has 1~2G, and use file clean-up essentially without release how many spaces, by going through relevant literary composition Content in part folder, it saves the user's browsed all data in the process of use, including circle of friends Picture, and the file content of these instantaneities belongs to fast message for user, will act on the most too much after readding.
Therefore, a kind of EMS memory management process is the most urgently proposed to solve to be similar to the APK literary composition of social class software Part folder elapses the increasing problem causing system card to pause that takes up room over time,
Summary of the invention
It is an object of the invention to the shortcoming overcoming prior art with not enough, it is provided that a kind of EMS memory management process, Device and mobile terminal.
According to disclosed embodiment, a first aspect of the present invention proposes a kind of EMS memory management process, described side Method comprises the following steps:
In monitoring application watch-list, the mother file folder of APK is taken up space whether exceed default space threshold values, If so, next step is proceeded to;
Search whether All Files or file in the mother file folder of APK described in comparison meet default cleaning bar Part;
The file or folder meeting described default cleaning condition is deleted.
Further, described default cleaning condition is:
File or folder generate the time exceed some natural law and/or
File belong to nonsystematic file and/or
File or folder is not belonging to generate when APK application is installed simultaneously.
Further, the described file or folder to meeting described default cleaning condition deletes concrete bag Include:
Display listed files, described listed files includes meeting the file or folder presetting cleaning condition;
The file or folder that detection user specifies in this document folder list;
Delete the file or folder that user specifies in this document list.
Further, before the described file or folder to meeting described default cleaning condition is deleted, Also include:
Judge whether user has the deletion authority of described file or folder.
Further, described monitoring application watch-list in APK mother file folder taken up space whether exceed pre- If space threshold values before, also include:
Setting up application watch-list, described application watch-list includes the intended application that needs monitor, and should The space threshold values of the mother file folder of the APK that application is corresponding.
Further, in the mother file folder of APK described in described lookup comparison, All Files or file are the fullest Before foot presets cleaning condition, also include:
In monitoring application watch-list, whether the mother file folder of APK reaches default clearance time interval, if so, Proceed to next step.
According to disclosed embodiment, a second aspect of the present invention proposes a kind of memory management device, described dress Put and include following modules:
Whether the first monitoring modular, taken up space surpassed for monitoring the mother file folder of APK in application watch-list Cross the space threshold values preset, if so, proceed to search comparing module;
Searching comparing module, in the mother file folder search APK described in comparison, All Files or file are No satisfied default cleaning condition;
Cleaning removing module, for deleting the file or folder meeting described default cleaning condition.
Further, described default cleaning condition is:
File or folder generate the time exceed some natural law and/or
File belong to nonsystematic file and/or
File or folder is not belonging to generate when APK application is installed simultaneously.
Further, described cleaning removing module specifically includes:
Display unit, is used for showing that listed files, described listed files include meeting and presets cleaning condition File or folder;
Detector unit, for detecting the file or folder that user specifies in this document folder list;
Delete unit, for deleting the file or folder that user specifies in this document list.
Further, described memory management device also includes:
Authority judge module, for judging whether user has the deletion authority of described file or folder.
Further, described memory management device also includes:
Module is set up in list, is used for setting up application watch-list, and described application watch-list includes needing monitoring Intended application, and the space threshold values of the mother file folder of APK corresponding to this application.
Further, described memory management device also includes:
Second monitoring modular, for monitoring whether the mother file folder of APK in application watch-list reaches default Clearance time is spaced, and if so, proceeds to search comparing module.
According to disclosed embodiment, a third aspect of the present invention also proposed a kind of mobile terminal, including above-mentioned A kind of memory management device.
The present invention has such advantages as relative to prior art and effect:
1) EMS memory management process disclosed by the invention is based on limiting APK file folder maximum occupying space, when reaching Delete after the upper limit preset part in early days, useless, the file of nonsystematic function, can guarantee that certain is a few Conventional APK committed memory will not elapse over time, increasing, thus causes mobile terminal low memory;
2) EMS memory management process disclosed by the invention is deleted file according to time attribute to realize committed memory clear Reason, its memory management realizes automatically processing, it is not necessary to user operation.
3) EMS memory management process disclosed by the invention achieves the effective management to internal memory, and cleaning in time takies The file of internal memory, it is ensured that the efficient smooth and easy operation of system, improves the experience of user operation terminal.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to embodiment or existing In technology description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below It is only some embodiments of the present invention, for those of ordinary skill in the art, is not paying creativeness On the premise of work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process step figure of a kind of EMS memory management process disclosed in the present embodiment one;
Fig. 2 is that in the present embodiment one, the file or folder meeting described default cleaning condition is entered by step S103 The idiographic flow block diagram that row is deleted;
Fig. 3 is the process step figure of another EMS memory management process disclosed in the present embodiment one;
Fig. 4 is the process step figure of the another kind of EMS memory management process disclosed in the present embodiment one;
Fig. 5 is the structured flowchart of a kind of memory management device disclosed in the present embodiment two;
Fig. 6 is the structure composition frame chart clearing up removing module 203 in the present embodiment two;
Fig. 7 is the structured flowchart of the another kind of memory management device disclosed in the present embodiment two.
Detailed description of the invention
For the technological means making the present invention realize, creation characteristic, reach purpose and be easy to understand with effect, The present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.Should be appreciated that described herein Specific embodiment only in order to explain the present invention, is not intended to limit the present invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " Three " and " the 4th " etc. is for distinguishing different object rather than for describing particular order.Additionally, art Language " includes " and " having " and their any deformation, it is intended that cover non-exclusive comprising.Such as Contain series of steps or the process of unit, method, system, product or equipment are not limited to list Step or unit, but the most also include step or the unit do not listed, or the most also include right In intrinsic other step of these processes, method, product or equipment or unit.
It is described in detail respectively below according to embodiment.
Embodiment one
Refer to the process step figure that Fig. 1, Fig. 1 are a kind of EMS memory management process disclosed in the present embodiment one. EMS memory management process shown in Fig. 1, is applied to intelligent mobile terminal, carries out the internal memory of intelligent mobile terminal Effectively management, described intelligent mobile terminal includes but not limited to mobile phone, notebook computer, panel computer and the palm Upper equipment for surfing the net, multimedia equipment, stream media equipment, mobile internet device (MID, mobile internet Device), wearable device or other kinds of terminal unit.
Below in conjunction with the accompanying drawings 1, illustrate the process step of a kind of EMS memory management process, this memory management side Method specifically includes:
Step S101, monitoring application watch-list in APK mother file folder taken up space whether exceed default Space threshold values;If so, next step is proceeded to;
Otherwise, if this mother file press from both sides not less than default space threshold values, the most not the mother file to this APK press from both sides into Row scanning cleaning.
Wherein, mother file folder refers to the file of the APK the superiors, and APK is AndroidPackage Abbreviation, i.e. Android installation kit.
Conventional social software (wechat, QQ etc.) belongs to the application software that user's routine use frequency is the highest, It saves the user's browsed All Files in the process of use, and the picture including circle of friends is like this i.e. The file of time property, shared internal memory super large.
EMS memory management process disclosed in the present embodiment, for this type of conventional social software, sets up application monitoring List, then the mother file folder to the APK added in application watch-list is taken up space and is respectively specified that correspondence Space threshold values, this space threshold values is the ceiling space that user distributes to the mother file folder of APK.With space threshold values Taken up space by the interval mother file folder for the APK added in application watch-list of the upper limit and supervised in real time Survey.
In another preferred embodiment, the present embodiment triggers the mother of APK in cleaning application watch-list The condition of file is extended to: user can set the time interval automatically carrying out file clean-up, works as arrival A file clean-up is carried out with regard to triggering during certain time interval.
In the mother file folder of APK described in step S102, lookup comparison, whether All Files or file meet pre- If cleaning condition.
In concrete application, the present embodiment is the cleaning condition that the mother file sandwiched of APK is preset surely, it is to avoid delete Affect file or folder that APK normally uses and the system file affecting system stable operation etc..
In another preferred embodiment, the default cleaning condition in the present embodiment is:
The file or folder generation time exceedes some natural law and/or file belongs to nonsystematic file and/or literary composition Part or file are not belonging to generate when APK application is installed simultaneously.
Wherein, the first cleaning condition: the file or folder generation time exceedes some natural law, is for including The file of the picture instantaneity like this of circle of friends, this class file i.e. loses file after exceeding certain natural law Information value, but also committed memory space, therefore this type of file or folder is deleted and can be discharged Enough memory headrooms, promote the service efficiency of internal memory.Exemplary, the present embodiment sets the first cleaning Condition particularly as follows: file or folder generate the time more than 15 days, but this limit not as the technology of the present invention The restriction of scheme.
Second cleaning condition: file belongs to nonsystematic file, is normally to transport for avoiding deleting the system of impact by mistake The system file of row, therefore, judges before deletion whether file belongs to nonsystematic file, can be prevented effectively from Delete the situation appearance that the operating system instability caused even cannot be run by mistake.
3rd cleaning condition: file or folder is not belonging to generate when APK application is installed simultaneously.
Generate refers on the same day simultaneously, and difference is less than the file generated in the range spans of certain time period. Because installing APK, file is set up one by one, has dividing of priority.
In a particular application, the same time period takes 30 minutes, and the range spans of time period is without limitation The technical characteristic of the technical program, the range spans of any rational time period broadly falls into the protection model of the present invention Enclose.
Step S103, the file or folder meeting described default cleaning condition is deleted.
In another preferred embodiment, the display interface of mobile terminal shows listed files, to this The file or folder that in listed files, user specifies is deleted, and Fig. 2 shows that the embodiment of the present invention provides EMS memory management process step S103 implement flow chart, as it can be seen, this step specifically includes;
Step S1031, display listed files, described listed files includes meeting the literary composition presetting cleaning condition Part or file;
In concrete application, on the interface of mobile terminal, display meets file or the file presetting cleaning condition Folder, owing to file or folder is the most, can be by drawing a chart on interface, with the condition of clearing up As the classification mark of the file or folder meeting condition, can check according to classification mark and meet this cleaning The All Files of condition or file, in order to user carries out the operation chosen.
In step S1032, the file or folder that detection user specifies in this document folder list;
In concrete application, user specifies file or folder in this document folder list, it is intended that mode include But being not limited to touch or button, by user chooses operation detection, receive user chooses result.
In step S1033, delete the file or folder that user specifies in this document list.
In concrete application, receive user choose result after, according to storing path, in this document list The file or folder specified is deleted, and concrete deletion mode is not used in the restriction present invention at this.
By above-mentioned steps, showing listed files on the display interface of mobile terminal, user is according to individual's need File or folder is deleted, it is to avoid delete and user is also had file or the file that there is meaning Folder, thus further increase the accuracy rate of deletion.
Supplementary perfect as a upper detailed description of the invention, presets cleaning condition when file or folder meets Time, the display interface of mobile terminal does not show listed files, directly empty folder is cleared up.
In another preferred embodiment, in described step S103 to meeting described default cleaning condition Before file or folder is deleted, it is also possible to comprise the following steps:
Step S103X, judge whether user has the deletion authority of described file or folder.
If active user is without the deletion authority of described file or folder, then eject prompting frame, prompting user without Authority deletes described empty folder.
If user has the deletion authority of described file or folder, obtain the storage of described file or folder Path;
According to described store path, search corresponding described file or folder;
Delete the described file or folder that described store path is corresponding.
Fig. 3 shows that another of the memory management way that the embodiment of the present invention provides implements flow chart.
In another preferred embodiment, the mother of APK in described step S101, monitoring application watch-list Before file is taken up space and whether exceedes default space threshold values, also include:
Step S10X, foundation application watch-list, described application watch-list includes that the target that needs monitor should With, and the space threshold values of the mother file folder of APK corresponding to this application.
Furthermore, user sets up application watch-list method particularly includes:
It is manually entered application watch-list configuration interface;
User selects to need the application of monitoring;Preferably, it is provided that corresponding options menu form is user Thering is provided operation entry, user can select the application of required monitoring according to personal habits and regular job feature;
Arranging and store the space threshold values corresponding with selected application, this space threshold values is for judging and it Whether the APK file folder of the application being associated exceedes upper limit threshold values.
Fig. 4 shows that another of the memory management way comprising above-mentioned steps S10X implements flow chart.
In sum, EMS memory management process disclosed in the present embodiment takies sky based on limiting APK file folder maximum Between, delete after reaching the default upper limit part in early days, useless, the file of nonsystematic function, can protect Demonstrate,prove certain a few conventional APK committed memory will not elapse over time, increasing, thus cause mobile terminal Low memory, the phenomenon running card occurs.This memory management realizes automatically processing, it is not necessary to user operation, Achieve the effective management to internal memory, clear up the file of committed memory in time, it is ensured that mobile terminal efficient Smooth and easy operation, improves the experience of user operation terminal.
Embodiment two
For providing one internally to deposit into row effectively management, clear up the file of committed memory in time, it is ensured that system The purpose original intention of efficient smooth and easy operation, the present embodiment proposes a kind of memory management device, by limiting APK File maximum occupying space, delete after reaching the default upper limit part in early days, useless, nonsystematic The file of function, deletes file according to time attribute and realizes committed memory cleaning.Disclosed in the present embodiment two A kind of its structured flowchart of memory management device as it is shown in figure 5, described device includes: the first monitoring modular 201, comparing module 202 and cleaning removing module 203 are searched, wherein:
First monitoring modular 201, for monitoring the mother file folder of APK in application watch-list and being taken up space be No exceed default space threshold values, if so, proceed to search comparing module.
Memory management device disclosed in the present embodiment, for this type of conventional social software, sets up application monitoring List, then the mother file folder to the APK added in application watch-list is taken up space and is respectively specified that correspondence Space threshold values, this space threshold values is the ceiling space that user distributes to the mother file folder of APK.With space threshold values Taken up space by the interval mother file folder for the APK added in application watch-list of the upper limit and supervised in real time Survey.
Wherein, mother file folder refers to the file of the APK the superiors, and APK is AndroidPackage Abbreviation, i.e. Android installation kit.
Conventional social software (wechat, QQ etc.) belongs to the application software that user's routine use frequency is the highest, It saves the user's browsed All Files in the process of use, and the picture including circle of friends is like this i.e. The file of time property, shared internal memory super large.
Search comparing module 202, All Files or file in the mother file folder search APK described in comparison Whether folder meets is preset cleaning condition.
In concrete application, this module is the cleaning condition that the mother file sandwiched of APK is preset surely, it is to avoid delete shadow Ring the file or folder that normally uses of APK and the system file affecting system stable operation etc..
Default cleaning condition in the present embodiment is:
The file or folder generation time exceedes some natural law and/or file belongs to nonsystematic file and/or literary composition Part or file are not belonging to generate when APK application is installed simultaneously.
Wherein, the first cleaning condition: the file or folder generation time exceedes some natural law, is for including The file of the picture instantaneity like this of circle of friends, this class file i.e. loses file after exceeding certain natural law Information value, but also committed memory space, therefore this type of file or folder is deleted and can be discharged Enough memory headrooms, promote the service efficiency of internal memory.Exemplary, the present embodiment sets the first cleaning Condition particularly as follows: file or folder generate the time more than 15 days, but this limit not as the technology of the present invention The restriction of scheme.
Second cleaning condition: file belongs to nonsystematic file, is normally to transport for avoiding deleting the system of impact by mistake The system file of row, therefore, judges before deletion whether file belongs to nonsystematic file, can be prevented effectively from Delete the situation appearance that the operating system instability caused even cannot be run by mistake.
3rd cleaning condition: file or folder is not belonging to generate when APK application is installed simultaneously.
Generate refers on the same day simultaneously, and difference is less than the file generated in the range spans of certain time period. Because installing APK, file is set up one by one, has dividing of priority.
In a particular application, the same time period takes 30 minutes, and the range spans of time period is without limitation The technical characteristic of the technical program, the range spans of any rational time period broadly falls into the protection model of the present invention Enclose.
Cleaning removing module 203, for deleting the file or folder meeting described default cleaning condition Remove.
In concrete application, this module receive user choose result after, according to storing path, at this document The file or folder specified in list is deleted, and concrete deletion mode is not used at this and limits this Bright.
In concrete application, this cleaning removing module 203 specifically includes the following units:
Display unit 2031, is used for showing that listed files, described listed files include meeting and presets cleaning bar The file or folder of part;
In concrete application, on the interface of mobile terminal, display meets file or the file presetting cleaning condition Folder, owing to file or folder is the most, can be by drawing a chart on interface, with the condition of clearing up As the classification mark of the file or folder meeting condition, can check according to classification mark and meet this cleaning The All Files of condition or file, in order to user carries out the operation chosen.
Detector unit 2032, for detecting the file or folder that user specifies in this document folder list;
In concrete application, user specifies file or folder in this document folder list, it is intended that mode include But being not limited to touch or button, by user chooses operation detection, receive user chooses result.
Delete unit 2033, for deleting the file or folder that user specifies in this document list.
The structure composition frame chart of above-mentioned cleaning removing module 203 is referring to the drawings shown in 6.
In another preferred embodiment, described memory management device also includes:
Authority judge module 20X, for judging whether user has the deletion authority of described file or folder.
If active user is without the deletion authority of described file or folder, then eject prompting frame, prompting user without Authority deletes described empty folder.
If user has the deletion authority of described file or folder, obtain the storage of described file or folder Path;
According to described store path, search corresponding described file or folder;
Delete the described file or folder that described store path is corresponding.
In another preferred embodiment, described memory management device also includes:
Module 20Y is set up in list, is used for setting up application watch-list, and described application watch-list includes needs The intended application of monitoring, and the space threshold values of the mother file folder of APK corresponding to this application.
It is as follows that module specific works process is set up in this list:
It is manually entered application watch-list configuration interface;
User selects to need the application of monitoring;Preferably, it is provided that corresponding options menu form is user Thering is provided operation entry, user can select the application of required monitoring according to personal habits and regular job feature;
Arranging and store the space threshold values corresponding with selected application, this space threshold values is for judging and it Whether the APK file folder of the application being associated exceedes upper limit threshold values.
In another preferred embodiment, described memory management device also includes:
Second monitoring modular 20Z, for monitoring whether the mother file folder of APK in application watch-list reaches pre- If clearance time interval, if so, proceed to search comparing module.
Comprise above-mentioned authority judge module 20X, list sets up module 20Y and the second monitoring modular 20Z The structured flowchart of memory management device is as shown in Figure 7.
Based on same inventive concept, the internal memory cleaning plant of embodiment of the present invention offer and mobile terminal, solving Certainly the principle of problem is similar to aforementioned a kind of internal memory cleaning plant, and therefore the enforcement of this device and mobile terminal can To see the enforcement of preceding method, the module of foregoing description and the specific works process of unit, before being referred to State the corresponding process in embodiment of the method, do not repeat them here.
In sum, the device of the present embodiment disclosed cleaning file and mobile terminal, in said apparatus First monitoring modular 201, search comparing module 202 and cleaning removing module 203 cooperates work, Whether the first first monitoring modular is taken up space for the mother file folder monitoring APK in application watch-list exceedes The space threshold values preset, if so, proceeds to search comparing module;Then look up comparing module to search described in comparison In the mother file folder of APK, whether All Files or file meet default cleaning condition;Finally deleted by cleaning Module, for deleting the file or folder meeting described default cleaning condition.This memory management Device and mobile terminal, based on limiting APK file folder maximum occupying space, are deleted after reaching the default upper limit Part in early days, useless, the file of nonsystematic function, can guarantee that certain a few conventional APK committed memory not Can elapse over time, increasing, thus cause mobile terminal low memory, the phenomenon running card is sent out Raw.This memory management realizes automatically processing, it is not necessary to user operation, it is achieved that the effective management to internal memory, Clear up the file of committed memory in time, it is ensured that the efficient smooth and easy operation of mobile terminal, improve user operation The experience of terminal.
In each method embodiment of the present invention, the sequence number of described each step can not be used for limiting the elder generation of each step Rear order, for those of ordinary skill in the art, on the premise of not paying creative work, to respectively The priority of step changes also within protection scope of the present invention.
The module of foregoing description and the specific works process of unit, be referred in preceding method embodiment is right Answer process, do not repeat them here.
It should be noted that in said apparatus and terminal embodiment, included modules and unit are simply Carry out dividing according to function logic, but be not limited to above-mentioned division, as long as being capable of corresponding merit Can;It addition, the specific name of each module and unit is also only to facilitate mutually distinguish, it is not used to Limit the scope of the invention.
In several embodiments provided herein, it should be understood that disclosed equipment and method, can To realize by another way.Such as, terminal embodiment described above is only schematically, example As, described module or the division of unit, it is only a kind of logic function and divides, actual can have when realizing Other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, Or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or Direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, module or unit or communication link Connect, can be electrical, machinery or other form.
It addition, each functional module or unit in each embodiment of the present invention can be integrated in one and process mould In block or unit, it is also possible to be modules or unit is individually physically present, it is also possible to two or two It is integrated in a module or unit with upper module or unit.
Above-described embodiment is the present invention preferably embodiment, but embodiments of the present invention are not by above-mentioned reality Execute the restriction of example, the change made under other any spirit without departing from the present invention and principle, modification, Substitute, combine, simplify, all should be the substitute mode of equivalence, within being included in protection scope of the present invention.

Claims (13)

1. an EMS memory management process, it is characterised in that described method comprises the following steps:
In monitoring application watch-list, the mother file folder of APK is taken up space whether exceed default space threshold values, If so, next step is proceeded to;
Search whether All Files or file in the mother file folder of APK described in comparison meet default cleaning bar Part;
The file or folder meeting described default cleaning condition is deleted.
A kind of EMS memory management process the most according to claim 1, it is characterised in that described default clear Reason condition is:
File or folder generate the time exceed some natural law and/or
File belong to nonsystematic file and/or
File or folder is not belonging to generate when APK application is installed simultaneously.
A kind of EMS memory management process the most according to claim 1, it is characterised in that described to meeting The file or folder of described default cleaning condition carries out deletion and specifically includes:
Display listed files, described listed files includes meeting the file or folder presetting cleaning condition;
The file or folder that detection user specifies in this document folder list;
Delete the file or folder that user specifies in this document list.
A kind of EMS memory management process the most according to claim 1, it is characterised in that described to meeting Before the file or folder of described default cleaning condition is deleted, also include:
Judge whether user has the deletion authority of described file or folder.
5. according to the arbitrary described a kind of EMS memory management process of Claims 1-4, it is characterised in that institute State monitoring application watch-list in APK mother file folder taken up space whether exceed default space threshold values it Before, also include:
Setting up application watch-list, described application watch-list includes the intended application that needs monitor, and should The space threshold values of the mother file folder of the APK that application is corresponding.
A kind of EMS memory management process the most according to claim 1, it is characterised in that described lookup ratio Whether All Files or file in the mother file folder of described APK are met before presetting cleaning condition, also wrap Include:
In monitoring application watch-list, whether the mother file folder of APK reaches default clearance time interval, if so, Proceed to next step.
7. a memory management device, it is characterised in that described device includes following modules:
Whether the first monitoring modular, taken up space surpassed for monitoring the mother file folder of APK in application watch-list Cross the space threshold values preset, if so, proceed to search comparing module;
Searching comparing module, in the mother file folder search APK described in comparison, All Files or file are No satisfied default cleaning condition;
Cleaning removing module, for deleting the file or folder meeting described default cleaning condition.
A kind of memory management device the most according to claim 7, it is characterised in that described default clear Reason condition is:
File or folder generate the time exceed some natural law and/or
File belong to nonsystematic file and/or
File or folder is not belonging to generate when APK application is installed simultaneously.
A kind of memory management device the most according to claim 7, it is characterised in that described cleaning is deleted Except module specifically includes:
Display unit, is used for showing that listed files, described listed files include meeting and presets cleaning condition File or folder;
Detector unit, for detecting the file or folder that user specifies in this document folder list;
Delete unit, for deleting the file or folder that user specifies in this document list.
A kind of memory management device the most according to claim 7, it is characterised in that described internal memory pipe Reason device also includes:
Authority judge module, for judging whether user has the deletion authority of described file or folder.
11. a kind of memory management devices according to claim 7, it is characterised in that described internal memory pipe Reason device also includes:
Module is set up in list, is used for setting up application watch-list, and described application watch-list includes needing monitoring Intended application, and the space threshold values of the mother file folder of APK corresponding to this application.
12. a kind of EMS memory management process according to claim 7, it is characterised in that described internal memory pipe Reason device also includes:
Second monitoring modular, for monitoring whether the mother file folder of APK in application watch-list reaches default Clearance time is spaced, and if so, proceeds to search comparing module.
13. 1 kinds of mobile terminals, it is characterised in that include the arbitrary described one of claim 7 to 12 Memory management device.
CN201610200426.0A 2016-03-31 2016-03-31 Memory management method and device and mobile terminal Pending CN105893152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610200426.0A CN105893152A (en) 2016-03-31 2016-03-31 Memory management method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610200426.0A CN105893152A (en) 2016-03-31 2016-03-31 Memory management method and device and mobile terminal

Publications (1)

Publication Number Publication Date
CN105893152A true CN105893152A (en) 2016-08-24

Family

ID=57011733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610200426.0A Pending CN105893152A (en) 2016-03-31 2016-03-31 Memory management method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN105893152A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992626A (en) * 2017-12-25 2018-05-04 深圳市分期乐网络科技有限公司 Cache cleaner method, apparatus, terminal and storage medium
CN108228357A (en) * 2018-01-22 2018-06-29 维沃移动通信有限公司 A kind of memory method for cleaning and mobile terminal
CN108646987A (en) * 2018-05-21 2018-10-12 北京五八信息技术有限公司 A kind of management method of file volume, device, storage medium and terminal
CN109542344A (en) * 2018-11-09 2019-03-29 五八同城信息技术有限公司 A kind of method for cleaning of disk space, device, storage medium and terminal
CN113836093A (en) * 2021-09-29 2021-12-24 深圳万兴软件有限公司 Network disk file cleaning method, system, computer equipment and storage medium thereof
WO2023123802A1 (en) * 2021-12-30 2023-07-06 上海川源信息科技有限公司 Implementation method for file life cycle management of object storage

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929980A (en) * 2012-10-17 2013-02-13 广东欧珀移动通信有限公司 Folder cleaning method and device
CN103064675A (en) * 2012-12-24 2013-04-24 广东欧珀移动通信有限公司 Method and device for cleaning up redundant files in mobile terminal automatically
US20140208328A1 (en) * 2013-01-05 2014-07-24 Tencent Technology (Shenzhen) Company Limited Method for terminal acceleration, terminal and storage medium
CN104881493A (en) * 2015-06-12 2015-09-02 北京金山安全软件有限公司 File cleaning method and device
CN105159975A (en) * 2015-08-27 2015-12-16 北京金山安全软件有限公司 To-be-cleaned data identification method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929980A (en) * 2012-10-17 2013-02-13 广东欧珀移动通信有限公司 Folder cleaning method and device
CN103064675A (en) * 2012-12-24 2013-04-24 广东欧珀移动通信有限公司 Method and device for cleaning up redundant files in mobile terminal automatically
US20140208328A1 (en) * 2013-01-05 2014-07-24 Tencent Technology (Shenzhen) Company Limited Method for terminal acceleration, terminal and storage medium
CN104881493A (en) * 2015-06-12 2015-09-02 北京金山安全软件有限公司 File cleaning method and device
CN105159975A (en) * 2015-08-27 2015-12-16 北京金山安全软件有限公司 To-be-cleaned data identification method and device and electronic equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992626A (en) * 2017-12-25 2018-05-04 深圳市分期乐网络科技有限公司 Cache cleaner method, apparatus, terminal and storage medium
CN108228357A (en) * 2018-01-22 2018-06-29 维沃移动通信有限公司 A kind of memory method for cleaning and mobile terminal
CN108228357B (en) * 2018-01-22 2021-04-02 维沃移动通信有限公司 Memory cleaning method and mobile terminal
CN108646987A (en) * 2018-05-21 2018-10-12 北京五八信息技术有限公司 A kind of management method of file volume, device, storage medium and terminal
CN108646987B (en) * 2018-05-21 2022-05-31 北京五八信息技术有限公司 File volume management method and device, storage medium and terminal
CN109542344A (en) * 2018-11-09 2019-03-29 五八同城信息技术有限公司 A kind of method for cleaning of disk space, device, storage medium and terminal
CN113836093A (en) * 2021-09-29 2021-12-24 深圳万兴软件有限公司 Network disk file cleaning method, system, computer equipment and storage medium thereof
WO2023123802A1 (en) * 2021-12-30 2023-07-06 上海川源信息科技有限公司 Implementation method for file life cycle management of object storage

Similar Documents

Publication Publication Date Title
CN105893152A (en) Memory management method and device and mobile terminal
US7860971B2 (en) Anti-spam tool for browser
CN103346912B (en) Method, device and system for conducting warning correlation analysis
CN106484858A (en) Hot Contents method for pushing and device
US9239874B1 (en) Integrated search for shared storage using index throttling to maintain quality of service
CN102929980B (en) Folder cleaning method and device
CN105653425A (en) Complicated event processing engine based monitoring system
CN105760229A (en) Method and device for cleaning backstage running programs and mobile terminal
CN106155789A (en) A kind of application freezing method and mobile terminal
CN106201468A (en) Screen capture processing method and device and electronic equipment
CN112286887A (en) File sharing method and device and electronic equipment
CN104461742A (en) Method and device for optimizing computing equipment
CN102722379A (en) Software recommendation method and system
CN106503274A (en) A kind of Data Integration and searching method and server
CN101556586A (en) Method, system and device of automatic data collection
CN105893636A (en) Historical sharing recording method and device
CN103259869B (en) A kind of concentration approaches to IM based on Distributed Storage
CN108196944A (en) Mobile terminal background application inspection method and device
CN107402804A (en) Background process management-control method, device, storage medium and electronic equipment
CN112099695A (en) Icon position adjusting method and device and electronic equipment
CN106569917A (en) Data backup method and mobile terminal
CN109857802A (en) Daily record data synchronous method, device, equipment and computer readable storage medium
CN106571933A (en) Service processing method and device
CN103763181A (en) Automatic attribute setting device and method
CN105893471A (en) Data processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160824

RJ01 Rejection of invention patent application after publication