1. Field of the Invention
The present invention relates to a data protection system and method, particularly to a data protection system and method using a mirror-technology to periodically backup data and keep security and intactness of data.
2. Description of the Related Art
The global popularization of the Internet and computers greatly shortens the distance between people and realizes such as SOHO (Small Office/Home Office), distance education, and videoconference. However, the Internet and computers also bring about problems, such as computer virus infection and disc damage, and important data may thus vanish. Further, frequently or long-time using the same hard drive may also cause loss or damage of data in the hard drive. Therefore, preserving data is a very important task in using a computer.
Accordingly, the present invention proposes a data protection system and method to solve the above-mentioned problems.
The primary objective of the present invention is to provide a data protection system and method, which periodically and alternately backup data in different storage devices to preserve data and use all the storage devices averagely to prolong the service lives of storage devices.
Another objective of the present invention is to provide a data protection system and method, which use a mirror-technology to keep security and intactness of data and provides users with an effective data protection measure.
The present invention proposes a data protection system and method, which apply to a computer device. The computer device has a data protection system. The data protection system contains or links to at least two storage units. The computer device assigns at least one storage unit of the data protection system to be a first memory zone, and assigns at least one storage unit of the data protection system to be a second memory zone. When the first memory zone is used as the active memory zone, the second memory zone is used as the backup memory zone. When the second memory zone is used as the active memory zone, the first memory zone is used as the backup memory zone. When the first memory zone is used as the active memory zone, the data of at least one arbitrary storage unit A of the first memory zone is backuped to the storage units B of the second memory zone after an interval of time. During the following usage of the computer device, the unbackuped storage units of the first memory zone and the storage units B of the second memory zone are used as the active memory zone; the storage units A of the first memory zone and the unused storage units of the second memory zone are used as the backup memory zone. Then, the computer device waits for a timing to perform another cycle of data backup procedures mentioned above.
The present invention uses a mirror technology to backup data, wherein identical data is written into one or more storage units to guarantee the security of data. When one storage unit malfunctions, data can be retrieved from another storage unit and written back to the malfunctioning storage unit. In the present invention, the storage units backup data periodically and alternately, and the storage units are thus averagely used. Therefore, the present invention can prolong the service lives of storage units and guarantee the intactness and security of data. Therefore, the present invention can provide an effective data protection method and solve the conventional problem that the data in storage units is damaged or lost by frequently or long-time using the same storage units.
Below, the embodiments are described in detail in cooperation with the attached drawings to make easily understood the objectives, technical contents, characteristics and accomplishments of the present invention.
Refer to
The data processing module 18 links to the transformation module 16, at least two storage units 22 and a timer module 20. The computer device 12 uses the transformation module 16 and the data processing module 18 to read or delete the data in the storage devices 22. The transformation module 16 transforms the data format used in the data protection system 14 into the format suitable to the computer device 12. The computer device 12 uses the timer module 20 to statistically calculate backup timing and arranges the data backup sequence according to the backup timing. The storage units 22 are multimedia storage devices, such as SSD (Solid State Disc) or traditional hard drives. In this embodiment, SSD is used.
In this embodiment, the timer module 20 and the at least two storage units 22 are built inside the data protection system 14. In fact, the present invention does not demand that the storage units 22 should be built inside the data protection system 14 but only requires that the storage units 22 be electrically coupled to the data protection system 14. In this embodiment, one storage unit 22 is an individual SSD or an individual traditional hard drive. In fact, a hard drive can be divided into many partitions, and each partition is used as one storage unit 22, in the present invention.
The abovementioned process that the computer device controls the backup sequence of the storage units is exactly the spirit of the data protection method disclosed in the present invention. Below, the method of the present invention is described in cooperation with
In Step S10, the computer device assigns at least one storage unit of the data protection system to be a first memory zone, and assigns at least one storage unit of the data protection system to be a second memory zone.
Next, the process proceeds to Step S12 or Step S14. In Step S12, the first memory zone is used as the active memory zone, and the second memory zone is used as the backup memory zone. In Step S14, the second memory zone is used as the active memory zone, and the first memory zone is used as the backup memory zone. The computer device can access the active memory zone in real time, but the computer device cannot access the backup memory zone at the same time.
After Step S12, the process proceeds to Step S16. In Step S16, the data of at least one arbitrary storage unit A of the first memory zone is backuped to the storage units B of the second memory zone after an interval of time. During the following usage of the computer device, the unbackuped storage units of the first memory zone and the storage units B of the second memory zone are used as the active memory zone; the storage units A of the first memory zone and the unused storage units of the second memory zone are used as the backup memory zone. The quantity of the storage units A is identical to the quantity of the storage units B. Data backup is realized with a mirror-technology. Next, the process proceeds to Step S18. In Step S18, the computer device waits for the timing determined by the timer module to start the next cycle of Step S16.
After Step S14, the process proceeds to Step S20. In Step S20, the data of at least one arbitrary storage unit C of the second memory zone is backuped to the storage units D of the first memory zone after an interval of time. During the following usage of the computer device, the unbackuped storage units of the second memory zone and the storage units D of the first memory zone are used as the active memory zone; the storage units C of the second memory zone and the unused storage units of the first memory zone are used as the backup memory zone. The quantity of the storage units C is identical to the quantity of the storage units D. Data backup is realized with a mirror-technology. Next, the process proceeds to Step S22. In Step S22, the computer device waits for the timing determined by the timer module to start the next cycle of Step S20.
Suppose that the quantity of the storage units of the data protection system of the present invention is K, and that the quantity of the storage units of the first memory zone is M, and that the quantity of the storage units of the second memory zone is N. K, M and N have to satisfy the equation K=M+N, wherein K, M and N are positive integers, and K is greater than or equal to 2, and M or N is greater than or equal to 1.
Based on the abovementioned principle, several embodiments are introduced below. Refer to
Refer to
After a storage unit has been frequently used for a long time, data of the storage unit may be lost or damaged. The mirror-technology constantly writes the completely identical data to one or more storage units to persistently backup the data. If one storage unit malfunctions, the data can be read from another storage unit and written back to the malfunctioning storage unit. In the present invention, the storage units periodically exchange to backup data, whereby the storage units are averagely used, and the service lives thereof are prolonged. Further, the present invention uses the mirror-technology to keep security and intactness of data and provides users with an effective data protection method.
The present invention may also apply to a single storage device (ex: hard drive SSD), wherein the single storage device is split into a first partition and a second partition. The architecture of the system and the process of the method of this embodiment are similar to those mentioned above and will not repeat herein.
Refer to
The embodiments described above are only to exemplify the present invention but not to limit the scope of the present invention. Therefore, any equivalent modification or variation according to the shapes, structures, characteristics and spirits of the present invention is to be also included within the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
097131097 | Aug 2008 | TW | national |
097214644 | Aug 2008 | TW | national |