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

A data query method, terminal equipment, and computer-readable storage medium

A data query and storage space technology, applied in the field of data processing, can solve the problems of long data query time and low data query efficiency, and achieve the effect of shortening data query time, reducing the number of disk accesses, and improving data query efficiency.

Active Publication Date: 2022-03-29
SUN YAT SEN UNIV
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present application provides a data query method, a terminal device, and a computer-readable storage medium to solve the problem of low data query efficiency and long data query time caused by the existing suffix index-based data query method question

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
  • A data query method, terminal equipment, and computer-readable storage medium
  • A data query method, terminal equipment, and computer-readable storage medium
  • A data query method, terminal equipment, and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0053] see figure 1 , figure 1 It is an implementation flowchart of a data query method provided in the first embodiment of the present application. In this embodiment, the execution subject of the process is a terminal device. The terminal device includes, but is not limited to: a server, a computer, a smart phone, a tablet computer, and other devices capable of performing data storage operations. Such as figure 1 The data query method shown includes the following steps:

[0054] S1: Obtain the search keyword, and search the cache for the target linked list 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

This application is applicable to the technical field of data processing, and provides a data query method, terminal equipment, and a computer-readable storage medium, including: obtaining a search keyword, searching a target linked list corresponding to the first character of the search keyword from the cache; detecting Whether there is a target index matching the search keyword in the target linked list; if there is no target index matching the search keyword in the target linked list, search and obtain the target index matching the search keyword from the disk; The index is added to the target linked list in the cache, and the suffix string corresponding to the target index is output; if there is a target index matching the search keyword in the target linked list, the suffix string corresponding to the target index is obtained and output, thereby improving the Data query efficiency shortens the data query time.

Description

technical field [0001] The present application belongs to the technical field of data processing, and in particular relates to a data query method, a terminal device and a computer-readable storage medium. Background technique [0002] The search engine based on the suffix index is a search engine based on the suffix string of the string as the index. The existing search engine based on the suffix index usually stores the index in the disk. In this way, each time the terminal device processes a query request, it needs to All indexes are loaded from the disk into the memory, and then the indexes that meet the requirements are searched from the indexes loaded into the memory. However, since most of the indexes stored in the disk are rarely retrieved, loading all the indexes into the memory every time a query request is processed will reduce the efficiency of data query and prolong the time of data query. Contents of the invention [0003] In view of this, the embodiment of ...

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/2455G06F16/2457
CPCG06F16/24552G06F16/24573
Inventor 彭炯瑜解静仪农革
Owner SUN YAT SEN UNIV
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