Automated API UI Generation via Pattern Matching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developers face challenges in efficiently analyzing large and complex data sets received from APIs, as manual creation of user interfaces for data visualization is labor-intensive and time-consuming, especially for performance engineers working on workflow performance applications.

Innovation Solution

An automated system for generating user interfaces to display API data, utilizing a pattern matching process to determine appropriate display types for different data segments, which can include graphical elements like plots, bar graphs, timelines, and pie charts, without requiring an API schema.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If manual creation of user interfaces is used for data visualization, then developers can create customized views, but the process becomes labor-intensive and time-consuming

Engineering Contradiction:
Improveease of user interface creationVSAvoidtime for user interface development
Core Design Contradiction:
Ease of manufactureVSLoss of time

Solution Approach 1:

The system performs self-service by automatically generating user interface code from API data structures without requiring manual developer intervention. The code generator analyzes the API response formats and autonomously produces visualization components, eliminating the labor-intensive manual creation process while maintaining customized view capabilities.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary action by pre-defining a library of visualization components and layout templates that can be automatically assembled. Before the actual user interface generation, the system prepares reusable components based on common data patterns, enabling rapid assembly of customized views without time-consuming manual design and coding.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If automated user interface generation is implemented, then development time is reduced, but the complexity of the generation system increases

Engineering Contradiction:
Improvedata analysis efficiencyVSAvoidcomplexity of UI generation system
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The code generator is segmented into modular components that handle different aspects of user interface generation independently. Each module processes specific data types or visualization patterns, making the overall complex system manageable through division of labor. This modular architecture maintains high productivity while controlling system complexity through organized, reusable components.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system employs universal visualization components that can handle multiple data types and scenarios through configuration rather than separate implementations. A single graph component, for example, can display various metrics with different formats, eliminating the need for numerous specialized components and reducing overall system complexity while maintaining versatility.

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

3Ease of operation

If pattern matching rules are applied to determine display types, then appropriate visualizations are selected automatically, but the system requires complex rule sets

Engineering Contradiction:
Improveautomatic display type selectionVSAvoidcomplexity of pattern matching rules
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The pattern matching system uses parameter changes to simplify rule complexity. Instead of complex conditional logic, the system transforms data structure parameters into corresponding visualization types through direct mappings. For example, changing a parameter from 'time-series data' to 'line graph' provides automatic display type selection through simple parameter transformation rather than complex rule evaluation.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12293199B2Automated user interface generation for an application programming interface (API)
Publication Date: 2025.05.06 RED HAT INC
  • US12293199B2 patent drawing
  • US12293199B2 patent drawing
  • US12293199B2 patent drawing

AI summary

Techniques for generating a user interface are disclosed. An example method includes receiving, from an application programming interface (API), a file containing API data. The method also includes applying, by a processing device, a set of pattern matching rules to a segment of the API data to identify a graphical user interface component to be used to display the segment. The method also includes populating the graphical user interface component with data from the segment. The method also includes generating a user interface comprising the graphical user interface component.