CN105893278A - System cache garbage cleaning method and device and terminal equipment - Google Patents

System cache garbage cleaning method and device and terminal equipment Download PDF

Info

Publication number
CN105893278A
CN105893278A CN201610194497.4A CN201610194497A CN105893278A CN 105893278 A CN105893278 A CN 105893278A CN 201610194497 A CN201610194497 A CN 201610194497A CN 105893278 A CN105893278 A CN 105893278A
Authority
CN
China
Prior art keywords
user
cleaning
system cache
garbage files
garbage
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
CN201610194497.4A
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610194497.4A priority Critical patent/CN105893278A/en
Publication of CN105893278A publication Critical patent/CN105893278A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0891Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches using clearing, invalidating or resetting means

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for cleaning system cache rubbish and terminal equipment, wherein the method comprises the following steps: scanning a storage space of the terminal equipment according to a system cache path to obtain a junk file in a system cache; providing authority indication information for assisting in clearing junk files for a user; and when the auxiliary cleaning authority granted by the user to the junk files is obtained, the read-write authority to the system cache is obtained, and then the junk files are cleaned. According to the method, the automatic cleaning of the junk files in the system cache is realized by actively applying the read-write permission to the system cache to the user, the cleaning efficiency of the junk files is improved, the occupation of the junk files on the memory is avoided, and the running speed of the terminal equipment is improved.

Description

