CN105095107A - Buffer memory data cleaning method and apparatus - Google Patents

Buffer memory data cleaning method and apparatus Download PDF

Info

Publication number
CN105095107A
CN105095107A CN201410185370.7A CN201410185370A CN105095107A CN 105095107 A CN105095107 A CN 105095107A CN 201410185370 A CN201410185370 A CN 201410185370A CN 105095107 A CN105095107 A CN 105095107A
Authority
CN
China
Prior art keywords
data cached
time
accessed
deletion condition
deletion
Prior art date
Application number
CN201410185370.7A
Other languages
Chinese (zh)
Other versions
CN105095107B (en
Inventor
潘述鑫
黄炜
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to CN201410185370.7A priority Critical patent/CN105095107B/en
Publication of CN105095107A publication Critical patent/CN105095107A/en
Application granted granted Critical
Publication of CN105095107B publication Critical patent/CN105095107B/en

Links

Abstract

The invention discloses a buffer memory data cleaning method and an apparatus. The method comprises steps of determining whether a pre-set delete condition is met for memory stored in an intelligent terminal while receiving a buffer memory data deleting order, deleting buffer memory data meeting the pre-set deleting condition, and deleting buffer memory data when the buffer memory data does not meet the pre-set deleting condition, wherein the pre-set deleting condition comprises a buffer memory data storage condition, a buffer memory data visit condition, a buffer memory data storage time and a buffer memory data index table state. The invention further discloses a buffer memory data cleaning apparatus. Buffer memory data can be selectively and rationally cleaned. A problem of inadequate storage space due to large buffer memory data can be solved without an effect on buffer memory data storage; storage space can be saved; and system performance can be improved.

Description

Clear up data cached method and device

Technical field

The present invention relates to technical field of data processing, be related specifically to the data cached method of cleaning and device.

Background technology

Along with the development of intellectual technology, more and more intelligent terminal (such as, smart mobile phone, panel computer, notebook computer, desktop computer, all-in-one etc.) enters in the middle of the routine work of people, life.User can carry out information interaction by intelligent terminal and other users, also can by intelligent terminal from information such as some words of Network Capture, video or pictures.When user carries out information interaction by intelligent terminal and other users, need the interactive information (chat record etc.) produced to be saved to intelligent terminal this locality; When user is by intelligent terminal obtaining information, according to the download address of information, or chained address will want that the information obtained downloads to intelligent terminal this locality and preserves.These data being saved in intelligent terminal this locality are called as data cached (such as, image data, web browsing data etc.).Along with the quantity of information of interactive information and/or acquisition increases, will produce a large amount of data cached in intelligent terminal, and the storage space of intelligent terminal is relatively limited, therefore needs timing to clear up to be stored on intelligent terminal data cached.

In prior art, by the data cached mode of carrying out clearing up being stored in intelligent terminal be: when receiving user for data cached delete instruction, all data cached deletion that intelligent terminal can will produce.Therefore, the existing defect to mode of clearing up data cached in intelligent terminal is: can only be disposable by all data cached cleanings, cannot clear up data cached selectively, reasonably, effectively data cached to retain.

Summary of the invention

The method and apparatus that the embodiment of the present invention provides cleaning data cached, realizes clearing up data cached selectively, reasonably, saves storage space, and then improve the performance of system.

Embodiment of the present invention proposition is a kind of clears up data cached method, and the method comprising the steps of:

When receiving data cached delete instruction, judge to store in intelligent terminal data cached whether meet preset deletion condition, described default deletion condition comprises data cached collecting state, data cached Access status, data cached storage time, data cached concordance list state;

When described data cached satisfied default deletion condition, the data cached deletion presetting deletion condition will be met;

When described data cached satisfied default deletion condition, the data cached reservation presetting deletion condition will do not met.

The embodiment of the present invention also proposes a kind ofly to clear up data cached device, and this device comprises:

Judge module, for when receiving data cached delete instruction, judge to store in intelligent terminal data cached whether meet preset deletion condition, described default deletion condition comprises data cached collecting state, data cached Access status, data cached storage time, data cached concordance list state;

Buffer process module, for described data cached meet preset deletion condition time, will meet and preset the data cached deletion of deletion condition; And

When described data cached satisfied default deletion condition, the data cached reservation presetting deletion condition will do not met.

The embodiment of the present invention by the data cached judgement carrying out default deletion condition to storage, and will meet the data cached deletion presetting deletion condition, realize clearing up data cached selectively, reasonably.While valid cache data store by guarantee, avoid again storing the data cached problem bringing memory space inadequate in a large number, save storage space, and then improve the performance of system.

Accompanying drawing explanation

Fig. 1 is the schematic flow sheet that the present invention clears up data cached method first embodiment;

Fig. 2 a is that the present invention clears up in data cached method the data cached deletion examples of interfaces figure before receiving data cached delete instruction;

Fig. 2 b is the data cached deletion examples of interfaces figure that the present invention clears up in data cached method when receiving data cached delete instruction;

Fig. 2 c is the data cached deletion examples of interfaces figure that the present invention clears up in data cached method when carrying out data cached delete instruction;

Fig. 3 is the schematic flow sheet that the present invention clears up data cached method second embodiment;

Fig. 4 is the schematic flow sheet that the present invention clears up data cached method the 3rd embodiment;

Fig. 5 is the schematic flow sheet that the present invention clears up data cached method the 4th embodiment;

Fig. 6 is the schematic flow sheet that the present invention clears up data cached method the 5th embodiment;

Fig. 7 is the schematic flow sheet that the present invention clears up data cached method the 6th embodiment;

Fig. 8 is the high-level schematic functional block diagram that the present invention clears up data cached device preferred embodiment;

Fig. 9 is the hardware configuration schematic diagram that the present invention clears up the terminal at data cached device place.

The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.

Embodiment

Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.

As shown in Figure 1, Fig. 1 is the process flow diagram that the present invention clears up the first embodiment of data cached method.The data cached method of the cleaning mentioned of the present embodiment comprises the following steps:

Step S10, when receiving data cached delete instruction, judge to store in intelligent terminal data cached whether meet preset deletion condition, described default deletion condition comprises data cached collecting state, data cached Access status, data cached storage time, data cached concordance list state;

User is at use intelligent terminal and other users carry out information interaction or from network during obtaining information, will be produced some data cached in intelligent terminal, also can store data cached concordance list at intelligent terminal, this concordance list can comprise the information such as data cached issuing time, data cached title, data cached memory location simultaneously.Along with the quantity of information of interactive information and/or acquisition increases, also will produce a large amount of data cached in intelligent terminal, need timing to data cachedly clearing up of storing in intelligent terminal.The triggering of data cached delete instruction can be the deletion option that user clicks the data cached delete button on intelligent terminal or clicks in data cached menu, trigger data cached delete instruction, also can be intelligent terminal after certain interval of time (1 day, a week), automatically trigger data cached deletion.Described data cached delete instruction comprises whole delete instruction and part delete instruction.When user need to intelligent terminal store data cached clear up time, click part deletes data cached button or the part clicked in data cached menu deletes option, enter data cached deletion interface, judge to store in intelligent terminal data cached whether meet preset deletion condition, namely travel through store in intelligent terminal data cached, therefrom find out to meet and preset the data cached of deletion condition.Such as, as shown in Figure 2 a, when user clicks part delete button, data cached deletion interface as shown in Figure 2 b will be there is, this data cached deletion interface comprise return, suspend, continue, stop button, carry out control operation for user to data cached delete procedure, user can control data cached delete procedure by click time-out, continuation, stop button, also can be back to main interface by clicking return push-button.This data cached deletion interface also can also comprise the data cached information table of storage, this data cached information table comprises data cached ID, data cached storage time, data cached Access status, the information such as data cached collecting state, the progress of data cached deletion is known for user, wherein, the ture on access hurdle represents that data cached Access status is accessed, data cached not accessed state representation is False, the ture on collection hurdle represents that data cached collecting state is for be collected, data cached is not False by the state representation of collecting.Described default deletion condition comprises data cached collecting state, data cached Access status, data cached storage time, data cached concordance list state.

Step S20, when described data cached satisfied default deletion condition, will meet the data cached deletion presetting deletion condition;

Step S30, when described data cached satisfied default deletion condition, will not meet the data cached reservation presetting deletion condition.

Judge to store in intelligent terminal data cached whether meet preset deletion condition, from described data cached find out to meet and preset the data cached of deletion condition, and will the data cached deletion presetting deletion condition be met.Such as, will access but the data cached deletion of not collecting, or will to issue before one week but not by the data cached deletion etc. of collecting.

Judge to store in intelligent terminal data cached whether meet preset deletion condition and data cachedly can carry out pre-conditioned detection to what store one by one by data cached concordance list, therefrom determine to meet and preset the data cached of deletion condition, and find the data cached memory location meeting and preset deletion condition according to concordance list, and the data cached deletion presetting deletion condition will be met; Do not meet the data cached continuation presetting deletion condition to retain.

Be understandable that, the described step by the data cached deletion meeting default deletion condition can comprise: when described data cached satisfied default deletion condition, by meet preset the data cached mode with list of deletion condition point out user which data cached will be deleted, and user can be pointed out whether to confirm these to meet the data cached deletion presetting deletion condition simultaneously, after receiving the confirmation of user, these are met and presets the data cached of deletion condition; Also can also be, an Option Box is provided to each satisfied default the data cached of deletion condition, for user from meet preset deletion condition data cached, select to need the data cached of deletion, and when receiving user and determining to delete data cached instruction, from meet preset deletion condition data cached, the part that is easily selected by a user is deleted.Such as, with reference to figure 2c, in data cached deletion interface display one data cached list to be deleted, and provide in the list and entirely select frame and part choice box, select to meet according to oneself expection or need data cached whole deletion of presetting deletion condition for user or part is deleted.When user clicks confirmation delete button, the data cached deletion that user is chosen.

Further, data cached deleted in order to allow user which is clearly understood, and/or data cachedly whether successfully to be deleted, after by the data cached deletion of satisfied default deletion condition, can also step be comprised: provide one to delete data cached list (comprise and delete data cached ID, storage time, collecting state etc.), with point out user which data cachedly successfully to be deleted.

The embodiment of the present invention by the data cached judgement carrying out default deletion condition to storage, and will meet the data cached deletion presetting deletion condition, realize clearing up data cached selectively, reasonably.While valid cache data store by guarantee, avoid again storing the data cached problem bringing memory space inadequate in a large number, save storage space, and then improve the performance of system.

Further, the second embodiment that the present invention clears up data cached method is proposed.When described default deletion condition is data cached collecting state, as shown in Figure 3, based on above-mentioned first embodiment:

Step S10 comprises:

Step S101, whether what judge to store in intelligent terminal is data cachedly collected;

Step S20 comprises:

Step S201, described data cached by collection time, not data cached by what collect described in deletion;

Step S30 comprises:

Step S301, described data cached by collection time, retain described data cached by what collect.

Intelligent terminal store data cached in, judge each data cached collecting state one by one, judge whether each data cached collecting state is collected, namely judge user the need of or expect again access intelligent terminal storage data cached.Described data cached by collection time, determine described by collect data cached meet preset deletion condition, retain described data cached by what collect; Described data cached by collection time, by described not by the data cached deletion of collecting, or do not met other default deletion conditions by data cached the judging whether further of collecting to described, to determine whether described not by the data cached deletion of collecting.By data cachedly whether being collected of judging that intelligent terminal stores, with by described by the data cached reservation of collecting, realize selectively retaining store in intelligent terminal data cached.Save spatial cache, and then improve the performance of system.

Further, the 3rd embodiment that the present invention clears up data cached method is proposed.With reference to figure 4, based on above-mentioned first embodiment:

Step S20 comprises:

Step S202, described data cached by collection time, judge described data cached whether accessed in the first Preset Time by what collect;

Step S203, by collect data cached not accessed in the first Preset Time time, not accessed data cached described in deletion;

Step S30 comprises:

Step S302, by collect data cached accessed in the first Preset Time time, retain described accessed data cached.

Pre-set the first Preset Time, described first Preset Time is 10 days, 15 days constant durations.Described data cached by collection time, according to the first Preset Time pre-set, judge described by each the data cached Access status in the first Preset Time collected, namely, whether accessed, described by collect data cached not accessed in the first Preset Time time, described in determining not accessed data cached meet preset deletion condition, not accessed data cached described in deletion.Described by collect data cached accessed in the first Preset Time time, by described by collect data cached in, data cached reservation accessed in the first Preset Time, or judge whether described accessed data meet other default deletion conditions, to determine whether that data accessed described in this retain further further.Described data cached accessed can comprising data cachedly viewedly, data cached to be shared, to be data cachedly forwarded, to be commented on etc. data cached.Data cached whether accessed in the first Preset Time by what collect by judging, by collect data cached not accessed in the first Preset Time time, by not accessed data cached deletion.Realize selectively by data cached deletion of intelligent terminal storage.Save the spatial cache of mobile terminal, improve the performance of mobile terminal system.

Further, the 4th embodiment that the present invention clears up data cached method is proposed.With reference to figure 5, based on above-mentioned first embodiment:

Step S20 comprises:

Step S204, described data cached by collection time, judge describedly whether exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected;

Step S205, when not exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected, deleting described accessed number of times and not exceeding the data cached of predetermined threshold value;

Step S30 comprises:

Step S303, when being exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected, retaining described accessed number of times and exceeding the data cached of predetermined threshold value.

Pre-set the second Preset Time, described second Preset Time can be 30 days, 45 days constant durations.Preset a threshold value, this predetermined threshold value can be 2 times, 3 inferior access times.Described data cached by collection time, according to the second Preset Time pre-set and predetermined threshold value, judge describedly whether exceeded predetermined threshold value by the data cached access times within the second time of collecting, described be less than or equal to predetermined threshold value by the data cached number of times accessed in the second Preset Time collected time, judge that described accessed number of times is less than or equal to the data cached of predetermined threshold value and meets default deletion condition, described accessed number of times is less than or equal to the data cached deletion of predetermined threshold value.Described be greater than predetermined threshold value by the data cached number of times accessed in the second Preset Time collected time, described accessed number of times is greater than the data cached reservation of pre-set threshold value, or judge that described accessed number of times is greater than the data cached of pre-set threshold value and whether meets other default deletion conditions, to determine that described accessed number of times is greater than data cached whether this reservation of pre-set threshold value.By judging describedly whether exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected; Described do not exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected time, delete number of times accessed in the second Preset Time and do not exceed the data cached of predetermined threshold value.Realize selectively, reasonably deleting in intelligent terminal store data cached, save the spatial cache of mobile terminal, improve the performance of mobile terminal system.

Further, the 5th embodiment that the present invention clears up data cached method is proposed.When described default deletion condition is data cached storage time, as shown in Figure 6, based on above-mentioned first embodiment:

Step S10 comprises:

Step S102, judges whether be greater than the 3rd Preset Time storage time data cached in intelligent terminal;

Step S20 comprises:

Step S206, when being greater than the 3rd Preset Time described data cached storage time, deleting and being greater than the data cached of the 3rd Preset Time described storage time;

Described step S30 comprises:

Step S304, when being less than or equal to the 3rd Preset Time described data cached storage time, retaining and being less than or equal to the data cached of the 3rd Preset Time described storage time.

Each data cached storage time in real-time update intelligent terminal, that is, according to data cached issuing time and current time, calculate data cached storage time, and data cached storage time is upgraded.Pre-set the 3rd Preset Time, described 3rd Preset Time is a week, two weeks constant duration.When user clicks data cached part delete instruction, according to the 3rd Preset Time pre-set, judge whether the data cached storage time stored in intelligent terminal is greater than the 3rd Preset Time one by one, when being greater than the 3rd Preset Time described data cached storage time, judge described data cached satisfied default deletion condition, is greater than the data cached deletion of the 3rd Preset Time storage time; When having be less than or equal to the 3rd Preset Time data cached storage time, the determining storage time is less than or equal to the data cached of the 3rd Preset Time and does not meet default deletion condition, is less than or equal to the data cached reservation of the 3rd Preset Time storage time, or judge whether meet other default deletion condition, to determine to be less than or equal to the data cached the need of being retained of the 3rd Preset Time storage time if being less than or equal to the data cached of the 3rd Preset Time storage time further.When carrying out data cached deletion, when storage time data cached in intelligent terminal is greater than the 3rd Preset Time, is greater than the data cached deletion of the 3rd Preset Time storage time.And then realize selectively deleting the data cached of intelligent terminal storage, save spatial cache, improve the performance of system.

Be understandable that, storage time data cached in intelligent terminal is when being greater than the 3rd Preset Time, can further by judging the data cached collecting state being greater than the 3rd Preset Time storage time, carrying out the determining storage time is greater than the data cached the need of reservation of the 3rd Preset Time.Storage time be greater than the 3rd Preset Time data cached by collection time, by by data cached the continuations reservation of collecting; Storage time be greater than the first Preset Time data cached by collection time, by by the data cached deletion of collecting.Realize selectively retaining the data cached of intelligent terminal storage, without the need to again to identical data cached download when accessing next time for user, improve Consumer's Experience.

Further, after step s 102, the method also comprises step:

Whether step S103, when being less than or equal to the 3rd Preset Time described data cached storage time, judge described data cached accessed;

Step S207, when being less than or equal to the 3rd Preset Time data cached accessed storage time, deletes described accessed data cached;

Step S305, when being less than or equal to the 3rd Preset Time data cached not accessed storage time, retains described accessed data cached.

Whether the data cached storage time in intelligent terminal, when being less than or equal to the 3rd Preset Time, judges described data cached accessed in the 3rd Preset Time.Described data cached accessed in the 3rd Preset Time time, judge described accessed data cached meet preset deletion condition, delete accessed data cached; Described data cached when the 3rd Preset Time is not accessed, judge in the 3rd Preset Time not accessed data cached do not meet preset deletion condition, not accessed data cached described in reservation.When being less than or equal to the 3rd Preset Time by storage time data cached in intelligent terminal, judge to be less than or equal to the data cached whether accessed of the 3rd Preset Time storage time further, and by accessed data cached deletion.While ensureing data cached reservation user expected, more effectively by some unnecessary data cached deletions, save spatial cache, improve the performance of system.

Be understandable that, when in intelligent terminal, storage time is less than or equal to the 3rd Preset Time data cached accessed, described accessed data cachedly whether to be collected can be judged further, judge described accessed data cached the need of deletion, described accessed data cached by collection time, by described not by the data cached deletion of collecting; Described accessed data cached by collection time, by described by data cached the continuations reservation of collecting.Also can be store at intelligent terminal data cached by collection time, judge whether described data cached storage time is greater than the 3rd Preset Time, valid cache data to be retained further.Detailed process is described above, no longer burden.Realizing, at saving storage space, while improving system performance, selectively, reasonably retaining data cached further, without the need to again downloading same buffered data when making user access next time, improving Consumer's Experience.

Further, the 6th embodiment that the present invention clears up data cached method is proposed.When described default deletion condition is data cached concordance list state, as shown in Figure 7, based on above-mentioned first embodiment:

Step S10 comprises:

Step S104, according to data cached title, judges whether store in described intelligent terminal and described data cached corresponding concordance list;

Step S20 comprises:

Step S208, when not storing in described intelligent terminal with described data cached corresponding concordance list, does not store the data cached of concordance list described in deletion;

Described step S30 comprises:

Step S306, when storing with described data cached corresponding concordance list in described intelligent terminal, retains the data cached of described storage concordance list.

Prestore concordance list data cached in intelligent terminal, each concordance list comprises data cached title, data cached memory location.Such as, concordance list is: data cached ID+F (data cached URL).Wherein, data cached ID is data cached ID, and data cached URL (uniform resource locator) is data cached memory location, and F function is a kind of obtaining value method, for getting the HashCode (cryptographic hash) of data cached URL.That is, data cachedly arrange a different title for each, in order to each data cachedly to be distinguished, this data cached title has a concordance list mapped simultaneously.When user is by clicking data cached part delete button, when triggering data cached delete instruction, judge whether store in intelligent terminal and described data cached corresponding concordance list, namely according to data cached title, traversal buffer memory number, namely find corresponding data cached ID according to the title got, according to the ID got, in intelligent terminal, whether can find out the concordance list corresponding with the ID got.When described intelligent terminal does not store with described data cached corresponding concordance list, determine that not storing the data cached of concordance list meets default deletion condition, does not store the data cached of concordance list described in deletion; When described intelligent terminal stores with described data cached corresponding concordance list, determine that storing the data cached of concordance list does not meet default deletion condition, the described data cached continuation storing concordance list is retained, or whether what store concordance list described in judging data cachedly meets that other are pre-conditioned, to determine whether to need described data cached the continuations reservation storing concordance list.To judge in intelligent terminal the concordance list whether memory buffers data are corresponding, when the concordance list that non-memory buffers data are corresponding, described in deletion, do not store the data cached of concordance list.Realization selectively, is reasonably deleted data cached, saves spatial cache, and then improves the performance of system.

Be understandable that, in intelligent terminal during the concordance list of memory buffers data, the 3rd Preset Time whether can be greater than further by storing the data cached of concordance list described in judgement, and/or store the data cached of concordance list and whether collected described in judging, and/or store the data cached whether accessed of concordance list described in judging, and/or whether the data cached storage time storing concordance list described in judging is greater than the first Preset Time etc., come will to meet the data cached deletion of above-mentioned default deletion condition more selectively.Also can be intelligent terminal store data cached by collection time, judge whether store in described intelligent terminal and described data cached corresponding concordance list, valid cache data to be retained further.Detailed process, as above-described embodiment, does not repeat them here.While by user's expection or the data cached preservation that needs, delete that some are unnecessary data cached, to save storage space, and then improve the performance of system.

In other embodiments of the present invention, the process realizing data cached cleaning also can be: when receiving data cached delete instruction, travel through data cached, according to data cached title, get the concordance list corresponding with described data cached title stored in described intelligent terminal; Find out according to the concordance list got described data cached, judge described data cachedly whether to be collected; Described data cached by collection time, retain described data cached; Described data cached by collection time, judge described data cached be whether the data cached of issue before a week; Described data cached be before one week issue data cached time, delete described data cached; Described data cached be not issued before one week data cached time, judge described data cached whether accessed; Described data cached accessed time, delete described data cached; Described data cached not accessed time, retain described data cached.

The executive agent of the method that the cleaning of the above-mentioned first to the 6th embodiment is data cached can be all mobile terminal (such as, smart mobile phone, panel computer etc.).

Further, propose that the present invention is a kind of clears up data cached device.With reference to Fig. 8, the data cached device of this cleaning comprises:

Judge module 10, for when receiving data cached delete instruction, judge to store in intelligent terminal data cached whether meet preset deletion condition, described default deletion condition comprises data cached collecting state, data cached Access status, data cached storage time, data cached concordance list state;

User is at use intelligent terminal and other users carry out information interaction or from network during obtaining information, will be produced some data cached in intelligent terminal, also can store data cached concordance list at intelligent terminal, this concordance list can comprise the information such as data cached issuing time, data cached title, data cached memory location simultaneously.Along with the quantity of information of interactive information and/or acquisition increases, also will produce a large amount of data cached in intelligent terminal, need timing to data cachedly clearing up of storing in intelligent terminal.The triggering of data cached delete instruction can be that user passes through the data cached delete button clicked on intelligent terminal or the deletion option clicked in data cached menu, triggers data cached delete instruction; Also can be intelligent terminal after certain interval of time (1 day, a week), automatically trigger data cached deletion.Described data cached delete instruction comprises whole delete instruction and part delete instruction.When user need to intelligent terminal store data cached clear up time, click part deletes data cached button or the part clicked in data cached menu deletes option, enter data cached deletion interface, judge module 10 judge to store in intelligent terminal data cached whether meet preset deletion condition, namely travel through store in intelligent terminal data cached, therefrom find out to meet and preset the data cached of deletion condition.Such as, as shown in Figure 2 a, when user clicks part delete button, data cached deletion interface as shown in Figure 2 b will be there is, this data cached deletion interface comprise return, suspend, continue, stop button, carry out control operation for user to data cached delete procedure, user can control data cached delete procedure by click time-out, continuation, stop button, also can be back to main interface by clicking return push-button.This data cached deletion interface also can also comprise the data cached information table of storage, this data cached information table comprises data cached ID, data cached storage time, data cached Access status, the information such as data cached collecting state, the progress of data cached deletion is known for user, wherein, the ture on access hurdle represents that data cached Access status is accessed, data cached not accessed state representation is False, the ture on collection hurdle represents that data cached collecting state is for be collected, data cached is not False by the state representation of collecting.Described default deletion condition comprises data cached collecting state, data cached Access status, data cached storage time, data cached concordance list state.

Buffer process module 20, for described data cached meet preset deletion condition time, will meet and preset the data cached deletion of deletion condition;

When described data cached satisfied default deletion condition, the data cached reservation presetting deletion condition will do not met.

Judge module 10 judge to store in intelligent terminal data cached whether meet preset deletion condition, from described data cached find out to meet and preset deletion condition data cached, and will the data cached deletion presetting deletion condition be met by buffer process module 20.Such as, will access but the data cached deletion of not collecting, or will to issue before one week but not by the data cached deletion etc. of collecting.

Judge module 10 judge to store in intelligent terminal data cached whether meet preset deletion condition and data cachedly can carry out pre-conditioned detection to what store one by one by data cached concordance list, therefrom determine to meet and preset the data cached of deletion condition, and found the data cached memory location meeting and preset deletion condition according to concordance list by buffer process module 20, and the data cached deletion presetting deletion condition will be met; Do not meet the data cached continuation presetting deletion condition to retain.

Be understandable that, described buffer process module 20 also for: described data cached meet preset deletion condition time, by meet preset the data cached mode with list of deletion condition point out user which data cached will be deleted, and user can be pointed out whether to confirm these to meet the data cached deletion presetting deletion condition simultaneously, after receiving the confirmation of user, these are met and presets the data cached of deletion condition; Also can also be, buffer process module 20 provides an Option Box to each satisfied default the data cached of deletion condition, for user from meet preset deletion condition data cached, select to need the data cached of deletion, and when receiving user and determining to delete data cached instruction, from meet preset deletion condition data cached, the part that is easily selected by a user is deleted.Such as, with reference to figure 2c, in data cached deletion interface display one data cached list to be deleted, and provide in the list and entirely select frame and part choice box, select to meet according to oneself expection or need data cached whole deletion of presetting deletion condition for user or part is deleted.When user clicks confirmation delete button, the data cached deletion that user is chosen.

Further, data cached deleted in order to allow user which is clearly understood, and/or data cachedly whether successfully to be deleted, after by the data cached deletion of satisfied default deletion condition, described buffer process module 20 also for: provide one to delete data cached list (comprise and delete data cached ID, storage time, collecting state etc.), with point out user which data cachedly successfully to be deleted.

The embodiment of the present invention by the data cached judgement carrying out default deletion condition to storage, and will meet the data cached deletion presetting deletion condition, realize clearing up data cached selectively, reasonably.While valid cache data store by guarantee, avoid again storing the data cached problem bringing memory space inadequate in a large number, save storage space, and then improve the performance of system.

Further, when described default deletion condition is data cached collecting state,

Described judge module 10 also for: whether what judge to store in intelligent terminal is data cachedly collected;

Described buffer process module 20 also for: described data cached by collection time, not data cached by what collect described in deletion;

Described data cached by collection time, retain described data cached by what collect.

Intelligent terminal store data cached in, judge module 10 judges each data cached collecting state one by one, judge whether each data cached collecting state is collected, namely judge user the need of or expect again access intelligent terminal store data cached.Described data cached by collection time, judge module 10 determine described by collect data cached meet preset deletion condition, buffer process module 20 retains described data cached by what collect; Described data cached by collection time, buffer process module 20 by described not by the data cached deletion of collecting, or do not met other default deletion conditions by data cached the judging whether further of collecting to described, to determine whether described not by the data cached deletion of collecting.By data cachedly whether being collected of judging that intelligent terminal stores, with by described by the data cached reservation of collecting, realize selectively retaining store in intelligent terminal data cached.Save spatial cache, and then improve the performance of system.

Further, described judge module 10 also for: whether what judge to store in intelligent terminal is data cachedly collected;

Described data cached by collection time, judge described data cached whether accessed in the first Preset Time by what collect;

Described buffer process module 20 also for: by collect data cached not accessed in the first Preset Time time, not accessed data cached described in deletion;

By collect data cached accessed in the first Preset Time time, retain described accessed data cached.

Pre-set the first Preset Time, described first Preset Time is 10 days, 15 days constant durations.Described data cached by collection time, according to the first Preset Time pre-set, judge module 10 judges described by each the data cached Access status in the first Preset Time collected, namely, whether accessed, described by collect data cached not accessed in the first Preset Time time, described in determining not accessed data cached meet preset deletion condition, buffer process module 20 delete described in not accessed data cached.Described by collect data cached accessed in the first Preset Time time, by described by collect data cached in, data cached reservation accessed in the first Preset Time, or judge whether described accessed data meet other default deletion conditions, to determine whether that data accessed described in this retain further further.Described data cached accessed can comprising data cachedly viewedly, data cached to be shared, to be data cachedly forwarded, to be commented on etc. data cached.Data cached whether accessed in the first Preset Time by what collect by judging, by collect data cached not accessed in the first Preset Time time, by not accessed data cached deletion.Realize selectively by data cached deletion of intelligent terminal storage.Save the spatial cache of mobile terminal, improve the performance of mobile terminal system.

Further, described judge module 10 also for: whether what judge to store in intelligent terminal is data cachedly collected;

Described data cached by collection time, judge describedly whether exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected;

Described buffer process module 20 also for: when not exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected, deleting described accessed number of times and not exceeding the data cached of predetermined threshold value;

When being exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected, retaining described accessed number of times and exceeding the data cached of predetermined threshold value.

Pre-set the second Preset Time, described second Preset Time can be 30 days, 45 days constant durations.Preset a threshold value, this predetermined threshold value can be 2 times, 3 inferior access times.Described data cached by collection time, according to the second Preset Time pre-set and predetermined threshold value, judge module 10 judges describedly whether exceeded predetermined threshold value by the data cached access times within the second time of collecting, described be less than or equal to predetermined threshold value by the data cached number of times accessed in the second Preset Time collected time, judge that described accessed number of times is less than or equal to the data cached of predetermined threshold value and meets default deletion condition, described accessed number of times is less than or equal to the data cached deletion of predetermined threshold value by buffer process module 20.Described be greater than predetermined threshold value by the data cached number of times accessed in the second Preset Time collected time, described accessed number of times is greater than the data cached reservation of pre-set threshold value, or judge that described accessed number of times is greater than the data cached of pre-set threshold value and whether meets other default deletion conditions, to determine that described accessed number of times is greater than data cached whether this reservation of pre-set threshold value.By judging describedly whether exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected; Described do not exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected time, delete number of times accessed in the second Preset Time and do not exceed the data cached of predetermined threshold value.Realize selectively, reasonably deleting in intelligent terminal store data cached, save the spatial cache of mobile terminal, improve the performance of mobile terminal system.

Further, when described default deletion condition is data cached storage time, described judge module 10 also for: judge whether be greater than the 3rd Preset Time storage time data cached in intelligent terminal;

Described buffer process module 20 also for: when being greater than the 3rd Preset Time described data cached storage time, deleting and being greater than the data cached of the 3rd Preset Time described storage time;

When being less than or equal to the 3rd Preset Time described data cached storage time, retaining and being less than or equal to the data cached of the 3rd Preset Time described storage time.

Each data cached storage time in real-time update intelligent terminal, that is, according to data cached issuing time and current time, calculate data cached storage time, and data cached storage time is upgraded.Pre-set the 3rd Preset Time, described 3rd Preset Time is a week, two weeks constant duration.When user clicks data cached part delete instruction, judge module 10 is according to the 3rd Preset Time pre-set, judge whether the data cached storage time stored in intelligent terminal is greater than the 3rd Preset Time one by one, when being greater than the 3rd Preset Time described data cached storage time, judge described data cached satisfied default deletion condition, storage time is greater than the data cached deletion of the 3rd Preset Time by buffer process module 20; When having be less than or equal to the 3rd Preset Time data cached storage time, the determining storage time is less than or equal to the data cached of the 3rd Preset Time and does not meet default deletion condition, storage time is less than or equal to the data cached reservation of the 3rd Preset Time by buffer process module 20, or judge whether meet other default deletion condition, to determine to be less than or equal to the data cached the need of being retained of the 3rd Preset Time storage time if being less than or equal to the data cached of the 3rd Preset Time storage time further.When carrying out data cached deletion, when storage time data cached in intelligent terminal is greater than the 3rd Preset Time, is greater than the data cached deletion of the 3rd Preset Time storage time.And then realize selectively deleting the data cached of intelligent terminal storage, save spatial cache, improve the performance of system.

Be understandable that, storage time data cached in intelligent terminal is when being greater than the 3rd Preset Time, can judge further by judge module 10 the data cached collecting state being greater than the 3rd Preset Time storage time, carrying out the determining storage time is greater than the data cached the need of reservation of the 3rd Preset Time.Storage time be greater than the 3rd Preset Time data cached by collection time, buffer process module 20 is by by data cached the continuations reservation of collecting; Storage time be greater than the first Preset Time data cached by collection time, buffer process module 20 is by by the data cached deletion of collecting.Realize selectively retaining the data cached of intelligent terminal storage, without the need to again to identical data cached download when accessing next time for user, improve Consumer's Experience.

Further, described judge module 10 also for: when being less than or equal to the 3rd Preset Time described data cached storage time, judge described data cached whether accessed;

Described buffer process module 20 also for: when being less than or equal to the 3rd Preset Time data cached accessed storage time, delete described accessed data cached;

When being less than or equal to the 3rd Preset Time data cached not accessed storage time, retain described accessed data cached.

Data cached storage time in intelligent terminal, when being less than or equal to the 3rd Preset Time, whether judge module 10 judged described data cached accessed in the 3rd Preset Time.Described data cached accessed in the 3rd Preset Time time, judge described accessed data cached meet preset deletion condition, buffer process module 20 is deleted accessed data cached; Described data cached when the 3rd Preset Time is not accessed, judge in the 3rd Preset Time not accessed data cached do not meet preset deletion condition, not accessed data cached described in buffer process module 20 retains.When being less than or equal to the 3rd Preset Time by storage time data cached in intelligent terminal, judge to be less than or equal to the data cached whether accessed of the 3rd Preset Time storage time further, and by accessed data cached deletion.While ensureing data cached reservation user expected, more effectively by some unnecessary data cached deletions, save spatial cache, improve the performance of system.

Be understandable that, when in intelligent terminal, storage time is less than or equal to the 3rd Preset Time data cached accessed, described accessed data cachedly whether to be collected can be judged further by judge module 10, judge described accessed data cached the need of deletion, described accessed data cached by collection time, buffer process module 20 by described not by the data cached deletion of collecting; Described accessed data cached by collection time, by described by data cached the continuations reservation of collecting.Also can be intelligent terminal store data cached by collection time, judge module 10 just judges whether described data cached storage time is greater than the 3rd Preset Time, valid cache data to be retained further.Detailed process is described above, no longer burden.Realizing, at saving storage space, while improving system performance, selectively, reasonably retaining data cached further, without the need to again downloading same buffered data when making user access next time, improving Consumer's Experience.

Further, when described default deletion condition is data cached concordance list state, described judge module 10 also for: according to data cached title, judge whether store in described intelligent terminal and described data cached corresponding concordance list;

Described buffer process module 20 also for: when not storing in described intelligent terminal with described data cached corresponding concordance list, described in deletion, do not store the data cached of concordance list;

When storing with described data cached corresponding concordance list in described intelligent terminal, retain the data cached of described storage concordance list.

Prestore concordance list data cached in intelligent terminal, each concordance list comprises data cached title, data cached memory location.Such as, concordance list is: data cached ID+F (data cached URL).Wherein, data cached ID is data cached ID, and data cached URL is data cached memory location, and F function is a kind of obtaining value method, for getting the HashCode (cryptographic hash) of data cached URL.That is, data cachedly arrange a different title for each, in order to each data cachedly to be distinguished, this data cached title has a concordance list mapped simultaneously.When user is by clicking data cached part delete button, when triggering data cached delete instruction, judge module 10 judges whether store in intelligent terminal and described data cached corresponding concordance list, namely according to data cached title, traversal buffer memory number, namely find corresponding data cached ID according to the title got, according to the ID got, in intelligent terminal, whether can find out the concordance list corresponding with the ID got.When described intelligent terminal does not store with described data cached corresponding concordance list, determine not store concordance list data cached meet preset deletion condition, buffer process module 20 delete described in do not store the data cached of concordance list; When described intelligent terminal stores with described data cached corresponding concordance list, determine that storing the data cached of concordance list does not meet default deletion condition, the described data cached continuation storing concordance list is retained, or whether what store concordance list described in judging data cachedly meets that other are pre-conditioned, to determine whether to need described data cached the continuations reservation storing concordance list.To judge in intelligent terminal the concordance list whether memory buffers data are corresponding, when the concordance list that non-memory buffers data are corresponding, described in deletion, do not store the data cached of concordance list.Realization selectively, is reasonably deleted data cached, saves spatial cache, and then improves the performance of system.

Be understandable that, in intelligent terminal, the concordance list of memory buffers data constantly, store the data cached of concordance list described in can judging further by judge module 10 and whether be greater than the 3rd Preset Time, and/or store the data cached of concordance list and whether collected described in judging, and/or store the data cached whether accessed of concordance list described in judging, and/or whether the data cached storage time storing concordance list described in judging is greater than the first Preset Time etc., come will to meet the data cached deletion of above-mentioned default deletion condition more selectively.Also can be intelligent terminal store data cached by collection time, judge whether store in described intelligent terminal and described data cached corresponding concordance list, valid cache data to be retained further.Detailed process, as above-described embodiment, does not repeat them here.While by user's expection or the data cached preservation that needs, delete that some are unnecessary data cached, to save storage space, and then improve the performance of system.

In other embodiments of the present invention, the process realizing data cached cleaning also can be: buffer process module 20 is when receiving data cached delete instruction, travel through data cached, according to data cached title, get the concordance list corresponding with described data cached title stored in described intelligent terminal; Find out described data cached according to the concordance list got, judge module 10 judges described data cachedly whether to be collected; Described data cached by collection time, buffer process module 20 retains described data cached; Described data cached by collection time, judge module 10 judge described data cached be whether the data cached of issue before a week; Described data cached be before one week issue data cached time, buffer process module 20 is deleted described data cached; Described data cached be not issued before one week data cached time, whether judge module 10 judges described data cached accessed; Described data cached accessed time, buffer process module 20 is deleted described data cached; Described data cached not accessed time, buffer process module 20 retains described data cached.

As shown in Figure 9, Fig. 9 is the total line chart clearing up data cached device place terminal in the embodiment of the present invention.This terminal can comprise: at least one processor 301, such as CPU, at least one network interface 304, user interface 303, storer 305, at least one communication bus 302.Wherein, communication bus 302 is for realizing the connection communication between these assemblies.Wherein, user interface 303 can comprise display screen (Display), keyboard (Keyboard), can also comprise the wireline interface of standard, wave point.Network interface 304 can comprise wireline interface, the wave point (as WIFI interface) of standard.Storer 305 can be high-speed RAM storer, also can be non-labile storer (non-volatilememory), such as at least one magnetic disk memory.Storer 305 can also be that at least one is positioned at the memory storage away from aforementioned processor 301.As can comprising operating system, network communication module, Subscriber Interface Module SIM in a kind of storer 305 of computer-readable storage medium and clearing up data cached program.

Cleaning shown in Fig. 9 data cached device institute in the terminal, network interface 304 is mainly used in connection server, carries out data communication with server; And user interface 303 is mainly used in receiving user instruction, and carry out alternately with user; And processor 301 may be used for calling the data cached program of cleaning stored in storer 305, and perform following operation:

The data cached delete instruction that user sends is received by user interface 303, user interface 303 receive user by click delete instruction button or send network interface time, judge to store in intelligent terminal data cached whether meet preset deletion condition, described default deletion condition comprises data cached collecting state, data cached Access status, data cached storage time, data cached concordance list state; When described data cached satisfied default deletion condition, the data cached deletion presetting deletion condition will be met; When described data cached satisfied default deletion condition, the data cached reservation presetting deletion condition will do not met.

In one embodiment, when described default deletion condition is data cached collecting state, processor 301 calls the data cached program of cleaning stored in storer 305 can also perform following operation:

Whether what judge to store in intelligent terminal is data cachedly collected; Described data cached by collection time, not data cached by what collect described in deletion; Described data cached by collection time, retain described data cached by what collect.

In one embodiment, when described default deletion condition is data cached collecting state, processor 301 calls the data cached program of cleaning stored in storer 305 can also perform following operation:

Whether what judge to store in intelligent terminal is data cachedly collected; Described data cached by collection time, judge described data cached whether accessed in the first Preset Time by what collect; By collect data cached not accessed in the first Preset Time time, not accessed data cached described in deletion; By collect data cached accessed in the first Preset Time time, retain described accessed data cached.

In one embodiment, when described default deletion condition is data cached collecting state, processor 301 calls the data cached program of cleaning stored in storer 305 can also perform following operation:

Whether what judge to store in intelligent terminal is data cachedly collected; Described data cached by collection time, judge describedly whether exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected; When not exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected, deleting described accessed number of times and not exceeding the data cached of predetermined threshold value; When being exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected, retaining described accessed number of times and exceeding the data cached of predetermined threshold value.

In one embodiment, when described default deletion condition is data cached storage time, processor 301 calls the data cached program of cleaning stored in storer 305 can also perform following operation:

Judge whether be greater than the 3rd Preset Time storage time data cached in intelligent terminal; When being greater than the 3rd Preset Time described data cached storage time, deleting and being greater than the data cached of the 3rd Preset Time described storage time; When being less than or equal to the 3rd Preset Time described data cached storage time, retaining and being less than or equal to the data cached of the 3rd Preset Time described storage time.

In one embodiment, processor 301 calls the data cached program of cleaning stored in storer 305 and can also perform following operation:

When being less than or equal to the 3rd Preset Time described data cached storage time, judge described data cached whether accessed; Described data cached accessed time, delete described accessed data cached; When being less than or equal to the 3rd Preset Time data cached not accessed storage time, retain described accessed data cached.

In one embodiment, when the concordance list state that described default deletion condition is not data cached, processor 301 calls the data cached program of cleaning stored in storer 305 can also perform following operation:

According to data cached title, judge whether store in described intelligent terminal and described data cached corresponding concordance list; When not storing in described intelligent terminal with described data cached corresponding concordance list, described in deletion, do not store the data cached of concordance list; When storing with described data cached corresponding concordance list in described intelligent terminal, retain the data cached of described storage concordance list.

In one embodiment, when the concordance list state that described default deletion condition is not data cached, processor 301 calls the data cached program of cleaning stored in storer 305 can also perform following operation:

When receiving data cached delete instruction, traveling through data cached, according to data cached title, getting the concordance list corresponding with described data cached title stored in described intelligent terminal; Find out according to the concordance list got described data cached, judge described data cachedly whether to be collected; Described data cached by collection time, retain described data cached; Described data cached by collection time, judge described data cached be whether the data cached of issue before a week; Described data cached be before one week issue data cached time, delete described data cached; Described data cached be not issued before one week data cached time, judge described data cached whether accessed; Described data cached accessed time, delete described data cached; Described data cached not accessed time, retain described data cached.

The device place terminal that cleaning described by the present embodiment Fig. 9 is data cached, judges whether the data cached of storage meets default deletion condition, and will meet the data cached deletion presetting deletion condition.The unnecessary data cached deletion selectively, reasonably will stored, while the effective data cached preservation of guarantee, saves storage space, improves the performance of system.

It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.

The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.

Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, or the network equipment etc.) perform method described in each embodiment of the present invention.

