WO2017000613A1 - Method and device for generating indication information in search result page - Google Patents

Method and device for generating indication information in search result page 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
French (fr)
Chinese (zh)
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/en

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.

Abstract

A method and device for generating indication information in a search result page. The method comprises: monitoring a trigger event of a link corresponding to a search result item in a search result page (S102); and upon detection of the trigger event of the link corresponding to the search result item, generating indication information representing, at a designated location of the search result item, that a webpage corresponding to the link has been visited (S104). In the above technical solution, the generated indication information can clearly and visually mark that a webpage corresponding to a link has been visited, such that showing the indication information to a user can help the user to clearly distinguish a visited link from an unvisited link in a search result page, thus improving the search experience for the user.

Description

在搜索结果页中生成提示信息的方法及装置Method and device for generating prompt information in search result page 技术领域Technical field
本发明涉及信息搜索技术领域,特别是一种在搜索结果页中生成提示信息的方法及装置。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.
背景技术Background technique
随着信息技术的飞速发展,当今社会进入了信息爆炸时代,人们越来越多地借助网络来寻找自己需要的信息,因此,检索成为人们工作、生活不可或缺的一部分。With the rapid development of information technology, today's society has entered the era of information explosion, and people are increasingly using the network to find the information they need. Therefore, retrieval has become an indispensable part of people's work and life.
人们通常使用搜索引擎来进行检索,搜索引擎是指根据一定的策略、运用特定的计算机程序从互联网上搜集信息,在对信息进行组织和处理后,为用户提供检索服务,将与用户检索相关的信息展示给用户的系统。People usually use a search engine to search. 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.
现有技术中,用户点击搜索结果页中一搜索结果项对应的链接后,搜索引擎会更改该搜索结果项中标题的颜色,以便提示用户该搜索结果项已经被浏览。然而,在实际应用中,上述方式不能清晰地提示用户哪些搜索结果项已经被浏览,不利于用户区分已浏览和未浏览的搜索结果项。In the prior art, after the user clicks on the link corresponding to a search result item in the search result page, 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. However, in practical applications, 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.
发明内容Summary of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的在搜索结果页中生成提示信息的方法及装置。In view of the above problems, 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.
依据本发明的一方面,提供了一种在搜索结果页中生成提示信息的方法,包括:According to an aspect of the present invention, a method for generating prompt information in a search result page is provided, including:
监听对搜索结果页中的搜索结果项对应链接的触发事件;Listening for trigger events for links to search result items in search results pages;
当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。When a trigger event corresponding to a link of a search result item is monitored, 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.
依据本发明的另一方面,还提供了一种在搜索结果页中生成提示信息的装置,包括:According to another aspect of the present invention, there is also provided 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.
依据本发明的又一方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据上文所述的 在搜索结果页中生成提示信息的方法。According to still another aspect of the present invention, a computer program is provided, 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.
依据本发明的再一方面,提供了一种计算机可读介质,其中存储了上述的计算机程序。According to still another aspect of the present invention, a computer readable medium storing the above computer program is provided.
本发明的有益效果为:The beneficial effects of the invention are:
本发明实施例中,监听对搜索结果页中的搜索结果项对应链接的触发事件,当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。由于生成的提示信息能够清楚、直观地标识链接对应的网页已被浏览,将提示信息呈现给用户,能够帮助用户清晰地区分搜索结果页中已浏览和未浏览的链接,从而提升了用户的搜索体验。并且,本发明实施例可以根据实际需求灵活设置搜索结果项的指定位置,使得在该指定位置生成的提示信息能够更加直观地呈现给用户。In 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. Moreover, 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 above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1示出了根据本发明一实施例的在搜索结果页中生成提示信息的方法的流程图;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;
图2示出了根据本发明一实施例的搜索结果页的示意图;2 shows a schematic diagram of a search result page in accordance with an embodiment of the present invention;
图3示出了根据本发明另一实施例的搜索结果页的示意图;FIG. 3 is a schematic diagram showing a search result page according to another embodiment of the present invention; FIG.
图4示出了根据本发明一实施例的在搜索结果页中生成提示信息的示意图;4 is a schematic diagram of generating prompt information in a search result page according to an embodiment of the invention;
图5示出了根据本发明一实施例的在搜索结果页中生成提示信息的装置的结构示意图;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示出了根据本发明另一实施例的在搜索结果页中生成提示信息的装置的结构示意图;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;
图7示意性地示出了用于执行根据本发明的在搜索结果页中生成提示信息的方法的计算设备的框图;以及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;
图8示意性地示出了用于保持或者携带实现根据本发明的在搜索结果页中生成 提示信息的方法的程序代码的存储单元。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. A storage unit for the program code of the method of prompting information.
具体实施方式detailed description
下面结合附图和具体的实施方式对本发明作进一步的描述。The invention is further described below in conjunction with the drawings and specific embodiments.
为解决上述技术问题,本发明实施例提供了一种在搜索结果页中生成提示信息的方法,该方法可以应用在PC(Personal Computer,个人电脑)、笔记本电脑、手机、平板电脑、智能手表等具备搜索功能的设备上。图1示出了根据本发明一实施例的在搜索结果页中生成提示信息的方法的流程图。参见图1,该方法至少包括步骤S102至步骤S104。In order to solve the above technical problem, 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.
步骤S102,监听对搜索结果页中的搜索结果项对应链接的触发事件。Step S102, monitoring a trigger event corresponding to the link of the search result item in the search result page.
步骤S104,当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。In 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.
本发明实施例中,监听对搜索结果页中的搜索结果项对应链接的触发事件,当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。由于生成的提示信息能够清楚、直观地标识链接对应的网页已被浏览,将提示信息呈现给用户,能够帮助用户清晰地区分搜索结果页中已浏览和未浏览的链接,从而提升了用户的搜索体验。并且,本发明实施例可以根据实际需求灵活设置搜索结果项的指定位置,使得在该指定位置生成的提示信息能够更加直观地呈现给用户。In 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. Moreover, 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.
上文步骤S102中,可以通过JavaScript的click(点击)事件,对搜索结果页中的搜索结果项对应链接的触发事件进行监听。进一步,步骤S102中提及的搜索结果页可以是利用搜索词搜索得到的搜索结果页,或者可以是利用搜索词搜索得到多个搜索结果项后,触发其中一搜索结果项中的聚合链接元素得到包含与搜索结果项相关搜索结果的搜索结果页。例如,搜索词为“粽子”,利用搜索词“粽子”搜索得到的搜索结果页,如图2所示。在利用搜索词“粽子”搜索得到多个搜索结果项后,触发其中一搜索结果项“端午,氤氲着传统文化粽香的节日”中的聚合链接元素“相关新闻:126”得到包含与搜索结果项相关搜索结果的搜索结果页,如图3所示。In the above step S102, 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. Further, 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. For example, the search term is "dice", and the search result page obtained by searching for the word "dice" is as shown in FIG. After searching for a plurality of search result items by using the search term "dice", an aggregated link element "related news: 126" in one of the search result items "Dragon Boat Festival, taking advantage of the traditional culture of musk" is triggered to obtain inclusion and search results. The search results page of related search results is shown in Figure 3.
在本发明一实施例中,步骤S104中在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息可以实施为在搜索结果页对应的DOM(Document Object Model,文本对象模型)树中,确定该搜索结果项的指定位置对应的DOM树节点,随后将表示已浏览过该链接对应网页的提示信息插入该搜索结果项的指定位置对应的DOM树节点。这里,提示信息的形式可以包括文字、图片或动画等,本发 明不限于此。In an embodiment of the present invention, 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. In the tree, 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. Here, the form of the prompt information may include text, pictures or animations, etc. It is not limited to this.
在本发明的另一实施例中,可以将已浏览的搜索结果项的摘要和图片折叠或删除,使其占用页面空间大幅减少,使更多未浏览的内容得以提前展示,从而方便用户在不滚动页面的情况下可以浏览更多的内容。即,在步骤S104中,当监听到对一搜索结果项对应链接的触发事件时,删除该搜索结果项中除标题以外的其他信息。以上文图2的搜索结果页为例,当监听到对搜索结果项“端午,氤氲着传统文化粽香的节日”对应链接的触发事件时,删除该搜索结果项中除标题“端午,氤氲着传统文化粽香的节日”以外的其他信息,并在该搜索结果项的指定位置生成提示信息“已浏览”,如图4所示,该提示信息“已浏览”能够帮助用户清晰地区分搜索结果页中已浏览和未浏览的链接,从而提升了用户的搜索体验。并且,摘要内容的删除节省了该搜索结果项占用的页面空间,使得在该页面能够展示更多的内容,给用户提供额外的帮助。另外,由于该搜索结果项中的聚合链接元素“相关新闻:126”未被触发,因而可以保留在该搜索结果项中。In another embodiment of the present invention, 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. 2, when the trigger event corresponding to the link of the search result item “Dragon Boat Festival, the festival of traditional culture musk” is monitored, 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.
进一步,本发明实施例中删除该搜索结果项中除标题以外的其他信息可以实施为在搜索结果页对应的DOM树中,确定该搜索结果项中除标题以外的其他信息所在的DOM树节点,进而从DOM树节点中,将该搜索结果项中除标题以外的其他信息进行删除。Further, 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.
在本发明的又一实施例中,步骤S104在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息之后,若该搜索结果项位于搜索结果页的前半页,则将其后调。由此可知,本发明实施例将用户已浏览的搜索结果项调整到搜索结果页的后半页,使得在搜索结果页的前半页能够展示更多用户未浏览的内容,从而提升用户的搜索体验。In still another embodiment of the present invention, after the step S104 generates the prompt information indicating that the corresponding webpage has been browsed, 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. .
对应于上述实施例中在搜索结果页中生成提示信息的方法,本发明实施例还提供了一种在搜索结果页中生成提示信息的装置。图5示出了根据本发明一实施例的在搜索结果页中生成提示信息的装置的结构示意图。参见图5,该装置至少可以包括:事件监听器510以及信息生成器520。Corresponding to the method for generating the prompt information in the search result page in the above embodiment, the embodiment of the present invention further provides an apparatus for generating the prompt information in the search result page. 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. Referring to FIG. 5, the apparatus may include at least an event listener 510 and an information generator 520.
现介绍本发明实施例的在搜索结果页中生成提示信息的装置的各组成或器件的功能以及各部分间的连接关系:The functions of the components or devices of the apparatus for generating the prompt information in the search result page and the connection relationship between the parts are described.
事件监听器510,适于监听对搜索结果页中的搜索结果项对应链接的触发事件;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;
信息生成器520,与事件监听器510相耦合,适于当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。 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. .
在本发明一实施例中,上述信息生成器520还适于:In an embodiment of the invention, the information generator 520 is further adapted to:
在搜索结果页对应的文本对象模型DOM树中,确定该搜索结果项的指定位置对应的DOM树节点;Determining, in the text object model DOM tree corresponding to the search result page, a DOM tree node corresponding to the specified position of the search result item;
将表示已浏览过该链接对应网页的提示信息插入该搜索结果项的指定位置对应的DOM树节点。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.
在本发明一实施例中,如图6所示,上文图5展示的装置还可以包括:In an embodiment of the present invention, as shown in FIG. 6, the apparatus shown in FIG. 5 above may further include:
信息删除器530,与事件监听器510相耦合,适于当监听到对一搜索结果项对应链接的触发事件时,删除该搜索结果项中除标题以外的其他信息。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.
在本发明一实施例中,上述信息删除器530还适于:In an embodiment of the invention, the information deleter 530 is further adapted to:
在搜索结果页对应的DOM树中,确定该搜索结果项中除标题以外的其他信息所在的DOM树节点;Determining, in the DOM tree corresponding to the search result page, a DOM tree node where the information other than the title in the search result item is located;
从DOM树节点中,将该搜索结果项中除标题以外的其他信息进行删除。From the DOM tree node, the information other than the title in the search result item is deleted.
在本发明一实施例中,如图6所示,上文图5展示的装置还可以包括:In an embodiment of the present invention, as shown in FIG. 6, the apparatus shown in FIG. 5 above may further include:
调整器540,与信息生成器520相耦合,适于在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息之后,若该搜索结果项位于搜索结果页的前半页,则将其后调。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.
在本发明一实施例中,搜索结果页包括:In an embodiment of the invention, the search result page includes:
利用搜索词搜索得到的搜索结果页;或者Search results pages obtained using search terms; or
利用搜索词搜索得到多个搜索结果项后,触发其中一搜索结果项中的聚合链接元素得到包含与搜索结果项相关搜索结果的搜索结果页。After the search term is used to obtain a plurality of search result items, 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.
在本发明一实施例中,上述事件监听器510还适于:In an embodiment of the invention, the event listener 510 is further adapted to:
通过JavaScript的click事件,对搜索结果页中的搜索结果项对应链接的触发事件进行监听。Through the click event of JavaScript, the trigger event of the link corresponding to the search result item in the search result page is monitored.
在本发明一实施例中,提示信息的形式包括文字、图片、动画中的至少之一。In an embodiment of the invention, the form of the prompt information includes at least one of a text, a picture, and an animation.
根据上述任意一个优选实施例或多个优选实施例的组合,本发明实施例能够达到如下有益效果:According to any one of the preferred embodiments or the combination of the preferred embodiments, the embodiment of the present invention can achieve the following beneficial effects:
本发明实施例中,监听对搜索结果页中的搜索结果项对应链接的触发事件,当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。由于生成的提示信息能够清楚、直观地标识链接对应的网页已被浏览,将提示信息呈现给用户,能够帮助用户清晰地区分搜索结果页中已浏览和未浏览的链接,从而提升了用户的搜索体验。并且,本发明实施例可以根据实际需求灵活设置搜索结果项的指定位置,使得在该指定位置生成的 提示信息能够更加直观地呈现给用户。In 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. Moreover, 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.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, the various features of the invention are sometimes grouped together into a single embodiment, in the above description of the exemplary embodiments of the invention, Figure, or a description of it. However, the method disclosed is not to be interpreted as reflecting the intention that the claimed invention requires more features than those recited in the claims. Rather, as the following claims reflect, inventive aspects reside in less than all features of the single embodiments disclosed herein. Therefore, the claims following the specific embodiments are hereby explicitly incorporated into the embodiments, and each of the claims as a separate embodiment of the invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the 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. In addition to such features and/or at least some of the processes or units being mutually exclusive, 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.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features that are included in other embodiments and not in other features, combinations of features of different embodiments are intended to be within the scope of the present invention. Different embodiments are formed and formed. For example, in the following claims, any one of the claimed embodiments can be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的在搜索结果页中生成提示信息的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。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. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) 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.
例如,图7示出了可以实现在搜索结果页中生成提示信息的方法的计算设备。 该计算设备传统上包括处理器710和以存储器720形式的计算机程序产品或者计算机可读介质。存储器720可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器720具有用于执行上述方法中的任何方法步骤的程序代码731的存储空间730。例如,用于程序代码的存储空间730可以包括分别用于实现上面的方法中的各种步骤的各个程序代码731。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图8所述的便携式或者固定存储单元。该存储单元可以具有与图7的计算设备中的存储器720类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码731’,即可以由例如诸如710之类的处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。For example, 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. For example, 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. These 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. Typically, 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.
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。"an embodiment," or "an embodiment," or "an embodiment," In addition, it is noted that the phrase "in one embodiment" is not necessarily referring to the same embodiment.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It is to be noted that the above-described embodiments are illustrative of the invention and are not intended to be limiting, and that the invention may be devised without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" does not exclude the presence of the elements or steps that are not recited in the claims. The word "a" or "an" The invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。 In addition, it should be noted that the language used in the specification has been selected for the purpose of readability and teaching, and is not intended to be construed or limited. Therefore, many modifications and changes will be apparent to those skilled in the art without departing from the scope of the invention. The disclosure of the present invention is intended to be illustrative, and not restrictive, and the scope of the invention is defined by the appended claims.

