CN106708847A - Screenshot file prompt method and device - Google Patents

Screenshot file prompt method and device Download PDF

Info

Publication number
CN106708847A
CN106708847A CN201510772782.5A CN201510772782A CN106708847A CN 106708847 A CN106708847 A CN 106708847A CN 201510772782 A CN201510772782 A CN 201510772782A CN 106708847 A CN106708847 A CN 106708847A
Authority
CN
China
Prior art keywords
sectional drawing
drawing file
file
scan
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510772782.5A
Other languages
Chinese (zh)
Inventor
钟琳琳
蔡颖星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510772782.5A priority Critical patent/CN106708847A/en
Publication of CN106708847A publication Critical patent/CN106708847A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices

Abstract

The embodiment of the invention discloses a screenshot file prompt method, which comprises the following steps that: obtaining a screenshot file scanning result, wherein the screenshot file scanning result comprises the data size and the screenshot time, which are obtained by scanning, of each screenshot file; according to current system time and the screenshot time of each screenshot file in the screenshot file scanning result, obtaining the screenshot file of which the file saving time exceeds a preset time threshold value; and displaying screenshot file prompt information, wherein the screenshot file prompt information comprises the sum of the data sizes of the screenshot file of which the file saving time exceeds the preset time threshold value. The embodiment of the invention discloses a screenshot file prompt device. When the screenshot file prompt method and device is adopted, the screen shot file with long user storage time can be prompted for users, and the users can be effectively prompted to clean the screenshot file in time.

Description

