Method and system for dynamically loading component

A technology of dynamic loading and components, applied in the direction of program loading/starting, program control devices, etc., can solve problems affecting system startup speed, etc., and achieve the effect of improving use efficiency and speeding up startup speed

Active Publication Date: 2012-07-04
SHENZHEN LAN YOU TECH
View PDF3 Cites 48 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide a dynamic loading component that loads the corresponding functional module components only at the request of the user in view of the defect that all components are loaded into the memory when running the system program in the prior art, which affects the system startup speed method and system

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 and system for dynamically loading component
  • Method and system for dynamically loading component
  • Method and system for dynamically loading component

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0045] The method for dynamically loading components in the embodiment of the present invention mainly stores the components of different functional modules under the application in different folders, and saves the storage path of the corresponding components in the configuration file; when the application starts, read Configuration file, load the necessary components of the application system framework, when receiving a request from the user to call a function module under the program, load the components of the function module according to the component storage path of the function module in the c...

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 method and a system for dynamically loading a component. The method comprises the following steps of: storing components of different functional modules under an application program into different file folders, and storing storage routes corresponding to the components into a configuration file; when the application program is started, reading the configuration file, loading necessary components of a system framework of the application program, loading the components of the functional modules according to the storage routes of the components of the functional modules in the configuration files when a request of a user for calling the functional modules under the application program is received, and caching the components in a memory. According to the method and the system, the components are divided according to the functional modules; when the application program is started, only the components required by the least number of users are loaded, so that the speed of initializing the system is increased, the memory occupancy is reduced, and the running efficiency of the system is improved.

Description

technical field [0001] The invention relates to the field of application program loading components, in particular to a method and system for dynamically loading components. Background technique [0002] Today, with the rapid development of information technology, the development of enterprises is increasingly inseparable from the support of information technology. Although object-oriented, component-based development methods and software technology of today's service-oriented development model continue to develop, how to Developing a more humane and intelligent software system that can adapt to changing business needs has always been an important problem that software factories need to solve. [0003] In many existing systems, system framework components and business components are stored together in the folder where the system runs the main program. Even if a system user only uses a small part of the system's functions, all components will be loaded into the memory when th...

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/445
Inventor 肖正祥
Owner SHENZHEN LAN YOU 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