CN108733772A - A kind of file delet method and terminal device - Google Patents

A kind of file delet method and terminal device Download PDF

Info

Publication number
CN108733772A
CN108733772A CN201810378280.8A CN201810378280A CN108733772A CN 108733772 A CN108733772 A CN 108733772A CN 201810378280 A CN201810378280 A CN 201810378280A CN 108733772 A CN108733772 A CN 108733772A
Authority
CN
China
Prior art keywords
file
terminal device
file destination
user
destination
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
CN201810378280.8A
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 CN201810378280.8A priority Critical patent/CN108733772A/en
Publication of CN108733772A publication Critical patent/CN108733772A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of file delet method and terminal devices, are related to field of communication technology, to solve the problems, such as that terminal device directly deletes the used file of user and leads to the flexibility for reducing terminal unit management file.This method includes:It determines and the first operation was executed to file destination;In the case where the file destination corresponds to and presets label, the file destination is deleted;Wherein, which is used to indicate deleted the file destination after executing first operation to the file destination.This method can be applied in the scene of terminal unit management file.

Description

A kind of file delet method and terminal device
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of file delet methods and terminal device.
Background technology
With the development of the communication technology, terminal device is more and more universal.User can with the screenshotss function of using terminal equipment, The triggering terminals equipment such as camera function or download function obtains and save file, and uses these files.
Currently, after user's triggering terminal equipment obtains and preserves these files, terminal device can detect (such as can To be detected with a fixed cycle) whether these files had been used, if terminal device determines that these files have been used It crosses, then terminal device can directly delete these files.For example, it is assumed that these files are the screenshotss of user's using terminal equipment The sectional drawing that function obtains, then after user's triggering terminal equipment obtains and preserves the sectional drawing, if user's triggering terminal equipment The sectional drawing is shared with its good friend, then terminal device can detect that the sectional drawing had been used, to which terminal device can be with The sectional drawing is directly deleted, the memory space of terminal device can be so saved.
But in the above method, terminal device may delete user and wish the file that terminal device preserves for a long time, to Reduce the flexibility of terminal unit management file.
Invention content
A kind of file delet method of offer of the embodiment of the present invention and terminal device, user is directly deleted to solve terminal device Used file and cause reduce terminal unit management file flexibility the problem of.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, an embodiment of the present invention provides a kind of file delet method, this method includes:It determines to file destination Executed the first operation;In the case where the file destination corresponds to and presets label, the file destination is deleted;Wherein, the pre- bidding Label are used to indicate deleted the file destination after executing first operation to the file destination.
Second aspect, an embodiment of the present invention provides a kind of terminal device, which includes determining module and deletion Module.Determining module executed the first operation for determining to file destination;Removing module, in determining module determination pair After the file destination executed first operation, in the case where the file destination corresponds to and presets label, target text is deleted Part.
The third aspect an embodiment of the present invention provides a kind of terminal device, including processor, memory and is stored in this and deposits On reservoir and the computer program that can run on the processor, the computer program realize above-mentioned when being executed by the processor On the one hand the step of file delet method provided.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage mediums Computer program is stored in matter, which realizes the file deletion side that above-mentioned first aspect provides when being executed by processor The step of method.
In embodiments of the present invention, the first operation can be executed to file destination determining, and in the file destination pair Label should be preset (the default label is used to indicate deleted the file destination after executing the first operation to the file destination) In the case of, delete the file destination.With this solution, it is straight after determining that file destination had been operated with the prior art Connect delete the file destination compare, due to the embodiment of the present invention be determine to file destination executed first operation, and It is (i.e. default that the file destination corresponds to the label for indicating to delete the file destination after executing the file destination the first operation Label) in the case of, the file destination is just deleted, therefore, the deletion file that the embodiment of the present invention can be selective, such as this hair Bright embodiment can delete the file preserved for a long time without terminal device, and preserve user and may want to terminal device and preserve for a long time File, so as to improve the flexibility of terminal unit management file.
Description of the drawings
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of one of schematic diagram of file delet method provided in an embodiment of the present invention;
Fig. 3 is the two of a kind of schematic diagram of file delet method provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of the operation of four kinds provided in an embodiment of the present invention acquisition files;
Fig. 5 is a kind of interface schematic diagram to file destination operation provided in an embodiment of the present invention;
Fig. 6 is a kind of interface schematic diagram of display reminding information provided in an embodiment of the present invention;
Fig. 7 is one of the structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 8 is the second structural representation of terminal device provided in an embodiment of the present invention;
Fig. 9 is the third structural representation of terminal device provided in an embodiment of the present invention;
Figure 10 is the hardware schematic of terminal device provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
The terms "and/or" is a kind of incidence relation of description affiliated partner, indicates may exist three kinds of relationships, For example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.Symbol herein "/" indicates that affiliated partner is relationship such as A/B expressions A or B either.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs As, rather than for the particular order of description object.For example, the first operation and the second operation etc. are for distinguishing different behaviour Make, rather than the particular order for describing operation.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport Related notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more, For example, multiple element refers to two or more element, multiple processing units refer to two or more place Manage unit etc..
A kind of file delet method of offer of the embodiment of the present invention and terminal device can execute file destination in determination First operation, and corresponded in the file destination and preset label (the default label is used to indicate was executing the to the file destination The file destination is deleted after one operation) in the case of, delete the file destination.With this solution, it is true with the prior art The file that sets the goal directly was deleted the file destination after being operated and was compared, since the embodiment of the present invention is being determined to target File executed the first operation, and was corresponded in the file destination and indicate to delete after executing the file destination the first operation Except the file destination label (i.e. default label) in the case of, just delete the file destination, therefore, the embodiment of the present invention can be with The deletion file of selectivity, such as the embodiment of the present invention can delete the file preserved for a long time without terminal device, and preserve and use Family may want to the file that terminal device preserves for a long time, so as to improve the flexibility of terminal unit management file.
Terminal device in the embodiment of the present invention can be the terminal device with operating system.The operating system can be Android (Android) operating system can be ios operating systems, can also be other possible operating systems, and the present invention is implemented Example is not especially limited.
Below by taking Android operation system as an example, introduce what file delet method provided in an embodiment of the present invention was applied Software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, respectively:Application layer, application framework layer, system operation library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation of the frame in accordance with application program In the case of principle, some application programs are developed based on application framework layer.
System operation library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour All kinds of resources needed for it are provided as system.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The software program of file delet method provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that This document delet method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal device can lead to It crosses and runs software program realization file delet method provided in an embodiment of the present invention in Android operation system.
Terminal device in the embodiment of the present invention can be mobile terminal device, or immobile terminal equipment.Show Example property, mobile terminal device can be mobile phone, tablet computer, laptop, palm PC, vehicle-mounted terminal equipment, can wear Wear equipment, Ultra-Mobile PC (ultra-mobile personal computer, UMPC), net book or individual Digital assistants (personal digital assistant, PDA) etc., immobile terminal equipment can be personal computer (personal computer, PC), television set (television, TV), automatic teller machine or self-service machine etc., the embodiment of the present invention It is not especially limited.
The executive agent of file delet method provided in an embodiment of the present invention can be above-mentioned terminal device, or The function module and/or functional entity that this document delet method can be realized in the terminal device, specifically can be according to reality Use demand determines that the embodiment of the present invention is not construed as limiting.Below by taking terminal device as an example, to file provided in an embodiment of the present invention Delet method is illustratively illustrated.
As shown in Fig. 2, the embodiment of the present invention provides a kind of file delet method, this method may include following step 100- steps 102.
Step 100, terminal device are determined executed the first operation to file destination.
In the embodiment of the present invention, terminal device can detect input of the user to file destination, and detect user couple In the case that the input of the file destination is default input, determines and the first operation was executed to the file destination.Terminal device The log information of file destination can be periodically obtained, which includes use state information (use state information Can serve to indicate that whether the first operation was executed to file destination), and indicated to the file destination in the use state information In the case of executing the first operation, determines and the first operation was executed to the file destination.Terminal device is determined to target File executed the concrete mode of the first operation, will be described in following embodiments, it will not go into details herein.
Optionally, in the embodiment of the present invention, file destination may include picture (such as photo or sectional drawing etc.), video, language At least one of in sound and document (such as Word document or Excel document).
Optionally, in the embodiment of the present invention, file destination can be terminal device from network side equipment (such as server) It downloads and is stored in terminal device, or terminal device directly acquires and preserves (such as user's triggering terminal equipment Sectional drawing or shooting) in terminal device, can also be that terminal device receives other-end equipment and send and be stored in terminal and set In standby.Certainly, which can also be what terminal device obtained by other means, specifically can be according to actual use Demand determines that the embodiment of the present invention is not construed as limiting.
Illustratively, when file destination is picture, which can be that terminal device utilizes its screenshotss function to terminal The sectional drawing that the display interface screenshotss of equipment obtain, or what terminal device was downloaded using its download function from network side equipment Picture can also be that terminal device reception other-end equipment sends and is stored in the picture in terminal device.Work as file destination For video when, the video can be terminal device utilize its shooting function shooting video, or terminal device utilize its The video that download function is downloaded from network side equipment can also be that terminal device reception other-end equipment sends and is stored in end Video in end equipment.When file destination is voice, which can be that terminal device receives other using its communication function The voice that terminal device is sent, or terminal device utilizes the voice that its sound-recording function is recorded.When file destination is document When, the document can be the document that terminal device utilizes its download function to be downloaded from network side equipment, or terminal device Other-end equipment is received to send and be stored in the document in terminal device.
Optionally, in the embodiment of the present invention, above-mentioned first operation can be predetermined registration operation.First operation is specifically as follows Terminal device shares the operation of file destination to other users, or terminal device uploads the behaviour of file destination to server Make, can also be terminal device to file destination into the operation of edlin.Certainly, which can also be terminal device pair Other operations that the file destination carries out can specifically determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
Illustratively, it is assumed that file destination is sectional drawing, and above-mentioned first operation can be that terminal device carries out figure to the sectional drawing As the operation of processing, or the sectional drawing is shared with to the operation of good friend.Assuming that file destination is video, above-mentioned first operation Can be the operation that terminal device uploads onto the server the video, it can also be by the video sharing to the operation of good friend.Assuming that File destination is voice, and above-mentioned first operation can be the operation that the voice is shared with its good friend by terminal device.Assuming that target File is document, and above-mentioned first operation can be the behaviour that terminal device stores file into edlin and separately edited document Make, or the document is shared with to the operation of good friend.
Step 101, terminal device determine that the file destination corresponds to and preset label.
Wherein, default label can serve to indicate that deletes target text after executing the first operation to file destination Part, and the default label can according to the input of user be file destination setting label.
Optionally, in the embodiment of the present invention, default label can be a part for file destination, i.e., default label can wrap It is contained in file destination (default there are correspondences between label and file destination).Alternatively, default label can also be target One attribute of file, i.e., default label may be embodied in the attribute information of file destination (default label and file destination it Between there are correspondences).Alternatively, default label may not be a part for file destination or not be the category of file destination Property, i.e., default label is not included in the attribute information of file destination or file destination, but default label and file destination it Between there are correspondences.
It is appreciated that in the embodiment of the present invention, when default label is a part either file destination of file destination It is default that correspondence is certainly existed between label and file destination when one attribute.
Step 102, terminal device delete the file destination.
In the embodiment of the present invention, after executing the first operation to file destination, pre- bidding is corresponded in the file destination In the case of label, terminal device can determine that the file destination is preserved without permanent, to which terminal device can delete the target File.
It is appreciated that operated if terminal device did not execute first to file destination, or if to file destination It executed the first operation but the file destination is corresponded to indicate to delete after executing the file destination the first operation and is somebody's turn to do The label (i.e. default label) of file destination, then terminal device, which may not need, deletes the file destination.In this way, terminal device can With the permanent file destination preserved without corresponding default label (i.e. user may want to the file that terminal device preserves for a long time).
The embodiment of the present invention provides a kind of file delet method, is to determine that file destination had been operated with the prior art The file destination is directly deleted later to compare, since the embodiment of the present invention is to determine that executing first to file destination operates, And correspond to the label that the file destination is deleted in instruction after executing the first operation to the file destination in the file destination In the case of (i.e. default label), the file destination is just deleted, therefore, the deletion file that the embodiment of the present invention can be selective, Such as the embodiment of the present invention can delete the file preserved for a long time without terminal device, and preserve user and may want to terminal device The file preserved for a long time, so as to improve the flexibility of terminal unit management file.
Optionally, in conjunction with Fig. 2, as shown in figure 3, before above-mentioned steps 100, file provided in an embodiment of the present invention is deleted Method can also include following step 103- steps 105.
Step 103, terminal device receive the operation of user.
Step 104, the operation be second operation in the case of, terminal device obtain the first file, and for this first text Label is preset in part addition.
Wherein, above-mentioned default label is used to indicate deleted the first file after executing the first operation to the first file.
Step 105, the operation be third operate in the case of, terminal device obtain the second file.
Wherein, the second operation can be used for triggering terminal equipment the first file of acquisition, and default for first file addition Label.Third operation can be used for triggering terminal equipment and obtain the second file.For presetting the description of label, specifically it is referred to To the associated description of default label in above-mentioned embodiment as shown in Figure 2, details are not described herein again.
It should be noted that in the embodiment of the present invention, terminal device can first obtain the first file depending on the user's operation, And preset label for first file addition.In this way, executing the first operation to file destination in terminal device determination and determining After the file destination corresponds to default label, terminal device can determine that the file destination is the first file or target text Part is a file in the first file.
In the embodiment of the present invention, when user, which wants triggering terminal equipment, obtains file, if the user desired that terminal device Without preserving this document for a long time, then user can obtain this document with triggering terminal equipment, and label is preset for this document setting (the default label is used to indicate deleted the file destination after executing the first operation to this document).And if the user desired that Terminal preserves this document for a long time, then user can obtain this document with triggering terminal equipment, without pre- bidding is arranged for this document Label.It is so determined in terminal device and the first operation was executed to this document, and in the case where this document corresponds to and presets label, This document is deleted manually without user, and terminal device can be automatically deleted this document, so as to improve terminal unit management The flexibility of file.
In the embodiment of the present invention, the second operation and third operation are preset different operation.First file and the second text Part can be identical file, or different files can specifically determine, the embodiment of the present invention according to actual use demand It is not construed as limiting.
Optionally, in the embodiment of the present invention, aforesaid operations can be that screenshotss operate.Second operation can be that the first screenshotss are grasped Make.Third operation can be that the second screenshotss operate.First file can be the first screenshotss file, and the second file can be second section Shield file.Wherein, the operation of the first screenshotss is different with the operation of the second screenshotss.
In the embodiment of the present invention, the first screenshotss file and the second screenshotss file can be identical screenshotss file, can also For different screenshotss files, can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
Optionally, in the embodiment of the present invention, the second operation can be preset user's triggering terminal equipment from network Side apparatus downloads the first file, and the operation of label is preset for first file setting;Or preset user touches Hair terminal device directly acquires and preserves the first file (such as preset user's triggering terminal equipment sectional drawing or shooting figure Picture), and be the operation of the default label of first file setting;Can also be that preset user's triggering terminal equipment receives it The first file that his terminal device is sent, and be the operation of the default label of first file setting.Certainly, which may be used also Think other preset operations, can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
Optionally, in the embodiment of the present invention, third operation can be preset user's triggering terminal equipment from network Side apparatus downloads the operation of the second file;Or preset user's triggering terminal equipment directly acquires and preserves second The operation of file (such as preset user's triggering terminal equipment sectional drawing or shooting);Can also be that preset user touches Send out the operation that terminal device receives the second file that other-end equipment is sent.Certainly, third operation can also be to set in advance Other fixed operations can specifically determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
Optionally, in the embodiment of the present invention, the type of the second operation and the type of third operation can be respectively to set in advance At least one of fixed key-press input, touch-screen input, gravity input, voice input and fingerprint input etc..For example, button is defeated Entering can be that user clicks the inputs such as input, double-click input, long-press input or combination button input to key of terminal equipment; Touch-screen input can be that user inputs, slidably inputs or click the inputs such as input to the long-press of the touch screen of terminal device;Weight Power input can be that user shakes terminal device in specific direction or shakes the inputs such as specific times to terminal device;Voice is defeated Enter can be user to inputs such as the microphone voices of terminal device;Fingerprint input can be that user knows the fingerprint of terminal device The sliding fingerprint of other device, clicks fingerprint or double-clicks the inputs such as fingerprint long-press fingerprint.
Illustratively, as shown in figure 4, the schematic diagram of the operation for four kinds provided in an embodiment of the present invention acquisition files.Such as Shown in (a) in Fig. 4, it is assumed that file to be obtained is document, and the second operation and third operation can be respectively to terminal device The trigger action of the different preset prompt messages shown in current interface.User can be answered by the browser of terminal device With the document for reading one entitled " king in universe ".If user wants to obtain the document, and the document chronicity is preserved To terminal device (for example, still preserving the document after executing the first operation to the document), then user can be to end " in a manner of one preserves document " this prompt message shown in the current interface of end equipment carries out trigger action, since terminal is set The standby operation that can receive user, therefore be third operation (" in a manner of one guarantor shown to terminal device in the operation of user Deposit document " trigger action of this prompt message) in the case of, terminal device can obtain the document (i.e. the second file), and Store the document.And if user wants to obtain the document, and the document is temporarily saved in terminal device (for example, can With by the document be saved in the document executed first operation after), then user can be to the current interface of terminal device " in a manner of two preserve document " of upper display this prompt message carries out trigger action, since terminal device can receive user's Operation, therefore be the second operation (" in a manner of two preserve document " this prompt shown to terminal device in the operation of user The trigger action of information) in the case of, terminal device can obtain the document (i.e. the first file), and default for the document setting Label.
As shown in (b) in Fig. 4, it is assumed that file to be obtained is document, and the second operation and third operation can be respectively not Same, preset content voice input.User can by the browser application of terminal device read one it is entitled " universe it The document of king ".If user wants to obtain the document, and the document chronicity is saved in terminal device, then in terminal In the case of showing the document in the current interface of equipment, user " can obtain target against the loud speaker input of terminal device File " is in the operation voice of user (i.e. input) of user since terminal device can receive the voice input of user In the case of third operation (i.e. voice input " obtaining file "), terminal device can obtain the document (i.e. the second file), and Store the document.And if user wants to obtain the document, and the document is temporarily saved in terminal device, then at end In the case of showing the document in the current interface of end equipment, user " can obtain text against the loud speaker input of terminal device Part simultaneously presets label for its setting ", since terminal device can receive the operation of user, in operation (the i.e. user of user Voice input) be the second operation (i.e. voice input is " it is that default label is arranged in it to obtain file destination simultaneously ") in the case of, Terminal device can obtain the document (i.e. the first file), and preset label for the document setting.
As shown in (c) in Fig. 4, it is assumed that file to be obtained is photo, and the second operation and third operation can be respectively pair The trigger action of the different default prompt controls shown in the current interface of terminal device.User can pass through terminal device Camera applications shoot photo.If user wants to obtain the photo, and the photo chronicity is saved in terminal device, then Trigger action can be carried out to the control 1 shown in the current interface of terminal device, since terminal device can receive user's Operation, therefore be that third operates the (triggering of the control 1 shown in the current interface i.e. to terminal device in the trigger action of user Operation) in the case of, terminal device can obtain the photo (i.e. the second file), and store the photo.And if user wants A photo is shot, and the photo is temporarily saved in terminal device, then user can work as prezone to terminal device The control 2 shown on face carries out trigger action In the case of second operation (trigger action i.e. to the control 2 shown in the current interface of terminal device), terminal device can be with The photo (i.e. the first file) is obtained, and label is preset for photo setting.
As shown in (d) in Fig. 4, it is assumed that file to be obtained is sectional drawing, and the second operation and third operation can be respectively pair The trigger action of different programmable buttons.User can be chatted by the social networking application of terminal device with good friend.If user thinks Will be to the current interface sectional drawing of terminal device, and it by its chronicity is saved in terminal device, then user can double-click terminal The power key of equipment is that third operation (is double-clicked in the operation of user since terminal device can receive the operation of user The power key of terminal device) in the case of, terminal device can obtain the sectional drawing (i.e. the second file), and store the sectional drawing.And If user wants the current interface sectional drawing to terminal device, and it is temporarily saved in terminal device, then user can To press the volume key and power key of terminal device simultaneously, since terminal device can receive the operation of user, in user Operation be the second operation (i.e. to the pressing operation of the volume key of terminal device and power key) in the case of, terminal device can be with The sectional drawing (i.e. the first file) is obtained, and label is preset for sectional drawing setting.
File delet method provided in an embodiment of the present invention, since the operation in user is that triggering terminal equipment obtains text Part and in the case of presetting label (i.e. second operation) for this document setting, terminal device can obtain this document, and be this article Label is preset in part setting, and the default label can serve to indicate that terminal device is deleted after executing the first operation to this document Except this document, therefore, if the user desired that terminal device preserves this document without permanent, then user can be with triggering terminal equipment For this document, the default label is set.The file that such terminal device can delete corresponding default label (is not necessarily to terminal device The file preserved for a long time), and preserve user and may want to the file that terminal device preserves for a long time, so as to improve terminal device Manage the flexibility of file.
Optionally, it is after label is preset in the addition of the first file, originally in above-mentioned steps 104 in the embodiment of the present invention The file delet method that inventive embodiments provide can also include following step 106.
Step 106, terminal device show the first file in file with target display mode.
It is after label is preset in the addition of the first file in terminal device, terminal device can be in text in the embodiment of the present invention First file is stored in part folder.If user wants to check that first file, user can be shown with triggering terminal equipment First file (such as user can be by folder icon on click terminal device screen to show first file).At end After end equipment receives the input of user, terminal device can open this document folder, and be shown with target in this document folder Mode shows first file.
Optionally, can also include third file in above-mentioned file, and the third file is at this in the embodiment of the present invention Display mode in file is different from target display mode.
Optionally, above-mentioned that first file is shown with target display mode in the embodiment of the present invention, it is specifically as follows:With spy Different label shows the first file, either shows the first file in a manner of highlighted or shows first in the target area of file File.It can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
For example, it is assumed that terminal device shows the first file with special marking, then the special marking can be as in Fig. 5 (a) the black triangles label on the screen of terminal device shown in.Such user can mark according to the black triangles, determine Terminal device can delete these pictures after executing the first operation to picture 1, picture 3 or picture 6.
For another example assume that terminal device shows the first file in a manner of highlighted, then on the screen of terminal device, first The brightness of file region is greater than the brightness of third file region.Such user can highlight mode according to this, really The first file can be deleted by being scheduled on terminal device after executing the first operation to the first file.
For another example assuming that terminal device shows the first file in the target area of file, then in the screen of terminal device In the file of curtain display, the first file region can be target area, the target area and third file region For the region (such as the target area can be located at the top of third file region) that two different in file.So use Family can determine that terminal device can delete the first file after executing the first operation to the first file according to target area.
File delet method provided in an embodiment of the present invention, since terminal device can be in file with target display side Formula shows the first file, so that user can determine according to target display mode was executing the first operation to the first file Terminal device can delete the first file later, so as to promote the experience sense of user.
Optionally, in the embodiment of the present invention, above-mentioned steps 100 can by the possible realization method of the first following or Second following of possible realization method of person is realized.
In the first possible realization method, above-mentioned steps 100 can specifically pass through following step 100a and step 100b is realized.
Step 100a, input of the terminal device detection user to file destination.
Step 100b, in the case where terminal device detects user to the input of the file destination to preset input, eventually End equipment is determined executed the first operation to the file destination.
Wherein, default input can be used for triggering terminal equipment and execute file destination to preset the corresponding finger of input with this It enables.
Description for file destination is specifically referred to the phase to file destination in above-mentioned embodiment as shown in Figure 2 Description is closed, details are not described herein again.
Optionally, in the embodiment of the present invention, default input can be preset user's triggering terminal equipment to other Terminal device sends the input of file destination, or preset user's triggering terminal device-to-server uploads target The input of file, can also be preset user's triggering terminal equipment to file destination into the input of edlin.Certainly, should Default input can also be other preset inputs, can specifically be determined according to actual use demand, the embodiment of the present invention It is not construed as limiting.
Correspondingly, in the embodiment of the present invention, it can be terminal device to other ends to execute instruction corresponding with default input End equipment send file destination, or terminal device to server upload file destination, can also be terminal device to mesh File is marked into edlin.
Optionally, in the embodiment of the present invention, preset input type can be key-press input, touch-screen input, gravity input, At least one of voice inputs and fingerprint inputs etc..For example, key-press input can be list of the user to key of terminal equipment It hits input, double-click the inputs such as input, long-press input or combination button input;Touch-screen input can be user to terminal device The long-press input of touch screen slidably inputs or clicks the inputs such as input;Gravity input can be that user shakes in specific direction Terminal device shakes the inputs such as specific times to terminal device;Voice input can be microphone of the user to terminal device The inputs such as voice input;Fingerprint input can be sliding fingerprint, long-press fingerprint, list of the user to the Fingerprint Identification Unit of terminal device It hits fingerprint or double-clicks the inputs such as fingerprint.
Illustratively, as shown in figure 5, illustrating for a kind of interface to file destination operation provided in an embodiment of the present invention Figure.As shown in (a) in Fig. 5, it is assumed that the current interface (being referred to as the interface that terminal device is currently shown) of terminal device For the interface of photograph album application, if user wants the good friend that the picture 1 in interface that the photograph album is applied is shared with to the user, that User can click the region where the picture 1.Then, terminal device can detect that user is (i.e. whole to the input of picture 1 End equipment can detect input of the user to file destination);Also, terminal device can be in response to the input, by terminal device Current interface (i.e. shown in (a) in Fig. 5 photograph album apply interface) be switched to the chat application as shown in (b) in Fig. 5 Interface;And the picture 1 can be sent to the good friend of the user by terminal device.In the embodiment of the present invention, in terminal device While the picture 1 is sent to good friend, terminal device can also detect user, and to the input of picture 1, (i.e. terminal device can be with Detect input of the user to file destination) whether it is default input, detect user to the defeated of the file destination in terminal device In the case of entering for default input, terminal device can be determined executed the first operation to the file destination.
In the embodiment of the present invention, whether terminal device is default input to the input of file destination by detecting user, can The first operation was executed to file destination to determine, and is determining that executing the first operation and then detection to file destination is No delete target file, the deletion file that such terminal device can be selective, such as terminal device can be deleted without terminal The file that equipment preserves for a long time, and preserve user and may want to the file that terminal device preserves for a long time, so as to improve terminal The flexibility of equipment management file.
In second of possible realization method, above-mentioned steps 100 can specifically pass through following step 100c and step 100d is realized.
Step 100c, terminal device periodically obtains file destination log information.
Wherein, above-mentioned log information may include use state information.The use state information can serve to indicate that whether First operation was executed to file destination.
Step 100d, in the case where use state information indicates to execute the first operation to the file destination, terminal is set Standby determine executed the first operation to the file destination.
For the description that file destination and first operate, specifically it is referred in above-mentioned embodiment as shown in Figure 2 to mesh The associated description of file and the first operation is marked, details are not described herein again.
Optionally, in the embodiment of the present invention, in second of possible realization method, terminal device can according to it is default when Between periodically obtain the use state information of file destination.
Illustratively, it is assumed that above-mentioned preset time is 12 hours, and the use state information of above-mentioned file destination is included in In the journal file of terminal device, then terminal device can pass through 12 hours journal files for reading a terminal device with every, And the use state information of file destination is obtained from the journal file, and the use state information of the file destination is carried out Analysis.For example, the daily record that terminal device obtains file destination from journal file is " #Date:2018-03-1100:00:17.# Fields:... ... .*&&&&&* ", then due to including use state information in the daily record of the file destination " * &&&&&* ", and the use state information " * &&&&&* " can serve to indicate that and execute the first operation to the file destination, because This terminal device can be determined according to the use state information executed the first operation to the file destination, i.e., in the use state In the case that information instruction executed the first operation to the file destination, terminal device determination executed first to the file destination Operation.
In the embodiment of the present invention, terminal device is by periodically obtaining the log information of file destination, due to the daily record Information includes use state information, therefore terminal device can be according to use state information, and whether determination executes file destination The first operation is crossed, and is determining that executing first to file destination operates and then detect whether delete target file.So eventually End equipment can selectively delete file, such as terminal device can delete the file preserved for a long time without terminal device, and It preserves user and may want to the file that terminal device preserves for a long time, so as to improve the flexibility of terminal unit management file.
In the embodiment of the present invention, compared with above-mentioned second possible realization method, the first above-mentioned possible realization side Formula can be after terminal device detects user to the input of file destination, and ability detection trigger user is to the input of file destination It is no for default input and other follow-up steps (such as step 100- steps 102), without terminal device according to it is default when Between periodically detect to file destination whether executed first operation and file destination whether correspond to default label, so as to To reduce the power consumption of terminal device.
Optionally, in the embodiment of the present invention, after above-mentioned steps 104, file deletion side provided in an embodiment of the present invention Method can also include following step 107.
Step 107, terminal device preserve file destination to the first storage region.
Optionally, in the embodiment of the present invention, the first storage region can be internal storage areas or outer memory area. Internal storage areas can be local disk, Static RAM (static random access in terminal device Memory, SRAM) or read-only memory (read-only memory, ROM) etc..Outer memory area can deposit for floppy disc Reservoir, hard disc storage or compact disc-ROM etc..
Illustratively, still using file destination as photo, the second operation is pre- to being shown in the current interface of terminal device If prompt control (such as this it is preset prompt control can be the control 2 as shown in (c) in Fig. 4) trigger action for It illustrates.As shown in (c) in Fig. 4, detect that the operation of user is to the current of terminal device in terminal device In the case of the trigger action (the i.e. second operation) of the control 2 shown on interface, terminal device can obtain photo (i.e. target text Part), and preset label for photo setting.Then, terminal device can preserve the photo to the first storage region, for example, this One storage region can be that the photograph album as shown in (a) in Fig. 5 applies corresponding storage region.When user wants to check, that User can open the photograph album application with triggering terminal equipment, to which terminal device can be shown in the current interface of terminal device Show the photo, such as the picture 6 as shown in (a) in Fig. 5.Further, if user wants to share to the good friend of the user The photo, then the user can choose the photo, (such as user can be selected by the region where the photo on Touch Screen In the photo), and the photo is shared with to the good friend (such as shown in (b) in Fig. 5) of the user.
File delet method provided in an embodiment of the present invention can facilitate use by save file to the first storage region Family is checked and uses this document (such as sharing this document to the good friend of the user) again.
Optionally, in the embodiment of the present invention, it is assumed that the storage region of file destination is the first storage region.So, this hair In the file delet method that bright embodiment provides, above-mentioned steps 102 can specifically be realized by following step 102a.
Step 102a, file destination is moved to the second storage region by terminal device from the first storage region, and default After time the file destination is deleted from second storage region.
Wherein, above-mentioned second storage region is different from above-mentioned first storage region.
Optionally, in the embodiment of the present invention, the second storage region can be internal storage areas or outer memory area. Internal storage areas can be local disk, Static RAM (static random access in terminal device Memory, SRAM) or read-only memory (read-only memory, ROM) etc..Outer memory area can deposit for floppy disc Reservoir, hard disc storage or compact disc-ROM etc..
Optionally, in the embodiment of the present invention, above-mentioned preset time can be that 1 hour, 1 day, 1 week or 1 month etc. are appointed It anticipates the time met the actual needs, the embodiment of the present invention is not construed as limiting.
Illustratively, it is assumed that preset time is 1 day.After determining that file destination corresponds to default label, terminal device can The file destination is moved to the second storage region from the first storage region.In 1 day, if user wants to reuse this File destination, then the file destination can be moved to first storage by user with triggering terminal equipment from second storage region Region or third region (the third storage region is all different with first storage region and second storage region);And In 1 day, if user does not carry out any operation to the file destination in second storage region, after 1 day, terminal is set It is standby to determine that the file destination is still stored in second storage region, and can be deleted directly from the second storage region should File destination.
It is appreciated that after terminal device determines that file destination corresponds to default label, terminal device can also be deleted directly Except the file destination, without executing above-mentioned steps 102a.It can specifically be determined according to use demand, the embodiment of the present invention is not done It limits.
File delet method provided in an embodiment of the present invention can be with after determining delete target file due to terminal device File destination is first moved to the second storage region from the first storage region, and again from second storage region after preset time The file destination is deleted, i.e., after terminal device determines delete target file, terminal device can the file destination be pre- in preservation If deleting the file destination again after the time, therefore mistake can be avoided to delete user to a certain extent and may want to terminal device The file preserved for a long time, so as to improve the experience sense of user.
Optionally, after above-mentioned steps 102, file delet method provided in an embodiment of the present invention can also include following Step 108.
Step 108, terminal device the display reminding information on the interface of terminal device.
Wherein, above-mentioned prompt message can serve to indicate that file destination has been deleted.
Illustratively, as shown in fig. 6, being a kind of interface schematic diagram of display reminding information provided in an embodiment of the present invention. Assuming that file destination is picture and terminal device determines that it is specially terminal device determination figure to execute the first operation to file destination Piece is shared to the good friend of user, as shown in (a) in Fig. 6, when terminal device determine picture by share to user good friend it Afterwards, terminal device can in the current interface of terminal device display reminding information, and the content of the prompt message can be " figure Piece is sent successfully, and has deleted the picture locally preserved ".Assume again that file destination is picture and terminal device is determined to target It is specially that terminal device determines picture editor and preserves successfully that file, which executed the first operation, as shown in (b) in Fig. 6, works as end After end equipment determines picture editor and preserves successfully, terminal device can be believed display reminding in the current interface of terminal device Breath, and the content of the prompt message can be " picture editor and preserve successfully, and deleted original picture ".
File delet method provided in an embodiment of the present invention, since letter can be prompted on the display interface of terminal device Breath, to prompt ownership goal file to be deleted, therefore, user can know administrative situation of the terminal device to file in time, from And user experience can be improved.
As shown in fig. 7, the embodiment of the present invention provides a kind of terminal device 700.The terminal device can include determining that module 701 and removing module 702.Wherein it is determined that module 701, the first operation was executed for determining to file destination;Removing module 702, after executing the first operation to the file destination in the determination of determining module 701, corresponded in the file destination default In the case of label, the file destination is deleted.Wherein, the default label be used to indicate to the file destination executed this first The file destination is deleted after operation.
Optionally, in conjunction with Fig. 7, as shown in figure 8, terminal device provided in an embodiment of the present invention can also include receiving module 703 and acquisition module 704.Receiving module 703, for executing the first operation to file destination in the determination of determining module 701 Before, receive the operation of user.Acquisition module 704 is used in the case where the operation that receiving module 703 receives is the second operation, The first file is obtained, and label is preset for first file addition;In the feelings that the operation that receiving module 703 receives is third operation Under condition, the second file is obtained.
Optionally, in the embodiment of the present invention, aforesaid operations can be that screenshotss operate.First operation is that the first screenshotss operate. Second operation is that the second screenshotss operate.First file is the first screenshotss file.Second file is the second screenshotss file.Wherein, The operation of one screenshotss is different with the operation of the second screenshotss.
Optionally, in conjunction with Fig. 8, as shown in figure 9, terminal device provided in an embodiment of the present invention can also include display module 705.Display module 705, for being after label is preset in the addition of the first file, with target in file in acquisition module 704 Display mode shows first file.
Optionally, in the embodiment of the present invention, determining module 701 is specifically used for periodically obtaining the daily record letter of file destination Breath, which includes use state information, which is used to indicate whether to execute the to the file destination One operation;And it in the case where use state information instruction executed the first operation to the file destination, determines to the target File executed the first operation.
Optionally, in the embodiment of the present invention, the storage region of file destination is the first storage region.Removing module 702, tool Body is used to file destination being moved to the second storage region from first storage region, and from second storage after preset time The file destination is deleted in region, and second storage region is different from first storage region.
Terminal device provided in an embodiment of the present invention can realize that terminal device is realized each in above method embodiment Process, to avoid repeating, which is not described herein again.
The embodiment of the present invention provides a kind of terminal device, is that terminal device is determining that file destination has been grasped with the prior art Directly delete target file was compared after making, since the embodiment of the present invention is that terminal device executed file destination in determination First operation, and correspond to instruction in the file destination and delete target text after executing the first operation to the file destination In the case of the label (i.e. default label) of part, the file destination is just deleted, therefore, the terminal device of the embodiment of the present invention can be with The deletion file of selectivity, such as the terminal device of the embodiment of the present invention can delete the text preserved for a long time without terminal device Part, and preserve user and may want to the file that terminal device preserves for a long time, so as to improve the spirit of terminal unit management file Activity.
A kind of hardware architecture diagram of Figure 10 terminal devices of each embodiment to realize the present invention.As shown in Figure 10, The terminal device 200 includes but not limited to:Radio frequency unit 201, network module 202, audio output unit 203, input unit 204, sensor 205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210, with And the equal components of power supply 211.It will be understood by those skilled in the art that the not structure paired terminal of terminal device structure shown in Figure 10 The restriction of equipment, terminal device may include either combining certain components or different than illustrating more or fewer components Component is arranged.In embodiments of the present invention, terminal device includes but not limited to mobile phone, tablet computer, laptop, palm electricity Brain, vehicle-mounted terminal equipment, wearable device and pedometer etc..
Wherein, processor 210 executed the first operation to file destination for determining, and were corresponded in advance in the file destination In the case of bidding label, the file destination is deleted.The default label is used to indicate was executing the first operation to the file destination The file destination is deleted later.
The embodiment of the present invention provides a kind of terminal device, is that terminal device is determining that file destination has been grasped with the prior art Directly delete target file was compared after making, since the embodiment of the present invention is that terminal device executed file destination in determination First operation, and correspond to instruction in the file destination and delete target text after executing the first operation to the file destination In the case of the label (i.e. default label) of part, the file destination is just deleted, therefore, the terminal device of the embodiment of the present invention can be with The deletion file of selectivity, such as the terminal device of the embodiment of the present invention can delete the text preserved for a long time without terminal device Part, and preserve user and may want to the file that terminal device preserves for a long time, so as to improve the spirit of terminal unit management file Activity.
In the embodiment of the present invention, radio frequency unit 201 can be used for receiving and sending messages or communication process in, the reception of signal and hair It send, specifically, after the downlink data from base station is received, is handled to processor 210;In addition, the data of uplink are sent to Base station.In general, radio frequency unit 201 including but not limited to antenna, at least one amplifier, transceiver, coupler, low noise are put Big device, duplexer etc..In addition, radio frequency unit 201 system can also be communicated with network and other equipment by radio communication.
Terminal device has provided wireless broadband internet to the user by network module 202 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 203 can receive radio frequency unit 201 or network module 202 or in memory 209 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 203 can also provide and end The relevant audio output of specific function that end equipment 200 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 203 includes loud speaker, buzzer and receiver etc..
Input unit 204 is for receiving audio or video signal.Input unit 204 may include graphics processor (Graphics Processing Unit, GPU) 2041 and microphone 2042, graphics processor 2041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 206.Through graphics processor 2041, treated that picture frame can be deposited Storage is sent in memory 209 (or other storage mediums) or via radio frequency unit 201 or network module 202.Mike Wind 2042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 201 by being converted in the case of telephone calling model.
Terminal device 200 further includes at least one sensor 205, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 2061, and proximity sensor can close when terminal device 200 is moved in one's ear Display panel 2061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 205 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 206 is for showing information input by user or being supplied to the information of user.Display unit 206 can wrap Display panel 2061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 2061.
User input unit 207 can be used for receiving the number or character information of input, and generate the use with terminal device Family is arranged and the related key signals input of function control.Specifically, user input unit 207 include touch panel 2071 and Other input equipments 2072.Touch panel 2071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 2071 or in touch panel 2071 Neighbouring operation).Touch panel 2071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 210, receiving area It manages the order that device 210 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 2071.In addition to touch panel 2071, user input unit 207 can also include other input equipments 2072.Specifically, other input equipments 2072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 2071 can be covered on display panel 2061, when touch panel 2071 is detected at it On or near touch operation after, send processor 210 to determine the type of touch event, be followed by subsequent processing device 210 according to touch The type for touching event provides corresponding visual output on display panel 2061.Although in Fig. 10, touch panel 2071 with it is aobvious Show that panel 2061 is to realize the function that outputs and inputs of terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 2071 and display panel 2061 and realize the function that outputs and inputs of terminal device, it is specific this Place does not limit.
Interface unit 208 is the interface that external device (ED) is connect with terminal device 200.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 208 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in terminal device 200 or can be used in 200 He of terminal device Transmission data between external device (ED).
Memory 209 can be used for storing software program and various data.Memory 209 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 209 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 210 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 209, and calls and is stored in storage Data in device 209 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Reason device 210 may include one or more processing units;Preferably, processor 210 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 210.
Terminal device 200 can also include the power supply 211 (such as battery) powered to all parts, optionally, power supply 211 Can be logically contiguous by power-supply management system and processor 210, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal device 200 includes some unshowned function modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of terminal device, including processor 210 as shown in Figure 10, storage Device 209 is stored in the computer program that can be run on memory 209 and on processor 210, and the computer program is by processor 210 realize each process of above method embodiment when executing, and can reach identical technique effect, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, realizes each process of above method embodiment when which is executed by processor, and can reach identical Technique effect, to avoid repeating, which is not described herein again.Wherein, computer readable storage medium, such as read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (11)

