CN106649507A - Picture clearing system and method - Google Patents
Picture clearing system and method Download PDFInfo
- Publication number
- CN106649507A CN106649507A CN201610890259.7A CN201610890259A CN106649507A CN 106649507 A CN106649507 A CN 106649507A CN 201610890259 A CN201610890259 A CN 201610890259A CN 106649507 A CN106649507 A CN 106649507A
- Authority
- CN
- China
- Prior art keywords
- picture
- validity
- period
- module
- days
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1727—Details of free space management performed by the file system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1737—Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0608—Saving storage space on storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0652—Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a picture clearing system and method. The system comprises a picture acquisition module, a picture period setting module, a picture library module, a judgment module and a clearing module; the picture acquisition module is used for acquiring a picture; the picture period setting module is connected to the picture acquisition module and used for setting a valid period of the picture acquired by the picture acquisition module; the picture library module is connected to the picture acquisition module and used for storing the picture acquired by the picture acquisition module; the judgment module is connected to the picture library module and used for judging whether storage time of the picture exceeds the effective period of the picture; the clearing module is connected to the picture library module and the judgment module and used for deleting the picture if the storage time of the picture exceeds the valid period of the picture. Through the picture clearing system and method, the picture can be deleted automatically, the space used by a user is saved, the running speed of a terminal is increased, and time for the user to search for the picture is saved.
Description
Technical field
The invention belongs to picture processing field, more particularly to a kind of picture cleaning system and method.
Background technology
Due to powerful, the personalized operation of intelligent machine, the speed of service is fast the features such as, increasingly by the green grass or young crops of people
Look at.People can be taken pictures using intelligent machine, social or online etc., but as people are got over using the frequency of intelligent machine
It is increasingly longer come the higher, time, if can not clear up intelligent machine in time, it finds that remaining space is got in machine
Come less, and reduced space or deficiency can have a strong impact on the speed of service of intelligent machine in intelligent machine.In intelligent machine, especially scheme
The space that piece takes is big.
The picture produced during intelligent machine use is mainly derived from three aspects:First, social networking application or clear
Look at the picture of web cache;2nd, it is convenient to link up, exchange the screenshot picture for using;The picture generated when the 3rd, being taken pictures using camera.
The method for solving this problem at present is that oneself deletes manually picture.But, in use, user often forgets to delete
Picture, can just remember deletion picture when system prompt insufficient space.
The content of the invention
In order to overcome the deficiencies in the prior art, the invention provides a kind of picture cleaning system and method, the system and
Method can be automatically deleted picture, save the space that user uses, and save the time that user searches picture.
The present invention provide technical scheme be:
In a first aspect, the invention provides a kind of picture cleaning system, including:
Picture acquisition module, it is used to obtain picture;
Picture duration setting module, it is connected to the picture acquisition module, obtains for setting the picture acquisition module
The period of validity of the picture for taking;
Gallery module, it is connected to the picture acquisition module, for storing the figure that the picture acquisition module is obtained
Piece;
Judge module, it is connected to the gallery module, for judging whether the storage time of the picture exceedes institute
State the period of validity of picture;
Cleaning modul, it is connected to the gallery module and the judge module, if for the picture storage when
Between exceed the picture period of validity, then the cleaning modul delete the picture.
Preferably, described picture cleaning system, the picture acquisition module includes:Screen capture module, photo module and
Browser picture module.
Preferably, described picture cleaning system, the picture duration setting module includes choosing module and self-defined
Time limit module, the selection module chooses period of validity for pre-setting as the period of validity of the picture, described self-defined
Time limit module is used for the period of validity that User Defined arranges the picture.
Preferably, described picture cleaning system, the period of validity data storage for pre-setting is in database mould
Block.
Preferably, described picture cleaning system, the period of validity data for pre-setting are divided into two classes:Described section
Module and the corresponding period of validity data of the photo module are:1 day, 3 days, 7 days, 15 days, 30 days or unrestricted;It is described
The corresponding period of validity data of browser picture module are:1 day, 10 days or 30 days.
Second aspect, the invention provides a kind of picture method for cleaning, including:
Obtain picture;
The period of validity of the picture is set;
Store the picture;
Whether the storage time for judging the picture exceedes the period of validity of the picture;
If the storage time of the picture exceedes the period of validity of the picture, the picture is deleted;
If the storage time of the picture is not less than the period of validity of the picture, retain the picture.
Preferably, described picture method for cleaning, the acquisition picture is specifically included:
By sectional drawing, taking pictures or browsing webpage obtains picture.
Preferably, described picture method for cleaning, it is described to be with the period of validity of the picture of acquisition of taking pictures by sectional drawing:
1 day, 3 days, 7 days, 15 days, 30 days or unrestricted;It is described to be by browsing the period of validity of the picture of webpage acquisition:1 day, 10
My god or 30 days.
Preferably, whether described picture method for cleaning, the storage time for judging the picture exceedes the figure
Also include before the period of validity of piece:
Judge whether picture browses the picture of webpage acquisition;
If the picture is the picture for browsing webpage acquisition, continuation judges whether the storage time of the picture exceedes institute
State the period of validity of picture;
If the picture is not the picture for browsing webpage acquisition, judge whether unlimited the period of validity of the picture is
System;
If the period of validity of the picture is unrestricted, retain the picture;
If the period of validity of the picture is not unrestricted, continuation judges whether the storage time of the picture exceedes institute
State the period of validity of picture.
Preferably, described picture method for cleaning, the period of validity of the setting picture specifically includes:By choosing
Take the period of validity of the limited term data or User Defined setting picture for pre-setting.
The present invention at least includes following beneficial effect:Due to being provided with picture duration setting module, can easily to obtaining
The picture for taking carries out period of validity setting, and judge module periodically can be checked the period of validity of picture, when judge module is obtained
When exceeding the period of validity for arranging to the time that picture is stored, the cleaning modul of setting will be automatically deleted to the picture.
The process does not need user oneself to delete picture manually, has so both saved the space that user uses, and the fortune of terminal is improve again
Scanning frequency degree, simultaneously because system-kill some useless pictures, when user searches picture, are also convenient for saving time.
Description of the drawings
Fig. 1 is the structural representation that the picture described in the embodiment of the present invention clears up system;
Fig. 2 is the schematic flow sheet of the picture method for cleaning described in further embodiment of this invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, it is all other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
To make the advantage of technical solution of the present invention clearer, the present invention is made specifically with reference to the accompanying drawings and examples
It is bright.
As shown in figure 1, picture provided in an embodiment of the present invention clears up system, including:Picture acquisition module 10, it is used to obtain
Take picture;Picture duration setting module 20, it is connected to the picture acquisition module 10, for setting the picture acquisition module
The period of validity of the picture of acquisition;Gallery module 30, it is connected to the picture acquisition module 10, for storing the picture
The picture that acquisition module is obtained;Judge module 40, it is connected to the gallery module 30, for judging the storage of the picture
Whether the time exceedes the period of validity of the picture;Cleaning modul 50, it is connected to the gallery module 30 and the judgement
Module 40, if the storage time for the picture exceedes the period of validity of the picture, the cleaning modul deletes the figure
Piece.
Wherein, the picture acquisition module 10 includes:Screen capture module 11, photo module 12 and browser picture module 13.
The picture duration setting module 20 includes choosing module 21 and self-defined time limit module 22, and the selection module 21 is chosen in advance
The period of validity of setting, the self-defined time limit module 22 was for User Defined setting institute as the period of validity of the picture
State the period of validity of picture.The period of validity data for pre-setting are divided into two classes:The screen capture module and the mould of taking pictures
The corresponding period of validity data of block are:1 day, 3 days, 7 days, 15 days, 30 days or unrestricted;The browser picture module correspondence
Period of validity data be:1 day, 10 days or 30 days.
It should be noted that because picture duration setting module is connected with picture acquisition module, so cutting when user uses
During module sectional drawing, allow user that the period of validity of screenshot picture is set when sectional drawing, when reaching period of validity, system can be deleted
Except the screenshot picture;Can allow user that having for the photo that will shoot is set when user uses photo module, starts camera
In the effect time limit, when reaching period of validity, system is automatically deleted picture;For the photo that user browses webpage generation, can be with
The interim valid of website is set, and when reaching period of validity, system is automatically deleted the picture for browsing generation.From
Time limit module is defined, to meet the personal settings of user, user can be configured according to significance level of picture etc., both side
Just hommization again.Judge module regularly can be checked periodically picture, judge whether the time that picture is stored exceedes effectively
Time limit.
Also, it should be noted that the mode for obtaining picture is not limited only to several ways recited above, here is not done specifically
Restriction.
Further, described picture cleaning system, the period of validity data storage for pre-setting is in database mould
Block 60.
Wherein, the period of validity data for pre-setting are also not limited to above-mentioned listed several:The screen capture module 11
It is with the corresponding period of validity data of the photo module 12:1 day, 3 days, 7 days, 15 days, 30 days or unrestricted;It is described to browse
The corresponding period of validity data of device picture module 13 are:1 day, 10 days or 30 days.This period of validity data can be according to reality
Situation is pre-set.
As shown in Fig. 2 the picture method for cleaning that further embodiment of this invention is provided, including:
S10, acquisition picture;
S20, the period of validity that the picture is set;
S30, the storage picture;
S40, judge picture whether browse webpage acquisition picture;
If S41, the picture are the pictures for browsing webpage acquisition, when continuing executing with S50 and judging the storage of the picture
Between whether exceed period of validity of the picture;
If S42, the picture are not the pictures for browsing webpage acquisition, the period of validity for judging the picture is nothing
Limit;
If S43, the period of validity of the picture are unrestricted, retain the picture;
If the period of validity of S44, the picture is not unrestricted, when continuing executing with S50 and judging the storage of the picture
Between whether exceed period of validity of the picture.
S50, judge that whether the storage time of the picture exceedes the period of validity of the picture;
If the storage time of S60, the picture exceedes the period of validity of the picture, the picture is deleted;
If the storage time of S70, the picture retains the picture not less than the period of validity of the picture.
Further, described picture method for cleaning, the acquisition picture is specifically included:
By sectional drawing, taking pictures or browsing webpage obtains picture.
Further, described picture method for cleaning, it is described to be with the period of validity of the picture of acquisition of taking pictures by sectional drawing:
1 day, 3 days, 7 days, 15 days, 30 days or unrestricted;It is described to be by browsing the period of validity of the picture of webpage acquisition:1 day, 10
My god or 30 days.
Further, described picture method for cleaning, the period of validity of the setting picture specifically includes:By choosing
Take the period of validity of the limited term data or User Defined setting picture for pre-setting.
As noted previously, as being provided with picture duration setting module, picture that can be easily to obtaining carries out the term of validity
Limit setting, judge module periodically can be checked the period of validity of picture, when the time that judge module obtains picture storage surpasses
When spending the period of validity for arranging, the cleaning modul of setting will be automatically deleted to the picture.The process does not need user certainly
Oneself deletes manually picture, has so both saved the space that user uses, and the speed of service of terminal is improve again, simultaneously because system
Some useless pictures are deleted, when user searches picture, is also convenient for saving time.
Although embodiment of the present invention is disclosed as above, it is not restricted to listed in specification and embodiment
With, it can be applied to completely various suitable the field of the invention, for those skilled in the art, can be easily
Other modification is realized, therefore under the universal limited without departing substantially from claim and equivalency range, the present invention is not limited
In specific details and shown here as the legend with description.
Claims (10)
1. a kind of picture clears up system, it is characterised in that include:
Picture acquisition module, it is used to obtain picture;
Picture duration setting module, it is connected to the picture acquisition module, for setting what the picture acquisition module was obtained
The period of validity of picture;
Gallery module, it is connected to the picture acquisition module, for storing the picture that the picture acquisition module is obtained;
Judge module, it is connected to the gallery module, for judging whether the storage time of the picture exceedes the figure
The period of validity of piece;
Cleaning modul, it is connected to the gallery module and the judge module, if the storage time for the picture surpasses
The period of validity of the picture is spent, then the cleaning modul deletes the picture.
2. picture as claimed in claim 1 clears up system, it is characterised in that the picture acquisition module includes:Screen capture module,
Photo module and browser picture module.
3. picture as claimed in claim 2 clears up system, it is characterised in that the picture duration setting module includes choosing mould
Block and self-defined time limit module, the selection module chooses period of validity for pre-setting as the period of validity of the picture,
The self-defined time limit module is used for the period of validity that User Defined arranges the picture.
4. picture as claimed in claim 3 clears up system, it is characterised in that the period of validity data storage for pre-setting
In DBM.
5. picture as claimed in claim 4 clears up system, it is characterised in that the period of validity data for pre-setting are divided into
Two classes:The screen capture module and the corresponding period of validity data of the photo module are:1 day, 3 days, 7 days, 15 days, 30 days or
Unrestrictedly;The corresponding period of validity data of the browser picture module are:1 day, 10 days or 30 days.
6. a kind of picture method for cleaning, it is characterised in that include:
Obtain picture;
The period of validity of the picture is set;
Store the picture;
Whether the storage time for judging the picture exceedes the period of validity of the picture;
If the storage time of the picture exceedes the period of validity of the picture, the picture is deleted;
If the storage time of the picture is not less than the period of validity of the picture, retain the picture.
7. picture method for cleaning as claimed in claim 6, it is characterised in that the acquisition picture is specifically included:
By sectional drawing, taking pictures or browsing webpage obtains picture.
8. picture method for cleaning as claimed in claim 7, it is characterised in that described by sectional drawing and the picture of acquisition of taking pictures
Period of validity is:1 day, 3 days, 7 days, 15 days, 30 days or unrestricted;The term of validity by browsing the picture of webpage acquisition
It is limited to:1 day, 10 days or 30 days.
9. picture method for cleaning as claimed in claim 8, it is characterised in that whether the storage time for judging the picture
Also include before period of validity more than the picture:
Judge whether picture browses the picture of webpage acquisition;
If the picture is the picture for browsing webpage acquisition, continuation judges whether the storage time of the picture exceedes the figure
The period of validity of piece;
If the picture is not the picture for browsing webpage acquisition, judge whether unrestricted the period of validity of the picture is;
If the period of validity of the picture is unrestricted, retain the picture;
If the period of validity of the picture is not unrestricted, continuation judges whether the storage time of the picture exceedes the figure
The period of validity of piece.
10. picture method for cleaning as claimed in claim 9, it is characterised in that the period of validity tool of the setting picture
Body includes:By the period of validity for choosing the limited term data or User Defined setting picture for pre-setting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610890259.7A CN106649507A (en) | 2016-10-12 | 2016-10-12 | Picture clearing system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610890259.7A CN106649507A (en) | 2016-10-12 | 2016-10-12 | Picture clearing system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106649507A true CN106649507A (en) | 2017-05-10 |
Family
ID=58855621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610890259.7A Pending CN106649507A (en) | 2016-10-12 | 2016-10-12 | Picture clearing system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106649507A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109949530A (en) * | 2019-03-27 | 2019-06-28 | 钱露露 | A kind of office buildings intelligence intercom system |
CN110099170A (en) * | 2019-04-26 | 2019-08-06 | 维沃移动通信有限公司 | Image deletion method and mobile terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101093506A (en) * | 2006-06-21 | 2007-12-26 | 京瓷美达株式会社 | Image forming apparatus equiped with auxiliary storage having files to be managed |
US20140101588A1 (en) * | 2012-10-08 | 2014-04-10 | Minkyoung Chang | Mobile terminal and method for controlling the same |
CN105808677A (en) * | 2016-03-01 | 2016-07-27 | 北京金山安全软件有限公司 | Picture deleting method and device and electronic equipment |
-
2016
- 2016-10-12 CN CN201610890259.7A patent/CN106649507A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101093506A (en) * | 2006-06-21 | 2007-12-26 | 京瓷美达株式会社 | Image forming apparatus equiped with auxiliary storage having files to be managed |
US20140101588A1 (en) * | 2012-10-08 | 2014-04-10 | Minkyoung Chang | Mobile terminal and method for controlling the same |
CN105808677A (en) * | 2016-03-01 | 2016-07-27 | 北京金山安全软件有限公司 | Picture deleting method and device and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109949530A (en) * | 2019-03-27 | 2019-06-28 | 钱露露 | A kind of office buildings intelligence intercom system |
CN110099170A (en) * | 2019-04-26 | 2019-08-06 | 维沃移动通信有限公司 | Image deletion method and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100543750C (en) | A kind of matrix type data caching method and device of using based on WEB | |
CN104182488B (en) | Searching method, server and client | |
CN103309998B (en) | A kind of message query method and device, terminal device | |
CN104134230B (en) | A kind of image processing method, device and computer equipment | |
CN104021160B (en) | Client data cleaning method and device | |
CN106649507A (en) | Picture clearing system and method | |
CN103186533B (en) | A kind of method and apparatus of uploading pictures in comment or in replying | |
CN103631599B (en) | One kind is taken pictures processing method, system and mobile terminal | |
CN106371785B (en) | A kind of processing method of display pattern, system and terminal | |
CN106909855A (en) | File hiding method and device | |
CN105363201A (en) | Prompt information display method and prompt information display device | |
CN106708496A (en) | Processing method and apparatus for label page in graphic interface | |
CN103778208A (en) | Method for cooperating working directory or document access and system thereof | |
CN105654531A (en) | Method and device for drawing image contour | |
CN105094513A (en) | User avatar setting method and apparatus as well as electronic device | |
CN106919377A (en) | Determine application program displaying interface whether be white screen method and device | |
CN106406747A (en) | Hard disk storage management method and apparatus for mobile terminal | |
CN103324484A (en) | Method and device for displaying view | |
CN105468954A (en) | Intelligent terminal retrieving method and device | |
CN106295359A (en) | The processing method and processing device of application | |
CN104519553A (en) | Access point selection system and method | |
CN106097429A (en) | A kind of image processing method and device | |
CN105787982A (en) | Method and device for manufacturing e-book | |
CN108024014A (en) | A kind of length of one's sleep monitoring method and device based on mobile terminal | |
CN1874241A (en) | Implementation method of electronic bulletin based on browsing event on web |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |