CN103455391B - A kind of apparatus and method of data protection of dynamic conditioning - Google Patents

A kind of apparatus and method of data protection of dynamic conditioning Download PDF

Info

Publication number
CN103455391B
CN103455391B CN201310403367.3A CN201310403367A CN103455391B CN 103455391 B CN103455391 B CN 103455391B CN 201310403367 A CN201310403367 A CN 201310403367A CN 103455391 B CN103455391 B CN 103455391B
Authority
CN
China
Prior art keywords
file
information
backup
memory device
module
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.)
Expired - Fee Related
Application number
CN201310403367.3A
Other languages
Chinese (zh)
Other versions
CN103455391A (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

Landscapes

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

Abstract

The invention discloses a kind of apparatus and method of data protection of dynamic conditioning.Device is made up of identification module, judge module, space sorting module, analysis backup module, file information block and views module.The method of protection comprises: the method for the display method of storage file, the method for writing in files and deleted file.The invention has the advantages that, when memory device do not lose simple ease for use and without the need to increasing extra storage, protection user data as much as possible.User, when using memory device of the present invention, does the operation of any Backup Data without the need to spending a lot of time and energy, also without the need to increasing extra storage hardware expense, the significant data inside memory device just can be allowed to obtain higher safe redundancy protecting.

Description

A kind of apparatus and method of data protection of dynamic conditioning
Technical field
The present invention relates to electronic technology field, the apparatus and method of specifically a kind of data protection of dynamic conditioning.
Background technology
Current era, increasing people stores information, protection information transinformation at portable, the portable memory device of use.Technology today, these memory device inside are made up of multiple physical memory cell usually.Such as: 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 multiple capacity relative to form and realize one and have more jumbo memory device, the problem of such process known production technology limit and Cost Problems.These physical memory cells have various display form according to different principles and technique, such as, and storage chip particle, magnetic disc disc etc.
These memory devices in use likely can because of the situation of the damage of a variety of causes generation hardware.Damage probably just wherein certain physical memory cell damage of this equipment be made up of multiple physical memory cell, 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 its son physical memory cell damage and all will cause overall loss of data.Information dropout can bring irreversible loss to user.
In addition on the one hand, the institute of this equipment can not have living space at the most of time of these memory devices of use and be filled with data by user, the data that even user stores are a very little part for this equipment total volume, ubiquity the low phenomenon of memory device Spatial Residual part practical efficiency, the remaining space of memory device is in idle state for subsequent use substantially, and hardware resource is not fully utilized.
Summary of the invention
The object of this invention is to provide a kind of apparatus and method of data protection of dynamic conditioning.Do not lose simple ease for use at memory device, without the need to increasing extra storage, protection user data as much as possible.User, when using with memory device of the present invention, does the operation of any Backup Data without the need to spending a lot of time and energy, also without the need to increasing extra storage hardware expense, the significant data inside memory device just can be allowed to obtain higher safe protection.
The technical scheme that the present invention solves the problems of the technologies described above is as follows:
1. a device for the data protection of dynamic conditioning, is characterized in that, this device comprises: identify dispensing module, judge module, space sorting module, analyze backup module, file information block and views module,
1) identify dispensing module, function is to identify and obtains hardware information and the file attribute information of memory device, and the provide and deliver hardware information and file attribute information that get, 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 storing date and time information, document size information, user operation records information, file;
2) judge module, function is that analysis judges whether to need to arrange to optimize storage space to meet new data write requirement, and meets the space structure requirement performed needed for backup policy; Judge whether that needing to perform new backup policy makes full use of free space resource to maximize protected data to meet;
3) space sorting module, function is the memory address adjusting deposit data, deletes provisional data, reaches Free up Memory, optimizes the object of space structure.
Described provisional data comprise: the ephemeral data that adjustment deposit data address produces 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 performs backup;
5) file information block, function is record and storage file attribute information;
Described file attribute information comprises: the storage address information storing date and time information, document size information, user operation records information, file;
6) views module, function be memory device is current in hardware information, memory information, fileinfo export with specific presentation mode;
Described specific presentation mode exports and comprises: hardware information, memory information, the fileinfo of specialized detailed output memory device; Be converted into the form 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, analyze backup module, file information block, views module and to provide and deliver model calling with identification respectively;
Judge module judges whether to need to arrange to optimize storage space to meet new data write requirement, and meet the space structure requirement performed needed for backup policy, when the judgment value arranging optimization storage space is that "Yes" judge module passes through to identify dispensing module, sends to space sorting module and arrange the instruction of optimization storage space;
Judge module judges whether that needing to perform new backup policy makes full use of free space resource to maximize protected data to meet, when the judgment value performing new backup policy is that "Yes" judge module passes through to identify dispensing module, sends to analysis backup module and perform new backup policy instruction;
Space sorting module is by identifying that dispensing module receives the execution instruction of judge module, and the memory address of adjustment deposit data, deletes provisional data, reaches Free up Memory, optimizes the object of space structure;
Analysis backup module, by identifying that dispensing module receives the execution instruction of judge module, the backup important level of foundation memory device residual capacity and stored file, generates backup policy and also performs backup;
Analyze backup module by identifying dispensing module, acquisition fileinfo and current state hardware of memory device information are as the analysis foundation formulating backup policy;
Views module is by identifying dispensing module, the hardware of memory device information got and file attribute information, and the hardware information during memory device is current, memory information, fileinfo export and present.
2. the method for the data protection of a dynamic conditioning, can realize arranging and optimize storage space, automatic screening meets the file of backup request, the effect utilizing remaining space to back up the file meeting backup request, makes user data have higher safe guarantee; The method of protection comprises: the method for the display method of storage file, the method for writing in files and deleted file.
1) show the method for storage file, step is as follows:
Step 210, reads the fileinfo of the hardware information of memory device, memory information and storage;
Step 220, presents to user with some form by the hardware information got, memory information, fileinfo;
Described hardware information comprises: the failure message of memory device, other information of memory device;
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data;
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost;
Described specific presentation mode exports and comprises: hardware information, memory information, the fileinfo of specialized detailed output memory device; Be converted into the form 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, receives external documents write request;
Step 320, reads the hardware information of memory device, memory information and storage file content;
Described hardware information comprises: the failure message of memory device, other information of memory device;
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data;
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost;
Step 330, judge whether to need to arrange to optimize storage space, judgment value is "Yes", starts step 340; Judgment value is "No", starts step 350;
Step 340, arranges and optimizes storage space;
Described arrangement is optimized storage space and is comprised: the concrete memory address in the physical memory cell enter to specify by file data storing and physical memory cell; File data is shifted between different internal physical storage unit; The image file data partly or entirely backed up 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 current state memory device, automatic screening meets the file of backup request, utilizes remaining space to back up the file meeting backup request;
The file that described automatic screening meets backup request comprises: according to file attribute information, analyzes the backup important level obtaining this file, and under current storage status, the backup feasibility conclusion value of this file;
The file that described automatic screening meets backup request also comprises: by under current storage status, and file backup is that " feasible " and the relatively high file of backup important level are as the file meeting 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 storage status, this file backup is " feasible " or " infeasible ", and its basis for estimation is whether the storage unit outside the physical memory cell at this file place has enough remaining spaces to hold this file mirrors;
Describedly utilize remaining space to carry out backup to the file meeting backup request to be specially: in other separate physical storage unit outside the physical memory cell at this file place, write the image file of this file, and the separate physical storage unit being written into file mirrors there are enough remaining spaces to hold this image file;
Step 380, shows the fileinfo of the hardware information in memory device, memory information and storage to user;
Described hardware information comprises: the failure message of memory device, other information of memory device;
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data;
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost;
3) method of deleted file, step is as follows:
Step 410, receives removal request, deletes the file in memory device, deletes the file mirrors that content comprises original and may exist;
Step 420, reads the hardware information of current storage devices, memory information and fileinfo;
Described hardware information comprises: the failure message of memory device, other information of memory device;
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data;
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost;
Step 430, judge whether to need to arrange to optimize storage space, judgment value is that "Yes" carry out step 440; Judgment value is that "No" carry out step 450;
Step 440, arranges and optimizes storage space;
Described arrangement is optimized storage space and is comprised: the concrete memory address in the physical memory cell enter to specify by file data storing and physical memory cell, file data is shifted between different internal physical storage unit, the image file data of backup are deleted;
Step 450, analyzes the file in current state memory device, the need of performing 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 back up the file meeting backup request;
The file that described automatic screening meets backup request comprises: according to file attribute information, analyzes the backup important level obtaining this file, and under current storage status, the backup feasibility conclusion value of this file;
The file that described automatic screening meets backup request also comprises: by under current storage status, and file backup is that " feasible " and the relatively high file of backup important level are as the file meeting 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 storage status, this file backup is " feasible " or " infeasible ", and its basis for estimation is whether the storage unit outside the physical memory cell at this file place has enough remaining spaces to hold this file mirrors;
Describedly utilize remaining space to carry out backup to the file meeting backup request to be specially: in other separate physical storage unit outside the physical memory cell at this file place, write the image file of this file, and the separate physical storage unit being written into file mirrors there are enough remaining spaces to hold this image file;
Step 470, shows the fileinfo of the hardware information in memory device, memory information and storage to user;
Described hardware information comprises: the failure message of memory device, other information of memory device;
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data;
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost;
The present invention's advantage is compared with prior art:
1. use the present invention, user data obtains higher safety guarantee than using general memory device.When certain physical memory cell of memory device damages, user still can obtain data by the image file read in another physical memory cell of memory device.
2. from user level, except storing the space of former data to have living space be all the remaining space of user.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, made full use of, also do not need to increase extra storage space to idle storage space.When user uses under the such extreme case of whole storage spaces, the security of file data is equal to the file security in general memory device.But when the storage space that user uses is less, remaining space is abundant, can there is a corresponding image file at multiple physical memory cell in file data, these file datas will obtain high safeguard protection.
3., according to the use dynamic conditioning backup policy of capacity, the file that automatic analysis screening backup important level is high backs up.The safe class of vital document is promoted under limited hardware condition., remaining space less at storage file when user uses the storage space of memory device is more, can there is a corresponding image file at multiple physical memory cell in file data, these file datas will obtain high safeguard protection.
4. all backup procedures complete automatically, can not increase any running cost to user.User uses the memory device with memory device of the present invention is just common with use the same simple and convenient.
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.
Accompanying drawing explanation
Fig. 1 is a kind of structure drawing of device of dynamic adjusting data redundancy protecting.
In figure, identify dispensing module 110, judge module 120, space sorting module 130, analyze backup module 140, file information block 150, views module 160.
Fig. 2 is a kind of process flow diagram of device display storage file of dynamic adjusting data redundancy protecting.
Fig. 3 is a kind of process flow diagram of device writing in files of dynamic adjusting data redundancy protecting.
Fig. 4 is a kind of process flow diagram of device deleted file of dynamic adjusting data redundancy protecting.
Embodiment
Below in conjunction with accompanying drawing, the present invention is specifically described.
1. the apparatus structure of the data protection of a dynamic conditioning as shown in Figure 1; a kind of device of dynamic adjusting data redundancy protecting; can realize arranging and optimize storage space; automatic screening meets the file of backup request; the function utilizing remaining space to back up the file meeting backup request, makes user data have higher safe guarantee.
This device comprises: identify dispensing module 110, judge module 120, space sorting module 130, analyze backup module 140, file information block 150 and views module 160.
1) identify dispensing module 110, function is to identify and obtains hardware information and the file attribute information of memory device, and the provide and deliver hardware information and file attribute information that get, 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 storing date and time information, user operation records information, file.
2) judge module 120, function is that analysis judges whether to need to arrange to optimize storage space to meet new data write requirement, and meets the space structure requirement performed needed for backup policy; Judge whether that needing to perform new backup policy makes full use of free space resource to maximize protected data to meet.
3) space sorting module 130, function is the memory address adjusting deposit data, deletes provisional data, reaches Free up Memory, optimizes the object of space structure.
Described provisional data comprise: the ephemeral data that adjustment deposit data address produces 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 performs backup.
5) file information block 150, function is to record and the attribute information of storage file.
Described file attribute information comprises: the storage address information storing date and time information, user operation records information, file.
6) views module 160, function be memory device is current in hardware information, memory information, fileinfo export and present.
Described specific presentation mode exports and comprises: hardware information, memory information, the fileinfo of specialized detailed output memory device; Be converted into the form 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, analyze backup module 140, file information block 150, views module 160 and be connected with identification module 110 of providing and delivering respectively.
Judge module 120 judges whether to need to arrange to optimize storage space to meet new data write requirement and to meet the space structure requirement performed needed for backup policy, when the judgment value arranging optimization storage space is that "Yes" judge module 120 passes through to identify dispensing module 110, sends to space sorting module 130 and arrange the instruction of optimization storage space.
Judge module 120 judges whether that needing to perform new backup policy makes full use of free space resource to maximize protected data to meet; when the judgment value performing new backup policy is that "Yes" judge module 120 passes through to identify dispensing module 110, sends to analysis backup module 140 and perform new backup policy instruction.
Space sorting module 130 is by identifying that dispensing module 110 receives the execution instruction of judge module 120, and the memory address of adjustment deposit data, deletes provisional data, reaches Free up Memory, optimizes the object of space structure.
Analyze backup module 140 by identifying that dispensing module 110 receives the execution instruction of judge module 120, the backup important level of foundation memory device residual capacity and stored file, generates backup policy and performs backup.
Analyze backup module 140 by identifying dispensing module 110, the fileinfo in file reading information module 140 is as the analysis foundation formulating backup policy.
Views module 160 is by identifying dispensing module 110, the hardware of memory device information got and file attribute information, and the hardware information during memory device is current, memory information, fileinfo export and present.
2. the method for the data protection of a dynamic conditioning; can realize arranging and optimize storage space; automatic screening meets the file of backup request, the effect utilizing remaining space to back up the file meeting backup request, makes user data have higher safe guarantee.
A kind of method of data protection of dynamic conditioning comprises: method, the method for writing in files, the method for deleted file of display storage file.
1) show the method for storage file as shown in Figure 2, the method step of display storage file is as follows:
Step 210, by identifying that dispensing module 110 reads the fileinfo of the hardware information of memory device, memory information and storage, and is sent to views module 160.
Step 220, to be shown the fileinfo of the hardware information in memory device, memory information and storage to user by views module 160.
Described hardware information comprises: the failure message of memory device, other information of memory device.
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data.
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost.
2) method of writing in files is as shown in Figure 3, and the method step of writing in files is as follows:
Step 310, receives external documents write request.
Step 320, by identifying that dispensing module 110 reads the hardware information of memory device, memory information and storage file content.
Step 330, judged whether to need to arrange to optimize storage space by judge module 120, judgment value is that "Yes" starts step 340, and judgment value is that "No" starts step 350.
Step 340, arranges optimization storage space by space sorting module 130.
Described arrangement is optimized storage space and is comprised: the concrete memory address in the physical memory cell enter to specify by file data storing and physical memory cell, file data is shifted between different internal physical storage unit, the image file data of backup are deleted.
Step 350, writes new file by memory device.
Step 360, judged whether to need backup by judge module 120, judgment value is that "Yes" starts step 370, and judgment value is that "No" starts step 380.
Step 370, analyzes the file in current state memory device by analysis and processing module 130, and automatic screening meets the file of backup request, utilizes remaining space to back up the file meeting backup request.
The file that described automatic screening meets backup request comprises: according to file attribute information, analyzes the backup important level obtaining this file, and under current storage status, the backup feasibility conclusion value of this file.
The file that described automatic screening meets backup request also comprises: by under current storage status, and file backup is that " feasible " and the relatively high file of backup important level are as the file meeting 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 storage status, this file backup is " feasible " or " infeasible ", and its basis for estimation is whether the storage unit outside the physical memory cell at this file place has enough remaining spaces to hold this file mirrors.
Describedly utilize remaining space to carry out backup to the file meeting backup request to be specially: in other separate physical storage unit outside the physical memory cell at this file place, write the image file of this file, and the separate physical storage unit being written into file mirrors there are enough remaining spaces to hold this image file.
Step 380, to be shown the fileinfo of the hardware information in memory device, memory information and storage to user by views module 160.
Described hardware information comprises: the failure message of memory device, other information of memory device.
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data.
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost;
3) method of deleted file is as shown in Figure 4, and the method step of deleted file is as follows:
Step 410, receives removal request, deletes the file in memory device, deletes the file mirrors that content comprises original and may exist.
Step 420, reads the hardware information of current storage devices, memory information and fileinfo by identification module 110.
Step 430, judged whether to need to arrange to optimize storage space by judge module 120, judgment value is that "Yes" starts step 440, and judgment value is that "No" starts step 450.
Step 440, arranges optimization storage space by space sorting module 130.
Described arrangement is optimized storage space and is comprised: the concrete memory address in the physical memory cell enter to specify by file data storing and physical memory cell, file data is shifted between different internal physical storage unit, the image file data of backup are deleted.
Step 450, analyzes the file in current state memory device by judge module 120, the need of performing new backup policy.Judgment value is that "Yes" starts step 460, and judgment value is that "No" starts step 470;
Step 460, by analysis backup module 140 according to memory device residual capacity and file importance, automatic screening meets the file of backup request, utilizes remaining space to back up the file meeting backup request.
The file that described automatic screening meets backup request comprises: according to file attribute information, analyzes the backup important level obtaining this file, and under current storage status, the backup feasibility conclusion value of this file.
The file that described automatic screening meets backup request also comprises: by under current storage status, and file backup is that " feasible " and the relatively high file of backup important level are as the file meeting 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 storage status, this file backup is " feasible " or " infeasible ", and its basis for estimation is whether the storage unit outside the physical memory cell at this file place has enough remaining spaces to hold this file mirrors.
Describedly utilize remaining space to carry out backup to the file meeting backup request to be specially: in other separate physical storage unit outside the physical memory cell at this file place, write the image file of this file, and the separate physical storage unit being written into file mirrors there are enough remaining spaces to hold this image file.
Step 470, to be shown the fileinfo of the hardware information in memory device, memory information and storage to user by views module 160.
Described hardware information comprises: the failure message of memory device, other information of memory device.
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data.
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost;
Invention has been described in above concrete enforcement.It should be noted that; the present invention is not limited to above-mentioned particular implementation; those skilled in the art can also use the additive method of prior art to complete this step; under the prerequisite not departing from the principle of the invention and method; can also make some improvements and modifications, these improve and ought to be considered as protection scope of the present invention with retouching.

