Unlock instant, AI-driven research and patent intelligence for your innovation.

Data query method, device, electronic device and readable storage medium

A technology for data query and electronic equipment, applied in the field of data query, can solve the problems of high maintenance cost, high development difficulty, low reuse rate, etc.

Active Publication Date: 2021-07-06
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen that custom development performs complex logic processing according to business needs, which is difficult to develop, high maintenance cost, and low reuse rate

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] refer to figure 1 , which shows a flow chart of the steps of a data query method, including:

[0065] Step 101, detecting the changed data source associated with the incremental query request.

[0066] Among them, the incremental query request is used for querying data in real time, which is different for different businesses, and queries data from one or more data sources according to business logic. The most common data source is a database table, and of course other data storage carriers can also be used.

[0067] Specifically, the change data source may be the table name of the database table, or other identifying information of the table.

[0068] It can be understood that when the data source is changed, change information will be generated and carry the changed data source. In the embodiment of the present invention, the change information only involves the target data source corresponding to the incremental query request.

[0069] Step 102 , in response to th...

Embodiment 2

[0127] refer to Figure 5 , which shows a structural diagram of a data query device, specifically as follows.

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 present invention provides a data query method, device, electronic equipment, and readable storage medium. The method includes: detecting a changed data source associated with an incremental query request; in response to the changed data source, acquiring the incremental Querying the logical relationship between target data sources corresponding to the request, the target data source at least including the changed data source; querying data from each target data source according to the changed data source and the logical relationship. Incremental query logic can be realized according to the configured logical relationship, which helps to reduce development difficulty and maintenance cost.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of data query, and in particular, to a data query method, device, electronic equipment, and readable storage medium. Background technique [0002] In the process of data query, usually after associating and merging multiple data sources, the query result data is calculated. And when one of the data sources changes, data query needs to be re-performed. In order to improve the efficiency of re-query, incremental query is usually used, and different data source changes lead to different incremental query logic. [0003] In the prior art, in order to solve the above problems, the custom development of incremental query logic is adopted. The main idea is to develop different incremental query logic for different data source changes. Specifically, the incremental query logic is divided into reusable shared computing processes, so that the incremental query logic is realized by using th...

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 Patents(China)
IPC IPC(8): G06F16/2455
Inventor 张子豪王海龙赵亚峰
Owner BEIJING SANKUAI ONLINE TECH CO LTD