CN110140117B - Terminal automatically cleans personal files of users based on user habits - Google Patents

Terminal automatically cleans personal files of users based on user habits Download PDF

Info

Publication number
CN110140117B
CN110140117B CN201780082406.0A CN201780082406A CN110140117B CN 110140117 B CN110140117 B CN 110140117B CN 201780082406 A CN201780082406 A CN 201780082406A CN 110140117 B CN110140117 B CN 110140117B
Authority
CN
China
Prior art keywords
user
terminal
file
cleaning
mobile phone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201780082406.0A
Other languages
Chinese (zh)
Other versions
CN110140117A (en
Inventor
卓增泗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN110140117A publication Critical patent/CN110140117A/en
Application granted granted Critical
Publication of CN110140117B publication Critical patent/CN110140117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a method for automatically cleaning personal files of a user by a terminal based on user habits, relates to the technical field of terminals, and can solve the problem that a large amount of time is consumed by the user due to huge content screened by a security center, and the content screened by the security center is further screened. The method comprises the following steps: the terminal automatically cleans personal files of users in the terminal according to the cleaning rules, and after the automatic cleaning process is completed, the users are allowed to add the cleaned personal files into a white list, add a freezing period, recover or permanently delete the personal files. The cleaning rule is obtained through learning and training based on the using habit of the user on the terminal, and can be changed along with the change of the using habit of the user on the terminal, namely, the cleaning rule can be updated regularly or irregularly. The application is suitable for the automatic cleaning process of the terminal.

Description

Terminal automatically cleans personal files of users based on user habits
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a terminal cleaning method, a device, and a terminal.
Background
With the development of terminal technology, especially the popularization of mobile phones, users can implement functions such as video playing, online reading, etc. by installing various applications on the mobile phones. In the running process of the application, more or less temporary files are generated in the mobile phone system and the application, and if the user tries to update the mobile phone system or the application, the user is likely to need to download and store files without any value into the mobile phone after using the update package and the like through the mobile phone. Therefore, with the increase of the service time of the mobile phone, if the mobile phone is not cleaned in time, the phenomena of blocking, screen blacking and the like caused by the overfull storage space of the mobile phone can be caused, and finally the user experience is influenced.
Therefore, applications such as "security centers" for cleaning up storage space for mobile phones have been developed on the mobile phone market. Such applications, while capable of somewhat enabling cell phone cleaning, often require more user intervention during use. For example, after the user triggers the mobile phone to clean the mobile phone through the security center, the security center scans the storage space of the mobile phone according to the cleaning rule pre-configured in the application, and then presents each file meeting the cleaning rule to the user, and the user autonomously judges which needs to be cleaned and which needs to be reserved. However, as the service time of the mobile phone increases, more and more contents may be screened out by the security center in the storage space, it is undoubtedly required that the user consumes more time to further screen the content screened out by the security center, thereby affecting the user experience.
Disclosure of Invention
The application provides a terminal cleaning method, a terminal cleaning device and a terminal, which can solve the problem that a user needs to consume a great deal of time because of huge content screened by a security center, and further screen the content screened by the security center.
In a first aspect, an embodiment of the present application provides a terminal cleaning method. The method comprises the following steps: displaying a first interface, and receiving a first operation executed by a user on a first file; and displaying a second interface in response to the first operation. The first interface at least comprises a first file, wherein the first file is a personal file of a user automatically cleaned by the terminal; the second interface does not include the first file. Therefore, after the terminal finishes automatic cleaning, the personal files of the user which are automatically cleaned are presented to the user, namely the first interface is displayed. For the automatically cleaned content, the user can trigger the terminal to execute the first operation on the first file by combining with the self requirement and inputting the first operation mode, and at this time, the terminal displays the automatically cleaned content to the user again without the first file. The method means that the cleaning process is automatically realized by the terminal, and the cleaned content comprises personal files of the user, so that the problem that the user needs to consume a large amount of time because of huge content screened by the security center, and the content screened by the security center is further screened can be solved. In addition, in order to avoid the occurrence of the wrong cleaning condition, the terminal can prompt a user to restore the content mistakenly cleaned by the terminal through displaying the first interface, so that the user experience is further improved.
In one possible design, a third interface is displayed before the first interface is displayed, the third interface including at least the first file. And responding to the terminal to automatically clean the first file, wherein the third interface does not comprise the first file. The third interface may be regarded as a file preview interface of the storage area of the terminal, or an interface including a file list, etc., where the first file is stored in the storage area before the terminal automatically cleans the first file, and therefore may be presented in the third interface, and after the terminal automatically cleans the first file, the first file may be regarded as being moved to the buffer area, where the third interface does not have the first file. Thus, the terminal can more intuitively show the presentation effect of the first file before and after being automatically cleaned by the terminal. That is, the process of implementing automatic cleaning by the terminal may be not perceived by the user, but the effect before and after implementing automatic cleaning may be presented to the user in an interface display manner.
In one possible design, the first operation includes at least one of restore, whitelisting, adding a freeze period, and permanently deleting. If the first operation comprises adding the white list, the terminal does not automatically clean the first file added with the white list; if the first operation comprises adding a freezing period, the terminal does not automatically clean the first file added with the freezing period within a limited time; if the first operation includes permanent deletion, the first file is deleted from the terminal. Therefore, the first file added into the white list is not scanned every time the subsequent terminal automatically cleans the first file as long as the first file is not moved out of the white list, or whether the first file meets the cleaning rule is not judged after the first file is scanned, or the first file is not cleaned after the first file meets the cleaning rule is judged, and the like. Likewise, the first file added to the freeze period differs from the first file added to the white list in that it is not automatically cleaned for only a limited time. In the embodiment of the invention, if the first file is permanently deleted, the user cannot find the first file from the terminal, but in order to provide the user with a regret room, the user can be prompted to backup the first file in other devices or the cloud before the first file is permanently deleted, and the terminal can automatically realize the backup of the first file, so that even if the user needs to access the first file later, the user can directly acquire the first file from other devices or the cloud, thereby further improving the user experience.
In one possible design, if the first operation includes one of recovering, whitelisting, joining in a freeze period, a second operation of the user is received and a third interface is displayed in response to the second operation. Wherein the third interface includes the first file. For content that has been restored from the buffer to the storage area, the first file is again viewable on a third interface, such as a preview interface. Wherein the restore from the cache to the storage area includes, but is not limited to, the restore, whitelisting, and freeze period operations described above.
In one possible design, the first interface further includes a second file, where the second file is a personal file automatically cleaned by the terminal; the second interface includes a second file. Therefore, if the personal files are automatically cleaned by the terminal, the personal files can be directly displayed on the first interface, so that a user can intuitively see which personal files are automatically cleaned by the terminal, and the user can conveniently manage the cleaned personal files.
In one possible design, the personal file does not include a temporary file generated by the terminal during operation; the personal file includes at least one of music, pictures, movies, documents stored locally by the terminal. Because the temporary file can be generated secondarily under a certain condition, and personal files such as music, documents and the like stored in the terminal by the user are difficult to generate secondarily after cleaning, the embodiment of the invention can adopt a mode of cleaning based on the habit of the user to clean the personal files of the screened individual user, and then allow the user to regress in a prompting mode. Therefore, even if the terminal cleans the personal files which are difficult to be generated secondarily by the user, the terminal does not have great influence on the user.
In one possible design, the method includes automatically cleaning personal files of a user stored in a terminal scanning terminal to obtain a first file, and moving the first file to a cache area; the automatic cleaning is carried out according to the cleaning rules. Wherein the cleaning rules change with the use of the terminal by the user; the cache area is used for storing personal files of users automatically cleaned by the terminal; the buffer is located in a storage area of the terminal or on other devices than the terminal. The cleaning of the first file may be considered as a change of the storage location or adding an identifier to the first file, so that the user cannot access the original storage area, and thus the first file after the automatic cleaning may be considered as being placed in the cache area. In order to save the storage space of the terminal, the buffer area can be directly arranged on other devices except the terminal, so that the automatic cleaning process of the terminal can be regarded as a mode of cleaning the storage space of the terminal. In addition, the above cleaning rule may be regarded as a condition for determining that the terminal file is cleaned, which is generated based on the usage habit of the terminal by the user, that is, the terminal may identify the first file that the user is likely to need to clean as accurately as possible based on the usage habit of the terminal by the user, and then clean the first file.
In one possible design, if the time of the first file cached in the cache area reaches a preset time, deleting the first file; alternatively, the first file in the buffer is deleted periodically. Considering that the space of the buffer area is limited, in the embodiment of the present invention, the content in the buffer area may be cleaned periodically or irregularly, where cleaning may be that the terminal automatically permanently deletes the content whose buffering time exceeds the preset time, or prompts the user to restore, delete, etc. the content in the buffer area is not repeated here.
In one possible design, after the second interface is displayed in response to the first operation, the cleaning rules are updated based on what the second interface displays. Because the first operation of the user can also show the using habit of the user on the terminal, in the embodiment of the invention, the cleaning rule can be updated based on the first operation executed by the user, so that the cleaning rule is ensured to change along with the change of the habit of the user on the terminal, and the content cleaned by the terminal according to the cleaning rule is targeted, namely the requirement of the user is more satisfied. The updated cleaning rule at least comprises one of the following: in a limited time, the terminal does not automatically clean the first file added into the white list; the terminal does not automatically clean the first file which has been added to the white list.
In a second aspect, an embodiment of the present invention provides a terminal cleaning device. The device can realize the functions realized in the method embodiment, and the functions can be realized by hardware or can be realized by executing corresponding software by hardware. The hardware or software comprises one or more modules corresponding to the functions.
In a third aspect, an embodiment of the present invention provides a terminal. The structure of the terminal comprises a display screen, a memory, one or more processors, a plurality of application programs and one or more programs; wherein the one or more programs are stored in the memory; the one or more processors, when executing the one or more programs, cause the terminal to implement the method of the first aspect and any of its various possible designs.
In a fourth aspect, embodiments of the present invention provide a readable storage medium comprising instructions. The instructions, when executed on a terminal, cause the terminal to perform the method of the first aspect and any of its various possible designs described above.
In a fifth aspect, embodiments of the present invention provide a computer program product comprising software code for performing the method of the first aspect and any of its various possible designs.
In a sixth aspect, embodiments of the present invention provide a graphical or user interface for performing the method of the first aspect and any of its various possible designs.
Drawings
Fig. 1 is a schematic structural diagram of a first terminal according to an embodiment of the present invention;
fig. 1 (a) is a schematic diagram of a process of automatically cleaning a terminal based on user habits according to an embodiment of the present invention;
fig. 2 (a) is a schematic diagram of a display interface of a first terminal according to an embodiment of the present invention;
fig. 2 (b) is a schematic diagram of a display interface of a second terminal according to an embodiment of the present invention;
fig. 2 (c) is a schematic diagram of a display interface of a third terminal according to an embodiment of the present invention;
fig. 2 (d) is a schematic diagram of a display interface of a fourth terminal according to an embodiment of the present invention;
fig. 3 (a) is a schematic diagram of a display interface of a fifth terminal according to an embodiment of the present invention;
fig. 3 (b) is a schematic diagram of a display interface of a sixth terminal according to an embodiment of the present invention;
fig. 3 (c) is a schematic diagram of a display interface of a seventh terminal according to an embodiment of the present invention;
fig. 3 (d) is a schematic diagram of a display interface of an eighth terminal according to an embodiment of the present invention;
fig. 3 (e) is a schematic diagram of a display interface of a ninth terminal according to an embodiment of the present invention;
Fig. 3 (f) is a schematic diagram of a display interface of a tenth terminal according to an embodiment of the present invention;
fig. 3 (g) is a schematic diagram of a display interface of an eleventh terminal according to an embodiment of the present invention;
fig. 3 (h) is a schematic diagram of a display interface of a twelfth terminal according to an embodiment of the present invention;
fig. 3 (i) is a schematic diagram of a display interface of a thirteenth terminal according to an embodiment of the present invention;
fig. 3 (j) is a schematic diagram of a display interface of a fourteenth terminal according to an embodiment of the present invention;
fig. 3 (k) is a schematic diagram of a display interface of a fifteenth terminal according to an embodiment of the present invention;
fig. 3 (l) is a schematic diagram of a display interface of a sixteenth terminal according to an embodiment of the present invention;
fig. 4 (a) is a schematic diagram of a display interface of a seventeenth terminal according to an embodiment of the present invention;
fig. 4 (b) is a schematic diagram of a display interface of an eighteenth terminal according to an embodiment of the present invention;
fig. 4 (c) is a schematic diagram of a display interface of a nineteenth terminal according to an embodiment of the present invention;
fig. 4 (d) is a schematic diagram of a display interface of a twentieth terminal according to an embodiment of the present invention;
fig. 4 (e) is a schematic diagram of a display interface of a twenty-first terminal according to an embodiment of the present invention;
fig. 4 (f) is a schematic diagram of a display interface of a twenty-second terminal according to an embodiment of the present invention;
Fig. 4 (g) is a schematic diagram of a display interface of a twenty-third terminal according to an embodiment of the present invention;
fig. 4 (h) is a schematic diagram of a display interface of a twenty-fourth terminal according to an embodiment of the present invention;
fig. 4 (i) is a schematic diagram of a display interface of a twenty-fifth terminal according to an embodiment of the present invention;
fig. 4 (j) is a schematic diagram of a display interface of a twenty-sixth terminal according to an embodiment of the present invention;
fig. 4 (k) is a schematic diagram of a display interface of a twenty-seventh terminal according to an embodiment of the present invention;
fig. 4 (l) is a schematic diagram of a display interface of a twenty-eighth terminal according to an embodiment of the present invention;
fig. 5 (a) is a schematic diagram of a display interface of a twenty-ninth terminal according to an embodiment of the present invention;
fig. 5 (b) is a schematic diagram of a display interface of a thirty-first terminal according to an embodiment of the present invention;
fig. 5 (c) is a schematic diagram of a display interface of a thirty-first terminal according to an embodiment of the present invention;
fig. 5 (d) is a schematic diagram of a display interface of a thirty-second terminal according to an embodiment of the present invention;
fig. 5 (e) is a schematic diagram of a display interface of a thirty-third terminal according to an embodiment of the present invention;
fig. 5 (f) is a schematic diagram of a display interface of a thirty-fourth terminal according to an embodiment of the present invention;
Fig. 5 (g) is a schematic diagram of a display interface of a thirty-fifth terminal according to an embodiment of the present invention;
fig. 5 (h) is a schematic diagram of a display interface of a thirty-sixth terminal according to an embodiment of the present invention;
fig. 5 (i) is a schematic diagram of a display interface of a thirty-seventh terminal according to an embodiment of the present invention;
fig. 5 (j) is a schematic diagram of a display interface of a thirty-eighth terminal according to an embodiment of the present invention;
fig. 5 (k) is a schematic diagram of a display interface of a thirty-ninth terminal according to an embodiment of the present invention;
fig. 5 (l) is a schematic diagram of a display interface of a fortieth terminal according to an embodiment of the present invention;
fig. 6 (a) is a schematic diagram of a display interface of a forty-first terminal according to an embodiment of the present invention;
fig. 6 (b) is a schematic diagram of a display interface of a forty-second terminal according to an embodiment of the present invention;
fig. 6 (c) is a schematic diagram of a display interface of a forty-third terminal according to an embodiment of the present invention;
fig. 6 (d) is a schematic diagram of a display interface of a forty-fourth terminal according to an embodiment of the present invention;
fig. 6 (e) is a schematic diagram of a display interface of a forty-fifth terminal according to an embodiment of the present invention;
fig. 6 (f) is a schematic diagram of a display interface of a forty-sixth terminal according to an embodiment of the present invention;
Fig. 6 (g) is a schematic diagram of a display interface of a forty-seventh terminal according to an embodiment of the present invention;
fig. 6 (h) is a schematic diagram of a display interface of a forty-eighth terminal according to an embodiment of the present invention;
fig. 7 (a) is a schematic diagram of a display interface of a forty-ninth terminal according to an embodiment of the present invention;
fig. 7 (b) is a schematic diagram of a display interface of a fifty-th terminal according to an embodiment of the present invention;
fig. 7 (c) is a schematic diagram of a display interface of a fifty-first terminal according to an embodiment of the present invention;
fig. 7 (d) is a schematic diagram of a display interface of a fifty-second terminal according to an embodiment of the present invention;
fig. 7 (e) is a schematic diagram of a display interface of a fifty-third terminal according to an embodiment of the present invention;
fig. 7 (f) is a schematic diagram of a display interface of a fifty-fourth terminal according to an embodiment of the present invention;
fig. 7 (g) is a schematic diagram of a display interface of a fifty-fifth terminal according to an embodiment of the present invention;
fig. 7 (h) is a schematic diagram of a display interface of a fifty-sixth terminal according to an embodiment of the present invention;
fig. 8 (a) is a schematic diagram of a display interface of a fifty-seventh terminal according to an embodiment of the present invention;
fig. 8 (b) is a schematic diagram of a display interface of a fifty-eighth terminal according to an embodiment of the present invention;
Fig. 8 (c) is a schematic diagram of a display interface of a fifty-ninth terminal according to an embodiment of the present invention;
fig. 8 (d) is a schematic diagram of a display interface of a sixty-second terminal according to an embodiment of the present invention;
fig. 9 (a) is a timing chart of a first terminal according to an embodiment of the present invention for automatically cleaning a personal file of a user based on user habits;
fig. 9 (b) is a timing chart of the second terminal according to the embodiment of the present invention for automatically cleaning the personal file of the user based on the habit of the user;
fig. 9 (c) is a timing chart of automatically cleaning personal files of a user based on habit of the user by a third terminal according to an embodiment of the present invention;
FIG. 10 (a) is a flowchart of a method for automatically cleaning a personal file of a user by a first terminal according to an embodiment of the present invention;
FIG. 10 (b) is a flowchart of a method for automatically cleaning personal files of a user by a second terminal based on user habits according to an embodiment of the present invention;
fig. 11 (a) is a schematic diagram of a display interface of a sixty-first terminal according to an embodiment of the present invention;
fig. 11 (b) is a schematic diagram of a display interface of a sixty two-second terminal according to an embodiment of the present invention;
fig. 11 (c) is a schematic diagram of a display interface of a sixty-third terminal according to an embodiment of the present invention;
fig. 11 (d) is a schematic diagram of a display interface of a sixty-fourth terminal according to an embodiment of the present invention;
Fig. 12 is a schematic structural diagram of a terminal cleaning device according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a second terminal according to an embodiment of the present invention.
Reference numerals illustrate:
201-displaying an interface;
202-basic information;
203-displaying page marks of the interface;
204-function key;
205—page tags of the menu;
206-suspending ball;
207-cleaning state;
208-scanning progress;
209-buffer space occupation.
Detailed Description
The embodiment of the invention can be used for a terminal, and the terminal can comprise a notebook computer, a smart phone, virtual Reality (VR) equipment, augmented Reality technology (Augmented Reality, AR), vehicle-mounted equipment, intelligent wearable equipment and other equipment. The terminal is provided with at least a display, an input device and a processor, and as shown in fig. 1, the terminal 100 includes a processor 101, a memory 102, a camera 103, an RF circuit 104, an audio circuit 105, a speaker 106, a microphone 107, an input device 108, other input devices 109, a display 110, a touch panel 111, a display panel 112, an output device 113, and a power supply 114, for example, in the terminal 100. The display 110 is composed of at least a touch panel 111 as an input device and a display panel 112 as an output device. It should be noted that the terminal structure shown in fig. 1 does not constitute a limitation of the terminal, and may include more or less components than those shown in the drawings, or may combine some components, split some components, or different component arrangements, which are not limited herein.
The following describes the respective constituent elements of the terminal 100 in detail with reference to fig. 1:
the Radio Frequency (RF) circuit 104 may be used to receive and send information or receive and send signals during a call, for example, if the terminal 100 is a mobile phone, the terminal 100 may receive downlink information sent by a base station through the RF circuit 104 and then send the downlink information to the processor 101 for processing; in addition, data relating to uplink is transmitted to the base station. Typically, RF circuitry includes, but is not limited to, antennas, at least one amplifier, transceivers, couplers, low noise amplifiers (Low Noise Amplifier, LNAs), diplexers, and the like. In addition, the RF circuitry 104 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division multiple access (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), email, short message service (Short Messaging Service, SMS), and the like.
The memory 102 may be used to store software programs and modules, and the processor 101 executes various functional applications and data processing of the terminal 100 by executing the software programs and modules stored in the memory 101. The memory 101 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (e.g., a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (e.g., audio data, video data, etc.) created according to the use of the terminal 100, and the like. In addition, memory 101 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
Other input devices 109 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the terminal 100. In particular, other input devices 109 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, a light mouse (a light mouse is a touch-sensitive surface that does not display visual output, or is an extension of a touch-sensitive surface formed by a touch screen), and so forth. Other input devices 109 may also include sensors built into the terminal 100, such as a gravity sensor, an acceleration sensor, etc., and the terminal 100 may also take as input data parameters detected by the sensors.
The display 110 may be used to display information input by a user or information provided to the user and various menus of the terminal 100, and may also accept user inputs. In addition, the display panel 112 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like; the touch panel 111, also referred to as a touch screen, a touch sensitive screen, or the like, may collect touch or non-touch operations on or near the user (e.g., operations of the user using any suitable object or accessory such as a finger, a stylus, or the like on or near the touch panel 111, and may also include somatosensory operations; the operations include operation types such as single-point control operations, multi-point control operations, or the like), and drive the corresponding connection devices according to a preset program. It should be noted that the touch panel 111 may further include a touch detection device and a touch controller. The touch detection device detects the touch azimuth and the touch gesture of a user, detects signals brought by touch operation and transmits the signals to the touch controller; the touch controller receives touch information from the touch detection device, converts it into information that can be processed by the processor 101, and transmits it to the processor 101, and also receives and executes commands sent from the processor 101. In addition, the touch panel 111 may be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave, and the touch panel 111 may be implemented by any technology developed in the future. In general, the touch panel 111 may overlay the display panel 112, and a user may operate on or near the touch panel 111 overlaid on the display panel 112 according to content displayed on the display panel 112 (including but not limited to a soft keyboard, a virtual mouse, virtual keys, icons, etc.), and after the touch panel 111 detects the operation thereon or thereabout, the operation is transmitted to the processor 101 to determine user input, and then the processor 101 provides a corresponding visual output on the display panel 112 according to the user input. Although in fig. 1, the touch panel 111 and the display panel 112 are two independent components to implement the input and output functions of the terminal 100, in some embodiments, the touch panel 111 and the display panel 112 may be integrated to implement the input and output functions of the terminal 100.
RF circuitry 104, speaker 106, and microphone 107 may provide an audio interface between the user and terminal 100. The audio circuit 105 may transmit the received audio data converted signal to the speaker 106, and the audio data is converted into a sound signal by the speaker 106 and output; alternatively, microphone 107 may convert the collected sound signals into signals that are received by audio circuit 105 and converted into audio data that is output to RF circuit 104 for transmission to a device such as another terminal, or output to memory 102 for further processing by processor 101 in conjunction with content stored in memory 102. In addition, the camera 103 may acquire image frames in real time and transmit the image frames to the processor 101 for processing, and store the processed results in the memory 102 and/or present the processed results to the user through the display panel 112.
The processor 101 is a control center of the terminal 100, connects various parts of the entire terminal 100 using various interfaces and lines, and performs various functions of the terminal 100 and processes data by running or executing software programs and/or modules stored in the memory 102 and calling data stored in the memory 102, thereby performing overall monitoring of the terminal 100. It should be noted that the processor 101 may include one or more processing units; the processor 101 may also integrate an application processor that primarily processes operating systems, user Interfaces (UIs), applications, etc., and a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 101.
The terminal 100 may also include a power supply 114 (e.g., a battery) for powering the various components, wherein in embodiments of the invention the power supply 114 may be logically coupled to the processor 101 via a power management system such that charge, discharge, and power consumption functions are managed by the power management system.
In addition, components not shown in fig. 1 exist, for example, the terminal 100 may further include a bluetooth module, etc., which will not be described herein.
In the following, a technical solution of an embodiment of the present invention will be described by taking a terminal 100 shown in fig. 1 as an example of a mobile phone. It should be noted that, when the terminal 100 is a tablet computer, a desktop computer, or other devices, the technical scheme adopted in the implementation process of the embodiment of the present invention may also be adopted. For example, for a desktop, clicking, sliding, etc. operations according to embodiments of the present invention may be performed by a user via an input device such as a mouse, keyboard, etc.
As shown in fig. 2 (a), the main interface of the mobile phone is shown. The mobile phone comprises a mobile phone, a touch key, a function key, a touch key control unit and a function key, wherein the function key is arranged below the side of the mobile phone facing the user and is used for facilitating the user to realize some common functions, for example, the touch key is arranged at the leftmost side and used for realizing the rollback of a display interface by clicking the touch key; for another example, a touch key with a pattern of three parallel lines is arranged on the rightmost side, a user can zoom and display all interfaces running in the foreground and the background of the current mobile phone by clicking the touch key, and then close the application corresponding to the interface in a long-press and upward sliding mode on the running interface, so that the management of parallel applications is realized; for another example, a touch key with a pattern of "house" is arranged in the middle, and the user can return to the main interface of the mobile phone by clicking the touch key, for example, the user is currently looking up a short message, and as long as the user clicks the touch key, the mobile phone directly presents the main interface of the mobile phone.
In the embodiment of the present invention, the mobile phone in the above-described mode is described as an example, but the above-described mode is not limited to the mobile phone mode as the embodiment of the present invention.
In addition, there may be multiple main interfaces in the handset, for example, in fig. 2 (a), the handset includes 3 main interfaces. From the page markers of the display interface in fig. 2 (a), it can be seen that the white filled circle is the main interface that the current handset presents to the user, i.e. page 1 of the 3 main interfaces. Similarly, the black filled circles can be considered as the main interfaces that are not currently presented to the user by the cell phone, i.e., pages 2 and 3 out of the 3 main interfaces. The user may click and slide the main interface to the left or right to realize the switching between the 3 main interfaces, which will not be described herein.
In fig. 2 (a), an application named as a "security center" has a function of performing a quick scan and/or a full-disc scan on a mobile phone, and after completing the scan of the mobile phone, a user can manage the scanned content through operations such as clicking, sliding, and the like. In the embodiment of the present invention, the "security center" is only used as an application by which a user may implement content management in a mobile phone, but is not limited to the embodiment of the present invention, for example, the user may directly implement the technical solution shown in the embodiment of the present invention by using other applications capable of implementing the content management or corresponding functions of the mobile phone. Other applications capable of implementing the content management may be applications downloaded by the user through a network platform such as "application store", or applications installed in the mobile phone, or applications carried by the mobile phone, which are not limited herein.
As shown in fig. 2 (a) to 2 (d), the user may enter the main interface of the security center by clicking on the icon of the security center, and trigger the management of the content in the mobile phone by clicking on the "clear" icon in the main interface. In the embodiment of the present invention, the above-mentioned management of the content in the mobile phone includes, but is not limited to, moving, classifying, deleting, etc. the specific operation process will be set forth later, and will not be repeated here.
Therefore, the user needs to search the icon of the 'security center' on the main interface of the mobile phone, then realize the jump of the display interface through clicking operation, and the user needs to search the icon of the 'cleaning' on the interface after the jump and click, thereby triggering the mobile phone to realize content management. That is, the user can jump the interface on the mobile phone through operations such as searching, clicking and the like, and finally find the cleaning icon to clean the mobile phone. For a user, the selection operation on each interface can be more autonomously realized, and the mobile phone cleaning flow is triggered by clicking the cleaning icon at an appropriate time node.
When the interface currently displayed by the mobile phone is an interface other than the main interface of the mobile phone, for example, as shown in fig. 3 (a), the display interface of the mobile phone is a dialogue interface of the contact 10086 in the "short message". At this time, if the user wants to perform the content management operation, the user needs to click the touch key with the pattern of "arrow" or click the return key back to the short message main interface according to the implementation manner shown in fig. 3 (b), and then the user needs to click the touch key with the pattern of "arrow" or click the return key back to the mobile phone main interface, and then the user needs to back to the mobile phone main interface shown in fig. 2 (a), and then the operation steps shown in fig. 2 (a) to 2 (d) are performed, so that the mobile phone can be finally triggered to perform the content management.
In order to simplify the operation flow, the user may also click a touch key with a pattern of "house", as shown in fig. 3 (e), directly return to the main interface of the mobile phone, and then trigger the mobile phone to implement content management by adopting the operation steps shown in fig. 2 (a) to 2 (d).
However, in the implementation process, the mobile phone still needs to be returned to the mobile phone main interface, and then the operation steps shown in fig. 2 (a) to 2 (d) are adopted to trigger the mobile phone to implement content management.
Therefore, in order to simplify the operation of the user, in the embodiment of the present invention, other trigger mechanisms may be set on the mobile phone, for example, a "clear" icon may be set in a drop-down menu of the mobile phone, that is, when the user opens the drop-down menu according to the implementation manner shown in fig. 3 (f) to fig. 3 (h), that is, by long pressing and sliding down over the display screen of the mobile phone, and then by clicking the "clear" icon, as shown in fig. 3 (i), the current display interface of the mobile phone may be directly jumped to the display interface shown in fig. 2 (c) or fig. 2 (d). Therefore, no matter which display interface the user is currently on, the shortcut can be adopted to directly trigger the mobile phone to realize content management.
For another example, a "clear" icon may be added to a hover ball presented on the display of the cell phone. The user can directly jump the current display interface of the mobile phone to the display interface shown in fig. 2 (c) or fig. 2 (d) according to the implementation modes shown in fig. 3 (j) to 3 (l), i.e. by clicking the suspension ball and clicking the "clear" icon located on the expansion interface of the suspension ball. Similarly, compared with the previous implementation mode, the mobile phone can be rapidly triggered to realize content management by the user on which display interface the user is currently located, and the long-press and pull-down operation is directly simplified into clicking operation for the user, so that the mobile phone can be conveniently used by the user.
Therefore, the above-mentioned exemplary method not only can effectively reduce the operation steps executed by the user, but also can reduce the number of times of jumping the display interface of the mobile phone in the process of executing the operation by the user, so that the power consumption of the mobile phone can be saved to a certain extent and the service life of the mobile phone can be prolonged.
It should be noted that the above implementation is only one possible example, and the user may trigger the mobile phone to implement content management more quickly through other implementations, such as voice control, double click, long press, touching a specific area on the display screen with a certain pressure, or through implementation of fingerprint input, facial recognition, etc., which is not limited herein.
After the user successfully triggers the handset to implement content management, the handset may present a display interface as shown in fig. 4 (a). Wherein in the display interface, at least one of a cleaning state and a scanning progress may be included, but not limited to. In the embodiment of the invention, the cleaning state can be used for prompting a user that the mobile phone is currently scanning a storage area of the mobile phone, wherein the storage area comprises at least one of a cache and a hard disk; the scan schedule may be used to prompt the user in the case where the current handset scans itself, for example, the scanned content is a percentage of all the required scan content, i.e., 68% as shown in fig. 4 (a). It should be noted that the scanning progress may also include, but is not limited to, at least one of a time taken from a start to a current time of the scanning process, a consumed power, and a remaining time required for scanning, which is not limited herein.
In the embodiment of the invention, when the scanning progress reaches 100%, the display interface of the mobile phone can jump from the interface shown in fig. 4 (a) to the interface shown in fig. 4 (b), that is, a list to be cleaned is presented to the user, and all contents in the list to be cleaned are automatically checked.
It should be noted that the list to be cleaned is only one possible expression form, and the content that the user may need to clean and selected by the mobile phone is presented to the user, and the mobile phone may also be presented to the user in other preset manners, for example, more attractive forms such as graphics, bar charts, etc., which are not limited herein. For embodiments of the present invention, however, the list may be considered a more intuitive presentation. The list to be cleaned at least comprises, but is not limited to, a type, a name, a size and a storage path of the screened content. In the embodiment of the invention, the list to be cleaned can only present the names and the storage paths of the screened content, thereby facilitating the user to preview or review the screened content in the shown storage paths so as to determine how to manage the screened content.
Therefore, the aim of the list presentation is to inform the user of the content to be cleaned screened by the current mobile phone for the user, and prompt the user of the related information of the content for the user to select the management mode of the content.
In addition, the content which is screened by the mobile phone and possibly needs to be cleaned by the user is presented to the user, and the cleaning rule can be obtained by the mobile phone through learning the daily use habit of the user and screening from the storage area of the mobile phone according to the cleaning rule.
In the embodiment of the invention, the mobile phone can automatically collect the data for representing the habit of the user. The data for representing the habit of the user includes, but is not limited to, reading habit, software habit, entertainment habit, terminal use habit and the like of the user, as shown in fig. 1 (a), the data for representing the habit of the user is used as input for deep learning of a learning model, then the learning model outputs a cleaning rule for the mobile phone to finish cleaning of various contents in the cache and the storage area, and finally the cleaning contents are temporarily stored in the cache area. In fig. 1 (a), as one possible implementation, for a mobile phone, the cached content may be temporarily stored in the cache area for screening by a user or be permanently deleted directly without adopting a cleaning rule.
It should be noted that, the reading habit includes, but is not limited to, information related to documents frequently read by the user, and in the embodiment of the present invention, a document whose reading number reaches a threshold value in a unit time may be set, and is regarded as a document frequently read by the user. The unit time can be preset by a user or the mobile phone is configured before leaving the factory, for example, the unit time can be a period of one week, one month or one quarter; the threshold value for measuring the number of readings may be 5, 10 or more, and may also be preset by the user. The related information of the document includes, but is not limited to, the name of the document, the size of the document, the total number of times the document is read by the user, the creation time of the document in the mobile phone, the time when the document was last read by the user, and the like.
The software habit includes, but is not limited to, the frequency of use, the duration of use, the size of the occupied space of each software in the memory area of the mobile phone, the installation time of each software, the time of the last use, the buffer memory size generated by each time of using the software in a preset time range, etc. of the user. The use frequency can be the frequency of using a certain software by a user in a time period set by the user; the usage duration may include a single usage duration of each time a certain software is used within a time period set by a user, and a total usage duration within the time period; the preset time range may be preset by the user, and the specific setting mode and the size of the set parameters are not limited herein.
Entertainment habits include, but are not limited to, the number of views of the user to the local video of the cell phone and the cached video of the third party application, at what time the last view was, whether the user will delete the view screen after viewing, the size of the space occupied by the video in the cell phone storage area, the total duration of the video, etc.; the number of times the user uses the music file, the time of last use, the size of the space occupied by the music file in the memory area of the mobile phone, etc. The above description is given by taking video and music as examples, and may include, but not limited to, applications such as picture repair software and audio/video recording software, and files such as a video map to provide entertainment and leisure services to users.
The terminal usage habit includes, but is not limited to, the duration of the use of the mobile phone by the user every day, the number of times of use per unit time, which time the last use was, etc.
After the mobile phone grasps various items of data such as those exemplified above, data for representing the habit of the user can be used as the input of the model to realize the training of the model; or the mobile phone can upload all acquired data to a server, and the training of the model is completed through the server so as to reduce the occupation of computing resources in the mobile phone, and then the content output by the learning model is sent to the mobile phone for use by the mobile phone.
For the situation that model training is implemented on a mobile phone, after model training is completed, the mobile phone can also directly upload the content output by the learning model to a server for users to download from the server when needed or for users to download when needed to clean on other devices such as the mobile phone, intelligent wearable device, VR device and the like.
As model training data increases, that is, as data representing user habits increases, the more data the model learns, the higher the accuracy. For the embodiment of the invention, the content output by the learning model is a cleaning rule, and the cleaning rule can be regarded as a rule which can be changed according to the change of the habit of the user. It should be noted that, the model learning process may refer to a deep learning technique in the prior art, which is not described herein.
For example, a file may be considered to need cleaning with a high probability since the user has not read the file for a certain period of time and the file occupies a large memory space. If a large dependency is made on the file due to a recent change in the interest of the user, the probability that the file is considered to be a file that needs to be cleaned becomes smaller. That means, the user habit changes will result in the change of the digestion rules, and the change of the cleaning rules will affect the change of the content directly screened by the mobile phone.
The following describes possible implementation manners and corresponding implementation processes adopted by the mobile phone for automatically screening the content to be cleaned in combination with specific files.
For example, it is determined whether the music file needs to be cleaned.
List one
Take music files "opera", "cradle" and "moonlight" as examples. In table one, the closer the user's last time the music file was used, the higher the score, e.g., the user has just played the music file "moonlight", so the score corresponding to the music file for indicating the last time is 100; the larger the music file is, the higher the likelihood that the user is considered to clean the music file based on cleaning the mobile phone, and therefore, the lower the score of the item is; the more times a user accesses a music file per unit time, the more dependent the user is considered to have on the music file, and the user will often play the music file, and therefore the higher the score representing the number of accesses per unit time. The evaluation rule may be preset by the user, and may be adjusted in accordance with the actual requirement of the user, and is not limited herein.
Viscosity, which indicates whether the user desires to retain or clear the music file. In the embodiment of the present invention, setting the viscosity threshold b to 50 means that when the value of the viscosity is calculated to be greater than or equal to 50, the music file is considered to be the content that does not need to be cleaned, whereas when the value of the viscosity is calculated to be less than 50, the music file is considered to be the content that needs to be cleaned. It should be noted that, the viscosity threshold may be adjusted by the user according to the user's own requirement, for example, if the user desires to clean fewer music files currently, the viscosity threshold may be set to a lower value, such as 40, 30, etc., so as to screen fewer music files; if the user currently desires to clean more music files, the viscosity threshold may be set to a higher value, such as 60, 70, etc., and the manner of setting the viscosity threshold is not limited. For another example, the viscosity term may not be directly presented to the user in an intuitive percentage, but may be presented to the user in a hierarchical form such as high, medium, low, or A, B, C, D, where each level represents a certain range of intervals, and the upper and lower limits of the range of intervals may be preset by the user, which means that the mobile phone may divide the range of intervals corresponding to each item of files according to the specific percentage, and then only present the level corresponding to each item of files to the user. Similarly, the viscosity may be presented to the user in a static or dynamic display such as a slider bar, and the display is not limited.
In the process of calculating the viscosity, the calculation mode of multiplying each item of data by the weight according to the weight set for each item of content and superposing the weight can be adopted, and finally, the viscosity of a percentage is obtained. Wherein the weight a1+a2+a3=1. In the embodiment of the present invention, the weight for the score representing the last use time is set to 0.4, the weight for the score representing the file size is set to 0.4, and the weight for the score representing the number of accesses per unit time is set to 0.2. It should be noted that, the weight of each item can be preset and adjusted by the user, so long as the sum of the weights is 1.
For example, for a music file "opera", the viscosity is calculated as follows:
80*0.4+30*0.4+40*0.2=52
the above viscosity is greater than the viscosity threshold, and therefore, it is determined that the music file "opera" is a content that does not need to be cleaned. Similarly, it can be determined whether the other two music files need to be cleaned, and details are not repeated here.
It should be noted that the above table is merely illustrative as one possible example, and the same evaluation method may be adopted for any type of content to calculate the viscosity of the content and determine whether the content needs to be cleaned. In addition, the table entry referred to in table one is also described as a possible example, and in the embodiment of the present invention, the evaluation criteria of more or fewer entries may be included, which is not limited herein.
As shown in fig. 4 (c), the user may cancel the content automatically checked by the mobile phone through a click operation, and then click a confirm button, as shown in fig. 4 (d), to clear the selected content in the to-be-cleaned list. It should be noted that, the process of cleaning the mobile phone according to the content checked in the to-be-cleaned list may be regarded as a process of changing the storage position of the to-be-cleaned content, or may be regarded as a process of marking the to-be-cleaned content.
For example, as shown in fig. 4 (e), for a movie whose original storage path is "sdcard1/movie", the name is "roman holiday", and the size is 1.2GB, after the movie is cleaned, the movie is moved from sdcard1/movie to sdcard1/delete, that is, the storage path of the movie is changed. In the embodiment of the invention, the content stored in the delete folder of each of the sdcard1 and sdcard2 is regarded as the cache content, and the user is further filtered whether to permanently delete.
For another example, also taking the movie as an example, the mobile phone may add a mark to the movie during the cleaning process, and further screen whether the permanently deleted content is needed for the user according to the content to which the mark has been added. Then for the movie, the movie is essentially changed from the content in the original storage state to the content in the cached state because the tag is added, although the storage path is unchanged.
For another example, if the mobile phone has a function of synchronizing with the cloud or with a certain device, and the mobile phone currently satisfies a synchronization condition, taking the above movie as an example, the mobile phone may directly synchronize the movie to the cloud or to the certain device, and let the user further screen whether to permanently delete the movie from the mobile phone, and whether to delete the movie from the cloud or the certain device; or, the mobile phone can directly move the movie to the cloud or a certain device, that is, after synchronization is completed, the movie stored locally in the mobile phone is directly deleted, and then the user is queried whether to permanently delete the movie from the cloud or the certain device.
It can be seen that the foregoing examples are only one possible implementation manner, and are not limiting on the embodiments of the present invention.
In order to avoid that the user mistakenly cleans the content stored in the mobile phone due to misoperation on the interface shown in fig. 4 (c), after the mobile phone finishes the cleaning operation, the cleaned list is presented to the user, the user is informed of the cache path of the cleaned content, and then the user can jump to the corresponding interface by clicking a specific cache path to preview or review the content corresponding to the specific cache path, so as to determine whether the content needs to be restored and permanently deleted.
Considering that the possibility of misoperation of the user on the interface shown in fig. 4 (c) is low, so, in order to facilitate the management of the content in the mobile phone by the user, in the embodiment of the present invention, "restore" corresponding to all the content in the cleaned list? "options are all default to an unselected state, and if the user tries to restore a certain item of content, the implementation shown in fig. 4 (f) may be implemented as follows, that is," restore "corresponding to the content that tries to restore by clicking? "option to effect a hook of the content that is attempted to be restored, and then, as shown in fig. 4 (g), the ok button is clicked to restore the selected" work report ". Before the recovery, the buffer path of the work report is sdcard2/delete, and after the recovery, the work report should be recovered to the location originally stored in the mobile phone, that is, the storage path of the work report after the recovery is sdcard2/work.
In the embodiment of the invention, the content in the cleaned state is still stored locally in the mobile phone, but the cleaned content is stored in a specific folder, namely the folder named delete, so after the mobile phone recovers part of the content, in order to enable the mobile phone to have enough storage space to realize the storage of other content, the mobile phone can inquire whether the user needs to delete the unrecovered content permanently. As shown in fig. 4 (h), the handset may present the user with a cleaned list, where "permanent delete? "and for convenience of user operation," permanent deletion corresponding to all content in the cleaned list by default? The "options are all in the checked state, and the user can delete the checked content permanently by clicking the determination button directly. If the user does not consider whether to permanently delete part or all of the content in the cleaned list, the "permanently delete" corresponding to the uncertain content may be performed? The "option is de-hooked by clicking. In this way, the content which is not checked is still in the buffer area of the mobile phone, namely the folder named delete, and the user can perform management operations such as recovery, permanent deletion and the like on the content in the folder at any time.
In the embodiment of the invention, the buffer area and the storage area of the mobile phone can be regarded as a part of the mobile phone for storage, and in general, the buffer area and the storage area can be divided according to a proportion, for example, the buffer area is set to be 5% of the available space by default, and of course, a user can also adjust the proportion according to own requirements; alternatively, the size of the buffer area may be directly set to a specific value, that is, the size of the buffer area may be related to or unrelated to the size of the storage area, and the size of the buffer area may be related to or unrelated to the size of the available space. No matter which way is adopted to set the size of the buffer area, after the content cached in the buffer area reaches a certain number of files, the mobile phone can also prompt the user that the buffer area is full, or prompt the user that the buffer area is about to be full, so as to prompt the user to adjust the size of the buffer area, or clear the buffer area, and the like.
It should be noted that the buffer may not be disposed in the mobile phone, for example, disposed on other devices such as a network server. Taking the case that the buffer area is arranged on the network server, the mobile phone can directly buffer the cleared content to the network server, so that the storage space of the mobile phone can be saved, wherein the storage space refers to the space occupied by the temporarily stored content in the buffer area after the mobile phone is cleared.
It should be noted that, in the embodiment of the present invention, in order to avoid incorrect cleaning and incorrect permanent deletion, before each step of performing an operation on the content in the mobile phone, the mobile phone may be adjusted and confirmed by a user through presenting an editable list form, and in the actual cleaning process, in order to simplify the interactive operation between the mobile phone and the user, the cleaning time is saved, or the user may not be queried, and all scanned content may be cleaned directly. In view of the fact that permanently deleted content cannot be retrieved by the user, after all scanned content is cached in the cache area, a cleaned list is presented to the user, and the user selects whether to restore, permanently delete or retain part or all of the content in the cleaned list, and the like.
It is also meant that the above-mentioned interaction manner of each step presented in real time is only one possible implementation manner, and is not meant to limit the embodiments of the present invention. Likewise, the cleaned list mentioned above, similar to the list to be cleaned, is only one possible representation and is not meant to limit the embodiments of the present invention.
In the embodiment of the present invention, in order to more intuitively present the operations executed in the whole cleaning process to the user, as shown in fig. 4 (i), after each operation is executed, the mobile phone may present the restored content existing in the current cleaning process, that is, the restored list shown in fig. 4 (i), the permanently deleted content that cannot be restored, that is, the permanently deleted list shown in fig. 4 (i), and the currently scanned and uncleaned content that is still stored in the local area of the mobile phone, that is, the uncleaned list shown in fig. 4 (i). Likewise, the reference herein to a restored list, a permanently deleted list, and an uncleaned list, similar to the list to be cleaned and the list cleaned, is merely one possible representation and is not intended to limit embodiments of the present invention. In addition, the user may directly click on the options in each list shown in fig. 4 (i), so that the content may be managed individually or in batches, which will not be described herein.
As can be seen from fig. 4 (a) and fig. 4 (b), the mobile phone is presented after the scanning progress of the mobile phone reaches 100% when the list to be cleaned is presented, and in this process, the scanning progress is presented to the user in real time.
In another possible implementation, as shown in fig. 4 (j) to fig. 4 (l), each time a piece of content to be cleaned is scanned, one piece of content is presented to the user, that is, as the scanning progress percentage increases, the content in the list to be cleaned presented to the user increases piece by piece or in batches. Thus, the content cleaned by the mobile phone can be seen in real time or periodically for the waiting user.
For example, the user may divide the storage area of the mobile phone in advance to obtain multiple storage areas, so that in the scanning process, the mobile phone may present the scanned content from a certain storage area together after completing the scanning of the storage area. Therefore, the contents in the to-be-cleaned list are presented in batches by taking each part of storage area as a unit, and the contents in the to-be-cleaned list are also increased in batches according to a certain time interval along with the increase of the part of the scanned storage area. It should be noted that, the above-mentioned certain time interval is used to indicate the time spent for completing the scanning process of a certain part of the storage area, and in the embodiment of the present invention, the scanning time spent for different parts of the storage area may be the same or different, which is not limited herein.
For another example, the mobile phone can display the scanned content to be cleaned in batches with the change of the scanning time as a reference and the preset duration at each interval; or, the mobile phone can take the folder as a unit, and the content to be cleaned is presented once every time the scanning of one folder is completed. It follows that there are a variety of implementations of batch rendering of content to be cleaned in variable or non-variable steps, including but not limited to the above examples.
For another example, in order to further reduce the situation that the user waits for the poor experience brought to the user, the mobile phone can present the scanned content in real time, that is, the list to be cleaned presented to the user by the mobile phone is increased one by one, and in the unfinished process of the scanning process, the user can cancel the selected or re-selected operation on the scanned content at any time. In addition, the user can preview the scanned content to be cleaned in a clicking mode or directly jump to a storage path where the scanned content to be cleaned is located in the scanning process to view the original content.
Likewise, the user can clean all the content to be cleaned which has completed the hook.
On the basis of the cleaned list obtained after the cleaning is performed this time as shown in fig. 4 (e), the mobile phone may also prompt the user to view the cleaned list that is cleaned in the history time, as shown in fig. 5 (a), the mobile phone pops up a dialog box to ask the user whether to display all the contents in the cache area (i.e. the cleaned list at present). The user may skip the currently displayed interface to the interface shown in fig. 5 (b) by clicking the ok button, or click the cancel button, refusing to review the history clean up.
In the interface shown in fig. 5 (b), in addition to the need to present the cleaned list to the user, the user may be presented with the current occupancy of the buffer, for example, 50% of the buffer space shown in fig. 5 (b) is occupied. Therefore, the method can intuitively tell the user whether the storage space of the current buffer area is sufficient, so that the user can clean the content in the buffer area by means of permanent deletion or recovery when the buffer area is about to reach saturation.
Wherein the cleaned list is also provided with a "time remaining" item. That is, considering that the storage space of the buffer is limited, and for each cleaning operation, there is more or less content moved to the buffer, so that for the mobile phone, the content in the buffer can be managed according to the remaining time. For example, the time for the user to reserve the content in the preset buffer is 30 days, i.e. the time from the time when the content enters the buffer is calculated, and when the time for the content to stay in the buffer reaches 30 days, the mobile phone automatically cleans, i.e. permanently deletes, the content from the buffer. Therefore, the mobile phone can manage the buffer area according to the first-in first-out principle under the condition that the user does not manage the content in the buffer area, so that the risk of saturation of the buffer area is reduced to a certain extent. The first-in first-out refers to that the content which enters the buffer area first is preferentially and permanently deleted from the buffer area, and similarly, the content which enters the buffer area later is permanently deleted from the buffer area relatively later.
For the user, the cleaned list shown in fig. 5 (b) may also be directly managed, for example, for the content cleaned previously, the user may not restore or permanently delete the content at the time, and the user may selectively restore the content in combination with the current requirement, preference, and the like of the content.
For example, as shown in fig. 5 (c), the user may click directly on one or more items in the cleaned list, and then pop up the buttons "permanently delete", "restore" and "cancel". The user can permanently delete the item of content by clicking a "permanently delete" key; or the user can cancel the selected operation by clicking the cancel button, and certainly, the user can directly cancel the selected operation by clicking a blank area in the display interface, which is not limited herein; or by clicking a "resume" button to trigger an operation to resume the item of content.
As shown in fig. 5 (d), after the user clicks the "restore" button, the handset presents the user with the buttons "normal restore", "join freeze period", and "add whitelist". It should be noted that, the 3 key options presented at this time may directly cover each key option presented by the last click operation; or hiding each key option presented by the last click operation in a form similar to a suspension ball or a drop-down menu, so that the current interface can clearly and intuitively present the keys for the current operation of the user to the user.
For the mobile phone, the content which is selected by the user and is canceled to be checked in the list to be cleaned can be automatically added into the freezing period, so that the operation executed by the user can be reduced. For example, as shown in fig. 4 (c), when the user manually cancels the selection of a picture named "the moonlight of lotus pool" and a music named "cradle music", the picture and the concert are automatically added to the freezing period. Of course, the user may also add the music and/or the picture to the white list directly through further settings, which are not limited herein.
As shown in fig. 5 (e), if the user clicks the "normal restore" button, after normal restoration is completed, the mobile phone presents the current cleaned list to the user, and optionally, presents the restored list to the user. In the restored list, the storage paths of the restored contents can be presented, and the storage paths presented at the same time are the storage paths of the contents before cleaning. Of course, the user may also change the storage path of each item of content to be restored through operations such as editing, that is, after the restoration operation is completed, the storage position of each item of content after restoration is directly adjusted at the current interface, that is, the restored content is sorted, classified, etc. after restoration, which is not limited herein, and the user may adjust according to his own preference, demand, etc.
In addition, after ordinary restoration of music named "opera", the occupied cache space in the cache area is reduced from 58% to 56%.
If the user clicks the "enter freeze period" button, the handset will want to present the current cleaned list to the user after this is done, as shown in fig. 5 (g), optionally with a frozen list. Wherein the frozen list is similar to the previous various lists, and is only one possible presentation form, and the presented content, timing and the like are not limited. In the frozen list, the storage path of each item of content after entering the freezing period can be presented, and the storage path presented at the moment is the storage path of each item of content before cleaning. Of course, the user may also change the storage path of each item of restored content through operations such as editing, that is, after the freezing operation is completed, the storage position of each item of restored content is directly adjusted at the current interface, that is, the restored content is sorted, classified, etc. after restoration, which is not limited herein, and the user may adjust according to his own preference, demand, etc. In addition, a "time remaining" item may be provided in the frozen list, where the time remaining is similar to the time remaining in the cleaned list. The user may set in advance an initial value of the remaining time in the frozen list, that is, the remaining time for which a piece of content is frozen after the piece of content is added to the freezing period is the initial value of the remaining time, for example, 15 days. That is, after the content remains in the frozen list for 15 days, the mobile phone will automatically remove the content from the frozen list, i.e. perform an operation such as normal restoration on the content, and may also be regarded as deleting the content from the frozen list, while clearing the remaining time. At this time, the content deleted from the frozen list is the same as the content restored normally, and is still scanned the next time the scanning process is performed.
It should be noted that, the content added to the freezing period may be regarded as the content in the storage area is ignored if the mobile phone performs the scanning process in a next period of time, that is, the content is not used as the content in the to-be-cleaned list in the period of time. For example, the remaining time of a piece of content in the frozen list is 5 days, and during the 5 days, when the mobile phone performs the scanning process again, although the piece of content is still in the storage area of the mobile phone, the mobile phone directly skips the piece of content, that is, does not scan the piece of content because the piece of content is still in the frozen period. In the embodiment of the invention, the frozen identifier is added to each item of content in the frozen list, namely the item of content is still stored in the storage area of the mobile phone but is in a hidden state, namely the item of content is invisible to the scanning process, so that the mobile phone cannot scan the item of content within the period of time.
Therefore, the content which is expected to be reserved by the user can be reserved in the storage area for a longer time for the user to use, and meanwhile, the energy consumption is saved for the next or multiple scanning operation, namely, the scanned content amount is reduced, the scanning range is shortened, and the energy consumption of the mobile phone is further saved.
In the embodiment of the present invention, as shown in fig. 5 (h), not only the cleaned list is presented to the user, but also the frozen list may be presented to the user, where the frozen list may include, but is not limited to, the content that was added to the freezing period this time. That means that the user can also be presented at the current interface for content that is still in the freeze period. The user can also adopt clicking and other operation modes to directly delete, clean (i.e. add to the cleaned list), and recover the contents in the frozen list.
Similarly, since music named "opera" is moved by the user from the cleaned list to the frozen list, it can be considered that the music is moved from the buffer into the memory area of the handset, and thus the buffer space is reduced from 58% occupied to 56% occupied. In the embodiment of the invention, the occupation condition of the buffer space can be selectively presented to the user, or in order to facilitate the user to know the change condition of the current buffer space, the user can be presented with a prompt such as "the increase of the storable space of the buffer space by 2%" directly through a dialog box or the like, and the invention is not limited herein.
For example, as shown in fig. 5 (i), if the user clicks on a certain item in the frozen list, the handset may present the user with "unfreeze" and "whitelist" buttons. At this time, if the user clicks the freeze release button, the current frozen list is emptied, and the content that was freeze released can still be scanned when the mobile phone scans next time.
As shown in fig. 5 (j), if the user clicks the whitelist-add button, the current display interface may jump to the interface shown in fig. 5 (k). I.e. optionally a white list is presented to the user at the same time as the cleaned list is presented to the user. Similarly, the white list is similar to the above-described lists, and the contents, presentation timing, expression form, and the like in the white list are not limited.
It should be noted that, unlike the content added in the freezing period, the white list content is not scanned permanently, which means that the content added in the freezing period is not scanned only in a preset time, but the white list content is not scanned again by the mobile phone unless the user manually removes the white list content.
Therefore, for the user, the content added into the white list can be ensured not to be automatically cleaned by the mobile phone, and meanwhile, for the mobile phone, the scanning range is reduced to a certain extent, the probability of automatic mistaken cleaning of the mobile phone is reduced, and the user experience is improved.
For the buffer area, considering that the storage space of the buffer area is limited, in order to avoid that the mobile phone cannot clear the scanned content due to insufficient buffer area or avoid that the mobile phone directly deletes the cleared content permanently due to insufficient buffer area, in the embodiment of the present invention, it is also necessary to ensure that the buffer area has enough buffer space to buffer the content cleared by the mobile phone.
The user can set the occupation threshold of the buffer space for the buffer area in advance, namely, after the occupation condition of the buffer area exceeds the occupation threshold, the mobile phone can automatically clean the buffer area. Here, the clearing refers to permanently deleting part or all of the content in the buffer. It should be noted that, in order not to affect the normal use of the mobile phone by the user, the mobile phone may clear the buffer area when in an idle state, so as to ensure that the mobile phone can have enough resources to process the service currently being executed when in a non-idle state. The idle state may include a state that the mobile phone is in a standby state, a flight mode, a do not disturb mode, or a period of time that the mobile phone is being charged. In the embodiment of the present invention, the standby state refers to a state in which the user does not use the mobile phone, such as screen closing and screen locking. It should be noted that, the clearing of the buffer area consumes a certain amount of resources and electricity, so for the mobile phone in an idle state, the user may not use the mobile phone currently or the mobile phone has enough electricity to be consumed.
Or, the mobile phone can trigger the mobile phone to clean the buffer area after finding that the buffer area is insufficient to buffer the content to be cleaned currently in the cleaning process. In the embodiment of the present invention, the timing, mode, etc. of cleaning the buffer area of the mobile phone are not limited.
Taking a preset occupation threshold as an example, as shown in fig. 6 (a), the current buffer space occupies 95% and exceeds the occupation threshold of the buffer space by 90%, so that the mobile phone needs to clean the buffer area.
For example, the mobile phone can automatically delete each item of content in the cleaned list according to the amount of the remaining time in the cleaned list and the order of the remaining time from less to more until the occupied percentage of the buffer space is smaller than the occupied threshold. Namely, preferentially deleting the content with the remaining time of 2 minutes as shown in fig. 6 (a), and if the occupied percentage of the buffer space after deletion is less than 90%, terminating the cleaning operation of the buffer area; if the occupied percentage of the cache space after deletion is still more than or equal to 90%, continuing to delete the content with the remaining time of 5 minutes, and so on until the percentage of the occupied cache space is 90% after deleting a certain content. The deletion operation, i.e. the operation of cleaning the cache area, is mainly permanent deletion of one or more items of content. Of course, the user may reduce the content in the buffer area by recovering according to the requirement of the user, which is not limited herein.
For example, as shown in fig. 6 (b), the cleaned list is further provided with an LRU priority value (LRU Priority Value, LPV) obtained according to the most recently used algorithm (Least Recently Used, LRU), and the mobile phone can automatically delete each item of content in the cleaned list in order from the LPV to the large one until the occupied percentage of the buffer space is smaller than the occupied threshold.
As shown in Table II, one possible statistical approach is to the files in the buffer.
Watch II
In table two, file name, file type, file size, last use time, remaining time, and LPV are described. In the embodiment of the present invention, there may be more or less entries in table two, but considering that in the embodiment of the present invention, the cleaning of the buffer is mainly based on the value of the LPV, so there is an entry of the LPV in table two.
It should be noted that the LPV has a value between 0 and 1, and may be 0 or 1; in the embodiment of the present invention, the remaining time may be set uniformly by the user, or may be set in combination with the respective situations of each file, which is not limited herein. For example, for the case of separate settings, the initial value of the remaining time may be a function of the file size and the file type as arguments, i.e., the size of the initial value of the remaining time depends mainly on the file size and the file type; the LPV may be valued as a function of the time remaining, the file size, and the file type as arguments, i.e., the magnitude of the LPV's value depends primarily on the time remaining, the file size, and the file type. For the convenience of calculation, specific numerical values can be set for different types of file types, which are not exemplified herein.
In addition, for the mobile phone, one or more items of content can be selected at a time, and if the mobile phone deletes the one or more items of content, the content in the buffer area can meet the limit of the occupation threshold. But for the user, there is a high probability that the user does not want to clear the selected content, at this time, the user can manually deselect the content. In order to facilitate the operation of the user, the mobile phone can reselect one or more contents from the unselected contents in the cleaned list after the user cancels the selection of a certain content, and the mobile phone can ensure that the content amount in the buffer area meets the limit of the occupation threshold after deleting all the selected contents. Of course, the user may also reselect the content that the user desires to delete preferentially by clicking after manually canceling one or more selected contents. In the embodiments of the present invention, the foregoing exemplary deletion means is only one possible implementation manner, and is not limited to the embodiments of the present invention.
In addition, the cleaned list may be sequentially arranged in the order from the small to the large or from the large to the small of the remaining time, or may be sequentially arranged in the order from the small to the large or from the large to the small of the LPV for convenience of the user's manual operation, which is not limited herein.
The user may manually add a flag in the cleaned list, for example, a certain item or items of content may be marked as a content that can be deleted preferentially when the cache area is cleaned, or may mark a certain item or items of content as a content that need not be considered for deletion when the cache area is cleaned, etc., and the user may set the content in combination with his own needs, and the setting mode, means, timing, etc. are not limited herein.
After the mobile phone automatically selects one or more items of content in the cleaned list, or after the user manually selects one or more items of content in the cleaned list, the mobile phone may ask the user whether to permanently delete the selected item by presenting a dialog box, as shown in fig. 6 (c). The user can jump the interface currently presented by the handset to the interface shown in fig. 6 (d) by clicking the ok button. At this point, the handset presents the updated cleaned list to the user, optionally presenting the permanently deleted list to the user.
On the interface shown in fig. 6 (b), if the user clicks the cancel button after popping up the dialog box, as shown in fig. 6 (e), the mobile phone may present the interface shown in fig. 6 (f). At this time, the user may remove the selected content from the cache area by clicking a normal restore key, a white list adding key or a freeze period adding key, or may trigger the mobile phone to present another deletion scheme to the user by clicking a cancel key or a blank area of the current interface, that is, deselect the selected content, and reselect one or more items of content from the cleaned list, so as to ensure that the content of the cache area satisfies the requirement of occupying the threshold after deleting all the selected content by the mobile phone.
As shown in fig. 6 (g), another set of deletion schemes is presented to the user for the handset and asks the user "whether to permanently delete the option? ". If the user clicks the cancel button at this time, repeating the implementation process, and presenting a further set of deletion scheme to the user by the mobile phone until the user is satisfied; or, the mobile phone may prompt the user to manually select, and in order to facilitate the user operation, selectively present, in real time, one or more items of content that need to be selected with a total amount of specified values to the user, so as to ensure that after deleting the selected content, the content amount of the buffer area meets the requirement of occupying a threshold value.
If the user clicks the ok button at this time, as shown in fig. 6 (h), the mobile phone presents the updated cleaned list to the user, optionally presents the permanently deleted list to the user, and optionally presents the current occupied situation of the buffer space to the user, that is, the buffer space occupies 82%, which is lower than the occupation threshold of the buffer space by 90%.
In the embodiment of the invention, only one implementation manner of entering the cache area is shown, and in actual operation, a user can click and slide the cache area and then directly enter the management interface of the cache area by setting a shortcut key like a cleaning icon for the cache area, so that various operation flows described above are realized. That is, the manner of entering the buffer, the trigger condition, and the like are not limited herein.
In addition, in order to facilitate the realization of the subsequent cleaning process, the habit of the user can be learned in the cleaning process or after the cleaning process is finished, that is, the movement, editing and the like of the user on the content can be used as data for representing the habit of the user in the cleaning process and used as the input of a learning model, so that new cleaning rules are obtained or the existing cleaning rules are continuously updated and perfected.
For example, if the user recovers a file from the cleaned list, the mobile phone may count the mobile operation of the user as a piece of data, and for the same content recovered from the cleaned list twice or more in succession, the mobile phone may automatically add the content to the freeze period or the whitelist. At this time, the same type, style, or existence of the associated file as the file type may also be regarded as the content that the user is likely to desire to keep. Similarly, for documents that differ significantly from the document type, either in style contrast or in the absence of relevance, such documents are likely to be what the user desires to clean.
The above examples are merely one possible implementation, and the setting of the discrimination conditions such as the number of times may be preset by the user in combination with the own requirement, and the subsequent mobile phone may not be limited to the above implementation only according to the analysis data, analysis results, etc. generated by the user in this operation.
For the user, if the mobile phone is not stuck, the user is likely not to actively clean the mobile phone. Therefore, in order to ensure sufficient storage space in the mobile phone, in the embodiment of the invention, the mobile phone can be used for presetting the cleaning condition, namely, after the mobile phone detects that the mobile phone meets the cleaning condition, the mobile phone can be directly triggered to clean the mobile phone.
Wherein the cleaning conditions may include, but are not limited to, at least one of:
the storage space of the mobile phone is about to be saturated, and the method can be embodied in that the storage space of the mobile phone is occupied by 80% or more, and the operation of each application in the mobile phone is influenced because the storage area is less free;
for example, each mobile phone may be set with a cleaning period before leaving the factory, if the mobile phone is not cleaned for a long time, the mobile phone can inform the user to trigger the cleaning operation of the mobile phone in a prompting mode, and the mobile phone can automatically clean the storage area of the mobile phone after reaching the preset cleaning period;
after the mobile phone performs upgrading on a plurality of applications, a great deal of change of the content to be loaded on the application main interface may be affected, so that the content cached in advance or stored in the mobile phone is likely to be updated to a great extent, and at the moment, the content stored in the storage area of the mobile phone is likely to have a great deal of useless content, so that the storage space of the mobile phone is wasted;
The storage speed or the running speed of the mobile phone is too slow, so that situations such as blocking, too high power consumption and the like of the mobile phone are caused, for example, the speed of an application in the mobile phone is smaller than a preset loading threshold value in the opening process, or the power consumption speed of the mobile phone is larger than a preset power consumption threshold value in the running process of the application, wherein the loading threshold value and the power consumption threshold value can be preset by a user, or can be preconfigured before the mobile phone leaves a factory, or can be directly downloaded from a platform for downloading the application in the downloading process of the application, and the like are not limited.
At this time, as shown in fig. 7 (a), the mobile phone may ask the user "is the storage area of the mobile phone to be cleaned up" through a dialog box or the like? ", and informs the mobile phone of the reason of the current prompt, such as" prompt reason: the reason for the prompt may be that the storage space of the mobile phone is saturated, a plurality of applications of the mobile phone are updated, the mobile phone is blocked due to the fact that the storage area is too full, power consumption is too fast, etc., which is not exemplified herein.
As shown in fig. 7 (b), if the user clicks the confirm button, the mobile phone executes the cleaning process on the storage area of the mobile phone, and the specific cleaning process may refer to the first embodiment, and in the cleaning process, the cleaning process may be selectively presented to the user, that is, a part or all of the list generated in the cleaning process is not described herein.
Considering that there may be a desire to clean up the phone, but currently because the user is viewing some content or processing something, it is not desirable that the phone occupy too much resources to perform the cleaning operation, as shown in fig. 7 (c), the phone may also provide the user with an immediate cleaning button and a later alert button when presenting an inquiry dialog to the user. If the user clicks the immediate cleaning button, the cleaning process of the mobile phone is directly triggered; if the user clicks the later wake-up button, as shown in fig. 7 (d), after a period of time, for example, 30 minutes, the phone pops up the dialog box a second time, prompting the user to clean up the phone, as shown in fig. 7 (e). If the user still selects the later reminding button at this time, as shown in fig. 7 (f), after a long period of time, for example, 3 hours, the mobile phone pops up a dialog box for the third time, prompting the user to clean the mobile phone, but the mobile phone does not provide the later reminding button but provides the immediate cleaning button, and asking the user whether all, only, or not the cleaning result is displayed, as shown in fig. 7 (g).
The whole display refers to the complete display of the cleaning process of the mobile phone, such as parameters of scanning progress, cleaning progress and the like, and each list item generated in the cleaning process is presented to the user one by one, so that the user can know the whole cleaning process; only displaying the cleaning result means that the mobile phone presents the cleaned list which is already added to the buffer area to the user for the user to view after the cleaning is finished, so that the cleaning result can be directly presented to the user under the condition that the current operation of the user is not influenced; the fact that the mobile phone is not displayed means that the mobile phone does not provide any prompting information for the user after the cleaning process is completed, and therefore the cleaning process which is not perceived by the user is achieved.
It should be noted that, the number of prompting times for prompting the user to execute cleaning, the time interval between two adjacent prompting, the key option for the user to click after prompting, and the like may be preset by the user, or the mobile phone may be set before leaving the factory, and for a specific setting mode, the operation habit of the user and the current situation of whether the mobile phone needs cleaning urgently may be considered for adjustment, which is not limited herein.
In the process of cleaning the mobile phone, if the user does not desire to display the whole cleaning process, in order to inform the user that the mobile phone is currently executing the cleaning process, the mobile phone may present a cleaning icon to the user, for example, as shown in fig. 7 (h), where a "broom" icon for identifying that the mobile phone is in the cleaning process is displayed in basic information above the display interface. In the embodiment of the present invention, the current cleaning progress may also be displayed beside the icon, for example, other display forms such as percentage, which are not limited herein.
For users who work busy at ordinary times and do not take care of the mobile phone cleaning process, the cleaning process without perception can lead the users to get better experience.
For example, as shown in fig. 8 (a), the user may turn on the automatic cleaning option in the setting interface, and as shown in fig. 8 (b), the user turns on the automatic cleaning option in the off state by clicking or sliding or the like. It should be noted that, in the embodiment of the present invention, considering that the mobile phone generally needs to be cleaned regularly, in order to be convenient for a user, the automatic cleaning option is in an on state in a default initial state. That is, if the user does not expect the mobile phone to actively clean the mobile phone, the user can close the automatic cleaning option at the setting interface, so as to obtain the effect shown in fig. 8 (a).
To further facilitate the user, for the case of opening or not opening the automatic cleaning option, the user may jump to the interface where the cleaning menu is located by clicking the area where the cleaning icon is located, as shown in fig. 8 (c), as shown in fig. 8 (d). At least one submenu in the display, cleaning time, buffer area and list is included but not limited to.
Taking the example of displaying the submenu, the user can open the submenu by clicking an arrow located on the right side, wherein the steps include displaying a cleaning result and displaying a cleaning process, and the user can open one or both of the two options by clicking or sliding operation.
It should be noted that, for the case that the cleaning result option is not opened and the cleaning process option is displayed, after the mobile phone finishes cleaning, the user is only prompted to finish cleaning, and no content is presented to the user in the cleaning process and after the cleaning process is finished, so that the current operation performed on the mobile phone by the user is not influenced; for the condition that only the option for displaying the cleaning result is started, the mobile phone completes the whole cleaning process in the background, then presents the cleaned list to the user, and informs the user that the cleaning is completed, so that the user can more intuitively see the cleaning result without affecting any operation of the user in the cleaning process; for the condition that only the option of displaying the cleaning process is started, the mobile phone presents the generated list to the user one by one in the cleaning process, so that the user can conveniently manage the content in the cleaning process and timely stop misoperation in the cleaning process; for the case that the option of displaying the cleaning result and the option of displaying the cleaning process are simultaneously started, the user can follow the progress, the result and the like of the cleaning process in the whole process.
Similarly, the user can open the cleaning time submenu by clicking an arrow located on the right side of the cleaning time submenu, wherein the cleaning time submenu comprises that the mobile phone is in an idle state and the mobile phone is in a special mode, and the user can open one or all of the two options in a clicking or sliding operation mode.
It should be noted that, the mobile phone is in an idle state, including, but not limited to, a state in which the mobile phone is in a standby state, a state in which the hollow resources in the mobile phone are more sufficient, a state in which the electric quantity of the mobile phone is sufficient, etc., which are not exemplified herein; special modes include, but are not limited to, a flight mode, a do not disturb mode, etc. that annotate the status of the user that the handset may not be in use. It should be noted that, the user may set the cleaning time according to his own habit of using the terminal, for example, set the cleaning time to 5 a in the morning: 00, etc., are not limited herein.
If the user does not select any option under the cleaning time submenu and the user has opened the automatic cleaning option, the user is indicated to allow the mobile phone to realize content cleaning in any time period.
Therefore, after the user opens the automatic cleaning option, if the mobile phone detects that the mobile phone meets any one of the cleaning conditions mentioned in the second embodiment, the mobile phone can be cleaned automatically. It should be emphasized that the automatic cleaning of the mobile phone may be limited to moving the content screened in the storage area of the mobile phone to the cache area, or may be to permanently delete the content screened in the storage area of the mobile phone after soliciting the user opinion, or may be to permanently delete the content screened in the cache area after soliciting the user opinion, or the like, which is not limited herein.
In the first to third embodiments, the content scanned by the mobile phone includes, but is not limited to, content stored in a storage area of the mobile phone, and may also include a cache. Considering that the cache removal does not have a great influence on the content downloaded or stored by the user, but only has an influence on the loading speed of each application interface, and the mobile phone is required to consume extra flow to complete interface loading, etc., in general, in order to improve the cleaning effect, the cache is always permanently deleted directly, and the permanently deleted cache does not influence the normal use of the mobile phone by the user because of no recovery. Therefore, the content recorded in the cleaned list can be reduced, the occupation of the cache space in the cache region is reduced, and meanwhile, the cleaning efficiency is improved.
Of course, the mobile phone can also generate a cleaned list from the cache which is intended to be permanently deleted for the user to judge whether to permanently delete, and for the application interface which is frequently accessed by the user, the user can also choose not to clean the cache of the application, so that when the user accesses the application again, the flow required by loading the interface can be saved, the access speed can be improved to a certain extent, and the user experience is improved.
In addition, in the above-mentioned exemplary cleaning method, it is generally selected to move the content originally stored in the mobile phone storage area to the cache area, and then selectively delete the content in the cache area permanently. However, in the actual operation process, the mobile phone can adopt an updating and replacing mode to realize the cleaning process which is equivalent to the mode.
For example, if the mobile phone screens out an application named as a map, the mobile phone can obtain the latest version of the map from the application store and download and install the latest version of the map to replace the map of the old version, and then permanently delete the installed installation package so as to save the space in the storage area under the condition that the mobile phone has the authority to access the application store; or, the update package of the map is obtained from the application store to download and update the map, and then the downloaded update package is permanently deleted, so that the space in the storage area is saved. Thus, the cleaning process performed by the handset is not limited to the movement, permanent deletion of content, but may include, but is not limited to, version upgrades, replacements, etc. for the same application.
Of course, the user is likely to restore an application named "map" after the handset moves the application to the cache. The user can consider that the user needs the application no matter what kind of restoration mode is adopted by the current user, and the operation flow of version upgrading and replacing can be triggered at the moment, so that although the application is not cleaned to a certain extent, the mobile phone can autonomously upgrade and replace the application for the content which the user expects to leave, and similarly, the mobile phone can autonomously download the high-definition or different-resolution version for movies, music and the like to replace the old version.
In addition, for the picture, in order to save the storage space, the mobile phone can ask the user that the original picture is expected to be permanently deleted, and if the user desires to delete the original picture, the mobile phone can continuously ask the user whether the user needs to keep compressing the original picture to obtain the thumbnail. If the user reserves the thumbnail and deletes the original picture, not only the storage space can be saved, but also a picture for the user to review can be reserved, and all information in the original picture can be provided for the user although a certain difference exists in definition. In addition, the mobile phone can automatically select the deleted picture or select the picture to be backed up to the network server, so that when the user needs to call the original picture of the picture, the picture can be downloaded from the network server.
It should be noted that the above implementation is only exemplary as one possible cleaning mode, and is not meant to limit the embodiments of the present invention.
The cleaning method provided by the invention is exemplarily described below in connection with several specific application scenarios.
For example, as shown in fig. 9 (a), a schematic diagram of the user autonomously triggering the intelligent terminal to execute the cleaning process is shown. Wherein steps 201 to 206 are included. It should be noted that, the terminal 100 may be specifically an intelligent terminal according to the embodiment of the present invention.
Step 201, outputting a cleaning rule.
The learning process of the learning model may refer to the learning process of the habit of the user in the first embodiment, which is not described herein. It should be noted that, the output cleaning rule is provided for the intelligent terminal to effectively distinguish the content desired to be deleted by the user from the content desired to be reserved by the user in the storage area.
Step 202, triggering the intelligent terminal to clean the storage area.
The user can trigger the intelligent terminal to clean through clicking, sliding and other operations. It should be noted that, at this time, the intelligent terminal may prompt the user to trigger the cleaning process through a dialog box or the like.
And 203, scanning the storage area according to the cleaning rule, and moving the scanned content to the cache area.
For the intelligent terminal, the content scanned according to the cleaning rule is likely to be the content which the user desires to delete, so the intelligent terminal can firstly move the screened content to the cache region in order to distinguish the content which the user desires to keep.
Step 204, presenting the content in the buffer.
The manner in which the intelligent terminal presents the content in the cache region to the user may be to present a cleaned list to the user.
Step 205, confirming the selected content and cleaning.
The user can select and cancel the content by clicking and the like, confirms that the selected content is the content which is required to be permanently deleted by the user currently, and meanwhile forwards a cleaning triggering instruction to the intelligent terminal.
Step 206, permanently deleting the selected content.
After receiving the instruction of triggering cleaning by the user, the intelligent terminal permanently deletes the selected content, thereby realizing the whole cleaning process.
It should be noted that, the above steps 201 to 206 are only one possible implementation manner of cleaning, and the specific implementation process and effect included therein are fully shown in the first to third embodiments, and reference may be made thereto.
As another example, as shown in fig. 9 (b), a schematic diagram is shown in which the intelligent terminal autonomously triggers itself to execute the cleaning process. Wherein steps 301 to 308 are included. It should be noted that, the terminal 100 may be specifically an intelligent terminal according to the embodiment of the present invention.
Step 301 is the same as step 201, and steps 305 to 308 are the same as steps 203 to 206, and are not repeated here.
Step 302, detecting that the cleaning condition is reached.
The specific details of the cleaning conditions may be referred to the descriptions in the first to third embodiments, and will not be repeated here.
Step 303, reminding a user to trigger the intelligent terminal to scan the storage area.
For the user, the former example mainly consists in that the user triggers the whole cleaning process manually at will, and the present example mainly consists in that the intelligent terminal prompts the user to trigger the whole cleaning process manually after detecting that the intelligent terminal needs to clean itself. The manner of reminding the user may include, but is not limited to, presenting a dialog box, sending out a prompt tone, etc., which are not exemplified herein.
And 304, triggering the intelligent terminal to scan the storage area.
In combination with the manner in which the intelligent terminal reminds the user in step 303, the user may also select to trigger the intelligent terminal to scan the storage area thereof by clicking, sliding, or even sending out a voice command.
As another example, as shown in fig. 9 (c), a schematic diagram is shown in which the intelligent terminal autonomously triggers itself to execute the cleaning process. Wherein steps 401 to 415 are included. It should be noted that, the terminal 100 may be specifically an intelligent terminal according to the embodiment of the present invention.
Step 409 is the same as step 201 and step 301, and step 412 is the same as step 302, and will not be described here.
Step 401, open the auto clean option.
The user can manually open the automatic cleaning option, so that the intelligent terminal can automatically clean the mobile phone.
Step 402, an initial chemistry model.
Step 403, successfully initializing the learning model.
Step 404, the automatic cleaning function is successfully started.
In the embodiment of the invention, in order to enable the intelligent terminal to realize automatic cleaning, the learning model needs to be initialized by a user at the beginning, namely, initial parameters in the learning model are set, so that the intelligent terminal can complete learning according to the learning model with the initial parameters. The initial learning model can be regarded as an initial cleaning rule input by a user for the intelligent terminal to realize cleaning.
Step 405, generating data representing user habits.
Step 406, collecting data representing user habits.
In the process of using the intelligent terminal, the intelligent terminal can monitor and collect various operations of the user, so that data for representing habits of the user are obtained. For the type, collection manner, etc. of the data for indicating the habit of the user, reference may be made to the corresponding content of the first embodiment, and the description thereof will be omitted.
Step 407, charging the intelligent terminal at night.
Step 408, deep training the learning model.
For the intelligent terminal, in order to provide better service for users, the learning model needs to be continuously optimized, so that the accuracy of content screening of the intelligent terminal in the cleaning process is improved. Considering that the process of deep training the learning model not only occupies the resources of the intelligent terminal but also consumes the electric quantity of the intelligent terminal, in the embodiment of the invention, for the intelligent terminal being charged at night, the current user does not need excessive resources to realize the use of the intelligent terminal, and meanwhile, the intelligent terminal is ensured to have enough electric quantity for deep learning, so that the intelligent terminal is triggered to carry out the deep training learning model under the condition of step 407.
Step 410, deleting data representing user habits.
After the deep training is completed, in order to save storage resources of the intelligent terminal, data used for representing habits of a user may be deleted, and only a result of the deep training, that is, a cleaning rule output at this time, may be reserved, where the cleaning rule is a new cleaning rule generated according to the result of the deep training, so as to replace an old cleaning rule, or may be regarded as updating, improving, or the like based on the old cleaning rule.
Step 411, the intelligent terminal is charged.
Step 413, scanning the storage area according to the cleaning rule, and cleaning the scanned content.
Because the user has opened the automatic clearance option, therefore, intelligent terminal will trigger the content clearance flow after detecting that self reaches the clearance condition.
It should be noted that, the user may preset the automatic clearing authority of the intelligent terminal, that is, the intelligent terminal clears the content to move the screened content to the buffer area, or directly delete the screened content permanently. In general, considering that the permanently deleted content cannot be restored, the intelligent terminal will default to move the screened content to the cache area, and then prompt the user to decide if the permanently deleted content is needed.
Step 414, the cleaned list/permanently deleted list is presented.
And presenting a result after the cleaning is finally finished according to the cleaning process of the intelligent terminal. For example, if the intelligent terminal only moves the screened content to the cache region, then presenting the cleaned list to the user, selectively inquiring whether the content in the cleaned list needs to be permanently deleted or not, and directly permanently deleting the selected content after the user confirms; if the intelligent terminal has obtained the permission of the user, the screened content can be directly and permanently deleted, the user is presented with a permanently deleted list after the intelligent terminal has completed the cleaning process, and at this time, even if the content desired to be reserved by the user exists in the permanently deleted list, the content is not helpful. Of course, in order to avoid the above situation, if the user gives the intelligent terminal an automatic cleaning authority to perform permanent deletion, the user may also start a function of the intelligent terminal, such as synchronization, before the intelligent terminal performs cleaning, so that the intelligent terminal synchronizes the permanently deleted content to the cloud or other devices, and if the user tries to retrieve the permanently deleted content from the intelligent terminal, the user may also directly access the cloud or other devices to obtain the permanently deleted content.
Step 415, confirming the cleaning result.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the embodiments of the present invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
For another example, the process of automatically cleaning up a file by the mobile phone may be implemented as a method process as shown in fig. 10 (a). Steps 501 to 509 are included.
Step 501, a model generates a cleaning rule.
The implementation of the model to generate the cleaning rule through deep learning may refer to the above, and will not be described herein.
Step 502, scan files and cache.
In the embodiment of the invention, the scanned files and the cache can be regarded as contents stored in a mobile phone storage area; the scanned file may be regarded as the content in the mobile phone storage area, and the cache is temporarily stored in a position different from the mobile phone storage area.
Step 503, determining whether the current file is on a white list or in a freeze period. If not, executing the steps; otherwise, step 509 is performed.
It should be noted that files that are on a white list or in a frozen period may be regarded as files that do not need to be cleaned at least currently. For the white list, the user does not need to clean the file before moving the file out of the white list, and of course, the file in the white list or in the freezing period can not be scanned in the scanning process, so that resources consumed by the mobile phone for judging whether the file possibly needs to be cleaned can be saved.
Step 504, calculate the viscosity of the file.
The viscosity may be calculated by the above-mentioned calculation method, and will not be described here.
And 505, judging whether the viscosity is larger than a viscosity threshold value. If not, go to step 506; otherwise, step 509 is performed.
In the embodiment of the present invention, the file with the viscosity greater than the viscosity threshold is considered to be a content with a higher frequency of use or a content with a higher requirement of the user for the file, so the file with the higher viscosity is not cleaned here.
Step 506, moving the file to the buffer.
Step 507, judging whether the cleaning process is finished. If not, go to step 508; otherwise, step 509 is performed.
Step 508, notifying the user that the cleaning is completed.
Step 509, pointing to the next file.
And then, the steps 501 to 509 are circularly executed until the scanned content is cleaned.
Therefore, in the embodiment of the invention, the content in the mobile phone is screened and cleaned by taking the file in the mobile phone as a unit. In the process of scanning the cache in step 502, in the embodiment of the present invention, the steps of the method after step 502 are adopted together for judgment and processing, but it should be noted that after the scanning process is finished, the cache may be cleaned directly, and only the scanned files may be judged and processed one by one, which is not limited herein.
For another example, the process of automatically cleaning the buffer area by the mobile phone may be implemented as a method process as shown in fig. 10 (b). Wherein steps 601 to 609 are included.
Step 601, attempting to move the file to the buffer.
After the mobile phone scans the content in the storage area according to the cleaning rule output by the learning model, the scanned file needs to be moved to the cache area, and at this time, the mobile phone is considered to try to move the scanned file to the cache area. In the embodiment of the invention, when the mobile phone is ready to clean the file, whether the residual space in the buffer area is sufficient or not is judged, and the buffer area is cleaned when the residual space is insufficient. It should be noted that, the mobile phone may also clean the buffer area when the mobile phone is in a charging state or the user is idle in a state where the mobile phone is not used, so that when the mobile phone tries to move the file to the buffer area, the probability of cleaning the buffer area again can be greatly reduced, thereby improving the efficiency of cleaning the file.
Step 602, determining whether the remaining space in the buffer is sufficient. If not, go to step 603; otherwise, step 604 is performed.
Step 603, deleting the file with the smallest LPV.
The calculation method of the LPV is described above, please refer to the above, and the description is omitted herein.
Steps 602 and 603 are then looped until there is sufficient space left in the buffer.
Step 604, moving the file to a buffer.
Step 605, if the user adds the file in the buffer area to the freezing period, the mobile phone does not scan the file added to the freezing period in the freezing period.
Step 606, if the user adds the file in the buffer area to the white list, the mobile phone does not scan the file in the white list.
Step 607, determine whether the remaining time of the current file in the buffer is 0. If 0, go to step 608; otherwise, step 608 is performed.
Step 608, delete the file.
Step 609, point to the next file.
Thereafter, the above steps 607 and 609 are circularly performed until all the contents of the buffer remaining for 0 are cleared.
Therefore, various modes of cleaning the buffer area, such as adding the files in the buffer area into a freezing period, adding the files into a white list, and the like, can effectively remove the files from the buffer area, and certainly, the files in the buffer area can be cleaned by referring to the residual time of the files in the buffer area, the size of the LPV, and the like, and the mode of cleaning the files in the buffer area can be permanent deletion.
In the embodiment of the invention, besides adding the cleaning options on the setting interface or improving the function of the cleaning options in the application such as an application manager, a cleaning shortcut key can be added on the application such as a file management, and a user can open a menu corresponding to the cleaning shortcut key through operations such as clicking, sliding and the like. After the menu is opened, the menu shown in fig. 11 (b) may present options to the user, such as cleaning up files that are not used or are less frequently used by the user for 3 months, 6 months, or 12 months, i.e., "3 months, 6 months, and 12 months" shown in fig. 11 (b), based on the current use of the terminal by the user. After the user selects 'approximately 12 months', the mobile phone automatically cleans files which are not used or are used less frequently by the user in approximately 12 months. After the cleaning is completed, a dialog box may be directly popped up instead of displaying the cleaning result to inform the user that the current cleaning process is finished, as shown in the figure, "cleaning has been automatically completed according to the habit of the current user to use the terminal". Moreover, considering that the user currently enters the file management application to clean the file, for convenience of user operation, the user may jump to the interface preset by the user directly after a certain time, or a specific interface, for example, a mobile phone main interface, that is, "10 seconds later will automatically return to the mobile phone main interface" shown in fig. 11 (d).
The time period of 3 months, 6 months, or 12 months may be preset by the user, and the specific setting manner, the length of the setting period, and the like are not limited herein.
In addition, as shown in fig. 11 (b), while displaying the menu, the user may optionally be presented with visual effects, such as a cleanable space ratio, a cleanable operating speed ratio, etc., that can be brought to the mobile phone after cleaning according to different conditions, which are not limited herein. The visual effects can enable the user to select proper cleaning options according to the self requirements, so that the user experience is improved.
For the mobile phone, not only can the cleaning rule be updated in real time, but also a to-be-cleaned list meeting different conditions can be obtained by referring to a time period preset by a user when the mobile phone is in a state of screen locking, charging and the like with sufficient resources and/or sufficient electric quantity, the to-be-cleaned list can be selectively presented to the user, and can also be recorded in the local of the mobile phone, and after the user triggers cleaning operation corresponding to a corresponding period, the mobile phone cleaning is realized according to the completed scanning result.
In this way, from the perspective of the user, the personal file cleaning based on time can be completed by combining the self requirements, and the cleaning process can select a display interface which is not displayed on the terminal, so that the user can jump to other interfaces to perform other operations when cleaning the mobile phone.
In a terminal such as the above-mentioned mobile phone, a terminal cleaning device may be provided, which, in order to implement the above-mentioned functions, includes a hardware structure and/or a software module for executing the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the invention can divide the functional modules of the terminal cleaning device according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present invention, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
Fig. 12 is a schematic view of a possible structure of the terminal cleaning device according to the above embodiment. The terminal cleaning device 70 includes: a display module 71, a receiving module 72, a processing module 73 and an updating module 74. The display module 71 is used for supporting the terminal cleaning device 70 to display each interface, and the receiving module 72 is used for supporting data interaction between the terminal cleaning device 70 and each module in the terminal and/or supporting communication between the terminal and other devices such as a server; the processing module 73 is configured to support the terminal cleaning device 70 to complete operations such as cleaning files and learning cleaning rules, and/or other processes for the techniques described herein; the update module 74 is configured to support the terminal cleaning device 70 to update the cleaning rule. The terminal cleaning device 70 may further comprise a storage module 75 for supporting the terminal cleaning device 70 to store cleaning rules and for storing program codes and data of the terminal.
The processing module 73 may be implemented as a processor or a controller, such as a central processing unit (Central Processing Unit, CPU), a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an Application-specific integrated circuit (ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. The processor may also be a combination that performs the function of a computation, e.g., a combination comprising one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The receiving module 72 may be implemented as a transceiver, transceiving circuitry, or a communication interface, among others. The memory module 75 may be implemented as a memory.
If the processing module 73 and the updating module 74 can be implemented as a processor, the receiving module 72 can be implemented as a transceiver, the storage module 75 can be implemented as a memory, and the display module 71 can be implemented as a display, as shown in fig. 13, the terminal 80 includes: a processor 81, a transceiver 82, a memory 83, a display 84, and a bus 85. Wherein the processor 81, transceiver 82, memory 83 and display 84 are interconnected by a bus 85; bus 85 may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 13, but not only one bus or one type of bus.
The steps of a method or algorithm described in connection with the present disclosure may be embodied in hardware, or may be embodied in software instructions executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in random access Memory (Random Access Memory, RAM), flash Memory, read Only Memory (ROM), erasable programmable Read Only Memory (Erasable Programmable ROM), electrically Erasable Programmable Read Only Memory (EEPROM), registers, hard disk, removable disk, a compact disk Read Only Memory (Compact Disc Read-Only Memory, CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in the same device, or they may reside as discrete components in different devices.
Embodiments of the present invention provide a readable storage medium comprising instructions. The instructions, when executed on a terminal, cause the terminal to perform the method of any of the above.
Embodiments of the present invention provide a computer program product comprising software code for performing the method of any of the above.
Embodiments of the present invention provide a graphical or user interface for performing the method of any of the above.
The foregoing detailed description of the embodiments of the present invention has been presented for purposes of illustration and description, and it should be understood that the foregoing detailed description of the embodiments of the invention is not intended to limit the scope of the invention, but is intended to cover any modifications, equivalents, improvements, etc. that fall within the scope of the embodiments of the invention.

Claims (30)

1. A terminal cleaning method, the method comprising:
displaying a first interface, wherein the first interface at least comprises a first file, and the first file is a personal file of a user automatically cleaned by a terminal;
The first file is stored in a cache area, and the cache area is used for storing personal files of the user automatically cleaned by the terminal; the buffer area is positioned in the terminal, the size of the buffer area changes along with the change of the size of the residual storage space in the storage area of the terminal, and the storage area is used for storing the personal files of the user which are not automatically cleaned by the terminal, or the size of the buffer area changes along with the change of the size of the residual storage space in the buffer area;
receiving a first operation executed by a user on the first file;
responsive to the first operation, displaying a second interface, the second interface not including the first file;
the automatic cleaning is performed according to a cleaning rule, the cleaning rule is determined according to user habit data obtained by the user on the terminal, and the user habit data obtained by the user on the terminal comprises: reading habit, software habit, entertainment habit and terminal use habit; the terminal usage habit at least comprises: the duration of the user using the terminal every day, the number of times the user uses the terminal per unit time, and the time the user has recently used the terminal; the cleaning rule changes with the change of the use of the terminal by the user; the cleaning rule is obtained by inputting the habit data of the user into a learning model and then outputting the habit data;
The reading habits include: the name of the document, the size of the document, the total number of times the user reads the document, the creation time of the document in the terminal, and the time the document was last read by the user;
the software habit includes: the method comprises the steps that a user uses frequency, use duration and occupied space of each piece of software in a system in a storage area of a terminal, installation time of each piece of software and time of last use of the software by the user, and the cache size generated by each piece of use of the software is within a preset time range;
entertainment habits include: the method comprises the steps that a user uses the files for entertainment and the files for entertainment, which are locally stored in the terminal and are cached by a third party application, the last use time, whether the files for entertainment are deleted by the user after use, and the size of the space occupied by the files for entertainment in a mobile phone storage area; the file for entertainment includes an audio-visual file.
2. The method of claim 1, wherein prior to said displaying the first interface, the method comprises:
displaying a third interface, wherein the third interface at least comprises the first file;
and responding to the terminal to automatically clean the first file, wherein the third interface does not comprise the first file.
3. The method of claim 2, wherein the first operation comprises at least one of restoration, whitelisting, freeze-in period, permanent deletion.
4. A method according to claim 3, wherein if the first operation comprises whitelisting, the terminal does not automatically clean the whitelisted first file.
5. A method according to claim 3, wherein if the first operation comprises joining a freeze period, the terminal does not automatically clean the first file that has joined a freeze period for a limited time.
6. The method of any of claims 2 to 5, wherein if the first operation comprises one of restoration, whitelisting, joining in a freeze period, the method further comprises:
receiving a second operation of the user;
and responding to the second operation, displaying the third interface, wherein the third interface comprises the first file.
7. A method according to any one of claims 1 to 3, wherein if the first operation comprises permanent deletion, the first file is deleted from the terminal.
8. The method according to any one of claims 1 to 5, wherein the first interface further comprises a second file, the second file being a personal file automatically cleaned by the terminal; the second interface includes the second file.
9. A method according to any one of claims 1 to 5, wherein the personal file does not include a temporary file generated by the terminal during operation.
10. The method according to any one of claims 1 to 5, wherein the personal file comprises at least one of music, pictures, movies, documents stored locally at the terminal.
11. A method according to any one of claims 1 to 5, wherein the automatically cleaning comprises the terminal scanning personal files of the user stored in the terminal, obtaining the first file, and moving the first file to a buffer.
12. The method according to any one of claims 1 to 5, further comprising:
if the time of caching the first file in the cache area reaches the preset time, deleting the first file;
or deleting the first file in the buffer area periodically.
13. The method of any one of claims 1 to 5, wherein after the displaying a second interface in response to the first operation, the method further comprises:
And updating the cleaning rule according to the content displayed on the second interface.
14. The method of claim 13, wherein the updated cleaning rules include at least one of:
the terminal does not automatically clean the first file added into the white list within a limited time;
the terminal does not automatically clean the first file added to the white list.
15. A terminal cleaning device, the device comprising:
the display module is used for displaying a first interface, wherein the first interface at least comprises a first file, and the first file is a personal file of a user automatically cleaned by the terminal;
the first file is stored in a cache area, and the cache area is used for storing personal files of the user automatically cleaned by the terminal; the buffer area is positioned in the terminal, the size of the buffer area changes along with the change of the size of the residual storage space in the storage area of the terminal, and the storage area is used for storing the personal files of the user which are not automatically cleaned by the terminal, or the size of the buffer area changes along with the change of the size of the residual storage space in the buffer area;
The receiving module is used for receiving a first operation which is executed by a user on the first file displayed by the display module;
the display module is further configured to display a second interface in response to the first operation received by the receiving module, where the second interface does not include the first file;
the automatic cleaning is performed according to a cleaning rule, the cleaning rule is determined according to user habit data obtained by the user on the terminal, and the user on the terminal comprises: reading habit, software habit, entertainment habit and terminal use habit; the terminal usage habit at least comprises: the duration of the user using the terminal every day, the number of times the user uses the terminal per unit time, and the time the user has recently used the terminal; the cleaning rule changes with the change of the use of the terminal by the user; the cleaning rule is obtained by inputting the habit data of the user into a learning model and then outputting the habit data;
the reading habits include: the name of the document, the size of the document, the total number of times the user reads the document, the creation time of the document in the terminal, and the time the document was last read by the user;
The software habit includes: the method comprises the steps that a user uses frequency, use duration and occupied space of each piece of software in a system in a storage area of a terminal, installation time of each piece of software and time of last use of the software by the user, and the cache size generated by each piece of use of the software is within a preset time range;
entertainment habits include: the method comprises the steps that a user uses the files for entertainment and the files for entertainment, which are locally stored in the terminal and are cached by a third party application, the last use time, whether the files for entertainment are deleted by the user after use, and the size of the space occupied by the files for entertainment in a mobile phone storage area; the file for entertainment includes an audio-visual file.
16. The apparatus of claim 15, wherein the display module is further configured to display a third interface, the third interface including at least the first file;
the processing module is used for automatically cleaning the first file;
the display module is further configured to automatically clear the first file in response to the processing module, and the third interface does not include the first file.
17. The apparatus of claim 16, wherein the first operation comprises at least one of restoration, whitelisting, freeze-in period, permanent deletion.
18. The apparatus of claim 17, wherein if the first operation comprises whitelisting, the processing module does not automatically clean the whitelisted first file.
19. The apparatus of claim 17, wherein if the first operation includes joining a freeze period, the processing module does not automatically clean the first file that has joined a freeze period for a limited time.
20. The apparatus according to any one of claims 16 to 19, wherein the receiving module is further configured to receive a second operation by the user if the first operation includes one of recovering, whitelisting, joining in a freeze period;
the display module is further configured to display the third interface in response to the second operation, where the third interface includes the first file.
21. The apparatus according to any of claims 16 to 17, wherein the processing module is configured to delete the first file from the terminal if the first operation comprises permanent deletion.
22. The apparatus according to any one of claims 15 to 19, wherein the first interface further comprises a second file, the second file being a personal file automatically cleared by the terminal; the second interface includes the second file.
23. The apparatus according to any one of claims 15 to 19, wherein the personal file does not include a temporary file generated by the terminal during operation.
24. The apparatus according to any one of claims 15 to 19, wherein the personal file comprises at least one of music, pictures, movies, documents stored locally at the terminal.
25. The apparatus according to any one of claims 15 to 19, wherein the automatic cleaning comprises the terminal scanning personal files of the user stored in the terminal, obtaining the first file, and moving the first file to a buffer.
26. The apparatus according to any one of claims 15 to 19, characterized in that the apparatus further comprises:
the processing module is used for deleting the first file if the time of caching the first file in the cache area reaches the preset time;
or deleting the first file in the buffer area periodically.
27. The apparatus according to any one of claims 16 to 19, characterized in that the apparatus further comprises:
and the updating module is used for updating the cleaning rule according to the content displayed on the second interface.
28. The apparatus of claim 27, wherein the updated cleaning rule comprises at least one of:
the processing module does not automatically clean the first file added to the white list within a limited time;
the processing module does not automatically clean the first file which has been added to the white list.
29. A terminal comprising a display screen, a memory, one or more processors, a plurality of application programs, and one or more programs; wherein the one or more programs are stored in the memory; characterized in that the one or more processors, when executing the one or more programs, cause the terminal to implement the method of any of claims 1 to 14.
30. A readable storage medium having instructions stored therein which, when executed on a terminal, cause the terminal to perform the method of any of the preceding claims 1 to 14.
CN201780082406.0A 2017-11-10 2017-11-10 Terminal automatically cleans personal files of users based on user habits Active CN110140117B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/110546 WO2019090725A1 (en) 2017-11-10 2017-11-10 Terminal removing personal file of user on basis of user habits

Publications (2)

Publication Number Publication Date
CN110140117A CN110140117A (en) 2019-08-16
CN110140117B true CN110140117B (en) 2023-11-17

Family

ID=66437462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780082406.0A Active CN110140117B (en) 2017-11-10 2017-11-10 Terminal automatically cleans personal files of users based on user habits

Country Status (2)

Country Link
CN (1) CN110140117B (en)
WO (1) WO2019090725A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908954B (en) * 2019-11-13 2023-05-12 维沃移动通信有限公司 File storage method, device, electronic equipment and medium
CN111258926B (en) * 2020-02-26 2022-06-10 腾讯科技(深圳)有限公司 Memory recovery method and device, storage medium and computer equipment

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200728993A (en) * 2006-01-27 2007-08-01 Ind Tech Res Inst System and method for providing information anytime and anywhere, server and poratble device therein
US7818274B1 (en) * 2006-09-20 2010-10-19 Cisco Technology, Inc. Automatic generation of event-handling rules from system log entries
CN102831231A (en) * 2012-08-30 2012-12-19 东莞宇龙通信科技有限公司 Mobile terminal and file management method
CN102867041A (en) * 2012-09-03 2013-01-09 东莞宇龙通信科技有限公司 Terminal and storage space management method
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device
CN104317628A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Mobile terminal and storage space cleaning method thereof
CN105183902A (en) * 2015-09-30 2015-12-23 北京金山安全软件有限公司 File cleaning method and device and terminal
CN105677548A (en) * 2015-12-28 2016-06-15 小米科技有限责任公司 Application management method and apparatus, and terminal
CN105718815A (en) * 2016-01-21 2016-06-29 上海斐讯数据通信技术有限公司 Method and device for automatically cleaning up system files
CN105893471A (en) * 2016-03-28 2016-08-24 联想(北京)有限公司 Data processing method and electronic equipment
CN106095793A (en) * 2016-05-30 2016-11-09 百度在线网络技术(北京)有限公司 The method and apparatus of management mobile terminal memory space
CN106227744A (en) * 2016-07-12 2016-12-14 努比亚技术有限公司 Terminal document managing device, terminal and terminal document management method
CN106844225A (en) * 2016-12-22 2017-06-13 北京奇虎科技有限公司 Mobile terminal and its data clearing method and device
CN106980661A (en) * 2017-03-20 2017-07-25 北京金山安全软件有限公司 Method and device for cleaning data files in mobile terminal and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130073344A1 (en) * 2011-04-19 2013-03-21 Karen Parent Method and system of function analysis for optimizing productivity and performance of a workforce within a workspace
US20150310125A1 (en) * 2014-04-29 2015-10-29 Barak KINARTI Dynamic Custom Style Sheet Isolation

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200728993A (en) * 2006-01-27 2007-08-01 Ind Tech Res Inst System and method for providing information anytime and anywhere, server and poratble device therein
US7818274B1 (en) * 2006-09-20 2010-10-19 Cisco Technology, Inc. Automatic generation of event-handling rules from system log entries
CN102831231A (en) * 2012-08-30 2012-12-19 东莞宇龙通信科技有限公司 Mobile terminal and file management method
CN102867041A (en) * 2012-09-03 2013-01-09 东莞宇龙通信科技有限公司 Terminal and storage space management method
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device
CN104317628A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Mobile terminal and storage space cleaning method thereof
CN105183902A (en) * 2015-09-30 2015-12-23 北京金山安全软件有限公司 File cleaning method and device and terminal
CN105677548A (en) * 2015-12-28 2016-06-15 小米科技有限责任公司 Application management method and apparatus, and terminal
CN105718815A (en) * 2016-01-21 2016-06-29 上海斐讯数据通信技术有限公司 Method and device for automatically cleaning up system files
CN105893471A (en) * 2016-03-28 2016-08-24 联想(北京)有限公司 Data processing method and electronic equipment
CN106095793A (en) * 2016-05-30 2016-11-09 百度在线网络技术(北京)有限公司 The method and apparatus of management mobile terminal memory space
CN106227744A (en) * 2016-07-12 2016-12-14 努比亚技术有限公司 Terminal document managing device, terminal and terminal document management method
CN106844225A (en) * 2016-12-22 2017-06-13 北京奇虎科技有限公司 Mobile terminal and its data clearing method and device
CN106980661A (en) * 2017-03-20 2017-07-25 北京金山安全软件有限公司 Method and device for cleaning data files in mobile terminal and electronic equipment

Also Published As

Publication number Publication date
CN110140117A (en) 2019-08-16
WO2019090725A1 (en) 2019-05-16

Similar Documents

Publication Publication Date Title
US11893052B2 (en) Management of local and remote media items
US20230236723A1 (en) Devices, Methods, and Graphical User Interfaces for Providing and Interacting with Notifications
US20220382443A1 (en) Aggregated content item user interfaces
KR101317547B1 (en) Portable touch screen device, method, and graphical user interface for using emoji characters
JP6191885B2 (en) Power efficient application notification system
WO2019042027A1 (en) Method for providing operation instruction information for terminal and terminal device
US8577971B2 (en) Email fetching system and method in a portable electronic device
CN104169857A (en) Device, method, and graphical user interface for accessing an application in a locked device
CN105264476A (en) Device, method, and graphical user interface for providing navigation and search functionalities
JP2014149825A (en) Method of managing applications and device of managing applications
CN104685470A (en) Device and method for generating user interfaces from a template
CN102763079A (en) API to replace a keyboard with custom controls
CN106339444A (en) Method for instantly deleting file and terminal
US20230012613A1 (en) Device, Method, and Graphical User Interface for Managing Data Stored on a Device
CN107402625A (en) Touch screen scanning method, device, terminal and computer-readable recording medium
CN110140117B (en) Terminal automatically cleans personal files of users based on user habits
EP2378474A2 (en) Systems and methods for interface management
EP3232304B1 (en) Device, method and graphical user interface for mobile application interface element
CN108234758B (en) Application display method and device, storage medium and electronic equipment
CN112764833A (en) Application program management method and device and electronic equipment
US20170357388A1 (en) Device, Method, and Graphical User Interface for Managing Data Stored at a Storage Location
US20230118567A1 (en) Camera user interface with recording space management
CN112214139A (en) Application management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant