Method for establishing a data index database, method and device for generating search suggestions
A technology for establishing methods and search suggestions, which is applied in the fields of electronic digital data processing, special data processing applications, instruments, etc., can solve the problems of slow database construction, reduced timeliness of search and suggestion services, and decreased response speed, so as to improve efficiency and performance, reduce I/O read and write operations, and improve timeliness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] figure 1 It is a flowchart of the method for establishing a data index library provided by this embodiment, such as figure 1 As shown, the method includes:
[0056] Step S101: Sort all the data to be processed to form a data list to be processed, and perform step S102 and step S103 on the data in the data list to be processed respectively.
[0057] The data to be processed includes the point of interest data on the map or the search term input by the user with a frequency greater than a preset threshold. The data to be processed is sorted first, which is similar to the order of the existing dictionary. All the data to be processed are sorted in the order of letters, numbers, or strokes of the data name to form a list of data to be processed.
[0058] Specifically, for data whose data name is Chinese characters, the alphabetical order of pinyin can be used for sorting, and for homophones, the order can be further determined by strokes or tones. For numerical names, data is sor...
Embodiment 2
[0092] image 3 It is a flowchart of the method for establishing a data index library provided by this embodiment, such as image 3 As shown, the method includes:
[0093] Step S301: Divide all the data to be processed into multiple pieces of data to be processed that are not redundant with each other.
[0094] All the data to be processed need to be deduplicated first to avoid unnecessary repetitive operations, and then randomly or sequentially divided into multiple pieces of complementary and redundant data to be processed, and distributed to each processing device for processing.
[0095] For example, "Tsinghua University", "Tsinghua University West Gate", "Tsinghua University East Gate", "Tsinghua East Road", "Tsinghua West Road", "Tsinghua Park", "Qingqin Road", "Qinglin Road", After removing the duplicates, "Qinglin East Road" is randomly divided into A and B. Among them, A includes "Tsinghua University", "Tsinghua University West Gate", "Qingqin Road", "Qinglin Road", and "Qin...
Embodiment 3
[0109] Figure 4 It is a flowchart of the search suggestion generation method provided in this embodiment. Such as Figure 4 As shown, the method includes:
[0110] Step S401: Receive a search term input by the user.
[0111] Word by word or word by word to receive the search words input by the user on the screen. For example, the user inputs "清", "清华" or "qing".
[0112] Step S402: Use the received search term as a prefix segment, and find data whose key value is the prefix segment from a pre-established data index database.
[0113] The data index library is pre-established using the method for establishing a data index library provided by the present invention. Use the received search term to find matching data from the data index library. For example, when the user enters "clear" on the screen, the index of "clear" will be found from the data index database, and all the data contained in the corresponding "clear" will be obtained.
[0114] Step S403: Sort the searched data accor...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com