Automatic API Mashup Code Generation System

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for generating API mashups require manual coding by developers, leading to a longer development cycle and higher costs due to the need for human programming efforts, with limited automation in creating mashup recipes.

Innovation Solution

A system that automatically generates workflow code for API mashups by configuring a machine to create executable codes for triggers, rules, and actions without manual intervention, allowing for end-to-end API mashups with reduced developer time and cost.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If manual coding by developers is used to generate API mashups, then the quality and customization of mashup recipes can be ensured, but the development cycle becomes longer and costs increase due to human programming efforts

Engineering Contradiction:
Improvedevelopment speedVSAvoidautomation level
Core Design Contradiction:
ProductivityVSExtent of automation

Solution Approach 1:

The system enables self-service by automatically generating API mashup code without requiring manual developer intervention. The code generation system autonomously creates executable workflows by combining trigger definitions, rule logic, and action implementations, allowing the system to serve itself rather than relying on external human programmers for routine mashup creation tasks

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The invention changes the parameters of code generation by transitioning from manual programming parameters (developer time, skill level) to automated parameters (algorithmic generation, template-based assembly). This parameter change enables rapid generation of mashup recipes by transforming high-level user specifications into executable code through automated processes rather than manual coding

Inventive Principle:
Principle #35Parameter changes

2Ease of manufacture

If manual coding by developers is used to generate API mashups, then complex logic and customization can be implemented, but the development cost increases due to human programming efforts

Engineering Contradiction:
Improveease of creationVSAvoidhuman resources required
Core Design Contradiction:
Ease of manufactureVSQuantity of substance

Solution Approach 1:

The invention substitutes the mechanical system of manual coding with an automated code generation system. Instead of developers manually writing and assembling code, the system automatically generates executable workflows by processing user specifications through algorithmic transformations, replacing human mechanical coding actions with automated computational processes

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system uses copying by maintaining templates and patterns of common mashup recipes that can be automatically replicated and adapted. Rather than creating unique code from scratch for each mashup, the system copies and customizes proven templates based on user requirements, significantly reducing the human resources needed while maintaining quality and complexity

Inventive Principle:
Principle #26Copying

3Productivity

If automated code generation is implemented, then development time and cost are reduced, but the complexity of the generation system increases

Engineering Contradiction:
Improvemashup generation speedVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The code generation system is segmented into distinct functional modules: trigger definition processing, rule logic generation, action implementation creation, and workflow assembly. Each module handles a specific aspect of mashup generation independently, making the overall complex system manageable through clear separation of concerns while maintaining high generation speed

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The invention introduces an intermediary layer between user specifications and final executable code. This intermediary code generation system translates high-level user requirements into detailed implementation code, acting as a mediator that handles the complexity of translation while presenting a simple interface to users, thereby enabling fast generation without exposing system complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11409585B2Automatic code generation for API mashups
Publication Date: 2022.08.09 FUJITSU LTD
  • US11409585B2 patent drawing
  • US11409585B2 patent drawing
  • US11409585B2 patent drawing

AI summary

According to an aspect of an embodiment, operations include receiving a first input corresponding to a selection of one or more Application Programming Interface (API)-based trigger options associated with one or more electronic trigger events. The operations further include receiving a second input corresponding to a selection of one or more trigger rules which are applicable on event data associated with the one or more electronic trigger events and receiving a third input corresponding to a selection of one or more API-based actions. The operations further include constructing an API mashup template based on the first input, the second input, and the third input and generating an API mashup code based on the constructed API mashup template. The API mashup code is configured to be computer-executable on a runtime system.