CN110825373A - Dynamic method and device for mobile terminal - Google Patents

Dynamic method and device for mobile terminal Download PDF

Info

Publication number
CN110825373A
CN110825373A CN201910959631.9A CN201910959631A CN110825373A CN 110825373 A CN110825373 A CN 110825373A CN 201910959631 A CN201910959631 A CN 201910959631A CN 110825373 A CN110825373 A CN 110825373A
Authority
CN
China
Prior art keywords
resource package
xml template
app
template file
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910959631.9A
Other languages
Chinese (zh)
Other versions
CN110825373B (en
Inventor
刘盟
顾少丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lake Information Technology Co Ltd
Original Assignee
Shanghai Lake Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lake Information Technology Co Ltd filed Critical Shanghai Lake Information Technology Co Ltd
Priority to CN201910959631.9A priority Critical patent/CN110825373B/en
Publication of CN110825373A publication Critical patent/CN110825373A/en
Application granted granted Critical
Publication of CN110825373B publication Critical patent/CN110825373B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a mobile terminal dynamic method and a mobile terminal dynamic device, which relate to the technical field of mobile client dynamic, wherein the method comprises the following steps: starting an application program APP, and loading a first resource package for generating an opening interface of the APP; the first resource package comprises a first script file and a first extensible markup language (XML) template file; calling the first XML template file in the first resource package according to an XML template rule; rendering the first XML template file according to a native rendering engine, executing the first XML template file according to a network view, and obtaining an opening interface of the APP.

Description

Dynamic method and device for mobile terminal
Technical Field
The invention relates to the technical field of mobile client dynamic, in particular to a mobile client dynamic method and device.
Background
With the rapid development of information technologies such as mobile internet, cloud computing, internet of things and the like, the applications of mobile terminals are becoming more and more extensive, various Applications (APPs) are emerging and are in a wide variety, and with the increasing amount of information of networks, in order to meet the reading requirements of users, the content presented on the interface of the APP is also continuously updated, the interface that a user sees when opening the APP is a page that stays last time, and the interface that is seen later is an interface that is updated in real time, so that the mobile terminal dynamic technology is applied.
At present, the dynamic technical scheme of the mobile terminal embeds an XML template file in an Software Development Kit (SDK) of an APP, and then processes the dynamic of the mobile terminal by using a rendering mode.
The volume of the SDK bag in the dynamic processing mode in the prior art is large, and the problem to be solved urgently is obvious at present when lightweight processing is advocated.
Disclosure of Invention
The embodiment of the application provides a mobile terminal dynamic method and device, and solves the problem that the volume of an SDK (software development kit) bag is large due to the fact that an XML template file is built in the prior art.
The embodiment of the application provides a method for dynamic mobile terminal, which specifically comprises the following steps:
starting an application program APP, and loading a first resource package for generating an opening interface of the APP; the first resource package comprises a first script file and a first extensible markup language (XML) template file;
calling the first XML template file in the first resource package according to an XML template rule;
rendering the first XML template file according to a native rendering engine, executing the first XML template file according to a network view, and obtaining an opening interface of the APP;
within a preset time period after the opening interface of the APP is obtained, if a second resource package is obtained from a server side, the second resource package comprises a second script file and a second XML template file; and when the second resource package is determined to be different from the first resource package, rendering a second XML template file in the second resource package according to the native rendering engine, and/or executing a second script file in the second resource package according to the network view to obtain an updated interface of the APP.
A possible implementation manner, when it is determined that the second resource package is different from the first resource package, the rendering a second XML template file in the second resource package according to the native rendering engine, and/or executing a second script file in the second resource package according to the web view, to obtain an update interface of the APP includes:
when the second XML template file is different from the first XML template file, the second script file is the same as the first script file;
rendering the second XML template file according to the native rendering engine, executing the first script file according to the network view, and obtaining an updating interface of the APP.
A possible implementation manner, when it is determined that the second resource package is different from the first resource package, rendering a second XML template file in the second resource package according to the native rendering engine, and/or executing a second script file in the second resource package according to the web view, and obtaining an update interface of the APP further includes:
when the second XML template file is different from the first XML template file, and the second script file is different from the first script file;
rendering the second XML template file according to the native rendering engine, and executing the second script file according to the network view to obtain an update interface of the APP.
A possible implementation manner, when it is determined that the second resource package is different from the first resource package, rendering a second XML template file in the second resource package according to the native rendering engine, and/or executing a second script file in the second resource package according to the web view, and obtaining an update interface of the APP further includes:
when the second script file is different from the first script file, the second XML template file is the same as the first XML template file;
and executing the second script file according to the network view, and rendering the first XML template file according to the native rendering engine to obtain an updated interface of the APP.
A possible implementation manner, when the second resource packet is different from the first resource packet, then further comprising:
and after the update interface of the APP is obtained, replacing the first resource packet with the second resource packet and storing the second resource packet in a local safe storage area of the mobile terminal.
One possible implementation further includes:
and keeping the opening interface of the APP when the second resource package is determined to be the same as the first resource package.
One possible implementation further includes:
when the first XML template file is updated, converting the updating of the first XML template file into a parameter value in a system life cycle function, wherein the system life cycle function is used for binding with the first script file and transmitting the parameter value to a page request instruction in the first script file;
and executing the page request instruction in the first XML template file through the network view, uploading the update of the first XML template file to a server side and storing the update again.
The embodiment of the application provides a device that removes end dynamization specifically includes:
the system comprises a first processing unit, a second processing unit and a third processing unit, wherein the first processing unit is used for starting an application program APP and loading a first resource package used for generating an opening interface of the APP; the first resource package comprises a first script file and a first extensible markup language (XML) template file;
the execution unit is used for calling the first XML template file in the first resource package according to an XML template rule; rendering the first XML template file according to a native rendering engine, executing the first XML template file according to a network view, and obtaining an opening interface of the APP;
the second processing unit is used for acquiring a second resource package from the server side within a preset time period after the opening interface of the APP is acquired, wherein the second resource package comprises a second script file and a second XML template file; and when the second resource package is determined to be different from the first resource package, rendering a second XML template file in the second resource package according to the native rendering engine, and/or executing a second script file in the second resource package according to the network view to obtain an updated interface of the APP.
In one possible implementation, the second processing unit is further configured to:
when the second XML template file is different from the first XML template file, the second script file is the same as the first script file;
rendering the second XML template file according to the native rendering engine, executing the first script file according to the network view, and obtaining an updating interface of the APP.
Embodiments of the present application provide a storage medium containing a program or instructions that, when executed, cause a computer to perform the method of any of the above possible designs.
The dynamic method and the dynamic device for the mobile terminal provided by the invention have the following beneficial effects that: the XML template file is independent in a mode of analyzing the XML template and converting the XML template into the rule of the XML template, so that the XML template file is not required to be built in the SDK of the APP, and the larger size of the SDK package is reduced.
Drawings
Fig. 1 is a schematic diagram of a technical architecture of a mobile terminal dynamic method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for dynamic implementation of a mobile terminal according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating a resource package executing process of a mobile-end dynamic method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating resource package updating of a dynamic method of a mobile terminal according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an apparatus of a mobile end dynamic method according to an embodiment of the present disclosure.
Detailed Description
In order to better understand the technical solutions, the technical solutions will be described in detail below with reference to the drawings and the specific embodiments of the specification, and it should be understood that the specific features in the embodiments and examples of the present application are detailed descriptions of the technical solutions of the present application, but not limitations of the technical solutions of the present application, and the technical features in the embodiments and examples of the present application may be combined with each other without conflict.
In the prior art, an Extensible Markup Language (XML) template file is built in an SDK of an APP, where the XML template file includes a layout, a font format, a line spacing, and the like of a User Interface (UI), and when the APP is started, a system directly calls the XML template file and obtains a first layer rendering Interface by applying a WebView rendering manner or a Native rendering manner. However, because the XML template file is built in the SDK, the SDK has a large volume and occupies a large storage space; meanwhile, if a WebView rendering mode is used, the rendering efficiency is not high, and the interface occasionally has the phenomenon of jamming or screen white; if a Native rendering mode is used, an APP application developer needs to learn some related technologies, such as real.
Fig. 1 is a schematic diagram of a technical architecture of a mobile terminal dynamic method according to an embodiment of the present disclosure. The technical architecture comprises a server 101, a resource package 102, an XML template file 103, a script file 104, a mobile phone 105, an APP106 and an SDK 107.
The server 101 includes a resource package 102, and is configured to store the resource package 102 and send the resource package 102 to the APP 106.
The resource package 102 includes an XML template file 103 and a script file 104 for storing the XML template file 103 and the script file 104.
An XML template file 103 for recording the layout, font format and line spacing of the user interface UI.
The script file 104 is used for recording instructions of page requests, data conversion, event responses and service fields, and the script file 104 is written in a JavaScript language.
A handset 105 for carrying the installation, use of the APP106, and for storing the resource package 102.
And the APP106 is used for being installed in the mobile phone 105 and running.
The SDK107 is arranged in the APP106 and is used for embedding the rule of the XML template converted by the developer after the XML template is analyzed;
and is also used for calling processing when rendering the resource package 102 when opening the APP 106.
Fig. 2 is a flowchart of a mobile terminal dynamic method according to an embodiment of the present disclosure, where the mobile terminal dynamic method according to the embodiment of the present disclosure can reduce the volume of an SDK packet and reuse the existing mobile development technology, thereby reducing the development period and cost. The specific technical scheme is as follows.
Step 201: starting an application program APP, and loading a first resource package for generating an opening interface of the APP; the first resource package comprises a first script file and a first extensible markup language (XML) template file;
step 202: calling the first XML template file in the first resource package according to an XML template rule;
step 203: rendering the first XML template file according to a native rendering engine, executing the first XML template file according to a network view, and obtaining an opening interface of the APP;
step 204: within a preset time period after the opening interface of the APP is obtained, if a second resource package is obtained from a server side, the second resource package comprises a second script file and a second XML template file; and when the second resource package is determined to be different from the first resource package, rendering a second XML template file in the second resource package according to the native rendering engine, and/or executing a second script file in the second resource package according to the network view to obtain an updated interface of the APP.
Specifically, in step 201, when the user starts the APP of the mobile terminal, the first resource package stored in the local secure storage area of the mobile terminal is loaded first. The first resource package comprises a first script file and a first extensible markup language XML template file, wherein the first script file comprises a first instruction, and the first instruction is a first mark for setting page requests, data conversion, event responses and service fields; the first XML template file includes a first record for setting first parameters of a layout, a font format, and a line spacing of the user interface UI. The first resource package also contains other auxiliary files, such as initialized static data.
Step 202 specifically, the content in the XML template and the corresponding relationship between the content are analyzed, and then converted into the rule of the XML template, and the rule is embedded in the SDK in the APP. The XML template can be independent through the processing in the mode, the XML template does not need to be built in the SDK, and the developer of the APP application only needs to develop the corresponding XML template file according to the rule, so that the developer of the APP application does not need to consider the XML template and how to call the XML template in the APP system, and the development workload is reduced.
Step 203, specifically, the SDK in the APP calls an XML template according to rules, renders a first XML template file according to a Native rendering engine, and executes the first XML template file according to WebView; and obtaining the opening interface of the APP.
The Native rendering engine renders the first XML template file to obtain the dynamism of the opening interface presentation of the APP;
WebView executes the first script file to obtain the dynamic state of the internal logic of the opening interface of the APP;
and obtaining a complete dynamic APP opening interface according to the dynamic presented by the APP opening interface and the dynamic of the internal logic.
For example, the obtained scenario corresponding to the opening interface of the APP is as follows: the interface presented when the newly installed APP is opened, or the interface stopped when the APP is opened and the APP is stopped last time.
Step 204, specifically, within a preset time period after the opening interface of the APP is obtained, for example, within 5 seconds, a second resource package is obtained from the server, and the second resource package is decrypted and unpacked to obtain a second XML template file and a second script file therein; and comparing the second resource packet with the first resource packet stored in the local safe storage area of the mobile terminal, and checking whether the resource packet is updated. The specific case when it is determined that the second resource packet is different from the first resource packet is as follows.
(1) When the second XML template file is different from the first XML template file, the second script file is the same as the first script file;
and rendering the second XML template file according to the native rendering engine, executing the first script file according to the network view, and obtaining an update interface of the APP.
(2) When the second XML template file is different from the first XML template file, and the second script file is different from the first script file;
and rendering the second XML template file according to the native rendering engine, and executing the second script file according to the network view to obtain an update interface of the APP.
(3) When the second script file is different from the first script file, the second XML template file is the same as the first XML template file;
and executing the second script file according to the network view, and rendering the first XML template file according to the native rendering engine to obtain an update interface of the APP.
For example, the obtained scenario corresponding to the update interface of APP is: a real-time updated interface presented after an interface presented just prior to the brief dwell when the user opens the APP interface.
Through the steps, the original mode of the template files built in the SDK is changed into an independent mode to be stored in a local safe storage area of the mobile terminal and a server side, so that the size of an SDK package is reduced, the SDK can be changed into a universal mode, and cross-platform and different APP applications can be directly used.
Fig. 3 is a schematic diagram of a resource package execution process of the mobile terminal dynamic method according to the embodiment of the present application, and as shown in the drawing, a process of executing the resource package and obtaining an opening interface of an APP or an update interface of the APP is described in detail as follows.
And the SDK calls the XML template file according to the rule, renders the XML template file according to the Native rendering engine, binds a system life cycle function in the Native architecture with the script file, and executes the script file according to the WebView. The system life cycle corresponds to each link of creating, running and destroying of the APP, when the APP is created, destroyed or the XML template file is involved in changing during running, the changed operation is converted into a parameter value in a system life cycle function and is forwarded to a bound script file, a WebView execution script file sends a page request instruction of creating, destroying or XML template file changing during running of the APP to a server side, the server side updates a resource package after receiving the request instruction, and then sends the updated resource package to the APP for interface rendering. The APP creation here refers to opening the APP, and the APP destruction refers to closing the APP.
In addition, after a user installs a new APP, when the user uses the APP for the first time, the first XML template file and the first script file are obtained in a built-in resource package mode, the first XML template file is rendered according to a Native rendering engine, and the first script file is executed according to WebView to render an interface of the APP. And then pulling the second resource packet from the server side to perform interface rendering. If no built-in resource package exists in the APP, a transient white screen phenomenon occurs on the interface of the APP when the APP is used for the first time, however, when the APP is opened, a page request of updating the XML model file caused by a creating link of a system life cycle function in a Native architecture is triggered and transferred to a bound script file, a WebView executes the script file to send a page request instruction to a server side, the server side updates the resource package after receiving the instruction, and then pulls the updated resource package from the server side for interface rendering, so that the APP interface presents a real-time updated dynamic interface after the transient white screen phenomenon occurs.
Fig. 4 is a flowchart of updating a resource package of a method for dynamic implementation of a mobile terminal according to an embodiment of the present application, and the specific steps are as follows.
Step 401: attempted preloading of local resource packages.
Specifically, the resource package obtained by opening the APP by the user is stored in a local safe storage area of the mobile terminal, when the APP is opened again by the user, local preloading is firstly carried out according to the resource package stored in the local safe storage area of the mobile terminal, the XML template file is rendered according to a Native rendering engine according to the XML template file and the script file in the resource package, and the first rendering is carried out on the interface of the APP according to the WebView execution script file to obtain the opening interface of the APP.
Step 402: and inquiring and updating the resource package version of the server side.
Specifically, when the XML template file and the script file of the resource package are updated, the version of the resource package is inquired at the server side and is correspondingly updated. For example, the developer has a change to a font color in the XML model file or an event response of a button in the script file, etc.
Step 403: and downloading, checking and caching the resource packet at the server side.
Specifically, the updated resource packet is downloaded from the server, decrypted and unpacked, and compared with the resource packet stored in the local safe storage area of the mobile terminal to see whether the two are different, and if the two are different, the resource packet stored in the local safe storage area of the mobile terminal is updated into a new resource packet; if the two are the same, the resource packet stored in the local secure storage area of the mobile terminal remains unchanged.
Fig. 5 is a schematic structural diagram of an apparatus of a mobile end dynamic method according to an embodiment of the present disclosure. Including a first processing unit 501, an execution unit 502, and a second processing unit 503, as described in detail below.
A first processing unit 501, configured to start an application APP and load a first resource package for generating an opening interface of the APP; the first resource package comprises a first script file and a first extensible markup language (XML) template file;
an executing unit 502, configured to invoke the first XML template file in the first resource package according to an XML template rule; rendering the first XML template file according to a native rendering engine, executing the first XML template file according to a network view, and obtaining an opening interface of the APP;
a second processing unit 503, configured to, within a preset time period after the opening interface of the APP is obtained, if a second resource package is obtained from the server, where the second resource package includes a second script file and a second XML template file; and when the second resource package is determined to be different from the first resource package, rendering a second XML template file in the second resource package according to the native rendering engine, and/or executing a second script file in the second resource package according to the network view to obtain an updated interface of the APP.
In one possible implementation manner, the second processing unit is further configured to:
when the second XML template file is different from the first XML template file, the second script file is the same as the first script file;
rendering the second XML template file according to the native rendering engine, executing the first script file according to the network view, and obtaining an updating interface of the APP.
Finally, it should be noted that: as will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for dynamic operation of a mobile terminal, comprising:
starting an application program APP, and loading a first resource package for generating an opening interface of the APP; the first resource package comprises a first script file and a first extensible markup language (XML) template file;
calling the first XML template file in the first resource package according to an XML template rule;
rendering the first XML template file according to a native rendering engine, executing the first XML template file according to a network view, and obtaining an opening interface of the APP;
within a preset time period after the opening interface of the APP is obtained, if a second resource package is obtained from a server side, the second resource package comprises a second script file and a second XML template file; and when the second resource package is determined to be different from the first resource package, rendering a second XML template file in the second resource package according to the native rendering engine, and/or executing a second script file in the second resource package according to the network view to obtain an updated interface of the APP.
2. The method of claim 1, wherein upon determining that the second resource package is different from the first resource package, rendering a second XML template file in the second resource package according to the native rendering engine and/or executing a second script file in the second resource package according to the web view, obtaining the update interface for the APP comprises:
when the second XML template file is different from the first XML template file, the second script file is the same as the first script file;
rendering the second XML template file according to the native rendering engine, executing the first script file according to the network view, and obtaining an updating interface of the APP.
3. The method of claim 1, wherein upon determining that the second resource package is different from the first resource package, rendering a second XML template file in the second resource package according to the native rendering engine and/or executing a second script file in the second resource package according to the web view, obtaining the updated interface for the APP further comprises:
when the second XML template file is different from the first XML template file, and the second script file is different from the first script file;
rendering the second XML template file according to the native rendering engine, and executing the second script file according to the network view to obtain an update interface of the APP.
4. The method of claim 1, wherein upon determining that the second resource package is different from the first resource package, rendering a second XML template file in the second resource package according to the native rendering engine and/or executing a second script file in the second resource package according to the web view, obtaining the updated interface for the APP further comprises:
when the second script file is different from the first script file, the second XML template file is the same as the first XML template file;
and executing the second script file according to the network view, and rendering the first XML template file according to the native rendering engine to obtain an updated interface of the APP.
5. The method of claim 1, wherein when the second resource packet is different from the first resource packet, then further comprising:
and after the update interface of the APP is obtained, replacing the first resource packet with the second resource packet and storing the second resource packet in a local safe storage area of the mobile terminal.
6. The method of claim 1, further comprising:
and keeping the opening interface of the APP when the second resource package is determined to be the same as the first resource package.
7. The method of claim 1, further comprising:
when the first XML template file is updated, converting the updating of the first XML template file into a parameter value in a system life cycle function, wherein the system life cycle function is used for binding with the first script file and transmitting the parameter value to a page request instruction in the first script file;
and executing the page request instruction in the first XML template file through the network view, uploading the update of the first XML template file to a server side and storing the update again.
8. An apparatus for dynamic deployment of a mobile terminal, comprising:
the system comprises a first processing unit, a second processing unit and a third processing unit, wherein the first processing unit is used for starting an application program APP and loading a first resource package used for generating an opening interface of the APP; the first resource package comprises a first script file and a first extensible markup language (XML) template file;
the execution unit is used for calling the first XML template file in the first resource package according to an XML template rule; rendering the first XML template file according to a native rendering engine, executing the first XML template file according to a network view, and obtaining an opening interface of the APP;
the second processing unit is used for acquiring a second resource package from the server side within a preset time period after the opening interface of the APP is acquired, wherein the second resource package comprises a second script file and a second XML template file; and when the second resource package is determined to be different from the first resource package, rendering a second XML template file in the second resource package according to the native rendering engine, and/or executing a second script file in the second resource package according to the network view to obtain an updated interface of the APP.
9. The apparatus as recited in claim 8, said second processing unit to further:
when the second XML template file is different from the first XML template file, the second script file is the same as the first script file;
rendering the second XML template file according to the native rendering engine, executing the first script file according to the network view, and obtaining an updating interface of the APP.
10. A storage medium comprising a program or instructions which, when executed, perform the method of any one of claims 1 to 7.
CN201910959631.9A 2019-10-10 2019-10-10 Mobile terminal dynamic method and device Active CN110825373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910959631.9A CN110825373B (en) 2019-10-10 2019-10-10 Mobile terminal dynamic method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910959631.9A CN110825373B (en) 2019-10-10 2019-10-10 Mobile terminal dynamic method and device

Publications (2)

Publication Number Publication Date
CN110825373A true CN110825373A (en) 2020-02-21
CN110825373B CN110825373B (en) 2023-04-25

Family

ID=69549076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910959631.9A Active CN110825373B (en) 2019-10-10 2019-10-10 Mobile terminal dynamic method and device

Country Status (1)

Country Link
CN (1) CN110825373B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113111290A (en) * 2021-04-29 2021-07-13 北京房江湖科技有限公司 Method and device for generating UI (user interface)
CN113900834A (en) * 2021-09-24 2022-01-07 天津同阳科技发展有限公司 Data processing method, device, equipment and storage medium based on Internet of things technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017114182A1 (en) * 2015-12-30 2017-07-06 阿里巴巴集团控股有限公司 Interface data displaying method and device
WO2017124952A1 (en) * 2016-01-21 2017-07-27 阿里巴巴集团控股有限公司 Webpage script loading method and device
CN108279932A (en) * 2018-01-22 2018-07-13 北京奇艺世纪科技有限公司 A kind of mobile terminal dynamic configuration user interface method and device
CN108415702A (en) * 2018-01-22 2018-08-17 北京奇艺世纪科技有限公司 A kind of mobile terminal application interface dynamic rendering intent and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017114182A1 (en) * 2015-12-30 2017-07-06 阿里巴巴集团控股有限公司 Interface data displaying method and device
WO2017124952A1 (en) * 2016-01-21 2017-07-27 阿里巴巴集团控股有限公司 Webpage script loading method and device
CN108279932A (en) * 2018-01-22 2018-07-13 北京奇艺世纪科技有限公司 A kind of mobile terminal dynamic configuration user interface method and device
CN108415702A (en) * 2018-01-22 2018-08-17 北京奇艺世纪科技有限公司 A kind of mobile terminal application interface dynamic rendering intent and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吕海涛;贾东宁;刘玉红;: "基于XML的MVC视图层渲染引擎" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113111290A (en) * 2021-04-29 2021-07-13 北京房江湖科技有限公司 Method and device for generating UI (user interface)
CN113900834A (en) * 2021-09-24 2022-01-07 天津同阳科技发展有限公司 Data processing method, device, equipment and storage medium based on Internet of things technology

Also Published As

Publication number Publication date
CN110825373B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
US11409949B2 (en) Mobile device resource provisioning system and method
US11113050B2 (en) Application architecture generation
CN106815055B (en) Method and system for dynamic layout of mobile application
CN116301951B (en) Micro-service application installation upgrading method and device based on kubernetes
CN110825373B (en) Mobile terminal dynamic method and device
CN110020370B (en) Method and device for realizing animation in client application and framework of animation script
CN107239265B (en) Binding method and device of Java function and C function
CN110825365B (en) Method, device, equipment and medium for customizing webview characteristics
WO2023124657A1 (en) Micro-application running method and apparatus, device, storage medium, and program product
CN115811481A (en) Interactive service testing method and device, computer equipment and storage medium
KR101482152B1 (en) Web application executable device and method with page association function
WO2022099913A1 (en) Interface configuration method and apparatus, and device and medium
KR100538801B1 (en) Graphic User Interface Providing System And Method Wireless Terminal Applications
CN114546434A (en) Application updating method and device, electronic equipment and storage medium
CN106775900B (en) Calling method and system of application browser
CN116009831B (en) Mobile application program development method, device and equipment
CN111803939B (en) Image rendering method and device and electronic equipment
CN118227224A (en) Document generation method, device, equipment and storage medium
CN117591763A (en) Method and system for managing sub-applications of main application based on micro front end
AU2024200289A1 (en) Skin changing method and apparatus for display interface, vehicle and storage medium
CN116932126A (en) Application embedding method, device, terminal, medium and program product
CN118333013A (en) Open API document management method, device, equipment and computer storage medium
CN114721655A (en) Method for remotely deploying MATLAB function
CN114500496A (en) Target data downloading method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant