Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Microservice access agent method, device and storage medium

An access proxy and micro-service technology, applied in the field of micro-service access proxy methods, equipment and storage media, can solve the problems of insufficient security and low efficiency of interface testing

Active Publication Date: 2022-02-08
深圳市明源云采购科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a microservice access proxy method, which aims to solve the technical problems of insufficient security and low efficiency in the interface testing of gRPC microservices in the prior art

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
  • Microservice access agent method, device and storage medium
  • Microservice access agent method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0040] In order to better understand the above-mentioned technical solution, the above-mentioned technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0041] Such as figure 1 as shown, figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the solution of the embodiment of the present invention.

[0042] The operating device in this embodiment of the present invention may be a PC, or a mobile terminal device with a display function such as a smart phone, a tablet computer, an e-book reader, or a portable computer.

[0043] Such as figure 1As shown, the running device may include: a processor 1001 , such as a CPU, a network interface 1004 , a user interface 1003 , a memory 1005 ...

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 discloses a microservice access proxy method, device and storage medium. The method is as follows: after passing the signature verification of the proxy platform, generating a proxy platform access token and returning it to the client; After the microservice access parameters and the proxy platform access token, verify whether the client IP and the proxy platform access token are legal. The microservice access parameters submitted by the client include the microservice name, the url of the microservice interface, and the microservice interface request parameters; if they are all valid, obtain the microservice authentication token after passing the signature verification of the microservice; forward the microservice access parameters and microservice authentication token submitted by the client to the gRPC gateway service of the microservice, and verify After the microservice authentication token is valid, the data processed by the microservice according to the microservice access parameters submitted by the client is received and forwarded back to the client to complete the access to the microservice. So that the security is higher and the testing efficiency is higher.

Description

technical field [0001] The present invention relates to the field of computer networks, in particular to a microservice access agent method, device and storage medium. Background technique [0002] In the current interface test of gRPC microservices, there are the following problems: [0003] 1. Expose microservices to the public network, and perform interface testing through public network IP and microservice port numbers. Microservices are based on the use of the server's intranet, and exposure to the public network has major security risks. [0004] 2. The way that testers log in to the server for interface testing has low test efficiency and requires high server-related knowledge of testers. Contents of the invention [0005] The main purpose of the present invention is to provide a microservice access proxy method, which aims to solve the technical problems of insufficient security and low efficiency in the interface testing of gRPC microservices in the prior art. ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L9/32H04L9/40H04L69/08
CPCH04L9/3247H04L9/3239H04L9/3213H04L63/0807H04L63/0876H04L69/08
Inventor 刘秀聪陈伟锐
Owner 深圳市明源云采购科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products