Cross-Platform UI Engines Using Dual Description Languages
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
2Adaptability or versatility
If developers create rich functional UIs, then the UI provides enhanced capabilities, but the development difficulty increases
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.
3Ease of manufacture
If a single interface description language is used across platforms, then development is simplified, but customized UI programming capabilities are limited
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.
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.
Data Source
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.


