Supercharge Your Innovation With Domain-Expert AI Agents!

Multidimensional data permission query method and device

A technology of multi-dimensional data and query method, applied in the computer field, can solve the problems of cumbersome query process, low query efficiency, long query process, etc., and achieve the effect of improving the efficiency of authority query

Active Publication Date: 2019-03-26
TENCENT TECH (BEIJING) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Because a large number of hash operations are required to query the permissions of multi-dimensional data through the hash table, the process of querying permissions is cumbersome, especially when the multi-dimensional data to be queried has many dimensions, not only the query process is cumbersome, but also the query process consumes a lot of time. time is also longer
Therefore, the permission query method for multidimensional data provided by the prior art has low query efficiency

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
  • Multidimensional data permission query method and device
  • Multidimensional data permission query method and device
  • Multidimensional data permission query method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] The embodiment of the present invention provides a multi-dimensional data permission query method, see figure 1 , the method flow provided by this embodiment includes:

[0029] 101: Obtain multi-dimensional data to be queried, and each dimensional data at least includes corresponding data type information, data length information, and data content information;

[0030] 102: Obtain the type bitmap of multi-dimensional data according to the data type information of each dimensional data;

[0031] 103: Determine the subcombination type bitmap of the multidimensional data according to the type bitmap of the multidimensional data and the pre-acquired type bitmap in the authority index data, and query the authority corresponding to the subcombination type bitmap in the authority index data index information;

[0032] 104: Query the corresponding permission information from the pre-acquired permission data according to the permission index information corresponding to the su...

Embodiment 2

[0035] In order to improve the efficiency of multi-dimensional data authority query, combined with the content of the first embodiment above, the embodiment of the present invention provides a multi-dimensional data authority query method, see figure 2 , the method flow provided by this embodiment includes:

[0036] 201: Collect the data of each dimension with limited authority and the corresponding authority information, and store the data of each dimension with limited authority and the corresponding authority information in order to obtain the authority data;

[0037] For this step, the purpose of collecting dimension data with restricted permissions and the corresponding permission information is to obtain permission data before querying the permissions of the multidimensional data, so as to query the permissions corresponding to the multidimensional data through the permission data. Among them, the data of each dimension with limited authority can be data of any dimensio...

Embodiment 3

[0142] An embodiment of the present invention provides a multi-dimensional data authority query device, see image 3 , the device consists of:

[0143] The first obtaining module 301 is used to obtain the multi-dimensional data whose authority is to be queried, and each dimensional data includes at least corresponding data type information, data length information and data content information;

[0144] The second obtaining module 302 is used to obtain the type bitmap of multi-dimensional data according to the data type information of each dimensional data;

[0145] The first determining module 303 is configured to determine the subcombination type bitmap of the multidimensional data according to the type bitmap of the multidimensional data and the type bitmap in the pre-acquired authority index data;

[0146] The first query module 304 is configured to query the permission index information corresponding to the subcombination type bitmap in the permission index data;

[0147...

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 query method and device of multi-dimensional data, and belongs to the technical field of computers. The method comprises the following steps: acquiring the multi-dimensional data of which the authority is to be queried; acquiring a type bitmap of the multi-dimensional data according to the data type information of each dimension of data; determining a combined subtype bitmap of the multi-dimensional data according to the type bitmap of the multi-dimensional data and the type bitmap in previously acquired authority index data, and querying authority index information corresponding to the combined subtype bitmap in the authority index information; querying corresponding authority information from the previously acquired authority data according to the authority index information corresponding to the combined subtype bitmap, and determining the authority of the multi-dimensional data according to the queried authority information. By introducing the type bitmap and the authority index information mechanism, the authority query of the multi-dimensional data is realized, so complex functional operation is not required in the entire query process; compared with a mode of querying authority by using a hash table, the authority query efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a multidimensional data authority query method and device. Background technique [0002] With the advent of the information age, social network products are becoming more and more popular, and people can pay more attention to more and more things by publishing information through these social network products. However, it is inevitable that there will be some negative information such as pornographic information, spam advertisements, rumors, phishing website links, etc. in the information released through the social platform where the social network product is located. In order to maintain the social network environment, it is necessary to control the authority of IP addresses, instant messaging numbers and other data that publish information, so as to reduce the release of negative information. Among them, the IP address or the instant messaging number are single-dimensional ...

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/9032
CPCG06F16/2264G06F16/24565G06F16/283
Inventor 周小会
Owner TENCENT TECH (BEIJING) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More