CN110334060A - A kind of data clearing method, mobile terminal and computer readable storage medium - Google Patents

A kind of data clearing method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN110334060A
CN110334060A CN201910334783.XA CN201910334783A CN110334060A CN 110334060 A CN110334060 A CN 110334060A CN 201910334783 A CN201910334783 A CN 201910334783A CN 110334060 A CN110334060 A CN 110334060A
Authority
CN
China
Prior art keywords
data
data set
mobile terminal
preset
target
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
CN201910334783.XA
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910334783.XA priority Critical patent/CN110334060A/en
Publication of CN110334060A publication Critical patent/CN110334060A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • 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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

Abstract

The invention discloses a kind of data clearing method, mobile terminal and computer readable storage mediums, this method comprises: response data scan operation, obtains the storing data in mobile terminal;According to multiple preset data types, classify to storing data, obtains the data set of each preset data type;Judge whether memory space occupied by each data set is greater than the corresponding preset threshold of preset data type corresponding with each data set;If memory space occupied by data set is greater than preset threshold, it is determined that data set is that target clears up content.The embodiment of the present invention is determining memory space occupied by each data set greater than preset threshold corresponding with each data set, then determine that the data set is that target clears up content, according to the data scan operations to mobile terminal, obtain scanning result, judge the acceptable data set of data set or user that can be cleared up in mobile terminal, recommend and user is reminded to carry out selective cleaning.

Description

