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

Program modification method and device

A program modification and program modification technology, applied in the field of mobile Internet, can solve the problems of poor flexibility and achieve the effect of strong flexibility

Pending Publication Date: 2021-08-03
BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The existing technology can only modify the parameters, so as to achieve the purpose of adjusting the program by modifying the parameters. The flexibility is poor, and it can only switch between several preset situations. For the situations other than the preset, it cannot be processed, and only the code can be modified. to redeploy the program

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
  • Program modification method and device
  • Program modification method and device
  • Program modification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0040] The names involved in the present invention are explained below:

[0041] Classloader refers to: the class loader, specifically, the virtual machine loads the data describing the class from the class bytecode file to the memory, and performs inspection, conversion, analysis and initialization on the data, and finally forms a Java that can be directly used by the virtual machine Type, this is the class loading mechanism of the virtual machine.

[0042] The Spring container refers to: an instance of a class that implements the ApplicationContext interface. In o...

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 program modification method and device, and relates to the technical field of mobile interconnection. The method comprises the steps: receiving a program modification request; calling a code loading interface according to the program modification request; loading pre-stored code data from a server based on the code loading interface; and according to pre-stored code data, modifying original code data in the Spring container of the to-be-modified program. The behavior of dynamically modifying the program can be completed without redeployment, and the flexibility is high.

Description

technical field [0001] The invention relates to the technical field of mobile internet, in particular to a method and device for modifying a program. Background technique [0002] This section is intended to provide a background or context to embodiments of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] In the software system developed by java programs, once the software development is completed and deployed online, the behavior of the program is determined, and the execution logic of the program can only be adjusted through preset parameters. Once an error occurs in the program, the only way to modify the code is to And redeploy to fix it. [0004] The inventor finds that the prior art has at least the following problems: [0005] The existing technology can only modify the parameters, so as to achieve the purpose of adjusting the program by modifying the parameters. The flexib...

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): G06F9/445
CPCG06F9/44521
Inventor 张顺郑小虎郑泽奇张鹏鹏
Owner BANK OF CHINA
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