A sequence task path dynamic programming method based on topology pruning

By employing a dynamic path planning method based on topology pruning and multidimensional cost functions, the problem of efficient path planning for large-scale task graphs is solved, achieving efficient and accurate path search and dynamic adaptation under multidimensional constraints.

CN123159477APending Publication Date: 2026-11-24SHANGHAI JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611311763.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-27
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing path planning methods have high computational costs when dealing with large-scale, dense task graphs, making it difficult to meet real-time response requirements. Furthermore, they lack unified modeling and dynamic adaptation capabilities for multidimensional constraints, resulting in inaccurate path planning results or the need for extensive adjustments.

Method used

A dynamic programming method for sequential task paths based on topology pruning is adopted. By formalizing boundary constraints, parallelism constraints, topology sorting constraints, and redundancy constraints, a constrained directed acyclic graph is generated, and load pruning, boundary pruning, and redundancy pruning are performed. Path search is carried out in combination with multidimensional transfer costs, and the path is dynamically updated to adapt to changes in the task graph.

Benefits of technology

It effectively reduces search overhead, improves path planning efficiency and quality, enhances adaptability to changes in the task graph, and reduces the need for full replanning due to changes in local states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159477A_ABST
    Figure CN123159477A_ABST
Patent Text Reader

Abstract

This invention discloses a dynamic planning method for sequential task paths based on topology pruning. The method includes obtaining a set of target nodes, node attribute descriptions, external dependency descriptions, user profiles, and constraint parameters; formalizing boundary constraints, parallelism constraints, topology sorting constraints, predecessor completion constraints, and redundancy constraints into a set of constraint operators; generating a constrained directed acyclic graph (DAG); sequentially performing load pruning, boundary pruning, and redundancy pruning to obtain a simplified DAG; on the simplified DAG, checking the boundary, parallel load, and predecessor completion of candidate successor nodes; performing a constraint A* search based on parallel load cost, weight deviation cost, predecessor gap cost, and time complexity cost to output the optimal task path; during path execution, updating the predecessor gap cost of successor nodes based on changes in predecessor node completion and triggering local path replanning. This invention is used for sequential task path planning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of artificial intelligence, and in particular to a dynamic programming method for sequential task paths based on topology pruning. Background Technology

[0002] With the continuous increase in the complexity of information systems, task orchestration and execution path planning problems are widely found in scenarios such as engineering project management, industrial process scheduling, software development process management, and knowledge graph navigation. In these scenarios, there may be complex prerequisite dependencies between a large number of task units, requiring the planning of task execution paths from a directed dependency graph composed of candidate nodes while satisfying multiple constraints.

[0003] Classical path planning methods, such as Dijkstra's algorithm and A* algorithm, have good theoretical performance on small-scale, sparse graphs. However, as the number of nodes increases and the dependency network becomes denser, the computational cost of path search can increase rapidly, making it difficult to meet the response requirements of real-time or near-real-time scenarios. In real-world tasks, graphs may also contain invalid candidate nodes and redundant dependency edges under the current constraints; if the search is performed directly on the entire graph, these nodes and dependency edges will expand the search space and may affect the path planning results.

[0004] Directed acyclic graphs (DAGs) are a common topological structure for describing task prerequisite dependencies. The acyclicity of graphs provides a basis for topological sorting, but the introduction of multi-dimensional constraints such as parallelism limitations, node weight boundaries, predecessor completion degree, and redundant node control often makes standard graph search methods difficult to apply directly.

[0005] Existing path planning systems typically employ fixed topological sequences or simple heuristics, lacking a unified and computable representation for domain-specific multidimensional constraints. Consequently, candidate paths may exhibit issues such as excessive parallelism, out-of-bounds node weights, or predecessor nodes failing to meet completion requirements, necessitating adjustments after path generation.

[0006] For task graphs containing a large number of nodes, existing solutions may still perform the search directly on the entire graph, lacking a mechanism to compress the candidate node space before the search; at the same time, some path planning methods mainly consider single costs such as path length or time consumption, making it difficult to simultaneously reflect factors such as parallel load, node weight deviation, predecessor completion gap, and estimated processing time.

