CN101159963A - Method of erasing terminal data and terminal equipment - Google Patents
Method of erasing terminal data and terminal equipment Download PDFInfo
- Publication number
- CN101159963A CN101159963A CNA2007101771340A CN200710177134A CN101159963A CN 101159963 A CN101159963 A CN 101159963A CN A2007101771340 A CNA2007101771340 A CN A2007101771340A CN 200710177134 A CN200710177134 A CN 200710177134A CN 101159963 A CN101159963 A CN 101159963A
- Authority
- CN
- China
- Prior art keywords
- data
- advance
- deletion
- wiping
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
A method for scrubbing terminal data and a terminal device are provided. The method comprises pre-scrubbing the data to be scrubbed and recording the information of the data to be scrubbed; and when triggered, actually deleting the data to be scrubbed according to the recorded data information. In one inventive embodiment, the terminal data is deleted in pre-scrubbing mode and then the pre-scrubbed data is actually deleted according to the information of the data to be scrubbed when triggered. A buffer is provided to delete data, so that the user has a chance to recover the required data from the pre-scrubbed data.
Description
Technical field
The present invention relates to a kind of data processing technique, relate in particular to a kind of method and terminal equipment of erasing terminal data.
Background technology
At present, OMA DM (open mobile alliance device management) is often adopted in the management of wireless network terminal equipment, OMA DM V1.2 (hereinafter to be referred as the DM standard) is that standard is unified in the equipment control that OMA DM WG formulates.The DM system provides a kind of lower cost solution, be used for third party management and environment and configuration information in the wireless network terminal equipment (as: functional object of mobile phone terminal and terminal etc.) are set, solve the problem that these network equipments in use run into, carry out the operation such as installation, upgrading of software and firmware by OTA (over the air wireless network) mode, and hommization more and personalized service are provided, improve user experience.Wherein, described third party can be mobile operator, the information management department of service provider or partner etc.
The overall structure of OMA DM equipment control as shown in Figure 1, the DM Agent on the terminal equipment (equipment control agency) is used for explaining and carrying out the administration order that DM Server (device management server) issues.The management object of storing on the terminal equipment can be considered to the interface that a DM Server manages terminal equipment by DM agreement (device management protocol).Comprising some basic management objects (MO, Management Object), DM Server reaches the purpose of control terminal management object by the operation to management object.Operational order comprises Get (obtaining), Replace (replacement), Exec (execution), Copy (duplicating), Delete (deletion) etc.
Based on described OMA DM technology, there is a kind of new method to provide the function of wiping the user data of preserving on the terminal at present for the user.When user mobile phone is lost, when maybe needing to carry out pass-along deal, the user can wipe terminal (as mobile phone etc.) by this function and go up personal user's data of preserving.In the terminal management object that Fig. 2 shows, an exercisable DeviceWipe (device erasing) node is arranged under TerminalSecurity (equipment control) node, by carrying out the state of determining this node, the operation that network can indicating terminal be wiped the user data on the terminal.
When the user deleted user data on the terminal, user data was directly deleted, and promptly deletion back user data has not existed on storage device, but in most cases user data does not need directly deleted at once.
From above-mentioned the existing process of utilizing the user data that OMA DM technology wipes terminal introduced, the inventor finds that there is following problem at least in above-mentioned prior art:
(1) the user data operation of deleting on the terminal as the user time is directly deleted, and can't find this user data again on storage device after the deletion, when needing these user data again, causes and can't recover.
(2) fail to make full use of the actual storage situation of terminal, and adopt flexible way to delete to user data in conjunction with the information of user data, can't carry out targetedly deletion automatically to the user data of preparing deletion according to the deletion mode of setting and handle, then can't give these data for change when needing user data once more.
Summary of the invention
The embodiment of the invention provides a kind of method and terminal equipment of erasing terminal data.Carry out the deletion of the data of terminal by pre-erase mode, when being subjected to triggering, again the data of wiping are in advance carried out actual deletion, reach the purpose that before the reality deletion, needs data to recover once more.
A kind of method of erasing terminal data comprises:
The data of preparing to wipe are wiped in advance, and write down the information of described data of wiping in advance;
When being subjected to triggering, described data of wiping are in advance carried out actual deletion according to the information of the data that write down.
A kind of terminal equipment of obliterated data comprises:
Mark module, when the data of terminal are deleted, with described data markers for wiping in advance;
Logging modle, the information of the data of wiping in advance of the mark module mark that record is connected;
Trigger module, when the terminal storage space deficiency, or the user sends triggering signal when importing triggering command or when receiving the triggering command of server;
The deletion processing module when receiving triggering signal, is carried out actual deletion according to the information of the data that write down to described data of wiping in advance.
The technical scheme that is provided by the invention described above embodiment as can be seen, when the terminal obliterated data, delete in the embodiment of the invention in the mode of wiping in advance, when being subjected to triggering, according to the information of the data of wiping in advance that write down the data of wiping are in advance carried out actual deletion again.For deleted data provides buffering, make the user have an opportunity in the data of wiping in advance, to give for change required data.
Description of drawings
The overall structure schematic diagram of the OMA DM technology that Fig. 1 provides for prior art;
The structural representation of the terminal management object that Fig. 2 provides for prior art;
Fig. 3 is the flow chart of method of the obliterated data of the embodiment of the invention;
Fig. 4 is the management object schematic diagram in the method for obliterated data of the embodiment of the invention;
Fig. 5 is the method flow diagram of the erasing terminal data of the embodiment of the invention one;
Fig. 6 is the method flow diagram of the erasing terminal data of the embodiment of the invention two;
Fig. 7 is the method flow diagram of the erasing terminal data of the embodiment of the invention three;
Fig. 8 is the method flow diagram of the erasing terminal data of the embodiment of the invention four;
Fig. 9 is the method flow diagram of the erasing terminal data of the embodiment of the invention five;
Figure 10 is the method flow diagram of the erasing terminal data of the embodiment of the invention six;
Figure 11 is the method flow diagram of the erasing terminal data of the embodiment of the invention seven;
Figure 12 is the structured flowchart of terminal equipment of the obliterated data of the embodiment of the invention;
Figure 13 is the structured flowchart of terminal equipment of the obliterated data of another embodiment of the present invention.
Embodiment
The embodiment of the invention provides a kind of method and terminal equipment of obliterated data.When terminal is carried out wiping of data, the data of preparing deletion are wiped in advance, and write down the information of described data of wiping in advance, and do not carry out actual deletion, when terminal is subjected to triggering, according to the information of the data of wiping in advance of described record the pre-obliterated data of mark is carried out actual deletion again.When the user needs to use the data of having wiped in advance once more, then before not carrying out actual deletion, need can recover the data of use easily.
Simultaneously, can carry out actual deletion to the data of wiping in advance automatically targetedly according to the information of the data of wiping in advance of described record by the deletion mode of setting.
For the ease of understanding, below by specific embodiment also in conjunction with the accompanying drawings, technical scheme to the embodiment of the invention further specifies, wherein, because data can have multiple existence form, therefore a kind of existence form of representative data only such as the file of mentioning among the embodiment, data file does not cause qualification because of this description to described data.
Embodiment one
The embodiment of the invention provides a kind of method of erasing terminal data, can be used for the data of terminal equipment are wiped processing, and as shown in Figure 5, the idiographic flow of this method comprises:
Can adopt mode described below to carry out the concrete processing of wiping in advance in actual the use.
When terminal or server are wiped the data of preserving on the terminal, setting is operated according to terminal, if terminal is set to pre-erase status, then the data markers that preparation is wiped is for wiping in advance, and the information of the data that will wipe in advance can adopt the mode of tabulation (but not to be only limited to this mode of tabulation in concrete the use, also can adopt other mode) record in the terminal, memory space inadequate when terminal, perhaps, during according to the instruction triggers of user or server, the data of wiping are in advance just carried out actual deletion action.Provided the general flow of pre-erase operation below:
For ease of describing, with described record and preserve the tabulation called after List of the information of data, can write down the information of the data of wiping in advance in the terminal, can the parameter called after ListSize of the maximum quantity of the data of wiping in advance will be preserved, the pre-erase status of setting terminal can be indicated whether carry out pre-erase operation parameter called after PreWipe, if PreWipe=True (very) is that terminal is in pre-erase status at this moment, as the instruction that terminal or server send erasing terminal data, the operation of then wiping in advance.Can will two the parameter called after DelSelection and the DelStopData of deletion mode be set, by these two parameters or one of them parameter are provided as the deletion condition, and then determine deletion mode, the concrete operations mode when also having determined actual deleted data by it.Specifically can see the management object schematic diagram in the method for pre-erasing terminal data of Fig. 4 to the relation of above-mentioned each parameter.
In List, described information can comprise following at least a kind of situation: URI of data (unified resource location information) and byte length with the information stores of the data of wiping in advance of record; Perhaps, the URI of data and mark time of wiping in advance; Perhaps, the information such as time that the URI of data, byte length and mark are wiped in advance, the situation of the time of wiping in advance with URI, byte length and the mark of record data in List explanation in the following embodiments, other situation is similarly.
Concrete processing procedure as shown in Figure 3,
Wherein, step 31, terminal or server are at first set the value of ListSize, PreWipe, DelSelection and DelStopData;
If according to the deletion mode difference of setting, can form different deletion modes when the data of wiping are in advance carried out actual deletion, specifically the deletion mode of employing can various as listed in Table 1 conditions in above-mentioned processing procedure:
000 | 001 | 010 | 011 |
According to the descending deletion of the byte length of data, up to the value of memory space smaller or equal to DelStopData | According to the ascending deletion of the byte length of data, up to the value of memory space smaller or equal to DelStopData | According to the descending deletion of the byte length of data, delete data at every turn | According to the ascending deletion of the byte length of data, delete data at every turn |
100 | 101 | 110 | 111 |
Begin deletion from earliest time, up to the time of DelStopData appointment | Begin deletion from earliest time, up to the value of memory space smaller or equal to DelStopData | Begin deletion from earliest time, delete data at every turn | Delete data among whole List |
Deletion mode in the associative list 1 and terminal shown in Figure 4 are wiped management object in advance, can form following various actual deletion mode to data on the terminal.
(1) information that writes down the data of wiping in advance when needs are really deleted, is carried out actual deletion according to the byte length of the data of wiping in advance corresponding in the information that writes down among the List is descending to data, up to satisfying the memory space requirement in List;
(2) information that writes down the data of wiping in advance when needs are really deleted, is carried out actual deletion according to the byte length of the data of wiping in advance corresponding in the information that writes down among the List is ascending to data, up to satisfying the memory space requirement in List;
(3) data message wiped in advance of record when needs are really deleted, carries out actual deletion according to the byte length of the data of wiping in advance corresponding in the information that writes down among the List is descending to data, and deletes data at every turn in List;
(4) data message wiped in advance of record when needs are really deleted, carries out actual deletion according to the byte length of the data of wiping in advance corresponding in the information that writes down among the List is ascending to data, and deletes data at every turn in List;
(5) data message wiped in advance of record when needs are really deleted, carries out actual deletion according to the time of wiping in advance data the earliest corresponding in the information that writes down among the List, up to the time of appointment in List;
(6) information of the record data of wiping in advance is in List, when needs are really deleted, according to the time of wiping in advance corresponding in the information that writes down among the List the earliest data carry out actual deletion, up to satisfying the memory space requirement;
(7) information that writes down the data of wiping in advance when needs are really deleted, is carried out actual deletion according to the time of wiping in advance data the earliest corresponding in the information that writes down among the List, and is deleted data at every turn in List;
(8) data message wiped in advance of record is in List, when needs are really deleted, and the data of the total data information correspondence that provides among the deletion List.
Can set the value of DelSelection in the reality by the value of different condition correspondence in the table 1, to determine different deletion modes, as DelSelection=000, then the data of wiping are in advance carried out actual deletion according to 000 pairing mode in the table 1, the rest may be inferred to be set to the situation of other value.
Situation when the various reality when deleting mode by different embodiment and flow chart to adopting the above-mentioned difference of listing are respectively below deleted describes.
Embodiment two
In the present embodiment, the deletion mode is set at: according to the byte length of the data of wiping in advance corresponding in the information that writes down among the List is descending data are carried out actual deletion, up to satisfying the memory space requirement;
Handling process as shown in Figure 6, wherein, step 61, terminal or server send the instruction of the data of wiping terminal;
Below in conjunction with in actual use concrete processing procedure above-mentioned handling process is described.
At first the information of the data file of the record composition data of wiping in advance is in List, when needs are really deleted, to carry out actual deletion with descending order to data according to the file size of the data file of the information correspondence that writes down among the List, up to satisfying the memory space requirement;
Set the value of ListSize, PreWipe, DelSelection and DelStopData in the terminal, wherein: ListSize=100; PreWipe=True; DelSelection=000; DelStopData=0.8;
Terminal/server has been wiped three data files on the terminal in advance:
./My Music/song.mp3,
./My Music/song1.mp3,
./My Music/song2.mp3,
The information of each file correspondence comprises: URI, size and the time of wiping have in advance recorded among the List, are respectively:
DataURI=./My Music/song.mp3;DataSize=3128003;DataDelTime=20070630T180000Z
DataURI=./My Music/song1.mp3;DataSize=4672003;DataDelTime=20070412T080000Z
DataURI=./My Music/song2.mp3;DataSize=8127653;DataDelTime=20070724T123000Z
Memory space inadequate when terminal, perhaps, when user or server issued command adapted thereto, terminal will be to the information of each file of writing down among the List according to the descending deletion of carrying out respective file of file size, and deletion this moment is in proper order: ./My Music/song2.mp3; ./My Music/song1.mp3; ./MyMusic/song.mp3, being less than or equal at 0.8 o'clock up to the memory space usage ratio just stops.
This mode can guarantee only to delete minimum file when each reality is deleted, and just can satisfy the requirement of memory space, convenient other file that recovers when needed.
Another kind of situation also can be made as deletion mode wherein: the byte length according to the data of wiping in advance corresponding in the information that writes down among the List, carry out actual deletion with ascending to data, up to satisfying the memory space requirement;
Flow process described in concrete processing procedure and Fig. 6 is basic identical, just when carrying out described actual deletion step (as the step 65 among Fig. 6), byte length by data in the information of the data of described record carries out actual deletion with ascending order to the data of wiping in advance.
The memory space inadequate of promptly working as terminal, perhaps, when user or server issue command adapted thereto, terminal will be deleted by the ascending order of file size the data file of the information correspondence of the data file that writes down among the List, and deletion this moment is in proper order: ./My Music/song.mp3; ./MyMusic/song1.mp3; ./My Music/song2.mp3 is less than or equal at 0.8 o'clock up to the memory space usage ratio and just stops.
Embodiment three
In the present embodiment, the deletion mode can be set at: the byte length according to the data of wiping in advance corresponding in the information that writes down among the List, carry out actual deletion with descending to data, and delete data at every turn.
Handling process as shown in Figure 7, wherein, step 71, terminal or server send the instruction of the data of wiping terminal;
Below in conjunction with in actual use concrete processing procedure above-mentioned handling process is described.
The information of the data file of the composition data that record is wiped in advance is in List, when needs are really deleted, will be according to the file size of the data file of the information correspondence that writes down among the List by descending order, and the mode of at every turn only deleting a data file is carried out actual deletion to data;
Set the value of ListSize, PreWipe, DelSelection in the terminal, wherein: ListSize=100; PreWipe=True; DelSelection=010;
Terminal/server has been wiped three data files on the terminal in advance:
./My Music/song.mp3,
./My Music/song1.mp3,
./My Music/song2.mp3,
The information of each file correspondence has recorded among the List as URI, size and time of wiping in advance, is respectively:
DataURI=./My Music/song.mp3;DataSize=3156003;DataDelTime=20070630T180000Z
DataURI=./My Music/song1.mp3;DataSize=4122003;DataDelTime=20070412T080000Z
DataURI=./My Music/song2.mp3;DataSize=8067753;DataDelTime=20070724T123000Z
When memory space inadequate, terminal will in the information of the data file that writes down among the List according to the file size of data file from big to small and each actual data file of only deleting a correspondence, deletion this moment: ./My Music/song2.mp3; Then finish this deletion.
Another kind of situation in the present embodiment can be set at the deletion mode: the byte length according to the data of wiping in advance corresponding in the information that writes down among the List, carry out actual deletion with ascending to data, and delete data at every turn;
Flow process described in concrete processing procedure and Fig. 7 is basic identical, just when carrying out described actual deletion step (as the step 7 among Fig. 7 5), with ascending order, and only data of wiping are in advance carried out actual deletion by the file size of data file in the information of the data of described record at every turn.
Promptly when memory space inadequate, terminal will be deleted by ascending the file size of the data file of the information correspondence of the data file that writes down among the List, and data file of each only actual deletion, in the present embodiment during actual deletion, only actual deleted file for the first time then: ./My Music/song.mp3.
Embodiment four
In the present embodiment, the deletion mode can be set at: carry out actual deletion according to the time of wiping in advance data the earliest corresponding in the information that writes down among the List, up to the time of appointment;
Handling process as shown in Figure 8, wherein, step 81, terminal or server send the instruction of the data of wiping terminal;
Below in conjunction with in actual use concrete processing procedure above-mentioned handling process is described.
The data message that record is wiped in advance when needs are really deleted, will be deleted according to the pre-erasing time of data among the List, up to the time of appointment in List;
In the value of terminal setting ListSize, PreWipe, DelSelection and DelStopData, wherein: ListSize=100; PreWipe=True; DelSelection=100; DelStopData=20070530T240000Z
Terminal/server has been wiped three data files on the terminal in advance:
./My Music/song.mp3,
./My Music/song1.mp3,
./My Music/song2.mp3},
And URI, the size of record corresponding document and the time of wiping in advance in List, be respectively:
DataURI=./My Music/song.mp3;DataSize=3128003;DataDelTime=20070630T180000Z
DataURI=./My Music/song1.mp3;DataSize=4672003;DataDelTime=20070412T080000Z
DataURI=./My Music/song2.mp3;DataSize=8127653;DataDelTime=20070724T123000Z
When the memory space inadequate of terminal, terminal will be deleted the pre-the earliest pairing data file of erasing time in the information of the data file that writes down among the List, up to the time of setting, the i.e. time of parameter DelStopData appointment.Just actual deletion ./My Music/song1.mp3 and these two files of ./MyMusic/song.mp3.
Embodiment five
In the present embodiment, the deletion mode can be set at: carry out actual deletion according to the time of wiping in advance data the earliest corresponding in the information that writes down among the List, up to satisfying the memory space requirement;
Handling process as shown in Figure 9, wherein, step 91, terminal or server send the instruction of the data of wiping terminal;
Below in conjunction with in actual use concrete obliterated data process above-mentioned handling process is described.
The data message that record is wiped in advance when needs are really deleted, will be deleted according to file the earliest of pre-erasing time of mark in the data file corresponding in the recorded information among the List, up to satisfying the memory space requirement in List;
At first, server is set the value of ListSize, PreWipe, DelSelection and DelStopData, sends instructions under the server, can adopt following command format:
<Replace>
<CmdID>2</CmdID>
<Item>
<Target><LocURI>./PreWipe/ListSize<LocURI></Target>
<Meta>
<Format xmlns=’syncml:metinf’>int</Format>
<Type xmlns=’syncml:metinf’>text/plain</Type>
</Meta>
<Data>100</Data>
</Item〉(above-mentioned this section<Item〉to</Item between the effect of directive statement be to make
ListSize=100)
<Item>
<Target><LocURI>./PreWipe/PreWipe<LocURI></Target>
<Meta>
<Format xmlns=’syncml:metinf’>chr</Format>
<Type xmlns=’syncml:metinf’>text/plain</Type>
</Meta>
<Data>True</Data>
</Item〉(above-mentioned this section<Item〉to</Item between the effect of directive statement be to make
PreWipe=True (very))
<Item>
<Target><LocURI>./PreWipe/Condition/DelSelection<LocURI></Target>
<Meta>
<Format xmlns=’syncml:metinf’>int</Format>
<Type xmlns=’syncml:metinf’>text/plain</Type>
</Meta>
<Data>101</Data>
</Item〉(above-mentioned this section<Item〉to</Item between the effect of directive statement be to make
DelSelection=101)
<Item>
<Target><LocURI>./PreWipe/Condition/DelStopData<LocURI></Target>
<Meta>
<Format xmlns=’syncml:metinf’>float</Format>
<Type xmlns=’syncml:metinf’>text/plain</Type>
</Meta>
<Data>0.8</Data>
</Item〉(above-mentioned this section<Item〉to</Item between the effect of directive statement be to make
DelStopData=0.8)
</Replace>
By above-mentioned instruction to each parameter assignment, that is: ListSize=100; PreWipe=True; DelSelection=101; DelStopData=0.8;
Terminal/server has been wiped three data files on the terminal in advance:
./My Music/song.mp3,
./My Music/song1.mp3,
./My Music/song2.mp3,
URI, the size of three files wiping in advance and the time of wiping have in advance been recorded among the List, have been respectively:
DataURI=./My Music/song.mp3;DataSize=3128003;DataDelTime=20070630T180000Z
DataURI=./My Music/song1.mp3;DataSize=4672003;DataDelTime=20070412T080000Z
DataURI=./My Music/song2.mp3;DataSize=8127653;DataDelTime=20070724T123000Z
When terminal storage space is not enough, to delete by data file the earliest of pre-erasing time of mark in the pairing data file of the information of the data file that terminal will write down from List, deletion this moment is in proper order: ./My Music/song1.mp3; ./My Music/song.mp3; ./MyMusic/song2.mp3, till the memory space usage ratio is less than or equal at 0.8 o'clock.
Embodiment six
In the present embodiment, the deletion mode can be set at: carry out actual deletion according to the time of wiping in advance data the earliest corresponding in the information that writes down among the List, and delete data at every turn;
Handling process as shown in figure 10, wherein, step 101, terminal or server send the instruction of the data of wiping terminal;
Step 102 is wiped in advance to the data of preparing deletion, and being about to described data markers is pre-erase status;
Below in conjunction with in actual use concrete processing procedure above-mentioned handling process is described.
The information of the data file of the composition data that record is wiped in advance when needs are really deleted, will be deleted a file according to the pre-erasing time deletion of data file among the List at every turn in List;
At first, server is set the value of ListSize, PreWipe, DelSelection, sends instructions under the server, and described instruction can be adopted the command format in the similar embodiment seven, and each parameter is carried out assignment, in the present embodiment with ListSize=100; PreWipe=True; DelSelection=110;
Terminal/server has been wiped three data files on the terminal in advance:
./My Music/song.mp3,
./My Music/song1.mp3,
./My Music/song2.mp3,
URI, the size of above-mentioned three files having wiped in advance and the time of wiping are in advance recorded among the List of terminal, are respectively:
DataURI=./My Music/song.mp3;DataSize=3128003;DataDelTime=20070630T180000Z
DataURI=./My Music/song1.mp3;DataSize=4672003;DataDelTime=20070412T080000Z
DataURI=./My Music/song2.mp3;DataSize=8127653;DataDelTime=20070724T123000Z
When terminal storage space is not enough, carry out actual deletion by file the earliest of pre-erasing time of mark in the pairing data file of the data file information that terminal will write down from List, only delete a file at every turn.For the first time will delete ./My Music/song1.mp3 file, then finish this deletion action.
Embodiment seven
In the present embodiment, the deletion mode can be set at: the data of the total data information correspondence that provides among the actual deletion List.
Handling process as shown in figure 13, wherein, step 111, terminal or server send the instruction of the data of wiping terminal;
Step 112 is wiped in advance to the data of preparing deletion, and being about to described data markers is pre-erase status;
Step 115 is labeled as the data of wiping in advance in the information to the data of described record and all carries out actual deletion.
Below in conjunction with in actual use concrete obliterated data process above-mentioned handling process is described.
The data message that record is wiped in advance when needs are really deleted, will be deleted the total data of the information correspondence that writes down among the List in List;
Server is set the value of ListSize, PreWipe, DelSelection, sends instructions under the server, and described instruction can be adopted the command format in the similar embodiment seven, and each parameter is carried out assignment, sets ListSize=100 in the present embodiment; PreWipe=True; DelSelection=111;
Terminal/server has been wiped three data files on the terminal in advance:
./My Music/song.mp3,
./My Music/song1.mp3,
./My Music/song2.mp3,
URI, the size of corresponding document and the time of wiping are in advance recorded among the List, are respectively:
DataURI=./My Music/song.mp3;DataSize=3128003;DataDelTime=20070630T180000Z
DataURI=./My Music/song1.mp3;DataSize=4672003;DataDelTime=20070412T080000Z
DataURI=./My Music/song2.mp3;DataSize=8127653;DataDelTime=20070724T123000Z
When the memory space inadequate of terminal, the pairing entire data files of wiping in advance of the information that writes down among the List is carried out actual deletion.The ./My Music/song.mp3 that just will wipe in advance ./MyMusic/song1.mp3, three data files of ./My Music/song2.mp3 all carry out actual deletion.
Embodiment eight
As shown in figure 12, the embodiment of the invention also provides a kind of terminal equipment of obliterated data, and this equipment comprises:
Mark module when the data of terminal are deleted, for wiping in advance, is connected described data markers with logging modle;
Logging modle, the data message of wiping in advance of record mark module mark is connected with judge module;
Trigger module, when the terminal storage space deficiency, or the user imports and triggers when referring to the present or send triggering signal when receiving the triggering command of server;
The deletion processing module when terminal is received triggering signal, is carried out actual deletion according to the information of the data that write down to described data of wiping in advance.
And according to the information of the data that write down described data of wiping are in advance carried out actual deletion is to delete by the deletion mode of setting, and described deletion mode can be to be set by terminal itself, or is set by server, the present invention is not construed as limiting.
Embodiment nine
As shown in figure 13, on the basis of embodiment eight, a kind of terminal equipment that can conveniently set each parameter of deletion mode also is provided, specifically can module be set by the deletion mode that is provided with each parameter setting of setting the deletion mode is set the deletion mode, if the deletion mode is set by byte length parameter and/or time parameter, by setting to described byte length parameter and/or the time parameter wiped in advance, can set the deletion mode, and then reach the purpose of control deletion processing module.
In sum, the mode by wiping in advance in the embodiment of the invention when carrying out the data erase of terminal, provides buffering, when the data of wiping are not in advance carried out real deletion, can recover at any time as required, and is very convenient.And can adopt different actual deletion modes according to different needs, obtain good balance on convenient recovery the when the use of terminal storage space and data are needed.
Above-described each embodiment is for technical scheme of the present invention is described, the orbution before and after not having between each embodiment, and do not cause restriction because of the sequence number of each embodiment.And each embodiment only is the preferable embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses, the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.
Claims (11)
1. the method for an erasing terminal data is characterized in that, comprising:
The data of preparing to wipe are wiped in advance, and write down the information of described data of wiping in advance;
When being subjected to triggering, described data of wiping are in advance carried out actual deletion according to the information of the data that write down.
2. method according to claim 1 is characterized in that, described be subjected to triggering comprise:
When the memory space inadequate of terminal is triggered;
Perhaps, user or server send dependent instruction and are triggered.
3. method according to claim 1 is characterized in that, the information of described data comprises:
The unified resource location information of data;
With in time of wiping in advance of the byte length of data or data at least one.
4. method according to claim 1 is characterized in that, described method also comprises:
Information according to the data that write down is carried out the actual deletion of described data of wiping in advance by the deletion mode of setting.
5. method according to claim 4 is characterized in that, described deletion mode comprises following at least one:
By the byte length of the data of wiping in advance, carry out actual deletion from big to small or from small to large;
By the pre-erasing time of the data of wiping in advance, carry out actual deletion from data the earliest of pre-erasing time.
6. method according to claim 5 is characterized in that, described deletion mode also comprises: in the process of deleted data, satisfy set point up to memory space.
7. method according to claim 5 is characterized in that, the described pre-erasing time by the data of wiping in advance carries out actual deletion and comprises:
Carry out actual deletion from data the earliest of pre-erasing time, satisfy setting-up time up to the pre-erasing time of deleted data; Perhaps, carry out actual deletion, satisfy set point up to memory space from data the earliest of pre-erasing time.
8. method according to claim 5 is characterized in that, described deletion mode also comprises: in the process of deleted data, delete data at every turn.
9. method according to claim 4 is characterized in that, described deletion mode also comprises:
The data of all wiping are in advance carried out actual deletion.
10. the terminal equipment of an obliterated data is characterized in that, comprising:
Mark module, when the data of terminal are deleted, with described data markers for wiping in advance;
Logging modle, the information of the data of wiping in advance of the mark module mark that record is connected;
Trigger module, when the terminal storage space deficiency, or the user sends triggering signal when importing triggering command or when receiving the triggering command of server;
The deletion processing module when receiving triggering signal, is carried out actual deletion according to the information of the data that write down to described data of wiping in advance.
11. equipment according to claim 10 is characterized in that, described equipment also comprises:
The deletion mode is provided with module, is used for setting the deletion mode by byte length parameter that the deletion mode is set and/or the time parameter of wiping in advance, to control described deletion processing module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007101771340A CN101159963A (en) | 2007-11-09 | 2007-11-09 | Method of erasing terminal data and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007101771340A CN101159963A (en) | 2007-11-09 | 2007-11-09 | Method of erasing terminal data and terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101159963A true CN101159963A (en) | 2008-04-09 |
Family
ID=39307850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007101771340A Pending CN101159963A (en) | 2007-11-09 | 2007-11-09 | Method of erasing terminal data and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101159963A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215479A (en) * | 2011-06-22 | 2011-10-12 | 中兴通讯股份有限公司 | Method, server and system for downloading and installing upgrade package |
US8489838B2 (en) | 2008-06-05 | 2013-07-16 | Huawei Technologies Co., Ltd. | Method and terminal device for erasing data of terminal |
CN107764948A (en) * | 2017-11-20 | 2018-03-06 | 中国农业大学 | Ethylene gas content monitoring device and method |
CN110535978A (en) * | 2019-10-08 | 2019-12-03 | 湖南新云网科技有限公司 | Data transmission method, device, system and intelligent wearable equipment and storage medium |
-
2007
- 2007-11-09 CN CNA2007101771340A patent/CN101159963A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8489838B2 (en) | 2008-06-05 | 2013-07-16 | Huawei Technologies Co., Ltd. | Method and terminal device for erasing data of terminal |
CN102215479A (en) * | 2011-06-22 | 2011-10-12 | 中兴通讯股份有限公司 | Method, server and system for downloading and installing upgrade package |
WO2012174799A1 (en) * | 2011-06-22 | 2012-12-27 | 中兴通讯股份有限公司 | Method, server and system for downloading and installing upgrade package |
CN102215479B (en) * | 2011-06-22 | 2018-03-13 | 中兴通讯股份有限公司 | AKU is downloaded and method, server and the system of installation |
CN107764948A (en) * | 2017-11-20 | 2018-03-06 | 中国农业大学 | Ethylene gas content monitoring device and method |
CN107764948B (en) * | 2017-11-20 | 2020-04-10 | 中国农业大学 | Ethylene gas content monitoring device and method |
CN110535978A (en) * | 2019-10-08 | 2019-12-03 | 湖南新云网科技有限公司 | Data transmission method, device, system and intelligent wearable equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104573093B (en) | A kind of method and apparatus for managing file directory | |
CN107967122B (en) | Data writing method, device and medium for block device | |
CN103608783A (en) | Storage architecture for backup application | |
CN106713392B (en) | Data synchronization method, device and system | |
CN103885717B (en) | A kind of data copy method and device | |
KR20190050993A (en) | Update escalation system and method | |
CN103942126B (en) | Electronic equipment and its data back up method | |
CN103152390A (en) | Method and device and nodes and system for node configuration of distributed storage system | |
CN101983376A (en) | Access device, information recording device, information recording system, file management method, and program | |
CN102821111A (en) | Real-time synchronizing method for file cloud storage | |
CN103516755A (en) | Virtual storage method and equipment thereof | |
CN101159963A (en) | Method of erasing terminal data and terminal equipment | |
CN106033322A (en) | Method and device for data storage | |
CN105278985A (en) | Method and system for deploying file system | |
CN100558178C (en) | Data-erasure method and terminal | |
CN107332966A (en) | A kind of backup method of address list information | |
CN105260266B (en) | A kind of snapped volume write method and dependent snapshot system | |
CN107402908A (en) | Document content update method, device and equipment, computer-readable recording medium | |
CN101526959B (en) | Data storing method and device | |
CN101505335B (en) | Method and terminal device for erasing terminal data and terminal equipment | |
CN110851398B (en) | Garbage data recovery processing method and device and electronic equipment | |
CN105068764A (en) | Apparatus and method for simulating NandFlash | |
CN101345648B (en) | Solution method of data inconsistency | |
CN114675776A (en) | Resource storage method and device, storage medium and electronic equipment | |
JP5972455B2 (en) | How to delete information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20080409 |