A kind of data clearing method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to field of communication technology more particularly to a kind of data clearing methods, mobile terminal and computer-readable Storage medium.
Background technique
Currently, space cleaning tool can compare the number for determining that corresponding application generates according to path existing in database According to.But current space cleaning tool is only simply enumerated, and the result after scanning is enumerated and is presented to the user, and allows use Whether family independently selects cleaning, corresponding recommended suggestion is not provided, or the cleaning suggestion provided is not comprehensive.
Summary of the invention
The present invention provides a kind of data clearing method, mobile terminal and computer readable storage mediums, current to solve The data scrubbing tool incomplete problem of recommended suggestion that does not provide recommended suggestion and provide.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to mobile terminal the embodiment of the invention provides a kind of data clearing method, comprising:
Response data scan operation obtains the storing data in the mobile terminal;
According to multiple preset data types, classify to the storing data, obtains the number of each preset data type According to collection;
It is corresponding described pre- with each data set to judge whether memory space occupied by each data set is greater than If the corresponding preset threshold of data type;
If memory space occupied by the data set is greater than the preset threshold, it is determined that the data set is target cleaning Content.
Second aspect, the embodiment of the invention also provides a kind of mobile terminals, comprising:
First processing module is used for response data scan operation, obtains the storing data in the mobile terminal;
Second processing module obtains each for classifying to the storing data according to multiple preset data types The data set of preset data type;
Judgment module, for judging whether memory space occupied by each data set is greater than and each data set The corresponding preset threshold of the preset data type accordingly;
Determining module, if being greater than the preset threshold for memory space occupied by the data set, it is determined that the number Content is cleared up according to integrating as target.
The third aspect the embodiment of the invention also provides a kind of mobile terminal, including processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing data clearing method as described above.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, the computer program realizes data scrubbing side as described above when being executed by processor The step of method.
In embodiments of the present invention, by response data scan operation, the storing data in the mobile terminal is obtained, and According to multiple preset data types, classify to the storing data, obtain the corresponding data set of each preset data type, If it is determined that memory space occupied by each data set is greater than the preset data class corresponding with each data set The corresponding preset threshold of type, then memory space occupied by the data set reaches the threshold value that can remind cleaning, it is determined that the number Content is cleared up as target according to integrating, the data type for reminding user that can clear up in time facilitates user to watch and recommends cleaning data class Type allows user selectively to carry out data scrubbing.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 shows the data clearing method flow charts of the embodiment of the present invention;
Fig. 2 indicates one of target pages displaying target cleaning content schematic diagram of the embodiment of the present invention;
Fig. 3 indicates the two of the target pages displaying target cleaning content schematic diagram of the embodiment of the present invention;
Fig. 4 indicates the structural block diagram of the mobile terminal of the embodiment of the present invention;
Fig. 5 indicates the hardware structural diagram of the mobile terminal of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
As shown in Figure 1, being applied to mobile terminal the embodiment of the invention provides a kind of data clearing method, comprising:
Step 11, response data scan operation obtains the storing data in the mobile terminal.
Before step 11, the method can also include:
Data scan operations are carried out to the mobile terminal within a preset time.Wherein, the preset time can be for not It bothers the time of user's normal use mobile phone, such as the time that evening hours or mobile phone leave unused.The data scan operations can Think the operation that scan full hard disk is carried out to mobile terminal.
Step 12, according to multiple preset data types, classify to the storing data, obtain each preset data class The data set of type.
Wherein, the preset data type may include at least one of following: junk data, application data, repetition Picture, duplicate file, similarity are more than the picture of default similarity, unloading residual data, offline video and the second preset duration Interior not used application program etc..Second preset duration is to judge whether application program is the duration threshold for commonly using application program Value can be determined that if this application program is not used in the second preset duration as inactive program;If default second It is used in duration, is then determined as common programs.
Step 13, it is corresponding with each data set to judge whether memory space occupied by each data set is greater than The corresponding preset threshold of the preset data type;If memory space occupied by the data set is greater than the preset threshold, Enter step 14;It, can be pre- by first if memory space occupied by the data set is less than or equal to the preset threshold If carrying out data scan operations to the mobile terminal after duration.Wherein, first preset duration can be one day or one Week etc..The time cycle of first preset duration does not limit.
Step 14, if memory space occupied by the data set is greater than the preset threshold, it is determined that the data set is Target clears up content.
Wherein, the target cleaning content is that can be set out on the mobile terminal to choose whether to carry out for user The data set of data scrubbing.
In the above embodiment of the present invention, by response data scan operation, the storage number in the mobile terminal is obtained According to, and according to multiple preset data types, classify to the storing data, obtains the corresponding number of each preset data type According to collection, if it is decided that memory space occupied by each data set is greater than the present count corresponding with each data set According to the corresponding preset threshold of type, then memory space occupied by the data set reaches the threshold value that can remind cleaning, it is determined that institute It states data set and obtains scanning result according to the data scan operations to mobile terminal for target cleaning content, judge mobile terminal In the data set or the acceptable data set of user that can clear up, recommend and user reminded to carry out selective cleaning.
After step 14, the method can also include: the number of the corresponding data set of the detection target cleaning content Amount;If the quantity that the target clears up the corresponding data set of content is one, can be directly in the page object of the mobile terminal Face shows the target cleaning content, i.e., recommends a kind of display specially clear item (data type) in target pages.If the target is clear The quantity for managing the corresponding data set of content be at least two (two or more than two), then according to the data set it is corresponding described in The pre-set priority of preset data type is shown in the target pages of the mobile terminal according to the sequence of the pre-set priority The target clears up content.
Wherein, the preset data type, pre-set priority, the relationship of preset threshold are as shown in table 1 below:
The relation table of table 1 data type priority and threshold value
The exemplary illustration for carrying out 9 kinds of preset data types is only set out in above-mentioned table 1, the preset data type is simultaneously unlimited In above 9 kinds, and the sequence of priority does not limit the priority orders of table 1.Wherein, the number that priority one arranges is priority Sequence, carry out the arrangement of priority according to 1,2,3,4,5,6,7,8,9 sequence respectively, data definition is that corresponding this is default The explanation of the data content of data type defines.The corresponding inactive program of priority 9 determines whether the program is the journey that is of little use Second preset duration of sequence can be 30 days.Such as: when sorted storing data is wechat data, judge wechat number Whether it is greater than 1GB according to the size of occupied memory space, if memory space occupied by wechat data is greater than the 1GB, Determine that the wechat data are that target clears up content.When sorted storing data is non-default data type, then do not recommend User's cleaning.User can be set as needed the type and corresponding preset threshold of preset data type.
Preferably, the method can also include:
User is received to the selection operation of the data set of target cleaning content;
The selection operation is responded, data scrubbing is carried out to the selected data set of user.
Such as: it, can be directly described when the corresponding data set of target cleaning content is only that wechat data are a kind of The target pages of mobile terminal show the target cleaning content, i.e., recommend to show specially clear item in target pages.As shown in Fig. 2, Target pages are the page that the cleaning item of wechat data is enumerated, including junk data 666MB, the circle of friends picture or view seen Frequency 666MB and small routine data 666MB etc..The one of which or two kinds of data class in selection wechat data can be passed through Data scrubbing is carried out, can also all select to carry out data scrubbing, the as described selection operation.As shown in figure 3, if the target The quantity for clearing up the corresponding data set of content is junk data and repetitive picture two, then according to the available junk data of table 1 Priority be higher than repetitive picture priority, then shown in accordance with the order from top to bottom in the target pages of the mobile terminal Junk data and repetitive picture.User can choose one of them and carry out data scrubbing, also can choose two and is cleared up, or Person does not select, the as described selection operation.If the quantity of the corresponding data set of target cleaning content is junk data, again Picture and offline video 3 are answered, then are higher than the priority of repetitive picture, weight according to the priority of the available junk data of table 1 The priority of multiple picture is higher than offline video, then shows rubbish in accordance with the order from top to bottom in the target pages of the mobile terminal Rubbish data, repetitive picture and offline video.User can choose one of them or two progress data scrubbings, also can choose 3 Item is cleared up simultaneously, or is not selected, the as described selection operation.
In the above embodiment of the present invention, by response data scan operation, the storage number in the mobile terminal is obtained According to, and according to multiple preset data types, classify to the storing data, obtains the corresponding number of each preset data type According to collection, if it is decided that memory space occupied by each data set is greater than the present count corresponding with each data set According to the corresponding preset threshold of type, then memory space occupied by the data set reaches the threshold value that can remind cleaning, it is determined that institute It states data set and obtains scanning result according to the data scan operations to mobile terminal for target cleaning content, judge mobile terminal In the data set or the acceptable data set of user that can clear up, recommend and user reminded to carry out selective cleaning.
As shown in figure 4, the embodiment of the invention also provides a kind of mobile terminals 400, comprising:
First processing module 410 is used for response data scan operation, obtains the storing data in the mobile terminal;
Second processing module 420 is obtained for classifying to the storing data according to multiple preset data types The data set of each preset data type;
Judgment module 430, for judging whether memory space occupied by each data set is greater than and each number According to the corresponding preset threshold of the corresponding preset data type of collection;
Determining module 440, if being greater than the preset threshold for memory space occupied by the data set, it is determined that described Data set is that target clears up content.
Preferably, the mobile terminal 400 further include:
Third processing module, if being less than or equal to the preset threshold for memory space occupied by the data set, By carrying out data scan operations to the mobile terminal after the first preset duration.
Preferably, the mobile terminal 400 further include:
Scan module, for carrying out data scan operations to the mobile terminal within a preset time.
Preferably, the mobile terminal 400 further include:
Detection module, for detecting the quantity of the corresponding data set of the target cleaning content;
Fourth processing module, if the quantity for the corresponding data set of target cleaning content is at least two, root According to the pre-set priority of the corresponding preset data type of the data set, the mobile terminal target pages according to institute The sequence for stating pre-set priority shows the target cleaning content.
Preferably, the mobile terminal 400 further include:
5th processing module, if the quantity for the corresponding data set of target cleaning content is one, described The target pages of mobile terminal show the target cleaning content.
Preferably, the mobile terminal 400 further include:
Receiving module, for receiving user to the selection operation of the data set of target cleaning content;
Control module carries out data scrubbing to the selected data set of user for responding the selection operation.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 3 and realize Each process, to avoid repeating, which is not described herein again.
In the above embodiment of the present invention, by response data scan operation, the storage number in the mobile terminal is obtained According to, and according to multiple preset data types, classify to the storing data, obtains the corresponding number of each preset data type According to collection, if it is decided that memory space occupied by each data set is greater than the present count corresponding with each data set According to the corresponding preset threshold of type, then memory space occupied by the data set reaches the threshold value that can remind cleaning, it is determined that institute It states data set and obtains scanning result according to the data scan operations to mobile terminal for target cleaning content, judge mobile terminal In the data set or the acceptable data set of user that can clear up, recommend and user reminded to carry out selective cleaning.
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510 are used for response data scan operation, obtain the storing data in the mobile terminal;
According to multiple preset data types, classify to the storing data, obtains the number of each preset data type According to collection;
It is corresponding described pre- with each data set to judge whether memory space occupied by each data set is greater than If the corresponding preset threshold of data type;
If memory space occupied by the data set is greater than the preset threshold, it is determined that the data set is target cleaning Content.
Preferably, the processor 510, is also used to:
If memory space occupied by the data set be less than or equal to the preset threshold, by the first preset duration it Data scan operations are carried out to the mobile terminal afterwards.
Preferably, the processor 510, is also used to:
Data scan operations are carried out to the mobile terminal within a preset time.
Preferably, the processor 510, is also used to:
Detect the quantity of the corresponding data set of the target cleaning content;
If the quantity that the target clears up the corresponding data set of content is at least two, corresponding according to the data set The pre-set priority of the preset data type, the mobile terminal target pages according to the pre-set priority sequence Show the target cleaning content.
Preferably, the processor 510, is also used to:
If the quantity of the corresponding data set of target cleaning content is one, in the target pages of the mobile terminal Show the target cleaning content.
Preferably, the processor 510, is also used to:
User is received to the selection operation of the data set of target cleaning content;
The selection operation is responded, data scrubbing is carried out to the selected data set of user.
In the above embodiment of the present invention, by response data scan operation, the storage number in the mobile terminal is obtained According to, and according to multiple preset data types, classify to the storing data, obtains the corresponding number of each preset data type According to collection, if it is decided that memory space occupied by each data set is greater than the present count corresponding with each data set According to the corresponding preset threshold of type, then memory space occupied by the data set reaches the threshold value that can remind cleaning, it is determined that institute It states data set and obtains scanning result according to the data scan operations to mobile terminal for target cleaning content, judge mobile terminal In the data set or the acceptable data set of user that can clear up, recommend and user reminded to carry out selective cleaning.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned data clearing method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned data clearing method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (14)

