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

Method and apparatus for executing data query

A data query and database technology, applied in the computer field, can solve problems such as failure to meet query conditions, waste of computing resources and storage resources, long waiting time of computing device A, etc.

Inactive Publication Date: 2018-11-02
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The problem with the real-time query solution is that once the amount of query data sent is large, it will take a lot of searching, statistics or calculations in computing device B to get the query results, making computing device A wait for a long time
However, there is a disadvantage that computing device B can only obtain query results based on fixed queries, and cannot satisfy all query conditions of computing device A, so that real-time query is still required for some queries
At the same time, some unused or seldom-used queries are also periodically searched, and the corresponding query results are stored, resulting in a waste of computing resources and storage resources

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 apparatus for executing data query
  • Method and apparatus for executing data query
  • Method and apparatus for executing data query

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0027] figure 1 is a schematic diagram of a system according to an embodiment of the present invention, such as figure 1 As shown, the system includes a query requester 100 , a computing device 200 and a database 300 .

[0028] The query requester 100 may transmit the query to the computing device 200 , and then the computing device 200 obtains the query result correspon...

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 method and apparatus for executing data query. The method comprises the following steps: receiving a query from a query requester; determining whether a query result data setcomprises a query result corresponding to the query, wherein the query result data set comprises one or more query results corresponding one or more previous queried obtained from a database system; in response to the determination that the query result data set comprises the query result corresponding to the query, sending the query result to the query requester; and in response to the determination that the query result data set does not comprise the query result corresponding to the query, adding the query to a query data set, wherein the query data set comprises one or more queries to be executed in the database system.

Description

technical field [0001] The present invention relates to the computer field, in particular to a method, device, electronic equipment and storage medium for executing data query. Background technique [0002] In a real computing environment, computing devices usually need to interact frequently to obtain required data. For example, query requester computing device A sends a query to query recipient computing device B requesting query results. There are two commonly used schemes at present. One scheme is real-time query, that is, the computing device B immediately searches for the query result after receiving the query from the computing device A. Another solution is to periodically obtain query results in computing device B based on a fixed query, store the query results in the data storage module of computing device B, and wait for queries from other computing devices. [0003] In the course of realizing the present invention, the inventor finds that there are at least the ...

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): G06F17/30
Inventor 陈杰李成林张锋
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO 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