CN104679851B - A kind of data-erasure method and terminal - Google Patents

A kind of data-erasure method and terminal Download PDF

Info

Publication number
CN104679851B
CN104679851B CN201510080586.1A CN201510080586A CN104679851B CN 104679851 B CN104679851 B CN 104679851B CN 201510080586 A CN201510080586 A CN 201510080586A CN 104679851 B CN104679851 B CN 104679851B
Authority
CN
China
Prior art keywords
data
deletion
mark
condition
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510080586.1A
Other languages
Chinese (zh)
Other versions
CN104679851A (en
Inventor
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510080586.1A priority Critical patent/CN104679851B/en
Publication of CN104679851A publication Critical patent/CN104679851A/en
Application granted granted Critical
Publication of CN104679851B publication Critical patent/CN104679851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of data-erasure method and terminals, wherein, this method comprises: receiving the deletion instruction for the data information for including for application program management software, wherein, the deletion instruction carries deletion condition, and the data information includes at least two item datas of at least one data type;The deletion instruction is responded, the target data that the deletion condition is met in the data for all data types that the data information includes is subjected to batch deletion.Implement the embodiment of the present invention, can be realized according to the condition of deletion and the batch of data is deleted, to improve data deletion efficiency, be effectively improved user experience.

Description

A kind of data-erasure method and terminal
Technical field
The present invention relates to technical field of information processing more particularly to a kind of data-erasure method and terminals.
Background technique
With the continuous development of terminal technology, the function of terminal is more and more diversified, runs application program at the terminal Also more and more.When the data stored in application program are more and more, the operating rate that often will cause terminal slows down, even It is unable to satisfy the use demand of user, it is therefore desirable to which often terminal disposes some useless data.It deletes at present and applies journey The general process of the method for data is in sequence: entering an application program, a specific data is chosen to be deleted or clicked " full choosing " option is to choose all data in the application program to be deleted.Data are deleted using the above method, when user thinks When deleting multinomial data, then need manually to go again and again that the data to be deleted is chosen to be deleted, so that deletion efficiency is low.
Summary of the invention
The embodiment of the invention provides a kind of data-erasure method and terminal, the batch that can be realized data is deleted, is improved Data deletion efficiency.
The embodiment of the invention discloses a kind of data-erasure methods, comprising:
Receive the deletion instruction for the data information for including for application program management software, wherein the deletion instruction is taken With the condition of deletion, the data information includes at least two item datas of at least one data type;
The deletion instruction is responded, the deletion will be met in the data for all data types that the data information includes The target data of condition carries out batch deletion.
Correspondingly, the embodiment of the invention also discloses a kind of terminals, comprising:
Receiving unit, for receiving the deletion instruction for being directed to the data information that application program management software includes, wherein institute It states deletion instruction and carries deletion condition, the data information includes at least two item datas of at least one data type;
Unit is deleted, for responding the deletion instruction, the data for all data types for including by the data information In meet the deletion condition target data carry out batch deletion.
In the embodiment of the present invention, when the deletion instruction for receiving the data information for including for application program management software When, deletion instruction is responded, deleting for deletion instruction carrying will be met in the data for all data types that data information includes Except the target data of condition carries out batch deletion.Implement the embodiment of the present invention, goes again and again to choose and to delete manually without user Data deleted, only need to input corresponding deletion condition, all data for meeting the deletion condition can both be criticized Amount is deleted, to improve the deletion efficiency of data, is effectively improved user experience.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of data-erasure method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another data-erasure method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structural schematic diagram of terminal disclosed by the embodiments of the present invention;
Fig. 4 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention.
Specific embodiment
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 description, 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, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of data-erasure method and terminal, the batch that can be realized data is deleted, is improved Data deletion efficiency, is effectively improved user experience.It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of data-erasure method disclosed by the embodiments of the present invention.Such as Fig. 1 institute Show, which may comprise steps of:
S101, the deletion instruction for receiving the data information for including for application program management software, wherein deletion instruction Deletion condition is carried, data information includes at least two item datas of at least one data type.
In the embodiment of the present invention, reception can be for mobile phone, PC, tablet computer, personal digital assistant (Personal Digital Assistant, PAD), the data information that includes of the application program management software in the terminals such as multimedia player Delete instruction.Wherein, application program management software can be the included management software of terminal system, be also possible to install in terminal Third party's management software.It is can wrap in application program management software containing the number in terminal at least one application APP It is believed that breath, the data information can be the initial data in application program, the Backup Data etc. being also possible in application program.
In the embodiment of the present invention, deletion instruction be can be by user's triggering;It is also possible to carry in terminal default Condition, when meeting the preset condition, terminal is voluntarily triggered.Deletion condition is also carried in deletion instruction, so that using journey All data for meeting the deletion condition in sequence management software carry out batch deletion, and all data for meeting the deletion condition are Target data.The deletion condition that deletion instruction carries can be the deletion condition of user's input, is also possible to terminal system and sets The default set deletes condition, and user can voluntarily select according to demand.
In the embodiment of the present invention, deletion condition can be data time mark (when such as data creation time, data backup Between, data last access time etc.);Deletion condition is also possible to data type mark (such as picture type, audio types, video Type, Doctype etc.);Deletion condition can also be data usage frequency identify, i.e., in the unit time data in the terminal by The number used;Deletion condition can also be that some other marks, such as data name identification, the embodiment of the present invention do not limit It is fixed.
In the embodiment of the present invention, the data information in application program management software include at least one data type at least Two item datas, i.e. data information in application program management software are classified as at least one data type, and no less than two item numbers According to.Here data type can be the types such as picture, audio, video, document.
S102, deletion instruction is responded, deletion condition will be met in the data for all data types that data information includes Target data carry out batch deletion.
In the embodiment of the present invention, the data information for including for application program management software is received executing step S101 Deletion instruction after, respond the deletion instruction, and can to the deletion instruct parse, with obtain the deletion instruction in take The data of the deletion condition of band, all data types that can include to data information according to the deletion condition got are selected Selecting property batch is deleted.
In the embodiment of the present invention, when the condition of deletion is that data creation time identifier can then when parsing the deletion condition The creation time of each item data in data to obtain all data types that data information includes, and by creation time with delete Except several target datas that the data creation time identifier of condition matches carry out batch deletion;When the condition of deletion is data class Type mark, then when parsing the deletion condition, in the data for all data types that can include by data information with deletion The data type of condition identifies all target datas that identical data type includes and carries out batch deletion;When the condition of deletion is number It is identified according to frequency of use, then when parsing the deletion condition, the number for all data types that available data information includes The frequency of use of each item data in, and by frequency of use be less than deletion condition in data usage frequency mark several Target data carries out batch deletion.In the embodiment of the present invention, delete condition can only include one, also may include it is multiple, when Comprising it is multiple when, can will simultaneously meet all deletion conditions target data carry out batch deletion.
In the method depicted in fig. 1, when the deletion for receiving the data information for including for application program management software When instruction, deletion instruction is responded, deletion instruction will be met in the data for all data types that data information includes and is carried Deletion condition target data carry out batch deletion.By implementing method described in Fig. 1, gone again and again manually without user It chooses the data to be deleted to be deleted, only need to input corresponding deletion condition, can will both meet all of the deletion condition Data carry out batch deletion and are effectively improved user experience to improve the deletion efficiency of data.
Referring to Fig. 2, Fig. 2 is the flow diagram of another data-erasure method disclosed by the embodiments of the present invention.Such as Fig. 2 Shown, which may comprise steps of:
S201, the data information that application program management software includes is classified, to obtain at least one data type Including at least two item datas.
In the embodiment of the present invention, which can be the included software of terminal system, be also possible to end Hold the third party software of installation.It may include the data information at least one application program in the application program management software. Data information may include initial data, also may include Backup Data.
In the embodiment of the present invention, the data information that application program management software includes, which is carried out classification, be can be according to data The file format of information is classified, for example, data information can be divided into the data types such as picture, audio, video, document; The data information that application program management software includes is classified can also classify according to the title of data information, example Such as, the identical data of the initial character of the title of data information can be saved as to a data type;Application program management is soft The data information that part includes, which carries out classification, to classify according to the original path of data information, for example, will belong to same Data information in a application program is divided into the same data type.Further, it is also possible in other ways logarithm it is believed that Breath is classified, and the embodiment of the present invention is not construed as limiting.
S202, the deletion instruction for receiving the data information for including for application program management software, wherein deletion instruction Carry deletion condition.
In the embodiment of the present invention, the data information that application program management software includes is classified executing step S201 Later, making the data information includes at least two item datas of at least one data type, be can receive for application program management The deletion for the classified data information that software includes instructs.
In the embodiment of the present invention, the data information for including for application program management software is received executing step S202 Before deleting instruction, data-erasure method described in Fig. 2 can also include:
The open command of user's triggering is received, the open command is for opening application program management software;
The open command is responded, opens above-mentioned application program management software, and export the boundary of the application program management software Face.
In the embodiment of the present invention, the deletion instruction for the data information that application program management software includes can be user Triggering, it is also possible to terminal automatic trigger.The deletion condition that deletion instruction carries can be what user was manually entered, It is pre-set to can be terminal.
In the embodiment of the present invention, the deletion condition that deletion instruction carries may include data time mark, data type At least one of mark and data usage frequency mark.It is understood that it includes above-mentioned three kinds marks that the condition of deletion, which is removed, Outside, can also be including other identifier etc., the embodiment of the present invention is not construed as limiting.
S203, deletion instruction is responded, deletion condition will be met in the data for all data types that data information includes Target data carry out batch deletion.
In the embodiment of the present invention, when the deletion condition that deletion instruction carries includes data time mark, step S203 The target data for meeting deletion condition in the data for all data types that data information includes is subjected to batch deletion, can wrap It includes:
Obtain the creation time of each item data in the data for all data types that data information includes;
It is corresponding with the creation time that data time mark matches in the creation time for each item data that will acquire Target data carries out batch deletion.
Wherein, the data time that deletion condition includes is identified as data creation time identifier.
For example, it is carried when the deletion instruction of the data information for including for application program management software received When deletion condition includes data time mark, wherein what data time mark referred to is data creation time identifier, for example 2015.1.1.Then each single item in the data for all data types that the data information in application program management software includes is obtained The creation time of data matches in the creation time for each item data that will acquire (i.e. and the date with data time mark 2015.1.1 identical) the corresponding target data of creation time carry out batch deletion, i.e., will be created in this day date 2015.1.1 All target datas carry out batch deletion.
Optionally, the data time mark that deletion condition includes can also be data backup time identifier, and step S203 will The target data for meeting deletion condition in the data for all data types that data information includes carries out batch deletion, can wrap It includes:
Obtain the BACKUP TIME of each item data in the data for all data types that data information includes;
It is corresponding with the BACKUP TIME that data time mark matches in the BACKUP TIME for each item data that will acquire Target data carries out batch deletion.
Optionally, the data time mark that deletion condition includes can also identify for data access time, and step S203 will The target data for meeting deletion condition in the data for all data types that data information includes carries out batch deletion, can wrap It includes:
Obtain the access time of each item data in the data for all data types that data information includes;
It is corresponding with the access time that data time mark matches in the access time for each item data that will acquire Target data carries out batch deletion.
In addition, it can be data creation time identifier, data backup time that the data time mark that the condition of deletion includes, which is removed, Mark and data access time mark are outer, can also identify for the other times of data, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, when the deletion condition that deletion instruction carries includes data type mark, step S203 The target data for meeting deletion condition in the data for all data types that data information includes is subjected to batch deletion, can wrap It includes:
Identical data type packet is identified with the data type in the data for all data types for including by data information All target datas included carry out batch deletion.
For example, it is carried when the deletion instruction of the data information for including for application program management software received When deletion condition includes data type mark, if the data type is identified as picture type, then the number that will include in data information Batch deletion is carried out according to all target datas that type is picture type.
In the embodiment of the present invention, when the deletion condition that deletion instruction carries includes data usage frequency mark, step The target data for meeting deletion condition in the data for all data types that data information includes is carried out batch deletion by S203, can To include:
The frequency of use of each item data in the data for all data types that statistical information includes;
The frequency of use for being less than data usage frequency mark in the frequency of use of each item data of statistics is corresponding Target data carries out batch deletion.
Wherein, the frequency of use of data is the number that data are used or accessed in the terminal in the unit time, such as one The number etc. being accessed in month.
For example, it is carried when the deletion instruction of the data information for including for application program management software received When deletion condition includes data usage frequency mark, as data usage frequency is identified as 10 times/month.It can be with statistical information packet Access times of each item data within the unit time (in i.e. one month) in the data of all data types included, then will be each The access times of item data are respectively divided by unit time, to calculate the frequency of use of each item data, each single item that will acquire The frequency of use of data is compared with data usage frequency mark, and frequency of use is less than data usage frequency mark All target datas carry out batch deletion, i.e. all target datas by frequency of use less than 10 times/month carry out batch deletion.
It in the method depicted in fig. 2, can be with after the data information for including by application program management software is classified When receiving the deletion instruction for the classified data information for including for application program management software, deletion instruction is responded, it will The target data for meeting the deletion condition that deletion instruction carries in the data for all data types that data information includes carries out Batch is deleted.By implementing method described in Fig. 2, go again and again that the data to be deleted is chosen to delete manually without user It removes, only need to input corresponding deletion condition, both all data for meeting the deletion condition can be subjected to batch deletion, to mention The high deletion efficiency of data, is effectively improved user experience.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of terminal disclosed by the embodiments of the present invention, for executing the present invention Data-erasure method disclosed in embodiment.In the embodiment of the present invention, terminal may include mobile phone, PC, tablet computer, PAD and Multimedia player etc., the embodiment of the present invention is not construed as limiting.As shown in figure 3, the terminal may include:
Receiving unit 301, for receiving the deletion instruction for being directed to the data information that application program management software includes, In, deletion instruction carries deletion condition, and data information includes at least two item datas of at least one data type.
In the embodiment of the present invention, application program management software can be the included management software of terminal system, be also possible to The third party's management software installed in terminal.It is can wrap in application program management software containing at least one application program in terminal Data information in APP, the data information can be the initial data in application program, the backup being also possible in application program Data etc..
In the embodiment of the present invention, the deletion instruction that receiving unit 301 receives be can be by user's triggering;It is also possible to Preset condition is carried in terminal, terminal voluntarily triggers when meeting the preset condition.It also carries and deletes in deletion instruction Except condition, so that all data for meeting the deletion condition in application program management software carry out batch deletion, meet the deletion All data of condition are target data.The deletion condition that deletion instruction carries can be the deletion condition of user's input, The default for being also possible to terminal system setting deletes condition, and user can voluntarily select according to demand.
In the embodiment of the present invention, deletion condition can be data time mark (when such as data creation time, data backup Between, data last access time etc.);Deletion condition is also possible to data type mark (such as picture type, audio types, video Type, Doctype etc.);Deletion condition can also be data usage frequency identify, i.e., in the unit time data in the terminal by The number used;Deletion condition can also be that some other marks, such as data name identification, the embodiment of the present invention do not limit It is fixed.
In the embodiment of the present invention, the data information in application program management software include at least one data type at least Two item datas, i.e. data information in application program management software are classified as at least one data type, and no less than two item numbers According to.Here data type can be the types such as picture, audio, video, document.
Unit 302 is deleted, for responding deletion instruction, will be accorded in the data for all data types that data information includes The target data for closing deletion condition carries out batch deletion.
In the embodiment of the present invention, the data for including for application program management software are received in above-mentioned receiving unit 301 After the deletion instruction of information, deletes unit 302 and respond deletion instruction, and the deletion can be instructed and be parsed, to obtain Take the deletion condition carried in deletion instruction, all data that can include to data information according to the deletion condition got The data of type carry out selectivity batch and delete.
In the embodiment of the present invention, when the condition of deletion is data creation time identifier, then deletes unit 302 and delete parsing this When except condition, the creation time of each item data in the data for all data types that available data information includes, and will Several target datas that creation time and the data creation time identifier for deleting condition match carry out batch deletion;Work as deletion Condition is data type mark, then deletes unit 302 when parsing the deletion condition, and can include by data information be all All target datas that identical data type includes are identified with the data type of the condition of deletion in the data of data type to carry out Batch is deleted;When the condition of deletion is that data usage frequency identifies, then unit 302 is deleted when parsing the deletion condition, it can be with The frequency of use of each item data in the data for all data types that data information includes is obtained, and frequency of use is less than and is deleted Except several target datas of the data usage frequency mark in condition carry out batch deletion.In the embodiment of the present invention, item is deleted Part can only include one, also may include it is multiple, when comprising multiple, delete unit 302 will can meet simultaneously all delete Except the target data of condition carries out batch deletion.
In terminal shown in Fig. 3, receiving unit 301 can receive the data information for including for application program management software Deletion instruction, deletion instruction can be responded by deleting unit 302, in the data for all data types for including by data information The target data for meeting the deletion condition that deletion instruction carries carries out batch deletion.By terminal shown in implementing Fig. 3, it is not necessarily to User goes again and again that the data to be deleted is chosen to delete manually, only need to input corresponding deletion condition, can will both meet All data of the deletion condition carry out batch deletion and are effectively improved user experience to improve the deletion efficiency of data.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention, for executing this hair Data-erasure method disclosed in bright embodiment.As shown in figure 4, the terminal may include:
Taxon 401, the data information for including by application program management software are classified, to obtain at least one At least two item datas that a data type includes.
In the embodiment of the present invention, which can be the included software of terminal system, be also possible to end Hold the third party software of installation.It may include the data information at least one application program in the application program management software. Data information may include initial data, also may include Backup Data.
In the embodiment of the present invention, the data information that application program management software is included by taxon 401 carries out classification can Being classified according to the file format of data information, for example, data information can be divided into picture, audio, video, document Etc. data types;Taxon 401 is classified the data information that application program management software includes can also be according to data The title of information is classified, for example, the identical data of the initial character of the title of data information can be saved as to a data Type;The data information that application program management software is included by taxon 401 carries out classification can also be according to data information Original path is classified, for example, the data information belonged in the same application program is divided into the same data type.This Outside, can also classify in other ways to data information, the embodiment of the present invention is not construed as limiting.
Receiving unit 402, for receiving the deletion instruction for being directed to the data information that application program management software includes, In, the deletion instruction carries deletion condition.
In the embodiment of the present invention, carried out in the data information that application program management software is included by above-mentioned taxon 401 After classification, making the data information includes at least two item datas of at least one data type, and receiving unit 402 can receive needle Deletion instruction to the classified data information for including using program management software.
In the embodiment of the present invention, terminal shown in Fig. 4 can also include:
Open command receiving unit, for receiving the data for including for application program management software in receiving unit 402 Before the deletion instruction of information, the open command of user's triggering is received, the open command is for opening application program management software;
Opening unit opens above-mentioned application program management software, and export the application program for responding the open command The interface of management software.
In the embodiment of the present invention, the data information for including for application program management software that receiving unit 402 receives Deletion instruction can be user triggering, be also possible to terminal automatic trigger.The deletion condition that deletion instruction carries can To be that user is manually entered, it is pre-set to be also possible to terminal.
In the embodiment of the present invention, the deletion condition that deletion instruction carries may include:
At least one of data time mark, data type mark and data usage frequency mark.
It is understood that the condition of deletion is except including that above-mentioned three kinds marks are outer, it can also be of the invention including other identifier etc. Embodiment is not construed as limiting.
Unit 403 is deleted, for responding deletion instruction, will be accorded in the data for all data types that data information includes The target data for closing deletion condition carries out batch deletion.
In the embodiment of the present invention, when the deletion condition that deletion instruction carries includes data time mark, unit is deleted 403 are specifically used for responding deletion instruction, obtain each item data in the data for all data types that data information includes Creation time, it is corresponding with the creation time that data time mark matches in the creation time for each item data that will acquire Target data carries out batch deletion.
Wherein, the data time that deletion condition includes is identified as data creation time identifier.
Optionally, when the data time that deletion condition includes is identified as data backup time identifier, it is specific to delete unit 403 For responding deletion instruction, when obtaining the backup of each item data in the data for all data types that data information includes Between, number of targets corresponding with the BACKUP TIME that data time mark matches in the BACKUP TIME for each item data that will acquire According to progress batch deletion.
Optionally, when the data time that deletion condition includes is identified as data access time mark, it is specific to delete unit 403 For responding deletion instruction, when obtaining the access of each item data in the data for all data types that data information includes Between, number of targets corresponding with the access time that data time mark matches in the access time for each item data that will acquire According to progress batch deletion.
In addition, it can be data creation time identifier, data backup time that the data time mark that the condition of deletion includes, which is removed, Mark and data access time mark are outer, can also identify for the other times of data, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, when the deletion condition that deletion instruction carries includes data type mark, unit is deleted 403 are specifically used for responding deletion instruction, in the data for all data types for including by data information with the data type mark Know all target datas that identical data type includes and carries out batch deletion.
In the embodiment of the present invention, when the deletion condition that deletion instruction carries includes data usage frequency mark, delete Unit 403 is specifically used for responding deletion instruction, each item number in the data for all data types that statistical information includes According to frequency of use, will in the frequency of use of each item data of statistics be less than the data usage frequency mark frequency of use pair The target data answered carries out batch deletion.
Wherein, the frequency of use of data is the number that data are used or accessed in the terminal in the unit time, such as one The number etc. being accessed in month.
Specifically, the terminal introduced in the embodiment of the present invention can be implemented the present invention and the data of Fig. 1 or Fig. 2 introduction combined to delete Except process some or all of in embodiment of the method.
In terminal shown in Fig. 4, first the data information that application program management software includes is divided by taxon 401 Class, to obtain at least two item datas that at least one data type includes, receiving unit 402 be can receive for application program pipe The deletion instruction for the classified data information that reason software includes, deletion instruction can be responded by deleting unit 403, and data are believed The target data for meeting the deletion condition that deletion instruction carries in the data for all data types that breath includes carries out batch and deletes It removes.By implementing terminal shown in Fig. 4, goes again and again that the data to be deleted is chosen to delete manually without user, only need defeated Enter corresponding deletion condition, both all data for meeting the deletion condition can be subjected to batch deletion, to improve data Deletion efficiency, be effectively improved user experience.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the terminal of that embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
A kind of data-erasure method disclosed by the embodiments of the present invention and terminal are described in detail above, answered herein With a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to help to manage Solve method and its core concept of the invention;At the same time, for those skilled in the art, according to the thought of the present invention, There will be changes in specific embodiment and application range, in conclusion the content of the present specification should not be construed as to this hair Bright limitation.

Claims (12)

1. a kind of data-erasure method characterized by comprising
Receive the deletion instruction for the data information for including for application program management software, wherein the deletion instruction carries Deletion condition, the data information include at least two item datas of at least one data type;The application program management software In data information be classified as at least one data type, and no less than two item datas;The application program management software is to answer With the management software of program, the data information is the initial data and/or Backup Data for the application program being managed;It is described to delete Except the deletion condition that condition is user's input, alternatively, the deletion condition selected from the default deletion condition that terminal system is arranged; The deletion condition includes: time identifier, type identification, data usage frequency mark or data name mark;
The deletion instruction is responded, deletion instruction is parsed, to obtain the deletion item carried in the deletion instruction Part;The target data for meeting the deletion condition in the data for all data types that the data information includes is subjected to batch It deletes.
2. the method according to claim 1, wherein described receive the number for including for application program management software It is believed that before the deletion instruction of breath, the method also includes:
The data information that application program management software includes is classified, includes at least to obtain at least one data type Two item datas.
3. method according to claim 1 or 2, which is characterized in that the deletion condition includes:
At least one of data time mark, data type mark and data usage frequency mark.
4. according to the method described in claim 3, it is characterized in that, when the deletion condition includes the data time mark When, the target data that the deletion condition is met in the data of all data types for including by the data information carries out Batch is deleted, comprising:
Obtain the creation time of each item data in the data for all data types that the data information includes;
It is corresponding with the creation time that data time mark matches in the creation time for each item data that will acquire Target data carry out batch deletion.
5. according to the method described in claim 3, it is characterized in that, when the deletion condition includes the data type mark When, the target data that the deletion condition is met in the data of all data types for including by the data information carries out Batch is deleted, comprising:
Identical data type is identified with the data type in the data for all data types for including by the data information Including all target datas carry out batch deletion.
6. according to the method described in claim 3, it is characterized in that, when the deletion condition includes the data usage frequency mark When knowledge, meet in the data of all data types for including by the data information target data of the deletion condition into Row batch is deleted, comprising:
Count the frequency of use of each item data in the data for all data types that the data information includes;
The frequency of use for being less than data usage frequency mark in the frequency of use of each item data of statistics is corresponding Target data carry out batch deletion.
7. a kind of terminal characterized by comprising
Receiving unit, for receiving the deletion instruction for being directed to the data information that application program management software includes, wherein described to delete Except instruction carries deletion condition, the data information includes at least two item datas of at least one data type;The application Data information in program management software is classified as at least one data type, and no less than two item datas;The application program Management software is the management software of application program, and the data information is the initial data of the application program being managed and/or standby Part data;The deletion condition is the deletion condition of user's input, alternatively, selecting from the default deletion condition that terminal system is arranged The deletion condition selected;The deletion condition includes: time identifier, type identification, data usage frequency mark or data name Mark;
Unit is deleted, for responding the deletion instruction, deletion instruction is parsed, to obtain in the deletion instruction The deletion condition of carrying;The target of the deletion condition will be met in the data for all data types that the data information includes Data carry out batch deletion.
8. terminal according to claim 7, which is characterized in that the terminal further include:
Taxon, the deletion for receiving the data information for including for application program management software in the receiving unit refer to Before order, the data information that application program management software includes is classified, includes to obtain at least one data type At least two item datas.
9. terminal according to claim 7 or 8, which is characterized in that the deletion condition includes:
At least one of data time mark, data type mark and data usage frequency mark.
10. terminal according to claim 9, which is characterized in that when the deletion condition includes the data time mark When, the deletion unit is specifically used for responding the deletion instruction, obtains all data types that the data information includes The creation time of each item data in data, in the creation time for each item data that will acquire with the data time mark The corresponding target data of sensible matched creation time carries out batch deletion.
11. terminal according to claim 9, which is characterized in that when the deletion condition includes the data type mark When, the deletion unit is specifically used for responding the deletion instruction, the number for all data types for including by the data information All target datas that identical data type includes, which are identified, with the data type in carries out batch deletion.
12. terminal according to claim 9, which is characterized in that when the deletion condition includes the data usage frequency When mark, the deletion unit is specifically used for responding the deletion instruction, counts all data class that the data information includes The frequency of use of each item data in the data of type will be less than the data in the frequency of use of each item data of statistics The corresponding target data of frequency of use of frequency of use mark carries out batch deletion.
CN201510080586.1A 2015-02-12 2015-02-12 A kind of data-erasure method and terminal Active CN104679851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510080586.1A CN104679851B (en) 2015-02-12 2015-02-12 A kind of data-erasure method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510080586.1A CN104679851B (en) 2015-02-12 2015-02-12 A kind of data-erasure method and terminal

Publications (2)

Publication Number Publication Date
CN104679851A CN104679851A (en) 2015-06-03
CN104679851B true CN104679851B (en) 2019-02-05

Family

ID=53314893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510080586.1A Active CN104679851B (en) 2015-02-12 2015-02-12 A kind of data-erasure method and terminal

Country Status (1)

Country Link
CN (1) CN104679851B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528577B (en) * 2015-09-15 2019-12-24 腾讯科技(深圳)有限公司 Method and device for setting file to be cleaned
CN106557519A (en) * 2015-09-29 2017-04-05 北京国双科技有限公司 File delet method and device
CN106686459B (en) * 2015-11-11 2020-04-28 阿里巴巴集团控股有限公司 Method and device for displaying user use record
CN107870937A (en) * 2016-09-27 2018-04-03 腾讯科技(深圳)有限公司 The method for cleaning and device of mailbox data
CN107870737A (en) * 2016-09-28 2018-04-03 腾讯科技(深圳)有限公司 A kind of data processing method and device
CN107506211A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 Terminal device, application program data storage management method, device, storage medium
CN109558065B (en) * 2017-09-25 2020-11-27 杭州海康威视系统技术有限公司 Data deleting method and distributed storage system
CN110019925A (en) * 2017-12-07 2019-07-16 北京雷客天地科技有限公司 Batch deletes the method and device of song
CN111045997B (en) * 2019-12-05 2023-05-12 浩云科技股份有限公司 Centralized storage data deleting method and device
CN113037609B (en) * 2021-02-25 2023-04-18 维沃移动通信有限公司 Chat message deleting method and device
CN113347076B (en) * 2021-05-28 2022-07-12 维沃移动通信(杭州)有限公司 Session information deleting method and device
CN116521661B (en) * 2023-04-23 2024-02-06 上海万雍科技股份有限公司 User data destruction method, device, electronic equipment and computer readable medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714137A (en) * 2013-12-19 2014-04-09 大唐移动通信设备有限公司 Method and system for deleting data files
CN104281452A (en) * 2014-09-23 2015-01-14 深圳市金立通信设备有限公司 Terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714137A (en) * 2013-12-19 2014-04-09 大唐移动通信设备有限公司 Method and system for deleting data files
CN104281452A (en) * 2014-09-23 2015-01-14 深圳市金立通信设备有限公司 Terminal

Also Published As

Publication number Publication date
CN104679851A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN104679851B (en) A kind of data-erasure method and terminal
CN104104971B (en) A kind of video file processing method and system
CN103092700B (en) Internal memory method for cleaning, device and terminal unit
CN104077183A (en) Reminding and operating method and device for reading of new software message
CN106484858A (en) Hot Contents method for pushing and device
US20150365360A1 (en) Method and apparatus for processing push message in notification center of mobile terminal, and storage medium
CN103747147B (en) Upgrade the method and apparatus of address list
CN102929980B (en) Folder cleaning method and device
CN107872494A (en) A kind of information push method and device
CN102572072A (en) Mobile phone video preview method, video preview control device, and mobile phone with device
CN107566642A (en) Method and device for switching function modes and intelligent terminal
CN107801095A (en) A kind of video/audio decoding method and terminal device
CN103473343A (en) File management method, device and terminal
CN106471775A (en) Message stores
CN104219561A (en) Method and user equipment for cleaning offline videos
CN107391308A (en) Data processing method and device, terminal and computer-readable recording medium
CN109547949A (en) Group information updating method, device, base station and user equipment
CN104376859B (en) The method and online music player of a kind of playlist adjust automatically
CN107648854B (en) Game classification method and device and electronic equipment
CN104966526A (en) Random play method and apparatus
CN108984071A (en) Text recombination method, device, terminal device and computer readable storage medium
CN103067610B (en) Method and device and mobile terminal of interception of junk short message
CN113573134A (en) Bullet screen data processing method and device, storage medium and electronic equipment
CN106357865B (en) Delete the method and system of contact information
CN103533130B (en) A kind of method deleting associated person information and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant