WO2016155626A1 - 实现搜索提示的装置、系统及方法 - Google Patents

实现搜索提示的装置、系统及方法 Download PDF

Info

Publication number
WO2016155626A1
WO2016155626A1 PCT/CN2016/077863 CN2016077863W WO2016155626A1 WO 2016155626 A1 WO2016155626 A1 WO 2016155626A1 CN 2016077863 W CN2016077863 W CN 2016077863W WO 2016155626 A1 WO2016155626 A1 WO 2016155626A1
Authority
WO
WIPO (PCT)
Prior art keywords
search
keyword
prompt
terms
result page
Prior art date
Application number
PCT/CN2016/077863
Other languages
English (en)
French (fr)
Inventor
张明主
张新亮
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2016155626A1 publication Critical patent/WO2016155626A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to the field of network data communication technologies, and in particular, to an apparatus, system, and method for implementing a search prompt.
  • a keyword is input in a search field of a page, a search is performed according to the input keyword, a page including a search result is obtained, and the page is presented in a browser, thus completing a network search.
  • the drawback of the prior art is that the user cannot provide keyword prompts related to the search when performing the search, and can only search according to the keywords that he thinks, making the network search not convenient enough.
  • an apparatus for implementing a search prompt comprising:
  • An input module adapted to receive a keyword input by a user
  • An obtaining module configured to obtain one or more terms listed in related search items included in the search result page from a search result page corresponding to the keyword;
  • the display module is adapted to display one or more terms of the acquired related search terms in a search prompt column corresponding to the keyword.
  • a method of implementing a search prompt comprising:
  • search prompt column corresponding to the keyword one or more terms of the acquired related search terms are displayed.
  • a computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform the implementation of any of the above The method of searching for prompts.
  • a computer readable medium wherein The computer program as described above is stored.
  • the apparatus, system and method for implementing a search prompt according to the present invention may receive a keyword input by a user when searching by a user, and obtain one or more words listed in the related search item from a search result page corresponding to the keyword.
  • the search prompt column corresponding to the keyword the entry in the obtained related search item is displayed, thereby solving the problem that the user cannot provide the keyword prompt when the user searches, and the search can be performed on the user.
  • the keyword prompt is provided, the user's search operation is more convenient and beneficial.
  • FIG. 1 shows a block diagram of an apparatus for implementing a search prompt in accordance with one embodiment of the present invention
  • FIG. 2 shows a block diagram of an acquisition module in accordance with one embodiment of the present invention
  • FIG. 3 is a schematic diagram showing a prompt bar corresponding to a keyword displayed according to an embodiment of the present invention
  • FIG. 4 is a block diagram showing a system for implementing a search prompt in accordance with one embodiment of the present invention
  • FIG. 5 illustrates a flow chart of a method of implementing a search prompt in accordance with one embodiment of the present invention
  • FIG. 6 shows a flow chart of a method of implementing a search prompt in accordance with one embodiment of the present invention
  • FIG. 7 is a flow chart showing an operation of acquiring a prompt word according to an embodiment of the present invention.
  • Figure 8 shows schematically a block diagram of a computing device for performing the method according to the invention
  • Fig. 9 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • FIG. 1 shows a block diagram of an apparatus for implementing a search prompt in accordance with one embodiment of the present invention.
  • the device includes an input module 110, an acquisition module 120, and a display module 130.
  • the input module 110 is adapted to receive a keyword input by a user.
  • the input module 110 is adapted to receive a keyword input by the user from a search bar of the page or an address bar of the browser.
  • the user can enter keywords from the search bar of the page, or enter keywords from the address bar of the 360 browser.
  • the obtaining module 120 is adapted to obtain one or more terms listed in the related search items included in the search result page from the search result page corresponding to the keyword.
  • the obtaining module 120 is adapted to extract one or more terms listed in the related search items included in the current page when the related search item is included in the current search result page obtained by performing keyword input.
  • the search result page corresponding to the input keyword sent by the server is instantly obtained. If the search result page includes related search terms, the obtaining module 120 extracts one or more terms listed in the related search items included in the search result page.
  • the related search term corresponding to the search result page of the input keyword includes the following data:
  • the obtaining module 120 is adapted to obtain a search result page obtained by searching the keyword from the server, and extract one or more terms listed in the related search items included in the search result page.
  • the obtaining module 120 transmits to the server, including a request for the input keyword, receiving a search result page corresponding to the input keyword returned by the server, and extracting from the related search items included in the search result page Take one or more terms.
  • the display module 130 is adapted to display one or more terms of the acquired related search terms in the search prompt column corresponding to the keyword.
  • the display module 130 displays the search prompt bar corresponding to the keyword as a floating layer, and displays one or more terms in the acquired related search term in the floating layer.
  • the keyword prompt can be provided when the user performs the search, thereby obtaining the beneficial effect of making the user's search operation more convenient.
  • the obtaining module 120 is further configured to acquire one or more prompt words corresponding to the keyword; the display module 130 is further adapted to display the acquired one or in the search prompt column corresponding to the keyword. Multiple prompt words.
  • the acquisition module includes a query sub-module 210 and an extraction sub-module 220.
  • the query sub-module 210 is adapted to convert the keyword into a corresponding query uniform resource locator URL, and send the query URL to the server.
  • the extraction sub-module 220 is adapted to receive data replied by the server, and extract one or more prompt words corresponding to the keyword from the data.
  • the query sub-module 210 sends the query URL to the server, for example, sends the query URL to the website "http://sug.so.360.cn/suggest”.
  • the extraction sub-module 220 receives the data replied by the server, for example, the server replies with the following data:
  • the extraction sub-module 220 extracts the prompt words corresponding to the keywords from the received data, and the prompt words include “360 cloud disk, 360 browser, 360 security guard, 360 search app, 360 video, 360 mobile guard, 360 secure desktop, 360 network. Disk, 360 weather, 360 cloud storage.” Extraction sub-module 220 Some or all of the prompt words are extracted from the obtained prompt words, and are displayed in the prompt column by the display module 130.
  • the obtaining module 120 is further adapted to remove the term related to the prompt word in the related search term from the acquired term of the related search term;
  • the display module 130 is adapted to display the remaining terms in the related search term after the duplicate entry is removed in the search prompt column corresponding to the keyword.
  • the obtaining module 120 compares the prompt words with the terms in the related search items, and repeats the mutually repeated terms from the acquired related search term words. Removed from the bar.
  • the display module 130 displays the remaining terms in the related search term after the duplicate entry is removed in the search prompt column corresponding to the keyword.
  • the display module 130 is adapted to display one or more terms of the acquired related search terms in a form different from the display prompt word in the search prompt column corresponding to the keyword.
  • the display module 130 is adapted to display one or more terms of the acquired related search items after the displayed prompt words in the search prompt column corresponding to the keyword.
  • a prompt word is displayed in a single column in the search prompt bar, and a word in the related search term is displayed in a multi-line manner after the prompt word.
  • the prompt words and related terms in the search terms can be displayed in the search prompt column, the range of the prompt words selected by the user is expanded, and the precision of the keywords used in the search is increased, and further, Increases the hit rate of search results for users' desired results.
  • FIG. 4 it is a structural diagram of a system for implementing a search prompt according to an embodiment of the present invention.
  • the system includes a server 200 and a client 100 having the apparatus described in any of the above.
  • the server 200 and the client 100 may be directly connected to each other or may be connected through a network, and the present invention is not particularly limited thereto.
  • FIG. 5 illustrates a flow chart of a method of implementing a search prompt, the method including the following steps, in accordance with one embodiment of the present invention:
  • step S510 a keyword input by the user is received. Subsequently, step S520 is performed.
  • step S510 a keyword input by the user from the search bar of the page or the address bar of the browser is received.
  • the user can enter keywords from the search bar of the page, or enter keywords from the address bar of the 360 browser.
  • step S520 one or more terms listed in the related search items included in the search result page are acquired from the search result page corresponding to the keyword. Subsequently, step S530 is performed.
  • step S520 when the related search term is included in the current search result page obtained by performing keyword input, the one or more terms listed in the related search term included in the current page are extracted.
  • the search result page corresponding to the input keyword sent by the server is instantly obtained. If the search result page includes related search terms, one or more terms listed in the related search items included in the search result page are extracted.
  • the related search term corresponding to the search result page of the input keyword includes the following data:
  • step S520 a search result page obtained by searching by keywords is acquired from the server, and one or more terms listed in the related search items included in the search result page are extracted.
  • the search result page corresponding to the input keyword is not obtained immediately at the time of searching
  • the key including the input is sent to the server.
  • the request for the word, the search result page corresponding to the input keyword returned by the server is received, and one or more terms are extracted from the related search items included in the search result page.
  • step S530 one or more terms of the acquired related search terms are displayed in the search prompt column corresponding to the keyword.
  • step S530 the search prompt column corresponding to the keyword is displayed as a floating layer, and one or more of the acquired related search terms are displayed in the floating layer.
  • the keyword prompt can be provided when the user performs the search. Further, the beneficial effects of making the user's search operation more convenient are obtained.
  • FIG. 6 shows a flow chart of a method of implementing a search prompt in accordance with one embodiment of the present invention. The method comprises the following steps:
  • step S610 a keyword input by the user is received. Subsequently, step S620 is performed.
  • step S620 one or more prompt words corresponding to the keyword are acquired, and one or more terms listed in the related search items included in the search result page are obtained from the search result page corresponding to the keyword. Subsequently, step S630 is performed.
  • step S630 the acquired one or more prompt words and one or more of the related search terms are displayed in the search prompt column corresponding to the keyword.
  • FIG. 7 a flowchart of an operation of acquiring a prompt word according to an embodiment of the present invention is shown.
  • the operation includes the following steps:
  • step S710 the keyword is converted into a corresponding query uniform resource locator URL, and the query URL is sent to the server.
  • step S720 the data replied by the server is received, and one or more prompt words corresponding to the keyword are extracted from the data.
  • the keyword "360” is converted into a corresponding query URL:
  • Send the query URL to the server for example, send the query URL to the website "http://sug.so.360.cn/suggest”.
  • Receive data replied by the server for example, the server replies with the following data:
  • the prompt words corresponding to the keywords are extracted from the received data, and the prompt words include “360 cloud disk, 360 browser, 360 security guard, 360 search app, 360 video, 360 mobile guard, 360 security desktop, 360 network disk, 360 weather. 360 cloud storage.” Extract some or all of the prompted words The prompt word is displayed in the prompt bar.
  • the above method further includes: removing the term in the related search term that is repeated from the prompt word, and removing the term from the obtained related search term.
  • the step S630 further includes: displaying, in the search prompt column corresponding to the keyword, the remaining terms after the duplicate entry is removed from the related search term.
  • the search prompt column corresponding to the keyword the remaining terms after the duplicate entry is removed from the related search term are displayed.
  • the step S630 further includes: displaying one or more terms of the acquired related search terms in a form different from the display prompt word in the search prompt column corresponding to the keyword.
  • the step S630 further includes: displaying, in the search prompt corresponding to the keyword, one or more terms in the acquired related search term after the displayed prompt word.
  • a prompt word is displayed in a single column in the search prompt bar, and a word in the related search term is displayed in a multi-line manner after the prompt word.
  • the prompt words and related terms in the search terms can be displayed in the search prompt column, the range of the prompt words selected by the user is expanded, and the precision of the keywords used in the search is increased, and further, Increases the hit rate of search results for users' desired results.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the device for implementing search cues in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals can be downloaded from the Internet website or presented on the carrier signal. Available, or in any other form.
  • Figure 8 illustrates a computing device in which the method in accordance with the present invention can be implemented.
  • the computing device conventionally includes a processor 810 and a computer program product or computer readable medium in the form of a memory 820.
  • the memory 820 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 820 has a memory space 830 for program code 831 for performing any of the method steps described above.
  • storage space 830 for program code may include various program code 831 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have storage segments, storage spaces, and the like that are similar to the storage 820 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 831', ie, code readable by a processor, such as 810, that when executed by a computing device causes the computing device to perform each of the methods described above step.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种实现搜索提示的装置、系统及方法,该装置包括:输入模块(110),适于接收用户输入的关键词;获取模块(120),适于从所述关键词对应的搜索结果页面中,获取所述搜索结果页面包括的相关搜索项中列出的一个或多个词条;展示模块(130),适于在所述关键词对应的搜索提示栏中,展示所述获取的相关搜索项中的一个或多个词条。所述装置能够解决在用户进行搜索时,无法为用户提供关键词提示的问题,取得了能够在用户进行搜索时,提供关键词提示,进而使得用户的搜索操作更加便捷的有益效果。

