Service request processing method and apparatus
A technology for service requests and processing methods, applied in the computer field, can solve problems such as increasing development time, and achieve the effect of saving development time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0067] Optionally, in another embodiment of the present invention, an implementation of step S103 includes:
[0068] Fill in the protocol information in the message header of the request command into the message header of the private protocol to obtain the private protocol request.
[0069] Specifically, since the gPRC request is implemented based on the Hypertext Transfer Protocol 2.0 (HTTP2.0), the Payload data in it refers to the real effective part of a protocol request, and all the data in front of the Payload data, such as the packet Body length, header length, encryption method, secret key, compression method, user ID, etc., can be called the protocol header, that is, the header of the protocol, and the Payload uses the structure of Protobuf, now the structure of protobuf For example:
[0070] information{
[0071] To whom = 1
[0072] content = 2
[0073] Attachments = 3
...
[0074]}
[0075] Among them, Protobuf will pack and compress data into binary data acc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


