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

A Role-Based Resource Scope Control Method

A control method and resource technology, applied in the field of role-based resource scope control, can solve the problem that RBAC cannot control the resource scope, etc.

Active Publication Date: 2019-05-21
G CLOUD TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem solved by the present invention is to provide a role-based resource range control method, by extending RBAC to RBRC (role-based resource range control), to solve the problem that RBAC cannot control the resource range

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 Role-Based Resource Scope Control Method
  • A Role-Based Resource Scope Control Method
  • A Role-Based Resource Scope Control Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] See attached Figure 1-3 Shown, method of the present invention implements according to following specific steps:

[0025] 1. Create a data table according to RBAC (role-based access control). Such as figure 1 shown.

[0026] 2. Add the resource range table of the role to record the resource range owned by the role: self-built, some (optional), all; as needed, you can also add a user relationship table to record the user's superior, and control the resource range Sometimes, "some resources" need to be used. The entity-relationship diagram that constitutes RBRC, such as figure 2 shown.

[0027] 3. The SQL related to functional authority and resource scope is as follows (replace the question mark with the actual ID):

[0028]

[0029]

[0030]

[0031]

[0032] 4. When the client calls the server interface, it first judges whether it has the function authority, and if it does not have the function authority, it will report an error and return; if it has...

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 software authority design, in particular to a role-based resource scope control method. A data sheet is established based on RBAC, and a role resource scope table is added; when a client side calls a server side port, whether the function is permitted is judged firstly, and error reporting and returning are conducted if no; limitation adding is conducted on SQL according to the resource scope of a role if yes; for self-established resources, only self-established data are returned, and all data are returned for all resources. According to the method, resource scope limitation is integrated into RBAC, so that resource scope has a definable characteristic, and the visible scope of each person can be controlled more flexibly by an administrator of a system. The method is suitable for all system software requiring resource scope control.

Description

technical field [0001] The invention relates to the technical field of software authority design, in particular to a role-based resource range control method. technical background [0002] In the permission design of system software, RBAC (Role-Based Access Control) is a well-known scheme, which can control function permissions, that is, control whether users can see a certain function and access a certain interface. But if you want to control some people can only see their own data, some people can see their own data and subordinates' data, and some people can see everyone's data. In RBAC (role-based access control) is not possible. Contents of the invention [0003] The technical problem solved by the present invention is to provide a role-based resource range control method, and by extending RBAC to RBRC (role-based resource range control), the problem that RBAC cannot control the resource range is solved. [0004] The present invention solves the technical scheme of ...

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): G06F16/20G06F21/12
CPCG06F16/20G06F21/121
Inventor 梁炜平杨松季统凯
Owner G CLOUD 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