[0007] Furthermore, some path planning schemes employ fixed constraint parameters and fixed stage allocations. When the task graph structure, node distribution, or node completion status changes, it is usually necessary to re-execute a large-scale path planning process, indicating that there is still room for improvement in dynamic adaptability. Summary of the Invention

[0008] This invention aims to provide a dynamic planning method for sequential task paths based on topology pruning, in order to address the shortcomings of existing path planning methods in terms of unified modeling of multidimensional constraints, size compression of candidate task graphs, comprehensive consideration of multidimensional costs, and dynamic updating when the task graph or node completion state changes, thereby completing the planning of sequential task paths under given constraints.

[0009] To achieve the above objectives, the technical solution of the present invention includes: A dynamic programming method for sequential task paths based on topology pruning, comprising: Read the user configuration file and obtain the target node set. Node attribute description, external dependency description, user profile and constraint parameters; Boundary constraints, parallelism constraints, topological sorting constraints, predecessor completeness constraints, and redundancy constraints are formalized into a set of constraint operators. ; Based on the user profile The node attribute description, the external dependency description, and the set of constraint operators. Generate a constrained directed acyclic graph; The constrained directed acyclic graph is subjected to load pruning based on the stage parallel upper limit, boundary pruning based on the reference weight interval, and redundancy pruning based on the occurrence frequency of the same type of node in sequence to obtain a simplified directed acyclic graph. Perform a constrained A* search on the simplified directed acyclic graph, and perform boundary constraint checks, parallel load checks, and predecessor completion checks on candidate successor nodes. Determine the multidimensional transition cost based on the parallel load cost, weight deviation cost, predecessor gap cost, and time complexity cost of the candidate successor nodes that pass the checks. Perform path search based on the multidimensional transition cost and output the optimal task path. ; During the execution of the optimal task path, the completion status of the nodes is monitored. When the completion degree of the predecessor node changes, the predecessor gap cost of the corresponding successor node is updated and a local path replanning is triggered.

[0010] A further improvement of this invention is that the boundary constraints, parallelism constraints, topology sorting constraints, predecessor completion constraints, and redundancy constraints are formalized into a set of constraint operators. ,include: Load the stage parallel limit from the user profile. Reference weights Boundary interval parameters and Front-end completion threshold and redundancy limit The boundary constraint operator, parallelism constraint operator, topology sorting constraint operator, predecessor completion constraint operator, and redundancy constraint operator are instantiated sequentially to form the initial constraint operator set. ; The initial set of constraint operators is processed by the constraint aggregator. The constraint operators are merged and prioritized, and then processed by a conflict resolver in a manner that prioritizes hard constraints and weights soft constraints to obtain the constraint operator set. .

[0011] A further improvement of the present invention is that, The boundary constraint operator is used to determine whether the node weights satisfy the condition. ; The parallelism constraint operator is used to determine whether the number of concurrent nodes in the same stage meets the requirement. ; The topology sorting constraint operator is used to constrain the root node. It is processed before its dependent nodes; The predecessor completion constraint operator is used to determine whether the completion degree of the predecessor node is satisfied. ; The redundancy constraint operator is used to determine whether the occurrence count of similar nodes in the global path meets the requirement. .

[0012] A further improvement of the present invention is that generating the constrained directed acyclic graph includes: Based on the user profile Calculate the target node set Each node node weights And according to the redundancy constraint operator for each node Allocation phase number ; Based on the node attribute description and the external dependency description, derive the prerequisite dependency edge set. The parallelism constraint operator is then applied to truncate and filter the edge set at each stage to obtain the filtered prerequisite dependency edge set. ; For the set of target nodes and the filtered prerequisite dependency edge set The candidate graph is subjected to cycle detection based on depth-first traversal. When a cycle is detected, the dependency edge with the lowest weight in the cycle is deleted and a repair log is recorded until the candidate graph satisfies the directed acyclic constraint. The set of constraint operators Appended to a candidate graph that satisfies the directed acyclic constraint, we obtain a constrained directed acyclic graph. .

