CN107423300B - Terminal file processing method and device and mobile terminal - Google Patents

Terminal file processing method and device and mobile terminal Download PDF

Info

Publication number
CN107423300B
CN107423300B CN201610348255.6A CN201610348255A CN107423300B CN 107423300 B CN107423300 B CN 107423300B CN 201610348255 A CN201610348255 A CN 201610348255A CN 107423300 B CN107423300 B CN 107423300B
Authority
CN
China
Prior art keywords
file
junk
terminal
scanning
file list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610348255.6A
Other languages
Chinese (zh)
Other versions
CN107423300A (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610348255.6A priority Critical patent/CN107423300B/en
Publication of CN107423300A publication Critical patent/CN107423300A/en
Application granted granted Critical
Publication of CN107423300B publication Critical patent/CN107423300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • 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
    • G06F16/162Delete operations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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)
  • Power Sources (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a method and a device for processing terminal files and a mobile terminal, relates to the technical field of electronics, and solves the problems that in the prior art, the time for a user to wait for scanning garbage is long, the mobile phone is slow in response or even blocked during scanning, and the power consumption is high, and the method comprises the following steps: monitoring battery use state information, system operation state information and historical file processing information of the terminal; judging whether the terminal meets a preset file scanning condition or not according to the battery use state information, the system operation state information and the historical file processing information; and if the terminal meets the preset file scanning condition, scanning the junk files of the terminal, and storing a scanned junk file list. According to the scheme of the invention, the background junk file scanning can be carried out when the terminal has sufficient electric quantity and the system is idle, the scanning result can be rapidly displayed to the user, the problems of slow response and even blockage of the mobile phone during scanning and more electric quantity consumption are avoided, and the user experience is improved.

Description

Terminal file processing method and device and mobile terminal
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a method and an apparatus for processing a terminal file, and a mobile terminal.
Background
The reason why the user usually uses the space cleaning function is that the user wants to delete some unused files to release space due to insufficient space of the mobile phone, and files generated by the user just before, such as photos and recorded videos, are usually not selected by the user to be deleted, and most of the files are photos, videos and the like which are not used for a long time. The file just downloaded or generated by the application cannot be used as a junk file, and even if the file belongs to the junk file, such as an advertisement file just downloaded by a certain application or a generated cache file, the file cannot be suggested to be cleared immediately. After cleaning, when the application is used again in the near future, the application is downloaded again, which may cause traffic consumption of the user. And in addition, due to the deletion of the recent cache file in a short period, the application may also regenerate the cache according to the internal needs, which may cause slow display of the application, and the like. Therefore, garbage cleaning does not suggest that cleaning is carried out immediately as garbage is generated, and the requirement of space cleaning garbage files on real-time performance is not high.
At present, the space cleaning module performs real-time scanning when a user needs to clean garbage, and displays all garbage items after the scanning is finished. Since the junk scanning needs to scan all files of the mobile phone disk on the whole disk to screen out the junk files, when the used space of the mobile phone is very large and the number of small files is very large, a user needs to wait for a long time to display a scanning result, sometimes several minutes may be spent, even more than ten minutes may be required in some extreme cases, and the experience of the user seriously affects the use of the mobile phone space cleaning module.
In addition, as the garbage scanning time is long, a large amount of CPU resources need to be consumed in the scanning process, and if the garbage scanning is performed too frequently or when a user uses a mobile phone and runs an application with a high requirement on the CPU, such as playing a large game or watching a video online, the mobile phone is likely to be slow in response or even stuck, which affects the performance of the mobile phone. And long-time garbage scanning also can cause more electricity consumption, and the use experience of a user is seriously influenced.
Disclosure of Invention
The invention provides a method and a device for processing a terminal file and a mobile terminal, and solves the problems that in the prior art, the time for a user to wait for scanning garbage is long, the mobile phone is slow in response and even blocked during scanning, the performance of the mobile phone is influenced, more electric quantity consumption is caused, and the use experience of the user is seriously influenced.
To solve the foregoing technical problem, an embodiment of the present invention provides a method for processing a terminal file, including:
monitoring battery use state information, system operation state information and historical file processing information of the terminal;
judging whether the terminal meets a preset file scanning condition or not according to the battery use state information, the system operation state information and the historical file processing information;
and if the terminal meets the preset file scanning condition, scanning the junk files of the terminal, and storing a scanned junk file list.
The system comprises a system running state information acquisition module, a system running state information acquisition module and a system running state information acquisition module, wherein the battery running state information comprises charging state change information and battery residual capacity, the system running state information comprises screen lightening information or screen blanking information, and the historical file processing information comprises the time interval from previous file scanning to the current time;
the step of judging whether the terminal meets a preset file scanning condition according to the battery use state information, the system operation state information and the historical file processing information comprises the following steps:
when the terminal is charged by using an alternating current power supply, the residual electric quantity of the battery is larger than a first preset threshold value, the terminal screen extinguishing duration is larger than a second preset threshold value, and the time interval from the previous file scanning to the current moment is larger than a third preset threshold value, judging that the terminal meets the preset file scanning condition, otherwise, judging that the terminal does not meet the preset file scanning condition.
Wherein the charging state change information includes a start charging message or a stop charging message;
after the battery use state information, the system running state information and the historical file processing information of the monitoring terminal, the method further comprises the following steps:
after monitoring a message that a terminal starts charging, starting a timer, and after the timer finishes timing, executing a step of judging whether the terminal meets a preset file scanning condition according to the battery use state information, the system operation state information and the historical file processing information;
and after the terminal stops charging information is monitored, the timer is closed, and the battery use state information, the system running state information and the historical file processing information of the terminal are continuously monitored.
After judging whether the terminal meets a preset file scanning condition according to the battery use state information, the system operation state information and the historical file processing information, the method further comprises the following steps:
if the terminal is not charged by using the alternating current power supply, continuously monitoring battery use state information, system operation state information and historical file processing information of the terminal;
and if the residual battery capacity is not greater than a first preset threshold, the terminal screen extinguishing duration is not greater than a second preset threshold, or the time between the previous file scanning and the current time interval is not greater than a third preset threshold, restarting the timer.
Wherein the method further comprises:
after receiving an instruction of entering a junk file cleaning page, judging whether the terminal is scanning junk files;
if the terminal is scanning the junk files, waiting for the scanning to be completed, generating a file list to be cleaned according to the stored junk file list and returning the file list to the user;
and if the terminal does not scan the junk files, generating a file list to be cleaned according to the junk file list stored by the terminal and returning the file list to the user, or scanning the junk files again on the terminal, and after the scanning is finished, generating a file list to be cleaned according to the stored junk file list and returning the file list to the user.
The historical file processing information comprises the time interval from the previous file scanning to the current time;
if the terminal does not scan the junk files, generating a file list to be cleaned according to the junk file list stored by the terminal and returning the file list to the user, or re-scanning the junk files on the terminal, and after the scanning is finished, generating a file list to be cleaned according to the stored junk file list and returning the file list to the user comprises the following steps:
if the terminal does not scan the junk files, judging whether the terminal stores a junk file list or not;
if the terminal stores a junk file list, judging whether the time interval from the previous file scanning to the current moment is greater than a fourth preset threshold value;
if the time interval from the previous file scanning to the current time is not greater than the fourth preset threshold, generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user;
and if the terminal does not store the garbage file list or the time interval from the previous file scanning to the current time is greater than the fourth preset threshold, scanning the garbage files again on the terminal, and after the scanning is finished, generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user.
The step of generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user comprises the following steps:
judging whether a first junk file in a junk file list exists in a pre-stored deleted junk file list or not, and if the first junk file in the junk file list exists in the deleted junk file list, judging whether the first junk file meets a preset recent deletion condition or not according to the pre-recorded deletion frequency and last deletion time of the first junk file;
and if the first junk file meets the preset recent deletion condition, deleting the first junk file in the junk file list to obtain a file list to be cleaned.
The step of judging whether the first junk file meets a preset recent deletion condition or not according to the pre-recorded deletion frequency and the last deletion time of the first junk file comprises the following steps:
and judging whether the time from the last deletion time of the first junk file to the current time interval is smaller than the product of the deletion frequency of the first junk file and a sixth preset threshold, if so, the first junk file meets the preset near-term deletion condition, otherwise, the first junk file does not meet the preset near-term deletion condition.
After generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user, the method further comprises the following steps:
after a deleting instruction for a second junk file is received, deleting the second junk file in a stored junk file list, and judging whether the second junk file is in a pre-stored deleted junk file list or not;
if the second junk file is not in the deleted junk file list, adding the second junk file to the deleted junk file list, and setting the deletion frequency of the second junk file to be 1;
if the second junk file is in the deleted junk file list, judging whether the size of the second junk file is the same as that of the corresponding junk file in the deleted junk file list, if so, setting the deletion frequency of the junk file to be added by 1, otherwise, updating the corresponding junk file of the second junk file in the deleted junk file list, and setting the deletion frequency of the second junk file to be 1.
In order to solve the above technical problem, an embodiment of the present invention further provides a device for processing a terminal file, including:
the monitoring module is used for monitoring battery use state information, system operation state information and historical file processing information of the terminal;
the judging module is used for judging whether the terminal meets a preset file scanning condition or not according to the battery use state information, the system operation state information and the historical file processing information;
and the scanning module is used for scanning the junk files of the terminal and storing a scanned junk file list if the terminal meets the preset file scanning condition.
The system comprises a system running state information acquisition module, a system running state information acquisition module and a system running state information acquisition module, wherein the battery running state information comprises charging state change information and battery residual capacity, the system running state information comprises screen lightening information or screen blanking information, and the historical file processing information comprises the time interval from previous file scanning to the current time;
the judging module comprises:
and the judging unit is used for judging that the terminal meets the preset file scanning condition when the terminal is charged by using an alternating current power supply, the residual battery capacity is greater than a first preset threshold, the terminal screen extinguishing duration is greater than a second preset threshold, and the time from the previous file scanning to the current moment interval is greater than a third preset threshold, otherwise, judging that the terminal does not meet the preset file scanning condition.
In order to solve the above technical problem, an embodiment of the present invention further provides a mobile terminal, including: the device for processing the terminal file as described in any one of the above.
The technical scheme of the invention has the following beneficial effects:
the method for processing the terminal file comprises the steps of monitoring battery use state information, system operation state information and historical file processing information of a terminal; then judging whether the terminal meets a preset file scanning condition or not according to the battery use state information, the system operation state information and the historical file processing information; and if the terminal meets the preset file scanning condition, scanning the junk files of the terminal, and storing a scanned junk file list. Therefore, by comprehensively considering the battery power of the terminal, the system running condition and the historical scanning condition, background junk file scanning can be realized when the terminal power is sufficient and the system is idle, the scanning period can be controlled, and the problems that the terminal is slow in response and even blocked easily, the performance of the terminal is influenced, more power is consumed, and the use of the user is seriously influenced due to the fact that scanning is performed too frequently or scanning is performed when the user uses the terminal are avoided. In addition, the scanned junk file list is stored, so that the junk file list can be rapidly displayed to a user when the user uses a space cleaning function, and the problem that the user waits too long for scanning and the use experience is influenced is solved. According to the method provided by the embodiment of the invention, the scanning processing mode is optimized and the user experience is improved by scanning the background junk files at a proper time.
Drawings
FIG. 1 is a flowchart of a method for processing a terminal file according to the present invention;
FIG. 2 is a flowchart of a specific implementation of the method for processing a terminal file according to the present invention;
FIG. 3 is a flowchart of another embodiment of a method for processing a terminal file according to the present invention;
FIG. 4 is a flowchart of another specific implementation of the method for processing a terminal file according to the present invention;
fig. 5 is a schematic structural diagram of a terminal file processing apparatus according to the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, the method for processing a terminal file according to the embodiment of the present invention includes:
step 101, monitoring battery use state information, system operation state information and historical file processing information of the terminal.
Here, by monitoring the battery use state of the terminal, the system operation state and the history file processing information, data support is provided for subsequent scanning judgment.
And step 102, judging whether the terminal meets a preset file scanning condition or not according to the battery use state information, the system operation state information and the historical file processing information.
Here, the terminal is controlled to perform garbage scanning timing by integrating various information such as the battery use state of the terminal, the system operation state and the history file processing, so that the background garbage scanning processing can be ensured to be performed on the premise of not influencing the terminal performance.
And 103, if the terminal meets the preset file scanning condition, scanning the junk files of the terminal, and storing a scanned junk file list.
Here, because the requirement on the real-time property of the space cleaning junk file is not high, when the terminal meets the preset file scanning condition, the background scans the junk in advance, and when the user enters the space cleaning page, the background scanning result is directly displayed, so that the junk scanning speed is displayed very fast, and the user experience can be greatly improved.
According to the terminal file processing method, the battery power of the terminal, the system operation condition and the historical scanning condition are comprehensively considered, background junk file scanning can be achieved when the terminal power is sufficient and the system is idle, the scanning period can be controlled, and the problems that the terminal response is slow and even the terminal is jammed easily, power consumption is high and the use of a user is seriously influenced due to the fact that scanning is performed too frequently or scanning is performed when the user uses the terminal are avoided. In addition, the scanned junk file list is stored, so that the junk file list can be rapidly displayed to a user when the user uses a space cleaning function, and the problem that the user waits too long for scanning and the use experience is influenced is solved. The method of the invention optimizes the scanning processing mode and improves the user experience by scanning the background junk files at proper time.
Specifically, the battery usage status information may include charging status change information and battery remaining capacity, the system operation status information may include screen on information or screen off information, and the historical file processing information may include a time interval between a previous file scan and a current time;
the step 102 may include:
when the terminal is charged by using an alternating current power supply, the residual electric quantity of the battery is larger than a first preset threshold value, the terminal screen extinguishing duration is larger than a second preset threshold value, and the time interval from the previous file scanning to the current moment is larger than a third preset threshold value, judging that the terminal meets the preset file scanning condition, otherwise, judging that the terminal does not meet the preset file scanning condition.
Here, in order to avoid the power consumption problem and not affect the normal use of the user, the garbage scanning is performed when the terminal is being charged by using the AC power, the remaining battery capacity is greater than the first preset threshold, the terminal screen-off duration is greater than the second preset threshold, and the time interval from the last scanning is a third preset threshold.
At this moment, the terminal screen-off can guarantee that the user does not use the application with higher requirements on the CPU at present, the terminal has sufficient electric quantity and is charging, the power consumption problem caused by scanning of the junk files can be effectively prevented, the service performance of the terminal can be fully guaranteed on the premise that the junk file scanning result is rapidly provided for the user, and the user experience is improved.
The first preset threshold, the second preset threshold and the third preset threshold may be set according to requirements, for example, the first preset threshold may be 40% or 50%, the second preset threshold may be 10 minutes, and the third preset threshold may be 1 day or 2 days.
The screen turning-off information may include screen turning-off time to determine whether the screen turning-off duration of the terminal is greater than a second preset threshold value in combination with the current time. Specifically, the current screen state can be recorded as a screen-off state when a terminal screen-off message is received, and the screen-off time is recorded; and recording the screen state as a bright screen state when receiving a terminal screen lightening message.
Similarly, after the terminal is scanned with the junk files, the scanning time can be recorded for the next time to judge whether the file scanning conditions are met.
Further, the charging state change information may include a start charging message or a stop charging message;
after the step 101, the method may further include:
step 104, after monitoring a message that a terminal starts to charge, starting a timer, and after the timer finishes timing, executing a step of judging whether the terminal meets a preset file scanning condition according to the battery use state information, the system operation state information and the historical file processing information;
here, the terminal system message is monitored first, after the terminal charging start message is monitored, the timer is started, and after the timing is finished, the step 102 is executed to determine whether the terminal meets the scanning condition.
In the step 102, only when the remaining power of the terminal battery is greater than the first preset threshold (e.g., 40%), it is determined that the terminal satisfies the preset file scanning condition, and then the garbage scanning operation is executed. Therefore, the terminal can be continuously charged during the timing period, and the waste of resources and the influence on the processing efficiency caused by repeatedly executing the step 102 under the condition of low residual capacity of the battery are avoided.
And 105, after monitoring the message that the terminal stops charging, closing the timer, and continuously monitoring the battery use state information, the system running state information and the historical file processing information of the terminal.
Here, if the terminal stops charging, the timer is turned off and the above-described step 101 is continuously performed.
Since the file scanning process is only performed during the charging process of the terminal in the step 102, the timer can be immediately closed after the terminal stops charging, and the step 102 is not required to be executed after the timer is timed out, so that the processing resource is further saved, and the processing efficiency is improved.
At this time, under the action of the timer, the terminal is continuously charged for a period of time and then judges whether the battery power of the terminal meets the scanning condition, so that the resource waste and the influence on the processing efficiency caused by repeatedly executing the step 102 under the condition of low battery power of the terminal are avoided, the processing resources are saved, and the processing efficiency is improved.
The timer timing time can be set according to requirements, for example, the timer timing time can be 10 minutes.
Further, after the step 102, the method may further include:
and 106, if the terminal is not charged by using the alternating current power supply, continuously monitoring the battery use state information, the system running state information and the historical file processing information of the terminal.
Here, when the terminal is charged by using an AC power supply, the terminal is scanned with the file, so that the problem of power consumption caused by file scanning for an excessively long time can be effectively avoided. When the terminal is not charged using the AC power, the above step 101 is continuously performed.
Step 107, if the remaining battery capacity is not greater than a first preset threshold, the terminal screen blanking duration is not greater than a second preset threshold, or the time between the previous file scanning and the current time interval is not greater than a third preset threshold, restarting the timer.
If the residual capacity of the battery of the terminal is not greater than the first preset threshold, the screen-off time is not greater than the second preset threshold or the previous scanning time is not greater than the third preset threshold, restarting the timer for timing, continuously charging the terminal during the timing period, and judging whether the file scanning condition is met again after the timing is finished.
At the moment, whether the terminal meets the file scanning condition or not can be judged at regular time under the condition that the terminal is charged by using an AC power supply through the action of the timer, so that the timely updating of scanning data and the effective use of a space cleaning function by a user are ensured.
For the Android mobile phone system, a broadcast receiver BroadcastReceiver of a broadcast message of a monitoring system can be registered through a function context. Specifically, the broadcast receiver can monitor:
initiate _ POWER _ CONNECTED message;
active _ POWER _ DISCONNECTED message stop charging;
active _ SCREEN _ ON; and
event _ SCREEN _ OFF message.
The following illustrates a specific implementation flow of the present invention with reference to the above contents:
as shown in fig. 2, the method for processing a terminal file according to the embodiment of the present invention includes:
step 201, waiting for a system message or a timer timing end message, executing step 202 when the system message is received, and executing step 206 when the timer timing end message is received;
step 202, judging whether the system message is a charging stop message, if so, closing the timer, then executing step 201, otherwise, continuing to execute step 203;
step 203, judging whether the system message is a charging start message, if so, executing step 2010; otherwise, go on to step 204;
step 204, judging whether the system message is a screen lightening message, if so, recording that the current screen state is a lightening state, executing step 201, otherwise, continuing to execute step 205;
step 205, judging whether the system message is a screen off message, if so, recording that the current screen state is an off screen state, recording the off screen time, executing step 201, otherwise, directly executing step 201;
step 206, judging whether the terminal is currently charged by using an AC charger, if so, continuing to execute step 207, otherwise, executing step 201;
step 207, judging whether the time interval from the previous file scanning to the current time is greater than 1 day, if so, continuing to execute step 208, otherwise, executing step 2010;
step 208, determining whether the remaining battery capacity is greater than 40%, if so, continuing to execute step 209, otherwise, executing step 2010;
step 209, judging that the terminal screen extinguishing duration is longer than 10 minutes, if so, executing step 2011, otherwise, executing step 2010;
step 2010, after restarting the timer, executing step 201;
step 2011, scanning the junk files of the terminal, saving the scanned junk file list, recording the current scanning time, and then executing step 201.
According to the terminal file processing method, the characteristics that the garbage scanning time is long but the real-time requirement is not high are considered, the garbage background scanning is triggered after the electric quantity is sufficient and the screen is turned off and charged for a period of time, the garbage scanning result is stored at most once every day, when a user uses a garbage cleaning function, the garbage file list is immediately displayed according to the stored result, the better user experience is achieved, and the problems of power consumption and the like are solved.
Preferably, the method may further comprise:
and step 108, after receiving an instruction of entering a junk file cleaning page, judging whether the terminal is performing scanning processing on the junk file.
And step 109, if the terminal is scanning the junk files, waiting for the scanning to be completed, generating a file list to be cleaned according to the stored junk file list, and returning the file list to the user.
Here, if the terminal is performing the scanning process of the junk file, the terminal may wait for the completion of the scanning and then return the scanning result to the user, so as to ensure the smooth proceeding of the scanning work.
Step 1010, if the terminal does not scan the junk files, generating a file list to be cleaned according to the junk file list stored in the terminal and returning the file list to the user, or scanning the junk files again on the terminal, and after the scanning is finished, generating a file list to be cleaned according to the stored junk file list and returning the file list to the user.
Here, if the terminal does not perform the scan processing of the junk file, the previous scan result or the scan result of the rescan may be returned to the user according to the history of the terminal scan.
At the moment, when the terminal performs scanning processing, the terminal waits for scanning completion, so that the scanning work is ensured to be smoothly performed, and a list to be cleaned is generated and displayed to a user, so that the user can conveniently clean the junk files, and the user experience is improved.
The situation that a user does not use an AC power supply for charging for a long time, and the screen is continuously turned on in the charging process can occur in the using process of the terminal, so that the background junk files are not scanned for a long time by applying the method provided by the invention. To solve this problem, preferably, the historical document processing information may include a time interval from a previous document scanning to a current time interval;
the step 1010 may include:
step 1011, if the terminal does not perform scanning processing of the junk files, judging whether the terminal stores a junk file list;
step 1012, if the terminal stores a junk file list, determining whether the time interval from the previous file scanning to the current time is greater than a fourth preset threshold;
step 1013, if the time interval between the previous file scanning and the current time is not greater than the fourth preset threshold, generating a file list to be cleaned according to the saved garbage file list and returning the file list to the user;
step 1014, if the terminal does not store the garbage file list or the time interval from the previous file scanning to the current time is greater than the fourth preset threshold, scanning the garbage file again on the terminal, and after the scanning is finished, generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user.
At this moment, when the terminal does not store the garbage file list or the previous scanning time exceeds a fourth preset threshold, the background garbage file scanning is performed again, and after the scanning is completed, the result is displayed to the user, so that the problem that the use of the space cleaning function by the user is influenced because the scanning condition is not met or the scanning result is not updated for a long time is avoided.
The fourth preset threshold may also be set according to a requirement, for example, the fourth preset threshold may be 3 days.
The following describes another specific implementation flow of the present invention with reference to the above contents:
as shown in fig. 3, the method for processing a terminal file according to the embodiment of the present invention includes:
step 301, when a user starts a junk file cleaning function, that is, after receiving an instruction of entering a junk file cleaning page, judging whether the terminal is performing scanning processing on junk files, if so, executing step 305, otherwise, continuing to execute step 302;
step 302, judging whether the terminal stores a junk file list, if so, continuing to execute step 303, otherwise, executing step 304;
step 303, judging whether the time interval from the previous file scanning to the current time is more than 3 days, if so, continuing to execute step 304, otherwise, executing step 306;
step 304, scanning the junk files again for the terminal;
step 305, waiting for the completion of scanning;
and step 306, after the scanning is finished, generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user.
According to the terminal file processing method, the to-be-cleaned garbage list is obtained from the stored garbage file list, can be rapidly displayed to a user, and is convenient for the user to clean garbage. When the junk file list cannot be obtained from the terminal or the last scanning junk time exceeds 3 days, re-scanning is triggered, and after the scanning is finished, the result is displayed to the user, so that the problem that the use of the user is influenced because the file scanning condition is not met all the time or the scanning result is not updated for a long time is solved.
For the garbage just deleted by some users, due to the requirement of common application, the garbage is downloaded and generated again, so that the garbage is scanned again in a short period, the feeling of unclean cleaning is provided for the users, and the user experience is reduced. And the part of junk files are cleaned and generated again, and are cyclically generated, so that slow application display can be caused, and resources such as flow, electric quantity and the like are consumed. To solve this problem, preferably, in step 109 or 1010, the step of generating a to-be-cleaned file list according to the saved garbage file list and returning the to-be-cleaned file list to the user may include:
step 1015, determining whether a junk file in the junk file list exists in a pre-stored deleted junk file list, and if a first junk file in the junk file list exists in the deleted junk file list, determining whether the first junk file meets a preset recent deletion condition according to a pre-recorded deletion frequency and a last deletion time of the first junk file.
Here, the junk file information can be saved in a database manner, such as a usable junk information database and a deleted junk information database, a junk file list is saved in the junk information database, and a deleted junk file list is saved in the deleted junk information database. When the user deletes the garbage, the deleted garbage items can be deleted in the garbage information database, and the garbage information is stored in the garbage information deletion database.
Of course, the junk file information can also be saved in other ways, such as file storage, etc.
Step 1016, if the first junk file meets the preset recent deletion condition, deleting the first junk file in the junk file list to obtain a file list to be cleaned.
Here, by filtering the garbage that the user has just recently deleted, the number of times that the file is generated in a cyclic manner by deletion can be reduced as much as possible.
At this time, the stored garbage file list is read firstly, then the garbage items deleted recently are read from the deleted garbage file list, and then the garbage items are deleted from the garbage file list to form a final garbage list to be cleaned, so that the frequency of deleting the files generated repeatedly is effectively reduced, the slow application display is avoided, the consumption of resources such as flow, electric quantity and the like is reduced, and the user experience is improved.
Preferably, the step 1015 may include:
step 10151, determining whether the time from the last deletion time of the first junk file to the current time interval is less than the product of the deletion frequency of the first junk file and a sixth preset threshold, if so, the first junk file meets the preset recent deletion condition, otherwise, the first junk file does not meet the preset recent deletion condition.
The sixth preset threshold may also be set according to a requirement, for example, the sixth preset threshold may be 3 days.
At the moment, a protection period of a period of time is set for files with more recent deletion times, frequent cleaning and generation are avoided, and user experience is improved.
Examples are as follows:
assuming that the sixth preset threshold is 3 days, and the deletion frequency of the first junk file is 2 times, the protection period of the first junk file is 6 days. Suppose that the last deletion time of the first junk file is 14 o 'clock 5/2 in 2013, and the current time is 14 o' clock 5/4 in 2103, i.e. the time between the last deletion time of the first junk file and the current time is 2 days. Through the step 10151, if the first junk file is still in the protection period, the first junk file needs to be deleted from the junk file list when the file list to be cleaned is generated.
Further, after generating a to-be-cleaned file list according to the saved garbage file list and returning the to-be-cleaned file list to the user, the method may further include:
step 1017, after receiving a delete instruction for the second junk file, deleting the second junk file in the stored junk file list, and determining whether the second junk file is in the pre-stored deleted junk file list.
Here, after receiving a deletion instruction of the user for the second junk file, the second junk file is deleted in the saved junk file list, and it is also necessary to determine whether the second junk file is in the deleted junk file list, so as to save the deletion condition of the second junk file according to the previous deletion record.
Step 1018, if the second junk file is not in the deleted junk file list, adding the second junk file to the deleted junk file list, and setting the deletion frequency of the second junk file to 1.
Here, if the second junk file is not in the deleted junk file list, indicating that the second junk file has not been deleted before, the number of times of deletion of the second junk file is set to 1.
Step 1019, if the second junk file is in the deleted junk file list, determining whether the size of the second junk file is the same as the size of the corresponding junk file in the deleted junk file list, if so, setting the deletion frequency of the junk file to be added by 1, otherwise, updating the corresponding junk file of the second junk file in the deleted junk file list, and setting the deletion frequency of the second junk file to be 1.
Here, if the second junk file is in the deleted junk file list and the size of the second junk file is the same as that of the corresponding junk file in the deleted file list, it indicates that the second junk file has been deleted before, and 1 is added to the deletion frequency; if the size of the second junk file is different from that of the corresponding junk file in the deleted file list, it is indicated that the regenerated second junk file is changed, the corresponding junk file of the second junk file in the deleted file list needs to be updated, and the deletion frequency is set to be 1.
At the moment, the deleted junk file list is combined, so that the effective recording of the deletion condition of the junk files is realized, and data support is provided for generating a file list to be cleaned and the like.
Specifically, information such as a file path, a file size, deletion time, and deletion frequency of the deleted junk file may be recorded in the deleted junk file list.
The following illustrates another specific implementation flow of the present invention with reference to the above contents:
as shown in fig. 4, the method for processing a terminal file according to the embodiment of the present invention includes:
step 401, waiting for a message, executing step 402 when receiving a scanning completion message, and executing step 403 when receiving a message of deleting the second junk file;
step 402, emptying the junk information database, saving the currently scanned junk file list into the junk information database, and then executing step 401;
step 403, deleting the second junk file from the junk file list;
step 404, judging whether the second junk file is in the deleted junk file list, if so, executing step 405, otherwise, executing step 406;
step 405, judging whether the size of the second junk file is the same as the size of the corresponding junk file in the deleted junk file list, if so, executing step 407, otherwise, executing step 408;
step 406, adding a second junk file to the deleted junk file list, recording a file path, a file size and deletion time of the second junk file, setting the deletion frequency as 1, and then executing step 401;
step 407, updating the deletion time of the second junk file in the deleted junk file list, setting the deletion frequency to add 1, and then executing step 401;
step 408, updating the record of the second junk file in the deleted junk file list, updating the file size and the deletion time, setting the deletion frequency as 1, and then executing step 401.
The terminal file processing method provided by the embodiment of the invention combines the file deletion frequency recorded by the deleted junk file, sets a protection period of a period of time for files with more recent deletion frequency, effectively reduces the frequency of deleting files generated repeatedly, avoids slow application display, reduces the consumption of resources such as flow and electric quantity, and improves the user experience.
To sum up, the method for processing the terminal file according to the embodiment of the present invention, in consideration of the characteristics of long garbage scanning time but low real-time requirement, triggers garbage background scanning after a period of time of sufficient electric quantity and off-screen charging, performs the garbage background scanning at most once every day, stores the garbage scanning result, and immediately displays the garbage file list after filtering the recently deleted files according to the stored result when the user uses the garbage cleaning function. The times of deleting the files generated circularly and repeatedly are effectively reduced; the problem that the terminal is slow in response and even blocked easily because scanning is carried out too frequently or when a user uses the terminal is avoided; meanwhile, brand new experience of quickly checking the junk file list is brought to the user, so that the user experience of the junk clearing function is effectively improved, and better user experience is achieved; and the purpose of saving electric quantity is realized, and the terminal performance is improved. The problem of user's wait for to scan rubbish time longer among the prior art, cause the cell-phone reaction slow or even block easily during the scanning, influence the cell-phone performance, and can lead to more electric quantity to consume, seriously influence user's use and experience is solved.
It should be understood that, for some functions that are time-consuming, power-consuming and have low real-time requirements, the method of the embodiment of the present invention may also be used to achieve the purpose of saving power, such as performing operations such as data synchronization, software download, etc., after the terminal has sufficient power and the screen is powered off and charged for a period of time.
As shown in fig. 5, an embodiment of the present invention further provides a device for processing a terminal file, including:
the monitoring module is used for monitoring battery use state information, system operation state information and historical file processing information of the terminal;
the judging module is used for judging whether the terminal meets a preset file scanning condition or not according to the battery use state information, the system operation state information and the historical file processing information;
and the scanning module is used for scanning the junk files of the terminal and storing a scanned junk file list if the terminal meets the preset file scanning condition.
According to the terminal file processing device, the battery power of the terminal, the system operation condition and the historical scanning condition are comprehensively considered, background junk file scanning can be achieved when the terminal power is sufficient and the system is idle, the scanning period can be controlled, and the problems that terminal response is slow and even the terminal is jammed easily, power consumption is high and use of a user is seriously affected due to the fact that scanning is performed frequently or scanning is performed when the user uses the terminal are avoided. In addition, the scanned junk file list is stored, so that the junk file list can be rapidly displayed to a user when the user uses a space cleaning function, and the problem that the user waits too long for scanning and the use experience is influenced is solved. The method of the invention optimizes the scanning processing mode and improves the user experience by scanning the background junk files at proper time.
Preferably, the battery usage status information includes charging status change information and battery remaining capacity, the system operation status information includes screen lighting information or screen blanking information, and the historical file processing information includes time between the previous file scanning and the current time interval;
the judging module may include:
and the judging unit is used for judging that the terminal meets the preset file scanning condition when the terminal is charged by using an alternating current power supply, the residual battery capacity is greater than a first preset threshold, the terminal screen extinguishing duration is greater than a second preset threshold, and the time from the previous file scanning to the current moment interval is greater than a third preset threshold, otherwise, judging that the terminal does not meet the preset file scanning condition.
Preferably, the charging state change information includes a start charging message or a stop charging message;
the apparatus may further include:
the starting timing module is used for monitoring a message that the terminal starts charging, starting a timer, and executing a step of judging whether the terminal meets a preset file scanning condition or not according to the battery use state information, the system operation state information and the historical file processing information after the timer is timed;
and the closing timing module is used for closing the timer after monitoring the message that the terminal stops charging, and continuously monitoring the battery use state information, the system running state information and the historical file processing information of the terminal.
Preferably, the apparatus may further include:
the first execution module is used for continuously monitoring the battery use state information, the system running state information and the historical file processing information of the terminal if the terminal is not charged by using the alternating current power supply;
and the second execution module is used for restarting the timer if the remaining battery capacity is not greater than a first preset threshold, the terminal screen blanking duration is not greater than a second preset threshold, or the time between the previous file scanning and the current time interval is not greater than a third preset threshold.
Preferably, the apparatus may further include:
the second judgment module is used for judging whether the terminal is scanning the junk files after receiving an instruction of entering the junk file cleaning page;
the first returning module is used for generating a file list to be cleaned according to the stored garbage file list and returning the file list to a user after the terminal waits for the scanning of the garbage files;
and the second returning module is used for generating a file list to be cleaned according to the garbage file list stored in the terminal and returning the file list to the user if the terminal does not scan the garbage files, or scanning the garbage files again on the terminal, and generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user after the scanning is finished.
Preferably, the historical file processing information includes the time interval from the previous file scanning to the current time;
the second return module includes:
a second judging unit, configured to judge whether a junk file list is stored in the terminal if the terminal does not perform scanning processing on the junk file;
a third judging unit, configured to judge whether a time interval between previous file scanning and current time is greater than a fourth preset threshold if the terminal stores a junk file list;
the first returning unit is used for generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user if the time interval from the previous file scanning to the current time is not greater than the fourth preset threshold;
and the second returning unit is used for carrying out scanning processing on the junk files again on the terminal if the junk file list is not stored in the terminal or the time interval from the previous file scanning to the current time is greater than the fourth preset threshold, generating a file list to be cleaned according to the stored junk file list after the scanning is finished, and returning the file list to the user.
Preferably, the first return module and the second return module respectively include:
a fourth judging unit, configured to judge whether a first junk file in a junk file list exists in a pre-stored deleted junk file list, and if the first junk file in the junk file list exists in the deleted junk file list, judge whether the first junk file meets a preset recent deletion condition according to a pre-recorded deletion frequency and last deletion time of the first junk file;
and the deleting unit is used for deleting the first junk file from the junk file list to obtain a file list to be cleaned if the first junk file meets the preset recent deleting condition.
Preferably, the fourth judging unit includes:
and the judging subunit is configured to judge whether the time interval from the last deletion time of the first junk file to the current time is smaller than the product of the deletion frequency of the first junk file and a sixth preset threshold, if so, the first junk file meets the preset near-term deletion condition, and otherwise, the first junk file does not meet the preset near-term deletion condition.
Preferably, the apparatus further comprises:
the deleting module is used for deleting the second junk file from the saved junk file list after receiving a deleting instruction of the second junk file and judging whether the second junk file is in a pre-saved deleted junk file list or not;
an adding module, configured to add the second junk file to the deleted junk file list if the second junk file is not in the deleted junk file list, and set the deletion frequency of the second junk file to 1;
a third determining module, configured to determine, if the second junk file is in the deleted junk file list, whether the size of the second junk file is the same as the size of a corresponding junk file in the deleted junk file list, if so, set the number of times of deletion of the junk file to be added by 1, otherwise, update the corresponding junk file of the second junk file in the deleted junk file list, and set the number of times of deletion of the second junk file to be 1.
The terminal file processing device of the embodiment of the invention effectively reduces the times of deleting the files generated circularly and repeatedly; the problem that the terminal is slow in response and even blocked easily because scanning is carried out too frequently or when a user uses the terminal is avoided; meanwhile, brand new experience of quickly checking the junk file list is brought to the user, so that the user experience of the junk clearing function is effectively improved, and better user experience is achieved; and the purpose of saving electric quantity is realized, and the terminal performance is improved. The problem of user's wait for to scan rubbish time longer among the prior art, cause the cell-phone reaction slow or even block easily during the scanning, influence the cell-phone performance, and can lead to more electric quantity to consume, seriously influence user's use and experience is solved.
The terminal file processing apparatus is an apparatus corresponding to the terminal file processing method, and all the implementation manners in the method embodiment are applicable to the embodiment of the apparatus, so that the same technical effects can be achieved.
Because the device for processing the terminal file in the embodiment of the present invention is applied to the mobile terminal, the embodiment of the present invention further provides a mobile terminal, including: the device for processing terminal files as described in the above embodiments. The implementation embodiments of the terminal file processing apparatus are all applicable to the embodiment of the mobile terminal, and the same technical effects can be achieved. The mobile terminal of the invention can be mobile electronic equipment such as a mobile phone, a tablet personal computer and the like.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for processing terminal files is characterized by comprising the following steps:
monitoring battery use state information, system operation state information and historical file processing information of the terminal;
judging whether the terminal meets a preset file scanning condition or not according to the battery use state information, the system operation state information and the historical file processing information;
if the terminal meets the preset file scanning condition, scanning junk files of the terminal, and storing a scanned junk file list;
after receiving an instruction of entering a junk file cleaning page, judging whether the terminal is scanning junk files;
if the terminal is scanning the junk files, waiting for the scanning to be completed, generating a file list to be cleaned according to the stored junk file list and returning the file list to the user;
if the terminal does not scan the junk files, generating a file list to be cleaned according to the junk file list stored by the terminal and returning the file list to the user, or scanning the junk files again on the terminal, waiting for the completion of scanning, generating a file list to be cleaned according to the stored junk file list and returning the file list to the user;
the step of generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user comprises the following steps:
judging whether a first junk file in a junk file list exists in a pre-stored deleted junk file list or not, and if the first junk file in the junk file list exists in the deleted junk file list, judging whether the first junk file meets a preset recent deletion condition or not according to the pre-recorded deletion frequency and last deletion time of the first junk file;
and if the first junk file meets the preset recent deletion condition, deleting the first junk file in the junk file list to obtain a file list to be cleaned.
2. The method according to claim 1, wherein the battery use status information includes charge status change information and battery remaining capacity, the system operation status information includes screen-on information or screen-off information, and the history file processing information includes a time from a previous file scanning to a current time interval;
the step of judging whether the terminal meets a preset file scanning condition according to the battery use state information, the system operation state information and the historical file processing information comprises the following steps:
when the terminal is charged by using an alternating current power supply, the residual electric quantity of the battery is larger than a first preset threshold value, the terminal screen extinguishing duration is larger than a second preset threshold value, and the time interval from the previous file scanning to the current moment is larger than a third preset threshold value, judging that the terminal meets the preset file scanning condition, otherwise, judging that the terminal does not meet the preset file scanning condition.
3. The method of claim 2, wherein the charging state change information comprises a start charging message or a stop charging message;
after the battery use state information, the system running state information and the historical file processing information of the monitoring terminal, the method further comprises the following steps:
after monitoring a message that a terminal starts charging, starting a timer, and after the timer finishes timing, executing a step of judging whether the terminal meets a preset file scanning condition according to the battery use state information, the system operation state information and the historical file processing information;
and after the terminal stops charging information is monitored, the timer is closed, and the battery use state information, the system running state information and the historical file processing information of the terminal are continuously monitored.
4. The method according to claim 3, wherein after determining whether the terminal satisfies a preset file scanning condition according to the battery usage status information, the system operation status information, and the historical file processing information, the method further comprises:
if the terminal is not charged by using the alternating current power supply, continuously monitoring battery use state information, system operation state information and historical file processing information of the terminal;
and if the residual battery capacity is not greater than a first preset threshold, the terminal screen extinguishing duration is not greater than a second preset threshold, or the time between the previous file scanning and the current time interval is not greater than a third preset threshold, restarting the timer.
5. The method of claim 1, wherein the historical document processing information includes a time since a previous document scan to a current time interval;
if the terminal does not scan the junk files, generating a file list to be cleaned according to the junk file list stored by the terminal and returning the file list to the user, or re-scanning the junk files on the terminal, and after the scanning is finished, generating a file list to be cleaned according to the stored junk file list and returning the file list to the user comprises the following steps:
if the terminal does not scan the junk files, judging whether the terminal stores a junk file list or not;
if the terminal stores a junk file list, judging whether the time interval from the previous file scanning to the current moment is greater than a fourth preset threshold value;
if the time interval from the previous file scanning to the current time is not greater than the fourth preset threshold, generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user;
and if the terminal does not store the garbage file list or the time interval from the previous file scanning to the current time is greater than the fourth preset threshold, scanning the garbage files again on the terminal, and after the scanning is finished, generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user.
6. The method according to claim 1, wherein the step of determining whether the first junk file meets a preset recent deletion condition according to the pre-recorded deletion times and the last deletion time of the first junk file comprises:
and judging whether the time from the last deletion time of the first junk file to the current time interval is smaller than the product of the deletion frequency of the first junk file and a sixth preset threshold, if so, the first junk file meets the preset near-term deletion condition, otherwise, the first junk file does not meet the preset near-term deletion condition.
7. The method according to claim 1 or 5, wherein after generating a to-be-cleaned file list according to the saved garbage file list and returning the to-be-cleaned file list to the user, the method further comprises:
after a deleting instruction for a second junk file is received, deleting the second junk file in a stored junk file list, and judging whether the second junk file is in a pre-stored deleted junk file list or not;
if the second junk file is not in the deleted junk file list, adding the second junk file to the deleted junk file list, and setting the deletion frequency of the second junk file to be 1;
if the second junk file is in the deleted junk file list, judging whether the size of the second junk file is the same as that of the corresponding junk file in the deleted junk file list, if so, setting the deletion frequency of the junk file to be added by 1, otherwise, updating the corresponding junk file of the second junk file in the deleted junk file list, and setting the deletion frequency of the second junk file to be 1.
8. An apparatus for processing a terminal file, comprising:
the monitoring module is used for monitoring battery use state information, system operation state information and historical file processing information of the terminal;
the judging module is used for judging whether the terminal meets a preset file scanning condition or not according to the battery use state information, the system operation state information and the historical file processing information;
the scanning module is used for scanning the junk files of the terminal and storing a scanned junk file list if the terminal meets the preset file scanning condition;
the second judgment module is used for judging whether the terminal is scanning the junk files after receiving an instruction of entering the junk file cleaning page;
the first returning module is used for generating a file list to be cleaned according to the stored garbage file list and returning the file list to a user after the terminal waits for the scanning of the garbage files;
the second returning module is used for generating a file list to be cleaned according to the garbage file list stored by the terminal and returning the file list to the user if the terminal does not scan the garbage files, or scanning the garbage files again on the terminal and generating a file list to be cleaned according to the stored garbage file list and returning the file list to the user after the scanning is finished;
the first return module and the second return module respectively include:
a fourth judging unit, configured to judge whether a first junk file in a junk file list exists in a pre-stored deleted junk file list, and if the first junk file in the junk file list exists in the deleted junk file list, judge whether the first junk file meets a preset recent deletion condition according to a pre-recorded deletion frequency and last deletion time of the first junk file;
and the deleting unit is used for deleting the first junk file from the junk file list to obtain a file list to be cleaned if the first junk file meets the preset recent deleting condition.
9. The apparatus of claim 8, wherein the battery use state information includes charge state change information and a battery remaining capacity, the system operation state information includes screen-on information or screen-off information, and the history file processing information includes a time from a previous file scanning to a current time interval;
the judging module comprises:
and the judging unit is used for judging that the terminal meets the preset file scanning condition when the terminal is charged by using an alternating current power supply, the residual battery capacity is greater than a first preset threshold, the terminal screen extinguishing duration is greater than a second preset threshold, and the time from the previous file scanning to the current moment interval is greater than a third preset threshold, otherwise, judging that the terminal does not meet the preset file scanning condition.
10. A mobile terminal, comprising: an apparatus for terminal file processing according to any of claims 8-9.
CN201610348255.6A 2016-05-24 2016-05-24 Terminal file processing method and device and mobile terminal Active CN107423300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610348255.6A CN107423300B (en) 2016-05-24 2016-05-24 Terminal file processing method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610348255.6A CN107423300B (en) 2016-05-24 2016-05-24 Terminal file processing method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN107423300A CN107423300A (en) 2017-12-01
CN107423300B true CN107423300B (en) 2021-12-28

Family

ID=60422151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610348255.6A Active CN107423300B (en) 2016-05-24 2016-05-24 Terminal file processing method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107423300B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109407006A (en) * 2018-09-18 2019-03-01 深圳市新威尔电子有限公司 Battery detecting data display method, display terminal and readable storage medium storing program for executing
CN110609598A (en) * 2019-09-02 2019-12-24 Oppo广东移动通信有限公司 Data scanning method, mobile terminal and non-volatile computer-readable storage medium
CN112000626B (en) * 2020-08-14 2022-11-29 苏州浪潮智能科技有限公司 File processing method and system for file server

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119557A (en) * 2007-09-07 2008-02-06 深圳华为通信技术有限公司 Data deleting method and terminal
CN102332005A (en) * 2011-08-02 2012-01-25 中兴通讯股份有限公司 Dynamic adaptive garbage cleaning method and system
CN103064675A (en) * 2012-12-24 2013-04-24 广东欧珀移动通信有限公司 Method and device for cleaning up redundant files in mobile terminal automatically
CN103544318A (en) * 2013-11-05 2014-01-29 浪潮(北京)电子信息产业有限公司 Document management method of cloud data center
CN103631934A (en) * 2013-12-06 2014-03-12 贝壳网际(北京)安全技术有限公司 Garbage-file detecting method and device
CN103870750A (en) * 2012-12-12 2014-06-18 腾讯科技(武汉)有限公司 Method and device for achieving device safety scanning in browser
CN104391743A (en) * 2014-11-26 2015-03-04 北京奇虎科技有限公司 Method and device for optimizing running speed of mobile terminal
CN104391850A (en) * 2014-07-31 2015-03-04 珠海市君天电子科技有限公司 Method and device for cleaning garbage files of disks, and terminal device
CN104462264A (en) * 2014-11-21 2015-03-25 北京奇虎科技有限公司 Method and device for clearing junk files in operating system
CN104484212A (en) * 2014-12-30 2015-04-01 福州瑞芯微电子有限公司 Method and device for installing and deleting external storage files

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013083942A (en) * 2011-09-30 2013-05-09 Sanyo Electric Co Ltd Projection type image display apparatus and image display method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119557A (en) * 2007-09-07 2008-02-06 深圳华为通信技术有限公司 Data deleting method and terminal
CN102332005A (en) * 2011-08-02 2012-01-25 中兴通讯股份有限公司 Dynamic adaptive garbage cleaning method and system
CN103870750A (en) * 2012-12-12 2014-06-18 腾讯科技(武汉)有限公司 Method and device for achieving device safety scanning in browser
CN103064675A (en) * 2012-12-24 2013-04-24 广东欧珀移动通信有限公司 Method and device for cleaning up redundant files in mobile terminal automatically
CN103544318A (en) * 2013-11-05 2014-01-29 浪潮(北京)电子信息产业有限公司 Document management method of cloud data center
CN103631934A (en) * 2013-12-06 2014-03-12 贝壳网际(北京)安全技术有限公司 Garbage-file detecting method and device
CN104391850A (en) * 2014-07-31 2015-03-04 珠海市君天电子科技有限公司 Method and device for cleaning garbage files of disks, and terminal device
CN104462264A (en) * 2014-11-21 2015-03-25 北京奇虎科技有限公司 Method and device for clearing junk files in operating system
CN104391743A (en) * 2014-11-26 2015-03-04 北京奇虎科技有限公司 Method and device for optimizing running speed of mobile terminal
CN104484212A (en) * 2014-12-30 2015-04-01 福州瑞芯微电子有限公司 Method and device for installing and deleting external storage files

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"面向NAND 闪存的数据安全删除研究";李杰 等;《计算机应用与软件》;20160215;第33卷(第2期);第77-80页 *

Also Published As

Publication number Publication date
CN107423300A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
EP2977854B1 (en) Method, apparatus, and user terminal for removing malicious power consuming application
KR20150104617A (en) Method, device and terminal equipment for cleaning up memory
CN103064716B (en) The method of mobile terminal device fast discharging application program
CN107423300B (en) Terminal file processing method and device and mobile terminal
WO2016041468A1 (en) Wakeup method, device and terminal
CN105095107A (en) Buffer memory data cleaning method and apparatus
CN105677477A (en) Method and device for optimizing application program resources and electronic equipment
CN103324549A (en) Method for realizing sleep standby and communication terminal
CN105388990A (en) Power saving processing method and apparatus for terminal device
CN108040292A (en) Television standby starting-up method, TV and computer-readable recording medium
CN102937990A (en) Method and device for cleaning files
CN106155777A (en) A kind of background application managing device, terminal and background application management method
CN101442574A (en) Prompting method, apparatus and mobile terminal
US20120007565A1 (en) Charging apparatus, and charge control method
CN107436672B (en) Application processing method and terminal
CN103544055A (en) Method for collecting resource demand data, and method and system for stably running application programs
CN105573782B (en) A kind of software pre-add support method for transparent wearable smart machine
CN103260224A (en) Mobile terminal and method for achieving refreshing of charging animation during charging
CN105868057B (en) A kind of method, apparatus and mobile terminal of data processing
CN103377071B (en) A kind of batch data delet method and system
CN104348140A (en) Low electric quantity prompting method and electronic equipment
CN105893867A (en) Terminal equipment operation method and terminal equipment
CN112487316A (en) Method and terminal for closing tab page in browser
CN106201464A (en) A kind of application icon processing method freezing application and mobile terminal
CN102957785A (en) System and method for deleting files in mobile phone memory space

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
GR01 Patent grant
GR01 Patent grant