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

A spatial keyword query method and device based on keyword inversion and trie

A query method and keyword technology, which is applied in the fields of unstructured text data retrieval, instruments, and computing, can solve problems such as retrieval efficiency constraints, and achieve the effect of avoiding retrieval inefficiency and storage space overhead.

Active Publication Date: 2022-05-20
KUNMING UNIV OF SCI & TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The variant of R-Tree optimizes R-Tree based on the principles of minimum area, minimum overlapping area, minimum perimeter and high storage utilization, but the retrieval efficiency is still restricted by the multi-path query problem of R-Tree.

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 spatial keyword query method and device based on keyword inversion and trie
  • A spatial keyword query method and device based on keyword inversion and trie
  • A spatial keyword query method and device based on keyword inversion and trie

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Example 1: as Figure 1-Figure 7 As shown, a spatial keyword query method based on keyword inversion and Trie, including

[0043] The data preprocessing step is to encode all the position points in the data set D into a string of length n, and use the string as the sorting object to sort each row of data in the data set D in lexicographical order and generate a serial number id, and each row of data is called is a record r, then a data set consisting of one or more rows of records r is called a record set R;

[0044] In the step of establishing the spatial keyword index, an inverted index is established for the keyword set in the record set R, and then a Trie is constructed for the character string corresponding to the id to which any keyword belongs to obtain an index structure combining the inverted keyword and the Trie;

[0045] In the spatial keyword query step, the index structure of the combination of keyword inversion and Trie is retrieved, the id that satisfies...

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 present invention relates to a spatial keyword query method and device based on keyword inversion and Trie. The method of the present invention includes: a data preprocessing step, encoding all position points in the data set D into a character string with a length of n, using the The string is the sorting object. Sort each row of data in the data set D in lexicographical order and generate a number id. Each row of data is called a record r, and the data set consisting of one or more rows of records r is called a record set R; space key The word index building step is to build an inverted index for the keyword set in the record set R, and then construct a Trie for the string corresponding to the id of any keyword to obtain an index structure combining keyword inversion and Trie; spatial keyword query Step 1: Retrieve the index structure combined with keyword inversion and Trie, obtain the ids that meet the query conditions, obtain the id candidate set after filtering, and verify the candidate set to return the location points that meet the spatial query conditions. The invention can efficiently support keyword query in any spatial range.

Description

technical field [0001] The invention relates to a spatial keyword query method and device based on keyword inversion and Trie, belonging to the fields of spatial keyword query (Spatial Keyword query), location-based service (Location-Based Service, LBS) and the like. Background technique [0002] In recent years, with the popularity of mobile devices such as smartphones and tablet computers, the desktop-based Internet era has turned to the mobile Internet era. At the same time, with the rapid development of positioning technology, such as: GNSS, GPS, 3G / 4G, etc., a large number of location-based services have been generated. These services generate a large amount of text data with location attributes, namely spatial text. How to quickly obtain the required information from these data is the core problem in the field of spatial text query. According to application scenarios, spatial text query can be divided into spatial keyword query and distribution / subscription query. ...

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/31G06F16/9537
Inventor 沈兵林贾连印李孟娟李晓武丁家满左喻灏胡俊涛雷妍
Owner KUNMING UNIV OF SCI & TECH
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