Description

实现搜索提示的装置、系统及方法 技术领域
本发明涉及网络数据通信技术领域,具体涉及一种实现搜索提示的装置、系统及方法。
背景技术
在现有技术中,进行网络搜索时,在页面的搜索栏中输入关键词,按输入的关键词进行搜索,获得包括搜索结果的页面,将该页面在浏览器中呈现,如此,完成网络搜索。
现有技术的缺陷在于,用户在进行搜索时,无法提供与搜索相关的关键词提示,仅能够根据自己所想到的关键词进行搜索,使得网络搜索不够便捷。
发明内容
依据本发明的一个方面,提供了一种实现搜索提示的装置,该装置包括:
输入模块,适于接收用户输入的关键词;
获取模块,适于从所述关键词对应的搜索结果页面中,获取所述搜索结果页面包括的相关搜索项中列出的一个或多个词条;
展示模块,适于在所述关键词对应的搜索提示栏中,展示所述获取的相关搜索项中的一个或多个词条。
根据本发明的另一方面,提供了一种实现搜索提示的方法,该方法包括:
接收用户输入的关键词;
从所述关键词对应的搜索结果页面中,获取所述搜索结果页面包括的相关搜索项中列出的一个或多个词条;
在所述关键词对应的搜索提示栏中,展示所述获取的相关搜索项中的一个或多个词条。
根据本发明的又一个方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行如上任一项所述的实现搜索提示的方法。
根据本发明的再一个方面,提供了一种计算机可读介质,其中存 储了如上所述的计算机程序。
根据本发明的实现搜索提示的装置、系统及方法可以在用户进行搜索时,接收用户输入的关键词,从关键词对应的搜索结果页面中,获取相关搜索项中列出的一个或多个词条,在关键词对应的搜索提示栏中,展示获取的相关搜索项中的词条,由此解决了在用户进行搜索时,无法为用户提供关键词提示的问题,取得了能够在用户进行搜索时,提供关键词提示,进而使得用户的搜索操作更加便捷的有益效果。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了根据本发明一个实施例的实现搜索提示的装置的结构图;
图2示出了根据本发明一个实施例的获取模块的结构图;
图3示出了根据本发明一个实施例的展示的关键词对应的提示栏的示意图;
图4示出了根据本发明一个实施例的实现搜索提示的系统的结构图;
图5示出了根据本发明一个实施例的实现搜索提示的方法的流程图;
图6示出了根据本发明一个实施例的实现搜索提示的方法流程图;
图7示出了根据本发明一个实施例的获取提示词的操作的流程图;
图8示意性地示出了用于执行根据本发明的方法的计算设备的框图;以及
图9示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
具体实施例
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
图1示出了根据本发明一个实施例的实现搜索提示的装置的结构图。该装置包括:输入模块110、获取模块120和展示模块130。
输入模块110,适于接收用户输入的关键词。
进一步地,输入模块110,适于接收用户从页面的搜索栏或浏览器的地址栏中输入的关键词。
举例而言,用户可以从页面的搜索栏中输入关键词,也可以从360浏览器的地址栏中输入关键词。
获取模块120,适于从关键词对应的搜索结果页面中,获取搜索结果页面包括的相关搜索项中列出的一个或多个词条。
进一步地,获取模块120,适于当进行关键词输入即时得到的当前搜索结果页面中包括相关搜索项时,提取当前页面所包括的相关搜索项中列出的一个或多个词条。
举例而言,当用户在页面的搜索栏或浏览器的地址栏中输入关键词后,即时获得服务器发送的对应于输入的关键词的搜索结果页面。如果该搜索结果页面中包括相关搜索项,则获取模块120提取该搜索结果页面所包括的相关搜索项中列出的一个或多个词条。
例如,对应于输入的关键词的搜索结果页面的相关搜索项中包括如下数据:
Figure PCTCN2016077863-appb-000001
Figure PCTCN2016077863-appb-000002
从上述数据中提取出相关搜索项中词条“360安全桌面、360网盘、360云盘、360云存储、360安全卫士、360影视、360天气、root 360、360浏览器、360手机卫士”。
进一步地,获取模块120,适于从服务器获取按关键词进行搜索后所得的搜索结果页面,提取搜索结果页面所包括的相关搜索项中列出的一个或多个词条。
举例而言,在搜索时不是即时获得对应于输入的关键词的搜索结果页面的情况下,当用户在页面的搜索栏或浏览器的地址栏中输入关键词后,获取模块120向服务器发送包括输入的关键词的请求,接收服务器返回的对应于输入的关键词的搜索结果页面,从该搜索结果页面中包括的相关搜索项中提 取一个或多个词条。
展示模块130,适于在关键词对应的搜索提示栏中,展示获取的相关搜索项中的一个或多个词条。
举例而言,展示模块130将关键词对应的搜索提示栏展示为浮层,在该浮层中展示获取的相关搜索项中的一个或多个词条
采用本实施例中技术方案,能够在用户进行搜索时,提供关键词提示,进而取得了使得用户的搜索操作更加便捷的有益效果。
在本发明的一实施例中,获取模块120,还适于获取关键词对应的一个或多个提示词;展示模块130,还适于在关键词对应的搜索提示栏中,展示获取的一个或多个提示词。
进一步地,如图2所示,获取模块包括查询子模块210和提取子模块220。
查询子模块210,适于将关键词转化为对应的查询统一资源定位符URL,将查询URL发送给服务器。
提取子模块220,适于接收服务器回复的数据,从数据中提取关键词对应的一个或多个提示词。
举例而言,输入模块110接收到输入的关键词“360”后,查询子模块210将关键词“360”转化为对应的查询URL“http://sug.so.360.cn/suggest?callback=suggest_so&encodein=utf-8&encodeout=utf-8&format=json&fields=word,obdata&word=360”。查询子模块210将查询URL发送给服务器,例如将查询URL发送给网站“http://sug.so.360.cn/suggest”。提取子模块220接收服务器回复的数据,例如,服务器回复如下数据:
suggest_so({″query″:″360″,″result″:[{″word″:″360云盘″},{″word″:″360浏览器″},{″word″:″360安全卫士″},{″word″:″360搜索app″},{″word″:″360影视″},{″word″:″360手机卫士″},{″word″:″360安全桌面″},{″word″:″360网盘″},{″word″:″360天气″},{″word″:″360云存储″}],″version″:″3.01″})
提取子模块220从接收的数据中提取关键词对应的提示词,提示词包括“360云盘、360浏览器、360安全卫士、360搜索app、360影视、360手机卫士、360安全桌面、360网盘、360天气、360云存储”。提取子模块220 从获得的提示词中抽取部分或全部提示词,通过展示模块130在提示栏中进行展示。
进一步地,获取模块120,还适于将相关搜索项中与提示词相重复的词条,从获取的相关搜索项的词条中去除;
展示模块130,适于在关键词对应的搜索提示栏中,展示相关搜索项中去除重复词条后的剩余词条。
举例而言,获取模块120在获得提示词和相关搜索项中的词条后,将提示词和相关搜索项中的词条进行比较,将相互重复的词条,从获取的相关搜索项的词条中去除。展示模块130在关键词对应的搜索提示栏中,展示相关搜索项中去除重复词条后的剩余词条。
如此,在提示栏中既展示提示词又展示相关搜索项中词条时,将重复的词条从获取的相关搜索项的词条中去除,使得同一词条仅展示一次,进而使得用户更加便于使用提示栏中的词条。
进一步地,展示模块130,适于在关键词对应的搜索提示栏中,按与展示提示词相异的形式,展示获取的相关搜索项中的一个或多个词条。
进一步地,展示模块130,适于在关键词对应的搜索提示栏中,在展示的提示词之后,展示获取的相关搜索项中的一个或多个词条。
举例而言,如图3所示,在搜索提示栏中采用单列的方式展示提示词,在提示词之后采用多行的方式展示相关搜索项中的词条。
采用本实施例中技术方案,能够在搜索提示栏中,同时展示提示词和相关搜索项中的词条,扩大了供用户选择的提示性词语的范围,增加搜索所用关键词的精准性,进而增加了搜索结果对用户所需结果的命中率。
如图4所示,为根据本发明一个实施例的实现搜索提示的系统的结构图。该系统包括:服务器200以及具有上述任一所述的装置的客户端100。
服务器200和客户端100之间可以直接连接,也可以通过网络进行连接,本发明对此没有特别限制。
图5示出了根据本发明一个实施例的实现搜索提示的方法的流程图,该方法包括如下步骤:
在步骤S510中,接收用户输入的关键词。随后,执行步骤S520。
进一步地,在步骤S510中,接收用户从页面的搜索栏或浏览器的地址栏中输入的关键词。
举例而言,用户可以从页面的搜索栏中输入关键词,也可以从360浏览器的地址栏中输入关键词。
在步骤S520中,从关键词对应的搜索结果页面中,获取搜索结果页面包括的相关搜索项中列出的一个或多个词条。随后,执行步骤S530。
进一步地,在步骤S520中,当进行关键词输入即时得到的当前搜索结果页面中包括相关搜索项时,提取当前页面所包括的相关搜索项中列出的一个或多个词条。
举例而言,当用户在页面的搜索栏或浏览器的地址栏中输入关键词后,即时获得服务器发送的对应于输入的关键词的搜索结果页面。如果该搜索结果页面中包括相关搜索项,则提取该搜索结果页面所包括的相关搜索项中列出的一个或多个词条。
例如,对应于输入的关键词的搜索结果页面的相关搜索项中包括如下数据:
Figure PCTCN2016077863-appb-000003
Figure PCTCN2016077863-appb-000004
从上述数据中提取出相关搜索项中词条“360安全桌面、360网盘、360云盘、360云存储、360安全卫士、360影视、360天气、root 360、360浏览器、360手机卫士”。
进一步地,在步骤S520中,从服务器获取按关键词进行搜索后所得的搜索结果页面,提取搜索结果页面所包括的相关搜索项中列出的一个或多个词条。
举例而言,在搜索时不是即时获得对应于输入的关键词的搜索结果页面的情况下,当用户在页面的搜索栏或浏览器的地址栏中输入关键词后,向服务器发送包括输入的关键词的请求,接收服务器返回的对应于输入的关键词的搜索结果页面,从该搜索结果页面中包括的相关搜索项中提取一个或多个词条。
在步骤S530中,在关键词对应的搜索提示栏中,展示获取的相关搜索项中的一个或多个词条。
举例而言,在步骤S530中将关键词对应的搜索提示栏展示为浮层,在该浮层中展示获取的相关搜索项中的一个或多个词条
采用本实施例中技术方案,能够在用户进行搜索时,提供关键词提示, 进而取得了使得用户的搜索操作更加便捷的有益效果。
图6示出了根据本发明一个实施例的实现搜索提示的方法流程图。该方法包括如下步骤:
在步骤S610中,接收用户输入的关键词。随后,执行步骤S620。
在步骤S620中,获取关键词对应的一个或多个提示词,并从关键词对应的搜索结果页面中,获取搜索结果页面包括的相关搜索项中列出的一个或多个词条。随后,执行步骤S630。
在步骤S630中,在关键词对应的搜索提示栏中,展示获取的一个或多个提示词,以及相关搜索项中的一个或多个词条。
进一步地,如图7所示,示出了根据本发明一个实施例的获取提示词的操作的流程图。该操作包括如下步骤:
在步骤S710中,将关键词转化为对应的查询统一资源定位符URL,将查询URL发送给服务器。
在步骤S720中,接收服务器回复的数据,从数据中提取关键词对应的一个或多个提示词。
举例而言,接收到输入的关键词“360”后,将关键词“360”转化为对应的查询URL:
“http://sug.so.360.cn/suggest?callback=suggest_so&encodein=utf-8&encodeout=utf-8&format=json&fields=word,obdata&word=360”。
将查询URL发送给服务器,例如将查询URL发送给网站“http://sug.so.360.cn/suggest”。接收服务器回复的数据,例如,服务器回复如下数据:
suggest_so({″query″:″360″,″result″:[{″word″:″360云盘″},{″word″:″360浏览器″},{″word″:″360安全卫士″},{″word″:″360搜索app″},{″word″:″360影视″},{″word″:″360手机卫士″},{″word″:″360安全桌面″},{″word″:″360网盘″},{″word″:″360天气″},{″word″:″360云存储″}],″version″:″3.01″})
从接收的数据中提取关键词对应的提示词,提示词包括“360云盘、360浏览器、360安全卫士、360搜索app、360影视、360手机卫士、360安全桌面、360网盘、360天气、360云存储”。从获得的提示词中抽取部分或全 部提示词,在提示栏中进行展示。
进一步地,上述方法还包括:将相关搜索项中与提示词相重复的词条,从获取的相关搜索项的词条中去除。
上述步骤S630中进一步包括:在关键词对应的搜索提示栏中,展示相关搜索项中去除重复词条后的剩余词条。
举例而言,在获得提示词和相关搜索项中的词条后,将提示词和相关搜索项中的词条进行比较,将相互重复的词条,从获取的相关搜索项的词条中去除。在关键词对应的搜索提示栏中,展示相关搜索项中去除重复词条后的剩余词条。
如此,在提示栏中既展示提示词又展示相关搜索项中词条时,将重复的词条从获取的相关搜索项的词条中去除,使得同一词条仅展示一次,进而使得用户更加便于使用提示栏中的词条。
上述步骤S630中进一步包括:在关键词对应的搜索提示栏中,按与展示提示词相异的形式,展示获取的相关搜索项中的一个或多个词条。
上述步骤S630中进一步包括:在关键词对应的搜索提示栏中,在展示的提示词之后,展示获取的相关搜索项中的一个或多个词条。
举例而言,如图3所示,在搜索提示栏中采用单列的方式展示提示词,在提示词之后采用多行的方式展示相关搜索项中的词条。
采用本实施例中技术方案,能够在搜索提示栏中,同时展示提示词和相关搜索项中的词条,扩大了供用户选择的提示性词语的范围,增加搜索所用关键词的精准性,进而增加了搜索结果对用户所需结果的命中率。
需要说明的是:
在此提供的算法和显示不与任何特定计算机、虚拟装置或者其它设备固有相关。各种通用装置也可以与基于在此的示教一起使用。根据上面的描述,构造这类装置所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的实现搜索提示的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提 供,或者以任何其他形式提供。
例如,图8示出了可以实现根据本发明的方法的计算设备。该计算设备传统上包括处理器810和以存储器820形式的计算机程序产品或者计算机可读介质。存储器820可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器820具有用于执行上述方法中的任何方法步骤的程序代码831的存储空间830。例如,用于程序代码的存储空间830可以包括分别用于实现上面的方法中的各种步骤的各个程序代码831。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图9所述的便携式或者固定存储单元。该存储单元可以具有与图8的计算设备中的存储器820类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码831’,即可以由例如诸如810之类的处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的 目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (21)

  1. 一种实现搜索提示的装置,该装置包括:
    输入模块,适于接收用户输入的关键词;
    获取模块,适于从所述关键词对应的搜索结果页面中,获取所述搜索结果页面包括的相关搜索项中列出的一个或多个词条;
    展示模块,适于在所述关键词对应的搜索提示栏中,展示所述获取的相关搜索项中的一个或多个词条。
  2. 根据权利要求1所述的装置,其中,
    所述获取模块,还适于获取所述关键词对应的一个或多个提示词;
    所述展示模块,还适于在所述关键词对应的搜索提示栏中,展示所述获取的一个或多个提示词。
  3. 根据权利要求1-2任一项所述的装置,其中,
    所述获取模块,还适于将相关搜索项中与所述提示词相重复的词条,从获取的相关搜索项的词条中去除;
    所述展示模块,进一步适于在所述关键词对应的搜索提示栏中,展示相关搜索项中去除重复词条后的剩余词条。
  4. 根据权利要求1-3任一项所述的装置,其中,
    所述展示模块,进一步适于在所述关键词对应的搜索提示栏中,按与展示所述提示词相异的形式,展示所述获取的相关搜索项中的一个或多个词条。
  5. 根据权利要求1-4任一项所述的装置,其中,
    所述展示模块,进一步适于在所述关键词对应的搜索提示栏中,在展示的提示词之后,展示所述获取的相关搜索项中的一个或多个词条。
  6. 根据权利要求1-5任一所述的装置,其中,
    所述获取模块,进一步适于当进行关键词输入即时得到的当前搜索结果页面中包括相关搜索项时,提取当前页面所包括的相关搜索项中列出的一个或多个词条。
  7. 根据权利要求1-6任一所述的装置,其中,
    所述获取模块,进一步适于从服务器获取按所述关键词进行搜索后所得 的搜索结果页面,提取所述搜索结果页面所包括的相关搜索项中列出的一个或多个词条。
  8. 根据权利要求1-7任一项所述的装置,其中,所述输入模块,进一步适于接收用户从页面的搜索栏或浏览器的地址栏中输入的关键词。
  9. 根据权利要求2所述的装置,其中,所述获取模块进一步包括:
    查询子模块,适于将所述关键词转化为对应的查询统一资源定位符URL,将所述查询URL发送给服务器;
    提取子模块,适于接收服务器回复的数据,从数据中提取所述关键词对应的一个或多个提示词。
  10. 一种实现搜索提示的系统,该系统包括:服务器以及具有如权利要求1-9任一所述的装置的客户端。
  11. 一种实现搜索提示的方法,该方法包括:
    接收用户输入的关键词;
    从所述关键词对应的搜索结果页面中,获取所述搜索结果页面包括的相关搜索项中列出的一个或多个词条;
    在所述关键词对应的搜索提示栏中,展示所述获取的相关搜索项中的一个或多个词条。
  12. 根据权利要求11所述的方法,其中,所述方法还包括:
    获取所述关键词对应的一个或多个提示词;
    在所述关键词对应的搜索提示栏中,展示所述获取的一个或多个提示词。
  13. 根据权利要求11-12任一项所述的方法,其中,所述方法还包括:
    将相关搜索项中与所述提示词相重复的词条,从获取的相关搜索项的词条中去除;
    所述在所述关键词对应的搜索提示栏中,展示所述获取的相关搜索项中的一个或多个词条,进一步包括:
    在所述关键词对应的搜索提示栏中,展示相关搜索项中去除重复词条后的剩余词条。
  14. 根据权利要求11-13任一项所述的方法,其中,所述在所述关键词对应的搜索提示栏中,展示所述获取的相关搜索项中的一个或多个词条,进 一步包括:
    在所述关键词对应的搜索提示栏中,按与展示所述提示词相异的形式,展示所述获取的相关搜索项中的一个或多个词条。
  15. 根据权利要求11-14任一项所述的方法,其中,所述在所述关键词对应的搜索提示栏中,展示所述获取的相关搜索项中的一个或多个词条,进一步包括:
    在所述关键词对应的搜索提示栏中,在展示的提示词之后,展示所述获取的相关搜索项中的一个或多个词条。
  16. 根据权利要求11至15任一所述的方法,其中,所述从所述关键词对应的搜索结果页面中,获取所述搜索结果页面包括的相关搜索项中列出的一个或多个词条,进一步包括:
    当进行关键词输入即时得到的当前搜索结果页面中包括相关搜索项时,提取当前页面所包括的相关搜索项中列出的一个或多个词条。
  17. 根据权利要求11至16任一所述的方法,其中,所述从所述关键词对应的搜索结果页面中,获取所述搜索结果页面包括的相关搜索项中列出的一个或多个词条,进一步包括:
    从服务器获取按所述关键词进行搜索后所得的搜索结果页面,提取所述搜索结果页面所包括的相关搜索项中列出的一个或多个词条。
  18. 根据权利要求11-17任一项所述的方法,其中,所述接收用户输入的关键词,进一步包括:
    接收用户从页面的搜索栏或浏览器的地址栏中输入的关键词。
  19. 根据权利要求12所述的方法,其中,所述获取所述关键词对应的一个或多个提示词,进一步包括:
    将所述关键词转化为对应的查询统一资源定位符URL,将所述查询URL发送给服务器;
    接收服务器回复的数据,从数据中提取所述关键词对应的一个或多个提示词。
  20. 一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求11-19中的任一个所述的实现搜索提示的方法。
  21. 一种计算机可读介质,其中存储了如权利要求10所述的计算机程序。
