WO2016045640A1 - 搜索结果项处理方法和显示搜索结果页的方法及相关设备 - Google Patents

搜索结果项处理方法和显示搜索结果页的方法及相关设备 Download PDF

Info

Publication number
WO2016045640A1
WO2016045640A1 PCT/CN2015/090920 CN2015090920W WO2016045640A1 WO 2016045640 A1 WO2016045640 A1 WO 2016045640A1 CN 2015090920 W CN2015090920 W CN 2015090920W WO 2016045640 A1 WO2016045640 A1 WO 2016045640A1
Authority
WO
WIPO (PCT)
Prior art keywords
search result
search
user
item
page
Prior art date
Application number
PCT/CN2015/090920
Other languages
English (en)
French (fr)
Inventor
李海亮
陈新
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201410510420.4A external-priority patent/CN104199991B/zh
Priority claimed from CN201410509329.0A external-priority patent/CN104199987B/zh
Application filed by 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2016045640A1 publication Critical patent/WO2016045640A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a search result item processing method, a method for displaying a search result page, and related devices.
  • the search result items are generally sorted and displayed according to the matching degree of the keywords with the keywords stored in the search server, or the historical click rate of the webpage corresponding to the keyword is counted by the user. Sort the search result items.
  • the search result items that the user is interested in are not necessarily ranked first, and the user needs to view the search result item one by one to find the content that wants to be queried, therefore, a need is needed.
  • the sorting processing method of the search result items enables the user to place the search result items that are of interest to the front position of the search result page, and the user can also customize the search result item sorting to provide personalized search results, and also facilitate the future. Target the desired results when searching again to improve search efficiency.
  • the webpage or content that the user is interested in is not necessarily top-ranked, and when the user searches for the same or similar keyword again, the webpage or content in the search result page is searched.
  • the ordering of the pages will also change, and the user needs to view them one by one. Therefore, the above search result page display method cannot provide the user with the desired content quickly and effectively.
  • the present invention has been made in order to provide a processing method and client for providing a user-defined top search result item that overcomes the above problems or at least partially solves or alleviates the above problems, and a user-based Define methods, search servers, and systems for sorting display search results pages.
  • a processing method for providing a user-defined top search result item comprising: providing an interactive element for topping each search result item in a search result page; and receiving a user for the first specified search
  • the triggering instruction of the interaction element corresponding to the result item moves the position of the first specified search result item to the first search result item position in the search result page; and displays the customized search result page that is customized by the user.
  • a client comprising: an interactive element rendering module adapted to provide an interactive element for topping each search result item in a search result page; a user interface adapted to receive a triggering instruction of the interaction element corresponding to the first specified search result item; the processing module is adapted to move the position of the first specified search result item to the first search result item position in the search result page; the display module Suitable for displaying custom search results pages that have been customized by the user.
  • a processing system for providing a user-defined top search result item comprising: a client and a search server as described above.
  • a method for displaying a search result page according to a user-defined ranking comprising: receiving a search request message that is sent by a client and carrying a user identifier and a search keyword; and querying according to the search keyword.
  • the first search subsystem obtains a first search result page that includes a plurality of search result items; and queries the second search subsystem according to the user identifier and the search keyword to obtain a user-defined sort corresponding to the user identifier.
  • At least one search result item ; 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 a client to cause the client to draw the second search result page.
  • a search server comprising: a receiving module, configured to receive a search request message that is sent by a client and that carries a user identifier and a search keyword; and a query module adapted to be based on the search key
  • the first query subsystem of the word query obtains a first search result page that includes a plurality of search result items, and queries the second search subsystem according to the user identifier and the search keyword to obtain a user-defined user corresponding to the user identifier.
  • Sorting at least one search result item configured to integrate the at least one search result item that has been manually 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 to cause the client to draw the second search result page.
  • a computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the terminal device to perform the providing according to any of the above User-defined method for processing top search result items; or, When the computer readable code is run on a computing device, causing the server to perform a method of displaying a search result page according to a user-customized order according to any of the above.
  • FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a processing method for providing a user-defined top search result item provided by the present invention
  • Embodiment 2 is a schematic flowchart of Embodiment 2 of a processing method for providing a user-defined top search result item provided by the present invention
  • FIG. 3 is a schematic flowchart diagram of Embodiment 3 of a processing method for providing a user-defined top search result item provided by the present invention
  • FIG. 4 is a schematic structural diagram of Embodiment 1 of a client provided by the present invention.
  • FIG. 5 is a schematic structural diagram of a second embodiment of a client provided by the present invention.
  • FIG. 6 is a schematic structural diagram of a third embodiment of a client provided by the present invention.
  • FIG. 7 is a schematic structural diagram of an embodiment of a processing system for providing a user-defined top search result item provided by the present invention.
  • FIG. 8 is a flow chart showing a method for displaying a search result page by user-defined sorting according to an embodiment of the present invention
  • FIG. 9 is a flow chart showing a method for displaying a search result page by user-defined sorting according to another embodiment of the present invention.
  • FIG. 10 is a block diagram showing the functional structure of a search server according to an embodiment of the present invention.
  • FIG. 11 is a block diagram showing the functional structure of a system for displaying search result pages according to user-defined sorting according to an embodiment of the present invention
  • Figure 12 schematically shows a block diagram of a computing device for performing the method according to the invention
  • Fig. 13 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a processing method for providing a user-defined top search result item provided by the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step S100 In the search result page, provide an interactive element that tops each search result item.
  • the search result page is a webpage containing search result items searched by the search server according to the search keyword
  • the interactive element may be a top button or a trigger switch.
  • the execution entity of the embodiment of the present invention is a client, and may be, for example, a mobile terminal device with a mobile networking service, such as a smart phone or a tablet computer.
  • the client After receiving the search result page returned by the search server, the client obtains the interactive element of each search result item to perform the topping operation by rendering, so that the user performs the topping operation on the specified search result item through the interactive element.
  • the client renders "NBA China Official Website” and "NBA NBA Live
  • Website Sina Sports Scenery Sina "NBA's latest related news", "NBA360 Encyclopedia” and other search result items, and corresponding interactive elements are rendered in the lower right corner of each search result item, for example in search results
  • the interactive element is rendered, and the interactive element is rendered in the lower right corner of the "NBA
  • the latest related news” renders the interactive element in the lower right corner, and renders the interactive element in the lower right corner of the search result item "NBA360 Encyclopedia".
  • the interactive element may be represented as a pinned arrow icon, or other form of icon, or may be identified by text, such as "topping” or the like.
  • Step S101 Receive a trigger instruction of the interaction element corresponding to the first specified search result item by the user, and move the position of the first specified search result item to the first search result item position in the search result page.
  • the first specified search result item refers to the top search result item selected by the user in the search result page.
  • the search result is specified first according to the order specified by the user.
  • the item is called the first specified search result item
  • the later specified search result item is referred to as the second specified search result item, and so on.
  • the first search result item position refers to the page position where the first search result item in the search result page is located, and is generally generated by the search server sorting the search result items according to a conventional search sorting algorithm such as a rank sorting algorithm.
  • each search result page of each page has ten search result items arranged from top to bottom.
  • the result item is arranged in a top-down order in the search result page, and the position of the first search result item in the search result page is referred to as the first search result item position, and the position of the second search result item is called For the second search result item location, and so on.
  • the search result item may be clicked or triggered.
  • the corresponding interactive element implements a topping operation on the search result item.
  • the user clicks or triggers an interaction element corresponding to the first specified search result item and the interaction element responds to the user's top operation, and transmits the message to the client in the form of a trigger instruction, and the client receives the user corresponding to the first specified search result item.
  • the search result page is redrawn, and the position of the first specified search result item is moved to the first search result item position in the search result page.
  • redrawing can be implemented by moving the position of the first specified search result item to the first search result item position in the search result page, and placing all search result items in front of the original position of the first specified search result item.
  • the positions are moved down in the original order, and the positions of all the search result items that are behind the original position of the first specified search result item remain unchanged. For example, if the user is interested in the search result item of "NBA latest related news" in the search result page, or the user wants the search result item to be topped, the user clicks or triggers "the latest relevant news of the NBA" in the lower right corner.
  • the interactive element, the search results page is redrawn.
  • the client moves the "newest relevant news of the NBA" to the position of the first search result item, that is, the top position.
  • the original "NBA China Official Website” in the first search result item position will be moved to the "NBA
  • NBA Official Authorized video live broadcast site Sina Athletics Landscape Sina” will move down to the location of "NBA's latest related news”
  • the search results of other search result items such as "NBA360 Encyclopedia” and below will remain unchanged.
  • the top mark is displayed.
  • the top mark here is different from the interactive element, and is used to remind the user that the search result item corresponding to the top mark has been topped.
  • positional relationship between the search result item and the corresponding interactive element and the positional relationship between the search result item and the corresponding top mark are used for exemplification, and are not specifically limited herein.
  • Step S102 Display a customized search result page that is customized by the user.
  • step S101 After the processing of step S101, a custom search result page after the user has customized the top search result item by re-rendering is obtained, and the above-mentioned custom search result page is rendered and displayed.
  • an interactive element for topping each search result item is provided in the search result page, so that the user clicks or triggers the interactive element to pin the specified search result item, and the client receives the specified search by the user.
  • the position of the specified search result item is moved to the first search result item position in the search result page, and then the user-defined custom search result page is displayed, and the user can also By multiple times to customize the sorting of search result items, personalized search results are provided, and it is also convenient to locate the desired results when searching again in the future, and provide search efficiency.
  • the manner in which the client locally implements the topping operation by calling the top script in the search result page is relatively flexible, and the search server is not required to be accessed again, thereby reducing the burden on the search server.
  • FIG. 2 is a schematic flowchart diagram of Embodiment 2 of a processing method for providing a user-defined top search result item provided by the present invention. As shown in FIG. 2, the method includes the following steps:
  • Step S200 In the search result page, provide an interactive element that tops each search result item.
  • the user receives the search result page interface returned by the search server.
  • search result page interface returned by the search server.
  • search result items There are ten search result items on the general search results page, sorted from top to bottom. See the first search result item, NBA China official website.
  • top button in the lower right corner of the search term to be the interactive element to pin the search result item.
  • Step S201 Receive a trigger instruction of the interaction element corresponding to the first specified search result item by the user, and move the position of the first specified search result item to the first search result item position in the search result page.
  • this step can be implemented in any of the following two ways:
  • Manner 1 After the client receives the trigger instruction of the interaction element corresponding to the first specified search result item, the client locally sends the first specified search result item in the page by calling a top script in the search result page, such as a javascript script. The location moves to the first search result item location in the search results page.
  • a top script in the search result page such as a javascript script.
  • Manner 2 The client sends a top-level command carrying the user identifier corresponding to the user, the search result item identifier of the first specified search result item, and the search keyword for obtaining the search result page to the search server on the network side, where the user identifier
  • the search server recalls each search result item included in the foregoing search result page, and sets the position of the first specified search result item to the search result page.
  • the client receives a custom search results page returned by the search server.
  • the search result item identifier may be a URL of the search result item, and the user identifier may be a user name or a registration ID when the user logs in to the client, or The device ID of the terminal device used by the user when logging in to the client.
  • Step S202 Binding the user identifier corresponding to the user, the search result item identifier of the first specified search result item, and the search keyword for obtaining the search result page to the search server for storage.
  • the client receives a trigger instruction of the interaction element corresponding to the first specified search result item by the user or moves the position of the first specified search result item to the first search in the search result page.
  • the user identifier corresponding to the user such as the user name or the user ID
  • the search result item identifier of the first specified search result item such as the webpage URL and the search keyword for obtaining the search result page
  • the search server can arrange the position of the search result item that the user has customized the top according to the stored record in the first search result item position, and then Returning the reordered search results page to the client, so that users can quickly and easily find the content or web page they want.
  • Step S201 is implemented in the foregoing manner, after the search server receives the above-mentioned top command, the user identifier, the search result item identifier of the first specified search result item, and the search keyword for obtaining the search result page may be directly stored, without Step S202 is performed.
  • Step S203 Display a customized search result page that is customized by the user.
  • a custom search result page with a user-defined top is displayed, and a top mark is displayed on the interactive element of the first specified search result item. Specifically, after the user clicks the top button corresponding to the NBA China official website, the NBA China official website has been topped through the top operation of step S202, and a top logo is displayed in the lower right corner of the NBA China official website.
  • Step S204 Receive a trigger instruction of the interaction element corresponding to the second specified search result item by the user, move the position of the second specified search result item to the first search result item position, and move the position of the first specified search result item to the first Second search result item location.
  • step S204 and step S205 are secondary placement operations after the first specified search result item is topped, that is, after the first specified search result item is topped, the second specified search result item is topped again, and the method is topped.
  • the method of topping the first specified search result item is similar. In other words, the topping operation can be multiple times, depending on the user's own sorting needs.
  • Step S205 Display a customized search result page that is customized by the user again.
  • the function of canceling the custom top search result item can be further provided.
  • the first specified search result item may be cancelled by the following steps, and of course, the top operation of the first specified search result item is not limited: the receiving user cancels the customized topping Or exit the custom search mode command; redraw the search results page to the original style.
  • the user restores the first specified search result item to the original location by calling the un-topping script by clicking or triggering the cancel button on the client or exiting the custom search mode.
  • the embodiment of the present invention provides an interactive element for topping each search result item in a search result page, so that the user clicks or triggers an interaction element corresponding to the specified search result item, and the client receives the user's specified search.
  • the position of the specified search result item is moved to the first search result item position in the search result page, and then the user-defined top custom search result page is displayed, which can make The location of the search result item that the user is interested in is in the first search result item location in the search results page.
  • the user can also provide personalized search results by multiple times to customize the ranking of the search result items, and also facilitate the positioning of the desired results when searching again in the future, and provide search efficiency.
  • the manner in which the client locally implements the topping operation by calling the top script in the search result page is relatively flexible, and the search server is not required to be accessed again, thereby reducing the burden on the search server.
  • FIG. 3 is a schematic flowchart diagram of Embodiment 3 of a processing method for providing a user-defined top search result item provided by the present invention. As shown in FIG. 3, the method includes the following steps:
  • Step 400 In the search result page, provide an interactive element that tops each search result item.
  • Step 401 Receive a trigger instruction of the interaction element corresponding to the first specified search result item by the user, and move the position of the first specified search result item to the first search result item position in the search result page.
  • Step 402 Switch the search result page to a custom search result page mode.
  • the startup mode is started.
  • the conversion function switches the search results page to a custom search result page mode to distinguish it from the normal search result page mode (a non-personalized search result page for all users).
  • the user can perform a pinning operation on another search result item of interest.
  • the user receives the user's search result item "the latest related message of the NBA".
  • the mode conversion function is started, and the search result page is switched to the customized search result page mode.
  • the user can perform the topping operation on the search result item of interest again, for example, the user can Click or trigger the search result item "NBA
  • Step 403 Display a customized search result page that is customized by the user, and display prompt information in the customized search result page to prompt the user that the search result page has entered the customized search result page mode.
  • the prompt information is displayed on the customized search result page interface to prompt the user that the search result page has entered the customized search result page mode, and provides The "OK" and “Cancel” buttons allow the user to choose whether to continue to stay in the custom search result page mode or jump to the normal search result page mode.
  • the prompt message “You have entered the custom search result page mode” is displayed. If the user clicks the “OK” button, the search result page continues to stay in the customized search result page mode, and the user can continue to search. In the results page, select the search result item that needs to be topped. If the user clicks the "Cancel" button, the search result page jumps to the normal search result page mode, that is, the initial style of the search result page.
  • Step 404 Receive a switching instruction of the user to the customized search result page mode.
  • the custom search result page mode can be switched to the normal search result page mode by triggering the switching instruction, that is, the user customizes the search result page before the topping.
  • Step 405 Switch the customized search result page mode to the normal search result page mode, and display the search result page before the user customizes the top.
  • the embodiment of the present invention divides the search result page into a customized search result page mode and a common search result page mode, wherein in the customized search result page mode, the client displays a customized search result page that is customized by the user.
  • the client In the normal search result page mode, the search result page before the user's custom set top is displayed, so that the user can switch the search result page in different modes, which is more flexible.
  • FIG. 4 is a schematic structural diagram of Embodiment 1 of a client provided by the present invention.
  • the client includes: an interactive element rendering module 501, a user interface 502, a processing module 503, and a display module 504;
  • the interactive element rendering module 501 is adapted to provide, in the search result page, an interactive element that tops each search result item;
  • the search result page is a webpage that includes a search result item obtained by the search server according to the search keyword, and the interaction element may be a top button or a trigger switch.
  • the interactive element rendering module 501 obtains an interactive element of each search result item to perform a topping operation by rendering, so that the user performs a topping operation on the specified search result item through the interactive element. .
  • the interactive element rendering module 501 searches for the search result page according to the search keyword "NBA” returned by the search server, and searches for the search result item "NBA China Official Website", “NBA
  • the user interface 502 is adapted to receive a trigger instruction of the interaction element corresponding to the first specified search result item by the user;
  • the first specified search result item refers to the top search result item selected by the user in the search result page. In order to distinguish multiple search result items that need to be topped by the user, the first specified order is specified according to the order specified by the user.
  • the search result item is referred to as a first specified search result item, the latter specified search result item is referred to as a second specified search result item, and so on.
  • the interactive element corresponding to the search result item is clicked or triggered to implement a topping operation on the search result item.
  • the processing module 503 is adapted to move the location of the first specified search result item to the first search result item location in the search result page;
  • the processing module 503 redraws the search result page, moving the location of the first specified search result item to the first search result item location in the search result page.
  • redrawing can be implemented by moving the position of the first specified search result item to the first search result item position in the search result page, and placing all search result items in front of the original position of the first specified search result item. The positions are moved down in the original order, and the positions of all the search result items that are behind the original position of the first specified search result item remain unchanged.
  • the display module 504 is adapted to display a customized search result page that is customized by the user.
  • the customized search result page after the user-defined top search result item is redrawn, and the display module 504 renders and displays the customized search result page.
  • the interactive element rendering module 501 provides an interactive element for topping each search result item in the search result page, so that the user clicks or triggers the interactive element to top the specified search result item, which is set by the user interface 502.
  • FIG. 5 is a schematic structural diagram of a second embodiment of a client provided by the present invention.
  • the client includes: an interaction element rendering module 601, a user interface 602, a processing module 603, a display module 604, and a second sending module 605;
  • the interactive element rendering module 601 is adapted to provide an interaction element for topping each search result item in the search result page; the user interface 602 is adapted to receive a trigger instruction of the interaction element corresponding to the first specified search result item by the user; The module 603 is adapted to move the location of the first specified search result item to the first search result item position in the search result page; the display module 604 is adapted to display the customized search result page that is customized by the user.
  • the interactive element rendering module 601 For a description of the interactive element rendering module 601, the user interface 602, the processing module 603, and the display module 604, refer to the description of the interactive element rendering module, the user interface, the processing module, and the display module in the client shown in FIG. 4, where No longer said.
  • the processing module 603 is specifically configured to: a script execution module, configured to move the location of the first specified search result item to the first search result item position in the search result page by calling a top script in the search result page.
  • the script execution module moves the position of the first specified search result item in the page to the first search result item position in the search result page by calling a top script in the search result page, such as a javascript script.
  • the client further includes: a second sending module 605, configured to bind the user identifier corresponding to the user, the search result item identifier of the first specified search result item, and the search keyword used to obtain the search result page
  • a second sending module 605 configured to bind the user identifier corresponding to the user, the search result item identifier of the first specified search result item, and the search keyword used to obtain the search result page
  • the search server can arrange the position of the search result item that the user has customized the top according to the stored record in the first search result. The item location, and then return the reordered search results page to the client, which allows users to quickly and easily find the content or web page they want.
  • the display module 604 is further adapted to: display the top mark on the interactive element of the first specified search result item. Specifically, after the user clicks on the corresponding button of the NBA China official website, the NBA China official website has been topped by the top function of the script execution module, and a top logo is displayed in the lower right corner of the NBA China official website. .
  • the search result item identifier is a URL of the search result item
  • the user identifier may be a user name or a registration ID when the user logs in to the client, or may be a device identifier of the terminal device used when the user logs in to the client.
  • the user interface 602 is further configured to: receive a trigger instruction of the interaction element corresponding to the second specified search result item by the user; the processing module 603 is further configured to: move the location of the second specified search result item to the first search result The item location moves the location of the first specified search result item to the second search result item location; the display module 604 is further adapted to: display the customized search result page that is customized by the user again.
  • the embodiment supports the secondary topping operation after the first specified search result item is topped, that is, after the first specified search result item is topped, the second specified search result item is topped again, the topping manner and the first specified search are performed.
  • the result item is topped in a similar manner. In other words, the topping operation can be multiple times, depending on the user's own sorting needs.
  • the user interface 602 is further adapted to: receive a cancellation command of the first specified search result item by the user; the processing module 603 is further adapted to: restore the first specified search result item to the original position; the display module 604 is further adapted to : Displays the search results page after restoring the first specified search result item to its original location.
  • a function of canceling the customized top search result item may be further provided.
  • the first specified search result item may be cancelled, and of course, the topping operation of the first specified search result item is not limited: the user interface 602 receives the user and cancels the customized topping.
  • the processing module 603 restores the first specified search result item to the original position, re-renders the search result page to the initial style, and displays the first specified search result item by the display module 604. The search results page after the original location.
  • the embodiment of the present invention provides an interactive element for topping each search result item in a search result page, so that the user clicks or triggers an interaction element corresponding to the specified search result item, and the client receives the user's specified search.
  • the script execution module executes the topping script to move the position of the specified search result item to the first search result item position in the search result page, and then displays the customization customized by the user. Searching the results page so that the location of the search result item of interest to the user is in the first search result item position in the search results page.
  • the user can also provide personalized search results by multiple times to customize the ranking of the search result items, and also facilitate the positioning of the desired results when searching again in the future, and provide search efficiency.
  • the client locally implements the topping operation by calling the top script in the search result page, which is flexible and does not need to access the search server again, thereby reducing the burden on the search server.
  • FIG. 6 is a schematic structural diagram of a third embodiment of a client provided by the present invention.
  • the client includes: an interactive element rendering module 701, a user interface 702, a processing module 703, a display module 704, and a mode switching module 705;
  • the interactive element rendering module 701 is adapted to provide, in the search result page, an interactive element that tops each search result item;
  • the user interface 702 is adapted to receive a trigger instruction of the interaction element corresponding to the first specified search result item by the user;
  • the processing module 703 is adapted to move the location of the first specified search result item to the first search result item location in the search result page;
  • the display module 704 is adapted to display a customized search result page that is customized by the user.
  • the interactive element rendering module 701 For a description of the interactive element rendering module 701, the user interface 702, the processing module 703, and the display module 704, refer to the related description of the interactive element rendering module, the user interface, the processing module, and the display module in the client shown in FIG. 4, where No longer said.
  • the processing module 703 further includes: a first sending module 7031, configured to carry a user identifier corresponding to the user, a search result item identifier of the first specified search result item, and a method for obtaining a search result page according to the triggering instruction.
  • the top command of the search keyword is sent to the search server, so that the search server moves the location of the first specified search result item to the first search result item position in the search result page to obtain a customized search result page, and stores the user identifier.
  • the search server can customize the position of the search result item that the user has customized by the stored record. Arranged in the first search result item location, and then returns the reordered search result page to the client, so that the user can quickly and easily find the content or webpage that he wants.
  • the first receiving module 7032 is adapted to receive a customized search result page returned by the search server.
  • the display module 704 is further adapted to: display the top mark on the interactive element of the first specified search result item. Specifically, after the user clicks on the corresponding button of the NBA China official website, the NBA China official website has been topped by the top function of the script execution module, and a top logo is displayed in the lower right corner of the NBA China official website. .
  • the search result item identifier is a URL of the search result item
  • the user identifier may be a user name or a registration ID when the user logs in to the client, or may be a device identifier of the terminal device used when the user logs in to the client.
  • the user interface 702 is further configured to: receive a trigger instruction of the interaction element corresponding to the second specified search result item by the user;
  • the processing module 703 is further adapted to: move the position of the second specified search result item to the first search result item position, and move the position of the first specified search result item to the second search result item position.
  • the first sending module 7031 of the processing module 703 is adapted to: carry the search result item identifier corresponding to the user identifier corresponding to the user, the second specified search result item, and the search keyword used to obtain the search result page according to the trigger instruction.
  • the top command is sent to the search server for the search server to move the location of the second specified search result item to the first search result item position in the search result page, and move the position of the first specified search result item to the second search result
  • the item location, the custom search result page is obtained, and the user identifier, the search result item identifier of the second specified search result item, and the search keyword are stored;
  • the first receiving module 7032 is adapted to receive the customized search result page returned by the search server.
  • the display module 704 is further adapted to: display a customized search result page that has been customized by the user again.
  • the embodiment supports the secondary topping operation after the first specified search result item is topped, that is, after the first specified search result item is topped, the second specified search result item is topped again, the topping manner and the first specified search are performed.
  • the result item is topped in a similar manner.
  • the topping operation can be multiple times, depending on the user's own sorting needs.
  • the user interface 702 is further adapted to: receive a cancellation command of the first specified search result item by the user; the processing module 703 is further adapted to: restore the first specified search result item to the original position; the display module 704 is further adapted to : Displays the search results page after restoring the first specified search result item to its original location.
  • the client further includes: a mode switching module 705, configured to switch the search result page after the processing module 703 moves the location of the first specified search result item to the first search result item position in the search result page.
  • the display module 704 is further adapted to: display a customized search result page that is customized by the user, and display a prompt information in the customized search result page to prompt the user that the search result page has entered the self Custom search result page mode.
  • the user interface 702 is further adapted to: receive a switching instruction of the user to the customized search result page mode;
  • the mode switching module 705 is further adapted to: after the user interface receives the switching instruction of the user to the customized search result page mode, switch the customized search result page mode to the normal search result page mode;
  • the display module 704 is further adapted to: display a search result page prior to the user's custom set top.
  • the mode switching function is started, and the mode switching module 705 switches the search result page to the customized search.
  • the user can perform a pinning operation on another search result item of interest.
  • the mode switching function is started, and the mode switching module 705 switches the search result page to the customized search result page mode in the customized search result page mode. Under the user, the user can perform the pinning operation on the search result item of interest again.
  • the user can click or trigger the search result item “NBA
  • the display module 704 displays the customized search result page interface corresponding to the customized search result page mode after the mode switching module 705 is switched, and displays the prompt information on the customized search result page to prompt the user that the search result page has entered.
  • search result page continues to stay in the custom search result page mode, the user can continue to select the search result item that needs to be topped in the search result page, if the user clicks the "cancel" button, the search result page jumps to the common search result Page mode.
  • the embodiment of the present invention provides an interactive element for topping each search result item in a search result page, so that the user clicks or triggers an interaction element corresponding to the specified search result item, and the client receives the user's specified search.
  • the location of the specified search result item is moved by the search server to the first search result item position in the search result page by sending the top command to the search server and returned to the client, by the client.
  • the user displays a custom search result page that is customized by the user, so that the location of the search result item that the user is interested in is located in the first search result item position in the search result page.
  • the user can also provide personalized search results by multiple times to customize the ranking of the search result items, and also facilitate the positioning of the desired results when searching again in the future, and provide search efficiency.
  • FIG. 7 is a schematic diagram showing the structure of an embodiment of a processing system for providing a user-defined top search result item provided by the present invention. As shown in Figure 7, the system includes: a client 801 and a search server 802;
  • the client provides an interactive element for topping each search result item in the search result page, so that the user clicks or triggers the interactive element corresponding to the specified search result item.
  • the client After receiving the trigger instruction of the interaction element corresponding to the specified search result item by the user, moving the position of the specified search result item to the first search result item position in the search result page or carrying the user corresponding to the user
  • the top command of the identification, the search result item identifier of the first specified search result item, and the search keyword for obtaining the search result page is sent to the search server, and the search server moves the position of the first specified search result item to the search result page.
  • the first search result item position is obtained by the customized search result page, and the customized search result page is returned to the client, and then the customized display result page of the user-defined top is displayed by the client, so that the search that is of interest to the user can be made
  • the result item's position is in the first search result item in the search results page
  • the user can also provide personalized search results by multiple times to customize the ranking of the search result items, and also facilitate the positioning of the desired results when searching again in the future, and provide search efficiency.
  • FIG. 8 illustrates a flow chart of a method for user-defined sorting display of search result pages in accordance with one embodiment of the present invention. As shown in FIG. 8, the method includes the following steps:
  • Step S801 Receive a search request message that is sent by the client and carries a user identifier and a search keyword.
  • the execution subject of the embodiment of the present invention is a search server.
  • the above client may be, for example, a terminal device such as a computer, a smart phone, or a tablet computer.
  • the user identifier may be a user name or a registration ID when the user logs in to the client, or may be a device identifier of the terminal device used when the user logs in to the client.
  • the client After the user inputs the search keyword through the search page provided by the client, the client sends a search request message carrying the user identifier and the search keyword to the search server.
  • Step S802 Query the first search subsystem according to the search keyword to obtain a first search result page that includes a plurality of search result items.
  • the search server side of the present invention provides two search subsystems, which are a first search subsystem and a second search subsystem, respectively, wherein the first search subsystem provides the user with the search key.
  • 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, ie a search system ordered according to a search result item of a conventional search algorithm such as a rank sorting algorithm.
  • the search server receives the user identifier included in the search request message sent by the client as “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 And include "NBA China official website”, "NBA
  • Step S803 Query the second search subsystem according to the user identifier and the search keyword, and obtain at least one search result item that is user-customized and sorted corresponding to the user identifier.
  • Step S803 and step S802 do not perform the sequence restriction in sequence, and may also perform step S803 first, then step S802; or perform step S802 and step S803 at the same time.
  • the search server queries the second search subsystem according to the user identifier and the search keyword, and obtains at least one search result item corresponding to the user-defined sort corresponding to the user identifier, where the second search subsystem includes the user-subordinate user.
  • a search subsystem that defines at least one search result item for sorting For example, the user whose user ID is "123456" last searched the search result item in the search engine using the search keyword "NBA", and the search result item that the user is interested in is, for example, "NBA
  • the second search subsystem records the user identifier "123456", the search keyword "NBA” and the user-defined sorted two search result items "NBA
  • the search server queries the second search subsystem to obtain the user identifier "123456” and the search keyword " The NBA" corresponds to the above two search result items sorted by the user.
  • Step S804 integrating at least one search result item that has been manually sorted by the user into the first search result page to obtain a second search result page.
  • the search server obtains the user-customized sorted search result items corresponding to the user identifier by querying the second search subsystem, and integrates the search result items into the first search result page to obtain a second search result page.
  • the search server queries the second search subsystem to obtain two user-customized sorted search result items corresponding to the user identifier “123456” and the search keyword “NBA” as “NBA
  • Step S805 Return the second search result page to the client, so that the client draws and displays the second search result page.
  • 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 the prompt information of the user entering the customized search result page mode in the second search result page.
  • the client displays a user-specific search result page, which includes user-defined sorted search result items, and the search result items are sorted according to user customization. The order is displayed in front of other search result items for easy viewing by the user.
  • the client draws and displays the second search result page
  • the top symbol is displayed at the position of the at least one search result item of the second search result page that is user-customized, to prompt the user for the at least one search result item. It is a search result item that is operated by the user.
  • the user may further perform operations such as pinning or dragging other search result items, and form a plurality of search result items that the user re-customizes and sorts again, and the second search
  • the correspondence between the user identifier, the search keyword, and the plurality of search result items that are re-customized by the user is re-recorded in the subsystem, so that the user provides multiple searches by user re-customization when searching again using the same search keyword. Result item.
  • the embodiment of the present invention obtains a first search result page including a plurality of search result items by querying the first search subsystem according to the search keyword, and queries the second search subsystem according to the user identifier and the search keyword to obtain a user identifier corresponding to the user search identifier. At least one search result item sorted by the user, integrating at least one search result item sorted by the user into the first search result page, obtaining a second search result page, and returning the second search result page to the customer End, so that the client draws the second search results page.
  • the search server has displayed the search result items that are more interesting through the user-defined sorting, and displayed the search result page in the second search result page, so that the user can provide a personalized customized search result page, so that the user can quickly Effectively query the search result items that you are interested in.
  • FIG. 9 is a flow chart showing a method of user-defined sorting display of a search result page in accordance with another embodiment of the present invention. As shown in FIG. 9, the method includes the following steps:
  • Step S901 Receive a search request message that carries a user identifier and a search keyword sent by the client.
  • the client After the user inputs the search keyword through the search page provided by the client, the client sends a search request message carrying the user identifier and the search keyword to the search server.
  • Step S902 Query the first search subsystem according to the search keyword to obtain a first search result page that includes a plurality of search result items.
  • the first search subsystem is a conventional search system that provides the user with a plurality of search result items that match the search keyword in accordance with a conventional search algorithm, such as a rank sorting algorithm.
  • the first search subsystem does not consider the user identification, and only considers the degree of matching with the search keyword to obtain a plurality of search result items.
  • the search server receives the user identifier included in the search request message sent by the client as “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 And include "NBA China official website”, "NBA
  • Step S903 Query the second search subsystem according to the user identifier and the search keyword, and obtain at least one search result item that is user-customized and sorted corresponding to the user identifier.
  • Step S903 and step S902 do not sequentially perform the limitation of the sequence. Step S903 may be performed first, and then step S902 may be performed; or step S902 and step S903 may be performed at the same time.
  • the second search subsystem is a search system for recording user-defined sorting information, and the second search subsystem needs to be based on the user identifier and the search key. word.
  • the at least one search result item recorded by the user in the second search subsystem is obtained according to the last time the user uses the same search keyword, and the search result is interested in the search result page.
  • the item is obtained by performing a pinch and/or drag operation, and the sort order of the at least one search result item is determined according to a sort order determined by the user's top and/or drag operation.
  • the user uses the search keyword to obtain a search result page, which provides an interactive element that tops each search result item. For example, after the user inputs the search keyword "NBA" on the client, the search result page interface returned by the search server is received. There are ten search result items on the general search results page, sorted from top to bottom, and there is a top button in the lower right corner of each search result item that is the interactive element that tops the search result item.
  • the client receives a trigger instruction of the interaction element corresponding to the first specified search result item, and moves the position of the first specified search result item to the first search result item position in the search result page. Further, this step can be implemented in any of the following two ways:
  • Manner 1 After the client receives the trigger instruction of the interaction element corresponding to the first specified search result item, the client locally sends the first specified search result item in the page by calling a top script in the search result page, such as a javascript script. The location moves to the first search result item location in the search results page. After performing the step provided by the method 1, the client binds the user identifier corresponding to the user, the search result item URL of the first specified search result item, and the search keyword to the search server, and the second search subsystem stores the user. Correspondence between the identification, the search keyword, and the search result item URL of the first specified search result item.
  • Manner 2 The client sends a top-level command carrying the user identifier corresponding to the user, the search result item URL of the first specified search result item, and the search keyword to the search server on the network side, and the search server re-calls the foregoing search result page.
  • Each of the included search result items sets the position of the first specified search result item to the first search result item position in the search result page and redraws the user-defined search result page, and returns to the client.
  • the client receives a custom search results page returned by the search server.
  • the second search subsystem on the search server side stores the correspondence between the user identification, the search keyword, and the search result item URL of the first specified search result item.
  • the second search subsystem stores the user identifier, the search keyword, and the search result item URL of the first specified search result item that has been topped by the user.
  • the second search subsystem stores user-defined sort information. Therefore, in step S903, 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 that has been user-customized and sorted.
  • the user may top the plurality of first specified search result items by multiple topping operations, and multiple firsts may be determined according to the sequence of multiple topping operations. Specifies the sort order of the search result items, and the second search subsystem also stores the sort order of the plurality of first specified search result items.
  • the search result item that the user is interested in is, for example, "NBA
  • the live video website Sina Sports Scenery Sina", "NBA's latest related news” is topped, in which the user first tops the "NBA's latest related news", and then "NBA
  • the two search result items of the user-customized sorting are "NBA
  • the second search subsystem stores the user identifier "123456", the search keyword "NBA”, and two search result items that are sorted by the user. "NBA
  • the search server queries the second search subsystem to obtain the user identifier "123456” and the search keyword " The NBA" corresponds to the above two search result items sorted by the user.
  • Step S904 inserting at least one search result item that has been user-customized sorted into the front of each search result item position in the first search result page.
  • the search server inserts at least one search result item that has been manually sorted by the user into the front of each search result item position in the first search result page.
  • the search server receives the user identifier included in the search request message sent by the client as “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 And include "NBA China official website", "NBA
  • Step S905 determining 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, and if yes, executing step S906; if not, executing step S907.
  • step S906 is performed; if not, step S907 is performed.
  • the first search result page obtained by the search server according to the search keyword “NBA” for querying the first search subsystem includes the following search result items “NBA China Official Website”, “NBA
  • search server judges that the search result item "NBA
  • Step S906 deleting one or more of the plurality of search result items included in the first search result page.
  • the search server determines that the inserted at least one search result item is identical to one or more of the plurality of search result items included in the first search result page, the plurality of search result items included in the first search result page are included One or more deletions.
  • the search result page obtained in step S905 includes the following search result item "NBA
  • Step S907 determining whether the number of search result items exceeds a preset value, and if yes, executing step S908; if not, executing step S909.
  • the search server inserts at least one search result item that has been manually sorted by the user into the front of the plurality of search result item positions in the first search result page, or the plurality of search result items included in the first search result page
  • it is determined whether the number of search result items exceeds a preset value and if so, step S908 is performed, and if no, step S909 is performed.
  • each search result page of each page has ten search result items arranged from top to bottom, when at least one search result item that has been user-customized sorted is inserted into multiple search result item positions in the first search result page.
  • step S908 is performed after deleting one or more of the plurality of search result items included in the first search result page.
  • Step S908 deleting the search result item with the position lower, and retaining the search result item whose number is the preset value, to obtain the second search result page.
  • Step S909 returning the second search result page to the client, so that the client draws and displays the second search result page.
  • 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 the prompt information of the user entering the customized search result page mode in the second search result page.
  • the user can trigger a switch button on the client, and the client receives the user's switching instruction for the customized search result page mode, and returns the first search result page to the client.
  • the client In order for the client to draw and display the first search result page, that is, enter the normal search result page mode.
  • the embodiment of the present invention obtains a first search result page including a plurality of search result items by querying the first search subsystem according to the search keyword, and queries the second search subsystem according to the user identifier and the search keyword to obtain a user identifier corresponding to the user search identifier.
  • At least one search result item sorted by the user inserting 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, and determining at least one search result item inserted Whether it is the same as one or more of the plurality of search result items included in the first search result page, and if the same, deleting one or more of the plurality of search result items included in the first search result page, thereby obtaining the first
  • the second search result page returns the second search result page to the client, so that the client draws and displays the second search result page, so that the user views each search result item in the obtained second search result page.
  • the search server has displayed the search result items that are more interesting through the user-defined sorting, and displayed the search result page in the second search result page, so that the user can provide a personalized customized search result page, so that the user can quickly Effectively query the search result items that you are interested in.
  • FIG. 10 is a block diagram showing the functional structure of a search server according to an embodiment of the present invention.
  • the search server includes: a receiving module 1010, a query module 1020, an integration module 1030, and a sending module 1040.
  • the receiving module 1010 is adapted to receive a search request message that is sent by the client and that carries the user identifier and the search keyword.
  • the client may be, for example, a terminal device such as a computer, a smart phone, or a tablet computer.
  • the above user ID can be logged in for the user.
  • the user name or registration ID of the client can also be the device ID of the terminal device used when the user logs in to the client.
  • the querying module 1020 is adapted to query the first search subsystem according to the search keyword to obtain a first search result page that includes multiple search result items, and query the second search subsystem according to the user identifier and the search keyword to obtain a corresponding process of the user identifier.
  • the search server side of the present invention provides two search subsystems, which are a first search subsystem and a second search subsystem, respectively, wherein the first search subsystem provides the user with the search key.
  • the query module 1020 queries the first search subsystem according to the search keyword to obtain a first search result page that includes multiple search result items.
  • the first search subsystem is a conventional search system, ie a search system ordered according to a search result item of a conventional search algorithm such as a rank sorting algorithm.
  • the receiving module 1010 receives the user identifier included in the search request message sent by the client as “123456” and the search keyword is “NBA”, and the query module 1020 queries the first search subsystem according to the search keyword “NBA” to be sorted. After the "NBA China official website”, "NBA
  • the query module 1020 further queries the second search subsystem according to the user identifier and the search keyword, and obtains at least one search result item that is user-customized by the user identifier.
  • the second search subsystem is a search subsystem that includes at least one search result item that has been user-ordered.
  • the search result item that the user is interested in is, for example, "NBA
  • the query module 1020 queries the second search subsystem to obtain the above corresponding to the user identifier "123456" and the search keyword "NBA". Two search result items sorted by user customization.
  • the integration module 1030 is adapted to integrate at least one search result item that has been manually sorted by the user into the first search result page to obtain a second search result page.
  • the query module 1020 obtains a user-defined sorted search result item corresponding to the user identifier by querying the second search subsystem, and integrates the search result items into the first search result page to obtain a second search result page.
  • the query module 1020 obtains the search result item corresponding to the user identifier “123456” and the search keyword “NBA” by querying the second search subsystem as “NBA
  • the integration module 1030 will include the search result item contained in the first search result page "NBA
  • the sending module 1040 is adapted to return the second search result page to the client, so that the client draws and displays the second search result page.
  • the sending module 1040 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 the prompt information of the user entering the customized search result page mode in the second search result page.
  • the client displays a user-specific search result page, which includes user-defined sorted search result items, and the search result items are sorted according to user customization. The order is displayed in front of other search result items for easy viewing by the user.
  • the integration module 1030 may include: an insertion module 1031, a determination module 1032, and a deletion module 1033.
  • the inserting module 1031 is adapted to insert at least one search result item that has been user-customized sorted into the front of the plurality of search result item positions in the first search result page. Specifically, the inserting module 1031 inserts at least one search result item that has been manually sorted by the user into the front of each search result item position in the first search result page.
  • the receiving module 1010 receives the user identifier included in the search request message sent by the client as “123456” and the search keyword is “NBA”, and the query module 1020 queries the first search subsystem according to the search keyword “NBA” to be sorted.
  • the determining module 1032 is adapted to insert at least one search result item that has been user-customized by the insertion module 1031 into the first search result page. After the front of the plurality of search result item positions, it is determined whether the inserted at least one search result item is identical to one or more of the plurality of search result items included in the first search result page. Specifically, after the inserting module 1031 inserts at least one search result item that has undergone user-defined sorting into the front of each search result item position in the first search result page, the determining module 1032 further determines 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 the same, the deletion module 1033 is triggered to perform the delete operation.
  • the query module 1020 queries the first search result page according to the search keyword "NBA” to include the following search result items "NBA China Official Website", “NBA
  • the judging module 1032 judges that the insertion search result item "NBA
  • the deleting module 1033 is adapted to include the first search result page if the determining module 1032 determines that the inserted at least one search result item is identical to one or more of the plurality of search result items included in the first search result page. One or more of the multiple search result items are deleted. Specifically, if the determining module 1032 determines that the inserted at least one search result item is identical to one or more of the plurality of search result items included in the first search result page, the deleting module 1033 includes the plurality of first search result pages. One or more of the search result items are deleted.
  • the obtained second search result page includes the following search result item "NBA
  • the determining module 1032 is further adapted to insert at least one search result item that has undergone user-defined sorting into the front of the plurality of search result item positions in the first search result page, or to include the first search result page After the one or more of the plurality of search result items are deleted, determining whether the number of search result items exceeds a preset value; the deleting module 1033 is further adapted to determine, in the determining module 1032, that the number of search result items exceeds a preset value. In the case, the search result item with the lower position is deleted, and the search result item whose number is the preset value is retained, and the second search result page is obtained.
  • the at least one search result item recorded by the user in the second search subsystem is obtained according to at least one topping operation of the user, and the sorting order of the at least one search result item is based on the user at least one topping operation. Determined in order.
  • the receiving module 1010 is further adapted to: after the client draws and displays the second search result page, receive a switching instruction of the user to the customized search result page mode; the sending module 1040 is further adapted to return the first search result page to the The client, so that the client draws the first search results page.
  • FIG. 11 is a block diagram showing the functional structure of a system for displaying search result pages according to user-customized ordering according to an embodiment of the present invention.
  • the system includes a search server 1110 and a client 1120.
  • the specific structure and function of the search server 1110 can be referred to the related description of the foregoing search server embodiment, and details are not described herein again.
  • the embodiment of the present invention obtains a first search result page including a plurality of search result items by querying the first search subsystem according to the search keyword, and queries the second search subsystem according to the user identifier and the search keyword to obtain a user identifier corresponding to the user search identifier.
  • At least one search result item sorted by the user inserting 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, and determining at least one search result item inserted Whether it is the same as one or more of the plurality of search result items included in the first search result page, and if the same, deleting one or more of the plurality of search result items included in the first search result page, thereby obtaining the first
  • the second search result page returns the second search result page to the client, so that the client draws and displays the second search result page, so that the user views each search result item in the obtained second search result page.
  • the search server has displayed the search result items that are more interesting through user-defined sorting, and displayed the search result page in the second search result page, so that the user can provide a personalized customized search result page, so that the user can quickly Effectively query the search result items that you are interested in.
  • modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor can be used in practice to implement a client, a processing system that provides user-defined top search result terms, a search server, and Some or all of the features of some or all of the components of the system displaying the search results page are sorted according to user-defined order.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 12 shows a block diagram of a computing device in which the method in accordance with the present invention can be implemented.
  • the computing device shown in FIG. 12 can implement a processing method for providing a user-defined top search result item according to the present invention, and a server for performing a user-defined sorting display search result page according to the present invention.
  • the computing device shown in FIG. 12 conventionally includes a processor 1210 and a computer program product or computer readable medium in the form of a memory 1220.
  • the memory 1220 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 1220 has a memory space 1230 for program code 1231 for performing any of the method steps described above.
  • storage space 1230 for program code may include various program codes 1231 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 1220 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 1231 ', ie, code readable by a processor, such as 1210, that when executed by a computing device causes the computing device to perform each of the methods described above step.

