CN105893600A - Method and device for cleaning up useless files based on mobile terminal - Google Patents

Method and device for cleaning up useless files based on mobile terminal Download PDF

Info

Publication number
CN105893600A
CN105893600A CN201610248950.5A CN201610248950A CN105893600A CN 105893600 A CN105893600 A CN 105893600A CN 201610248950 A CN201610248950 A CN 201610248950A CN 105893600 A CN105893600 A CN 105893600A
Authority
CN
China
Prior art keywords
garbage files
mobile terminal
cleaning
file
preset
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
CN201610248950.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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610248950.5A priority Critical patent/CN105893600A/en
Publication of CN105893600A publication Critical patent/CN105893600A/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/17Details of further file system functions
    • G06F16/1727Details of free space management performed by the file system
    • 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
    • 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/17Details of further file system functions
    • G06F16/1737Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention is applicable to the technical field of smart mobile terminals, and provides a method and a device for cleaning up useless files based on a mobile terminal. The method comprises the steps of screening out target useless files from the useless files according to preset categories of the useless files, and cleaning up the selected the target useless files. By means of automatically screening and cleaning up the useless files, the method and the device solve the problem that in the prior art, the useless files can be cleaned up after the categories of the useless files are confirmed by a user; the useless files are automatically cleaned up on the premise of not influencing the use of the mobile terminal, so that the convenience of operation is improved, and user experience is effectively improved.

Description

