CN103455391A - Dynamic adjustment data protection device and method - Google Patents

Dynamic adjustment data protection device and method Download PDF

Info

Publication number
CN103455391A
CN103455391A CN2013104033673A CN201310403367A CN103455391A CN 103455391 A CN103455391 A CN 103455391A CN 2013104033673 A CN2013104033673 A CN 2013104033673A CN 201310403367 A CN201310403367 A CN 201310403367A CN 103455391 A CN103455391 A CN 103455391A
Authority
CN
China
Prior art keywords
file
information
backup
module
memory device
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.)
Granted
Application number
CN2013104033673A
Other languages
Chinese (zh)
Other versions
CN103455391B (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.)
Nanning Bodaquanxun Science & Technology Co Ltd
Original Assignee
Nanning Bodaquanxun Science & Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanning Bodaquanxun Science & Technology Co Ltd filed Critical Nanning Bodaquanxun Science & Technology Co Ltd
Priority to CN201310403367.3A priority Critical patent/CN103455391B/en
Publication of CN103455391A publication Critical patent/CN103455391A/en
Application granted granted Critical
Publication of CN103455391B publication Critical patent/CN103455391B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a dynamic adjustment data protection device and a dynamic adjustment data protection method. The device consists of an identification module, a judgment module, a space reorganizing module, an analysis backup module, a file information module and a view module. The protection method comprises a method of displaying stored files, a method of writing into the files and a method of deleting the files. The device and the method have the advantages that user data are protected as much as possible under the condition that storage equipment still has easy-to-use property and without being added with extra storage. When using the storage equipment disclosed by the invention, a user can enable important data in the storage equipment to obtain redundancy protection with higher safety without taking effort to carry out any operation for data backup or paying extra expenses for storing hardware.

Description

