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

Character string data retrieval method and device, computer equipment and storage medium

A technology of data retrieval and character strings, which is applied in the field of retrieval, can solve the problems of large memory usage, low retrieval efficiency, and inability to balance retrieval efficiency and memory usage, and achieve the effect of less memory usage and high retrieval efficiency

Pending Publication Date: 2020-06-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the related art, the full traversal method needs to traverse the entire database for each retrieval, and the retrieval efficiency is low, while the full index method needs to establish complete index information in advance, resulting in a large memory usage; therefore, the solutions in the related technology cannot take into account the retrieval Efficiency and memory footprint

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
  • Character string data retrieval method and device, computer equipment and storage medium
  • Character string data retrieval method and device, computer equipment and storage medium
  • Character string data retrieval method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0060] The embodiment of the present application proposes a character string data retrieval scheme, which can take into account both the retrieval efficiency and the memory usage of the character string retrieval. For ease of understanding, the terms involved in this application are explained below.

[0061] 1) Unicode Standard: An industry standard in the field of computer science, whi...

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 a character string data retrieval method and device, computer equipment and a storage medium. The method comprises the following steps: receiving a retrieval request, whereinthe retrieval request requests to inquire character string data containing retrieval characters from a database; querying a target sub-tree from the prefix tree through the index information; obtaining a prefix character and a suffix character of the target subtree from the prefix tree; and splicing the prefix character, the retrieval character and the suffix character to obtain target character string data corresponding to the retrieval request. According to the scheme, on one hand, all character string data in the database does not need to be traversed; high retrieval efficiency can be guaranteed, on the other hand, the index information is the index corresponding to the node in the prefix tree, the occupied memory amount is small compared with a full index, and therefore the retrieval efficiency and the memory occupation amount for fuzzy retrieval of the character string can be considered at the same time.

Description

technical field [0001] The embodiments of the present application relate to the technical field of retrieval, and in particular to a character string data retrieval method, device, computer equipment, and storage medium. Background technique [0002] Fuzzy search is a search method for a given search character to retrieve the string data containing the search character from the database. With the continuous development of network and computer technology, the application of fuzzy retrieval is becoming more and more extensive. [0003] In related technologies, in order to retrieve search results containing search characters at any position, fuzzy search can usually be performed by means of full traversal or full index. Among them, the full traversal refers to traversing and matching the output search character with each string data in the database to find out the string data containing the search character at any position in the database; and the full index refers to pre-targ...

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/903G06F16/901
CPCG06F16/90344G06F16/9027
Inventor 张斌潘勇
Owner TENCENT TECH (SHENZHEN) 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