Claims (2)

1. a device for the data protection of dynamic conditioning, is characterized in that, this device comprises: identify dispensing module, judge module, space sorting module, analyze backup module, file information block and views module,
1) identify dispensing module, function is to identify and obtains hardware information and the file attribute information of memory device, and the provide and deliver hardware information and file attribute information that get, 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 storing date and time information, document size information, user operation records information, file;
2) judge module, function is that analysis judges whether to need to arrange to optimize storage space to meet new data write requirement, and meets the space structure requirement performed needed for backup policy; Judge whether that needing to perform new backup policy makes full use of free space resource to maximize protected data to meet;
3) space sorting module, function is the memory address adjusting deposit data, deletes provisional data, reaches Free up Memory, optimizes the object of space structure;
Described provisional data comprise: the ephemeral data that adjustment deposit data address produces 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 performs backup;
5) file information block, function is record and storage file attribute information;
Described file attribute information comprises: the storage address information storing date and time information, document size information, user operation records information, file;
6) views module, function be memory device is current in hardware information, memory information, fileinfo export with specific presentation mode;
Described specific presentation mode exports and comprises: hardware information, memory information, the fileinfo of specialized detailed output memory device; Be converted into the form output that domestic consumer is beneficial to understanding;
The connection of each module and running:
Judge module, space sorting module, analyze backup module, file information block, views module and to provide and deliver model calling with identification respectively;
Judge module judges whether to need to arrange to optimize storage space to meet new data write requirement, and meet the space structure requirement performed needed for backup policy, when the judgment value arranging optimization storage space is that "Yes" judge module passes through to identify dispensing module, sends to space sorting module and arrange the instruction of optimization storage space;
Judge module judges whether that needing to perform new backup policy makes full use of free space resource to maximize protected data to meet, when the judgment value performing new backup policy is that "Yes" judge module passes through to identify dispensing module, sends to analysis backup module and perform new backup policy instruction;
Space sorting module is by identifying that dispensing module receives the execution instruction of judge module, and the memory address of adjustment deposit data, deletes provisional data, reaches Free up Memory, optimizes the object of space structure;
Analysis backup module, by identifying that dispensing module receives the execution instruction of judge module, the backup important level of foundation memory device residual capacity and stored file, generates backup policy and also performs backup;
Analyze backup module by identifying dispensing module, acquisition fileinfo and current state hardware of memory device information are as the analysis foundation formulating backup policy;
Views module is by identifying dispensing module, the hardware of memory device information got and file attribute information, and the hardware information during memory device is current, memory information, fileinfo export and present.
2. the method for the data protection of a dynamic conditioning, it is characterized in that, can realize arranging and optimize storage space, automatic screening meets the file of backup request, the effect utilizing remaining space to back up the file meeting backup request, makes user data have higher safe redundancy protecting; The method comprises: the method for the display method of storage file, the method for writing in files and deleted file:
1) show the method for storage file, step is as follows:
Step 210, reads the fileinfo of the hardware information of memory device, memory information and storage;
Step 220, exports the hardware information got, memory information, fileinfo with specific presentation mode and presents to user;
Described hardware information comprises: the failure message of memory device, other information of memory device;
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data;
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost;
Described specific presentation mode exports and comprises: hardware information, memory information, the fileinfo of specialized detailed output memory device; Be converted into the form output that domestic consumer is beneficial to understanding;
2) method of writing in files, step is as follows:
Step 310, receives external documents write request;
Step 320, reads the hardware information of memory device, memory information and storage file content;
Described hardware information comprises: the failure message of memory device, other information of memory device;
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data;
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost;
Step 330, judge whether to need to arrange to optimize storage space, judgment value is "Yes", starts step 340; Judgment value is "No", starts step 350;
Step 340, arranges and optimizes storage space;
Described arrangement is optimized storage space and is comprised: the concrete memory address in the physical memory cell enter to specify by file data storing and physical memory cell; File data is shifted between different internal physical storage unit; The image file data partly or entirely backed up are deleted;
Step 350, writes new file in memory device;
Step 360, whether discriminatory analysis needs to upgrade backup policy, and judgment value is that "Yes" carry out step 370; Judgment value is that "No" carry out step 380;
Step 370, analyze the file in current state memory device, automatic screening meets the file of backup request, utilizes remaining space to back up the file meeting backup request;
The file that described automatic screening meets backup request comprises: according to file attribute information, analyzes the backup important level obtaining this file, and under current storage status, the backup feasibility conclusion value of this file;
The file that described automatic screening meets backup request also comprises: by under current storage status, and file backup is that " feasible " and the relatively high file of backup important level are as the file meeting 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 storage status, this file backup is " feasible " or " infeasible ", and its basis for estimation is whether the storage unit outside the physical memory cell at this file place has enough remaining spaces to hold this file mirrors;
Describedly utilize remaining space to carry out backup to the file meeting backup request to be specially: in other separate physical storage unit outside the physical memory cell at this file place, write the image file of this file, and the separate physical storage unit being written into file mirrors there are enough remaining spaces to hold this image file;
Step 380, shows the fileinfo of the hardware information in memory device, memory information and storage to user;
Described hardware information comprises: the failure message of memory device, other information of memory device;
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data;
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost;
3) method of deleted file, step is as follows:
Step 410, receives removal request, deletes the file in memory device, deletes the file mirrors that content comprises original and may exist;
Step 420, reads the hardware information of current storage devices, memory information and fileinfo;
Described hardware information comprises: the failure message of memory device, other information of memory device;
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data;
Described fileinfo comprises: the fileinfo that can read and the fileinfo lost;
Step 430, judge whether to need to arrange to optimize storage space, judgment value is that "Yes" carry out step 440; Judgment value is that "No" carry out step 450;
Step 440, arranges and optimizes storage space;
Described arrangement is optimized storage space and is comprised: the concrete memory address in the physical memory cell enter to specify by file data storing and physical memory cell, file data is shifted between different internal physical storage unit, the image file data of backup are deleted;
Step 450, analyzes the file in current state memory device, and the need of performing 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 back up the file meeting backup request;
The file that described automatic screening meets backup request comprises: according to file attribute information, analyzes the backup important level obtaining this file, and under current storage status, the backup feasibility conclusion value of this file;
The file that described automatic screening meets backup request also comprises: by under current storage status, and file backup is that " feasible " and the relatively high file of backup important level are as the file meeting 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 storage status, this file backup is " feasible " or " infeasible ", and its basis for estimation is whether the storage unit outside the physical memory cell at this file place has enough remaining spaces to hold this file mirrors;
Describedly utilize remaining space to carry out backup to the file meeting backup request to be specially: in other separate physical storage unit outside the physical memory cell at this file place, write the image file of this file, and the separate physical storage unit being written into file mirrors there are enough remaining spaces to hold this image file;
Step 470, shows the fileinfo of the hardware information in memory device, memory information and storage to user;
Described hardware information comprises: the failure message of memory device, other information of memory device;
Described memory information comprises: the capacity of total volume, the capacity writing non-duplicate data, permission write new data;
Described fileinfo comprises: the fileinfo that can read and the fileinfo 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 CN103455391A (en) 2013-12-18
CN103455391B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166621B (en) * 2014-08-12 2018-12-14 联想(北京)有限公司 A kind of data processing method and device
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
CN111831485B (en) * 2020-07-21 2023-01-13 平安科技(深圳)有限公司 Data recovery method, device, electronic equipment and medium
CN114546267B (en) * 2022-02-14 2022-11-18 深圳源创存储科技有限公司 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