1. a kind of file delet method, which is characterized in that the method includes:
It determines and the first operation was executed to file destination;
In the case where the file destination corresponds to and presets label, the file destination is deleted;
Wherein, the default label is used to indicate deleted the mesh after executing first operation to the file destination Mark file.
2. according to the method described in claim 1, it is characterized in that, the determination executed the first operation to file destination Before, the method further includes:
Receive the operation of user;
In the case where the operation operates for second, the first file is obtained, and the pre- bidding is added for first file Label.
3. according to the method described in claim 2, it is characterized in that, it is described for first file add the default label it Afterwards, the method further includes:
First file is shown with target display mode in file.
4. according to the method described in claim 1, it is characterized in that, the determination executed the first operation, packet to file destination It includes:
The log information of the file destination is periodically obtained, the log information includes use state information, the use Status information is used to indicate whether to execute first operation to the file destination;
In the case where use state information instruction executed first operation to the file destination, determine to described File destination executed first operation.
5. method according to claim 1 to 4, which is characterized in that the storage region of the file destination is First storage region;
The deletion file destination, including:
The file destination is moved to the second storage region from first storage region, and from described after preset time Two storage regions delete the file destination, and second storage region is different from first storage region.
6. a kind of terminal device, which is characterized in that the terminal device includes:
Determining module executed the first operation for determining to file destination;
Removing module, after executing first operation to the file destination in determining module determination, in institute In the case of stating the default label of file destination correspondence, the file destination is deleted;
Wherein, the default label is used to indicate deleted the mesh after executing first operation to the file destination Mark file.
7. terminal device according to claim 6, which is characterized in that the terminal device further includes receiving module and acquisition Module;
The receiving module, for the determining module determination file destination was executed it is described first operation before, Receive the operation of user;
The acquisition module, in the case where the operation that the receiving module receives is the second operation, obtaining first File, and add the default label for first file.
8. terminal device according to claim 7, which is characterized in that the terminal device further includes display module;
The display module, for being after first file adds the default label, in file in the acquisition module First file is shown with target display mode in folder.
9. terminal device according to claim 6, which is characterized in that
The determining module, specifically for periodically obtaining the log information of the file destination, the log information includes Use state information, the use state information are used to indicate whether to execute first operation to the file destination;And In the case where use state information instruction executed first operation to the file destination, determine to the target File executed first operation.
10. the terminal device according to any one of claim 6 to 9, which is characterized in that the memory block of the file destination Domain is the first storage region;
The removing module, specifically for the file destination is moved to the second storage region from first storage region, And the file destination is deleted from second storage region after preset time, second storage region is deposited with described first Storage area domain is different.
11. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in file delet method the step of.
CN201810378280.8A 2018-04-25 2018-04-25 A kind of file delet method and terminal device Pending CN108733772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810378280.8A CN108733772A (en) 2018-04-25 2018-04-25 A kind of file delet method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810378280.8A CN108733772A (en) 2018-04-25 2018-04-25 A kind of file delet method and terminal device

