Flash Partition Backup for Configuration File Integrity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for backing up configuration files in a computer device's flash memory storage device are prone to damage the storage device due to frequent writing, require additional hardware, or increase hardware costs.

Innovation Solution

A method involving a flash memory storage device with three partitions: a first partition storing a configuration file version, a second partition for backup, and a third partition for repair, using cyclic redundancy checks and selective overwriting to ensure data integrity and reduce hardware costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If rsync utility is used to synchronize partitions for backup, then configuration file backup is achieved, but flash memory storage device is frequently written and prone to damage

Engineering Contradiction:
Improveconfiguration file backup reliabilityVSAvoidflash memory damage risk
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The system creates a bootable backup partition in advance during initialization, storing a complete copy of the configuration files and filesystem structure. This preliminary backup partition can be immediately activated if the primary partition fails, eliminating the need for frequent synchronization writes during operation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Instead of continuous or frequent synchronization, the system performs backup operations periodically during正常的 initialization processes. The BMC only updates the backup partition when configuration files are modified and a reboot is scheduled, rather than continuously monitoring and synchronizing changes.

Inventive Principle:
Principle #19Periodic action

2Reliability

If dual-image approach is adopted with two complete image files, then initialization reliability is improved, but storage capacity requirement doubles

Engineering Contradiction:
Improveinitialization reliabilityVSAvoidstorage capacity requirement
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The backup system is segmented into a primary partition for active configuration files and a separate bootable backup partition for backup copies. This segmentation allows the system to maintain two functional partitions without requiring two complete duplicate sets of all configuration files, optimizing storage usage while ensuring reliability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system creates a bootable copy of the primary partition that includes the configuration files and necessary boot structures. This copy serves as the backup, allowing the BMC to boot from the backup partition if the primary partition fails, providing redundancy without duplicating the entire system image multiple times.

Inventive Principle:
Principle #26Copying

3Productivity

If frequent writing to backup partition is performed, then configuration file synchronization is maintained, but flash memory lifespan is reduced

Engineering Contradiction:
Improveconfiguration file synchronization speedVSAvoidflash memory lifespan
Core Design Contradiction:
ProductivityVSDuration of action of stationary object

Solution Approach 1:

The backup partition is prepared in advance during system initialization with a complete set of configuration files. This preliminary action ensures that backup data is available immediately when needed, eliminating the need for frequent update writes during normal operation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system intelligently determines when backup updates are necessary based on configuration file modification status. Updates are performed only when configuration files are modified and a reboot is scheduled, allowing the system to self-manage backup synchronization without unnecessary writes.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12487891B2Method for backing up configuration file
Publication Date: 2025.12.02 MITAC COMPUTING TECH
  • US12487891B2 patent drawing
  • US12487891B2 patent drawing
  • US12487891B2 patent drawing

AI summary

A method for backing up a configuration file of a computer device is implemented by a baseboard management controller, and includes steps of: mounting a first partition, a second partition and a third partition of a flash memory storage device of the computer device; storing a copy of the configuration file in at least one of the first partition, the second partition and the third partition that has been mounted successfully as a backup; running an operating system stored in the flash memory storage device; and neither reading nor writing to the third partition while running the OS.