Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method and device for interaction between host program and plug-in and interaction between plug-ins

A host program and plug-in technology, applied in multi-programming devices, program control devices, etc., can solve problems such as the inability of users to select, the inability of host programs and plug-ins to interact, and the inability of plug-ins to call each other.

Active Publication Date: 2010-04-28
ZTE CORP
View PDF3 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 2) The host program and the plug-in cannot interact through manual selection, that is, the interaction between the host program and the plug-in is carried out within the application program, and the user cannot select the required plug-in function on the visual interface;
[0005] 3) The plug-in can only be called by the host program, and the plug-ins cannot call each other

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 device for interaction between host program and plug-in and interaction between plug-ins
  • Method and device for interaction between host program and plug-in and interaction between plug-ins
  • Method and device for interaction between host program and plug-in and interaction between plug-ins

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The basic idea of ​​the present invention is to set a shared protocol for interaction between the host program and the plug-in; after the host program is started, create a host interface entity according to the shared protocol, and when the host program loads the plug-in, the plug-in generates a plug-in based on the set shared protocol Interface entity, the host program saves the generated plug-in interface entity, and the plug-in saves the host interface entity created by the host program; the host program and the plug-in execute the interactive operation between the host program and the plug-in, or between plug-ins through the respective saved counterpart interface entities.

[0038] Here, the host program and the plug-in respectively store the interface entity of the other party specifically: the host program stores the plug-in interface entity, and the plug-in stores the host interface entity.

[0039] In the present invention, the host interface entity and the plug-...

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 the interaction between a host program and a plug-in and the interaction between plug-ins, which sets a common protocol for the interaction between the host program and the plug-in. The method also comprises the following steps: a host interface entity is created on the basis of the common protocol after the host program is started; in the process that the host program loads the plug-in, the plug-in generates a plug-in interface entity based on the set common protocol, the host program saves the generated plug-in interface entity, and the plug-in saves the host interface entity created by the host program; and the host program and the plug-in complete the interaction operation by saving the interface entity of the counterpart. The invention also discloses a device for the interaction between a host program and a plug-in and the interaction between plug-ins, which can realize the two-way interaction between the host program and the plug-in and the two-way interaction between the plug-ins.

Description

technical field [0001] The invention relates to a plug-in interaction technology in an application program, in particular to a method and a device for interacting between a host program and a plug-in and between plug-ins. Background technique [0002] Traditional applications are composed of main executable programs, configuration files, data files, pictures and other information, and some specific functions are loaded in the application as required, such as dynamic link libraries for codec functions, data compression functions, etc. With the development of programming technology, modules with specific functions in current applications are generally implemented through plug-ins, such as sound decoding plug-ins in Winamp and so on. However, the existing plug-in technology has the following deficiencies: [0003] 1) As the callback function is used to complete the interaction between the host program and the plug-in, the interaction between the host program and the plug-in is...

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/46
CPCG06F9/44
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
Eureka Blog
Learn More
PatSnap group products