Inter-process calling gate technique

An inter-process, gate technology technology, applied in multi-programming devices, program startup/switching, instruments, etc., can solve problems such as the inability to directly call API functions and the opacity of developers.

Inactive Publication Date: 2004-01-28
梁肇新
View PDF0 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are many ways to define and call API functions between processes with executable files (such as EXE), such as local procedure call (LPC) and remote

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
  • Inter-process calling gate technique
  • Inter-process calling gate technique
  • Inter-process calling gate technique

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention enables the client object to directly call the function of the server-side object through a certain mechanism, and obtains the corresponding return value. Its basic idea is:

[0024] ●The objects of client and server are derived from the same virtual base class, so they have the same virtual

[0025] Function table (hereinafter referred to as VTABLE), so that when the client object puts the relative address of the function

[0026] (relative to the client object) and the address of the server-side object are passed to the server-side process

[0027] , then the server-side process adds the server object handle to the relative address to get the client

[0028] The function to be called by the client;

[0029] ●Transmit call parameters and information between the server and the server through the shared memory;

[0030] ●Complete the synchronization of function calls between processes through events;

[0031] The client and server objec...

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 invented technique makes a object in one process possible to call a function of object in another process. At final executing time, it is not dependent on the registration table. Moreover, the program in single instance through multi processes realizes multi instances. The component object model (COM) does not have such function. Meanwhile, the stub can be realized directly, without need of realizing DLL stub. Thus, client end and server end are totally transparent to developers so as to provide more opportunities to control procedures fro developers. Most programs developed by C languageare single instance and non-objectization. It is impossible to use COM technique to rebuild the said programs sometimes caused by large cost. The invention solves the issue through multi processes torealize multi instances and objectization.

Description

1 technical field [0001] The invention relates to a method for objectifying original non-object modules and multi-instantiation of single-instance modules. In particular, it relates to a novel and effective software technology (call gate technology) for process communication. Specifically, it relates to a method of packaging function call parameters into a unified data format and using a single transmission interface to realize real-time communication between processes. technology. 2 Technical Background [0002] In recent years, software technology has developed rapidly, and the update speed of software products is also getting faster and faster. The combination of software products and network is a basic trend. However, the original software products (or modules) of many companies are non-object-oriented and single-instanced, which hinders their application in network and multi-user aspects, as well as the upgrading of corresponding products. ...

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/48G06F15/163
Inventor 梁肇新
Owner 梁肇新
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