Backup Boot Mechanism for Storage Failure Recovery
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional computer devices fail to boot when the storage medium malfunctions or the booting program code is damaged, preventing the CPU from accessing necessary code.
Innovation Solution
A computer device with a backup booting mechanism that includes a primary and secondary storage medium, a CPU, a monitor, and a controller, where a timer and controller work together to ensure the CPU accesses and executes backup booting program code if the primary fails, and updates the primary with the backup code upon successful booting.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a single storage medium is used to store the booting program code, then the device structure is simple, but the reliability of booting is poor when the storage medium malfunctions or the booting program code is damaged
Solution Approach 1:
The storage medium is segmented into a primary storage medium for storing the default booting program code and a secondary storage medium for storing the backup booting program code. This segmentation allows the system to maintain simple structure while improving booting reliability through redundancy.
Solution Approach 2:
The backup booting program code is preliminarily prepared in the secondary storage medium before any malfunction occurs. When the primary storage medium fails, the system can immediately switch to the pre-prepared backup code without requiring external intervention, thus improving booting reliability.
2Reliability
If the CPU directly accesses the default booting program code without verification, then the booting process is fast, but the system cannot detect booting failures to trigger backup mechanisms
Solution Approach 1:
A feedback mechanism is implemented where the CPU sends a success signal to the monitor after successfully executing the default booting program code. The monitor uses a timer to detect whether the success signal is received within a predetermined time period. If no success signal is received, the system triggers the backup booting mechanism, thus achieving reliable failure detection with minimal time loss.
Data Source
AI summary
A computer device with a backup booting mechanism includes a primary storage medium that stores a default booting program code, a secondary storage medium that stores a backup booting program code, a CPU, and a monitor. When powered on, the CPU accesses and executes the default booting program code, and sends a success signal when successfully booting the computer device with the default booting program code. The monitor times a first time period starting from the monitor being powered on, and if the success signal has not been received prior to the first time period reaching a predetermined threshold, the monitor sends a reset signal to the CPU, and causes the CPU to access the backup booting program code stored in the secondary storage medium. The CPU resets when receiving the reset signal, and accesses and executes the backup booting program code after resetting.


