Dynamic loading system and method

A technology of dynamic loading and class loader, applied in the direction of transmission system, program loading/starting, electrical components, etc., can solve problems such as business impact

Inactive Publication Date: 2011-06-01
ZHENGJIANG PUBLIC INFORMATION
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At that time, the current upgrade mainly used to suspend the online system service, and restart the system service after the upgrade was successful. The disadvantage of this method is that the existing business will be affected to a certain extent during the upgrade process.

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
  • Dynamic loading system and method
  • Dynamic loading system and method
  • Dynamic loading system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to understand the present invention and its advantages more fully, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0021] First, refer to figure 1 , to describe the dynamic loading system according to the present invention in detail.

[0022] When new functions are added to the virtual machine according to needs, the developed interface function program is loaded into the virtual machine through the present invention.

[0023] Such as figure 1 As shown, the dynamic loading system according to the present invention includes: a package generating module, a file uploading module, and a dynamic loading module.

[0024] The package generation module is used to package the program (interface and / or application program) to be loaded. For example, the interface program written by the user in java language is packaged with the .class file corresponding to the interface program 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 relates to a dynamic loading system and method, wherein the dynamic loading system comprises a packet generating module, a file uploading module and a dynamic loading module, wherein the packet generating module is used for packing programs to be loaded; the file uploading module is used for uploading the packed files to a virtual machine for cache; the dynamic loading module is used for loading the packed files from the cache of the virtual machine to an internal memory for operation when the virtual machine needs to call the interface program; the dynamic loading module further comprises a system class loader, a 2 class loader and a 1 class loader; and the parent of the 2 class loader is the 1 class loader, and the parent of the 1 class loader is the system class loader. According to the invention, a dynamic deployment function for the interface programs is realized.

Description

technical field [0001] The invention relates to a dynamic loading system and method, in particular to a system and method for realizing program dynamic loading of an online system. Background technique [0002] After the production system goes online, some functional modules often need to be changed and adjusted. At present, the file upload technology of Struts 2 is mainly used to solve the problem of how to upgrade the corresponding program. [0003] Struts 2 is uploaded through Commons FileUpload. Commons FileUpload saves HTTP data to a temporary folder, and then Struts uses the fileUpload interceptor to bind the file to the Action instance. In this way, we can operate the files uploaded by the browser in the form of local files. [0004] At that time, the current upgrade mainly used to suspend the online system service, and then restart the system service after the upgrade was successful. The disadvantage of this method is that the existing business will be affected to...

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/445H04L29/08
Inventor 龚永兴钱和良高鑫军胡小刚
Owner ZHENGJIANG PUBLIC INFORMATION
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