CN108337236A - A kind of gRPC call methods and device based on Protobuf and HTTP/1.1 - Google Patents
A kind of gRPC call methods and device based on Protobuf and HTTP/1.1 Download PDFInfo
- Publication number
- CN108337236A CN108337236A CN201711464373.4A CN201711464373A CN108337236A CN 108337236 A CN108337236 A CN 108337236A CN 201711464373 A CN201711464373 A CN 201711464373A CN 108337236 A CN108337236 A CN 108337236A
- Authority
- CN
- China
- Prior art keywords
- file
- function
- grpc
- interface
- proto
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/133—Protocols for remote procedure calls [RPC]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/541—Client-server
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of gRPC call methods based on Protobuf and HTTP/1.1, include the following steps:Creating interface calls file, the interface that file is called to be used to call corresponding function according to the function name and Transfer Parameters of function in request;Obtain and go out according to gRPC request analysis the function name and Transfer Parameters of each function;The function name of each function and Transfer Parameters are sent to interface and call file, so that interface calls file to call corresponding function according to the function name and Transfer Parameters of each function and executes, and then obtains the result of the gRPC requests and return to client.The present invention also provides a kind of electronic equipment, storage medium and calling devices.The parameter of function name and transmission in gRPC that server parses request can be called file to call corresponding function by the present invention by the established interface of system, and realizing can also realize that gRPC is called in the browser for supporting HTTP/1.1 agreements.
Description
Technical field
The present invention relates to RPC calling more particularly to a kind of gRPC call methods, electricity based on Protobuf and HTTP/1.1
Sub- equipment, storage medium and device.
Background technology
RPC, full name are Remote Process Call, are the ditches communicated between a kind of client and server
Logical mode, main manifestation mode are encapsulation of the client via HTTP request, and function call request is initiated to remote server,
It is a kind of server A PI mentalities of designing.
HTTP/2 is the second edition of http protocol, on the basis of HTTP/1.0, HTTP/1.1 before compatibility, again
Many new characteristics, such as the head file data compression based on HPACK algorithms are compatible with, server push, request is Pipelining, number
According to multiplexing etc..And difference lies in HTTP/2 that TCP connection is divided into several streams for HTTP/2 and HTTP/1.x maximum, every
Several message can be transmitted in a stream, each message is made of the binary frame of several least units.In other words,
HTTP/1.x agreements are a text protocols, readable very good, but it is not efficient:1) parsing trouble, such as
For one complete HTTP request, it is necessary first to which correctly reading each fields of HTTP header, HTTP header makes
With r n separate, then between body using r n r n separate.After having parsed header, we could be in header
The content-length in face takes the size of body, to read body;2) interactive mode:One connection one can only ask every time
One answers, that is to say, that client has sent after request, it is necessary to until replying, could continue to send and ask next time.And for
HTTP/2 is a binary protocol, readability zero, but it supports the multiplexing of connection, improves the profit of connection
With rate;And allows multiple streams in a connection while sending;And it inside a HTTP request, can be taken on Header
The metamessage that band is much asked, for describing the resource and its association attributes of transmission;And in HTTP/1.1 agreements,
Using plain text agreement, when being separated to metadata, separate using " r n ", it, will once data are excessive
Cause header very huge.
GRPC is a kind of RPC systems increased income of Google's publication, is based on HTTP/2 and Protobuf;It should
Data format in request is defined based on Protobuf, which is carried out based on HTTP/2 agreements.
In other words, it is strong correlation that gRPC requests, which are with HTTP/2, has been completely dependent on the exclusive spy of HTTP/2 agreements in realization
Property.But the agreement of HTTP/1.1 be still current internet use widest agreement, due to gRPC request be completely according to
Rely in HTTP/2 agreements and Protobuf data formats.And for supporting that the browser of HTTP/1.1 agreements can not be right
The data of Protobuf are parsed, therefore so that gRPC requests can not be well in the browsing for supporting HTTP/1.1 agreements
It realizes and calls on device.
Invention content
For overcome the deficiencies in the prior art, one of the objects of the present invention is to provide one kind based on Protobuf and
The gRPC call methods of HTTP/1.1 can solve gRPC requests in the prior art and support the clear of HTTP/1.1 agreements at present
The problem of can not achieve look on device.
The second object of the present invention is to provide a kind of electronic equipment, can solve gRPC in the prior art and ask at present
The problem of can not achieve on the browser for supporting HTTP/1.1 agreements.
The third object of the present invention is to provide a kind of computer readable storage medium, can solve in the prior art
GRPC requests on the browser for supporting HTTP/1.1 agreements at present the problem of can not achieve.
The fourth object of the present invention is to provide a kind of gRPC calling devices based on Protobuf and HTTP/1.1, energy
It is enough to solve the problems, such as that gRPC requests can not achieve on the browser for supporting HTTP/1.1 agreements at present in the prior art.
An object of the present invention adopts the following technical scheme that realization:
A kind of gRPC call methods based on Protobuf and HTTP/1.1, include the following steps:
Interface calls the establishment step of file:Creating interface calls file, the interface that file is called to be used for according in request
The function name and Transfer Parameters of function call corresponding function;
Obtaining step:Obtain gRPC requests;
Analyzing step:Go out the function name and Transfer Parameters of each function according to gRPC request analysis;
Processing step:The function name of each function and Transfer Parameters are sent to interface and call file, so that connecing
Mouth calls file to call corresponding function according to the function name and Transfer Parameters of each function and executes, and then obtains described
The result of gRPC requests simultaneously returns to client.
Further, the data encapsulation format of the gRPC requests uses the format of Protobuf.
Further, it is by script file compiled in advance by proto that the interface, which calls the generating process of file,
Proto file is converted into the proto file for the object format that server end can identify, and then obtains the definition of proto proto files
Function name and Transfer Parameters type, and interface is generated according to function name and the type of Transfer Parameters and calls file;Wherein,
The data encapsulation format of proto proto files is the format of Protobuf, needs to call in asking which stores gRPC all
The definition of function.
The second object of the present invention adopts the following technical scheme that realization:
A kind of electronic equipment, including memory, processor and storage can be run on a memory and on a processor
Computer program, the processor realize following steps when executing described program:
Interface calls the establishment step of file:Creating interface calls file, the interface that file is called to be used for according to function
Function name and Transfer Parameters call corresponding server object code;
Obtaining step:Obtain gRPC requests;
Analyzing step:Go out the function name and Transfer Parameters of each function according to gRPC request analysis;
Processing step:The function name of each function and Transfer Parameters are sent to interface and call file, so that connecing
Mouth calls file to call corresponding server object code according to the function name and Transfer Parameters of each function, and obtains described
The result of gRPC requests simultaneously returns to client.
Further, the data encapsulation format of the gRPC requests uses the format of Protobuf.
Further, it is by script file compiled in advance by proto that the interface, which calls the generating process of file,
Proto file is converted into the proto file for the object format that server end can identify, and then obtains the definition of proto proto files
Function name and Transfer Parameters type, and interface is generated according to function name and the type of Transfer Parameters and calls file;Wherein,
The data encapsulation format of proto proto files is the format of Protobuf, needs to call in asking which stores gRPC all
The definition of function.
The third object of the present invention adopts the following technical scheme that realization:
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
When row the step of the realization gRPC call methods based on Protobuf and HTTP/1.1 that such as one of the object of the invention is provided.
The fourth object of the present invention adopts the following technical scheme that realization:
A kind of gRPC calling devices based on Protobuf and HTTP/1.1, including:
Interface calling file establishes module, calls file, the interface that file is called to be used for according to letter for creating interface
Several function names and Transfer Parameters call corresponding server object code;
Acquisition module, for obtaining gRPC requests;
Parsing module, function name and Transfer Parameters for going out each function according to gRPC request analysis;
Processing module is called file for the function name of each function and Transfer Parameters to be sent to interface, and then is made
Obtaining interface calls file to call corresponding server object code according to the function name and Transfer Parameters of each function, and obtains
The result of the gRPC requests simultaneously returns to client.
Further, the data encapsulation format of the gRPC requests uses the format of Protobuf.
Further, it is by script file compiled in advance by proto that the interface, which calls the generating process of file,
Proto file is converted into the proto file for the object format that server end can identify, and then obtains the definition of proto proto files
Function name and Transfer Parameters type, and interface is generated according to function name and the type of Transfer Parameters and calls file;Wherein,
The data encapsulation format of proto proto files is the format of Protobuf, needs to call in asking which stores gRPC all
The definition of function.
Compared with prior art, the beneficial effects of the present invention are:
The present invention parses the parameter of the function name and transmission in the gRPC requests that client is sent by server end, and will
The interface that function name and the parameter of transmission are sent to system foundation calls file, and make interface call file according to function name and
The corresponding function of parameter call of transmission, so asked as a result, and client is returned result to by server end,
Complete the gRPC requests between a client and server so that under the browser for supporting HTTP/1.1 agreements,
The calling that calling interface is gRPC requests can be compatible with to realize.
Description of the drawings
Fig. 1 is gRPC call flows module map provided by the invention;
Fig. 2 is the flow chart of the gRPC call methods provided by the invention based on Protobuf and HTTP/1.1;
Fig. 3 is the module map of the gRPC calling devices provided by the invention based on Protobuf and HTTP/1.1.
Specific implementation mode
In the following, in conjunction with attached drawing and specific implementation mode, the present invention is described further, it should be noted that not
Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination
Example.
As shown in Figure 1, the present invention at present cannot on the browser for supporting HTTP/1.1 agreements in order to solve gRPC requests
The problem of enough calling provides a kind of gRPC call methods based on Protobuf and HTTP/1.1, by Protobuf and
HTTP/1.1 constructs a kind of automatic transfer layer compatible with client, server end.The automatic transfer layer can be by proto originals
Type is defined is converted into the interface calling file that server can identify by the preset script file of engineer, that is to say generation one
The switching layer identification code of client and server is covered, which calls file that can be sent from client according to server end
The parameter of function name and function passes that gRPC request analysis goes out calls corresponding function, being asked as a result, and passing through
Server end returns to client, and then the calling that the gRPC for realizing a client to server end is asked.
It is by the way that the proto proto files of give Protobuf format to be converted into for automatic transfer layer
Interface calls file.And it may be called in the RPC requests that client defined in the proto file of the Protobuf formats is sent
The number such as function name, the function passes parameter type (such as parameter type etc. of the parameter type, return received) of each function
According to that is to say and function be defined.Wherein, proto proto files are that one kind for being developed according to Google by user is light
Just efficient structured data format-Protobuf (full name Google Protocol Buffer) is defined.The proto
Proto file can be serialized via program, to be transmitted between different functions.An advantage of Protobuf is it
The language of support is numerous, and writing a set of proto proto files can be multiplexed in multiple places.For example, can pass through
The function of request call is defined by the data format of Protobuf, and is stored in PROTO proto files.
In addition, interface calls the generating process of file as follows:
A:Proto proto files are converted by script file the prototype for the object format that server can identify first
File, and the content in the proto file of the object format is read, and then obtain the RPC call function interfaces transmitted by server
In function name, function passes parameter etc..Here script file is that engineer is pre-set.
B:Then by script file according to the function name of each call function, the parameter type of reception, return parameter
The information such as type generate an interface and call file.It includes a principal function, the principal function that interface, which is called and generally defined in file,
It is the execution entrance of program file.Many functions of document definition, each function are called to be provided with function name, receive in interface
Parameter type, return the information such as parameter type.For example the main body of principal function is a Switch sentence, what identification was passed to
Function name and operation is compiled to corresponding binary data parameter, is converted into corresponding parameter type etc..
For example the parsing based on regular expression and reconstruct are carried out to Proto proto files by using script file, it is raw
The source code for meeting go grammers at one is the multi-path choice based on a switch sentence in this source code, being capable of basis
The content of input request judges which function called automatically;Simultaneously, additionally it is possible to be carried out in the correct way with format
The data transmitted in formatted requests finally obtain the return value of call function.
After client sends gRPC requests, server end obtains and parses the gRPC and asks to obtain the function name in request
With the parameter of transmission, the parameter of function name and transmission in request is then sent to automatic transfer layer, and then by from turn
The function that the interface of layer calls file to be called according to the parameter selection of function name and transmission in request is connect, finally show that gRPC is asked
It is asking as a result, then by result by server end return to client.
For example corresponding function can be matched in switch sentences by the function name in request, then function is passed
It passs parameter to be converted, and then the code file in respective function, such as server is called to obtain corresponding result.
As shown in Fig. 2, a kind of gRPC call methods based on Protobuf and HTTP/1.1, are applied to server end,
For the processing procedure of gRPC requests, include the following steps:
S1, the gRPC requests that client is sent are received, and parses function name and function passes parameter in gRPC requests.
S2, gRPC is asked in function name and function passes parameter be sent to automatic transfer layer so that from turn
Connect layer interface call file asked according to gRPC in function name and the corresponding function of function passes parameter call, finally obtain
The result of gRPC requests simultaneously returns to client.In addition, during the gRPC sent by client in the application is asked, need institute
The function name of request is placed in the URL of gRPC requests, and corresponding function passes parameter is placed in function body, is then sent to
To server end, and then it can realize a long-range gRPC request.Certainly, the function in gRPC requests may not only only have one
It is a, therefore in server end parsing RPC requests, the function name and corresponding function passes ginseng of multiple functions can be parsed
Number.
The present invention also provides a kind of electronic equipment comprising memory, processor and storage are on a memory and can
The computer program run in processing, the processor are realized as described herein based on Protobuf when executing described program
The step of with the gRPC call methods of HTTP/1.1.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, computer program
The step of gRPC call methods based on Protobuf and HTTP/1.1 as described herein are realized when being executed by processor.
As shown in figure 3, a kind of gRPC calling devices based on Protobuf and HTTP/1.1, including:
Interface calling file establishes module, calls file, the interface to call file to be used for basis and asks for creating interface
The function name and Transfer Parameters for seeking middle function call corresponding function;
Acquisition module, for obtaining gRPC requests;
Parsing module, function name and Transfer Parameters for going out each function according to gRPC request analysis;
Processing module is called file for the function name of each function and Transfer Parameters to be sent to interface, and then is made
It obtains interface to call file to call corresponding function according to the function name and Transfer Parameters of each function and execute, and then obtains institute
It states the result of gRPC requests and returns to client.
The above embodiment is only the preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto,
The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention
Claimed range.
Claims (10)
1. a kind of gRPC call methods based on Protobuf and HTTP/1.1, it is characterised in that include the following steps:
Interface calls the establishment step of file:Creating interface calls file, the interface that file is called to be used for according to function in request
Function name and Transfer Parameters call corresponding function;
Obtaining step:Obtain gRPC requests;
Analyzing step:Go out the function name and Transfer Parameters of each function according to gRPC request analysis;
Processing step:The function name of each function and Transfer Parameters are sent to interface and call file, so that interface tune
Corresponding function is called according to the function name and Transfer Parameters of each function with file and is executed, and then show that the gRPC is asked
The result asked simultaneously returns to client.
2. the method as described in claim 1, it is characterised in that:The data encapsulation format of the gRPC requests uses Protobuf
Format.
3. method as claimed in claim 2, it is characterised in that:It is by compiling in advance that the interface, which calls the generating process of file,
Proto proto files are converted into the proto file for the object format that server end can identify by the script file translated, in turn
Obtain the type of function name and Transfer Parameters that proto proto files define, and the type according to function name and Transfer Parameters
It generates interface and calls file;Wherein, the data encapsulation format of proto proto files is the format of Protobuf, which stores
The definition of all functions called is needed in gRPC requests.
4. a kind of electronic equipment, including memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, it is characterised in that:The processor realizes following steps when executing described program:
Interface calls the establishment step of file:Creating interface calls file, the interface that file is called to be used for the function according to function
Name and Transfer Parameters call corresponding server object code;
Obtaining step:Obtain gRPC requests;
Analyzing step:Go out the function name and Transfer Parameters of each function according to gRPC request analysis;
Processing step:The function name of each function and Transfer Parameters are sent to interface and call file, so that interface tune
Corresponding server object code is called according to the function name and Transfer Parameters of each function with file, and obtains the gRPC
The result of request simultaneously returns to client.
5. electronic equipment as claimed in claim 4, it is characterised in that:The data encapsulation format of the gRPC requests uses
The format of Protobuf.
6. electronic equipment as claimed in claim 4, it is characterised in that:It is by pre- that the interface, which calls the generating process of file,
Proto proto files are converted into the proto file for the object format that server end can identify by first compiled script file,
And then the type of function name and Transfer Parameters that proto proto files define is obtained, and according to function name and Transfer Parameters
Type generates interface and calls file;Wherein, the data encapsulation format of proto proto files is the format of Protobuf, storage
The definition of all functions for calling is needed in gRPC requests.
7. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that:The computer program quilt
Processor realizes the gRPC call methods as described in any one of claims 1-3 based on Protobuf and HTTP/1.1 when executing
The step of.
8. a kind of gRPC calling devices based on Protobuf and HTTP/1.1, it is characterised in that including:
Interface calling file establishes module, calls file, the interface that file is called to be used for according to function for creating interface
Function name and Transfer Parameters call corresponding server object code;
Acquisition module, for obtaining gRPC requests;
Parsing module, function name and Transfer Parameters for going out each function according to gRPC request analysis;
Processing module calls file, so that connecing for the function name of each function and Transfer Parameters to be sent to interface
Mouth calls file to call corresponding server object code according to the function name and Transfer Parameters of each function, and obtains described
The result of gRPC requests simultaneously returns to client.
9. device as claimed in claim 8, it is characterised in that:The data encapsulation format of the gRPC requests uses Protobuf
Format.
10. device as claimed in claim 8, it is characterised in that:It is by advance that the interface, which calls the generating process of file,
Proto proto files are converted into the proto file for the object format that server end can identify by compiled script file, into
And the type of function name and Transfer Parameters that proto proto files define is obtained, and according to the class of function name and Transfer Parameters
Type generates interface and calls file;Wherein, the data encapsulation format of proto proto files is the format of Protobuf, which stores
The definition of all functions called is needed in gRPC requests.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711464373.4A CN108337236A (en) | 2017-12-28 | 2017-12-28 | A kind of gRPC call methods and device based on Protobuf and HTTP/1.1 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711464373.4A CN108337236A (en) | 2017-12-28 | 2017-12-28 | A kind of gRPC call methods and device based on Protobuf and HTTP/1.1 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108337236A true CN108337236A (en) | 2018-07-27 |
Family
ID=62923850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711464373.4A Pending CN108337236A (en) | 2017-12-28 | 2017-12-28 | A kind of gRPC call methods and device based on Protobuf and HTTP/1.1 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108337236A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445968A (en) * | 2018-11-09 | 2019-03-08 | 金瓜子科技发展(北京)有限公司 | Service request processing method, device, equipment and the storage medium of different agreement |
CN109492388A (en) * | 2018-10-24 | 2019-03-19 | 北京达佳互联信息技术有限公司 | Fission transmission method, fission transmission device and computer readable storage medium |
CN109597693A (en) * | 2018-09-25 | 2019-04-09 | 国网浙江省电力有限公司信息通信分公司 | The application method of GRPC communication protocol in distributed software system |
CN109656791A (en) * | 2018-11-01 | 2019-04-19 | 北京奇安信科技有限公司 | A kind of gRPC performance test methods and device based on Jmeter |
CN109739655A (en) * | 2018-11-21 | 2019-05-10 | 北京奇安信科技有限公司 | A kind of parameter setting method and device of gRPC request |
CN110138755A (en) * | 2019-04-30 | 2019-08-16 | 广东侍卫长北斗科技股份公司 | A kind of gateway communication interactive service method of multi-protocols Beidou data acquisition |
CN110321237A (en) * | 2019-07-12 | 2019-10-11 | 四川长虹电子系统有限公司 | The method for realizing comprehensive improvement working end system communication based on grpc and protobuf |
CN110489323A (en) * | 2019-07-09 | 2019-11-22 | 北京字节跳动网络技术有限公司 | Visual RPC API adjustment method, device, medium and equipment |
CN110633162A (en) * | 2019-09-23 | 2019-12-31 | 苏州达家迎信息技术有限公司 | Remote call implementation method and device, computer equipment and storage medium |
CN110740274A (en) * | 2019-10-24 | 2020-01-31 | 杭州趣维科技有限公司 | system and method for accessing framework based on image video algorithm system |
CN111431982A (en) * | 2020-03-17 | 2020-07-17 | 深信服科技股份有限公司 | System operation and maintenance method, device, storage medium and device based on gRPC |
CN112769898A (en) * | 2020-12-22 | 2021-05-07 | 上海上实龙创智能科技股份有限公司 | Service calling method, system, equipment and medium based on HTTP2.0 |
CN112925768A (en) * | 2021-03-03 | 2021-06-08 | 北京中安星云软件技术有限公司 | HBASE database analysis method and system based on Protobuf protocol |
CN113626062A (en) * | 2020-05-07 | 2021-11-09 | Sap欧洲公司 | Trusted application integration |
CN115174100A (en) * | 2022-06-21 | 2022-10-11 | 武汉理工大学 | Password processing method and system for gPRC data |
WO2022222442A1 (en) * | 2021-04-20 | 2022-10-27 | 北京科东电力控制系统有限责任公司 | Method for client to dynamically call server by means of grpc |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697139A (en) * | 2009-11-06 | 2010-04-21 | 金蝶软件(中国)有限公司 | Method, device and registry for remote procedure call |
CN102810069A (en) * | 2012-07-16 | 2012-12-05 | 深圳市融创天下科技股份有限公司 | JAVA object requesting and responding methods, devices and systems and terminal |
CN103235718A (en) * | 2013-03-28 | 2013-08-07 | 迈普通信技术股份有限公司 | Method and device for generating remote procedure call (RPC) code |
-
2017
- 2017-12-28 CN CN201711464373.4A patent/CN108337236A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697139A (en) * | 2009-11-06 | 2010-04-21 | 金蝶软件(中国)有限公司 | Method, device and registry for remote procedure call |
CN102810069A (en) * | 2012-07-16 | 2012-12-05 | 深圳市融创天下科技股份有限公司 | JAVA object requesting and responding methods, devices and systems and terminal |
CN103235718A (en) * | 2013-03-28 | 2013-08-07 | 迈普通信技术股份有限公司 | Method and device for generating remote procedure call (RPC) code |
Non-Patent Citations (2)
Title |
---|
BRANDON PHILLIPS: ""gRPC with REST and Open APIs"", 《HTTPS://WWW.GRPC.IO/BLOG/COREOS》 * |
WEIXIN_30340745: ""grpc-gateway:grpc转换为http协议对外提供服务"", 《HTTPS://BLOG.CSDN.NET/WEIXIN_30340745/ARTICLE/DETAILS/98103288》 * |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109597693A (en) * | 2018-09-25 | 2019-04-09 | 国网浙江省电力有限公司信息通信分公司 | The application method of GRPC communication protocol in distributed software system |
CN109492388A (en) * | 2018-10-24 | 2019-03-19 | 北京达佳互联信息技术有限公司 | Fission transmission method, fission transmission device and computer readable storage medium |
CN109656791A (en) * | 2018-11-01 | 2019-04-19 | 北京奇安信科技有限公司 | A kind of gRPC performance test methods and device based on Jmeter |
CN109445968A (en) * | 2018-11-09 | 2019-03-08 | 金瓜子科技发展(北京)有限公司 | Service request processing method, device, equipment and the storage medium of different agreement |
CN109739655A (en) * | 2018-11-21 | 2019-05-10 | 北京奇安信科技有限公司 | A kind of parameter setting method and device of gRPC request |
CN110138755A (en) * | 2019-04-30 | 2019-08-16 | 广东侍卫长北斗科技股份公司 | A kind of gateway communication interactive service method of multi-protocols Beidou data acquisition |
CN110489323A (en) * | 2019-07-09 | 2019-11-22 | 北京字节跳动网络技术有限公司 | Visual RPC API adjustment method, device, medium and equipment |
CN110489323B (en) * | 2019-07-09 | 2023-04-25 | 北京字节跳动网络技术有限公司 | Visual RPC API debugging method, device, medium and equipment |
CN110321237A (en) * | 2019-07-12 | 2019-10-11 | 四川长虹电子系统有限公司 | The method for realizing comprehensive improvement working end system communication based on grpc and protobuf |
CN110633162A (en) * | 2019-09-23 | 2019-12-31 | 苏州达家迎信息技术有限公司 | Remote call implementation method and device, computer equipment and storage medium |
CN110740274B (en) * | 2019-10-24 | 2022-02-25 | 杭州小影创新科技股份有限公司 | System and method for unified access to framework based on image video algorithm |
CN110740274A (en) * | 2019-10-24 | 2020-01-31 | 杭州趣维科技有限公司 | system and method for accessing framework based on image video algorithm system |
CN111431982A (en) * | 2020-03-17 | 2020-07-17 | 深信服科技股份有限公司 | System operation and maintenance method, device, storage medium and device based on gRPC |
CN111431982B (en) * | 2020-03-17 | 2023-05-12 | 深信服科技股份有限公司 | gRPC-based system operation and maintenance method, equipment, storage medium and device |
CN113626062A (en) * | 2020-05-07 | 2021-11-09 | Sap欧洲公司 | Trusted application integration |
CN112769898A (en) * | 2020-12-22 | 2021-05-07 | 上海上实龙创智能科技股份有限公司 | Service calling method, system, equipment and medium based on HTTP2.0 |
CN112925768A (en) * | 2021-03-03 | 2021-06-08 | 北京中安星云软件技术有限公司 | HBASE database analysis method and system based on Protobuf protocol |
CN112925768B (en) * | 2021-03-03 | 2024-02-27 | 北京中安星云软件技术有限公司 | HBASE database analysis method and system based on Protobuf protocol |
WO2022222442A1 (en) * | 2021-04-20 | 2022-10-27 | 北京科东电力控制系统有限责任公司 | Method for client to dynamically call server by means of grpc |
CN115174100A (en) * | 2022-06-21 | 2022-10-11 | 武汉理工大学 | Password processing method and system for gPRC data |
CN115174100B (en) * | 2022-06-21 | 2024-04-12 | 武汉理工大学 | Password processing method and system for gRPC data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108337236A (en) | A kind of gRPC call methods and device based on Protobuf and HTTP/1.1 | |
CN108306877B (en) | NODE JS-based user identity information verification method and device and storage medium | |
US7870482B2 (en) | Web browser extension for simplified utilization of web services | |
US6779154B1 (en) | Arrangement for reversibly converting extensible markup language documents to hypertext markup language documents | |
CN109274773B (en) | Method, device and system for realizing remote service calling | |
CN111552838B (en) | Data processing method and device, computer equipment and storage medium | |
CA2539474A1 (en) | System and method for dynamic generation and customization of web service client applications for terminals | |
CN106412034B (en) | Method for processing business and device | |
US20110264819A1 (en) | Binary data serialization system using machine dependant data alignement | |
US9971636B2 (en) | Methods for implementing web services and devices thereof | |
CN108200080B (en) | Remote service communication method | |
CN107632875A (en) | Electric business Interface integration method, system, computer equipment, readable storage medium storing program for executing | |
CN106681734A (en) | Response method and device for function interface call | |
CN110795084B (en) | Method, device and equipment for generating interface description file and readable storage medium | |
CN109491802A (en) | A kind of method and adapter of the RESTFul network request based on Unity | |
CN110377273B (en) | Data processing method, device, medium and electronic equipment | |
CN115408169A (en) | Remote procedure calling method, device, equipment and readable storage medium | |
US6192363B1 (en) | Method and apparatus for supplying multi-media data to a client by using threads | |
CN113992641A (en) | Data processing method, device, equipment and storage medium | |
US20080177824A1 (en) | Method and system for automatic setup in web-based applications | |
CN112883088B (en) | Data processing method, device, equipment and storage medium | |
CN102663063B (en) | System and method for showing general information of multiple user platforms based on XSLT (extensible stylesheet language transformation) | |
CN107544991B (en) | Method and device for processing access request by server | |
CN112433752B (en) | Page analysis method, device, medium and electronic equipment | |
CN108809900B (en) | Framework and method for unified resource access |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180727 |