Source Code Generation via Subject Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for automatically generating source code for complex processes result in extensive and error-prone code that is slow to execute, making it difficult to implement and manage complex processes effectively.
Innovation Solution
A method that generates a separate source code file for each subject involved in the process, with commands for data exchange, using only three functions (SEND, RECEIVE, and DO), allowing for simple and structured conversion of complex processes into source code, and enabling execution without manual processing, with validation capabilities to ensure correctness.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Extent of automation
If known methods are used to generate source code for complex processes, then automatic generation is achieved, but the source code becomes extensive and error-prone
Solution Approach 1:
The patent divides the complex process into separate subjects, each represented by its own source code file. This segmentation reduces the complexity of individual files while maintaining comprehensive coverage of the entire process, thereby reducing errors while preserving automation.
2Extent of automation
If known methods generate source code for complex processes, then automatic generation is achieved, but execution speed decreases
Solution Approach 1:
By segmenting the process into independent subject files, the system enables parallel execution and reduces the complexity burden on any single execution thread, thereby improving execution speed while maintaining automatic generation capabilities.
3Device complexity
If a single source code file is generated for the entire process, then code generation is simplified, but management and validation become difficult
Solution Approach 1:
The patent segments the source code into multiple files, each corresponding to a specific subject. This segmentation actually simplifies management and validation by allowing independent processing of each file, making the system more maintainable despite having multiple files.
Solution Approach 2:
The patent incorporates validation mechanisms that provide feedback on the correctness of generated code and process modeling. This feedback loop enables easy detection and correction of errors, simplifying the management process even as the system scales to handle complex processes with multiple subject files.
4Reliability
If manual processing of generated source code is required, then validation can be performed, but productivity decreases
Solution Approach 1:
The patent implements self-validation capabilities where the system automatically checks the generated source code for correctness and consistency. This self-service validation eliminates the need for manual review while maintaining high reliability, thereby preserving productivity.
Data Source
AI summary
A method for the generation of a source code for a computer program for the execution or simulation of a complex process in which a multiplicity of subjects communicate with one another. In this method, the processes are described, the description of the processes is stored in a process file, and with the aid of the process file a source code for a computer program is generated, with a separate source code file being generated for each subject. Through the provision of a source code file for each subject, a complex process may be easily and therefore automatically split into several sub-programs, the source code files, which may be generated automatically. In this way it is possible to generate automatically a computer program for a very complex process. A further benefit of the method according to the invention is that it may be executed after automatic generation, i.e. it may be validated by an execution immediately after generation.