Claims (18)

  1. 一种在搜索结果页中生成提示信息的方法,包括:A method of generating prompt information in a search result page, including:
    监听对搜索结果页中的搜索结果项对应链接的触发事件;Listening for trigger events for links to search result items in search results pages;
    当监听到对一搜索结果项对应链接的触发事件时,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息。When a trigger event corresponding to a link of a search result item is monitored, 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.
  2. 根据权利要求1所述的方法,其中,所述在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息,包括:The method according to claim 1, wherein the generating, at the specified location of the search result item, the prompt information indicating that the corresponding webpage has been browsed, including:
    在所述搜索结果页对应的文本对象模型DOM树中,确定该搜索结果项的指定位置对应的DOM树节点;Determining, in the text object model DOM tree corresponding to the search result page, a DOM tree node corresponding to the specified location of the search result item;
    将表示已浏览过该链接对应网页的提示信息插入该搜索结果项的指定位置对应的DOM树节点。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.
  3. 根据权利要求1或2所述的方法,其中,当监听到对一搜索结果项对应链接的触发事件时,所述方法还包括:The method of claim 1 or 2, wherein when the triggering event for a link to a search result item is monitored, the method further comprises:
    删除该搜索结果项中除标题以外的其他信息。Delete information other than the title in the search result item.
  4. 根据权利要求1-3任一项所述的方法,其中,所述删除该搜索结果项中除标题以外的其他信息,包括:The method according to any one of claims 1 to 3, wherein the deleting the information other than the title in the search result item comprises:
    在所述搜索结果页对应的DOM树中,确定该搜索结果项中除标题以外的其他信息所在的DOM树节点;Determining, in the DOM tree corresponding to the search result page, a DOM tree node where the information other than the title in the search result item is located;
    从所述DOM树节点中,将该搜索结果项中除标题以外的其他信息进行删除。From the DOM tree node, information other than the title in the search result item is deleted.
  5. 根据权利要求1-4任一项所述的方法,其中,在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息之后,所述方法还包括:The method according to any one of claims 1 to 4, wherein after the prompting information indicating that the corresponding webpage of the link has been browsed is generated at the specified location of the search result item, the method further includes:
    若该搜索结果项位于所述搜索结果页的前半页,则将其后调。If the search result item is located in the first half of the search result page, it is adjusted later.
  6. 根据权利要求1-5任一项所述的方法,其中,所述搜索结果页包括:The method of any of claims 1-5, wherein the search results page comprises:
    利用搜索词搜索得到的搜索结果页;或者Search results pages obtained using search terms; or
    利用搜索词搜索得到多个搜索结果项后,触发其中一搜索结果项中的聚合链接元素得到包含与所述搜索结果项相关搜索结果的搜索结果页。After the search term is used to obtain a plurality of search result items, the aggregated link elements in one of the search result items are triggered to obtain a search result page containing search results related to the search result item.
  7. 根据权利要求1-6任一项所述的方法,其中,所述监听对搜索结果页中的搜索结果项对应链接的触发事件,包括:The method of any of claims 1-6, wherein the intercepting a trigger event corresponding to a search result item in a search result page comprises:
    通过JavaScript的click事件,对搜索结果页中的搜索结果项对应链接的触发事件进行监听。Through the click event of JavaScript, the trigger event of the link corresponding to the search result item in the search result page is monitored.
  8. 根据权利要求1-7任一项所述的方法,其中,所述提示信息的形式包括文字、 图片、动画中的至少之一。The method according to any one of claims 1 to 7, wherein the form of the prompt information includes text, At least one of a picture, an animation.
  9. 一种在搜索结果页中生成提示信息的装置,包括:A device 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.
  10. 根据权利要求9所述的装置,其中,所述信息生成器还适于:The apparatus of claim 9 wherein said information generator is further adapted to:
    在所述搜索结果页对应的文本对象模型DOM树中,确定该搜索结果项的指定位置对应的DOM树节点;Determining, in the text object model DOM tree corresponding to the search result page, a DOM tree node corresponding to the specified location of the search result item;
    将表示已浏览过该链接对应网页的提示信息插入该搜索结果项的指定位置对应的DOM树节点。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.
  11. 根据权利要求9或10所述的装置,其中,还包括:The device according to claim 9 or 10, further comprising:
    信息删除器,适于当监听到对一搜索结果项对应链接的触发事件时,删除该搜索结果项中除标题以外的其他信息。The information deleter 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.
  12. 根据权利要求9-11任一项所述的装置,其中,所述信息删除器还适于:The apparatus of any of claims 9-11, wherein the information deleter is further adapted to:
    在所述搜索结果页对应的DOM树中,确定该搜索结果项中除标题以外的其他信息所在的DOM树节点;Determining, in the DOM tree corresponding to the search result page, a DOM tree node where the information other than the title in the search result item is located;
    从所述DOM树节点中,将该搜索结果项中除标题以外的其他信息进行删除。From the DOM tree node, information other than the title in the search result item is deleted.
  13. 根据权利要求9-12任一项所述的装置,其中,还包括:The apparatus according to any one of claims 9 to 12, further comprising:
    调整器,适于在该搜索结果项的指定位置生成表示已浏览过该链接对应网页的提示信息之后,若该搜索结果项位于所述搜索结果页的前半页,则将其后调。The adjuster is adapted to, after generating 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, then adjust the post.
  14. 根据权利要求9-13任一项所述的装置,其中,所述搜索结果页包括:The apparatus of any of claims 9-13, wherein the search results page comprises:
    利用搜索词搜索得到的搜索结果页;或者Search results pages obtained using search terms; or
    利用搜索词搜索得到多个搜索结果项后,触发其中一搜索结果项中的聚合链接元素得到包含与所述搜索结果项相关搜索结果的搜索结果页。After the search term is used to obtain a plurality of search result items, the aggregated link elements in one of the search result items are triggered to obtain a search result page containing search results related to the search result item.
  15. 根据权利要求9-14任一项所述的装置,其中,所述事件监听器还适于:The apparatus of any of claims 9-14, wherein the event listener is further adapted to:
    通过JavaScript的click事件,对搜索结果页中的搜索结果项对应链接的触发事件进行监听。Through the click event of JavaScript, the trigger event of the link corresponding to the search result item in the search result page is monitored.
  16. 根据权利要求9-15任一项所述的装置,其中,所述提示信息的形式包括文字、图片、动画中的至少之一。The apparatus according to any one of claims 9-15, wherein the form of the prompt information comprises at least one of a text, a picture, and an animation.
  17. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1至8任一项所述的在搜索结果页中生成提示信息的方法。 A computer program comprising computer readable code, when said computer readable code is run on a computing device, causing said computing device to perform generating a prompt in a search results page according to any one of claims 1-8 The method of information.
  18. 一种计算机可读介质,其中存储了如权利要求17所述的计算机程序。 A computer readable medium storing the computer program of claim 17.
