Memory Partitioning for Reliable Device Boot

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing device startup methods face challenges in ensuring reliable booting of electronic devices due to potential damage to boot code from incorrect data writes, especially when system backup and normal boot image files are stored on the same physical partition, leading to boot failures.

Innovation Solution

A memory-partition-based device-startup method and apparatus that isolates first boot information from second boot information by determining the boot status, reading first boot information from a first partition, booting in a second mode to acquire system updates, updating second boot information in a second partition, and then booting in the first mode using the updated second boot information.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If system backup image file and normal boot image file are placed on the same physical partition, then memory space is saved, but the boot code may be damaged by incorrect data writes leading to boot failure

Engineering Contradiction:
Improvememory space utilizationVSAvoidboot code integrity
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent divides the memory partition into two separate logical partitions: a first partition for storing the normal boot image file and a second partition for storing the system backup image file. This segmentation isolates the boot code from potential corruption by backup operations, ensuring boot code integrity while maintaining efficient memory space utilization through dedicated storage areas.

Inventive Principle:
Principle #1Segmentation

2Duration of action of stationary object

If system backup image file is updated using writing and erasing balance mechanism, then wear is distributed, but the backup image file may be mistakenly modified affecting boot operation

Engineering Contradiction:
Improvememory lifespanVSAvoidboot operation reliability
Core Design Contradiction:
Duration of action of stationary objectVSReliability

Solution Approach 1:

The patent introduces a partition management mechanism that acts as an intermediary between the writing and erasing balance mechanism and the boot image files. This mechanism directs write operations to the appropriate partition (second partition for backup updates, first partition for boot operations), preventing the balance mechanism from mistakenly modifying boot code while still distributing wear across the memory.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If first boot information and second boot information are stored in the same partition, then storage efficiency is improved, but read and write operations interfere with each other causing boot failures

Engineering Contradiction:
Improvestorage efficiencyVSAvoidboot success rate
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments the storage space into distinct first and second partitions for storing first boot information (normal boot image) and second boot information (system backup image) respectively. This segmentation eliminates interference between read operations on the boot image and write operations on the backup image, ensuring reliable boot operations while maintaining storage efficiency through dedicated allocation.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20240411564A1Memory-partition-based device-startup method and apparatus, and electronic device
Publication Date: 2024.12.12 BEIJING HORIZON INFORMATION TECH CO LTD
  • US20240411564A1 patent drawing
  • US20240411564A1 patent drawing
  • US20240411564A1 patent drawing

AI summary

Disclosed are a memory-partition-based device-startup method and apparatus, a computer readable storage medium, and an electronic device. The method includes: determining a boot status of an electronic device in a first boot mode at a preset occasion; reading, based on the boot status, first boot information from a first partition of a target memory; booting the electronic device in a second boot mode based on the first boot information, and acquiring system update information for the electronic device from a system update server; updating, based on the system update information, second boot information in a second partition of the target memory; and booting the electronic device in the first boot mode based on the updated second boot information.