Abstract

一种搜索结果项处理方法和显示搜索结果页的方法及相关设备。其中搜索结果项处理方法包括:在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素(S100);接收用户对第一指定搜索结果项对应的交互元素的触发指令,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置(S101);显示经用户自定义置顶的自定义搜索结果页(S102)。通过在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素,客户端在接收到用户对指定的搜索结果项对应的交互元素的触发指令之后,将指定的搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置,这样可以使得用户感兴趣的搜索结果项的位置处于搜索结果页中第一搜索结果项位置。

Description

搜索结果项处理方法和显示搜索结果页的方法及相关设备 技术领域
本发明涉及互联网技术领域,具体涉及一种搜索结果项处理方法和显示搜索结果页的方法及相关设备。
背景技术
随着国内互联网技术的迅速发展,如何在互联网上快速准确的找到自己所需要的信息,成为互联网搜索中的一个关键问题。
在现有的搜索结果页中,一般是按照关键词与搜索服务器中存储的关键词的匹配程度来对搜索结果项进行排序显示,或者通过统计用户对该关键词对应的网页的历史点击率来对搜索结果项进行排序显示。
但是,在通过上述排序得到的搜索结果页中,用户所感兴趣的搜索结果项并不一定是排在最前面的,需要用户一一查看搜索结果项才能找到想要查询的内容,因此,需要一种搜索结果项的排序处理方法使用户能够将自己感兴趣的搜索结果项放置在搜索结果页中靠近前面的位置,同时用户也可以自定义搜索结果项排序,提供个性化搜索结果,也便于以后再次搜索时定位到所需的结果,提高搜索使用效率。
此外,在通过上述排序得到的搜索结果页中,用户所感兴趣的网页或内容并不一定是排在最前面的,而在用户再次搜索相同或相近的关键词时,搜索结果页中网页或内容的排序也会有所变动,需要用户一一查看,因此,上述搜索结果页显示方法不能快速有效的为用户提供想要的内容。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决或者减缓上述问题的一种提供用户自定义置顶搜索结果项的处理方法及客户端,以及一种一种根据用户自定义排序显示搜索结果页的方法、搜索服务器及系统。
根据本发明的一个方面,提供了一种提供用户自定义置顶搜索结果项的处理方法,包括:在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素;接收用户对第一指定搜索结果项对应的交互元素的触发指令,将所述第一指定搜索结果项的位置移动到所述搜索结果页中的第一搜索结果项位置;显示经用户自定义置顶的自定义搜索结果页。
根据本发明的另一个方面,提供了一种一种客户端,包括:交互元素渲染模块,适于在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素;用户接口,适于接收用户对第一指定搜索结果项对应的交互元素的触发指令;处理模块,适于将所述第一指定搜索结果项的位置移动到所述搜索结果页中的第一搜索结果项位置;显示模块,适于显示经用户自定义置顶的自定义搜索结果页。
根据本发明的又一个方面,还提供了一种提供用户自定义置顶搜索结果项的处理系统,包括:如上所述的客户端和搜索服务器。
根据本发明的一个方面,还提供了一种根据用户自定义排序显示搜索结果页的方法,包括:接收客户端发送的携带用户标识和搜索关键词的搜索请求消息;根据所述搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页;根据所述用户标识和所述搜索关键词查询第二搜索子系统,得到所述用户标识对应的经过用户自定义排序的至少一个搜索结果项;将所述经过用户自定义排序的至少一个搜索结果项整合到所述第一搜索结果页中,得到第二搜索结果页;将所述第二搜索结果页返回至所述客户端,以使所述客户端绘制显示所述第二搜索结果页。
根据本发明的又一个方面,还提供了一种搜索服务器,包括:接收模块,适于接收客户端发送的携带用户标识和搜索关键词的搜索请求消息;查询模块,适于根据所述搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,根据所述用户标识和所述搜索关键词查询第二搜索子系统,得到所述用户标识对应的经过用户自定义排序的至少一个搜索结果项;整合模块,适于将所述经过用户自定义排序的至少一个搜索结果项整合到所述第一搜索结果页中,得到第二搜索结果页;发送模块,适于将所述第二搜索结果页返回至所述客户端,以使所述客户端绘制显示所述第二搜索结果页。
根据本发明的另一个方面,还提供了一种根据用户自定义排序显示搜索结果页的系统,如上所述的搜索服务器和客户端。
根据本发明的又一个方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述终端设备执行根据上述任一个所述的提供用户自定义置顶搜索结果项的处理方法;或者, 当所述计算机可读代码在计算设备上运行时,导致所述服务器执行根据上述任一个所述的根据用户自定义排序显示搜索结果页的方法。
根据本发明的再一个方面,还提供了一种计算机可读介质,其中存储了如上述所述的计算机程序。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了本发明提供的提供用户自定义置顶搜索结果项的处理方法实施例一的流程示意图;
图2示出了本发明提供的提供用户自定义置顶搜索结果项的处理方法实施例二的流程示意图;
图3示出了本发明提供的提供用户自定义置顶搜索结果项的处理方法实施例三的流程示意图;
图4示出了本发明提供的客户端实施例一的结构示意图;
图5示出了本发明提供的客户端实施例二的结构示意图;
图6示出了本发明提供的客户端实施例三的结构示意图;
图7示出了本发明提供的提供用户自定义置顶搜索结果项的处理系统实施例的结构示意图;
图8示出了根据本发明一个实施例的用户自定义排序显示搜索结果页的方法的流程图;
图9示出了根据本发明另一个实施例的用户自定义排序显示搜索结果页的方法的流程图;
图10示出了根据本发明一个实施例的搜索服务器的功能结构框图;
图11示出了根据本发明一个实施例的根据用户自定义排序显示搜索结果页的系统的功能结构框图;
图12示意性地示出了用于执行根据本发明的方法的计算设备的框图;以及
图13示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
具体实施例
下面结合附图和具体的实施方式对本发明作进一步的描述。
图1示出了本发明提供的提供用户自定义置顶搜索结果项的处理方法实施例一的流程示意图。如图1所示,该方法包括如下步骤:
步骤S100、在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素。
搜索结果页为搜索服务器根据搜索关键词搜索得到的包含搜索结果项的网页,交互元素可以为置顶按钮或触发开关。具体的,本发明实施例的执行主体为客户端,例如可以是智能手机、平板式电脑等具有移动联网服务的移动终端设备。客户端在接收到搜索服务器返回的搜索结果页之后,通过渲染得到各个搜索结果项进行置顶操作的交互元素,以供用户通过交互元素来对指定的搜索结果项进行置顶操作。例如客户端通过调用javascript脚本或者加载HTML文本,在搜索服务器返回的根据搜索关键词“NBA”搜索得到的搜索结果页中渲染出“NBA中国官方网站”、“NBA NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等多个搜索结果项,且在每个搜索结果项的右下角处渲染出对应的交互元素,例如在搜索结果项“NBA中国官方网站”的右下角处渲染出交互元素、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”的右下角处渲染出交互元素、在搜索结果项“NBA的最新相关消息”的右下角处渲染出交互元素、在搜索结果项“NBA360百科”的右下角处渲染出交互元素等。所述交互元素可以表示为置顶的箭头图标,或者其他形式的图标,也可以以文字方式来标识,比如“置顶”等。
步骤S101、接收用户对第一指定搜索结果项对应的交互元素的触发指令,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。
第一指定搜索结果项是指用户在搜索结果页中选择的即将置顶的搜索结果项,为了区分用户先后指定的需要置顶的多个搜索结果项,按照用户指定的先后顺序将先指定的搜索结果项称为第一指定搜索结果项,将后指定的搜索结果项称为第二指定搜索结果项,以此类推。第一搜索结果项位置是指搜索结果页中的第一个搜索结果项所在的页面位置,一般是由搜索服务器按照常规搜索排序算法例如rank排序算法对搜索结果项进行排序生成的。一般情况下,每页的搜索结果页自上而下排列有十个搜索结果项,为了区分搜索结果页中多个搜索结果项的位置,按照搜索 结果项在搜索结果页中自上而下的排列顺序,将搜索结果页中的第一个搜索结果项所在的位置称为第一搜索结果项位置,将第二个搜索结果项所在的位置称为第二搜索结果项位置,以此类推。
在客户端渲染出各个搜索结果项进行置顶的交互元素之后,用户如果对某一搜索结果项感兴趣,或者希望某一搜索结果项作为第一搜索结果,则可以则点击或触发该搜索结果项对应的交互元素,实现对该搜索结果项的置顶操作。具体的,用户点击或触发第一指定搜索结果项对应的交互元素,交互元素响应用户的置顶操作,并以触发指令的形式传送到客户端,客户端接收用户对第一指定搜索结果项对应的交互元素的触发指令之后,重新绘制搜索结果页面,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。例如,重新绘制可以采用如下方式实现,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置,并将处于第一指定搜索结果项原来位置前面的所有搜索结果项的位置按照原来的顺序依次下移,处于第一指定搜索结果项原来位置后面的所有搜索结果项的位置则保持不变。例如,如果用户对搜索结果页中的“NBA的最新相关消息”这一搜索结果项感兴趣,或者用户希望这一搜索结果项置顶,则用户点击或触发“NBA的最新相关消息”右下角处的交互元素,则搜索结果页重新进行绘制。客户端将“NBA的最新相关消息”移动第一搜索结果项位置,即置顶位置。原先在第一搜索结果项位置的“NBA中国官方网站”将下移至“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”所在的位置,“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”将下移至“NBA的最新相关消息”所在的位置,其它搜索结果项的位置如“NBA360百科”及其下面位置的搜索结果项则保持不变,并且在搜索结果项“NBA的最新相关消息”右下角处显示置顶标识,此处的置顶标识并不同于交互元素,是用来提醒用户该置顶标识对应的搜索结果项已被置顶。
另外,本发明实施例上述的搜索结果项及其对应的交互元素之间的位置关系、以及搜索结果项及其对应的置顶标识之间的位置关系仅用来举例说明,这里不作具体限定。
步骤S102、显示经用户自定义置顶的自定义搜索结果页。
通过步骤S101的处理之后,得到经过重新绘制,用户自定义置顶搜索结果项之后的自定义搜索结果页,渲染并显示上述自定义搜索结果页。
本发明实施例通过在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素,以供用户点击或触发交互元素对指定的搜索结果项进行置顶,客户端在接收到用户对指定的搜索结果项对应的交互元素的触发指令之后,将指定的搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置,然后显示经用户自定义置顶的自定义搜索结果页,用户也可以通过多次置顶来自定义搜索结果项的排序,提供个性化搜索结果,也便于以后再次搜索时定位到所需的结果,提供搜索使用效率。进一步的,上述客户端本地通过调用搜索结果页中的置顶脚本实现置顶操作的方式比较灵活,无需再次访问搜索服务器,减轻了搜索服务器的负担。
图2示出了本发明提供的提供用户自定义置顶搜索结果项的处理方法实施例二的流程示意图。如图2所示,该方法包括如下步骤:
步骤S200、在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素。
具体的,用户在客户端输入搜索关键词NBA之后,接收到的搜索服务器返回的搜索结果页界面。一般搜索结果页上有十个搜索结果项,从上至下依次排序。参见第一个搜索结果项即NBA中国官方网站,在搜索项的右下角处有一个置顶按钮即为将搜索结果项进行置顶的交互元素。
步骤S201、接收用户对第一指定搜索结果项对应的交互元素的触发指令,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。
进一步地,本步骤可以通过以下两种方式中的任一种来实现:
方式一:客户端接收用户对第一指定搜索结果项对应的交互元素的触发指令之后,客户端本地通过调用搜索结果页中的置顶脚本,例如javascript脚本,将页面中的第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。
方式二:客户端将携带有用户对应的用户标识、第一指定搜索结果项的搜索结果项标识以及用于获取搜索结果页的搜索关键词的置顶命令发送至网络侧的搜索服务器,其中用户标识为置顶命令中可选的携带信息,在发送置顶命令后,搜索服务器重新调用前述的搜索结果页中包含的各个搜索结果项,将所述第一指定搜索结果项的位置设置到搜索结果页中的第一搜索结果项位置并重新绘制用户自定义搜索结果页,返回给所述客户端。客户端接收搜索服务器返回的自定义搜索结果页。
其中,搜索结果项标识可以为搜索结果项的URL,用户标识可以为用户登录客户端时的用户名或注册ID,也可 以为用户登录客户端时所使用终端设备的设备标识。
步骤S202、将用户对应的用户标识、第一指定搜索结果项的搜索结果项标识以及用于获取搜索结果页的搜索关键词绑定在一起发送至搜索服务器进行存储。
若步骤S201采用上述方式一实现,则在客户端接收到用户对第一指定搜索结果项对应的交互元素的触发指令或者将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置之后,将用户对应的用户标识例如用户名或者用户ID、第一指定搜索结果项的搜索结果项标识例如网页URL以及用于获取搜索结果页的搜索关键词绑定在一起发送至搜索服务器进行存储,以便于该用户再次使用同样的搜索关键词进行搜索时,搜索服务器可以根据已存储的记录将用户已自定义置顶过的搜索结果项的位置排列在第一搜索结果项位置,然后将重排序的搜索结果页返回给客户端,这样使得用户可以快速便捷的找到自己想要的内容或网页。
若步骤S201采用上述方式二实现,在搜索服务器接收到上述置顶命令后,可直接存储用户标识、第一指定搜索结果项的搜索结果项标识以及用于获取搜索结果页的搜索关键词,无需再执行步骤S202。
步骤S203、显示经用户自定义置顶的自定义搜索结果页。
显示经用户自定义置顶的自定义搜索结果页,并在第一指定搜索结果项的交互元素上显示置顶标识。具体的,在用户点击了NBA中国官方网站对应的置顶按钮之后,通过步骤S202的置顶操作,已将NBA中国官方网站进行了置顶,并在NBA中国官方网站的右下角处显示了一个置顶标识。
步骤S204、接收用户对第二指定搜索结果项对应的交互元素的触发指令,将第二指定搜索结果项的位置移动到第一搜索结果项位置,将第一指定搜索结果项的位置移动到第二搜索结果项位置。
具体的,步骤S204和步骤S205是对第一指定搜索结果项置顶之后的二次置顶操作,即在第一指定搜索结果项置顶之后,再次对第二指定搜索结果项进行置顶,置顶的方法和对第一指定搜索结果项置顶的方法类似。也就是说,置顶操作是可以多次的,根据用户自身排序需求而定。
步骤S205、显示经用户再次自定义置顶的自定义搜索结果页。
在为用户显示自定义搜索结果页的基础上,进一步还可提供取消自定义置顶搜索结果项的功能。比如,在用户不想对第一指定搜索结果项进行置顶时,可以通过下述步骤取消对第一指定搜索结果项,当然也不限于第一指定搜索结果项的置顶操作:接收用户取消自定义置顶或退出自定义搜索模式的指令;将搜索结果页重新绘制为初始样式。具体的,用户通过在客户端点击或者是触发取消置顶按钮或退出自定义搜索模式,客户端通过调用取消置顶脚本将第一指定搜索结果项还原到原位置。
本发明实施例通过在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素,以供用户点击或触发对指定的搜索结果项对应的交互元素,客户端在接收到用户对指定的搜索结果项对应的交互元素的触发指令之后,将指定的搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置,然后显示经用户自定义置顶的自定义搜索结果页,这样可以使得用户感兴趣的搜索结果项的位置处于搜索结果页中第一搜索结果项位置。同时,用户也可以通过多次置顶来自定义搜索结果项的排序,提供个性化搜索结果,也便于以后再次搜索时定位到所需的结果,提供搜索使用效率。进一步的,上述客户端本地通过调用搜索结果页中的置顶脚本实现置顶操作的方式比较灵活,无需再次访问搜索服务器,减轻了搜索服务器的负担。
图3示出了本发明提供的提供用户自定义置顶搜索结果项的处理方法实施例三的流程示意图。如图3所示,该方法包括如下步骤:
步骤400、在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素。
具体参见本发明上述方法实施例一和方法实施例二中相关步骤的描述,这里不作具体限定。
步骤401、接收用户对第一指定搜索结果项对应的交互元素的触发指令,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。
具体参见本发明上述方法实施例一和方法实施例二中相关步骤的描述,这里不作具体限定。
步骤402、将搜索结果页切换为自定制搜索结果页模式。
具体的,在客户端接收用户对第一指定搜索结果项对应的交互元素的触发指令,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置之后,则启动模式转换功能,将搜索结果页切换为自定制搜索结果页模式,用以与普通搜索结果页模式(适用于所有用户的非个性化的搜索结果页)相区分。
另外,在自定制搜索结果页模式下,用户可以对另一感兴趣的搜索结果项进行置顶操作。以搜索服务器返回的根据搜索关键词“NBA”搜索得到的搜索结果页为例,在客户端接收用户对搜索结果项“NBA的最新相关消息”的置 顶操作之后,则启动模式转换功能,将搜索结果页切换为自定制搜索结果页模式,在自定制搜索结果页模式下,用户可以再次对感兴趣的搜索结果项进行置顶操作,例如,用户可以点击或者触发搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”对应的置顶按钮,将其进行置顶。
步骤403、显示经用户自定义置顶的自定义搜索结果页,并在自定义搜索结果页中显示提示信息,用以提示用户搜索结果页已进入自定制搜索结果页模式。
具体的,在客户端将搜索结果页切换为自定制搜索结果页模式之后,在自定制搜索结果页界面上显示提示信息,用以提示用户搜索结果页已进入自定制搜索结果页模式,并提供“确定”和“取消”按钮,以使用户选择是否继续停留在自定制搜索结果页模式还是跳转至普通搜索结果页模式。在自定制搜索结果页界面上显示提示信息“您已进入自定制搜索结果页模式”,如果用户点击“确定”按钮,则搜索结果页继续停留在自定制搜索结果页模式,用户可以继续在搜索结果页中选择需要置顶的搜索结果项,如果用户点击“取消”按钮,则搜索结果页跳转至普通搜索结果页模式即搜索结果页的初始样式。
步骤404、接收用户对自定制搜索结果页模式的切换指令。
如果用户想要取消对搜索结果项的置顶操作,则可以通过触发切换指令,将自定制搜索结果页模式切换为普通搜索结果页模式,即用户自定义置顶之前的搜索结果页。
步骤405、将自定制搜索结果页模式切换为普通搜索结果页模式,显示用户自定义置顶之前的搜索结果页。
本发明实施例通过将搜索结果页分为自定制搜索结果页模式和普通搜索结果页模式,其中在自定制搜索结果页模式下,客户端显示的是经用户自定义置顶的自定义搜索结果页,在普通搜索结果页模式下,显示的是用户自定义置顶之前的搜索结果页,这样使得用户可以对搜索结果页进行不同模式的切换,更加灵活。
图4示出了本发明提供的客户端实施例一的结构示意图。如图4所示,该客户端包括:交互元素渲染模块501、用户接口502、处理模块503和显示模块504;其中,
交互元素渲染模块501,适于在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素;
其中,搜索结果页为搜索服务器根据搜索关键词搜索得到的包含搜索结果项的网页,交互元素可以为置顶按钮或触发开关。具体的,交互元素渲染模块501在接收到搜索服务器返回的搜索结果页之后,通过渲染得到各个搜索结果项进行置顶操作的交互元素,以供用户通过交互元素来对指定的搜索结果项进行置顶操作。例如,交互元素渲染模块501根据搜索服务器返回的根据搜索关键词“NBA”搜索得到的搜索结果页,将搜索结果项“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”及上述每个搜索结果项的右下角处对应的交互元素渲染显示出来。
用户接口502,适于接收用户对第一指定搜索结果项对应的交互元素的触发指令;
其中,第一指定搜索结果项是指用户在搜索结果页中选择的即将置顶的搜索结果项,为了区分用户先后指定的需要置顶的多个搜索结果项,按照用户指定的先后顺序将先指定的搜索结果项称为第一指定搜索结果项,将后指定的搜索结果项称为第二指定搜索结果项,以此类推。
具体的,用户如果对某一搜索结果项感兴趣,则点击或触发该搜索结果项对应的交互元素,实现对该搜索结果项的置顶操作。用户点击或触发第一指定搜索结果项对应的交互元素,并以触发指令的形式传送到用户接口502,用户接口502响应用户对交互元素的置顶操作。
处理模块503,适于将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置;
在用户接口502响应用户对交互元素的置顶操作之后,处理模块503重新绘制搜索结果页面,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。例如,重新绘制可以采用如下方式实现,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置,并将处于第一指定搜索结果项原来位置前面的所有搜索结果项的位置按照原来的顺序依次下移,处于第一指定搜索结果项原来位置后面的所有搜索结果项的位置则保持不变。
显示模块504,适于显示经用户自定义置顶的自定义搜索结果页。
通过上述处理模块503的处理之后,得到经过重新绘制,用户自定义置顶搜索结果项之后的自定义搜索结果页,显示模块504渲染并显示上述自定义搜索结果页。
本发明实施例通过交互元素渲染模块501在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素,以供用户点击或触发交互元素对指定的搜索结果项进行置顶,由用户接口502在接收到用户对指定的搜索结果项对应的交互元素的触发指令,由处理模块503将指定的搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置,由 显示模块504显示经用户自定义置顶的自定义搜索结果页。
图5示出了本发明提供的客户端实施例二的结构示意图。如图5所示,该客户端包括:交互元素渲染模块601、用户接口602、处理模块603、显示模块604和第二发送模块605;其中,
交互元素渲染模块601,适于在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素;用户接口602,适于接收用户对第一指定搜索结果项对应的交互元素的触发指令;处理模块603,适于将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置;显示模块604,适于显示经用户自定义置顶的自定义搜索结果页。
上述有关交互元素渲染模块601、用户接口602、处理模块603、显示模块604的描述具体参见图4所示的客户端中针对交互元素渲染模块、用户接口、处理模块和显示模块的相关描述,这里不再累述。
可选的,处理模块603具体为:脚本执行模块,适于通过调用搜索结果页中的置顶脚本,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。具体的,脚本执行模块通过调用搜索结果页中的置顶脚本,例如javascript脚本,将页面中的第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。
可选的,客户端,进一步包括:第二发送模块605,适于将用户对应的用户标识、第一指定搜索结果项的搜索结果项标识以及用于获取搜索结果页的搜索关键词绑定在一起发送至搜索服务器进行存储,以便于该用户再次使用同样的搜索关键词进行搜索时,搜索服务器可以根据已存储的记录将用户已自定义置顶过的搜索结果项的位置排列在第一搜索结果项位置,然后将重排序的搜索结果页返回给客户端,这样使得用户可以快速便捷的找到自己想要的内容或网页。
可选的,显示模块604进一步适于:在第一指定搜索结果项的交互元素上显示置顶标识。具体的,在用户点击了NBA中国官方网站对应的置顶按钮之后,通过脚本执行模块的置顶操作,已将NBA中国官方网站进行了置顶,并在NBA中国官方网站的右下角处显示了一个置顶标识。
可选的,搜索结果项标识为搜索结果项的URL,用户标识可以为用户登录客户端时的用户名或注册ID,也可以为用户登录客户端时所使用终端设备的设备标识。
可选的,用户接口602还适于:接收用户对第二指定搜索结果项对应的交互元素的触发指令;处理模块603还适于:将第二指定搜索结果项的位置移动到第一搜索结果项位置,将第一指定搜索结果项的位置移动到第二搜索结果项位置;显示模块604进一步适于:显示经用户再次自定义置顶的自定义搜索结果页。本实施例支持对第一指定搜索结果项置顶之后的二次置顶操作,即在第一指定搜索结果项置顶之后,再次对第二指定搜索结果项进行置顶,置顶的方式和对第一指定搜索结果项置顶的方式类似。也就是说,置顶操作是可以多次的,根据用户自身排序需求而定。
可选的,用户接口602还适于:接收用户对第一指定搜索结果项的取消置顶指令;处理模块603进一步适于:将第一指定搜索结果项还原到原位置;显示模块604进一步适于:显示将第一指定搜索结果项还原到原位置后的搜索结果页。
具体的,在为用户显示自定义搜索结果页的基础上,进一步还可提供取消自定义置顶搜索结果项的功能。比如,在用户不想对第一指定搜索结果项进行置顶时,可以取消对第一指定搜索结果项,当然也不限于第一指定搜索结果项的置顶操作:由用户接口602接收用户取消自定义置顶或退出自定制搜索结果页模式的指令,由处理模块603将第一指定搜索结果项还原到原位置,将搜索结果页重新绘制为初始样式,由显示模块604显示将第一指定搜索结果项还原到原位置后的搜索结果页。
本发明实施例通过在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素,以供用户点击或触发对指定的搜索结果项对应的交互元素,客户端在接收到用户对指定的搜索结果项对应的交互元素的触发指令之后,利用脚本执行模块执行置顶脚本将指定的搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置,然后显示经用户自定义置顶的自定义搜索结果页,这样可以使得用户感兴趣的搜索结果项的位置处于搜索结果页中第一搜索结果项位置。同时,用户也可以通过多次置顶来自定义搜索结果项的排序,提供个性化搜索结果,也便于以后再次搜索时定位到所需的结果,提供搜索使用效率。进一步的,客户端本地通过调用搜索结果页中的置顶脚本实现置顶操作,这种方式比较灵活,无需再次访问搜索服务器,减轻了搜索服务器的负担。
图6示出了本发明提供的客户端实施例三的结构示意图。如图6所示,该客户端包括:交互元素渲染模块701、用户接口702、处理模块703、显示模块704和模式切换模块705;其中,
交互元素渲染模块701,适于在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素;
用户接口702,适于接收用户对第一指定搜索结果项对应的交互元素的触发指令;
处理模块703,适于将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置;
显示模块704,适于显示经用户自定义置顶的自定义搜索结果页。
上述有关交互元素渲染模块701、用户接口702、处理模块703、显示模块704的描述具体参见图4所示的客户端中针对交互元素渲染模块、用户接口、处理模块和显示模块的相关描述,这里不再累述。
可选的,处理模块703进一步包括:第一发送模块7031,适于根据触发指令,将携带有用户对应的用户标识、第一指定搜索结果项的搜索结果项标识以及用于获取搜索结果页的搜索关键词的置顶命令发送至搜索服务器,以供搜索服务器将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置得到自定义搜索结果页,并存储用户标识、第一指定搜索结果项的搜索结果项标识以及搜索关键词,便于该用户再次使用同样的搜索关键词进行搜索时,搜索服务器可以根据已存储的记录将用户已自定义置顶过的搜索结果项的位置排列在第一搜索结果项位置,然后将重排序的搜索结果页返回给客户端,这样使得用户可以快速便捷的找到自己想要的内容或网页。
第一接收模块7032,适于接收搜索服务器返回的自定义搜索结果页。
可选的,显示模块704进一步适于:在第一指定搜索结果项的交互元素上显示置顶标识。具体的,在用户点击了NBA中国官方网站对应的置顶按钮之后,通过脚本执行模块的置顶操作,已将NBA中国官方网站进行了置顶,并在NBA中国官方网站的右下角处显示了一个置顶标识。
可选的,搜索结果项标识为搜索结果项的URL,用户标识可以为用户登录客户端时的用户名或注册ID,也可以为用户登录客户端时所使用终端设备的设备标识。
可选的,用户接口702还适于:接收用户对第二指定搜索结果项对应的交互元素的触发指令;
处理模块703还适于:将第二指定搜索结果项的位置移动到第一搜索结果项位置,将第一指定搜索结果项的位置移动到第二搜索结果项位置。具体地,处理模块703的第一发送模块7031,适于根据触发指令,将携带有用户对应的用户标识、第二指定搜索结果项的搜索结果项标识以及用于获取搜索结果页的搜索关键词的置顶命令发送至搜索服务器,以供搜索服务器将第二指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置,将第一指定搜索结果项的位置移动到第二搜索结果项位置,得到自定义搜索结果页,并存储用户标识、第二指定搜索结果项的搜索结果项标识以及搜索关键词;第一接收模块7032,适于接收搜索服务器返回的自定义搜索结果页。显示模块704进一步适于:显示经用户再次自定义置顶的自定义搜索结果页。本实施例支持对第一指定搜索结果项置顶之后的二次置顶操作,即在第一指定搜索结果项置顶之后,再次对第二指定搜索结果项进行置顶,置顶的方式和对第一指定搜索结果项置顶的方式类似。也就是说,置顶操作是可以多次的,根据用户自身排序需求而定。
可选的,用户接口702还适于:接收用户对第一指定搜索结果项的取消置顶指令;处理模块703进一步适于:将第一指定搜索结果项还原到原位置;显示模块704进一步适于:显示将第一指定搜索结果项还原到原位置后的搜索结果页。
可选的,客户端,进一步包括:模式切换模块705,适于在处理模块703将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置之后,将搜索结果页切换为自定制搜索结果页模式;显示模块704进一步适于:显示经用户自定义置顶的自定义搜索结果页,并在自定义搜索结果页中显示提示信息,用以提示用户搜索结果页已进入自定制搜索结果页模式。
可选的,用户接口702还适于:接收用户对自定制搜索结果页模式的切换指令;
模式切换模块705还适于:在用户接口接收到用户对自定制搜索结果页模式的切换指令之后,将自定制搜索结果页模式切换为普通搜索结果页模式;
显示模块704进一步适于:显示用户自定义置顶之前的搜索结果页。
具体的,在处理模块703将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置之后,则启动模式转换功能,模式切换模块705将搜索结果页切换为自定制搜索结果页模式,在自定制搜索结果页模式下,用户可以对另一感兴趣的搜索结果项进行置顶操作。在处理模块703对搜索结果项“NBA的最新相关消息”的置顶操作之后,则启动模式转换功能,模式切换模块705将搜索结果页切换为自定制搜索结果页模式,在自定制搜索结果页模式下,用户可以再次对感兴趣的搜索结果项进行置顶操作,例如,用户可以点击或者触发搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”对应的置顶按钮,由处理模块703将其进行置顶。另外,由显示模块704显示模式切换模块705切换后的自定制搜索结果页模式对应的自定制搜索结果页界面,并显示自定制搜索结果页上的提示信息,用以提示用户搜索结果页已进入自定制搜索结果页模式,并提供“确定”和“取消”按钮,以使用户选择是否继续停留在自定制搜索结果页模式还是跳转至普通搜索结果页模式。如果用户点击“确定” 按钮,则搜索结果页继续停留在自定制搜索结果页模式,用户可以继续在搜索结果页中选择需要置顶的搜索结果项,如果用户点击“取消”按钮,则搜索结果页跳转至普通搜索结果页模式。
本发明实施例通过在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素,以供用户点击或触发对指定的搜索结果项对应的交互元素,客户端在接收到用户对指定的搜索结果项对应的交互元素的触发指令之后,通过向搜索服务器发送置顶命令由搜索服务器将指定的搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置并返回给客户端,由客户端显示经用户自定义置顶的自定义搜索结果页,这样可以使得用户感兴趣的搜索结果项的位置处于搜索结果页中第一搜索结果项位置。同时,用户也可以通过多次置顶来自定义搜索结果项的排序,提供个性化搜索结果,也便于以后再次搜索时定位到所需的结果,提供搜索使用效率。
图7示出了本发明提供的提供用户自定义置顶搜索结果项的处理系统实施例结构的示意图。如图7所示,该系统包括:客户端801以及搜索服务器802;
有关客户端801的具体描述可参见上述实施例,在此不再赘述。
本发明提供的上述处理系统、客户端和服务器,客户端通过在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素,以供用户点击或触发对指定的搜索结果项对应的交互元素,并在接收到用户对指定的搜索结果项对应的交互元素的触发指令之后,将指定的搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置或者将携带有用户对应的用户标识、第一指定搜索结果项的搜索结果项标识以及用于获取搜索结果页的搜索关键词的置顶命令发送至搜索服务器,搜索服务器将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置得到自定义搜索结果页,并将自定义搜索结果页返回给客户端,然后由客户端显示经用户自定义置顶的自定义搜索结果页,这样可以使得用户感兴趣的搜索结果项的位置处于搜索结果页中第一搜索结果项位置,提高了用户体验。同时,用户也可以通过多次置顶来自定义搜索结果项的排序,提供个性化搜索结果,也便于以后再次搜索时定位到所需的结果,提供搜索使用效率。
图8示出了根据本发明一个实施例的用户自定义排序显示搜索结果页的方法的流程图。如图8所示,该方法包括如下步骤:
步骤S801、接收客户端发送的携带用户标识和搜索关键词的搜索请求消息。
具体的,本发明实施例的执行主体为搜索服务器。上述客户端,例如可以是计算机、智能手机、平板式电脑等终端设备。上述用户标识可以为用户登录客户端时的用户名或注册ID,也可以为用户登录客户端时所使用终端设备的设备标识。在用户通过客户端提供的搜索页面输入搜索关键词之后,客户端将携带用户标识和搜索关键词的搜索请求消息发送给搜索服务器。
步骤S802、根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页。
与现有技术不同的是,本发明的搜索服务器侧提供有两个搜索子系统,分别为第一搜索子系统和第二搜索子系统,其中第一搜索子系统为用户提供的是与搜索关键词最为匹配的搜索结果项;而第二搜索子系统为用户提供的是与用户的自定义排序有关的搜索结果项。
在步骤S802中,搜索服务器根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页。该第一搜索子系统为常规搜索系统,即根据常规的搜索算法例如rank排序算法的搜索结果项排序的搜索系统。例如,搜索服务器接收到客户端发送的搜索请求消息中包含的用户标识为“123456”、搜索关键词为“NBA”,搜索服务器根据搜索关键词“NBA”查询第一搜索子系统得到排序后的并包含“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等多个搜索结果项的第一搜索结果页。
步骤S803、根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项。
步骤S803与步骤S802没有先后执行顺序的限制,也可以先执行步骤S803,后执行步骤S802;或者,同时执行步骤S802和步骤S803。
在步骤S803中,搜索服务器根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项,其中,第二搜索子系统为包含经过用户自定义排序的至少一个搜索结果项的搜索子系统。例如,用户标识为“123456”的用户上一次使用搜索关键词“NBA”在搜索引擎中查询过搜索结果项,而且该用户对自己感兴趣的搜索结果项例如“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”进行置顶过或者在搜索结果页上拖动过,形成了用户自定义排序的两个搜索结 果项,则第二搜索子系统中记录下用户标识“123456”、搜索关键词“NBA”和经过用户自定义排序的两个搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”三者的对应关系。在用户标识为“123456”的用户再次使用搜索关键词“NBA”发出搜索请求消息(对应于步骤S801)之后,搜索服务器查询第二搜索子系统,得到与用户标识“123456”和搜索关键词“NBA”对应的上述经过用户自定义排序的两个搜索结果项。
步骤S804、将经过用户自定义排序的至少一个搜索结果项整合到第一搜索结果页中,得到第二搜索结果页。
具体的,搜索服务器通过查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的搜索结果项,并将这些搜索结果项整合到第一搜索结果页中,得到第二搜索结果页。例如,搜索服务器通过查询第二搜索子系统,得到用户标识“123456”、搜索关键词“NBA”对应的经过用户自定义排序的两个搜索结果项为“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”,则将第一搜索结果页中包含的搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”按照用户自定义排序的顺序移动至搜索结果项“NBA中国官方网站”的前面。
步骤S805、将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页。
具体的,搜索服务器将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页,客户端在第二搜索结果页中显示用户进入自定义搜索结果页模式的提示信息。在自定义搜索结果页模式下,客户端显示的是用户个性化的搜索结果页,在该搜索结果页中包含经过用户自定义排序的搜索结果项,并且这些搜索结果项按照用户自定义排序的顺序显示在其它搜索结果项的前面,便于用户查看。
另外,在客户端绘制显示第二搜索结果页时,在第二搜索结果页的经过用户自定义排序的至少一个搜索结果项的位置处显示置顶符号,用以向用户提示该至少一个搜索结果项是经过用户置顶操作的搜索结果项。在客户端所显示的第二搜索结果页中,用户也可以继续对其它感兴趣的搜索结果项进行置顶或拖动等操作,再次形成用户重新自定义排序的多个搜索结果项,第二搜索子系统中重新记录用户标识、搜索关键词和经过用户重新自定义排序的多个搜索结果项的对应关系,以便用户再次使用同样的搜索关键词搜索时提供经过用户重新自定义排序的多个搜索结果项。
本发明实施例通过搜索服务器根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,并根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项,将经过用户自定义排序的至少一个搜索结果项整合到第一搜索结果页中,得到第二搜索结果页,将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页。通过本实施例提供的方法,搜索服务器已将经过用户自定义排序即比较感兴趣的搜索结果项显示在第二搜索结果页中,为用户提供了个性化定制的搜索结果页,使用户能够快速有效的查询到自己感兴趣的搜索结果项。
图9示出了根据本发明另一个实施例的用户自定义排序显示搜索结果页的方法的流程图。如图9所示,该方法包括如下步骤:
步骤S901、接收客户端发送的携带用户标识和搜索关键词的搜索请求消息。
在用户通过客户端提供的搜索页面输入搜索关键词之后,客户端将携带用户标识和搜索关键词的搜索请求消息发送给搜索服务器。
步骤S902、根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页。
第一搜索子系统为常规搜索系统,该子系统根据常规的搜索算法例如rank排序算法为用户提供与搜索关键词作为匹配的多个搜索结果项。第一搜索子系统不考虑用户标识,仅考虑与搜索关键词的匹配度得到多个搜索结果项。
例如,搜索服务器接收到客户端发送的搜索请求消息中包含的用户标识为“123456”、搜索关键词为“NBA”,搜索服务器根据搜索关键词“NBA”查询第一搜索子系统得到排序后的并包含“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等多个搜索结果项的第一搜索结果页。
步骤S903、根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项。
步骤S903与步骤S902没有先后执行顺序的限制,也可以先执行步骤S903,后执行步骤S902;或者,同时执行步骤S902和步骤S903。
第二搜索子系统为记录用户自定义排序信息的搜索系统,查询第二搜索子系统需要依据用户标识和搜索关键 词。具体的,第二搜索子系统中记录的经过用户自定义排序的至少一个搜索结果项是根据用户上一次使用同样的搜索关键词得到搜索结果页,并在搜索结果页中对感兴趣的搜索结果项进行置顶和/或拖动操作而得到的,并且至少一个搜索结果项的排序顺序是根据用户置顶和/或拖动操作所确定的排序顺序而确定的。
下面以置顶操作为例,介绍用户上一次使用同样的搜索关键词得到搜索结果页,并在搜索结果页中对感兴趣的搜索结果项进行置顶操作的具体实现过程:
首先,在上一次搜索过程中,用户使用搜索关键词得到搜索结果页,该搜索结果页中提供将各个搜索结果项进行置顶的交互元素。例如,用户在客户端输入搜索关键词“NBA”之后,接收到的搜索服务器返回的搜索结果页界面。一般搜索结果页上有十个搜索结果项,从上至下依次排序,在每个搜索结果项的右下角处有一个置顶按钮即为将搜索结果项进行置顶的交互元素。
然后,客户端接收用户对第一指定搜索结果项对应的交互元素的触发指令,将第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。进一步地,本步骤可以通过以下两种方式中的任一种来实现:
方式一:客户端接收用户对第一指定搜索结果项对应的交互元素的触发指令之后,客户端本地通过调用搜索结果页中的置顶脚本,例如javascript脚本,将页面中的第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置。在执行方式一提供的步骤之后,客户端将用户对应的用户标识、第一指定搜索结果项的搜索结果项URL以及搜索关键词绑定在一起发送至搜索服务器,由第二搜索子系统存储用户标识、搜索关键词和第一指定搜索结果项的搜索结果项URL的对应关系。
方式二:客户端将携带有用户对应的用户标识、第一指定搜索结果项的搜索结果项URL以及搜索关键词的置顶命令发送至网络侧的搜索服务器,搜索服务器重新调用前述的搜索结果页中包含的各个搜索结果项,将所述第一指定搜索结果项的位置设置到搜索结果页中的第一搜索结果项位置并重新绘制用户自定义搜索结果页,返回给客户端。客户端接收搜索服务器返回的自定义搜索结果页。与此同时,搜索服务器侧的第二搜索子系统存储用户标识、搜索关键词和第一指定搜索结果项的搜索结果项URL的对应关系。
最后,显示经用户自定义置顶的自定义搜索结果页。
由上述描述可知,在用户上一次使用同样的搜索关键词进行搜索过程中,第二搜索子系统存储了用户标识、搜索关键词以及经过用户置顶的第一指定搜索结果项的搜索结果项URL的对应关系,也就是说,第二搜索子系统存储有用户自定义排序信息。因此,在步骤S903中,搜索服务器根据用户标识和搜索关键词查询第二搜索子系统,能够得到经过用户自定义排序的第一指定搜索结果项的搜索结果项URL。
当然,在用户上一次使用同样的搜索关键词进行搜索过程中,用户可以通过多次置顶操作对多个第一指定搜索结果项进行置顶,根据多次置顶操作的先后顺序可以确定多个第一指定搜索结果项的排序顺序,第二搜索子系统也会存储多个第一指定搜索结果项的排序顺序。例如,用户标识为“123456”的用户上一次使用搜索关键词“NBA”在搜索引擎中查询过搜索结果项,而且该用户对自己感兴趣的搜索结果项例如“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”进行置顶,其中用户先对“NBA的最新相关消息”进行置顶,而后对“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”进行置顶,那么得到的用户自定义排序的两个搜索结果项是“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”排序在前,“NBA的最新相关消息”排序在后。则第二搜索子系统中存储用户标识“123456”、搜索关键词“NBA”和经过用户自定义排序的两个搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”三者的对应关系。在用户标识为“123456”的用户再次使用搜索关键词“NBA”发出搜索请求消息(对应于步骤S901)之后,搜索服务器查询第二搜索子系统,得到与用户标识“123456”和搜索关键词“NBA”对应的上述经过用户自定义排序的两个搜索结果项。
步骤S904、将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面。
具体的,搜索服务器将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面。例如,搜索服务器接收到客户端发送的搜索请求消息中包含的用户标识为“123456”、搜索关键词为“NBA”,搜索服务器根据搜索关键词“NBA”查询第一搜索子系统得到排序后的并包含“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等多个搜索结果项的第一搜索结果页,搜索服务器通过查询第二搜索子系统,得到用户标识“123456”、搜索关键词“NBA”对应的搜索结果项为“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”,则将搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA 的最新相关消息”插入至第一搜索结果页中排在最前面的搜索结果项“NBA中国官方网站”的前面。
步骤S905、判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若是,执行步骤S906;若否,执行步骤S907。
具体的,搜索服务器在将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面之后,需要进一步判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若相同,则执行步骤S906;若不相同,则执行步骤S907。例如,搜索服务器根据搜索关键词“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的最新相关消息”存在于第一搜索结果页中,则执行步骤S906。
步骤S906、将第一搜索结果页包含的多个搜索结果项中的一个或多个删除。
具体的,若搜索服务器判断插入的至少一个搜索结果项与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,则将第一搜索结果页包含的多个搜索结果项中的一个或多个删除。例如,在经过步骤S905得到的搜索结果页包含如下搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”,则搜索服务器将搜索结果项“NBA中国官方网站”后面的搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”删除。
步骤S907、判断搜索结果项的个数是否超出预设值,若是,则执行步骤S908;若否,执行步骤S909。
具体的,在搜索服务器将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中多个搜索结果项位置的前面,或者,将第一搜索结果页包含的多个搜索结果项中的一个或多个删除之后,判断搜索结果项的个数是否超出预设值,若是,则执行步骤S908,若否,则执行步骤S909。一般情况下,每页的搜索结果页自上而下排列有十个搜索结果项,当将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中多个搜索结果项位置的前面,或者,将第一搜索结果页包含的多个搜索结果项中的一个或多个删除之后,搜索结果项的个数如果超出十个,则执行步骤S908。
步骤S908、将位置靠后的搜索结果项删除,保留个数为预设值的搜索结果项,得到第二搜索结果页。
步骤S909、将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页。
具体的,搜索服务器将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页,客户端在第二搜索结果页中显示用户进入自定义搜索结果页模式的提示信息。如果用户不想继续停留在自定义搜索结果页模式下,用户可以触发客户端上的切换按钮,客户端接收用户对自定义搜索结果页模式的切换指令,则将第一搜索结果页返回给客户端,以使客户端绘制显示第一搜索结果页,即进入普通搜索结果页模式。
本发明实施例通过搜索服务器根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,并根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项,将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面,并判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若相同,则将第一搜索结果页包含的多个搜索结果项中的一个或多个删除,从而得到第二搜索结果页,将第二搜索结果页返回至客户端,以使客户端绘制显示所述第二搜索结果页,使用户在得到的第二搜索结果页中查看各搜索结果项。通过本实施例提供的方法,搜索服务器已将经过用户自定义排序即比较感兴趣的搜索结果项显示在第二搜索结果页中,为用户提供了个性化定制的搜索结果页,使用户能够快速有效的查询到自己感兴趣的搜索结果项。
图10示出了根据本发明一个实施例的搜索服务器的功能结构框图。如图10所示,该搜索服务器包括:接收模块1010、查询模块1020、整合模块1030和发送模块1040。
接收模块1010,适于接收客户端发送的携带用户标识和搜索关键词的搜索请求消息。
具体的,上述客户端,例如可以是计算机、智能手机、平板式电脑等终端设备。上述用户标识可以为用户登录 客户端时的用户名或注册ID,也可以为用户登录客户端时所使用终端设备的设备标识。在用户通过客户端提供的搜索页面输入搜索关键词之后,客户端将携带用户标识和搜索关键词的搜索请求消息发送给搜索服务器。
查询模块1020,适于根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项。
与现有技术不同的是,本发明的搜索服务器侧提供有两个搜索子系统,分别为第一搜索子系统和第二搜索子系统,其中第一搜索子系统为用户提供的是与搜索关键词最为匹配的搜索结果项;而第二搜索子系统为用户提供的是与用户的自定义排序有关的搜索结果项。
具体的,查询模块1020根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页。该第一搜索子系统为常规搜索系统,即根据常规的搜索算法例如rank排序算法的搜索结果项排序的搜索系统。例如,接收模块1010接收到客户端发送的搜索请求消息中包含的用户标识为“123456”、搜索关键词为“NBA”,查询模块1020根据搜索关键词“NBA”查询第一搜索子系统得到排序后的并包含“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等多个搜索结果项的第一搜索结果页。
查询模块1020还根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项。第二搜索子系统为包含经过用户自定义排序的至少一个搜索结果项的搜索子系统。例如,用户标识为“123456”的用户上一次使用搜索关键词“NBA”在搜索引擎中查询过搜索结果项,而且该用户对自己感兴趣的搜索结果项例如“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”进行置顶过或者在搜索结果页上拖动过,形成了用户自定义排序的两个搜索结果项,则第二搜索子系统中记录下用户标识“123456”、搜索关键词“NBA”和经过用户自定义排序的两个搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”三者的对应关系。在用户标识为“123456”的用户再次使用搜索关键词“NBA”发出搜索请求消息之后,查询模块1020查询第二搜索子系统,得到与用户标识“123456”和搜索关键词“NBA”对应的上述经过用户自定义排序的两个搜索结果项。
整合模块1030,适于将经过用户自定义排序的至少一个搜索结果项整合到第一搜索结果页中,得到第二搜索结果页。具体的,查询模块1020通过查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的搜索结果项,并将这些搜索结果项整合到第一搜索结果页中,得到第二搜索结果页。例如,查询模块1020通过查询第二搜索子系统,得到用户标识“123456”、搜索关键词“NBA”对应的搜索结果项为“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”,整合模块1030将第一搜索结果页中包含的搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”按照用户自定义排序的顺序移动至搜索结果项“NBA中国官方网站”的前面。
发送模块1040,适于将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页。
具体的,发送模块1040将第二搜索结果页返回至客户端,以使客户端绘制显示第二搜索结果页,客户端在第二搜索结果页中显示用户进入自定义搜索结果页模式的提示信息。在自定义搜索结果页模式下,客户端显示的是用户个性化的搜索结果页,在该搜索结果页中包含经过用户自定义排序的搜索结果项,并且这些搜索结果项按照用户自定义排序的顺序显示在其它搜索结果项的前面,便于用户查看。
进一步的,整合模块1030可以包括:插入模块1031、判断模块1032以及删除模块1033。
插入模块1031,适于将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中多个搜索结果项位置的前面。具体的,插入模块1031将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面。例如,接收模块1010接收到客户端发送的搜索请求消息中包含的用户标识为“123456”、搜索关键词为“NBA”,查询模块1020根据搜索关键词“NBA”查询第一搜索子系统得到排序后的并包含“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等多个搜索结果项的第一搜索结果页,并通过查询第二搜索子系统,得到用户标识“123456”、搜索关键词“NBA”对应的搜索结果项为“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”,插入模块1031则将搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”插入至第一搜索结果页中排在最前面的搜索结果项“NBA中国官方网站”的前面。
判断模块1032,适于在插入模块1031将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中 多个搜索结果项位置的前面之后,判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同。具体的,在插入模块1031将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面之后,需要判断模块1032进一步判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若相同,则触发删除模块1033进行删除操作。例如,查询模块1020根据搜索关键词“NBA”查询第一搜索子系统得到的第一搜索结果页中包含如下搜索结果项“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等,并查询第二搜索子系统得到的搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”,由插入模块1031将其插入到第一搜索结果页中搜索结果项“NBA中国官方网站”的前面,则得到的搜索结果页包含如下搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”等。判断模块1032判断插入搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”存在于第一搜索结果页中,则触发删除模块1033执行删除操作。
删除模块1033,适于在判断模块1032判断插入的至少一个搜索结果项与第一搜索结果页包含的多个搜索结果项中的一个或多个相同的情况下,将第一搜索结果页包含的多个搜索结果项中的一个或多个删除。具体的,若判断模块1032判断插入的至少一个搜索结果项与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,删除模块1033则将第一搜索结果页包含的多个搜索结果项中的一个或多个删除。例如,在得到的第二搜索结果页包含如下搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA中国官方网站”、“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”、“NBA360百科”,则删除模块1033将搜索结果项“NBA中国官方网站”后面的搜索结果项“NBA|NBA直播|NBA官方授权视频直播网站新浪竞技风景新浪……”、“NBA的最新相关消息”删除。
进一步的,判断模块1032,还适于在将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中多个搜索结果项位置的前面,或者,将第一搜索结果页包含的多个搜索结果项中的一个或多个删除之后,判断搜索结果项的个数是否超出预设值;删除模块1033,还适于在判断模块1032判断搜索结果项的个数超出预设值的情况下,将位置靠后的搜索结果项删除,保留个数为预设值的搜索结果项,得到第二搜索结果页。
进一步的,第二搜索子系统中记录的经过用户自定义排序的至少一个搜索结果项是根据用户至少一次置顶操作而得到的,并且至少一个搜索结果项的排序顺序是根据用户至少一次置顶操作的先后顺序而确定的。
进一步的,接收模块1010,还适于在客户端绘制显示第二搜索结果页之后,接收用户对自定义搜索结果页模式的切换指令;发送模块1040,还适于将第一搜索结果页返回给客户端,以使客户端绘制显示第一搜索结果页。
图11示出了根据本发明一个实施例的根据用户自定义排序显示搜索结果页的系统的功能结构框图。如图11所示,该系统包括搜索服务器1110和客户端1120,其中搜索服务器1110的具体结构和功能可参见上述搜索服务器实施例的相关描述,在此不再赘述。
本发明实施例通过搜索服务器根据搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,并根据用户标识和搜索关键词查询第二搜索子系统,得到用户标识对应的经过用户自定义排序的至少一个搜索结果项,将经过用户自定义排序的至少一个搜索结果项插入到第一搜索结果页中各搜索结果项位置的前面,并判断插入的至少一个搜索结果项是否与第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若相同,则将第一搜索结果页包含的多个搜索结果项中的一个或多个删除,从而得到第二搜索结果页,将第二搜索结果页返回至客户端,以使客户端绘制显示所述第二搜索结果页,使用户在得到的第二搜索结果页中查看各搜索结果项。通过本实施例提供的系统,搜索服务器已将经过用户自定义排序即比较感兴趣的搜索结果项显示在第二搜索结果页中,为用户提供了个性化定制的搜索结果页,使用户能够快速有效的查询到自己感兴趣的搜索结果项。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明 的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的客户端、提供用户自定义置顶搜索结果项的处理系统、搜索服务器和根据用户自定义排序显示搜索结果页的系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图12示出了可以实现根据本发明的方法的计算设备的框图。图12示出的计算设备即可以实现根据本发明的提供用户自定义置顶搜索结果项的处理方法,也可以实现根据本发明的用户自定义排序显示搜索结果页的方法的服务器。如图12所示计算设备传统上包括处理器1210和以存储器1220形式的计算机程序产品或者计算机可读介质。存储器1220可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1220具有用于执行上述方法中的任何方法步骤的程序代码1231的存储空间1230。例如,用于程序代码的存储空间1230可以包括分别用于实现上面的方法中的各种步骤的各个程序代码1231。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图13所述的便携式或者固定存储单元。该存储单元可以具有与图12的计算设备中的存储器1220类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码1231’,即可以由例如诸如1210之类的处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (38)

  1. 一种提供用户自定义置顶搜索结果项的处理方法,包括:
    在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素;
    接收用户对第一指定搜索结果项对应的交互元素的触发指令,将所述第一指定搜索结果项的位置移动到所述搜索结果页中的第一搜索结果项位置;
    显示经用户自定义置顶的自定义搜索结果页。
  2. 根据权利要求1所述的方法,所述将所述第一指定搜索结果项的位置移动到所述搜索结果页中的第一搜索结果项位置,进一步包括:通过调用所述搜索结果页中的置顶脚本,将所述第一指定搜索结果项的位置移动到所述搜索结果页中的第一搜索结果项位置。
  3. 根据权利要求1-2任一项所述的方法,在所述接收用户对第一指定搜索结果项对应的交互元素的触发指令之后,进一步包括:
    将所述用户对应的用户标识、所述第一指定搜索结果项的搜索结果项标识以及用于获取所述搜索结果页的搜索关键词绑定在一起发送至所述搜索服务器进行存储。
  4. 根据权利要求1-3任一项所述的方法,所述将所述第一指定搜索结果项的位置移动到所述搜索结果页中的第一搜索结果项位置,进一步包括:
    根据所述触发指令,将携带有所述用户对应的用户标识、所述第一指定搜索结果项的搜索结果项标识以及用于获取所述搜索结果页的搜索关键词的置顶命令发送至搜索服务器,以供所述搜索服务器将所述第一指定搜索结果项的位置移动到所述搜索结果页中的第一搜索结果项位置得到所述自定义搜索结果页,并存储所述用户标识、所述第一指定搜索结果项的搜索结果项标识以及所述搜索关键词;
    接收所述搜索服务器返回的所述自定义搜索结果页。
  5. 根据权利要求1-4任一项所述的方法,所述显示经用户自定义置顶的自定义搜索结果页,进一步包括:在所述第一指定搜索结果项的交互元素上显示置顶标识。
  6. 根据权利要求1-5任一项所述的方法,所述搜索结果项标识具体为搜索结果项的URL。
  7. 根据权利要求1-6任一项所述的方法,在所述显示经用户自定义置顶的自定义搜索结果页之后,进一步包括:
    接收所述用户对第二指定搜索结果项对应的交互元素的触发指令,将所述第二指定搜索结果项的位置移动到所述第一搜索结果项位置,将所述第一指定搜索结果项的位置移动到第二搜索结果项位置;
    显示经所述用户再次自定义置顶的自定义搜索结果页。
  8. 根据权利要求1-7任一项所述的方法,在所述将所述第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置之后,进一步包括:
    将所述搜索结果页切换为自定制搜索结果页模式;
    所述显示经用户自定义置顶的自定义搜索结果页进一步包括:
    显示经用户自定义置顶的自定义搜索结果页,并在所述自定义搜索结果页中显示提示信息,用以提示所述用户所述搜索结果页己进入自定制搜索结果页模式。
  9. 根据权利要求1-8任一项所述的方法,在所述将所述搜索结果页切换为自定制搜索结果页模式之后,进一步包括:
    接收所述用户对所述自定制搜索结果页模式的切换指令;
    将所述自定制搜索结果页模式切换为普通搜索结果页模式,显示所述用户自定义置顶之前的所述搜索结果页。
  10. 根据权利要求1-9任一项所述的方法,在所述显示经用户自定义置顶的自定义搜索结果页之后,进一步包括:
    接收所述用户对所述第一指定搜索结果项的取消置顶指令;
    将所述第一指定搜索结果项还原到原位置。
  11. 一种客户端,包括:
    交互元素渲染模块,适于在搜索结果页中,提供将各个搜索结果项进行置顶的交互元素;
    用户接口,适于接收用户对第一指定搜索结果项对应的交互元素的触发指令;
    处理模块,适于将所述第一指定搜索结果项的位置移动到所述搜索结果页中的第一搜索结果项位置;
    显示模块,适于显示经用户自定义置顶的自定义搜索结果页。
  12. 根据权利要求11所述的客户端,所述处理模块具体为:脚本执行模块,适于通过调用所述搜索结果页中的置顶脚本,将所述第一指定搜索结果项的位置移动到所述搜索结果页中的第一搜索结果项位置。
  13. 根据权利要求11或12所述的客户端,进一步包括:第二发送模块,适于将所述用户对应的用户标识、所述第一指定搜索结果项的搜索结果项标识以及用于获取所述搜索结果页的搜索关键词绑定在一起发送至所述搜索服务器进行存储。
  14. 根据权利要求11-13任一项所述的客户端,所述处理模块进一步包括:
    第一发送模块,适于根据所述触发指令,将携带有所述用户对应的用户标识、所述第一指定搜索结果项的搜索结果项标识以及用于获取所述搜索结果页的搜索关键词的置顶命令发送至搜索服务器,以供所述搜索服务器将所述第一指定搜索结果项的位置移动到所述搜索结果页中的第一搜索结果项位置得到所述自定义搜索结果页,并存储所述用户标识、所述第一指定搜索结果项的搜索结果项标识以及所述搜索关键词;
    第一接收模块,适于接收所述搜索服务器返回的所述自定义搜索结果页。
  15. 根据权利要求11-14任一项所述的客户端,所述显示模块进一步适于:在所述第一指定搜索结果项的交互元素上显示置顶标识。
  16. 根据权利要求11-15任一项所述的客户端,所述搜索结果项标识为搜索结果项的URL。
  17. 根据权利要求11-16任一项所述的客户端,所述用户接口还适于:接收所述用户对第二指定搜索结果项对应的交互元素的触发指令;
    所述处理模块还适于:将所述第二指定搜索结果项的位置移动到所述第一搜索结果项位置,将所述第一指定搜索结果项的位置移动到第二搜索结果项位置;
    所述显示模块进一步适于:显示经所述用户再次自定义置顶的自定义搜索结果页。
  18. 根据权利要求11-17任一项所述的客户端,进一步包括:模式切换模块,适于在所述处理模块将所述第一指定搜索结果项的位置移动到搜索结果页中的第一搜索结果项位置之后,将所述搜索结果页切换为自定制搜索结果页模式;
    所述显示模块进一步适于:显示经用户自定义置顶的自定义搜索结果页,并在所述自定义搜索结果页中显示提示信息,用以提示所述用户所述搜索结果页己进入自定制搜索结果页模式。
  19. 根据权利要求11-18任一项所述的客户端,所述用户接口还适于:接收所述用户对所述自定制搜索结果页模式的切换指令;
    所述模式切换模块还适于:在所述用户接口接收到所述用户对所述自定制搜索结果页模式的切换指令之后,将所述自定制搜索结果页模式切换为普通搜索结果页模式;
    所述显示模块进一步适于:显示所述用户自定义置顶之前的所述搜索结果页。
  20. 根据权利要求11-19任一项所述的客户端,所述用户接口还适于:接收所述用户对所述第一指定搜索结果项的取消置顶指令;
    所述处理模块进一步适于:将所述第一指定搜索结果项还原到原位置;
    所述显示模块进一步适于:显示将所述第一指定搜索结果项还原到原位置后的搜索结果页。
  21. 一种提供用户自定义置顶搜索结果项的处理系统,包括:权利要求11-20任一项所述的客户端和搜索服务器。
  22. 一种根据用户自定义排序显示搜索结果页的方法,包括:
    接收客户端发送的携带用户标识和搜索关键词的搜索请求消息;
    根据所述搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页;
    根据所述用户标识和所述搜索关键词查询第二搜索子系统,得到所述用户标识对应的经过用户自定义排序的至少一个搜索结果项;
    将所述经过用户自定义排序的至少一个搜索结果项整合到所述第一搜索结果页中,得到第二搜索结果页;
    将所述第二搜索结果页返回至所述客户端,以使所述客户端绘制显示所述第二搜索结果页。
  23. 根据权利要求22所述的方法,所述客户端在所述第二搜索结果页中显示用户进入自定义搜索结果页模式的提示信息。
  24. 根据权利要求22-23任一项所述的方法,所述将经过用户自定义排序的至少一个搜索结果项整合到所述第 一搜索结果页中,得到第二搜索结果页进一步包括:
    将所述经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中各搜索结果项位置的前面。
  25. 根据权利要求22-24任一项所述的方法,所述将经过用户自定义排序的至少一个搜索结果项整合到所述第一搜索结果页中,得到第二搜索结果页还包括:
    在所述将经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中多个搜索结果项位置的前面之后,判断插入的所述至少一个搜索结果项是否与所述第一搜索结果页包含的多个搜索结果项中的一个或多个相同,若相同,则将所述第一搜索结果页包含的多个搜索结果项中的一个或多个删除。
  26. 根据权利要求22-25任一项所述的方法,所述将经过用户自定义排序的至少一个搜索结果项整合到所述第一搜索结果页中,得到第二搜索结果页还包括:
    在所述将经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中多个搜索结果项位置的前面,或者,将所述第一搜索结果页包含的多个搜索结果项中的一个或多个删除之后,判断搜索结果项的个数是否超出预设值,若是,则将位置靠后的搜索结果项删除,保留个数为所述预设值的搜索结果项,得到所述第二搜索结果页。
  27. 根据权利要求22-26任一项所述的方法,所述第二搜索子系统中记录的经过用户自定义排序的至少一个搜索结果项是根据用户至少一次置顶操作而得到的,并且所述至少一个搜索结果项的排序顺序是根据用户至少一次置顶操作的先后顺序而确定的。
  28. 根据权利要求22-27任一项所述的方法,在所述客户端绘制显示所述第二搜索结果页时,在所述第二搜索结果页的经过用户自定义排序的至少一个搜索结果项的位置处显示置顶符号。
  29. 根据权利要求22-28任一项所述的方法,在所述客户端绘制显示所述第二搜索结果页之后进一步包括:
    接收所述用户对所述自定义搜索结果页模式的切换指令;
    将所述第一搜索结果页返回给所述客户端,以使所述客户端绘制显示所述第一搜索结果页。
  30. 一种搜索服务器,包括:
    接收模块,适于接收客户端发送的携带用户标识和搜索关键词的搜索请求消息;
    查询模块,适于根据所述搜索关键词查询第一搜索子系统得到包含多个搜索结果项的第一搜索结果页,根据所述用户标识和所述搜索关键词查询第二搜索子系统,得到所述用户标识对应的经过用户自定义排序的至少一个搜索结果项;
    整合模块,适于将所述经过用户自定义排序的至少一个搜索结果项整合到所述第一搜索结果页中,得到第二搜索结果页;
    发送模块,适于将所述第二搜索结果页返回至所述客户端,以使所述客户端绘制显示所述第二搜索结果页。
  31. 根据权利要求30所述的搜索服务器,所述整合模块进一步包括:
    插入模块,适于将所述经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中多个搜索结果项位置的前面。
  32. 根据权利要求30或31所述的搜索服务器,所述整合模块进一步包括:
    判断模块,适于在所述插入模块将经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中多个搜索结果项位置的前面之后,判断插入的所述至少一个搜索结果项是否与所述第一搜索结果页包含的多个搜索结果项中的一个或多个相同;
    删除模块,适于在所述判断模块判断插入的所述至少一个搜索结果项与所述第一搜索结果页包含的多个搜索结果项中的一个或多个相同的情况下,将所述第一搜索结果页包含的多个搜索结果项中的一个或多个删除。
  33. 根据权利要求30-32任一项所述的搜索服务器,所述判断模块,还适于在将经过用户自定义排序的至少一个搜索结果项插入到所述第一搜索结果页中多个搜索结果项位置的前面,或者,将所述第一搜索结果页包含的多个搜索结果项中的一个或多个删除之后,判断搜索结果项的个数是否超出预设值;
    所述删除模块,还适于在所述判断模块判断搜索结果项的个数超出预设值的情况下,将位置靠后的搜索结果项删除,保留个数为所述预设值的搜索结果项,得到所述第二搜索结果页。
  34. 根据权利要求30-33任一项所述的搜索服务器,所述第二搜索子系统中记录的经过用户自定义排序的至少一个搜索结果项是根据用户至少一次置顶操作而得到的,并且所述至少一个搜索结果项的排序顺序是根据用户至少一次置顶操作的先后顺序而确定的。
  35. 根据权利要求30-34任一项所述的搜索服务器,所述接收模块,还适于在所述客户端绘制显示所述第二搜索结果页之后,接收所述用户对所述自定义搜索结果页模式的切换指令;
    所述发送模块,还适于将所述第一搜索结果页返回给所述客户端,以使所述客户端绘制显示所述第一搜索结果页。
  36. 一种根据用户自定义排序显示搜索结果页的系统,包括权利要求30-35任一项所述的搜索服务器和客户端。
  37. 一种计算机程序,包括计算机可读代码,
    当所述计算机可读代码在计算设备上运行时,导致所述终端设备执行根据权利要求1-10中的任一个所述的提供用户自定义置顶搜索结果项的处理方法;或者,
    当所述计算机可读代码在计算设备上运行时,导致所述服务器执行根据权利要求22-29中的任一个所述的根据用户自定义排序显示搜索结果页的方法。
  38. 一种计算机可读介质,其中存储了如权利要求37所述的计算机程序。