System cache garbage-cleaning method, device and terminal unit
Technical field
The present invention relates to technical field of information processing, particularly relate to a kind of system cache garbage-cleaning method, device and terminal and set Standby.
Background technology
At present, along with popularizing of terminal unit (such as smart mobile phone), the application program being mounted thereon also gets more and more, Such as doing shopping application program, game application etc., therefore, system cache rubbish produced by these application programs is increasingly Many.
But, in actual applications, the system version of a lot of terminal units limits the access limit to cache file, causes The garbage files of system cache cannot be cleared up in time, not only waste the memory space of terminal unit, also can affect terminal unit The speed of service.
Summary of the invention
The purpose of the present invention is intended to solve one of above-mentioned technical problem the most to a certain extent.
To this end, the first of the present invention purpose is to propose a kind of system cache garbage-cleaning method, the method is by user The actively application access limit to system cache, it is achieved to the automatic cleaning of garbage files in system cache, improve rubbish literary composition The cleaning efficiency of part, it is to avoid internal memory is taken by garbage files, improves the speed of service of terminal unit.
Second object of the present invention is a kind of system cache garbage cleaning device.
Third object of the present invention is to propose a kind of terminal unit.
For reaching above-mentioned purpose, the system cache garbage-cleaning method of first aspect present invention embodiment, comprise the following steps: root The garbage files in system cache is obtained according to the memory space of system cache path end of scan equipment;Provide a user with auxiliary clear Manage the authority instruction information of described garbage files;When the auxiliary to described garbage files that acquisition user authorizes clears up authority, Then obtain the access limit to described system cache, and then described garbage files is cleared up.
System cache garbage-cleaning method according to embodiments of the present invention, according to the storage of system cache path end of scan equipment Space obtains the garbage-cleaning file in system cache, and provides a user with the authority information assisting cleaning garbage files, When obtaining user and the auxiliary of garbage files being cleared up authority, obtain the access limit of system cache, and then garbage files is entered Row cleaning.The method is by applying for authorizing to user, by user's actively application access limit to system cache, it is achieved To the automatic cleaning of garbage files in system cache, not only increase user and clear up the speed of garbage files, also achieve rubbish Rubbish file comprehensive, clear up efficiently, it is to avoid internal memory is taken by garbage files, improves the speed of service of terminal unit.
It addition, in one embodiment of the invention, the described memory space according to system cache path end of scan equipment obtains Take the garbage files in system cache, including: according to the system memory space of the first system cache path end of scan equipment, Obtain the garbage files in the first system caching;And/or, deposit according to the SD card of second system cache path end of scan equipment Storage space, obtains the garbage files in second system caching.
In one embodiment of the invention, described in provide a user with auxiliary clear up described garbage files authority instruction information, Including: when monitoring user and opening cleaning application, provide the described system of cleaning to delay by described cleaning application to described user Deposit the functional entrance of rubbish;Enter the cleaning interface corresponding with described functional entrance when monitoring described user, and send a key During the instruction cleared up, provide a user with auxiliary and clear up the authority instruction information of described garbage files.
In one embodiment of the invention, described cleaning interface includes: the cumulative volume of described garbage files, and described System cache produces the application name of garbage files, and with each application name and corresponding garbage files volume.
In one embodiment of the invention, including: during clearing up described garbage files, real-time exhibition is just At the application program of cleaning, and synchronize to show the progress of garbage-cleaning;After having cleared up, the state cleared up is shown to described User.
In one embodiment of the invention, the authority instruction information of described garbage files is cleared up in the described auxiliary that provides a user with Afterwards, also include: when not obtaining the auxiliary to described garbage files that user authorizes and clearing up authority, according to described user Select the application program of cleaning, guide described user manually to clear up described application program in described system cache at system interface Produce garbage files.
For reaching above-mentioned purpose, the system cache garbage cleaning device of second aspect present invention embodiment, including: acquisition module, The garbage files in system cache is obtained for the memory space according to system cache path end of scan equipment;Module is provided, The authority instruction information of described garbage files is cleared up for providing a user with auxiliary;Cleaning module, for authorizing acquisition user When the auxiliary of described garbage files is cleared up authority, obtain the access limit to described system cache, and then to described rubbish File is cleared up.
System cache garbage cleaning device according to embodiments of the present invention, according to the storage of system cache path end of scan equipment Space obtains the garbage-cleaning file in system cache, and provides a user with the authority information assisting cleaning garbage files, When obtaining user and the auxiliary of garbage files being cleared up authority, obtain the access limit of system cache, and then garbage files is entered Row cleaning.This device is by applying for authorizing to user, by user's actively application access limit to system cache, it is achieved To the automatic cleaning of garbage files in system cache, not only increase user and clear up the speed of garbage files, also achieve rubbish Rubbish file comprehensive, clear up efficiently, it is to avoid internal memory is taken by garbage files, improves the speed of service of terminal unit.
It addition, in one embodiment of the invention, described acquisition module specifically for: sweep according to the first system cache path Retouch the system memory space of terminal unit, obtain the garbage files in the first system caching;And/or, cache according to second system The SD card memory space of path end of scan equipment, obtains the garbage files in second system caching.
In one embodiment of the invention, described offer module, including: first provides unit, for monitoring user When opening cleaning application, applied by described cleaning and the functional entrance clearing up described system cache rubbish is provided to described user; Second provides unit, for monitoring the cleaning interface that described user entrance is corresponding with described functional entrance, and sends a key During the instruction cleared up, provide a user with auxiliary and clear up the authority instruction information of described garbage files.
In one embodiment of the invention, described cleaning interface includes: the cumulative volume of described garbage files, and described System cache produces the application name of garbage files, and with each application name and corresponding garbage files volume.
In one embodiment of the invention, also include: display module, in the mistake that described garbage files is cleared up Cheng Zhong, the application program that real-time exhibition is being cleared up, and synchronize to show the progress of garbage-cleaning;And described display module is also For the state cleared up being shown to described user after having cleared up.
In one embodiment of the invention, provide a user with auxiliary in described offer module and clear up the authority of described garbage files After instruction information, also include: guide module, for not obtain the auxiliary to described garbage files that user authorizes clear During reason authority, select the application program of cleaning according to described user, guide described user manually to clear up described answering at system interface In described system cache, garbage files is produced by program.
For reaching above-mentioned purpose, the terminal unit of third aspect present invention embodiment, including: housing, processor, memorizer, Circuit board and power circuit, wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor and institute State memorizer to be arranged on described circuit board;Described power circuit, powers for each circuit or the device for terminal unit; Described memorizer is used for storing executable program code;Described processor is by reading the performed journey of storage in described memorizer Sequence code runs the program corresponding with described executable program code, for performing following steps: according to system cache road The memory space of footpath end of scan equipment obtains the garbage files in system cache;Provide a user with auxiliary and clear up described rubbish literary composition The authority instruction information of part;When the auxiliary to described garbage files that acquisition user authorizes clears up authority, then obtain described The access limit of system cache, and then described garbage files is cleared up.
Terminal unit according to embodiments of the present invention, obtains system according to the memory space of system cache path end of scan equipment Garbage-cleaning file in caching, and provide a user with the authority information of auxiliary cleaning garbage files, when obtaining user couple When the auxiliary of garbage files clears up authority, obtain the access limit of system cache, and then garbage files is cleared up.This is eventually End equipment is by applying for authorizing to user, by user's actively application access limit to system cache, it is achieved delay system Deposit the automatic cleaning of middle garbage files, not only increase user and clear up the speed of garbage files, also achieve garbage files Comprehensively, clear up efficiently, it is to avoid internal memory is taken by garbage files, improves the speed of service of terminal unit.
Aspect and advantage that the present invention adds will part be given in the following description, and part will become bright from the following description Aobvious, or recognized by the practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or that add aspect and advantage will be apparent from from the following description of the accompanying drawings of embodiments With easy to understand, wherein:
Fig. 1 is the flow chart of system cache garbage-cleaning method according to an embodiment of the invention;
Fig. 2 (a)-Fig. 2 (h) is the concrete exemplary plot of system according to the invention caching garbage-cleaning embodiment of the method;
Fig. 3 is the flow chart of the system cache garbage-cleaning method according to one specific embodiment of the present invention;
Fig. 4 is the flow chart of system cache garbage-cleaning method in accordance with another embodiment of the present invention;
Fig. 5 is the structural representation of system cache garbage cleaning device according to an embodiment of the invention;
Fig. 6 is the structural representation of the system cache garbage cleaning device according to one specific embodiment of the present invention;
Fig. 7 is the structural representation of system cache garbage cleaning device in accordance with another embodiment of the present invention;And
Fig. 8 is the structural representation of the system cache garbage cleaning device according to another embodiment of the present invention.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most identical Or similar label represents same or similar element or has the element of same or like function.Retouch below with reference to accompanying drawing The embodiment stated is exemplary, it is intended to is used for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings system cache garbage-cleaning method, device and the terminal unit of the embodiment of the present invention are described.
Fig. 1 is the flow chart of system cache garbage-cleaning method according to an embodiment of the invention.
As it is shown in figure 1, the garbage-cleaning method of this system cache includes:
S110, obtains the garbage files in system cache according to the memory space of system cache path end of scan equipment.
S120, provides a user with the authority instruction information of auxiliary cleaning garbage files.
Specifically, authorize the read-write of file in caching system if the System Privileges of currently processed terminal unit is not open Authority, thus clear up application and can not directly the garbage files in system cache be cleared up.Accordingly, it would be desirable to user authorizes auxiliary Help the authority of cleaning garbage files, so that the garbage files in system cache to be cleared up.
It should be noted that the garbage files in said system caching refers to the application journey installed on the terminal device Some discarded records etc. that sequence produces during running, nor affect on the properly functioning of application program even if being deleted, And these discarded records are not that user actively preserves.Such as, above-mentioned garbage files can be browsing of interim preservation Record, the installation kit of application program, video cache etc..
Specifically, the memory space of terminal unit can be saved according to corresponding path due to the garbage files of said system caching On, therefore can obtain the garbage files in system cache according to the memory space of system cache path end of scan equipment.
In order to the most comprehensively find out the garbage files in whole system caches, can be respectively at system memory space and SD Card memory space, obtains the garbage files in system cache, specifically includes:
Example one, can obtain the first system caching according to the system memory space of the first system cache path end of scan equipment In garbage files.For example, on smart mobile phone, the preservation road of its system cache file on system memory space Footpath is usually data/data/cache, therefore can obtain the garbage files in system cache by routing information data/data/cache.
Example two, can obtain second system delay according to the SD card memory space of second system cache path end of scan equipment Garbage files in depositing.For example, on the smart mobile phone of android system, its system cache file is on SD card Storing path is usually Android/data/cache, therefore can obtain system cache by routing information Android/data/cache In garbage files.
And then, when detecting that user opens cleaning application, by cleaning application (such as Jinshan anti-virus software, 360 security guards Deng) provide a user with the functional entrance of system cache rubbish, thus detect that user enters cleaning circle corresponding with functional entrance Face, and when sending the instruction of a key cleaning, provide a user with the authority information of auxiliary cleaning garbage files.
Wherein, this garbage-cleaning interface includes the cumulative volume of garbage files, and the rubbish literary composition produced in garbage system caches The title of the application program of part, and the volume of the garbage files corresponding with each application program.
S130, when the auxiliary to garbage files that acquisition user authorizes clears up authority, then obtains the power of the read-write to system cache Limit, and then garbage files is cleared up.
Specifically, when the auxiliary to garbage files that acquisition user authorizes clears up authority, the read-write to system cache is i.e. obtained Authority, thus garbage files can be cleared up.Wherein it is possible to by calling the cleaning application program of some New function to rubbish Rubbish file implements cleaning, such as cheetah cleaning great master etc. automatically.
In order to more be apparent from the system cache garbage-cleaning method of the embodiment of the present invention, below in conjunction with the accompanying drawings 2 (a)- This system cache garbage-cleaning method is illustrated by Fig. 2 (e), and in this example, that calls has the clear of New function Ought to be with being cheetah cleaning great master.It is described as follows:
As shown in Fig. 2 (a), after the garbage files obtained in system cache, can provide a user with in cleaning application and be System caching rubbish functional entrance A, after detecting that user clicks through functional entrance A, as shown in Fig. 2 (b), to user Showing the cleaning interface corresponding with this functional entrance, this cleaning interface includes the cumulative volume of garbage files in system cache, and Produce the application name of garbage files, and the garbage files volume corresponding with each application name.
And then, when user clicks on the key cleaning menu on the garbage-cleaning interface as shown in Fig. 2 (b), it is intended that to rubbish literary composition The when that part being cleared up, as shown in Fig. 2 (c), in the way of ejecting information alert frame B, provide a user with auxiliary cleaning The authority information of garbage files, after user is determined operation to the menu of unlatching immediately in this information alert frame, then Obtain the access limit to garbage files that user authorizes.
As shown in Fig. 2 (d), guiding can be displayed to the user that after obtaining the access limit to garbage files that user authorizes Frame, opens the corresponding cleaning application program with New function, such as shown in Fig. 2 (d), guides user to open cheetah clear Reason great master's application program, thus as shown in Fig. 2 (e), user can be real by a key cleaning menu is determined operation Execute the automatic cleaning of garbage files in system cache.
In sum, the system cache garbage-cleaning method of the embodiment of the present invention, according to system cache path end of scan equipment Memory space obtain the garbage-cleaning file in system cache, and provide a user with the authority prompting of auxiliary cleaning garbage files Information, when obtaining user and the auxiliary of garbage files being cleared up authority, obtains the access limit of system cache, and then to rubbish File is cleared up.The method is by applying for authorizing to user, by actively applying for the access limit to system cache to user, Realize, to the automatic cleaning of garbage files in system cache, not only increasing user and clearing up the speed of garbage files, also achieve To garbage files comprehensive, clear up efficiently, it is to avoid internal memory is taken by garbage files, improves the operation of terminal unit Speed.
In order to allow user experience the scale removal process of this garbage files intuitively, promote Consumer's Experience further, it is also possible to right During garbage files is cleared up, the application program that real-time exhibition is being cleared up, and synchronize to show the progress of garbage-cleaning, In the way of progress bar, such as show this cleaning progress etc., and after having cleared up, the state cleared up is shown to user.
Specifically, Fig. 3 is the flow chart of the system cache garbage-cleaning method according to one specific embodiment of the present invention.Such as figure Shown in 3, the flow chart of this system cache garbage-cleaning method includes:
S310, obtains the garbage files in system cache according to the memory space of system cache path end of scan equipment.
S320, provides a user with the authority instruction information of auxiliary cleaning garbage files.
S330, when the auxiliary to garbage files that acquisition user authorizes clears up authority, then obtains the power of the read-write to system cache Limit.
S340, clears up garbage files, and during clearing up garbage files, real-time exhibition is being cleared up Application program, and synchronize to show the progress of garbage-cleaning.
Specifically, can be to cleaning garbage files when, the application the most cleared up with mode real-time exhibitions such as animations Program, it is possible to the modes such as progress bar synchronize the progress of the cleaning of the garbage files showing that this application program is corresponding.
S350, is shown to user by the state cleared up after having cleared up.
Specifically, after cleaning completes, the states such as the cumulative volume of the garbage files cleared up, used time situation can be showed User.
In order to more clearly illustrate how the application program that real-time exhibition is being cleared up, and synchronize to show the progress of garbage-cleaning And after having cleared up, the state cleared up is shown to user, it is illustrated below in conjunction with Fig. 2 (f)-Fig. 2 (h), It is described as follows:
During garbage files is cleared up, as shown in Fig. 2 (f), Google's browser that display is currently being cleared up Cleaning progress, according to Fig. 2 (f) Suo Shi, the garbage files that Google's browser of current cleaning is corresponding, be 28 needs clearly First file of the garbage files corresponding to application program of reason.Further, as shown in Fig. 2 (g), to all of rubbish After file clean-up completes, the cumulative volume of the garbage files that display has been cleared up is to user.Further, click on such as Fig. 2 (g) as user Shown complete menu after, as shown in Fig. 2 (h), it is also possible to return to the interface of initial cleaning application, such as Fig. 2 (h) institute Showing, this interface display stubbornness rubbish has been cleaned out.
In one embodiment of the invention, if in cleaning system cache during garbage files, the user discover that this is clear Reason overlong time, or run into other problems needing to stop cleaning, user can be by related menu on cleaning interface Operation, terminates the cleaning of garbage files in system cache.Such as, the cancellation menu as shown in Fig. 2 (f) can be clicked on, To terminate the cleaning of garbage files in system cache.
Wherein it is desired to explanation, for details the most disclosed in system cache garbage-cleaning embodiment of the method in the present invention, Refer to Fig. 1 and Fig. 2 (a)-Fig. 2 (e) description to system cache garbage-cleaning embodiment of the method, do not repeat them here.
In sum, the system cache garbage-cleaning method of the embodiment of the present invention, during garbage files is cleared up, The application program that real-time exhibition is being cleared up, and synchronize to show the progress of garbage-cleaning, the state will cleared up after having cleared up It is shown to user.Achieve user and get information about this scale removal process, improve Consumer's Experience further.
In the scale removal process of actual garbage files, if user is not desired to authorize the access limit to system file, then can draw Lead user and manually clear up, at system interface, the garbage files that application program produces in the system cache.
Specifically, Fig. 4 is the flow chart of system cache garbage-cleaning method in accordance with another embodiment of the present invention, such as Fig. 4 Shown in, including of this garbage-cleaning method:
S410, obtains the garbage files in system cache according to the memory space of system cache path end of scan equipment.
S420, provides a user with the authority instruction information of auxiliary cleaning garbage files.
S430, when the auxiliary to garbage files that acquisition user authorizes clears up authority, then obtains the power of the read-write to system cache Limit, and then garbage files is cleared up.
S440, when not obtaining the auxiliary to garbage files that user authorizes and clearing up authority, according to user select cleaning should By program, guide user manually to clear up application program at system interface and produce garbage files in the system cache.
Specifically, without get the auxiliary to garbage files that user authorizes clear up authority time, then can select according to user Selecting the application program of cleaning, guiding user is at system interface, by selecting the deletion menu etc. that garbage files is corresponding, the most clearly The garbage files of reason application program generation in the system cache.
It is to say, without get the auxiliary to garbage files that user authorizes clear up authority time, in order to meet user To the cleaning of garbage files in system cache, can select in system cache in the way of guiding user with traditional deletion file The garbage files produced manually is deleted.
Wherein it is desired to explanation, for details the most disclosed in system cache garbage-cleaning embodiment of the method in the present invention, Refer to Fig. 1 to Fig. 2 (a)-Fig. 2 (e) description to system cache garbage-cleaning embodiment of the method, do not repeat them here.
In sum, the system cache garbage-cleaning method of the embodiment of the present invention, when do not obtain that user authorizes to rubbish literary composition When the auxiliary of part clears up authority, select the application program of cleaning according to user, guide user manually to clear up application at system interface Program produces garbage files in the system cache.The auxiliary cleaning to garbage files that user authorizes is not obtained even if achieving Authority, guides user manually to delete its garbage files to be deleted, it is achieved that the cleaning to garbage files.
In order to realize above-described embodiment, the invention allows for a kind of system cache garbage cleaning device, Fig. 5 is according to this The structural representation of the system cache garbage cleaning device of a bright embodiment, as it is shown in figure 5, this system cache garbage-cleaning Device includes: acquisition module 510, it is provided that module 520 and cleaning module 530.
Wherein, acquisition module 510 obtains in system cache for the memory space according to system cache path end of scan equipment Garbage files.
There is provided module 520, for providing a user with the authority instruction information of auxiliary cleaning garbage files.
Specifically, authorize the read-write of file in caching system if the System Privileges of currently processed terminal unit is not open Authority, thus clear up application and can not directly the garbage files in system cache be cleared up.Accordingly, it would be desirable to user authorizes auxiliary Help the authority of cleaning garbage files, so that the garbage files in system cache to be cleared up.
More specifically, owing to the garbage files of said system caching can be saved in the storage sky of terminal unit according to corresponding path On between, therefore acquisition module 510 can obtain in system cache according to the memory space of system cache path end of scan equipment Garbage files.
In order to the most comprehensively find out the garbage files in whole system caches, acquisition module 510 can be respectively in system Memory space and SD card memory space, obtain the garbage files in system cache, specifically include:
Example one, acquisition module 510 can obtain according to the system memory space of the first system cache path end of scan equipment Garbage files in the first system caching.For example, on smart mobile phone, its system cache on system memory space The storing path of file is usually data/data/cache, and therefore acquisition module 510 can pass through routing information data/data/cache Obtain the garbage files in system cache.
Example two, acquisition module 510 can obtain according to the SD card memory space of second system cache path end of scan equipment Take the garbage files in second system caching.For example, on the smart mobile phone of android system, its system cache literary composition Part storing path on SD card is usually Android/data/cache, and therefore acquisition module 510 can pass through routing information Android/data/cache obtains the garbage files in system cache.
Wherein, this garbage-cleaning interface includes the cumulative volume of garbage files, and the rubbish literary composition produced in garbage system caches The title of the application program of part, and the volume of the garbage files corresponding with each application program.
And then, Fig. 6 is the structural representation of the system cache garbage cleaning device according to one specific embodiment of the present invention, as Shown in Fig. 6, it is provided that module 520 can include that the first offer unit 521 and second provides unit 522.
When detecting that user opens cleaning application, by cleaning application (such as Jinshan anti-virus software, 360 security guards etc.) the One provides unit 521 to provide a user with the functional entrance of system cache rubbish, thus detects that user enters and functional entrance pair The cleaning interface answered, and when sending the instruction of a key cleaning, second provides unit 522 to provide a user with auxiliary cleaning rubbish literary composition The authority information of part.
Cleaning module 530, when the auxiliary to garbage files for authorizing acquisition user clears up authority, obtains and delays system The access limit deposited, and then garbage files is cleared up.
Specifically, when the auxiliary to garbage files that acquisition user authorizes clears up authority, the read-write to system cache is i.e. obtained Authority, thus clear up module 530 and garbage files can be cleared up.Wherein it is possible to cleaning module 530 is by calling Garbage files is implemented cleaning, such as cheetah cleaning great master etc. automatically by the cleaning application program of New function.
In sum, the system cache garbage cleaning device of the embodiment of the present invention, according to system cache path end of scan equipment Memory space obtain the garbage-cleaning file in system cache, and provide a user with the authority prompting of auxiliary cleaning garbage files Information, when obtaining user and the auxiliary of garbage files being cleared up authority, obtains the access limit of system cache, and then to rubbish File is cleared up.This device is by applying for authorizing to user, by actively applying for the access limit to system cache to user, Realize, to the automatic cleaning of garbage files in system cache, not only increasing user and clearing up the speed of garbage files, also achieve To garbage files comprehensive, clear up efficiently, it is to avoid internal memory is taken by garbage files, improves the operation of terminal unit Speed.
In order to allow user experience the scale removal process of this garbage files intuitively, promote Consumer's Experience further, it is also possible to right During garbage files is cleared up, the application program that real-time exhibition is being cleared up, and synchronize to show the progress of garbage-cleaning, In the way of progress bar, such as show this cleaning progress etc., and after having cleared up, the state cleared up is shown to user.
Specifically, Fig. 7 is the structural representation of system cache garbage cleaning device in accordance with another embodiment of the present invention.As Shown in Fig. 7, on the basis of as shown in Figure 5, this system cache garbage cleaning device also includes: display module 540.
Wherein, display module 540 is used for during clearing up garbage files, the application that real-time exhibition is being cleared up Program, and synchronize to show the progress of garbage-cleaning.
Specifically, display module 540 can be current just with mode real-time exhibitions such as animations to cleaning garbage files when Application program in cleaning, it is possible to entering of the cleaning of the garbage files that the modes such as progress bar synchronize to show that this application program is corresponding Degree.
Further, the state cleared up is shown to user after being additionally operable to clear up by display module 540.Such as, permissible After cleaning completes, the states such as the cumulative volume of the garbage files cleared up, used time situation are showed user by display module 540.
In sum, the system cache garbage cleaning device of the embodiment of the present invention, during garbage files is cleared up, The application program that real-time exhibition is being cleared up, and synchronize to show the progress of garbage-cleaning, the state will cleared up after having cleared up It is shown to user.Achieve user and get information about this scale removal process, improve Consumer's Experience further.
In the scale removal process of actual garbage files, if user is not desired to authorize the access limit to system file, then can draw Lead user and manually clear up, at system interface, the garbage files that application program produces in the system cache.
Specifically, Fig. 8 is the structural representation of the system cache garbage cleaning device according to another embodiment of the present invention.As Shown in Fig. 8, on the basis of as shown in Figure 5, this system cache garbage cleaning device also includes: guide module 550.
Wherein, guide module 550, for when not obtaining the auxiliary to garbage files that user authorizes and clearing up authority, root Select the application program of cleaning according to user, guide user manually to clear up application program at system interface and produce rubbish in the system cache Rubbish file.
Specifically, without get the auxiliary to garbage files that user authorizes clear up authority time, guide module 550 then Can select the application program of cleaning according to user, guiding user is at system interface, by selecting the deletion dish that garbage files is corresponding Single etc., manually clear up the garbage files of application program generation in the system cache.
It is to say, without get the auxiliary to garbage files that user authorizes clear up authority time, in order to meet user To the cleaning of garbage files in system cache, guide module 550 can to select in the way of guiding user with traditional deletion file Select the garbage files produced in system cache manually to delete.
In sum, the system cache garbage cleaning device of the embodiment of the present invention, when do not obtain that user authorizes to rubbish literary composition When the auxiliary of part clears up authority, select the application program of cleaning according to user, guide user manually to clear up application at system interface Program produces garbage files in the system cache.The auxiliary cleaning to garbage files that user authorizes is not obtained even if achieving Authority, guides user manually to delete its garbage files to be deleted, it is achieved that the cleaning to garbage files.
In order to realize above-described embodiment, the invention allows for a kind of terminal unit, this terminal unit includes: housing, process Device, memorizer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and depositing Reservoir is arranged on circuit boards;Power circuit, powers for each circuit or the device for terminal unit;Memorizer is used for depositing Storage executable program code;Processor runs and executable program by reading the executable program code of storage in memorizer The program that code is corresponding, for performing following steps:
Memory space according to system cache path end of scan equipment obtains the garbage files in system cache;
Provide a user with the authority instruction information of auxiliary cleaning garbage files;
When the auxiliary to garbage files that acquisition user authorizes clears up authority, then obtain the access limit to system cache, enter And garbage files is cleared up.
Wherein it is desired to explanation, above-mentioned terminal unit with reference to above-mentioned referring to figs. 1 through Fig. 2 (a)-Fig. 2 (e) to system The function of caching garbage-cleaning method describes, and its function is corresponding with the function of terminal unit, does not repeats them here.
In sum, the terminal unit of the embodiment of the present invention, obtains according to the memory space of system cache path end of scan equipment Take the garbage-cleaning file in system cache, and provide a user with the authority information assisting cleaning garbage files, work as acquisition When the auxiliary of garbage files is cleared up authority by user, obtain the access limit of system cache, and then garbage files is cleared up. This terminal unit is by applying for authorizing to user, by user's actively application access limit to system cache, it is achieved to being In system caching, the automatic cleaning of garbage files, not only increases user and clears up the speed of garbage files, also achieves rubbish literary composition Part comprehensive, clear up efficiently, it is to avoid internal memory is taken by garbage files, improves the speed of service of terminal unit.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance or Person implies the quantity indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or Implicitly include at least one this feature.In describing the invention, " multiple " are meant that at least two, such as two, Three etc., unless otherwise expressly limited specifically.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " concrete example ", Or specific features, structure, material or the feature bag that the description of " some examples " etc. means to combine this embodiment or example describes It is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term necessarily It is directed to identical embodiment or example.And, the specific features of description, structure, material or feature can be arbitrary Individual or multiple embodiment or example combine in an appropriate manner.Additionally, in the case of the most conflicting, the skill of this area The feature of the different embodiments described in this specification or example and different embodiment or example can be combined by art personnel And combination.
Although above it has been shown and described that embodiments of the invention, it is to be understood that above-described embodiment is exemplary, Being not considered as limiting the invention, those of ordinary skill in the art within the scope of the invention can be to above-described embodiment It is changed, revises, replaces and modification.