PCT/CN2016/077863 2015-04-02 2016-03-30 实现搜索提示的装置、系统及方法 WO2016155626A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510155921.XA CN104765811A (zh) 2015-04-02 2015-04-02 实现搜索提示的装置、系统及方法
CN201510155921.X 2015-04-02

Publications (1)

Publication Number Publication Date
WO2016155626A1 true WO2016155626A1 (zh) 2016-10-06

Family

ID=53647641

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/077863 WO2016155626A1 (zh) 2015-04-02 2016-03-30 实现搜索提示的装置、系统及方法

Country Status (2)

Country Link
CN (1) CN104765811A (zh)
WO (1) WO2016155626A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765811A (zh) * 2015-04-02 2015-07-08 北京奇虎科技有限公司 实现搜索提示的装置、系统及方法
CN106202326A (zh) * 2016-06-30 2016-12-07 珠海市魅族科技有限公司 一种信息处理方法及装置
CN106649750B (zh) * 2016-12-26 2021-02-05 三六零科技集团有限公司 针对多义项词条的搜索方法及装置
CN109933217B (zh) * 2019-03-12 2020-05-01 北京字节跳动网络技术有限公司 用于推送语句的方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1940925A (zh) * 2006-07-03 2007-04-04 魏新成 在输入搜索词过程中即时提示搜索结果列表的方法
CN101650742A (zh) * 2009-08-27 2010-02-17 中兴通讯股份有限公司 一种对英文检索的检索条件进行提示的系统及方法
CN104156492A (zh) * 2014-09-02 2014-11-19 北京国双科技有限公司 搜索内容的提示方法和装置
CN104765811A (zh) * 2015-04-02 2015-07-08 北京奇虎科技有限公司 实现搜索提示的装置、系统及方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930057B (zh) * 2012-11-21 2016-08-24 北京奇虎科技有限公司 搜索实现方法和装置
CN102930058B (zh) * 2012-11-21 2016-01-06 北京奇虎科技有限公司 一种在浏览器的地址栏中实现搜索的方法和装置
CN103699700B (zh) * 2014-01-16 2017-10-13 北京奇虎科技有限公司 一种搜索引导的生成方法、系统及相关服务器
CN103838881B (zh) * 2014-03-28 2017-04-05 北京奇虎科技有限公司 自定义搜索结果页的方法及装置
CN103914545B (zh) * 2014-04-08 2018-09-07 百度在线网络技术(北京)有限公司 搜索展现方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1940925A (zh) * 2006-07-03 2007-04-04 魏新成 在输入搜索词过程中即时提示搜索结果列表的方法
CN101650742A (zh) * 2009-08-27 2010-02-17 中兴通讯股份有限公司 一种对英文检索的检索条件进行提示的系统及方法
CN104156492A (zh) * 2014-09-02 2014-11-19 北京国双科技有限公司 搜索内容的提示方法和装置
CN104765811A (zh) * 2015-04-02 2015-07-08 北京奇虎科技有限公司 实现搜索提示的装置、系统及方法

