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

A mobile terminal dynamic configuration user interface method and device

A user interface and mobile terminal technology, applied in the Internet field, can solve problems such as reducing user experience, performance and speed constraints, performance bottlenecks, etc., and achieve the effect of efficient and dynamic configuration of page layouts

Active Publication Date: 2021-05-25
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, mobile applications often have the problem that version iterations cannot catch up with changes in requirements. At this time, application dynamics are particularly important, but the content of dynamic updates is not limited to basic information display, but also involves the main frame and overall layout of the page. Layout etc.
[0003] Aiming at the above problems in the existing technology, many dynamic solutions are adopted, but there are inevitable defects and limitations, such as the poor experience of the H5 part of Hybrid, the heavy JS engine of ReactNative, and performance bottlenecks, etc. There is still a gap between performance and speed. Restrictions, reducing the user experience

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 mobile terminal dynamic configuration user interface method and device
  • A mobile terminal dynamic configuration user interface method and device
  • A mobile terminal dynamic configuration user interface method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] refer to figure 1 , which shows a flow chart of steps of an embodiment of a method for dynamically configuring a user interface of a mobile terminal of the present application, which may specifically include the following steps:

[0024] Step 101, according to the user interface of the mobile terminal application, obtain the updated Lua script and XML file.

[0025] In the embodiment of the present invention, when the user is operating an application of the mobile terminal, when it is detected that the mobile terminal application is opened, the corresponding update file is requested from the server for the current user interface of the mobile terminal application, wherein, for the mobile terminal, the The user interface of the application has a corresponding XML file url address on the server side, and the corresponding XML file and Lua script can be obtained from the server side according to the address.

[0026] Specifically, the relevant technicians will deploy the ...

Embodiment 2

[0037] refer to figure 2 , which shows a flow chart of steps of an embodiment of a method for dynamically configuring a user interface of a mobile terminal of the present application, which may specifically include the following steps:

[0038] Step 201, according to the user interface of the mobile terminal application, obtain the updated Lua script and XML file.

[0039] This step is the same as step 101, and will not be described in detail again.

[0040] Step 202: Parse the XML file through a Lua script to generate a Document Object Model DOM tree.

[0041] In the embodiment of the present invention, after the mobile terminal application requests to download the corresponding update XML file and Lua script on the server side, the XML file is parsed by the Lua script to generate a DOM tree.

[0042] Among them, DOM treats XML documents as a tree structure. The DOM tree structure is called a node tree, and all nodes can be accessed through this tree. Their content can b...

Embodiment 3

[0066] refer to image 3 , which shows a structural block diagram of an embodiment of an apparatus for dynamically configuring a user interface for a mobile terminal of the present application, and may specifically include the following modules:

[0067] The mobile terminal dynamically configures the user interface device 300, including:

[0068] The update file obtaining module 301 is used to obtain updated Lua scripts and XML files according to the user interface of the mobile terminal application;

[0069] The page typesetting realization module 302 is used to parse the XML file through the Lua script, obtain the page layout attribute and the style CSS attribute of the interface to be updated, map to the Native control layer, and realize the page typesetting of the interface to be updated;

[0070] The business logic attribute acquisition module 303 is used to run the Lua script to obtain the interface business logic attribute to be updated;

[0071] The user interface rend...

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

Embodiments of the present application provide a method and device for dynamically configuring a user interface of a mobile terminal. The method comprises: according to the user interface of the mobile terminal application, obtaining updated Lua script and XML file; parsing the XML file through the Lua script, obtaining the page layout attribute and style CSS attribute of the interface to be updated, and mapping to the Native control layer, Realize the page layout of the interface to be updated; run the Lua script to obtain the business logic attributes of the interface to be updated; render and generate an updated user interface according to the page layout and business logic attributes of the interface to be updated. It solves the problem in the prior art that performance and speed are mutually restricted and user experience is reduced when mobile terminal applications are frequently updated.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a method for dynamically configuring a user interface for a mobile terminal and a device for dynamically configuring a user interface for a mobile terminal. Background technique [0002] With the popularization of network technology and mobile Internet terminals, the demand for information mobility is increasing day by day, and information mobility requires the development, release, installation and update of mobile terminal applications on different platforms. In addition, mobile applications often have the problem that version iterations cannot catch up with changes in requirements. At this time, application dynamics are particularly important, but the content of dynamic updates is not limited to the display of basic information, but also involves the main frame and the overall layout of the page. layout etc. [0003] Aiming at the above problems in the existing...

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/38G06F9/451
CPCG06F8/38
Inventor 杨阳
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
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