WO2017000613A1 - 在搜索结果页中生成提示信息的方法及装置 - Google Patents

在搜索结果页中生成提示信息的方法及装置 Download PDF

Info

Publication number
WO2017000613A1
WO2017000613A1 PCT/CN2016/078359 CN2016078359W WO2017000613A1 WO 2017000613 A1 WO2017000613 A1 WO 2017000613A1 CN 2016078359 W CN2016078359 W CN 2016078359W WO 2017000613 A1 WO2017000613 A1 WO 2017000613A1
Authority
WO
WIPO (PCT)
Prior art keywords
search result
result item
link
search
page
Prior art date
Application number
PCT/CN2016/078359
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 WO2017000613A1 publication Critical patent/WO2017000613A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • 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/951Indexing; Web crawling techniques
    • 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/954Navigation, e.g. using categorised browsing

Definitions

  • the present invention relates to the field of information search technology, and in particular, to a method and apparatus for generating prompt information in a search result page.
  • the search engine refers to collecting information from the Internet according to a certain strategy and using a specific computer program. After organizing and processing the information, it provides a search service for the user, which will be related to the user search. The information is presented to the user's system.
  • the search engine changes the color of the title in the search result item to prompt the user that the search result item has been browsed.
  • the above manner cannot clearly prompt the user which search result items have been browsed, which is disadvantageous for the user to distinguish between browsed and unbrowsed search result items.
  • the present invention has been made in order to provide a method and apparatus for generating prompt information in a search result page that overcomes the above problems or at least partially solves the above problems.
  • a method for generating prompt information in a search result page including:
  • a prompt message indicating that the corresponding webpage of the link has been browsed is generated at a specified position of the search result item.
  • an apparatus for generating prompt information in a search result page comprising:
  • An event listener adapted to listen for a trigger event corresponding to a link of a search result item in a search result page
  • the information generator is adapted to generate prompt information indicating that the webpage corresponding to the link has been browsed at a specified position of the search result item when the triggering event corresponding to the link of the search result item is monitored.
  • a computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform according to the above How to generate a prompt message in the search results page.
  • a computer readable medium storing the above computer program is provided.
  • the embodiment of the present invention when a trigger event corresponding to a link of a search result item in a search result page is monitored, when a trigger event corresponding to a link of a search result item is monitored, generating a representation at the specified position of the search result item has been browsed.
  • This link corresponds to the prompt information of the web page. Since the generated prompt information can clearly and intuitively identify that the webpage corresponding to the link has been browsed, the prompt information is presented to the user, which can help the user to clearly distinguish the browsed and unbrowsed links in the search result page, thereby improving the user's search. Experience.
  • the embodiment of the present invention can flexibly set the specified location of the search result item according to actual requirements, so that the prompt information generated at the specified location can be presented to the user more intuitively.
  • FIG. 1 shows a flow chart of a method of generating prompt information in a search result page according to an embodiment of the present invention
  • FIG. 2 shows a schematic diagram of a search result page in accordance with an embodiment of the present invention
  • FIG. 3 is a schematic diagram showing a search result page according to another embodiment of the present invention.
  • FIG. 4 is a schematic diagram of generating prompt information in a search result page according to an embodiment of the invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for generating prompt information in a search result page according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of an apparatus for generating prompt information in a search result page according to another embodiment of the present invention.
  • Figure 7 is a schematic block diagram of a computing device for performing a method of generating hint information in a search results page in accordance with the present invention
  • Figure 8 is a schematic illustration of a method for maintaining or carrying a build in a search results page in accordance with the present invention.
  • an embodiment of the present invention provides a method for generating prompt information in a search result page, which can be applied to a PC (Personal Computer), a notebook computer, a mobile phone, a tablet computer, a smart watch, etc. On devices with search capabilities.
  • FIG. 1 illustrates a flow chart of a method of generating prompt information in a search result page, in accordance with an embodiment of the present invention. Referring to FIG. 1, the method includes at least steps S102 to S104.
  • Step S102 monitoring a trigger event corresponding to the link of the search result item in the search result page.
  • step S104 when a trigger event corresponding to a search result item is monitored, a prompt information indicating that the corresponding webpage of the link has been browsed is generated at a specified position of the search result item.
  • the embodiment of the present invention when a trigger event corresponding to a link of a search result item in a search result page is monitored, when a trigger event corresponding to a link of a search result item is monitored, generating a representation at the specified position of the search result item has been browsed.
  • This link corresponds to the prompt information of the web page. Since the generated prompt information can clearly and intuitively identify that the webpage corresponding to the link has been browsed, the prompt information is presented to the user, which can help the user to clearly distinguish the browsed and unbrowsed links in the search result page, thereby improving the user's search. Experience.
  • the embodiment of the present invention can flexibly set the specified location of the search result item according to actual requirements, so that the prompt information generated at the specified location can be presented to the user more intuitively.
  • the trigger event of the link corresponding to the search result item in the search result page can be monitored by the click event of the JavaScript.
  • the search result page mentioned in step S102 may be a search result page obtained by using a search term search, or may be obtained by using a search term to obtain a plurality of search result items, and triggering an aggregate link element in one search result item to obtain A search results page that contains search results related to search result items.
  • the search term is "dice”
  • the search result page obtained by searching for the word "dice” is as shown in FIG.
  • the prompt information indicating that the webpage corresponding to the link has been browsed in the specified position of the search result item in step S104 can be implemented as a DOM (Document Object Model) corresponding to the search result page.
  • the DOM tree node corresponding to the specified location of the search result item is determined, and then the prompt information indicating that the corresponding webpage of the link has been browsed is inserted into the DOM tree node corresponding to the specified location of the search result item.
  • the form of the prompt information may include text, pictures or animations, etc. It is not limited to this.
  • the summary and the picture of the browsed search result item can be folded or deleted, so that the occupied page space is greatly reduced, so that more unbrowsed content can be displayed in advance, thereby facilitating the user to You can browse more content while scrolling the page. That is, in step S104, when a trigger event corresponding to a search result item is monitored, other information than the title in the search result item is deleted. For example, in the search result page of FIG.
  • the search result item is deleted except the title “Dragon Boat Festival, humming Other information than the traditional culture of the Muscat Festival, and the prompt information "Browsed" is generated at the designated position of the search result item, as shown in FIG. 4, the prompt information "Browsed” can help the user to clearly distinguish the search results. Links to and unbrowsed links in the page enhance the user’s search experience. Moreover, the deletion of the summary content saves the page space occupied by the search result item, so that more content can be displayed on the page, and the user is provided with additional help. In addition, since the aggregate link element "Related News: 126" in the search result item is not triggered, it can be retained in the search result item.
  • deleting the information other than the title in the search result item in the embodiment of the present invention may be implemented as a DOM tree node in which the information other than the title in the search result item is located in the DOM tree corresponding to the search result page. Further, from the DOM tree node, information other than the title in the search result item is deleted.
  • the search result item is located in the first half of the search result page. After the adjustment. It can be seen that the embodiment of the present invention adjusts the search result item that the user has browsed to the second half of the search result page, so that the first half of the search result page can display more content that the user has not browsed, thereby improving the user's search experience. .
  • FIG. 5 is a block diagram showing the structure of an apparatus for generating prompt information in a search result page according to an embodiment of the present invention.
  • the apparatus may include at least an event listener 510 and an information generator 520.
  • the event listener 510 is adapted to monitor a trigger event corresponding to the link of the search result item in the search result page;
  • the information generator 520 is coupled to the event listener 510, and is adapted to generate a prompt message indicating that the webpage corresponding to the link has been browsed at a specified position of the search result item when the trigger event corresponding to the link of the search result item is monitored. .
  • the information generator 520 is further adapted to:
  • the prompt information indicating that the corresponding webpage of the link has been browsed is inserted into the DOM tree node corresponding to the specified location of the search result item.
  • the apparatus shown in FIG. 5 above may further include:
  • the information deleter 530 is coupled to the event listener 510 and is adapted to delete other information in the search result item other than the title when the trigger event corresponding to the link of a search result item is monitored.
  • the information deleter 530 is further adapted to:
  • the apparatus shown in FIG. 5 above may further include:
  • the adjuster 540 is coupled to the information generator 520, and is adapted to generate, after the prompt information indicating that the webpage corresponding to the link has been browsed, at the specified position of the search result item, if the search result item is located in the first half of the search result page, Adjust it later.
  • the search result page includes:
  • the aggregate link element in one of the search result items is triggered to obtain a search result page including search results related to the search result item.
  • the event listener 510 is further adapted to:
  • the trigger event of the link corresponding to the search result item in the search result page is monitored.
  • the form of the prompt information includes at least one of a text, a picture, and an animation.
  • the embodiment of the present invention can achieve the following beneficial effects:
  • the embodiment of the present invention when a trigger event corresponding to a link of a search result item in a search result page is monitored, when a trigger event corresponding to a link of a search result item is monitored, generating a representation at the specified position of the search result item has been browsed.
  • This link corresponds to the prompt information of the web page. Since the generated prompt information can clearly and intuitively identify that the webpage corresponding to the link has been browsed, the prompt information is presented to the user, which can help the user to clearly distinguish the browsed and unbrowsed links in the search result page, thereby improving the user's search. Experience.
  • the embodiment of the present invention can flexibly set a specified position of the search result item according to actual needs, so that the generated position is generated at the specified position.
  • the prompt information can be presented to the user more intuitively.
  • 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 of some or all of the means for generating prompt information in a search results page in accordance with an embodiment of the present invention. Or all features.
  • 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.
  • Such 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 may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 7 illustrates a computing device that can implement a method of generating hint information in a search results page.
  • the computing device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720.
  • Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • Memory 720 has a memory space 730 for program code 731 for performing any of the method steps described above.
  • storage space 730 for program code may include various program code 731 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 similarly arranged to memory 720 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 731', ie, code readable by a processor, such as 710, 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)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种在搜索结果页中生成提示信息的方法及装置。该方法包括:监听对搜索结果页中的搜索结果项对应链接的触发事件(S102);当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息(S104)。该技术方案中,由于生成的提示信息能够清楚、直观地标识链接对应的网页已被浏览,将提示信息呈现给用户,能够帮助用户清晰地区分搜索结果页中已浏览和未浏览的链接,从而提升了用户的搜索体验。

