Cross-Platform UI Engines Using Dual Description Languages

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developers face challenges in creating user interfaces that adapt to different operating systems and provide rich functionalities, as existing methods require separate interface description files for each OS platform, leading to increased development complexity and difficulty.

Innovation Solution

A user interface implementation method that uses two different interface description languages within a single application installation package, where one language is for basic UI development and the other for customized UI programming, allowing the same UI to be adapted across multiple OS platforms with enhanced capabilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If developers use separate interface description files for each OS platform, then the UI can be adapted to different operating systems, but the development complexity increases

Engineering Contradiction:
ImproveUI adaptability to different OS platformsVSAvoiddevelopment complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies universality by creating a unified interface description file that can be interpreted by multiple UI engines across different OS platforms. The file uses a universal syntax that can describe UI elements in a platform-agnostic manner, allowing the same file to generate UIs on Android, iOS, and other platforms without modification.

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

Solution Approach 2:

The patent introduces an intermediary layer - the universal interface description file with standardized syntax - that sits between the developer and multiple OS platforms. This intermediary translates developer intent into platform-specific UIs through different UI engines, eliminating the need for separate description files for each platform.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If developers create rich functional UIs, then the UI provides enhanced capabilities, but the development difficulty increases

Engineering Contradiction:
ImproveUI functional capabilitiesVSAvoiddevelopment difficulty
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent enables rich functional UIs through parameter changes by allowing the interface description file to include extended attributes and custom properties that control advanced behaviors. These parameters can define animations, interactions, and dynamic characteristics without requiring complex platform-specific code, simplifying the development of sophisticated UIs.

Inventive Principle:
Principle #35Parameter changes

3Ease of manufacture

If a single interface description language is used across platforms, then development is simplified, but customized UI programming capabilities are limited

Engineering Contradiction:
ImproveUI development easeVSAvoidcustomized UI programming capability
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The patent applies segmentation by dividing the interface description into two distinct parts: a basic structure section using standardized syntax for common UI elements, and an extended functionality section using domain-specific language for customized behaviors. This segmentation allows each part to serve its purpose optimally while maintaining a unified file format.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses composite materials by combining two different description languages within a single interface description file. The file integrates both standardized syntax for basic UI structure and domain-specific language for advanced customization, creating a composite description that leverages the strengths of both approaches.

Inventive Principle:
Principle #40Composite materials

Data Source

PatentUS20230325209A1User Interface Implementation Method and Apparatus
Publication Date: 2023.10.12 HUAWEI TECH CO LTD
  • US20230325209A1 patent drawing
  • US20230325209A1 patent drawing
  • US20230325209A1 patent drawing

AI summary

An application installation package of a first application includes a first description file and a second description file that are used to perform interface description and interface behavior definition on a UI of the first application. The first description file and the second description file use different interface description languages. The first description file uses a first interface description language, and the second description file uses a second interface description language. When an electronic device runs the first application, a first UI engine reads, parses, and executes the first description file, to generate a first part of a first UI; and a second UI engine reads, parses, and executes the second description file, to generate a second part of the first UI.