Claims (10)

1. a system cache garbage-cleaning method, it is characterised in that comprise the following steps:
Memory space according to system cache path end of scan equipment obtains the garbage files in system cache;
Provide a user with auxiliary and clear up the authority instruction information of described garbage files;
When the auxiliary to described garbage files that acquisition user authorizes clears up authority, then obtain the read-write to described system cache Authority, and then described garbage files is cleared up.
2. the method for claim 1, it is characterised in that described depositing according to system cache path end of scan equipment Storage space obtains the garbage files in system cache, including:
According to the system memory space of the first system cache path end of scan equipment, obtain the rubbish literary composition in the first system caching Part;And/or,
According to the SD card memory space of second system cache path end of scan equipment, obtain the rubbish in second system caching File.
3. the method for claim 1, it is characterised in that described in provide a user with auxiliary and clear up described garbage files Authority instruction information, including:
When monitoring user and opening cleaning application, provide cleaning described system cache by described cleaning application to described user The functional entrance of rubbish;
The cleaning interface corresponding with described functional entrance is entered when monitoring described user, and when sending the instruction of a key cleaning, Provide a user with auxiliary and clear up the authority instruction information of described garbage files.
4. method as claimed in claim 3, it is characterised in that described cleaning interface includes:
The cumulative volume of described garbage files, and in described system cache, produce the application name of garbage files, and with Each application name and corresponding garbage files volume.
5. the method for claim 1, it is characterised in that including:
During described garbage files is cleared up, the application program that real-time exhibition is being cleared up, and synchronize to show rubbish The progress of rubbish cleaning;
After having cleared up, the state cleared up is shown to described user.
6. the method as described in claim 1-5 is arbitrary, it is characterised in that clear up described rubbish in the described auxiliary that provides a user with After the authority instruction information of rubbish file, also include:
When not obtaining the auxiliary to described garbage files that user authorizes and clearing up authority, select cleaning according to described user Application program, guides described user manually to clear up described application program at system interface and produces rubbish literary composition in described system cache Part.
7. a system cache garbage cleaning device, it is characterised in that including:
Acquisition module, obtains the rubbish literary composition in system cache for the memory space according to system cache path end of scan equipment Part;
Module is provided, clears up the authority instruction information of described garbage files for providing a user with auxiliary;
Cleaning module, when the auxiliary to described garbage files for authorizing acquisition user clears up authority, obtains described system The access limit of system caching, and then described garbage files is cleared up.
8. device as claimed in claim 7, it is characterised in that described acquisition module specifically for:
According to the system memory space of the first system cache path end of scan equipment, obtain the rubbish literary composition in the first system caching Part;And/or,
According to the SD card memory space of second system cache path end of scan equipment, obtain the rubbish in second system caching File.
9. device as claimed in claim 7, it is characterised in that described offer module, including:
First provides unit, for when monitoring user and opening cleaning application, is carried to described user by described cleaning application For clearing up the functional entrance of described system cache rubbish;
Second provides unit, for monitoring the cleaning interface that described user entrance is corresponding with described functional entrance, and sends During the instruction that one key is cleared up, provide a user with auxiliary and clear up the authority instruction information of described garbage files.
10. device as claimed in claim 9, it is characterised in that described cleaning interface includes:
The cumulative volume of described garbage files, and in described system cache, produce the application name of garbage files, and with Each application name and corresponding garbage files volume.
CN201610194497.4A 2016-03-30 2016-03-30 System cache garbage cleaning method and device and terminal equipment Pending CN105893278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610194497.4A CN105893278A (en) 2016-03-30 2016-03-30 System cache garbage cleaning method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610194497.4A CN105893278A (en) 2016-03-30 2016-03-30 System cache garbage cleaning method and device and terminal equipment

