Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Plug-in computer program design architecture

A computer and plug-in technology, which is applied in the field of plug-in computer program design architecture, can solve the problems of the complexity of information exchange between the main program and the plug-in

Inactive Publication Date: 2013-01-23
昆明伯尔瑞科技开发有限公司 +1
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In order to overcome the complexity of information exchange between the main program and the plug-in of the existing software plug-in design framework, as well as the problem of using security, the present invention provides a plug-in program design framework. In the framework of the present invention, the plug-in Function exists in the form of dynamic library function

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 computer program design architecture
  • Plug-in computer program design architecture
  • Plug-in computer program design architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] As shown in Figure 2, we first establish this plug-in architecture, and create the class files of each class according to the class structure diagram shown in Figure 2. These include: IPlugin, IApplicationObject, PluginInfoAttribute, MyPlugin1.

[0025] After the basic interface and class method are built, this embodiment is an example of text input, and the business object to be operated by the main program is a document object. Therefore, for the IBizObject interface, we define it as follows:

[0026] public interface IDocumentObject {

[0027] / / These properties are the corresponding property mappings of the RichTextBox control

[0028] string SelectionText {get ; set ;}

[0029] Color SelectionColor {get ; set ;}

[0030] Font SelectionFont {get ; set ;}

[0031] int SelectionStart {get ; set ;}

[0032] int SelectionLength {get ; set ;}

[0033] string SelectionRTF {get ; set ;}

[0034] bool HasChanges {get ;} ...

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

A plug-in computer program design architecture adopts an interface as a technological base; a plug-in unit function exists in a form of a dynamic library function. A main program obtains function signatures in a plug-in unit DLL through an interface, and then the function signatures are called in a proper place. By an interface technology, the plug-in unit just needs to implement an interface defined by a program; the main program does not need to know how the plug-in unit achieves a scheduled function, just needs to access the plug-in unit through the interface and provide an interface of an object related to the main program, and information exchange between the main program and each plug-in unit becomes abnormally simple. Furthermore, the plug-in unit is completely transparent for the main program, and the effect of change of the requirement of a software function on the original software architecture is effectively reduced.

Description

technical field [0001] The present invention relates to a plug-in computer program design architecture, especially the new functions generated by software in different life cycles can be used without recompiling the program, and the new functions can be used only through the reserved interface. Background technique [0002] Nowadays, computer programs are complex and diverse, but basically in all software life cycles, user needs will continue to change over time. In particular, when users request developers to add or change functions, developers find that the original When some software architecture is no longer able to meet the new task requirements, the developer needs to redesign the architecture of the program. [0003] But the actual problem is that even after using a development cycle and completing the tasks proposed by the requirements, the district cannot guarantee that user requirements will be changed or added again, and the possibility of demand spread still exis...

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/44
Inventor 范建炜范毅龙张洪建
Owner 昆明伯尔瑞科技开发有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products