CN107491482A - A kind of reminding method and mobile terminal - Google Patents

A kind of reminding method and mobile terminal Download PDF

Info

Publication number
CN107491482A
CN107491482A CN201710566794.1A CN201710566794A CN107491482A CN 107491482 A CN107491482 A CN 107491482A CN 201710566794 A CN201710566794 A CN 201710566794A CN 107491482 A CN107491482 A CN 107491482A
Authority
CN
China
Prior art keywords
file
statistical information
mobile terminal
vital document
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710566794.1A
Other languages
Chinese (zh)
Inventor
王健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710566794.1A priority Critical patent/CN107491482A/en
Publication of CN107491482A publication Critical patent/CN107491482A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Abstract

The invention provides a kind of reminding method and mobile terminal, wherein, methods described includes:If receiving the deletion to file on the mobile terminal to instruct, the use statistical information of the file is extracted;Statistical information is used according to described, judges whether the file is the vital document marked;If vital document of the file for mark, it is vital document to send prompt message and prompt the file to be deleted described in user.Confirm that file deletes prompting and can not give prompting of the user more on file importance to be deleted in the prior art so as to solve, cause user generally blindly to delete file, the problem of causing loss of vital data.

Description

A kind of reminding method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of reminding method and mobile terminal.
Background technology
With the rapid development of electronic technology, the portable mobile equipment such as smart mobile phone, tablet personal computer greatly changes people Live and work mode, cause many important informations of people to be stored in mobile terminal, for example, be stored in inside app or Inside person's file manager, in store user once used picture here, document, video etc. file, but we are frequent Mobile phone storage deficiency is faced with when need to delete some things, be easy to this when disposably to delete many files or App, it is often wrong to delete some important things, once deleting, can not recover, and user be typically just find afterwards it is important Thing is deleted.
At present, when user deletes file, often pop-up dialogue box prompting user is confirmed, it is impossible to gives use The family more prompting on file importance to be deleted, causes user generally blindly to delete file, causes loss of vital data.
The content of the invention
The embodiment of the present invention provides a kind of reminding method and mobile terminal, is carried with solving to confirm in the prior art that file is deleted Show the prompting that can not give user more on file importance to be deleted, cause user generally blindly to delete file, cause weight The problem of wanting loss of data.
In a first aspect, the embodiments of the invention provide a kind of reminding method, applied to mobile terminal, this method includes:
If receiving the deletion to file on the mobile terminal to instruct, the use statistical information of the file is extracted;
Statistical information is used according to described, judges whether the file is the vital document marked;
If vital document of the file for mark, send prompt message and prompt the file to be deleted described in user to attach most importance to Want file.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:
Removing module, if being instructed for the deletion received to file on the mobile terminal, extract the file Use statistical information;
Judge module, for using statistical information according to described, judge whether the file is the vital document marked;
Reminding module, if being the vital document of mark for the file, sending will described in prompt message prompting user The file of deletion is vital document.
So, in the embodiment of the present invention, the importance of file is judged by the statistical information of file on mobile terminal, with When a file on mobile terminal is deleted at family, send importance file and delete and remind, solve confirm that file deletes prompting can not be to Prompting of the user more on file importance to be deleted is given, causes user generally blindly to delete file, causes significant data to lose The problem of mistake.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 shows a kind of flow chart of reminding method in the embodiment of the present invention one;
Fig. 2 shows a kind of flow chart of reminding method in the embodiment of the present invention two;
Fig. 3 shows a kind of structured flowchart of mobile terminal according to embodiments of the present invention three;
Fig. 4 shows a kind of structured flowchart of mobile terminal according to embodiments of the present invention three;
Fig. 5 shows a kind of structured flowchart of mobile terminal according to embodiments of the present invention four;
Fig. 6 shows a kind of structural representation of according to embodiments of the present invention five mobile terminal.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Embodiment one
Reference picture 1, a kind of flow chart of reminding method of the embodiment of the present invention one is shown, can specifically include following step Suddenly:
Step 110, if the deletion received to file on the mobile terminal instructs, the use system of the file is extracted Count information.
In the embodiment of the present invention, when using mobile terminal, user, can be by delete target file when carrying out file deletion Removal request be sent to operating system, operating system can call respective function to carry out deletion action, pass through policer operation system The modes such as the file operation process of system realize the monitoring to removal request.By taking Android system as an example, adb remount letters are called Number carries out deletion action, and wherein can enter text by cd system/sd/data functions for the path of file to be deleted Part orients.If the object to be deleted is system application, behaviour can be realized by unloading function uninstall_intent () Make.Place is for file type different on mobile terminal, and when monitoring the instruction of its deletion action, further extraction document makes Statistical information, usual file judge this document using statistical information including frequency, the size of file that file is used Proportion in All Files in the terminal.
In actual applications, for judging that the statistics of file importance can be set in specific by person skilled Hold and statistical method, the data storage after statistics facilitate system to extract at any time, for specific implementation method under specified catalogue The embodiment of the present invention is not any limitation as to this.
Step 120, statistical information is used according to described, judges whether the file is the vital document marked.
,, can be with by extracting the statistical information of file to be deleted according to described in above-mentioned steps in the embodiment of the present invention The importance of file is summed up, specifically, by taking Android as an example, when a file or application are accessed by the user, system is called pre- If statistics program, record this document or using time, position, and at interval of set time statistics once, It wherein can check to apply whether used by monitoring an application call system fixed interface, or be set in file and application Timestamp is put, comes statistics file or application accessed time and number, recycles sort functions to make each application and file It is ranked up with statistical information, and determines whether the application or file are vital documents for user according to preset rules, For example, user accounts for 60% using the mobile terminal time using the time of an application, then it is important application just to define the application, And it is marked.
In actual applications, difference can be carried out according to the demand of user by determining the preset rules of file or application importance Setting, the embodiment of the present invention is not any limitation as to this.
Step 130, if the file is the vital document of mark, send what is deleted described in prompt message prompting user File is vital document.
In the embodiment of the present invention, when determining a file or the application that user deleting according to the above method, further Judge this document or application whether have vital document mark, if read successfully, it is determined that be vital document after, with regard to eject pair Words frame prompting user should apply and the use statistical information of file, so that user determines whether this document or application determine to delete Remove, specifically, by taking Android as an example, using AlertDialog functions, prompted dialog frame can be established, and by the content of dialog box It is managed with the statistical information of file to be deleted or application, wherein being carried using what .setMessage determined to show in dialog box Show content.Certainly, the form of prompt message not necessarily dialog box, the mode that can also refuse user's deletion are prompted, this hair Bright embodiment is not any limitation as to this.
In embodiments of the present invention, the deletion by monitoring mobile terminal document or application is instructed, and further extraction is treated The use statistical information of file is deleted, and according to the importance that this document or application are determined using statistical information, and then send and carry Show information.The use statistical information by file is realized, prompts user cautiously to delete the beneficial effect of vital document.
Embodiment two
Reference picture 2, a kind of flow chart of reminding method of the embodiment of the present invention two is shown, can specifically include following step Suddenly:
Step 210, if the deletion received to file on the mobile terminal instructs, the use system of the file is extracted Count information.
This step is identical with step 110, will not be described in detail herein.
Step 220, it is important text by the file mark if the use statistical information of the file meets preparatory condition Part.
In the embodiment of the present invention, using statistical information including the use of at least one in duration, access times, file specification Kind, by taking Android as an example, the purpose of file statistics can be realized by function StatFs, wherein utilizing function getBlockCount () realizes that file access times count, and function getBlockSize () realizes the statistics of file specification, restat (String Path detection file opening moment, further statistics file access times and duration) are realized.If the file use information of statistics expires Sufficient preparatory condition, for example, a length of user uses proportion in mobile terminal total duration to exceed predetermined threshold value when using, then just It is vital document to determine file.
Preferably, step 220 specifically includes:
Sub-step 221, according to the selection operation of user, determine the default statistics file of the file to be deleted.
In the embodiment of the present invention, user can select corresponding pre- statistics text according to a certain application or a certain file Part, for example, the default statistics file that can select video file is picture file and video file all in a file, Or all video file on mobile terminal, and can then select to belong to same type of with the application corresponding to an application Other application can judge the affiliated classification of file according to the hobby of itself, be used as default statistics file, user Statistical analysis.
Sub-step 222, if the file uses statistical information and the ratio using statistical information of default statistics file It is pre- less than second more than the first predetermined threshold value, and the ratio of the number of the file to be deleted and default statistics file number Then it is vital document by the file mark if threshold value.
In the embodiment of the present invention, after the statistical information for obtaining file, importance judgement is carried out by using a preset rules, Such as sixteen principles, i.e., for some file, such as audio file, we first obtain the file of all audio files of file Number N, then counting user is using the number m of this file, and user uses the number M of all audio files, by this N number of file Added up according to sequence, when being added to n-th of file, the access times of file exceed the 80% of general act access times M, So further n file of calculating takes mobile terminal total audio number of files N ratio if being not above 20%, that This n file then all meets sixteen principles, that is, it is vital document to determine this n file, and adds vital document mark.
In practical application, the importance judgment rule of file is not limited to foregoing description, and is not necessarily to scale and to meet two Eight principles, it can be adjusted according to real needs, the embodiment of the present invention is not any limitation as to this.Specifically, first, to intelligence Thing inside equipment is divided into two major classes, and one kind is the division with file-level, such as to picture, document, video, audio etc. File, another kind of is application class files.Secondly, to the file size of the content of file-level, and file number is used, used The total time of file is counted, and this is that these information are counted while user is using mobile phone, principal statistical picture, Document, video, the information of these files of audio, similar statistics is also then carried out to application, the space-consuming for counting each app is big Small and access times and it is ranked up using duration, and by these information according to size.
In actual applications, one statistical information is added up according to sequence, for example, an audio file to be deleted is made Used time a length of t, the total duration T of all audio files, total audio number are M, are at this moment ranked up each audio using duration, Ranking results are t1, t2, t3 ..., and t1, t2, t3 are added up.Wherein, if t1, t2, t3 ... accumulated value tn and total sound Frequency exceedes preset ratio, such as 80% using the ratio between duration T, then further calculates accumulated audio Ratio between number n and total audio number M is within 20%, then it is that a small number of audio files are vital document to be considered as above-mentioned.
In actual applications, when carrying out important sex determination, as long as the duration, access times in statistics have a satisfaction Default decision rule, that is, be confirmed as vital document, and statistical information is not limited to foregoing description, the embodiment of the present invention to this not It is any limitation as.
Specifically, after it is vital document to determine file, importance mark is added for file, generally, modification can be passed through System Privileges, and be file addition mark, System Privileges can be entered by function uses-permission android, then The authority that specific file is carried out by .launcher.permission.WRITE_SETTINGS is changed, certainly, to specific file Or application addition mark is not limited to the above method, the embodiment of the present invention is not any limitation as to this.
Step 230, if the file is the vital document of mark, send what is deleted described in prompt message prompting user File is vital document.
This step is identical with step 130, will not be described in detail herein.
In embodiments of the present invention, judge whether file to be deleted is vital document by preset rules, if important text Part is then marked, and sends prompt message when user is deleted, and realizes the use statistical information by file, carries out File importance judges, and prompts user's beneficial effect for cautiously deleting vital document.
Embodiment three
Reference picture 3, show a kind of structured flowchart of mobile terminal of the embodiment of the present invention three.
The mobile terminal 300 includes removing module 301, judge module 302, reminding module 303.
Reference picture 4, be discussed in detail separately below 400 each module of mobile terminal function and each module between friendship Mutual relation.
Removing module 401, if being instructed for the deletion received to file on the mobile terminal, extract the file Use statistical information;
Judge module 402, for using statistical information according to described, judge whether the file is the important text marked Part;It is described to use statistical information including the use of at least one of duration, access times, file specification.
Preferably, judge module 402, including:Judging submodule 4021, if the use statistical information for the file accords with Preparatory condition is closed, then is vital document by the file mark.
Preferably, judging submodule 4021, including:
Statistical information judging unit, if the use using statistical information and default statistics file for the file counts The ratio of information more than the first predetermined threshold value, and the ratio of the number of the file to be deleted and default statistics file number, Then it is vital document by the file mark less than the second predetermined threshold value.
Preferably, in addition to:
Default statistics file unit, for the selection operation according to user, determine the default statistics of the file to be deleted File.
Reminding module 403, if being the vital document of mark for the file, send described in prompt message prompting user The file to be deleted is vital document.
In embodiments of the present invention, judge whether file to be deleted is vital document by preset rules, if important text Part is then marked, and sends prompt message when user is deleted, and realizes the use statistical information by file, carries out File importance judges, and prompts user's beneficial effect for cautiously deleting vital document.
Example IV
Reference picture 5, show a kind of structured flowchart of mobile terminal in the embodiment of the present invention four.
Mobile terminal 500 shown in Fig. 5 includes:At least one processor 501, memory 502, at least one network interface 504 and user interface 503 and component 506 of taking pictures.Each component in mobile terminal 500 is coupling in by bus system 505 Together.It is understood that bus system 505 is used to realize the connection communication between these components.Bus system 505 is total except data are included Outside line, in addition to power bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, in Figure 5 will be each Kind bus is all designated as bus system 505.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) dodge Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside slow at a high speed Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 502 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In these memories with any other suitable type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 5022, include various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 502, specifically, can be application The program stored in program 5022 or instruction, if the deletion that processor 501 is used to receive to file on the mobile terminal refers to Order, then extract the use statistical information of the file;Statistical information is used according to described, judges whether the file is mark Vital document;If vital document of the file for mark, the file to be deleted described in transmission prompt message prompting user is Vital document.The method that the embodiments of the present invention disclose can apply in processor 501, or be realized by processor 501. Processor 501 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), application specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other PLDs, discrete gate or transistor logic Device, discrete hardware components.It can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion, or use decoding processor In hardware and software module combination perform completion.Software module can be located at random access memory, and flash memory, read-only storage can In the ripe storage medium in this area such as program read-only memory or electrically erasable programmable memory, register.The storage Medium is located at memory 502, and processor 501 reads the information in memory 502, and the step of the above method is completed with reference to its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for performing herein described function In member or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come Realize the technology described in the embodiment of the present invention.Software code is storable in memory and passes through computing device.Memory can To realize within a processor or outside processor.
Alternatively, processor 501 handles the use statistical information including the use of in duration, access times, file specification At least one.
Alternatively, processor 501 is handled uses statistical information according to described, judges whether the file is the important of mark During file, it is additionally operable to:It is important text by the file mark if the use statistical information of the file meets preparatory condition Part.
Alternatively, if the use statistical information that processor 501 handles the file meets preparatory condition, by the file During labeled as vital document, it is additionally operable to:If the file uses statistical information and the use statistical information of default statistics file Ratio more than the first predetermined threshold value, and the ratio of the number of the file to be deleted and default statistics file number, be less than Second predetermined threshold value, then it is vital document by the file mark.
Alternatively, if the use using statistical information and default statistics file that processor 501 handles the file counts The ratio of information more than the first predetermined threshold value, and the ratio of the number of the file to be deleted and default statistics file number, Less than the second predetermined threshold value, then before being vital document by the file mark, it is additionally operable to:Default statistics file unit, is used for According to the selection operation of user, the default statistics file of the file to be deleted is determined.
It can be seen that in embodiments of the present invention, judge whether file to be deleted is vital document by preset rules, if attaching most importance to Want file to be then marked, and prompt message sent when user is deleted, realize the use statistical information by file, File importance judgement is carried out, and prompts user's beneficial effect for cautiously deleting vital document.
Embodiment five
Fig. 6 shows the structural representation of the mobile terminal of the embodiment of the present invention five.
The mobile terminal of the embodiment of the present invention can be mobile phone, tablet personal computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 6 includes radio frequency (RadioFrequency, RF) circuit 610, memory 620, input block 630th, display unit 640, processor 660, voicefrequency circuit 670, WiFi (WirelessFidelity) module 680, power supply 690.
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal The signal input that 600 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 630 can With including contact panel 631.Contact panel 631, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses the operations of any suitable object or annex on contact panel 631 such as finger, stylus), and according to advance The formula of setting drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give the processor 660 again, and the order sent of reception processing device 660 and can be performed.Furthermore, it is possible to using resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630 can also include other input equipments 632, and other input equipments 632 can include but is not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 640 can be used for display by the information of user's input or be supplied to information and the movement of user The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hairs The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring the touch operation on or near it, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone Various pieces, by running or performing the software program and/or module that are stored in first memory 621, and call storage Data in second memory 622, the various functions and processing data of mobile terminal 600 are performed, so as to mobile terminal 600 Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, if the deletion that processor 660 is used to receive to file on the mobile terminal refers to Order, then extract the use statistical information of the file;Statistical information is used according to described, judges whether the file is mark Vital document;If vital document of the file for mark, the file to be deleted described in transmission prompt message prompting user is Vital document.
Alternatively, processor 660 handles the use statistical information including the use of in duration, access times, file specification At least one.
Alternatively, processor 660 is handled uses statistical information according to described, judges whether the file is the important of mark During file, it is additionally operable to:It is important text by the file mark if the use statistical information of the file meets preparatory condition Part.
Alternatively, if the use statistical information that processor 660 handles the file meets preparatory condition, by the file During labeled as vital document, it is additionally operable to:If the file uses statistical information and the use statistical information of default statistics file Ratio more than the first predetermined threshold value, and the ratio of the number of the file to be deleted and default statistics file number, be less than Second predetermined threshold value, then it is vital document by the file mark.
Alternatively, if the use using statistical information and default statistics file that processor 660 handles the file counts The ratio of information more than the first predetermined threshold value, and the ratio of the number of the file to be deleted and default statistics file number, Less than the second predetermined threshold value, then before being vital document by the file mark, it is additionally operable to:Default statistics file unit, is used for According to the selection operation of user, the default statistics file of the file to be deleted is determined.
It can be seen that in embodiments of the present invention, judge whether file to be deleted is vital document by preset rules, if attaching most importance to Want file to be then marked, and prompt message sent when user is deleted, realize the use statistical information by file, File importance judgement is carried out, and prompts user's beneficial effect for cautiously deleting vital document.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) are according to embodiments of the present invention to realizeShootingIn equipment some or it is complete The some or all functions of portion's part.The present invention be also implemented as a part for performing method as described herein or Person whole equipment or program of device (for example, computer program and computer program product).It is such to realize the present invention's Program can store on a computer-readable medium, or can have the form of one or more signal.Such signal It can download and obtain from internet website, either provide on carrier signal or provided in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each The unit and algorithm steps of example, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

  1. A kind of 1. reminding method, applied to mobile terminal, it is characterised in that including:
    If receiving the deletion to file on the mobile terminal to instruct, the use statistical information of the file is extracted;
    Statistical information is used according to described, judges whether the file is the vital document marked;
    If vital document of the file for mark, it is important text to send prompt message and prompt the file to be deleted described in user Part.
  2. 2. according to the method for claim 1, it is characterised in that it is described to use statistical information according to described, judge the text The step of whether part is the vital document of mark, including:
    It is vital document by the file mark if the use statistical information of the file meets preparatory condition.
  3. 3. according to the method for claim 2, it is characterised in that if the use statistical information of the file meet it is default The step of file mark is then vital document by condition, including:
    If the file presets threshold more than first using statistical information and the ratio using statistical information of default statistics file Value, and the ratio of the number of the file to be deleted and default statistics file number, less than the second predetermined threshold value, then by described in File mark is vital document.
  4. 4. according to the method for claim 3, it is characterised in that if the file use statistical information with preset The ratio using statistical information of statistics file is more than the first predetermined threshold value, and the number of the file to be deleted and default system The ratio of file number is counted, less than the second predetermined threshold value, then before the step of being vital document by the file mark, is also wrapped Include:
    According to the selection operation of user, the default statistics file of the file to be deleted is determined.
  5. A kind of 5. mobile terminal, it is characterised in that including:
    Removing module, if being instructed for the deletion received to file on the mobile terminal, extract the use of the file Statistical information;
    Judge module, for using statistical information according to described, judge whether the file is the vital document marked;
    Reminding module, if being the vital document of mark for the file, sending will delete described in prompt message prompting user File be vital document.
  6. 6. mobile terminal according to claim 5, it is characterised in that the judge module, including:
    Judging submodule, if the use statistical information for the file meets preparatory condition, the file mark is attached most importance to Want file.
  7. 7. mobile terminal according to claim 6, it is characterised in that the judging submodule, including:
    Statistical information judging unit, if using statistical information and the use statistical information of default statistics file for the file Ratio more than the first predetermined threshold value, and the ratio of the number of the file to be deleted and default statistics file number, be less than Second predetermined threshold value, then it is vital document by the file mark.
  8. 8. mobile terminal according to claim 7, it is characterised in that also include:
    Default statistics file unit, for the selection operation according to user, determine the default statistics file of the file to be deleted.
  9. 9. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be described The computer program run on processor, the computer program are realized during the computing device as in Claims 1-4 The step of reminding method described in any one.
  10. 10. a kind of computer-readable recording medium, it is characterised in that computer journey is stored on the computer-readable recording medium Sequence, the step of the reminding method as any one of Claims 1-4 is realized when the computer program is executed by processor Suddenly.