Also Published As

Publication number Publication date
CN104765811A (zh) 2015-07-08

Similar Documents

Publication Publication Date Title
US10824874B2 (en) Method and apparatus for processing video
US10659412B2 (en) Method and device for saving chat record of instant messaging
WO2016155626A1 (zh) 实现搜索提示的装置、系统及方法
US10423673B2 (en) Image, audio, and metadata inputs for domain name suggestions
WO2015081848A1 (zh) 社交化扩展搜索方法及相应的装置、系统
CN107679119B (zh) 生成品牌衍生词的方法和装置
US20170161373A1 (en) Method and system for providing context based query suggestions
JP2015532753A5 (zh)
EP2611114B1 (en) Image, audio, and metadata inputs for name suggestion
US20130282714A1 (en) Personalized Redirection Identifiers
CN108009147B (zh) 电子书封面生成方法、电子设备及计算机存储介质
WO2015188719A1 (zh) 结构化数据与图片的关联方法与关联装置
EP3087505A1 (en) System and methods for vocal commenting on selected web pages
US20170115853A1 (en) Determining Image Captions
JP2019520662A (ja) 商標画像のコンテンツ・ベースの検索及び取得
WO2015085785A1 (zh) 页面自动变灰的方法和装置
WO2018121266A1 (zh) 一种应用程序获取方法和装置以及一种终端设备
JP2018533136A5 (zh)
WO2017054735A1 (zh) 异步登录方法和装置
WO2016058520A1 (zh) 人脸图片人名识别方法和装置
WO2016058478A1 (zh) 数据获取方法、装置及系统
WO2014131327A1 (en) Method, apparatus and system for presenting mobile media information
WO2017020794A1 (zh) 一种交互系统的语音识别方法和装置
US11831417B2 (en) Threat mapping engine
CN106649750B (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: 16771381

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: 16771381

Country of ref document: EP

Kind code of ref document: A1