[0013] A further improvement of the present invention is that the load pruning includes: Traverse each stage of the constrained directed acyclic graph and count the number of candidate nodes within each stage; When the number of candidate nodes in any stage exceeds the stage parallel limit At that time, the candidate nodes in any stage are sorted from high to low according to the prerequisite dependency strength of the nodes, where the prerequisite dependency strength is the sum of the weights of the incoming edges pointing to the node; Keep the ones listed first. One candidate node serves as the core node for any stage, while the remaining candidate nodes are removed from the current stage without being globally deleted, so that they can be reused in subsequent stages.

[0014] A further improvement of the present invention is that the boundary pruning includes: Calculate the node weight of each candidate node after load pruning. and the node weights and reference weight range Compare; When the node weight If the value is below the lower bound of the reference weight range, skip the corresponding candidate node; When the node weight When the value is higher than the upper bound of the reference weight range, the corresponding candidate node is postponed to the reference weight range. Reassess after improvement.

[0015] A further improvement of the present invention is that the redundant pruning includes: Traverse the candidate nodes after boundary pruning according to the processing order, and extract the core category label of each candidate node; Count the number of times each category appears for each core category tag. When the corresponding category appears a number of times Redundancy limit has been reached When the time is right, the candidate nodes belonging to the corresponding category are removed from the candidate node set.

[0016] A further improvement of the present invention is that determining the multidimensional transfer cost includes: The parallel load cost is determined based on the degree of deviation of the concurrent load of the candidate successor node's stage from the optimal concurrent value; The weight deviation cost is determined based on the degree of deviation of the node weight of the candidate successor node from the midpoint of the reference optimal interval; Based on the completion degree of each predecessor node relative to the predecessor completion degree threshold of the candidate successor node The cumulative gap determines the precursor gap cost; The time complexity cost is determined based on the proportion of the estimated processing time of the candidate successor node to the total time budget. The parallel load cost, weight deviation cost, predecessor gap cost, and time complexity cost are weighted according to a configurable weight vector to obtain the multidimensional transfer cost, wherein the default value of the weight vector is equal weight.

[0017] A further improvement of the present invention is that performing a constrained A* search on the simplified directed acyclic graph includes: Add the starting node to the open set ,set up and ; From the open set Extract the evaluation value from Minimum current node At the current node Reconstruct and output the path when the target node is reached, at the current node. If the current node is not the target node, traverse the current node. successor node ; For the successor nodes in sequence Perform boundary constraint checks, parallel load checks, and predecessor completion checks, and then process the successor nodes that pass the checks. Calculate the multidimensional transition cost and update the successor node. Path cost and evaluation value and the successor node Insert the open set ; Among them, heuristic function A weighted combination of weighted distance estimation and the number of remaining nodes is used; when the open set is exhausted, no feasible path is returned.

[0018] A further improvement of the present invention is that: When calculating node weights, the user profile is used as a reference. Dynamically adjust reference weights and boundary interval parameters , When assigning stage numbers, stage numbers are dynamically assigned to nodes based on the redundancy constraint operator and the real-time node distribution of the task graph. During path execution, the completion status of nodes is monitored in real time. When the completion degree of the predecessor node changes, the predecessor gap cost of the corresponding successor node is dynamically updated and a local path replanning is triggered. Output the optimal task path The process includes outputting the following information: a list of node identifiers arranged in access order; the execution phase number to which each node belongs; the parallel load cost, weight deviation cost, predecessor gap cost, time complexity cost, and total cost corresponding to each node transfer; the constraint check results for each node on the path; and a panoramic summary describing the overall structure of the path and information on key nodes.

[0019] Compared with the prior art, the beneficial effects of the present invention include: By formalizing boundary constraints, parallelism constraints, topology sorting constraints, predecessor completion constraints, and redundancy constraints into constraint operators, and by aggregating and resolving these constraints, multi-dimensional constraints can participate uniformly in the path planning process. This helps reduce the need for post-processing adjustments when candidate paths do not meet the given constraints. Furthermore, by sequentially performing load pruning, boundary pruning, and redundancy pruning before path search, candidate nodes in the constrained directed acyclic graph are compressed, reducing the number of candidate nodes entering the constraint A* search. This helps lower search overhead and improve path planning efficiency.