A kind of sectional drawing file reminding method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of sectional drawing file reminding method and device.
Background technology
User using often using screenshot capture function during mobile terminal, by current sessions interface, Web page browsing interface etc. is preserved or shared to other people by sectional drawing.But it is that typically in mobile terminal and has used one After the section time, the data volume of sectional drawing file will build up on and reach a certain amount, take valuable memory space, sternly The situation of weight can also make reduction system running speed, thus these sectional drawing files do not clear up for a long time will be as dragging The garbage files of slow system.And in the prior art, user can only manually select sectional drawing file in system photograph album Checked or deleted, inefficiency, and be will be unable in a large amount of sectional drawing files under in face of long term accumulation Accomplish to screen one by one whether important sectional drawing, bring very big obstruction to the cleaning work of sectional drawing file.
The content of the invention
Embodiment of the present invention technical problem to be solved is, there is provided a kind of sectional drawing file reminding method and dress Put, the sectional drawing file that user's resting period is more long can be pointed out, effectively prompting user clears up sectional drawing file in time.
In order to solve the above-mentioned technical problem, a kind of sectional drawing file reminding method, institute be the embodiment of the invention provides The method of stating includes:
Sectional drawing file scan result is obtained, the sectional drawing file scan result includes scanned each section for obtaining The data volume of map file and sectional drawing time;
According to the sectional drawing time of each sectional drawing file in present system time and the sectional drawing file scan result, Obtain the sectional drawing file that time of file exceedes preset time threshold;
Display sectional drawing file prompt message, the sectional drawing file prompt message is super including the time of file Cross the data volume sum of the sectional drawing file of preset time threshold.
Correspondingly, the embodiment of the present invention additionally provides a kind of sectional drawing file suggestion device, and described device includes:
Scanning result acquisition module, for obtaining sectional drawing file scan result, the sectional drawing file scan result Data volume and sectional drawing time including scanned each sectional drawing file for obtaining;
Sectional drawing time division module, for according in present system time and the sectional drawing file scan result The sectional drawing time of each sectional drawing file, obtain the sectional drawing file that time of file exceedes preset time threshold;
Sectional drawing file reminding module, for showing sectional drawing file prompt message, the sectional drawing file prompt message Exceed the data volume sum of the sectional drawing file of preset time threshold including the time of file.
The embodiment of the present invention by when needing to send sectional drawing file and pointing out, the sectional drawing file that will be scanned according to The sectional drawing time be divided into the time it is more remote and the time be closer to, such that it is able to allowing user to pay close attention to The sectional drawing file of long period is preserved, to realize allowing user to clear up the purpose of sectional drawing file in time.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to implementing Example or the accompanying drawing to be used needed for description of the prior art are briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the sectional drawing file reminding method in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the sectional drawing file reminding method in another embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the sectional drawing file reminding method in another embodiment of the present invention;
Fig. 4 is the structural representation of the sectional drawing file suggestion device in the embodiment of the present invention;
Fig. 5 is the schematic diagram that sectional drawing file prompt message is shown in the embodiment of the present 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 clearly Chu, it is fully described by, it is clear that described embodiment is only a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation Property work under the premise of the every other embodiment that is obtained, belong to the scope of protection of the invention.
The sectional drawing file reminding method and device referred in the embodiment of the present invention, it is possible to implement such as PC, In the terminals such as panel computer, smart mobile phone, server, electronic reader.Sectional drawing in the embodiment of the present invention File reminding method can be performed by sectional drawing file suggestion device, it is also possible to be performed by above-mentioned terminal, and this hair Sectional drawing file suggestion device in bright embodiment can be to operate in program, the client or slotting in above-mentioned terminal Part, it is also possible to the above-mentioned terminal of acute pyogenic infection of finger tip.
Fig. 1 is a kind of schematic flow sheet of the sectional drawing file reminding method in the embodiment of the present invention, as shown in the figure Sectional drawing file reminding method in the present embodiment can include below scheme:
S101, obtains sectional drawing file scan result, and the sectional drawing file scan result includes scanned obtaining The data volume of each sectional drawing file and sectional drawing time.
In implementing, when sectional drawing file suggestion device needs to send the prompting of sectional drawing file, for example, receiving Sectional drawing file scan to user input is instructed, or user opens garbage files scanning interface acquiescence needs and carries out Sectional drawing file is pointed out, and for example when receiving garbage files scan instruction, and give tacit consent to garbage files scan instruction Also the prompting of sectional drawing file can be triggered, garbage files suggestion device can obtain sectional drawing file scan result.It is described Sectional drawing file scan result can be the sectional drawing file scan result that the current sectional drawing file scan for triggering is obtained, Can also be the sectional drawing file scan that carries out is obtained in advance sectional drawing file scan result, specifically can by with Under type obtains sectional drawing file scan result:
The sectional drawing file scan record that same day scanning is obtained is judged whether, if the same day being swept in the presence of if Retouch the sectional drawing file scan for obtaining to record as the sectional drawing file scan result, otherwise proceed by sectional drawing text Part is scanned, and the sectional drawing file scan record that this sectional drawing file scan is obtained is swept as the sectional drawing file Retouch result.As long as carrying out sectional drawing file scan i.e. on the day of and there is sectional drawing file scan record, then it is not required to To carry out sectional drawing file scan again, can directly using the same day scanning obtain sectional drawing file scan record as The foundation of this sectional drawing file prompting, if do not carried out on the day of sectional drawing file scan or on the day of the sectional drawing that carries out File scan is failed or scanning result is imperfect, then proceed by sectional drawing file scan, and by this sectional drawing The sectional drawing file scan that file scan is obtained is recorded as the sectional drawing file scan result.The sectional drawing file Scanning result includes data volume and the sectional drawing time of scanned each sectional drawing file for obtaining, and can also include each The storing path of individual sectional drawing file.
Specifically, sectional drawing file suggestion device can according to the storing directory path of the sectional drawing file for pre-setting, Sectional drawing file scan is carried out in specified terminal storage space.Exemplary, can be by designated memory space All Files is considered as sectional drawing file in file of the Folder Name including " screenshot ".On the other hand, Sectional drawing file suggestion device can be according to the storing directory path for combining sectional drawing file and the files classes of sectional drawing file Type, sectional drawing file scan is carried out in specified terminal storage space.It is still exemplary, can be deposited specifying All Files suffix is .tga's or .jpg in file of the Folder Name including " screenshot " in storage space Image file is considered as sectional drawing file.When the above-mentioned sectional drawing file of scanning discovery, sectional drawing file suggestion device can be with File size and the sectional drawing time of each sectional drawing file are recorded, the visit of each sectional drawing file can also be optionally recorded Ask the way footpath, while the file data total amount of all sectional drawing files obtained when time scanning can also be recorded.
S102, according in present system time and the sectional drawing file scan result each sectional drawing file cut The figure time, obtain the sectional drawing file that time of file exceedes preset time threshold.
The sectional drawing time of each sectional drawing file for being obtained according to scanning, sectional drawing file is divided into file and is preserved Time exceedes the sectional drawing of sectional drawing file and time of file not less than preset time threshold of preset time threshold File, and then the data volume sum of the sectional drawing file of preset time threshold can be exceeded with the statistics file holding time, Optionally can with the calculation document holding time exceed preset time threshold sectional drawing file quantity of documents, cut Figure classification (picture material classification of type, sectional drawing tools sort or sectional drawing mode are classified) etc..When described default Between threshold value, can be by natural day or in units of hour, such as 5 days, 7 days, 10 days, 15 days or 30 days, 120 hours, 240 hours etc..
S103, shows sectional drawing file prompt message, and the sectional drawing file prompt message is preserved including the file Time exceedes the data volume sum of the sectional drawing file of preset time threshold.The optional sectional drawing file prompting letter Breath can also include data volume sum of the time of file not less than the sectional drawing file of preset time threshold.
In sectional drawing file prompt message for example shown in Fig. 5, sectional drawing file is divided into the sectional drawing text of nearly 7 days Part and 7 days sectional drawing files before, count and show the data volume sum of the sectional drawing file of nearly 7 days respectively And the data volume sum of the sectional drawing file before 7 days, such that it is able to allow user to be apparent from current system The data total amount of sectional drawing file, and user can be allowed to pay close attention to the sectional drawing file of saved long period, To realize allowing user to clear up the purpose of sectional drawing file in time.
Fig. 2 is the schematic flow sheet of the sectional drawing file reminding method in another embodiment of the present invention;
S201, gets the instruction of sectional drawing file scan.
In implementing, it is described get sectional drawing file scan instruction for example sectional drawing file suggestion device can connect The sectional drawing file scan instruction of user input is received, or automatic sending is cut when sectional drawing file scan interface is opened Map file scan instruction, can also be that acquiescence gets sectional drawing file when garbage files scan instruction is received Scan instruction, garbage files suggestion device can be triggered execution following steps.
S202, judges whether the sectional drawing file scan record that same day scanning is obtained.
Specifically, sectional drawing file suggestion device can carry out sectional drawing file to specified terminal storage space in advance Scanning, while obtaining sectional drawing file scan and record, can cover that a preceding sectional drawing file scan obtains cuts Map file scanning record, while also recording this sweep time of sectional drawing file scan.Receiving sectional drawing text After part scan instruction, sectional drawing file suggestion device can search the sectional drawing that the last sectional drawing file scan is obtained File scan is recorded, and determines whether the sectional drawing file that same day scanning is obtained according to its corresponding sweep time Scanning record, if then performing S203, otherwise performs S204-S205.In an alternative embodiment, sectional drawing text Part suggestion device can operating system in a dormant state when carry out sectional drawing file scan, it is scanned to reduce Influence of the journey to user's using terminal.
S203, the sectional drawing file scan that the scanning of the existing same day is obtained is recorded as sectional drawing file scan result.
S204, proceeds by sectional drawing file scan.
Specifically, sectional drawing file suggestion device can according to the storing directory path of the sectional drawing file for pre-setting, Sectional drawing file scan is carried out in specified terminal storage space.Can also be according to the storage mesh for combining sectional drawing file Record path and the file type of sectional drawing file, sectional drawing file scan is carried out in specified terminal storage space.When During the above-mentioned sectional drawing file of scanning discovery, sectional drawing file suggestion device can record the file size of each sectional drawing file With the sectional drawing time, can also optionally record the access path of each sectional drawing file, at the same can also record work as The secondary file data total amount for scanning all sectional drawing files for obtaining.
S205, the sectional drawing file scan that this sectional drawing file scan is obtained is recorded as sectional drawing file scan knot Really.
As long as carrying out sectional drawing file scan i.e. on the day of and there is sectional drawing file scan record, then need not be again It is secondary to carry out sectional drawing file scan, directly the sectional drawing file scan that same day scanning be obtained can be recorded as this The foundation of sectional drawing file prompting, if do not carried out on the day of sectional drawing file scan or on the day of the sectional drawing file that carries out Scanning is failed or scanning result is imperfect, then proceed by sectional drawing file scan, and by this sectional drawing file The sectional drawing file scan that scanning is obtained is recorded as the sectional drawing file scan result.The sectional drawing file scan Result includes data volume and the sectional drawing time of scanned each sectional drawing file for obtaining, can also be including each section The storing path of map file.
S206, according to the text of each sectional drawing file in present system time and the sectional drawing file scan result Part holding time point, obtains the sectional drawing file that time of file exceedes preset time threshold.
The sectional drawing time of each sectional drawing file for being obtained according to scanning, sectional drawing file is divided into file and is preserved Time exceedes the sectional drawing of sectional drawing file and time of file not less than preset time threshold of preset time threshold File, and then the data volume sum of the sectional drawing file of preset time threshold can be exceeded with the statistics file holding time, Optionally can with the calculation document holding time exceed preset time threshold sectional drawing file quantity of documents, cut Figure classification (picture material classification of type, sectional drawing tools sort or sectional drawing mode are classified) etc..When described default Between threshold value, can be by natural day or in units of hour, such as 5 days, 7 days, 10 days, 15 days or 30 days, 120 hours, 240 hours etc..
S207, shows sectional drawing file prompt message, and sectional drawing file prompt message exceedes including time of file The data volume sum of the sectional drawing file of preset time threshold.The optional sectional drawing file prompt message can be with Data volume sum including the time of file not less than the sectional drawing file of preset time threshold
In sectional drawing file prompt message for example shown in Fig. 5, sectional drawing file is divided into the sectional drawing text of nearly 7 days Part and 7 days sectional drawing files before, count and show the data volume sum of the sectional drawing file of nearly 7 days respectively And the data volume sum of the sectional drawing file before 7 days, such that it is able to allow user to be apparent from current system The data total amount of sectional drawing file, and user can be allowed to pay close attention to the sectional drawing file of saved long period, To realize that prompting user clears up the purpose of sectional drawing file in time.
S208, clears up the sectional drawing file that the time of file exceedes preset time threshold.
Specifically, sectional drawing file suggestion device can receive user being input into according to the sectional drawing file scan result Sectional drawing file clean-up instruction, start to described that to confirm that the garbage files that there remains carry out garbage files clear Reason;In an alternative embodiment, sectional drawing file suggestion device can also receive the garbage files of user input During cleaning instruction, the sectional drawing file chosen is begun a clean up, wherein time of file exceedes preset time threshold Sectional drawing file can give tacit consent to selected.
Sectional drawing file suggestion device in the present embodiment can be sentenced first when needing to send the prompting of sectional drawing file Whether the disconnected same day had carried out sectional drawing file scan, if can then sweep the sectional drawing file that same day scanning is obtained Record is traced as sectional drawing file scan result, and then the sectional drawing file that will be scanned is divided into according to the sectional drawing time Time it is more remote and the time be closer to, such that it is able to allow user to pay close attention to saved long period Sectional drawing file, to realize allowing user to clear up the purpose of sectional drawing file in time.
Fig. 3 is the schematic flow sheet of the sectional drawing file reminding method in another embodiment of the present invention;
S301, confirms operating system in a dormant state.
In an alternative embodiment, can to continue first into screen lock state in terminal pre- for sectional drawing file suggestion device If after duration, confirming operating system in a dormant state;In other alternative embodiments, the prompting of sectional drawing file Device can also confirm current operation system in a dormant state according to the running status of terminal, such as cpu profits Predetermined threshold value is not up to rate, such as 10%, or memory usage is not up to predetermined threshold value, such as 20%, and After continuing the first preset duration, operating system is confirmed in a dormant state;In another alternative embodiment, eventually The condition of the entrance resting state that end operating system can also set certainly, confirms that itself enters dormancy shape when meeting State, sectional drawing file suggestion device is by detecting whether terminal operating system enters resting state or receiving terminal is grasped Make system notice for sending when resting state is entered and learn that terminal operating system enters resting state.Described One preset duration, could be arranged to -10 minutes 2 minutes, and the arrange parameter that can also be issued according to server becomes The preset duration.In the present embodiment, sectional drawing file suggestion device in operating system in a dormant state Shi Jinhang sectional drawing file scans, to reduce influence of the scanning process to user's using terminal.
S302, sectional drawing file scan is carried out to specified terminal storage space, obtains sectional drawing file scan record.
Specifically, sectional drawing file suggestion device can according to the storing directory path of the sectional drawing file for pre-setting, Sectional drawing file scan is carried out in specified terminal storage space.Can also be according to the storage mesh for combining sectional drawing file Record path and the file type of sectional drawing file, sectional drawing file scan is carried out in specified terminal storage space.When During the above-mentioned sectional drawing file of scanning discovery, sectional drawing file suggestion device can obtain sectional drawing file scan record, institute Stating sectional drawing file scan record can include file size and the sectional drawing time of each sectional drawing file, optionally may be used also To record the access path of each sectional drawing file, while all sectional drawings text obtained when time scanning can also be recorded The file data total amount of part.In the present embodiment, sectional drawing file suggestion device obtains sectional drawing file scan record While, the sectional drawing file scan record that a preceding sectional drawing file scan is obtained can be covered, while also recording This sweep time of sectional drawing file scan.
S303, gets garbage files scan instruction.
Sectional drawing file suggestion device in the present embodiment will be considered that and connect when garbage files scan instruction is got The step of have received the instruction of sectional drawing file scan, and then perform following sectional drawing file and point out.
S304, judges whether the sectional drawing file scan record that same day scanning is obtained.
I.e. sectional drawing file suggestion device can search the sectional drawing file scan that the last sectional drawing file scan is obtained Record, and the sectional drawing file scan record that same day scanning is obtained is determined whether according to its corresponding sweep time, If then performing S305, S306-S307 is otherwise performed.
S305, the sectional drawing file scan that the scanning of the existing same day is obtained is recorded as sectional drawing file scan result.
S306, proceeds by sectional drawing file scan.
S307, the sectional drawing file scan that this sectional drawing file scan is obtained is recorded as sectional drawing file scan knot Really.
S308, according to the text of each sectional drawing file in present system time and the sectional drawing file scan result Part holding time point, obtains the sectional drawing file that time of file exceedes preset time threshold
S309, while garbage files scanning result is shown, shows sectional drawing file prompt message, sectional drawing text Part prompt message includes that time of file exceedes the data volume sum of the sectional drawing file of preset time threshold.Can The sectional drawing file prompt message of choosing can also include the time of file not less than preset time threshold Sectional drawing file data volume sum.
In garbage files prompt message for example shown in Fig. 5, garbage files are divided into sectional drawing file, system Disk rubbish and software caching etc., and then by sectional drawing file be divided into nearly 7 days sectional drawing file and 7 days before Sectional drawing file, count and show the data volume sum of the sectional drawing file of nearly 7 days respectively and before 7 days The data volume sum of sectional drawing file, such that it is able to allow user to be apparent from the number of sectional drawing file in current system According to total amount, and user can be allowed to pay close attention to the sectional drawing file of saved long period, to realize prompting User clears up the purpose of sectional drawing file in time.
Fig. 4 is the structural representation of the sectional drawing file suggestion device in the embodiment of the present invention, the embodiment of the present invention In sectional drawing file suggestion device can be such as PC, panel computer, smart mobile phone, server, electricity The terminals such as sub- reader, or operate in the software program in above-mentioned terminal.It is of the invention as shown in Figure 4 Sectional drawing file suggestion device in embodiment can at least include:
Scanning result acquisition module 410, for obtaining sectional drawing file scan result, the sectional drawing file scan knot Fruit includes data volume and the sectional drawing time of scanned each sectional drawing file for obtaining.
In implementing, when sectional drawing file suggestion device needs to send the prompting of sectional drawing file, for example, receiving Sectional drawing file scan to user input is instructed, or user opens garbage files scanning interface acquiescence needs and carries out Sectional drawing file is pointed out, and for example when receiving garbage files scan instruction, and give tacit consent to garbage files scan instruction Also the prompting of sectional drawing file can be triggered, scanning result acquisition module 410 can obtain sectional drawing file scan result. The sectional drawing file scan result can be the sectional drawing file scan knot that the current sectional drawing file scan for triggering is obtained The sectional drawing file scan result that fruit, or the sectional drawing file scan for carrying out in advance are obtained, can specifically lead to Cross in the following manner and obtain sectional drawing file scan result:
The sectional drawing file scan record that same day scanning is obtained is judged whether, if the same day being swept in the presence of if Retouch the sectional drawing file scan for obtaining to record as the sectional drawing file scan result, otherwise proceed by sectional drawing text Part is scanned, and the sectional drawing file scan record that this sectional drawing file scan is obtained is swept as the sectional drawing file Retouch result.As long as carrying out sectional drawing file scan i.e. on the day of and there is sectional drawing file scan record, then it is not required to To carry out sectional drawing file scan again, can directly using the same day scanning obtain sectional drawing file scan record as The foundation of this sectional drawing file prompting, if do not carried out on the day of sectional drawing file scan or on the day of the sectional drawing that carries out File scan is failed or scanning result is imperfect, then proceed by sectional drawing file scan, and by this sectional drawing The sectional drawing file scan that file scan is obtained is recorded as the sectional drawing file scan result.The sectional drawing file Scanning result includes data volume and the sectional drawing time of scanned each sectional drawing file for obtaining, and can also include each The storing path of individual sectional drawing file.
Sectional drawing time division module 420, for according to present system time and the sectional drawing file scan result In each sectional drawing file the sectional drawing time, obtain time of file exceed preset time threshold sectional drawing file.
The sectional drawing time of each sectional drawing file that sectional drawing time division module 420 can be obtained according to scanning, will Sectional drawing file be divided into time of file more than preset time threshold sectional drawing file and time of file not More than the sectional drawing file of preset time threshold, and then preset time threshold can be exceeded with the statistics file holding time Sectional drawing file data volume sum, optionally can with the calculation document holding time exceed preset time threshold Sectional drawing file quantity of documents, sectional drawing classification (picture material classification of type, sectional drawing tools sort or sectional drawing Mode is classified) etc..The preset time threshold, can be by natural day or in units of hour, such as 5 days, 7 My god, 10 days, 15 days or 30 days, 120 hours, 240 hours etc..
Sectional drawing file reminding module 430, for showing sectional drawing file prompt message, the sectional drawing file prompting letter Breath includes that the time of file exceedes the data volume sum of the sectional drawing file of preset time threshold.Optionally The sectional drawing file prompt message can also include the time of file cutting not less than preset time threshold The data volume sum of map file.
Optionally, the sectional drawing file suggestion device in the embodiment of the present invention can also include:
Sectional drawing file scan module 440, for carrying out sectional drawing file scan, obtains sectional drawing file scan record, The sectional drawing file scan record includes the corresponding sectional drawing file scan time.
Specifically, sectional drawing file scan module 440 can be according to the storing directory of the sectional drawing file for pre-setting Path, sectional drawing file scan is carried out in specified terminal storage space.Exemplary, sectional drawing file scan mould Block 440 can be by all texts in file of the Folder Name in designated memory space including " screenshot " Part is considered as sectional drawing file.On the other hand, sectional drawing file scan module 440 can be according to combination sectional drawing file Storing directory path and the file type of sectional drawing file, carry out sectional drawing file and sweep in specified terminal storage space Retouch.It is still exemplary, sectional drawing file scan module 440 can be by Folder Name in designated memory space All Files suffix is literary for the image file of .tga or .jpg is considered as sectional drawing in file including " screenshot " Part.When the above-mentioned sectional drawing file of scanning discovery, sectional drawing file suggestion device can record the text of each sectional drawing file Part size and sectional drawing time, the access path of each sectional drawing file can also be optionally recorded, while can be with Record is when the file data total amount of the secondary all sectional drawing files for scanning and obtaining.Meanwhile, sectional drawing file scan module 440, when sectional drawing file scan record is obtained, can record this sweep time of sectional drawing file scan.
The scanning result acquisition module 410 specifically for:
Judge whether the sectional drawing file scan record that same day scanning is obtained, i.e. scanning result acquisition module 410 Can search the sectional drawing file scan record that the last sectional drawing file scan obtains, and corresponding be swept according to its The time of retouching determines whether the sectional drawing file scan record that same day scanning is obtained, if then scanning the same day The sectional drawing file scan for obtaining is recorded as the sectional drawing file scan result, otherwise triggers the sectional drawing file Scan module 440 carries out sectional drawing file scan, and the scanning result acquisition module 410 is by this sectional drawing file The sectional drawing file scan that scanning is obtained is recorded as the sectional drawing file scan result.
And then in an alternative embodiment, the sectional drawing file scan module 440, specifically for:
After confirming operating system in a dormant state, sectional drawing file scan is proceeded by, obtain the sectional drawing File scan is recorded, to reduce influence of the scanning process to user's using terminal.
In an alternative embodiment, sectional drawing file scan module 440 can continue in terminal into screen lock state After one preset duration, operating system is confirmed in a dormant state;In other alternative embodiments, sectional drawing file Scan module 440 can also confirm current operation system in a dormant state according to the running status of terminal, example Predetermined threshold value is not up to such as cpu utilization rates, such as 10%, or memory usage is not up to predetermined threshold value, such as 20%, And after continuing the first preset duration, confirm operating system in a dormant state;In another alternative embodiment, The condition of the entrance resting state that terminal operating system can also set certainly, confirms that itself enters dormancy when meeting State, sectional drawing file suggestion device is by detecting whether terminal operating system enters resting state or receiving terminal The notice that operating system sends when resting state is entered learns that terminal operating system enters resting state.It is described First preset duration, could be arranged to -10 minutes 2 minutes, the arrange parameter that can also be issued according to server Change the preset duration.
Sectional drawing file suggestion device in an alternative embodiment can also include:
Scan instruction acquisition module 450, for obtaining garbage files scan instruction, and is getting the rubbish When file scan is instructed, trigger the scanning result acquisition module 410 and obtain sectional drawing file scan result.
Sectional drawing file suggestion device i.e. in the embodiment will be considered that when garbage files scan instruction is got The instruction of sectional drawing file scan is have received, and then triggers the scanning result acquisition module 410 and obtain sectional drawing text Part scanning result.
The sectional drawing file reminding module 430 specifically for:
While garbage files scanning result is shown, the sectional drawing file prompt message is shown.
In garbage files prompt message for example shown in Fig. 5, garbage files are divided into sectional drawing file, system Disk rubbish and software caching etc., and then by sectional drawing file be divided into nearly 7 days sectional drawing file and 7 days before Sectional drawing file, count and show the data volume sum of the sectional drawing file of nearly 7 days respectively and before 7 days The data volume sum of sectional drawing file, such that it is able to allow user to be apparent from the number of sectional drawing file in current system According to total amount, and user can be allowed to pay close attention to the sectional drawing file of saved long period, to realize prompting User clears up the purpose of sectional drawing file in time.
And then in an alternative embodiment, sectional drawing file suggestion device can also include:
Sectional drawing file clean-up module 460, for clearing up the time of file cutting more than preset time threshold Map file.
Specifically, sectional drawing file clean-up module 460 can receive user according to the sectional drawing file scan result The sectional drawing file clean-up instruction of input, starts to carry out rubbish text to the garbage files for confirming there remains Part is cleared up;In an alternative embodiment, sectional drawing file clean-up module 460 can also receive user input When cleaning garbage files are instructed, the sectional drawing file chosen is begun a clean up, wherein time of file exceedes default The sectional drawing file of time threshold can give tacit consent to selected.
Sectional drawing file suggestion device in the embodiment of the present invention will be scanned when needing to send the prompting of sectional drawing file To sectional drawing file according to the sectional drawing time be divided into the time it is more remote and the time be closer to, such that it is able to allowing User pays close attention to the sectional drawing file of saved long period, to realize allowing user to clear up sectional drawing file in time Purpose.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, Computer program be can be by instruct the hardware of correlation to complete, described program can be stored in a calculating In machine read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method. Wherein, described storage medium can for magnetic disc, CD, read-only memory (Read-Only Memory, ) or random access memory (Random Access Memory, RAM) etc. ROM.
Above disclosed is only present pre-ferred embodiments, can not limit the present invention's with this certainly Interest field, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (12)

