WO2019140959A1 - 搜索方法、装置和服务器 - Google Patents

搜索方法、装置和服务器 Download PDF

Info

Publication number
WO2019140959A1
WO2019140959A1 PCT/CN2018/109819 CN2018109819W WO2019140959A1 WO 2019140959 A1 WO2019140959 A1 WO 2019140959A1 CN 2018109819 W CN2018109819 W CN 2018109819W WO 2019140959 A1 WO2019140959 A1 WO 2019140959A1
Authority
WO
WIPO (PCT)
Prior art keywords
search
page
user
determining
target page
Prior art date
Application number
PCT/CN2018/109819
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 WO2019140959A1 publication Critical patent/WO2019140959A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Definitions

  • the present application relates to the field of Internet, and in particular to a search method, apparatus and server.
  • the search result list that appears for the user's search conditions tends to be very long, and sometimes the user needs to swipe or turn the page to find the web page that he or she desires to view.
  • the search is often performed multiple times for a certain search condition, and the same page is opened each time for viewing. At this time, the user needs to perform repeated searches and repeated clicks every time.
  • the user's target page is in the center of the search page or needs to slide or even turn pages, it is very inconvenient and time consuming.
  • the embodiment of the present application provides a search method, device, and server to solve at least the above technical problems in the prior art.
  • an embodiment of the present application provides a search method, including:
  • Determining that the current search is a repeated search; wherein the repeated search indicates that the search condition is the same as a search condition of at least one search within a predetermined time interval;
  • the determining, in response to determining that the current search is a repeated search, displaying the search result and the shortcut icon includes:
  • the search result and the shortcut icon are displayed.
  • the determining the user target page includes:
  • the determining the user target page includes:
  • Determining that the page with the longest user viewing time in the at least one search is the second page, and determining the second page as the user target page.
  • the present application is in a second embodiment of the first aspect,
  • the displaying the search result and the shortcut icon in response to determining that the current search is a repeated search comprises:
  • the new search result is displayed along with the new shortcut icon.
  • the selecting at least one user target page from the pages viewed by the user in the at least one search includes:
  • the selecting at least one user target page from the pages viewed by the user in the at least one search includes:
  • the number of views corresponding to the page is less than the second threshold, the last viewed page of the last search in the at least one search is determined as the user target page.
  • the shortcut icon is located in a lower right corner of the page of the search result.
  • the method further includes:
  • a page of the search results is displayed.
  • an embodiment of the present application provides a search apparatus, including:
  • a receiving module configured to receive a search condition input by a user in a current search, and generate a search result according to the search condition
  • a determining module configured to determine that the current search is a repeated search; wherein the repeated search indicates that the search condition is the same as a search condition of at least one search within a predetermined time interval;
  • the display module is configured to display the search result and the shortcut icon in response to determining that the current search is a repeated search, wherein the shortcut icon is an icon linked to the user target page.
  • an embodiment of the present application provides a server, where the server includes:
  • One or more processors are One or more processors;
  • a storage device configured to store one or more programs
  • a communication interface configured to cause the processor and the storage device to communicate with an external device
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method of the first aspect described above.
  • the embodiment of the present application provides a computer readable storage medium, configured to store computer software instructions used by the search device, where the search method included in the foregoing first aspect is performed by the search device The procedures involved.
  • FIG. 1 is a flow chart of a search method in accordance with one embodiment of the present application.
  • FIG. 2 is a flowchart of a search result display method according to another embodiment of the present application.
  • FIG. 3 is a flowchart of a search result display method according to another embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a search apparatus according to another embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a server according to another embodiment of the present application.
  • FIG. 1 shows a flow chart of a search method 100 in accordance with one embodiment of the present application.
  • the search method 100 can include:
  • S110 receiving a search condition input by the user in the current search, and generating a search result according to the search condition;
  • the repeated search indicates that the search condition input by the user in S110 is the same as the search condition of at least one search received within the predetermined time interval.
  • the search results generated may vary according to time. For example, when a user searches for "the latest Marvel movie," the "latest" movie will definitely be updated based on the movie's release time. Therefore, in the embodiment of the present application, the search performed by the user within a predetermined time interval can be considered when performing the search.
  • the predetermined time interval may be determined depending on the situation, such as one week, one month, and the like.
  • the search history data recorded locally by the user mobile terminal may be utilized, or may be performed by using the cloud database of the search engine provider. It is to be understood that, because the user's mobile terminal has limited capacity and has to be periodically cleaned up, or the user may replace the terminal, the historical data of the local storage may be updated or even eliminated. The accuracy is not high enough. Therefore, the search method provided by the embodiment of the present application is preferably implemented by using the cloud database of the search engine provider. In this case, the predetermined time interval may be set to a relatively long time, for example, one year or longer, as needed.
  • S130 Display a search result and a shortcut icon in response to determining that the current search is a repeated search
  • the shortcut icon is an icon that is linked to the user's target page.
  • the user target page may be opened for the user to view according to the user's click operation on the shortcut icon.
  • today's mobile terminals such as tablets, smart phones, etc.
  • the common smartphone screens on the market are 5.1 or 5.5 inches
  • the touch screen is used in intelligence relative to the size of the user's palm. It is often inconvenient to perform various operations on the mobile phone. For example, if the user holds the phone in his right hand, when he uses the thumb to operate, he or she often needs to move the palm of the screen when clicking on the center of the screen. Sometimes it is even necessary to change the hand to hold the phone and use the other hand to operate. It takes a lot of inconvenience to take up both hands of the user.
  • the shortcut icon is located in the lower right corner of the search result page, so that the user can operate without changing the mobile phone.
  • the shape of the shortcut icon can be set according to user preferences, for example, a variety of shapes can be provided for the user to select.
  • a specific page can be quickly accessed without sliding or page turning, which improves the user experience and saves search time.
  • a page of search results in response to determining that the current search is not a repeated search, a page of search results may be displayed.
  • S130 may include:
  • determining the user target page may include: determining that the last viewed page of the last search in the at least one search is the first page, and determining the first page as the user Target page.
  • the search condition is "Galaxy Guard 2" and the user's target page is the Galaxy Guard 2's film review, he will open the multiple pages to view and finally stay on the Douban website about the Galaxy Guard 2. . At this point, the page can be used as the user target page.
  • the user may suddenly quit while viewing the web page for some reason, at which point he may stay on a certain part of the page, such as a page displaying a particular photo review; more specifically, the user may have pulled the page down Part of it, staying in the middle of the entire page.
  • the specific location where the user stays can be recorded, and the corresponding page is used as the user target page.
  • the page to which the shortcut icon is linked is the location that the user last viewed.
  • determining the user target page may include: determining that the page with the longest user viewing time in the at least one search is the second page, and determining the second page as the user target page.
  • the user clicks on the relevant page of Douban.com he may click to enter other websites, such as Sina, Sohu, etc. to view related movie reviews, but the time is not long compared with the time of viewing the related pages of Douban. At this point, you can still use the related page of Douban as the user target page.
  • S130 may include:
  • S131' in response to determining that the current search is a repeated search, selecting at least one user target page from pages viewed by the user in the at least one search.
  • S131 ′ may further include: in response to determining that the current search is a repeated search, sorting pages viewed by the user in the at least one search based on a viewing time of the user by the user, and the viewing time is greater than Or the page corresponding to the first threshold is determined as the user target page; and when the viewing time of the page viewed by the user in the at least one search is less than the first threshold, determining the page corresponding to the longest viewing time as the user Target page.
  • the first threshold can be set according to the situation, and no specific limitation is imposed here.
  • the search target is the image of Galaxy Guard 2. If the first threshold is 3 minutes, the user stays in Douban for 10 minutes, and the time spent on Mtime is In 5 minutes, the watercress network and the Mtime network can be determined as the user target page.
  • the user may view the time of all the pages less than the first threshold.
  • the page corresponding to the longest viewing time may be determined as the user target page.
  • the S131 ′ may further include: in response to determining that the current search is a repeated search, sorting pages viewed by the user in the at least one search according to the number of times the user views the page, and viewing The page corresponding to the number of times greater than or equal to the second threshold is determined as the user target page; and when the number of views is less than the second threshold, the last viewed page of the user in the at least one search is determined as the user target page.
  • the second threshold may be set according to actual conditions, but it can be understood that in one search, the user usually opens multiple pages for viewing. If the second threshold is 1, then multiple pages still exist after filtering. The generated user target page list contains too many pages, and the user may still need to slide or flip the page to affect the user experience. At this time, the second threshold can be set to be greater than 1, and the filtering effect is better. However, it can be understood that this situation only applies to the case where the user has performed at least two searches before, or clicked the same page twice in one search. Therefore, the page last viewed by the user at the last search in the at least one search is determined as the user target page when the number of views is less than the second threshold.
  • the number of times the user repeats the search can be recorded, that is, the number of searches is accumulated each time the repeated search is performed, and the second threshold can be set according to the number of repeated searches. For example, if the current search is a fourth search for a certain search condition, the second threshold can be set to 3 or even 4, and the resulting user target page will be more targeted.
  • the last viewed page of the user at the last search in at least one search may be determined as the user target page.
  • the page with the longest user viewing time in at least one search may also be determined as the user target page.
  • the new shortcut icon is linked to the user target page, the target page is opened.
  • the new shortcut icon can also be linked to the new search results, which opens the page where the new search results are located.
  • the display manner of the search result may be a display method of the search result commonly used in the art, and is not specifically limited herein.
  • FIG. 4 is a schematic structural diagram of a search apparatus 200 according to an embodiment of the present application. As shown in FIG. 3, the search apparatus 200 may include:
  • the receiving module 210 is configured to receive a search condition input by the user in the current search, and generate a search result according to the search condition;
  • the determining module 220 is configured to determine that the current search is a repeated search; wherein the repeated search indicates that the search condition is the same as the search condition of at least one search within a predetermined time interval;
  • the display module 230 is configured to display the search result and the shortcut icon in response to determining that the current search is a repeated search, wherein the shortcut icon is an icon linked to the user target page.
  • the shortcut icon can be located in the lower right corner of the page of the search results.
  • display module 330 can be further configured to display a page of the search results in response to determining that the current search is not a repeated search.
  • the display module 230 can include:
  • a page determining unit configured to determine a user target page in response to determining that the current search is a repeated search
  • a page association unit configured to link the shortcut icon to the determined user target page
  • the first display unit is configured to display the search result and the shortcut icon.
  • the page determining unit may be further configured to:
  • the page determining unit may be further configured to:
  • Determining that the page with the longest user viewing time in the at least one search is the second page, and determining the second page as the user target page.
  • the display module 230 may further include:
  • a page selection unit configured to select at least one user target page from the pages viewed by the user in the at least one search in response to determining that the current search is a repeated search
  • a result generating unit configured to generate a new search result and a new shortcut icon according to the at least one user target page
  • a second display unit configured to display the new search result and the new shortcut icon.
  • the page selection unit may be further configured to:
  • the page selection unit can be further configured to:
  • the number of views corresponding to the page is less than the second threshold, the last viewed page of the last search in the at least one search is determined as the user target page.
  • FIG. 5 is a schematic structural diagram of a server according to another embodiment of the present application. As shown in FIG. 5, the device includes:
  • One or more processors 310 One or more processors 310;
  • the storage device 320 is configured to store one or more programs
  • the communication interface 330 is configured to enable the processor 310 and the storage device 320 to communicate with an external device;
  • the one or more processors 310 When the one or more programs are executed by the one or more processors 310, the one or more processors 310 are caused to implement any of the foregoing search methods.
  • a computer readable storage medium storing a computer program that, when executed by a processor, implements any of the foregoing search methods.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” and “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is two or more unless specifically and specifically defined otherwise.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with such an instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the application can be implemented in hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, 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 circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units 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 separate products, may also be stored in a computer readable storage medium.
  • the storage medium may be a read only memory, a magnetic disk or an optical disk, or the like.

