Processing method and device for realizing hot deployment and server

A processing method and technology of a processing device, applied in the computer field, can solve problems such as affecting update efficiency, large system overhead, resource waste, etc., and achieve the effects of improving update efficiency, reducing resource occupation, and improving user experience

Active Publication Date: 2014-10-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are two deficiencies in the actual operation of the existing technology: one is that during the update process, the Web server will always scan the application deployment directory, resulting in relatively large sy

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
  • Processing method and device for realizing hot deployment and server
  • Processing method and device for realizing hot deployment and server
  • Processing method and device for realizing hot deployment and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The basic idea of ​​the present invention is: pre-configure the class management list, record the file name of the class file that can be updated in real time without restarting the system in the class management list, when receiving the new class file and update file list uploaded , judge whether the file name of the class file in the update file list is in the class management list, if the judged result is yes, then load the class file whose file name is in the class management list, and create a new instance to replace the old instance ; If the result of the judgment is no, it means that the new class file cannot be loaded automatically, and it will not take effect until the server is restarted.

[0051] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0052] figure 1 A schematic flow chart of the processing method for realizing hot deployment in the present invention, such as ...

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 processing method for realizing hot deployment. The method comprises the following steps: receiving a new uploaded class file for replacing an old class file, and receiving an update file list; determining that the file name of the class file in the update file list is in a class management list, loading the class file of which the file name is in the class management list, and creating a new example for replacing an old example, wherein the file name of the class file which allows hot deployment is recorded in the class management list. The invention further discloses a processing device for realizing hot deployment and a server. Through the scheme of the invention, a hot deployment function can be realized by the server without always scanning an application deployment catalog, so that the occupation on resources during update of a system is reduced, the update efficiency is increased, and user experience is improved.

Description

technical field [0001] The invention relates to computer technology, in particular to a processing method, device and server for realizing hot deployment. Background technique [0002] Hot deployment is to upgrade the software while the application is running without restarting the application. Most of the existing web (Web) servers, such as the application server Tomcat developed by the Apache Software Foundation, the software platform WebSphere developed by IBM, and the application server WebLogic developed by Oracle Corporation of the United States, etc., provide debugging mode or similar functions. When the server is running in debug mode, the web server can implement the hot deployment function. However, there are two deficiencies in the actual operation of the existing technology: one is that during the update process, the Web server will always scan the application deployment directory, resulting in relatively large system overhead and affecting service efficiency; t...

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): G06F9/445
Inventor 吴帅
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products