The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (14)

1. the method that cleaning is data cached, it is characterized in that, the method comprising the steps of:
When receiving data cached delete instruction, judge to store in intelligent terminal data cached whether meet preset deletion condition, described default deletion condition comprises data cached collecting state, data cached Access status, data cached storage time, data cached concordance list state;
When described data cached satisfied default deletion condition, the data cached deletion presetting deletion condition will be met;
When described data cached satisfied default deletion condition, the data cached reservation presetting deletion condition will do not met.
2. the method that cleaning as claimed in claim 1 is data cached, it is characterized in that, when described default deletion condition is data cached collecting state, when described data cached satisfied default deletion condition, the data cached deletion presetting deletion condition will be met, when described data cached satisfied default deletion condition, the step not meeting the data cached reservation presetting deletion condition is comprised:
Described data cached by collection time, not data cached by what collect described in deletion;
Described data cached by collection time, retain described data cached by what collect.
3. the method that cleaning as claimed in claim 1 is data cached, it is characterized in that, when described default deletion condition is data cached collecting state, when described data cached satisfied default deletion condition, the data cached deletion presetting deletion condition will be met, when described data cached satisfied default deletion condition, the step not meeting the data cached reservation presetting deletion condition is comprised:
Described data cached by collection time, judge described data cached whether accessed in the first Preset Time by what collect;
By collect data cached not accessed in the first Preset Time time, not accessed data cached described in deletion;
By collect data cached accessed in the first Preset Time time, retain described accessed data cached.
4. the method that cleaning as claimed in claim 1 is data cached, it is characterized in that, when described default deletion condition is data cached collecting state, when described data cached satisfied default deletion condition, the data cached deletion presetting deletion condition will be met, when described data cached satisfied default deletion condition, the step not meeting the data cached reservation presetting deletion condition is comprised:
Described data cached by collection time, judge describedly whether exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected;
When not exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected, deleting described accessed number of times and not exceeding the data cached of predetermined threshold value;
When being exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected, retaining described accessed number of times and exceeding the data cached of predetermined threshold value.
5. the method that cleaning as claimed in claim 1 is data cached, it is characterized in that, when described default deletion condition is data cached storage time, described judge to store in intelligent terminal data cached whether meet preset deletion condition, when described data cached satisfied default deletion condition, to the data cached deletion presetting deletion condition be met, when described data cached satisfied default deletion condition, the step not meeting the data cached reservation presetting deletion condition be comprised:
Judge whether be greater than the 3rd Preset Time storage time data cached in intelligent terminal;
When being greater than the 3rd Preset Time described data cached storage time, deleting and being greater than the data cached of the 3rd Preset Time described storage time;
When being less than or equal to the 3rd Preset Time described data cached storage time, retaining and being less than or equal to the data cached of the 3rd Preset Time described storage time.
6. the method that cleaning as claimed in claim 5 is data cached, is characterized in that, described judge whether to be greater than storage time data cached in intelligent terminal the step of the 3rd Preset Time after, the method also comprises step:
When being less than or equal to the 3rd Preset Time described data cached storage time, judge described data cached whether accessed;
Described data cached accessed time, delete described accessed data cached;
Described data cached not accessed time, not accessed data cached described in reservation.
7. the method that cleaning as claimed in claim 1 is data cached, it is characterized in that, when described default deletion condition is data cached concordance list state, described judge to store in intelligent terminal data cached whether meet preset deletion condition, when described data cached satisfied default deletion condition, to the data cached deletion presetting deletion condition be met, when described data cached satisfied default deletion condition, the step not meeting the data cached reservation presetting deletion condition be comprised:
According to data cached title, judge whether store in described intelligent terminal and described data cached corresponding concordance list;
When not storing in described intelligent terminal with described data cached corresponding concordance list, described in deletion, do not store the data cached of concordance list;
When storing with described data cached corresponding concordance list in described intelligent terminal, retain the data cached of described storage concordance list.
8. the device that cleaning is data cached, it is characterized in that, this device comprises:
Judge module, for when receiving data cached delete instruction, judge to store in intelligent terminal data cached whether meet preset deletion condition, described default deletion condition comprises data cached collecting state, data cached Access status, data cached storage time, data cached concordance list state;
Buffer process module, for described data cached meet preset deletion condition time, will meet and preset the data cached deletion of deletion condition;
When described data cached satisfied default deletion condition, the data cached reservation presetting deletion condition will do not met.
9. the device that cleaning as claimed in claim 8 is data cached, is characterized in that, when described default deletion condition is data cached collecting state,
Described buffer process module, also for described data cached by collection time, not data cached by what collect described in deletion;
Described data cached by collection time, retain described data cached by what collect.
10. the device that cleaning as claimed in claim 8 is data cached, is characterized in that, when described default deletion condition is data cached collecting state,
Described judge module, also for described data cached by collection time, judge data cached whether accessed in the first Preset Time by what collect;
Described buffer process module, also for by collect data cached not accessed in the first Preset Time time, not accessed data cached described in deletion;
By collect data cached accessed in the first Preset Time time, retain described accessed data cached.
11. devices that cleaning is data cached as claimed in claim 8, is characterized in that, when described default deletion condition is data cached collecting state,
Described judge module, also for described data cached by collection time, judge describedly whether exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected;
Described buffer process module, also for when not exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected, deleting described accessed number of times and not exceeding the data cached of predetermined threshold value;
When being exceeded predetermined threshold value by the data cached number of times accessed in the second Preset Time collected, retaining described accessed number of times and exceeding the data cached of predetermined threshold value.
12. devices that cleaning is data cached as claimed in claim 8, is characterized in that, when described default deletion condition is data cached storage time,
Whether described judge module, be also greater than the 3rd Preset Time storage time data cached in intelligent terminal for judging;
Described buffer process module, also for when being greater than the 3rd Preset Time described data cached storage time, deleting and being greater than the data cached of the 3rd Preset Time described storage time;
When being less than or equal to the 3rd Preset Time described data cached storage time, retaining and being less than or equal to the data cached of the 3rd Preset Time described storage time.
13. devices that cleaning is data cached as claimed in claim 12, is characterized in that,
Whether described judge module, also for when being less than or equal to the 3rd Preset Time described data cached storage time, judge described data cached accessed;
Described buffer process module, also for described data cached accessed time, delete described accessed data cached;
Described data cached not accessed time, not accessed data cached described in reservation.
14. devices that cleaning is data cached as claimed in claim 8, is characterized in that, when described default deletion condition is data cached concordance list state,
Described judge module, also for according to data cached title, judges whether store in described intelligent terminal and described data cached corresponding concordance list;
Described buffer process module, time also for not storing in described intelligent terminal with described data cached corresponding concordance list, does not store the data cached of concordance list described in deletion;
When storing with described data cached corresponding concordance list in described intelligent terminal, retain the data cached of described storage concordance list.
CN201410185370.7A 2014-05-04 2014-05-04 Clear up data cached method and device CN105095107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410185370.7A CN105095107B (en) 2014-05-04 2014-05-04 Clear up data cached method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410185370.7A CN105095107B (en) 2014-05-04 2014-05-04 Clear up data cached method and device