1. a kind of data clearing method is applied to mobile terminal characterized by comprising
Response data scan operation obtains the storing data in the mobile terminal;
According to multiple preset data types, classify to the storing data, obtains the data set of each preset data type;
Judge whether memory space occupied by each data set is greater than the present count corresponding with each data set According to the corresponding preset threshold of type;
If memory space occupied by the data set is greater than the preset threshold, it is determined that the data set is in target cleaning Hold.
2. data clearing method according to claim 1, which is characterized in that further include:
If memory space occupied by the data set is less than or equal to the preset threshold, by right after the first preset duration The mobile terminal carries out data scan operations.
3. data clearing method according to claim 1, which is characterized in that before the response data scan operation, The method also includes:
Data scan operations are carried out to the mobile terminal within a preset time.
4. data clearing method according to claim 1, which is characterized in that the determination data set is target cleaning After content, the method also includes:
Detect the quantity of the corresponding data set of the target cleaning content;
If the quantity that the target clears up the corresponding data set of content is at least two, corresponding described according to the data set The pre-set priority of preset data type is shown in the target pages of the mobile terminal according to the sequence of the pre-set priority The target clears up content.
5. data clearing method according to claim 4, which is characterized in that the determination data set is target cleaning After content, the method also includes:
If the quantity of the corresponding data set of target cleaning content is one, shown in the target pages of the mobile terminal The target clears up content.
6. data clearing method according to claim 4 or 5, which is characterized in that the method also includes:
User is received to the selection operation of the data set of target cleaning content;
The selection operation is responded, data scrubbing is carried out to the selected data set of user.
7. a kind of mobile terminal characterized by comprising
First processing module is used for response data scan operation, obtains the storing data in the mobile terminal;
Second processing module obtains each default for classifying to the storing data according to multiple preset data types The data set of data type;
Judgment module, for judging it is corresponding to each data set whether memory space occupied by each data set is greater than The corresponding preset threshold of the preset data type;
Determining module, if being greater than the preset threshold for memory space occupied by the data set, it is determined that the data set Content is cleared up for target.
8. mobile terminal according to claim 7, which is characterized in that further include:
Third processing module is passed through if being less than or equal to the preset threshold for memory space occupied by the data set Data scan operations are carried out to the mobile terminal after first preset duration.
9. mobile terminal according to claim 7, which is characterized in that further include:
Scan module, for carrying out data scan operations to the mobile terminal within a preset time.
10. mobile terminal according to claim 7, which is characterized in that further include:
Detection module, for detecting the quantity of the corresponding data set of the target cleaning content;
Fourth processing module, if the quantity for the corresponding data set of target cleaning content is at least two, according to institute The pre-set priority for stating the corresponding preset data type of data set, the mobile terminal target pages according to described pre- The sequence of setting priority shows the target cleaning content.
11. mobile terminal according to claim 10, which is characterized in that further include:
5th processing module, if the quantity for the corresponding data set of target cleaning content is one, in the movement The target pages of terminal show the target cleaning content.
12. mobile terminal described in 0 or 11 according to claim 1, which is characterized in that further include:
Receiving module, for receiving user to the selection operation of the data set of target cleaning content;
Control module carries out data scrubbing to the selected data set of user for responding the selection operation.
13. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is executed by the processor Any one of described in data clearing method the step of.
14. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as data clearing method described in any one of claims 1 to 6 when the computer program is executed by processor The step of.
CN201910334783.XA 2019-04-24 2019-04-24 A kind of data clearing method, mobile terminal and computer readable storage medium Pending CN110334060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910334783.XA CN110334060A (en) 2019-04-24 2019-04-24 A kind of data clearing method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910334783.XA CN110334060A (en) 2019-04-24 2019-04-24 A kind of data clearing method, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110334060A true CN110334060A (en) 2019-10-15

