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

Application program upgrading method, system and device and computer storage medium

An application, computer technology, used in the field of data processing

Pending Publication Date: 2020-09-04
GUANGDONG INSPUR BIG DATA RES CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of this application is to provide an application program upgrade method, which can solve the technical problem of how to reduce the risk in the upgrade process of the tomcat server to a certain extent

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 program upgrading method, system and device and computer storage medium
  • Application program upgrading method, system and device and computer storage medium
  • Application program upgrading method, system and device and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0044] see figure 1 , figure 1 It is a flow chart of an application program upgrading method provided in the embodiment of this application.

[0045] An application program upgrade method provided in the embodiment of the present application is applied to a tomcat server and may include the following steps:

[0046] Step S101: Obtain a new version file of the target application program.

[0047] In practical applications, the new version file of the target application program may...

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 an application program upgrading method, system and device and a computer storage medium, which are applied to a tomcat server to obtain a new version file of a target application program. The method comprises the steps of generating a target class file corresponding to the new version file; re-creating a target class loader corresponding to the target class file; and afterthe current running process of the target application program is finished or the old version file corresponding to the target application program is cleared, loading the target class file based on the target class loader so as to complete upgrading of the target application program. In the present application, a target class file corresponding to the new version file is generated, and a target class loader corresponding to the target class file is re-created. After the current running process of the target application program is finished or the old version file corresponding to the target application program is cleared, the target class file is loaded based on the target class loader, so that the target class loader is used for replacing the old version loader for application upgrading, and the upgrading risk can be reduced.

Description

technical field [0001] The present application relates to the technical field of data processing, and more specifically, relates to an application program upgrading method, system, device and computer storage medium. Background technique [0002] The tomcat server is a free and open source web application server. It is a lightweight application server. It is widely used in small and medium-sized systems and occasions where there are not many concurrent access users. It is the first choice for developing and debugging JSP programs. The tomcat server can deploy multiple web applications. For the deployment of running applications, the tomcat server has two release methods, one is hot deployment, and the entire project is redeployed. The server will clear the cache and release memory. One is hot loading. The cache is not cleared and the memory is not released. [0003] However, if the tomcat server uses the hot deployment method to release the application, the instance object ...

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
IPC IPC(8): G06F8/65G06F8/71
CPCG06F8/65G06F8/71Y02D10/00
Inventor 崔广银邓淮谦
Owner GUANGDONG INSPUR BIG DATA RES 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