Publications (2)

Publication Number Publication Date
CN105095107A true CN105095107A (en) 2015-11-25
CN105095107B CN105095107B (en) 2019-07-16

Family

ID=54575597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410185370.7A CN105095107B (en) 2014-05-04 2014-05-04 Clear up data cached method and device

Country Status (1)

Country Link
CN (1) CN105095107B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589926A (en) * 2015-11-27 2016-05-18 深圳市美贝壳科技有限公司 Method for clearing cache files of mobile terminal in real time
CN105718272A (en) * 2016-02-22 2016-06-29 青岛海信移动通信技术股份有限公司 Method for restoring factory settings of terminal and terminal
CN105824902A (en) * 2016-03-14 2016-08-03 乐视网信息技术(北京)股份有限公司 Data caching method and device
CN105849729A (en) * 2016-03-25 2016-08-10 马岩 Date elimination method and system
CN106021129A (en) * 2016-04-29 2016-10-12 努比亚技术有限公司 Terminal and terminal cache clearing method
CN106126708A (en) * 2016-06-30 2016-11-16 乐视控股(北京)有限公司 A kind of method and apparatus of the file deleting terminal storage
CN106293002A (en) * 2016-08-05 2017-01-04 四川长虹通信科技有限公司 A kind of ultimate attainment province electric terminals and electricity saving method thereof
CN106372003A (en) * 2016-09-08 2017-02-01 广东欧珀移动通信有限公司 Method and device for cleaning cache data, and terminal
CN106598880A (en) * 2016-12-16 2017-04-26 深圳市金立通信设备有限公司 Cache management method and terminal
CN107193885A (en) * 2017-04-27 2017-09-22 维沃移动通信有限公司 A kind of data cached management method of music and mobile terminal
CN107301020A (en) * 2017-06-22 2017-10-27 苏州交运电子科技有限公司 Data managing method and managing device
CN107368345A (en) * 2016-05-12 2017-11-21 阿里巴巴集团控股有限公司 The method and device of application data processing
CN108287878A (en) * 2018-01-02 2018-07-17 沈阳东软医疗系统有限公司 A kind of dynamic buffering data failure dispatching method, device and caching system
CN108733489A (en) * 2018-05-11 2018-11-02 五八同城信息技术有限公司 Data processing method, device, electronic equipment and storage medium
CN108833658A (en) * 2018-03-27 2018-11-16 陈迎春 A kind of method and apparatus of data scrubbing
CN109947717A (en) * 2018-01-31 2019-06-28 维沃移动通信有限公司 A kind of document handling method and terminal device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794778A (en) * 2004-11-09 2006-06-28 佳能株式会社 Image processing apparatus and image processing method
CN101170763A (en) * 2006-10-24 2008-04-30 张扬 System and device for user interface of mobile phone browser
CN101576856A (en) * 2009-06-18 2009-11-11 浪潮电子信息产业股份有限公司 Buffer data replacement method based on access frequency within long and short cycle
CN102520947A (en) * 2011-12-09 2012-06-27 中兴通讯股份有限公司 Method and device for automatically removing codes
CN103164501A (en) * 2012-07-04 2013-06-19 北京安天电子设备有限公司 Method and system of rapid file erasure of anti-recovery software
CN103412753A (en) * 2013-08-12 2013-11-27 宇龙计算机通信科技(深圳)有限公司 Image deletion method and device
CN103714137A (en) * 2013-12-19 2014-04-09 大唐移动通信设备有限公司 Method and system for deleting data files

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794778A (en) * 2004-11-09 2006-06-28 佳能株式会社 Image processing apparatus and image processing method
CN101170763A (en) * 2006-10-24 2008-04-30 张扬 System and device for user interface of mobile phone browser
CN101576856A (en) * 2009-06-18 2009-11-11 浪潮电子信息产业股份有限公司 Buffer data replacement method based on access frequency within long and short cycle
CN102520947A (en) * 2011-12-09 2012-06-27 中兴通讯股份有限公司 Method and device for automatically removing codes
CN103164501A (en) * 2012-07-04 2013-06-19 北京安天电子设备有限公司 Method and system of rapid file erasure of anti-recovery software
CN103412753A (en) * 2013-08-12 2013-11-27 宇龙计算机通信科技(深圳)有限公司 Image deletion method and device
CN103714137A (en) * 2013-12-19 2014-04-09 大唐移动通信设备有限公司 Method and system for deleting data files

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589926A (en) * 2015-11-27 2016-05-18 深圳市美贝壳科技有限公司 Method for clearing cache files of mobile terminal in real time
CN105718272A (en) * 2016-02-22 2016-06-29 青岛海信移动通信技术股份有限公司 Method for restoring factory settings of terminal and terminal
CN105824902A (en) * 2016-03-14 2016-08-03 乐视网信息技术(北京)股份有限公司 Data caching method and device
CN105849729A (en) * 2016-03-25 2016-08-10 马岩 Date elimination method and system
CN106021129A (en) * 2016-04-29 2016-10-12 努比亚技术有限公司 Terminal and terminal cache clearing method
CN106021129B (en) * 2016-04-29 2018-11-16 努比亚技术有限公司 A kind of method of terminal and terminal cleaning caching
CN107368345A (en) * 2016-05-12 2017-11-21 阿里巴巴集团控股有限公司 The method and device of application data processing
CN106126708A (en) * 2016-06-30 2016-11-16 乐视控股(北京)有限公司 A kind of method and apparatus of the file deleting terminal storage
CN106293002A (en) * 2016-08-05 2017-01-04 四川长虹通信科技有限公司 A kind of ultimate attainment province electric terminals and electricity saving method thereof
CN106372003A (en) * 2016-09-08 2017-02-01 广东欧珀移动通信有限公司 Method and device for cleaning cache data, and terminal
CN106372003B (en) * 2016-09-08 2020-01-10 Oppo广东移动通信有限公司 Cache data cleaning method and device and terminal
CN106598880A (en) * 2016-12-16 2017-04-26 深圳市金立通信设备有限公司 Cache management method and terminal
CN107193885A (en) * 2017-04-27 2017-09-22 维沃移动通信有限公司 A kind of data cached management method of music and mobile terminal
CN107301020A (en) * 2017-06-22 2017-10-27 苏州交运电子科技有限公司 Data managing method and managing device
CN108287878A (en) * 2018-01-02 2018-07-17 沈阳东软医疗系统有限公司 A kind of dynamic buffering data failure dispatching method, device and caching system
CN109947717A (en) * 2018-01-31 2019-06-28 维沃移动通信有限公司 A kind of document handling method and terminal device
CN108833658A (en) * 2018-03-27 2018-11-16 陈迎春 A kind of method and apparatus of data scrubbing
CN108733489A (en) * 2018-05-11 2018-11-02 五八同城信息技术有限公司 Data processing method, device, electronic equipment and storage medium