Family

ID=68139832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910334783.XA Pending CN110334060A (en) 2019-04-24 2019-04-24 A kind of data clearing method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110334060A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867845A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Application storage space management method and device
CN107562652A (en) * 2017-08-07 2018-01-09 努比亚技术有限公司 A kind of method, computer-readable medium and equipment for clearing up caching rubbish
CN107621983A (en) * 2017-09-25 2018-01-23 维沃移动通信有限公司 A kind of memory space reminding method and mobile terminal
CN107678687A (en) * 2017-09-22 2018-02-09 北京小米移动软件有限公司 Memory space acquisition methods and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867845A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Application storage space management method and device
CN107562652A (en) * 2017-08-07 2018-01-09 努比亚技术有限公司 A kind of method, computer-readable medium and equipment for clearing up caching rubbish
CN107678687A (en) * 2017-09-22 2018-02-09 北京小米移动软件有限公司 Memory space acquisition methods and device
CN107621983A (en) * 2017-09-25 2018-01-23 维沃移动通信有限公司 A kind of memory space reminding method and mobile terminal

Similar Documents

Publication Publication Date Title
CN108255378A (en) A kind of display control method and mobile terminal
CN109445736A (en) A kind of multi-screen display method and mobile terminal
CN108363524B (en) A kind of application icon display methods and mobile terminal
CN109788136A (en) Information display method and mobile terminal
CN108920059A (en) Message treatment method and mobile terminal
CN108494665A (en) One population message display method and mobile terminal
CN108418950B (en) Message prompt method and mobile terminal
CN108628521A (en) A kind of screen operating method and mobile terminal
CN109409244A (en) A kind of object puts the output method and mobile terminal of scheme
CN109116965A (en) A kind of electricity saving method and mobile terminal
CN109388456A (en) A kind of head portrait selection method and mobile terminal
CN110457086A (en) A kind of control method of application program, mobile terminal and server
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109976688A (en) A kind of screen display method and device
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN108536349A (en) A kind of icon management method and mobile terminal
CN107992378B (en) A kind of document handling method and mobile terminal
CN109976844A (en) A kind of message display method and mobile terminal
CN109286720A (en) A kind of the main screen selection method and device of multi-screen mobile terminal
CN108390997A (en) A kind of display methods and mobile terminal of unread message
CN110378798A (en) Isomery social networks construction method, group recommending method, device and equipment
CN109960557A (en) A kind of display methods and terminal device
CN110213437A (en) A kind of edit methods and mobile terminal
CN109189517A (en) A kind of method and mobile terminal of display switching
CN109299693A (en) A kind of display control method and mobile terminal

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