Data query method and device, storage medium and electronic equipment

A data query and data technology, applied in the field of data processing, can solve problems such as low query efficiency, and achieve the effect of speeding up data query speed, efficient query, and allocating storage pressure

Active Publication Date: 2020-01-17
TENCENT MUSIC ENTERTAINMENT TECH SHENZHEN CO LTD
View PDF15 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the data storage method provided by the above scheme, when performing data query, it is necessary to traverse all the data in the database to obtain the query results, and the query efficiency is low.

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 query method and device, storage medium and electronic equipment
  • Data query method and device, storage medium and electronic equipment
  • Data query method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0029] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by thos...

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 embodiment of the invention discloses a data query method and a device, a storage medium and electronic equipment. The data query method comprises the steps of when a data query request is received, determining a first sheet key and a query condition according to the data query request; determining a first fragment corresponding to the first fragment key from a fragment cluster, determining atarget balance tree matched with the query condition from a plurality of balance trees stored in the first fragment, and storing non-leaf nodes in a memory; searching the target balance tree layer bylayer to obtain a first index meeting a query condition and data record information associated with the first index from the leaf node; and obtaining first data corresponding to the first index from the first fragment according to the data record information, and responding to the data query request based on the first data to realize efficient query of the data.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a data query method, device, storage medium and electronic equipment. Background technique [0002] For systems that need to store the data uploaded by users and provide users with data query based on data attributes, the usual practice is to store the data uploaded by users in the database. Attributes are used as conditions to query and filter the database to obtain the required data. [0003] However, in the data storage method provided by the above solution, when performing data query, it is necessary to traverse all the data in the database to obtain the query result, and the query efficiency is low. Contents of the invention [0004] Embodiments of the present invention provide a data query method, device, storage medium, and electronic equipment, aiming at improving data query efficiency. [0005] An embodiment of the present invention provides a data query meth...

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 Applications(China)
IPC IPC(8): G06F16/22G06F16/2455G06F16/27
CPCG06F16/2246G06F16/278G06F16/2455
Inventor 黄浩
Owner TENCENT MUSIC ENTERTAINMENT TECH SHENZHEN CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products