CN105574174B - Searching method and device based on Search Hints - Google Patents
Searching method and device based on Search Hints Download PDFInfo
- Publication number
- CN105574174B CN105574174B CN201510959369.XA CN201510959369A CN105574174B CN 105574174 B CN105574174 B CN 105574174B CN 201510959369 A CN201510959369 A CN 201510959369A CN 105574174 B CN105574174 B CN 105574174B
- Authority
- CN
- China
- Prior art keywords
- search
- keyword
- demand
- page
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本发明涉及搜索技术领域,特别涉及一种基于搜索提示的搜索方法及装置。The present invention relates to the technical field of search, in particular to a search method and device based on search prompts.
背景技术Background technique
多需求关键词,也就是具有多个含义的关键词(query),用户在搜索的过程中,其需求意图通常针对的是多个含义中的某一个。Multi-demand keywords, that is, keywords with multiple meanings (query), during the search process of users, their demand intentions usually aim at one of the multiple meanings.
现有技术针对该情况通常是直接按照该关键词进行搜索,并展示与该关键词相关的搜索结果,而展示的搜索结果中包含了很多明显不符合用户需求意图的搜索结果,导致用户体验较低。For this situation, the prior art usually directly searches for the keyword and displays the search results related to the keyword, but the displayed search results include many search results that obviously do not meet the user's needs and intentions, resulting in a poor user experience. Low.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种基于搜索提示的搜索方法及装置。In view of the above problems, the present invention is proposed in order to provide a search method and apparatus based on search hints that overcome the above problems or at least partially solve the above problems.
依据本发明的一个方面,提供了一种基于搜索提示的搜索方法,所述方法包括:According to one aspect of the present invention, there is provided a search method based on search prompts, the method comprising:
接收用户在搜索页面输入的关键词;Receive the keywords entered by the user on the search page;
在所述关键词为多需求关键词时,在所述搜索页面上嵌入搜索提示区,所述搜索提示区中包含与所述关键词相关的一个或多个需求意图的入口元素;When the keyword is a multi-demand keyword, a search prompt area is embedded on the search page, and the search prompt area includes entry elements of one or more demand intentions related to the keyword;
在接收到用户触发一个入口元素时,根据该入口元素的需求意图对网页进行过滤,并根据所述关键词在过滤后的网页中进行搜索。When receiving an entry element triggered by the user, the webpage is filtered according to the demand intention of the entry element, and the filtered webpage is searched according to the keyword.
可选地,所述根据该入口元素的需求意图对网页进行过滤,进一步包括:Optionally, filtering the webpage according to the requirement intention of the entry element further includes:
提取该入口元素的需求意图中的中心词,根据所述中心词对设有类别标识的网页进行过滤。Extract the central word in the demand intent of the entry element, and filter the web pages with category identifiers according to the central word.
可选地,所述根据所述中心词对设有类别标识的网页进行过滤,进一步包括:Optionally, the filtering of webpages with category identifiers according to the central word further includes:
滤除所述类别标识与所述中心词不一致的网页。Filter out web pages in which the category identifier is inconsistent with the central word.
可选地,所述在所述关键词为多需求关键词时,在所述搜索页面上嵌入搜索提示区,进一步包括:Optionally, when the keyword is a multi-demand keyword, embedding a search prompt area on the search page, further comprising:
将所述关键词发送至服务器,以使所述服务器判断所述关键词是否为多需求关键词,并在所述关键词为多需求关键词时,反馈与所述关键词相关的一个或多个需求意图;Send the keyword to the server, so that the server judges whether the keyword is a multi-demand keyword, and when the keyword is a multi-demand keyword, feeds back one or more keywords related to the keyword. a demand intent;
接收所述服务器反馈的与所述关键词相关的一个或多个需求意图,根据所述与所述关键词相关的一个或多个需求意图在所述搜索页面中嵌入搜索提示区。One or more demand intentions related to the keyword fed back by the server are received, and a search prompt area is embedded in the search page according to the one or more demand intentions related to the keyword.
可选地,所述接收用户在搜索页面输入的关键词,进一步包括:Optionally, the receiving the keywords input by the user on the search page further includes:
接收用户在搜索页面的搜索框中输入的关键词;Receive the keywords entered by the user in the search box of the search page;
相应地,所述在所述搜索页面上嵌入搜索提示区,进一步包括:Correspondingly, the embedding of the search prompt area on the search page further includes:
在所述搜索页面的搜索框下方嵌入搜索提示区。A search prompt area is embedded below the search box on the search page.
可选地,所述搜索提示区还包含与所述关键词相关的一个或多个关联词的触发元素。Optionally, the search prompt area further includes trigger elements of one or more associated words related to the keyword.
可选地,所述根据所述关键词在过滤后的网页中进行搜索之后,所述方法还包括:Optionally, after searching the filtered webpage according to the keyword, the method further includes:
在新建页面或所述搜索页面中展示搜索结果项,所述搜索结果项包括所述过滤后的网页中与所述关键词相关的网页的页面信息。A search result item is displayed on the new page or the search page, and the search result item includes page information of the web page related to the keyword in the filtered web page.
可选地,所述在新建页面或所述搜索页面中展示搜索结果项,进一步包括:Optionally, the displaying the search result item in the new page or the search page further includes:
在新建页面或所述搜索页面中以应用卡片、文字条目或图文结合的形式展示搜索结果项。In the new page or the search page, the search result items are displayed in the form of application cards, text items or combination of pictures and texts.
依据本发明的另一个方面,提供了一种基于搜索提示的搜索装置,所述装置包括:According to another aspect of the present invention, there is provided a search device based on a search prompt, the device comprising:
输入接收器,适于接收用户在搜索页面输入的关键词;an input receiver, adapted to receive the keywords input by the user on the search page;
提示嵌入器,适于在所述关键词为多需求关键词时,在所述搜索页面上嵌入搜索提示区,所述搜索提示区中包含与所述关键词相关的一个或多个需求意图的入口元素;The prompt embedder is adapted to embed a search prompt area on the search page when the keyword is a multi-demand keyword, and the search prompt area includes one or more requirements intents related to the keyword. entry element;
触发搜索器,适于在接收到用户触发一个入口元素时,根据该入口元素的需求意图对网页进行过滤,并根据所述关键词在过滤后的网页中进行搜索。The trigger searcher is adapted to filter the webpage according to the demand intention of the entry element when receiving an entry element triggered by the user, and search the filtered webpage according to the keyword.
可选地,所述触发搜索器,进一步适于提取该入口元素的需求意图中的中心词,根据所述中心词对设有类别标识的网页进行过滤。Optionally, the trigger searcher is further adapted to extract a central word in the demand intent of the entry element, and filter web pages with category identifiers according to the central word.
可选地,所述触发搜索器,进一步适于滤除所述类别标识与所述中心词不一致的网页。Optionally, the trigger searcher is further adapted to filter out web pages in which the category identifier is inconsistent with the central word.
可选地,所述提示嵌入器,进一步适于将所述关键词发送至服务器,以使所述服务器判断所述关键词是否为多需求关键词,并在所述关键词为多需求关键词时,反馈与所述关键词相关的一个或多个需求意图;接收所述服务器反馈的与所述关键词相关的一个或多个需求意图,根据所述与所述关键词相关的一个或多个需求意图在所述搜索页面中嵌入搜索提示区。Optionally, the prompt embedder is further adapted to send the keyword to the server, so that the server judges whether the keyword is a multi-demand keyword, and if the keyword is a multi-demand keyword When one or more demand intentions related to the keyword are fed back; receiving one or more demand intentions related to the keyword fed back by the server, according to the one or more demand intentions related to the keyword A demand intent is embedded in the search prompt area in the search page.
可选地,所述输入接收器,进一步适于接收用户在搜索页面的搜索框中输入的关键词;Optionally, the input receiver is further adapted to receive the keywords input by the user in the search box of the search page;
相应地,所述提示嵌入器,进一步适于在所述搜索页面的搜索框下方嵌入搜索提示区。Correspondingly, the prompt embedder is further adapted to embed a search prompt area below the search box on the search page.
可选地,所述搜索提示区还包含与所述关键词相关的一个或多个关联词的触发元素。Optionally, the search prompt area further includes trigger elements of one or more associated words related to the keyword.
可选地,所述装置还包括:Optionally, the device further includes:
结果展示器,适于在新建页面或所述搜索页面中展示搜索结果项,所述搜索结果项包括所述过滤后的网页中与所述关键词相关的网页的页面信息。A result presenter, adapted to present a search result item on a new page or the search page, where the search result item includes page information of a web page related to the keyword in the filtered web page.
可选地,所述结果展示器,进一步适于在新建页面或所述搜索页面中以应用卡片、文字条目或图文结合的形式展示搜索结果项。Optionally, the result displayer is further adapted to display the search result items in the form of application cards, text items or combination of pictures and texts in the newly created page or the search page.
本发明通过接收用户在搜索页面输入的关键词,在所述关键词为多需求关键词时,在所述搜索页面上嵌入搜索提示区,所述搜索提示区中包含与所述关键词相关的一个或多个需求意图的入口元素,在接收到用户触发一个入口元素时,根据该入口元素的需求意图对网页进行过滤,并根据所述关键词在过滤后的网页中进行搜索,从而实现了只按照与用户需求意图一致的方向进行搜索,帮助用户快速地定位其需求意图,提高了用户体验。In the present invention, by receiving the keywords input by the user on the search page, when the keyword is a multi-demand keyword, a search prompt area is embedded on the search page, and the search prompt area contains relevant keywords related to the keyword. One or more entry elements of demand intent, when receiving an entry element triggered by the user, the webpage is filtered according to the demand intent of the entry element, and the filtered webpage is searched according to the keyword, thereby realizing Only search in the direction consistent with the user's demand intent, which helps users quickly locate their demand intent and improves the user experience.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:
图1是本发明一种实施方式的基于搜索提示的搜索方法的流程图;1 is a flowchart of a search method based on search prompts according to an embodiment of the present invention;
图2是本发明一种实施方式的基于搜索提示的搜索方法的流程图;2 is a flowchart of a search method based on a search prompt according to an embodiment of the present invention;
图3是本发明一种实施方式的基于搜索提示的搜索方法的流程图;3 is a flowchart of a search method based on a search prompt according to an embodiment of the present invention;
图4是本发明一种实施方式的基于搜索提示的搜索装置的结构框图。FIG. 4 is a structural block diagram of a search device based on search hints according to an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。以下实施例用于说明本发明,但不用来限制本发明的范围。The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments. The following examples are intended to illustrate the present invention, but not to limit the scope of the present invention.
图1是本发明一种实施方式的基于搜索提示的搜索方法的流程图;参照图1,所述方法包括:FIG. 1 is a flowchart of a search method based on search prompts according to an embodiment of the present invention; with reference to FIG. 1 , the method includes:
S101:接收用户在搜索页面输入的关键词;S101: Receive the keywords input by the user on the search page;
可理解的是,关键词为用户在搜索页面中输入的任何一个信息,本实施方式不限定该搜索词的具体内容;It is understandable that the keyword is any piece of information input by the user on the search page, and this embodiment does not limit the specific content of the search term;
在具体实现中,搜索页面中通常具有搜索框,故而,接收用户在搜索页面输入的关键词,可理解为,接收用户在搜索页面的搜索框中输入的关键词。In a specific implementation, a search page usually has a search box. Therefore, receiving the keywords input by the user on the search page can be understood as receiving the keywords input by the user in the search box on the search page.
需要说明的是,本实施方式的方法的执行主体为终端。It should be noted that the execution subject of the method in this embodiment is a terminal.
S102:在所述关键词为多需求关键词时,在所述搜索页面上嵌入搜索提示区,所述搜索提示区中包含与所述关键词相关的一个或多个需求意图的入口元素;S102: When the keyword is a multi-demand keyword, a search prompt area is embedded on the search page, and the search prompt area includes one or more entry elements of demand intentions related to the keyword;
在具体实现中,为嵌入搜索提示区,需要先获取与所述关键词相关的一个或多个需求意图,在实现时,可通过两种方式实现:In the specific implementation, in order to embed the search prompt area, it is necessary to obtain one or more demand intents related to the keyword. When implementing, it can be implemented in two ways:
第一种方式:本地查找的方式,即在本地存储多需求关键词及相关需求意图的记录,根据所述关键词查找本地存储的记录,从而获取与所述关键词相关的一个或多个需求意图。The first method: the method of local search, that is, to store records of multiple demand keywords and related demand intentions locally, and search the locally stored records according to the keywords, so as to obtain one or more requirements related to the keywords. intention.
由于是本地存储的记录,故而无需向服务器发送关键词,可实现离线查找,快速地获取与所述关键词相关的一个或多个需求意图,但由于网络中的信息会持续发生变化,故而,一个关键词的相关需求意图,也可能会随着信息的变化而增加,该方式可能会导致记录的滞后性,但如果通过每隔一段时间对本地存储的记录进行更新,则可在一定程度上避免该问题。Because it is a locally stored record, there is no need to send keywords to the server, offline search can be achieved, and one or more demand intents related to the keywords can be quickly obtained. However, since the information in the network will continue to change, therefore, The relevant demand intent of a keyword may also increase with the change of information, which may lead to the lag of records, but if the locally stored records are updated at regular intervals, it can be improved to a certain extent. avoid this problem.
第二种方式:服务器查找的方式,即将关键词发送至服务器,在服务器上查找记录,该方式可保证所查找到的需求意图是最新的,但由于查找时需要向服务器发送关键词,需要等待由服务器反馈与所述关键词相关的一个或多个需求意图,可能存在响应延时,但在终端的网络状态较好的情况下,通常不会出现该问题。The second method: the server search method, that is, the keyword is sent to the server, and the record is searched on the server. This method can ensure that the found demand intent is the latest, but because the keyword needs to be sent to the server when searching, it needs to wait. One or more demand intentions related to the keyword are fed back by the server, and there may be a response delay, but this problem usually does not occur when the network status of the terminal is good.
以上两种方式可根据用户的实际情况来进行选择,当然,还可能通过其他方式来实现,本实施方式对此不加以限制。The above two manners may be selected according to the actual situation of the user, and of course, other manners may also be used, which are not limited in this embodiment.
可理解的是,所述入口元素可为图标、按钮等元素,当然,所述入口元素还可采用其他元素,本实施方式对此不加以限制。It is understandable that, the entry element may be an icon, a button or other elements, and of course, the entry element may also adopt other elements, which are not limited in this embodiment.
在具体实现中,为便于用户观察所述搜索提示区,本实施方式中,在所述搜索页面的搜索框下方嵌入搜索提示区。In a specific implementation, in order to facilitate the user to observe the search prompt area, in this embodiment, a search prompt area is embedded below the search box on the search page.
需要说明的是,由于所述入口元素为一个或多个,当所述需求意图的个数过多时,所述搜索提示区内可能会设有过多的入口元素,导致所述搜索提示区较为杂乱,不便于用户进行选取,此时可通过下拉菜单的方式,将所述入口元素设于所述下拉菜单中,进而简化所述搜索提取区。It should be noted that, since there are one or more entry elements, when the number of demand intents is too large, there may be too many entry elements in the search prompt area, resulting in a relatively large search prompt area. It is cluttered and inconvenient for the user to select. In this case, the entry element can be set in the drop-down menu by means of a drop-down menu, thereby simplifying the search extraction area.
S103:在接收到用户触发一个入口元素时,根据该入口元素的需求意图对网页进行过滤,并根据所述关键词在过滤后的网页中进行搜索。S103: When receiving an entry element triggered by the user, filter the webpage according to the demand intention of the entry element, and search the filtered webpage according to the keyword.
需要说明的是,用户触发入口元素的指令可通过多种方式输入,例如:通过鼠标点击所述搜索提示区中的入口元素,或,在展示有所述搜索页面的触摸屏上点击所述搜索提示区中的入口元素,本实施方式对此不加以限制。It should be noted that the user's instruction to trigger the entry element can be input in various ways, for example: clicking the entry element in the search prompt area with the mouse, or clicking the search prompt on the touch screen displaying the search page The entry element in the area is not limited in this embodiment.
本实施方式通过接收用户在搜索页面输入的关键词,在所述关键词为多需求关键词时,在所述搜索页面上嵌入搜索提示区,所述搜索提示区中包含与所述关键词相关的一个或多个需求意图的入口元素,在接收到用户触发一个入口元素时,根据该入口元素的需求意图对网页进行过滤,并根据所述关键词在过滤后的网页中进行搜索,从而实现了只按照与用户需求意图一致的方向进行搜索,帮助用户快速地定位其需求意图,提高了用户体验。In this embodiment, a keyword input by a user on a search page is received, and when the keyword is a multi-demand keyword, a search prompt area is embedded on the search page, and the search prompt area contains information related to the keyword. One or more entry elements of the demand intent, when receiving an entry element triggered by the user, the webpage is filtered according to the demand intent of the entry element, and the filtered webpage is searched according to the keywords, so as to realize In order to search only in the direction consistent with the user's needs and intentions, it helps users to quickly locate their needs and intentions, and improves the user experience.
图2是本发明一种实施方式的基于搜索提示的搜索方法的流程图;参照图2,所述方法包括:FIG. 2 is a flowchart of a search method based on search prompts according to an embodiment of the present invention; with reference to FIG. 2 , the method includes:
S201:接收用户在搜索页面输入的关键词;S201: Receive the keywords input by the user on the search page;
S202:在所述关键词为多需求关键词时,在所述搜索页面上嵌入搜索提示区,所述搜索提示区中包含与所述关键词相关的一个或多个需求意图的入口元素;S202: When the keyword is a multi-demand keyword, a search prompt area is embedded on the search page, and the search prompt area includes one or more entry elements of demand intentions related to the keyword;
步骤S201~S202与图1所示的实施方式的步骤S101~S102相同,在此不再赘述。Steps S201 to S202 are the same as steps S101 to S102 of the embodiment shown in FIG. 1 , and are not repeated here.
S203:在接收到用户触发一个入口元素时,提取该入口元素的需求意图中的中心词,根据所述中心词对设有类别标识的网页进行过滤,并根据所述关键词在过滤后的网页中进行搜索。S203: When receiving an entry element triggered by the user, extract the central word in the demand intent of the entry element, filter the webpage with category identifier according to the central word, and filter the webpage according to the keyword in the filtered webpage. search in .
需要说明的是,多需求关键词,也就是具有多个含义的关键词(query),以“苹果”作为关键词为例,其需求意图至少包括:“范冰冰主演的电影”、“著名手机品牌”及“一种常见的水果”。It should be noted that for multi-demand keywords, that is, keywords with multiple meanings (query), taking "Apple" as an example, the demand intentions at least include: "Fan Bingbing starring in movies", "famous mobile phone brand". " and "a common fruit".
此时,若用户触发的入口元素的需求意图为“一种常见的水果”,则可提取“一种常见的水果”的中心词“水果”,根据所述中心词“水果”对设有类别标识的网页进行过滤,并根据所述关键词在过滤后的网页中进行搜索。At this time, if the demand intention of the entry element triggered by the user is "a common fruit", the central word "fruit" of "a common fruit" can be extracted, and there are categories according to the central word "fruit". The identified webpage is filtered, and the filtered webpage is searched according to the keyword.
若用户触发的入口元素的需求意图为“范冰冰主演的电影”,则可提取“范冰冰主演的电影”的中心词“电影”,根据所述中心词“电影”对设有类别标识的网页进行过滤,并根据所述关键词在过滤后的网页中进行搜索。If the demand intent of the entry element triggered by the user is "movie starring Fan Bingbing", the central word "movie" of "movie starring Fan Bingbing" can be extracted, and the webpages with category identifiers are filtered according to the central word "movie" , and search the filtered web pages according to the keyword.
若用户触发的入口元素的需求意图为“著名手机品牌”,则可提取“著名手机品牌”的中心词“手机”,根据所述中心词“手机”对设有类别标识的网页进行过滤,并根据所述关键词在过滤后的网页中进行搜索。If the demand intent of the entry element triggered by the user is "famous mobile phone brand", the central word "mobile phone" of the "famous mobile phone brand" can be extracted, and the webpages with category identifiers are filtered according to the central word "mobile phone", and Search the filtered web pages according to the keyword.
在根据所述中心词对设有类别标识的网页进行过滤时,通常是直接滤除所述类别标识与所述中心词不一致的网页,当然,考虑到中心词与网页的类别标识在设置的过程中,可能本身就不存在对应关系,例如:在类别标识比较上位的情况下,假设类别标识为“电子设备”。When filtering webpages with category identifiers according to the central word, usually the webpages whose category identifiers are inconsistent with the central word are directly filtered out. , there may not be a corresponding relationship in itself, for example: in the case that the category identification is relatively high, it is assumed that the category identification is "electronic equipment".
以“苹果”作为关键词为例,若用户触发的入口元素的需求意图为“著名手机品牌”,则可提取“著名手机品牌”的中心词“手机”,而“手机”与“电子设备”之间不一致,但“手机”为“电子设备”的下位概念,此时,不能直接滤除类别标识为“电子设备”的网页。Taking "apple" as an example, if the demand intent of the entry element triggered by the user is "famous mobile phone brand", the central word "mobile phone" of "famous mobile phone brand" can be extracted, while "mobile phone" and "electronic equipment" can be extracted. Inconsistent between them, but "mobile phone" is a subordinate concept of "electronic device", in this case, the webpage with the category identification of "electronic device" cannot be directly filtered out.
故而,可在所述类别标识与所述中心词不一致时,再判断所述类别标识与所述中心词之间是否存在从属关系(即上下位概念关系),在所述类别标识与所述中心词不存在从属关系时,滤除所述类别标识与所述中心词不一致的网页。Therefore, when the category identifier is inconsistent with the central word, it can be judged whether there is a subordination relationship (ie, a superordinate conceptual relationship) between the category identifier and the central word. When there is no affiliation between the words, the webpages whose category identifiers are inconsistent with the central word are filtered out.
图3是本发明一种实施方式的基于搜索提示的搜索方法的流程图;参照图3,所述方法包括:FIG. 3 is a flowchart of a search method based on search prompts according to an embodiment of the present invention; with reference to FIG. 3 , the method includes:
S301:接收用户在搜索页面输入的关键词;S301: Receive the keywords input by the user on the search page;
步骤S301与图2所示的实施方式的步骤S201相同,在此不再赘述。Step S301 is the same as step S201 in the embodiment shown in FIG. 2 , and details are not repeated here.
S302:将所述关键词发送至服务器,以使所述服务器判断所述关键词是否为多需求关键词,并在所述关键词为多需求关键词时,反馈与所述关键词相关的一个或多个需求意图;S302: Send the keyword to the server, so that the server judges whether the keyword is a multi-demand keyword, and when the keyword is a multi-demand keyword, feeds back a keyword related to the keyword or multiple requirements intents;
需要说明的是,本实施方式即通过服务器查找的方式实现。It should be noted that, this embodiment is implemented by means of server search.
可理解的是,所述服务器中存储有多需求关键词及相关需求意图的记录,故而,将所述关键词发送至服务器后,服务器可通过查找记录的方式来判断所述关键词是否为多需求关键词,在所述关键词为多需求关键词时,能够反馈与所述关键词相关的一个或多个需求意图。It is understandable that the server stores records of multi-demand keywords and related demand intentions. Therefore, after the keywords are sent to the server, the server can determine whether the keywords are multi-demand by searching the records. Demand keyword, when the keyword is a multi-demand keyword, one or more demand intentions related to the keyword can be fed back.
S303:接收所述服务器反馈的与所述关键词相关的一个或多个需求意图,根据所述与所述关键词相关的一个或多个需求意图在所述搜索页面中嵌入搜索提示区,所述搜索提示区中包含与所述关键词相关的一个或多个需求意图的入口元素;S303: Receive one or more demand intentions related to the keyword fed back by the server, and embed a search prompt area in the search page according to the one or more demand intentions related to the keyword, and The search prompt area contains an entry element of one or more demand intents related to the keyword;
需要说明的是,在接收到所述服务器反馈的与所述关键词相关的一个或多个需求意图后,即可根据所述与所述关键词相关的一个或多个需求意图在所述搜索页面中嵌入搜索提示区。It should be noted that, after receiving one or more demand intentions related to the keyword fed back by the server, the search engine can be searched according to the one or more demand intentions related to the keyword. Embed the search prompt area in the page.
另外,为提高用户搜索的自主性和灵活度,本实施方式中,所述搜索提示区还包含与所述关键词相关的一个或多个关联词的触发元素,在接收到用户触发一个触发元素的指令时,可根据所述触发元素对应的关联词进行搜索。In addition, in order to improve the autonomy and flexibility of the user's search, in this embodiment, the search prompt area further includes trigger elements of one or more associated words related to the keyword. When instructing, the search can be performed according to the associated word corresponding to the trigger element.
需要说明的是,所述关联词可确定与所述关键词相关、且热度值较高的一个或多个词语,当然,也可根据需要确定为其他词语,本实施例对此不加以限制。It should be noted that, the associated word may be determined as one or more words related to the keyword and with a high popularity value, and of course, may also be determined as other words as required, which is not limited in this embodiment.
以关键词“苹果”为例,此时,可从服务器查找获取与所述关键词相关的关联词可包括:“苹果官网”、“苹果6S”、“苹果手机助手”、“苹果手机官网”、“苹果6plus”、“苹果助手”、“苹果5s”及“苹果6”等,当然,还可包括其他关联词,本实施方式对此不加以限制。Taking the keyword "apple" as an example, at this time, the related words related to the keyword can be obtained from the server search, including: "Apple official website", "Apple 6S", "Apple mobile phone assistant", "Apple mobile phone official website", "Apple 6plus", "Apple assistant", "Apple 5s", "Apple 6", etc., of course, may also include other related words, which are not limited in this embodiment.
S304:在接收到用户触发一个入口元素时,提取该入口元素的需求意图中的中心词,根据所述中心词对设有类别标识的网页进行过滤,并根据所述关键词在过滤后的网页中进行搜索。S304: When receiving an entry element triggered by the user, extract the central word in the demand intent of the entry element, filter the webpages with category identifiers according to the central word, and filter the webpages after filtering according to the keywords. search in .
步骤S304与图2所示的实施方式的步骤S203相同,在此不再赘述。Step S304 is the same as step S203 in the embodiment shown in FIG. 2 , and details are not repeated here.
在图1~3所示的实施方式中,在进行搜索后,展示搜索结果项时,可直接将所述搜索页面中搜索结果项,所述搜索结果项包括所述过滤后的网页中与所述关键词相关的网页的页面信息,由于可能存在的误触发等问题,切换的搜索结果项可能并非用户所需要的网页信息,为便于用户继续进行搜索,可在新建页面中展示搜索结果项。In the embodiments shown in FIGS. 1 to 3 , after a search is performed, when the search result items are displayed, the search result items in the search page can be directly searched, and the search result items include the filtered web pages and all the search results. If the page information of the webpage related to the keyword is not mentioned, the switched search result item may not be the webpage information required by the user due to possible false triggering and other problems. In order to facilitate the user to continue searching, the search result item can be displayed on the new page.
在具体实现中,展示搜索结果项可采用多种方式,例如:通过应用卡片、文字条目或图文结合的形式来展示,当然,还可能采用其他形式来展示,本实施方式对此不加以限制。In a specific implementation, the search result items can be displayed in a variety of ways, for example, by using cards, text items, or a combination of graphics and text. Of course, other forms may also be used to display, which is not limited in this embodiment. .
对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the described sequence of actions, because according to the embodiments of the present invention , certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
图4是本发明一种实施方式的基于搜索提示的搜索装置的结构框图;参照图4,所述装置包括:4 is a structural block diagram of a search device based on a search prompt according to an embodiment of the present invention; with reference to FIG. 4 , the device includes:
输入接收器401,适于接收用户在搜索页面输入的关键词;The input receiver 401 is adapted to receive the keywords input by the user on the search page;
提示嵌入器402,适于在所述关键词为多需求关键词时,在所述搜索页面上嵌入搜索提示区,所述搜索提示区中包含与所述关键词相关的一个或多个需求意图的入口元素;The prompt embedder 402 is adapted to embed a search prompt area on the search page when the keyword is a multi-demand keyword, and the search prompt area includes one or more demand intentions related to the keyword the entry element;
触发搜索器403,适于在接收到用户触发一个入口元素时,根据该入口元素的需求意图对网页进行过滤,并根据所述关键词在过滤后的网页中进行搜索。The trigger searcher 403 is adapted to filter the webpage according to the demand intention of the entry element when receiving an entry element triggered by the user, and search the filtered webpage according to the keyword.
在本发明的一种可选实施例中,所述触发搜索器,进一步适于提取该入口元素的需求意图中的中心词,根据所述中心词对设有类别标识的网页进行过滤。In an optional embodiment of the present invention, the trigger searcher is further adapted to extract a central word in the demand intent of the entry element, and filter web pages with category identifiers according to the central word.
在本发明的一种可选实施例中,所述触发搜索器,进一步适于滤除所述类别标识与所述中心词不一致的网页。In an optional embodiment of the present invention, the trigger searcher is further adapted to filter out web pages in which the category identifier is inconsistent with the central word.
在本发明的一种可选实施例中,所述提示嵌入器,进一步适于将所述关键词发送至服务器,以使所述服务器判断所述关键词是否为多需求关键词,并在所述关键词为多需求关键词时,反馈与所述关键词相关的一个或多个需求意图;接收所述服务器反馈的与所述关键词相关的一个或多个需求意图,根据所述与所述关键词相关的一个或多个需求意图在所述搜索页面中嵌入搜索提示区。In an optional embodiment of the present invention, the prompt embedder is further adapted to send the keyword to a server, so that the server can determine whether the keyword is a multi-demand keyword, and in the When the keyword is a multi-demand keyword, feedback one or more demand intents related to the keyword; receive one or more demand intents related to the keyword fed back by the server, according to the One or more demand intentions related to the keyword are embedded in the search prompt area in the search page.
在本发明的一种可选实施例中,所述输入接收器,进一步适于接收用户在搜索页面的搜索框中输入的关键词;In an optional embodiment of the present invention, the input receiver is further adapted to receive the keyword input by the user in the search box of the search page;
相应地,所述提示嵌入器,进一步适于在所述搜索页面的搜索框下方嵌入搜索提示区。Correspondingly, the prompt embedder is further adapted to embed a search prompt area below the search box on the search page.
在本发明的一种可选实施例中,所述搜索提示区还包含与所述关键词相关的一个或多个关联词的触发元素。In an optional embodiment of the present invention, the search prompt area further includes trigger elements of one or more associated words related to the keyword.
在本发明的一种可选实施例中,所述装置还包括:In an optional embodiment of the present invention, the device further includes:
结果展示器,适于在新建页面或所述搜索页面中展示搜索结果项,所述搜索结果项包括所述过滤后的网页中与所述关键词相关的网页的页面信息。A result presenter, adapted to present a search result item on a new page or the search page, where the search result item includes page information of a web page related to the keyword in the filtered web page.
在本发明的一种可选实施例中,所述结果展示器,进一步适于在新建页面或所述搜索页面中以应用卡片、文字条目或图文结合的形式展示搜索结果项。In an optional embodiment of the present invention, the result displayer is further adapted to display the search result items in the form of application cards, text items or combination of pictures and texts in the new page or the search page.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts.
应当注意的是,在本发明的装置的各个部件中,根据其要实现的功能而对其中的部件进行了逻辑划分,但是,本发明不受限于此,可以根据需要对各个部件进行重新划分或者组合,例如,可以将一些部件组合为单个部件,或者可以将一些部件进一步分解为更多的子部件。It should be noted that, in each component of the device of the present invention, the components are logically divided according to the functions to be implemented, but the present invention is not limited to this, and each component can be re-divided as required Alternatively, for example, some components may be combined into a single component, or some components may be further decomposed into more sub-components.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the apparatus according to the embodiments of the present invention. The present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.
以上实施方式仅适于说明本发明,而并非对本发明的限制,有关技术领域的普通技术人员,在不脱离本发明的精神和范围的情况下,还可以做出各种变化和变型,因此所有等同的技术方案也属于本发明的范畴,本发明的专利保护范围应由权利要求限定。The above embodiments are only suitable for illustrating the present invention, rather than limiting the present invention. Those of ordinary skill in the relevant technical field can also make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, all Equivalent technical solutions also belong to the scope of the present invention, and the patent protection scope of the present invention should be defined by the claims.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510959369.XA CN105574174B (en) | 2015-12-18 | 2015-12-18 | Searching method and device based on Search Hints |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510959369.XA CN105574174B (en) | 2015-12-18 | 2015-12-18 | Searching method and device based on Search Hints |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105574174A CN105574174A (en) | 2016-05-11 |
CN105574174B true CN105574174B (en) | 2019-11-26 |
Family
ID=55884305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510959369.XA Active CN105574174B (en) | 2015-12-18 | 2015-12-18 | Searching method and device based on Search Hints |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105574174B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106547794B (en) * | 2015-09-22 | 2020-04-14 | 阿里巴巴集团控股有限公司 | Information searching method and device |
CN107545013A (en) * | 2016-06-29 | 2018-01-05 | 百度在线网络技术(北京)有限公司 | Method and apparatus for providing search recommendation information |
CN107357803B (en) * | 2017-05-22 | 2021-02-26 | 捷开通讯(深圳)有限公司 | Application page searching method, mobile device and device with storage function |
CN109582878A (en) * | 2018-11-05 | 2019-04-05 | 咪咕文化科技有限公司 | Method and device for realizing search prompt and computer readable storage medium |
CN112417299A (en) * | 2020-12-08 | 2021-02-26 | 西安联乘智能科技有限公司 | Webpage recommendation method, computer storage medium and computing device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882291A (en) * | 2010-08-10 | 2010-11-10 | 万昌洵 | Problem-posing commodity information consultation method based on search engine technique |
CN102456018A (en) * | 2010-10-18 | 2012-05-16 | 腾讯科技(深圳)有限公司 | Interactive search method and device |
CN103914476A (en) * | 2013-01-05 | 2014-07-09 | 北京百度网讯科技有限公司 | Search guiding method and search engine |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030229606A1 (en) * | 2002-05-31 | 2003-12-11 | Jen-Hwang Weng | Network-aided instruction system and method |
-
2015
- 2015-12-18 CN CN201510959369.XA patent/CN105574174B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882291A (en) * | 2010-08-10 | 2010-11-10 | 万昌洵 | Problem-posing commodity information consultation method based on search engine technique |
CN102456018A (en) * | 2010-10-18 | 2012-05-16 | 腾讯科技(深圳)有限公司 | Interactive search method and device |
CN103914476A (en) * | 2013-01-05 | 2014-07-09 | 北京百度网讯科技有限公司 | Search guiding method and search engine |
Also Published As
Publication number | Publication date |
---|---|
CN105574174A (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102830894B (en) | A kind of method and apparatus collecting webpage | |
CN104462437B (en) | The method and system of search are identified based on the multiple touch control operation of terminal interface | |
CN105574174B (en) | Searching method and device based on Search Hints | |
CN104077387B (en) | A kind of web page contents display methods and browser device | |
CN104536995B (en) | The method and system of searching for based on terminal interface touch control operation | |
JP2014519108A (en) | Web browser with fast site access user interface | |
WO2015003663A1 (en) | Method, device, server, and client device for video processing | |
CN103686809A (en) | Method, mobile terminal and system for providing solutions to mobile terminal failure problems | |
CN105260421A (en) | Webpage loading method and apparatus | |
CN109597929A (en) | Methods of exhibiting, device, terminal and the readable medium of search result | |
CN104484386A (en) | Information sharing method and browser client | |
CN104463642A (en) | Advertisement filtering processing method and device and browser client side | |
CN105426535A (en) | Searching method and device based on searching tips | |
CN106919597B (en) | Information recommendation method and device | |
CN104699836A (en) | Multi-keyword search prompting method and multi-keyword search prompting device | |
CN106909577A (en) | Information search method and device | |
CN106909264A (en) | The method and device of switch groups figure on mobile terminals | |
JP6511132B2 (en) | Method and apparatus for processing a file | |
CN105528446A (en) | Abstract generating method and device meeting extended product demands | |
CN105630911A (en) | Mobile terminal based search display method and apparatus | |
CN106919596B (en) | Information recommendation method and device | |
CN104796785A (en) | Video playing method and device in application program | |
CN105808623A (en) | Search-based page access event association method and device | |
CN104699750A (en) | Topic recommending method and device | |
JP5370532B2 (en) | Blog collection server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220726 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |