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

Data grouping method and device

A data grouping and data grouping technology, applied in the field of data query, can solve the problems of inverted index table occupation, consumption of large processing resources, large storage resources, etc., and achieve the effect of reducing storage resource occupation and processing resource consumption

Active Publication Date: 2019-10-25
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem in the prior art, when there are many types of data attributes, the number of pre-established inverted index tables is very large, causing the inverted index tables to occupy a large amount of storage resources, and the establishment process of the inverted index table and When grouping, the process of querying the corresponding inverted index table consumes a large amount of processing resources. Embodiments of the present invention provide a data grouping method and device. The technical solution is as follows:

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
  • Data grouping method and device
  • Data grouping method and device
  • Data grouping method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] 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 examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0027] The solutions shown in the embodiments of the present invention can be applied to various equipment platforms with database management functions. For example, this solution can be applied to database management devices based on personal computers, workstations, servers, server clusters, or cloud service platforms.

[0028] In the solution shown in the embodiment of the present invention,...

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 a method for grouping data and belongs to the technical field of data query. The method comprises the following steps: while grouping target data, querying each data attribute identifying set (identifying set including each attribute value) in a data set corresponding to n data attributes, performing intersection operation on the identifying set of the target data and the identifying set for each data tribute in n data attributes, and then acquiring a grouping result for grouping the target data according to n data attributes on the basis of an operation result. The requirement for grouping the data in a database according to any category number and data attribute of the category can be met by only setting the identifying set for each data attribute corresponding to the data set, so that the storage resource occupation of the preset information can be greatly reduced, and the treating resource consumption in the processes of generating and querying the preset information can be reduced.

Description

technical field [0001] The invention relates to the technical field of data query, in particular to a data grouping method and device. Background technique [0002] In some databases, each data contains a variety of different data attributes, and the data can be grouped according to at least two of the data attributes, so as to provide query services related to grouping. Wherein, the data corresponding to the same data group obtained by grouping should have the same values ​​of at least two data attributes. [0003] In the prior art, the database management device performs an inverted index on each data in the database according to a combination of at least two data attributes in advance to establish an inverted index table, which includes the combination of the data attributes Each set of attribute values ​​of , and the identification of the data containing the set of attribute values ​​corresponding to each set of attribute values. When it is necessary to group the above...

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/23
CPCG06F16/2445G06F16/2453G06F16/24554
Inventor 陈佐伟
Owner TENCENT TECH (SHENZHEN) CO LTD
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