Data query method and system

A data query and data technology, applied in the field of data processing, can solve problems such as inability to migrate, inability to realize cross-data source data query, and inability to migrate definitions, and achieve the effect of eliminating bottlenecks

Pending Publication Date: 2019-11-22
行吟信息科技(上海)有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the relational database implements a complete set of relational description language, which can meet the definition of query, aggregation, and modification, but this definition cannot be migrated to nosql, that is to say, it cannot be migrated to other types of databases.
Therefore, at present, the industry is still unable to realize data query across data sources, and the development of microservices still has bottlenecks in data query and tracking

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 system
  • Data query method and system
  • Data query method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0047] The embodiment of this application discloses a data query method, see figure 1 As shown, the method includes:

[0048] S101. Obtain data query request information; wherein, the data query request information is used to request and query related data of different types;

[0049] Specifically, the technical solution of the embodiment of the present application is applicable to an application scenario in which data is queried from different types of databases at the same time. ...

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 provides a data query method and system. The method comprises the steps of obtaining data query request information, wherein the data query request information is used for requesting toquery different types of associated data; analyzing the data query request information, and determining each database where the requested data is located; and respectively calling the data source accessor corresponding to each database where the requested data is located, and reading the data requested by the data query request information from each database where the requested data is located. According to the processing process, associated data query across different types of databases is achieved, namely cross-data-source data query is achieved, and the bottleneck of micro-service data reading can be eliminated by applying the technical scheme to a micro-service system.

Description

technical field [0001] The present application relates to the technical field of data processing, and more specifically, to a data query method and system. Background technique [0002] As microservices become more and more common, a piece of data, or a series of related data, will be distributed and stored in different data sources, such as mysql, redis, mongodb, elasticsearch and other databases. In this case, data query and data tracking become the key to business development. [0003] At present, existing solutions in the industry mainly model data in the case of isomorphic databases (referring to one type of database, such as both based on mysql, or all based on redis), especially relational databases. Although relational databases implement a complete set of relational description languages ​​that can satisfy the definitions of query, aggregation, and modification, such definitions cannot be migrated to NoSQL, that is to say, they cannot be migrated to other types of ...

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/242G06F16/2452G06F16/25G06F16/28
CPCG06F16/2433G06F16/2452G06F16/256G06F16/284
Inventor 睢涛
Owner 行吟信息科技(上海)有限公司
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