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

Authority control method and device

A permission control and permission technology, applied in the database field, can solve problems such as slow operation speed

Pending Publication Date: 2020-12-29
HANGZHOU HIKVISION DIGITAL TECH
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, this application provides a permission control method and device to solve the problem of slow operation speed

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 control method and device
  • Authority control method and device
  • Authority control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0024] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 provides an authority control method. The authority control method comprises the steps of obtaining user information of an operation user, a to-be-operated object and a required operation type; determining permission priorities of the operation types of the to-be-operated objects; searching the highest authority priority owned by the operation user for the to-be-operated object fromthe data authority table; and if the authority priority is lower than the highest authority priority, executing an operation corresponding to the operation type on the to-be-operated object. Because the highest authority priority of the user to the operation object is stored in the table, the related operation can be executed as long as the authority priority required by the user is lower than thehighest authority priority stored in the table, and one-to-one comparison with all owned operation types is not needed, so that the query speed can be increased. The highest authority priority is stored in the table, and all operation types do not need to be stored, so that the storage content in the table can be reduced, and the situation that a user cannot normally use the table due to the factthat authority distribution does not conform to use logic can be avoided.

Description

technical field [0001] The present application relates to the technical field of databases, in particular to a permission control method and device. Background technique [0002] For databases, whether it is a relational database or a non-relational database, ensuring data security is the most important issue. In the database, assigning corresponding permissions to each user can ensure data isolation, prevent data from being destroyed, and ensure data security. [0003] At present, by storing the database name / database table name / columns in the database table that each user has the right to operate in the permission relationship table, the operation permission (such as inserting, deleting, etc.), when receiving the user's operation request, in the permission Find the name of the database table that the user wants to operate in the relational table. If it is found, compare the operation required by the user with the operation authority corresponding to the found database tab...

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/31G06F21/62
CPCG06F21/31G06F21/6218G06F2221/2141
Inventor 史雪琼
Owner HANGZHOU HIKVISION DIGITAL 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