Method and device for dynamically configuring user interface for mobile terminal

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 page layout

Active Publication Date: 2018-07-13
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF5 Cites 25 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
  • Method and device for dynamically configuring user interface for mobile terminal
  • Method and device for dynamically configuring user interface for mobile terminal
  • Method and device for dynamically configuring user interface for mobile terminal

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

The embodiment of the invention provides a method and device for dynamically configuring a user interface for a mobile terminal. The method comprises the steps that according to the user interface ofa mobile terminal application, an updated Lua script and an updated XML file are acquired; the XML file is parsed through the Lua script, a page layout attribute and a type CSS attribute of an interface to be updated are acquired and mapped to a Native control layer, and page typesetting of the interface to be updated is achieved; the Lua script runs, and a service logic attribute of the interfaceto be updated is acquired; according to page typesetting of the interface to be updated and the service logic attribute of the interface to be updated, an updated user interface is rendered and generated. The problems are solved that in the prior art, when the mobile terminal application is frequently updated, the performance and speed still restrict each other, and the user experience is lowered.

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 Applications(China)
IPC IPC(8): G06F9/44G06F9/451
CPCG06F8/38
Inventor 杨阳
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products