A kind of apparatus and method of data protection of dynamic adjustment
Technical field
The present invention relates to electronic technology field, specifically a kind of apparatus and method of data protection of dynamic adjustment.
Background technology
Current era, increasing people is coming storage information, protection information transinformation with portable, portable memory device.Technology now, these memory device inside are comprised of a plurality of physical memory cells usually.For example: the memory device of a total volume 8G, the muon physics storage unit that inside can be 1G by 8 capacity forms.Modern crafts, often utilize the less physical memory cell of a plurality of capacity relatives to form and realize that has a more jumbo memory device, and such technique has been alleviated problem and the Cost Problems of the production technology limit.These physical memory cells have various display forms according to different principles and technique, such as, storage chip particle, magnetic disc disc etc.
These memory devices in use likely can be because of the situation of the damage of a variety of causes generation hardware.The damage of this equipment be comprised of a plurality of physical memory cells is just wherein certain physical memory cell damage probably, and other physical memory cells remain.Some backup softwares can back up manually to memory device at present; such method has certain protective effect to file; but portable storage device only has and comparatively simply stores read-write capability; without any redundancy feature, once even just physical memory cell of its son damage and all will cause overall loss of data.Information dropout can be brought irreversible loss to the user.
In addition on the one hand, the user can not have living space the institute of this equipment to be filled with data at the most of time that uses these memory devices, even the data of user's storage are the very little part of this equipment total volume, ubiquity the low phenomenon of memory device Spatial Residual part practical efficiency, the remaining space of memory device is substantially in idle standby state, and hardware resource is not fully utilized.
Summary of the invention
The apparatus and method that the purpose of this invention is to provide a kind of data protection of dynamic adjustment.In the situation that memory device is not lost simple ease for use, without increasing extra storage, protection user data as much as possible.The user, when using with memory device of the present invention, does the operation of any Backup Data without spending a lot of time and energy, also without increasing extra storage hardware expense, just can allow the significant data of memory device the inside obtain higher safe protection.
The technical scheme that the present invention solves the problems of the technologies described above is as follows:
1. the device of a data protection of dynamically adjusting, is characterized in that, this device comprises: identification dispensing module, judge module, space sorting module, analysis backup module, file information block and views module,
1) identification dispensing module, function is to identify and obtain hardware information and the file attribute information of memory device, and hardware information and file attribute information that dispensing gets transmit information between each module;
Described hardware information comprises: capacity information, memory device internal storage unit information, storage device physical characteristic information, hardware fault status information;
Described file attribute information comprises: the storage address information of storage date and time information, document size information, user operation records information, file;
2) judge module, function is that analysis judges whether that needing to arrange the optimization storage space write requirement to meet new data, and meets the required space structure requirement of execution backup policy; Judging whether need to carry out new backup policy takes full advantage of the free space resource and maximizes protected data to meet;
3) space sorting module, function is to adjust the memory address of deposit data, deletes provisional data, reaches the purpose of Free up Memory, optimization space structure.
Described provisional data comprise: adjust the ephemeral data of deposit data address generate and old backup image file data.
4) analyze backup module, function is the backup important level according to memory device residual capacity and stored file, generates backup policy and carries out backup;
5) file information block, function is record storage file attribute information;
Described file attribute information comprises: the storage address information of storage date and time information, document size information, user operation records information, file;
6) views module, function is that hardware information, memory information, the fileinfo during memory device is current export with specific presentation mode;
Described specific presentation mode output comprises: the hardware information of specialized detailed output memory device, memory information, fileinfo; Be converted into the formal output that domestic consumer is beneficial to understanding, but be not limited to the above two kinds;
The connection of each module and running:
Judge module, space sorting module, analysis backup module, file information block, views module are connected with identification dispensing module respectively;
Judge module judges whether that needing to arrange the optimization storage space writes requirement to meet new data, and the required space structure requirement of satisfied execution backup policy, when judgment value that arrange to optimize storage space is the "Yes" judge module by the identification module of providing and delivering, to the space sorting module, send the instruction of arrangement optimization storage space;
Judge module judges whether need to carry out new backup policy and takes full advantage of the free space resource and maximize protected data to meet, when the judgment value of carrying out new backup policy is the "Yes" judge module by the identification module of providing and delivering, to the analysis backup module, send the new backup policy instruction of execution;
The space sorting module receives the execution instruction of judge module by the identification module of providing and delivering, and adjusts the memory address of deposit data, deletes provisional data, reaches Free up Memory, optimizes the purpose of space structure;
Analyze backup module and receive the execution instruction of judge module by the identification module of provide and deliver, according to the backup important level of memory device residual capacity and stored file, generate backup policy also execution back up;
Analyze backup module by the identification module of providing and delivering, obtain fileinfo and the current state hardware of memory device information analysis foundation as the formulation backup policy;
Views module is by the identification module of providing and delivering, the hardware of memory device information and the file attribute information that get, hardware information, memory information, the fileinfo output during memory device is current and presenting.
2. the method for a data protection of dynamically adjusting, can realize arranging the optimization storage space, automatic screening meets the file of backup request, and the effect of utilizing remaining space to be backed up the file that meets backup request makes user data have higher safe guarantee; The method of protection comprises: the method, the method for writing in files and the method for deleted file that show storage file.
1) show the method for storage file, step is as follows:
Step 210, read the fileinfo of hardware information, memory information and the storage of memory device;
Step 220, present with certain form the hardware information, memory information, the fileinfo that get to the user;
Described hardware information comprises: other information of the failure message of memory device, memory device;
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data;
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost;
Described specific presentation mode output comprises: the hardware information of specialized detailed output memory device, memory information, fileinfo; Be converted into the formal output that domestic consumer is beneficial to understanding, but be not limited to the above two kinds;
2) method of writing in files, step is as follows:
Step 310, receive the external documents write request;
Step 320, read hardware information, memory information and the storage file content of memory device;
Described hardware information comprises: other information of the failure message of memory device, memory device;
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data;
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost;
Step 330, judge whether to need to arrange to optimize storage space, and judgment value is "Yes", starts step 340; Judgment value is "No", starts step 350;
Step 340, arrange and optimize storage space;
Described arrangement is optimized storage space and is comprised: file data storing is entered to the physical memory cell of appointment and the concrete memory address in physical memory cell; File data is shifted between different internal physical storage unit; The image file data of partly or entirely backup are deleted;
Step 350 writes new file in memory device;
Step 360, whether discriminatory analysis needs to upgrade backup policy.Judgment value is that "Yes" carry out step 370; Judgment value is that "No" carry out step 380;
Step 370, analyze the file in the current state memory device, and automatic screening meets the file of backup request, utilizes remaining space to be backed up the file that meets backup request;
The file that described automatic screening meets backup request comprises: according to file attribute information, analyze the backup important level that obtains this document, and under current store status, the backup feasibility conclusion value of this document;
The file that described automatic screening meets backup request also comprises: by under current store status, file backup for " feasible " and the relatively high file of backup important level as the file that meets backup request;
Described file attribute information comprises: the storage space information of the size information of file, the temporal information of file, file, the operation note information of file;
The backup feasibility conclusion value of described file is specially: under current store status, this document backup is " feasible " or " infeasible ", and whether its basis for estimation has enough remaining spaces to hold this document mirror image for the storage unit outside the physical memory cell at this document place;
The described remaining space that utilizes backs up and is specially the file that meets backup request: in other separate physical storage unit outside the physical memory cell at this document place, write the image file of this document, and the separate physical storage unit that is written into the file mirror image there are enough remaining spaces to hold this image file;
Step 380, show the fileinfo of hardware information, memory information and storage in memory device to the user;
Described hardware information comprises: other information of the failure message of memory device, memory device;
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data;
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost;
3) method of deleted file, step is as follows:
Step 410, receive removal request, deletes the file in memory device, deletes the file mirror image that content comprises original and may exist;
Step 420, read hardware information, memory information and the fileinfo of current memory device;
Described hardware information comprises: other information of the failure message of memory device, memory device;
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data;
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost;
Step 430, judge whether to need to arrange to optimize storage space, and judgment value is that "Yes" carry out step 440; Judgment value is that "No" carry out step 450;
Step 440, arrange and optimize storage space;
Described arrangement is optimized storage space and is comprised: file data storing is entered to the physical memory cell of appointment and the concrete memory address in physical memory cell, file data is shifted between different internal physical storage unit, the image file data of backup are deleted;
Step 450, analyze the file in the current state memory device, whether needs to carry out new backup policy.Judgment value is that "Yes" carry out step 460; Judgment value is that "No" carry out step 470;
Step 460, according to memory device residual capacity and file importance, automatic screening meets the file of backup request, utilizes remaining space to be backed up the file that meets backup request;
The file that described automatic screening meets backup request comprises: according to file attribute information, analyze the backup important level that obtains this document, and under current store status, the backup feasibility conclusion value of this document;
The file that described automatic screening meets backup request also comprises: by under current store status, file backup for " feasible " and the relatively high file of backup important level as the file that meets backup request;
Described file attribute comprises: the storage space information of the size information of file, the temporal information of file, file, the operation note information of file;
The backup feasibility conclusion value of described file is specially: under current store status, this document backup is " feasible " or " infeasible ", and whether its basis for estimation has enough remaining spaces to hold this document mirror image for the storage unit outside the physical memory cell at this document place;
The described remaining space that utilizes backs up and is specially the file that meets backup request: in other separate physical storage unit outside the physical memory cell at this document place, write the image file of this document, and the separate physical storage unit that is written into the file mirror image there are enough remaining spaces to hold this image file;
Step 470, show the fileinfo of hardware information, memory information and storage in memory device to the user;
Described hardware information comprises: other information of the failure message of memory device, memory device;
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data;
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost;
The present invention's advantage compared with prior art is:
1. use the present invention, user data is than using general memory device to obtain higher safety guarantee.When certain physical memory cell of memory device damages, the user still can obtain data by the image file in another physical memory cell that reads memory device.
2. from user level, except the space of storing former data to have living space be all user's remaining space.The present invention can not reduce the free space of user's storage file; All backup affairs are all carried out in original memory device, and idle storage space is taken full advantage of, and also do not need to increase extra storage space.When the user uses whole storage spaces such extreme case lower time, the security of file data is equal to the file security in general memory device.But, when the storage space of user's use is less, remaining space is abundant, can there be the image file of a correspondence in file data at a plurality of physical memory cells, and these file datas will obtain high safeguard protection.
3. dynamically adjust backup policy according to the use of capacity, the high file of automatic analysis screening backup important level is backed up.Promote the safe class of vital document under limited hardware condition.When the user uses the storage space of memory device, in the situation that storage file is less, remaining space is more, can there be the image file of a correspondence in file data at a plurality of physical memory cells, and these file datas will obtain high safeguard protection.
4. all backup procedures complete automatically, can not increase any running cost to the user.The user uses with memory device of the present invention the same simple and convenient with regard to the memory device common with use.
5. this device can be implanted in the equipment of the memory function with many physical memory cells, promotes the safety of data in memory device.
The accompanying drawing explanation
The structure drawing of device that Fig. 1 is a kind of dynamic adjusting data redundancy protecting.
In figure, identification dispensing module 110, judge module 120, space sorting module 130, analysis backup module 140, file information block 150, views module 160.
The device that Fig. 2 is a kind of dynamic adjusting data redundancy protecting shows the process flow diagram of storage file.
The process flow diagram of the device writing in files that Fig. 3 is a kind of dynamic adjusting data redundancy protecting.
The process flow diagram of the device deleted file that Fig. 4 is a kind of dynamic adjusting data redundancy protecting.
Embodiment
Below in conjunction with accompanying drawing, the present invention is specifically described.
1. the apparatus structure of a data protection of dynamically adjusting as shown in Figure 1; a kind of device of dynamic adjusting data redundancy protecting; can realize arranging the optimization storage space; automatic screening meets the file of backup request; the function of utilizing remaining space to be backed up the file that meets backup request, make user data have higher safe guarantee.
This device comprises: identification dispensing module 110, judge module 120, space sorting module 130, analysis backup module 140, file information block 150 and views module 160.
1) identification dispensing module 110, function is to identify and obtain hardware information and the file attribute information of memory device, and hardware information and file attribute information that dispensing gets transmit information between each module.
Described hardware information comprises: capacity information, memory device internal storage unit information, storage device physical characteristic information, hardware fault status information.
Described file attribute information comprises: the storage address information of storage date and time information, user operation records information, file.
2) judge module 120, and function is that analysis judges whether that needing to arrange the optimization storage space write requirement to meet new data, and meets the required space structure requirement of execution backup policy; Judging whether need to carry out new backup policy takes full advantage of the free space resource and maximizes protected data to meet.
3) the space sorting module 130, and function is to adjust the memory address of deposit data, delete provisional data, reach the purpose of Free up Memory, optimization space structure.
Described provisional data comprise: adjust the ephemeral data of deposit data address generate and old backup image file data.
4) analyze backup module 140, function is the backup important level according to memory device residual capacity and stored file, generates backup policy and carries out backup.
5) file information block 150, and function is the attribute information of record storage file.
Described file attribute information comprises: the storage address information of storage date and time information, user operation records information, file.
6) views module 160, and function is hardware information, memory information, the fileinfo output during memory device is current and presents.
Described specific presentation mode output comprises: the hardware information of specialized detailed output memory device, memory information, fileinfo; Be converted into the formal output that domestic consumer is beneficial to understanding, but be not limited to the above two kinds.
The connection of each module and running:
Judge module 120, space sorting module 130, analysis backup module 140, file information block 150, views module 160 are connected with identification dispensing module 110 respectively.
Judge module 120 judges whether to arrange the optimization storage space and writes requirement and meet the required space structure requirement of execution backup policy to meet new data, when judgment value that arrange to optimize storage space is "Yes" judge module 120 by the identification module 110 of providing and delivering, to space sorting module 130, send the instruction of arrangement optimization storage space.
Judge module 120 judges whether need to carry out new backup policy and takes full advantage of the free space resource and maximize protected data to meet; when the judgment value of carrying out new backup policy is "Yes" judge module 120 by the identification module 110 of providing and delivering, to analysis backup module 140, send the new backup policy instruction of execution.
Space sorting module 130 receives the execution instruction of judge modules 120 by provide and deliver module 110 of identification, adjusts the memory address of deposit data, deletes provisional data, reaches Free up Memory, optimizes the purpose of space structure.
Analyze backup module 140 and receive the execution instruction of judge modules 120 by the identification module 110 of provide and deliver, according to the backup important level of memory device residual capacity and stored file, generate backup policy also execution back up.
Analyze backup module 140 by the identification module 110 of providing and delivering, the fileinfo in file reading information module 140 is as the analysis foundation of formulation backup policy.
Views module 160 is by the identification module 110 of providing and delivering, the hardware of memory device information and the file attribute information that get, hardware information, memory information, the fileinfo output during memory device is current and presenting.
2. the method for a data protection of dynamically adjusting; can realize arranging the optimization storage space; automatic screening meets the file of backup request, and the effect of utilizing remaining space to be backed up the file that meets backup request makes user data have higher safe guarantee.
A kind of method of data protection of dynamic adjustment comprises: show the method for storage file, the method for writing in files, the method for deleted file.
1) method of demonstration storage file as shown in Figure 2, shows that the method step of storage file is as follows:
Step 210, read the fileinfo of hardware information, memory information and the storage of memory device by identification dispensing module 110, and be sent to views module 160.
Step 220, shown the fileinfo of hardware information, memory information and storage in memory device to the user by views module 160.
Described hardware information comprises: other information of the failure message of memory device, memory device.
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data.
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost.
2) as shown in Figure 3, the method step of writing in files is as follows for the method for writing in files:
Step 310, receive the external documents write request.
Step 320, read hardware information, memory information and the storage file content of memory device by identification dispensing module 110.
Step 330, judged whether to need to arrange to optimize storage space by judge module 120, and judgment value is that "Yes" starts step 340, and judgment value is that "No" starts step 350.
Step 340, arranged and optimized storage space by space sorting module 130.
Described arrangement is optimized storage space and is comprised: file data storing is entered to the physical memory cell of appointment and the concrete memory address in physical memory cell, file data is shifted between different internal physical storage unit, the image file data of backup are deleted.
Step 350, start to write new file by memory device.
Step 360, judge whether to need backup by judge module 120, and judgment value is that "Yes" starts step 370, and judgment value is that "No" starts step 380.
Step 370, the file of being analyzed in the current state memory device by analysis and processing module 130, automatic screening meets the file of backup request, utilizes remaining space to be backed up the file that meets backup request.
The file that described automatic screening meets backup request comprises: according to file attribute information, analyze the backup important level that obtains this document, and under current store status, the backup feasibility conclusion value of this document.
The file that described automatic screening meets backup request also comprises: by under current store status, file backup for " feasible " and the relatively high file of backup important level as the file that meets backup request.
Described file attribute comprises: the storage space information of the size information of file, the temporal information of file, file, the operation note information of file.
The backup feasibility conclusion value of described file is specially: under current store status, this document backup is " feasible " or " infeasible ", and whether its basis for estimation has enough remaining spaces to hold this document mirror image for the storage unit outside the physical memory cell at this document place.
The described remaining space that utilizes backs up and is specially the file that meets backup request: in other separate physical storage unit outside the physical memory cell at this document place, write the image file of this document, and the separate physical storage unit that is written into the file mirror image there are enough remaining spaces to hold this image file.
Step 380, shown the fileinfo of hardware information, memory information and storage in memory device to the user by views module 160.
Described hardware information comprises: other information of the failure message of memory device, memory device.
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data.
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost;
3) as shown in Figure 4, the method step of deleted file is as follows for the method for deleted file:
Step 410, receive removal request, deletes the file in memory device, deletes the file mirror image that content comprises original and may exist.
Step 420, read hardware information, memory information and the fileinfo of current memory device by identification module 110.
Step 430, judged whether to need to arrange to optimize storage space by judge module 120, and judgment value is that "Yes" starts step 440, and judgment value is that "No" starts step 450.
Step 440, arranged and optimized storage space by space sorting module 130.
Described arrangement is optimized storage space and is comprised: file data storing is entered to the physical memory cell of appointment and the concrete memory address in physical memory cell, file data is shifted between different internal physical storage unit, the image file data of backup are deleted.
Step 450, whether the file of being analyzed in the current state memory device by judge module 120, need to carry out new backup policy.Judgment value is that "Yes" starts step 460, and judgment value is that "No" starts step 470;
Step 460, by analyzing backup module 140 according to memory device residual capacity and file importance, automatic screening meets the file of backup request, utilizes remaining space to be backed up the file that meets backup request.
The file that described automatic screening meets backup request comprises: according to file attribute information, analyze the backup important level that obtains this document, and under current store status, the backup feasibility conclusion value of this document.
The file that described automatic screening meets backup request also comprises: by under current store status, file backup for " feasible " and the relatively high file of backup important level as the file that meets backup request.
Described file attribute comprises: the storage space information of the size information of file, the temporal information of file, file, the operation note information of file.
The backup feasibility conclusion value of described file is specially: under current store status, this document backup is " feasible " or " infeasible ", and whether its basis for estimation has enough remaining spaces to hold this document mirror image for the storage unit outside the physical memory cell at this document place.
The described remaining space that utilizes backs up and is specially the file that meets backup request: in other separate physical storage unit outside the physical memory cell at this document place, write the image file of this document, and the separate physical storage unit that is written into the file mirror image there are enough remaining spaces to hold this image file.
Step 470, shown the fileinfo of hardware information, memory information and storage in memory device to the user by views module 160.
Described hardware information comprises: other information of the failure message of memory device, memory device.
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data.
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost;
Invention has been described in above concrete enforcement.It should be noted that; the present invention is not limited to above-mentioned specific implementations; those skilled in the art can also use the additive method of prior art to complete this step; under the prerequisite that does not break away from the principle of the invention and method; can also make some improvements and modifications, these improve with retouching ought to be considered as protection scope of the present invention.

