Atomic Compare-Exchange Sequencing for Reliable Multithreading

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Advanced driver assistance systems (ADAS) and autonomous vehicle (AV) systems face challenges in protecting data generated by object detection systems, which are crucial for autonomous navigation and driver assist technologies, as they progress towards fully autonomous operation.

Innovation Solution

The system employs multiple cameras and sensors, including image processors and neural networks, to process environmental images for object detection and path estimation, using atomic compare and exchange operations to ensure data integrity and synchronization in multithreading environments.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If atomic compare and exchange operations are used to ensure data integrity in multithreading environments, then reliability is improved, but device complexity increases

Engineering Contradiction:
Improvedata integrityVSAvoidoperation complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the compare-exchange operation into two distinct commands: a compare command that retrieves and compares the stored value with the expected value, and an exchange command that conditionally updates the stored value. This segmentation allows the system to handle the atomic operation in manageable parts while maintaining data integrity through the correlation identifier that links the two commands, thus improving reliability without overwhelming device complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary comparison before execution of the exchange operation. The compare command is executed first to verify the stored value matches the expected value, and only if this preliminary check succeeds does the exchange command proceed. This preliminary action ensures data integrity by preventing incorrect updates while maintaining a relatively simple device structure.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If multiple commands are used for compare and exchange operations, then reliability is improved, but loss of time increases

Engineering Contradiction:
Improvedata integrityVSAvoidoperation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent maintains continuity of useful action by processing the compare and exchange commands in a continuous atomic operation. The system uses a correlation identifier to link the compare command with its corresponding exchange command, ensuring that once the compare operation begins, the exchange operation follows immediately without interruption or context switching. This continuous processing minimizes time loss while ensuring data integrity through the atomic nature of the combined operation.

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The patent introduces a correlation identifier as an intermediary mechanism that connects the compare command and exchange command. This identifier acts as a mediator that allows the system to track and associate the two commands without requiring complex synchronization protocols or multiple separate operations, thereby reducing time loss while maintaining reliability.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If atomic operations are implemented in processing systems, then reliability is improved, but manufacturing precision requirements increase

Engineering Contradiction:
Improveoperation atomicityVSAvoidimplementation precision
Core Design Contradiction:
ReliabilityVSManufacturing precision

Solution Approach 1:

The patent segments the atomic operation into two distinct but correlated commands (compare and exchange), each with clearly defined functions. This segmentation reduces manufacturing precision requirements by allowing each command to be implemented and tested independently while still achieving atomic behavior when executed together with the correlation identifier linking them.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The correlation identifier serves as an intermediary that simplifies the implementation of atomic operations. Rather than requiring precise synchronization mechanisms or complex hardware support for atomicity, the system uses this identifier to correlate the compare and exchange commands, making the atomic operation easier to manufacture and implement with standard processing components.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12554581B2Multi-part compare and exchange operation
Publication Date: 2026.02.17 MOBILEYE VISION TECH LTD
  • US12554581B2 patent drawing
  • US12554581B2 patent drawing
  • US12554581B2 patent drawing

AI summary

A method for executing an atomic compare and exchange operation, the method may include processing a compare command and a conditional exchange command while considering hardware failures.