Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Inactive Publication Date: 2020-01-03
GUANGZHOU QUWAN NETWORK TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the rapid growth of business, more and more development languages ​​are required to develop business at the same time, which greatly increases the 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
  • Service request processing method and apparatus
  • Service request processing method and apparatus
  • Service request processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

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...

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 service request processing method and apparatus. The method comprises the steps of receiving a request instruction of a calling party; wherein the request instruction is generated by utilizing a remote procedure call framework and is used for requesting to call target service; wherein the request instruction carries an identifier of target service; acquiring host information of a host corresponding to the identifier of the target service from a host list in a memory; wherein the host list comprises host information of hosts for extracting multiple services; convertingthe request instruction into a private protocol request; and sending the private protocol request to a host corresponding to the identifier of the target service by utilizing the acquired host information. After the service request of the open-source common protocol sent by other protocols is received, the service request is directly converted into the private protocol request which can be understood by the C + + service, and the purpose of saving the development time is achieved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for processing service requests. Background technique [0002] With the continuous development of science and technology, people pay more and more attention to computer technology, and in the process of information transmission, most of the background services are developed based on the C++ self-developed framework, generally using the private remote procedure call (Remote Procedure Call, RPC) protocol, Older; and, there are often hundreds of services running at the same time. Since the communication between services uses a private protocol, each development language needs to be developed separately, so that the caller implemented by different development languages ​​can initiate a request to the service developed by the C++ self-developed framework. However, with the rapid growth of business, more and more development languages ​​are required to develop bu...

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
IPC IPC(8): G06F9/54
CPCG06F9/548
Inventor 沈文喆吴畏陈光尧谢睿
Owner GUANGZHOU QUWAN NETWORK TECH CO LTD