Claims (2)

1. the device of a data protection of dynamically adjusting, is characterized in that, this device comprises: identification dispensing module, judge module, space sorting module, analysis backup module, file information block and views module,
1) identification dispensing module, function is to identify and obtain hardware information and the file attribute information of memory device, and hardware information and file attribute information that dispensing gets transmit information between each module;
Described hardware information comprises: capacity information, memory device internal storage unit information, storage device physical characteristic information, hardware fault status information;
Described file attribute information comprises: the storage address information of storage date and time information, document size information, user operation records information, file;
2) judge module, function is that analysis judges whether that needing to arrange the optimization storage space write requirement to meet new data, and meets the required space structure requirement of execution backup policy; Judging whether need to carry out new backup policy takes full advantage of the free space resource and maximizes protected data to meet;
3) space sorting module, function is to adjust the memory address of deposit data, deletes provisional data, reaches the purpose of Free up Memory, optimization space structure;
Described provisional data comprise: adjust the ephemeral data of deposit data address generate and old backup image file data;
4) analyze backup module, function is the backup important level according to memory device residual capacity and stored file, generates backup policy and carries out backup;
5) file information block, function is record storage file attribute information;
Described file attribute information comprises: the storage address information of storage date and time information, document size information, user operation records information, file;
6) views module, function is that hardware information, memory information, the fileinfo during memory device is current export with specific presentation mode;
Described specific presentation mode output comprises: the hardware information of specialized detailed output memory device, memory information, fileinfo; Be converted into the formal output that domestic consumer is beneficial to understanding, but be not limited to the above two kinds;
The connection of each module and running:
Judge module, space sorting module, analysis backup module, file information block, views module are connected with identification dispensing module respectively;
Judge module judges whether that needing to arrange the optimization storage space writes requirement to meet new data, and the required space structure requirement of satisfied execution backup policy, when judgment value that arrange to optimize storage space is the "Yes" judge module by the identification module of providing and delivering, to the space sorting module, send the instruction of arrangement optimization storage space;
Judge module judges whether need to carry out new backup policy and takes full advantage of the free space resource and maximize protected data to meet, when the judgment value of carrying out new backup policy is the "Yes" judge module by the identification module of providing and delivering, to the analysis backup module, send the new backup policy instruction of execution;
The space sorting module receives the execution instruction of judge module by the identification module of providing and delivering, and adjusts the memory address of deposit data, deletes provisional data, reaches Free up Memory, optimizes the purpose of space structure;
Analyze backup module and receive the execution instruction of judge module by the identification module of provide and deliver, according to the backup important level of memory device residual capacity and stored file, generate backup policy also execution back up;
Analyze backup module by the identification module of providing and delivering, obtain fileinfo and the current state hardware of memory device information analysis foundation as the formulation backup policy;
Views module is by the identification module of providing and delivering, the hardware of memory device information and the file attribute information that get, hardware information, memory information, the fileinfo output during memory device is current and presenting.
2. the method for a data protection of dynamically adjusting, it is characterized in that, can realize arranging and optimize storage space, automatic screening meets the file of backup request, the effect of utilizing remaining space to be backed up the file that meets backup request, make user data have higher safe redundancy protecting; The method comprises: the method, the method for writing in files and the method for deleted file that show storage file:
1) show the method for storage file, step is as follows:
Step 210, read the fileinfo of hardware information, memory information and the storage of memory device;
Step 220, present with certain form the hardware information, memory information, the fileinfo that get to the user;
Described hardware information comprises: other information of the failure message of memory device, memory device;
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data;
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost;
Described specific presentation mode output comprises: the hardware information of specialized detailed output memory device, memory information, fileinfo; Be converted into the formal output that domestic consumer is beneficial to understanding, but be not limited to the above two kinds;
2) method of writing in files, step is as follows:
Step 310, receive the external documents write request;
Step 320, read hardware information, memory information and the storage file content of memory device;
Described hardware information comprises: other information of the failure message of memory device, memory device;
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data;
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost;
Step 330, judge whether to need to arrange to optimize storage space, and judgment value is "Yes", starts step 340; Judgment value is "No", starts step 350;
Step 340, arrange and optimize storage space;
Described arrangement is optimized storage space and is comprised: file data storing is entered to the physical memory cell of appointment and the concrete memory address in physical memory cell; File data is shifted between different internal physical storage unit; The image file data of partly or entirely backup are deleted;
Step 350 writes new file in memory device;
Step 360, whether discriminatory analysis needs to upgrade backup policy.Judgment value is that "Yes" carry out step 370; Judgment value is that "No" carry out step 380;
Step 370, analyze the file in the current state memory device, and automatic screening meets the file of backup request, utilizes remaining space to be backed up the file that meets backup request;
The file that described automatic screening meets backup request comprises: according to file attribute information, analyze the backup important level that obtains this document, and under current store status, the backup feasibility conclusion value of this document;
The file that described automatic screening meets backup request also comprises: by under current store status, file backup for " feasible " and the relatively high file of backup important level as the file that meets backup request;
Described file attribute information comprises: the storage space information of the size information of file, the temporal information of file, file, the operation note information of file;
The backup feasibility conclusion value of described file is specially: under current store status, this document backup is " feasible " or " infeasible ", and whether its basis for estimation has enough remaining spaces to hold this document mirror image for the storage unit outside the physical memory cell at this document place;
The described remaining space that utilizes backs up and is specially the file that meets backup request: in other separate physical storage unit outside the physical memory cell at this document place, write the image file of this document, and the separate physical storage unit that is written into the file mirror image there are enough remaining spaces to hold this image file;
Step 380, show the fileinfo of hardware information, memory information and storage in memory device to the user;
Described hardware information comprises: other information of the failure message of memory device, memory device;
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data;
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost;
3) method of deleted file, step is as follows:
Step 410, receive removal request, deletes the file in memory device, deletes the file mirror image that content comprises original and may exist;
Step 420, read hardware information, memory information and the fileinfo of current memory device;
Described hardware information comprises: other information of the failure message of memory device, memory device;
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data;
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost;
Step 430, judge whether to need to arrange to optimize storage space, and judgment value is that "Yes" carry out step 440; Judgment value is that "No" carry out step 450;
Step 440, arrange and optimize storage space;
Described arrangement is optimized storage space and is comprised: file data storing is entered to the physical memory cell of appointment and the concrete memory address in physical memory cell, file data is shifted between different internal physical storage unit, the image file data of backup are deleted;
Step 450, analyze the file in the current state memory device, whether needs to carry out new backup policy.Judgment value is that "Yes" carry out step 460; Judgment value is that "No" carry out step 470;
Step 460, according to memory device residual capacity and file importance, automatic screening meets the file of backup request, utilizes remaining space to be backed up the file that meets backup request;
The file that described automatic screening meets backup request comprises: according to file attribute information, analyze the backup important level that obtains this document, and under current store status, the backup feasibility conclusion value of this document;
The file that described automatic screening meets backup request also comprises: by under current store status, file backup for " feasible " and the relatively high file of backup important level as the file that meets backup request;
Described file attribute comprises: the storage space information of the size information of file, the temporal information of file, file, the operation note information of file;
The backup feasibility conclusion value of described file is specially: under current store status, this document backup is " feasible " or " infeasible ", and whether its basis for estimation has enough remaining spaces to hold this document mirror image for the storage unit outside the physical memory cell at this document place;
The described remaining space that utilizes backs up and is specially the file that meets backup request: in other separate physical storage unit outside the physical memory cell at this document place, write the image file of this document, and the separate physical storage unit that is written into the file mirror image there are enough remaining spaces to hold this image file;
Step 470, show the fileinfo of hardware information, memory information and storage in memory device to the user;
Described hardware information comprises: other information of the failure message of memory device, memory device;
Described memory information comprises: total volume, write non-repeating data capacity, allow to write the capacity of new data;
Described fileinfo comprises: the fileinfo can read and the fileinfo of having lost.
CN201310403367.3A 2013-09-06 2013-09-06 A kind of apparatus and method of data protection of dynamic conditioning Expired - Fee Related CN103455391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310403367.3A CN103455391B (en) 2013-09-06 2013-09-06 A kind of apparatus and method of data protection of dynamic conditioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310403367.3A CN103455391B (en) 2013-09-06 2013-09-06 A kind of apparatus and method of data protection of dynamic conditioning