CN201710566794.1A 2017-07-12 2017-07-12 A kind of reminding method and mobile terminal Pending CN107491482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710566794.1A CN107491482A (en) 2017-07-12 2017-07-12 A kind of reminding method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710566794.1A CN107491482A (en) 2017-07-12 2017-07-12 A kind of reminding method and mobile terminal

Publications (1)

Publication Number Publication Date
CN107491482A true CN107491482A (en) 2017-12-19

Family

ID=60643594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710566794.1A Pending CN107491482A (en) 2017-07-12 2017-07-12 A kind of reminding method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107491482A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108200263A (en) * 2017-12-28 2018-06-22 维沃移动通信有限公司 A kind of information processing method and device
CN108563754A (en) * 2018-04-16 2018-09-21 Oppo广东移动通信有限公司 Document handling method, device, mobile terminal and computer readable storage medium
CN109922209A (en) * 2019-02-22 2019-06-21 维沃移动通信有限公司 A kind of photo management method and terminal device
CN109933563A (en) * 2019-03-18 2019-06-25 维沃移动通信有限公司 A kind of file management method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609495A (en) * 2012-01-29 2012-07-25 奇智软件(北京)有限公司 Method for deleting file and system
CN103955421A (en) * 2014-05-06 2014-07-30 珠海市君天电子科技有限公司 Method and system for file deletion
CN105224349A (en) * 2014-06-12 2016-01-06 小米科技有限责任公司 The deletion reminding method of application program and device
CN105843367A (en) * 2016-03-24 2016-08-10 维沃移动通信有限公司 Application processing method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609495A (en) * 2012-01-29 2012-07-25 奇智软件(北京)有限公司 Method for deleting file and system
CN103955421A (en) * 2014-05-06 2014-07-30 珠海市君天电子科技有限公司 Method and system for file deletion
CN105224349A (en) * 2014-06-12 2016-01-06 小米科技有限责任公司 The deletion reminding method of application program and device
CN105843367A (en) * 2016-03-24 2016-08-10 维沃移动通信有限公司 Application processing method and electronic device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108200263A (en) * 2017-12-28 2018-06-22 维沃移动通信有限公司 A kind of information processing method and device
CN108563754A (en) * 2018-04-16 2018-09-21 Oppo广东移动通信有限公司 Document handling method, device, mobile terminal and computer readable storage medium
CN108563754B (en) * 2018-04-16 2021-09-28 Oppo广东移动通信有限公司 File processing method and device, mobile terminal and computer readable storage medium
CN109922209A (en) * 2019-02-22 2019-06-21 维沃移动通信有限公司 A kind of photo management method and terminal device
CN109933563A (en) * 2019-03-18 2019-06-25 维沃移动通信有限公司 A kind of file management method and terminal

