Process Fragment Management with Multiple Control Points
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing code reuse methods in programming are limited by their reliance on single input and output control points, which restrict the flexibility and efficiency of process fragment management, especially in web application development where multiple control points are necessary for complex processes.
Innovation Solution
The implementation of process fragment management allows for the reuse of process fragments with multiple input and output control points, enabling dynamic execution and integration within web applications through a runtime framework that includes a data repository, process engine, and fragment subsystem, facilitating the selection and execution of process fragments based on expressions and context.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If traditional single input-output control point code reuse methods are used, then code reuse is achieved, but flexibility and efficiency of process fragment management are restricted
Solution Approach 1:
The patent segments the traditional single control point structure into multiple input control points and multiple output control points. Each process fragment can have multiple entry points (input control points) and multiple exit points (output control points), allowing flexible selection of execution paths based on runtime conditions. This segmentation enables the process fragment to be invoked from multiple locations and return to multiple locations, significantly improving adaptability while maintaining manageable complexity through structured organization.
2Productivity
If multiple input and output control points are implemented, then flexibility and efficiency of process fragment management are enhanced, but system complexity increases
Solution Approach 1:
The patent implements a universal process fragment structure that can serve multiple functions through multiple input and output control points. The same process fragment can be invoked from different input control points with different parameters and return to different output control points, making it a multi-functional component. This universality improves productivity by avoiding code duplication while the standardized interface structure prevents excessive complexity by providing a consistent pattern for managing multiple control points.
Data Source
AI summary
Process fragment management includes obtaining, during execution of a parent process, a process fragment expression, executing the process fragment expression using data gathered from a data source to obtain a process fragment identifier, and selecting, from multiple process fragments, a process fragment corresponding to the process fragment identifier. The process fragment is executed, and execution completes at a fragment output control point of multiple fragment output control points. From multiple parent input control points of the parent process, a parent input control point matching the fragment output control point is selected and, execution of the parent process continues.


