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

Running program hotfix method and apparatus

A technology for running programs and hot repairing, which is applied in the computer field and can solve problems such as not allowing new protocols to be added, scripts not applicable, complicated installation, etc., to achieve the effects of program development and user convenience, shortening repair time, and simple implementation process

Inactive Publication Date: 2018-07-20
KOUBEI SHANGHAI INFORMATION TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, hot deployment technology and hot loading technology have the following limitations: hot deployment technology (such as tomcat hot deployment module) usually needs to reload the entire application, and the time it takes is almost the same as restarting the server. The time is too long; and the hot loading technology usually has relatively large restrictions on program modification (for example, Hotswap only allows modification of the method body, does not allow adding new protocols, does not allow new fields, methods, and does not allow modification of method signatures, etc., which is extremely large. Limits the type of problem solving), complex installation (such as JRebel and jvm strong coupling, installation is more complicated), inconvenient maintenance (such as OSGi) and scripts are not applicable (such as Groovy can only be used to fix its own script problems, for other scripts Not applicable) and many other problems, and on this basis, it is impossible to effectively solve the problem that the running program repair takes a long time

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
  • Running program hotfix method and apparatus
  • Running program hotfix method and apparatus
  • Running program hotfix method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0030] figure 1 A flow chart of a hot repair method for running programs provided by Embodiment 1 of the present invention is shown. Such as figure 1 As shown, the method includes:

[0031] Step S110: Query configuration information according to the data access request.

[0032] Wherein, the data access request is a data access request sent from the client to the server, and is used to access corresponding data in the server. I...

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 running program hotfix method and apparatus. The method comprises the steps of querying configuration information according to a data access request; judging whether the configuration information includes update configuration information of a program providing a data access service or not, wherein the update configuration information records information of replacing a first program file with a second program file subjected to fix; if a judgment result is yes, obtaining and loading the second program file according to the update configuration information; and running an executable program of the second program file in a running system to make a response to a data access request. The problem of relatively long time of a running program fix process in the prior art can be solved; the running program fix duration can be greatly shortened; the realization process is simple and the operation is flexible; and lots of convenience is brought for program development andusers during use.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for hot repairing running programs. Background technique [0002] At present, when there is a problem with the online running program on the server side (for example, there is a bug in the running program file), since the repair process usually needs to go through the process of the program's development environment, pre-release environment, and release in sequence, there is a time-consuming process for the program repair process. The problem of long time (usually more than half an hour, when there are many machines running, it will take several hours or even more time), brings a lot of inconvenience to program development and user use, and may also cause relatively long time to developers. Large asset loss and loss of reputation. [0003] In view of the above existing problems, in the prior art, the running program is dynamically updated through the hot de...

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/72
CPCG06F8/72
Inventor 王春龙
Owner KOUBEI SHANGHAI INFORMATION TECH 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