Query parameter processing method and device
A technology of query parameters and processing methods, which is applied in the search field and can solve problems such as low search quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0020] Embodiment 1 of the present invention provides a query parameter processing method, such as figure 1 As shown, it is a schematic flowchart of the query parameter processing method described in Embodiment 1 of the present invention, and the query parameter processing method may specifically include the following steps:
[0021] Step 101: Receive a query request input by a user and acquire query parameters carried in the query request.
[0022] Specifically, for any query request input by the user, the query parameters carried in the query request may generally include:
[0023] (1), the query string, that is, query;
[0024] (2) The query type parameter used to indicate the query type corresponding to this query request, namely search_type; the value of the parameter of search_type may specifically be Normal (that is, ordinary query or ordinary search, also known as a basket search ), Around (i.e. surrounding query or surrounding search), IDQ (i.e. abstract query or ab...
example 1
[0089] Example 1: If a single query request is:
[0090] query=restaurant;
[0091] search_type=AOUND;
[0092] search_data_type = POI;
[0093] adcode=110000;
[0094] x =;
[0095] y =;
[0096] range=;
[0097] category =;
[0098] geoobj=x1:121.3,y1:31.2;x2:121.4,y2:31.4.
[0099] Specifically, by analyzing the value of the original parameter of search_type in the above query parameters, it can be known that this query is a surrounding query, so the specific value of the user's current latitude and longitude information (ie x, y) must exist. However, since the analysis of the original parameter values of the first latitude and longitude parameters (that is, x, y, range) in the above query parameters shows that x, y themselves do not have corresponding values set, therefore, the second latitude and longitude can be obtained through the second latitude and longitude parameters. parameters (ie geoobj) to get the values of x, y. Specifically, in Example 1, x=121...
example 2
[0124] Example 2: If a single query request is:
[0125] query=Line 13%%% (Subway);
[0126] search_type=NORMAL;
[0127] search_data_type = POI;
[0128] adcode=110000;
[0129] category =;
[0130] x = 121.1;
[0131] y=31.3;
[0132] range=;
[0133] geoobj=.
[0134] Specifically, in this query request, since there are special symbols such as brackets and garbled characters in the query, it can be corrected to "Line 13 subway" through preprocessing first.
[0135] Further, it can be seen from the analysis of the original parameter value of search_type in the above query parameters that this query is a common query, so there is no need to perform corresponding RGEO analysis on it; of course, it should be noted that at this time, It can also be parsed by REGO to obtain the actual adcode. However, since this query is a common query, no matter whether the parsed adcode matches the original adcode, there is no need to modify the original adcode accordingly;
[0136] Fu...
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