Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Index construction method and JSON data query method

A construction method and technology for indexing data, which is applied in the field of JSON data query and index construction, and can solve problems such as reducing query efficiency, failing to query the latest JSON data, and reducing query accuracy

Pending Publication Date: 2020-10-20
ALIBABA GRP HLDG LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Currently, in the scenario of retrieving JSON data in Analytic DB, some databases do not support indexing JSON data, requiring users to manually create index fields, which reduces query efficiency
And because the JSON data newly written by the user is delayed for a period of time, the latest JSON data cannot be queried, which reduces the query accuracy

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
  • Index construction method and JSON data query method
  • Index construction method and JSON data query method
  • Index construction method and JSON data query method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The characteristics and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only configured to explain the present invention, not to limit the present invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by showing examples of the present invention.

[0040] It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and ...

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 index construction method and a JSON data query method. The JSON data query method comprises the steps: acquiring a query request, wherein the query request comprises a query target and a query condition, and the query condition comprises a first target keyword and a first target value corresponding to the first target keyword; according to the first target keyword, thefirst target value and the query target, performing data search from JSON data stored in a memory to obtain a first query result; screening out a first target index corresponding to the first target value from index data associated with the first target keyword; and obtaining a second query result from the JSON data stored in the disk according to the first target index and the query target. According to the embodiment of the invention, the query precision and the query efficiency of the JSON data can be improved.

Description

technical field [0001] This application relates to the field of data processing, in particular to an index construction method and a JSON data query method. Background technique [0002] JS Object Notation (JSON) is a lightweight data exchange format that uses a text format that is completely independent of programming languages ​​to store and represent data. JSON data is more and more widely used by various service systems due to its ease of use. At the same time, with the rapid growth of JSON data, there is a strong demand to use JSON data as a basic data type. For example, ElasticSearch, as a distributed search server, is an analytical database that naturally supports the JSON data type and can easily process such semi-structured data. MySQL is an open source relational database management system and an analytical database that also supports the JSON data type. [0003] Currently, in the scenario of retrieving JSON data in Analytic DB, some databases do not support ind...

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): G06F16/22G06F16/2455
CPCG06F16/2228G06F16/2455Y02D10/00
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
Eureka Blog
Learn More
PatSnap group products