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

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

Pending Publication Date: 2021-01-22
SHANGHAI DONGPU INFORMATION TECH CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage is: RN accesses platform UI components through JS, so it needs to convert JS to native through Bridge bridge, which may cause performance problems when the UI is frequently operated
The disadvantage is: due to changes during the running of the application, if the logic of a certain method is modified, it will cause its logic to be inconsistent before and after the repair, causing some weird errors
The disadvantage is: due to the need for a large number of Hook system source codes, it is necessary to have a deep understanding of the apk code loading and resource loading processes of the system and other source codes of the system, and the compatibility of different versions of the Android system, resulting in different system versions. Differences in source code will lead to compatibility issues in our plug-in solution and high maintenance costs
[0015] The disadvantage is: the size of WeChat applets is limited and currently cannot exceed 2M, which makes it impossible to develop large applets
[0020] The disadvantage is: currently flutter does not support hot update and cannot be dynamic
[0021] Through the above analysis, we can see that the existing Internet product dynamic solutions still have shortcomings and deficiencies. Therefore, it is still necessary to develop a complete dynamic solution to solve the problems existing in the operation of Internet products.

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
  • Express service APP updating method and device based on Weex, equipment and storage medium
  • Express service APP updating method and device based on Weex, equipment and storage medium
  • Express service APP updating method and device based on Weex, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

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 invention discloses an express service APP updating method and device based on Weex, equipment and a storage medium, and the updating method comprises the steps: responding to an application starting instruction of a user, pre-downloading of a JS Bundle file corresponding to a Wex page configured by an express service APP configuration file and a gray release configuration file corresponding to the express service APP configuration file, and storing the JS Bundle file and the gray release configuration file in local storage; and obtaining the associated JS Bundle file according to a page access request initiated by a user, and updating the Weex page of the accessed express service APP according to the obtained JS Bundle file. According to the technical scheme, a set of codes can run onandroid, ios and web terminals at the same time, the development cost is reduced, and the development efficiency is improved; hot update can be realized, and the function of dynamically issuing codesis realized; preloading is supported, the page loading speed is increased, and the performance is comparable with that of native pages; various gray strategies are supported, A / B testing is facilitated, different net points are supported, and a new function is preferentially provided; new services are rapidly developed, and verification is facilitated.

Description

technical field [0001] The present invention relates to the technical field of express delivery, in particular to a Weex-based express service APP update method, device, equipment and storage medium. Background technique [0002] Users have increasingly strong demands for Internet product (such as express service APP) optimization in terms of experience, iteration speed, and effect verification. Therefore, Internet products usually need to be continuously updated to better realize their functions and meet User needs. Traditional Internet products that need to fix bugs or release new functions are released through the app store, requiring users to upgrade and install the app. On the one hand, it is limited by the long review cycle of third-party app stores. On the other hand, bug fixes cannot be fixed in a timely manner without users noticing. [0003] In recent years, some Internet product dynamic solutions have emerged in the Internet industry, as follows: [0004] (1) H...

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): G06F8/65G06F8/71G06F9/445
CPCG06F8/65G06F8/71G06F9/44505G06F9/44578
Inventor 林振钦朱晓辉
Owner SHANGHAI DONGPU INFORMATION 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