Publications (1)

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

Family

ID=57014144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610194497.4A Pending CN105893278A (en) 2016-03-30 2016-03-30 System cache garbage cleaning method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN105893278A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777286A (en) * 2016-12-29 2017-05-31 北京猎豹移动科技有限公司 A kind of method for cleaning and electronic equipment
CN107203417A (en) * 2017-05-25 2017-09-26 北京猎豹移动科技有限公司 A kind of data clearing method, relevant apparatus and electronic equipment
CN107220093A (en) * 2017-06-20 2017-09-29 北京金山安全软件有限公司 Process processing method and device
CN107247722A (en) * 2017-04-25 2017-10-13 北京金山安全软件有限公司 File scanning method and device and intelligent terminal
CN107291632A (en) * 2017-06-06 2017-10-24 北京金山安全软件有限公司 Method and device for clearing cache data and terminal equipment
CN107291401A (en) * 2017-06-30 2017-10-24 北京金山安全软件有限公司 File scanning method, file cleaning method, related device and electronic equipment
CN107562652A (en) * 2017-08-07 2018-01-09 努比亚技术有限公司 A kind of method, computer-readable medium and equipment for clearing up caching rubbish
CN108874864A (en) * 2018-04-19 2018-11-23 北京立思辰计算机技术有限公司 file recovery method and system
CN111026717A (en) * 2019-11-22 2020-04-17 陈奕博 Cache file cleaning method
CN113704195A (en) * 2021-08-26 2021-11-26 北京琥珀创想科技有限公司 Android system junk file cleaning method and device
CN115098448A (en) * 2022-08-26 2022-09-23 深圳市必凡娱乐科技有限公司 Software cleaning method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001071508A1 (en) * 2000-03-22 2001-09-27 Interwoven Inc. Method of and apparatus for recovery of in-progress changes made in a software application
CN103337086A (en) * 2013-06-17 2013-10-02 北京金山安全软件有限公司 Picture editing method and device for mobile terminal and mobile terminal
CN103530235A (en) * 2013-10-18 2014-01-22 北京奇虎科技有限公司 Method and device for clearing internal storage in mobile terminal
CN104317740A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Method and device for cleaning cache directory/document based on sandbox technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001071508A1 (en) * 2000-03-22 2001-09-27 Interwoven Inc. Method of and apparatus for recovery of in-progress changes made in a software application
CN103337086A (en) * 2013-06-17 2013-10-02 北京金山安全软件有限公司 Picture editing method and device for mobile terminal and mobile terminal
CN103530235A (en) * 2013-10-18 2014-01-22 北京奇虎科技有限公司 Method and device for clearing internal storage in mobile terminal
CN104317740A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Method and device for cleaning cache directory/document based on sandbox technology

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777286A (en) * 2016-12-29 2017-05-31 北京猎豹移动科技有限公司 A kind of method for cleaning and electronic equipment
CN107247722A (en) * 2017-04-25 2017-10-13 北京金山安全软件有限公司 File scanning method and device and intelligent terminal
CN107203417A (en) * 2017-05-25 2017-09-26 北京猎豹移动科技有限公司 A kind of data clearing method, relevant apparatus and electronic equipment
CN107291632A (en) * 2017-06-06 2017-10-24 北京金山安全软件有限公司 Method and device for clearing cache data and terminal equipment
CN107220093A (en) * 2017-06-20 2017-09-29 北京金山安全软件有限公司 Process processing method and device
CN107291401B (en) * 2017-06-30 2020-12-11 北京金山安全软件有限公司 File scanning method, file cleaning method, related device and electronic equipment
CN107291401A (en) * 2017-06-30 2017-10-24 北京金山安全软件有限公司 File scanning method, file cleaning method, related device and electronic equipment
CN107562652A (en) * 2017-08-07 2018-01-09 努比亚技术有限公司 A kind of method, computer-readable medium and equipment for clearing up caching rubbish
CN108874864A (en) * 2018-04-19 2018-11-23 北京立思辰计算机技术有限公司 file recovery method and system
CN108874864B (en) * 2018-04-19 2023-05-30 北京立思辰计算机技术有限公司 File recycling method and system
CN111026717A (en) * 2019-11-22 2020-04-17 陈奕博 Cache file cleaning method
CN113704195A (en) * 2021-08-26 2021-11-26 北京琥珀创想科技有限公司 Android system junk file cleaning method and device
CN115098448A (en) * 2022-08-26 2022-09-23 深圳市必凡娱乐科技有限公司 Software cleaning method and system