Publications (1)

Publication Number Publication Date
CN108733772A true CN108733772A (en) 2018-11-02

Family

ID=63939939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810378280.8A Pending CN108733772A (en) 2018-04-25 2018-04-25 A kind of file delet method and terminal device

Country Status (1)

Country Link
CN (1) CN108733772A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753482A (en) * 2018-12-29 2019-05-14 联想(北京)有限公司 File management method and device
CN113282768A (en) * 2021-04-25 2021-08-20 维沃移动通信有限公司 Multimedia file processing method and device and electronic equipment
CN113836323A (en) * 2021-09-24 2021-12-24 展讯通信(天津)有限公司 Media file management method, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104640085A (en) * 2015-02-17 2015-05-20 陈包容 Burn after reading information sending method and device
CN105069369A (en) * 2015-07-20 2015-11-18 陈包容 Burn-after-reading method and device for document
CN105992174A (en) * 2015-05-25 2016-10-05 乐视移动智能信息技术(北京)有限公司 Message processing method and device
CN106802957A (en) * 2017-01-19 2017-06-06 广东欧珀移动通信有限公司 File management method, device and terminal device
CN106897634A (en) * 2015-12-21 2017-06-27 联芯科技有限公司 The display methods and terminal device of a kind of burn-after-reading picture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104640085A (en) * 2015-02-17 2015-05-20 陈包容 Burn after reading information sending method and device
CN105992174A (en) * 2015-05-25 2016-10-05 乐视移动智能信息技术(北京)有限公司 Message processing method and device
CN105069369A (en) * 2015-07-20 2015-11-18 陈包容 Burn-after-reading method and device for document
CN106897634A (en) * 2015-12-21 2017-06-27 联芯科技有限公司 The display methods and terminal device of a kind of burn-after-reading picture
CN106802957A (en) * 2017-01-19 2017-06-06 广东欧珀移动通信有限公司 File management method, device and terminal device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753482A (en) * 2018-12-29 2019-05-14 联想(北京)有限公司 File management method and device
CN109753482B (en) * 2018-12-29 2023-01-17 联想(北京)有限公司 File management method and device
CN113282768A (en) * 2021-04-25 2021-08-20 维沃移动通信有限公司 Multimedia file processing method and device and electronic equipment
CN113836323A (en) * 2021-09-24 2021-12-24 展讯通信(天津)有限公司 Media file management method, terminal equipment and storage medium
CN113836323B (en) * 2021-09-24 2023-09-19 展讯通信(天津)有限公司 Media file management method, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108762954A (en) A kind of object sharing method and mobile terminal
CN107734179A (en) A kind of message prompt method, mobile terminal
CN109445894A (en) A kind of screenshot method and electronic equipment
CN110413364A (en) A kind of information processing method and terminal
CN110109593A (en) A kind of screenshotss method and terminal device
CN108234774A (en) The method for down loading and terminal of a kind of application program
CN108241466A (en) Document handling method, device and computer readable storage medium
CN109862266A (en) A kind of image sharing method and terminal
CN109085968A (en) A kind of screenshotss method and terminal device
CN109040441A (en) Using display methods of attending to anything else, mobile terminal and computer readable storage medium
CN110209332A (en) A kind of information processing method and terminal device
CN108446338A (en) A kind of method and terminal preserving browsing record
CN108171034A (en) A kind of method and terminal for protecting privacy
CN109408072A (en) A kind of application program delet method and terminal device
CN108108079A (en) A kind of icon display processing method and mobile terminal
CN110049187A (en) A kind of display methods and terminal device
CN109491632A (en) A kind of resource sharing method and terminal
CN110046013A (en) A kind of interface display method and terminal device
CN109857876A (en) A kind of information display method and terminal device
CN109753202A (en) A kind of screenshotss method and mobile terminal
CN108733772A (en) A kind of file delet method and terminal device
CN109117054A (en) A kind of display control method and terminal
CN108920054A (en) A kind of application recommended method and terminal
CN108153460A (en) A kind of icon hiding method and terminal
CN108833684A (en) A kind of information cuing method and terminal 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181102

RJ01 Rejection of invention patent application after publication