Dual Storage OS Upgrade with Automatic Rollback

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for upgrading an operating system, such as using USB memory, lack robustness in system failure recovery and do not automatically maintain a stable upgrading procedure, leading to weak protection for the operating system after upgrades.

Innovation Solution

Implementing a dual storage system where both storage devices store system images of different versions, allowing for selective restoration in case of system abnormalities, ensuring stability by monitoring operation conditions and switching between versions as needed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a single storage device is used to store the latest system image, then the upgrading process is simple, but the system lacks protection against failures and cannot automatically rollback to previous versions

Engineering Contradiction:
Improvesystem failure protectionVSAvoidstorage management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs preliminary actions by maintaining historical system images in the second storage device before upgrades occur. This allows the system to have backup versions ready in advance, enabling automatic rollback if needed without requiring complex real-time decision-making during failure recovery

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention creates copies of system images across two different storage devices. The first storage device holds the latest system image while the second storage device maintains historical versions. This copying approach provides redundancy and protection against failures without requiring complex active monitoring systems

Inventive Principle:
Principle #26Copying

2Reliability

If the system automatically updates to the latest version, then the system remains current, but there is no mechanism to protect against unstable versions or automatic rollback

Engineering Contradiction:
Improveversion stabilityVSAvoidautomatic version management
Core Design Contradiction:
ReliabilityVSExtent of automation

Solution Approach 1:

The system implements feedback mechanisms by monitoring system operation status after upgrades. The management device receives operation information from the upgraded system and can determine whether the upgrade was successful. This feedback loop enables automatic rollback to historical versions if the new version proves unstable, while maintaining automated version management

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system changes the parameter of version stability by maintaining multiple version states (current and historical) rather than a single state. This allows the system to switch between versions based on operational parameters, ensuring stability while maintaining automated management capabilities

Inventive Principle:
Principle #35Parameter changes

3Quantity of substance

If historical system images are deleted after successful upgrade, then storage space is optimized, but the system cannot perform rollback or restoration operations

Engineering Contradiction:
Improvestorage space utilizationVSAvoidsystem restoration capability
Core Design Contradiction:
Quantity of substanceVSAdaptability or versatility

Solution Approach 1:

The invention segments the storage function into two distinct storage devices: the first storage device for the current system image and the second storage device for historical system images. This segmentation allows each storage device to be optimized for its specific purpose while maintaining the capability to restore from historical versions without compromising overall storage efficiency

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11714631B2Method, electronic device, and computer program product for managing operating system
Publication Date: 2023.08.01 EMC IP HLDG CO LLC
  • US11714631B2 patent drawing
  • US11714631B2 patent drawing
  • US11714631B2 patent drawing

AI summary

Embodiments of the present disclosure provide a method, an electronic device, and a computer program product for managing an operating system. The method includes receiving a version upgrade request for the system. The method further includes using a target system image to upgrade the system from a first version to a second version corresponding to the target system image. The method further includes storing, in response to determining that the system operates normally within a first time period, the target system image to a first storage device for the system without updating a historical system image stored in a second storage device for the system, wherein the historical system image corresponds to the first version. In this way, by storing image files of different versions for selectively resetting the operating system in case of a failure, stability of the system after an upgrade is improved.