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

A search processing method and device

A processing method and string technology, applied in the Internet field, can solve problems affecting user experience, long system response time, large amount of calculation, etc., and achieve the effect of improving retrieval processing speed

Inactive Publication Date: 2019-11-26
ALIBABA (CHINA) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a search processing method and device to solve the problem that when the search processing method in the prior art has a large number of candidate character strings, it is necessary to calculate the minimum edit distance between the search character string and the candidate character strings one by one. The amount of calculation is large, which leads to a long system response time and affects the user experience.

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 search processing method and device
  • A search processing method and device
  • A search processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] First, an embodiment provided by a search processing method of the present invention is described, see figure 1 , is a schematic flowchart of an embodiment of a search processing method provided by the present invention, this embodiment includes the following steps:

[0059] Step 101: Generate several candidate character strings with a predetermined edit distance from the search character string according to the received search character string.

[0060] When the user enters the search character string A, by inserting, and / or deleting, and / or replacing specified characters in the character string A, an alternative character string whose edit distance from the character string A is a predetermined edit distance is generated .

[0061] For example, the predetermined edit distance is 1, assuming that the search string entered by the user is "lovf", the last character "f" in the string can be replaced by any of the 26 lowercase letters except "f". Other arbitrary characte...

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

A search processing method and apparatus. The method comprises: generating, according to a received retrieval character string, a number of candidate character strings having a predetermined edit distance from the retrieval character string (101); respectively searching for the candidate character strings using a trie tree of a candidate lexicon (102); and if a candidate character string is found, providing to a user the candidate character string as a recommended retrieval character string (103). In the method, a controllable number of candidate character strings are generated according to a preset edit distance, so that the calculation amount of the algorithm is constant and does not increase with the increase of the number of character strings in a candidate lexicon; moreover, edit distances between the generated candidate character strings and the character strings in the candidate lexicon do not need to be calculated one by one; instead, the candidate character strings are further screened using a trie tree having a high search speed to obtain a recommended retrieval character string, so that the search processing speed is increased.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a search processing method and device. Background technique [0002] Existing search systems mainly search for relevant information on the Internet according to search character strings (or keywords) input by users. In actual use, the character string entered by the user may sometimes be incomplete or have individual character input errors, which may cause it to fail to completely match the candidate character string stored in the search thesaurus. Fuzzy matching, to find alternative strings that are similar to it and have a higher search frequency, and recommend them to users for search. For example, when the user enters the string "Chinese People's Liberation Army", the system will prompt the user whether the search is "Chinese People's Liberation Army" after fuzzy matching. [0003] The existing most commonly used search method based on fuzzy matching is to pick out som...

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/903
CPCG06F16/00
Inventor 梁捷李富科
Owner ALIBABA (CHINA) 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