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: 2016-11-23
ALIBABA (CHINA) CO LTD
View PDF4 Cites 12 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
  • Search processing method and device
  • Search processing method and device
  • 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

The invention discloses a search processing method and a search processing device. The search processing method comprises the following steps: according to a received retrieval character string, generating a plurality of alternative character strings, wherein preset edit distances are formed between the alternative character strings and the retrieval character string; respectively finding the alternative character strings through a vocabulary tree of an alternative vocabulary; if the alternative character strings are found, supplying the alternative character strings as recommended retrieval character strings to a user. By the search processing method, according to the preset edit distances, a controllable number of alternative character strings are generated, so that the calculation amount of an algorithm is relatively constant and does not increase with increase in the number of the character strings of the alternative vocabulary; in addition, the edit distances between the generated alternative character strings and the character strings in the alternative vocabulary do not need to be calculated one by one, but the vocabulary tree with a relatively high search speed is used for further screening the alternative character strings to obtain the recommended retrieval character strings, 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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/00
Inventor 梁捷李富科
Owner ALIBABA (CHINA) CO LTD
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