PCT/CN2016/078359 2015-06-30 2016-04-01 Method and device for generating indication information in search result page WO2017000613A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510378202.4A CN104951556A (en) 2015-06-30 2015-06-30 Method and device for generating prompt message in search result page
CN201510378202.4 2015-06-30

Publications (1)

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

Family

ID=54166214

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078359 WO2017000613A1 (en) 2015-06-30 2016-04-01 Method and device for generating indication information in search result page

Country Status (2)

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

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951556A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Method and device for generating prompt message in search result page
CN105912730A (en) * 2016-05-19 2016-08-31 珠海市魅族科技有限公司 Data viewing method and device
WO2018018281A1 (en) * 2016-07-24 2018-02-01 张鹏华 Information pushing method executed during read article marking and marking system
WO2018018280A1 (en) * 2016-07-24 2018-02-01 张鹏华 Method for feeding back usage condition of reading record marking technique and marking system
CN107257501A (en) * 2017-06-16 2017-10-17 环球智达科技(北京)有限公司 A kind of data adding method in self-defined template
CN111488513A (en) * 2019-01-29 2020-08-04 百度在线网络技术(北京)有限公司 Method and device for generating page

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663062A (en) * 2012-03-30 2012-09-12 奇智软件(北京)有限公司 Method and device for processing invalid links in search result
CN103136281A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Web search result display system and method thereof
CN103914549A (en) * 2014-04-11 2014-07-09 北京搜狗科技发展有限公司 Information processing method and information processing device
US20140244646A1 (en) * 2013-02-28 2014-08-28 International Business Machines Corporation Processing webpage data
CN104951556A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Method and device for generating prompt message in search result page

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401835A (en) * 2013-07-01 2013-11-20 北京奇虎科技有限公司 Method and device for presenting safety detection results of microblog page
CN104021231B (en) * 2014-06-26 2017-07-28 北京奇虎科技有限公司 The method and apparatus that webpage is shown in browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136281A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Web search result display system and method thereof
CN102663062A (en) * 2012-03-30 2012-09-12 奇智软件(北京)有限公司 Method and device for processing invalid links in search result
US20140244646A1 (en) * 2013-02-28 2014-08-28 International Business Machines Corporation Processing webpage data
CN103914549A (en) * 2014-04-11 2014-07-09 北京搜狗科技发展有限公司 Information processing method and information processing device
CN104951556A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Method and device for generating prompt message in search result page

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2017000613A1 (en) Method and device for generating indication information in search result page
US7921375B2 (en) Integrating user interfaces from one application into another
KR101953303B1 (en) Identifying matching applications based on browsing activity
US20170161382A1 (en) System to correlate video data and contextual data
WO2015196954A1 (en) Webpage element display method and browser device
WO2015067103A1 (en) Method for browser-side network search and browser
WO2019201076A1 (en) Method, apparatus, and system for adding watermark to secret file, and medium
US20150169747A1 (en) Systems and methods for automatically suggesting media accompaniments based on identified media content
WO2015081848A1 (en) Socialized extended search method and corresponding device and system
CN107590228B (en) Page content processing method and mobile terminal
US10769196B2 (en) Method and apparatus for displaying electronic photo, and mobile device
US9449027B2 (en) Apparatus and method for representing and manipulating metadata
WO2017000804A1 (en) Method and device for browsing news on mobile terminal
US20160026858A1 (en) Image based search to identify objects in documents
US11675831B2 (en) Geolocation based playlists
WO2016000507A1 (en) Traffic-saving mode search service method, server, client and system
WO2019047508A1 (en) Method for processing e-book comment information, electronic device and storage medium
WO2016070726A1 (en) Method, device, and browser client for loading page label
US20200236076A1 (en) Media enhancement system
WO2017107679A1 (en) Historical information display method and apparatus
JP2017535850A (en) Link image thumbnails to web pages
CN104598571A (en) Method and device for playing multimedia resource
US9576035B2 (en) Method and apparatus for providing integrated search and web browsing history
CN103593483A (en) Search method for flash courseware knowledge points
TW201510749A (en) File management system and method

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