CN107766549A - Text delet method and device, terminal installation and readable storage medium storing program for executing - Google Patents

Text delet method and device, terminal installation and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107766549A
CN107766549A CN201711049197.8A CN201711049197A CN107766549A CN 107766549 A CN107766549 A CN 107766549A CN 201711049197 A CN201711049197 A CN 201711049197A CN 107766549 A CN107766549 A CN 107766549A
Authority
CN
China
Prior art keywords
text
preparatory condition
fileinfo
deleted
file
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.)
Withdrawn
Application number
CN201711049197.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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201711049197.8A priority Critical patent/CN107766549A/en
Publication of CN107766549A publication Critical patent/CN107766549A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present invention provides a kind of text delet method, receives first deleted text and deletes instruction, obtains the fileinfo of the text;Judge whether the fileinfo of the text meets preparatory condition;If the fileinfo of the text meets preparatory condition, do not delete instruction according to described first and the text is deleted.The embodiment of the present invention also provides a kind of text and deletes device, terminal installation and computer-readable recording medium.It can optimize text batch deletion action using the embodiment of the present invention, improve Consumer's Experience.

Description

Text delet method and device, terminal installation and readable storage medium storing program for executing
Technical field
The present embodiments relate to field of terminal technology, more particularly to a kind of text delet method and device, terminal Device and readable storage medium storing program for executing.
Background technology
This part is it is intended that the embodiment for the embodiment of the present invention stated in claims and embodiment carries For background or context.Description herein recognizes it is prior art not because not being included in this part.
Portability based on mobile terminal, increasing people uses mobile terminal, and by mobile terminal, user can broadcast Put the music on, video, take pictures and communication exchange etc..Therefore, mobile terminal great lot video files generally good at managing, picture file with And text, user can carry out certain operation when checking these files to these files, such as deletion action.
However, in actual use, in face of substantial amounts of file, user may maloperation and delete and be not desired to originally The file of deletion, and the mistake in face of file is deleted, thus reduce Consumer's Experience.
The content of the invention
In consideration of it, it is necessary to provide a kind of text delet method and device, terminal installation and computer-readable storage Medium, text batch deletion action can be optimized, improve Consumer's Experience.
On the one hand the embodiment of the present invention provides a kind of text delet method, the text delet method includes:
Receive first deleted text and delete instruction;
Obtain the fileinfo of the text;
Judge whether the fileinfo of the text meets preparatory condition;
If the fileinfo of the text meets preparatory condition, instruction is not deleted to the text according to described first This document is deleted.
Further, in above-mentioned text delet method provided in an embodiment of the present invention, methods described also includes:
If the fileinfo of the text meets preparatory condition, the text of preparatory condition will be met by presetting method File is temporarily preserved into file;Or
If the fileinfo of the text is unsatisfactory for preparatory condition, will be unsatisfactory for according to the described first deletion instruction The text of preparatory condition is deleted.
Further, it is described to judge the text in above-mentioned text delet method provided in an embodiment of the present invention Whether the fileinfo of file meets that preparatory condition includes:
Judge whether include preset keyword in the fileinfo of the text;Or
Judge the fileinfo of the text whether comprising charg`e d'affaires's item mark.
Further, in above-mentioned text delet method provided in an embodiment of the present invention, the presetting method of pressing will Meeting that the text of preparatory condition is temporarily preserved to file includes:
Text addition mark or the collection of preparatory condition will be met, by the text text after addition mark or collection Part is preserved to default file and pressed from both sides;Or
Text addition mark or the collection of preparatory condition will be met, by the text text after addition mark or collection Part is stored in former catalogue file folder;Or
Text addition mark or the collection of preparatory condition will be met, by the text text after addition mark or collection Part is preserved to default file and pressed from both sides, and performs the step of deletion is unsatisfactory for the text of preparatory condition;Or
Text addition mark or the collection of preparatory condition will be met, by the text text after addition mark or collection Part is stored in former catalogue file folder, and performs the step of deletion is unsatisfactory for the text of preparatory condition.
Further, in above-mentioned text delet method provided in an embodiment of the present invention, will expire by presetting method After the text of sufficient preparatory condition is temporarily preserved into file, methods described includes:
Prompting message is exported, and by the currently displayed display interface of text for meeting preparatory condition;
If second deletion of the user for the text for meeting preparatory condition is received in current display interface Instruction, then delete and instruct according to described second, delete the text for meeting preparatory condition of user's selection.
Another further aspect of the embodiment of the present invention also provides a kind of text and deletes device, and the text deletes device bag Include:
Receiving module, instruction is deleted for receiving text is deleted first;
Acquisition module, for obtaining the fileinfo of the text;
Judge module, for judging whether the fileinfo of the text meets preparatory condition;
Control module, for when the fileinfo of text meets preparatory condition, not deleting and referring to according to described first Order is deleted the text.
Further, in above-mentioned text provided in an embodiment of the present invention deletes device, the judge module is used for Judge whether the fileinfo of the text meets that preparatory condition includes:
Judge whether the fileinfo of the text includes preset keyword;Or
Judge the fileinfo of the text whether comprising charg`e d'affaires's item mark.
Further, in above-mentioned text provided in an embodiment of the present invention deletes device, the judge module is used for Judge whether the fileinfo of the text meets that preparatory condition also includes:
If the fileinfo of text meets preparatory condition, the text of preparatory condition will be met by presetting method Temporarily preserve into file;Or
If the fileinfo of text is unsatisfactory for preparatory condition, will be unsatisfactory for presetting according to the described first deletion instruction The text of condition is deleted.
Another further aspect of the embodiment of the present invention also provides a kind of terminal installation, and the terminal installation includes processor, the place Reason device is used to realize the text delet method described in above-mentioned any one when performing the computer program stored in memory The step of.
Another further aspect of the embodiment of the present invention also provides a kind of computer-readable recording medium, and the computer program is processed The step of device realizes the text delet method described in above-mentioned any one when performing.
Text delet method and device provided in an embodiment of the present invention, terminal installation and computer-readable storage medium Matter, receive first deleted text and delete instruction, obtain the fileinfo of the text;Judge the text Whether the fileinfo of this document meets preparatory condition;If the fileinfo of the text meets preparatory condition, not root Instruction is deleted according to described first to delete the text.Using the embodiment of the present invention, the text text obtained can be directed to Whether the fileinfo of part meets preparatory condition, the deletion of response or does not delete the text.Thus optimize text text Part batch deletion action, improves Consumer's Experience.
Further, text delet method and device provided in an embodiment of the present invention, terminal installation and computer can Storage medium is read, after by predetermined manner, the text for meeting preparatory condition is temporarily preserved to file, output prompting Information, by the currently displayed display interface of text for meeting preparatory condition;If use is received in current display interface Instruction is deleted in family for the second of the text for meeting preparatory condition, then deletes and instruct according to described second, delete and use The text for meeting preparatory condition of family selection.Using the embodiment of the present invention, user can be directed to for meeting preparatory condition The deletion instruction of text, the deletion text of response, reduces the possibility that user deletes text by mistake, improves user's body Test.
Brief description of the drawings
Fig. 1 is the flow chart of the text delet method of first embodiment of the invention.
Fig. 2 is the flow chart of the text delet method of second embodiment of the invention.
Fig. 3 is the flow chart of the text delet method of third embodiment of the invention.
Fig. 4 is the flow chart of the text delet method of four embodiment of the invention.
Fig. 5 is the structural representation of the terminal of an embodiment of the present invention.
Fig. 6 is the exemplary functional block diagram of the terminal shown in Fig. 5.
Main element symbol description
Following embodiment will combine above-mentioned accompanying drawing and further illustrate the embodiment of the present invention.
Embodiment
In order to be more clearly understood that the above-mentioned purpose of the embodiment of the present invention, feature and advantage, below in conjunction with the accompanying drawings and The present invention will be described in detail for embodiment.It should be noted that in the case where not conflicting, the embodiment party of the application Feature in formula can be mutually combined.
Many details are elaborated in the following description in order to fully understand the embodiment of the present invention, described reality Apply mode only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, The every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made, belong to this The scope of inventive embodiments protection.
Unless otherwise defined, technology of all of technologies and scientific terms used here by the article with belonging to the embodiment of the present invention The implication that the technical staff in field is generally understood that is identical.Term used in the description of the invention herein is intended merely to The purpose of specific embodiment is described, it is not intended that in the limitation embodiment of the present invention.
Fig. 1 is the flow chart of the text delet method of first embodiment of the invention, the text deletion side Method is applied to terminal, and the terminal can be the intelligence such as smart mobile phone, notebook computer, desk-top/tablet personal computer, intelligent watch Can equipment.As shown in figure 1, this article this document delet method comprises the following steps:
101:Receive first deleted text and delete instruction.
In present embodiment, the text includes but is not limited to note file, mail document, Cal. Files, short message File.User performed in terminal it is described first delete instruction mode have it is a variety of.For example, when text is note file When, if the terminal has touching display screen, and when multiple note files are shown on touching display screen, user can pass through touch-control Multiple note files are instructed with performing the first deletion on selection display screen.If the terminal has mouse, touch pad or touches control During key processed, pass through mouse, touch pad or touch control key mobile logo to the region of multiple notes, the multiple notes of unit, to hold Row first deletes instruction.Or if when there is keyboard in terminal, the directionkeys on keyboard can be clicked, mobile logo is to multiple The region of note, acknowledgement key is clicked on, instruction is deleted to perform first.
102:Obtain the fileinfo of the text.
In present embodiment, obtaining the fileinfo of text includes obtaining note file, mail document, short message file Content information, either obtain the remark information of Cal. Files or obtain the file name information of the text.
103:Judge whether the fileinfo of the text meets preparatory condition, if it is, into step 104, Otherwise, flow is terminated.
In present embodiment, if the text is note file, obtains the content information of note file or obtain The file name information of note file is taken, wherein, judge whether the fileinfo of note file meets that preparatory condition can include: Judge whether the content information of note file includes preset keyword;Or judge be in the file name information of note file It is no to include preset keyword;Or whether judge in the content information of note file comprising charg`e d'affaires's item mark;Or judge Whether charg`e d'affaires's item mark is included in the file name information of note file.It is understood that the preset keyword can be with It is that system is pre-set or terminal user pre-sets.For example, when preset keyword is including remembering to keep accounts, going back Money, cost, if content information/file name information of the note file got is:This month, spends 1000 yuan of purchase furniture, then Preset keyword is included in content information/file name information of note file:Spend, and then judge the text of the note file Part information meets preparatory condition.It is understood that if content information/file name information of the note file got is: At 3 points in afternoon November 2, leader had a meeting, and the terminal detects that current time is 12 points of November 1 day, then the note file is interior Hold comprising charg`e d'affaires's item mark in information/file name information, and then judge that the fileinfo satisfaction of the note file is default Condition.
It is understood that the text can be note file, mail document, Cal. Files, short message file etc..
104:Instruction is not deleted according to described first to delete the text.
In present embodiment, if the fileinfo of text meets preparatory condition, it will meet described in preparatory condition Text addition mark or collection, the text after addition mark or collection is preserved to default file and pressed from both sides;Or it will add Text after mark-on is known or collected is stored in former catalogue file folder.It is understood that the terminal is deleted according to first Instruction can be deleted the text for being unsatisfactory for preparatory condition.
In present embodiment, pressed from both sides the text for meeting preparatory condition is preserved to default file folder or former catalogue file Afterwards, prompt message can be exported, by the currently displayed display interface of text for meeting preparatory condition.It is appreciated that It is that the file name list of the text can be shown in current display interface, or, show in current display interface Show the thumbnail of the text.It is understood that the prompt message can be text prompt, can also be audio or The prompting modes such as video.The prompting mode can be that system is pre-set or terminal user pre-sets.Institute The text for meeting preparatory condition that prompt message is used to prompt the user whether to need to show in current display interface is stated to enter Row is deleted.Refer to if receiving user in current display interface and being deleted for the second of the text for meeting preparatory condition When making, then delete and instruct according to second, delete the text for meeting preparatory condition of user's selection.
Text delet method provided in an embodiment of the present invention, receive the first deletion deleted text and refer to Order, obtain the fileinfo of the text;Judge whether the fileinfo of the text meets preparatory condition;If institute The fileinfo for stating text meets preparatory condition, then does not delete instruction according to described first and the text is deleted Remove.Using the embodiment of the present invention, whether the fileinfo that can be directed to the text obtained meets preparatory condition, the deletion of response Or do not delete the text.Text batch deletion action thus is optimized, improves Consumer's Experience.
Fig. 2 is the flow chart of the text delet method of second embodiment of the invention.The text deletion side Method is applied to terminal.Described second embodiment and the main distinction of first embodiment are, are gone back in second embodiment Medium step is pressed from both sides including temporarily preserving the text for meeting preparatory condition to default file by presetting method.Need what is illustrated It is, in the range of the spirit or essential attributes of the embodiment of the present invention, each concrete scheme suitable for first embodiment Can just it be repeated no more herein accordingly suitable for second embodiment, for the sake of saving space and avoiding repetition.
Comprise the following steps as shown in Fig. 2 the text is deleted:
201:Receive first deleted text and delete instruction.
202:Obtain the fileinfo of the text.
203:Judge whether the fileinfo of the text meets preparatory condition, if it is, into step 204, Otherwise, flow is terminated.
204:Text addition mark or the collection of preparatory condition will be met, by the text after addition mark or collection This document is preserved to default file and pressed from both sides.
In present embodiment, the default file folder can be newly-built file, and the default file folder can be Unite pre-setting or that terminal user pre-sets.The title of default file folder can be:Default file Folder, or the alternative document folder title that terminal user is set.
The text delet method that present embodiment provides, in addition to the technique effect with first embodiment, It also list and temporarily preserve the text for meeting preparatory condition to the situation in default file folder by presetting method, judge institute Whether the fileinfo for stating text meets preparatory condition, by the text addition mark for meeting preparatory condition or receives Hide, the text added after identifying or collecting is preserved to default file and pressed from both sides.Using the embodiment of the present invention, text text can be optimized Part batch deletion action, the possibility that user deletes text by mistake is reduced, improves Consumer's Experience.
Fig. 3 is the flow chart of the text delet method of third embodiment of the invention.The text deletion side Method is applied to terminal.The 3rd described embodiment and the main distinction of first embodiment are, are gone back in the 3rd embodiment Medium step is pressed from both sides including temporarily preserving the text for meeting preparatory condition to former catalogue file by presetting method.Need to illustrate , in the range of the spirit or essential attributes of the embodiment of the present invention, each concrete scheme suitable for first embodiment For the sake of saving space and avoiding repetition, can also just it be repeated no more herein accordingly suitable for the 3rd embodiment.
Comprise the following steps as shown in figure 3, the text is deleted:
301:Receive first deleted text and delete instruction.
302:Obtain the fileinfo of the text.
303:Judge whether the fileinfo of the text meets preparatory condition, if it is, into step 304, Otherwise, flow is terminated.
304:Text addition mark or the collection of preparatory condition will be met, by the text after addition mark or collection This document is preserved to former catalogue file and pressed from both sides.
The text delet method that present embodiment provides, in addition to the technique effect with first embodiment, It also list and temporarily preserve the text for meeting preparatory condition to the situation in former catalogue file folder by presetting method, judge Whether the fileinfo of the text meets preparatory condition, by meet preparatory condition the text addition mark or Collection, the text added after identifying or collecting is preserved to former catalogue file and pressed from both sides.Using the embodiment of the present invention, text can be optimized This document batch deletion action, the possibility that user deletes text by mistake is reduced, improves Consumer's Experience.
Fig. 4 is the flow chart of the text delet method of four embodiment of the invention.The text deletion side Method is applied to terminal.The 4th described embodiment and the main distinction of first embodiment are, are gone back in the 4th embodiment Including judging whether user needs to delete the steps such as the text for meeting preparatory condition.It should be noted that of the invention real In the range of the spirit or essential attributes for applying example, each concrete scheme suitable for first embodiment can also be applicable accordingly In the 4th embodiment, for the sake of saving space and avoiding repetition, just repeat no more herein.
Comprise the following steps as shown in figure 4, the text is deleted:
401:Receive first deleted text and delete instruction.
402:Obtain the fileinfo of the text.
403:Judge whether the fileinfo of the text meets preparatory condition, if it is, into step 404, Otherwise, flow is terminated.
404:The text for meeting preparatory condition is temporarily preserved to file by predetermined manner.
405:By on the currently displayed display interface of text for meeting preparatory condition, judge in current display interface User whether is received for the text for meeting preparatory condition second deletes instruction, if it is, into step 406, otherwise, terminate flow.
406:Delete the text for meeting preparatory condition of user's selection.
The text delet method that present embodiment provides, in addition to the technique effect with first embodiment, It also list and judge whether user needs to delete the situation for the text for meeting preparatory condition.It will meet in advance by predetermined manner If the text of condition is temporarily preserved to file, prompt message is exported, the text for meeting preparatory condition is shown Show in current display interface;If user is received in current display interface is directed to the text for meeting preparatory condition Second delete instruction, then according to described second delete instruct, delete user selection the text for meeting preparatory condition.Profit With the embodiment of the present invention, deletion of the user for meeting the text of preparatory condition can be directed to and instructed, the deletion text of response File, the possibility that user deletes text by mistake is reduced, improves Consumer's Experience.
Above is the detailed description that the method provided the embodiment of the present invention is carried out.According to different demands, shown stream The execution sequence of square can change in journey figure, and some squares can omit.The terminal provided below the embodiment of the present invention It is described.
The embodiment of the present invention also provides a kind of terminal installation, including memory, processor and storage are on a memory and can The computer program run on a processor, realize described in any of the above-described embodiment during the computing device described program Text delet method the step of.
Fig. 5 is the structural representation of the terminal of an embodiment of the present invention, as shown in figure 5, terminal 1 includes memory 10, Text is stored with memory 10 and deletes device 100.Described terminal 1 can be that mobile phone, tablet personal computer, individual digital help Reason etc. has the terminal using display function.The text deletion device 100, which can receive, to be deleted text First delete instruction, obtain the fileinfo of the text;Judge whether the fileinfo of the text meets Preparatory condition;If the fileinfo of the text meets preparatory condition, instruction is not deleted to described according to described first Text is deleted.Using the embodiment of the present invention, whether the fileinfo that can be directed to the text obtained meets to preset Condition, the deletion of response or does not delete the text.Text batch deletion action thus is optimized, improves user Experience.
Described text, which deletes device 100, can also judge whether the fileinfo of the text meets to preset Condition, text addition mark or the collection of preparatory condition will be met, by the text after addition mark or collection Preserve to default file and press from both sides.Using the embodiment of the present invention, text batch deletion action can be optimized, user is reduced and delete text by mistake The possibility of file, improves Consumer's Experience.
Described text, which deletes device 100, can also judge whether the fileinfo of the text meets to preset Condition, text addition mark or the collection of preparatory condition will be met, by the text after addition mark or collection Preserve to former catalogue file and press from both sides.Using the embodiment of the present invention, text batch deletion action can be optimized, user is reduced and delete text by mistake The possibility of this document, improves Consumer's Experience.
Described text deletes device 100 can also be temporary by the text for meeting preparatory condition by predetermined manner Shi Baocun exports prompt message, by the currently displayed display interface of text for meeting preparatory condition to after file; Instructed if receiving user in current display interface and being deleted for the second of the text for meeting preparatory condition, root Delete and instruct according to described second, delete the text for meeting preparatory condition of user's selection., can pin using the embodiment of the present invention Deletion of the user for meeting the text of preparatory condition is instructed, the deletion text of response, user is reduced and deletes text by mistake The possibility of this document, improves Consumer's Experience.
In present embodiment, terminal 1 is a mobile phone.Terminal 1 can also include display screen 20 and processor 30.Memory 10th, display screen 20 can electrically connect with processor 30 respectively.
Described memory 10 can be different type storage device, for storing Various types of data.For example, it may be terminal 1 memory, internal memory, can also be the storage card that can be external in the terminal 1, as flash memory, SM cards (Smart Media Card, Smart media card), SD card (Secure Digital Card, safe digital card) etc..In addition, memory can include at a high speed with Machine accesses memory, can also include nonvolatile memory, such as hard disk, internal memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least One disk memory, flush memory device or other volatile solid-state parts.Storage device is used to store Various types of data, For example, the types of applications program (Applications) installed in the terminal 1, setting using above-mentioned text delet method The information such as the data put, obtained.
Display screen 20 is installed on terminal 1, for display information.
Processor 30 is used for all kinds of softwares for performing installation in the text delet method and the terminal 1, example Such as operating system and application show software.Processor 30 is including but not limited to processor (Central Processing Unit, CPU), based on micro-control unit (Micro Controller Unit, MCU) etc. instructed and handled by interpretive machine The device of data in calculation machine software.
Described text, which deletes device 100, can include one or more modules, one or more of modules It is stored in the memory 10 of terminal 1 and is configured to that (present embodiment is a processor by one or more processors 30) perform, to complete the embodiment of the present invention.For example, as shown in fig.6, the terminal 1 can include receiving module 11, obtain Module 12, judge module 13, control module 14, preserving module 15, removing module 16.Module alleged by the embodiment of the present invention can be with It is the program segment for completing a specific function, than implementation procedure of the program more suitable for description software within a processor.
It is understood that each embodiment in corresponding above-mentioned text delet method, terminal 1 can include Fig. 6 Shown in each functional module in part or all, the function of each module will introduced in detail below.It should be noted that Identical noun related terms and its specific illustrate can also in each embodiment of above text delet method Suitable for below to the function introduction of each module.For the sake of saving space and avoiding repetition, just repeat no more herein.
Receiving module 11 can be used for receiving the first deletion instruction for deleting text;
Acquisition module 12 can be used for the fileinfo for obtaining the text;
Whether the fileinfo that judge module 13 can be used for judging the text meets preparatory condition;
Control module 14 can be used for when the fileinfo of text meets preparatory condition, not deleted according to described first Instruction is deleted the text.
Preserving module 15 can be used for that text addition mark or the collection of preparatory condition will be met, addition is identified Or the text after collection is preserved to default file and pressed from both sides.
Preserving module 15 is additionally operable to that text addition mark or the collection of preparatory condition will be met, addition is identified Or the text after collection is preserved to former catalogue file and pressed from both sides.
Removing module 16, which can be used for deleting according to the second of user, to be instructed, and deletes the text for meeting preparatory condition of user's selection This document.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the meter Calculation machine program realizes the step of text delet method in any of the above-described embodiment when being executed by processor.
If the text deletes the integrated module/unit of device/terminal/computer equipment with SFU software functional unit Form realize and be used as independent production marketing or in use, can be stored in a computer read/write memory medium. Based on such understanding, the present invention realizes all or part of flow in above-mentioned embodiment method, can also pass through computer Program instructs the hardware of correlation to complete, and described computer program can be stored in a computer-readable recording medium, should Computer program when being executed by processor, can be achieved above-mentioned each embodiment of the method the step of.Wherein, the computer program Including computer program code, the computer program code can be source code form, object identification code form, executable file Or some intermediate forms etc..The computer-readable recording medium can include:The computer program code can be carried Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunications letter Number and software distribution medium etc..
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor It is the control centre that the text deletes device/terminal Deng, the processor, it is whole using various interfaces and connection Text deletes the various pieces of device/terminal.
The memory is used to store the computer program and/or module, and the processor is deposited by running or performing Computer program and/or module in the memory are stored up, and calls the data being stored in memory, realizes the text This document deletes the various functions of device/terminal.The memory can mainly include storing program area and storage data field, its In, storing program area can storage program area, application program (such as sound-playing function, image needed at least one function Playing function etc.) etc.;Storage data field can store uses created data (such as voice data, phone directory according to mobile phone Deng) etc..In addition, memory can include high-speed random access memory, nonvolatile memory can also be included, such as firmly Disk, internal memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-states Part.
Text delet method and device provided in an embodiment of the present invention, terminal installation and computer-readable storage medium Matter, receive first deleted text and delete instruction, obtain the fileinfo of the text;Judge the text Whether the fileinfo of this document meets preparatory condition;If the fileinfo of the text meets preparatory condition, not root Instruction is deleted according to described first to delete the text.Using the embodiment of the present invention, the text text obtained can be directed to Whether the fileinfo of part meets preparatory condition, the deletion of response or does not delete the text.Thus optimize text text Part batch deletion action, improves Consumer's Experience.
Further, text delet method and device provided in an embodiment of the present invention, terminal installation and computer can Storage medium is read, after by predetermined manner, the text for meeting preparatory condition is temporarily preserved to file, output prompting Information, by the currently displayed display interface of text for meeting preparatory condition;If use is received in current display interface Instruction is deleted in family for the second of the text for meeting preparatory condition, then deletes and instruct according to described second, delete and use The text for meeting preparatory condition of family selection.Using the embodiment of the present invention, user can be directed to for meeting preparatory condition The deletion instruction of text, the deletion text of response, reduces the possibility that user deletes text by mistake, improves user's body Test.
In several embodiments provided by the present invention, it should be understood that disclosed terminal and method, can be with Realize by another way.For example, system embodiment described above is only schematical, for example, the module Division, only a kind of division of logic function, can there is other dividing mode when actually realizing.
It is obvious to a person skilled in the art that the embodiment of the present invention is not limited to the details of above-mentioned one exemplary embodiment, And in the case of the spirit or essential attributes without departing substantially from the embodiment of the present invention, this hair can be realized in other specific forms Bright embodiment.Therefore, no matter from the point of view of which point, embodiment all should be regarded as exemplary, and is nonrestrictive, sheet The scope of inventive embodiments is limited by appended claims rather than described above, it is intended that will fall being equal in claim All changes in the implication and scope of important document are included in the embodiment of the present invention.Should not be by any accompanying drawing mark in claim Note is considered as the involved claim of limitation.Multiple units, module or the device stated in system, device or terminal claim It can also be realized by same unit, module or device by software or hardware.
Embodiment of above is only unrestricted to illustrate the technical scheme of the embodiment of the present invention, although with reference to more than preferably The embodiment of the present invention is described in detail embodiment, it will be understood by those within the art that, can be to this hair The technical scheme of bright embodiment is modified or equivalent substitution should not all depart from the embodiment of the present invention technical scheme spirit and Scope.

Claims (10)

1. a kind of text delet method, it is characterised in that the text delet method includes:
Receive first deleted text and delete instruction;
Obtain the fileinfo of the text;
Judge whether the fileinfo of the text meets preparatory condition;
If the fileinfo of the text meets preparatory condition, instruction is not deleted to text text according to described first Part is deleted.
2. text delet method according to claim 1, it is characterised in that methods described also includes:
If the fileinfo of the text meets preparatory condition, the text of preparatory condition will be met by presetting method Temporarily preserve into file;Or
If the fileinfo of the text is unsatisfactory for preparatory condition, will be unsatisfactory for presetting according to the described first deletion instruction The text of condition is deleted.
3. text delet method according to claim 1, it is characterised in that the text for judging the text Whether part information meets that preparatory condition includes:
Judge whether include preset keyword in the fileinfo of the text;Or
Judge the fileinfo of the text whether comprising charg`e d'affaires's item mark.
4. text delet method according to claim 2, it is characterised in that described to meet to preset by presetting method The text of condition, which is temporarily preserved to file, to be included:
Text addition mark or the collection of preparatory condition will be met, the text after addition mark or collection will be protected Deposit to default file and press from both sides;Or
Text addition mark or the collection of preparatory condition will be met, the text after addition mark or collection will be protected Pressed from both sides in the presence of former catalogue file;Or
Text addition mark or the collection of preparatory condition will be met, the text after addition mark or collection will be protected Deposit to default file and press from both sides, and perform the step of deletion is unsatisfactory for the text of preparatory condition;Or
Text addition mark or the collection of preparatory condition will be met, the text after addition mark or collection will be protected Deposit and be stored in former catalogue file folder, and perform the step of deletion is unsatisfactory for the text of preparatory condition.
5. text delet method according to claim 4, it is characterised in that will meet default bar by presetting method After the text of part is temporarily preserved into file, methods described includes:
Prompting message is exported, and by the currently displayed display interface of text for meeting preparatory condition;
Instructed if receiving user in current display interface and being deleted for the second of the text for meeting preparatory condition, Then delete and instruct according to described second, delete the text for meeting preparatory condition of user's selection.
6. a kind of text deletes device, it is characterised in that the text, which deletes device, to be included:
Receiving module, instruction is deleted for receiving text is deleted first;
Acquisition module, for obtaining the fileinfo of the text;
Judge module, for judging whether the fileinfo of the text meets preparatory condition;
Control module, for when the fileinfo of text meets preparatory condition, not deleting instruction pair according to described first The text is deleted.
7. text according to claim 6 deletes device, it is characterised in that the judge module is described for judging Whether the fileinfo of text meets that preparatory condition includes:
Judge whether the fileinfo of the text includes preset keyword;Or
Judge the fileinfo of the text whether comprising charg`e d'affaires's item mark.
8. the text according to claim 6 or 7 deletes device, it is characterised in that the judge module is used to judge Whether the fileinfo of the text meets that preparatory condition also includes:
It is by presetting method that the text for meeting preparatory condition is temporary transient if the fileinfo of text meets preparatory condition Preserve into file;Or
If the fileinfo of text is unsatisfactory for preparatory condition, preparatory condition will be unsatisfactory for according to the described first deletion instruction Text deleted.
9. a kind of terminal installation, it is characterised in that the terminal installation includes processor, and the processor is used to perform memory The step of text delet method as described in claim 1-5 any one is realized during the computer program of middle storage.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of text delet method as described in claim 1-5 any one is realized when being executed by processor.
CN201711049197.8A 2017-10-31 2017-10-31 Text delet method and device, terminal installation and readable storage medium storing program for executing Withdrawn CN107766549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711049197.8A CN107766549A (en) 2017-10-31 2017-10-31 Text delet method and device, terminal installation and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711049197.8A CN107766549A (en) 2017-10-31 2017-10-31 Text delet method and device, terminal installation and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN107766549A true CN107766549A (en) 2018-03-06

Family

ID=61271078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711049197.8A Withdrawn CN107766549A (en) 2017-10-31 2017-10-31 Text delet method and device, terminal installation and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN107766549A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563754A (en) * 2018-04-16 2018-09-21 Oppo广东移动通信有限公司 Document handling method, device, mobile terminal and computer readable storage medium
CN110399343A (en) * 2019-07-05 2019-11-01 苏州浪潮智能科技有限公司 A kind of file delet method, system, device and computer readable storage medium
CN113037609A (en) * 2021-02-25 2021-06-25 维沃移动通信有限公司 Chat message deleting method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719921A (en) * 2004-07-06 2006-01-11 乐金电子(中国)研究开发中心有限公司 Data deleting preventing method for mobile communication terminal
CN101212736A (en) * 2006-12-30 2008-07-02 英华达(上海)电子有限公司 Method and device for clearing mobile telephone data entries
CN102609495A (en) * 2012-01-29 2012-07-25 奇智软件(北京)有限公司 Method for deleting file and system
CN102917098A (en) * 2012-10-17 2013-02-06 广东欧珀移动通信有限公司 Method and device for preventing important linkman from being wrongly deleted
CN103955421A (en) * 2014-05-06 2014-07-30 珠海市君天电子科技有限公司 Method and system for file deletion
CN104143069A (en) * 2014-08-04 2014-11-12 上海斐讯数据通信技术有限公司 Method and system for protecting system file
CN104394271A (en) * 2014-11-21 2015-03-04 无锡科思电子科技有限公司 Method for generating digital voice file of special contact person based on keywords
CN105095004A (en) * 2015-06-29 2015-11-25 联想(北京)有限公司 Message processing method and electronic device
CN105955847A (en) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 False deletion preventing method and system for electronic device file
CN106991179A (en) * 2017-04-07 2017-07-28 广东欧珀移动通信有限公司 Data-erasure method, device and mobile terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719921A (en) * 2004-07-06 2006-01-11 乐金电子(中国)研究开发中心有限公司 Data deleting preventing method for mobile communication terminal
CN101212736A (en) * 2006-12-30 2008-07-02 英华达(上海)电子有限公司 Method and device for clearing mobile telephone data entries
CN102609495A (en) * 2012-01-29 2012-07-25 奇智软件(北京)有限公司 Method for deleting file and system
CN102917098A (en) * 2012-10-17 2013-02-06 广东欧珀移动通信有限公司 Method and device for preventing important linkman from being wrongly deleted
CN103955421A (en) * 2014-05-06 2014-07-30 珠海市君天电子科技有限公司 Method and system for file deletion
CN104143069A (en) * 2014-08-04 2014-11-12 上海斐讯数据通信技术有限公司 Method and system for protecting system file
CN104394271A (en) * 2014-11-21 2015-03-04 无锡科思电子科技有限公司 Method for generating digital voice file of special contact person based on keywords
CN105095004A (en) * 2015-06-29 2015-11-25 联想(北京)有限公司 Message processing method and electronic device
CN105955847A (en) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 False deletion preventing method and system for electronic device file
CN106991179A (en) * 2017-04-07 2017-07-28 广东欧珀移动通信有限公司 Data-erasure method, device and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563754A (en) * 2018-04-16 2018-09-21 Oppo广东移动通信有限公司 Document handling method, device, mobile terminal and computer readable storage medium
CN110399343A (en) * 2019-07-05 2019-11-01 苏州浪潮智能科技有限公司 A kind of file delet method, system, device and computer readable storage medium
CN113037609A (en) * 2021-02-25 2021-06-25 维沃移动通信有限公司 Chat message deleting method and device

Similar Documents

Publication Publication Date Title
US9122377B2 (en) Method and system for interworking plurality of applications
CN102707870B (en) Method for providing background of locked screen and electronic device
CN103430140B (en) Method and apparatus of managing items on clipboard of portable terminal
CN106991179B (en) Data deleting method and device and mobile terminal
CN102857629A (en) Calling-out method of mobile phone desktop search box
CN107357483A (en) Data sharing method and device, computer equipment and computer-readable recording medium
CN104571877A (en) Display processing method and device for pages
US9451423B2 (en) Method and apparatus for recording information during a call
CN107180352A (en) A kind of method of payment and device, computer installation and computer-readable recording medium
CN107193598A (en) One kind application startup method, mobile terminal and computer-readable recording medium
CN107766549A (en) Text delet method and device, terminal installation and readable storage medium storing program for executing
CN104484486A (en) Information recommending method and electronic device
CN104537049B (en) A kind of picture browsing method and device
EP2786238A1 (en) Method and device for processing tabbed-page
CN103123651A (en) Method of rapidly searching multiple same-kind paper, device and mobile equipment
CN110286991A (en) A kind of information processing method and device
CN106648349A (en) Information displaying method and device
CN105843940A (en) Folder combination method and device
CN107765980A (en) Input method and device, terminal device and computer-readable recording medium
CN107066864A (en) A kind of application icon display methods and its equipment
WO2023020328A1 (en) Object manipulating method and apparatus, and electronic device
CN106021129A (en) Terminal and terminal cache clearing method
CN107807985A (en) Multimedia control method and device, terminal installation and computer-readable recording medium
CN107895271A (en) Method of payment and device, computer installation and computer-readable recording medium
WO2016173136A1 (en) Terminal application processing method and device thereof

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180306