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

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

Pending Publication Date: 2019-11-08
ZTE CORP
View PDF16 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the purpose of the embodiments of the present invention is to provide a hot repair method, device, terminal, and computer-readable storage medium for an application program, so as to solve the hot repair problem of an application program in an existing mobile terminal

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
  • Hot repair method and device of application program, terminal and storage medium
  • Hot repair method and device of application program, terminal and storage medium
  • Hot repair method and device of application program, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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

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 a hot repair method and device of an application program, a terminal and a computer readable storage medium. The method comprises the steps: loading a hot repair file of a function module of an application program, and injecting a class loader into the function module of the application program; analyzing and loading a functional component of the functional module of the application program according to the hot repair file of the functional module of the application program and the class loader; and managing the analyzed and loaded functional components of the functional module of the application program. According to the method, the functional module of the application program is updated through the hot repair file, and hot update of the application is realized through dynamic loading of an injection technology; therefore, the user flow is saved, and the installation trouble is also saved; the user cost is reduced and the user experience is improved.

Description

technical field [0001] The present invention relates to the technical field of communication, and in particular to a hot repair method, device, terminal, and computer-readable storage medium of an application program. Background technique [0002] With the continuous development of mobile communication technology, more and more Apps (Applications) appear in mobile terminals. Mobile terminal users often use Apps on mobile terminals to meet the needs of daily life, making mobile terminal users' life And work becomes more convenient and comfortable. [0003] The App in the mobile terminal frequently needs to be upgraded due to the release of new functions, fault modification, and visual effect improvement, and each upgrade of the App needs to download a new version and overwrite the installation. Therefore, the app upgrade process is very cumbersome, traffic-consuming and time-consuming. If there are many apps in the user's mobile terminal, the upgrade of the apps will consum...

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/65G06F9/445
CPCG06F8/65G06F9/44526
Inventor 李焰峰张建
Owner ZTE CORP
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