Similar Documents

Publication Publication Date Title
CN105893278A (en) System cache garbage cleaning method and device and terminal equipment
CN105095107B (en) Clear up data cached method and device
CN104077341B (en) The method and apparatus that keyword automatically replies mapping relations is generated in instant messaging
CN103634337B (en) Page recovery, device and mobile terminal
CN104021159B (en) Client file cleaning method and device
CN104811791B (en) Method, device and the terminal device of video cleaning
CN103885990B (en) Searching method and system
CN111325612B (en) Order counting method, order distribution method, device and system
CN104252284A (en) File display method and device
CN105447115A (en) Method and device for cleaning junk files and electronic equipment
CN108351880A (en) Image processing method, device, electronic equipment and graphic user interface
CN103729122A (en) Method and device for unlocking mobile terminal
CN112416201B (en) Application cache cleaning method and device, electronic equipment and medium
CN113067983B (en) Video processing method and device, electronic equipment and storage medium
CN104820683A (en) Terminal
CN112286416A (en) Information display method and device and electronic equipment
CN106201779A (en) Picture processing method and device and mobile terminal
CN109241031A (en) Model generating method, model application method, device, system and storage medium
CN107437174B (en) Virtual card management method and device
CN112486387A (en) Application program control method and device
CN106201464A (en) A kind of application icon processing method freezing application and mobile terminal
CN103618625B (en) Control method, the device and system of Internet resources in a kind of microblogging
CN110471764A (en) A kind of processing method and processing device of memory cleaning
CN113805997B (en) Information display method, information display device, electronic equipment and storage medium
CN109743248A (en) Content delivery method, device, terminal, server and storage medium

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