Method for realizing resource loading and resource hot-updating in distributed enterprise application system

A distributed application and hot update technology, applied in the direction of program loading/starting, program control devices, etc., can solve the problems of complex format, waste of system resources, lack of hot update notification and management mechanism, etc.

Active Publication Date: 2012-05-02
PRIMETON INFORMATION TECH
View PDF2 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When processing resources, different resource search logic and loading logic are provided for different types of resource files. It is possible to repeatedly traverse and search for different types of resources in the module, resulting in reduced efficiency and duplication of function codes. At the same time, if you add new processing for a certain type of resource, you need to rewrite the search and loading logic corresponding to its resource
In terms of resource hot update processing, each type of resource independently starts a monitoring thread for this resource, and different types of resources use different resource change notification mechanisms, lacking a unified hot update notification and management mechanism, and a large number of startup threads. wastes a lot of system resources
[0004] With the continuous expansion of the application system, more and more resources are included in the system, and the format is more and more complex. Usually, for the convenience of coding, the system has provided support for existing resource types, resource processing and application The logic is tightly coupled. After the application function development is completed, if new support for a resource type is added, its core business code needs to be modified, which will increase the workload of testers and maintainers dramatically.

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
  • Method for realizing resource loading and resource hot-updating in distributed enterprise application system
  • Method for realizing resource loading and resource hot-updating in distributed enterprise application system
  • Method for realizing resource loading and resource hot-updating in distributed enterprise application system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0177] In order to understand the technical content of the present invention more clearly, the following examples are given in detail.

[0178] In the enterprise distributed application system of the present invention, the method for realizing resource loading and resource hot update is applied to loading and hot update of resources based on page flow in specific embodiments: page flow is described as a single HTTP request processing process based on a J2EE environment and multiple The jump relationship between requests / pages realizes the flow of page requests. The configuration format adopts XML structure, and the resource extension is .flow.

[0179] The system structure and method for realizing resource loading and resource hot updating in the enterprise distributed application system include a general framework for supporting resource loading and hot updating expansion during runtime and a configuration format definition for resource loading and hot updating during developm...

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 method for realizing resource loading and resource hot-updating in a distributed enterprise application system, which comprises operations of implementing an interface of a resource analyzer and an interface of a blocker and configuring format definitions in the development period, carrying out analysis on resource loading and configuration files in the operating period, loading module resources in the operating period, and monitoring hot-updating threads in the operating period. By using the method provided by the invention, the analysis and hot-updating operations of resources can be simpler and more efficient; when a new resource type is added, a core code does not need to be modified, therefore, the operating efficiency of the system is higher, and the performance of the system is stable and reliable, meanwhile, the costs for development and maintenance are reduced, and the portability and expansibility of the system are enhanced, so that a user can focus on the processing on service logics; and the method can quickly adapt to the changes in service needs and techniques, and support the establishment of a completely-molduar and highly-integrated software system, therefore, the method is wide in application scope, and lays a solid foundation for the management of resources in enterprise application.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to the technical field of computer enterprise application systems, and specifically refers to a method for realizing resource loading and resource hot update in an enterprise distributed application system. Background technique [0002] At present, in the field of enterprise-level application development, its architecture is mainly realized according to Service-Oriented Architecture (Service-Oriented Architecture, SOA) or J2EE architecture (Java 2Platform Enterprise Edition). During function development, applications are usually divided into multiple Each functional module completes a specific function. In the process of implementing module functions, various resources are inevitably involved. In the implementation of function codes, resources need to be analyzed and processed to convert various resources into forms that can be recognized by machines. [0003] Each mo...

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/44G06F9/445
Inventor 王锋
Owner PRIMETON INFORMATION TECH
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