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

Agent system and method supporting real-time analysis of GRPC request

A processor and identification technology, which is applied in the computer field and can solve problems such as the inability to support real-time analysis of the GRPC protocol.

Pending Publication Date: 2021-12-03
SHANGHAI HODE INFORMATION TECH CO LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, a free and open source interactive proxy tool can provide secondary development based on python, and can modify and view most protocol requests. However, for requests based on the GRPC protocol (referred to as GRPC requests), due to client / server Both parties maintain specific protocol constraint files, rather than open, relatively fixed protocol formats and constraints, so the current proxy server cannot support real-time analysis of GRPC protocol requests

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
  • Agent system and method supporting real-time analysis of GRPC request
  • Agent system and method supporting real-time analysis of GRPC request
  • Agent system and method supporting real-time analysis of GRPC request

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] figure 2 It shows a schematic diagram of the architecture of a proxy system supporting real-time parsing of GRPC requests in Embodiment 1 of the present application, including: a rule server 3 and the aforementioned proxy server 2; further, the proxy system may also include: providing proxy server 2 with: A log server 7 for logging service, and a monitoring server 5 for providing load balancing monitoring for the proxy server 2.

[0054] Wherein, the rule server 3 stores programs corresponding to the identifications of the target servers respectively, for encoding and decoding the GRPC requests sent to the target servers respectively, that is, for analyzing the GRPC requests sent to the target servers respectively .

[0055] In an exemplary embodiment, the identifier of the target server may specifically be a URI (Uniform Resource Identifier, Uniform Resource Identifier) ​​of the target server.

[0056] Wherein, the program corresponding to the identification of the ...

Embodiment 2

[0065] image 3 A flowchart schematically shows a proxy method supporting real-time parsing of GRPC requests and viewing request content according to Embodiment 2 of the present application.

[0066] like image 3 As shown, the proxy method that supports real-time analysis of GRPC requests and viewing request content may include the following steps S301-S305, wherein:

[0067] Step S301: The proxy server 2 obtains the GRPC request sent by the client of the terminal device 6 .

[0068] In this step, the GRPC request sent by the client of the terminal device 6 to the target server will be forwarded to the proxy server 2 and intercepted by the proxy server 2 .

[0069] Step S302: The proxy server 2 determines the identifier of the acquired target server of the request.

[0070] In this step, the proxy server 2 may determine the identifier (URI) of the target server according to the IP address of the requested target server.

[0071] Step S303: The proxy server 2 locally parse...

Embodiment 3

[0079] Figure 4 A flowchart schematically shows a proxy method supporting real-time parsing of GRPC requests and modification of request content according to Embodiment 3 of the present application.

[0080] like Figure 4 As shown, the proxy method supporting real-time analysis of GRPC requests and modifying request content may include the following steps S401-S412, wherein:

[0081] Step S401: The proxy server 2 obtains the GRPC request sent by the client of the terminal device 6 .

[0082] In this step, the GRPC request sent by the client of the terminal device 6 to the target server will be forwarded to the proxy server 2 and intercepted by the proxy server 2 .

[0083] Step S402: The proxy server 2 determines the obtained identification (URI) and domain name of the requested target server.

[0084]Step S403: The proxy server 2 performs rule matching on the domain name of the target server, and judges whether the domain name matches the storage rule, and if so, execute...

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 embodiment of the invention provides an agent method and system supporting real-time analysis of a GRPC protocol request, and the method comprises the steps: obtaining a GRPC request sent by a client, and determining an identifier of a target server of the request; analyzing a field in a header of the request header locally, and analyzing a field in a body message body of the request by using a program corresponding to the identifier through a rule server; wherein the program corresponding to the identifier is generated by the rule server in advance according to a protocol constraint file corresponding to the identifier. According to the embodiment of the invention, real-time analysis of the GRPC protocol request can be supported, so that the content of the GRPC protocol request can be checked or modified in real time.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a proxy system and method supporting real-time parsing of GRPC requests, computer equipment, and a computer-readable storage medium. Background technique [0002] RPC (Remote Procedure Call)—Remote Procedure Call, which is a protocol that requests services from remote computer programs over the network without knowing the underlying network technology. The RPC protocol assumes the existence of some transport protocol, such as TCP or UDP, to carry information data between communication programs. In the OSI network communication model, RPC spans the transport layer and the application layer. RPC makes it easier to develop applications including network distributed multiprogramming. [0003] RPC adopts the client / server model. A requester is a client, and a service provider is a server. First, the client calling process sends a call message with...

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): H04L29/06G06F9/54
CPCH04L69/22G06F9/547H04L67/133Y02D30/70
Inventor 沈煜超
Owner SHANGHAI HODE INFORMATION TECH CO LTD