PCT/CN2015/090920 2014-09-28 2015-09-28 搜索结果项处理方法和显示搜索结果页的方法及相关设备 WO2016045640A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201410510420.4 2014-09-28
CN201410510420.4A CN104199991B (zh) 2014-09-28 2014-09-28 提供用户自定义置顶搜索结果项的处理方法及客户端
CN201410509329.0A CN104199987B (zh) 2014-09-28 2014-09-28 根据用户自定义排序显示搜索结果页的方法及搜索服务器
CN201410509329.0 2014-09-28

Publications (1)

Publication Number Publication Date
WO2016045640A1 true WO2016045640A1 (zh) 2016-03-31

Family

ID=55580344

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090920 WO2016045640A1 (zh) 2014-09-28 2015-09-28 搜索结果项处理方法和显示搜索结果页的方法及相关设备

Country Status (1)

Country Link
WO (1) WO2016045640A1 (zh)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060235860A1 (en) * 2005-04-18 2006-10-19 Microsoft Corporation System and method for obtaining user feedback for relevance tuning
US20130198174A1 (en) * 2012-01-27 2013-08-01 Microsoft Corporation Re-ranking search results
CN103838881A (zh) * 2014-03-28 2014-06-04 北京奇虎科技有限公司 自定义搜索结果页的方法及装置
CN104199985A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 一种自定义置顶搜索结果的方法和系统、以及搜索服务器
CN104199990A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 搜索结果项置顶数的获取方法及系统、搜索服务器
CN104199991A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 提供用户自定义置顶搜索结果项的处理方法及客户端
CN104199989A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 在搜索结果页中显示各搜索结果项置顶数的方法及客户端
CN104199987A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 根据用户自定义排序显示搜索结果页的方法及搜索服务器
CN104199988A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 根据用户自定义排序显示搜索结果页的方法、系统以及一种客户端

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060235860A1 (en) * 2005-04-18 2006-10-19 Microsoft Corporation System and method for obtaining user feedback for relevance tuning
US20130198174A1 (en) * 2012-01-27 2013-08-01 Microsoft Corporation Re-ranking search results
CN103838881A (zh) * 2014-03-28 2014-06-04 北京奇虎科技有限公司 自定义搜索结果页的方法及装置
CN104199985A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 一种自定义置顶搜索结果的方法和系统、以及搜索服务器
CN104199990A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 搜索结果项置顶数的获取方法及系统、搜索服务器
CN104199991A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 提供用户自定义置顶搜索结果项的处理方法及客户端
CN104199989A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 在搜索结果页中显示各搜索结果项置顶数的方法及客户端
CN104199987A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 根据用户自定义排序显示搜索结果页的方法及搜索服务器
CN104199988A (zh) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 根据用户自定义排序显示搜索结果页的方法、系统以及一种客户端

