Calling method and calling device for calling gRPC in process

A technology of procedure call and calling method, which is applied in the computer field, can solve the problems of increasing the development time of programmers, etc., and achieve the effects of improving development efficiency, simplifying the calling process, and simplifying operations

Pending Publication Date: 2019-09-20
WEBANK (CHINA)
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to use gRPC Java, programmers need to deal with the details involved in all the above steps, and some of the details, such as data synchronization, connection establishment, etc., have nothing to do with the core logic written by programmers, and these cumbersome details increase programmers' development time

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
  • Calling method and calling device for calling gRPC in process
  • Calling method and calling device for calling gRPC in process
  • Calling method and calling device for calling gRPC in process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0065] In the following, some terms used in the embodiments of the present application are explained, so as to facilitate the understanding of those skilled in the art.

[0066](1) The Remote Procedure Call (RPC) framework, whose goal is to make remote service calls simpler and more transparent. The RPC framework is responsible for shielding the underlying transmission methods, serialization methods, and communication details. The service caller can call the remote service provider just like calling the local interface, and does not need to care about the details of the underlying communication and the calling process. At present, the mainstream RPC frameworks in the industry are relatively mature, including Google's gRPC and Facebook's Thrift.

[0067] (2) A class is a definition of a certain obje...

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 provides a calling method and device for calling gRPC in a process. The calling method and device are used for improving the development efficiency of a programmer. The method comprises the steps: receiving context information input by a programmer, and establishing a calling context class, wherein the context information is information set for realizing the calling of the gRPC; receiving a calling mode input by the programmer; and achieving calling of the gRPC through a calling function included in the calling template according to the calling context class initialization calling template corresponding to the calling mode.

Description

technical field [0001] This application relates to the field of computer technology, and can also be used in the field of financial technology (Fintech), in particular to a method and device for invoking a procedure call gRPC. Background technique [0002] In the remote procedure call (Remote Procedure Call, RPC) framework, the client can directly call the server method located in different machines just like calling a local object, so that some distributed application services can be created conveniently. gRPC Java is an official implementation of gRPC using Java. A typical RPC interaction process is as follows: [0003] The client creates a connection, then creates a stub stub on the client, and then executes the logic on the client. The client waits for the server to finish processing the request; the server then processes the request after receiving the request. Return to the client; the corresponding client waits for completion and receives the result returned by the s...

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/54
CPCG06F9/547
Inventor 黄铭毅
Owner WEBANK (CHINA)
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