1. a kind of sectional drawing file reminding method, it is characterised in that methods described includes:
Sectional drawing file scan result is obtained, the sectional drawing file scan result includes scanned each section for obtaining The data volume of map file and sectional drawing time;
According to the sectional drawing time of each sectional drawing file in present system time and the sectional drawing file scan result, Obtain the sectional drawing file that time of file exceedes preset time threshold;
Display sectional drawing file prompt message, the sectional drawing file prompt message is super including the time of file Cross the data volume sum of the sectional drawing file of preset time threshold.
2. sectional drawing file reminding method as claimed in claim 1, it is characterised in that the sectional drawing file is carried Show that information also includes data volume sum of the time of file not less than the sectional drawing file of preset time threshold.
3. sectional drawing file reminding method as claimed in claim 1, it is characterised in that the acquisition sectional drawing text Part scanning result includes:
The sectional drawing file scan record that same day scanning is obtained is judged whether, if the same day being swept in the presence of if Retouch the sectional drawing file scan for obtaining to record as the sectional drawing file scan result, otherwise proceed by sectional drawing text Part is scanned, and the sectional drawing file scan record that this sectional drawing file scan is obtained is swept as the sectional drawing file Retouch result.
4. sectional drawing file reminding method as claimed in claim 3, it is characterised in that the acquisition sectional drawing text Also include before part scanning result:
After confirming operating system in a dormant state, sectional drawing file scan is proceeded by, obtain the sectional drawing File scan is recorded.
5. sectional drawing file reminding method as claimed in claim 1, it is characterised in that the acquisition sectional drawing text Also include before part scanning result:
When garbage files scan instruction is got, triggering performs the acquisition sectional drawing file scan result;
It is described to show that sectional drawing file prompt message is:
While garbage files scanning result is shown, the sectional drawing file prompt message is shown.
6. the sectional drawing file reminding method as any one of claim 1-5, it is characterised in that described Also include after display sectional drawing file prompt message:
Clear up sectional drawing file of the time of file more than preset time threshold.
7. a kind of sectional drawing file suggestion device, it is characterised in that described device includes:
Scanning result acquisition module, for obtaining sectional drawing file scan result, the sectional drawing file scan result Data volume and sectional drawing time including scanned each sectional drawing file for obtaining;
Sectional drawing time division module, for according in present system time and the sectional drawing file scan result The sectional drawing time of each sectional drawing file, obtain the sectional drawing file that time of file exceedes preset time threshold;
Sectional drawing file reminding module, for showing sectional drawing file prompt message, the sectional drawing file prompt message Exceed the data volume sum of the sectional drawing file of preset time threshold including the time of file.
8. sectional drawing file suggestion device as claimed in claim 7, it is characterised in that the sectional drawing file is carried Show that information also includes data volume sum of the time of file not less than the sectional drawing file of preset time threshold.
9. sectional drawing file suggestion device as claimed in claim 7, it is characterised in that described device also includes:
Sectional drawing file scan module, for carrying out sectional drawing file scan, obtains sectional drawing file scan record, institute Stating sectional drawing file scan record includes the corresponding sectional drawing file scan time;
The scanning result acquisition module is used for:
The sectional drawing file scan record that same day scanning is obtained is judged whether, if the same day being swept in the presence of if Retouch the sectional drawing file scan for obtaining to record as the sectional drawing file scan result, otherwise trigger the sectional drawing text Part scan module carries out sectional drawing file scan, and the scanning result acquisition module obtains this sectional drawing file scan The sectional drawing file scan for arriving is recorded as the sectional drawing file scan result.
10. sectional drawing file suggestion device as claimed in claim 9, it is characterised in that the sectional drawing file Scan module is used for:
After confirming operating system in a dormant state, sectional drawing file scan is proceeded by, obtain the sectional drawing File scan is recorded.
11. sectional drawing file suggestion devices as claimed in claim 7, it is characterised in that described device is also wrapped Include:
Scan instruction acquisition module, for obtaining garbage files scan instruction, and is getting the rubbish text During part scan instruction, trigger the scanning result acquisition module and obtain sectional drawing file scan result;
The sectional drawing file reminding module is used for:
While garbage files scanning result is shown, the sectional drawing file prompt message is shown.
The 12. sectional drawing file suggestion device as any one of claim 7-11, it is characterised in that institute Stating device also includes:
Sectional drawing file clean-up module, for clearing up sectional drawing of the time of file more than preset time threshold File.
CN201510772782.5A 2015-11-12 2015-11-12 Screenshot file prompt method and device Pending CN106708847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510772782.5A CN106708847A (en) 2015-11-12 2015-11-12 Screenshot file prompt method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510772782.5A CN106708847A (en) 2015-11-12 2015-11-12 Screenshot file prompt method and device