Abstract

本申请公开了一种搜索方法、装置和服务器。其中,搜索方法包括:接收用户在当前搜索中输入的搜索条件,并且根据所述搜索条件生成搜索结果;确定所述当前搜索为重复搜索;其中,所述重复搜索表示所述搜索条件与预定时间间隔内的至少一次搜索的搜索条件相同;以及响应于确定所述当前搜索为重复搜索,显示所述搜索结果以及快捷图标;其中,所述快捷图标为链接到用户目标页面的图标。本申请实施例中,根据用户的历史搜索,向用户提供快捷图标,以快速进入页面,提高了用户体验以及搜索效率,也节省了搜索时间。

Description

搜索方法、装置和服务器
本申请要求于2018年1月22日提交中国专利局、申请号为201810060484.7发明名称为“一种搜索方法、装置和服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及互联网领域,并具体涉及一种搜索方法、装置和服务器。
背景技术
目前,由于互联网技术的发展,人们越来越多地使用网络来进行各种活动。而今,随着移动终端领域的进展,各种网络行为、例如视频观看、搜索等都可以借助于移动终端来实现。作为互联网领域中一种尤其常用的应用,搜索是用户每天都要进行的活动。如何能使用户高效便利地进行搜索,是搜索领域中关注的一个问题。
在搜索领域,当用户进行搜索时,针对用户的搜索条件,出现的搜索结果列表往往会非常长,有时用户需要滑动或者翻页才能找到自己期望查看的网页。而很多时候,用户在进行搜索时,对于某一搜索条件,经常进行多次搜索,每次都打开相同的页面进行查看。此时,用户每次都需要进行重复搜索,重复点击,当用户的目标页面处于搜索页面中央或者需要滑动乃至翻页时,会显得非常不便,且浪费时间。
发明内容
本申请实施例提供一种搜索方法、装置和服务器,以至少解决现有技术中的以上技术问题。
第一方面,本申请实施例提供了一种搜索方法,包括:
接收用户在当前搜索中输入的搜索条件,并且根据所述搜索条件生成搜索结果;
确定所述当前搜索为重复搜索;其中,所述重复搜索表示所述搜索条件与预定时间间隔内的至少一次搜索的搜索条件相同;以及
响应于确定所述当前搜索为重复搜索,显示所述搜索结果以及快捷图标;其中,所述快捷图标为链接到用户目标页面的图标。
结合第一方面,本申请在第一方面的第一种实施方式中,所述响应于确定所述当前搜索为重复搜索,显示所述搜索结果以及快捷图标,包括:
响应于确定所述当前搜索为重复搜索,确定用户目标页面;
将所述快捷图标链接到所确定的用户目标页面;以及
显示所述搜索结果和所述快捷图标。
结合第一方面的第一种实施方式,所述确定用户目标页面包括:
确定所述至少一次搜索中最后一次搜索时用户最后查看的页面为第一页面,将所述第一页面确定为所述用户目标页面。
结合第一方面的第一种实施方式,所述确定用户目标页面包括:
确定所述至少一次搜索中用户查看时间最长的页面为第二页面,将所述第二页面确定为所述用户目标页面。
结合第一方面,本申请在第一方面的第二种实施方式中,
所述响应于确定所述当前搜索为重复搜索,显示所述搜索结果以及快捷图标,包括:
响应于确定所述当前搜索为重复搜索,从所述至少一次搜索中用户查看的页面中选择至少一个用户目标页面;
根据所述至少一个用户目标页面生成新的搜索结果和新的快捷图标;以及
显示所述新的搜索结果以及与所述新的快捷图标。
结合第一方面的第二种实施方式,所述从所述至少一次搜索中用户查看的页面中选择至少一个用户目标页面,包括:
基于用户对页面的查看时间,对所述至少一次搜索中用户查看的页面进行排序,将查看时间大于或等于第一阈值所对应的页面确定为用户目标页面;并且在所述至少一次搜索中用户查看的页面所对应的查看时间均小于所述第 一阈值时,将对应于最长查看时间的页面确定为用户目标页面。
结合第一方面的第二种实施方式,所述从所述至少一次搜索中用户查看的页面中选择至少一个用户目标页面,包括:
基于用户对页面的查看次数,对所述至少一次搜索中用户查看的页面进行排序,将查看次数大于或等于第二阈值所对应的页面作为用户目标页面,并且在所述至少一次搜索中用户查看的页面所对应的查看次数均小于所述第二阈值时,将所述至少一次搜索中最后一次搜索时用户最后查看的页面确定为用户目标页面。
结合第一方面,本申请在第一方面的第三种实施方式中,所述快捷图标位于所述搜索结果的页面的右下角。
结合第一方面,本申请在第一方面的第四种实施方式中,所述方法还包括:
响应于确定所述当前搜索不是重复搜索,显示所述搜索结果的页面。
第二方面,本申请实施例提供了一种搜索装置,包括:
接收模块,被配置为接收用户在当前搜索中输入的搜索条件,并且根据所述搜索条件生成搜索结果;
判断模块,被配置为确定所述当前搜索为重复搜索;其中,所述重复搜索表示所述搜索条件与预定时间间隔内的至少一次搜索的搜索条件相同;以及
显示模块,被配置为响应于确定所述当前搜索为重复搜索时,显示所述搜索结果以及快捷图标,其中,所述快捷图标为链接到用户目标页面的图标。
第三方面,本申请实施例提供了一种服务器,所述服务器包括:
一个或多个处理器;
存储装置,配置为存储一个或多个程序;
通信接口,配置为使所述处理器和存储装置与外部设备进行通信;
当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个 或多个处理器实现上述第一方面中的方法。
第四方面,本申请实施例提供了一种计算机可读存储介质,用于存储所述搜索装置所用的计算机软件指令,其包括用于执行上述第一方面中的搜索方法为所述搜索装置所涉及的程序。
上述技术方案中的另一个技术方案具有如下优点或有益效果:本申请实施例中,根据用户的历史搜索,向用户提供快捷图标,以快速进入页面,提高了用户体验以及搜索效率,也节省了搜索时间。
上述概述仅仅是为了说明书的目的,并不意图以任何方式进行限制。除上述描述的示意性的方面、实施方式和特征之外,通过参考附图和以下的详细描述,本申请进一步的方面、实施方式和特征将会是容易明白的。
附图说明
在附图中,除非另外规定,否则贯穿多个附图相同的附图标记表示相同或相似的部件或元素。这些附图不一定是按照比例绘制的。应该理解,这些附图仅描绘了根据本申请公开的一些实施方式,而不应将其视为是对本申请范围的限制。
图1为根据本申请一个实施例的搜索方法的流程图;
图2为根据本申请另一实施例的搜索结果显示方法的流程图;
图3为根据本申请另一实施例的搜索结果显示方法的流程图;
图4为根据本申请另一实施例的搜索装置的结构示意图;以及
图5为根据本申请另一实施例的服务器的结构示意图。
具体实施方式
在下文中,仅简单地描述了某些示例性实施例。正如本领域技术人员可认识到的那样,在不脱离本申请的精神或范围的情况下,可通过各种不同方式修改所描述的实施例。因此,附图和描述被认为本质上是示例性的而非限制性的。
图1示出了根据本申请一个实施例的搜索方法100的流程图。如图1所示,搜索方法100可以包括:
S110:接收用户在当前搜索中输入的搜索条件,并且根据所述搜索条件生成搜索结果;
S120:确定当前搜索为重复搜索;
如今,由于互联网的便捷,人们每天都会进行大量的搜索,这其中,很多次搜索都是重复的。本申请实施例中,需要在用户进行搜索时确定当前搜索是不是重复搜索。此处,重复搜索表示S110中用户输入的搜索条件与预定时间间隔内接收的至少一次搜索的搜索条件相同。
可以理解的是,用户针对某个搜索条件进行搜索时,产生的搜索结果根据时间的推移可能有所不同。例如,当用户搜索“最新漫威电影”时,根据电影的上映时间,“最新”的电影肯定会进行更新。因此,在本申请实施例中,在进行搜索时可以考虑预定时间间隔内用户所进行的搜索。该预定的时间间隔可以根据情况确定,例如一周、一个月等。
在本申请一个优选实施方式中,在进行重复搜索的判断时,可以利用用户移动终端本地记录的搜索历史数据,也可以利用搜索引擎提供方的云端数据库来进行。可以理解的是,由于用户的移动终端容量有限而不得不进行定期清理,或者用户可能会更换终端,本地存储的历史数据也会更新乃至消除,此时执行本申请实施例提供的搜索方法时可能准确度不够高。因此,本文中优选利用搜索引擎提供方的云端数据库执行本申请实施例提供的搜索方法。在这种情况下,预定时间间隔可以根据需要设置为比较长的时间、例如一年或更长的时间。
S130:响应于确定当前搜索为重复搜索,显示搜索结果以及快捷图标;
此处,快捷图标为链接到用户目标页面的图标。在本申请一个优选实施方式中,在显示搜索结果以及快捷图标之后,可以根据用户对快捷图标的点击操作,打开用户目标页面以供用户进行查看。
此外,如今的移动终端、例如平板电脑、智能手机等的屏幕各不相同,例如,市面上常见的智能手机屏幕有5.1或5.5英寸的,相对于用户的手掌大小而言,使用触摸屏来在智能手机上进行各种操作经常会有不方便的情况。例如,如果用户右手握持手机,在其使用大拇指进行操作的时候,想要点击屏幕中央,常常需要移动手掌,有时甚至需要换手握持手机,用另一只手进 行操作,这样相当于占用了用户两只手,很不方便。因此,在本申请一个优选实施方式中,快捷图标位于搜索结果页面的右下角,以便于用户进行操作,而无需换手握持手机。快捷图标的形状可以根据用户喜好而设置,例如可以提供多种形状供用户选择。
通过执行搜索方法100,可以快速进入特定页面,不需要进行滑动或翻页,提升了用户体验,也节省了搜索时间。
特别地,在本申请一个优选实施方式中,响应于确定当前搜索不是重复搜索,可以显示搜索结果的页面。
根据本申请另一实施例,S130可以包括:
S131,响应于确定当前搜索为重复搜索,确定用户目标页面;
可以理解的是,用户在一次搜索期间会打开多个页面进行查看,以确定自己的搜索目标。当确定了自己期望查看的页面时,会停留在该页面,直到关闭浏览器或者回到搜索条件输入页面进行下一次搜索。因此,在本申请一个优选实施方式中,确定用户目标页面可以包括:确定所述至少一次搜索中最后一次搜索时用户最后查看的页面为第一页面,将所述第一页面确定为所述用户目标页面。
例如,当搜索条件为“银河护卫队2”,而用户的目标页面是银河护卫队2的影评时,他在打开多个页面进行查看之后,最后停留在豆瓣网关于银河护卫队2的页面上。此时,便可以将该页面作为用户目标页面。
特别地,用户可能由于某种原因,在查看网页时突然退出,此时他可能停留在页面的某个部分,例如显示某个具体影评的页面上;更特别地,用户可能已经将页面下拉了一部分,停留在整个页面的正中间。在这种情况下,可以记录用户停留的具体位置,将对应的页面作为用户目标页面。此时,快捷图标链接到的页面就是用户上次查看到的位置。
此外,还可以理解的是,在确定目标页面时,用户在查看了自己的目标页面之后,也可能对其他相关页面也进行查看。在上述优选实施方式的一个替代实施方式中,确定用户目标页面可以包括:确定所述至少一次搜索中用 户查看时间最长的页面为第二页面,将所述第二页面确定为所述用户目标页面。
再次以用户搜索“银河护卫队2”的影评作为示例。当用户点击进入豆瓣网的相关页面进行查看之后,可能又点击进入其他网站、例如新浪、搜狐等门户网站查看相关影评,但与查看豆瓣网的相关页面的时间相比,时间并不长。此时,仍然可以将豆瓣网的相关页面作为用户目标页面。
S132,将所述快捷图标链接到所确定的用户目标页面;以及
S133,显示搜索结果和快捷图标。
可以理解的是,有时,在一次搜索中,用户对A页面的查看时间为10分钟,而对B页面的查看时间为5分钟;在另一次搜索中,用户对A页面的查看时间为5分钟,对B页面的查看时间为8分钟,说明用户对A页面和B页面都是很感兴趣的。此时,如果只是将其上一次搜索时最后查看的页面或者停留时间最长的页面作为用户目标页面,所提供的快捷图标链接到的页面可能不够精确,因此,在本申请另一实施例中,如图3所示,S130可以包括:
S131’:响应于确定所述当前搜索为重复搜索,从所述至少一次搜索中用户查看的页面中选择至少一个用户目标页面。
在本申请一个优选实施方式中,S131’可以进一步包括:响应于确定当前搜索为重复搜索,基于用户对页面的查看时间,对所述至少一次搜索中用户查看的页面进行排序,将查看时间大于或等于第一阈值所对应的页面确定为用户目标页面;并且在所述至少一次搜索中用户查看的页面的查看时间均小于所述第一阈值时将对应于查看时间最长的页面确定为用户目标页面。第一阈值可以根据情况设置,在此不做具体限制。
仍然以搜索条件为“银河护卫队2”,搜索目标为银河护卫队2的影评为例,如果第一阈值为3分钟,用户在豆瓣网停留的时间为10分钟,在Mtime网上停留的时间为5分钟,则可以将豆瓣网和Mtime网确定为用户目标页面。
但是,可以理解的是,用户可能对所有页面的查看时间均小于第一阈值,此时,可以将对应于查看时间最长的页面确定为用户目标页面。
在上述实施方式的一个替代实施方式中,S131’可以进一步包括:响应 于确定当前搜索为重复搜索,基于用户对页面的查看次数,对所述至少一次搜索中用户查看的页面进行排序,将查看次数大于或等于第二阈值所对应的页面确定为用户目标页面;并且在所述查看次数均小于所述第二阈值时将所述至少一次搜索中用户最后查看的页面确定为用户目标页面。
第二阈值可以根据实际情况设置,但是可以理解的是,在一次搜索中,用户通常打开多个页面进行查看,此时如果第二阈值为1,则过滤之后仍然会存在多个页面,由此生成的用户目标页面列表包含的页面过多,用户可能仍然需要滑动或者翻页,影响用户体验。此时,可以将第二阈值设置为大于1,过滤的效果会更好。但是可以理解的是,这种情况只适用于用户之前进行过至少两次搜索,或者在一次搜索中两次点开同一页面的情况。因此,此处在所述查看次数均小于所述第二阈值时将所述至少一次搜索中最后一次搜索时用户最后查看的页面确定为用户目标页面。特别地,可以记录用户重复搜索的次数,即每次进行重复搜索之后,将搜索次数累积,而第二阈值可以根据重复搜索的次数进行设置。例如,如果本次搜索是针对某个搜索条件的第四次搜索,则可以将第二阈值设置为3甚至是4,由此得到的用户目标页面会更有针对性。
此外,在基于查看时间进行排序时,如果查看时间均小于第一阈值时,也可以将至少一次搜索中最后一次搜索时用户最后查看的页面确定为用户目标页面。类似地,在基于查看次数进行排序时,也可以将至少一次搜索中用户查看时间最长的页面确定为用户目标页面。
可以理解的是,预定的时间间隔越长,用户进行重复搜索的次数就越多,进而形成的搜索数据库包含的数据量也越大,因此,利用搜索引擎提供方的云端数据库的另一个优势在于能够更准确地设置第一阈值和第二阈值。
S132’:根据所述至少一个用户目标页面生成新的搜索结果和新的快捷图标;
S133’:显示新的搜索结果以及与新的快捷图标。
需要说明的是,如果新的快捷图标链接到的是用户目标页面,打开的就是该目标页面。新的快捷图标也可以链接到新的搜索结果,此时打开的就是新的搜索结果所在的页面。
搜索结果的显示方式可以是本领域中惯用的搜索结果显示方式,在此不做具体限制。
图4示出了根据本申请一个实施例的搜索装置200的结构示意图,如图3所示,搜索装置200可以包括:
接收模块210,被配置为接收用户在当前搜索中输入的搜索条件,并且根据所述搜索条件生成搜索结果;
判断模块220,被配置为确定所述当前搜索为重复搜索;其中,所述重复搜索表示所述搜索条件与预定时间间隔内的至少一次搜索的搜索条件相同;以及
显示模块230,被配置为响应于确定所述当前搜索为重复搜索时,显示所述搜索结果以及快捷图标,其中,所述快捷图标为链接到用户目标页面的图标。
优选地,快捷图标可以位于所述搜索结果的页面的右下角。
并且,优选地,显示模块330可以进一步被配置为响应于确定所述当前搜索不是重复搜索,显示所述搜索结果的页面。
在本申请一个优选实施方式中,显示模块230可以包括:
页面确定单元,被配置为响应于确定所述当前搜索为重复搜索,确定用户目标页面;
页面关联单元,被配置为将所述快捷图标链接到所确定的用户目标页面;以及
第一显示单元,被配置为显示所述搜索结果和所述快捷图标。
此处,在本申请一个优选实施方式中,页面确定单元可以进一步被配置为:
确定所述至少一次搜索中最后一次搜索时用户最后查看的页面为第一页 面,将所述第一页面确定为所述用户目标页面。
在上述实施方式的一个替代实施方式中,页面确定单元可以进一步被配置为:
确定所述至少一次搜索中用户查看时间最长的页面为第二页面,将所述第二页面确定为所述用户目标页面。
在本申请另一优选实施方式中,显示模块230还可以包括:
页面选择单元,被配置为响应于确定所述当前搜索为重复搜索,从所述至少一次搜索中用户查看的页面中选择至少一个用户目标页面;
结果生成单元,被配置为根据所述至少一个用户目标页面生成新的搜索结果和新的快捷图标;
第二显示单元,被配置为显示所述新的搜索结果以及与所述新的快捷图标。
此处,页面选择单元可以进一步被配置为:
基于用户对页面的查看时间,对所述至少一次搜索中用户查看的页面进行排序,将查看时间大于或等于第一阈值所对应的页面确定为用户目标页面;并且在所述至少一次搜索中用户查看的页面所对应的查看时间均小于所述第一阈值时,将对应于最长查看时间的页面确定为用户目标页面。
在一个替代实施方式中,页面选择单元可以进一步被配置为:
基于用户对页面的查看次数,对所述至少一次搜索中用户查看的页面进行排序,将查看次数大于或等于第二阈值所对应的页面作为用户目标页面,并且在所述至少一次搜索中用户查看的页面所对应的查看次数均小于所述第二阈值时,将所述至少一次搜索中最后一次搜索时用户最后查看的页面确定为用户目标页面。
图5示出了根据本申请另一实施例的服务器的结构示意图。如图5所示,改设备包括:
一个或多个处理器310;
存储装置320,配置为存储一个或多个程序;
通信接口330,配置为使所述处理器310和存储装置320与外部设备进行通信;
当所述一个或多个程序被所述一个或多个处理器310执行时,使得所述一个或多个处理器310实现前述任一种搜索方法。
根据本申请另一实施例,提供了一种计算机可读存储介质,其存储有计算机程序,该程序被处理器执行时实现前述任一种搜索方法。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、 包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读存储介质中。所述存储介质可以是只读存储器,磁盘或光盘等。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限 于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到其各种变化或替换,这些都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (20)

  1. 一种搜索方法,其特征在于,包括:
    接收用户在当前搜索中输入的搜索条件,并且根据所述搜索条件生成搜索结果;
    确定所述当前搜索为重复搜索;其中,所述重复搜索表示所述搜索条件与预定时间间隔内的至少一次搜索的搜索条件相同;以及
    响应于确定所述当前搜索为重复搜索,显示所述搜索结果以及快捷图标;其中,所述快捷图标为链接到用户目标页面的图标。
  2. 根据权利要求1所述的方法,其特征在于,所述响应于确定所述当前搜索为重复搜索,显示所述搜索结果以及快捷图标,包括:
    响应于确定所述当前搜索为重复搜索,确定用户目标页面;
    将所述快捷图标链接到所确定的用户目标页面;以及
    显示所述搜索结果和所述快捷图标。
  3. 根据权利要求2所述的方法,其特征在于,所述确定用户目标页面包括:
    确定所述至少一次搜索中最后一次搜索时用户最后查看的页面为第一页面,将所述第一页面确定为所述用户目标页面。
  4. 根据权利要求2所述的方法,其特征在于,所述确定用户目标页面包括:
    确定所述至少一次搜索中用户查看时间最长的页面为第二页面,将所述第二页面确定为所述用户目标页面。
  5. 根据权利要求1所述的方法,其特征在于,所述响应于确定所述当前搜索为重复搜索,显示所述搜索结果以及快捷图标,包括:
    响应于确定所述当前搜索为重复搜索,从所述至少一次搜索中用户查看的页面中选择至少一个用户目标页面;
    根据所述至少一个用户目标页面生成新的搜索结果和新的快捷图标;以 及
    显示所述新的搜索结果以及与所述新的快捷图标。
  6. 根据权利要求5所述的方法,其特征在于,所述从所述至少一次搜索中用户查看的页面中选择至少一个用户目标页面,包括:
    基于用户对页面的查看时间,对所述至少一次搜索中用户查看的页面进行排序,将查看时间大于或等于第一阈值所对应的页面确定为用户目标页面;并且在所述至少一次搜索中用户查看的页面所对应的查看时间均小于所述第一阈值时,将对应于最长查看时间的页面确定为用户目标页面。
  7. 根据权利要求5所述的方法,其中,所述从所述至少一次搜索中用户查看的页面中选择至少一个用户目标页面,包括:
    基于用户对页面的查看次数,对所述至少一次搜索中用户查看的页面进行排序,将查看次数大于或等于第二阈值所对应的页面作为用户目标页面,并且在所述至少一次搜索中用户查看的页面所对应的查看次数均小于所述第二阈值时,将所述至少一次搜索中最后一次搜索时用户最后查看的页面确定为用户目标页面。
  8. 根据权利要求1所述的方法,其特征在于,所述快捷图标位于所述搜索结果的页面的右下角。
  9. 根据权利要求1所述的方法,其特征在于,还包括:
    响应于确定所述当前搜索不是重复搜索,显示所述搜索结果的页面。
  10. 一种搜索装置,其特征在于,包括:
    接收模块,被配置为接收用户在当前搜索中输入的搜索条件,并且根据所述搜索条件生成搜索结果;
    判断模块,被配置为确定所述当前搜索为重复搜索;其中,所述重复搜索表示所述搜索条件与预定时间间隔内的至少一次搜索的搜索条件相同;以及
    显示模块,被配置为响应于确定所述当前搜索为重复搜索时,显示所述搜索结果以及快捷图标,其中,所述快捷图标为链接到用户目标页面的图标。
  11. 根据权利要求10所述的装置,其特征在于,所述显示模块包括:
    页面确定单元,被配置为响应于确定所述当前搜索为重复搜索,确定用户目标页面;
    页面关联单元,被配置为将所述快捷图标链接到所确定的用户目标页面;以及
    第一显示单元,被配置为显示所述搜索结果和所述快捷图标。
  12. 根据权利要求11所述的装置,其特征在于,所述页面确定单元进一步被配置为:
    确定所述至少一次搜索中最后一次搜索时用户最后查看的页面为第一页面,将所述第一页面确定为所述用户目标页面。
  13. 根据权利要求11所述的装置,其特征在于,所述页面确定单元进一步被配置为:
    确定所述至少一次搜索中用户查看时间最长的页面为第二页面,将所述第二页面确定为所述用户目标页面。
  14. 根据权利要求10所述的装置,其特征在于,所述显示模块还包括:
    页面选择单元,被配置为响应于确定所述当前搜索为重复搜索,从所述至少一次搜索中用户查看的页面中选择至少一个用户目标页面;
    结果生成单元,被配置为根据所述至少一个用户目标页面生成新的搜索结果和新的快捷图标;以及
    第二显示单元,被配置为显示所述新的搜索结果以及与所述新的快捷图标。
  15. 根据权利要求14所述的装置,其特征在于,所述页面选择单元进一步被配置为:
    基于用户对页面的查看时间,对所述至少一次搜索中用户查看的页面进行排序,将查看时间大于或等于第一阈值所对应的页面确定为用户目标页面;并且在所述至少一次搜索中用户查看的页面所对应的查看时间均小于所述第一阈值时,将对应于最长查看时间的页面确定为用户目标页面。
  16. 根据权利要求14所述的装置,其特征在于,所述页面选择单元进一步被配置为:
    基于用户对页面的查看次数,对所述至少一次搜索中用户查看的页面进行排序,将查看次数大于或等于第二阈值所对应的页面作为用户目标页面,并且在所述至少一次搜索中用户查看的页面所对应的查看次数均小于所述第二阈值时,将所述至少一次搜索中最后一次搜索时用户最后查看的页面确定为用户目标页面。
  17. 根据权利要求10所述的装置,其特征在于,所述快捷图标位于所述搜索结果的页面的右下角。
  18. 根据权利要求10所述的装置,其特征在于,所述显示模块进一步被配置为:
    响应于确定所述当前搜索不是重复搜索,显示所述搜索结果的页面。
  19. 一种服务器,其特征在于,所述服务器包括:
    一个或多个处理器;
    存储装置,配置为存储一个或多个程序;
    通信接口,配置为使所述处理器和所述存储装置与外部设备进行通信;
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1-9中任一所述的方法。
  20. 一种计算机可读存储介质,其存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-9中任一所述的方法。