A kind of cleaning garbage files method and device based on mobile terminal
Technical field
The invention belongs to intelligent mobile terminal technical field, particularly relate to a kind of rubbish based on mobile terminal literary composition Part method for cleaning and device.
Background technology
Along with the fast development of intelligent mobile terminal correlation technique, the intelligent mobile terminal such as mobile phone is people Life in more and more universal, greatly facilitate life and the recreation, study of people.Mobile phone is using one section After time, can produce some garbage files, these garbage files need to clear up timely, otherwise can affect The normal use of mobile phone.At this time, user will require a great deal of time and energy is looked for and deletes rubbish Rubbish file, then for meeting the needs of user, cleaning garbage files technology is developed.But, Existing cleaning garbage files technology, is required for user when of cleaning every time and confirms the classification of garbage files, Adding loaded down with trivial details operation to user, Consumer's Experience is the best.
Summary of the invention
The technical problem to be solved is to provide a kind of cleaning garbage files side based on mobile terminal Method and device, it is intended to solving the garbage files of mobile terminal in prior art needs to confirm rubbish literary composition by user The problem that the kind of part could be cleared up.
The present invention is achieved in that a kind of cleaning garbage files method based on mobile terminal, described method Including:
According to preset garbage files classification, garbage files filters out target garbage files;
The described target garbage files that cleaning filters out.
Further, described according to the preset garbage files classification allowing cleaning, before garbage screen file Including:
Whether detection current time is the period in leisure that mobile terminal is preset;
The most then according to preset garbage files classification, garbage files filters out target garbage files.
Further, described detection current time includes before being whether the period in leisure that mobile terminal is preset:
The user that record the detects operation to described mobile terminal;
Operation according to record, application program corresponding to described operation and the operation duration of described application program, Determine and preserve the period in leisure of described mobile terminal.
Further, described according to preset garbage files classification, garbage files filters out target rubbish Include before file:
Garbage files described in store path according to file or file name identification.
Further, described include according to garbage files described in file name identification:
The title of file to be matched is mated with the title in preset garbage files name storehouse;
File to be matched corresponding for the title that the match is successful is confirmed as described garbage files.
Present invention also offers a kind of cleaning garbage files device based on mobile terminal, described device includes:
Screening module, for according to preset garbage files classification, filters out target rubbish in garbage files File;
Cleaning module, the described target garbage files filtered out for cleaning.
Further, described device also includes:
Whether detection module, be mobile terminal preset period in leisure for detecting current time;
Described screening module, if being additionally operable to detect, current time is for mobile terminal preset period in leisure, Then according to preset garbage files classification, garbage files filters out target garbage files.
Further, described device also includes:
Logging modle, for recording the user the detected operation to described mobile terminal;
Determine module, for the operation according to record, application program corresponding to described operation and described application The operation duration of program, determines and preserves the period in leisure of described mobile terminal.
Further, described device also includes:
Identification module, for garbage files described in the store path according to file or file name identification.
Further, described identification module includes:
Matching module, for entering the title of file to be matched with the title in preset garbage files name storehouse Row coupling;
Identify submodule, for file to be matched corresponding for the title that the match is successful being confirmed as described rubbish literary composition Part.
Knowable to the invention described above embodiment, the present invention is by according to preset garbage files classification, at rubbish File filters out target garbage files, and clears up the target garbage files filtered out, compared to prior art, The present invention is by automatic screening and clears up garbage files, and solving garbage files of the prior art needs to pass through User confirms the problem that the kind of garbage files could be cleared up, on the premise of not affecting mobile terminal use, Automatically clear up garbage files, improve the convenience of operation, effectively improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those skilled in the art, do not paying wound On the premise of the property made is laborious, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structured flowchart of a kind of mobile terminal;
Fig. 2 is the realization of the cleaning garbage files method based on mobile terminal that first embodiment of the invention provides Schematic flow sheet;
Fig. 3 is the reality of the cleaning garbage files method based on mobile terminal that second embodiment of the invention provides Existing schematic flow sheet;
Fig. 4 is the reality of the cleaning garbage files method based on mobile terminal that third embodiment of the invention provides Existing schematic flow sheet;
Fig. 5 is the structure of the cleaning garbage files device based on mobile terminal that fourth embodiment of the invention provides Schematic diagram;
Fig. 6 is the structure of the cleaning garbage files device based on mobile terminal that fifth embodiment of the invention provides Schematic diagram;
Fig. 7 is the structure of the cleaning garbage files device based on mobile terminal that sixth embodiment of the invention provides Schematic diagram.
Detailed description of the invention
For making the goal of the invention of the present invention, feature, the advantage can be the most obvious and understandable, below will knot Close the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely retouched State, it is clear that described embodiment is only a part of embodiment of the present invention, and not all embodiments.Base Embodiment in the present invention, those skilled in the art are obtained under not making creative work premise Every other embodiment, broadly falls into the scope of protection of the invention.
The technical problem to be solved is to provide a kind of cleaning garbage files side based on mobile terminal Method and device, it is intended to solving the garbage files of mobile terminal in prior art needs to confirm rubbish literary composition by user The problem that the kind of part could be cleared up.
Fig. 1 shows the structured flowchart of a kind of mobile terminal.The embodiment of the present invention provide based on mobile terminal Cleaning garbage files method can be applicable in mobile terminal 10 as shown in Figure 1, mobile terminal 10 is permissible But be not limited to include: battery need to be relied on to remain properly functioning and support network and the smart mobile phone of download function, Notebook, panel computer, wearing smart machine etc..
As it is shown in figure 1, mobile terminal 10 includes memorizer 101, storage control 102, one or many Individual (only illustrating one in figure) processor 103, Peripheral Interface 104, radio-frequency module 105, button mould Block 106, audio-frequency module 107 and Touch Screen 108.These assemblies are total by one or more communication The mutual communication of line/holding wire 110.
Being appreciated that the structure shown in Fig. 1 is only signal, the structure of mobile terminal is not caused limit by it Fixed.Mobile terminal 10 may also include the assembly more or more less than shown in Fig. 1, or has and figure Configurations different shown in 1.Each assembly shown in Fig. 1 can use hardware, software or a combination thereof to realize.
Memorizer 101 can be used for storing software program and module, as in the embodiment of the present invention based on shifting Moving programmed instruction/module that the cleaning garbage files method and device of terminal is corresponding, processor 103 passes through Run and be stored in the software program in memorizer 101 and module, thus perform the application of various function and Data process, and i.e. realize the cleaning garbage files method of above-mentioned mobile terminal 10.
Memorizer 101 can include high speed random access memory, may also include nonvolatile memory, such as one Or multiple magnetic storage devices, flash memory or other non-volatile solid state memories.At some examples In, memorizer 101 can farther include the memorizer remotely located relative to processor 103, and these are remote Journey memorizer can be connected to mobile terminal 10 by network.The example of above-mentioned network includes but not limited to The Internet, intranet, LAN, mobile radio communication and combinations thereof.Processor 103 and other The access of memorizer 101 can be carried out under the control of storage control 102 by possible assembly.
Various input/output devices are coupled to CPU and memorizer 101 by Peripheral Interface 104.Process Various softwares in device 103 run memory 101, instruction are to perform the various functions of mobile terminal 10 And carry out data process.
In certain embodiments, Peripheral Interface 104, processor 103 and storage control 102 are permissible One single chip realizes.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 105 is used for receiving and sending electromagnetic wave, it is achieved electromagnetic wave mutually turns with the signal of telecommunication Change, thus carry out communication with communication network or other equipment.Radio-frequency module 105 can include various existing For performing the component of these functions, such as, antenna, RF transceiver, Digital Signal Processing Device, encryption/deciphering chip, subscriber identity module (SIM) card, memorizer etc..Radio-frequency module 105 Communication can be carried out with various networks such as the Internet, intranet, the wireless network of preset type or lead to The wireless network crossing preset type carries out communication with other equipment.The wireless network of above-mentioned preset type can Including cellular telephone networks, WLAN or Metropolitan Area Network (MAN).The wireless network of above-mentioned preset type can To use various communication standards, agreement and technology, include, but are not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhancement mode mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple Access, W-CDMA), CDMA (Code Division Access, CDMA), tdma (Time Division Multiple Access, TDMA), Bluetooth, adopting wireless fidelity technology (Wireless-Fidelity, WiFi) is (such as U.S. electric and Electronics Engineer Association criterion IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), The networking telephone (Voice over Internet Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other are used for mail, IMU News and the agreement of short message, and any other suitable communications protocol.
Key-press module 106 provides user to carry out the interface inputted to mobile terminal, and user can be by pressing not Same button is so that mobile terminal 10 performs different functions.
Audio-frequency module 107 provides a user with audio interface, its can include one or more mike, one or The multiple speaker of person and voicefrequency circuit.Voicefrequency circuit receives voice data at Peripheral Interface 104, by sound Sound data are converted to electrical information, transmit electrical information to speaker.Electrical information is converted to human ear energy by speaker The sound wave heard.Voicefrequency circuit also receives electrical information at mike, converts electrical signals to voice data, And by data transmission in network telephony to Peripheral Interface 104 to be further processed.Voice data can be from depositing Obtain at reservoir 101 or by radio-frequency module 105.Additionally, voice data can also store to memorizer It is transmitted in 101 or by radio-frequency module 105.In some instances, audio-frequency module 107 also can wrap Include an earphone and broadcast hole, for providing audio interface to earphone or other equipment.
Touch Screen 108 provides an output and inputting interface between mobile terminal and user simultaneously.Tool Body ground, Touch Screen 108 displays to the user that video frequency output, the content of these video frequency output can include word, Figure, video and combination in any thereof.Some output results correspond to some user interface object.Touch Control screen 108 also receives the input of user, the gesture operation such as the click of such as user, slip, in order to use The input of these users is responded by family interface object.The technology of detection user's input can be based on electricity Resistive, condenser type or other the most possible touch control detection technology.Touch Screen 108 display unit Instantiation includes, but are not limited to liquid crystal display or light emitting polymer displays.
Refer to the garbage files based on mobile terminal that Fig. 2, Fig. 2 provide for first embodiment of the invention clear Reason method realize schematic flow sheet.The cleaning garbage files method based on mobile terminal that the present embodiment provides Can be applicable to, in mobile terminal 10 as shown in Figure 1, mainly comprise the steps that
S201, according to preset garbage files classification, garbage files filters out target garbage files;
In embodiments of the present invention, mobile terminal possesses the function of cleaning garbage files, and concrete is whole for moving Cleaning garbage files program on end, user, when using mobile terminal, if desired carries out the clear of garbage files Reason, can start the cleaning garbage files application program on mobile terminal, and apply at this cleaning garbage files After program starts, user is optional manually to clear up or automatically clears up, when user selects automatically to clear up, This application program, by according to preset garbage files classification, filters out target garbage files in garbage files.
Preset garbage files classification refers to the garbage files classification allowing cleaning automatically that user pre-sets, The garbage files classification all have to cleared up when every time clearing up rubbish can be pre-set by user, starts When automatically clearing up, application program will select the garbage files of these types for user's Automatic sieve, and directly enters Row cleaning, it is to avoid when user clears up every time, these garbage files that must clear up will be chosen, it is to avoid numerous Operate trivially.
This target garbage files that S202, cleaning filter out.
System is after filtering out target garbage files, it will clear up this target garbage files filtered out at once.
The cleaning garbage files method based on mobile terminal that the embodiment of the present invention provides, by according to preset Garbage files classification, filters out target garbage files in garbage files, and clears up the target rubbish filtered out File, compared to prior art, the present invention is by automatic screening and clears up garbage files, solves existing skill Garbage files in art needs to confirm, by user, the problem that the kind of garbage files could be cleared up, and is not affecting On the premise of mobile terminal uses, automatically clear up garbage files, improve the convenience of operation, effectively change It is apt to Consumer's Experience.
Refer to the garbage files based on mobile terminal that Fig. 3, Fig. 3 provide for second embodiment of the invention clear Reason method realize schematic flow sheet.The cleaning garbage files method based on mobile terminal that the present embodiment provides Can be applicable to, in mobile terminal 10 as shown in Figure 1, mainly comprise the steps that
The user that S301, record the detect operation to mobile terminal;
When mobile terminal is operated by user, mobile terminal will detect and record the operation of this user.
It should be noted that this detection the user operation that records, the operation that carries out including user, this operation The corresponding application program run and the operation duration of this application program.
S302, operation, application program corresponding to this operation and this application program according to record operation time Long, determine and preserve the period in leisure of this mobile terminal;
By detecting and record operation, the application program of this operation correspondence operation and this application that user is carried out The operation duration of program, system will can determine whether that user uses the period in leisure of mobile terminal, and preserve this and determine Period in leisure.
In the present embodiment, the period in leisure refer to user without using the period of mobile terminal, at mobile terminal Period in leisure garbage files is cleared up, it is to avoid carry out garbage files when user uses mobile terminal Cleaning, take system running memory, cause system card to pause, reduce Consumer's Experience problem.
Whether S303, detection current time are the period in leisure that mobile terminal is preset;
S304, the most then according to store path or this garbage files of file name identification of file;
If testing result is current time is this period in leisure, then according to store path or the file name of file Identify this garbage files.The recognition methods of garbage files generally comprises two kinds, and a kind of is the storage by file Path identifies garbage files, and the garbage files of system would generally leave in the file of fixed position, because of This can search in the file of this fixed position and identify garbage files;Another kind is the name according to file Claim to identify garbage files.
S305, according to preset garbage files classification, garbage files filters out target garbage files;
In embodiments of the present invention, mobile terminal possesses the function of cleaning garbage files, and concrete is whole for moving Cleaning garbage files program on end, user, when using mobile terminal, if desired carries out the clear of garbage files Reason, can start the cleaning garbage files application program on mobile terminal, and apply at this cleaning garbage files After program starts, user is optional manually to clear up or automatically clears up, when user selects automatically to clear up, This application program, by according to preset garbage files classification, filters out target garbage files in garbage files.
Preset garbage files classification refers to the garbage files classification allowing cleaning automatically that user pre-sets, The garbage files classification all have to cleared up when every time clearing up rubbish can be pre-set by user, starts When automatically clearing up, application program will select the garbage files of these types for user's Automatic sieve, and directly enters Row cleaning, it is to avoid when user clears up every time, these garbage files that must clear up will be chosen, it is to avoid numerous Operate trivially.
This target garbage files that S306, cleaning filter out.
System is after filtering out target garbage files, it will clear up this target garbage files filtered out at once.
The cleaning garbage files method based on mobile terminal that the embodiment of the present invention provides, by according to preset Garbage files classification, filters out target garbage files in garbage files, and clears up the target rubbish filtered out File, compared to prior art, the present invention is by automatic screening and clears up garbage files, solves existing skill Garbage files in art needs to confirm, by user, the problem that the kind of garbage files could be cleared up, and is not affecting On the premise of mobile terminal uses, automatically clear up garbage files, improve the convenience of operation, effectively change It is apt to Consumer's Experience.
Refer to the garbage files based on mobile terminal that Fig. 4, Fig. 4 provide for third embodiment of the invention clear Reason method realize schematic flow sheet.The cleaning garbage files method based on mobile terminal that the present embodiment provides Can be applicable to, in mobile terminal 10 as shown in Figure 1, mainly comprise the steps that
The user that S401, record the detect operation to mobile terminal;
When mobile terminal is operated by user, mobile terminal will detect and record the operation of this user.
It should be noted that this detection the user operation that records, the operation that carries out including user, this operation The corresponding application program run and the operation duration of this application program.
S402, operation, application program corresponding to this operation and this application program according to record operation time Long, determine and preserve the period in leisure of this mobile terminal;
By detecting and record operation, the application program of this operation correspondence operation and this application that user is carried out The operation duration of program, system will can determine whether that user uses the period in leisure of mobile terminal, and preserve this and determine Period in leisure.
In the present embodiment, the period in leisure refer to user without using the period of mobile terminal, at mobile terminal Period in leisure garbage files is cleared up, it is to avoid carry out garbage files when user uses mobile terminal Cleaning, take system running memory, cause system card to pause, reduce Consumer's Experience problem.
Whether S403, detection current time are the period in leisure that mobile terminal is preset;
S404, the most then the title of file to be matched is entered with the title in preset garbage files name storehouse Row coupling;
If testing result is current time is this period in leisure, then according to file name identification garbage files.Tool Body ground, in embodiments of the present invention, the title according to file is identified garbage files by system.The most preset The title of garbage files, and set up garbage files name storehouse, then by title and the garbage files of file to be matched In name storehouse, preset garbage files title is mated.
S405, file to be matched corresponding for the title that the match is successful is confirmed as this garbage files;
If the garbage files name-matches success that the title of file to be matched is preset with garbage files name storehouse, will Garbage files confirmed as by file to be matched corresponding to this title.
S406, according to preset garbage files classification, garbage files filters out target garbage files;
In embodiments of the present invention, mobile terminal possesses the function of cleaning garbage files, and concrete is whole for moving Cleaning garbage files program on end, user, when using mobile terminal, if desired carries out the clear of garbage files Reason, can start the cleaning garbage files application program on mobile terminal, and apply at this cleaning garbage files After program starts, user is optional manually to clear up or automatically clears up, when user selects automatically to clear up, This application program, by according to preset garbage files classification, filters out target garbage files in garbage files.
Preset garbage files classification refers to the garbage files classification allowing cleaning automatically that user pre-sets, The garbage files classification all have to cleared up when every time clearing up rubbish can be pre-set by user, starts When automatically clearing up, application program will select the garbage files of these types for user's Automatic sieve, and directly enters Row cleaning, it is to avoid when user clears up every time, these garbage files that must clear up will be chosen, it is to avoid numerous Operate trivially.
This target garbage files that S407, cleaning filter out.
System is after filtering out target garbage files, it will clear up this target garbage files filtered out at once.
The cleaning garbage files method based on mobile terminal that the embodiment of the present invention provides, by according to preset Garbage files classification, filters out target garbage files in garbage files, and clears up the target rubbish filtered out File, compared to prior art, the present invention is by automatic screening and clears up garbage files, solves existing skill Garbage files in art needs to confirm, by user, the problem that the kind of garbage files could be cleared up, and is not affecting On the premise of mobile terminal uses, automatically clear up garbage files, improve the convenience of operation, effectively change It is apt to Consumer's Experience.
Referring to Fig. 5, Fig. 5 is that the garbage files based on mobile terminal that fourth embodiment of the invention provides is clear The structural representation of reason device, for convenience of description, illustrate only the part relevant to the embodiment of the present invention. The cleaning garbage files device based on mobile terminal of Fig. 5 example can be the base that aforementioned first embodiment provides In the executive agent of the cleaning garbage files method of mobile terminal, it can be mobile terminal or therein Individual functional module.The cleaning garbage files device based on mobile terminal of Fig. 5 example, specifically includes that screening Module 501 and cleaning module 502.Each functional module describes in detail as follows:
Screening module 501, for according to preset garbage files classification, filters out target in garbage files Garbage files.
In embodiments of the present invention, mobile terminal possesses the function of cleaning garbage files, and concrete is whole for moving Cleaning garbage files program on end, user, when using mobile terminal, if desired carries out the clear of garbage files Reason, can start the cleaning garbage files application program on mobile terminal, and apply at this cleaning garbage files After program starts, user is optional manually to clear up or automatically clears up, when user selects automatically to clear up, This application program, by according to preset garbage files classification, filters out target garbage files in garbage files.
Preset garbage files classification refers to the garbage files classification allowing cleaning automatically that user pre-sets, The garbage files classification all have to cleared up when every time clearing up rubbish can be pre-set by user, starts When automatically clearing up, application program will select the garbage files of these types for user's Automatic sieve, and directly enters Row cleaning, it is to avoid when user clears up every time, these garbage files that must clear up will be chosen, it is to avoid numerous Operate trivially.
Cleaning module 502, this target garbage files filtered out for cleaning.
System is after filtering out target garbage files, it will clear up this target garbage files filtered out at once.
In embodiments of the present invention, mobile terminal possesses the function of cleaning garbage files, and concrete is whole for moving Cleaning garbage files program on end, user, when using mobile terminal, if desired carries out the clear of garbage files Reason, can start the cleaning garbage files application program on mobile terminal, and apply at this cleaning garbage files After program starts, user is optional manually to clear up or automatically clears up, when user selects automatically to clear up, This application program, by according to preset garbage files classification, filters out target garbage files in garbage files, And clear up the target garbage files filtered out.
Preset garbage files classification refers to the garbage files classification allowing cleaning automatically that user pre-sets, The garbage files classification all have to cleared up when every time clearing up rubbish can be pre-set by user, starts When automatically clearing up, application program will select the garbage files of these types for user's Automatic sieve, and directly enters Row cleaning, it is to avoid when user clears up every time, these garbage files that must clear up will be chosen, it is to avoid numerous Operate trivially.
The cleaning garbage files device based on mobile terminal that the embodiment of the present invention provides, by according to preset Garbage files classification, filters out target garbage files in garbage files, and clears up the target rubbish filtered out File, compared to prior art, the present invention is by automatic screening and clears up garbage files, solves existing skill Garbage files in art needs to confirm, by user, the problem that the kind of garbage files could be cleared up, and is not affecting On the premise of mobile terminal uses, automatically clear up garbage files, improve the convenience of operation, effectively change It is apt to Consumer's Experience.
Referring to Fig. 6, Fig. 6 is that the garbage files based on mobile terminal that fifth embodiment of the invention provides is clear The structural representation of reason device, for convenience of description, illustrate only the part relevant to the embodiment of the present invention. The cleaning garbage files device based on mobile terminal of Fig. 6 example can be the base that aforementioned second embodiment provides In the executive agent of the cleaning garbage files method of mobile terminal, it can be mobile terminal or therein Individual functional module.The device arranging application model based on mobile terminal of Fig. 6 example, specifically includes that note Record module 601, determine module 602, detection module 603, identification module 604, screening module 605 and Cleaning module 606.Each functional module describes in detail as follows:
Logging modle 601, for recording the user the detected operation to mobile terminal.
When mobile terminal is operated by user, mobile terminal will detect and record the operation of this user.
It should be noted that this detection the user operation that records, the operation that carries out including user, this operation The corresponding application program run and the operation duration of this application program.
Determine module 602, for the operation according to record, application program corresponding to this operation and this application The operation duration of program, determines and preserves the period in leisure of this mobile terminal.
By detecting and record operation, the application program of this operation correspondence operation and this application that user is carried out The operation duration of program, system will can determine whether that user uses the period in leisure of mobile terminal, and preserve this and determine Period in leisure.
In the present embodiment, the period in leisure refer to user without using the period of mobile terminal, at mobile terminal Period in leisure garbage files is cleared up, it is to avoid carry out garbage files when user uses mobile terminal Cleaning, take system running memory, cause system card to pause, reduce Consumer's Experience problem.
Whether detection module 603, be mobile terminal preset period in leisure for detecting current time.
Identification module 604, for the store path according to file or this garbage files of file name identification.
The recognition methods of garbage files generally comprises two kinds, and a kind of is that the store path by file identifies rubbish Rubbish file, the garbage files of system would generally leave in the file of fixed position, therefore can be solid at this The file that location is put is searched and identifies garbage files;Another kind is that the title according to file identifies rubbish File.
Screening module 605, for according to preset garbage files classification, filters out target in garbage files Garbage files.
In embodiments of the present invention, mobile terminal possesses the function of cleaning garbage files, and concrete is whole for moving Cleaning garbage files program on end, user, when using mobile terminal, if desired carries out the clear of garbage files Reason, can start the cleaning garbage files application program on mobile terminal, and apply at this cleaning garbage files After program starts, user is optional manually to clear up or automatically clears up, when user selects automatically to clear up, This application program, by according to preset garbage files classification, filters out target garbage files in garbage files.
Preset garbage files classification refers to the garbage files classification allowing cleaning automatically that user pre-sets, The garbage files classification all have to cleared up when every time clearing up rubbish can be pre-set by user, starts When automatically clearing up, application program will select the garbage files of these types for user's Automatic sieve, and directly enters Row cleaning, it is to avoid when user clears up every time, these garbage files that must clear up will be chosen, it is to avoid numerous Operate trivially.
Cleaning module 606, this target garbage files filtered out for cleaning.
System is after filtering out target garbage files, it will clear up this target garbage files filtered out at once.
The cleaning garbage files device based on mobile terminal that the embodiment of the present invention provides, by according to preset Garbage files classification, filters out target garbage files in garbage files, and clears up the target rubbish filtered out File, compared to prior art, the present invention is by automatic screening and clears up garbage files, solves existing skill Garbage files in art needs to confirm, by user, the problem that the kind of garbage files could be cleared up, and is not affecting On the premise of mobile terminal uses, automatically clear up garbage files, improve the convenience of operation, effectively change It is apt to Consumer's Experience.
Referring to Fig. 7, Fig. 7 is that the garbage files based on mobile terminal that sixth embodiment of the invention provides is clear The structural representation of reason device, for convenience of description, illustrate only the part relevant to the embodiment of the present invention. The cleaning garbage files device based on mobile terminal of Fig. 7 example can be the base that aforementioned third embodiment provides In the executive agent of the cleaning garbage files method of mobile terminal, it can be mobile terminal or therein Individual functional module.The device arranging application model based on mobile terminal of Fig. 7 example, specifically includes that note Record module 701, determine module 702, detection module 703, identification module 704, screening module 705 and Cleaning module 706, wherein identification module 704 includes matching module 7041 and identifies submodule 7042.Respectively Functional module describes in detail as follows:
Logging modle 701, for recording the user the detected operation to mobile terminal.
When mobile terminal is operated by user, mobile terminal will detect and record the operation of this user.
It should be noted that this detection the user operation that records, the operation that carries out including user, this operation The corresponding application program run and the operation duration of this application program.
Determine module 702, for the operation according to record, application program corresponding to this operation and this application The operation duration of program, determines and preserves the period in leisure of this mobile terminal.
By detecting and record operation, the application program of this operation correspondence operation and this application that user is carried out The operation duration of program, system will can determine whether that user uses the period in leisure of mobile terminal, and preserve this and determine Period in leisure.
In the present embodiment, the period in leisure refer to user without using the period of mobile terminal, at mobile terminal Period in leisure garbage files is cleared up, it is to avoid carry out garbage files when user uses mobile terminal Cleaning, take system running memory, cause system card to pause, reduce Consumer's Experience problem.
Whether detection module 703, be mobile terminal preset period in leisure for detecting current time.
Identification module 704, for according to file name identification garbage files, including:
Matching module 7041, for by the title of file to be matched and the name in preset garbage files name storehouse Claim to mate.
In embodiments of the present invention, the title according to file is identified garbage files by system.The most preset rubbish The title of rubbish file, and set up garbage files name storehouse, then by the title of file to be matched and garbage files name Garbage files title preset in storehouse is mated.
Identify submodule 7042, for file to be matched corresponding for the title that the match is successful is confirmed as this rubbish File.
If the garbage files name-matches success that the title of file to be matched is preset with garbage files name storehouse, will Garbage files confirmed as by file to be matched corresponding to this title.
Screening module 705, for according to preset garbage files classification, filters out target in garbage files Garbage files.
In embodiments of the present invention, mobile terminal possesses the function of cleaning garbage files, and concrete is whole for moving Cleaning garbage files program on end, user, when using mobile terminal, if desired carries out the clear of garbage files Reason, can start the cleaning garbage files application program on mobile terminal, and apply at this cleaning garbage files After program starts, user is optional manually to clear up or automatically clears up, when user selects automatically to clear up, This application program, by according to preset garbage files classification, filters out target garbage files in garbage files.
Preset garbage files classification refers to the garbage files classification allowing cleaning automatically that user pre-sets, The garbage files classification all have to cleared up when every time clearing up rubbish can be pre-set by user, starts When automatically clearing up, application program will select the garbage files of these types for user's Automatic sieve, and directly enters Row cleaning, it is to avoid when user clears up every time, these garbage files that must clear up will be chosen, it is to avoid numerous Operate trivially.
Cleaning module 706, this target garbage files filtered out for cleaning.
System is after filtering out target garbage files, it will clear up this target garbage files filtered out at once.
The cleaning garbage files device based on mobile terminal that the embodiment of the present invention provides, by according to preset Garbage files classification, filters out target garbage files in garbage files, and clears up the target rubbish filtered out File, compared to prior art, the present invention is by automatic screening and clears up garbage files, solves existing skill Garbage files in art needs to confirm, by user, the problem that the kind of garbage files could be cleared up, and is not affecting On the premise of mobile terminal uses, automatically clear up garbage files, improve the convenience of operation, effectively change It is apt to Consumer's Experience.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can To realize by another way.Such as, device embodiment described above is only schematically, example Such as, the division of described module, being only a kind of logic function and divide, actual can have other drawing when realizing Point mode, the most multiple modules or assembly can in conjunction with or be desirably integrated into another system, or some are special Levy and can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling Or communication connection can be the INDIRECT COUPLING by some interfaces, device or module or communication connection, Ke Yishi Electrically, machinery or other form.
The described module illustrated as separating component can be or may not be physically separate, as The parts that module shows can be or may not be physical module, i.e. may be located at a place, or Can also be distributed on multiple mixed-media network modules mixed-media.Can select therein some or all of according to the actual needs Module realizes the purpose of the present embodiment scheme.
It addition, each functional module in each embodiment of the present invention can be integrated in a processing module, Can also be that modules is individually physically present, it is also possible to two or more modules are integrated in a module In.Above-mentioned integrated module both can realize to use the form of hardware, it would however also be possible to employ software function module Form realizes.
If described integrated module realizes using the form of software function module and as independent production marketing or During use, can be stored in a computer read/write memory medium.Based on such understanding, the present invention The part that the most in other words prior art contributed of technical scheme or this technical scheme whole or Part can embody with the form of software product, and this computer software product is stored in a storage medium In, including some instructions with so that computer equipment (can be personal computer, server, or Person's network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And it is aforesaid Storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various permissible The medium of storage program code.
It should be noted that for aforesaid each method embodiment, in order to simplicity describes, therefore it is all stated For a series of combination of actions, but those skilled in the art should know, the present invention is not by described The restriction of sequence of movement, because according to the present invention, some step can use other order or carry out simultaneously. Secondly, those skilled in the art also should know, embodiment described in this description belongs to be preferable to carry out Example, involved action and module might not be all necessary to the present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, in certain embodiment the most in detail The part stated, may refer to the associated description of other embodiments.
It is more than the description to cleaning garbage files method and device provided by the present invention, for this area Technical staff, according to the thought of the embodiment of the present invention, the most all has and changes In place of change, to sum up, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. a cleaning garbage files method based on mobile terminal, it is characterised in that described method includes:
According to preset garbage files classification, garbage files filters out target garbage files;
The described target garbage files that cleaning filters out.
2. the method for claim 1, it is characterised in that described according to the preset rubbish allowing cleaning Rubbish file class, includes before garbage screen file:
Whether detection current time is the period in leisure that mobile terminal is preset;
The most then according to preset garbage files classification, garbage files filters out target garbage files.
3. method as claimed in claim 2, it is characterised in that whether described detection current time is mobile Included before the period in leisure of terminal preset:
The user that record the detects operation to described mobile terminal;
Operation according to record, application program corresponding to described operation and the operation duration of described application program, Determine and preserve the period in leisure of described mobile terminal.
4. the method as described in any one of claims 1 to 3, it is characterised in that described according to preset rubbish Rubbish file class, includes before filtering out target garbage files in garbage files:
Garbage files described in store path according to file or file name identification.
5. method as claimed in claim 4, it is characterised in that described according to rubbish described in file name identification Rubbish file includes:
The title of file to be matched is mated with the title in preset garbage files name storehouse;
File to be matched corresponding for the title that the match is successful is confirmed as described garbage files.
6. a cleaning garbage files device based on mobile terminal, it is characterised in that described device includes:
Screening module, for according to preset garbage files classification, filters out target rubbish in garbage files File;
Cleaning module, the described target garbage files filtered out for cleaning.
7. device as claimed in claim 6, it is characterised in that described device also includes:
Whether detection module, be mobile terminal preset period in leisure for detecting current time;
Described screening module, if being additionally operable to detect, current time is for mobile terminal preset period in leisure, Then according to preset garbage files classification, garbage files filters out target garbage files.
8. device as claimed in claim 7, it is characterised in that described device also includes:
Logging modle, for recording the user the detected operation to described mobile terminal;
Determine module, for the operation according to record, application program corresponding to described operation and described application The operation duration of program, determines and preserves the period in leisure of described mobile terminal.
9. the device as described in any one of claim 6 to 8, it is characterised in that described device also includes:
Identification module, for garbage files described in the store path according to file or file name identification.
10. device as claimed in claim 9, it is characterised in that described identification module includes:
Matching module, for entering the title of file to be matched with the title in preset garbage files name storehouse Row coupling;
Identify submodule, for file to be matched corresponding for the title that the match is successful being confirmed as described rubbish literary composition Part.
CN201610248950.5A 2016-04-20 2016-04-20 Method and device for cleaning up useless files based on mobile terminal Pending CN105893600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610248950.5A CN105893600A (en) 2016-04-20 2016-04-20 Method and device for cleaning up useless files based on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610248950.5A CN105893600A (en) 2016-04-20 2016-04-20 Method and device for cleaning up useless files based on mobile terminal

Publications (1)

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

Family

ID=56705230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610248950.5A Pending CN105893600A (en) 2016-04-20 2016-04-20 Method and device for cleaning up useless files based on mobile terminal

Country Status (1)

Country Link
CN (1) CN105893600A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708426A (en) * 2016-11-11 2017-05-24 努比亚技术有限公司 Garbage file recognition device and method
CN108052594A (en) * 2017-12-11 2018-05-18 深圳创维-Rgb电子有限公司 Waste disposal method, device and computer readable storage medium based on Android
CN108287863A (en) * 2017-11-30 2018-07-17 维沃移动通信有限公司 A kind of method for cleaning and device of Message Record

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013143393A1 (en) * 2012-03-30 2013-10-03 北京网秦天下科技有限公司 Method and system utilizing cloud computation for scanning files of device
CN103605743A (en) * 2013-11-20 2014-02-26 中国科学院深圳先进技术研究院 Method and device for deleting mobile terminal empty folders
CN104156414A (en) * 2014-07-30 2014-11-19 珠海市君天电子科技有限公司 Terminal, device and method for clearing junk files
CN104317741A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Recognition and cleaning method and system of cache directories

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013143393A1 (en) * 2012-03-30 2013-10-03 北京网秦天下科技有限公司 Method and system utilizing cloud computation for scanning files of device
CN103605743A (en) * 2013-11-20 2014-02-26 中国科学院深圳先进技术研究院 Method and device for deleting mobile terminal empty folders
CN104156414A (en) * 2014-07-30 2014-11-19 珠海市君天电子科技有限公司 Terminal, device and method for clearing junk files
CN104317741A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Recognition and cleaning method and system of cache directories

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708426A (en) * 2016-11-11 2017-05-24 努比亚技术有限公司 Garbage file recognition device and method
CN106708426B (en) * 2016-11-11 2019-10-01 努比亚技术有限公司 Garbage files identification device and method
CN108287863A (en) * 2017-11-30 2018-07-17 维沃移动通信有限公司 A kind of method for cleaning and device of Message Record
CN108287863B (en) * 2017-11-30 2020-07-21 维沃移动通信有限公司 Message record cleaning method and device
CN108052594A (en) * 2017-12-11 2018-05-18 深圳创维-Rgb电子有限公司 Waste disposal method, device and computer readable storage medium based on Android
CN108052594B (en) * 2017-12-11 2021-09-24 深圳创维-Rgb电子有限公司 Android-based garbage processing method and device and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN109656980A (en) Data processing method, electronic equipment, device and readable storage medium storing program for executing
CN105354093A (en) Memory management method and mobile terminal
CN106502826B (en) Data backup and transmission method and mobile terminal
CN106802957A (en) File management method, device and terminal device
CN103490466B (en) Battery electric quantity shares method, device and server
CN103346921B (en) User management method and relevant device and communication system
CN105892822A (en) Mobile terminal and rapid setting method and device thereof
CN106657528A (en) Incoming call management method and device
CN106331258A (en) Call methods, call apparatus and call system
CN107371221A (en) Select method, apparatus, mobile terminal and the readable storage medium storing program for executing of network
CN107466033B (en) Register method, device, mobile terminal and the storage medium of IMS
CN107360332A (en) Talking state display methods, device, mobile terminal and storage medium
CN105262878A (en) Processing method of automatic call recording and mobile terminal
CN107613536A (en) Select method, apparatus, mobile terminal and the readable storage medium storing program for executing of network
CN105915262A (en) Radio frequency transmitting circuit and mobile terminal
CN106506862A (en) A kind of working mode of mobile terminal changing method and mobile terminal
CN104853081A (en) Breakpoint filming method, device and mobile terminal
CN105872980B (en) A kind of method and device scanning wireless network signal
CN105843361A (en) Method for reducing power consumption while photographing, and mobile terminal
CN103338193A (en) Method, system and device for initial media equipment
CN105893600A (en) Method and device for cleaning up useless files based on mobile terminal
CN105744609A (en) Method and device for improving power consumption of mobile terminal
CN106294707A (en) A kind of countdown information output intent and device
CN106095132A (en) Playback equipment keypress function method to set up and device
CN108363628A (en) Message treatment method, device, terminal and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160824