Publications (2)

Publication Number Publication Date
CN103455391A true CN103455391A (en) 2013-12-18
CN103455391B CN103455391B (en) 2016-04-20

Family

ID=49737793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310403367.3A Expired - Fee Related CN103455391B (en) 2013-09-06 2013-09-06 A kind of apparatus and method of data protection of dynamic conditioning

Country Status (1)

Country Link
CN (1) CN103455391B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166621A (en) * 2014-08-12 2014-11-26 联想(北京)有限公司 Data processing method and device
CN104731528A (en) * 2015-03-17 2015-06-24 清华大学 Construction method and system for storage service of cloud computing block
CN111241005A (en) * 2020-01-09 2020-06-05 杭州涂鸦信息技术有限公司 Key value pair-based safe partition storage method and system
WO2021135530A1 (en) * 2020-07-21 2021-07-08 平安科技(深圳)有限公司 Data recovery method and apparatus, electronic device, and medium
CN114546267A (en) * 2022-02-14 2022-05-27 深圳源创存储科技有限公司 Solid state disk based on big data calculation and solid state disk system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146286A (en) * 2007-08-30 2008-03-19 Tcl天一移动通信(深圳)有限公司 A data backup method for mobile terminal
CN101183337A (en) * 2007-12-12 2008-05-21 中兴通讯股份有限公司 Space management techniques based on NAND FLASH mobile terminal storage medium
CN101902498A (en) * 2010-07-02 2010-12-01 广州鼎甲计算机科技有限公司 Network technology based storage cloud backup method
US20120023297A1 (en) * 2010-07-22 2012-01-26 Yacov Duzly Using an add-on storage device for extending the storage capacity of a storage device
CN102456048A (en) * 2010-10-28 2012-05-16 无锡江南计算技术研究所 Method and system for processing mass data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146286A (en) * 2007-08-30 2008-03-19 Tcl天一移动通信(深圳)有限公司 A data backup method for mobile terminal
CN101183337A (en) * 2007-12-12 2008-05-21 中兴通讯股份有限公司 Space management techniques based on NAND FLASH mobile terminal storage medium
CN101902498A (en) * 2010-07-02 2010-12-01 广州鼎甲计算机科技有限公司 Network technology based storage cloud backup method
US20120023297A1 (en) * 2010-07-22 2012-01-26 Yacov Duzly Using an add-on storage device for extending the storage capacity of a storage device
CN102456048A (en) * 2010-10-28 2012-05-16 无锡江南计算技术研究所 Method and system for processing mass data

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166621A (en) * 2014-08-12 2014-11-26 联想(北京)有限公司 Data processing method and device
CN104166621B (en) * 2014-08-12 2018-12-14 联想(北京)有限公司 A kind of data processing method and device
CN104731528A (en) * 2015-03-17 2015-06-24 清华大学 Construction method and system for storage service of cloud computing block
CN104731528B (en) * 2015-03-17 2017-12-15 清华大学 A kind of construction method and system of cloud computing block storage service
CN111241005A (en) * 2020-01-09 2020-06-05 杭州涂鸦信息技术有限公司 Key value pair-based safe partition storage method and system
WO2021135530A1 (en) * 2020-07-21 2021-07-08 平安科技(深圳)有限公司 Data recovery method and apparatus, electronic device, and medium
CN114546267A (en) * 2022-02-14 2022-05-27 深圳源创存储科技有限公司 Solid state disk based on big data calculation and solid state disk system
CN114546267B (en) * 2022-02-14 2022-11-18 深圳源创存储科技有限公司 Solid state disk based on big data calculation and solid state disk system

