User permission association method, query method and device
A technology of user rights and permissions, applied in computer security devices, relational databases, special data processing applications, etc., can solve problems such as affecting user use, prone to instability, and difficult to store data volume, etc., to optimize query experience, reduce The effect of occupying and improving the response speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 2
[0054] On the basis of the above examples, image 3 It is a flow chart of another method for associating user rights provided in Embodiment 2 of the present application. refer to image 3 , the method for associating user rights provided in this embodiment specifically includes:
[0055] S210. Store the data access rights of any role to several devices using a bitmap data structure, wherein one device corresponds to a bit to store the permission information, and use 0 or 1 to respectively indicate whether a role has the data access rights of the corresponding device .
[0056] S220. Several devices store permission information according to the preset device number corresponding to the bit number of a bitmap, and obtain a bitmap corresponding to the association relationship between the role and the device.
[0057] S230. Establish an association relationship between each user and several roles, and store a bitmap of the association relationship between each corresponding rol...
Embodiment 3
[0062] On the basis of the above examples, Figure 4 It is a flow chart of another method for associating user rights provided in Embodiment 3 of the present application. refer to Figure 4 , the method for associating user rights provided in this embodiment specifically includes:
[0063] S310. Store the data access rights of any role to several devices using a bitmap data structure, where one device corresponds to a bit to store the permission information, and use 0 or 1 to indicate whether a role has the data access rights of the corresponding device .
[0064] S320. Several devices store permission information according to the preset device number corresponding to the bit number of a bitmap, and obtain a bitmap corresponding to the association relationship between roles and devices.
[0065] S330. Establish an association relationship between each user and several roles, and store a bitmap of the association relationship between each corresponding role and a device and ...
Embodiment 4
[0069] On the basis of the above examples, Figure 5 It is a flow chart of a user authority query method provided in Embodiment 4 of the present application. refer to Figure 5 , the user authority query method provided in this embodiment specifically includes:
[0070] S410. Upload a query request for user authority information.
[0071] S420. Receive the copy of user authority data returned by the database, where the copy of user authority data includes association relationship information between each user and several corresponding roles, and bitmap information about the association relationship between each corresponding role and a device.
[0072] S430. Store the user authority data copy in a local memory, and respond to the user authority information query request based on the user authority data copy in the local memory.
[0073] Exemplarily, after referring to the foregoing embodiment, a pair of association information between each user and all roles, and associatio...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com