gRPC calling method and apparatus based on Protobuf and HTTP/1.1

The invention discloses a gRPC calling method based on Protobuf and HTTP/1.1. The method comprises the following steps: creating an interface calling file, wherein the interface calling file is used for calling a corresponding function according to function names and pass parameters of functions in...

Full description

Saved in:
Bibliographic Details
Main Author ZENG YUSHEN
Format Patent
LanguageChinese
English
Published 27.07.2018
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a gRPC calling method based on Protobuf and HTTP/1.1. The method comprises the following steps: creating an interface calling file, wherein the interface calling file is used for calling a corresponding function according to function names and pass parameters of functions in a request; obtaining and parsing the function name and the pass parameter of each function accordingto a gRPC request; sending the function name and the pass parameter of each function to the interface calling file, so that the interface calling file calls the corresponding function according to the function name and the pass parameter of each function, executes the function to obtain a result of the gRPC request and returns the result to a client. The invention further provides an electronic device, a storage medium and a calling apparatus. By adoption of the gRPC calling method disclosed by the invention, the corresponding function can be called by the established interface calling file of the system via the func
Bibliography:Application Number: CN201711464373