API-Driven Rapid Application Development via Event Engine

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current software development practices using API specifications are cumbersome, leading to repetitive code generation and maintenance issues, making it difficult for developers to implement additional functionalities like security protection and exception handling, especially for citizen developers who lack extensive experience.

Innovation Solution

A system and method for API-driven rapid application development and execution that uses an event engine to handle events and execute application logic based on configuration files, eliminating the need for code generation by converting API specifications into events and actions, and supporting logic control through a Directed Acyclic Graph (DAG) with plugins for different protocols.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If code generation tools are used to generate boilerplate codes from API specifications, then development speed is improved, but code maintenance difficulty and complexity increase

Engineering Contradiction:
Improvedevelopment speedVSAvoidcode maintenance difficulty
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent extracts the repetitive boilerplate code generation task from the manual development process and replaces it with an automated code generation system that converts API specifications into executable code, thereby improving development speed while reducing maintenance burden through standardized generation

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system enables self-service development by allowing the API specifications to automatically generate the necessary boilerplate codes and service implementations, eliminating the need for developers to manually write repetitive code and reducing maintenance complexity

Inventive Principle:
Principle #25Self-service

2Reliability

If developers manually implement additional functionalities like security protection and exception handling, then application reliability is improved, but labor effort and development time increase

Engineering Contradiction:
Improveapplication reliabilityVSAvoidlabor effort
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements universal, reusable code templates for security protection, exception handling, and other additional functionalities that can be automatically applied across multiple services, ensuring consistent reliability while reducing the labor effort required to implement these features repeatedly

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system performs preliminary action by pre-defining security protection, exception handling, and observability code templates in advance, which are then automatically integrated into service implementations, ensuring reliability is built-in from the start without increasing development labor

Inventive Principle:
Principle #10Preliminary action

3Productivity

If code generation is used to produce service codes, then development efficiency is improved, but citizen developers cannot develop quality applications compliant with API specifications

Engineering Contradiction:
Improvedevelopment efficiencyVSAvoidcitizen developer capability
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent introduces an intermediary layer that combines automated code generation with user-friendly configuration interfaces, allowing citizen developers to define service behaviors through simple configurations rather than writing code directly, thereby maintaining high development efficiency while enabling non-expert users to create compliant applications

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20240176593A1System and method for API driven rapid application development and execution
Publication Date: 2024.05.30 LENG JUNJIE
  • US20240176593A1 patent drawing
  • US20240176593A1 patent drawing
  • US20240176593A1 patent drawing

AI summary

The present disclosure relates to a system and method for API driven rapid micro service application development and execution. The system allows developers to define business requirements into flow definition files, includes an event engine to handle and execute the logic by dynamically correlating the definition files and API protocol specifications. The system incorporates plugins for each protocol to process the specification and communicate with other components. When acting as event handler for specific process flow, the system decodes the packets, associates the data with corresponding event handler and application flow, converts into the format per conversion rules defined in the definition files, executes the actions and transitions defined in the process flow per the application's business requirements. The system enables developers or business analysts develop application via visualized user interface, without the need of writing codes in programming languages or compiling into binary executable files.