Also Published As

Publication number Publication date
CN103455391A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
CN103455391B (en) A kind of apparatus and method of data protection of dynamic conditioning
US9165667B2 (en) Electronic device with solid state drive and associated control method
CN102902637B (en) Solid-state hard disk data power-off protection method
CN104010151A (en) Method for compressing monitoring video file
CN105893173A (en) Caching data processing method and device
CN106155596A (en) Method for writing data and device
CN103019891A (en) Method and system for restoring deleted file
CN106708960A (en) Restoration method for file system of NAS device and NAS device
CN102622281A (en) Intelligent terminal and method of data backup and restore thereof
CN103176867B (en) A kind of fast file differential backup method
CN203260027U (en) Backup device and data backup system
CN103207916A (en) Metadata processing method and device
CN101848274A (en) Methods and devices for backup and recovery of records in mobile terminal
CN109960608A (en) The processing method and processing system of office document
CN104615948A (en) Method for automatically recognizing file completeness and restoring
CN203164957U (en) Enterprise-level data base backup system
CN203025717U (en) File encrypting data loading device based on hot-swap function
CN105488047A (en) Metadata read-write method and device
CN210776642U (en) Automatic disk splicing device for multiple TF cards
CN107957922A (en) A kind of memory power-off protection method
CN103312713A (en) Security association negotiation method and device, and network equipment
CN208903315U (en) Double storaged voice data boards with EMMC storage applied to GYK
CN104252471A (en) Intelligent file management system
CN107436826A (en) A kind of cold data processing method and terminal
CN103049221A (en) Method and device for processing disk array cache memory flash

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

Granted publication date: 20160420

Termination date: 20200906

CF01 Termination of patent right due to non-payment of annual fee