Data retrieval method and device

A data retrieval and database technology, applied in the field of data processing, can solve problems such as low efficiency, consumption of retrieval server memory, and slow retrieval speed.

Pending Publication Date: 2020-08-28
BEIJING XUEZHITU NETWORK TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in practice, it is found that the full database includes the full amount of original data, and the full amount o

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 retrieval method and device
  • Data retrieval method and device
  • Data retrieval method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] Please see figure 1 , figure 1 A schematic flowchart of a data retrieval method is provided for the embodiment of the present application. The method can be applied to various retrieval application scenarios, and specifically can be applied to retrieval scenarios using ElasticSearch (full-text search engine). Among them, the data retrieval method includes:

[0062] S101. Receive a data retrieval request.

[0063] In this embodiment, the data retrieval request may be a word segmentation search type query aggregation request.

[0064] In this embodiment, the data retrieval request can be a DSL (Domain Specific Language, domain-specific language); the DSL is a query language in JSON format supported by Elasticsearch, and usually includes a query filtering part, an aggregation statistics part, highlighting, etc. Auxiliary part. The basic process of the query is that the query filters part of the hit data, and the aggregation statistics part calculates the result based ...

Embodiment 2

[0082] Please see figure 2 , figure 2 It is a schematic flowchart of another data retrieval method provided in the embodiment of this application. figure 2 The flow diagram of the described data retrieval method is based on figure 1 Schematic flowchart of the described data retrieval method obtained with modifications. Among them, the data retrieval method includes:

[0083] S201. Receive a data retrieval request.

[0084] In this embodiment, the data retrieval request may be a word segmentation search type query aggregation request.

[0085] In this embodiment, the data retrieval request can be a DSL (Domain Specific Language, domain-specific language); the DSL is a query language in JSON format supported by Elasticsearch, and usually includes a query filtering part, an aggregation statistics part, highlighting, etc. Auxiliary part. The basic process of the query is that the query filters part of the hit data, and the aggregation statistics part calculates the result...

Embodiment 3

[0140] Please see image 3 , image 3 It is a schematic structural diagram of a data retrieval device provided in the embodiment of this application. Among them, the data retrieval device includes:

[0141] The receiving unit 310 is configured to receive a data retrieval request.

[0142] The splitting unit 320 is configured to split the data retrieval request according to a preset request splitting rule to obtain multiple split requests.

[0143] The retrieval unit 330 is configured to perform data retrieval on multiple split requests respectively, and obtain multiple retrieval results corresponding to the multiple split requests one-to-one.

[0144] The aggregation unit 340 is configured to aggregate multiple retrieval results to obtain a data retrieval result corresponding to the data retrieval request.

[0145] In this embodiment, for the explanation of the data retrieval device, reference may be made to the description in Embodiment 1 or Embodiment 2, which will not b...

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 embodiment of the invention provides a data retrieval method and device, and relates to the field of data processing. The method comprises the steps of receiving a data retrieval request; splitting the data retrieval request according to a preset request splitting rule to obtain a plurality of splitting requests; performing data retrieval on the plurality of splitting requests to obtain a plurality of retrieval results in one-to-one correspondence with the plurality of splitting requests; and summarizing the plurality of retrieval results to obtain a data retrieval result corresponding tothe data retrieval request. Therefore, by implementing the embodiment, the retrieval speed and the retrieval efficiency can be improved while occupation of a large amount of retrieval server memory isavoided, so that the retrieval performance is improved.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular, to a data retrieval method and device. Background technique [0002] With the development of modern network technology and communication technology, people face a sharp increase in the amount of information resources in their daily work, and people hope to extract the required data from a large amount of information through retrieval. Therefore, full-text retrieval technology is also urgently needed. develop. Existing data retrieval methods are usually based on the retrieval request input by the user each time, and then conduct a comprehensive search in the full database including all original data according to the retrieval request, obtain the retrieval results, and finally return the retrieval results to the user. However, in practice, it is found that the full database includes the full amount of original data, and the full amount of retrieval will consume...

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/2453
CPCG06F16/24532
Inventor 崔大鹏白宇
Owner BEIJING XUEZHITU NETWORK TECH
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