Authority design method and system based on SaaS multi-tenant, equipment and storage medium

A design method and multi-tenant technology, applied in the field of authority management, can solve problems such as the influence of subjective factors, and achieve the effect of easy expansion and maintenance, scientific and reasonable authority allocation method

Pending Publication Date: 2021-04-16
恩亿科(北京)数据科技有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The embodiment of the present application provides a SaaS-based multi-tenant permission design method to at least solve the problem of subjective factors in related technologies

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 design method and system based on SaaS multi-tenant, equipment and storage medium
  • Authority design method and system based on SaaS multi-tenant, equipment and storage medium
  • Authority design method and system based on SaaS multi-tenant, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] refer to Figure 1 to Figure 2 As shown, this example discloses a specific implementation of a SaaS multi-tenant-based permission design method (hereinafter referred to as "method").

[0054] Specifically refer to figure 1 and figure 2 As shown, the method disclosed in this embodiment mainly includes the following steps:

[0055] Step S1. Create a Users table to store users under each tenant.

[0056] Specifically, tenants can be understood as customers deployed on the cloud. For example, the school’s one-card management is usually done by a company. The school does not need to do any local deployment, and this company serves many schools. Then the school It is a tenant for the company.

[0057] Specifically, there are three types of SaaS multi-tenant architecture: independent database; shared database, isolated data architecture; shared database, shared data architecture. Independent databases are stored in different databases for different tenants' data; shared ...

Embodiment 2

[0074] In combination with the SaaS multi-tenant-based authority design method disclosed in Embodiment 1, this embodiment discloses a specific implementation example of a SaaS multi-tenant-based authority design system (hereinafter referred to as "system").

[0075] refer to image 3 As shown, the system includes:

[0076] User table creation module 1, creating a Users table to store users under each tenant;

[0077] Role table creation module 2, creating a Roles table to store system roles;

[0078] Permission point setting module 3, create Permissions table, store the corresponding permission point of each described system role;

[0079] The user role correspondence module 4 creates a User_roles_mapping table to store the correspondence between the user and the system role;

[0080] Data storage module 5, creating an Accounts table to store accessible data sets;

[0081] The data role correspondence module 6 creates an Operation table to store the correspondence between ...

Embodiment 3

[0086] combine Figure 4 As shown, this embodiment discloses a specific implementation manner of a computer device. The computer device may comprise a processor 81 and a memory 82 storing computer program instructions.

[0087] Specifically, the processor 81 may include a central processing unit (CPU), or an Application Specific Integrated Circuit (ASIC for short), or may be configured to implement one or more integrated circuits in the embodiments of the present application.

[0088]Among them, the memory 82 may include mass storage for data or instructions. For example without limitation, the memory 82 may include a hard disk drive (Hard Disk Drive, referred to as HDD), a floppy disk drive, a solid state drive (SolidState Drive, referred to as SSD), flash memory, optical disk, magneto-optical disk, magnetic tape or universal serial bus (Universal Serial Bus, referred to as USB) drive or a combination of two or more of the above. Storage 82 may comprise removable or non-re...

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 an authority design method and system based on SaaS multi-tenant, equipment and a storage medium, and the method comprises the following steps: creating a User table, and storing a user under each tenant; creating a Roles table, and storing system roles; creating a Permissiones table, and storing an authority point corresponding to each system role; creating a User_roles_mapping table, and storing a corresponding relationship between the user and the system role; creating an Accounts table, and storing an accessible data set; creating an Operation table, and storing a corresponding relationship between the accessible data set and the system role; and according to the User table, the Roles table, the Permissiones table, the User_roles_mapping table, the Accounts table and the Operation table, carrying out user permission allocation. According to the invention, a more scientific and reasonable authority distribution method is provided, and roles, function authorities and data authorities are decoupled to a greater extent under the background of multiple tenants, multiple roles and multiple data.

Description

technical field [0001] The present invention relates to the technical field of authority management. More specifically, the present invention relates to a SaaS multi-tenant-based authority design method, system, device, and storage medium. Background technique [0002] SaaS (short for Software-as-a-Service) means software as a service, that is, software services are provided through the network. There are three modes of SaaS application software: free, paid and value-added. The payment is usually an "all-inclusive" fee, which includes the usual application software license fee, software maintenance fee and technical support fee, which are unified into each user's monthly rental fee. SaaS is not just for SMBs, businesses of all sizes can profit from SaaS. [0003] At present, the SaaS market has repeatedly become the focus of media and capital attention. Almost every enterprise has a platform dream, and domestic enterprises are also vigorously developing SaaS platforms. ...

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): G06F16/22G06F16/27
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