Prompting method and mobile terminal
A mobile terminal, a technology for prompting information, applied in special data processing applications, telephone communications, instruments, etc., can solve problems such as prompting the importance of files to be deleted, blindly deleting files, and data loss.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] refer to figure 1 , which shows a flow chart of a prompting method in Embodiment 1 of the present invention, which may specifically include the following steps:
[0024] Step 110, if a deletion instruction for a file on the mobile terminal is received, extract usage statistics information of the file.
[0025] In the embodiment of the present invention, when using a mobile terminal, when a user deletes a file, the user will send a deletion request for the target file to the operating system, and the operating system will call the corresponding function to perform the deletion operation. By monitoring the file operation of the operating system Process and other methods to realize the monitoring of deletion requests. Taking the Android system as an example, the adb remount function is called to perform the deletion operation, and the path of the file to be deleted can be entered through the cd system / sd / data function to enter the file orientation. If the object to be de...
Embodiment 2
[0034] refer to figure 2 , which shows a flow chart of a prompting method in Embodiment 2 of the present invention, which may specifically include the following steps:
[0035] Step 210, extract usage statistics information of the file if an instruction to delete the file on the mobile terminal is received.
[0036] This step is the same as step 110 and will not be described in detail here.
[0037] Step 220, if the usage statistics information of the file meets the preset condition, mark the file as an important file.
[0038] In the embodiment of the present invention, the usage statistics information includes at least one of the duration of use, the number of times of use, and the file specification. Taking Android as an example, the purpose of file statistics can be realized through the function StatFs, wherein the function getBlockCount() is used to realize the statistics of file usage times , the function getBlockSize() realizes the statistics of file specifications, ...
Embodiment 3
[0052] refer to image 3 , shows a structural block diagram of a mobile terminal according to Embodiment 3 of the present invention.
[0053] The mobile terminal 300 includes a deletion module 301 , a judgment module 302 and a prompt module 303 .
[0054] refer to Figure 4 , the functions of each module of the mobile terminal 400 and the interaction relationship between the modules will be introduced in detail below.
[0055] A deletion module 401, configured to extract usage statistics of the file if a deletion instruction for the file on the mobile terminal is received;
[0056] The judging module 402 is configured to judge whether the file is a marked important file according to the usage statistics information; the usage statistics information includes at least one of usage duration, usage times, and file specifications.
[0057] Preferably, the judging module 402 includes: a judging submodule 4021 configured to mark the file as an important file if the usage statistic...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


