Plug-in management method and system thereof

A management method and plug-in technology, applied in the directions of multi-programming devices, program loading/starting, program control devices, etc., can solve problems such as difficulty in program transplantation and damage to the cross-platform scalability of programs, and achieve improved scalability and extended use. range, and the effect of easy transplantation

Inactive Publication Date: 2009-06-24
ZTE CORP
View PDF0 Cites 47 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] At present, in the process of using and managing plug-ins, for different plug-in implementation methods: whether it is a static shared library or a dynamic shared library, if it is a dynamic shared library, and under w

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 management method and system thereof
  • Plug-in management method and system thereof
  • Plug-in management method and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0032] Such as figure 1 As shown, the present invention provides a plug-in management method, which includes the following steps:

[0033] A. Abstract the operation interface of the plug-in and encapsulate it into an upper-layer calling interface;

[0034] B. When loading the called plug-in, store the plug-in handle obtained and mark it in the memory to establish the corresponding relationship between the plug-in handle and plug-in management information; the plug-in management information here at least includes: plug-in name, plug-in handle, plug-in called count, And the resident memory attribute bit.

[0035] C. Perform loading, unloading, or search operations on the called plug-in through the upper-layer calling interface and the corresponding relationship between the plug-in handle in the memory and the plug-in management information.

[0036] In order to facilitate the storage of the corresponding relationship between the plug-in handle and the plug-in management information...

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 for managing a plug-in and a system thereof. The method comprises the following steps: A, abstracting the operation interface of the plug-in and encapsulating the interface into an upper-level invocation interface; B, storing obtained plug-in handle and marking in a memory when loading the plug-in needs to be invoked, and establishing the corresponding relationship between the plug-in handle and the plug-in management information; and C, conducting loading, unloading or searching operation to the plug-in to be invoked according to the upper-level invocation interface and the corresponding relationship between the plug-in handle and the plug-in management information in the memory. The invention realizes unified storage, operation and management to the plug-in, and particularly aims to solve the difference between static loading and dynamic loading of a shared library, thereby enlarging use range of programs to plug-ins, improving the cross-platform expansibility of programs, and facilitating the transplantation of programs.

Description

technical field [0001] The invention relates to plug-in management technology, in particular to a technical field of how to realize plug-in management in a cross-platform environment. Background technique [0002] Plugin (plugin), refers to the shared library. When the shared library is called, no matter how many running programs are called at the same time, there is only one copy of the shared library in the memory, and the code and read-only data segments of the shared library are reused during the running of the program to save system memory purpose of the resource. [0003] The dynamic loading of shared libraries represents the development direction of shared libraries, and plug-ins in a narrow sense usually refer to such shared libraries. Dynamic loading separates the linking and loading of the plug-in from the linking and loading process of the calling program, so that the linking and loading of the plug-in is delayed until the program starts, or even after the progr...

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/445G06F9/46
Inventor 邓超
Owner ZTE CORP
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