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

Microservice access method, device, equipment and storage medium

An access method and microservice technology, applied in the fields of equipment and storage media, devices, and microservice access methods, can solve problems such as inconsistency of permission data, low accuracy of microservice access, and low efficiency of microservice cluster permission verification.

Active Publication Date: 2022-04-26
PING AN TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Existing permission control schemes seriously invade microservices. Generally, it is necessary to create a corresponding permission-related table in the microservice, store permission-related data in the local database, and then adapt the local database to the interface in the jar package.
At the same time, due to the lack of unified management of permissions, when a system has multiple sub-microservices, permission data synchronization between each sub-microservice is required, which may easily cause inconsistency in permission data
And each sub-service needs to execute permission verification rules, and each sub-microservice needs to invest a lot of development and testing when accessing permissions, resulting in low efficiency of permission verification of microservice clusters and low accuracy of microservice access

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The embodiment of the present invention provides a microservice access method, device, device, and storage medium, which are used to determine the target microservice cluster based on the tenant identification value within the expiration time, and to request system microservices in the target microservice cluster according to the address of the access request. Access to improve the efficiency of authority verification of microservice clusters and the accuracy of microservice access.

[0028] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, t...

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 relates to the technical field of information security, and discloses a microservice access method, device, equipment and storage medium, which are used to improve the accuracy of microservice access. The microservice access method includes: intercepting the microservice access request through the preset microservice gateway, and obtaining the access request address and the target user token; if the expiration time is less than or equal to the current time, send the new user token to the target authority management service Permission acquisition request to obtain the target user permission list; if the expiration time is greater than the current time, obtain the tenant ID value and cached permission list data according to the target user token; if there is no access request address in the cached permission list data, generate a warning Information; if there is an access request address in the cached permission list data, access the target system microservice based on the tenant ID value and the access request address. In addition, the present invention also relates to block chain technology, and the access request address can be stored in block chain nodes.

Description

technical field [0001] The present invention relates to the field of gateway control of information security technology, in particular to a microservice access method, device, equipment and storage medium. Background technique [0002] In the existing monolithic application, authentication, application interface API, and menu authority control generally use a public jar package, and microservices that require authority control introduce authority packages and adapt based on it; or individually for each App development corresponding authority management module. [0003] Existing permission control schemes seriously intrude microservices. Generally, it is necessary to create a corresponding permission-related table in the microservice, store permission-related data in the local database, and then adapt the local database to the interface in the jar package. At the same time, due to the lack of unified management of permissions, when a system has multiple sub-microservices, pe...

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/40
CPCH04L63/0807H04L63/108H04L63/101
Inventor 陈忠平
Owner PING AN TECH (SHENZHEN) CO LTD