Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for generating web interface based on json self-describing structure

A web interface and self-describing technology, applied in the computer field, can solve problems such as complex UI framework and laborious interaction of basic events, and achieve the effect of saving research and development man-hours and reducing error rates

Active Publication Date: 2022-08-05
厦门南讯股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the same time, as the current popular UI frameworks are becoming more and more complex and bulky, component layout and basic event interaction are laborious, and each upgrade requires a lot of personnel training and familiarization cycles

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 and device for generating web interface based on json self-describing structure
  • A method and device for generating web interface based on json self-describing structure
  • A method and device for generating web interface based on json self-describing structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the purpose, technical solutions and advantages of the invention more clear and clear, the following combined with the attachment and embodiments to further explain the present invention in detail.

[0035] The present invention disclosed a method of generating a webpage interface based on the JSON self -described structure, such as figure 1 It is shown in the following steps:

[0036] S1: Refine the solidified page structure in the business system and define the template page type.

[0037] For business systems currently widely used, collect a large number of samples, extract relatively solidified page structures, and summarize the following template page types, including list type interfaces, simple table type interfaces, and statement chart interfaces. The list type interface refers to the page where the user provides data from pages to page viewing, screening, and operating buttons; the simple table type interface refers to the interface of the layout o...

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 relates to the field of computer technology, and discloses a method for generating a web page interface based on a JSON self-describing structure, comprising: defining a template page type; defining a standard page description structure of the template page, generating core content blocks, and forming a rendering template; generating The JSON structure described by the design interface structure; the rendering engine loads the JSON structure of the design interface, and loads the corresponding rendering template; the rendering engine recursively calls the rendering template, generates the component elements in the JSON structure of the design interface as interface controls, and converts the The interactive event script is written into the control API function; the rendering engine caches the design interface in the LRU according to the page id, and outputs the HTML of the page to the browser; the browser executes the js component framework, renders and finally presents the design interface. The invention makes data binding no longer limited to the development stage, and can also be adjusted according to requirements in the implementation and trial operation stages, greatly reducing the error rate and deployment cycle in page development, and saving research and development man-hours.

Description

Technical field [0001] The invention involves the field of computer technology, especially a web interface generation method and device based on the JSON self -described structure. Background technique [0002] With the popularity of B / S technology, software developers often encounter irregularly updating the interface JS framework and modifying the interface style. Due to the interface layout, style elements and interactive actions, data logic points belong to page art and front -end development. At the same time, as the popular UI framework is becoming more and more complicated, larger and larger, component layout and basic events interaction and effort, each upgrade requires a lot of staff training and familiarity cycle. How to better isolate business development and UI presentation, reuse the reorganization of existing components, and allow business development to focus on business interaction, and improving research and development efficiency are urgent issues that need to b...

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): G06F8/38
CPCG06F8/38
Inventor 陈碧勇方敏吕晔
Owner 厦门南讯股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products