Boot Record Management for Kernel Update Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current booting methods fail to efficiently update software components, particularly the kernel, and recover from update errors, leading to system crashes and inefficiencies due to the inability to automatically roll back updates or handle errors effectively.

Innovation Solution

A method and system that utilize a master and backup boot record to validate and load the kernel, with component configuration information managing update transactions and state changes to ensure recovery from errors by loading previous versions of software components when necessary.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If automatic update of kernel image is implemented, then software update efficiency is improved, but system reliability deteriorates when update fails

Engineering Contradiction:
Improvesoftware update efficiencyVSAvoidsystem reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent creates a backup boot record containing the previous kernel image and boot information before performing the update. This preliminary backup action ensures that if the update fails or causes system instability, the system can restore to the previous working state, thus maintaining reliability while enabling automatic updates.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements error handling mechanisms and validation checks before and during the update process. The system validates the updated kernel image and maintains backup records to cushion against potential failures, allowing automatic updates to proceed while protecting system reliability through pre-prepared recovery options.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

2Reliability

If entire backup image is copied to recover system, then recovery capability is improved, but update time increases

Engineering Contradiction:
Improverecovery capabilityVSAvoidrecovery time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts only the essential boot record information and kernel image data needed for recovery, rather than copying the entire backup image. The backup boot record contains only the necessary pointers and configuration information, significantly reducing the data volume that needs to be copied during recovery operations.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the backup into a separate backup boot record that stores only critical boot information and kernel references. This segmentation allows the recovery process to access only the necessary portions of the backup rather than handling the entire image, thereby reducing recovery time while maintaining full recovery capability.

Inventive Principle:
Principle #1Segmentation

3Reliability

If two boot loaders are used for update recovery, then recovery function is improved, but device complexity increases

Engineering Contradiction:
Improverecovery functionVSAvoidboot loader complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements a single boot loader that performs multiple functions: normal system booting, update validation, and error recovery. This universal boot loader eliminates the need for separate dedicated boot loaders for different functions, reducing overall system complexity while maintaining comprehensive recovery capabilities through integrated design.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS8825995B2Method and system for booting and automatically updating software, and recovering from update error, and computer readable recording medium storing method
Publication Date: 2014.09.02 SAMSUNG ELECTRONICS CO LTD
  • US8825995B2 patent drawing
  • US8825995B2 patent drawing
  • US8825995B2 patent drawing

AI summary

Provided are a booting method of updating software components installed in a system and recovering from an error that occurs in an update, a method and system for automatically updating the software and recovering from the error, and a computer readable recording medium storing the method. The master boot record and the backup boot record are used to stably update a kernel and effectively recover from an update error. The component configuration database is used to update a plurality of software components including a kernel in a transaction, and perfectly recover from an update error.