IDL-free remote procedure call (RPC) implementation method and system
A technology of remote procedure call and implementation method, which is applied in the field of RPC implementation of remote procedure call, which can solve problems such as development failures and high difficulty in traditional application development, and achieve the effects of improving development efficiency, improving flexibility, and optimizing the development process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0103] see figure 1 and figure 2 , Embodiment 1 of the present invention provides a remote procedure call (RPC) implementation method without IDL, comprising the following steps:
[0104] (1) Request serialization:
[0105] (11) Create a remote procedure call request;
[0106] (12) Initialize a request buffer with a preset size;
[0107] (13) Serialize the actual data in the request data into binary data or convert it into a character string;
[0108] (14) write request data to request buffer;
[0109] (15) Send the request data of the request buffer;
[0110] (2) Request deserialization:
[0111] (21) Read the request protocol header of the request data;
[0112] (22) judging whether it is two-way communication according to the request protocol header, if it is the request sequence number in the two-way communication reading request data;
[0113] (23) Read the actual data in the request name and request data according to the request protocol header;
[0114] (24) D...
Embodiment 2
[0163] see Figure 6 , Embodiment 2 of the present invention also provides an IDL-free remote procedure call (RPC) implementation system, including a request serialization module 1 and a request deserialization module 2;
[0164] Request serialization module 1 includes:
[0165] The request creates a submodule 11, which is used to create a remote procedure call request;
[0166] The request buffer initialization sub-module 12 is used to initialize the request buffer of a preset size;
[0167] The request conversion sub-module 13 is used to serialize the actual data in the request data into binary data or convert it into a character string;
[0168] A request writes into the submodule 14, which is used to write request data to the request buffer;
[0169] The request sending submodule 15 is used to send the request data of the request buffer;
[0170] Request deserialization module 2 includes:
[0171] The request protocol header reading submodule 21 is used to read the re...
Embodiment 3
[0192] Embodiment 3 of the present invention provides a non-transitory computer-readable storage medium, and the computer-readable storage medium stores a program code for implementing a method of remote procedure call (RPC) without IDL, and the program code includes a program code for executing the method of the embodiment 1 or any of its possible implementations, the instruction of the remote procedure call RPC implementation method without IDL.
[0193] The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (SolidState Disk, SSD)).
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com