[0020] By performing boundary constraint checks, parallel load checks, and predecessor completion checks before expanding candidate successor nodes, and by incorporating parallel load costs, weight deviation costs, predecessor gap costs, and time complexity costs into the transfer costs, multi-dimensional costs can be comprehensively considered within the candidate range that satisfies the corresponding hard constraints, which helps to improve the actual execution quality of the planned path.

[0021] By dynamically adjusting reference weights and boundary interval parameters based on user profiles, allocating stages based on real-time node distribution, repairing loops when they are detected, and updating the predecessor gap cost of successor nodes and triggering local path replanning when the completion degree of predecessor nodes changes, the adaptability of path planning to changes in task graphs and execution states can be enhanced, and the need for full replanning due to changes in local states can be reduced. Attached Figure Description

[0022] Figure 1 This is a schematic diagram of the dynamic programming method for sequential task paths based on topology pruning according to the present invention. Detailed Implementation

[0023] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. These embodiments are based on the technical solution of the present invention and provide detailed implementation methods and specific operating procedures. However, the scope of protection of the present invention is not limited to the following embodiments.

[0024] See Figure 1 The sequential task path dynamic planning system of the present invention includes, in sequence, a constraint operator module, a topology graph generation module, an adaptive pruning module, a path optimization module, and a result output module. User input includes a set of target nodes and node attribute descriptions; the system also utilizes external dependency descriptions, user profiles, and constraint parameters to complete constraint DAG generation, topology pruning, and path optimization.

[0025] This implementation method uses the target node set Node attribute description, external dependency description, user profile The input includes constraint parameters. The intermediate results sequentially include a set of constraint operators. Constrained Directed Acyclic Graph And simplified directed acyclic graph The output is the optimal task path. Information on the stages, costs, and constraints associated with that path.

[0026] The system reads the user configuration file and parses the target node set. And node attribute descriptions, and loading stage parallel upper limit. Reference weights Boundary interval parameters and Front-end completion threshold Redundancy limit Equal constraint parameters.

[0027] The system sequentially instantiates boundary constraint operators, parallelism constraint operators, topology sorting constraint operators, predecessor completion constraint operators, and redundancy constraint operators to form an initial set of constraint operators. Boundary constraint operators require node weights. Falling on reference weight of Within the interval, the judgment relationship is as follows: In one specific embodiment, .

[0028] The parallelism constraint operator requires that the number of concurrent nodes in the same stage does not exceed the system's parallelism limit. The judgment relationship is as follows: The topological sorting constraint operator requires the root node to be... Processing occurs before all dependent nodes to ensure the processing order of prerequisite relationships. The predecessor completion constraint operator requires that the completion degree of the predecessor node is not less than a threshold. The judgment relationship is as follows: The redundancy constraint operator limits the number of times a node of the same type appears in the global path to no more than [a certain number]. The judgment relationship is as follows: .

[0029] Constraint aggregator for initial set of constraint operators The conflict resolver performs merging and priority sorting; it uses a strategy of prioritizing hard constraints and weighted aggregation of soft constraints to handle constraint conflicts, outputting a set of constraint operators. This is for use by subsequent modules.

[0030] The topology generation module is based on user profiles. Calculate the target node set The node weights of each node In the node weight calculation stage, the system bases its calculations on user profiles. Dynamically adjust reference weights and boundary interval parameters .

[0031] The system assigns stage numbers to nodes based on the redundancy constraint operator. In the stage allocation phase, stage numbers are dynamically assigned to nodes based on the redundancy constraint operator and the real-time node distribution of the task graph, in order to avoid uneven load caused by fixed allocation.

[0032] The system derives the prerequisite dependency edge set based on node attribute descriptions and external dependency descriptions. The parallelism constraint operator is applied to truncate and filter the edge set at each stage to obtain the filtered prerequisite dependency edge set. This results in the formation of candidate graphs: The system selects candidate graphs. Perform cycle detection based on depth-first traversal. If a cycle is detected, delete the dependency edge with the lowest weight in the cycle and record the repair log; repeat the cycle detection and deletion operation until the candidate graph satisfies the directed acyclic constraint.