PCT/CN2018/109819 2018-01-22 2018-10-11 搜索方法、装置和服务器 WO2019140959A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810060484.7 2018-01-22
CN201810060484.7A CN108256085A (zh) 2018-01-22 2018-01-22 一种搜索方法、装置和服务器

Publications (1)

Publication Number Publication Date
WO2019140959A1 true WO2019140959A1 (zh) 2019-07-25

Family

ID=62742066

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/109819 WO2019140959A1 (zh) 2018-01-22 2018-10-11 搜索方法、装置和服务器

Country Status (2)

Country Link
CN (1) CN108256085A (zh)
WO (1) WO2019140959A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256085A (zh) * 2018-01-22 2018-07-06 北京百度网讯科技有限公司 一种搜索方法、装置和服务器

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183364A (zh) * 2006-11-24 2008-05-21 腾讯科技(深圳)有限公司 一种信息搜索方法、搜索引擎客户端/服务器及系统
CN102591969A (zh) * 2011-12-31 2012-07-18 北京百度网讯科技有限公司 基于用户历史行为提供搜索结果的方法及服务器
CN104462557A (zh) * 2014-12-25 2015-03-25 北京奇虎科技有限公司 基于搜索历史记录的即时搜索方法及装置
CN106776957A (zh) * 2016-12-05 2017-05-31 乐视控股(北京)有限公司 内容搜索方法、装置及电子设备
CN108256085A (zh) * 2018-01-22 2018-07-06 北京百度网讯科技有限公司 一种搜索方法、装置和服务器

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183364A (zh) * 2006-11-24 2008-05-21 腾讯科技(深圳)有限公司 一种信息搜索方法、搜索引擎客户端/服务器及系统
CN102591969A (zh) * 2011-12-31 2012-07-18 北京百度网讯科技有限公司 基于用户历史行为提供搜索结果的方法及服务器
CN104462557A (zh) * 2014-12-25 2015-03-25 北京奇虎科技有限公司 基于搜索历史记录的即时搜索方法及装置
CN106776957A (zh) * 2016-12-05 2017-05-31 乐视控股(北京)有限公司 内容搜索方法、装置及电子设备
CN108256085A (zh) * 2018-01-22 2018-07-06 北京百度网讯科技有限公司 一种搜索方法、装置和服务器

