Data Migration to Non-Unified Storage Without Page Locks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing data migration process in hybrid memory systems is complex and inefficient due to the need for page locks in different storage media, leading to increased duration and reduced efficiency.

Innovation Solution

A data migration method that migrates data from a storage unit in a first storage medium to a second storage medium that does not participate in unified addressing, eliminating the need for locks and simplifying the migration procedure by decoupling address placement, thus reducing migration duration and improving efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the processor uses the page lock mechanism to migrate data between storage media, then data consistency is maintained, but the migration procedure becomes complex and duration increases

Engineering Contradiction:
Improvedata consistencyVSAvoidmigration procedure complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the locking mechanism from the data migration process by migrating data to storage units that do not participate in unified addressing. This eliminates the need to obtain and release page locks for both source and destination storage units, thereby removing the complexity of coordinate locking while maintaining data consistency through the exclusive access nature of non-unified addressing storage units.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediary approach by using storage units in a second storage medium that do not participate in unified addressing as the destination for data migration. These intermediary storage units act as a buffer that receives data without requiring lock coordination, simplifying the migration procedure while ensuring data integrity through controlled access.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If the processor obtains and releases page locks for both old and new pages during migration, then data integrity is ensured, but migration duration increases

Engineering Contradiction:
Improvedata integrityVSAvoidmigration duration
Core Design Contradiction:
ReliabilityVSDuration of action of moving object

Solution Approach 1:

The patent removes the locking operations from the migration process by directing data to storage units that do not participate in unified addressing. This eliminates the time-consuming steps of obtaining locks before migration and releasing locks after migration, significantly reducing migration duration while maintaining data integrity through the exclusive access characteristics of the destination storage units.

Inventive Principle:
Principle #2Taking out (Extraction)

3Ease of operation

If the processor migrates data to a storage unit that participates in unified addressing, then address mapping is simplified, but write-data consistency problems occur

Engineering Contradiction:
Improveaddress mapping simplicityVSAvoidwrite-data consistency
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent inverts the conventional approach by migrating data to storage units that do not participate in unified addressing, rather than to units that do. This inversion eliminates write-data consistency problems because the destination storage units are not accessible through the unified addressing mechanism, preventing concurrent write operations and ensuring data consistency without requiring complex locking protocols.

Inventive Principle:
Principle #13The other way round (Inversion)

Data Source

PatentUS20250217037A1Data Migration Method and Apparatus, Chip, and Computer-Readable Storage Medium
Publication Date: 2025.07.03 HUAWEI TECH CO LTD
  • US20250217037A1 patent drawing
  • US20250217037A1 patent drawing
  • US20250217037A1 patent drawing

AI summary

A data migration method includes, when a data migration request for a storage unit in a first storage medium is obtained, data in the storage unit is migrated to a storage unit that is in a second storage medium and does not participate in unified addressing. In a migration process, a data access request of an application is routed to the first storage medium or the second storage medium by querying a mapping relationship in a second unit mapping table and a migration state in a migration table. After the migration is completed, an address of a second storage unit is allocated to the application.