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

A service calling permission control method based on a micro-service architecture

A technology of permission control and service invocation, applied in the fields of digital data protection, electrical components, transmission systems, etc., can solve the problems of inability to perform permission control and micro-services without permission control, and achieve the effect of preventing illegal service invocation and eliminating security risks.

Pending Publication Date: 2019-06-28
JIANGSU ELECTRIC POWER INFORMATION TECH
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Since there is no permission control for calls between microservices, they can be called directly without permission control, and there is a security risk of illegal service calls

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
  • A service calling permission control method based on a micro-service architecture
  • A service calling permission control method based on a micro-service architecture
  • A service calling permission control method based on a micro-service architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0022] A service call authority control method based on a microservice architecture, which is used for service authorization and service call authority control of microservices registered based on a registration center. The microservice support platform provides microservice authorization operation functions, and the permissions are stored in Oracle and Redis. Through the subscription publishing mechanism provided by Redis, the permissions are pushed to the authorized microserver for permission verification control. details as follows:

[0023] 1. Import the client jar package

[0024] For microservice projects developed based on Maven, the client jar package needs to be added to the pom.xml configuration file.

[0025] 2. Configure the relevant parameters in the configuration center

[0026] The interface.auth.enable parameter defaults to...

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 service calling permission control method based on a micro-service architecture. The method is used for service authorization and service calling permission control of a micro-service registered based on a registration center. The micro-service support platform provides a micro-service authorization operation function, and authorities are stored in the Oracle and the Redis; pushing the authority to an authorization micro-server through a subscription release mechanism provided by the Redis, and carrying out authority verification control; the method comprises the steps of micro-service authorization operation, authority storage and release, authority control and authority control client jar package use. According to the invention, authority control is carried outon the micro-service registered based on the registration center through authorization, illegal service calling is prevented, and the interface calling security risk is completely eradicated.

Description

technical field [0001] The invention belongs to the technical field of software, and is a mechanism for controlling call authority between microservices based on a Spring Cloud microservice architecture, and specifically a method for controlling service call authority based on a microservice architecture. Background technique [0002] Spring Cloud is a microservice architecture development tool based on Spring Boot. It provides a simple development method for operations such as configuration management, service governance, circuit breakers, intelligent routing, micro-agents, control buses, global locks, decision-making campaigns, distributed sessions, and cluster state management involved in the microservice architecture. [0003] Spring Boot is a new framework provided by the Pivotal team, which is designed to simplify the initial construction and development process of Spring applications. The framework uses a specific way to configure, using the concept of "custom over c...

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): G06F21/60H04L29/06H04L29/08
Inventor 周司徒徐明生陈桂峰
Owner JIANGSU ELECTRIC POWER INFORMATION TECH
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