Method and system for rapid hot update of application programs
An application program and hot update technology, applied in the Internet field, can solve problems such as poor user experience, insufficient security, and hot update solutions that cannot adapt to different types of repair content, etc., to achieve the effects of reducing manpower, improving stability, and high confidentiality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] This embodiment provides a method for rapid hot update of an application program. The method is used to quickly update the application program according to the repair content of the project when it is found that there is a problem with the project running on the client, such as figure 1 As shown, the method includes the following processes:
[0057] Select the applicable hot update solution according to the content to be repaired; the hot update solution includes the first solution based on the React Native framework, the second solution based on the JSON file, and the third solution based on the H5 page. Plan 1 and Plan 2 have the same priority, and Plan 1 and Plan 2 have higher priority than Plan 3.
[0058] In this embodiment, the selection method of the hot update scheme is as follows figure 2 As shown, the specific process is as follows:
[0059] (1) Determine the type of content that currently needs to be repaired through hot updates;
[0060] (2) Determine wh...
Embodiment 2
[0087] This embodiment provides a method for rapid hot update of an application program. In Example 1, the hot update method adopted by Solution 1 based on the React Native framework is to deliver a full amount of patches to the client, and then directly replace the local files. On the basis of the React Native solution in Embodiment 1, this embodiment can also use an incremental update method to complete the hot update of the application program.
[0088] The reason for using incremental updates is mainly because when there are many business codes and image resources in the application, the uploaded and downloaded full patch files will be relatively large. The upload and download of files needs to rely on the network of the device and the operator, and will be limited by the traffic and network speed in the network and device. Therefore, in order to improve the user experience and complete the hot update process more quickly and efficiently; it is necessary to find a way to ...
Embodiment 3
[0114] This embodiment provides a system for rapid hot update of application programs. The system adopts the aforementioned method for fast hot update of application programs to perform fast hot update on projects with problems and repair problems in the projects. Such as Image 6 As shown, the system includes: project engineering module, boudle warehouse, patch server, client, and solution selection module.
[0115] Among them, the solution selection module is used to select the best hot update solution according to the type of problem currently being repaired. The hot update solution includes solution 1 based on the React Native framework, solution 2 based on JSON files, and solution 3 based on H5 pages. In the actual application process, this module can be a module that realizes machine recognition according to a program, or a selection module that is decided and controlled by humans.
[0116]The project engineering module contains all the engineering codes related to the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


