Unlock instant, AI-driven research and patent intelligence for your innovation.

Plug-in loading method for saving memory cost

A plug-in and overhead technology, applied in the computer field, can solve problems such as waste of memory overhead, and achieve the effect of improving use efficiency, saving memory overhead, and reducing overhead

Inactive Publication Date: 2009-11-18
SHENZHEN HUIHAI TECH DEV CO LTD
View PDF0 Cites 16 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 plug-in loading method that saves memory overhead, and overcomes the defect of memory overhead waste caused by the plug-in loading method in the prior art

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
  • Plug-in loading method for saving memory cost
  • Plug-in loading method for saving memory cost
  • Plug-in loading method for saving memory cost

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Below according to accompanying drawing and embodiment the present invention will be described in further detail:

[0029] Table 1 is the information related to plug-in calling. The present invention uses XML descriptors to describe the relevant information of plug-ins. First, an example of a plug-in description file is given: .

[0030] 1

[0031] 2

[0032] 3

[0033] desc="MainPlugin"

[0034] 4 provider="Winduo Corp." lib="Mainplugin.dll">

[0035] 5

[0036] 6 funcID="platform.ui.main.buttonlist"

[0037] 7 name="main.buttonlist"

[0038] 8 procname="UI_ButtonList">

[0039] 9

[0040] 10

[0041] 11 funcID="platform.ui.main.formlist"

[0042] 12 name="main.formlist"

[0043] 13 procname="UI_FormList">

[0044] 14

[0045] 15

[0046] 16 funcID="platform.start"

[0047] 17 id="platform.start.MainPlugin"

[0048] 18 name="MainStart" ...

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 plug-in loading method for saving memory cost, which comprises the following steps of: A1. establishing and storing a plug-in description file which corresponds to a plug-in; A2. running a plug-in kernel manager and registering information stored by the plug-in description file and needed for calling the plug-in in the plug-in kernel manager; and A3. loading the related plug-in according to registration information of the plug-in in the plug-in kernel manager when calling the plug-in. The plug-in loading method for saving the memory cost adopts a virtual loading method for loading the plug-in, namely managing the related information of the plug-in by the kernel manager, and the plug-in is only loaded in a memory when in actual need of the plug-in, thereby reducing the memory cost and improving the using efficiency of the memory of a computer.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a plug-in loading method for saving memory overhead. Background technique [0002] We are not unfamiliar with the plug-in system, which can expand the kernel according to some rules to achieve various functions. In the prior art, there are plug-in modes based on DLL exported functions, and plug-in modes based on COM interfaces. Ordinary systems are not allowed to be changed or expanded after compilation and release. If you want to expand a certain function, you must modify the code and recompile and release. Using plug-ins can well avoid this problem. [0003] With the continuous improvement of computer hardware performance, the memory capacity of general computers has reached the level of G, which makes it easy to ignore the memory occupation of programs and the waste caused by memory overhead. No matter how large the memory is, it is limited after all. If we do not consider ...

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/445G06F9/46
Inventor 项波张代军
Owner SHENZHEN HUIHAI TECH DEV CO LTD