[0033] The system will use the set of constraint operators. Attach it to a graph structure that satisfies directed acyclic constraints, and output a constrained directed acyclic graph: The adaptive pruning module constrains the directed acyclic graph before path search. Load pruning, boundary pruning, and redundancy pruning are performed sequentially. The three types of pruning are executed in sequence, with candidate nodes obtained from the previous type of pruning serving as the processing targets for the next type of pruning.

[0034] Load pruning: System traversal constraints on directed acyclic graphs In each stage, the number of candidate nodes is counted within that stage. If the number of candidate nodes in a certain stage exceeds the stage's parallel limit... The nodes are sorted from highest to lowest according to their prerequisite dependency strength; the prerequisite dependency strength is the sum of the weights of the incoming edges pointing to that node. The system retains the nodes with the highest priority. Each candidate node serves as the core node for that stage. Candidate nodes that are not retained are removed from the current stage but are not globally deleted and can be reused in subsequent stages.

[0035] Boundary pruning: The system calculates the node weights of each candidate node after load pruning. And compare it with the following reference weight range: When the node weight When the value is below the lower bound of the reference weight range, the system skips the candidate node; when the node weight... When the value is above the upper bound of the reference weight range, the system postpones the candidate node to the reference weight range. Reassess after improvement.

[0036] Redundancy pruning: The system traverses the candidate nodes that have undergone boundary pruning in the processing order, extracts the core category label of each candidate node, and counts the cumulative occurrence of each category. When the number of occurrences of the corresponding category reaches the redundancy limit. When the time is right, the current candidate node belonging to that category will be removed from the candidate node set.

[0037] After the three types of pruning are completed, the candidate node set is changed from... Compress to Their scale relationship is as follows: The system outputs a simplified directed acyclic graph: The path optimization module simplifies the directed acyclic graph. An A* heuristic search with multidimensional cost function constraints is performed. The multidimensional transfer cost includes parallel load cost, weight deviation cost, predecessor gap cost, and time complexity cost.

[0038] Parallel load cost Used to measure nodes The degree to which the concurrent load deviates from the optimal value at a given stage is calculated as follows: Cost of weight deviation The method used to measure the degree to which a node's weight deviates from the midpoint of the reference optimal interval is as follows: Forward gap cost Used to measure nodes The original disclosure described the cumulative gap in the completion of all precursor nodes as the sum of the completion gaps of each precursor node, but did not provide a specific formula for calculating this gap.

[0039] Time complexity cost Used to measure nodes The proportion of estimated processing time to the total time budget is calculated as follows: Nodes are obtained from four types of costs. To candidate successor nodes The overall cost of the transfer: The system will start the node Join Open Set And complete the following initialization: The system loops from the open set Extract the evaluation value from Minimum current node If the current node For the target node If the path is correct, rebuild it and output it; otherwise, traverse the current node. successor node .

[0040] For each candidate successor node The system sequentially performs boundary constraint checks, parallel load checks, and predecessor completion checks. All three checks are treated as hard constraints; only candidate successor nodes that pass all checks are considered valid successors. Only then did we enter the multidimensional transfer cost The calculation.

[0041] The system updates candidate successor nodes based on the calculated multidimensional transition cost. Path cost and evaluation value and candidate successor nodes Insert open set Heuristic function We employ a weighted combination of weighted distance estimation and the number of remaining nodes.

[0042] If open set If the path is exhausted, the system returns that no feasible path exists; if the retrieved current node is the target node, the optimal task path is reconstructed and output. .

[0043] The output module will show the optimal task path. The serialization is converted into structured output. The structured output includes: a list of node identifiers arranged in access order; the execution stage number to which each node belongs; the parallel load cost, weight deviation cost, predecessor gap cost, time complexity cost, and total cost corresponding to each node transfer; the constraint check results of each node on the path; and a panoramic summary of the overall path structure and key node information in structured text.

