WO2016090960A1 - 搜索建议的展示方法和装置 - Google Patents
搜索建议的展示方法和装置 Download PDFInfo
- Publication number
- WO2016090960A1 WO2016090960A1 PCT/CN2015/088165 CN2015088165W WO2016090960A1 WO 2016090960 A1 WO2016090960 A1 WO 2016090960A1 CN 2015088165 W CN2015088165 W CN 2015088165W WO 2016090960 A1 WO2016090960 A1 WO 2016090960A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- search
- user
- word
- matching
- module
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/957—Browsing optimisation, e.g. caching or content distillation
Definitions
- the present invention relates to the field of Internet technologies, and in particular, to a method and apparatus for displaying search suggestions.
- search suggestion is pulled from the server for display.
- the search suggestions given by the server are based on big data analysis and current keyword popularity, and the user needs to actively select the search classification, but the search suggestions given by the server are not associated with the currently browsed content, that is, The search suggestions given by the server are not necessarily what the user wants, and the user experience is low.
- the object of the present invention is to solve at least one of the technical problems in the related art to some extent.
- a first object of the present invention is to propose a display method of search suggestions.
- the search suggestion is obtained from the content currently browsed by the user according to the search keyword input by the user, so that the search suggestion is associated with the content currently browsed by the user, and the user can quickly search for the content that is needed by the user.
- the user experience can be improved.
- a second object of the present invention is to provide a display device for searching for suggestions.
- a method for displaying a search suggestion includes: determining that a user initiates a search in a process of using a search application; segmenting a content currently browsed by the user, and generating a word segmentation list. Listening to and acquiring a search keyword input by the user through the search application; matching the search keyword with text in the word segmentation list; and matching text in the word segmentation list with the search keyword Presented to the user as a search suggestion.
- the method for displaying the search suggestions in the embodiment of the present invention determines that the user initiates a search in the process of using the search application, performs word segmentation on the content currently browsed by the user, generates a word segmentation list, and then listens and acquires a search key input by the user through the search application.
- Word matching the search keyword with the text in the word segmentation list, and listing the above word segmentation
- the text matching the above search keyword is displayed to the user as a search suggestion; thus, the search suggestion can be associated with the content currently browsed by the user, and the user can quickly search for the content that is needed by the user, thereby improving the user experience.
- the display device of the search suggestion of the second aspect of the present invention includes: a determining module, configured to determine that a user initiates a search in a process of using a search application; and a word segmentation module, configured to view the current browsing of the user
- the content is segmented to generate a word segmentation list
- the monitoring module is configured to listen to the search keyword input by the user through the search application
- the obtaining module is configured to acquire a search keyword monitored by the monitoring module
- the matching module uses Matching the search keyword acquired by the acquisition module with the text in the word segmentation list generated by the word segmentation module
- the display module is configured to display the text matching the search keyword in the word segmentation list as a search suggestion To the user.
- the word segmentation module segments the content currently browsed by the user, generates a word segmentation list, and then the monitoring module listens and is acquired by the obtaining module.
- a third aspect of the present invention provides an electronic device including: one or more processors; a memory; one or more programs, wherein the one or more programs are stored in the memory, When executed by the one or more processors, the following operations are performed: determining that the user initiates a search in the process of using the search application; segmenting the content currently browsed by the user, generating a word segmentation list; listening and acquiring the user through Searching for a search keyword input by the application; matching the search keyword with text in the word segmentation list; displaying text matching the search keyword in the word segmentation list as a search suggestion to the user .
- a fourth aspect of the present invention provides a nonvolatile computer storage medium storing one or more modules, when the one or more modules are executed, proceeding as follows Operation: determining that the user initiates a search in the process of using the search application; classifying the content currently browsed by the user, generating a word segmentation list; listening and acquiring the search keyword input by the user through the search application; The keyword is matched with the text in the word segmentation list; and the text matching the search keyword in the word segmentation list is displayed as a search suggestion to the user.
- FIG. 1 is a flow chart of an embodiment of a method for displaying search suggestions according to the present invention
- FIG. 2 is a schematic structural diagram of an embodiment of a display device for searching for suggestions according to the present invention
- FIG. 3 is a schematic structural diagram of another embodiment of a display device for searching for suggestions according to the present invention.
- FIG. 1 is a flowchart of an embodiment of a method for displaying search suggestions according to the present invention. As shown in FIG. 1 , the method for displaying the search suggestions may include:
- Step 101 Determine that the user initiates a search in the process of using the search application.
- determining that the user initiates the search in the process of using the search application refers to determining that the user is a search initiated in the process of using the search application; and determining that the user is not cutting from other applications to the search initiated by the search application. Nor is it a search initiated by cutting the above search application from the background state to the foreground state.
- Step 102 Perform word segmentation on the content currently browsed by the user, and generate a word segmentation list.
- the word segmentation is performed on the content currently browsed by the user, and the generated word segmentation list may be: acquiring a page currently displayed by the search application, and acquiring the content that the user can see in the currently displayed page, which can be viewed by the user.
- the content to be segmented, and a list of word breakers is generated.
- the content that can be seen by the user in the currently displayed page may be: according to the offset of the horizontal axis (X axis) and the vertical axis (Y axis) of the currently displayed page, and the size of the current screen. Get what the above users can see.
- Step 103 Listen and obtain the search keyword input by the user through the search application.
- Step 104 Match the search keyword with the text in the word segmentation list.
- Step 105 Display the text matching the search keyword in the word segment list as a search suggestion to the user.
- the text matching the search keyword in the word segmentation list includes: a text matching the search keyword whole word, partial word matching, whole word sound matching, and partial word sound matching in the word segment list;
- the text matching the search keyword in the above participle list may be displayed as a search suggestion to the user: the text matching the search keyword in the word segment list may be matched by a whole word, a partial word match, a whole word match, and a part.
- Word sound After the matching rules are sorted, they are displayed as search suggestions to the above users.
- the text mentioned here includes a word or a short sentence, which is not limited in this embodiment.
- the user after determining that the user initiates the search in the process of using the search application, the user searches for the content currently browsed by the user, generates a word segmentation list, and then listens for and acquires the search keyword input by the user through the search application, and searches for the keyword. Matching the text in the word segmentation list, and displaying the text matching the above search keyword in the above segmentation list as a search suggestion to the user; thereby, the search suggestion can be associated with the content currently browsed by the user, and the user can be quickly searched. Go to what you need to improve your user experience.
- the display suggestion device of the present embodiment can implement the process of the embodiment shown in FIG. 1 of the present invention, as shown in FIG. 2, the search suggestion
- the display device may include: a determining module 21, a word segmentation module 22, a listening module 23, an obtaining module 24, a matching module 25, and a display module 26;
- the determining module 21 is configured to determine that the user initiates a search in the process of using the search application. In this embodiment, the determining module 21 determines that the user initiates the search in the process of using the search application, and determines that the user is using the search application. The search initiated in the process; and determining that the user is not cutting into the search initiated by the search application from other applications, nor is the search initiated by cutting the search application from the background state to the foreground state.
- the word segmentation module 22 is configured to perform word segmentation on the content currently browsed by the user, and generate a word segmentation list;
- the monitoring module 23 is configured to monitor a search keyword input by the user through the search application
- the obtaining module 24 is configured to acquire a search keyword that is monitored by the monitoring module 23;
- the matching module 25 is configured to match the search keyword acquired by the obtaining module 24 with the text in the word segment list generated by the word segmentation module 22;
- the display module 26 is configured to display the text matching the search keyword in the word segment list as a search suggestion to the user.
- the text mentioned here includes a word or a short sentence, which is not limited in this embodiment.
- the word segmentation module 22 performs word segmentation on the content currently browsed by the user, generates a word segmentation list, and then the monitoring module 23 listens and is acquired by the acquisition module 24.
- the matching module 25 matches the search keyword with the text in the word segment list, and the display module 26 displays the text matching the search keyword in the word segment list as a search suggestion.
- FIG. 3 is a schematic structural diagram of another embodiment of a display suggestion device of the present invention, which is different from the display suggestion display device shown in FIG. 2 in that the word segmentation module 22 can include: a content acquisition sub-module 221 and generation Submodule 222;
- the content obtaining sub-module 221 is configured to obtain a current display page of the search application, which is currently displayed. Get the content that the above user can see on the page;
- the generating sub-module 222 is configured to perform word segmentation on the content that can be seen by the user acquired by the content obtaining sub-module 221 to generate a word segmentation list.
- the content acquisition sub-module 221 is specifically configured to obtain the offset that can be seen by the user according to the offset of the horizontal axis (X-axis) and the vertical axis (Y-axis) of the currently displayed page, and the size of the current screen. content.
- the text matching the search keyword in the word segmentation list includes: a text matching the above-mentioned search keyword whole word, partial word matching, whole word sound matching, and partial word sound matching in the word segment list;
- the display module 26 is specifically configured to sort the text matching the search keyword in the word segment list according to the rules of whole word matching, partial word matching, whole word sound matching, and partial word sound matching, and then display the information as a search suggestion to the user. .
- the above can associate the search suggestion with the content currently browsed by the user, and allows the user to quickly search for the content that he or she needs, thereby improving the user experience.
- An embodiment of the present invention further provides an electronic device, including: one or more processors; a memory; one or more programs, wherein the one or more programs are stored in the memory when the one or more
- the processor performs the following operations: determining that the user initiates a search in the process of using the search application; classifying the content currently browsed by the user, generating a word segmentation list; and monitoring and acquiring the search input by the user through the search application a keyword; matching the search keyword with text in the word segmentation list; displaying text matching the search keyword in the word segmentation list as a search suggestion to the user.
- the embodiment of the present invention further provides a non-volatile computer storage medium, where the computer storage medium stores one or more modules, and when the one or more modules are executed, performing the following operations: determining that the user is using the search Initiating a search in the process of applying; segmenting the content currently browsed by the user, generating a word segmentation list; listening to and acquiring a search keyword input by the user through the search application; and searching the search keyword and the word segmentation list The text in the match is matched; the text in the word segment list that matches the search keyword is presented to the user as a search suggestion.
- portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
- a plurality of steps or methods may be implemented by software stored in a memory and executed by a suitable instruction execution system or Firmware to achieve.
- a suitable instruction execution system or Firmware to achieve.
- it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals.
- Discrete logic circuit, ASIC with suitable combination logic gate Programmable Gate Array (PGA), Field Programmable Gate Array (FPGA).
- each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
- the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
- the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提出一种搜索建议的展示方法和装置,该搜索建议的展示方法包括:确定用户在使用搜索应用的过程中发起搜索;对所述用户当前浏览的内容进行分词,生成分词列表;监听并获取所述用户通过所述搜索应用输入的搜索关键字;将所述搜索关键字与所述分词列表中的文本进行匹配;将所述分词列表中与所述搜索关键字匹配的文本作为搜索建议展示给所述用户。本发明可以实现将搜索建议与用户当前浏览的内容相关联,可以让用户快速搜索到自己所需要的内容,进而可以提高用户体验度。
Description
相关申请的交叉引用
本申请要求百度在线网络技术(北京)有限公司于2014年12月12日提交的、发明名称为“搜索建议的展示方法和装置”的、中国专利申请号“201410773582.7”的优先权。
本发明涉及互联网技术领域,尤其涉及一种搜索建议的展示方法和装置。
在日常生活中,遇到疑难不解的事情时,人们通常需要进行搜索,以获取答案。现有技术中,当用户在搜索框中输入搜索关键字,会从服务端拉取搜索建议进行展示。
现有技术中,服务端给出的搜索建议基于大数据分析和当前的关键词热度,并且需要用户主动选择搜索分类,但是服务端给出的搜索建议与当前浏览的内容未关联,也就是说,服务端给出的搜索建议未必是用户想要的,用户的体验度较低。
发明内容
本发明的目的旨在至少在一定程度上解决相关技术中的技术问题之一。
为此,本发明的第一个目的在于提出一种搜索建议的展示方法。通过该方法,根据用户输入的搜索关键字从该用户当前浏览的内容中获取搜索建议,从而可以实现将搜索建议与用户当前浏览的内容相关联,可以让用户快速搜索到自己所需要的内容,进而可以提高用户体验度。
本发明的第二个目的在于提出一种搜索建议的展示装置。
为了实现上述实施例,本发明第一方面实施例的一种搜索建议的展示方法,包括:确定用户在使用搜索应用的过程中发起搜索;对所述用户当前浏览的内容进行分词,生成分词列表;监听并获取所述用户通过所述搜索应用输入的搜索关键字;将所述搜索关键字与所述分词列表中的文本进行匹配;将所述分词列表中与所述搜索关键字匹配的文本作为搜索建议展示给所述用户。
本发明实施例的搜索建议的展示方法,确定用户在使用搜索应用的过程中发起搜索之后,对用户当前浏览的内容进行分词,生成分词列表,然后监听并获取用户通过上述搜索应用输入的搜索关键字,将搜索关键字与分词列表中的文本进行匹配,并将上述分词列表
中与上述搜索关键字匹配的文本作为搜索建议展示给用户;从而可以实现将搜索建议与用户当前浏览的内容相关联,可以让用户快速搜索到自己所需要的内容,进而可以提高用户体验度。
为了实现上述实施例,本发明第二方面实施例的搜索建议的展示装置,包括:确定模块,用于确定用户在使用搜索应用的过程中发起搜索;分词模块,用于对所述用户当前浏览的内容进行分词,生成分词列表;监听模块,用于监听所述用户通过所述搜索应用输入的搜索关键字;获取模块,用于获取所述监听模块监听到的搜索关键字;匹配模块,用于将所述获取模块获取的搜索关键字与所述分词模块生成的分词列表中的文本进行匹配;展示模块,用于将所述分词列表中与所述搜索关键字匹配的文本作为搜索建议展示给所述用户。
本发明实施例的搜索建议的展示装置,确定模块确定用户在使用搜索应用的过程中发起搜索之后,分词模块对用户当前浏览的内容进行分词,生成分词列表,然后监听模块监听并由获取模块获取用户通过上述搜索应用输入的搜索关键字,匹配模块将搜索关键字与分词列表中的文本进行匹配,并由展示模块将上述分词列表中与上述搜索关键字匹配的文本作为搜索建议展示给用户;从而可以实现将搜索建议与用户当前浏览的内容相关联,可以让用户快速搜索到自己所需要的内容,进而可以提高用户体验度。
为了实现上述目的,本发明第三方面实施例提供了一种电子设备,包括:一个或者多个处理器;存储器;一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时进行如下操作:确定用户在使用搜索应用的过程中发起搜索;对所述用户当前浏览的内容进行分词,生成分词列表;监听并获取所述用户通过所述搜索应用输入的搜索关键字;将所述搜索关键字与所述分词列表中的文本进行匹配;将所述分词列表中与所述搜索关键字匹配的文本作为搜索建议展示给所述用户。
为了实现上述目的,本发明第四方面实施例提供了一种非易失性计算机存储介质,所述计算机存储介质存储有一个或者多个模块,当所述一个或者多个模块被执行时进行如下操作:确定用户在使用搜索应用的过程中发起搜索;对所述用户当前浏览的内容进行分词,生成分词列表;监听并获取所述用户通过所述搜索应用输入的搜索关键字;将所述搜索关键字与所述分词列表中的文本进行匹配;将所述分词列表中与所述搜索关键字匹配的文本作为搜索建议展示给所述用户。
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为本发明搜索建议的展示方法一个实施例的流程图;
图2为本发明搜索建议的展示装置一个实施例的结构示意图;
图3为本发明搜索建议的展示装置另一个实施例的结构示意图。
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。相反,本发明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。
图1为本发明搜索建议的展示方法一个实施例的流程图,如图1所示,该搜索建议的展示方法可以包括:
步骤101,确定用户在使用搜索应用的过程中发起搜索。
本实施例中,确定用户在使用搜索应用的过程中发起搜索是指确定用户是在正在使用搜索应用的过程中发起的搜索;以及确定该用户不是从其他应用切入到上述搜索应用发起的搜索,也不是将上述搜索应用从后台状态切入到前台状态发起的搜索。
步骤102,对上述用户当前浏览的内容进行分词,生成分词列表。
具体地,对上述用户当前浏览的内容进行分词,生成分词列表可以为:获取上述搜索应用当前展示的页面,在当前展示的页面中获取上述用户所能看到的内容,对上述用户所能看到的内容进行分词,生成分词列表。
其中,在当前展示的页面中获取上述用户所能看到的内容可以为:根据当前展示的页面的横轴(X轴)和纵轴(Y轴)的偏移量,以及当前屏幕的大小,获取上述用户所能看到的内容。
步骤103,监听并获取上述用户通过上述搜索应用输入的搜索关键字。
步骤104,将上述搜索关键字与上述分词列表中的文本进行匹配。
步骤105,将上述分词列表中与上述搜索关键字匹配的文本作为搜索建议展示给上述用户。
本实施例中,上述分词列表中与上述搜索关键字匹配的文本包括:上述分词列表中与上述搜索关键字全词匹配、部分词匹配、全词音匹配和部分词音匹配的文本;则将上述分词列表中与上述搜索关键字匹配的文本作为搜索建议展示给上述用户可以为:将上述分词列表中与上述搜索关键字匹配的文本按照全词匹配、部分词匹配、全词音匹配和部分词音
匹配的规则进行排序后,作为搜索建议展示给上述用户。
其中,这里所说的文本包括词或短句,本实施例对此不作限定。
上述实施例中,确定用户在使用搜索应用的过程中发起搜索之后,对用户当前浏览的内容进行分词,生成分词列表,然后监听并获取用户通过上述搜索应用输入的搜索关键字,将搜索关键字与分词列表中的文本进行匹配,并将上述分词列表中与上述搜索关键字匹配的文本作为搜索建议展示给用户;从而可以实现将搜索建议与用户当前浏览的内容相关联,可以让用户快速搜索到自己所需要的内容,进而可以提高用户体验度。
图2为本发明搜索建议的展示装置一个实施例的结构示意图,本实施例中的搜索建议的展示装置可以实现本发明图1所示实施例的流程,如图2所示,该搜索建议的展示装置可以包括:确定模块21、分词模块22、监听模块23、获取模块24、匹配模块25和展示模块26;
其中,确定模块21,用于确定用户在使用搜索应用的过程中发起搜索;本实施例中,确定模块21确定用户在使用搜索应用的过程中发起搜索是指确定用户是在正在使用搜索应用的过程中发起的搜索;以及确定该用户不是从其他应用切入到上述搜索应用发起的搜索,也不是将上述搜索应用从后台状态切入到前台状态发起的搜索。
分词模块22,用于对上述用户当前浏览的内容进行分词,生成分词列表;
监听模块23,用于监听上述用户通过上述搜索应用输入的搜索关键字;
获取模块24,用于获取监听模块23监听到的搜索关键字;
匹配模块25,用于将获取模块24获取的搜索关键字与分词模块22生成的分词列表中的文本进行匹配;
展示模块26,用于将上述分词列表中与上述搜索关键字匹配的文本作为搜索建议展示给上述用户。其中,这里所说的文本包括词或短句,本实施例对此不作限定。
上述搜索建议的展示装置中,确定模块21确定用户在使用搜索应用的过程中发起搜索之后,分词模块22对用户当前浏览的内容进行分词,生成分词列表,然后监听模块23监听并由获取模块24获取用户通过上述搜索应用输入的搜索关键字,匹配模块25将搜索关键字与分词列表中的文本进行匹配,并由展示模块26将上述分词列表中与上述搜索关键字匹配的文本作为搜索建议展示给用户;从而可以实现将搜索建议与用户当前浏览的内容相关联,可以让用户快速搜索到自己所需要的内容,进而可以提高用户体验度。
图3为本发明搜索建议的展示装置另一个实施例的结构示意图,与图2所示的搜索建议的展示装置相比,不同之处在于,分词模块22可以包括:内容获取子模块221和生成子模块222;
其中,内容获取子模块221,用于获取上述搜索应用当前展示的页面,在当前展示的
页面中获取上述用户所能看到的内容;
生成子模块222,用于对内容获取子模块221获取的上述用户所能看到的内容进行分词,生成分词列表。
具体地,内容获取子模块221,具体用于根据当前展示的页面的横轴(X轴)和纵轴(Y轴)的偏移量,以及当前屏幕的大小,获取上述用户所能看到的内容。
本实施例中,上述分词列表中与所述搜索关键字匹配的文本包括:上述分词列表中与上述搜索关键字全词匹配、部分词匹配、全词音匹配和部分词音匹配的文本;则展示模块26,具体用于将上述分词列表中与上述搜索关键字匹配的文本按照全词匹配、部分词匹配、全词音匹配和部分词音匹配的规则进行排序后,作为搜索建议展示给用户。
上述可以实现将搜索建议与用户当前浏览的内容相关联,可以让用户快速搜索到自己所需要的内容,进而可以提高用户体验度。
本发明实施例还提供了一种电子设备,包括:一个或者多个处理器;存储器;一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时进行如下操作:确定用户在使用搜索应用的过程中发起搜索;对所述用户当前浏览的内容进行分词,生成分词列表;监听并获取所述用户通过所述搜索应用输入的搜索关键字;将所述搜索关键字与所述分词列表中的文本进行匹配;将所述分词列表中与所述搜索关键字匹配的文本作为搜索建议展示给所述用户。
本发明实施例还提供了一种非易失性计算机存储介质,所述计算机存储介质存储有一个或者多个模块,当所述一个或者多个模块被执行时进行如下操作:确定用户在使用搜索应用的过程中发起搜索;对所述用户当前浏览的内容进行分词,生成分词列表;监听并获取所述用户通过所述搜索应用输入的搜索关键字;将所述搜索关键字与所述分词列表中的文本进行匹配;将所述分词列表中与所述搜索关键字匹配的文本作为搜索建议展示给所述用户。
需要说明的是,在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或
固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(Programmable Gate Array;以下简称:PGA),现场可编程门阵列(Field Programmable Gate Array;以下简称:FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。
Claims (11)
- 一种搜索建议的展示方法,其特征在于,包括:确定用户在使用搜索应用的过程中发起搜索;对所述用户当前浏览的内容进行分词,生成分词列表;监听并获取所述用户通过所述搜索应用输入的搜索关键字;将所述搜索关键字与所述分词列表中的文本进行匹配;将所述分词列表中与所述搜索关键字匹配的文本作为搜索建议展示给所述用户。
- 根据权利要求1所述的方法,其特征在于,所述对所述用户当前浏览的内容进行分词,生成分词列表包括:获取所述搜索应用当前展示的页面;在当前展示的页面中获取所述用户所能看到的内容;对所述用户所能看到的内容进行分词,生成分词列表。
- 根据权利要求2所述的方法,其特征在于,所述在当前展示的页面中获取所述用户所能看到的内容包括:根据所述当前展示的页面的横轴和纵轴的偏移量,以及当前屏幕的大小,获取所述用户所能看到的内容。
- 根据权利要求1-3任意一项所述的方法,其特征在于,所述分词列表中与所述搜索关键字匹配的文本包括:所述分词列表中与所述搜索关键字全词匹配、部分词匹配、全词音匹配和部分词音匹配的文本。
- 根据权利要求4所述的方法,其特征在于,所述将所述分词列表中与所述搜索关键字匹配的文本作为搜索建议展示给所述用户包括:将所述分词列表中与所述搜索关键字匹配的文本按照全词匹配、部分词匹配、全词音匹配和部分词音匹配的规则进行排序后,作为搜索建议展示给所述用户。
- 一种搜索建议的展示装置,其特征在于,包括:确定模块,用于确定用户在使用搜索应用的过程中发起搜索;分词模块,用于对所述用户当前浏览的内容进行分词,生成分词列表;监听模块,用于监听所述用户通过所述搜索应用输入的搜索关键字;获取模块,用于获取所述监听模块监听到的搜索关键字;匹配模块,用于将所述获取模块获取的搜索关键字与所述分词模块生成的分词列表中的文本进行匹配;展示模块,用于将所述分词列表中与所述搜索关键字匹配的文本作为搜索建议展示给 所述用户。
- 根据权利要求6所述的装置,其特征在于,所述分词模块包括:内容获取子模块,用于获取所述搜索应用当前展示的页面,在当前展示的页面中获取所述用户所能看到的内容;生成子模块,用于对所述内容获取子模块获取的所述用户所能看到的内容进行分词,生成分词列表。
- 根据权利要求7所述的装置,其特征在于,所述内容获取子模块,具体用于根据所述当前展示的页面的横轴和纵轴的偏移量,以及当前屏幕的大小,获取所述用户所能看到的内容。
- 根据权利要求6-8任意一项所述的装置,其特征在于,所述分词列表中与所述搜索关键字匹配的文本包括:所述分词列表中与所述搜索关键字全词匹配、部分词匹配、全词音匹配和部分词音匹配的文本;所述展示模块,具体用于将所述分词列表中与所述搜索关键字匹配的文本按照全词匹配、部分词匹配、全词音匹配和部分词音匹配的规则进行排序后,作为搜索建议展示给所述用户。
- 一种电子设备,其特征在于,包括:一个或者多个处理器;存储器;一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时:执行如权利要求1-5任一项所述的方法。
- 一种非易失性计算机存储介质,其特征在于,所述计算机存储介质存储有一个或者多个模块,当所述一个或者多个模块被执行时:执行如权利要求1-5任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410773582.7 | 2014-12-12 | ||
| CN201410773582.7A CN104462425B (zh) | 2014-12-12 | 2014-12-12 | 搜索建议的展示方法和装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016090960A1 true WO2016090960A1 (zh) | 2016-06-16 |
Family
ID=52908460
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/088165 Ceased WO2016090960A1 (zh) | 2014-12-12 | 2015-08-26 | 搜索建议的展示方法和装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104462425B (zh) |
| WO (1) | WO2016090960A1 (zh) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110990679A (zh) * | 2019-11-27 | 2020-04-10 | 维沃移动通信有限公司 | 信息搜索方法及电子设备 |
| CN111310017A (zh) * | 2018-12-11 | 2020-06-19 | 阿里巴巴集团控股有限公司 | 一种时效性场景内容的生成方法及装置 |
| CN116089707A (zh) * | 2022-12-14 | 2023-05-09 | 北京雷石天地电子技术有限公司 | 内容展示方法、装置及设备 |
| CN116450931A (zh) * | 2023-03-24 | 2023-07-18 | 广州易尊网络科技股份有限公司 | 热搜词投放方法、热搜词投放装置以及计算机存储介质 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104462425B (zh) * | 2014-12-12 | 2018-09-07 | 百度在线网络技术(北京)有限公司 | 搜索建议的展示方法和装置 |
| CN105095440B (zh) * | 2015-07-23 | 2019-02-12 | 百度在线网络技术(北京)有限公司 | 一种搜索推荐方法及装置 |
| CN107203572A (zh) * | 2016-03-18 | 2017-09-26 | 百度在线网络技术(北京)有限公司 | 一种图片搜索的方法及装置 |
| CN106202326A (zh) * | 2016-06-30 | 2016-12-07 | 珠海市魅族科技有限公司 | 一种信息处理方法及装置 |
| CN107145509B (zh) * | 2017-03-28 | 2020-11-13 | 深圳市元征科技股份有限公司 | 一种信息搜索方法及其设备 |
| CN108628992A (zh) * | 2018-04-28 | 2018-10-09 | 上海与德通讯技术有限公司 | 网页的搜索词的获取方法和电子设备 |
| CN110866092B (zh) * | 2019-11-25 | 2023-03-14 | 腾讯科技(深圳)有限公司 | 信息搜索方法、装置、电子设备和存储介质 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102360358A (zh) * | 2011-09-28 | 2012-02-22 | 百度在线网络技术(北京)有限公司 | 关键词推荐方法及系统 |
| US8577913B1 (en) * | 2011-05-27 | 2013-11-05 | Google Inc. | Generating midstring query refinements |
| CN103593371A (zh) * | 2012-08-16 | 2014-02-19 | 腾讯科技(深圳)有限公司 | 推荐搜索关键词的方法和装置 |
| CN103631784A (zh) * | 2012-08-21 | 2014-03-12 | 腾讯科技(深圳)有限公司 | 页面内容检索方法和系统 |
| CN104063454A (zh) * | 2014-06-24 | 2014-09-24 | 北京奇虎科技有限公司 | 一种挖掘用户需求的搜索推送方法和装置 |
| CN104462425A (zh) * | 2014-12-12 | 2015-03-25 | 百度在线网络技术(北京)有限公司 | 搜索建议的展示方法和装置 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103577595B (zh) * | 2013-11-15 | 2017-09-22 | 北京奇虎科技有限公司 | 基于当前浏览页面的关键词推送方法及装置 |
-
2014
- 2014-12-12 CN CN201410773582.7A patent/CN104462425B/zh active Active
-
2015
- 2015-08-26 WO PCT/CN2015/088165 patent/WO2016090960A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8577913B1 (en) * | 2011-05-27 | 2013-11-05 | Google Inc. | Generating midstring query refinements |
| CN102360358A (zh) * | 2011-09-28 | 2012-02-22 | 百度在线网络技术(北京)有限公司 | 关键词推荐方法及系统 |
| CN103593371A (zh) * | 2012-08-16 | 2014-02-19 | 腾讯科技(深圳)有限公司 | 推荐搜索关键词的方法和装置 |
| CN103631784A (zh) * | 2012-08-21 | 2014-03-12 | 腾讯科技(深圳)有限公司 | 页面内容检索方法和系统 |
| CN104063454A (zh) * | 2014-06-24 | 2014-09-24 | 北京奇虎科技有限公司 | 一种挖掘用户需求的搜索推送方法和装置 |
| CN104462425A (zh) * | 2014-12-12 | 2015-03-25 | 百度在线网络技术(北京)有限公司 | 搜索建议的展示方法和装置 |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111310017A (zh) * | 2018-12-11 | 2020-06-19 | 阿里巴巴集团控股有限公司 | 一种时效性场景内容的生成方法及装置 |
| CN111310017B (zh) * | 2018-12-11 | 2023-05-12 | 阿里巴巴集团控股有限公司 | 一种时效性场景内容的生成方法及装置 |
| CN110990679A (zh) * | 2019-11-27 | 2020-04-10 | 维沃移动通信有限公司 | 信息搜索方法及电子设备 |
| CN116089707A (zh) * | 2022-12-14 | 2023-05-09 | 北京雷石天地电子技术有限公司 | 内容展示方法、装置及设备 |
| CN116450931A (zh) * | 2023-03-24 | 2023-07-18 | 广州易尊网络科技股份有限公司 | 热搜词投放方法、热搜词投放装置以及计算机存储介质 |
| CN116450931B (zh) * | 2023-03-24 | 2024-04-09 | 广州易尊网络科技股份有限公司 | 热搜词投放方法、热搜词投放装置以及计算机存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104462425A (zh) | 2015-03-25 |
| CN104462425B (zh) | 2018-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106649786B (zh) | 基于深度问答的答案检索方法及装置 | |
| US10831345B2 (en) | Establishing user specified interaction modes in a question answering dialogue | |
| US10936633B2 (en) | Search recommending method and apparatus, apparatus and computer storage medium | |
| JP6487201B2 (ja) | 推奨ページを生成するための方法及び装置 | |
| KR101710465B1 (ko) | 검색 추천 방법 및 장치 | |
| JP6554685B2 (ja) | 検索結果を提供するための方法及び装置 | |
| CN104035958B (zh) | 搜索方法和搜索引擎 | |
| CN103914545B (zh) | 搜索展现方法及装置 | |
| US12316891B2 (en) | Video generating method and apparatus, electronic device, and readable storage medium | |
| WO2016107126A1 (zh) | 图片搜索方法和装置 | |
| WO2018000557A1 (zh) | 搜索结果展示方法和装置 | |
| CN104462425A (zh) | 搜索建议的展示方法和装置 | |
| CN106547794B (zh) | 信息搜索方法和装置 | |
| WO2017113715A1 (zh) | 视频搜索的方法及装置 | |
| CN104239442B (zh) | 搜索结果的展现方法和装置 | |
| WO2015139487A1 (zh) | 搜索推荐方法和装置 | |
| WO2021129122A1 (zh) | 书籍查询页面的展示方法、电子设备及计算机存储介质 | |
| CN106776971A (zh) | 视频与电子书关联方法、设备、客户端设备和服务器 | |
| CN107992602A (zh) | 搜索结果展示方法和装置 | |
| WO2016078519A1 (zh) | 搜索方法和装置 | |
| CN105630763A (zh) | 用于提及检测中的消歧的方法和系统 | |
| WO2015139457A1 (zh) | 搜索推荐方法和装置 | |
| CN104281647A (zh) | 搜索输入方法和装置 | |
| KR102551343B1 (ko) | 전자 장치 및 그 제어 방법 | |
| WO2016124097A1 (zh) | 一种文本检索方法和装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15867227 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15867227 Country of ref document: EP Kind code of ref document: A1 |