Thread Resource Distribution via Lock State Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for managing thread resources in computing devices lead to high processor loads due to context switching and data corruption issues, particularly when multiple threads access shared memory resources, necessitating efficient lock management to prevent data hazards.

Innovation Solution

A method that determines the state of a thread by verifying lock information for memory regions, switching threads between active and inactive states based on a thread state variable, and adjusting the number of active and inactive threads to optimize resource distribution, thereby reducing processor load.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If context switching is performed to manage thread locks, then thread access control is improved, but processor load increases significantly

Engineering Contradiction:
Improvethread access controlVSAvoidprocessor load
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by having threads check lock status before attempting to access shared memory. The lock acquisition mechanism verifies whether a lock is already held by another thread before allowing entry, preventing unnecessary context switching and reducing processor load while maintaining reliable thread access control.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary lock mechanism that mediates between threads and shared memory. Instead of direct context switching for every access, the lock acts as an intermediary that controls access rights, reducing the frequency and impact of context switching operations on the processor.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If locks are set to prevent data corruption, then data safety is improved, but thread processing time increases

Engineering Contradiction:
Improvedata safetyVSAvoidthread processing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by having threads check lock status before attempting to access shared memory. The lock acquisition mechanism verifies whether a lock is already held by another thread before allowing entry, preventing unnecessary context switching and reducing processor load while maintaining reliable thread access control.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary lock mechanism that mediates between threads and shared memory. Instead of direct context switching for every access, the lock acts as an intermediary that controls access rights, reducing the frequency and impact of context switching operations on the processor.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If multiple threads access shared memory simultaneously, then processing speed is improved, but data corruption occurs

Engineering Contradiction:
Improveprocessing speedVSAvoiddata integrity
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies segmentation by dividing the shared memory access control into separate lock mechanisms. Each critical section has its own lock, allowing fine-grained control over which threads can access which memory regions simultaneously, enabling parallel processing while preventing data corruption through controlled segmentation of access rights.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary lock mechanism that mediates between threads and shared memory. Instead of direct context switching for every access, the lock acts as an intermediary that controls access rights, reducing the frequency and impact of context switching operations on the processor.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11500634B2Computer program, method, and device for distributing resources of computing device
Publication Date: 2022.11.15 SILCROAD SOFT INC
  • US11500634B2 patent drawing
  • US11500634B2 patent drawing
  • US11500634B2 patent drawing

AI summary

A computer program stored in a computer readable storage medium is provided. It includes encoded commands, in which when the computer program is executed by one or more processors of a computer system. The computer program allows the one or more processors to perform certain commands for distributing resources of a computing device.