Description

在搜索结果页中生成提示信息的方法及装置 技术领域
本发明涉及信息搜索技术领域,特别是一种在搜索结果页中生成提示信息的方法及装置。
背景技术
随着信息技术的飞速发展,当今社会进入了信息***时代,人们越来越多地借助网络来寻找自己需要的信息,因此,检索成为人们工作、生活不可或缺的一部分。
人们通常使用搜索引擎来进行检索,搜索引擎是指根据一定的策略、运用特定的计算机程序从互联网上搜集信息,在对信息进行组织和处理后,为用户提供检索服务,将与用户检索相关的信息展示给用户的***。
现有技术中,用户点击搜索结果页中一搜索结果项对应的链接后,搜索引擎会更改该搜索结果项中标题的颜色,以便提示用户该搜索结果项已经被浏览。然而,在实际应用中,上述方式不能清晰地提示用户哪些搜索结果项已经被浏览,不利于用户区分已浏览和未浏览的搜索结果项。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的在搜索结果页中生成提示信息的方法及装置。
依据本发明的一方面,提供了一种在搜索结果页中生成提示信息的方法,包括:
监听对搜索结果页中的搜索结果项对应链接的触发事件;
当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。
依据本发明的另一方面,还提供了一种在搜索结果页中生成提示信息的装置,包括:
事件***,适于监听对搜索结果页中的搜索结果项对应链接的触发事件;
信息生成器,适于当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。
依据本发明的又一方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据上文所述的 在搜索结果页中生成提示信息的方法。
依据本发明的再一方面,提供了一种计算机可读介质,其中存储了上述的计算机程序。
本发明的有益效果为:
本发明实施例中,监听对搜索结果页中的搜索结果项对应链接的触发事件,当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。由于生成的提示信息能够清楚、直观地标识链接对应的网页已被浏览,将提示信息呈现给用户,能够帮助用户清晰地区分搜索结果页中已浏览和未浏览的链接,从而提升了用户的搜索体验。并且,本发明实施例可以根据实际需求灵活设置搜索结果项的指定位置,使得在该指定位置生成的提示信息能够更加直观地呈现给用户。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了根据本发明一实施例的在搜索结果页中生成提示信息的方法的流程图;
图2示出了根据本发明一实施例的搜索结果页的示意图;
图3示出了根据本发明另一实施例的搜索结果页的示意图;
图4示出了根据本发明一实施例的在搜索结果页中生成提示信息的示意图;
图5示出了根据本发明一实施例的在搜索结果页中生成提示信息的装置的结构示意图;
图6示出了根据本发明另一实施例的在搜索结果页中生成提示信息的装置的结构示意图;
图7示意性地示出了用于执行根据本发明的在搜索结果页中生成提示信息的方法的计算设备的框图;以及
图8示意性地示出了用于保持或者携带实现根据本发明的在搜索结果页中生成 提示信息的方法的程序代码的存储单元。
具体实施方式
下面结合附图和具体的实施方式对本发明作进一步的描述。
为解决上述技术问题,本发明实施例提供了一种在搜索结果页中生成提示信息的方法,该方法可以应用在PC(Personal Computer,个人电脑)、笔记本电脑、手机、平板电脑、智能手表等具备搜索功能的设备上。图1示出了根据本发明一实施例的在搜索结果页中生成提示信息的方法的流程图。参见图1,该方法至少包括步骤S102至步骤S104。
步骤S102,监听对搜索结果页中的搜索结果项对应链接的触发事件。
步骤S104,当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。
本发明实施例中,监听对搜索结果页中的搜索结果项对应链接的触发事件,当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。由于生成的提示信息能够清楚、直观地标识链接对应的网页已被浏览,将提示信息呈现给用户,能够帮助用户清晰地区分搜索结果页中已浏览和未浏览的链接,从而提升了用户的搜索体验。并且,本发明实施例可以根据实际需求灵活设置搜索结果项的指定位置,使得在该指定位置生成的提示信息能够更加直观地呈现给用户。
上文步骤S102中,可以通过JavaScript的click(点击)事件,对搜索结果页中的搜索结果项对应链接的触发事件进行监听。进一步,步骤S102中提及的搜索结果页可以是利用搜索词搜索得到的搜索结果页,或者可以是利用搜索词搜索得到多个搜索结果项后,触发其中一搜索结果项中的聚合链接元素得到包含与搜索结果项相关搜索结果的搜索结果页。例如,搜索词为“粽子”,利用搜索词“粽子”搜索得到的搜索结果页,如图2所示。在利用搜索词“粽子”搜索得到多个搜索结果项后,触发其中一搜索结果项“端午,氤氲着传统文化粽香的节日”中的聚合链接元素“相关新闻:126”得到包含与搜索结果项相关搜索结果的搜索结果页,如图3所示。
在本发明一实施例中,步骤S104中在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息可以实施为在搜索结果页对应的DOM(Document Object Model,文本对象模型)树中,确定该搜索结果项的指定位置对应的DOM树节点,随后将表示已浏览过该链接对应网页的提示信息***该搜索结果项的指定位置对应的DOM树节点。这里,提示信息的形式可以包括文字、图片或动画等,本发 明不限于此。
在本发明的另一实施例中,可以将已浏览的搜索结果项的摘要和图片折叠或删除,使其占用页面空间大幅减少,使更多未浏览的内容得以提前展示,从而方便用户在不滚动页面的情况下可以浏览更多的内容。即,在步骤S104中,当监听到对一搜索结果项对应链接的触发事件时,删除该搜索结果项中除标题以外的其他信息。以上文图2的搜索结果页为例,当监听到对搜索结果项“端午,氤氲着传统文化粽香的节日”对应链接的触发事件时,删除该搜索结果项中除标题“端午,氤氲着传统文化粽香的节日”以外的其他信息,并在该搜索结果项的指定位置生成提示信息“已浏览”,如图4所示,该提示信息“已浏览”能够帮助用户清晰地区分搜索结果页中已浏览和未浏览的链接,从而提升了用户的搜索体验。并且,摘要内容的删除节省了该搜索结果项占用的页面空间,使得在该页面能够展示更多的内容,给用户提供额外的帮助。另外,由于该搜索结果项中的聚合链接元素“相关新闻:126”未被触发,因而可以保留在该搜索结果项中。
进一步,本发明实施例中删除该搜索结果项中除标题以外的其他信息可以实施为在搜索结果页对应的DOM树中,确定该搜索结果项中除标题以外的其他信息所在的DOM树节点,进而从DOM树节点中,将该搜索结果项中除标题以外的其他信息进行删除。
在本发明的又一实施例中,步骤S104在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息之后,若该搜索结果项位于搜索结果页的前半页,则将其后调。由此可知,本发明实施例将用户已浏览的搜索结果项调整到搜索结果页的后半页,使得在搜索结果页的前半页能够展示更多用户未浏览的内容,从而提升用户的搜索体验。
对应于上述实施例中在搜索结果页中生成提示信息的方法,本发明实施例还提供了一种在搜索结果页中生成提示信息的装置。图5示出了根据本发明一实施例的在搜索结果页中生成提示信息的装置的结构示意图。参见图5,该装置至少可以包括:事件***510以及信息生成器520。
现介绍本发明实施例的在搜索结果页中生成提示信息的装置的各组成或器件的功能以及各部分间的连接关系:
事件***510,适于监听对搜索结果页中的搜索结果项对应链接的触发事件;
信息生成器520,与事件***510相耦合,适于当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。
在本发明一实施例中,上述信息生成器520还适于:
在搜索结果页对应的文本对象模型DOM树中,确定该搜索结果项的指定位置对应的DOM树节点;
将表示已浏览过该链接对应网页的提示信息***该搜索结果项的指定位置对应的DOM树节点。
在本发明一实施例中,如图6所示,上文图5展示的装置还可以包括:
信息删除器530,与事件***510相耦合,适于当监听到对一搜索结果项对应链接的触发事件时,删除该搜索结果项中除标题以外的其他信息。
在本发明一实施例中,上述信息删除器530还适于:
在搜索结果页对应的DOM树中,确定该搜索结果项中除标题以外的其他信息所在的DOM树节点;
从DOM树节点中,将该搜索结果项中除标题以外的其他信息进行删除。
在本发明一实施例中,如图6所示,上文图5展示的装置还可以包括:
调整器540,与信息生成器520相耦合,适于在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息之后,若该搜索结果项位于搜索结果页的前半页,则将其后调。
在本发明一实施例中,搜索结果页包括:
利用搜索词搜索得到的搜索结果页;或者
利用搜索词搜索得到多个搜索结果项后,触发其中一搜索结果项中的聚合链接元素得到包含与搜索结果项相关搜索结果的搜索结果页。
在本发明一实施例中,上述事件***510还适于:
通过JavaScript的click事件,对搜索结果页中的搜索结果项对应链接的触发事件进行监听。
在本发明一实施例中,提示信息的形式包括文字、图片、动画中的至少之一。
根据上述任意一个优选实施例或多个优选实施例的组合,本发明实施例能够达到如下有益效果:
本发明实施例中,监听对搜索结果页中的搜索结果项对应链接的触发事件,当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。由于生成的提示信息能够清楚、直观地标识链接对应的网页已被浏览,将提示信息呈现给用户,能够帮助用户清晰地区分搜索结果页中已浏览和未浏览的链接,从而提升了用户的搜索体验。并且,本发明实施例可以根据实际需求灵活设置搜索结果项的指定位置,使得在该指定位置生成的 提示信息能够更加直观地呈现给用户。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的在搜索结果页中生成提示信息的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图7示出了可以实现在搜索结果页中生成提示信息的方法的计算设备。 该计算设备传统上包括处理器710和以存储器720形式的计算机程序产品或者计算机可读介质。存储器720可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器720具有用于执行上述方法中的任何方法步骤的程序代码731的存储空间730。例如,用于程序代码的存储空间730可以包括分别用于实现上面的方法中的各种步骤的各个程序代码731。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图8所述的便携式或者固定存储单元。该存储单元可以具有与图7的计算设备中的存储器720类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码731’,即可以由例如诸如710之类的处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (18)

  1. 一种在搜索结果页中生成提示信息的方法,包括:
    监听对搜索结果页中的搜索结果项对应链接的触发事件;
    当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。
  2. 根据权利要求1所述的方法,其中,所述在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息,包括:
    在所述搜索结果页对应的文本对象模型DOM树中,确定该搜索结果项的指定位置对应的DOM树节点;
    将表示已浏览过该链接对应网页的提示信息***该搜索结果项的指定位置对应的DOM树节点。
  3. 根据权利要求1或2所述的方法,其中,当监听到对一搜索结果项对应链接的触发事件时,所述方法还包括:
    删除该搜索结果项中除标题以外的其他信息。
  4. 根据权利要求1-3任一项所述的方法,其中,所述删除该搜索结果项中除标题以外的其他信息,包括:
    在所述搜索结果页对应的DOM树中,确定该搜索结果项中除标题以外的其他信息所在的DOM树节点;
    从所述DOM树节点中,将该搜索结果项中除标题以外的其他信息进行删除。
  5. 根据权利要求1-4任一项所述的方法,其中,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息之后,所述方法还包括:
    若该搜索结果项位于所述搜索结果页的前半页,则将其后调。
  6. 根据权利要求1-5任一项所述的方法,其中,所述搜索结果页包括:
    利用搜索词搜索得到的搜索结果页;或者
    利用搜索词搜索得到多个搜索结果项后,触发其中一搜索结果项中的聚合链接元素得到包含与所述搜索结果项相关搜索结果的搜索结果页。
  7. 根据权利要求1-6任一项所述的方法,其中,所述监听对搜索结果页中的搜索结果项对应链接的触发事件,包括:
    通过JavaScript的click事件,对搜索结果页中的搜索结果项对应链接的触发事件进行监听。
  8. 根据权利要求1-7任一项所述的方法,其中,所述提示信息的形式包括文字、 图片、动画中的至少之一。
  9. 一种在搜索结果页中生成提示信息的装置,包括:
    事件***,适于监听对搜索结果页中的搜索结果项对应链接的触发事件;
    信息生成器,适于当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。
  10. 根据权利要求9所述的装置,其中,所述信息生成器还适于:
    在所述搜索结果页对应的文本对象模型DOM树中,确定该搜索结果项的指定位置对应的DOM树节点;
    将表示已浏览过该链接对应网页的提示信息***该搜索结果项的指定位置对应的DOM树节点。
  11. 根据权利要求9或10所述的装置,其中,还包括:
    信息删除器,适于当监听到对一搜索结果项对应链接的触发事件时,删除该搜索结果项中除标题以外的其他信息。
  12. 根据权利要求9-11任一项所述的装置,其中,所述信息删除器还适于:
    在所述搜索结果页对应的DOM树中,确定该搜索结果项中除标题以外的其他信息所在的DOM树节点;
    从所述DOM树节点中,将该搜索结果项中除标题以外的其他信息进行删除。
  13. 根据权利要求9-12任一项所述的装置,其中,还包括:
    调整器,适于在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息之后,若该搜索结果项位于所述搜索结果页的前半页,则将其后调。
  14. 根据权利要求9-13任一项所述的装置,其中,所述搜索结果页包括:
    利用搜索词搜索得到的搜索结果页;或者
    利用搜索词搜索得到多个搜索结果项后,触发其中一搜索结果项中的聚合链接元素得到包含与所述搜索结果项相关搜索结果的搜索结果页。
  15. 根据权利要求9-14任一项所述的装置,其中,所述事件***还适于:
    通过JavaScript的click事件,对搜索结果页中的搜索结果项对应链接的触发事件进行监听。
  16. 根据权利要求9-15任一项所述的装置,其中,所述提示信息的形式包括文字、图片、动画中的至少之一。
  17. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1至8任一项所述的在搜索结果页中生成提示信息的方法。
  18. 一种计算机可读介质,其中存储了如权利要求17所述的计算机程序。
