WO2015149642A1 - 一种进行搜索的方法和装置 - Google Patents

一种进行搜索的方法和装置 Download PDF

Info

Publication number
WO2015149642A1
WO2015149642A1 PCT/CN2015/075040 CN2015075040W WO2015149642A1 WO 2015149642 A1 WO2015149642 A1 WO 2015149642A1 CN 2015075040 W CN2015075040 W CN 2015075040W WO 2015149642 A1 WO2015149642 A1 WO 2015149642A1
Authority
WO
WIPO (PCT)
Prior art keywords
search
search engine
search result
keyword
url
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2015/075040
Other languages
English (en)
French (fr)
Inventor
田新超
李海亮
欧胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
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 CN201410126672.7A external-priority patent/CN103955473A/zh
Priority claimed from CN201410126400.7A external-priority patent/CN103955471A/zh
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Publication of WO2015149642A1 publication Critical patent/WO2015149642A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a method and apparatus for performing a search.
  • a web browser is an application that displays files within a web server or file system and lets users interact with them. It is used to display text, images, and other information on the World Wide Web or a local area network. These texts or images can be hyperlinks to other websites, and users can quickly and easily browse various information.
  • the address bar of the browser is used for inputting a web address in the network, so that the browser initiates a corresponding webpage request. Therefore, generally, when the user inputs a character in the address bar, a plurality of URL information matching the characters input by the user will be displayed in the drop-down menu of the address bar. When the user does not know the URL corresponding to the information to be queried, the user needs to open a search website page, and then enter the information to be queried under the opened search website page, and then open the page corresponding to the information to be queried according to the search result. .
  • the user wants to browse the official website of Douban without knowing the website address of Douban official website
  • the user needs to enter the URL of the search website page (such as: www.baidu.com) in the address bar to enter the search page; Enter "Douban” in the search page to search; finally, according to the search results, enter the official website of Douban.
  • the search website page such as: www.baidu.com
  • the present invention has been made in order to provide a method and apparatus for performing a search that overcomes the above problems or at least partially solves the above problems.
  • a method for performing a search includes: configuring a search engine setting entry at a browser address bar; acquiring a search keyword input in the browser address bar, and according to a search engine Setting a search engine option currently set by the portal to generate a search request carrying the keyword; receiving a search request returned by the search server according to the search request The search result information; loading and displaying the search result information in a pop-up window at a position below the browser address bar.
  • an apparatus for performing a search comprising: a configuration module configured to configure a search engine setting entry at a browser address bar; a search request generating module configured to obtain the browser address bar Search keyword keywords being input, and generating a search request carrying the keyword according to a search engine option currently set by the search engine setting entry; the search result information receiving module configured to receive the search request returned by the search server according to the search request And generating the search result information; loading the display module, configured to load and display the search result information in a pop-up window at a position below the browser address bar.
  • a method for performing a search includes: configuring a search engine setting entry at a set location of a browser address bar, and configuring one or more searches under the search engine setting entry An engine option; determining a search engine corresponding to a search engine option currently set under the search engine setting entry; invoking the determined search engine to search for a search keyword input in the browser address field, and receiving search result information .
  • an apparatus for performing a search includes: an entry setting module for configuring a search engine setting entry at a set position of a browser address bar; and a search engine option setting module for Configuring one or more search engine options under the search engine setting entry; a search engine determining module, configured to determine a search engine corresponding to a search engine option currently set under the search engine setting entry; and a receiving module for calling the The determined search engine searches for the search keyword input in the browser address bar, and receives the search result information.
  • a computer program comprising computer readable code, when said computer readable code is run on a server, causing said server to perform according to any of claims 1-15 The method of performing a search, or causing the server to perform the method of performing a search according to any one of claims 31-47.
  • a computer readable medium storing the computer program according to claim 65 is provided.
  • the present invention provides a method and apparatus for performing a search. After obtaining the search keyword input in the address bar, the browser side sets the search engine currently set according to the search engine. Option generating a search request carrying the keyword; then, receiving search result information generated by the search server according to the search request; finally, loading in a pop-up window at a position below the browser address bar Display the search result information.
  • the search request generation sending process and the receiving the search result information returned by the search server can be quickly performed in the background, that is, when the user inputs a keyword in the address bar, no operation is required, and the search result information can be immediately Displayed in the pop-up window below the address bar.
  • the search process is simple to operate; the search results can be quickly obtained, the search efficiency is high, and the waiting time of the user is reduced.
  • the browser side configures a search engine setting entry in the address bar, and configures a search engine option under the search engine setting entry, so that the user can directly input a search keyword in the address bar to search for information, thereby avoiding the user looking for a wait.
  • the search is improved Efficiency provides a preferred user interface mode.
  • FIG. 1 is a flow chart of a method for performing a search in a first embodiment of the present invention
  • FIG. 2 is a flow chart of a method for performing a search in a second embodiment of the present invention
  • FIG. 3 is a schematic diagram of a search engine setting entry configuration in the embodiment shown in FIG. 2;
  • FIG. 4 is a schematic diagram of a search engine option configuration in the embodiment shown in FIG. 2;
  • FIG. 5 is a schematic diagram of loading data of a display application box in the embodiment shown in FIG. 2;
  • FIG. 5 is a schematic diagram of loading data of a display application box in the embodiment shown in FIG. 2;
  • FIG. 6 is a schematic diagram of loading and displaying search result information in the embodiment shown in FIG. 2;
  • FIG. 7 is a flow chart of a method for performing a search in a third embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for performing a search in a fourth embodiment of the present invention.
  • FIG. 9 is a structural block diagram of an apparatus for performing a search in a fifth embodiment of the present invention.
  • Figure 10 is a block diagram showing the structure of an apparatus for performing a search in a sixth embodiment of the present invention.
  • FIG. 11 is a structural block diagram of an apparatus for performing a search in a seventh embodiment of the present invention.
  • Figure 12 is a block diagram showing the structure of an apparatus for performing a search in an eighth embodiment of the present invention.
  • Figure 13 is a block diagram of a server for performing a method in accordance with the present invention.
  • Figure 14 is a memory unit for holding or carrying program code implementing a method in accordance with the present invention.
  • the method for performing the search includes:
  • Step 102 Configure a search engine setting entry at the browser address bar.
  • Step 104 Acquire a search keyword that is being input in the browser address bar, and generate a search request that carries the keyword according to a search engine option currently set by the search engine setting entry.
  • Step 106 Receive search result information generated by the search server according to the search request.
  • Step 108 Display the search result information in a pop-up window at a position below the browser address bar.
  • the browser side after obtaining the search keyword input in the address bar, the browser side generates a search request carrying the keyword according to the search engine option currently set by the search engine setting entry; Then, receiving search result information generated by the search server according to the search request; finally, adding in a pop-up window at a position below the browser address bar Displaying the search result information.
  • the search request generation sending process and the receiving the search result information returned by the search server can be quickly performed in the background, that is, when the user inputs a keyword in the address bar, no operation is required, and the search result information can be immediately Displayed in the pop-up window below the address bar.
  • the search process is simple to operate; the search results can be quickly obtained, the search efficiency is high, and the waiting time of the user is reduced.
  • the method for performing the search includes:
  • step 202 the browser configures a search engine setting entry at the address bar.
  • FIG. 3 it is a schematic diagram of a search engine setting entry configuration in the embodiment shown in FIG. 2.
  • the search engine setting entry may be set at a first preset position of the address bar, for example, the search engine setting entry may be set to the left side adjacent to the address bar. Position 1 (ie, immediately to the left of the address bar). It should be noted here that the search engine setting entry may also be set at a position 2 (ie, above the address bar) or a position 3 (ie, the right side of the address bar) adjacent to the address bar. This embodiment does not limit this.
  • the search engine setting entry may also be set at a second preset position of the address bar, for example, the search engine setting entry may be set at a position 4 in a drop-down list of the address bar. (ie, the lower part of the drop-down list), it should be noted that the search engine setting entry may be set at any position in the drop-down list of the address bar according to the actual situation (such as pulling the middle or upper part of the list, etc.) This is not limited in this embodiment.
  • a search engine option is set under the search engine setting entry, wherein the search engine option is one or more, and each search engine option corresponds to one search engine.
  • the browser side determines the search used in the search according to the user's selection operation request when receiving the selection operation request of the plurality of search engine options configured by the user under the search engine setting entry at the first preset position of the address bar engine. Or, when the browser side receives the selection operation request of the plurality of search engine options configured by the user under the search engine setting entry at the second preset position of the address bar, the browser side determines the use of the search according to the user's selection operation request. Search engine.
  • an automatic loading can be performed under the search engine setting entry.
  • the auto-loaded default search engine option may be pre-configured by the user or may be a search engine option selected by the user when the search was last performed.
  • the search engine option may carry information such as a name and an icon of the search engine option when displayed.
  • FIG. 4 it is a schematic diagram of a search engine option configuration in the embodiment shown in FIG. 2. The user can open a drop-down menu of the search engine setting entry, and configure the search engine option under the search engine setting entry as a comprehensive search, or a 360 search, or a Bene search.
  • the attribute information of the search engine may be saved in the installation directory of the browser (for example, in the User Data ⁇ Default ⁇ Web Data file in the browser installation directory); wherein the attribute information includes It is not limited to: name information of the search engine, icon information of the search engine, and URL information of the search engine. Therefore, when the search engine option is configured under the search engine setting entry, the browser may obtain attribute information of the search engine from the Web Date file, parse out multiple search engine options; and then, according to the Attribute information, under the search engine settings entry, configure one or more search engine options that match the attribute information.
  • Step 204 The browser acquires a search keyword that is being input in the address bar, and generates a search request that carries the keyword according to a search engine option currently set by the search engine setting entry.
  • the specific process of generating the search request carrying the keyword according to the search engine option currently set by the search engine setting entry may be as follows: the search engine corresponding to the preset default search engine option loaded under the search engine setting entry generates the carrier. a search request of the keyword; or, receiving a selection operation request of the search engine option under the search engine setting entry, determining a search engine corresponding to the selection operation request; and requesting a corresponding search engine according to the selection operation A search request carrying the keyword is generated.
  • the generating the search request carrying the keyword may specifically: generating a search request that matches the search engine indicated by the currently set search engine option and carries the keyword.
  • the keywords may include: English keywords (eg, douban), and Chinese keywords (eg, watercress), and Chinese and English keywords (eg, DJ dance music).
  • the step 204 may include the following sub-steps:
  • Sub-step 2042 the browser obtains a search category keyword that is being entered in the address bar. And, when the keyword is a Chinese keyword, or a Chinese and English keyword, the sub-step 2044 is performed; when the keyword is an English keyword, the sub-step 2046 is performed.
  • Sub-step 2044 the browser generates a corresponding search request carrying the Chinese keyword according to the search engine option currently set by the search engine setting entry, or carries the search request of the Chinese and English keywords.
  • Sub-step 2046 the browser determines whether the English keyword matches the preset URL. If so, sub-step 2048 is performed; if not, sub-step 20410 is performed.
  • the specific process for the browser to determine whether the English keyword matches the preset URL may be as follows:
  • Sub-step 2048 the browser obtains a URL matching the English keyword, and displays the URL matching the English keyword in the address bar.
  • the English keyword “douban” matches the preset URL.
  • the browser side can obtain the URL from the URL history record and the URL under the local URL list.
  • the English keyword "douban” has the highest matching URL; then,
  • the browser side can directly fill in the URL in the address bar.
  • the "douban” input by the user in the address bar is automatically added as “douban.com”; or, "WWW.douban.com”.
  • the browser side may display a URL with the highest matching degree with the "douban” in a drop-down list of the address bar, such as: http://www.dpiban.com, or http://www.dpiban.com, or Http://www.dpiban.com and so on.
  • Sub-step 20410 the browser generates a search request carrying the English keyword according to a search engine option currently set by the search engine setting entry.
  • Step 206 the browser receives the return generated by the search server according to the search request. Search result information.
  • the returned result information may be information obtained by encoding and decoding by Protobuffer.
  • Step 208 The browser loads and displays the search result information in a pop-up window at a position below the address bar.
  • the search result information includes a plurality of search result items; wherein each search The result item includes at least one of a uniform resource locator URL corresponding to the search result item, a title corresponding to the search result item, and a favorite icon corresponding to the search result item.
  • the specific loading display process when displaying the search result information in a pop-up window at a position below the browser address bar may be as follows:
  • the application box data generated according to the predetermined template may be an application box One Box.
  • FIG. 5 it is a schematic diagram of loading and displaying application box data in the embodiment shown in FIG. 2.
  • the search keyword "weather” is input in the address bar
  • the search result item returned by the search engine server and the search result information matching the search keyword "weather” matches the One Box rule, and the browsing is directly performed in the browsing.
  • the One Box for the weather is loaded in the pop-up window at the location below the address bar.
  • FIG. 6 is a schematic diagram of loading and displaying search result information in the embodiment shown in FIG. 2.
  • the search result item returned by the search engine server and the search result information matching the search keyword "Douban” does not match the One Box rule
  • the browser is The search result information matching the keyword "Douban” is displayed in the popup window at the position below the address bar.
  • the search result information has a plurality of search result items, wherein each search result item includes: a uniform resource locator URL corresponding to the search result item (eg, “movie.douban.com” in FIG. 5) , "music.douban.com”), the title corresponding to the search result item (eg, "Douban movie” in FIG. 6, "Douban music”), and at least one of the favorite icons corresponding to the search result item One.
  • a uniform resource locator URL corresponding to the search result item
  • the search result item eg, “movie.douban.com” in FIG. 5
  • the search engine setting portal may also be disposed at a third position in a pop-up window at a position below the address bar.
  • it may be, but is not limited to, setting the search engine setting entry to the position 5 in the pop-up window (under the pop-up window) unit).
  • step 208 the specific loading display process when displaying the search result information in a pop-up window at a position below the browser address bar may be as follows:
  • the weights used for each search result item are not completely the same. For example, when the user adopts a recognition rate of a certain search result item A is greater than another adoption result item B, the search may be set.
  • the result item A corresponds to a weight greater than the weight corresponding to the search result item B.
  • the weight of each search result item can be set according to any existing setting method, which is not limited in this embodiment.
  • the search result item located at the first location under the search result information is an official website corresponding to the keyword
  • the keyword in the address bar is recolored; and the user triggers a carriage return.
  • access the official website directly For example, referring to FIG. 6 , the search result information in the pop-up window is displayed to complete the search result item sorting, and the search result item located in the first position under the search result information is the official website of Douban.
  • the keyword "Douban" in the address bar will be recolored (such as: green, red, etc.), and when the user enters the keyword "Douban” in the address bar, and then clicks Enter, enter the Douban directly.
  • the official website When the keyword "Douban" in the address bar will be recolored (such as: green, red, etc.), and when the user enters the keyword "Douban” in the address bar, and then clicks Enter, enter the Douban directly.
  • the weight of the search result option that satisfies the set filter criterion is directly set to 0, and the weight is hidden in the popup window.
  • filtering standard can be set according to actual usage, which is not limited in this embodiment.
  • step 210 after the above step 208 is performed, the following steps may also be continued: step 210, and/or step 212, and/or step 214, and/or step 216.
  • Step 210 When receiving a selection operation of the search result item under the search result information by the user, the browser loads the page corresponding to the search result item; and displays the key in the address column corresponding to the page. Word to replace the URL corresponding to the page.
  • the browser side may open a new tab page to load and display the page corresponding to the search result, and The URL of the page corresponding to the search result is displayed in the address bar of the new tab page.
  • the search keyword may be displayed in the address column of the new tab page instead of the URL of the page corresponding to the search result.
  • the official website of the watercress can be loaded on a new tab page, and at this time, the browser side carries the keyword "Douban".
  • Step 212 The browser loads and displays one or more hot word search result items in the popup window.
  • the hot word search result item is: a search result item obtained by the search engine searching for the popular keyword indicated by the search engine option currently set by the search engine setting entry.
  • json data refers to a list of keywords containing hot words.
  • the loading display of the hot word search result item can be set by the user.
  • the user is set to “permission”, the display is loaded; otherwise, the loading display is not performed.
  • Step 214 The browser loads the display history search result information in the popup window; and/or loads and displays the search result information saved in the favorites in the popup window.
  • Step 216 the browser receives the URL entered by the user in the address bar, and loads the place The page indicated by the URL entered in the address bar.
  • the browser side after obtaining the search keyword input in the address bar, the browser side generates a search request carrying the keyword according to the search engine option currently set by the search engine setting entry; Then, the search result information generated by the search server according to the search request is received; finally, the search result information is loaded and displayed in a pop-up window at a position below the browser address bar.
  • the search request generation sending process and the receiving the search result information returned by the search server can be quickly performed in the background, that is, when the user inputs a keyword in the address bar, no operation is required, and the search result information can be immediately Displayed in the pop-up window below the address bar.
  • the search process is simple to operate; the search results can be quickly obtained, the search efficiency is high, and the waiting time of the user is reduced.
  • the user can set the search engine option under the search engine setting entry to the search engine option that satisfies the individual needs, thereby improving the matching degree between the search result information and the user preference.
  • the method for performing the search includes:
  • Step 702 Configure a search engine setting entry at a set location of the browser address bar, and configure one or more search engine options under the search engine settings entry.
  • Step 704 Determine a search engine corresponding to the search engine option currently set under the search engine setting entry.
  • Step 706 Call the determined search engine to search for a search keyword input in the browser address field, and receive search result information.
  • the browser side after obtaining the search keyword input in the address bar, the browser side generates a search request carrying the keyword according to the search engine option currently set by the search engine setting entry; Then, the search result information generated by the search server according to the search request is received; finally, the search result information is loaded and displayed in a pop-up window at a position below the browser address bar.
  • the search request generation sending process and the receiving the search result information returned by the search server can be quickly performed in the background, that is, when the user inputs a keyword in the address bar, no operation is required, and the search result information can be immediately Displayed in the In the pop-up window under the address bar.
  • the search process is simple to operate; the search results can be quickly obtained, the search efficiency is high, and the waiting time of the user is reduced.
  • the method for performing the search includes:
  • step 802 the browser configures a search engine setting entry at a set location of the address bar.
  • the browser can configure a search engine setting entry at a first set location adjacent to the browser address bar.
  • the search engine setting entry can be configured at position 1, or position 2, or position 3 of the address bar shown in FIG.
  • the browser can configure the search engine settings entry at a second set location in the drop down list of the browser address bar.
  • the search engine setting entry may be configured at a lower position (position 4) of the drop-down list of the address bar shown in FIG. 3; or, in the middle or upper part of the pull-down list, according to the actual configuration.
  • the search engine setting entry is configured at a location, which is not limited in this embodiment.
  • the browser can configure the search engine settings entry at a third set location in the pop-up window at a location below the address bar.
  • the search engine setting entry may be configured at the lower position (position 5) of the pop-up window under the address bar shown in FIG. 6; or, depending on the actual configuration, on the left or right of the pop-up window.
  • the search engine setting entry is configured at any position on the side, which is not limited in this embodiment.
  • step 804 the browser configures one or more search engine options under the search engine settings portal.
  • the browser when the user requests to select a search engine under the search engine setting entry, the browser obtains the location from the installation folder of the search engine option (eg, User Data ⁇ Default ⁇ Web Data folder). The user requests to select the attribute information of the corresponding search engine. Then, based on the acquired attribute information, a search engine option matching the acquired attribute information is configured under the search engine setting entry.
  • the search engine option eg, User Data ⁇ Default ⁇ Web Data folder
  • Step 806 The browser determines a search engine corresponding to the search engine option currently set under the search engine setting entry.
  • the user can configure the search engine option under the search engine setting entry; when the user is not configured, the search engine option under the search engine setting entry is the default search engine option; when the user configures, the user
  • the search engine option under the search engine settings entry is a search engine option that matches the user configuration. Therefore, in the specific execution, the above step 806 can:
  • the browser determines that the default search engine option configured under the search engine setting entry is the currently set search engine option, and determines a search engine corresponding to the currently set search engine option.
  • the browser receives a selection operation request of the search engine option under the search engine setting entry, determines that the search engine option corresponding to the selection operation request is the currently set search engine option, and determines the current setting.
  • the search engine corresponds to the search engine.
  • Step 808 The browser invokes the determined search engine to search for the search keyword input in the browser address field, and receives the search result information.
  • step 808 the specific implementation process of the step 808 can be as follows:
  • the browser invokes the determined search engine to generate a search request that carries the search keyword input in the browser address field.
  • the keyword includes: an English keyword and/or a Chinese keyword. That is, the keywords include: a first type of keyword that is all in Chinese, a second type of keyword that is all in English, and a third type of keyword that includes both Chinese and English.
  • the determined search engine is invoked to generate a corresponding search request carrying the Chinese keyword, or the Chinese and English keywords are carried. Search request.
  • the search engine When the keyword is an English keyword, it is further determined whether the English keyword matches the preset URL. If yes, the URL matching the English keyword is obtained, and the URL matching the English keyword is displayed in the address bar. If no, the determination is invoked
  • the search engine generates a search request that carries the English keyword.
  • the URL history record and the local URL list on the browser side may be acquired first; then, determining whether the English keyword is related to the URL history record The URL matches the URL under the local URL list.
  • the browser receives the search result information generated by the search server corresponding to the search engine according to the search request.
  • step 810 the browser loads and displays the search result information in a pop-up window at a position below the address bar.
  • the search result information includes a plurality of search result items; wherein each search result item includes: a uniform resource locator URL corresponding to the search result item, a title corresponding to the search result item, and At least one of the favorite icons corresponding to the search result item.
  • the step 810 can be performed according to the following process:
  • the browser determines whether the search result item under the search result information matches the rule of the application box data generated according to the predetermined template. If yes, execute S42; if no, execute S43.
  • the browser loads and displays the application box data that matches the search result item in the popup window.
  • the browser loads and displays the search result information in the popup window.
  • the search result information when the browser loads and displays the search result information in the popup window, the search result information may be loaded and displayed according to the following specific process:
  • the browser weights the search result item under the search result information by using a preset weight.
  • the browser sorts the search result items according to the weighted result.
  • the size of the weight of the search result item may be set in accordance with the order of the matching degree of the search result item and the search keyword from high to low. For example, the weight of the search result item with high matching degree is greater than the weight of the search result item with low matching degree.
  • the method for obtaining the matching degree between the search result item and the search keyword may adopt any existing acquisition method.
  • the browser may determine the degree of matching of the search result item with the search keyword according to the rating or satisfaction degree information of each search result item after the user obtains the plurality of search result items.
  • the browser loads, in the pop-up window, search result information indicating that the search result item is sorted.
  • the search result item is now searched in order according to the weight from the largest to the smallest.
  • the browser recolors the keyword in the address bar
  • step 812 after the above step 810 is performed, the following steps may also be continued: step 812, and/or step 814, and/or step 816, and/or step 818.
  • Step 810 when receiving a selection operation of the search result item under the search result information by the user, the browser loads the page corresponding to the search result item; and displays the key in the address column corresponding to the page. Word to replace the URL corresponding to the page.
  • the pages corresponding to some search result items are not required by the user (for example, some advertisement pages) or threaten the terminal devices used by the users (for example, some pages carrying viruses). Therefore, in order to avoid loading display of a page that is not required by the user or threatened by the terminal device used by the user, in this embodiment, the terminal device that is not required by the user or may be caused by the user may be caused.
  • the URL corresponding to the threat page is written in the blacklist library, and when the URL of the page corresponding to the search result item satisfies the setting filtering criterion (that is, the URL of the page corresponding to the search result item matches the URL in the blacklist library), The weight of the URL corresponding to the page is set to 0, and the URL with a weight of 0 is hidden in the popup window.
  • step 814 the browser loads and displays one or more hot word search result items in the popup window.
  • the hot word search result item is: a search result item obtained by the search engine searching for the popular keyword indicated by the search engine option currently set by the search engine setting entry. For example, three hot word search result items may be loaded and displayed in a lower portion of the popup window (eg, loaded under the pop-up window and displayed below the search result item obtained from the keyword search).
  • Step 816 The browser loads the display history search result information in the popup window; and/or loads the search result information saved in the favorites in the popup window.
  • Step 818 Receive a URL input by the user in the address bar, and load a page indicated by the URL entered in the address bar.
  • the browser side after obtaining the search keyword input in the address bar, the browser side generates a search request carrying the keyword according to the search engine option currently set by the search engine setting entry; Then, the search result information generated by the search server according to the search request is received; finally, the search result information is loaded and displayed in a pop-up window at a position below the browser address bar.
  • the search request generation sending process and the receiving the search result information returned by the search server can be quickly performed in the background, that is, when the user inputs a keyword in the address bar, no operation is required, and the search result information can be immediately Displayed in the pop-up window below the address bar.
  • the search process is simple to operate; the search results can be quickly obtained, the search efficiency is high, and the waiting time of the user is reduced.
  • the user can set the search engine option under the search engine setting entry to the search engine option that satisfies the individual needs, thereby improving the matching degree between the search result information and the user preference.
  • FIG. 9 a block diagram of a device for performing a search in the fifth embodiment of the present invention is shown.
  • the performing the searching device includes:
  • the configuration module 902 is configured to configure a search engine settings entry at the browser address bar.
  • the search request generating module 904 is configured to acquire a search keyword that is input in the browser address bar, and generate a carrying device according to a search engine option currently set by the search engine setting entry. A search request for a keyword.
  • the search result information receiving module 906 is configured to receive search result information generated by the search server according to the search request.
  • the loading display module 908 is configured to load and display the search result information in a pop-up window at a position below the browser address bar.
  • the browser side after obtaining the search keyword input in the address bar, the browser side generates a search request carrying the keyword according to the search engine option currently set by the search engine setting entry; Then, the search result information generated by the search server according to the search request is received; finally, the search result information is loaded and displayed in a pop-up window at a position below the browser address bar.
  • the search request generation sending process and the receiving the search result information returned by the search server can be quickly performed in the background, that is, when the user inputs a keyword in the address bar, no operation is required, and the search result information can be immediately Displayed in the pop-up window below the address bar.
  • the search process is simple to operate; the search results can be quickly obtained, the search efficiency is high, and the waiting time of the user is reduced.
  • the search engine setting entry includes a plurality of search engine options, and each search engine option corresponds to a search engine.
  • the search result information includes a plurality of search result items; wherein each search result item includes: a uniform resource locator URL corresponding to the search result item, a title corresponding to the search result item, and a favorite corresponding to the search result item At least one of the clip icons.
  • the device for searching includes:
  • the configuration module 1002 is configured to configure a search engine settings entry at the browser address bar.
  • the search request generating module 1004 is configured to acquire a search keyword that is input in the browser address bar, and generate a search request that carries the keyword according to a search engine option currently set by the search engine setting entry.
  • the search engine option under the search engine setting entry can be set by the user. Therefore, in general, the search request generating module 1004 may generate the keyword according to a search engine corresponding to the preset default search engine option loaded under the search engine setting entry. Or the search operation request of the search engine option under the search engine setting entry, the search engine corresponding to the selection operation request is determined; and the search engine corresponding to the selection operation request generates and carries the search request Search for keywords please.
  • the search request generating module 1004 receives the search engine option of the user setting the entry to the search engine.
  • the user may specifically receive a selection operation request of a plurality of search engine options configured under the search engine setting entry at the first preset position of the address bar; or, the receiving user pair is configured at the address
  • the search engine at the second preset of the column sets a selection operation request for a plurality of search engine options under the entry.
  • the search request generating module 1004 may specifically generate a search indicated by the currently set search engine option when generating a search request carrying the keyword according to a search engine option currently set by the search engine setting entry.
  • a search request that matches the engine and carries the keyword may specifically generate a search indicated by the currently set search engine option when generating a search request carrying the keyword according to a search engine option currently set by the search engine setting entry.
  • the keyword may include: an English keyword and/or a Chinese keyword.
  • the search request generating module 1004 may include the following modules:
  • the keyword acquisition module 10042 is configured to obtain a search keyword that is being input in the address bar.
  • the generating module 10044 is executed when the keyword is a Chinese keyword, or a Chinese and an English keyword; and when the keyword is an English keyword, the second determining module 10046 is executed.
  • the generating module 10044 is configured to: when the keyword is a Chinese keyword, or a Chinese and an English keyword, generate a corresponding search request carrying the Chinese keyword according to a search engine option currently set by the search engine setting entry, or , a search request carrying the Chinese and English keywords.
  • the second determining module 10046 is configured to: when the keyword is an English keyword, determine whether the English keyword matches a preset URL; if yes, obtain a URL that matches the English keyword, and The address bar displays the URL matching the English keyword; if not, the search request carrying the English keyword is generated according to a search engine option currently set by the search engine setting entry.
  • the second determining module 10046 may perform the following modules when determining whether the English keyword matches the preset URL:
  • the URL record obtaining module is configured to obtain a URL history record and a local URL list on the browser side.
  • the URL matching module is configured to determine whether the English keyword matches the URL under the URL history record and the URL under the local URL list.
  • the search result information receiving module 1006 is configured to receive search result information generated by the search server according to the search request.
  • the display display module 1008 is configured to load and display the search result information in a pop-up window at a position below the browser address bar.
  • the load display module 1008 can be implemented by the following modules during specific execution:
  • a first judging module configured to match whether a search result item under the search result information matches a rule of the application box data generated according to the predetermined template; if yes, loading an application box that matches the search result item in the popup window Data; if not, displaying the search result information in the popup window.
  • the loading display module 1008 can be implemented by the following modules during specific execution:
  • the weighting module is configured to perform weighting processing on the search result items under the search result information by using preset weights.
  • a sorting module configured to sort the search result items according to a weighted result.
  • the sort result display module is configured to load search result information indicating that the search result item is sorted in the popup window.
  • the loading display module 1008 loads and displays the search result information in a pop-up window at a position below the browser address bar, when the search result information is located at the first location
  • the keyword in the address bar may be recolored by the coloring module.
  • the coloring module is configured to: after the loading display module loads and displays the search result information in a pop-up window at a position below the browser address bar, in the first position under the search result information
  • the search result item is the official website corresponding to the keyword
  • the keyword in the address bar is recolored; and when the user triggers a carriage return operation event, the official is directly accessed. Party website.
  • the loading display module 1008 loads and displays the search result information in a pop-up window at a position below the browser address bar
  • the page corresponding to the search result item may be loaded by the page loading module.
  • the page loading module is configured to: after the loading display module loads and displays the search result information in a pop-up window at a position below the browser address bar, receive the user to the search result. Loading a page corresponding to the search result item, loading a page corresponding to the search result item, and loading the page corresponding to the search result item; and displaying the keyword in the address column corresponding to the page instead of The URL corresponding to the page.
  • the URL with the weight 0 may be hidden by the hidden module.
  • the hiding module is configured to: after the page loading module loads the page corresponding to the search result item, when the URL corresponding to the page satisfies the setting filtering criterion, set the weight of the URL corresponding to the page to 0, the URL with a weight of 0 is hidden in the popup window.
  • the hot word loading module 1010 is configured to load and display one or more in the pop-up window after the loading display module loads and displays the search result information in a pop-up window at a position below the browser address bar.
  • a hot word search result item is configured to load and display one or more in the pop-up window after the loading display module loads and displays the search result information in a pop-up window at a position below the browser address bar.
  • the hot word search result item is: a search result item obtained by the search engine searching for the popular keyword indicated by the search engine option currently set by the search engine setting entry.
  • the search result information display module 1012 is configured to load the display history search in the pop-up window after the loading display module loads and displays the search result information in a pop-up window at a position below the browser address bar. Result information; and/or loading search result information stored in the favorites in the popup window.
  • the receiving module 1014 is configured to receive a URL input by the user in the address bar.
  • the load module 1016 is configured to load the page indicated by the URL entered in the address bar.
  • the browser side obtains the search that is being input in the address bar.
  • a search request carrying the keyword is generated according to a search engine option currently set by the search engine setting entry; then, search result information generated by the search server according to the search request is received; and finally, The search result information is loaded and displayed in a pop-up window at a position below the address bar of the browser.
  • the search request generation sending process and the receiving the search result information returned by the search server can be quickly performed in the background, that is, when the user inputs a keyword in the address bar, no operation is required, and the search result information can be immediately Displayed in the pop-up window below the address bar.
  • the search process is simple to operate; the search results can be quickly obtained, the search efficiency is high, and the waiting time of the user is reduced.
  • the user can set the search engine option under the search engine setting entry to the search engine option that satisfies the individual needs, thereby improving the matching degree between the search result information and the user preference.
  • the performing the searching device includes:
  • the portal setting module 1102 is configured to configure a search engine setting entry at a set location of the browser address bar.
  • a search engine option setting module 1104 is configured to configure one or more search engine options under the search engine settings portal.
  • the search engine determination module 1106 is configured to determine a search engine corresponding to the search engine option currently set under the search engine settings entry.
  • the calling receiving module 1108 is configured to invoke the determined search engine to search for a search keyword input in the browser address field, and receive search result information.
  • the browser side after obtaining the search keyword input in the address bar, the browser side generates a search request carrying the keyword according to the search engine option currently set by the search engine setting entry; Then, the search result information generated by the search server according to the search request is received; finally, the search result information is loaded and displayed in a pop-up window at a position below the browser address bar.
  • the search request generation sending process and the receiving the search result information returned by the search server can be quickly performed in the background, that is, when the user inputs a keyword in the address bar, no operation is required, and the search result information can be immediately Displayed in the In the pop-up window under the address bar.
  • the search process is simple to operate; the search results can be quickly obtained, the search efficiency is high, and the waiting time of the user is reduced.
  • the performing the searching device includes:
  • the portal setting module 1202 is configured to configure a search engine setting entry at a set location of the browser address bar.
  • the portal setting module 1202 is specifically configured to configure a search engine setting entry at a first set position adjacent to the browser address bar; and/or,
  • a search engine setting entry is configured at a third set position in a pop-up window at a position below the browser address bar.
  • a search engine option setting module 1204 is configured to configure one or more search engine options under the search engine settings portal.
  • the search engine option setting module 1204 includes:
  • the attribute information obtaining module 12042 is configured to obtain attribute information of the search engine from an installation directory of the browser.
  • the attribute information includes: name information of the search engine, icon information of the search engine, and URL information of the search engine;
  • the search engine option configuration module 12044 is configured to configure one or more search engine options that match the attribute information under the search engine settings entry based on the attribute information.
  • the search engine determination module 1206 is configured to determine a search engine corresponding to the search engine option currently set under the search engine settings entry.
  • the search engine determining module 1206 is configured to determine that the default search engine option configured under the search engine setting entry is the currently set search engine option, and determine the currently set search engine option.
  • the search engine determining module 1206 is configured to determine that the default search engine option configured under the search engine setting entry is the currently set search engine option, and determine the currently set search engine option.
  • the calling receiving module 1208 is configured to invoke the determined search engine to search for a search keyword input in the browser address field, and receive search result information.
  • the invoking module 1208 may include:
  • the calling module 12082 is configured to invoke the determined search engine to generate a search request that carries the search category keyword input in the browser address bar. Wherein, in a specific implementation, the calling module 12082 can be executed by the following modules:
  • the keyword obtaining module is configured to obtain a search keyword that is being input in the address bar; wherein the keyword includes: an English keyword and/or a Chinese keyword.
  • a first calling module configured to: when the keyword is a Chinese keyword, or a Chinese keyword and a Chinese keyword, invoke the determined search engine to generate a corresponding search request that carries the Chinese keyword, or Search requests for Chinese and English keywords.
  • a second calling module configured to determine, when the keyword is an English keyword, whether the English keyword matches a preset URL; if yes, obtain a URL that matches the English keyword, and The URL corresponding to the English keyword is displayed in the address bar; if not, the determined search engine is invoked to generate a search request carrying the English keyword.
  • the second calling module first obtains a URL history record and a local URL list on the browser side when determining whether the English keyword matches the preset URL; and then determining whether the English keyword is related to The URL under the URL history matches the URL under the local URL list.
  • the receiving module 12084 is configured to receive search result information generated according to the search request returned by the search server corresponding to the search engine.
  • the loading display module 1210 is configured to: after the calling receiving module calls the determined search engine, search for a search keyword input in the browser address field, and after receiving the search result information, in the browser address bar The search result information is displayed in the popup window at the lower position.
  • the search result information includes a plurality of search result items; wherein each search result item includes: a uniform resource locator URL corresponding to the search result item, and the search result At least one of a title corresponding to the item and a favorite icon corresponding to the search result item.
  • the loading display module 1210 includes:
  • the determining loading module 12102 is configured to determine whether the search result item under the search result information matches the rule of the application box data generated according to the predetermined template; if yes, the loading display in the pop-up window matches the search result item Application box data; if not, loading and displaying the search result information in the popup window.
  • the loading display module 1210 includes:
  • the weighting module 12104 is configured to perform weighting processing on the search result items under the search result information using preset weights.
  • the sorting module 12106 is configured to sort the search result items according to the weighting result.
  • the display module 12108 is configured to load, in the pop-up window, search result information indicating that the search result item is sorted.
  • the display module 12108 loads the search result information indicating that the search result item is sorted in the popup window, if the search result item located at the first location under the search result information is When the official website corresponding to the keyword is described, the keywords in the address bar are recolored by the coloring module. among them,
  • the coloring module is configured to: after the loading display module 1210 loads and displays the search result information in a pop-up window at a position below the browser address bar, in the first position under the search result information
  • the search result item is the official website corresponding to the keyword
  • the keyword in the address bar is recolored; and when the user triggers the carriage return operation event, the official website is directly accessed.
  • the page loading module 1212 is configured to: after the loading display module 1210 loads and displays the search result information in a pop-up window at a position below the browser address bar, after receiving the user's search result information When the selection operation of the search result item is performed, the page corresponding to the search result item is loaded; and the keyword is displayed in the address column corresponding to the page to replace the URL corresponding to the page.
  • the page hiding module may also hide the URL of the page with the weight 0. among them,
  • a page hiding module configured to: after the page loading module loads the page corresponding to the search result item, when the URL corresponding to the page satisfies the setting filtering criterion, set the weight of the URL corresponding to the page to 0, The URL with a weight of 0 is hidden in the popup window.
  • the hot word loading module 1214 is configured to load and display one or more in the pop-up window after the loading display module loads and displays the search result information in a pop-up window at a position below the browser address bar Hot word search result item.
  • the hot word search result item is: a search result item obtained by the search engine searching for the popular keyword indicated by the search engine option currently set by the search engine setting entry.
  • the search result information loading module 1216 is configured to load the display history search result information in the pop-up window after the loading display module loads and displays the search result information in a pop-up window at a position below the browser address bar. And/or loading the search result information stored in the favorite folder in the popup window.
  • the URL receiving module 1218 is configured to receive a URL input by the user in the address bar.
  • the URL page loading module 1220 is configured to load the page indicated by the URL entered in the address bar.
  • the browser side after obtaining the search keyword input in the address bar, the browser side generates a search request carrying the keyword according to the search engine option currently set by the search engine setting entry; Then, the search result information generated by the search server according to the search request is received; finally, the search result information is loaded and displayed in a pop-up window at a position below the browser address bar.
  • the search request generation sending process and the receiving the search result information returned by the search server can be quickly performed in the background, that is, when the user inputs a keyword in the address bar, no operation is required, and the search result information can be immediately Displayed in the pop-up window below the address bar.
  • the search process is simple to operate; the search results can be quickly obtained, the search efficiency is high, and the waiting time of the user is reduced.
  • the user can set the search engine option under the search engine setting entry to the search engine option that satisfies the individual needs, thereby improving the matching degree between the search result information and the user preference.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the device for searching in accordance with embodiments of the present invention.
  • 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.
  • 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.
  • FIG. 13 illustrates a server, such as an application server, that can implement a method of performing a search in accordance with the present invention.
  • the server conventionally includes a processor 1310 and a computer program product or computer readable medium in the form of a memory 1320.
  • the memory 1320 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 1320 has a storage space 1330 for program code 1331 for performing any of the method steps described above.
  • the storage space 1330 for program code may include respective program codes 1331 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 1320 in the server of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 1331', code that can be read by, for example, a processor such as 1310, which when executed by the server causes the server to perform various steps in the methods described above.
  • the word "a” or "an” The invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供了一种进行搜索的方法和装置,其中,所述方法包括:在浏览器地址栏处配置搜索引擎设置入口;获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。通过本发明解决了搜索过程步骤冗长、操作繁琐、搜索效率低,用户等待时间长的问题。

