Data Recovery Method Using Flag-Based Configuration Overwrite
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional data management systems require two memory spaces to store default values for initialization and recovery, leading to inefficiencies in memory and storage space conservation.
Innovation Solution
A data recovery method that utilizes a system with a first and second storage device, where the default value is loaded into an executing block, and a flag is used to determine if the boot-up sequence is complete, allowing the prior configuration value to overwrite the default value only when necessary, thereby conserving system space.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If two separate memory spaces are allocated to store default values for initialization and recovery, then data recovery functionality is ensured, but memory and storage space are wasted due to potential duplication
Solution Approach 1:
The patent merges the initialization default value and recovery default value into a single storage location in non-volatile memory. Both functions share the same default value storage space, eliminating the need for separate memory allocations and preventing data duplication while maintaining both initialization and recovery capabilities.
Solution Approach 2:
The default value stored in non-volatile memory serves multiple purposes: it acts as the initialization default value when the system first boots, and simultaneously serves as the recovery default value when configuration recovery is needed. This multi-functional approach eliminates redundancy.
2Stability of the object's composition
If the prior configuration value is always loaded to overwrite the default value, then configuration persistence is improved, but system space efficiency deteriorates due to repetitive storage of identical data
Solution Approach 1:
The system performs a preliminary check by comparing whether the prior configuration value differs from the default value before loading. This preliminary action prevents unnecessary loading and storage operations, avoiding repetitive storage of identical data while ensuring configuration persistence when changes exist.
Solution Approach 2:
The system uses a flag parameter to track whether the prior configuration value has changed from the default. This parameter change detection mechanism enables conditional loading, ensuring that only when actual configuration changes occur does the system load and store the prior configuration value, thus maintaining persistence efficiency.
Data Source
AI summary
The present invention provides a data recovery method in a system with storage of default values and prior configuration values, including executing initialization of the system; loading the default values; detecting a status of a first flag to generate a first detection result; and, determining whether a boot-up sequence is complete according to the first detection result.