[0044] During the constrained DAG generation phase, the system uses user profiles... Dynamically adjust reference weights and boundary interval parameters Based on the redundancy constraint operator and the real-time node distribution of the task graph, stage numbers are dynamically assigned to nodes. If a loop is detected, the edge with the minimum weight in the loop is deleted and a repair log is recorded to ensure that the output graph satisfies the DAG constraint.

[0045] In the optimal task path During execution, the system monitors the completion status of nodes in real time. When the completion status of the preceding node changes, the system dynamically updates the predecessor gap cost of the corresponding successor node and triggers local path replanning for incremental dynamic updates.

[0046] The preferred embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make numerous modifications and variations based on the concept of the present invention without creative effort. Therefore, all technical solutions that can be obtained by those skilled in the art based on the concept of the present invention through logical analysis, reasoning, or limited experimentation on the basis of existing technology should be within the scope of protection defined by the claims.

Claims

1. A dynamic programming method for sequential task paths based on topology pruning, characterized in that, include: Read the user configuration file and obtain the target node set. Node attribute description, external dependency description, user profile and constraint parameters; Boundary constraints, parallelism constraints, topological sorting constraints, predecessor completeness constraints, and redundancy constraints are formalized into a set of constraint operators. ; Based on the user profile The node attribute description, the external dependency description, and the set of constraint operators. Generate a constrained directed acyclic graph; The constrained directed acyclic graph is subjected to load pruning based on the stage parallel upper limit, boundary pruning based on the reference weight interval, and redundancy pruning based on the occurrence frequency of the same type of node in sequence to obtain a simplified directed acyclic graph. Perform a constrained A* search on the simplified directed acyclic graph, and perform boundary constraint checks, parallel load checks, and predecessor completion checks on candidate successor nodes. Determine the multidimensional transition cost based on the parallel load cost, weight deviation cost, predecessor gap cost, and time complexity cost of the candidate successor nodes that pass the checks. Perform path search based on the multidimensional transition cost and output the optimal task path. ; During the execution of the optimal task path, the completion status of the nodes is monitored. When the completion degree of the predecessor node changes, the predecessor gap cost of the corresponding successor node is updated and a local path replanning is triggered.

2. The dynamic programming method for sequential task paths based on topology pruning according to claim 1, characterized in that, The boundary constraints, parallelism constraints, topological sorting constraints, predecessor completeness constraints, and redundancy constraints are formalized into a set of constraint operators. ,include: Load the stage parallel limit from the user profile. Reference weights Boundary interval parameters and Front-end completion threshold and redundancy limit The boundary constraint operator, parallelism constraint operator, topology sorting constraint operator, predecessor completion constraint operator, and redundancy constraint operator are instantiated sequentially to form the initial constraint operator set. ; The initial set of constraint operators is processed by the constraint aggregator. The constraint operators are merged and prioritized, and then processed by a conflict resolver in a manner that prioritizes hard constraints and weights soft constraints to obtain the constraint operator set. .

3. The dynamic planning method for sequential task paths based on topology pruning according to claim 2, characterized in that: The boundary constraint operator is used to determine whether the node weights satisfy the condition. ; The parallelism constraint operator is used to determine whether the number of concurrent nodes in the same stage meets the requirement. ; The topology sorting constraint operator is used to constrain the root node. It is processed before its dependent nodes; The predecessor completion constraint operator is used to determine whether the completion degree of the predecessor node is satisfied. ; The redundancy constraint operator is used to determine whether the occurrence count of similar nodes in the global path meets the requirement. .

4. The dynamic programming method for sequential task paths based on topology pruning according to claim 1, characterized in that, Generating the constrained directed acyclic graph includes: Based on the user profile Calculate the target node set Each node node weights And according to the redundancy constraint operator for each node Allocation phase number ; Based on the node attribute description and the external dependency description, derive the prerequisite dependency edge set. The parallelism constraint operator is then applied to truncate and filter the edge set at each stage to obtain the filtered prerequisite dependency edge set. ; For the set of target nodes and the filtered prerequisite dependency edge set The candidate graph is subjected to cycle detection based on depth-first traversal. When a cycle is detected, the dependency edge with the lowest weight in the cycle is deleted and a repair log is recorded until the candidate graph satisfies the directed acyclic constraint. The set of constraint operators Appended to a candidate graph that satisfies the directed acyclic constraint, we obtain a constrained directed acyclic graph. .