Also Published As

Publication number Publication date
CN103455391B (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN103455391B (en) A kind of apparatus and method of data protection of dynamic conditioning
CN104571933B (en) Have the electronic installation and its corresponding control methods of solid-state storage element
CN201387448Y (en) Multi-functional electric energy meter with high-reliability data storage function
CN102902637B (en) Solid-state hard disk data power-off protection method
CN1971533A (en) Displaying method of memory information in data storage device
CN104216796A (en) Data backup and recovery method and electronic device
TWI470432B (en) Electronic system and flash memory managing method thereof
CN104659881A (en) Charging method and device for mobile terminal
CN103176867B (en) A kind of fast file differential backup method
CN106708960A (en) Restoration method for file system of NAS device and NAS device
CN203260027U (en) Backup device and data backup system
CN101394347A (en) Service data management method and system
CN103136487A (en) Method, device and system for managing data in hard disc hidden area
CN103207916A (en) Metadata processing method and device
US20100005252A1 (en) Storage control system
CN101394635A (en) Mobile terminal, information removing method and system thereof
CN107704548A (en) A kind of storage medium and storage method of object data, device and equipment
CN104252471A (en) Intelligent file management system
CN210776642U (en) Automatic disk splicing device for multiple TF cards
CN104504349B (en) A kind of Video data safe storage device and method
CN208903315U (en) Double storaged voice data boards with EMMC storage applied to GYK
CN102420856A (en) Data processing method and equipment
CN106557385A (en) Data snapshot method and storage device
CN202737968U (en) Double-storage recording telephone
CN106155257A (en) Electronic equipment and power-off protection method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160420

Termination date: 20200906