CN103186666B - Method, device and equipment for searching based on favorites - Google Patents
Method, device and equipment for searching based on favorites Download PDFInfo
- Publication number
- CN103186666B CN103186666B CN201310065440.0A CN201310065440A CN103186666B CN 103186666 B CN103186666 B CN 103186666B CN 201310065440 A CN201310065440 A CN 201310065440A CN 103186666 B CN103186666 B CN 103186666B
- Authority
- CN
- China
- Prior art keywords
- search results
- collection
- search
- user
- favorite
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明的目的是提供一种用于基于搜索进行搜索的方法、装置与设备。其中,本发明获取与第一查询序列相匹配的收藏搜索结果,根据用户输入第二查询序列进行匹配查询,以获取至少一个第二搜索结果,当所述第二搜索结果中包括所述收藏搜索结果时,将所述收藏搜索结果优先进行展示。本发明中将用户或与该用户具有关联关系的另一用户在历史搜索过程中已执行收藏操作,如保存、标记等操作的、能够反映该用户或该另一用户较高兴趣度的收藏搜索结果,在该用户的当前搜索过程中根据收藏优先级排序规则排于较前的排序位置,该用户能够在搜索结果页面的靠前位置处获取其已收藏过的收藏搜索结果,实现了用户快速高效地获取其兴趣度较高的收藏搜索结果的目的。
The object of the present invention is to provide a method, device and equipment for searching based on searching. Wherein, the present invention acquires favorite search results that match the first query sequence, and performs a matching query according to the second query sequence input by the user to obtain at least one second search result. When the second search result includes the favorite search result When there is a result, the favorite search result is displayed preferentially. In the present invention, the user or another user associated with the user has performed favorite operations during the historical search process, such as saving, marking and other operations, which can reflect the higher interest of the user or the other user. As a result, in the current search process of the user, according to the priority sorting rules of the favorites, the user is ranked at the front, and the user can obtain the search results of the favorites that he has already favorited at the front position of the search result page, which realizes the user's fast The purpose of efficiently obtaining favorite search results with high interest.
Description
技术领域technical field
本发明涉及互联网技术领域,尤其涉及一种用于基于收藏进行搜索的方法、装置与设备。The present invention relates to the technical field of the Internet, in particular to a method, device and equipment for searching based on collections.
背景技术Background technique
在现有搜索引擎排序技术中,由于网络信息不断更新且搜索结果排序方式复杂,根据同一查询序列进行搜索所获取的搜索结果及其排位顺序时常变化,例如,用户在一次搜索过程中输入查询序列进行搜索所获取的排位较前搜索结果,在下次搜索过程中基于相同的查询序列进行搜索可能排位较后甚至搜索不到,使得用户所希望获取的搜索结果排位过后甚至无法获取,从而降低用户查询效率,影响用户搜索体验。In the existing search engine ranking technology, due to the continuous updating of network information and the complexity of sorting the search results, the search results obtained by searching according to the same query sequence and their ranking order often change. For example, when a user enters a query during a search The search results obtained by searching in the sequence are ranked higher than the search results. In the next search process based on the same query sequence, the search results may be ranked lower or even not searchable, so that the search results that the user wants to obtain are ranked or even impossible to obtain. Thereby reducing user query efficiency and affecting user search experience.
发明内容Contents of the invention
本发明的目的是为克服现有技术中上述问题,而提供一种基于收藏进行搜索的方法、装置与设备。The object of the present invention is to provide a method, device and equipment for searching based on collections in order to overcome the above-mentioned problems in the prior art.
根据本发明的一个方面,提供了一种用于基于收藏进行搜索的方法,该方法包括以下步骤:According to one aspect of the present invention, there is provided a method for searching based on favorites, the method comprising the following steps:
a获取与第一查询序列相匹配的收藏搜索结果;a obtaining collection search results matching the first query sequence;
其中,该方法还包括:Wherein, the method also includes:
w根据用户输入第二查询序列进行匹配查询,以获取至少一个第二搜索结果;w performing a matching query according to the second query sequence input by the user, so as to obtain at least one second search result;
x当所述第二搜索结果中包括所述收藏搜索结果时,将所述收藏搜索结果优先进行展示。x When the second search result includes the favorite search result, displaying the favorite search result first.
根据本发明的另一方面,还提供了一种用于基于收藏进行搜索的搜索装置,该搜索装置包括:According to another aspect of the present invention, there is also provided a search device for searching based on favorites, the search device includes:
收藏结果获取装置,用于获取与第一查询序列相匹配的收藏搜索结果;A collection result obtaining device, configured to obtain collection search results matching the first query sequence;
其中,该搜索装置还包括:Among them, the search device also includes:
第二结果获取装置,用于根据用户输入第二查询序列进行匹配查询,以获取至少一个第二搜索结果;The second result obtaining means is used to perform a matching query according to the second query sequence input by the user, so as to obtain at least one second search result;
优先展示装置,用于当所述第二搜索结果中包括所述收藏搜索结果时,将所述收藏搜索结果优先进行展示。The preferentially displaying means is used for displaying the favorite search result preferentially when the favorite search result is included in the second search result.
与现有技术相比,本发明与现有技术的区别在于:1)将用户或与该用户具有关联关系的另一用户在历史搜索过程中已执行收藏操作,如保存、标记等操作的、能够反映该用户或该另一用户较高兴趣度的收藏搜索结果,在该用户的当前搜索过程中根据收藏优先级排序规则排于较前的排序位置,该用户能够在搜索结果页面的靠前位置处获取其已收藏过的收藏搜索结果,实现了用户快速高效地获取其兴趣度较高的收藏搜索结果的目的,进而提高用户搜索效率,提升用户搜索体验;2)根据收藏搜索结果的收藏等级信息对收藏搜索结果的优先展示方式进行调整,使得当第二搜索结果中包括多个收藏搜索结果时,可以确定该多个收藏搜索结果之间的排位顺序,保证了能够反映用户关注度高的高收藏等级的收藏等级信息位于多个收藏等级信息中靠前位置,提高用户搜索效率。Compared with the prior art, the difference between the present invention and the prior art lies in: 1) The user or another user who has an association relationship with the user has performed collection operations during the historical search process, such as saving, marking and other operations, The favorite search results that can reflect the higher interest of the user or the other user are ranked higher in the current search process of the user according to the favorite priority sorting rules, and the user can be in the front of the search result page Obtain the favorite search results that they have already collected at the location, which realizes the purpose of users to quickly and efficiently obtain the favorite search results with high interest, thereby improving the user search efficiency and improving the user search experience; 2) according to the collection of the favorite search results Level information adjusts the priority display mode of favorite search results, so that when the second search result includes multiple favorite search results, the ranking order among the multiple favorite search results can be determined, ensuring that the user's attention can be reflected High collection level information of high collection level is located in the front position among multiple collection level information, improving user search efficiency.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1示出根据本发明一个方面的用于基于收藏进行搜索的搜索装置的设备示意图;FIG. 1 shows a device schematic diagram of a search device for searching based on favorites according to one aspect of the present invention;
图2示出根据本发明一个优选实施例的用于确定目标收藏夹的搜索装置的设备示意图;Fig. 2 shows a device schematic diagram of a search device for determining target favorites according to a preferred embodiment of the present invention;
图3示出根据本发明另一个方面的用于基于收藏进行搜索的方法流程图;Fig. 3 shows a flowchart of a method for searching based on favorites according to another aspect of the present invention;
图4示出根据本发明一个优选实施例的用于确定目标收藏夹的方法流程图;Fig. 4 shows a flowchart of a method for determining target favorites according to a preferred embodiment of the present invention;
图5a示出根据本发明一个优选实施例的用于标记第一搜索结果中收藏提示信息的示例图;Fig. 5a shows an example diagram for marking favorite prompt information in the first search result according to a preferred embodiment of the present invention;
图5b示出根据本发明一个优选实施例的用于标记第一搜索结果已收藏的示例图;Fig. 5b shows an example diagram for marking the first search result as bookmarked according to a preferred embodiment of the present invention;
图5c示出根据本发明一个优选实施例的用于将收藏搜索结果优先进行展示的示例图。Fig. 5c shows an example diagram for preferentially displaying favorite search results according to a preferred embodiment of the present invention.
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings represent the same or similar components.
具体实施方式detailed description
下面结合附图对本发明作进一步详细描述。The present invention will be described in further detail below in conjunction with the accompanying drawings.
图1示出根据本发明一个方面的用于基于收藏进行搜索的搜索装置的设备示意图。本实施例的排序装置包含于网络设备中;该排序装置包括收藏结果获取装置1、第二结果获取装置2和优先展示装置3。Fig. 1 shows a device diagram of a search device for searching based on favorites according to one aspect of the present invention. The sorting device in this embodiment is included in the network equipment; the sorting device includes a collection result obtaining device 1 , a second result obtaining device 2 and a priority display device 3 .
其中,所述网络设备包括一种能够按照预先设定或存储的指令,自动进行数值计算和信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路(ASIC)、可编程门阵列(FPGA)、数字处理器(DSP)、嵌入式设备等。所述网络设备包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云。在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。本领域技术人员应能理解上述网络设备仅为举例,其他现有的或今后可能出现的网络设备如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用方式包含于此。Wherein, the network device includes an electronic device that can automatically perform numerical calculation and information processing according to preset or stored instructions, and its hardware includes but is not limited to a microprocessor, an application-specific integrated circuit (ASIC), a programmable gate Arrays (FPGA), digital processors (DSP), embedded devices, etc. The network device includes, but is not limited to, a computer, a network host, a single network server, a set of multiple network servers, or a cloud formed by multiple servers. Here, the cloud is composed of a large number of computers or network servers based on cloud computing (Cloud Computing), wherein cloud computing is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computer sets. Those skilled in the art should be able to understand that the above-mentioned network equipment is only an example, and other existing or future network equipment that may be applicable to the present invention should also be included in the protection scope of the present invention, and are hereby included by reference in this.
首先,收藏结果获取装置1获取与第一查询序列相匹配的收藏搜索结果。First, the collection result obtaining device 1 obtains collection search results matching the first query sequence.
其中,收藏结果获取装置1获取与第一查询序列相匹配的收藏搜索结果的方式包括但不限于:Among them, the ways for the collection result obtaining device 1 to obtain the collection search results matching the first query sequence include but not limited to:
1)收藏结果获取装置1(参照图1)包括第一结果提供装置(图未示)、第一收藏操作接收装置(图未示)和第一收藏结果确定装置(图未示);其中,第一结果提供装置将根据所述用户输入的第一查询序列进行匹配查询所获得的多个第一搜索结果提供至所述用户;接着,第一收藏操作接收装置接收所述用户对所述多个第一搜索结果中的至少一个的收藏操作;第一收藏结果确定装置将所述收藏操作对应的第一搜索结果确定为收藏搜索结果。1) Favorite result acquisition device 1 (refer to FIG. 1 ) includes a first result providing device (not shown in the figure), a first favorite operation receiving device (not shown in the figure) and a first favorite result determination device (not shown in the figure); wherein, The first result providing means provides the user with a plurality of first search results obtained by performing a matching query according to the first query sequence input by the user; then, the first collection operation receiving means receives the user's response to the multiple A favorite operation of at least one of the first search results; the first favorite result determining means determines the first search result corresponding to the favorite operation as a favorite search result.
具体地,网络设备通过ASP、JSP或PHP等动态网页技术,获取用户输入的第一查询序列,再将该第一查询序列提交给搜索引擎,并接收搜索引擎所反馈的与该第一查询序列相对应的多个第一搜索结果,第一结果提供装置将该等第一搜索结果通过网页技术提供至该用户。Specifically, the network device obtains the first query sequence input by the user through dynamic web page technologies such as ASP, JSP, or PHP, and then submits the first query sequence to the search engine, and receives feedback from the search engine that is related to the first query sequence. Corresponding to the plurality of first search results, the first result providing means provides the first search results to the user through web technology.
在一示例中,用户在搜索引擎搜索栏中输入第一查询序列“北京天气”,搜索引擎根据该第一查询序列,在网页数据库中进行匹配查询,得到与第一查询序列“北京天气”相匹配的多个第一搜索结果,如“北京天气预报近日及一周内天气预报中国天气网”、“北京市气象局”、“北京天气的相关信息”;接着,网络设备通过搜索引擎提供的应用程序接口(API)获取搜索引擎所获得的该等第一搜索结果,第一结果提供装置将该等第一搜索结果按照一定的排序和格式提供至该用户。In one example, the user enters the first query sequence "Beijing weather" in the search bar of the search engine, and the search engine performs a matching query in the webpage database according to the first query sequence, and obtains a query corresponding to the first query sequence "Beijing weather". Matching multiple first search results, such as "Beijing weather forecast for recent days and within a week weather forecast China Weather Network", "Beijing Meteorological Bureau", "related information about Beijing weather"; then, the network device provides the application through the search engine The program interface (API) acquires the first search results obtained by the search engine, and the first result providing means provides the first search results to the user according to a certain order and format.
接着,第一收藏操作接收装置接收所述用户对第一结果提供装置所提供的多个第一搜索结果中的至少一个的收藏操作。Next, the first favorite operation receiving means receives the user's favorite operation on at least one of the plurality of first search results provided by the first result providing means.
其中,所述收藏操作指用户对搜索结果或搜索结果指向的网页进行记录的操作,包括但不限于:保存操作、标记操作等。Wherein, the collection operation refers to the user's operation of recording the search result or the webpage pointed to by the search result, including but not limited to: saving operation, marking operation and so on.
具体地,第一收藏操作接收装置接收收藏操作的方式包括但不限于:Specifically, the way for the first favorite operation receiving means to receive the favorite operation includes but is not limited to:
1)第一收藏操作接收装置首先获取用户对多个第一搜索结果中的至少一个第一搜索结果对应的链接信息执行的点击操作,接着获取用户对该链接信息对应的搜索结果内容页面执行的页面收藏操作,该页面收藏操作包括将搜索结果内容页面保存至本地或网络收藏夹;1) The first collection operation receiving device first acquires the click operation performed by the user on the link information corresponding to at least one of the first search results among the plurality of first search results, and then acquires the click operation performed by the user on the search result content page corresponding to the link information. Page collection operation, the page collection operation includes saving the search result content page to a local or network favorite;
在一示例中,用户设备首先通过实时监控的方式获取用户对多个第一搜索结果中的至少一个第一搜索结果对应的链接信息执行的点击操作,接着获取用户对该链接信息对应的搜索结果内容页面执行的、将该搜索结果内容页面保存至本地收藏夹的收藏操作;随后,用户设备,如用户设备端的浏览器内嵌插件,将该收藏操作通过预定的通信方式发送至网络设备;第一收藏操作接收装置接收来自用户设备的该收藏操作。In an example, the user equipment first obtains the click operation performed by the user on the link information corresponding to at least one of the multiple first search results through real-time monitoring, and then obtains the user's search result corresponding to the link information The collection operation performed by the content page to save the search result content page to the local favorite; then, the user device, such as the browser embedded plug-in on the user device end, sends the collection operation to the network device through a predetermined communication method; A collection operation receiving means receives the collection operation from the user equipment.
在另一示例中,用户设备,例如利用Cookie技术,将记录收藏操作的cookies信息发送至网络设备,随后第一收藏操作接收装置接收来自用户设备的该cookies信息,并从该Cookie信息中读取该收藏操作;例如,首先,用户对多个第一搜索结果中的至少一个第一搜索结果对应的链接信息执行的点击操作,用户设备向该链接信息对应的第三方网络设备发送访问请求,当该第三方网络设备接收到该用户设备的访问请求,根据该用户的访问信息来生成的Cookie信息,用以标识该用户或用户设备,第三方网络设备会将该Cookie信息随同响应于访问请求返回的网页信息一并发给该用户设备并保存于该用户设备中;随后,用户设备获取用户对该链接信息对应的搜索结果内容页面执行的、将该搜索结果内容页面保存至本地收藏夹的收藏操作,并将该收藏操作记录于该Cookie信息中;第一收藏操作接收装置周期性地获取来自用户设备的该Cookie信息,并从中读取该收藏操作。In another example, the user equipment, for example, uses Cookie technology to send the cookie information recording the favorite operation to the network equipment, and then the first favorite operation receiving means receives the cookie information from the user equipment, and reads the cookie information from the cookie information The collection operation; for example, first, the user performs a click operation on the link information corresponding to at least one of the first search results among the plurality of first search results, and the user device sends an access request to the third-party network device corresponding to the link information. The third-party network device receives the access request from the user device, and generates cookie information based on the user's access information to identify the user or user device, and the third-party network device returns the cookie information in response to the access request The web page information is sent to the user device and stored in the user device; then, the user device obtains the collection operation performed by the user on the search result content page corresponding to the link information, and saves the search result content page to a local favorite , and record the favorite operation in the cookie information; the first favorite operation receiving means periodically acquires the cookie information from the user equipment, and reads the favorite operation therefrom.
2)优选地(参照图1),第一结果提供装置包括子结果提供装置(图未示);子结果提供装置将根据用户输入的第一查询序列进行匹配查询所获得的多个第一搜索结果提供至所述用户,其中,所述多个第一搜索结果中的任一个包括与其相对应的收藏提示信息;第一收藏操作接收装置接收所述用户对所述多个第一搜索结果中的至少一个相对应的收藏提示信息的收藏操作。2) Preferably (refer to FIG. 1), the first result providing means includes a sub-result providing means (not shown in the figure); the sub-result providing means will perform a plurality of first search results obtained by matching queries according to the first query sequence input by the user The results are provided to the user, wherein any one of the plurality of first search results includes favorite prompt information corresponding thereto; the first favorite operation receiving means receives the user’s selection of the plurality of first search results The collection operation of at least one corresponding collection prompt information.
其中,所述收藏提示信息包括但不限于收藏按钮,收藏图标等。Wherein, the favorite prompt information includes but not limited to a favorite button, a favorite icon, and the like.
在一示例中,子结果提供装置将根据用户输入的第一查询序列“北京天气”,在搜索引擎中进行匹配查询所获取的多个第一搜索结果,如“北京天气预报近日及一周内天气预报中国天气网”、“北京市气象局”、“北京天气的相关信息”按照一定的顺序提供至所述用户,其中,每个第一搜索结果包括与其相对应的收藏按钮;第一收藏操作接收装置通过实时监控的方式接收该用户对“北京市气象局”相对应的收藏按钮的点击操作,并将该点击操作作为该用户对该第一搜索结果的收藏操作。In one example, the sub-result providing device will match the multiple first search results obtained in the search engine according to the first query sequence "Beijing weather" input by the user, such as "Beijing weather forecast for recent days and the weather within a week." "Forecast China Weather Network", "Beijing Meteorological Bureau", and "Beijing weather related information" are provided to the user in a certain order, wherein each first search result includes a corresponding favorite button; the first favorite operation The receiving device receives the user's click operation on the favorite button corresponding to "Beijing Meteorological Bureau" through real-time monitoring, and regards the click operation as the user's favorite operation for the first search result.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何将根据用户输入的第一查询序列进行匹配查询所获得的多个第一搜索结果提供至所述用户,其中,所述多个第一搜索结果中的任一个包括与其相对应的收藏提示信息,接着接收所述用户对所述多个第一搜索结果中的至少一个相对应的收藏提示信息的收藏操作的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, rather than limit the present invention. Those skilled in the art should understand that any query obtained by matching the first query sequence input by the user A first search result is provided to the user, wherein any one of the plurality of first search results includes favorite reminder information corresponding thereto, and then receiving the user's response to the plurality of first search results The realization of at least one collection operation corresponding to the collection prompt information shall be included in the scope of the present invention.
优选地(参照图1),该搜索装置还包括搜索信息获取装置(图未示)和相关结果确定装置(图未示);其中,搜索信息获取装置获取所述用户的历史搜索相关信息;相关结果确定装置根据所述历史搜索相关信息,确定具有收藏提示信息的一个或多个历史相关第一搜索结果;子结果提供装置将根据用户输入的第一查询序列进行匹配查询所获得的至少一个第一搜索结果提供至所述用户,其中,所述至少一个第一搜索结果中的一个或多个历史相关第一搜索结果包括与其相对应的收藏提示信息;第一收藏操作接收装置接收所述用户对所述一个或多个历史相关第一搜索结果相对应的收藏提示信息的收藏操作。Preferably (refer to FIG. 1 ), the search device further includes a search information acquisition device (not shown) and a relevant result determination device (not shown); wherein, the search information acquisition device obtains historical search related information of the user; The result determining means determines one or more historically relevant first search results with favorite prompt information according to the historical search related information; the sub-result providing means performs matching query according to the first query sequence input by the user to obtain at least one first search result A search result is provided to the user, wherein one or more historically relevant first search results in the at least one first search result include favorite reminder information corresponding thereto; the first favorite operation receiving means receives the user A collection operation on the collection prompt information corresponding to the one or more history-related first search results.
其中,所述历史搜索相关信息包括但不限于:Among them, the historical search related information includes but not limited to:
1)用户历史搜索记录;1) User history search records;
2)用户历史对搜索结果的点击记录。2) The user's historical click records on the search results.
具体地,搜索信息获取装置在网络设备本地或第三方设备的用户历史信息库中获取该用户的历史搜索相关信息,如用户历史对搜索结果“北京市气象局”执行过点击操作;接着,相关结果确定装置根据该历史搜索相关信息,确定在至少一个第一搜索结果中,具有收藏提示信息的历史相关第一搜索结果为“北京市气象局”;子结果提供装置将根据用户输入的第一查询序列进行匹配查询所获得的至少一个第一搜索结果提供至该用户,其中,所述至少一个第一搜索结果中的历史相关第一搜索结果“北京市气象局”包括与其相对应的收藏提示信息;第一收藏操作接收装置接收该用户对该历史相关第一搜索结果相对应的收藏提示信息的收藏操作。Specifically, the search information obtaining means obtains the user's historical search-related information from the local network device or the user history information database of the third-party device, such as the user's history of clicking on the search result "Beijing Meteorological Bureau"; The result determination means determines that among at least one first search result, the history-related first search result with favorite reminder information is "Beijing Meteorological Bureau" according to the historical search related information; At least one first search result obtained by performing a matching query on the query sequence is provided to the user, wherein the historically relevant first search result "Beijing Meteorological Bureau" in the at least one first search result includes a corresponding favorite reminder Information; the first favorite operation receiving means receives the user's favorite operation of the favorite prompt information corresponding to the first search result related to the history.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何获取所述用户的历史搜索相关信息,根据所述历史搜索相关信息,确定具有收藏提示信息的一个或多个历史相关第一搜索结果,将根据用户输入的第一查询序列进行匹配查询所获得的至少一个第一搜索结果提供至所述用户,其中,所述至少一个第一搜索结果中的一个或多个历史相关第一搜索结果包括与其相对应的收藏提示信息,接收所述用户对所述一个或多个历史相关第一搜索结果相对应的收藏提示信息的收藏操作的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, rather than limit the present invention. Those skilled in the art should understand that any historical search related information obtained from the user, based on the historical search related information, determining one or more historically relevant first search results with favorite prompt information, and providing at least one first search result obtained by performing a matching query according to the first query sequence input by the user to the user, wherein the One or more historically relevant first search results in the at least one first search result include favorite reminder information corresponding thereto, and receive the user's favorite favorite reminder information corresponding to the one or more historically relevant first search results The implementation of the collection operation should be included in the scope of the present invention.
随后,第一收藏结果确定装置将所述收藏操作对应的第一搜索结果确定为收藏搜索结果。Subsequently, the first favorite result determining means determines the first search result corresponding to the favorite operation as the favorite search result.
具体地,第一收藏结果确定装置将第一收藏操作接收装置接收到的来自用户的收藏操作对应的第一搜索结果确定为收藏搜索结果。Specifically, the first favorite result determining means determines the first search result corresponding to the favorite operation received by the first favorite operation receiving means from the user as the favorite search result.
在一示例中,当用户对多个第一搜索结果中的第一搜索结果“北京市气象局”相对应的收藏按钮执行点击操作,则第一收藏结果确定装置将该第一搜索结果确定为收藏搜索结果。In an example, when the user clicks the favorite button corresponding to the first search result "Beijing Meteorological Bureau" among the multiple first search results, the first favorite result determining means determines the first search result as Favorite search results.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何将根据所述用户输入的第一查询序列进行匹配查询所获得的多个第一搜索结果提供至所述用户,接着接收所述用户对所述多个第一搜索结果中的至少一个的收藏操作,随后将所述收藏操作对应的第一搜索结果确定为收藏搜索结果的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solutions of the present invention, and are not intended to limit the present invention. Those skilled in the art should understand that any query obtained by performing a matching query according to the first query sequence input by the user A plurality of first search results of the plurality of first search results are provided to the user, and then a favorite operation of at least one of the plurality of first search results is received by the user, and then the first search result corresponding to the favorite operation is determined as a favorite The realization of the search results should be included in the scope of the present invention.
2)收藏结果获取装置1(参照图1)包括第一结果接收装置(图未示)和第二收藏结果确定装置(图未示);其中,第一结果接收装置接收另一用户输入的第一查询序列进行匹配查询所获得的至少一个第一搜索结果;第二收藏结果确定装置根据所述另一用户对所述至少一个第一搜索结果中的至少一个的收藏操作,将所述收藏操作对应的第一搜索结果确定为收藏搜索结果。2) Favorite result obtaining device 1 (refer to FIG. 1 ) includes a first result receiving device (not shown) and a second favorite result determining device (not shown); wherein, the first result receiving device receives the second result input by another user. At least one first search result obtained by performing a matching query on a query sequence; the second favorite result determination device converts the favorite operation to at least one of the at least one first search result according to another user's favorite operation The corresponding first search result is determined as a favorite search result.
其中,所述另一用户与所述另一用户存在关联关系,所述关联关系包括但不限于:Wherein, the other user has an association relationship with the other user, and the association relationship includes but is not limited to:
a)与所述用户属于同一用户群组的其他用户;a) other users belonging to the same user group as the user;
b)与所述用户具有社交关系的其他用户,如与所述用户的用户ID相关联的好友列表中的其他用户。b) Other users who have a social relationship with the user, such as other users in a friend list associated with the user ID of the user.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何接收另一用户输入的第一查询序列进行匹配查询所获得的至少一个第一搜索结果,根据所述另一用户对所述至少一个第一搜索结果中的至少一个的收藏操作,将所述收藏操作对应的第一搜索结果确定为收藏搜索结果的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, and are not intended to limit the present invention. Those skilled in the art should understand that any query obtained by receiving the first query sequence input by another user and performing a matching query At least one first search result, according to the other user's favorite operation on at least one of the at least one first search result, determining the first search result corresponding to the favorite operation as a favorite search result, All should be included within the scope of the present invention.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何获取与第一查询序列相匹配的收藏搜索结果的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, rather than limit the present invention. Those skilled in the art should understand that any implementation method of obtaining collection search results that match the first query sequence, All should be included within the scope of the present invention.
接着,第二结果获取装置2根据用户输入第二查询序列进行匹配查询,以获取至少一个第二搜索结果。Next, the second result obtaining means 2 performs a matching query according to the second query sequence input by the user, so as to obtain at least one second search result.
在一示例中,第二结果获取装置2通过JSP等动态网页技术,获取用户输入的第二查询序列,再将该第二查询序列提交给搜索引擎,并接收搜索引擎所反馈的与该第二查询序列相对应的至少一个第二搜索结果。例如,用户在搜索引擎搜索栏中输入第二查询序列“北京天气”,搜索引擎根据该第二查询序列,在网页数据库中进行匹配查询,得到与该第二查询序列相匹配的多个第二搜索结果,如“北京天气预报近日及一周内天气预报中国天气网”、“北京市气象局”、“北京天气的相关信息”;第二结果获取装置2通过搜索引擎提供的应用程序接口(API)获取搜索引擎所获得的该等第二搜索结果。In one example, the second result obtaining device 2 obtains the second query sequence input by the user through JSP and other dynamic web page technologies, then submits the second query sequence to the search engine, and receives the feedback from the search engine that is related to the second query sequence. At least one second search result corresponding to the query sequence. For example, the user enters the second query sequence "Beijing weather" in the search bar of the search engine, and the search engine performs a matching query in the webpage database according to the second query sequence, and obtains multiple second query sequences that match the second query sequence. Search results, such as "Beijing weather forecast in recent days and within a week weather forecast China Weather Network", "Beijing Meteorological Bureau", "related information of Beijing weather"; the second result acquisition device 2 provides an application programming interface (API) ) obtains the second search results obtained by the search engine.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何根据用户输入第二查询序列进行匹配查询,以获取至少一个第二搜索结果的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, rather than limit the present invention. Those skilled in the art should understand that any matching query is performed according to the second query sequence input by the user to obtain at least one first query sequence. The implementation of the two search results should be included in the scope of the present invention.
随后,优先展示装置3当所述第二搜索结果中包括所述收藏搜索结果时,将所述收藏搜索结果优先进行展示。Subsequently, when the favorite search result is included in the second search result, the preferential display means 3 will display the favorite search result preferentially.
其中,所述将收藏搜索结果优先进行展示的方式包括但不限于:Among them, the methods of displaying favorite search results first include but are not limited to:
-当所述第一查询序列与所述第二查询序列相同、且所述收藏搜索结果为第一类搜索结果时,则将所述收藏搜索结果置于全部搜索结果之前;- when the first query sequence is the same as the second query sequence and the favorite search result is the first type of search result, placing the favorite search result before all search results;
-当所述第一查询序列与所述第二查询序列相同、且所述收藏搜索结果为第二类搜索结果时,则将所述收藏搜索结果置于第二类搜索结果之前;- when the first query sequence is the same as the second query sequence and the favorite search result is a second-type search result, placing the favorite search result before the second-type search result;
-当所述第一查询序列与所述第二查询序列不相同、且所述收藏搜索结果为第一类搜索结果时,则将所述收藏搜索结果置于第二类搜索结果之前;- when the first query sequence is different from the second query sequence and the favorite search result is the first type of search result, placing the favorite search result before the second type of search result;
-当所述第一查询序列与所述第二查询序列不相同、且所述收藏搜索结果为第二类搜索结果时,则保证所述收藏搜索结果位于搜索结果首页位置;- when the first query sequence is different from the second query sequence and the favorite search result is the second type of search result, then ensure that the favorite search result is located on the home page of the search results;
-将所述收藏搜索结果进行突出展示;-Prominently display the favorite search results;
其中,所述突出展示的方式包括但不限于:Among them, the methods of highlighting include but are not limited to:
1)不同的字体颜色、大小;1) Different font colors and sizes;
2)显示收藏标识;2) Display the collection logo;
3)显示预定的背景设计;3) Display a predetermined background design;
4)通过悬浮窗口等形式。4) Through the floating window and other forms.
在一示例中,如图5a所示,用户输入第一查询序列进行匹配查询来获取多个第一搜索结果,其中,第一搜索结果“北京美食,北京订餐,北京餐厅,北京订餐网,北京网上订餐-饭统网”中包括收藏提示信息,收藏图标为五角心,且该第一搜索结果在搜索结果页面排于第6位;如图5b所示,当用户对其进行收藏操作后,确定该第一搜索结果为收藏搜索结果,包括收藏标识对勾,且显示该搜索结果“已收藏”;如图5c所示,用户输入第二查询序列进行匹配查询来获取多个第二搜索结果,当该等第二搜索结果中包括该收藏搜索结果时,将该收藏搜索结果优先进行展示,确定该收藏搜索结果排于搜索结果页面第3位,且包括收藏标识对勾,且显示该搜索结果“已收藏”。In an example, as shown in Figure 5a, the user inputs a first query sequence to perform a matching query to obtain a plurality of first search results, wherein the first search result is "Beijing cuisine, Beijing ordering meal, Beijing restaurant, Beijing ordering network, Beijing "Online Ordering-Fantong.com" includes collection reminder information, the collection icon is a five-pointed heart, and the first search result is ranked 6th on the search result page; as shown in Figure 5b, when the user performs the collection operation, Determine that the first search result is a favorite search result, include a favorite mark checkmark, and display the search result "favorite"; as shown in Figure 5c, the user enters a second query sequence to perform a matching query to obtain multiple second search results , when the favorite search result is included in the second search results, display the favorite search result first, make sure that the favorite search result is ranked third on the search result page, and include a favorite mark check mark, and display the search result The result is "favorite".
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何将收藏搜索结果优先进行展示的方式均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, rather than limit the present invention. Those skilled in the art should understand that any way of displaying favorite search results should be included in the scope of the present invention. within range.
其中,所述第一类搜索结果包括但不限于推广类搜索结果;第二类通过搜索结果包括但不限于根据现有自然搜索技术进行搜索所获取的搜索结果。Wherein, the first type of search results include but not limited to promotion search results; the second type of search results include but not limited to search results obtained by searching according to existing natural search technologies.
其中,判断第二搜索结果是否包括收藏搜索结果的方式包括通过比较第二搜索结果对应的网址链接与收藏搜索结果的网址是否一致。Wherein, the manner of judging whether the second search result includes the favorite search result includes comparing whether the website link corresponding to the second search result is consistent with the website of the favorite search result.
具体地,优先展示装置3通过比较第二搜索结果对应的网址链接与该用户和/或与该用户具有关联关系的另一用户的收藏搜索结果的网址是否一致,来确定第二搜索结果中是否包括收藏搜索结果;当第二搜索结果中包括收藏搜索结果时,将收藏搜索结果优先进行展示。Specifically, the preferential display device 3 determines whether the website link corresponding to the second search result is consistent with the website link of the favorite search result of the user and/or another user having an association relationship with the user, so as to determine whether Including favorite search results; when the second search result includes favorite search results, the favorite search results are displayed in priority.
在一示例中,当多个第二搜索结果包括R1、R2、R3及R4,优先展示装置3通过比较该等第二搜索结果对应的网址链接与该用户的收藏搜索结果的网址是否一致,确定R3为收藏搜索结果,且获取该多个第二搜索结果的第二查询序列为“北京餐馆”,R3被作为收藏搜索结果时对应的第一查询序列也为“北京餐馆”,同时R3为第一类搜索结果时,首先,搜索装置对R1、R2、R3及R4通过Google的PageRank或百度的超链等排序算法,来其排序为:R2、R4、R3、R1;接着,优先展示装置3再根据优先展示方式,当第一查询序列与第二查询序列相同、且该收藏搜索结果为第一类搜索结果时,将该收藏搜索结果R3置于全部第二搜索结果之前,多个第二搜索结果的展示顺序为R3、R2、R4、R1。In one example, when multiple second search results include R1, R2, R3, and R4, the priority display device 3 determines whether R3 is a favorite search result, and the second query sequence to obtain the multiple second search results is "Beijing restaurant". When R3 is used as a favorite search result, the corresponding first query sequence is also "Beijing restaurant", and R3 is the first For the first category of search results, firstly, the search device sorts R1, R2, R3, and R4 through Google's PageRank or Baidu's hyperlinks and other sorting algorithms, and the ranking is: R2, R4, R3, R1; then, priority display device 3 Then according to the priority display method, when the first query sequence is the same as the second query sequence and the favorite search result is the first type of search result, the favorite search result R3 is placed before all the second search results, and multiple second search results The display order of the search results is R3, R2, R4, R1.
优选地(参照图1),该搜索装置还包括判断装置(图未示);其中,判断装置当所述用户输入第二查询序列进行匹配查询时,判断所述用户与所述另一用户是否存在关联关系;若存在关联信息时,优先展示装置3当所述第二搜索结果中包括所述另一用户的收藏搜索结果时,将所述收藏搜索结果优先进行展示。Preferably (refer to FIG. 1 ), the search device further includes a judging device (not shown); wherein, when the user inputs a second query sequence to perform a matching query, the judging device judges whether the user and the other user are There is an association relationship; if there is association information, when the second search result includes the favorite search result of the other user, the preferential display device 3 will display the favorite search result preferentially.
具体地,当用户输入第二查询序列进行匹配查询时,判断装置判断该用户与另一用户是否存在关联关系,如在与该用户的用户ID相关联的好友列表中查找其他用户;若存在关联信息时,如查找到其他用户时,当第二搜索结果中包括该等其他用户的收藏搜索结果时,优先展示装置3将收藏搜索结果优先进行展示。Specifically, when the user inputs a second query sequence to perform a matching query, the judging device judges whether there is an association relationship between the user and another user, such as searching for other users in the friend list associated with the user ID of the user; if there is an association For information, if other users are found, when the second search results include the favorite search results of these other users, the priority display device 3 will display the favorite search results preferentially.
在一示例中,判断装置在与用户的用户ID相关联的好友列表中查找其他用户,查找到另一用户B;当多个第二搜索结果包括R5、R6、R7及R8,优先展示装置3通过比较该等第二搜索结果对应的网址链接与另一用户B的收藏搜索结果的网址是否一致,确定R6为收藏搜索结果,且获取该多个第二搜索结果的第二查询序列为“北京天气”,R6被作为收藏搜索结果时对应的第一查询序列也为“北京天气”,同时R5、R6、R7为第二类搜索结果、R8为第一类搜索结果,首先,搜索装置对R5、R6、R7及R8通过Google的PageRank或百度的超链等排序算法,来其排序为:R7、R5、R8、R6;接着,优先展示装置3再根据优先展示方式,当第一查询序列与第二查询序列相同、且该收藏搜索结果为第二类搜索结果时,则将该收藏搜索结果R6置于第二类搜索结果R7及R5之前,对于所获得的第一搜索结果和第二搜索结果,预定将第一类搜索结果排位于第二类搜索结果之前,则多个第二搜索结果的展示顺序为为R8、R6、R7、R5。In one example, the judging means searches for other users in the buddy list associated with the user ID of the user, and finds another user B; when multiple second search results include R5, R6, R7 and R8, the priority display means 3 By comparing whether the website link corresponding to the second search results is consistent with the website link of another user B’s favorite search result, it is determined that R6 is the favorite search result, and the second query sequence to obtain the multiple second search results is “Beijing Weather", when R6 is used as a favorite search result, the corresponding first query sequence is also "Beijing weather", while R5, R6, R7 are the second type of search results, and R8 is the first type of search results. First, the search device searches for R5 , R6, R7, and R8 are sorted by Google's PageRank or Baidu's hyperlinks and other sorting algorithms: R7, R5, R8, R6; When the second query sequence is the same and the favorite search result is the second type of search result, then the favorite search result R6 is placed before the second type of search results R7 and R5, and for the obtained first search result and second search result As a result, if the first type of search results are scheduled to be ranked before the second type of search results, the display order of the multiple second type of search results is R8, R6, R7, R5.
优选地,当用户输入的第二查询序列触发了多个收藏搜索结果时,多个收藏搜索结果之间的排序方式包括但不限于:Preferably, when the second query sequence input by the user triggers multiple favorite search results, the sorting methods among the multiple favorite search results include but are not limited to:
1)根据现有的排序方式对多个收藏搜索结果进行排序;1) Sort multiple favorite search results according to the existing sorting method;
2)结合每一收藏搜索结果被用户收藏的用户数量来进行调整排序。2) According to the number of users that each favorite search result is favorited by the user, the ranking is adjusted.
更优选地,当所述收藏搜索结果同时来自用户的收藏操作及另一用户的收藏操作,则将来自另一用户的收藏操作的收藏搜索结果置于来自用户的收藏操作的收藏搜索结果之后。More preferably, when the favorite search result comes from the user's favorite operation and another user's favorite operation at the same time, the favorite search result from the other user's favorite operation is placed after the favorite search result from the user's favorite operation.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何当所述第二搜索结果中包括所述收藏搜索结果时,将所述收藏搜索结果优先进行展示的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solutions of the present invention, rather than limiting the present invention. Those skilled in the art should understand that when any of the second search results include the favorite search results, The implementation of displaying the favorite search results in priority shall be included in the scope of the present invention.
优选地,当第一搜索结果中存在多个子链接、图片、视频等子搜索结果时,也可对所述某项子搜索结果进行收藏,接着,可在后续的第二搜索结果中,对于该项子搜索结果进行优先展示。Preferably, when there are multiple sub-search results such as sub-links, pictures, videos, etc. in the first search result, the certain sub-search result can also be collected, and then, in the subsequent second search results, for the Item search results are displayed first.
作为本实施例的优选方案之一(参照图1),优先展示装置3当所述第二搜索结果中包括所述收藏搜索结果时,将所述收藏搜索结果优先进行展示,其中,所述第二搜索结果中的至少一个包括与其相对应的收藏相关信息。其中,所述收藏相关信息包括但不限于:As one of the preferred solutions of this embodiment (refer to FIG. 1 ), when the favorite search result is included in the second search result, the preferential display device 3 will display the favorite search result preferentially, wherein the first At least one of the two search results includes collection-related information corresponding thereto. Among them, the collection-related information includes but is not limited to:
1)如图5所示,用于标记所述第二搜索结果是否为收藏搜索结果的标识信息;1) As shown in Figure 5, it is used to mark whether the second search result is the identification information of the favorite search result;
2)所述第二搜索结果被其他用户标记为收藏搜索结果的历史收藏信息;例如,第二搜索结果被其他用户标记为收藏搜索结果的收藏次数。2) History collection information of the second search result marked as a favorite search result by other users; for example, the number of times the second search result was marked as a favorite search result by other users.
将用户或与该用户具有关联关系的另一用户在历史搜索过程中已执行收藏操作,如保存、标记等操作的、能够反映该用户或该另一用户较高兴趣度的收藏搜索结果,在该用户的当前搜索过程中根据收藏优先级排序规则排于较前的排序位置,该用户能够在搜索结果页面的靠前位置处获取其已收藏过的收藏搜索结果,实现了用户快速高效地获取其兴趣度较高的收藏搜索结果的目的,进而提高用户搜索效率,提升用户搜索体验。The user or another user associated with the user has performed favorite operations during the historical search process, such as saving, marking, etc., and the favorite search results that can reflect the high interest of the user or the other user, in the In the current search process, the user is ranked in the front according to the favorite priority sorting rules, and the user can obtain the search results of the favorites he has already saved in the front position of the search result page, which realizes the user's fast and efficient acquisition The purpose of collecting search results with a high degree of interest is to improve user search efficiency and enhance user search experience.
作为本实施例的优选方案之一(参照图1),所述排序装置还包括收藏等级确定装置(图未示),该收藏等级确定装置确定所述收藏搜索结果的收藏等级信息;优先展示装置3当所述第二搜索结果中包括所述收藏搜索结果时,根据所述收藏搜索结果的收藏等级信息,将所述收藏搜索结果优先进行展示。As one of the preferred schemes of this embodiment (refer to FIG. 1), the sorting device also includes a collection level determination device (not shown in the figure), which determines the collection level information of the collection search results; the priority display device 3. When the second search result includes the favorite search result, according to the favorite level information of the favorite search result, preferentially display the favorite search result.
具体地,收藏等级确定装置确定收藏搜索结果的收藏等级信息的方式包括但不限于:Specifically, the means for determining the favorite level information of the favorite search result by the device for determining the favorite level include but are not limited to:
1)当网络设备向该用户提供用于确定收藏搜索结果的收藏等级信息的选择应用接口时,收藏等级确定装置接收该用户对收藏搜索结果对应的收藏等级信息的选择操作;1) When the network device provides the user with a selection application interface for determining the collection level information of the favorite search result, the favorite level determination device receives the user's selection operation on the favorite collection level information corresponding to the favorite search result;
在一示例中,网络设备向该用户提供用于确定收藏搜索结果“北京市气象局”的收藏等级信息的三个等级选项“高”、“中”、“低”,收藏等级确定装置通过实时监听的方式获取该用户对该等级选项“高”的点击操作,确定该收藏搜索结果的收藏等级信息为“高”。In one example, the network device provides the user with three grade options "high", "medium" and "low" for determining the collection grade information of the favorite search result "Beijing Meteorological Bureau". The method of monitoring obtains the user's click operation on the level option "high", and determines that the collection level information of the favorite search result is "high".
2)根据用户的收藏等级设置来确定收藏搜索结果的收藏等级信息;2) Determine the collection level information of the favorite search results according to the user's favorite level setting;
在一示例中,用户预设的收藏等级设置包括视频类收藏搜索结果的收藏等级信息为高,应用类收藏搜索结果的收藏等级信息为中,新闻类收藏搜索结果的收藏等级信息为低;收藏等级确定装置对收藏搜索结果“碟中谍4在线观看”对应的页面内容进行检测,确定该页面内容属于视频类型,收藏等级确定装置根据该收藏等级设置,确定该收藏搜索结果的收藏等级信息为高。In an example, the preset favorite level setting by the user includes that the favorite level information of video favorite search results is high, the favorite level information of application favorite search results is medium, and the favorite level information of news favorite search results is low; favorite The level determination device detects the page content corresponding to the collection search result "Mission: Impossible 4 online", and determines that the page content belongs to the video type, and the collection level determination device determines that the collection level information of the collection search result is set according to the collection level. high.
随后,当所述第二搜索结果中包括所述收藏搜索结果时,优先展示装置3根据所述收藏搜索结果的收藏等级信息,将所述收藏搜索结果优先进行展示。Subsequently, when the favorite search result is included in the second search result, the preferential display device 3 displays the favorite search result preferentially according to the favorite level information of the favorite search result.
具体地,首先,搜索装置对多个第二搜索结果,通过现有的排序方式,如传统搜索引擎一般通过其点击率或Google的PageRank或百度的超链等排序算法,来确定多个第二搜索结果的排序;接着,再根据收藏搜索结果优先展示方式,并结合各个收藏搜索结果的收藏等级信息,对已排序的多个第二搜索结果进行再次排序,来对收藏搜索结果优先进行展示。Specifically, first, the search device determines the number of second search results through the existing sorting methods, such as traditional search engines generally through their click-through rate or Google's PageRank or Baidu's hyperlinks and other sorting algorithms. Sorting of the search results; then, according to the preferred display method of the favorite search results, combined with the collection level information of each favorite search result, re-sort the sorted multiple second search results to preferentially display the favorite search results.
在一示例中,当多个第二搜索结果包括R1、R2、R3、R4及R5,其中,R1和R3为收藏搜索结果,收藏等级确定装置确定R1的收藏等级信息为低,R3的收藏等级信息为高,且获取该多个第二搜索结果的第二查询序列为“北京餐馆”,R1和R3被作为收藏搜索结果时对应的第一查询序列也为“北京餐馆”,同时R1和R3为第一类搜索结果时,则搜索装置通过其点击率或Google的PageRank或百度的超链等排序算法,确定多个第二搜索结果的排序为:R2、R1、R3、R4、R5,接着,优先展示装置3根据收藏搜索结果优先展示方式,当第一查询序列与第二查询序列相同、且该收藏搜索结果为第一类搜索结果时,将收藏搜索结果R1和R3置于全部第二搜索结果之前,且其之间的排位顺序为R3、R1,则多个第二搜索结果的展示顺序为R3、R1、R2、R4、R5。In one example, when a plurality of second search results include R1, R2, R3, R4, and R5, wherein R1 and R3 are favorite search results, the favorite level determination device determines that the favorite level information of R1 is low, and the favorite level information of R3 is low. The information is high, and the second query sequence to obtain the multiple second search results is "Beijing restaurant", and when R1 and R3 are used as favorite search results, the corresponding first query sequence is also "Beijing restaurant", while R1 and R3 When it is the first type of search results, then the search device determines the ranking of multiple second search results as: R2, R1, R3, R4, R5 through its click-through rate or sorting algorithms such as Google's PageRank or Baidu's hyperlinks, and then , according to the preferred display method of favorite search results, when the first query sequence is the same as the second query sequence, and the favorite search results are the first type of search results, the priority display device 3 places the favorite search results R1 and R3 in the second category of all search results. Before the search results, and the ranking order among them is R3, R1, then the display order of multiple second search results is R3, R1, R2, R4, R5.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何确定所述收藏搜索结果的收藏等级信息,根据收藏优先级排序规则,并结合各个收藏搜索结果的收藏等级信息,对所述多个第二搜索结果进行排序处理,以获取排序后的多个第二搜索结果的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solutions of the present invention, rather than limiting the present invention. Those skilled in the art should understand that any collection level information that determines the collection search results is sorted according to the collection priority Rules, combined with the collection level information of each favorite search result, sorting the multiple second search results to obtain the sorted multiple second search results should be included in the scope of the present invention .
根据收藏搜索结果的收藏等级信息对收藏搜索结果的优先展示方式进行调整,使得当第二搜索结果中包括多个收藏搜索结果时,可以确定该多个收藏搜索结果之间的排位顺序,保证了能够反映用户关注度高的高收藏等级的收藏等级信息位于多个收藏等级信息中靠前位置,提高用户搜索效率。According to the collection level information of the favorite search results, the priority display mode of the favorite search results is adjusted, so that when the second search result includes multiple favorite search results, the ranking order among the multiple favorite search results can be determined, ensuring The collection level information of high collection level that can reflect the user's high degree of attention is placed at the front position among multiple collection level information, thereby improving the user's search efficiency.
作为本实施例的优选方案之一(参照图1),其中,搜索装置还包括保存装置(图未示),当将所述多个第一搜索结果中的至少一个确定为收藏搜索结果时,保存装置将所述收藏搜索结果保存至目标收藏夹。As one of the preferred solutions of this embodiment (refer to FIG. 1), wherein the search device further includes a storage device (not shown in the figure), when at least one of the plurality of first search results is determined as a favorite search result, The saving means saves the favorite search result to a target favorite.
具体地,当将多个第一搜索结果中的至少一个第一搜索结果确定为收藏搜索结果时,保存装置根据收藏搜索结果,如收藏搜索结果的页面内容类型或域名信息等,将收藏搜索结果保存至目标收藏夹。Specifically, when at least one first search result among the plurality of first search results is determined as a favorite search result, the storage device will save the favorite search result according to the favorite search result, such as the page content type or domain name information of the favorite search result, etc. Save to target favorites.
在一示例中,当将多个第一搜索结果中的至少一个第一搜索结果确定为收藏搜索结果时,若收藏搜索结果的页面内容为视频类型,则保存装置将该收藏搜索结果保存至相应的视频类型文件夹;在另一示例中,不同域名下的收藏搜索结果可收藏至与域名相对应的目标文件夹中,保存装置将域名“sina.com.cn”下的收藏搜索结果收藏至“新浪”文件夹。In an example, when at least one first search result among the plurality of first search results is determined to be a favorite search result, if the page content of the favorite search result is a video type, the saving means saves the favorite search result to the corresponding In another example, the favorite search results under different domain names can be stored in the target folder corresponding to the domain name, and the saving device will store the favorite search results under the domain name "sina.com.cn" into "Sina" folder.
优选地(参照图2),保存装置包括候选收藏夹确定装置7、候选收藏夹提供装置8和目标收藏夹获取装置9。Preferably (refer to FIG. 2 ), the saving means includes candidate favorites determining means 7 , candidate favorites providing means 8 and target favorites acquiring means 9 .
首先,候选收藏夹确定装置7根据所述收藏搜索结果,在所述用户或所述另一用户的收藏夹中进行查询,以确定与所述收藏搜索结果相匹配的一个或多个候选收藏夹;随后,候选收藏夹提供装置7将所述一个或多个候选收藏夹中的至少一个提供给所述用户或所述另一用户;随后,目标收藏夹获取装置9获取所述用户或所述另一用户所选择的候选收藏夹,以作为所述目标收藏夹。Firstly, the candidate favorites determining means 7 searches the favorites of the user or another user according to the favorites search results to determine one or more candidate favorites that match the favorites search results ; Subsequently, the candidate favorites providing means 7 provides at least one of the one or more candidate favorites to the user or the other user; subsequently, the target favorites obtaining means 9 acquires the user or the A candidate favorite selected by another user as the target favorite.
在一示例中,当收藏搜索结果为“北京天气预报近日及一周内天气预报中国天气网”,则候选收藏夹确定装置7根据该收藏搜索结果对应的页面内容信息,在用户的收藏夹中进行匹配查询,确定与该收藏搜索结果相对应的候选收藏夹为“天气”、“生活”、“北京”;接着,候选收藏夹提供装置8通过诸如ASP、JSP或PHP等动态网页技术,或者其他约定的通信方式,如http或https等通信协议,将该等候选收藏夹提供给该用户;随后,目标收藏夹获取装置9通过诸如浏览器等第三方设备提供的应用程序接口(API),或者通过ASP、JSP或PHP等动态网页技术,获取到该用户的对“生活”收藏夹的选择,则将该收藏夹以作为目标收藏夹。In an example, when the favorite search result is "Beijing weather forecast for the next day and a week weather forecast on China Weather Network", the candidate favorite folder determination device 7 will perform a search in the user's favorite folder according to the page content information corresponding to the favorite search result. Match query, determine that the candidate favorites corresponding to the collection search results are "weather", "life", "Beijing"; then, the candidate favorites providing device 8 uses dynamic web technologies such as ASP, JSP or PHP, or other Agreed communication methods, such as communication protocols such as http or https, provide these candidate favorites to the user; then, the target favorites acquisition device 9 provides an application program interface (API) through a third-party device such as a browser, or Through ASP, JSP or PHP and other dynamic web page technologies, the user's selection of "Life" favorites is obtained, and the favorites are used as target favorites.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何根据所述收藏搜索结果,在所述用户或所述另一用户的收藏夹中进行查询,以确定与所述收藏搜索结果相匹配的一个或多个候选收藏夹,随后,将所述一个或多个候选收藏夹中的至少一个提供给所述用户或所述另一用户,随后,获取所述用户或所述另一用户所选择的候选收藏夹,以作为所述目标收藏夹的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solutions of the present invention, and are not intended to limit the present invention. Those skilled in the art should understand that any search results based on the collection, in the user or the other The user's favorites are queried to determine one or more candidate favorites that match the favorite search results, and then at least one of the one or more candidate favorites is provided to the user or the user. The other user, and then acquiring the candidate favorites selected by the user or the other user, as the realization of the target favorites, should be included in the scope of the present invention.
图3示出根据本发明另一个方面的用于基于收藏进行搜索的方法流程图。本发明的方法通过网络设备来实现;其中,根据本优选实施例的方法包括步骤S1、步骤S2和步骤S3。Fig. 3 shows a flowchart of a method for searching based on favorites according to another aspect of the present invention. The method of the present invention is realized through network equipment; wherein, the method according to this preferred embodiment includes step S1, step S2 and step S3.
其中,所述网络设备包括一种能够按照预先设定或存储的指令,自动进行数值计算和信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路(ASIC)、可编程门阵列(FPGA)、数字处理器(DSP)、嵌入式设备等。所述网络设备包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云。在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。本领域技术人员应能理解上述网络设备仅为举例,其他现有的或今后可能出现的网络设备如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用方式包含于此。Wherein, the network device includes an electronic device that can automatically perform numerical calculation and information processing according to preset or stored instructions, and its hardware includes but is not limited to a microprocessor, an application-specific integrated circuit (ASIC), a programmable gate Arrays (FPGA), digital processors (DSP), embedded devices, etc. The network device includes, but is not limited to, a computer, a network host, a single network server, a set of multiple network servers, or a cloud formed by multiple servers. Here, the cloud is composed of a large number of computers or network servers based on cloud computing (Cloud Computing), wherein cloud computing is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computer sets. Those skilled in the art should be able to understand that the above-mentioned network equipment is only an example, and other existing or future network equipment that may be applicable to the present invention should also be included in the protection scope of the present invention, and are hereby included by reference in this.
首先,在步骤S1中,网络设备获取与第一查询序列相匹配的收藏搜索结果。First, in step S1, the network device obtains the favorite search results matching the first query sequence.
其中,在步骤S1中,网络设备获取与第一查询序列相匹配的收藏搜索结果的方式包括但不限于:Wherein, in step S1, the way for the network device to obtain the favorite search results that match the first query sequence includes but is not limited to:
1)步骤S1(参照图1)中包括步骤S11(图未示)、步骤S12(图未示)和步骤S13(图未示);其中,在步骤S11中,网络设备将根据所述用户输入的第一查询序列进行匹配查询所获得的多个第一搜索结果提供至所述用户;在步骤S12中,网络设备接收所述用户对所述多个第一搜索结果中的至少一个的收藏操作;在步骤S13中,网络设备将所述收藏操作对应的第一搜索结果确定为收藏搜索结果。1) Step S1 (refer to FIG. 1) includes step S11 (not shown), step S12 (not shown) and step S13 (not shown); wherein, in step S11, the network device will A plurality of first search results obtained by performing a matching query on the first query sequence are provided to the user; in step S12, the network device receives the user's collection operation on at least one of the plurality of first search results ; In step S13, the network device determines the first search result corresponding to the favorite operation as the favorite search result.
具体地,网络设备通过ASP、JSP或PHP等动态网页技术,获取用户输入的第一查询序列,再将该第一查询序列提交给搜索引擎,并接收搜索引擎所反馈的与该第一查询序列相对应的多个第一搜索结果,在步骤S11中,网络设备将该等第一搜索结果通过网页技术提供至该用户。Specifically, the network device obtains the first query sequence input by the user through dynamic web page technologies such as ASP, JSP, or PHP, and then submits the first query sequence to the search engine, and receives feedback from the search engine that is related to the first query sequence. For a plurality of corresponding first search results, in step S11, the network device provides the first search results to the user through web technology.
在一示例中,用户在搜索引擎搜索栏中输入第一查询序列“北京天气”,搜索引擎根据该第一查询序列,在网页数据库中进行匹配查询,得到与第一查询序列“北京天气”相匹配的多个第一搜索结果,如“北京天气预报近日及一周内天气预报中国天气网”、“北京市气象局”、“北京天气的相关信息”;接着,网络设备通过搜索引擎提供的应用程序接口(API)获取搜索引擎所获得的该等第一搜索结果,在步骤S11中,网络设备将该等第一搜索结果按照一定的排序和格式提供至该用户。In one example, the user enters the first query sequence "Beijing weather" in the search bar of the search engine, and the search engine performs a matching query in the webpage database according to the first query sequence, and obtains a query corresponding to the first query sequence "Beijing weather". Matching multiple first search results, such as "Beijing weather forecast for recent days and within a week weather forecast China Weather Network", "Beijing Meteorological Bureau", "related information about Beijing weather"; then, the network device provides the application through the search engine The program interface (API) acquires the first search results obtained by the search engine. In step S11, the network device provides the first search results to the user according to a certain order and format.
接着,在步骤S12中,网络设备接收所述用户对其在步骤S11中所提供的多个第一搜索结果中的至少一个的收藏操作。Next, in step S12, the network device receives the user's favorite operation on at least one of the plurality of first search results provided in step S11.
其中,所述收藏操作指用户对搜索结果或搜索结果指向的网页进行记录的操作,包括但不限于:保存操作、标记操作等。Wherein, the collection operation refers to the user's operation of recording the search result or the webpage pointed to by the search result, including but not limited to: saving operation, marking operation and so on.
具体地,在步骤S12中,网络设备接收收藏操作的方式包括但不限于:Specifically, in step S12, the ways in which the network device receives the favorite operation include but are not limited to:
1)在步骤S12中,网络设备首先获取用户对多个第一搜索结果中的至少一个第一搜索结果对应的链接信息执行的点击操作,接着获取用户对该链接信息对应的搜索结果内容页面执行的页面收藏操作,该页面收藏操作包括将搜索结果内容页面保存至本地或网络收藏夹;1) In step S12, the network device first obtains the click operation performed by the user on the link information corresponding to at least one of the multiple first search results, and then obtains the click operation performed by the user on the search result content page corresponding to the link information. The page collection operation of the page collection operation includes saving the search result content page to a local or network favorite;
在一示例中,用户设备首先通过实时监控的方式获取用户对多个第一搜索结果中的至少一个第一搜索结果对应的链接信息执行的点击操作,接着获取用户对该链接信息对应的搜索结果内容页面执行的、将该搜索结果内容页面保存至本地收藏夹的收藏操作;随后,用户设备,如用户设备端的浏览器内嵌插件,将该收藏操作通过预定的通信方式发送至网络设备;在步骤S12中,网络设备接收来自用户设备的该收藏操作。In an example, the user equipment first obtains the click operation performed by the user on the link information corresponding to at least one of the multiple first search results through real-time monitoring, and then obtains the user's search result corresponding to the link information The collection operation performed by the content page to save the search result content page to the local favorite; then, the user device, such as the browser embedded plug-in on the user device end, sends the collection operation to the network device through a predetermined communication method; In step S12, the network device receives the favorite operation from the user equipment.
在另一示例中,用户设备,例如利用Cookie技术,将记录收藏操作的cookies信息发送至网络设备,在步骤S12中,网络设备接收来自用户设备的该cookies信息,并从该Cookie信息中读取该收藏操作;例如,首先,用户对多个第一搜索结果中的至少一个第一搜索结果对应的链接信息执行的点击操作,用户设备向该链接信息对应的第三方网络设备发送访问请求,当该第三方网络设备接收到该用户设备的访问请求,根据该用户的访问信息来生成的Cookie信息,用以标识该用户或用户设备,第三方网络设备会将该Cookie信息随同响应于访问请求返回的网页信息一并发给该用户设备并保存于该用户设备中;随后,用户设备获取用户对该链接信息对应的搜索结果内容页面执行的、将该搜索结果内容页面保存至本地收藏夹的收藏操作,并将该收藏操作记录于该Cookie信息中;在步骤S12中,网络设备周期性地获取来自用户设备的该Cookie信息,并从中读取该收藏操作。In another example, the user equipment, for example, uses Cookie technology to send the cookie information recording the collection operation to the network equipment. In step S12, the network equipment receives the cookie information from the user equipment, and reads the The collection operation; for example, first, the user performs a click operation on the link information corresponding to at least one of the first search results among the plurality of first search results, and the user device sends an access request to the third-party network device corresponding to the link information. The third-party network device receives the access request from the user device, and generates cookie information based on the user's access information to identify the user or user device, and the third-party network device returns the cookie information in response to the access request The web page information is sent to the user device and stored in the user device; then, the user device obtains the collection operation performed by the user on the search result content page corresponding to the link information, and saves the search result content page to a local favorite , and record the collection operation in the cookie information; in step S12, the network device periodically acquires the cookie information from the user equipment, and reads the collection operation therefrom.
2)优选地(参照图3),步骤S11包括步骤S111(图未示);在步骤S111中,网络设备将根据用户输入的第一查询序列进行匹配查询所获得的多个第一搜索结果提供至所述用户,其中,所述多个第一搜索结果中的任一个包括与其相对应的收藏提示信息;在步骤S12中,网络设备接收所述用户对所述多个第一搜索结果中的至少一个相对应的收藏提示信息的收藏操作。2) Preferably (refer to FIG. 3 ), step S11 includes step S111 (not shown); in step S111, the network device provides a plurality of first search results obtained by performing a matching query according to the first query sequence input by the user To the user, wherein any one of the plurality of first search results includes its corresponding favorite reminder information; in step S12, the network device receives the user’s response to the plurality of first search results At least one collection operation corresponding to the collection prompt information.
其中,所述收藏提示信息包括但不限于收藏按钮,收藏图标等。Wherein, the favorite prompt information includes but not limited to a favorite button, a favorite icon, and the like.
在一示例中,在步骤S111中,网络设备将根据用户输入的第一查询序列“北京天气”,在搜索引擎中进行匹配查询所获取的多个第一搜索结果,如“北京天气预报近日及一周内天气预报中国天气网”、“北京市气象局”、“北京天气的相关信息”按照一定的顺序提供至所述用户,其中,每个第一搜索结果包括与其相对应的收藏按钮;在步骤S12中,网络设备通过实时监控的方式接收该用户对“北京市气象局”相对应的收藏按钮的点击操作,并将该点击操作作为该用户对该第一搜索结果的收藏操作。In one example, in step S111, the network device will match the multiple first search results obtained in the search engine according to the first query sequence "Beijing weather" input by the user, such as "Beijing weather forecast for recent days and A week's weather forecast "China Weather Network", "Beijing Meteorological Bureau", and "Beijing weather related information" are provided to the user in a certain order, wherein each first search result includes a corresponding favorite button; in In step S12, the network device receives the user's click operation on the favorite button corresponding to "Beijing Meteorological Bureau" through real-time monitoring, and takes the click operation as the user's favorite operation for the first search result.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何将根据用户输入的第一查询序列进行匹配查询所获得的多个第一搜索结果提供至所述用户,其中,所述多个第一搜索结果中的任一个包括与其相对应的收藏提示信息,接着接收所述用户对所述多个第一搜索结果中的至少一个相对应的收藏提示信息的收藏操作的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, rather than limit the present invention. Those skilled in the art should understand that any query obtained by matching the first query sequence input by the user A first search result is provided to the user, wherein any one of the plurality of first search results includes favorite reminder information corresponding thereto, and then receiving the user's response to the plurality of first search results The realization of at least one collection operation corresponding to the collection prompt information shall be included in the scope of the present invention.
优选地(参照图3),该优选实施例的方法包括步骤S4(图未示)和步骤S5(图未示);其中,在步骤S4中,网络设备获取所述用户的历史搜索相关信息;在步骤S5中,网络设备根据所述历史搜索相关信息,确定具有收藏提示信息的一个或多个历史相关第一搜索结果;在步骤S11中,网络设备将根据用户输入的第一查询序列进行匹配查询所获得的至少一个第一搜索结果提供至所述用户,其中,所述至少一个第一搜索结果中的一个或多个历史相关第一搜索结果包括与其相对应的收藏提示信息;在步骤S12中,网络设备接收所述用户对所述一个或多个历史相关第一搜索结果相对应的收藏提示信息的收藏操作。Preferably (refer to FIG. 3 ), the method of this preferred embodiment includes step S4 (not shown in the figure) and step S5 (not shown in the figure); wherein, in step S4, the network device obtains the historical search related information of the user; In step S5, the network device determines one or more historically relevant first search results with favorite prompt information according to the historical search related information; in step S11, the network device performs matching according to the first query sequence input by the user At least one first search result obtained by querying is provided to the user, wherein one or more historically relevant first search results in the at least one first search result include favorite reminder information corresponding thereto; in step S12 In the method, the network device receives the user's collection operation on the collection prompt information corresponding to the one or more history-related first search results.
其中,所述历史搜索相关信息包括但不限于:Among them, the historical search related information includes but not limited to:
1)用户历史搜索记录;1) User history search records;
2)用户历史对搜索结果的点击记录。2) The user's historical click records on the search results.
具体地,在步骤S4中,网络设备在网络设备本地或第三方设备的用户历史信息库中获取该用户的历史搜索相关信息,如用户历史对搜索结果“北京市气象局”执行过点击操作;接着,在步骤S5中,网络设备根据该历史搜索相关信息,确定在至少一个第一搜索结果中,具有收藏提示信息的历史相关第一搜索结果为“北京市气象局”;在步骤S11中,网络设备将根据用户输入的第一查询序列进行匹配查询所获得的至少一个第一搜索结果提供至该用户,其中,所述至少一个第一搜索结果中的历史相关第一搜索结果“北京市气象局”包括与其相对应的收藏提示信息;在步骤S12中,网络设备接收该用户对该历史相关第一搜索结果相对应的收藏提示信息的收藏操作。Specifically, in step S4, the network device obtains the user's historical search related information from the user history information database of the network device or a third-party device, such as the user's history of performing a click operation on the search result "Beijing Meteorological Bureau"; Next, in step S5, the network device determines that among at least one first search result, the history-related first search result with favorite prompt information is "Beijing Meteorological Bureau" according to the historical search related information; in step S11, The network device provides the user with at least one first search result obtained by performing a matching query according to the first query sequence input by the user, wherein the historically relevant first search result "Beijing weather" in the at least one first search result "Office" includes favorite reminder information corresponding to it; in step S12, the network device receives the user's collection operation of the favorite reminder information corresponding to the history-related first search result.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何获取所述用户的历史搜索相关信息,根据所述历史搜索相关信息,确定具有收藏提示信息的一个或多个历史相关第一搜索结果,将根据用户输入的第一查询序列进行匹配查询所获得的至少一个第一搜索结果提供至所述用户,其中,所述至少一个第一搜索结果中的一个或多个历史相关第一搜索结果包括与其相对应的收藏提示信息,接收所述用户对所述一个或多个历史相关第一搜索结果相对应的收藏提示信息的收藏操作的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, rather than limit the present invention. Those skilled in the art should understand that any historical search related information obtained from the user, based on the historical search related information, determining one or more historically relevant first search results with favorite prompt information, and providing at least one first search result obtained by performing a matching query according to the first query sequence input by the user to the user, wherein the One or more historically relevant first search results in the at least one first search result include favorite reminder information corresponding thereto, and receive the user's favorite favorite reminder information corresponding to the one or more historically relevant first search results The implementation of the collection operation should be included in the scope of the present invention.
在步骤S3中,网络设备将所述收藏操作对应的第一搜索结果确定为收藏搜索结果。In step S3, the network device determines the first search result corresponding to the favorite operation as the favorite search result.
具体地,在步骤S3中,网络设备将其在步骤S2中接收到的来自用户的收藏操作对应的第一搜索结果确定为收藏搜索结果。Specifically, in step S3, the network device determines the first search result corresponding to the favorite operation received from the user in step S2 as the favorite search result.
在一示例中,当用户对多个第一搜索结果中的第一搜索结果“北京市气象局”相对应的收藏按钮执行点击操作,则在步骤S3中,网络设备将该第一搜索结果确定为收藏搜索结果。In an example, when the user clicks the favorite button corresponding to the first search result "Beijing Meteorological Bureau" among the multiple first search results, then in step S3, the network device determines the first search result Search results for favorites.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何将根据所述用户输入的第一查询序列进行匹配查询所获得的多个第一搜索结果提供至所述用户,接着接收所述用户对所述多个第一搜索结果中的至少一个的收藏操作,随后将所述收藏操作对应的第一搜索结果确定为收藏搜索结果的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solutions of the present invention, and are not intended to limit the present invention. Those skilled in the art should understand that any query obtained by performing a matching query according to the first query sequence input by the user A plurality of first search results of the plurality of first search results are provided to the user, and then a favorite operation of at least one of the plurality of first search results is received by the user, and then the first search result corresponding to the favorite operation is determined as a favorite The realization of the search results should be included in the scope of the present invention.
2)步骤S1(参照图1)中包括步骤S14(图未示)和步骤S15(图未示);其中,在步骤S14中,网络设备接收另一用户输入的第一查询序列进行匹配查询所获得的至少一个第一搜索结果;在步骤S15中,网络设备根据所述另一用户对所述至少一个第一搜索结果中的至少一个的收藏操作,将所述收藏操作对应的第一搜索结果确定为收藏搜索结果。2) Step S1 (refer to FIG. 1 ) includes step S14 (not shown) and step S15 (not shown); wherein, in step S14, the network device receives the first query sequence input by another user to perform a matching query. At least one first search result obtained; in step S15, the network device saves at least one of the at least one first search result corresponding to the favorite operation according to another user’s favorite operation Confirmed as a favorite search result.
其中,所述另一用户与所述另一用户存在关联关系,所述关联关系包括但不限于:Wherein, the other user has an association relationship with the other user, and the association relationship includes but is not limited to:
a)与所述用户属于同一用户群组的其他用户;a) other users belonging to the same user group as the user;
b)与所述用户具有社交关系的其他用户,如与所述用户的用户ID相关联的好友列表中的其他用户。b) Other users who have a social relationship with the user, such as other users in a friend list associated with the user ID of the user.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何接收另一用户输入的第一查询序列进行匹配查询所获得的至少一个第一搜索结果,根据所述另一用户对所述至少一个第一搜索结果中的至少一个的收藏操作,将所述收藏操作对应的第一搜索结果确定为收藏搜索结果的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, and are not intended to limit the present invention. Those skilled in the art should understand that any query obtained by receiving the first query sequence input by another user and performing a matching query At least one first search result, according to the other user's favorite operation on at least one of the at least one first search result, determining the first search result corresponding to the favorite operation as a favorite search result, All should be included within the scope of the present invention.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何获取与第一查询序列相匹配的收藏搜索结果的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, rather than limit the present invention. Those skilled in the art should understand that any implementation method of obtaining collection search results that match the first query sequence, All should be included within the scope of the present invention.
接着,在步骤S2中,网络设备根据用户输入第二查询序列进行匹配查询,以获取至少一个第二搜索结果。Next, in step S2, the network device performs a matching query according to the second query sequence input by the user, so as to obtain at least one second search result.
在一示例中,网络设备通过JSP等动态网页技术,获取用户输入的第二查询序列,再将该第二查询序列提交给搜索引擎,并接收搜索引擎所反馈的与该第二查询序列相对应的至少一个第二搜索结果。例如,用户在搜索引擎搜索栏中输入第二查询序列“北京天气”,搜索引擎根据该第二查询序列,在网页数据库中进行匹配查询,得到与该第二查询序列相匹配的多个第二搜索结果,如“北京天气预报近日及一周内天气预报中国天气网”、“北京市气象局”、“北京天气的相关信息”;在步骤S2中,网络设备通过搜索引擎提供的应用程序接口(API)获取搜索引擎所获得的该等第二搜索结果。In one example, the network device obtains the second query sequence input by the user through JSP and other dynamic web page technologies, and then submits the second query sequence to the search engine, and receives the feedback from the search engine corresponding to the second query sequence. At least one second search result for . For example, the user enters the second query sequence "Beijing weather" in the search bar of the search engine, and the search engine performs a matching query in the webpage database according to the second query sequence, and obtains multiple second query sequences that match the second query sequence. Search results, such as "Beijing weather forecast in recent days and weather forecast within a week China Weather Network", "Beijing Meteorological Bureau", "related information of Beijing weather"; API) to obtain the second search results obtained by the search engine.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何根据用户输入第二查询序列进行匹配查询,以获取至少一个第二搜索结果的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, rather than limit the present invention. Those skilled in the art should understand that any matching query is performed according to the second query sequence input by the user to obtain at least one first query sequence. The implementation of the two search results should be included in the scope of the present invention.
随后,在步骤S3中,网络设备当所述第二搜索结果中包括所述收藏搜索结果时,将所述收藏搜索结果优先进行展示。Subsequently, in step S3, when the second search result includes the favorite search result, the network device preferentially displays the favorite search result.
其中,所述将收藏搜索结果优先进行展示的方式包括但不限于:Among them, the methods of displaying favorite search results first include but are not limited to:
-当所述第一查询序列与所述第二查询序列相同、且所述收藏搜索结果为第一类搜索结果时,则将所述收藏搜索结果置于全部搜索结果之前;- when the first query sequence is the same as the second query sequence and the favorite search result is the first type of search result, placing the favorite search result before all search results;
-当所述第一查询序列与所述第二查询序列相同、且所述收藏搜索结果为第二类搜索结果时,则将所述收藏搜索结果置于第二类搜索结果之前;- when the first query sequence is the same as the second query sequence and the favorite search result is a second-type search result, placing the favorite search result before the second-type search result;
-当所述第一查询序列与所述第二查询序列不相同、且所述收藏搜索结果为第一类搜索结果时,则将所述收藏搜索结果置于第二类搜索结果之前;- when the first query sequence is different from the second query sequence and the favorite search result is the first type of search result, placing the favorite search result before the second type of search result;
-当所述第一查询序列与所述第二查询序列不相同、且所述收藏搜索结果为第二类搜索结果时,则保证所述收藏搜索结果位于搜索结果首页位置;- when the first query sequence is different from the second query sequence and the favorite search result is the second type of search result, then ensure that the favorite search result is located on the home page of the search results;
-将所述收藏搜索结果进行突出展示;-Prominently display the favorite search results;
其中,所述突出展示的方式包括但不限于:Among them, the methods of highlighting include but are not limited to:
1)不同的字体颜色、大小;1) Different font colors and sizes;
2)显示收藏标识;2) Display the collection logo;
3)显示预定的背景设计;3) Display a predetermined background design;
4)通过悬浮窗口等形式。4) Through the floating window and other forms.
在一示例中,如图5a所示,用户输入第一查询序列进行匹配查询来获取多个第一搜索结果,其中,第一搜索结果“北京美食,北京订餐,北京餐厅,北京订餐网,北京网上订餐-饭统网”中包括收藏提示信息,收藏图标为五角心,且该第一搜索结果在搜索结果页面排于第6位;如图5b所示,当用户对其进行收藏操作后,确定该第一搜索结果为收藏搜索结果,包括收藏标识对勾,且显示该搜索结果“已收藏”;如图5c所示,用户输入第二查询序列进行匹配查询来获取多个第二搜索结果,当该等第二搜索结果中包括该收藏搜索结果时,将该收藏搜索结果优先进行展示,确定该收藏搜索结果排于搜索结果页面第3位,且包括收藏标识对勾,且显示该搜索结果“已收藏”。In an example, as shown in Figure 5a, the user inputs a first query sequence to perform a matching query to obtain a plurality of first search results, wherein the first search result is "Beijing cuisine, Beijing ordering meal, Beijing restaurant, Beijing ordering network, Beijing "Online Ordering-Fantong.com" includes collection reminder information, the collection icon is a five-pointed heart, and the first search result is ranked 6th on the search result page; as shown in Figure 5b, when the user performs the collection operation, Determine that the first search result is a favorite search result, include a favorite mark checkmark, and display the search result "favorite"; as shown in Figure 5c, the user enters a second query sequence to perform a matching query to obtain multiple second search results , when the favorite search result is included in the second search results, display the favorite search result first, make sure that the favorite search result is ranked third on the search result page, and include a favorite mark check mark, and display the search result The result is "favorite".
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何将收藏搜索结果优先进行展示的方式均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solution of the present invention, rather than limit the present invention. Those skilled in the art should understand that any way of displaying favorite search results should be included in the scope of the present invention. within range.
其中,所述第一类搜索结果包括但不限于推广类搜索结果;第二类通过搜索结果包括但不限于根据现有自然搜索技术进行搜索所获取的搜索结果。Wherein, the first type of search results include but not limited to promotion search results; the second type of search results include but not limited to search results obtained by searching according to existing natural search technologies.
其中,判断第二搜索结果是否包括收藏搜索结果的方式包括通过比较第二搜索结果对应的网址链接与收藏搜索结果的网址是否一致。Wherein, the manner of judging whether the second search result includes the favorite search result includes comparing whether the website link corresponding to the second search result is consistent with the website of the favorite search result.
具体地,在步骤S3中,网络设备通过比较第二搜索结果对应的网址链接与该用户和/或与该用户具有关联关系的另一用户的收藏搜索结果的网址是否一致,来确定第二搜索结果中是否包括收藏搜索结果;当第二搜索结果中包括收藏搜索结果时,将收藏搜索结果优先进行展示。Specifically, in step S3, the network device determines whether the website link corresponding to the second search result is consistent with the website address of the favorite search result of the user and/or another user having an association relationship with the user, so as to determine the second search result. Whether the favorite search result is included in the result; when the favorite search result is included in the second search result, the favorite search result is displayed preferentially.
在一示例中,当多个第二搜索结果包括R1、R2、R3及R4,在步骤3中,网络设备通过比较该等第二搜索结果对应的网址链接与该用户的收藏搜索结果的网址是否一致,确定R3为收藏搜索结果,且获取该多个第二搜索结果的第二查询序列为“北京餐馆”,R3被作为收藏搜索结果时对应的第一查询序列也为“北京餐馆”,同时R3为第一类搜索结果时,首先,网络设备对R1、R2、R3及R4通过Google的PageRank或百度的超链等排序算法,来其排序为:R2、R4、R3、R1;在步骤S3中,网络设备再根据优先展示方式,当第一查询序列与第二查询序列相同、且该收藏搜索结果为第一类搜索结果时,将该收藏搜索结果R3置于全部第二搜索结果之前,多个第二搜索结果的展示顺序为R3、R2、R4、R1。In one example, when multiple second search results include R1, R2, R3, and R4, in step 3, the network device compares whether the URLs corresponding to the second search results are with the URLs of the user's favorite search results Consistent, determine that R3 is a favorite search result, and the second query sequence to obtain the multiple second search results is "Beijing restaurant", and the corresponding first query sequence when R3 is used as a favorite search result is also "Beijing restaurant", and at the same time When R3 is the first type of search result, at first, the network equipment sorts R1, R2, R3 and R4 through Google's PageRank or Baidu's hyperlinks and other sorting algorithms: R2, R4, R3, R1; in step S3 , the network device then places the favorite search result R3 before all the second search results when the first query sequence is the same as the second query sequence and the favorite search result is the first type of search result according to the priority display method, The display order of the plurality of second search results is R3, R2, R4, R1.
优选地(参照图3),该优选实施例的方法包括步骤S6(图未示);在步骤S6中,网络设备当所述用户输入第二查询序列进行匹配查询时,判断所述用户与所述另一用户是否存在关联关系;若存在关联信息时,在步骤S3中,网络设备当所述第二搜索结果中包括所述另一用户的收藏搜索结果时,将所述收藏搜索结果优先进行展示。Preferably (refer to FIG. 3 ), the method of this preferred embodiment includes step S6 (not shown); in step S6, when the user inputs a second query sequence to perform a matching query, the network device judges that the user is compatible with the Whether the other user has an association relationship; if there is association information, in step S3, when the second search result includes the favorite search result of the other user, the network device prioritizes the favorite search result exhibit.
具体地,当用户输入第二查询序列进行匹配查询时,在步骤S6中,网络设备判断该用户与另一用户是否存在关联关系,如在与该用户的用户ID相关联的好友列表中查找其他用户;若存在关联信息时,如查找到其他用户时,当第二搜索结果中包括该等其他用户的收藏搜索结果时,在步骤S3中,网络设备将收藏搜索结果优先进行展示。Specifically, when the user inputs the second query sequence to perform a matching query, in step S6, the network device judges whether the user has an association relationship with another user, such as searching for other users in the friend list associated with the user ID of the user. User; if there is related information, such as finding other users, when the second search result includes the favorite search results of these other users, in step S3, the network device will display the favorite search results first.
在一示例中,在步骤S6中,网络设备在与用户的用户ID相关联的好友列表中查找其他用户,查找到另一用户B;当多个第二搜索结果包括R5、R6、R7及R8,在步骤S3中,网络设备通过比较该等第二搜索结果对应的网址链接与另一用户B的收藏搜索结果的网址是否一致,确定R6为收藏搜索结果,且获取该多个第二搜索结果的第二查询序列为“北京天气”,R6被作为收藏搜索结果时对应的第一查询序列也为“北京天气”,同时R5、R6、R7为第二类搜索结果、R8为第一类搜索结果,首先,网络设备对R5、R6、R7及R8通过Google的PageRank或百度的超链等排序算法,来其排序为:R7、R5、R8、R6;接着,在步骤S3中,网络设备再根据优先展示方式,当第一查询序列与第二查询序列相同、且该收藏搜索结果为第二类搜索结果时,则将该收藏搜索结果R6置于第二类搜索结果R7及R5之前,对于所获得的第一搜索结果和第二搜索结果,预定将第一类搜索结果排位于第二类搜索结果之前,则多个第二搜索结果的展示顺序为为R8、R6、R7、R5。In an example, in step S6, the network device searches for other users in the friend list associated with the user ID of the user, and finds another user B; when a plurality of second search results include R5, R6, R7 and R8 , in step S3, the network device determines that R6 is a favorite search result by comparing whether the website link corresponding to the second search results is consistent with the website of another user B’s favorite search result, and obtains the plurality of second search results The second query sequence is "Beijing weather", when R6 is used as the favorite search result, the corresponding first query sequence is also "Beijing weather", and R5, R6, R7 are the second type of search results, and R8 is the first type of search As a result, at first, the network device sorts R5, R6, R7 and R8 through Google's PageRank or Baidu's hyperlinks and other sorting algorithms: R7, R5, R8, R6; then, in step S3, the network device again According to the priority display method, when the first query sequence is the same as the second query sequence and the favorite search result is the second type of search result, the favorite search result R6 is placed before the second type of search results R7 and R5, for The obtained first search result and second search result are predetermined to rank the first type of search result before the second type of search result, and the display order of the plurality of second search results is R8, R6, R7, R5.
优选地,当用户输入的第二查询序列触发了多个收藏搜索结果时,多个收藏搜索结果之间的排序方式包括但不限于:Preferably, when the second query sequence input by the user triggers multiple favorite search results, the sorting methods among the multiple favorite search results include but are not limited to:
1)根据现有的排序方式对多个收藏搜索结果进行排序;1) Sort multiple favorite search results according to the existing sorting method;
2)结合每一收藏搜索结果被用户收藏的用户数量来进行调整排序。2) According to the number of users that each favorite search result is favorited by the user, the ranking is adjusted.
更优选地,当所述收藏搜索结果同时来自用户的收藏操作及另一用户的收藏操作,则将来自另一用户的收藏操作的收藏搜索结果置于来自用户的收藏操作的收藏搜索结果之后。More preferably, when the favorite search result comes from the user's favorite operation and another user's favorite operation at the same time, the favorite search result from the other user's favorite operation is placed after the favorite search result from the user's favorite operation.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何当所述第二搜索结果中包括所述收藏搜索结果时,将所述收藏搜索结果优先进行展示的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solutions of the present invention, rather than limiting the present invention. Those skilled in the art should understand that when any of the second search results include the favorite search results, The implementation of displaying the favorite search results in priority shall be included in the scope of the present invention.
优选地,当第一搜索结果中存在多个子链接、图片、视频等子搜索结果时,也可对所述某项子搜索结果进行收藏,接着,可在后续的第二搜索结果中,对于该项子搜索结果进行优先展示。Preferably, when there are multiple sub-search results such as sub-links, pictures, videos, etc. in the first search result, the certain sub-search result can also be collected, and then, in the subsequent second search results, for the Item search results are displayed first.
作为本实施例的优选方案之一(参照图3),在步骤S3中,网络设备当所述第二搜索结果中包括所述收藏搜索结果时,将所述收藏搜索结果优先进行展示,其中,所述第二搜索结果中的至少一个包括与其相对应的收藏相关信息。其中,所述收藏相关信息包括但不限于:As one of the preferred solutions of this embodiment (refer to FIG. 3 ), in step S3, when the second search result includes the favorite search result, the network device preferentially displays the favorite search result, wherein, At least one of the second search results includes collection-related information corresponding thereto. Among them, the collection-related information includes but is not limited to:
1)用于标记所述第二搜索结果是否为收藏搜索结果的标识信息;1) Identification information for marking whether the second search result is a favorite search result;
2)所述第二搜索结果被其他用户标记为收藏搜索结果的历史收藏信息;例如,第二搜索结果被其他用户标记为收藏搜索结果的收藏次数。2) History collection information of the second search result marked as a favorite search result by other users; for example, the number of times the second search result was marked as a favorite search result by other users.
将用户或与该用户具有关联关系的另一用户在历史搜索过程中已执行收藏操作,如保存、标记等操作的、能够反映该用户或该另一用户较高兴趣度的收藏搜索结果,在该用户的当前搜索过程中根据收藏优先级排序规则排于较前的排序位置,该用户能够在搜索结果页面的靠前位置处获取其已收藏过的收藏搜索结果,实现了用户快速高效地获取其兴趣度较高的收藏搜索结果的目的,进而提高用户搜索效率,提升用户搜索体验。The user or another user associated with the user has performed favorite operations during the historical search process, such as saving, marking, etc., and the favorite search results that can reflect the high interest of the user or the other user, in the In the current search process, the user is ranked in the front according to the favorite priority sorting rules, and the user can obtain the search results of the favorites he has already saved in the front position of the search result page, which realizes the user's fast and efficient acquisition The purpose of collecting search results with a high degree of interest is to improve user search efficiency and enhance user search experience.
作为本实施例的优选方案之一(参照图1),该方法还包括步骤S7(图未示),在步骤S7中,网络设备确定所述收藏搜索结果的收藏等级信息;在步骤S3中,网络设备当所述第二搜索结果中包括所述收藏搜索结果时,根据所述收藏搜索结果的收藏等级信息,将所述收藏搜索结果优先进行展示。As one of the preferred solutions of this embodiment (refer to FIG. 1), the method also includes step S7 (not shown), in step S7, the network device determines the favorite level information of the favorite search result; in step S3, When the favorite search result is included in the second search result, the network device displays the favorite search result preferentially according to the favorite level information of the favorite search result.
具体地,在步骤S7中,网络设备确定收藏搜索结果的收藏等级信息的方式包括但不限于:Specifically, in step S7, the way for the network device to determine the favorite level information of the favorite search result includes but is not limited to:
1)当网络设备向该用户提供用于确定收藏搜索结果的收藏等级信息的选择应用接口时,在步骤S7中,网络设备接收该用户对收藏搜索结果对应的收藏等级信息的选择操作;1) When the network device provides the user with a selection application interface for determining the collection level information of the favorite search result, in step S7, the network device receives the user's selection operation on the collection level information corresponding to the favorite search result;
在一示例中,网络设备向该用户提供用于确定收藏搜索结果“北京市气象局”的收藏等级信息的三个等级选项“高”、“中”、“低”,在步骤S7中,网络设备通过实时监听的方式获取该用户对该等级选项“高”的点击操作,确定该收藏搜索结果的收藏等级信息为“高”。In an example, the network device provides the user with three grade options "high", "medium" and "low" for determining the collection grade information of the collection search result "Beijing Meteorological Bureau". In step S7, the network The device obtains the user's click operation on the level option "high" through real-time monitoring, and determines that the collection level information of the favorite search result is "high".
2)根据用户的收藏等级设置来确定收藏搜索结果的收藏等级信息;2) Determine the collection level information of the favorite search results according to the user's favorite level setting;
在一示例中,用户预设的收藏等级设置包括视频类收藏搜索结果的收藏等级信息为高,应用类收藏搜索结果的收藏等级信息为中,新闻类收藏搜索结果的收藏等级信息为低;在步骤S7中,网络设备对收藏搜索结果“碟中谍4在线观看”对应的页面内容进行检测,确定该页面内容属于视频类型,网络设备根据该收藏等级设置,确定该收藏搜索结果的收藏等级信息为高。In an example, the preset favorite level setting by the user includes that the favorite level information of video favorite search results is high, the favorite level information of application favorite search results is medium, and the favorite level information of news favorite search results is low; In step S7, the network device detects the page content corresponding to the favorite search result "Mission: Impossible 4 online", and determines that the page content belongs to the video type, and the network device determines the collection level information of the favorite search result according to the favorite level setting for high.
随后,当所述第二搜索结果中包括所述收藏搜索结果时,在步骤S3中,网络设备根据所述收藏搜索结果的收藏等级信息,将所述收藏搜索结果优先进行展示。Subsequently, when the second search result includes the favorite search result, in step S3, the network device displays the favorite search result preferentially according to the favorite level information of the favorite search result.
具体地,首先,网络设备对多个第二搜索结果,通过现有的排序方式,如传统搜索引擎一般通过其点击率或Google的PageRank或百度的超链等排序算法,来确定多个第二搜索结果的排序;接着,在步骤S3中,网络设备再根据收藏搜索结果优先展示方式,并结合各个收藏搜索结果的收藏等级信息,对已排序的多个第二搜索结果进行再次排序,来对收藏搜索结果优先进行展示。Specifically, firstly, the network device determines the number of second search results through the existing sorting method, such as traditional search engines usually use their click-through rate or Google's PageRank or Baidu's hyperlinks and other sorting algorithms to determine the number of second search results. Sorting of search results; then, in step S3, the network device re-sorts the sorted multiple second search results according to the preferred display mode of the favorite search results and in combination with the collection level information of each favorite search result, to Favorite search results are displayed first.
在一示例中,当多个第二搜索结果包括R1、R2、R3、R4及R5,其中,R1和R3为收藏搜索结果,在步骤S7中,网络设备确定R1的收藏等级信息为低,R3的收藏等级信息为高,且获取该多个第二搜索结果的第二查询序列为“北京餐馆”,R1和R3被作为收藏搜索结果时对应的第一查询序列也为“北京餐馆”,同时R1和R3为第一类搜索结果时,则网络设备通过其点击率或Google的PageRank或百度的超链等排序算法,确定多个第二搜索结果的排序为:R2、R1、R3、R4、R5,接着,在步骤S3中,网络设备根据收藏搜索结果优先展示方式,当第一查询序列与第二查询序列相同、且该收藏搜索结果为第一类搜索结果时,将收藏搜索结果R1和R3置于全部第二搜索结果之前,且其之间的排位顺序为R3、R1,则多个第二搜索结果的展示顺序为R3、R1、R2、R4、R5。In an example, when multiple second search results include R1, R2, R3, R4 and R5, wherein R1 and R3 are favorite search results, in step S7, the network device determines that the favorite level information of R1 is low, and R3 The collection level information of is high, and the second query sequence to obtain the multiple second search results is "Beijing restaurant", when R1 and R3 are used as favorite search results, the corresponding first query sequence is also "Beijing restaurant", and at the same time When R1 and R3 are the first type of search results, the network device determines the ranking of multiple second search results as follows: R2, R1, R3, R4, etc. R5. Next, in step S3, the network device displays the favorite search results R1 and R3 is placed before all the second search results, and the ranking order among them is R3, R1, then the display order of multiple second search results is R3, R1, R2, R4, R5.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何确定所述收藏搜索结果的收藏等级信息,根据收藏优先级排序规则,并结合各个收藏搜索结果的收藏等级信息,对所述多个第二搜索结果进行排序处理,以获取排序后的多个第二搜索结果的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solutions of the present invention, rather than limiting the present invention. Those skilled in the art should understand that any collection level information that determines the collection search results is sorted according to the collection priority Rules, combined with the collection level information of each favorite search result, sorting the multiple second search results to obtain the sorted multiple second search results should be included in the scope of the present invention .
根据收藏搜索结果的收藏等级信息对收藏搜索结果的优先展示方式进行调整,使得当第二搜索结果中包括多个收藏搜索结果时,可以确定该多个收藏搜索结果之间的排位顺序,保证了能够反映用户关注度高的高收藏等级的收藏等级信息位于多个收藏等级信息中靠前位置,提高用户搜索效率。According to the collection level information of the favorite search results, the priority display mode of the favorite search results is adjusted, so that when the second search result includes multiple favorite search results, the ranking order among the multiple favorite search results can be determined, ensuring The collection level information of high collection level that can reflect the user's high degree of attention is placed at the front position among multiple collection level information, thereby improving the user's search efficiency.
作为本实施例的优选方案之一(参照图3),其中,该优选实施例中还包括步骤S8(图未示),当将所述多个第一搜索结果中的至少一个确定为收藏搜索结果时,在步骤S8中,网络设备将所述收藏搜索结果保存至目标收藏夹。As one of the preferred solutions of this embodiment (refer to FIG. 3 ), this preferred embodiment also includes step S8 (not shown in the figure), when at least one of the plurality of first search results is determined to be a favorite search If there is a result, in step S8, the network device saves the favorite search result to the target favorite.
具体地,当将多个第一搜索结果中的至少一个第一搜索结果确定为收藏搜索结果时,在步骤S8中,网络设备根据收藏搜索结果,如收藏搜索结果的页面内容类型或域名信息等,将收藏搜索结果保存至目标收藏夹。Specifically, when at least one of the plurality of first search results is determined to be a favorite search result, in step S8, the network device according to the favorite search results, such as the page content type or domain name information of the favorite search results, etc. to save the favorite search results to the target favorites.
在一示例中,当将多个第一搜索结果中的至少一个第一搜索结果确定为收藏搜索结果时,若收藏搜索结果的页面内容为视频类型,则在步骤S8中,网络设备将该收藏搜索结果保存至相应的视频类型文件夹;在另一示例中,不同域名下的收藏搜索结果可收藏至与域名相对应的目标文件夹中,网络设备将域名“sina.com.cn”下的收藏搜索结果收藏至“新浪”文件夹。In an example, when at least one of the multiple first search results is determined to be a favorite search result, if the page content of the favorite search result is a video type, then in step S8, the network device The search results are saved to the corresponding video type folder; in another example, the favorite search results under different domain names can be stored in the target folder corresponding to the domain name, and the network device saves the Save the search results to the "Sina" folder.
优选地(参照图4),步骤S8包括步骤S81、步骤S82和步骤S83。Preferably (refer to FIG. 4 ), step S8 includes step S81, step S82 and step S83.
首先,在步骤S81中,网络设备根据所述收藏搜索结果,在所述用户或所述另一用户的收藏夹中进行查询,以确定与所述收藏搜索结果相匹配的一个或多个候选收藏夹;随后,在步骤S82中,网络设备将所述一个或多个候选收藏夹中的至少一个提供给所述用户或所述另一用户;随后,在步骤S83中,网络设备获取所述用户或所述另一用户所选择的候选收藏夹,以作为所述目标收藏夹。First, in step S81, the network device searches the favorites of the user or the other user according to the favorite search results to determine one or more candidate favorites that match the favorite search results. Then, in step S82, the network device provides at least one of the one or more candidate favorites to the user or the other user; then, in step S83, the network device obtains the user Or a candidate favorite selected by the other user as the target favorite.
在一示例中,当收藏搜索结果为“北京天气预报近日及一周内天气预报中国天气网”,则在步骤S81中,网络设备根据该收藏搜索结果对应的页面内容信息,在用户的收藏夹中进行匹配查询,确定与该收藏搜索结果相对应的候选收藏夹为“天气”、“生活”、“北京”;接着,在步骤S82中,网络设备通过诸如ASP、JSP或PHP等动态网页技术,或者其他约定的通信方式,如http或https等通信协议,将该等候选收藏夹提供给该用户;随后,在步骤S83中,网络设备通过诸如浏览器等第三方设备提供的应用程序接口(API),或者通过ASP、JSP或PHP等动态网页技术,获取到该用户的对“生活”收藏夹的选择,则将该收藏夹以作为目标收藏夹。In an example, when the favorite search result is "Beijing weather forecast for the next day and a week weather forecast China Weather Network", then in step S81, the network device lists the page content information corresponding to the favorite search result in the user's favorites Carry out matching query, determine that the candidate favorites corresponding to this collection search result are " weather ", " life ", " Beijing "; Or other agreed communication methods, such as communication protocols such as http or https, provide these candidate favorites to the user; then, in step S83, the network device provides the application program interface (API) through the third-party device such as a browser. ), or through dynamic web technologies such as ASP, JSP or PHP, to obtain the user's selection of "life" favorites, then use this favorites as the target favorites.
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何根据所述收藏搜索结果,在所述用户或所述另一用户的收藏夹中进行查询,以确定与所述收藏搜索结果相匹配的一个或多个候选收藏夹,随后,将所述一个或多个候选收藏夹中的至少一个提供给所述用户或所述另一用户,随后,获取所述用户或所述另一用户所选择的候选收藏夹,以作为所述目标收藏夹的实现方式,均应包含在本发明的范围内。It should be noted that the above examples are only to better illustrate the technical solutions of the present invention, and are not intended to limit the present invention. Those skilled in the art should understand that any search results based on the collection, in the user or the other The user's favorites are queried to determine one or more candidate favorites that match the favorite search results, and then at least one of the one or more candidate favorites is provided to the user or the user. The other user, and then acquiring the candidate favorites selected by the user or the other user, as the realization of the target favorites, should be included in the scope of the present invention.
需要注意的是,本发明可在软件和/或软件与硬件的组合体中被实施,例如,其中的硬件可采用专用集成电路(ASIC)或任何其他类似硬件设备来实现。在一个实施例中,本发明的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本发明的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本发明的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present invention can be implemented in software and/or a combination of software and hardware, for example, the hardware can be implemented by an application specific integrated circuit (ASIC) or any other similar hardware devices. In one embodiment, the software program of the present invention can be executed by a processor to realize the steps or functions described above. Likewise, the software program (including associated data structures) of the present invention can be stored in a computer-readable recording medium such as RAM memory, magnetic or optical drive or floppy disk and the like. In addition, some steps or functions of the present invention may be implemented by hardware, for example, as a circuit that cooperates with a processor to execute each step or function.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他步骤,单数不排除复数。装置权利要求中陈述的多个装置也可以由一个装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the invention is not limited to the details of the above-described exemplary embodiments, but that the invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Accordingly, the embodiments should be regarded in all points of view as exemplary and not restrictive, the scope of the invention being defined by the appended claims rather than the foregoing description, and it is therefore intended that the scope of the invention be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in the present invention. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is clear that the word "comprising" does not exclude other steps, and the singular does not exclude the plural. A plurality of means stated in the device claims can also be realized by one device by software or hardware. The words first, second, etc. are used to denote names and do not imply any particular order.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310065440.0A CN103186666B (en) | 2013-03-01 | 2013-03-01 | Method, device and equipment for searching based on favorites |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310065440.0A CN103186666B (en) | 2013-03-01 | 2013-03-01 | Method, device and equipment for searching based on favorites |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103186666A CN103186666A (en) | 2013-07-03 |
CN103186666B true CN103186666B (en) | 2017-02-08 |
Family
ID=48677833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310065440.0A Active CN103186666B (en) | 2013-03-01 | 2013-03-01 | Method, device and equipment for searching based on favorites |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103186666B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104484416B (en) * | 2014-12-16 | 2018-10-09 | 北京奇虎科技有限公司 | A kind of loading method and device of collection information |
CN104484414B (en) * | 2014-12-16 | 2018-12-28 | 北京奇虎科技有限公司 | A kind for the treatment of method and apparatus of collection information |
CN104572960B (en) * | 2014-12-29 | 2018-07-06 | 北京奇虎科技有限公司 | A kind of method and device of search |
US10635725B2 (en) * | 2015-04-09 | 2020-04-28 | Google Llc | Providing app store search results |
CN104899270A (en) * | 2015-05-26 | 2015-09-09 | 惠州Tcl移动通信有限公司 | Intelligent terminal and information storage method for same |
CN105260382A (en) * | 2015-09-09 | 2016-01-20 | 百度在线网络技术(北京)有限公司 | Searching result processing method and searching result processing system |
CN107203530A (en) * | 2016-03-16 | 2017-09-26 | 北大方正集团有限公司 | Information recommendation method |
CN106484921A (en) * | 2016-12-06 | 2017-03-08 | 庄爱芹 | A kind of method for browsing search key in record in webpage |
CN110297995B (en) * | 2019-07-04 | 2022-06-14 | 百度在线网络技术(北京)有限公司 | Method and device for collecting information |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101790729A (en) * | 2007-08-31 | 2010-07-28 | 微软公司 | Presenting result items based upon user behavior |
CN102314443A (en) * | 2010-06-30 | 2012-01-11 | 腾讯科技(深圳)有限公司 | Method for correcting search engine and system |
CN102663048A (en) * | 2012-03-29 | 2012-09-12 | 奇智软件(北京)有限公司 | Method and device for providing search result |
-
2013
- 2013-03-01 CN CN201310065440.0A patent/CN103186666B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101790729A (en) * | 2007-08-31 | 2010-07-28 | 微软公司 | Presenting result items based upon user behavior |
CN102314443A (en) * | 2010-06-30 | 2012-01-11 | 腾讯科技(深圳)有限公司 | Method for correcting search engine and system |
CN102663048A (en) * | 2012-03-29 | 2012-09-12 | 奇智软件(北京)有限公司 | Method and device for providing search result |
Also Published As
Publication number | Publication date |
---|---|
CN103186666A (en) | 2013-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103186666B (en) | Method, device and equipment for searching based on favorites | |
US8498984B1 (en) | Categorization of search results | |
CN102687138B (en) | Search suggestion clustering and rendering | |
TWI512506B (en) | Sorting method and device for search results | |
WO2017121251A1 (en) | Information push method and device | |
CN104715064B (en) | It is a kind of to realize the method and server that keyword is marked on webpage | |
US9009162B1 (en) | Method for search disambiguation using hashtags having context data associated therewith | |
CN102298616A (en) | A method and apparatus for providing related sublinks in search results | |
CN104715069B (en) | It is a kind of to search for the treating method and apparatus for recommending word | |
WO2016000555A1 (en) | Methods and systems for recommending social network-based content and news | |
US20100161592A1 (en) | Query Intent Determination Using Social Tagging | |
CN104537065A (en) | Search result pushing method and system | |
CN102915380A (en) | Method and system for carrying out searching on data | |
CN102930054A (en) | Data search method and data search system | |
CN103366002B (en) | Personalized method for vertical search and device | |
US9218422B2 (en) | Personalized deeplinks for search results | |
US20160306887A1 (en) | Methods, apparatuses and systems for linked and personalized extended search | |
CN104123366A (en) | Search method and server | |
CN103617278A (en) | Control method and device for address bar searching | |
KR100671077B1 (en) | Server, method and system for providing information retrieval service using page bundle | |
CN104199989B (en) | The method and client of each search result items top set number are shown in search results pages | |
CN106919593B (en) | A search method and device | |
US20130304720A1 (en) | Methods and Apparatus for Presenting Search Results with Indication of Relative Position of Search Terms | |
CN104866545B (en) | The method of search key on information displayed page | |
WO2017097102A1 (en) | Retrieval method and retrieval device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |