CN104199987B - Method for displaying search result pages according to user-defined ordering, and search server - Google Patents
Method for displaying search result pages according to user-defined ordering, and search server Download PDFInfo
- Publication number
- CN104199987B CN104199987B CN201410509329.0A CN201410509329A CN104199987B CN 104199987 B CN104199987 B CN 104199987B CN 201410509329 A CN201410509329 A CN 201410509329A CN 104199987 B CN104199987 B CN 104199987B
- Authority
- CN
- China
- Prior art keywords
- search
- search result
- user
- result items
- client
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种根据用户自定义排序显示搜索结果页的方法及系统。其中,方法包括:接收客户端发送的携带用户标识和搜索关键词的搜索请求消息;根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页;根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项;将经过用户自定义排序的至少一个搜索结果项整合到第一搜索结果页中,得到第二搜索结果页;将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页。通过本发明提供的方案,搜索服务器为用户提供个性化定制的搜索结果页,使用户能够快速有效的查询到自己感兴趣的搜索结果项。
The invention discloses a method and system for displaying search result pages according to user-defined sorting. Wherein, the method includes: receiving a search request message carrying a user identifier and a search keyword sent by the client; querying the first search subsystem according to the search keyword to obtain a first search result page containing a plurality of search result items; according to the user identifier and Search keywords to query the second search subsystem, and obtain at least one search result item corresponding to the user identifier that has been sorted by the user; integrate at least one search result item that has been sorted by the user into the first search result page, and obtain the second Second search result page: return the second search result page to the client, so that the client draws and displays the second search result page. Through the solution provided by the present invention, the search server provides users with personalized and customized search result pages, so that users can quickly and effectively query the search result items they are interested in.
Description
技术领域technical field
本发明涉及互联网技术领域,具体涉及一种根据用户自定义排序显示搜索结果页的方法、搜索服务器及系统。The invention relates to the technical field of the Internet, in particular to a method for displaying search result pages according to user-defined sorting, a search server and a system.
背景技术Background technique
随着国内互联网技术的迅速发展,如何在互联网上快速准确的找到自己所需要的信息,成为互联网搜索中的一个关键问题。With the rapid development of domestic Internet technology, how to quickly and accurately find the information you need on the Internet has become a key issue in Internet search.
在现有的搜索结果页的显示中,一般是按照关键词与搜索服务器中存储的关键词的匹配程度来进行排序显示,或者通过统计用户对该关键词的网页的历史点击率进行排序显示。In the display of the existing search result pages, the keywords are generally sorted and displayed according to the degree of matching between the keywords and the keywords stored in the search server, or sorted and displayed by counting the historical click-through rate of the web pages of the keywords.
但是,在通过上述排序得到的搜索结果页中,用户所感兴趣的网页或内容并不一定是排在最前面的,而在用户再次搜索相同或相近的关键词时,搜索结果页中网页或内容的排序也会有所变动,需要用户一一查看,因此,上述搜索结果页显示方法不能快速有效的为用户提供想要的内容。However, in the search result pages obtained by the above sorting, the web pages or content that the user is interested in are not necessarily at the top, and when the user searches for the same or similar keywords again, the web pages or content in the search result page The sorting of the search result pages will also change, and the user needs to view them one by one. Therefore, the above method for displaying the search result page cannot quickly and effectively provide the desired content for the user.
发明内容Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的根据用户自定义排序显示搜索结果页的方法、搜索服务器及系统。In view of the above problems, the present invention is proposed to provide a method, a search server and a system for displaying search result pages according to user-defined sorting, which overcome the above problems or at least partially solve the above problems.
根据本发明的一个方面,提供了一种根据用户自定义排序显示搜索结果页的方法,包括:According to one aspect of the present invention, a method for displaying search result pages according to user-defined sorting is provided, including:
接收客户端发送的携带用户标识和搜索关键词的搜索请求消息;Receive the search request message carrying the user ID and search keywords sent by the client;
根据所述搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页;Querying the first search subsystem according to the search keyword to obtain a first search result page including a plurality of search result items;
根据所述用户标识和所述搜索关键词查询第二搜索子系统,得到所述用户标识对应的经过用户自定义排序的至少一个搜索结果项;Querying the second search subsystem according to the user ID and the search keyword, and obtaining at least one search result item corresponding to the user ID that has been sorted by user definition;
将所述经过用户自定义排序的至少一个搜索结果项整合到所述第一搜索结果页中,得到第二搜索结果页;Integrating the at least one search result item sorted by the user into the first search result page to obtain a second search result page;
将所述第二搜索结果页返回至所述客户端,以使所述客户端绘制显示所述第二搜索结果页。returning the second search result page to the client, so that the client draws and displays the second search result page.
进一步的,所述客户端在所述第二搜索结果页中显示用户进入自定义搜索结果页模式的提示信息。Further, the client displays prompt information for the user to enter a custom search result page mode on the second search result page.
进一步的,所述将经过用户自定义排序的至少一个搜索结果项整合到所述第一搜索结果页中,得到第二搜索结果页进一步包括:Further, the integration of at least one search result item sorted by the user into the first search result page to obtain the second search result page further includes:
将所述经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中各搜索结果项位置的前面。Inserting the at least one search result item sorted by user-defined order in front of each search result item position on the first search result page.
进一步的,所述将经过用户自定义排序的至少一个搜索结果项整合到所述第一搜索结果页中,得到第二搜索结果页还包括:Further, the integration of at least one search result item sorted by the user into the first search result page, and obtaining the second search result page further includes:
在所述将经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中多个搜索结果项位置的前面之后,判断插入的所述至少一个搜索结果项是否与所述第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若相同,则将所述第一搜索结果页包含的多个搜索结果项中的一个或多个删除。After said inserting at least one search result item sorted by user definition before the positions of multiple search result items on the first search result page, judging whether the inserted at least one search result item is consistent with the first search result item One or more of the multiple search result items included in a search result page are the same, and if they are identical, one or more of the multiple search result items included in the first search result page is deleted.
进一步的,所述将经过用户自定义排序的至少一个搜索结果项整合到所述第一搜索结果页中,得到第二搜索结果页还包括:Further, the integration of at least one search result item sorted by the user into the first search result page, and obtaining the second search result page further includes:
在所述将经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中多个搜索结果项位置的前面,或者,将所述第一搜索结果页包含的多个搜索结果项中的一个或多个删除之后,判断搜索结果项的个数是否超出预设值,若是,则将位置靠后的搜索结果项删除,保留个数为所述预设值的搜索结果项,得到所述第二搜索结果页。Inserting at least one search result item sorted by user-defined order in front of the position of multiple search result items in the first search result page, or inserting the multiple search result items included in the first search result page After deleting one or more of the items, it is judged whether the number of the search result items exceeds the preset value, if so, the search result items at the back are deleted, and the search result items whose number is the preset value are retained, The second search results page is obtained.
进一步的,所述第二搜索子系统中记录的经过用户自定义排序的至少一个搜索结果项是根据用户至少一次置顶操作而得到的,并且所述至少一个搜索结果项的排序顺序是根据用户至少一次置顶操作的先后顺序而确定的。Further, the at least one search result item recorded in the second search subsystem and sorted by the user is obtained according to the user's at least one top operation, and the sort order of the at least one search result item is obtained according to the user's at least one It is determined by the sequence of a top operation.
进一步的,在所述客户端绘制显示所述第二搜索结果页时,在所述第二搜索结果页的经过用户自定义排序的至少一个搜索结果项的位置处显示置顶符号。Further, when the client draws and displays the second search result page, a sticky symbol is displayed at the position of at least one search result item sorted by user-defined order on the second search result page.
进一步的,在所述客户端绘制显示所述第二搜索结果页之后进一步包括:Further, after the client draws and displays the second search result page, it further includes:
接收所述用户对所述自定义搜索结果页模式的切换指令;receiving a switching instruction from the user for the mode of the custom search result page;
将所述第一搜索结果页返回给所述客户端,以使所述客户端绘制显示所述第一搜索结果页。returning the first search result page to the client, so that the client draws and displays the first search result page.
根据本发明的另一个方面,提供了一种搜索服务器,包括:According to another aspect of the present invention, a search server is provided, including:
接收模块,适于接收客户端发送的携带用户标识和搜索关键词的搜索请求消息;The receiving module is adapted to receive a search request message carrying a user ID and a search keyword sent by the client;
查询模块,适于根据所述搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,根据所述用户标识和所述搜索关键词查询第二搜索子系统,得到所述用户标识对应的经过用户自定义排序的至少一个搜索结果项;The query module is adapted to query the first search subsystem according to the search keywords to obtain a first search result page containing multiple search result items, and to query the second search subsystem according to the user identifier and the search keywords to obtain At least one search result item that has been sorted by user definition corresponding to the user identifier;
整合模块,适于将所述经过用户自定义排序的至少一个搜索结果项整合到所述第一搜索结果页中,得到第二搜索结果页;An integration module, adapted to integrate the at least one search result item sorted by the user into the first search result page to obtain a second search result page;
发送模块,适于将所述第二搜索结果页返回至所述客户端,以使所述客户端绘制显示所述第二搜索结果页。The sending module is adapted to return the second search result page to the client, so that the client draws and displays the second search result page.
进一步的,所述整合模块进一步包括:Further, the integration module further includes:
插入模块,适于将所述经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中多个搜索结果项位置的前面。An inserting module, adapted to insert the at least one search result item sorted by the user into the front of the positions of the plurality of search result items on the first search result page.
进一步的,所述整合模块进一步包括:Further, the integration module further includes:
判断模块,适于在所述插入模块将经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中多个搜索结果项位置的前面之后,判断插入的所述至少一个搜索结果项是否与所述第一搜索结果页包含的多个搜索结果项中的一个或多个相同;A judging module, adapted to judge the inserted at least one search result item after the inserting module inserts at least one search result item sorted by the user into the front of a plurality of search result item positions in the first search result page. whether the result item is the same as one or more of the plurality of search result items contained in the first search result page;
删除模块,适于在所述判断模块判断插入的所述至少一个搜索结果项与所述第一搜索结果页包含的多个搜索结果项中的一个或多个相同的情况下,将所述第一搜索结果页包含的多个搜索结果项中的一个或多个删除。The deletion module is adapted to delete the first search result item when the judgment module determines that the inserted at least one search result item is the same as one or more of the plurality of search result items contained in the first search result page. One or more of the plurality of search result items included in a search results page is deleted.
进一步的,所述判断模块,还适于在将经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中多个搜索结果项位置的前面,或者,将所述第一搜索结果页包含的多个搜索结果项中的一个或多个删除之后,判断搜索结果项的个数是否超出预设值;Further, the judging module is also adapted to insert at least one search result item sorted by the user into the front of multiple search result item positions in the first search result page, or insert the first After one or more of the multiple search result items contained in the search result page are deleted, it is determined whether the number of search result items exceeds a preset value;
所述删除模块,还适于在所述判断模块判断搜索结果项的个数超出预设值的情况下,将位置靠后的搜索结果项删除,保留个数为所述预设值的搜索结果项,得到所述第二搜索结果页。The deletion module is further adapted to delete the search result items at the rear when the judging module judges that the number of search result items exceeds a preset value, and retain the search results whose number is the preset value item to obtain the second search result page.
进一步的,所述第二搜索子系统中记录的经过用户自定义排序的至少一个搜索结果项是根据用户至少一次置顶操作而得到的,并且所述至少一个搜索结果项的排序顺序是根据用户至少一次置顶操作的先后顺序而确定的。Further, the at least one search result item recorded in the second search subsystem and sorted by the user is obtained according to the user's at least one top operation, and the sort order of the at least one search result item is obtained according to the user's at least one It is determined by the sequence of a top operation.
进一步的,所述接收模块,还适于在所述客户端绘制显示所述第二搜索结果页之后,接收所述用户对所述自定义搜索结果页模式的切换指令;Further, the receiving module is also adapted to receive the user's switching instruction for the custom search result page mode after the client draws and displays the second search result page;
所述发送模块,还适于将所述第一搜索结果页返回给所述客户端,以使所述客户端绘制显示所述第一搜索结果页。The sending module is further adapted to return the first search result page to the client, so that the client draws and displays the first search result page.
根据本发明的另一个方面,提供了一种根据用户自定义排序显示搜索结果页的系统,包括上述搜索服务器和客户端。According to another aspect of the present invention, a system for displaying search result pages according to user-defined sorting is provided, including the above-mentioned search server and client.
本发明实施例通过搜索服务器根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,并根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项,将经过用户自定义排序的至少一个搜索结果项整合到第一搜索结果页中,得到第二搜索结果页,将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页。通过本发明提供的方案,搜索服务器已将经过用户自定义排序即比较感兴趣的搜索结果项显示在第二搜索结果页中,为用户提供了个性化定制的搜索结果页,使用户能够快速有效的查询到自己感兴趣的搜索结果项。In the embodiment of the present invention, the search server inquires the first search subsystem according to the search keyword to obtain the first search result page containing multiple search result items, and inquires the second search subsystem according to the user identifier and the search keyword to obtain the corresponding user identifier. At least one search result item that has been sorted by the user, integrate the at least one search result item that has been sorted by the user into the first search result page, obtain the second search result page, and return the second search result page to the customer end, so that the client draws and displays the second search results page. Through the solution provided by the present invention, the search server has already displayed the search result items that have been sorted by the user, that is, they are more interested in, on the second search result page, providing the user with a personalized search result page, enabling the user to quickly and effectively Query to find the search result items you are interested in.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:
图1示出了根据本发明一个实施例的用户自定义排序显示搜索结果页的方法的流程图;FIG. 1 shows a flow chart of a method for user-defined sorting and displaying search result pages according to an embodiment of the present invention;
图2示出了根据本发明另一个实施例的用户自定义排序显示搜索结果页的方法的流程图;FIG. 2 shows a flowchart of a method for user-defined ordering and displaying search result pages according to another embodiment of the present invention;
图3示出了根据本发明一个实施例的搜索服务器的功能结构框图;Fig. 3 shows a functional structural block diagram of a search server according to an embodiment of the present invention;
图4示出了根据本发明一个实施例的根据用户自定义排序显示搜索结果页的系统的功能结构框图。Fig. 4 shows a functional structural block diagram of a system for displaying search result pages according to user-defined sorting according to an embodiment of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
图1示出了根据本发明一个实施例的用户自定义排序显示搜索结果页的方法的流程图。如图1所示,该方法包括如下步骤:Fig. 1 shows a flowchart of a method for user-defined ordering and displaying search result pages according to an embodiment of the present invention. As shown in Figure 1, the method includes the following steps:
步骤S101、接收客户端发送的携带用户标识和搜索关键词的搜索请求消息。Step S101 , receiving a search request message carrying a user ID and a search keyword sent by a client.
具体的,本发明实施例的执行主体为搜索服务器。上述客户端,例如可以是计算机、智能手机、平板式电脑等终端设备。上述用户标识可以为用户登录客户端时的用户名或注册ID,也可以为用户登录客户端时所使用终端设备的设备标识。在用户通过客户端提供的搜索页面输入搜索关键词之后,客户端将携带用户标识和搜索关键词的搜索请求消息发送给搜索服务器。Specifically, the execution subject of the embodiment of the present invention is a search server. The above-mentioned client may be, for example, a terminal device such as a computer, a smart phone, or a tablet computer. The above-mentioned user identification may be the user name or registration ID when the user logs in to the client, or may be the device identification of the terminal device used by the user when logging in to the client. After the user inputs search keywords through the search page provided by the client, the client sends a search request message carrying the user ID and the search keywords to the search server.
步骤S102、根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页。Step S102: Query the first search subsystem according to the search keywords to obtain a first search result page including multiple search result items.
与现有技术不同的是,本发明的搜索服务器侧提供有两个搜索子系统,分别为第一搜索子系统和第二搜索子系统,其中第一搜索子系统为用户提供的是与搜索关键词最为匹配的搜索结果项;而第二搜索子系统为用户提供的是与用户的自定义排序有关的搜索结果项。Different from the prior art, the search server side of the present invention is provided with two search subsystems, respectively the first search subsystem and the second search subsystem, wherein the first search subsystem provides the user with the search key The search result items that best match the words; and the second search subsystem provides the user with search result items related to the user's custom sorting.
在步骤S102中,搜索服务器根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页。该第一搜索子系统为常规搜索系统,即根据常规的搜索算法例如rank排序算法的搜索结果项排序的搜索系统。例如,搜索服务器接收到客户端发送的搜索请求消息中包含的用户标识为“123456”、搜索关键词为“NBA”,搜索服务器根据搜索关键词“NBA”查询第一搜索子系统得到排序后的并包含“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等多个搜索结果项的第一搜索结果页。In step S102, the search server queries the first search subsystem according to the search keyword to obtain a first search result page including a plurality of search result items. The first search subsystem is a conventional search system, that is, a search system that ranks search result items according to a conventional search algorithm such as a rank sorting algorithm. For example, when the search server receives the search request message sent by the client, the user ID is "123456" and the search keyword is "NBA", and the search server queries the first search subsystem according to the search keyword "NBA" to obtain the sorted It also includes "NBA China Official Website", "NBA|NBA Live|NBA Official Authorized Video Live Streaming Website Sina Competitive Scenery Sina...", "NBA Latest News", "NBA360 Encyclopedia" and other search results. Search results page.
步骤S103、根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项。Step S103 , query the second search subsystem according to the user ID and the search keywords, and obtain at least one search result item corresponding to the user ID and sorted by user-defined.
步骤S103与步骤S102没有先后执行顺序的限制,也可以先执行步骤S103,后执行步骤S102;或者,同时执行步骤S102和步骤S103。Step S103 and step S102 are not limited in order of execution, and step S103 may be executed first, and then step S102 may be executed; or, step S102 and step S103 may be executed at the same time.
在步骤S103中,搜索服务器根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项,其中,第二搜索子系统为包含经过用户自定义排序的至少一个搜索结果项的搜索子系统。例如,用户标识为“123456”的用户上一次使用搜索关键词“NBA”在搜索引擎中查询过搜索结果项,而且该用户对自己感兴趣的搜索结果项例如“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”进行置顶过或者在搜索结果页上拖动过,形成了用户自定义排序的两个搜索结果项,则第二搜索子系统中记录下用户标识“123456”、搜索关键词“NBA”和经过用户自定义排序的两个搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”三者的对应关系。在用户标识为“123456”的用户再次使用搜索关键词“NBA”发出搜索请求消息(对应于步骤S101)之后,搜索服务器查询第二搜索子系统,得到与用户标识“123456”和搜索关键词“NBA”对应的上述经过用户自定义排序的两个搜索结果项。In step S103, the search server queries the second search subsystem according to the user ID and the search keyword, and obtains at least one search result item corresponding to the user ID that has been sorted by user-defined, wherein the second search subsystem includes the A search subsystem that defines sorting of at least one search result item. For example, the user whose user ID is "123456" used the search keyword "NBA" to inquire about the search result item in the search engine last time, and the search result item that the user is interested in such as "NBA|NBA live|NBA official authorized Live video website Sina Sports Scenery Sina..." and "NBA's latest related news" have been pinned to the top or dragged on the search result page to form two search result items in user-defined sorting, then the second search subsystem Record the user ID "123456", the search keyword "NBA" and two search result items sorted by the user's own definition: "NBA | The latest relevant news" and the corresponding relationship among the three. After the user whose user ID is "123456" uses the search keyword "NBA" to send a search request message again (corresponding to step S101), the search server inquires the second search subsystem, and obtains the information related to the user ID "123456" and the search keyword "" NBA" corresponding to the above two user-defined sorted search result items.
步骤S104、将经过用户自定义排序的至少一个搜索结果项整合到第一搜索结果页中,得到第二搜索结果页。Step S104, integrating at least one search result item sorted by the user into the first search result page to obtain a second search result page.
具体的,搜索服务器通过查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的搜索结果项,并将这些搜索结果项整合到第一搜索结果页中,得到第二搜索结果页。例如,搜索服务器通过查询第二搜索子系统,得到用户标识“123456”、搜索关键词“NBA”对应的经过用户自定义排序的两个搜索结果项为“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”,则将第一搜索结果页中包含的搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”按照用户自定义排序的顺序移动至搜索结果项“NBA中国官方网站”的前面。Specifically, the search server obtains the user-defined sorted search result items corresponding to the user identifier by querying the second search subsystem, and integrates these search result items into the first search result page to obtain the second search result page. For example, by querying the second search subsystem, the search server obtains two user-defined search result items corresponding to the user ID "123456" and the search keyword "NBA" as "NBA|NBA Live|NBA Officially Authorized Video Live The website Sina sports landscape Sina...", "the latest news about NBA", then the search result items included in the first search result page are "NBA|NBA Live|NBA officially authorized live video website Sina sports landscape Sina...", "Latest news related to NBA" is moved to the front of the search result item "NBA China official website" in the order of user-defined sorting.
步骤S105、将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页。Step S105, returning the second search result page to the client, so that the client draws and displays the second search result page.
具体的,搜索服务器将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页,客户端在第二搜索结果页中显示用户进入自定义搜索结果页模式的提示信息。在自定义搜索结果页模式下,客户端显示的是用户个性化的搜索结果页,在该搜索结果页中包含经过用户自定义排序的搜索结果项,并且这些搜索结果项按照用户自定义排序的顺序显示在其它搜索结果项的前面,便于用户查看。Specifically, the search server returns the second search result page to the client, so that the client draws and displays the second search result page, and the client displays prompt information for the user to enter the custom search result page mode on the second search result page. In the custom search result page mode, the client displays a user-customized search result page, which contains search result items that have been sorted by the user, and these search result items are sorted according to the user-defined The order is displayed in front of other search result items for easy viewing by the user.
另外,在客户端绘制显示第二搜索结果页时,在第二搜索结果页的经过用户自定义排序的至少一个搜索结果项的位置处显示置顶符号,用以向用户提示该至少一个搜索结果项是经过用户置顶操作的搜索结果项。在客户端所显示的第二搜索结果页中,用户也可以继续对其它感兴趣的搜索结果项进行置顶或拖动等操作,再次形成用户重新自定义排序的多个搜索结果项,第二搜索子系统中重新记录用户标识、搜索关键词和经过用户重新自定义排序的多个搜索结果项的对应关系,以便用户再次使用同样的搜索关键词搜索时提供经过用户重新自定义排序的多个搜索结果项。In addition, when the client draws and displays the second search result page, a sticky symbol is displayed at the position of at least one search result item sorted by the user on the second search result page, so as to prompt the user for the at least one search result item It is the search result item that has been pinned to the top by the user. On the second search result page displayed by the client, the user can also continue to perform operations such as pinning or dragging other interested search result items to form multiple search result items re-customized by the user. The subsystem re-records the correspondence between user IDs, search keywords, and multiple search result items that have been re-customized and sorted by the user, so that when the user uses the same search keyword to search again, multiple searches that have been re-customized and sorted by the user can be provided result item.
本发明实施例通过搜索服务器根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,并根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项,将经过用户自定义排序的至少一个搜索结果项整合到第一搜索结果页中,得到第二搜索结果页,将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页。通过本实施例提供的方法,搜索服务器已将经过用户自定义排序即比较感兴趣的搜索结果项显示在第二搜索结果页中,为用户提供了个性化定制的搜索结果页,使用户能够快速有效的查询到自己感兴趣的搜索结果项。In the embodiment of the present invention, the search server inquires the first search subsystem according to the search keyword to obtain the first search result page containing multiple search result items, and inquires the second search subsystem according to the user identifier and the search keyword to obtain the corresponding user identifier. At least one search result item that has been sorted by the user, integrate the at least one search result item that has been sorted by the user into the first search result page, obtain the second search result page, and return the second search result page to the customer end, so that the client draws and displays the second search results page. Through the method provided in this embodiment, the search server has displayed the search result items that have been sorted by the user, that is, they are more interesting, on the second search result page, providing the user with a personalized search result page, enabling the user to quickly Effectively query the search result items you are interested in.
图2示出了根据本发明另一个实施例的用户自定义排序显示搜索结果页的方法的流程图。如图2所示,该方法包括如下步骤:Fig. 2 shows a flow chart of a method for user-defined sorting and displaying search result pages according to another embodiment of the present invention. As shown in Figure 2, the method includes the following steps:
步骤S201、接收客户端发送的携带用户标识和搜索关键词的搜索请求消息。Step S201, receiving a search request message carrying a user ID and a search keyword sent by a client.
在用户通过客户端提供的搜索页面输入搜索关键词之后,客户端将携带用户标识和搜索关键词的搜索请求消息发送给搜索服务器。After the user inputs search keywords through the search page provided by the client, the client sends a search request message carrying the user ID and the search keywords to the search server.
步骤S202、根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页。Step S202, querying the first search subsystem according to the search keyword to obtain a first search result page including a plurality of search result items.
第一搜索子系统为常规搜索系统,该子系统根据常规的搜索算法例如rank排序算法为用户提供与搜索关键词作为匹配的多个搜索结果项。第一搜索子系统不考虑用户标识,仅考虑与搜索关键词的匹配度得到多个搜索结果项。The first search subsystem is a conventional search system, which provides users with multiple search result items matching the search keywords according to a conventional search algorithm such as a rank sorting algorithm. The first search subsystem does not consider the user identification, but only considers the degree of matching with the search keyword to obtain a plurality of search result items.
例如,搜索服务器接收到客户端发送的搜索请求消息中包含的用户标识为“123456”、搜索关键词为“NBA”,搜索服务器根据搜索关键词“NBA”查询第一搜索子系统得到排序后的并包含“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等多个搜索结果项的第一搜索结果页。For example, when the search server receives the search request message sent by the client, the user ID is "123456" and the search keyword is "NBA", and the search server queries the first search subsystem according to the search keyword "NBA" to obtain the sorted It also includes "NBA China Official Website", "NBA|NBA Live|NBA Official Authorized Video Live Streaming Website Sina Competitive Scenery Sina...", "NBA Latest News", "NBA360 Encyclopedia" and other search results. Search results page.
步骤S203、根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项。Step S203: Query the second search subsystem according to the user ID and the search keywords, and obtain at least one search result item corresponding to the user ID and sorted by user-defined.
步骤S203与步骤S202没有先后执行顺序的限制,也可以先执行步骤S203,后执行步骤S202;或者,同时执行步骤S202和步骤S203。Step S203 and step S202 are not limited in order of execution, step S203 may be executed first, and then step S202 may be executed; or, step S202 and step S203 may be executed at the same time.
第二搜索子系统为记录用户自定义排序信息的搜索系统,查询第二搜索子系统需要依据用户标识和搜索关键词。具体的,第二搜索子系统中记录的经过用户自定义排序的至少一个搜索结果项是根据用户上一次使用同样的搜索关键词得到搜索结果页,并在搜索结果页中对感兴趣的搜索结果项进行置顶和/或拖动操作而得到的,并且至少一个搜索结果项的排序顺序是根据用户置顶和/或拖动操作所确定的排序顺序而确定的。The second search subsystem is a search system that records user-defined sorting information, and querying the second search subsystem needs to be based on user identification and search keywords. Specifically, at least one search result item recorded in the second search subsystem and sorted by the user is based on the user's last use of the same search keyword to obtain a search result page, and in the search result page, search results of interest Items are pinned and/or dragged, and the sorting order of at least one search result item is determined according to the sorting order determined by the pinning and/or dragging operation of the user.
下面以置顶操作为例,介绍用户上一次使用同样的搜索关键词得到搜索结果页,并在搜索结果页中对感兴趣的搜索结果项进行置顶操作的具体实现过程:The following takes the pinning operation as an example to introduce the specific implementation process of the user using the same search keyword to get the search result page last time, and then pinning the search result item of interest on the search result page:
首先,在上一次搜索过程中,用户使用搜索关键词得到搜索结果页,该搜索结果页中提供将各个搜索结果项进行置顶的交互元素。例如,用户在客户端输入搜索关键词“NBA”之后,接收到的搜索服务器返回的搜索结果页界面。一般搜索结果页上有十个搜索结果项,从上至下依次排序,在每个搜索结果项的右下角处有一个置顶按钮即为将搜索结果项进行置顶的交互元素。Firstly, during the last search process, the user uses the search keywords to obtain a search result page, and the search result page provides interactive elements for placing each search result item on top. For example, after the user enters the search keyword "NBA" on the client terminal, the search result page interface returned by the search server is received. Generally, there are ten search result items on the search result page, which are sorted from top to bottom. There is a top button at the lower right corner of each search result item, which is an interactive element for putting the search result item to the top.
然后,客户端接收用户对第一指定搜索结果项对应的交互元素的触发指令,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。进一步地,本步骤可以通过以下两种方式中的任一种来实现:Then, the client receives a trigger instruction from the user on the interactive element corresponding to the first specified search result item, and moves the position of the first specified search result item to the position of the first search result item in the search result page. Further, this step can be implemented in any of the following two ways:
方式一:客户端接收用户对第一指定搜索结果项对应的交互元素的触发指令之后,客户端本地通过调用搜索结果页中的置顶脚本,例如javascript脚本,将页面中的第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。在执行方式一提供的步骤之后,客户端将用户对应的用户标识、第一指定搜索结果项的搜索结果项URL以及搜索关键词绑定在一起发送至搜索服务器,由第二搜索子系统存储用户标识、搜索关键词和第一指定搜索结果项的搜索结果项URL的对应关系。Method 1: After the client receives the user's trigger command for the interactive element corresponding to the first specified search result item, the client locally invokes the top script in the search result page, such as javascript script, to place the first specified search result item in the page moves to the first search result item position on the search results page. After executing the steps provided in Mode 1, the client binds the user ID corresponding to the user, the URL of the search result item of the first specified search result item, and the search keywords together and sends them to the search server, and the second search subsystem stores the user The corresponding relationship between the identifier, the search keyword, and the search result item URL of the first specified search result item.
方式二:客户端将携带有用户对应的用户标识、第一指定搜索结果项的搜索结果项URL以及搜索关键词的置顶命令发送至网络侧的搜索服务器,搜索服务器重新调用前述的搜索结果页中包含的各个搜索结果项,将所述第一指定搜索结果项的位置设置到搜索结果页中的第一搜索结果项位置并重新绘制用户自定义搜索结果页,返回给客户端。客户端接收搜索服务器返回的自定义搜索结果页。与此同时,搜索服务器侧的第二搜索子系统存储用户标识、搜索关键词和第一指定搜索结果项的搜索结果项URL的对应关系。Method 2: The client sends the top command carrying the user ID corresponding to the user, the URL of the search result item of the first specified search result item, and the search keyword to the search server on the network side, and the search server calls again the aforementioned search result page. For each search result item included, set the position of the first specified search result item to the position of the first search result item in the search result page and redraw the user-defined search result page, and return it to the client. The client receives the custom search result page returned by the search server. At the same time, the second search subsystem on the search server side stores the corresponding relationship between the user ID, the search keyword and the URL of the search result item of the first designated search result item.
最后,显示经用户自定义置顶的自定义搜索结果页。Finally, display the user-defined top search result page.
由上述描述可知,在用户上一次使用同样的搜索关键词进行搜索过程中,第二搜索子系统存储了用户标识、搜索关键词以及经过用户置顶的第一指定搜索结果项的搜索结果项URL的对应关系,也就是说,第二搜索子系统存储有用户自定义排序信息。因此,在步骤S203中,搜索服务器根据用户标识和搜索关键词查询第二搜索子系统,能够得到经过用户自定义排序的第一指定搜索结果项的搜索结果项URL。As can be seen from the above description, during the user's last search process using the same search keyword, the second search subsystem stored the user ID, search keyword, and URL of the search result item of the first specified search result item that the user set to the top. Correspondence, that is, the second search subsystem stores user-defined sorting information. Therefore, in step S203, the search server queries the second search subsystem according to the user identifier and the search keyword, and can obtain the search result item URL of the first specified search result item sorted by the user.
当然,在用户上一次使用同样的搜索关键词进行搜索过程中,用户可以通过多次置顶操作对多个第一指定搜索结果项进行置顶,根据多次置顶操作的先后顺序可以确定多个第一指定搜索结果项的排序顺序,第二搜索子系统也会存储多个第一指定搜索结果项的排序顺序。例如,用户标识为“123456”的用户上一次使用搜索关键词“NBA”在搜索引擎中查询过搜索结果项,而且该用户对自己感兴趣的搜索结果项例如“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”进行置顶,其中用户先对“NBA的最新相关消息”进行置顶,而后对“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”进行置顶,那么得到的用户自定义排序的两个搜索结果项是“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”排序在前,“NBA的最新相关消息”排序在后。则第二搜索子系统中存储用户标识“123456”、搜索关键词“NBA”和经过用户自定义排序的两个搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”三者的对应关系。在用户标识为“123456”的用户再次使用搜索关键词“NBA”发出搜索请求消息(对应于步骤S201)之后,搜索服务器查询第二搜索子系统,得到与用户标识“123456”和搜索关键词“NBA”对应的上述经过用户自定义排序的两个搜索结果项。Of course, during the user's last search process using the same search keyword, the user can pin multiple first specified search result items through multiple pinning operations, and multiple first specified search result items can be determined according to the sequence of multiple pinning operations. The sorting order of the designated search result items, the second search subsystem also stores the sorting orders of a plurality of first designated search result items. For example, the user whose user ID is "123456" used the search keyword "NBA" to inquire about the search result item in the search engine last time, and the search result item that the user is interested in such as "NBA|NBA live|NBA official authorized Live video website Sina Sports Scenery Sina..." and "NBA's latest relevant news" are pinned to the top, among which users first pin "NBA's latest relevant news" to the top, and then "NBA|NBA Live|NBA Officially Authorized Video Live Website Sina Competitive scenery Sina..." is placed at the top, then the two search result items that are user-defined and sorted are "NBA | Related news" is sorted after. Then the second search subsystem stores the user ID "123456", the search keyword "NBA" and two search result items sorted by user definition "NBA|NBA live|NBA official authorized video live broadcast website Sina competitive scenery Sina... ", "NBA's latest news" corresponding relationship between the three. After the user whose user ID is "123456" uses the search keyword "NBA" to send a search request message again (corresponding to step S201), the search server inquires the second search subsystem, and obtains the information related to the user ID "123456" and the search keyword "" NBA" corresponding to the above two user-defined sorted search result items.
步骤S204、将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面。Step S204 , inserting at least one search result item sorted by the user's definition into the front of each search result item on the first search result page.
具体的,搜索服务器将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面。例如,搜索服务器接收到客户端发送的搜索请求消息中包含的用户标识为“123456”、搜索关键词为“NBA”,搜索服务器根据搜索关键词“NBA”查询第一搜索子系统得到排序后的并包含“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等多个搜索结果项的第一搜索结果页,搜索服务器通过查询第二搜索子系统,得到用户标识“123456”、搜索关键词“NBA”对应的搜索结果项为“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”,则将搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”插入至第一搜索结果页中排在最前面的搜索结果项“NBA中国官方网站”的前面。Specifically, the search server inserts at least one search result item sorted by the user into the front of each search result item on the first search result page. For example, when the search server receives the search request message sent by the client, the user ID is "123456" and the search keyword is "NBA", and the search server queries the first search subsystem according to the search keyword "NBA" to obtain the sorted It also includes "NBA China Official Website", "NBA|NBA Live|NBA Official Authorized Video Live Streaming Website Sina Competitive Scenery Sina...", "NBA Latest News", "NBA360 Encyclopedia" and other search results. On the search result page, the search server obtains the search result item corresponding to the user ID "123456" and the search keyword "NBA" by querying the second search subsystem as "NBA|NBA Live|NBA Officially Authorized Video Live Website Sina Competitive Scenery Sina... ...", "the latest NBA related news", then insert the search result items "NBA|NBA Live|NBA Official Authorized Video Live Video Website Sina Competitive Scenery Sina...", "NBA's latest related news" into the first search result page In front of the top search result item "NBA China official website".
步骤S205、判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若是,执行步骤S206;若否,执行步骤S207。Step S205 , judging whether the inserted at least one search result item is the same as one or more of the plurality of search result items included in the first search result page, if yes, execute step S206 ; if not, execute step S207 .
具体的,搜索服务器在将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面之后,需要进一步判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若相同,则执行步骤S206;若不相同,则执行步骤S207。例如,搜索服务器根据搜索关键词“NBA”查询第一搜索子系统得到的第一搜索结果页中包含如下搜索结果项“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等,在搜索服务器查询第二搜索子系统得到的搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”,并将其插入到第一搜索结果页中搜索结果项“NBA中国官方网站”的前面,则得到的搜索结果页包含如下搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等。搜索服务器判断插入搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”存在于第一搜索结果页中,则执行步骤S206。Specifically, after the search server inserts at least one search result item sorted by the user into the front of each search result item on the first search result page, it needs to further determine whether the inserted at least one search result item is consistent with the first search result item. One or more of the multiple search result items included in the result page are the same, if they are the same, execute step S206; if not, execute step S207. For example, the search server queries the first search subsystem according to the search keyword "NBA", and the first search result page obtained includes the following search result items "NBA China Official Website", "NBA|NBA Live|NBA Official Authorized Video Live Website Sina Competitive landscape Sina...", "NBA's latest news", "NBA360 Encyclopedia", etc., the search result item "NBA | NBA Live | NBA official authorized video live broadcast website Sina Competitive Landscape" in the search server query the second search subsystem Sina...", "the latest news about NBA", and insert them into the front of the search result item "NBA China official website" in the first search result page, then the obtained search result page contains the following search result item "NBA| NBA Live|NBA Official Authorized Video Live Website Sina Competitive Landscape Sina...", "NBA Latest News", "NBA China Official Website", "NBA|NBA Live|NBA Officially Authorized Video Live Website Sina Competitive Landscape Sina... ", "The latest news about the NBA", "NBA360 Encyclopedia" and so on. The search server judges that the inserted search result items "NBA|NBA live|NBA official authorized video live broadcast website Sina sports scenery Sina..." and "NBA's latest related news" exist in the first search result page, and then step S206 is executed.
步骤S206、将第一搜索结果页包含的多个搜索结果项中的一个或多个删除。Step S206, deleting one or more of the plurality of search result items contained in the first search result page.
具体的,若搜索服务器判断插入的至少一个搜索结果项与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,则将第一搜索结果页包含的多个搜索结果项中的一个或多个删除。例如,在经过步骤S205得到的搜索结果页包含如下搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”,则搜索服务器将搜索结果项“NBA中国官方网站”后面的搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”删除。Specifically, if the search server judges that the inserted at least one search result item is the same as one or more of the multiple search result items contained in the first search result page, then the One or more deletions of . For example, the search result page obtained through step S205 includes the following search result items "NBA|NBA Live|NBA Official Authorized Video Live Streaming Website Sina Athletic Landscape Sina...", "NBA's latest relevant news", "NBA China official website" , "NBA|NBA Live|NBA Official Authorized Video Live Streaming Website Sina Competitive Scenery Sina...", "NBA Latest News", "NBA360 Encyclopedia", the search server will search for the search results behind the "NBA China Official Website" The result items "NBA|NBA Live|NBA Officially Authorized Video Live Streaming Website Sina Competitive Scenery Sina..." and "NBA's Latest Related News" are deleted.
步骤S207、判断搜索结果项的个数是否超出预设值,若是,则执行步骤S208;若否,执行步骤S209。Step S207, judging whether the number of search result items exceeds a preset value, if yes, execute step S208; if not, execute step S209.
具体的,在搜索服务器将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中多个搜索结果项位置的前面,或者,将第一搜索结果页包含的多个搜索结果项中的一个或多个删除之后,判断搜索结果项的个数是否超出预设值,若是,则执行步骤S208,若否,则执行步骤S209。一般情况下,每页的搜索结果页自上而下排列有十个搜索结果项,当将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中多个搜索结果项位置的前面,或者,将第一搜索结果页包含的多个搜索结果项中的一个或多个删除之后,搜索结果项的个数如果超出十个,则执行步骤S208。Specifically, the search server inserts at least one search result item sorted by the user into the front of the positions of multiple search result items on the first search result page, or inserts the multiple search result items included in the first search result page After one or more of them are deleted, it is judged whether the number of search result items exceeds the preset value, if yes, execute step S208, and if not, execute step S209. Generally, each search result page has ten search result items arranged from top to bottom. Before, or after deleting one or more of the plurality of search result items contained in the first search result page, if the number of search result items exceeds ten, step S208 is performed.
步骤S208、将位置靠后的搜索结果项删除,保留个数为预设值的搜索结果项,得到第二搜索结果页。Step S208 , deleting the search result items with a lower position, retaining the search result items whose number is a preset value, and obtaining the second search result page.
步骤S209、将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页。Step S209, returning the second search result page to the client, so that the client draws and displays the second search result page.
具体的,搜索服务器将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页,客户端在第二搜索结果页中显示用户进入自定义搜索结果页模式的提示信息。如果用户不想继续停留在自定义搜索结果页模式下,用户可以触发客户端上的切换按钮,客户端接收用户对自定义搜索结果页模式的切换指令,则将第一搜索结果页返回给客户端,以使客户端绘制显示第一搜索结果页,即进入普通搜索结果页模式。Specifically, the search server returns the second search result page to the client, so that the client draws and displays the second search result page, and the client displays prompt information for the user to enter the custom search result page mode on the second search result page. If the user does not want to continue to stay in the custom search result page mode, the user can trigger the switch button on the client, and the client receives the user's switching instruction for the custom search result page mode, and then returns the first search result page to the client , so that the client draws and displays the first search result page, that is, enters the normal search result page mode.
本发明实施例通过搜索服务器根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,并根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项,将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面,并判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若相同,则将第一搜索结果页包含的多个搜索结果项中的一个或多个删除,从而得到第二搜索结果页,将第二搜索结果页返回至客户端,以使客户端绘制显示所述第二搜索结果页,使用户在得到的第二搜索结果页中查看各搜索结果项。通过本实施例提供的方法,搜索服务器已将经过用户自定义排序即比较感兴趣的搜索结果项显示在第二搜索结果页中,为用户提供了个性化定制的搜索结果页,使用户能够快速有效的查询到自己感兴趣的搜索结果项。In the embodiment of the present invention, the search server inquires the first search subsystem according to the search keyword to obtain the first search result page containing multiple search result items, and inquires the second search subsystem according to the user identifier and the search keyword to obtain the corresponding user identifier. At least one search result item that has been sorted by the user, insert at least one search result item that has been sorted by the user into the front of each search result item in the first search result page, and determine the inserted at least one search result item Whether it is the same as one or more of the multiple search result items contained in the first search result page, and if they are the same, then delete one or more of the multiple search result items contained in the first search result page, so as to obtain the first A second search result page, returning the second search result page to the client, so that the client draws and displays the second search result page, and enables the user to view each search result item on the obtained second search result page. Through the method provided in this embodiment, the search server has displayed the search result items that have been sorted by the user, that is, they are more interesting, on the second search result page, providing the user with a personalized search result page, enabling the user to quickly Effectively query the search result items you are interested in.
图3示出了根据本发明一个实施例的搜索服务器的功能结构框图。如图3所示,该搜索服务器包括:接收模块310、查询模块320、整合模块330和发送模块340。Fig. 3 shows a functional structural block diagram of a search server according to an embodiment of the present invention. As shown in FIG. 3 , the search server includes: a receiving module 310 , a query module 320 , an integrating module 330 and a sending module 340 .
接收模块310,适于接收客户端发送的携带用户标识和搜索关键词的搜索请求消息。The receiving module 310 is adapted to receive a search request message carrying a user identifier and a search keyword sent by the client.
具体的,上述客户端,例如可以是计算机、智能手机、平板式电脑等终端设备。上述用户标识可以为用户登录客户端时的用户名或注册ID,也可以为用户登录客户端时所使用终端设备的设备标识。在用户通过客户端提供的搜索页面输入搜索关键词之后,客户端将携带用户标识和搜索关键词的搜索请求消息发送给搜索服务器。Specifically, the above-mentioned client may be, for example, a terminal device such as a computer, a smart phone, or a tablet computer. The above-mentioned user identification may be the user name or registration ID when the user logs in to the client, or may be the device identification of the terminal device used by the user when logging in to the client. After the user inputs search keywords through the search page provided by the client, the client sends a search request message carrying the user ID and the search keywords to the search server.
查询模块320,适于根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项。The query module 320 is adapted to query the first search subsystem according to the search keyword to obtain a first search result page containing multiple search result items, query the second search subsystem according to the user identifier and the search keyword, and obtain the process corresponding to the user identifier At least one search result item sorted by the user.
与现有技术不同的是,本发明的搜索服务器侧提供有两个搜索子系统,分别为第一搜索子系统和第二搜索子系统,其中第一搜索子系统为用户提供的是与搜索关键词最为匹配的搜索结果项;而第二搜索子系统为用户提供的是与用户的自定义排序有关的搜索结果项。Different from the prior art, the search server side of the present invention is provided with two search subsystems, respectively the first search subsystem and the second search subsystem, wherein the first search subsystem provides the user with the search key The search result items that best match the words; and the second search subsystem provides the user with search result items related to the user's custom sorting.
具体的,查询模块320根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页。该第一搜索子系统为常规搜索系统,即根据常规的搜索算法例如rank排序算法的搜索结果项排序的搜索系统。例如,接收模块310接收到客户端发送的搜索请求消息中包含的用户标识为“123456”、搜索关键词为“NBA”,查询模块320根据搜索关键词“NBA”查询第一搜索子系统得到排序后的并包含“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等多个搜索结果项的第一搜索结果页。Specifically, the query module 320 queries the first search subsystem according to the search keyword to obtain a first search result page including multiple search result items. The first search subsystem is a conventional search system, that is, a search system that ranks search result items according to a conventional search algorithm such as a rank sorting algorithm. For example, when the receiving module 310 receives the search request message sent by the client, the user ID is "123456" and the search keyword is "NBA", and the query module 320 queries the first search subsystem according to the search keyword "NBA" to obtain the ranking The following search results include "NBA China official website", "NBA|NBA live broadcast|NBA official authorized video live broadcast website Sina sports scenery Sina...", "NBA latest news", "NBA360 Encyclopedia" and other search results. The first search results page.
查询模块320还根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项。第二搜索子系统为包含经过用户自定义排序的至少一个搜索结果项的搜索子系统。例如,用户标识为“123456”的用户上一次使用搜索关键词“NBA”在搜索引擎中查询过搜索结果项,而且该用户对自己感兴趣的搜索结果项例如“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”进行置顶过或者在搜索结果页上拖动过,形成了用户自定义排序的两个搜索结果项,则第二搜索子系统中记录下用户标识“123456”、搜索关键词“NBA”和经过用户自定义排序的两个搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”三者的对应关系。在用户标识为“123456”的用户再次使用搜索关键词“NBA”发出搜索请求消息之后,查询模块320查询第二搜索子系统,得到与用户标识“123456”和搜索关键词“NBA”对应的上述经过用户自定义排序的两个搜索结果项。The query module 320 also queries the second search subsystem according to the user ID and the search keyword, and obtains at least one search result item corresponding to the user ID and sorted by the user. The second search subsystem is a search subsystem that includes at least one search result item sorted by user-defined. For example, the user whose user ID is "123456" used the search keyword "NBA" to inquire about the search result item in the search engine last time, and the search result item that the user is interested in such as "NBA|NBA live|NBA official authorized Live video website Sina Sports Scenery Sina..." and "NBA's latest related news" have been pinned to the top or dragged on the search result page to form two search result items in user-defined sorting, then the second search subsystem Record the user ID "123456", the search keyword "NBA" and two search result items sorted by the user's own definition: "NBA | The latest relevant news" and the corresponding relationship among the three. After the user with the user ID "123456" sends a search request message using the search keyword "NBA" again, the query module 320 queries the second search subsystem to obtain the above-mentioned information corresponding to the user ID "123456" and the search keyword "NBA". Two search result items sorted by user definition.
整合模块330,适于将经过用户自定义排序的至少一个搜索结果项整合到第一搜索结果页中,得到第二搜索结果页。The integration module 330 is adapted to integrate at least one search result item sorted by the user into the first search result page to obtain a second search result page.
具体的,查询模块320通过查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的搜索结果项,并将这些搜索结果项整合到第一搜索结果页中,得到第二搜索结果页。例如,查询模块320通过查询第二搜索子系统,得到用户标识“123456”、搜索关键词“NBA”对应的搜索结果项为“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”,整合模块330将第一搜索结果页中包含的搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”按照用户自定义排序的顺序移动至搜索结果项“NBA中国官方网站”的前面。Specifically, the query module 320 obtains the user-defined sorted search result items corresponding to the user ID by querying the second search subsystem, and integrates these search result items into the first search result page to obtain the second search result page . For example, the query module 320 obtains the search result item corresponding to the user ID "123456" and the search keyword "NBA" by querying the second search subsystem as "NBA | ", "the latest news about NBA", the integration module 330 will include the search result items "NBA | News" is moved to the front of the search result item "NBA China official website" in the order of user-defined sorting.
发送模块340,适于将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页。The sending module 340 is adapted to return the second search result page to the client, so that the client draws and displays the second search result page.
具体的,发送模块340将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页,客户端在第二搜索结果页中显示用户进入自定义搜索结果页模式的提示信息。在自定义搜索结果页模式下,客户端显示的是用户个性化的搜索结果页,在该搜索结果页中包含经过用户自定义排序的搜索结果项,并且这些搜索结果项按照用户自定义排序的顺序显示在其它搜索结果项的前面,便于用户查看。Specifically, the sending module 340 returns the second search result page to the client, so that the client draws and displays the second search result page, and the client displays a prompt message for the user to enter the custom search result page mode on the second search result page . In the custom search result page mode, the client displays a user-customized search result page, which contains search result items that have been sorted by the user, and these search result items are sorted according to the user-defined The order is displayed in front of other search result items for easy viewing by the user.
进一步的,整合模块330可以包括:插入模块331、判断模块332以及删除模块333。Further, the integrating module 330 may include: an inserting module 331 , a judging module 332 and a deleting module 333 .
插入模块331,适于将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中多个搜索结果项位置的前面。The inserting module 331 is adapted to insert at least one search result item sorted by user definition into the front of the positions of multiple search result items on the first search result page.
具体的,插入模块331将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面。例如,接收模块310接收到客户端发送的搜索请求消息中包含的用户标识为“123456”、搜索关键词为“NBA”,查询模块320根据搜索关键词“NBA”查询第一搜索子系统得到排序后的并包含“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等多个搜索结果项的第一搜索结果页,并通过查询第二搜索子系统,得到用户标识“123456”、搜索关键词“NBA”对应的搜索结果项为“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”,插入模块331则将搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”插入至第一搜索结果页中排在最前面的搜索结果项“NBA中国官方网站”的前面。Specifically, the inserting module 331 inserts at least one search result item sorted by the user into the front of each search result item on the first search result page. For example, when the receiving module 310 receives the search request message sent by the client, the user ID is "123456" and the search keyword is "NBA", and the query module 320 queries the first search subsystem according to the search keyword "NBA" to obtain the ranking The following search results include "NBA China official website", "NBA|NBA live broadcast|NBA official authorized video live broadcast website Sina sports scenery Sina...", "NBA latest news", "NBA360 Encyclopedia" and other search results. The first search result page, and by querying the second search subsystem, the search result item corresponding to the user ID "123456" and the search keyword "NBA" is "NBA|NBA Live|NBA Official Authorized Video Live Website Sina Competitive Scenery Sina ... ", " the newest related news of NBA ", inserting module 331 then will search result item " NBA | In front of the top search result item "NBA China official website" in the search result page.
判断模块332,适于在插入模块331将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中多个搜索结果项位置的前面之后,判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同。The judging module 332 is adapted to judge whether the inserted at least one search result item is consistent with One or more of the plurality of search result items contained in the first search result page are the same.
具体的,在插入模块331将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面之后,需要判断模块332进一步判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若相同,则触发删除模块333进行删除操作。例如,查询模块320根据搜索关键词“NBA”查询第一搜索子系统得到的第一搜索结果页中包含如下搜索结果项“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等,并查询第二搜索子系统得到的搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”,由插入模块331将其插入到第一搜索结果页中搜索结果项“NBA中国官方网站”的前面,则得到的搜索结果页包含如下搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等。判断模块332判断插入搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”存在于第一搜索结果页中,则触发删除模块333执行删除操作。Specifically, after the insertion module 331 inserts at least one search result item sorted by the user into the front of each search result item position in the first search result page, the judging module 332 needs to further judge whether the inserted at least one search result item is It is the same as one or more of the multiple search result items included in the first search result page, and if they are the same, the delete module 333 is triggered to perform a delete operation. For example, the query module 320 queries the first search subsystem according to the search keyword "NBA", and the first search result page obtained by querying the first search subsystem includes the following search result items "NBA China Official Website", "NBA|NBA Live|NBA Official Authorized Video Live Website Sina sports landscape Sina...", "NBA latest news", "NBA360 Encyclopedia", etc., and query the search result item obtained by the second search subsystem "NBA|NBA live|NBA official authorized video live broadcast website Sina sports landscape Sina ...", "the latest related news of NBA", which is inserted into the front of the search result item "NBA China official website" in the first search result page by the insertion module 331, then the search result page obtained includes the following search result item " NBA|NBA Live|NBA Officially Authorized Video Live Website Sina Competitive Landscape Sina...", "NBA Latest News", "NBA China Official Website", "NBA|NBA Live|NBA Officially Authorized Video Live Website Sina Competitive Landscape Sina ...", "The latest news about the NBA", "NBA360 Encyclopedia", etc. The judging module 332 judges that the insertion search result item "NBA|NBA live|NBA official authorized video live broadcast website Sina competitive landscape Sina..." and "NBA's latest related news" exist in the first search result page, and then triggers the deletion module 333 to execute delete operation.
删除模块333,适于在判断模块332判断插入的至少一个搜索结果项与第一搜索结果页包含的多个搜索结果项中的一个或多个相同的情况下,将第一搜索结果页包含的多个搜索结果项中的一个或多个删除。The deletion module 333 is adapted to, when the judging module 332 judges that the inserted at least one search result item is the same as one or more of the plurality of search result items contained in the first search result page, delete the One or more deletions of multiple search result items.
具体的,若判断模块332判断插入的至少一个搜索结果项与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,删除模块333则将第一搜索结果页包含的多个搜索结果项中的一个或多个删除。例如,在得到的第二搜索结果页包含如下搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”,则删除模块333将搜索结果项“NBA中国官方网站”后面的搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”删除。Specifically, if the judging module 332 judges that at least one inserted search result item is the same as one or more of the multiple search result items contained in the first search result page, the deleting module 333 will delete the multiple search result items contained in the first search result page. One or more deletions in the search result items. For example, the obtained second search result page contains the following search result items "NBA|NBA Live|NBA Officially Authorized Video Live Video Website Sina Athletic Scenery Sina...", "NBA Latest News", "NBA China Official Website", "NBA|NBA Live|NBA Official Authorized Video Broadcasting Website Sina Competitive Scenery Sina...", "NBA Latest Related News", "NBA360 Encyclopedia", then delete module 333 and search behind the search result item "NBA China Official Website" The result items "NBA|NBA Live|NBA Officially Authorized Video Live Streaming Website Sina Competitive Scenery Sina..." and "NBA's Latest Related News" are deleted.
进一步的,判断模块332,还适于在将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中多个搜索结果项位置的前面,或者,将第一搜索结果页包含的多个搜索结果项中的一个或多个删除之后,判断搜索结果项的个数是否超出预设值;删除模块333,还适于在判断模块332判断搜索结果项的个数超出预设值的情况下,将位置靠后的搜索结果项删除,保留个数为预设值的搜索结果项,得到第二搜索结果页。Further, the judging module 332 is also adapted to insert at least one search result item sorted by the user into the front of multiple search result item positions on the first search result page, or insert the After one or more of a plurality of search result items are deleted, determine whether the number of search result items exceeds a preset value; the deletion module 333 is also suitable for determining whether the number of search result items exceeds a preset value in the judgment module 332 In this case, the search result items at the lower positions are deleted, and the search result items whose number is the preset value are retained, so as to obtain the second search result page.
进一步的,第二搜索子系统中记录的经过用户自定义排序的至少一个搜索结果项是根据用户至少一次置顶操作而得到的,并且至少一个搜索结果项的排序顺序是根据用户至少一次置顶操作的先后顺序而确定的。Further, the at least one search result item recorded in the second search subsystem and sorted by the user is obtained according to the user's at least one top operation, and the sort order of the at least one search result item is obtained according to the user's at least one top operation determined in sequence.
进一步的,接收模块310,还适于在客户端绘制显示第二搜索结果页之后,接收用户对自定义搜索结果页模式的切换指令;发送模块340,还适于将第一搜索结果页返回给客户端,以使客户端绘制显示第一搜索结果页。Further, the receiving module 310 is also adapted to receive the user's switching instruction for the custom search result page mode after the client draws and displays the second search result page; the sending module 340 is also adapted to return the first search result page to client to cause the client to draw and display the first search result page.
图4示出了根据本发明一个实施例的根据用户自定义排序显示搜索结果页的系统的功能结构框图。如图4所示,该系统包括搜索服务器410和客户端420,其中搜索服务器410的具体结构和功能可参见上述搜索服务器实施例的相关描述,在此不再赘述。Fig. 4 shows a functional structural block diagram of a system for displaying search result pages according to user-defined sorting according to an embodiment of the present invention. As shown in FIG. 4 , the system includes a search server 410 and a client 420 . For the specific structure and functions of the search server 410 , please refer to the related description of the search server embodiment above, and details are not repeated here.
本发明实施例通过搜索服务器根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,并根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项,将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面,并判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若相同,则将第一搜索结果页包含的多个搜索结果项中的一个或多个删除,从而得到第二搜索结果页,将第二搜索结果页返回至客户端,以使客户端绘制显示所述第二搜索结果页,使用户在得到的第二搜索结果页中查看各搜索结果项。通过本实施例提供的系统,搜索服务器已将经过用户自定义排序即比较感兴趣的搜索结果项显示在第二搜索结果页中,为用户提供了个性化定制的搜索结果页,使用户能够快速有效的查询到自己感兴趣的搜索结果项。In the embodiment of the present invention, the search server inquires the first search subsystem according to the search keyword to obtain the first search result page containing multiple search result items, and inquires the second search subsystem according to the user identifier and the search keyword to obtain the corresponding user identifier. At least one search result item that has been sorted by the user, insert at least one search result item that has been sorted by the user into the front of each search result item in the first search result page, and determine the inserted at least one search result item Whether it is the same as one or more of the multiple search result items contained in the first search result page, and if they are the same, then delete one or more of the multiple search result items contained in the first search result page, so as to obtain the first A second search result page, returning the second search result page to the client, so that the client draws and displays the second search result page, and enables the user to view each search result item on the obtained second search result page. Through the system provided in this embodiment, the search server has displayed the search result items that have been sorted by users, that is, they are more interested in, on the second search result page, providing users with personalized and customized search result pages, enabling users to quickly Effectively query the search result items you are interested in.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的根据用户自定义排序显示搜索结果页的系统及搜索服务器中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or some of the system for displaying search result pages according to user-defined sorting and the search server according to an embodiment of the present invention. Some or all of the functions of all components. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
Claims (11)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410509329.0A CN104199987B (en) | 2014-09-28 | 2014-09-28 | Method for displaying search result pages according to user-defined ordering, and search server |
PCT/CN2015/090920 WO2016045640A1 (en) | 2014-09-28 | 2015-09-28 | Search result items processing method, and method for displaying search result page and relevant device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410509329.0A CN104199987B (en) | 2014-09-28 | 2014-09-28 | Method for displaying search result pages according to user-defined ordering, and search server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104199987A CN104199987A (en) | 2014-12-10 |
CN104199987B true CN104199987B (en) | 2017-04-12 |
Family
ID=52085280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410509329.0A Active CN104199987B (en) | 2014-09-28 | 2014-09-28 | Method for displaying search result pages according to user-defined ordering, and search server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104199987B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016045640A1 (en) * | 2014-09-28 | 2016-03-31 | 北京奇虎科技有限公司 | Search result items processing method, and method for displaying search result page and relevant device |
CN106445947A (en) * | 2015-08-06 | 2017-02-22 | 阿里巴巴集团控股有限公司 | Data searching method and system |
CN107704498A (en) * | 2017-08-25 | 2018-02-16 | 广州虎牙信息科技有限公司 | Searching method, searcher and terminal device |
CN108573067A (en) * | 2018-04-27 | 2018-09-25 | 福建江夏学院 | A matching search system and method for commodity information |
CN113449145B (en) * | 2021-06-29 | 2023-11-10 | 乐视云网络技术(北京)有限公司 | Video search result ranking adjustment method, device, electronic equipment and computer readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8156135B2 (en) * | 2006-12-22 | 2012-04-10 | Yahoo! Inc. | Method and system for progressive disclosure of search results |
CN102024031B (en) * | 2010-11-25 | 2012-12-19 | 百度在线网络技术(北京)有限公司 | Method and equipment used for providing second search result based on real-time search |
CN102663129A (en) * | 2012-04-25 | 2012-09-12 | 中国科学院计算技术研究所 | Medical field deep question and answer method and medical retrieval system |
CN103914566A (en) * | 2014-04-22 | 2014-07-09 | 百度在线网络技术(北京)有限公司 | Search result display method and search result display device |
-
2014
- 2014-09-28 CN CN201410509329.0A patent/CN104199987B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104199987A (en) | 2014-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103577597B (en) | Keyword search system based on current browse webpage | |
US12015807B2 (en) | System and method for providing image-based video service | |
CN103577596B (en) | Keyword search method and device based on current browsing page | |
CN104199987B (en) | Method for displaying search result pages according to user-defined ordering, and search server | |
CN103577595B (en) | Keyword method for pushing and device based on current browse webpage | |
CN104536973B (en) | The method and browser client of picture recognition | |
US20150193863A1 (en) | Method and system for searching and displaying product images | |
CN103577392B (en) | Keyword method for pushing and device based on current browse webpage | |
CN104715069B (en) | It is a kind of to search for the treating method and apparatus for recommending word | |
CN104199985B (en) | A kind of method and system and search server of self-defined top set search result | |
US20220171768A1 (en) | Multi-dimensional search | |
CN102982023A (en) | Method and device for providing search suggestion | |
CN105574174B (en) | Searching method and device based on Search Hints | |
CN104199989B (en) | The method and client of each search result items top set number are shown in search results pages | |
CN103473358B (en) | A kind of method and device of search engine collecting open type summary information of webpage | |
WO2015003664A1 (en) | Method, device, server, and client device for download processing | |
CN104133908B (en) | Method, server, client and the system that frame is discussed are shown or generated in the page | |
CN104317796A (en) | Multi-user interaction method, multi-user interaction server and multi-user interaction system based on searching | |
CN104199988B (en) | According to the method for User Defined sequencing display search results pages, system and a kind of client | |
CN104199990B (en) | The acquisition methods and system, search server of search result items top set number | |
CN104166660A (en) | Search system and method based on range selection | |
CN105426535A (en) | Searching method and device based on searching tips | |
CN104199991B (en) | Processing method and client side for providing user-defined top search result items | |
CN104239487B (en) | Multiusers interaction method, server, client based on search and system | |
CN103995895B (en) | A kind of knowledge drawing method and device based on picture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220706 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right |