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

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, according to one aspect of the present application, the present application provides a method for data query in a non-relational database, which solves the problem of low efficiency when performing data query in a non-relational database in a big data scenario problem, the method includes:

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

Embodiment Construction

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

[0024] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

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

[0026] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random acce...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products