Processor Memory Access Ordering for Read/Write Consistency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Processors face challenges in executing application programs due to inconsistent memory access orders of read/write instructions, leading to failures and incorrect execution.

Innovation Solution

A data processing method that identifies and enforces a consistent execution sequence for read/write instructions based on their arrangement sequence, using extended memory instructions with specific semantics to ensure proper memory access order.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the processor executes read/write instructions in the arrangement sequence as specified in the application program, then memory consistency is maintained and the application program executes correctly, but the processor may experience reduced execution efficiency due to sequential memory access constraints

Engineering Contradiction:
Improvememory consistencyVSAvoidexecution efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces a dynamic memory access control mechanism that adjusts the execution sequence of read/write instructions based on memory consistency requirements. The processor dynamically determines whether to enforce sequential execution or allow reordering based on the specific memory access pattern and consistency constraints, thereby balancing reliability and execution efficiency.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the execution parameter of read/write instructions from fixed sequential order to a flexible order determined by memory consistency requirements. By introducing a memory access control mechanism that modifies the execution sequence parameter dynamically, the system maintains memory consistency while optimizing execution efficiency for different scenarios.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If the processor allows flexible execution order of read/write instructions to improve execution efficiency, then productivity increases, but memory consistency problems occur leading to random crashes or incorrect results

Engineering Contradiction:
Improveexecution efficiencyVSAvoidmemory consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent introduces a memory access control mechanism as an intermediary between the instruction sequence and the actual memory execution. This intermediary component analyzes the memory access pattern and enforces appropriate ordering constraints, acting as a mediator that ensures memory consistency while allowing efficient execution where possible.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements a feedback mechanism where the processor monitors memory access patterns and adjusts the execution sequence of read/write instructions based on detected consistency requirements. When memory consistency issues are detected, the system provides feedback to reorder or delay certain instructions, preventing crashes and incorrect results while maintaining overall execution efficiency.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12625801B2Data processing method, apparatus, and system, computing device, and storage medium
Publication Date: 2026.05.12 HUAWEI TECH CO LTD
  • US12625801B2 patent drawing
  • US12625801B2 patent drawing
  • US12625801B2 patent drawing

AI summary

The present disclosure relates to data processing methods, computer devices, and non-transitory computer-readable storage media. In an example method, at least one processor obtains an instruction sequence of an application program, identifies an execution sequence of read/write instructions in the instruction sequence based on the instruction sequence, and executes the read/write instructions based on the identified execution sequence.