Dynamic UI Component Generation via Hierarchical Factories

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing web application user interfaces (UIs) are static and require hard-coding, leading to tight coupling between parent and child UI components, making it cumbersome to introduce new components and difficult to maintain, especially in hierarchical structures.

Innovation Solution

The dynamic generation of UI components using hierarchical component factories, where each UI component has a corresponding factory that decides which child components to render based on metadata and configuration information, allowing for annotation-driven or inheritable configuration, reducing tight coupling and enabling intuitive addition of new components.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Stability of the object's composition

If UI components are hard-coded in the web application source code, then the UI structure is stable and predictable, but the system becomes difficult to maintain and cumbersome to modify when new components need to be introduced

Engineering Contradiction:
ImproveUI structure stabilityVSAvoidMaintenance difficulty
Core Design Contradiction:
Stability of the object's compositionVSEase of repair

Solution Approach 1:

The patent segments the UI component system into independent, modular units that can be dynamically assembled. Instead of hard-coding the entire UI hierarchy, the system divides UI components into reusable, parameterizable templates that can be configured and combined at runtime, making the system easier to maintain while preserving structural stability through consistent component patterns.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamic configuration mechanisms that allow UI components to be modified and reconfigured without changing the underlying source code. The system uses parameterized component definitions and runtime configuration files to enable flexible UI assembly, resolving the contradiction between structural stability and maintenance ease by allowing changes through configuration rather than code modification.

Inventive Principle:
Principle #15Dynamics

2Stability of the object's composition

If developers hard-code the web application UI, then the UI rendering is consistent and predictable, but introducing new child UI components at any level in the hierarchy becomes cumbersome and requires tight coupling between parent and child components

Engineering Contradiction:
ImproveUI rendering consistencyVSAvoidComponent flexibility
Core Design Contradiction:
Stability of the object's compositionVSAdaptability or versatility

Solution Approach 1:

The patent creates universal UI component templates that can serve multiple purposes and be reused across different contexts. Parent components are designed with standardized interfaces and parameterized child component references, allowing the same parent template to work with various child components without modification. This universality maintains rendering consistency through standardized patterns while enabling flexible adaptation to new component requirements.

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

Solution Approach 2:

The patent introduces configuration files and component factories as intermediary layers between the hardcoded UI templates and the actual rendered components. These intermediaries enable dynamic selection and instantiation of child components based on configuration data, decoupling the parent component structure from specific child component implementations while maintaining consistent rendering behavior through standardized configuration formats.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Device complexity

If the UI hierarchy is represented by a tree data structure with fixed parent-child relationships, then the component organization is clear and manageable, but the system becomes difficult to adapt when new components need to be added or existing relationships need to be changed

Engineering Contradiction:
ImproveComponent organization clarityVSAvoidHierarchy flexibility
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent performs preliminary organization of UI components into hierarchical templates with defined parent-child relationships during the design phase. Configuration files pre-define the structure, parameters, and valid child component types for each parent component. This preliminary structuring provides clear organization and manageability while allowing flexibility during runtime when new components can be added by extending existing templates or creating new configuration entries without disrupting the overall hierarchy.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11520606B2Dynamic generation of user interface components based on hierarchical component factories
Publication Date: 2022.12.06 VMWARE INC
  • US11520606B2 patent drawing
  • US11520606B2 patent drawing
  • US11520606B2 patent drawing

AI summary

Techniques for dynamically generating user interface (UI) components based on hierarchical component factories are disclosed. In one example, a component factory corresponding to each of a plurality of UI components may be defined. The plurality of UI components associated with an application may be registered with a common registry using associated metadata and configuration information. Each UI component may be mapped to a component factory of an associated parent UI component based on the associated metadata. A request to render at least a portion of the application on a UI may be received. At least one UI component corresponding to the request at each level in a hierarchy may be generated, at runtime, using the component factory associated with the at least one UI component and the common registry. The at least one generated UI component may be rendered on the UI.