Automatic Source Code Generation for Graphical Process Clusters
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing methods for generating source code for complex processes involving multiple subjects are cumbersome, error-prone, and time-consuming, as they require manual construction of process descriptions and communication links, which can lead to errors and overlooks in message exchanges.
Innovation Solution
A system and method that automatically generate source code for computer programs by creating clusters of subjects with predetermined communication links, allowing for the simplification and acceleration of process description generation through graphical interfaces and meta-language processing, ensuring all possible messages are generated and easily manageable, reducing the risk of errors.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If manual construction of process descriptions and communication links is used, then flexibility in designing specific processes is maintained, but the process becomes cumbersome, error-prone, and time-consuming
Solution Approach 1:
The system performs preliminary actions by automatically generating all possible communication links between subjects in a cluster before the user needs them. The full message exchange framework is pre-established, and the user only needs to selectively disable unnecessary messages, rather than constructing everything from scratch.
Solution Approach 2:
The system uses templates or standard patterns for process descriptions and communication links. Once a cluster is defined with subjects, the communication framework is automatically copied and instantiated for all subject pairs, ensuring consistency and reducing manual construction effort.
2Reliability
If all possible messages between subjects are manually defined, then communication completeness is ensured, but the risk of errors and overlooks increases
Solution Approach 1:
The system performs self-service by automatically generating the complete set of communication links between subjects without requiring manual intervention. The system itself ensures completeness by systematically creating messages for all subject pairs, eliminating human oversight errors.
Solution Approach 2:
The system provides feedback mechanisms to verify that all necessary communication links are present. The automatic generation process includes validation to ensure completeness, and the user can review and adjust the generated structure, creating a feedback loop that maintains reliability.
3Ease of manufacture
If separate source code files are generated for each subject, then complex processes can be divided into sub-programs, but the preparation time and effort increase significantly
Solution Approach 1:
The system performs preliminary actions by automatically generating the complete process description structure, including all communication links between subjects, before source code generation begins. This preliminary structuring eliminates time-consuming manual preparation and enables rapid automatic source code generation.
Solution Approach 2:
The system replaces manual mechanical construction of process descriptions with automated computational generation. Instead of manually creating and linking process elements, the system uses algorithms to automatically generate the complete process structure, dramatically reducing preparation time and effort.
4Productivity
If clusters of subjects with predetermined communication links are automatically generated, then process description generation is simplified and accelerated, but the initial structure requires subsequent restriction to match specific processes
Solution Approach 1:
The system creates a preliminary over-complete structure with all possible communication links between subjects in a cluster. This preliminary structure includes more messages than ultimately needed, but enables rapid generation. The user then restricts this structure by disabling unnecessary messages, which is simpler than building the final structure from scratch.
Solution Approach 2:
The system segments the process description into clusters of subjects with predetermined communication patterns. Each cluster is generated as a standardized unit with all possible internal messages, which can then be independently restricted and combined. This segmentation enables modular, efficient generation while maintaining the ability to customize specific process requirements.
Data Source
AI summary
The present invention relates to system and a method for the generation of a source code for a computer program for the execution and/or simulation of a process from a process description, in particular graphical, independent of the source code. The system comprises a process generator and a source code generator. The process generator is so designed that clusters with several subjects are generated automatically, while all possible message exchanges between the subjects are generated at the same time as subjects are generated. The process generator provides functions for the deletion of individual automatically messages and a function for the generation of individual messages between one of the subjects of the cluster and a subject which is not part of this cluster.


