A query optimization method and device
A query optimization and query request technology, applied in the field of data query, can solve limited problems and achieve high retrieval efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] Such as figure 1 As shown, this embodiment provides a query optimization method, including the following steps:
[0051] S1: Obtain search terms;
[0052] S2: Acquiring the keywords matching the search terms and the priority of the keywords;
[0053] S3: Execute retrieval according to keywords and their priorities;
[0054] S4: Obtain the retrieval time after the retrieval is completed;
[0055] S5: Obtain the retrieval time of the last retrieval using the keyword;
[0056] S6: Judging whether the current retrieval time is longer than the previous retrieval time, if yes, lower the priority of each keyword in the current retrieval; otherwise, increase the priority of each keyword in the current retrieval.
[0057] In the query optimization method provided by this embodiment, after each query, the difference between the current retrieval time and the previous retrieval time using the same set of keywords will be analyzed, and the priority of the keywords participating...
Embodiment 2
[0075] Such as figure 2 As shown, this embodiment provides a query optimization device, including:
[0076] The first obtaining unit U1 is used to obtain search terms;
[0077] The second acquisition unit U2 is used to acquire the keywords matching the search terms and the priority of the keywords;
[0078] A retrieval unit U3, configured to perform retrieval according to keywords and their priorities;
[0079] The third obtaining unit U4 is used to obtain the retrieval time after the retrieval is completed;
[0080] The fourth acquisition unit U5 is used to acquire the retrieval time of the last keyword retrieval;
[0081] The priority adjustment unit U6 is used to judge whether the current retrieval time is longer than the previous retrieval time, and if so, lower the priority of each keyword in the current retrieval; otherwise, increase the priority of each keyword in the current retrieval.
[0082] The query optimization device provided in this embodiment, after each ...
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