Similar Documents

Publication Publication Date Title
CN107491482A (en) A kind of reminding method and mobile terminal
CN106095804A (en) The processing method of a kind of video segment, localization method and terminal
CN106406966A (en) Preloading method for application and mobile terminal
CN106055996A (en) Method and mobile terminal for multimedia information sharing
CN106445392A (en) Operating method of status bar icon and mobile terminal
CN107357574A (en) A kind of operating method and mobile terminal
CN106126077A (en) A kind of application program image target display control method and mobile terminal
CN106775252A (en) The message treatment method and mobile terminal of a kind of mobile terminal
CN107390991B (en) A kind of processing method and mobile terminal of screenshot
CN106055232A (en) Message processing method and mobile terminal
CN107506130A (en) A kind of word delet method and mobile terminal
CN107526492A (en) The interface display method and mobile terminal of a kind of application program
CN107678644A (en) A kind of image processing method and mobile terminal
CN106484303A (en) A kind of method preventing maloperation and electronic equipment
CN107741820A (en) A kind of entering method keyboard display methods and mobile terminal
CN106502697A (en) A kind of method for sorting of desktop application icon and mobile terminal
CN106484301A (en) A kind of method of hiden application and terminal
CN106502727A (en) A kind of control method of application program and mobile terminal
CN106686402A (en) Video processing method and mobile terminal
CN107404577A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107438204A (en) A kind of method and mobile terminal of media file loop play
CN107643859A (en) A kind of running status restoration methods and mobile terminal
CN106507176A (en) A kind of method of video playback and mobile terminal
CN106504777A (en) A kind of processing method of recording data and mobile terminal
CN106453778A (en) Contact avatar setting method and mobile terminal

Legal Events

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