Micro-service access proxy method and device thereof and storage medium

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

Active Publication Date: 2021-11-19
深圳市明源云采购科技有限公司
View PDF6 Cites 11 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
  • Micro-service access proxy method and device thereof and storage medium
  • Micro-service access proxy method and device thereof 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 micro-service access proxy method and a storage medium and a device thereof, and the method comprises the steps: generating a proxy platform access token after the signature verification of a proxy platform is passed, and returning the proxy platform access token to a client; after micro-service access parameters and a proxy platform access token submitted by the client are received, verifying whether the client IP and the proxy platform access token are legal or not, wherein the micro-service access parameters submitted by the client comprise a micro-service name, a url of a micro-service interface and a request parameter of the micro-service interface; if yes, obtaining a micro-service authentication token after the signature verification of the micro-service is passed; and forwarding the micro-service access parameter and the micro-service authentication token submitted by the client to the gRPC gateway service of the micro-service, after the micro-service authentication token is verified to be legal, receiving data processed by the micro-service according to the micro-service access parameter submitted by the client, and forwarding the data back to the client to complete access to the micro-service. Therefore, the safety is higher, and the test 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 Applications(China)
IPC IPC(8): H04L9/32H04L29/06
Inventor 刘秀聪陈伟锐
Owner 深圳市明源云采购科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products