Hot repair method and device of application program, terminal and storage medium
A technology for application programs and storage media, applied in the field of communications, to save user traffic, save installation, and reduce user costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0028] Such as figure 1 As shown, the first embodiment of the present invention provides a hot repair method for an application, the method comprising:
[0029] Step S11: Load the hotfix file of the functional module of the application program, and inject the class loader into the functional module of the application program.
[0030] In one embodiment, the injection (inject) technology refers to that Java can use reflection technology to obtain corresponding objects and methods according to search rules, and then use reflection technology to inject.
[0031] In this embodiment, the functions of each part of the application program are componentized or modularized, and each independent functional module must conform to the principle of orthogonalization. The so-called orthogonalization principle means that each functional module is independent and independent of each other, which can ensure that the fault repair and update of a certain functional module will not be affected a...
no. 2 example
[0051] Such as figure 2 As shown, the second embodiment of the present invention provides a hot repair device for an application program, the device includes a hook module 21, a parsing and loading module 22, and a management module 23;
[0052] The hook module 21 is used to load the hotfix file of the function module of the application program, and inject the class loader into the function module of the application program.
[0053] In one embodiment, the injection (inject) technology refers to that Java can use reflection technology to obtain corresponding objects and methods according to search rules, and then use reflection technology to inject.
[0054] In this embodiment, the functions of each part of the application program are componentized or modularized, and each independent functional module must conform to the principle of orthogonalization. The so-called orthogonalization principle means that each functional module is independent and independent of each other, w...
no. 3 example
[0073] Such as Figure 5 As shown, the third embodiment of the present invention provides a terminal, and the terminal includes: a memory 31, a processor 32, and a hot repair program for an application program stored on the memory 31 and operable on the processor 32 , when the hot repair program of the application program is executed by the processor 32, the steps for implementing the hot repair method for the application program described below:
[0074] Loading the hotfix file of the functional module of the application program, and injecting the class loader into the functional module of the application program;
[0075] Analyzing and loading the functional components of the functional modules of the application according to the hotfix file of the functional modules of the application and the class loader;
[0076] The parsed and loaded functional components of the functional modules of the application program are managed, so as to realize the hot repair of the functional ...
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