High-concurrency data retrieval method and device, equipment and storage medium

A data retrieval and data technology, applied in the field of data query, can solve the problem of low data retrieval efficiency

Active Publication Date: 2020-07-17
SHANGHAI DONGPU INFORMATION TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to solve the technical problem of low data retrieval efficiency under high concurrency

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
  • High-concurrency data retrieval method and device, equipment and storage medium
  • High-concurrency data retrieval method and device, equipment and storage medium
  • High-concurrency data retrieval method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] Embodiments of the present invention provide a high-concurrency data retrieval method, device, device, and storage medium. In the technical solution provided by the present invention, when the server receives data retrieval requests initiated by multiple clients, it Retrieval type, determine different databases to be retrieved and perform the retrieval. Since the first distributed database cluster supports keyword retrieval, while the second distributed database cluster supports aggregate retrieval, data retrieval is pre-distributed according to the retrieval type before retrieval, so as to give full play to the respective advantages of the two distributed database clusters. This increases the data retrieval rate. In addition, this solution also provides a way to evenly distribute the same original data to distributed database clusters by means of route hashing or sub-cluster evaluation, thereby reducing the burden of sub-clusters in the retrieval process. The preferre...

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 relates to the field of data query, and discloses a high-concurrency data retrieval method and device, equipment and a storage medium. The high-concurrency data retrieval method comprises the following steps: receiving data retrieval requests initiated by a plurality of clients at the same time, and judging retrieval types corresponding to the data retrieval requests; if the retrieval type is simple retrieval, determining a preset first distributed database cluster as a to-be-retrieved database, and performing retrieval according to a retrieval keyword carried in the data retrieval request to obtain a first retrieval result; if the retrieval type is aggregation retrieval, determining a preset second distributed database cluster as a to-be-retrieved database, and performing retrieval according to a query condition carried in the data retrieval request to obtain a second retrieval result; and sending the first retrieval result and / or the second retrieval result to a corresponding client to respond to the data retrieval request. According to the invention, the data retrieval efficiency can be improved under the condition of high concurrent access.

Description

technical field [0001] The invention relates to the field of data query, in particular to a high-concurrency data retrieval method, device, equipment and storage medium. Background technique [0002] With the development of the Internet, the network is getting closer and closer to people's lives. Therefore, the amount of data in the database that provides online services is also increasing. In the past, the amount of data in units of T increased by PB level. However, the huge amount of data inevitably brings about the problem of extended retrieval time, which increases the time for responding to requests and affects the rate at which the server provides services. [0003] The back-end database maintenance personnel usually use sub-tables and partitions to divide the data in the database into tables or partitions to narrow the scope of retrieval, thereby reducing the retrieval time. However, sub-tables and partitions separate data through certain rules. Therefore, when 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): G06F16/9535G06F16/951G06F16/27G06F16/248
CPCG06F16/9535G06F16/951G06F16/27G06F16/248Y02D10/00
Inventor 刘梦超陈超
Owner SHANGHAI DONGPU INFORMATION TECH CO 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
Try Eureka
PatSnap group products