PCT/CN2016/078359 2015-06-30 2016-04-01 在搜索结果页中生成提示信息的方法及装置 WO2017000613A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510378202.4 2015-06-30
CN201510378202.4A CN104951556A (zh) 2015-06-30 2015-06-30 在搜索结果页中生成提示信息的方法及装置

Publications (1)

Publication Number Publication Date
WO2017000613A1 true WO2017000613A1 (zh) 2017-01-05

Family

ID=54166214

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078359 WO2017000613A1 (zh) 2015-06-30 2016-04-01 在搜索结果页中生成提示信息的方法及装置

Country Status (2)

Country Link
CN (1) CN104951556A (zh)
WO (1) WO2017000613A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951556A (zh) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 在搜索结果页中生成提示信息的方法及装置
CN105912730A (zh) * 2016-05-19 2016-08-31 珠海市魅族科技有限公司 一种数据查看方法及其设备
WO2018018281A1 (zh) * 2016-07-24 2018-02-01 张鹏华 标记已读文章时的信息推送方法和标记***
WO2018018280A1 (zh) * 2016-07-24 2018-02-01 张鹏华 一种阅读记录标记技术的使用情况反馈方法和标记***
CN107257501A (zh) * 2017-06-16 2017-10-17 环球智达科技(北京)有限公司 一种自定义模板中的数据添加方法
CN111488513A (zh) * 2019-01-29 2020-08-04 百度在线网络技术(北京)有限公司 用于生成页面的方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663062A (zh) * 2012-03-30 2012-09-12 奇智软件(北京)有限公司 一种处理搜索结果中无效链接的方法及装置
CN103136281A (zh) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 网页搜寻结果显示***及其方法
CN103914549A (zh) * 2014-04-11 2014-07-09 北京搜狗科技发展有限公司 信息流处理方法及装置
US20140244646A1 (en) * 2013-02-28 2014-08-28 International Business Machines Corporation Processing webpage data
CN104951556A (zh) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 在搜索结果页中生成提示信息的方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401835A (zh) * 2013-07-01 2013-11-20 北京奇虎科技有限公司 一种展现微博页面的安全检测结果的方法及装置
CN104021231B (zh) * 2014-06-26 2017-07-28 北京奇虎科技有限公司 浏览器中显示网页的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136281A (zh) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 网页搜寻结果显示***及其方法
CN102663062A (zh) * 2012-03-30 2012-09-12 奇智软件(北京)有限公司 一种处理搜索结果中无效链接的方法及装置
US20140244646A1 (en) * 2013-02-28 2014-08-28 International Business Machines Corporation Processing webpage data
CN103914549A (zh) * 2014-04-11 2014-07-09 北京搜狗科技发展有限公司 信息流处理方法及装置
CN104951556A (zh) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 在搜索结果页中生成提示信息的方法及装置