Description

一种进行搜索的方法和装置 技术领域
本发明涉及互联网技术领域,具体涉及一种进行搜索的方法和装置。
背景技术
网页浏览器是个显示网站服务器或文件系统内的文件,并让用户与这些文件交互的一种应用软件。它用来显示在万维网或局域网等内的文字、图像及其他信息。这些文字或图像,可以是连接其他网址的超链接,用户可迅速及轻易地浏览各种信息。
其中,浏览器的地址栏是用于进行网络中网址的输入,以便浏览器发起对应的网页请求。所以,一般地,当用户在地址栏中输入字符后,将在地址栏的下拉菜单中显示多个与用户输入的字符相匹配的网址信息。当用户在不知道所要查询的信息对应的网址时,则需要打开一搜索网站页面,然后在打开的搜索网站页面下输入所要查询的信息,再根据搜索结果打开所述要查询的信息对应的页面。如,当用户想浏览豆瓣的官网而又不知道豆瓣官网的网址时,首先,用户需要在地址栏中输入一搜索网站页面的网址(如:www.baidu.com),进入搜索页面;然后在所述搜索页面中输入“豆瓣”进行搜索;最后,根据搜索结果进入豆瓣的官网。
由此可见,上述搜索过程步骤冗长、操作繁琐、搜索效率低,用户等待时间长。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种进行搜索的方法和装置。
依据本发明的一个方面,提供了一种进行搜索的方法,包括:在浏览器地址栏处配置搜索引擎设置入口;获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;接收由搜索服务器返回的根据所述搜索请求而生 成的搜索结果信息;在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。
根据本发明的另一方面,提供了一种进行搜索的装置,包括:配置模块,配置为在浏览器地址栏处配置搜索引擎设置入口;搜索请求生成模块,配置为获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;搜索结果信息接收模块,配置为接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;加载显示模块,配置为在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。
依据本发明的再一个方面,提供了一种进行搜索的方法,包括:在浏览器地址栏的设定位置处配置搜索引擎设置入口,并在所述搜索引擎设置入口下配置一个或多个搜索引擎选项;确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎;调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。
根据本发明的又一个方面,提供了一种进行搜索的装置,包括:入口设置模块,用于在浏览器地址栏的设定位置处配置搜索引擎设置入口;搜索引擎选项设置模块,用于在所述搜索引擎设置入口下配置一个或多个搜索引擎选项;搜索引擎确定模块,用于确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎;调用接收模块,用于调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。
根据本发明的另一个方面,提供了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在服务器上运行时,导致所述服务器执行根据权利要求1-15中的任一个所述的进行搜索的方法,或者,导致所述服务器执行根据权利要求31-47中的任一个所述的进行搜索的方法。
根据本发明的又一个方面,提供了一种计算机可读介质,其中存储了如权利要求65所述的计算机程序。
本发明提供了一种进行搜索的方法和装置。浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎 选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。
本发明提供了的另一种进行搜索的方法和装置。浏览器侧在地址栏中配置搜索引擎设置入口,并在所述搜索引擎设置入口下配置搜索引擎选项,以使用户可以直接在地址栏中输入搜索类关键词进行信息搜索,避免了用户查找等待时间、以及,避免了用户频繁切换信息输入位置(如,用户需要将当前的输入位置地址栏切换至搜索栏;或者,进行由搜索栏至地址栏的切换操作)的选择操作时间,提高了搜索效率,提供了一种较佳地用户交互界面模式。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1是本发明第一实施例中一种进行搜索的方法的流程图;
图2是本发明第二实施例中一种进行搜索的方法的流程图;
图3是图2所示实施例中一种搜索引擎设置入口配置的示意图;
图4是图2所示实施例中一种搜索引擎选项配置示意图;
图5是图2所示实施例中一种加载显示应用框数据的示意图;
图6是图2所示实施例中一种加载显示搜索结果信息的示意图;
图7是本发明第三实施例中一种进行搜索的方法的流程图;
图8是本发明第四实施例中一种进行搜索的方法的流程图;
图9是本发明第五实施例中一种进行搜索的装置的结构框图;
图10是本发明第六实施例中一种进行搜索的装置的结构框图;
图11是本发明第七实施例中一种进行搜索的装置的结构框图;
图12是本发明第八实施例中一种进行搜索的装置的结构框图;
图13是用于执行根据本发明的方法的服务器的框图;以及
图14是用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
参照图1,示出了本发明第一实施例中一种进行搜索的方法的流程图。在本实施例中,所述进行搜索的方法,包括:
步骤102,在浏览器地址栏处配置搜索引擎设置入口。
步骤104,获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求。
步骤106,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。
步骤108,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加 载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。
参照图2,示出了本发明第二实施例中一种进行搜索的方法的流程图。在本实施例中,所述进行搜索的方法,包括:
步骤202,浏览器在地址栏处配置搜索引擎设置入口。
参照图3,是图2所示实施例中一种搜索引擎设置入口配置的示意图。
在本实施例中,可以将所述搜索引擎设置入口设置在所述地址栏的第一预置位置处,如,可以将所述搜索引擎设置入口设置在与所述地址栏相邻的左侧位置1处(即紧邻地址栏的左侧位置处)。这里需要说明的是,也可以将所述搜索引擎设置入口设置在与所述地址栏相邻的位置2(即地址栏上方)或位置3(即地址栏右侧)处。本实施例对此不作限制。
较佳地,还可以将所述搜索引擎设置入口设置在所述地址栏的第二预置位置处,如,可以将所述搜索引擎设置入口设置在所述地址栏的下拉列表中的位置4(即下拉列表的下部)处,这里需要说明的是,可以根据实际情况,将所述搜索引擎设置入口设置在所述地址栏的下拉列表中的任一位置(如下拉列表的中部或上部等等)处,本实施例对此不作限定。
在本实施例中,所述搜索引擎设置入口下设置有搜索引擎选项,其中,所述搜索引擎选项为一个或多个,每个搜索引擎选项对应一种搜索引擎。浏览器侧在接收到用户对配置在所述地址栏第一预置位置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求时,根据用户的选择操作请求确定搜索时使用的搜索引擎。或,浏览器侧在接收到用户对配置在所述地址栏第二预置位置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求时,根据用户的选择操作请求确定搜索时使用的搜索引擎。
一般地,在浏览器启动时,在所述搜索引擎设置入口下可以自动加载一 个默认的搜索引擎选项,在进行搜索时使用所述默认的搜索引擎选项对应的搜索引擎进行搜索。其中,所述自动加载的默认搜索引擎选项可以是用户预先配置的,也可以是用户在上一次进行搜索时所选择的搜索引擎选项。
较佳地,所述搜索引擎选项在显示时,可以携带有所述搜索引擎选项的名称和图标等信息。参照图4,是图2所示实施例中一种搜索引擎选项配置示意图。用户可以打开所述搜索引擎设置入口的下拉菜单,将所述搜索引擎设置入口下的搜索引擎选项配置为综合搜索、或360搜索、或必应搜索等。
在本实施例中,搜索引擎的属性信息可以保存在所述浏览器的安装目录下(如,浏览器安装目录下的User Data\Default\Web Data文件里);其中,所述属性信息包括但不仅限于:所述搜索引擎的名称信息、和所述搜索引擎的图标信息、和所述搜索引擎的URL信息。故,在所述搜索引擎设置入口下配置所述搜索引擎选项时,浏览器可以从所述Web Date文件里获取所述搜索引擎的属性信息,解析出多个搜索引擎选项;然后,根据所述属性信息,在搜索引擎设置入口下配置一个或多个与所述属性信息相匹配的搜索引擎选项。
步骤204,浏览器获取所述地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求。
较佳地,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求的具体流程可以如下:依据搜索引擎设置入口下加载的预置默认搜索引擎选项对应的搜索引擎生成携带所述关键词的搜索请求;或,接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎;依据所述选择操作请求对应的搜索引擎生成携带所述关键词的搜索请求。其中,生成携带所述关键词的搜索请求具体可以是指:生成与所述当前设置的搜索引擎选项所指示的搜索引擎相匹配的、且携带所述关键词的搜索请求。
在本实施例中,所述关键词可以包括:英文关键词(如:douban)、和中文关键词(如:豆瓣)、以及中文和英文关键词(如:DJ舞曲)。
较佳地,所述步骤204可以包括以下子步骤:
子步骤2042,浏览器获取地址栏中正在输入的搜索类关键词。并且,当所述关键词为中文关键词、或、中文和英文关键词时,执行子步骤2044;当所述关键词为英文关键词时,执行子步骤2046。
子步骤2044,浏览器依据搜索引擎设置入口当前设置的搜索引擎选项生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求。
子步骤2046,浏览器判断所述英文关键词是否与预置URL相匹配。若是,则执行子步骤2048;若否,则执行子步骤20410。
在本实施例中,浏览器判断所述英文关键词是否与预置URL相匹配的具体流程可以如下:
S11、获取浏览器侧的URL历史记录和本地URL列表。
S12、判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。
子步骤2048,浏览器获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL。
如,当用户在地址栏输入“douban”之后,所述英文关键词“douban”与预置URL相匹配,此时,浏览器侧可以从URL历史记录和本地URL列表下的URL中获取与所述英文关键词“douban”匹配度最高的URL;然后,
浏览器侧可以直接在地址栏中补全URL,如,将地址栏中用户输入的“douban”自动补全为“douban.com”;或,“WWW.douban.com”。
或者,
浏览器侧可以在所述地址栏的下拉列表中显示与所述“douban”匹配度最高的URL,如:http://www.dpiban.com、或http://www.dpiban.com、或http://www.dpiban.com等。
子步骤20410,浏览器依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述英文关键词的搜索请求。
步骤206,浏览器接收由搜索服务器返回的根据所述搜索请求而生成的 搜索结果信息。
如,用户在浏览器地址栏中输入“豆瓣”,浏览器侧通过所述搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词“豆瓣”的搜索请求(如:http://ise.sapi.so.com/s?q=豆瓣)。然后,浏览器侧接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。其中,所述返回的结果信息可以是通过Protobuffer编码解码后得到的信息。
其中,一种Protobuffer编码协议示例如下:
Figure PCTCN2015075040-appb-000001
步骤208,浏览器在所述地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。
在本实施例中,所述搜索结果信息包括多个搜索结果项;其中,每个搜 索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。
较佳地,所述步骤208,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息时的具体加载显示流程可以如下:
S21、判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配。其中,所述按照预定模板生成的应用框数据可以是应用盒子One Box。
S22、当所述搜索结果项与按照预定模板生成的应用框数据的规则相匹配时,在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据。
参照图5,是图2所示实施例中一种加载显示应用框数据的示意图。如,当在地址栏输入搜索关键词“天气”后,搜索引擎服务器返回的与搜索关键词“天气”相匹配的搜索结果信息下的搜索结果项与One Box规则匹配,则直接在所述浏览器地址栏之下位置处的弹窗中加载显示所述关于天气的One Box。
S23、当所述搜索结果项与按照预定模板生成的应用框数据的规则不匹配时,则在所述弹窗中加载显示所述搜索结果信息。
参照图6,是图2所示实施例中一种加载显示搜索结果信息的示意图。如,在地址栏输入搜索关键词“豆瓣”后,搜索引擎服务器返回的与搜索关键词“豆瓣”相匹配的搜索结果信息下的搜索结果项与One Box规则不匹配,则在所述浏览器地址栏之下位置处的弹窗中加载显示与所述关键词“豆瓣”相匹配的搜索结果信息。且,所述搜索结果信息下有多个搜索结果项,其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL(如:图5中的“movie.douban.com”、“music.douban.com”)、所述搜索结果项对应的标题(如、图6中的“豆瓣电影”、“豆瓣音乐”)、和所述搜索结果项对应的收藏夹图标中的至少一项。
这里需要说明的是,在本实施例中,所述搜索引擎设置入口还可以设置在所述地址栏之下位置处的一弹窗中第三位置处。如,参照图6,可以但不仅限于将所搜索引擎设置入口述设置在所述弹窗中的位置5处(弹窗的下 部)。
又一较佳地,所述步骤208,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息时的具体加载显示流程可以如下:
S31、使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理。
在本实施例中每个搜索结果项对应使用的权重大小不完全相同,如,当用户对某一搜索结果项A的采纳认同率大于另一搜索结果项B的采纳认同率时,可以设置搜索结果项A对应权重大于搜索结果项B对应的权重。这里需要说明的是,每个搜索结果项对应的权重大小可以根据现有的任何一种设置方法进行设置,本实施例对此不作限制。
S32、根据加权结果对所述搜索结果项进行排序。
S33、在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。
一般地,所述搜索结果项对应的权重越大,则所述搜索结果项与所述搜索类关键词的匹配度越高,故,在所述弹窗中加载显示搜索结果信息时,按照所述搜索结果项对应的权重由大到小进行加载显示。
较佳地,当所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,在用户触发回车操作事件时,直接访问所述官方网站。如,参照图6,在所述弹窗中加载显示的是完成搜索结果项排序的搜索结果信息,且,所述搜索结果信息下的位于第一位置的搜索结果项为豆瓣的官方网站,此时,地址栏中的关键词“豆瓣”将被重新着色(如:绿色、红色等),并且,当用户在地址栏输入完关键词“豆瓣”,然后点击回车时,直接进入所述豆瓣的官方网站。
较佳地,在实际搜索过程中,当某些搜索结果选项对应页面的URL满足设定的过滤标准时(如:当搜索结果选项对应的页面的URL与一确定为广告页面的URL一致时;或,当搜索结果选项对应的页面的URL与一确定为威胁网站的URL一致时),直接将满足设定的过滤标准的搜索结果选项的权重设置为0,并在所述弹窗中隐藏权重为0的所述搜索结果选项。
这里需要说明的是所述过滤标准可以根据实际使用情况进行设置,本实施例对此不作限制。
在本实施例中,当上述步骤208执行完之后,还可以继续执行如下步骤:步骤210、和/或步骤212、和/或步骤214、和/或步骤216。
步骤210,当接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,浏览器加载所述搜索结果项对应的页面;并,在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。
一般地,使用传统搜索方法进行搜索时,在用户点击搜索结果进入所述搜索结果对应的页面时,浏览器侧可以打开一个新的标签页来加载显示所述搜索结果对应的页面,并在所述新的标签页的地址栏中显示所述搜索结果对应的页面的URL。而在本实施例中,则可以在所述新的标签页的地址栏中显示搜索关键词,以替代所述搜索结果对应的页面的URL。
如,参照图6,当用户点击回车进入所述豆瓣的官方网站之后,可以在一个新的标签页加载所述豆瓣的官方网站,而此时,浏览器侧从携带关键词“豆瓣”的搜索请求(如:http://so.360.cn/s?q=豆瓣)中提取出关键词“豆瓣”,然后,将“豆瓣”在所述新的标签页的地址栏中进行加载显示以替代所述豆瓣的官方网站的URL(www.douban.com)。
步骤212,浏览器在所述弹窗中加载显示一个或多个热词搜索结果项。
其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。
例如,浏览器侧可以自动向搜索服务器侧发送一热词搜索请求(如:http://s.sh.qihoo.com/api/hot_new.json?type=day0&src=se_hot&t=);然后,接收根据所述热词搜索请求返回的搜索结果信息,并从所述搜索结果信息中选择一个或多个搜索结果项在所述弹窗中加载显示。其中,json数据是指包含热词的关键词列表。
这里需要说明的是,所述热词搜索结果项的加载显示可以由用户自行进行设置,当用户设置为“许可”时,则加载显示;否则,不进行加载显示。
步骤214,浏览器在所述弹窗中加载显示历史搜索结果信息;和/或,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。
步骤216,浏览器接收用户在所述地址栏中输入的URL,并加载所述地 址栏中输入的URL所指示的页面。
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。
进一步地,用户可以将搜索引擎设置入口下的搜索引擎选项设置为满足个人需求的搜索引擎选项,进而提高了搜索结果信息与用户喜好的匹配度。
参照图7,示出了本发明第三实施例中一种进行搜索的方法的流程图。在本实施例中,所述进行搜索的方法包括:
步骤702,在浏览器地址栏的设定位置处配置搜索引擎设置入口,并在所述搜索引擎设置入口下配置一个或多个搜索引擎选项。
步骤704,确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎。
步骤706,调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述 地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。
参照图8,示出了本发明第四实施例中一种进行搜索的方法的流程图。在本实施例中,所述进行搜索的方法包括:
步骤802,浏览器在地址栏的设定位置处配置搜索引擎设置入口。
较佳地,浏览器可以在浏览器地址栏相邻的第一设定位置处配置搜索引擎设置入口。如,参照图3,可以在图3所示的地址栏的位置1处、或位置2、或位置3处配置搜索引擎设置入口。
又一较佳地,浏览器可以在浏览器地址栏的下拉列表中的第二设定位置处配置搜索引擎设置入口。如,参照图3,可以在图3所示的地址栏的下拉列表的下部位置(位置4)处配置搜索引擎设置入口;或者,根据实际配置情况,在所述下拉列表的中部或上部等任一位置处配置搜索引擎设置入口,本实施例对此不作限定。
另一较佳地,浏览器可以在地址栏之下位置处的弹窗中的第三设定位置处配置搜索引擎设置入口。如,参照图6,可以在图6所示的地址栏下的弹窗的下部位置(位置5)处配置搜索引擎设置入口;或者,根据实际配置情况,在所述弹窗的左侧或右侧等任一位置配置搜索引擎设置入口,本实施例对此不作限定。
步骤804,浏览器在所述搜索引擎设置入口下配置一个或多个搜索引擎选项。
在本实施例中,当用户请求选择所述搜索引擎设置入口下的一搜索引擎时,浏览器从搜索引擎选项的安装文件夹(如,User Data\Default\Web Data文件夹)中获取与所述用户请求选择对应的搜索引擎的属性信息。然后,根据获取的属性信息,在搜索引擎设置入口下配置与所述获取的属性信息相匹配的搜索引擎选项。
步骤806,浏览器确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎。
一般地,用户可以对搜索引擎设置入口下的搜索引擎选项进行配置;当用户没有进行配置时,所述搜索引擎设置入口下的搜索引擎选项则为默认搜索引擎选项;当用户进行配置后,所述搜索引擎设置入口下的搜索引擎选项则是一与用户配置相匹配的搜索引擎选项。故,上述步骤806在具体执行时,可以:
浏览器确定所述搜索引擎设置入口下配置的默认搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎。
或者,
浏览器接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎。
步骤808,浏览器调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。
在本实施例中,所述步骤808的具体实现流程可以如下:
S41、浏览器调用所述确定的搜索引擎生成携带所述浏览器地址栏中输入的搜索类关键词的搜索请求。
在本实施例中,所述关键词包括:英文关键词和/或中文关键词。即,所述关键词包括:全为中文的第一类关键词、和全为英文的第二类关键词、和既包含中文又包含英文的第三类关键词。
首先,获取地址栏中正在输入的搜索类关键词。
然后,判断所述关键词的类别。
当所述关键词为中文关键词、或、中文和英文关键词时,调用所述确定的搜索引擎生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求。
当所述关键词为英文关键词时,则进一步判断所述英文关键词是否与预置URL相匹配。若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL。若否,则调用所述确定 的搜索引擎生成携带所述英文关键词的搜索请求。
其中,在判断所述英文关键词是否与预置URL相匹配时,具体可以先获取浏览器侧的URL历史记录和本地URL列表;然后,判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。
S42、浏览器接收由所述搜索引擎对应的搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。
步骤810,浏览器在地址栏之下位置处的弹窗中加载显示所述搜索结果信息。
在本实施例中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。
较佳地,所述步骤810在具体执行时,可以按照如下流程进行:
S51、浏览器判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配。若是,则执行S42;若否,则执行S43。
S52、浏览器在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据。
S53、浏览器在所述弹窗中加载显示所述搜索结果信息。
在本实施例中,浏览器在所述弹窗中加载显示所述搜索结果信息时,可以按照如下具体流程对搜索结果信息进行加载显示:
S531、浏览器使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理。
S532、浏览器根据加权结果对所述搜索结果项进行排序。
一般地,可以按照搜索结果项与搜索关键词的匹配度的由高到底的顺序来对应设置搜索结果项的权重的大小。如,匹配度高的搜索结果项的权重大于匹配度低的搜索结果项的权重。其中,搜索结果项与搜索关键词的匹配度的获取方法可以采用现有的任意一种获取方法。如,浏览器可以根据用户在获取多个搜索结果项之后,对各个搜索结果项的评分或满意程度信息来确定搜索结果项与搜索关键词的匹配程度。
S533、浏览器在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。
较佳地,浏览器在所述弹窗中加载显示搜索结果信息时,按照权重由大到小的顺序依次现在搜索结果项。并且,
当所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,浏览器对所述地址栏中的关键词重新着色;
并,在用户触发回车操作事件时,直接访问所述官方网站。这里需要说明的是,用户可以在地址栏中点击回车直接进入所述官方网站(即,直接进入所述位于第一位置的搜索结果项对应的网站),而不需要去移动鼠标位置,点击所述位于第一位置的搜索结果项。
在本实施例中,当上述步骤810执行完成后,还可以继续执行如下步骤:步骤812、和/或步骤814、和/或步骤816、和/或步骤818。
步骤810,当接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,浏览器加载所述搜索结果项对应的页面;并,在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。
这里需要说明的是,一些搜索结果项对应的页面并不是用户需要的(如,一些广告页面)或者会对用户使用的终端设备造成威胁的(如,一些携带病毒的页面)。故,为了避免这些用户不需要的、或者会对用户使用的终端设备造成威胁的页面的加载显示,在本实施例中,可以将所述用户不需要的、或者会对用户使用的终端设备造成威胁的页面对应的URL写入黑名单库中,当搜索结果项对应的页面的URL满足设定过滤标准(即,搜索结果项对应的页面的URL与黑名单库中的URL相匹配)时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。
步骤814,浏览器在所述弹窗中加载显示一个或多个热词搜索结果项。
其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。例如,可以在所述弹窗的下部(如,弹窗中加载显示的、根据所述关键词搜索得到的搜索结果项的下方)加载显示三个热词搜索结果项。
步骤816,浏览器在所述弹窗中加载显示历史搜索结果信息;和/或,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。
步骤818,接收用户在所述地址栏中输入的URL,并加载所述地址栏中输入的URL所指示的页面。
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。
进一步地,用户可以将搜索引擎设置入口下的搜索引擎选项设置为满足个人需求的搜索引擎选项,进而提高了搜索结果信息与用户喜好的匹配度。
需要说明的是,对于前述的方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明所必需的。
基于与上述进行搜索的方法同一发明构思,参照图9,示出了本发明第五实施例中一种进行搜索的装置的结构框图。在本实施例中,所述进行搜索的装置包括:
配置模块902,配置为在浏览器地址栏处配置搜索引擎设置入口。
搜索请求生成模块904,配置为获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所 述关键词的搜索请求。
搜索结果信息接收模块906,配置为接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。
加载显示模块908,配置为在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。
参照图10,示出了本发明第六实施例中一种进行搜索的装置的结构框图。在本实施例中,搜索引擎设置入口下包括多个搜索引擎选项,每个搜索引擎选项对应一种搜索引擎。搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。
所述进行搜索的装置包括:
配置模块1002,配置为在浏览器地址栏处配置搜索引擎设置入口。
搜索请求生成模块1004,配置为获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求。
在本实施例中,由于搜索引擎设置入口下的搜索引擎选项可以由用户自行设置。故,一般地,所述搜索请求生成模块1004可以依据搜索引擎设置入口下加载的预置默认搜索引擎选项对应的搜索引擎生成携带所述关键词 的搜索请求;或者,接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎;依据所述选择操作请求对应的搜索引擎生成携带所述关键词的搜索请。
这里需要说明的是,由于所述搜索引擎设置入口可以设置在所述地址栏的多个位置处,故,所述搜索请求生成模块1004在接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求时,具体可以接收用户对配置在所述地址栏第一预置位置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求;或,接收用户对配置在所述地址栏第二预置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求。
较佳地,所述搜索请求生成模块1004在依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求时,具体可以生成与所述当前设置的搜索引擎选项所指示的搜索引擎相匹配的、且携带所述关键词的搜索请求。
其中,所述关键词可以包括:英文关键词和/或中文关键词。较佳地,所述搜索请求生成模块1004可以包括以下模块:
关键词获取模块10042,配置为获取地址栏中正在输入的搜索类关键词。当所述关键词为中文关键词、或、中文和英文关键词时执行生成模块10044;当所述关键词为英文关键词时,执行第二判断模块10046。
生成模块10044,配置为在所述关键词为中文关键词、或、中文和英文关键词时,依据搜索引擎设置入口当前设置的搜索引擎选项生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求。
第二判断模块10046,配置为在所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述英文关键词的搜索请求。
在本实施例中,所述第二判断模块10046在判断所述英文关键词是否与预置URL相匹配时,可以通过以下模块执行:
URL记录获取模块,配置为获取浏览器侧的URL历史记录和本地URL列表。
URL匹配模块,配置为判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。
搜索结果信息接收模块1006,配置为接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。
加载显示模块1008,配置为在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。
较佳地,所述加载显示模块1008在具体执行时可以通过以下模块实现:
第一判断模块,配置为搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配;若是,则在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据;若否,则在所述弹窗中加载显示所述搜索结果信息。
又一较佳地,所述加载显示模块1008在具体执行时可以通过以下模块实现:
加权模块,配置为使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理。
排序模块,配置为根据加权结果对所述搜索结果项进行排序。
排序结果显示模块,配置为在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。
在本实施例中,在所述加载显示模块1008在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,当所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,可以通过着色模块对所述地址栏中的关键词重新着色。
其中,着色模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,在用户触发回车操作事件时,直接访问所述官 方网站。
在本实施例中,在所述加载显示模块1008在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,当接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,可以通过页面加载模块加载所述搜索结果项对应的页面。
其中,所述页面加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面,加载所述搜索结果项对应的页面;并,在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。
并且,
当所述页面对应的URL满足设定过滤标准时,可以通过隐藏模块隐藏权重为0的所述URL。
其中,所述隐藏模块,配置为在所述页面加载模块加载所述搜索结果项对应的页面之后,当所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。
热词加载模块1010,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示一个或多个热词搜索结果项。
其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。
搜索结果信息显示模块1012,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示历史搜索结果信息;和/或,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。
接收模块1014,配置为接收用户在所述地址栏中输入的URL。
加载模块1016,配置为加载所述地址栏中输入的URL所指示的页面。
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索 类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。
进一步地,用户可以将搜索引擎设置入口下的搜索引擎选项设置为满足个人需求的搜索引擎选项,进而提高了搜索结果信息与用户喜好的匹配度。
参照图11,示出了发明第七实施例中一种进行搜索的装置的结构框图。在本实施例中,所述进行搜索的装置包括:
入口设置模块1102,配置为在浏览器地址栏的设定位置处配置搜索引擎设置入口。
搜索引擎选项设置模块1104,配置为在所述搜索引擎设置入口下配置一个或多个搜索引擎选项。
搜索引擎确定模块1106,配置为确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎。
调用接收模块1108,配置为调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述 地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。
参照图12,示出了发明第八实施例中一种进行搜索的装置的结构框图。在本实施例中,所述进行搜索的装置包括:
入口设置模块1202,配置为在浏览器地址栏的设定位置处配置搜索引擎设置入口。
较佳地,所述入口设置模块1202,具体配置为在在与所述浏览器地址栏相邻的第一设定位置处配置搜索引擎设置入口;和/或,
在所述浏览器地址栏的下拉列表中的第二设定位置处配置搜索引擎设置入口;和/或,
在所述浏览器地址栏之下位置处的弹窗中的第三设定位置处配置搜索引擎设置入口。
搜索引擎选项设置模块1204,配置为在所述搜索引擎设置入口下配置一个或多个搜索引擎选项。
在本实施例中,所述搜索引擎选项设置模块1204,包括:
属性信息获取模块12042,配置为从所述浏览器的安装目录下获取所述搜索引擎的属性信息。其中,所述属性信息包括:所述搜索引擎的名称信息、和所述搜索引擎的图标信息、和所述搜索引擎的URL信息;
搜索引擎选项配置模块12044,配置为根据所述属性信息,在搜索引擎设置入口下配置一个或多个与所述属性信息相匹配的搜索引擎选项。
搜索引擎确定模块1206,配置为确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎。
较佳地,所述搜索引擎确定模块1206,具体配置为确定所述搜索引擎设置入口下配置的默认搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎;或,
接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎选项为所述当前设置的搜索引擎选 项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎。
调用接收模块1208,配置为调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。
在本实施例中,所述调用接收模块1208,可以包括:
调用模块12082,配置为调用所述确定的搜索引擎生成携带所述浏览器地址栏中输入的搜索类关键词的搜索请求。其中,在具体实现时,所述调用模块12082可以通过以下模块执行:
关键词获取模块,配置为获取地址栏中正在输入的搜索类关键词;其中,所述关键词包括:英文关键词和/或中文关键词。
第一调用模块,配置为在所述关键词为中文关键词、或、中文和英文关键词时,调用所述确定的搜索引擎生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求。
第二调用模块,配置为在所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则调用所述确定的搜索引擎生成携带所述英文关键词的搜索请求。
较佳地,所述第二调用模块在判断所述英文关键词是否与预置URL相匹配时,先获取浏览器侧的URL历史记录和本地URL列表;然后,判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。
接收模块12084,配置为接收由所述搜索引擎对应的搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。
加载显示模块1210,配置为在所述调用接收模块调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息之后,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息。
在本实施例中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果 项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。
可选地,所述加载显示模块1210,包括:
判断加载模块12102,配置为判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配;若是,则在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据;若否,则在所述弹窗中加载显示所述搜索结果信息。
可选地,所述加载显示模块1210,包括:
加权模块12104,配置为使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理。
排序模块12106,配置为根据加权结果对所述搜索结果项进行排序。
显示模块12108,配置为在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。
在本实施例中,当所述显示模块12108在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息时,若,所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,则通过着色模块对所述地址栏中的关键词重新着色。其中,
所述着色模块,配置为在所述加载显示模块1210在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,在用户触发回车操作事件时,直接访问所述官方网站。
页面加载模块1212,配置为在所述加载显示模块1210在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面;并,在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。
在本实施例中,当所述页面加载模块1212在加载所述搜索结果项对应的页面之后,还可以通过页面隐藏模块来隐藏权重为0的页面的URL。其中,
页面隐藏模块,配置为在所述页面加载模块加载所述搜索结果项对应的页面之后,在所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。
热词加载模块1214,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示一个或多个热词搜索结果项。
其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。
搜索结果信息加载模块1216,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后在所述弹窗中加载显示历史搜索结果信息;和/或,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。
URL接收模块1218,配置为接收用户在所述地址栏中输入的URL。
URL页面加载模块1220,配置为加载所述地址栏中输入的URL所指示的页面。
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。
进一步地,用户可以将搜索引擎设置入口下的搜索引擎选项设置为满足个人需求的搜索引擎选项,进而提高了搜索结果信息与用户喜好的匹配度。
对于上述一种进行搜索的装置实施例而言,由于其与方法实施例基本相 似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组 合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的进行搜索的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图13示出了可以实现根据本发明的进行搜索的方法的服务器,例如应用服务器。该服务器传统上包括处理器1310和以存储器1320形式的计算机程序产品或者计算机可读介质。存储器1320可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1320具有用于执行上述方法中的任何方法步骤的程序代码1331的存储空间1330。例如,用于程序代码的存储空间1330可以包括分别用于实现上面的方法中的各种步骤的各个程序代码1331。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图14所述的便携式或者固定存储单元。该存储单元可以具有与图13的服务器中的存储器1320类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码1331’,即可以由例如诸如1310之类的处理器读取的代码,这些代码当由服务器运行时,导致该服务器执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一 个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (66)

  1. 一种进行搜索的方法,包括:
    在浏览器地址栏处配置搜索引擎设置入口;
    获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;
    接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;
    在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。
  2. 如权利要求1所述的方法,其中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。
  3. 如权利要求2所述的方法,其中,所述在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息,包括:
    判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配;
    若是,则在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据;
    若否,则在所述弹窗中加载显示所述搜索结果信息。
  4. 如权利要求2所述的方法,其中,所述在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息,包括:
    使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理;
    根据加权结果对所述搜索结果项进行排序;
    在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。
  5. 如权利要求2或4所述的方法,其中,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:
    当所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,
    在用户触发回车操作事件时,直接访问所述官方网站。
  6. 如权利要求2所述的方法,其中,在所述浏览器地址栏之下位置处 的一弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:
    当接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面;并,
    在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。
  7. 如权利要求6所述的方法,其中,在所述加载所述搜索结果项对应的页面步骤之后,所述方法还包括:
    当所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。
  8. 如权利要求1所述的方法,其中,所述获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求,包括:
    获取地址栏中正在输入的搜索类关键词;其中,所述关键词包括:英文关键词和/或中文关键词;
    当所述关键词为中文关键词、或、中文和英文关键词时,依据搜索引擎设置入口当前设置的搜索引擎选项生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求;
    当所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述英文关键词的搜索请求。
  9. 如权利要求1或8所述的方法,其中,所述依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求,包括:
    生成与所述当前设置的搜索引擎选项所指示的搜索引擎相匹配的、且携带所述关键词的搜索请求。
  10. 如权利要求8所述的方法,其中,所述判断所述英文关键词是否与预置URL相匹配,包括:
    获取浏览器侧的URL历史记录和本地URL列表;
    判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。
  11. 如权利要求1所述的方法,其中,所述搜索引擎设置入口下包括多个搜索引擎选项,每个搜索引擎选项对应一种搜索引擎;
    所述依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求,包括:
    依据搜索引擎设置入口下加载的预置默认搜索引擎选项对应的搜索引擎生成携带所述关键词的搜索请求;或,
    接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎;依据所述选择操作请求对应的搜索引擎生成携带所述关键词的搜索请求。
  12. 如权利要求11所述的方法,其中,所述接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,包括:
    接收用户对配置在所述地址栏第一预置位置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求;或,
    接收用户对配置在所述地址栏第二预置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求。
  13. 如权利要求1所述的方法,其中,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:
    在所述弹窗中加载显示一个或多个热词搜索结果项;其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。
  14. 如权利要求1所述的方法,其中,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:
    在所述弹窗中加载显示历史搜索结果信息;和/或,
    在所述弹窗中加载显示收藏夹中保存的搜索结果信息。
  15. 如权利要求1所述的方法,其中,所述方法还包括:
    接收用户在所述地址栏中输入的URL;
    加载所述地址栏中输入的URL所指示的页面。
  16. 一种进行搜索的装置,包括:
    配置模块,配置为在浏览器地址栏处配置搜索引擎设置入口;
    搜索请求生成模块,配置为获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;
    搜索结果信息接收模块,配置为接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;
    加载显示模块,配置为在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。
  17. 如权利要求16所述的装置,其中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。
  18. 如权利要求17所述的装置,其中,所述加载显示模块,包括:
    第一判断模块,配置为搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配;若是,则在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据;若否,则在所述弹窗中加载显示所述搜索结果信息。
  19. 如权利要求17所述的装置,其中,所述加载显示模块包括:
    加权模块,配置为使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理;
    排序模块,配置为根据加权结果对所述搜索结果项进行排序;
    排序结果显示模块,配置为在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。
  20. 如权利要求17或19所述的装置,其中,所述装置还包括:
    着色模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处 的一弹窗中加载显示所述搜索结果信息之后,在所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,在用户触发回车操作事件时,直接访问所述官方网站。
  21. 如权利要求17所述的装置,其中,所述装置还包括:
    页面加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面,加载所述搜索结果项对应的页面;并,在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。
  22. 如权利要求21所述的装置,其中,所述装置还包括:
    隐藏模块,配置为在所述页面加载模块加载所述搜索结果项对应的页面之后,当所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。
  23. 如权利要求16所述的装置,其中,所述搜索请求生成模块,包括:
    关键词获取模块,配置为获取地址栏中正在输入的搜索类关键词;其中,所述关键词包括:英文关键词和/或中文关键词;
    生成模块,配置为在所述关键词为中文关键词、或、中文和英文关键词时,依据搜索引擎设置入口当前设置的搜索引擎选项生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求;
    第二判断模块,配置为在所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述英文关键词的搜索请求。
  24. 如权利要求16或23所述的装置,其中,所述搜索请求生成模块在依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求时,
    生成与所述当前设置的搜索引擎选项所指示的搜索引擎相匹配的、且携 带所述关键词的搜索请求。
  25. 如权利要求23所述的装置,其中,所述第二判断模块在判断所述英文关键词是否与预置URL相匹配时,
    获取浏览器侧的URL历史记录和本地URL列表;
    判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。
  26. 如权利要求16所述的装置,其中,所述搜索引擎设置入口下包括多个搜索引擎选项,每个搜索引擎选项对应一种搜索引擎;
    所述搜索请求生成模块在依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求时,
    依据搜索引擎设置入口下加载的预置默认搜索引擎选项对应的搜索引擎生成携带所述关键词的搜索请求;或,
    接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎;依据所述选择操作请求对应的搜索引擎生成携带所述关键词的搜索请求。
  27. 如权利要求26所述的装置,其中,所述搜索请求生成模块在接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求时,
    接收用户对配置在所述地址栏第一预置位置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求;或,
    接收用户对配置在所述地址栏第二预置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求。
  28. 如权利要求16所述的装置,其中,所述装置还包括:
    热词加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示一个或多个热词搜索结果项;
    其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。
  29. 如权利要求16所述的装置,其中,所述装置还包括:
    搜索结果信息显示模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示历史搜索结果信息;和/或,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。
  30. 如权利要求16所述的装置,其中,所述装置还包括:
    接收模块,配置为接收用户在所述地址栏中输入的URL;
    加载模块,配置为加载所述地址栏中输入的URL所指示的页面。
  31. 一种进行搜索的方法,包括:
    在浏览器地址栏的设定位置处配置搜索引擎设置入口,并在所述搜索引擎设置入口下配置一个或多个搜索引擎选项;
    确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎;
    调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。
  32. 如权利要求31所述的方法,其中,所述在所述搜索引擎设置入口下配置一个或多个搜索引擎选项,包括:
    从所述浏览器的安装目录下获取所述搜索引擎的属性信息;其中,所述属性信息包括:所述搜索引擎的名称信息、和所述搜索引擎的图标信息、和所述搜索引擎的URL信息;
    根据所述属性信息,在搜索引擎设置入口下配置一个或多个与所述属性信息相匹配的搜索引擎选项。
  33. 如权利要求31所述的方法,其中,所述在浏览器地址栏的设定位置处配置搜索引擎设置入口,包括:
    在与所述浏览器地址栏相邻的第一设定位置处配置搜索引擎设置入口;和/或,
    在所述浏览器地址栏的下拉列表中的第二设定位置处配置搜索引擎设置入口;和/或,
    在所述浏览器地址栏之下位置处的弹窗中的第三设定位置处配置搜索引擎设置入口。
  34. 如权利要求31所述的方法,其中,在所述调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息步骤之后,所述方法还包括:
    在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息。
  35. 如权利要求34所述的方法,其中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。
  36. 如权利要求35所述的方法,其中,所述在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息,包括:
    判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配;
    若是,则在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据;
    若否,则在所述弹窗中加载显示所述搜索结果信息。
  37. 如权利要求35所述的方法,其中,所述在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息,包括:
    使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理;
    根据加权结果对所述搜索结果项进行排序;
    在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。
  38. 如权利要求35或37所述的方法,其中,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:
    当所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,
    在用户触发回车操作事件时,直接访问所述官方网站。
  39. 如权利要求35所述的方法,其中,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:
    当接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面;并,
    在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。
  40. 如权利要求39所述的方法,其中,在所述加载所述搜索结果项对应的页面步骤之后,所述方法还包括:
    当所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。
  41. 如权利要求31所述的方法,其中,所述调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息,包括:
    调用所述确定的搜索引擎生成携带所述浏览器地址栏中输入的搜索类关键词的搜索请求;
    接收由所述搜索引擎对应的搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。
  42. 如权利要求41所述的方法,其中,所述调用所述确定的搜索引擎生成携带所述浏览器地址栏中正在输入的搜索类关键词的搜索请求,包括:
    获取地址栏中正在输入的搜索类关键词;其中,所述关键词包括:英文关键词和/或中文关键词;
    当所述关键词为中文关键词、或、中文和英文关键词时,调用所述确定的搜索引擎生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求;
    当所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则调用所述确定的搜索引擎生成携带所述英文关键词的搜索请求。
  43. 如权利要求42所述的方法,其中,所述判断所述英文关键词是否与预置URL相匹配,包括:
    获取浏览器侧的URL历史记录和本地URL列表;
    判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。
  44. 如权利要求31所述的方法,其中,所述确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎,包括:
    确定所述搜索引擎设置入口下配置的默认搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎;或,
    接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎。
  45. 如权利要求34所述的方法,其中,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:
    在所述弹窗中加载显示一个或多个热词搜索结果项;其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。
  46. 如权利要求34所述的方法,其中,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:
    在所述弹窗中加载显示历史搜索结果信息;和/或,
    在所述弹窗中加载显示收藏夹中保存的搜索结果信息。
  47. 如权利要求31所述的方法,其中,所述方法还包括:
    接收用户在所述地址栏中输入的URL;
    加载所述地址栏中输入的URL所指示的页面。
  48. 一种进行搜索的装置,包括:
    入口设置模块,配置为在浏览器地址栏的设定位置处配置搜索引擎设置入口;
    搜索引擎选项设置模块,配置为在所述搜索引擎设置入口下配置一个或 多个搜索引擎选项;
    搜索引擎确定模块,配置为确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎;
    调用接收模块,配置为调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。
  49. 如权利要求48所述的装置,其中,所述搜索引擎选项设置模块,包括:
    属性信息获取模块,配置为从所述浏览器的安装目录下获取所述搜索引擎的属性信息;其中,所述属性信息包括:所述搜索引擎的名称信息、和所述搜索引擎的图标信息、和所述搜索引擎的URL信息;
    搜索引擎选项配置模块,配置为根据所述属性信息,在搜索引擎设置入口下配置一个或多个与所述属性信息相匹配的搜索引擎选项。
  50. 如权利要求48所述的装置,其中,
    所述入口设置模块,配置为在在与所述浏览器地址栏相邻的第一设定位置处配置搜索引擎设置入口;和/或,
    在所述浏览器地址栏的下拉列表中的第二设定位置处配置搜索引擎设置入口;和/或,
    在所述浏览器地址栏之下位置处的弹窗中的第三设定位置处配置搜索引擎设置入口。
  51. 如权利要求48所述的装置,其中,所述装置还包括:
    加载显示模块,配置为在所述调用接收模块调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息之后,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息。
  52. 如权利要求51所述的装置,其中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。
  53. 如权利要求52所述的装置,其中,所述加载显示模块,包括:
    判断加载模块,配置为判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配;若是,则在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据;若否,则在所述弹窗中加载显示所述搜索结果信息。
  54. 如权利要求52所述的装置,其中,所述加载显示模块,包括:
    加权模块,配置为使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理;
    排序模块,配置为根据加权结果对所述搜索结果项进行排序;
    显示模块,配置为在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。
  55. 如权利要求52或54所述的装置,其中,所述装置还包括:
    着色模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,
    在用户触发回车操作事件时,直接访问所述官方网站。
  56. 如权利要求52所述的装置,其中,所述装置还包括:
    页面加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面;并,
    在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。
  57. 如权利要求56所述的装置,其中,所述装置还包括:
    页面隐藏模块,配置为在所述页面加载模块加载所述搜索结果项对应的页面之后,在所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。
  58. 如权利要求48所述的装置,其中,所述调用接收模块,包括:
    调用模块,配置为调用所述确定的搜索引擎生成携带所述浏览器地址栏 中输入的搜索类关键词的搜索请求;
    接收模块,配置为接收由所述搜索引擎对应的搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。
  59. 如权利要求58所述的装置,其中,所述调用模块,包括:
    关键词获取模块,配置为获取地址栏中正在输入的搜索类关键词;其中,所述关键词包括:英文关键词和/或中文关键词;
    第一调用模块,配置为在所述关键词为中文关键词、或、中文和英文关键词时,调用所述确定的搜索引擎生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求;
    第二调用模块,配置为在所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则调用所述确定的搜索引擎生成携带所述英文关键词的搜索请求。
  60. 如权利要求59所述的装置,其中,所述第二调用模块在判断所述英文关键词是否与预置URL相匹配时,
    获取浏览器侧的URL历史记录和本地URL列表;
    判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。
  61. 如权利要求48所述的装置,其中,
    所述搜索引擎确定模块,配置为确定所述搜索引擎设置入口下配置的默认搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎;或,
    接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎。
  62. 如权利要求51所述的装置,其中,所述装置还包括:
    热词加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示一个 或多个热词搜索结果项;其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。
  63. 如权利要求51所述的装置,其中,所述装置还包括:
    搜索结果信息加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后在所述弹窗中加载显示历史搜索结果信息;和/或,
    在所述弹窗中加载显示收藏夹中保存的搜索结果信息。
  64. 如权利要求48所述的装置,其中,所述装置还包括:
    URL接收模块,配置为接收用户在所述地址栏中输入的URL;
    URL页面加载模块,配置为加载所述地址栏中输入的URL所指示的页面。
  65. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在服务器上运行时,导致所述服务器执行根据权利要求1-15中的任一个所述的进行搜索的方法,或者,导致所述服务器执行根据权利要求31-47中的任一个所述的进行搜索的方法。
  66. 一种计算机可读介质,其中存储了如权利要求65所述的计算机程序。
PCT/CN2015/075040 2014-03-31 2015-03-25 一种进行搜索的方法和装置 Ceased WO2015149642A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201410126672.7 2014-03-31
CN201410126672.7A CN103955473A (zh) 2014-03-31 2014-03-31 一种进行搜索的方法和装置
CN201410126400.7A CN103955471A (zh) 2014-03-31 2014-03-31 一种进行搜索的方法和装置
CN201410126400.7 2014-03-31

Publications (1)

Publication Number Publication Date
WO2015149642A1 true WO2015149642A1 (zh) 2015-10-08

Family

ID=54239386

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075040 Ceased WO2015149642A1 (zh) 2014-03-31 2015-03-25 一种进行搜索的方法和装置

Country Status (1)

Country Link
WO (1) WO2015149642A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111753165A (zh) * 2019-03-28 2020-10-09 阿里巴巴集团控股有限公司 搜索信息处理方法、装置及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751428A (zh) * 2008-12-12 2010-06-23 汉王科技股份有限公司 信息搜索方法及装置
CN102930057A (zh) * 2012-11-21 2013-02-13 北京奇虎科技有限公司 搜索实现方法和装置
CN102930058A (zh) * 2012-11-21 2013-02-13 北京奇虎科技有限公司 一种在浏览器的地址栏中实现搜索的方法和装置
CN103617278A (zh) * 2013-12-09 2014-03-05 北京奇虎科技有限公司 一种地址栏搜索的控制方法及装置
CN103955473A (zh) * 2014-03-31 2014-07-30 北京奇虎科技有限公司 一种进行搜索的方法和装置
CN103955471A (zh) * 2014-03-31 2014-07-30 北京奇虎科技有限公司 一种进行搜索的方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751428A (zh) * 2008-12-12 2010-06-23 汉王科技股份有限公司 信息搜索方法及装置
CN102930057A (zh) * 2012-11-21 2013-02-13 北京奇虎科技有限公司 搜索实现方法和装置
CN102930058A (zh) * 2012-11-21 2013-02-13 北京奇虎科技有限公司 一种在浏览器的地址栏中实现搜索的方法和装置
CN103617278A (zh) * 2013-12-09 2014-03-05 北京奇虎科技有限公司 一种地址栏搜索的控制方法及装置
CN103955473A (zh) * 2014-03-31 2014-07-30 北京奇虎科技有限公司 一种进行搜索的方法和装置
CN103955471A (zh) * 2014-03-31 2014-07-30 北京奇虎科技有限公司 一种进行搜索的方法和装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111753165A (zh) * 2019-03-28 2020-10-09 阿里巴巴集团控股有限公司 搜索信息处理方法、装置及电子设备

Similar Documents

Publication Publication Date Title
KR102006396B1 (ko) 브라우징 액티비티에 기초하여 정합 애플리케이션을 식별하는 기법
CN103631875B (zh) 在浏览器侧进行网络搜索的方法与浏览器
CN109948073B (zh) 内容检索方法、终端、服务器、电子设备及存储介质
WO2015070673A1 (zh) 浏览器侧进行网络搜索的方法与浏览器
US20160320950A1 (en) Information search navigation method and apparatus
CN103339623A (zh) 涉及因特网搜索的方法和设备
CN104035966A (zh) 一种提供扩展搜索项的方法与装置
EP3084568A1 (en) Customized contextual user interface information displays
CN105528338B (zh) 智能预测的输入方法和系统
CN105867714A (zh) 应用程序下载方法、装置及系统
CN103366002A (zh) 个性化垂直搜索方法及装置
US20180018389A1 (en) Method and apparatus for keyword-based text retrieval
CN103955473A (zh) 一种进行搜索的方法和装置
WO2016176099A1 (en) Information search navigation method and apparatus
CN104050183A (zh) 浏览器输入框的内容匹配结果提示方法及装置
CN106919593B (zh) 一种搜索的方法和装置
CN104933099B (zh) 一种为用户提供目标搜索结果的方法与装置
CN103955471A (zh) 一种进行搜索的方法和装置
CN103870482A (zh) 搜索系统及方法
US11636170B1 (en) Normalizing uniform resource locators
CN106844406A (zh) 检索方法和检索装置
US20160373554A1 (en) Computer-readable recording medium, web access method, and web access device
CN103336775B (zh) 一种浏览器中插件扩展的提供方法和系统
KR102051507B1 (ko) 웹 브라우저 제공방법 및 이를 이용하는 단말장치
CN110889279A (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: 15772604

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase
122 Ep: pct application non-entry in european phase

Ref document number: 15772604

Country of ref document: EP

Kind code of ref document: A1