Method and equipment for data querying in non-relational database

A non-relational, data query technology, applied in the field of data query, can solve the problems of low data query efficiency and low data query efficiency, and achieve the effect of improving efficiency

Active Publication Date: 2018-01-30
ALIBABA GRP HLDG LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] One purpose of this application is to provide a method and device for data query in a non-relational database to solve the problem of low efficiency when performing data query in a non-relational database in a big data scenario
[0005] In order to achieve the above purpose, accor

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
  • Method and equipment for data querying in non-relational database
  • Method and equipment for data querying in non-relational database
  • Method and equipment for data querying in non-relational database

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0023] The application will be further described in detail below in conjunction with the drawings.

[0024] In a typical configuration of this application, the terminal, the equipment of the service network, and the trusted party all include one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0025] The memory may include non-permanent memory in computer readable media, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.

[0026] Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic ran...

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 aims to provide a method and equipment for data querying in a non-relational database. The method specifically comprises the following steps: acquiring a querying command regarding datain the non-relational database, wherein row primary key information of the data in the non-relational database comprises time versions, and granular times longer than data aggregation cycles; determining one or more granular times matched with a querying time range corresponding to the querying command; and determining one or more pieces of target data corresponding to the querying command according to the granular time(s), wherein the time version of each piece of the target data is included by the granular time or one of the granular times. Compared with the prior art, the method and equipment provided by the invention has the advantages that the granular times longer than the data aggregation cycles are added to the row primary key information of the data in the non-relational database,the granular time(s) matched with the querying time range is/are determined during querying, and the target data is determined according to the granular time(s), so that the efficiency of the data querying in the non-relational database under the big data scenario can be improved.

Description

technical field [0001] The present application relates to the field of computers, in particular to a technology for data query in a non-relational database. Background technique [0002] With the development of technology, the application of the database is more and more extensive, and the demand for querying the data stored in the database increases accordingly. When performing data query, different types of databases have different query methods. In a relational database, data corresponds to different fields when stored, such as a time field representing the time series of data storage and a dimension field used to determine the data range. According to these fields, information can be queried through index query. In a non-relational database, each data record is configured with a row master key data structure for identifying key identity information, such as the rowkey in the Ali OTS database. The rowkey data structure includes time series information and dimension infor...

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
IPC IPC(8): G06F17/30
Inventor 刘峰
Owner ALIBABA GRP HLDG 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