Log File Data Backup Using Dual Non-Volatile Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing data backup processes are hindered by slow data backup speeds, particularly in abnormal situations, leading to potential data loss and insecurity in memory storage.
Innovation Solution
A data processing device and method that utilizes a control unit to write data into memory and a first non-volatile storage unit in log file form, with the log file then being written into a second non-volatile storage unit, where the first non-volatile storage unit has a higher write speed than the second, ensuring fast backup and data recovery.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data is written into non-volatile storage medium for backup, then data security is ensured, but data backup speed becomes slow
Solution Approach 1:
The patent segments the backup process into two stages: first writing data to a high-speed non-volatile storage medium (NAND flash) for immediate backup, then asynchronously transferring the backup data to a low-speed storage medium (hard disk) for long-term archiving. This segmentation allows the system to achieve both fast backup speed and high data security without being constrained by the slow transfer speed of traditional direct-to-hard-disk backup methods.
2Speed
If data is written into memory for fast access, then data access speed is improved, but data loss occurs upon abnormal power failure
Solution Approach 1:
The patent implements preliminary action by writing data to the high-speed non-volatile storage medium (NAND flash) immediately when data is written to memory, creating a backup before any potential power failure can occur. This preliminary backup ensures that even if power is lost, the data in memory can be recovered from the non-volatile storage medium, thus maintaining both fast access speed and data security.
3Quantity of substance
If large-capacity non-volatile storage medium is used for backup, then data capacity is increased, but data access speed becomes slow
Solution Approach 1:
The patent applies local quality by assigning different storage mediums to different functional requirements: the high-speed non-volatile storage medium (NAND flash) is used for active backup and recovery operations requiring fast access, while the low-speed large-capacity storage medium (hard disk) is used for long-term archiving where speed is less critical. This localized optimization ensures that data capacity is increased without sacrificing the speed required for critical backup and recovery operations.
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
Embodiments of the present invention provide a data processing device and a data processing method, to solve a problem in the prior art that data security in a memory is not high because a data backup speed in the memory is not fast. In the data processing device and the data processing method provided by the embodiments of the present invention, first data in a memory is written into a first non-volatile storage unit in a log file form, and a log file of the first data written into the first non-volatile storage unit is written into a second non-volatile storage unit. Because a data write speed of the first non-volatile storage unit is higher than a data write speed of the second non-volatile storage unit, fast backup of the data in the memory can be achieved, and when the data in the memory is lost in an abnormal situation, security of the data in the memory can be ensured.