Job Conflict Detection Using Static and Dynamic Graphs
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data protection systems face inefficiencies in conflict detection due to high time complexity from searching and comparing all jobs one by one, leading to potential data loss, service interruptions, and resource wastage.
Innovation Solution
A method and device that utilize a static graph to identify conflict strategies, converting job conflict detection into dynamic graph processing, reducing time complexity by generating edges in a dynamic graph based on the static graph, thereby avoiding direct job comparisons.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If all jobs are searched and compared one by one for conflict detection, then comprehensive conflict detection is achieved, but time complexity increases significantly
Solution Approach 1:
The patent segments the conflict detection process into two distinct phases: (1) Pre-processing phase where a static graph is constructed to store conflict strategies between different job types, and (2) Detection phase where a dynamic graph is used to represent running jobs and check for conflicts. This segmentation allows comprehensive conflict detection to be achieved without comparing all jobs one by one, significantly reducing time complexity from O(n²) to O(n).
Solution Approach 2:
The patent applies preliminary action by pre-establishing the static graph that contains all conflict strategies between different job types before actual job execution. This pre-computed knowledge structure enables rapid conflict detection during runtime without requiring exhaustive job comparisons, thus resolving the contradiction between detection completeness and time efficiency.
2Productivity
If a static graph is used to pre-identify conflict strategies, then detection efficiency is improved, but system complexity increases
Solution Approach 1:
The patent employs dynamics by using a dynamic graph to represent the set of running jobs, which is continuously updated as jobs are added or removed from the system. This dynamic structure adapts to changing system states without requiring complete re-computation of conflict strategies, maintaining detection efficiency while managing system complexity through incremental updates rather than static exhaustive analysis.
Data Source
AI summary
Embodiments of the present disclosure relate to a method, a device, and a computer program product for determining job conflicts. The method includes determining, based on a job type of a target job, a target vertex corresponding to the target job in a dynamic graph. The method also includes generating, based on conflict strategies identified by a static graph, a target edge associated with the target vertex in the dynamic graph. In addition, the method also includes determining, in response to the target edge already existing in the dynamic graph, that a conflict exists between the target job and a running job.