5. The dynamic programming method for sequential task paths based on topology pruning according to claim 1, characterized in that, The load pruning includes: Traverse each stage of the constrained directed acyclic graph and count the number of candidate nodes within each stage; When the number of candidate nodes in any stage exceeds the stage parallel limit At that time, the candidate nodes in any stage are sorted from high to low according to the prerequisite dependency strength of the nodes, where the prerequisite dependency strength is the sum of the weights of the incoming edges pointing to the node; Keep the ones listed first. One candidate node serves as the core node for any stage, while the remaining candidate nodes are removed from the current stage without being globally deleted, so that they can be reused in subsequent stages.

6. The dynamic programming method for sequential task paths based on topology pruning according to claim 1, characterized in that, The boundary pruning includes: Calculate the node weight of each candidate node after load pruning. and the node weights and reference weight range Compare; When the node weight If the value is below the lower bound of the reference weight range, skip the corresponding candidate node; When the node weight When the value is higher than the upper bound of the reference weight range, the corresponding candidate node is postponed to the reference weight range. Reassess after improvement.

7. The dynamic programming method for sequential task paths based on topology pruning according to claim 1, characterized in that, The redundant pruning includes: Traverse the candidate nodes after boundary pruning according to the processing order, and extract the core category label of each candidate node; Count the number of times each category appears for each core category tag. When the corresponding category appears a number of times Redundancy limit has been reached When the time is right, the candidate nodes belonging to the corresponding category are removed from the candidate node set.

8. The dynamic programming method for sequential task paths based on topology pruning according to claim 1, characterized in that, Determining the multidimensional transfer cost includes: The parallel load cost is determined based on the degree of deviation of the concurrent load of the candidate successor node's stage from the optimal concurrent value; The weight deviation cost is determined based on the degree of deviation of the node weight of the candidate successor node from the midpoint of the reference optimal interval; Based on the completion degree of each predecessor node relative to the predecessor completion degree threshold of the candidate successor node The cumulative gap determines the precursor gap cost; The time complexity cost is determined based on the proportion of the estimated processing time of the candidate successor node to the total time budget. The parallel load cost, weight deviation cost, predecessor gap cost, and time complexity cost are weighted according to a configurable weight vector to obtain the multidimensional transfer cost, wherein the default value of the weight vector is equal weight.

9. The dynamic programming method for sequential task paths based on topology pruning according to claim 1, characterized in that, Performing a constrained A* search on the reduced directed acyclic graph includes: Add the starting node to the open set ,set up and ; From the open set Extract the evaluation value from Minimum current node At the current node Reconstruct and output the path when the target node is reached, at the current node. If the current node is not the target node, traverse the current node. successor node ; For the successor nodes in sequence Perform boundary constraint checks, parallel load checks, and predecessor completion checks, and then process the successor nodes that pass the checks. Calculate the multidimensional transition cost and update the successor node. Path cost and evaluation value and the successor node Insert the open set ; Among them, heuristic function A weighted combination of weighted distance estimation and the number of remaining nodes is used; when the open set is exhausted, no feasible path is returned.

10. The dynamic programming method for sequential task paths based on topology pruning according to claim 1, characterized in that, Its features are, When calculating node weights, the user profile is used as a reference. Dynamically adjust reference weights and boundary interval parameters , When assigning stage numbers, stage numbers are dynamically assigned to nodes based on the redundancy constraint operator and the real-time node distribution of the task graph. During path execution, the completion status of nodes is monitored in real time. When the completion degree of the predecessor node changes, the predecessor gap cost of the corresponding successor node is dynamically updated and a local path replanning is triggered. Output the optimal task path The process includes outputting the following information: a list of node identifiers arranged in access order; the execution phase number to which each node belongs; and the parallel load cost, weight deviation cost, predecessor gap cost, time complexity cost, and total cost for each node transfer. The constraint check results for each node on the path; and a panoramic summary describing the overall structure of the path and information on key nodes.