Duplex Data System Recovery After Power Failure
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional duplex data systems fail to ensure data reliability and recovery in portable terminals due to abnormal power failures during data writing, leading to potential data destruction and inability to recover from such events.
Innovation Solution
A duplex data system design that writes data sequentially into two storage devices, with a status table and write flags to track writing states, allowing for determination of which device was writing data at the time of a power failure, ensuring that only the unaffected data is used for recovery.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data are written simultaneously into two storage devices in a conventional duplex data system, then data redundancy is achieved for protection against storage device failure, but abnormal power failures during writing can destroy data in both storage devices, making system recovery impossible
Solution Approach 1:
The patent applies preliminary action by completing the writing of data into the first storage device before starting to write into the second storage device. This sequential approach ensures that at least one storage device always contains complete, valid data, preventing total data loss during abnormal power failures. The system performs the critical action of securing data in one device before exposing the second device to potential corruption risks.
Solution Approach 2:
The patent implements beforehand cushioning by maintaining a temporal gap between writing operations to different storage devices. This cushioning period ensures that even if power fails during the process, one storage device remains protected with complete data, acting as a buffer against total data loss. The status table and write flags provide additional cushioning by tracking the writing state and enabling recovery.
2Object-affected harmful factors
If data are written sequentially into storage devices, then data protection during power failure is improved, but the writing process takes longer compared to simultaneous writing
Solution Approach 1:
The patent applies partial action by writing data to storage devices in a staged manner rather than all at once or waiting for complete duplication before considering the operation done. The system writes to the first device, then proceeds to the second device sequentially. This partial progression through the writing process balances protection needs with time efficiency, avoiding the excessive caution of waiting for absolute completion of all writes while still maintaining adequate safeguards.
3Ease of repair
If the duplex data system uses status tables and write flags to track writing states, then system recovery after power failure is enabled, but device complexity increases
Solution Approach 1:
The patent implements feedback mechanisms through status tables and write flags that continuously track the writing state of data across storage devices. When power is restored after a failure, the system reads these status indicators to determine which storage device contains valid data and needs recovery. This feedback loop enables automatic recovery without complex manual intervention, as the status information guides the restoration process systematically.
Solution Approach 2:
The system applies self-service by using the status table and write flags to automatically determine the recovery path without external intervention. When power is restored, the system autonomously checks the status indicators, identifies which storage device has valid data, and initiates the appropriate recovery actions. This self-diagnosis and self-recovery capability reduces the need for complex external repair mechanisms.
Data Source
AI summary
A duplex data system performs a recovery process normally even in the event of an abrupt abnormal power failure. The duplex data system has a first storage device, a second storage device, and a control unit for duplicating data by storing the data in the first storage device and the second storage device. For duplicating the data, the control unit first writes the data into the first storage device and, after having completed the writing of the data into the first storage device, writes the data into the second storage device.


