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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com