Data query method, device and equipment
A data query and query range technology, applied in the field of data processing, can solve the problems of low query efficiency and high cost of data query implementation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] Embodiment 1 of the present invention provides a data query method, the flow of the data query method is as follows figure 1 As shown, the execution steps are as follows:
[0064] Step 101, searching for a pre-configured authority policy according to the user information of the user to be queried to obtain a target authority policy, the subject object of the target authority policy matches the user information;
[0065] Here, the subject object includes the subject organization type and subject role; obtaining the user information of the user to be queried is to obtain the institution type and role to which the user to be queried belongs, and the obtained institution type and role are respectively compared with the subject object of the authority policy. Match, when the subject object of a permission policy includes the acquired organization type and role, the permission policy is the target permission policy;
[0066] Among them, the main organization type and main ro...
Embodiment 2
[0111] Embodiment 2 of the present invention provides a data query device, the structure of which is as follows figure 2 As shown, it includes: a strategy search module 21, an upward tracing module 22, and a downward exploration module 23; wherein,
[0112] The policy search module 21 is configured to search for a pre-configured authority policy according to the user information of the user to be queried to obtain a target authority policy, and the subject object of the target authority policy matches the user information;
[0113] The trace-up module 22 is configured to determine the query range of data according to the first trace-back information of the object object of the target authority policy;
[0114] The drill-down module 23 is configured to perform data query according to the secondary drill-down information of the object object within the query range, and obtain a query result.
[0115] Optionally, the trace-up module 22 is specifically configured to determine th...
Embodiment 3
[0129] The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, each step of the above-mentioned data query method is realized.
[0130] In some embodiments, the storage medium is further configured to store program code for performing the following steps:
[0131] Searching for a pre-configured authority policy according to the user information of the user to be queried to obtain a target authority policy, the subject object of the target authority policy matches the user information;
[0132] Determine the query scope of the data according to the first upward tracing information of the object object of the target authority policy;
[0133] Within the scope of the query, data query is performed according to the secondary drilling information of the object object, and a query result is obtained.
[0134] In the embodiment...
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