Also Published As

Publication number Publication date
CN108256085A (zh) 2018-07-06

Similar Documents

Publication Publication Date Title
US11227006B2 (en) Content-aware filter options for media object collections
US8990727B2 (en) Fisheye-based presentation of information for mobile devices
CN108874289B (zh) 应用历史记录查看方法、装置及电子设备
US8468458B2 (en) Dynamic and local management of hierarchical discussion thread data
US9354790B2 (en) Dynamically selecting and ordering facets and facet values in a user interface based on user preference
US10936568B2 (en) Moving nodes in a tree structure
EP2250622B1 (en) Service preview and access from an application page
US9305330B2 (en) Providing images with zoomspots
US20150215245A1 (en) User interface for graphical representation of and interaction with electronic messages
US9542473B2 (en) Tagged search result maintainance
WO2017215175A1 (zh) 页面处理方法、装置、终端及服务器
US8887100B1 (en) Multi-dimensional hierarchical browsing
US20140164893A1 (en) Assisted portal navigation and crowd-based feedback
US20120159341A1 (en) Interactions with contextual and task-based computing environments
US10394921B2 (en) Career path navigation
US8341519B1 (en) Tab assassin
US20110093478A1 (en) Filter hints for result sets
US9710563B2 (en) Search engine analytics and optimization for media content in social networks
US20120110002A1 (en) Data Rendering Optimization
US9619519B1 (en) Determining user interest from non-explicit cues
US20150221014A1 (en) Clustered browse history
WO2019140959A1 (zh) 搜索方法、装置和服务器
US11714537B2 (en) Techniques for providing a search interface within a carousel
KR20120087078A (ko) 휴대장치의 웹 브라우징 방법 및 장치
CN117390284A (zh) 书籍推荐方法、装置、介质和电子设备

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18901020

Country of ref document: EP

Kind code of ref document: A1