Similar Documents

Publication Publication Date Title
US11727076B2 (en) Browser-based navigation suggestions for task completion
CN103455590B (zh) 在触屏设备中进行检索的方法和装置
US9892426B2 (en) Search assistant system and method
KR101967036B1 (ko) 비디오 콘텐츠를 검색하는 방법들, 시스템들, 및 매체들
US9361385B2 (en) Generating content for topics based on user demand
AU2011271263B2 (en) Customizing a search experience using images
US7917528B1 (en) Contextual display of query refinements
US9699490B1 (en) Adaptive filtering to adjust automated selection of content using weightings based on contextual parameters of a browsing session
US20200341991A1 (en) Rank query results for relevance utilizing external context
US20150310116A1 (en) Providing search results corresponding to displayed content
US8533173B2 (en) Generating search query suggestions
US20090158161A1 (en) Collaborative search in virtual worlds
RU2666460C2 (ru) Поддержка тегированных результатов поиска
KR20150107840A (ko) 네이티브 어플리케이션들의 어플리케이션 페이지들을 인덱싱
WO2017215175A1 (zh) 页面处理方法、装置、终端及服务器
TW201022973A (en) Previewing search results for suggested refinement terms and vertical searches
KR20170140226A (ko) 정보 검색 내비게이션 방법 및 장치
CN103186666B (zh) 基于收藏进行搜索的方法、装置与设备
CN103617196B (zh) 推荐网址的方法、浏览器、服务器及系统
TW201224810A (en) Methods and apparatus for selecting a search engine to which to provide a search query
CN109791501B (zh) 用于减少下载要求的系统和方法
CN102930012A (zh) 一种客户端以及一种搜索导航方法
CN103761232B (zh) 一种提供网页媒体内容信息的方法和装置
KR20150019668A (ko) 검색 연관 정보 제공 방법 및 이를 지원하는 전자 장치
CN113194336A (zh) 一种评论显示方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15845134

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15845134

Country of ref document: EP

Kind code of ref document: A1