Process Step Rearrangement for Shared Resource Contention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Process modeling often results in resource contentions and race conditions due to conflicting accesses to shared resources, particularly in complex processes with simultaneous accesses from multiple steps, leading to performance issues like delayed lock acquisition and repetitive transaction rollbacks.

Innovation Solution

A computer-implemented method and system that identify and rearrange process steps accessing shared resources at the same time, creating a new process model where at least one process step is moved to access the shared resource at a different time, either by changing the order or moving it outside parallel branches, using a dependency graph to identify conflicting accesses and resolve them.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If process steps are executed in parallel to improve productivity, then processing speed increases, but resource contentions and race conditions occur causing performance degradation

Engineering Contradiction:
Improveprocessing speedVSAvoidresource access reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent dynamically adjusts the execution order of process steps based on resource contention detection. The system analyzes the process model to identify parallel steps accessing shared resources, then dynamically reorders them to sequential execution when contention is detected, while maintaining parallel execution when no contention exists. This dynamic adaptation resolves the contradiction between productivity and reliability.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent introduces an intermediary analysis mechanism that examines the process model to detect resource contentions before execution. This intermediary layer identifies shared resources accessed by multiple parallel steps and mediates their execution order, preventing race conditions while preserving maximum parallelism. The intermediary acts as a coordinator between parallel process steps and shared resources.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of time

If process steps access shared resources simultaneously to reduce wait time, then processing efficiency improves, but lock acquisition delays and transaction rollbacks increase

Engineering Contradiction:
Improvewait timeVSAvoidprocessing efficiency
Core Design Contradiction:
Loss of timeVSProductivity

Solution Approach 1:

The patent performs preliminary analysis of the process model to identify potential resource contentions before execution begins. By pre-analyzing the process steps and their resource accesses, the system can proactively reorder steps to avoid contentions, eliminating the need for runtime locking and transaction rollback mechanisms. This preliminary action prevents wait times and processing inefficiencies before they occur.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8918793B2Resolving resource contentions
Publication Date: 2014.12.23 SAP SE
  • US8918793B2 patent drawing
  • US8918793B2 patent drawing
  • US8918793B2 patent drawing

AI summary

A computer-implemented method for managing access to a shared resource of a process may include identifying a plurality of process steps, each process step of the plurality of process steps, when executed, accessing the shared resource at a same time. The method may also include rearranging at least one of the process steps of the plurality of process steps to access the shared resource at a different time.