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

Inter-process calling gate technique

A process and service process technology, applied in multi-programming devices, program startup/switching, instruments, etc., can solve problems such as opacity for developers and inability to directly call API functions.

Inactive Publication Date: 2006-05-24
梁肇新
View PDF0 Cites 0 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 procedure call (RPC). The mechanism of these methods is opaque to developers. And it is not possible to directly call the API function in another process

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

[0020] 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:

[0021] The objects of the client and the server are derived from the same virtual base class, so they have the same virtual function table (hereinafter referred to as VTABLE), so that when the client object compares the relative address of the function (relative to the client object) with the server object address to the server-side process, then the server-side process adds the server object handle to the relative address to get the function to be called by the client;

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

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

[0024] The client and server objects are in different address spaces, they do not know each other's addr...

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 inter-process call gate technology enables an object in one process to directly call a function of an object in another process without relying on the registry when it is finally executed, and it can realize multiple instances of a single-instance program through multiple processes, which is Component Object Model (hereinafter referred to as COM) does not have. Simultaneously, it is not necessary to implement the dynamic link library (DLL) stub on the client side, but directly realize the stub. The client side and the server side are completely transparent to the developer, so that the developer has a greater opportunity to participate in the control process. Most applications previously developed in C are single-instance and non-object-oriented. If COM technology is used to transform these programs, the cost will be huge, and sometimes it is impossible. This problem can be easily solved by calling gate technique. The call gate technology can realize multiple instances and objectification through the method of multi-process only by making minor changes to the original program.

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 background technology [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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48G06F15/163
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