Authority management method and device based on micro-service calling and storage medium

A permission management device and permission management technology, applied in the field of micro-service calls, can solve the troublesome problems of permission management, and achieve the effect of simplifying permission management and improving efficiency

Pending Publication Date: 2020-10-16
CHENGDU XINCHAO MEDIA GRP CO LTD
View PDF10 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem in the prior art that it is very troublesome to deal with the authority management of microservice calls without user information, the purpose of the present invention is to provid

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
  • Authority management method and device based on micro-service calling and storage medium
  • Authority management method and device based on micro-service calling and storage medium
  • Authority management method and device based on micro-service calling and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0059] In order to be able to deal with the authority management problem of microservice invocation without user information, the embodiment of the present application provides an authority management method, device and storage medium based on microservice invocation, the authority management method based on microservice invocation , devices, and storage media can easily and quickly complete the authority management of microservice calls without user information.

[0060] First of all, in order to more intuitively understand the solutions provided by the embodiments of this application, the following combines figure 1 , to describe the system architecture of the permission management solution based on microservice calls provided in the embodiment of the present application.

[0061] like figure 1 As shown, it is a schematic diagram of the application environment of the permission management method, device and storage medium based on microservice invocation provided by one or ...

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 micro-service calling, and discloses an authority management method and device based on micro-service calling and a storage medium. The method comprisesthe following steps: obtaining a calling request sent by a client for calling a micro-service; acquiring a request uniform resource locator (URL) according to the calling request; obtaining an IP address of the client, and determining a micro-service identity corresponding to the client according to the IP address; based on the micro-service identity, the request URL and the service authority configuration table corresponding to the client, determining whether the client has the access authority of accessing the micro-service or not, wherein at least one group corresponding to the micro-service identity and an interface address corresponding to each group in the at least one group are configured in the service authority configuration table. According to the method and device, authority management of micro-service calling can be simply, conveniently and quickly completed under the condition of no user information.

Description

technical field [0001] The present invention relates to the technical field of microservice invocation, in particular to a method, device and storage medium for authority management based on microservice invocation. Background technique [0002] As the granularity of microservices becomes finer and the cluster architecture becomes larger, calls between microservices become more frequent. [0003] At present, most of the calls between microservices are implemented based on the role-based access control (Role-Based Access Control, RBAC) model. When calling between microservices, a user information is attached, and the called microservice obtains the user information through the user information. The role set to which it belongs, and then obtain the user's permissions through the role set, and finally judge whether to allow the user's call request according to the user's permissions. [0004] However, in some cases, due to situations such as no user participation or user parti...

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/06H04L29/08G06F16/955
CPCH04L63/10H04L63/104G06F16/955H04L67/141H04L67/63
Inventor 崔来
Owner CHENGDU XINCHAO MEDIA GRP CO LTD
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