Unlock instant, AI-driven research and patent intelligence for your innovation.

A local procedure calling method, apparatus, device and medium

A local procedure call and procedure call technology, applied in the field of communication, can solve the problems of complex concepts, poor scalability, inconvenient development and debugging, etc.

Active Publication Date: 2022-07-29
艾普阳科技(深圳)有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Traditional inter-process communication usually exchanges data through pipes, messages, signals, sockets, etc., but these technologies only provide basic data or information interaction and cannot satisfy inter-process procedure calls.
[0003] At present, in order to meet the needs of inter-process procedure calls, open source remote procedure call frameworks such as gRPC and Thrift and Microsoft RPC (remote procedure call) have emerged, but these frameworks are based on the concepts of Client and Server. Although it basically satisfies inter-process procedure calls, some remote procedure call libraries only support synchronous calls and cannot satisfy interface-responsive procedure calls. Although other remote procedure call libraries support asynchronous calls, users need to deal with interface response issues by themselves, which increases user development. complexity and efficiency
In addition, these concepts applicable to remote procedure call libraries are relatively complicated, inconvenient for development and debugging, troublesome to deploy, and poor in scalability, so they are not suitable for local procedure calls.

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
  • A local procedure calling method, apparatus, device and medium
  • A local procedure calling method, apparatus, device and medium
  • A local procedure calling method, apparatus, device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0053] At present, in order to meet the requirement of inter-process procedure calls, open source remote procedure call frameworks such as gRPC and Thrift and Microsoft RPC (that is, remote procedure call remote procedure call) have appeared, but these frameworks are based on the concepts of Client and Server. Although it basically satisfies inter-process procedure calls, some remote procedure call libraries only support synchronous calls...

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 present application discloses a local procedure calling method, device, device and medium, including: creating a process connection object between an interface process and a target process; creating a first session object corresponding to the interface process and a second session object corresponding to the target process; The first process function calling interface responds to the object function calling interface and passes in the target parameters; the interface response object asynchronously calls the first session object; the first session object asynchronously notifies the second session object to call the second process function; Obtain the asynchronous notification corresponding to the function call result sent by the second session object, and obtain the function call result; the first session object asynchronously notifies the function call result to the interface response object; the interface response object returns the function call result to the first process function, During the procedure call process between the interface process and the target process, the interface corresponding to the interface response object control interface process continues to provide services. It can ensure the timeliness of interface response.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular, to a local procedure calling method, apparatus, device and medium. Background technique [0002] Traditional inter-process communication usually exchanges data through pipes, messages, signals, sockets, etc., but these technologies only provide the interaction of basic data or information and cannot satisfy inter-process procedure calls. [0003] At present, in order to meet the requirement of inter-process procedure calls, open source remote procedure call frameworks such as gRPC and Thrift and Microsoft RPC (that is, remote procedure call remote procedure call) have appeared, but these frameworks are based on the concepts of Client and Server. Although it basically satisfies inter-process procedure calls, some remote procedure call libraries only support synchronous calls and cannot meet interface responsive procedure calls. Although other remote procedure ...

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/448G06F9/451
CPCG06F9/449G06F9/451
Inventor 吴涛
Owner 艾普阳科技(深圳)有限公司