Automated Code Construction Using Domain Interface Files

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing computer programming methods require detailed knowledge of programming languages and manual entry of instructions, which can lead to programming errors and resource inefficiencies, especially for users with limited programming experience.

Innovation Solution

An automated code construction system utilizing a domain interface file (DIF) to identify and combine relevant libraries, allowing users to input high-level functions and context information to generate computer-readable code, thereby reducing manual intervention and improving resource efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If automated code construction is implemented, then programming errors are reduced and resource efficiency is improved, but the complexity of the system increases due to the need for domain interface files and library management mechanisms

Engineering Contradiction:
Improveprogramming errorsVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a domain interface file (DIF) as an intermediary layer between the automated code construction system and the underlying code libraries. The DIF contains structured information about available functions, parameters, and code snippets, allowing the system to automatically construct code without requiring complex parsing of raw library documentation. This intermediary structure reduces programming errors while managing system complexity through organized information architecture.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent performs preliminary organization of code libraries and documentation into standardized domain interface files before the code construction process begins. By pre-structuring the available code resources with defined schemas, data types, and relationship mappings, the system eliminates the need for complex runtime analysis and reduces errors during automated code generation. This preliminary preparation phase improves reliability while containing overall system complexity.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If automated code construction is implemented, then resource efficiency is improved, but the extent of automation increases system complexity

Engineering Contradiction:
Improveresource efficiencyVSAvoidautomation level
Core Design Contradiction:
ProductivityVSExtent of automation

Solution Approach 1:

The patent implements self-service mechanisms where the automated code construction system autonomously queries domain interface files, selects appropriate code snippets, and assembles programs without human intervention. The system automatically resolves parameter bindings, selects library functions, and generates executable code, thereby improving resource efficiency through reduced manual effort while managing automation complexity through standardized interfaces and deterministic algorithms.

Inventive Principle:
Principle #25Self-service

3Manufacturing precision

If manual code entry is required, then programming precision can be maintained, but the ease of operation deteriorates for users with limited programming experience

Engineering Contradiction:
Improveprogramming precisionVSAvoidease of use
Core Design Contradiction:
Manufacturing precisionVSEase of operation

Solution Approach 1:

The patent employs copying mechanisms where pre-validated, production-ready code snippets from approved libraries are automatically copied and assembled into the final program. Instead of requiring users to manually write and debug code, the system selects and combines proven code templates that maintain programming precision while being accessible to users with limited experience. This copying approach ensures code quality while dramatically improving ease of operation.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10719304B2Computer program generation using a library
Publication Date: 2020.07.21 FUJITSU LTD
  • US10719304B2 patent drawing
  • US10719304B2 patent drawing
  • US10719304B2 patent drawing

AI summary

A method of generating computer-readable code may include receiving multiple user functions as designated by a user. The method may also include, for each of the user functions, locating at least one library associated with a given user function within a domain interface file (DIF), where the at least one library identifies a constructor of the given user function. The method may additionally include, based on the constructor, identifying one or more constructor libraries in the DIF that include functions that yield the constructor when executed. The method may additionally include retrieving code from the libraries associated with the user functions and the one or more constructor libraries that include functions that yield the constructor when executed. The method may also include combining the retrieved code into a single program, and providing the single program such that the single program is accessible by an end-user different from the user.