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

Application restoration method and apparatus, storage medium and terminal

A technology of application program and repair method, applied in the field of communication, can solve problems such as HotFix cannot be repaired, and achieve the effect of improving stability

Active Publication Date: 2018-03-27
PINGAN YIQIANBAO E COMMERCE CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present invention provides a method, device, storage medium and terminal for repairing an application program, so as to solve the problem that HotFix cannot repair the existing application program when the program crashes during initialization of APPLICATION or MainActivity

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
  • Application restoration method and apparatus, storage medium and terminal
  • Application restoration method and apparatus, storage medium and terminal
  • Application restoration method and apparatus, storage medium and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0044]In the prior art, HotFix is ​​initialized when the application program initializes the APPLICATION object or executes the MainActivity logic. When the application program crashes when the APPLICATION object is initialized, or when the program crashes when the MainActivity logic is executed, the application process cannot be executed. The initialization logic of HotFix, HotFix still cannot fix the crash problem of the released application online. In the embodiment of the present invention, when the application process of the application program is started, the update process of the application...

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 is suitable for the technical field of communications and provides an application restoration method and apparatus, a storage medium and a terminal. The method comprises the steps of starting an application process of an application when a starting instruction of the application is received, and synchronously registering and starting an update process of the application; through theupdate process, sending a version number or MD5 check information of the application to a server; and through the update process, obtaining a first downloading address returned by the server accordingto the version number or the MD5 check information, downloading a HotFix file of a new version according to the first downloading address, initializing a running environment of HotFix, and after initialization, restoring the application by using the downloaded HotFix file. The HotFix is realized by using other processes, so that the initialization of the running environment of HotFix and the execution of HotFix in the application process of the application are avoided, and the stability of application operation is effectively improved.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a method, a device, a storage medium and a terminal for repairing an application program. Background technique [0002] HotFix, also known as hot fix, refers to the technology of dynamically repairing emergency bugs in the form of patches. Developers do not need to re-release new versions of applications, and users do not need to re-download new versions of applications. The existing technology is to initialize the operating environment of HotFix in the application process. For example, when the application program has an APPLICATION object, the application program will create the APPLICATION object during the startup process, and at the same time initialize the operation of HotFix in the APPLICATION message response function oncreate Environment; when the application does not have an APPLICATION object, the MainActivity logic will be executed, and the initializ...

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/71
CPCG06F8/65G06F8/71
Inventor 张洋
Owner PINGAN YIQIANBAO E COMMERCE 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