Source Code Generation via Subject Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improveautomatic generation of source codeVSAvoiderror rate in source code
Core Design Contradiction:
Extent of automationVSReliability

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.

Inventive Principle:
Principle #1Segmentation

2Extent of automation

If known methods generate source code for complex processes, then automatic generation is achieved, but execution speed decreases

Engineering Contradiction:
Improveautomatic generation of source codeVSAvoidexecution speed
Core Design Contradiction:
Extent of automationVSSpeed

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.

Inventive Principle:
Principle #1Segmentation

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

Engineering Contradiction:
Improvestructure of source codeVSAvoidmanagement and validation
Core Design Contradiction:
Device complexityVSEase of operation

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #23Feedback

4Reliability

If manual processing of generated source code is required, then validation can be performed, but productivity decreases

Engineering Contradiction:
Improvevalidation of source codeVSAvoiddevelopment efficiency
Core Design Contradiction:
ReliabilityVSProductivity

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.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS7861221B2Method and system for generating a source code for a computer program
Publication Date: 2010.12.28 ALLGEIER IT SOLUTIONS GMBH
  • US7861221B2 patent drawing
  • US7861221B2 patent drawing
  • US7861221B2 patent drawing

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.