Also Published As

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

Similar Documents

Publication Publication Date Title
US9870426B2 (en) Managing information associated with network resources
US20190014184A1 (en) System and method for tracking browsing activity
CN104169856B (en) Side menu display method, device and terminal
RU2577193C2 (en) Web page search and browsing enhanced by cloud computing
US8914736B2 (en) On-page manipulation and real-time replacement of content
US8839087B1 (en) Remote browsing and searching
JP5805616B2 (en) Apparatus and method for searching / downloading content in a communication device
CN104113787B (en) Based on the comment method of program, terminal, server and system
US9063912B2 (en) Multimedia content preview rendering in a cloud content management system
US20160110059A1 (en) Method and apparatus for managing notification bar message
US8949739B2 (en) Creating and maintaining images of browsed documents
JP6442076B2 (en) Dialogue method, terminal and server based on recommended content
US20190220318A1 (en) Memory Reclamation Method and Apparatus
CN108647088A (en) Resource allocation method, device, terminal and storage medium
US20130167072A1 (en) Smart and Flexible Layout Context Manager
CN106105160B (en) Prefetch the application data for disconnecting the period
CN104809198A (en) Picture cleanup method, picture cleanup device and terminal device
US20140052791A1 (en) Task Based Filtering of Unwanted Electronic Communications
CN103412753A (en) Image deletion method and device
CN103617165A (en) Picture loading method, device and terminal
CN104811787A (en) Game video recording method and game video recording device
CN104462264A (en) Method and device for clearing junk files in operating system
CN102521020A (en) Application screen capture method and application screen capture device for mobile terminals
JP5011290B2 (en) Computer remote control method and system optimized for low-speed network and low-speed personal communication terminal
WO2012059400A1 (en) Application recommendation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant