Task Ordering System With Constraint Queues For Complex Dependencies

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing task scheduling methods fail to effectively order tasks with complex interdependencies, particularly when multiple tasks are involved, leading to issues with circular dependencies and the inability to maintain referential integrity in database systems during operations like database transport.

Innovation Solution

A system and method that utilizes a constraint queue to manage complex interdependencies by evaluating task constraints and dependencies, allowing optional tasks to be added to the execution queue based on the scheduling of earlier tasks, and employing an enhanced dependency graph model to handle relationships between three or more tasks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a dependency graph with topological sort is used to order tasks, then simple dependencies between two tasks can be handled, but complex dependencies involving three or more tasks cannot be sufficiently represented

Engineering Contradiction:
Improveability to handle complex dependenciesVSAvoidcomplexity of dependency representation
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments complex dependencies into individual binary relationships between task pairs. Instead of representing complex dependencies as monolithic entities, the system breaks them down into multiple simple dependency edges that can be processed by standard topological sort algorithms, thereby maintaining compatibility with existing tools while handling complex scenarios.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimension to the dependency graph by adding constraint nodes that represent complex dependency relationships. These constraint nodes act as intermediaries that connect multiple tasks, effectively transforming a complex multi-way dependency into a series of binary dependencies through an additional dimensional layer in the graph structure.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Reliability

If traditional topological sort is applied to tasks with complex interrelationships, then task ordering can be achieved for simple cases, but circular dependencies cannot be properly detected or resolved

Engineering Contradiction:
Improvedetection of circular dependenciesVSAvoidoperation simplicity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent introduces constraint nodes as intermediaries between tasks with complex dependencies. These intermediary nodes serve as mediators that break direct complex dependency chains into smaller segments, making it easier to detect and resolve circular dependencies by isolating them into manageable units that can be processed individually.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements feedback mechanisms where the topological sort process continuously checks for circular dependencies and provides feedback to the constraint satisfaction solver. When a circular dependency is detected, the system uses this feedback to adjust constraints and re-evaluate the task ordering, creating an iterative process that resolves conflicts while maintaining operational simplicity.

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If optional tasks are allowed in the execution queue, then flexibility in task scheduling is improved, but determining the correct ordering becomes more difficult

Engineering Contradiction:
Improveflexibility in task schedulingVSAvoidcomplexity of ordering determination
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent makes the dependency graph dynamic by allowing constraints to be added, removed, or modified based on which tasks have been executed. Optional tasks can have their dependencies dynamically adjusted as the execution progresses, enabling the system to adapt to changing conditions and determine correct ordering on-the-fly rather than requiring static pre-computation.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system implements self-service mechanisms where the constraint satisfaction solver automatically determines the correct ordering of optional tasks based on current execution state and remaining constraints. The system serves itself by continuously evaluating which optional tasks can be safely executed next without manual intervention, reducing the perceived complexity for users while maintaining scheduling flexibility.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8689231B2System and method for ordering tasks with complex interrelationships
Publication Date: 2014.04.01 SAP SE
  • US8689231B2 patent drawing
  • US8689231B2 patent drawing
  • US8689231B2 patent drawing

AI summary

One or more embodiments of the invention enable a system and method for ordering tasks with complex interrelationships. The present invention as described herein may be used to produce a linear ordering of tasks with complex interrelationships including dependencies and constraints. In one or more embodiments optional tasks may be permitted such that a given task may or may not be added to the execution queue depending on the scheduling of earlier tasks following evaluation of their dependencies—that is, the system of the invention supports the management of optional tasks in a task ordering operation where some or all of tasks have complex interdependencies.