Express service APP updating method and device based on Weex, equipment and storage medium
An update method and local storage technology, applied to program control devices, program control design, instruments, etc., can solve problems such as inability to achieve dynamics, high maintenance costs, inconsistent logic, etc., to facilitate A/B testing and improve development efficiency , the effect of improving the loading speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] This embodiment provides a Weex-based express service APP update method, the flow chart of which is as follows figure 1 As shown, it specifically includes the following steps.
[0066] S100: In response to the user's application start instruction, pre-download the JS Bundle file corresponding to the Weex page configured in the express service APP configuration file, and save it to a local storage.
[0067] S200: Obtain the associated JS Bundle file according to the page access request initiated by the user, and update the Weex page of the accessed express service APP according to the obtained JS Bundle file.
[0068] In step S100, the user's application start instruction refers to the user's initiative to start the express service APP application program in the terminal. The courier service APP configuration file refers to the relevant system files configured when accessing the pages in the courier service APP application, which may include the page jump relationship c...
Embodiment 2
[0083]Based on the first embodiment, this embodiment provides another Weex-based express service APP update method, the flow chart of which is as follows image 3 As shown, it specifically includes the following steps.
[0084] S300: In response to the user's application start instruction, pre-download the JS Bundle file corresponding to the Weex page configured in the express service APP configuration file, and save it to a local storage.
[0085] S301: Pre-download the gray release configuration file corresponding to the express service APP configuration file, and save it to a local storage.
[0086] S302: Obtain the associated JS Bundle file according to the page access request initiated by the user, and update the Weex page of the accessed express service APP according to the obtained JS Bundle file and grayscale release.
[0087] The difference from Embodiment 1 is that in this embodiment, in order to realize the gray release function of the express service APP, this emb...
Embodiment 3
[0104] Based on Embodiment 1 and Embodiment 2, this embodiment provides a Weex-based courier service APP update device, and its principle diagram is as follows Figure 7 As shown, a preload module 100 and an update module 200 are included.
[0105] The preloading module 100 is used to respond to the user's application start instruction, pre-download the JSBundle file corresponding to the configured Weex page, and save it to the local storage; file, and update the visited courier service APP page according to the obtained JS Bundle file.
[0106] Preferably, the preloading module 100 includes:
[0107] The page identification obtaining unit 101 is configured to obtain the unique page identification of the Weex page to be loaded according to the preloading configuration file.
[0108] The file pre-download unit 102 is configured to download the JS Bundle file associated with the page unique identifier according to the resource locator corresponding to the page unique identifie...
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