Also Published As

Publication number Publication date
CN104951556A (zh) 2015-09-30

Similar Documents

Publication Publication Date Title
WO2017000613A1 (zh) 在搜索结果页中生成提示信息的方法及装置
US10540575B1 (en) Ephemeral content management
KR101953303B1 (ko) 브라우징 액티비티에 기초하여 정합 애플리케이션을 식별하는 기법
WO2015196954A1 (zh) 网页元素的显示方法以及浏览器装置
US11632344B2 (en) Media item attachment system
WO2015067103A1 (zh) 在浏览器侧进行网络搜索的方法与浏览器
EP2521051A2 (en) Handheld electronic device and method for recording multimedia clip
US20150169747A1 (en) Systems and methods for automatically suggesting media accompaniments based on identified media content
WO2015081848A1 (zh) 社交化扩展搜索方法及相应的装置、***
CN109740085A (zh) 一种页面内容的展示方法、装置、设备及存储介质
US10769196B2 (en) Method and apparatus for displaying electronic photo, and mobile device
CN106991179B (zh) 数据删除方法、装置及移动终端
US20160026858A1 (en) Image based search to identify objects in documents
US8868598B2 (en) Smart user-centric information aggregation
US20200401620A1 (en) Geolocation based playlists
US20140359441A1 (en) Apparatus and method for representing and manipulating metadata
US20180218079A1 (en) Method and system for generating phrase blacklist to prevent certain content from appearing in a search result in response to search queries
US8799257B1 (en) Searching based on audio and/or visual features of documents
JP2017535850A (ja) ウェブページへの画像のサムネイルのリンク付け
CN104598571A (zh) 一种多媒体资源的播放方法及装置
US9576035B2 (en) Method and apparatus for providing integrated search and web browsing history
CN103593483A (zh) 一种flash课件知识点的检索方法
JP2014534542A (ja) ユーザ作成コンテンツの処理方法及び装置
WO2017107887A1 (zh) 在移动终端上切换组图的方法及装置
WO2017076027A1 (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: 16816978

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

Country of ref document: EP

Kind code of ref document: A1