Publications (1)

Publication Number Publication Date
CN106708847A true CN106708847A (en) 2017-05-24

Family

ID=58918923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510772782.5A Pending CN106708847A (en) 2015-11-12 2015-11-12 Screenshot file prompt method and device

Country Status (1)

Country Link
CN (1) CN106708847A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019891A (en) * 2012-12-24 2013-04-03 珠海金山办公软件有限公司 Method and system for restoring deleted file
CN103761306A (en) * 2014-01-22 2014-04-30 深圳市欧珀通信软件有限公司 Smart terminal file cleaning method and device
CN104572819A (en) * 2014-12-02 2015-04-29 深圳市腾讯计算机系统有限公司 Clearing method and system for junk data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019891A (en) * 2012-12-24 2013-04-03 珠海金山办公软件有限公司 Method and system for restoring deleted file
CN103761306A (en) * 2014-01-22 2014-04-30 深圳市欧珀通信软件有限公司 Smart terminal file cleaning method and device
CN104572819A (en) * 2014-12-02 2015-04-29 深圳市腾讯计算机系统有限公司 Clearing method and system for junk data

Similar Documents

Publication Publication Date Title
CN104426944B (en) Information feedback method, device and terminal
CN105095107A (en) Buffer memory data cleaning method and apparatus
CN107911487A (en) Information-pushing method, device, server and readable storage medium storing program for executing
CN102929980B (en) Folder cleaning method and device
CN103761306A (en) Smart terminal file cleaning method and device
CN106897141A (en) The processing method and processing device of information
CN103150079A (en) Application icon management method and device based on Firefox OS (Operation System) platform
CN103793932A (en) Method and device for storing image and text in mobile terminal browser
CN106339444A (en) Method for instantly deleting file and terminal
CN102117314A (en) Document information transmission method and apparatus
CN105893278A (en) System cache garbage cleaning method and device and terminal equipment
CN104407873A (en) Method and device based on calendar management application
CN102332014A (en) Method and device for deleting file
CN105446572A (en) Text-editing method and device used for screen display device
CN104461742A (en) Method and device for optimizing computing equipment
CN104820683A (en) Terminal
CN101699407A (en) Method and device for restoring terminal operation and data
CN104142774A (en) Page content processing method and page content processing device
CN107515950A (en) A kind of image processing method, device, terminal and computer-readable recording medium
CN105574163A (en) File processing method and device and electronic equipment
CN104834687A (en) Picture display method
CN102937948A (en) Image-text data editing method for mobile terminal
CN105550555A (en) Picture processing method and electronic terminal
CN110543451A (en) Method and device for efficiently cleaning equipment files
CN103634470A (en) Human-computer interaction prediction method based on terminal mobile data access network Qos

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

Application publication date: 20170524

RJ01 Rejection of invention patent application after publication