Supercharge Your Innovation With Domain-Expert AI Agents!

A method for dynamically generating ui

A technology of dynamic generation and components, which is applied in the direction of website content management, other database retrieval, network data retrieval, etc., and can solve the problems of failure to generate response events, poor scalability, and resource, time and manpower consumption

Active Publication Date: 2020-10-27
成都新希望金融信息有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the high popularity of smart terminals, H5 and WeChat applets have become the most common welcome homepages, event displays, and marketing promotion tools in people's lives. Changes may require redevelopment, and it is difficult to make dynamic adjustments according to actual application scenarios such as promotion process and customer base, which makes development costs huge and consumes a lot of resources, time and manpower
[0003] At present, the existing mainstream UI generation technologies are divided into two types, one is to dynamically generate corresponding H5 pages by setting component parameters by dragging and dropping components, and the other is to generate H5 pages for specific usage scenarios through background configuration and specified parameters; the former Although the first method can solve the problem of dynamic and rapid configuration generation of H5 content, it cannot solve the problem of dynamic generation of H5 pages; the latter method can solve the problem of dynamic generation of H5, but it relies heavily on business scenario logic and has poor scalability.
[0004] The above two technologies are mainly aimed at H5, but they cannot solve the problem of UI generation on the small program side; in addition, they cannot adapt to the growing usage scenarios, and the generated UI cannot dynamically monitor response events and cannot generate dynamic forms. Insufficient flexibility and scalability

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for dynamically generating ui
  • A method for dynamically generating ui
  • A method for dynamically generating ui

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The specific embodiments of the present invention are described below so that those skilled in the art can understand the present invention, but it should be clear that the present invention is not limited to the scope of the specific embodiments. For those of ordinary skill in the art, as long as various changes Within the spirit and scope of the present invention defined and determined by the appended claims, these changes are obvious, and all inventions and creations using the concept of the present invention are included in the protection list.

[0038] In order to realize dynamic generation of UI, highly reusable, highly configurable, and highly expandable, the present invention divides UI generation into two parts: back-end configuration and front-end rendering. The back-end configuration includes three modules: layout, component, and template; the front-end rendering includes H5 rendering rules and applet rendering rules.

[0039] Such as figure 1 As shown, the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a UI dynamic generation method. The method includes configuring the layout json at the UI backend, configuring the component json at the UI backend, and configuring the template according to the layout and components to generate the template json, and configuring the template json at the UI front end. Data rendering. The present invention modularizes the UI page by means of layout and components, which can realize high reuse of layout and components, facilitate flexible collocation, and improve the efficiency of UI generation; and adopt the tree-shaped json data structure to generate the layout and component configuration The template is converted to the corresponding json data and saved to realize the separation of front-end and back-end configurations, and the rendering can be adjusted according to the current environment to adapt to multiple platforms.

Description

technical field [0001] The invention belongs to the technical field of UI generation, and in particular relates to a dynamic UI generation method suitable for various environments. Background technique [0002] With the high popularity of smart terminals, H5 and WeChat applets have become the most common welcome homepages, event displays, and marketing promotion tools in people's lives. Changes may require redevelopment, and it is difficult to make dynamic adjustments according to actual application scenarios such as promotion process and customer base, which makes the development cost huge and consumes a lot of resources, time and manpower. [0003] At present, the existing mainstream UI generation technologies are divided into two types, one is to dynamically generate corresponding H5 pages by setting component parameters by dragging and dropping components, and the other is to generate H5 pages for specific usage scenarios through background configuration and specified pa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/957G06F16/958
CPCG06F16/9577G06F16/986
Inventor 高斌丁立聪王发修
Owner 成都新希望金融信息有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More