WO2015149642A1 - Search method and apparatus - Google Patents
Search method and apparatus Download PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
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.***.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.***.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
The present invention provides a search method and apparatus. The method comprises: configuring a search engine setting entry at an address bar of a browser; acquiring a search type keyword that is being input in the address bar of the browser, and generating a search request carrying the keyword according to a search engine option currently set at the search engine setting entry; receiving search result information generated according to the search request and returned by a search server; and loading and displaying the search result information in a popup window at a position below the address bar of the browser. By means of the present invention, the problems of redundant steps, complicated operations, low search efficiency and long waiting time for a user in a search process are solved.
Description
本发明涉及互联网技术领域,具体涉及一种进行搜索的方法和装置。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.
其中,浏览器的地址栏是用于进行网络中网址的输入,以便浏览器发起对应的网页请求。所以,一般地,当用户在地址栏中输入字符后,将在地址栏的下拉菜单中显示多个与用户输入的字符相匹配的网址信息。当用户在不知道所要查询的信息对应的网址时,则需要打开一搜索网站页面,然后在打开的搜索网站页面下输入所要查询的信息,再根据搜索结果打开所述要查询的信息对应的页面。如,当用户想浏览豆瓣的官网而又不知道豆瓣官网的网址时,首先,用户需要在地址栏中输入一搜索网站页面的网址(如:www.***.com),进入搜索页面;然后在所述搜索页面中输入“豆瓣”进行搜索;最后,根据搜索结果进入豆瓣的官网。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. . For example, when the user wants to browse the official website of Douban without knowing the website address of Douban official website, first, the user needs to enter the URL of the search website page (such as: www.***.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.
由此可见,上述搜索过程步骤冗长、操作繁琐、搜索效率低,用户等待时间长。It can be seen that the above search process steps are tedious, cumbersome to operate, low in search efficiency, and long in user waiting time.
发明内容Summary of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种进行搜索的方法和装置。In view of the above problems, the present invention has been made in order to provide a method and apparatus for performing a search that overcomes the above problems or at least partially solves the above problems.
依据本发明的一个方面,提供了一种进行搜索的方法,包括:在浏览器地址栏处配置搜索引擎设置入口;获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;接收由搜索服务器返回的根据所述搜索请求而生
成的搜索结果信息;在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。According to an aspect of the present invention, 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.
根据本发明的另一方面,提供了一种进行搜索的装置,包括:配置模块,配置为在浏览器地址栏处配置搜索引擎设置入口;搜索请求生成模块,配置为获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;搜索结果信息接收模块,配置为接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;加载显示模块,配置为在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。According to another aspect of the present invention, an apparatus for performing a search is provided, 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.
依据本发明的再一个方面,提供了一种进行搜索的方法,包括:在浏览器地址栏的设定位置处配置搜索引擎设置入口,并在所述搜索引擎设置入口下配置一个或多个搜索引擎选项;确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎;调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。According to still another aspect of the present invention, 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 .
根据本发明的又一个方面,提供了一种进行搜索的装置,包括:入口设置模块,用于在浏览器地址栏的设定位置处配置搜索引擎设置入口;搜索引擎选项设置模块,用于在所述搜索引擎设置入口下配置一个或多个搜索引擎选项;搜索引擎确定模块,用于确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎;调用接收模块,用于调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。According to still another aspect of the present invention, 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.
根据本发明的另一个方面,提供了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在服务器上运行时,导致所述服务器执行根据权利要求1-15中的任一个所述的进行搜索的方法,或者,导致所述服务器执行根据权利要求31-47中的任一个所述的进行搜索的方法。According to another aspect of the present invention, there is provided 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.
根据本发明的又一个方面,提供了一种计算机可读介质,其中存储了如权利要求65所述的计算机程序。According to still another aspect of the present invention, 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.
本发明提供了的另一种进行搜索的方法和装置。浏览器侧在地址栏中配置搜索引擎设置入口,并在所述搜索引擎设置入口下配置搜索引擎选项,以使用户可以直接在地址栏中输入搜索类关键词进行信息搜索,避免了用户查找等待时间、以及,避免了用户频繁切换信息输入位置(如,用户需要将当前的输入位置地址栏切换至搜索栏;或者,进行由搜索栏至地址栏的切换操作)的选择操作时间,提高了搜索效率,提供了一种较佳地用户交互界面模式。Another method and apparatus for performing a search is provided by the present invention. 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. Time, and, avoiding the user to frequently switch the information input position (for example, the user needs to switch the current input location address bar to the search bar; or, the selection operation time from the search bar to the address bar), the search is improved Efficiency provides a preferred user interface mode.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1是本发明第一实施例中一种进行搜索的方法的流程图;1 is a flow chart of a method for performing a search in a first embodiment of the present invention;
图2是本发明第二实施例中一种进行搜索的方法的流程图;2 is a flow chart of a method for performing a search in a second embodiment of the present invention;
图3是图2所示实施例中一种搜索引擎设置入口配置的示意图;3 is a schematic diagram of a search engine setting entry configuration in the embodiment shown in FIG. 2;
图4是图2所示实施例中一种搜索引擎选项配置示意图;4 is a schematic diagram of a search engine option configuration in the embodiment shown in FIG. 2;
图5是图2所示实施例中一种加载显示应用框数据的示意图;FIG. 5 is a schematic diagram of loading data of a display application box in the embodiment shown in FIG. 2; FIG.
图6是图2所示实施例中一种加载显示搜索结果信息的示意图;
6 is a schematic diagram of loading and displaying search result information in the embodiment shown in FIG. 2;
图7是本发明第三实施例中一种进行搜索的方法的流程图;7 is a flow chart of a method for performing a search in a third embodiment of the present invention;
图8是本发明第四实施例中一种进行搜索的方法的流程图;FIG. 8 is a flowchart of a method for performing a search in a fourth embodiment of the present invention; FIG.
图9是本发明第五实施例中一种进行搜索的装置的结构框图;FIG. 9 is a structural block diagram of an apparatus for performing a search in a fifth embodiment of the present invention; FIG.
图10是本发明第六实施例中一种进行搜索的装置的结构框图;Figure 10 is a block diagram showing the structure of an apparatus for performing a search in a sixth embodiment of the present invention;
图11是本发明第七实施例中一种进行搜索的装置的结构框图;11 is a structural block diagram of an apparatus for performing a search in a seventh embodiment of the present invention;
图12是本发明第八实施例中一种进行搜索的装置的结构框图;Figure 12 is a block diagram showing the structure of an apparatus for performing a search in an eighth embodiment of the present invention;
图13是用于执行根据本发明的方法的服务器的框图;以及Figure 13 is a block diagram of a server for performing a method in accordance with the present invention;
图14是用于保持或者携带实现根据本发明的方法的程序代码的存储单元。Figure 14 is a memory unit for holding or carrying program code implementing a method in accordance with the present invention.
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood and the scope of the disclosure will be fully disclosed.
参照图1,示出了本发明第一实施例中一种进行搜索的方法的流程图。在本实施例中,所述进行搜索的方法,包括:Referring to Figure 1, there is shown a flow chart of a method of performing a search in a first embodiment of the present invention. In this embodiment, the method for performing the search includes:
步骤102,在浏览器地址栏处配置搜索引擎设置入口。Step 102: Configure a search engine setting entry at the browser address bar.
步骤104,获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求。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.
步骤106,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。Step 106: Receive search result information generated by the search server according to the search request.
步骤108,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。Step 108: Display the search result information in a pop-up window at a position below the browser address bar.
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加
载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。In summary, in this embodiment, 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.
参照图2,示出了本发明第二实施例中一种进行搜索的方法的流程图。在本实施例中,所述进行搜索的方法,包括:Referring to Figure 2, there is shown a flow chart of a method of performing a search in a second embodiment of the present invention. In this embodiment, the method for performing the search includes:
步骤202,浏览器在地址栏处配置搜索引擎设置入口。In step 202, the browser configures a search engine setting entry at the address bar.
参照图3,是图2所示实施例中一种搜索引擎设置入口配置的示意图。Referring to FIG. 3, it is a schematic diagram of a search engine setting entry configuration in the embodiment shown in FIG. 2.
在本实施例中,可以将所述搜索引擎设置入口设置在所述地址栏的第一预置位置处,如,可以将所述搜索引擎设置入口设置在与所述地址栏相邻的左侧位置1处(即紧邻地址栏的左侧位置处)。这里需要说明的是,也可以将所述搜索引擎设置入口设置在与所述地址栏相邻的位置2(即地址栏上方)或位置3(即地址栏右侧)处。本实施例对此不作限制。In this embodiment, 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.
较佳地,还可以将所述搜索引擎设置入口设置在所述地址栏的第二预置位置处,如,可以将所述搜索引擎设置入口设置在所述地址栏的下拉列表中的位置4(即下拉列表的下部)处,这里需要说明的是,可以根据实际情况,将所述搜索引擎设置入口设置在所述地址栏的下拉列表中的任一位置(如下拉列表的中部或上部等等)处,本实施例对此不作限定。Preferably, 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.
在本实施例中,所述搜索引擎设置入口下设置有搜索引擎选项,其中,所述搜索引擎选项为一个或多个,每个搜索引擎选项对应一种搜索引擎。浏览器侧在接收到用户对配置在所述地址栏第一预置位置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求时,根据用户的选择操作请求确定搜索时使用的搜索引擎。或,浏览器侧在接收到用户对配置在所述地址栏第二预置位置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求时,根据用户的选择操作请求确定搜索时使用的搜索引擎。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.
一般地,在浏览器启动时,在所述搜索引擎设置入口下可以自动加载一
个默认的搜索引擎选项,在进行搜索时使用所述默认的搜索引擎选项对应的搜索引擎进行搜索。其中,所述自动加载的默认搜索引擎选项可以是用户预先配置的,也可以是用户在上一次进行搜索时所选择的搜索引擎选项。Generally, when the browser is started, an automatic loading can be performed under the search engine setting entry.
A default search engine option to search using the search engine corresponding to the default search engine option when performing a search. 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.
较佳地,所述搜索引擎选项在显示时,可以携带有所述搜索引擎选项的名称和图标等信息。参照图4,是图2所示实施例中一种搜索引擎选项配置示意图。用户可以打开所述搜索引擎设置入口的下拉菜单,将所述搜索引擎设置入口下的搜索引擎选项配置为综合搜索、或360搜索、或必应搜索等。Preferably, the search engine option may carry information such as a name and an icon of the search engine option when displayed. Referring to 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.
在本实施例中,搜索引擎的属性信息可以保存在所述浏览器的安装目录下(如,浏览器安装目录下的User Data\Default\Web Data文件里);其中,所述属性信息包括但不仅限于:所述搜索引擎的名称信息、和所述搜索引擎的图标信息、和所述搜索引擎的URL信息。故,在所述搜索引擎设置入口下配置所述搜索引擎选项时,浏览器可以从所述Web Date文件里获取所述搜索引擎的属性信息,解析出多个搜索引擎选项;然后,根据所述属性信息,在搜索引擎设置入口下配置一个或多个与所述属性信息相匹配的搜索引擎选项。In this embodiment, 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.
步骤204,浏览器获取所述地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求。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.
较佳地,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求的具体流程可以如下:依据搜索引擎设置入口下加载的预置默认搜索引擎选项对应的搜索引擎生成携带所述关键词的搜索请求;或,接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎;依据所述选择操作请求对应的搜索引擎生成携带所述关键词的搜索请求。其中,生成携带所述关键词的搜索请求具体可以是指:生成与所述当前设置的搜索引擎选项所指示的搜索引擎相匹配的、且携带所述关键词的搜索请求。Preferably, 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.
在本实施例中,所述关键词可以包括:英文关键词(如:douban)、和中文关键词(如:豆瓣)、以及中文和英文关键词(如:DJ舞曲)。
In this embodiment, the keywords may include: English keywords (eg, douban), and Chinese keywords (eg, watercress), and Chinese and English keywords (eg, DJ dance music).
较佳地,所述步骤204可以包括以下子步骤:Preferably, the step 204 may include the following sub-steps:
子步骤2042,浏览器获取地址栏中正在输入的搜索类关键词。并且,当所述关键词为中文关键词、或、中文和英文关键词时,执行子步骤2044;当所述关键词为英文关键词时,执行子步骤2046。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.
子步骤2044,浏览器依据搜索引擎设置入口当前设置的搜索引擎选项生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求。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.
子步骤2046,浏览器判断所述英文关键词是否与预置URL相匹配。若是,则执行子步骤2048;若否,则执行子步骤20410。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.
在本实施例中,浏览器判断所述英文关键词是否与预置URL相匹配的具体流程可以如下:In this embodiment, the specific process for the browser to determine whether the English keyword matches the preset URL may be as follows:
S11、获取浏览器侧的URL历史记录和本地URL列表。S11. Obtain a URL history record and a local URL list on the browser side.
S12、判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。S12. Determine whether the English keyword matches the URL under the URL history record and the URL under the local URL list.
子步骤2048,浏览器获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL。Sub-step 2048, the browser obtains a URL matching the English keyword, and displays the URL matching the English keyword in the address bar.
如,当用户在地址栏输入“douban”之后,所述英文关键词“douban”与预置URL相匹配,此时,浏览器侧可以从URL历史记录和本地URL列表下的URL中获取与所述英文关键词“douban”匹配度最高的URL;然后,For example, after the user inputs “douban” in the address bar, the English keyword “douban” matches the preset URL. At this time, 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,
浏览器侧可以直接在地址栏中补全URL,如,将地址栏中用户输入的“douban”自动补全为“douban.com”;或,“WWW.douban.com”。The browser side can directly fill in the URL in the address bar. For example, the "douban" input by the user in the address bar is automatically added as "douban.com"; or, "WWW.douban.com".
或者,or,
浏览器侧可以在所述地址栏的下拉列表中显示与所述“douban”匹配度最高的URL,如:http://www.dpiban.com、或http://www.dpiban.com、或http://www.dpiban.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.
子步骤20410,浏览器依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述英文关键词的搜索请求。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.
步骤206,浏览器接收由搜索服务器返回的根据所述搜索请求而生成的
搜索结果信息。 Step 206, the browser receives the return generated by the search server according to the search request.
Search result information.
如,用户在浏览器地址栏中输入“豆瓣”,浏览器侧通过所述搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词“豆瓣”的搜索请求(如:http://ise.sapi.so.com/s?q=豆瓣)。然后,浏览器侧接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。其中,所述返回的结果信息可以是通过Protobuffer编码解码后得到的信息。For example, the user inputs "Douban" in the browser address bar, and the browser side generates a search request carrying the keyword "Douban" through the search engine option currently set by the search engine setting entry (eg: http://ise .sapi.so.com/s?q=Douban). Then, the browser side receives the search result information generated by the search server according to the search request. The returned result information may be information obtained by encoding and decoding by Protobuffer.
其中,一种Protobuffer编码协议示例如下:Among them, an example of a Protobuffer encoding protocol is as follows:
步骤208,浏览器在所述地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。Step 208: The browser loads and displays the search result information in a pop-up window at a position below the address bar.
在本实施例中,所述搜索结果信息包括多个搜索结果项;其中,每个搜
索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。In this embodiment, 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.
较佳地,所述步骤208,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息时的具体加载显示流程可以如下:Preferably, in 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:
S21、判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配。其中,所述按照预定模板生成的应用框数据可以是应用盒子One Box。S21. 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. The application box data generated according to the predetermined template may be an application box One Box.
S22、当所述搜索结果项与按照预定模板生成的应用框数据的规则相匹配时,在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据。S22. When the search result item matches the rule of the application box data generated according to the predetermined template, the application box data matching the search result item is loaded and displayed in the popup window.
参照图5,是图2所示实施例中一种加载显示应用框数据的示意图。如,当在地址栏输入搜索关键词“天气”后,搜索引擎服务器返回的与搜索关键词“天气”相匹配的搜索结果信息下的搜索结果项与One Box规则匹配,则直接在所述浏览器地址栏之下位置处的弹窗中加载显示所述关于天气的One Box。Referring to FIG. 5, it is a schematic diagram of loading and displaying application box data in the embodiment shown in FIG. 2. For example, when 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.
S23、当所述搜索结果项与按照预定模板生成的应用框数据的规则不匹配时,则在所述弹窗中加载显示所述搜索结果信息。S23. When the search result item does not match the rule of the application box data generated according to the predetermined template, displaying the search result information in the popup window.
参照图6,是图2所示实施例中一种加载显示搜索结果信息的示意图。如,在地址栏输入搜索关键词“豆瓣”后,搜索引擎服务器返回的与搜索关键词“豆瓣”相匹配的搜索结果信息下的搜索结果项与One Box规则不匹配,则在所述浏览器地址栏之下位置处的弹窗中加载显示与所述关键词“豆瓣”相匹配的搜索结果信息。且,所述搜索结果信息下有多个搜索结果项,其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL(如:图5中的“movie.douban.com”、“music.douban.com”)、所述搜索结果项对应的标题(如、图6中的“豆瓣电影”、“豆瓣音乐”)、和所述搜索结果项对应的收藏夹图标中的至少一项。Referring to FIG. 6, FIG. 6 is a schematic diagram of loading and displaying search result information in the embodiment shown in FIG. 2. For example, after the search keyword "Douban" 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 "Douban" does not match the One Box rule, then the browser is The search result information matching the keyword "Douban" is displayed in the popup window at the position below the address bar. And, 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.
这里需要说明的是,在本实施例中,所述搜索引擎设置入口还可以设置在所述地址栏之下位置处的一弹窗中第三位置处。如,参照图6,可以但不仅限于将所搜索引擎设置入口述设置在所述弹窗中的位置5处(弹窗的下
部)。It should be noted that, in this embodiment, 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. For example, referring to FIG. 6, 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).
又一较佳地,所述步骤208,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息时的具体加载显示流程可以如下:Still further, in 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:
S31、使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理。S31. Perform weighting processing on the search result item under the search result information by using preset weights.
在本实施例中每个搜索结果项对应使用的权重大小不完全相同,如,当用户对某一搜索结果项A的采纳认同率大于另一搜索结果项B的采纳认同率时,可以设置搜索结果项A对应权重大于搜索结果项B对应的权重。这里需要说明的是,每个搜索结果项对应的权重大小可以根据现有的任何一种设置方法进行设置,本实施例对此不作限制。In this embodiment, 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. It should be noted that the weight of each search result item can be set according to any existing setting method, which is not limited in this embodiment.
S32、根据加权结果对所述搜索结果项进行排序。S32. Sort the search result items according to the weighting result.
S33、在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。S33. Load search result information indicating that the search result item is sorted is loaded in the popup window.
一般地,所述搜索结果项对应的权重越大,则所述搜索结果项与所述搜索类关键词的匹配度越高,故,在所述弹窗中加载显示搜索结果信息时,按照所述搜索结果项对应的权重由大到小进行加载显示。Generally, the greater the weight corresponding to the search result item, the higher the matching degree between the search result item and the search keyword, so when the search result information is loaded and displayed in the popup window, The weights corresponding to the search result items are loaded and displayed from large to small.
较佳地,当所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,在用户触发回车操作事件时,直接访问所述官方网站。如,参照图6,在所述弹窗中加载显示的是完成搜索结果项排序的搜索结果信息,且,所述搜索结果信息下的位于第一位置的搜索结果项为豆瓣的官方网站,此时,地址栏中的关键词“豆瓣”将被重新着色(如:绿色、红色等),并且,当用户在地址栏输入完关键词“豆瓣”,然后点击回车时,直接进入所述豆瓣的官方网站。Preferably, when 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. When operating an event, 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. 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 official website.
较佳地,在实际搜索过程中,当某些搜索结果选项对应页面的URL满足设定的过滤标准时(如:当搜索结果选项对应的页面的URL与一确定为广告页面的URL一致时;或,当搜索结果选项对应的页面的URL与一确定为威胁网站的URL一致时),直接将满足设定的过滤标准的搜索结果选项的权重设置为0,并在所述弹窗中隐藏权重为0的所述搜索结果选项。Preferably, in the actual search process, when the URL of the corresponding page of the search result option meets the set filtering criteria (for example, when the URL of the page corresponding to the search result option is consistent with the URL determined as the advertisement page; or When the URL of the page corresponding to the search result option is consistent with the URL determined as the threat website, 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. The search result option of 0.
这里需要说明的是所述过滤标准可以根据实际使用情况进行设置,本实施例对此不作限制。
It should be noted that the filtering standard can be set according to actual usage, which is not limited in this embodiment.
在本实施例中,当上述步骤208执行完之后,还可以继续执行如下步骤:步骤210、和/或步骤212、和/或步骤214、和/或步骤216。In this embodiment, 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.
步骤210,当接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,浏览器加载所述搜索结果项对应的页面;并,在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。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.
一般地,使用传统搜索方法进行搜索时,在用户点击搜索结果进入所述搜索结果对应的页面时,浏览器侧可以打开一个新的标签页来加载显示所述搜索结果对应的页面,并在所述新的标签页的地址栏中显示所述搜索结果对应的页面的URL。而在本实施例中,则可以在所述新的标签页的地址栏中显示搜索关键词,以替代所述搜索结果对应的页面的URL。Generally, when the search is performed by using the traditional search method, when the user clicks the search result to enter the page corresponding to the search result, 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. In this embodiment, 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.
如,参照图6,当用户点击回车进入所述豆瓣的官方网站之后,可以在一个新的标签页加载所述豆瓣的官方网站,而此时,浏览器侧从携带关键词“豆瓣”的搜索请求(如:http://so.360.cn/s?q=豆瓣)中提取出关键词“豆瓣”,然后,将“豆瓣”在所述新的标签页的地址栏中进行加载显示以替代所述豆瓣的官方网站的URL(www.douban.com)。For example, referring to FIG. 6, after the user clicks on the carriage return to enter the official website of the watercress, 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". The keyword "Douban" is extracted from the search request (eg: http://so.360.cn/s?q=Douban), and then the "Douban" is loaded and displayed in the address bar of the new tab. To replace the URL of the official website of the Douban (www.douban.com).
步骤212,浏览器在所述弹窗中加载显示一个或多个热词搜索结果项。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.
例如,浏览器侧可以自动向搜索服务器侧发送一热词搜索请求(如:http://s.sh.qihoo.com/api/hot_new.json?type=day0&src=se_hot&t=);然后,接收根据所述热词搜索请求返回的搜索结果信息,并从所述搜索结果信息中选择一个或多个搜索结果项在所述弹窗中加载显示。其中,json数据是指包含热词的关键词列表。For example, the browser side can automatically send a hot word search request to the search server side (eg: http://s.sh.qihoo.com/api/hot_new.json?type=day0&src=se_hot&t=); then, receive according to The hot word searches for search result information returned by the request, and selects one or more search result items from the search result information to load and display in the popup window. Among them, json data refers to a list of keywords containing hot words.
这里需要说明的是,所述热词搜索结果项的加载显示可以由用户自行进行设置,当用户设置为“许可”时,则加载显示;否则,不进行加载显示。It should be noted that the loading display of the hot word search result item can be set by the user. When the user is set to “permission”, the display is loaded; otherwise, the loading display is not performed.
步骤214,浏览器在所述弹窗中加载显示历史搜索结果信息;和/或,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。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.
步骤216,浏览器接收用户在所述地址栏中输入的URL,并加载所述地
址栏中输入的URL所指示的页面。 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.
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。In summary, in this embodiment, 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.
进一步地,用户可以将搜索引擎设置入口下的搜索引擎选项设置为满足个人需求的搜索引擎选项,进而提高了搜索结果信息与用户喜好的匹配度。Further, 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.
参照图7,示出了本发明第三实施例中一种进行搜索的方法的流程图。在本实施例中,所述进行搜索的方法包括:Referring to Figure 7, there is shown a flow chart of a method of performing a search in a third embodiment of the present invention. In this embodiment, the method for performing the search includes:
步骤702,在浏览器地址栏的设定位置处配置搜索引擎设置入口,并在所述搜索引擎设置入口下配置一个或多个搜索引擎选项。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.
步骤704,确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎。Step 704: Determine a search engine corresponding to the search engine option currently set under the search engine setting entry.
步骤706,调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。Step 706: Call the determined search engine to search for a search keyword input in the browser address field, and receive search result information.
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述
地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。In summary, in this embodiment, 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.
参照图8,示出了本发明第四实施例中一种进行搜索的方法的流程图。在本实施例中,所述进行搜索的方法包括:Referring to Figure 8, there is shown a flow chart of a method of performing a search in a fourth embodiment of the present invention. In this embodiment, the method for performing the search includes:
步骤802,浏览器在地址栏的设定位置处配置搜索引擎设置入口。In step 802, the browser configures a search engine setting entry at a set location of the address bar.
较佳地,浏览器可以在浏览器地址栏相邻的第一设定位置处配置搜索引擎设置入口。如,参照图3,可以在图3所示的地址栏的位置1处、或位置2、或位置3处配置搜索引擎设置入口。Preferably, the browser can configure a search engine setting entry at a first set location adjacent to the browser address bar. For example, referring to FIG. 3, the search engine setting entry can be configured at position 1, or position 2, or position 3 of the address bar shown in FIG.
又一较佳地,浏览器可以在浏览器地址栏的下拉列表中的第二设定位置处配置搜索引擎设置入口。如,参照图3,可以在图3所示的地址栏的下拉列表的下部位置(位置4)处配置搜索引擎设置入口;或者,根据实际配置情况,在所述下拉列表的中部或上部等任一位置处配置搜索引擎设置入口,本实施例对此不作限定。Still preferably, the browser can configure the search engine settings entry at a second set location in the drop down list of the browser address bar. For example, referring to FIG. 3, 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.
另一较佳地,浏览器可以在地址栏之下位置处的弹窗中的第三设定位置处配置搜索引擎设置入口。如,参照图6,可以在图6所示的地址栏下的弹窗的下部位置(位置5)处配置搜索引擎设置入口;或者,根据实际配置情况,在所述弹窗的左侧或右侧等任一位置配置搜索引擎设置入口,本实施例对此不作限定。Alternatively, 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. For example, referring to FIG. 6, 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.
步骤804,浏览器在所述搜索引擎设置入口下配置一个或多个搜索引擎选项。In step 804, the browser configures one or more search engine options under the search engine settings portal.
在本实施例中,当用户请求选择所述搜索引擎设置入口下的一搜索引擎时,浏览器从搜索引擎选项的安装文件夹(如,User Data\Default\Web Data文件夹)中获取与所述用户请求选择对应的搜索引擎的属性信息。然后,根据获取的属性信息,在搜索引擎设置入口下配置与所述获取的属性信息相匹配的搜索引擎选项。In this embodiment, 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.
步骤806,浏览器确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎。
Step 806: The browser determines a search engine corresponding to the search engine option currently set under the search engine setting entry.
一般地,用户可以对搜索引擎设置入口下的搜索引擎选项进行配置;当用户没有进行配置时,所述搜索引擎设置入口下的搜索引擎选项则为默认搜索引擎选项;当用户进行配置后,所述搜索引擎设置入口下的搜索引擎选项则是一与用户配置相匹配的搜索引擎选项。故,上述步骤806在具体执行时,可以:Generally, 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.
或者,or,
浏览器接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎。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.
步骤808,浏览器调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。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.
在本实施例中,所述步骤808的具体实现流程可以如下:In this embodiment, the specific implementation process of the step 808 can be as follows:
S41、浏览器调用所述确定的搜索引擎生成携带所述浏览器地址栏中输入的搜索类关键词的搜索请求。S41. The browser invokes the determined search engine to generate a search request that carries the search keyword input in the browser address field.
在本实施例中,所述关键词包括:英文关键词和/或中文关键词。即,所述关键词包括:全为中文的第一类关键词、和全为英文的第二类关键词、和既包含中文又包含英文的第三类关键词。In this embodiment, 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.
首先,获取地址栏中正在输入的搜索类关键词。First, get the search keyword you are typing in the address bar.
然后,判断所述关键词的类别。Then, the category of the keyword is judged.
当所述关键词为中文关键词、或、中文和英文关键词时,调用所述确定的搜索引擎生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求。When the keyword is a Chinese keyword, or a Chinese keyword and a Chinese keyword, 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.
当所述关键词为英文关键词时,则进一步判断所述英文关键词是否与预置URL相匹配。若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL。若否,则调用所述确定
的搜索引擎生成携带所述英文关键词的搜索请求。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.
其中,在判断所述英文关键词是否与预置URL相匹配时,具体可以先获取浏览器侧的URL历史记录和本地URL列表;然后,判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。Specifically, when determining whether the English keyword matches the preset URL, 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.
S42、浏览器接收由所述搜索引擎对应的搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。S42. The browser receives the search result information generated by the search server corresponding to the search engine according to the search request.
步骤810,浏览器在地址栏之下位置处的弹窗中加载显示所述搜索结果信息。In step 810, the browser loads and displays the search result information in a pop-up window at a position below the address bar.
在本实施例中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。In this embodiment, 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.
较佳地,所述步骤810在具体执行时,可以按照如下流程进行:Preferably, in the specific execution, the step 810 can be performed according to the following process:
S51、浏览器判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配。若是,则执行S42;若否,则执行S43。S51. 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.
S52、浏览器在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据。S52. The browser loads and displays the application box data that matches the search result item in the popup window.
S53、浏览器在所述弹窗中加载显示所述搜索结果信息。S53. The browser loads and displays the search result information in the popup window.
在本实施例中,浏览器在所述弹窗中加载显示所述搜索结果信息时,可以按照如下具体流程对搜索结果信息进行加载显示:In this embodiment, 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:
S531、浏览器使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理。S531. The browser weights the search result item under the search result information by using a preset weight.
S532、浏览器根据加权结果对所述搜索结果项进行排序。S532. The browser sorts the search result items according to the weighted result.
一般地,可以按照搜索结果项与搜索关键词的匹配度的由高到底的顺序来对应设置搜索结果项的权重的大小。如,匹配度高的搜索结果项的权重大于匹配度低的搜索结果项的权重。其中,搜索结果项与搜索关键词的匹配度的获取方法可以采用现有的任意一种获取方法。如,浏览器可以根据用户在获取多个搜索结果项之后,对各个搜索结果项的评分或满意程度信息来确定搜索结果项与搜索关键词的匹配程度。
Generally, 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. For example, 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.
S533、浏览器在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。S533. The browser loads, in the pop-up window, search result information indicating that the search result item is sorted.
较佳地,浏览器在所述弹窗中加载显示搜索结果信息时,按照权重由大到小的顺序依次现在搜索结果项。并且,Preferably, when the browser loads and displays the search result information in the popup window, the search result item is now searched in order according to the weight from the largest to the smallest. and,
当所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,浏览器对所述地址栏中的关键词重新着色;When the search result item located at the first location under the search result information is an official website corresponding to the keyword, the browser recolors the keyword in the address bar;
并,在用户触发回车操作事件时,直接访问所述官方网站。这里需要说明的是,用户可以在地址栏中点击回车直接进入所述官方网站(即,直接进入所述位于第一位置的搜索结果项对应的网站),而不需要去移动鼠标位置,点击所述位于第一位置的搜索结果项。And, when the user triggers a carriage return operation event, directly access the official website. It should be noted that the user can click Enter in the address bar to directly enter the official website (ie, directly enter the website corresponding to the search result item located in the first location), without having to move the mouse position, click The search result item located at the first location.
在本实施例中,当上述步骤810执行完成后,还可以继续执行如下步骤:步骤812、和/或步骤814、和/或步骤816、和/或步骤818。In this embodiment, 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.
步骤810,当接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,浏览器加载所述搜索结果项对应的页面;并,在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。 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.
这里需要说明的是,一些搜索结果项对应的页面并不是用户需要的(如,一些广告页面)或者会对用户使用的终端设备造成威胁的(如,一些携带病毒的页面)。故,为了避免这些用户不需要的、或者会对用户使用的终端设备造成威胁的页面的加载显示,在本实施例中,可以将所述用户不需要的、或者会对用户使用的终端设备造成威胁的页面对应的URL写入黑名单库中,当搜索结果项对应的页面的URL满足设定过滤标准(即,搜索结果项对应的页面的URL与黑名单库中的URL相匹配)时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。It should be noted here that 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.
步骤814,浏览器在所述弹窗中加载显示一个或多个热词搜索结果项。In 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).
步骤816,浏览器在所述弹窗中加载显示历史搜索结果信息;和/或,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。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.
步骤818,接收用户在所述地址栏中输入的URL,并加载所述地址栏中输入的URL所指示的页面。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.
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。In summary, in this embodiment, 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.
进一步地,用户可以将搜索引擎设置入口下的搜索引擎选项设置为满足个人需求的搜索引擎选项,进而提高了搜索结果信息与用户喜好的匹配度。Further, 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.
需要说明的是,对于前述的方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明所必需的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence, because In accordance with the present invention, certain steps may be performed in other sequences or concurrently. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present invention.
基于与上述进行搜索的方法同一发明构思,参照图9,示出了本发明第五实施例中一种进行搜索的装置的结构框图。在本实施例中,所述进行搜索的装置包括:Based on the same inventive concept as the above-described search method, referring to FIG. 9, a block diagram of a device for performing a search in the fifth embodiment of the present invention is shown. In this embodiment, the performing the searching device includes:
配置模块902,配置为在浏览器地址栏处配置搜索引擎设置入口。The configuration module 902 is configured to configure a search engine settings entry at the browser address bar.
搜索请求生成模块904,配置为获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所
述关键词的搜索请求。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.
搜索结果信息接收模块906,配置为接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。The search result information receiving module 906 is configured to receive search result information generated by the search server according to the search request.
加载显示模块908,配置为在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。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.
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。In summary, in this embodiment, 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.
参照图10,示出了本发明第六实施例中一种进行搜索的装置的结构框图。在本实施例中,搜索引擎设置入口下包括多个搜索引擎选项,每个搜索引擎选项对应一种搜索引擎。搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。Referring to Fig. 10, there is shown a block diagram showing the structure of an apparatus for performing a search in a sixth embodiment of the present invention. In this embodiment, 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:
配置模块1002,配置为在浏览器地址栏处配置搜索引擎设置入口。The configuration module 1002 is configured to configure a search engine settings entry at the browser address bar.
搜索请求生成模块1004,配置为获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求。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.
在本实施例中,由于搜索引擎设置入口下的搜索引擎选项可以由用户自行设置。故,一般地,所述搜索请求生成模块1004可以依据搜索引擎设置入口下加载的预置默认搜索引擎选项对应的搜索引擎生成携带所述关键词
的搜索请求;或者,接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎;依据所述选择操作请求对应的搜索引擎生成携带所述关键词的搜索请。In this embodiment, 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.
这里需要说明的是,由于所述搜索引擎设置入口可以设置在所述地址栏的多个位置处,故,所述搜索请求生成模块1004在接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求时,具体可以接收用户对配置在所述地址栏第一预置位置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求;或,接收用户对配置在所述地址栏第二预置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求。It should be noted that, since the search engine setting entry may be set at multiple locations of the address bar, the search request generating module 1004 receives the search engine option of the user setting the entry to the search engine. When the operation request is selected, 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.
较佳地,所述搜索请求生成模块1004在依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求时,具体可以生成与所述当前设置的搜索引擎选项所指示的搜索引擎相匹配的、且携带所述关键词的搜索请求。Preferably, 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.
其中,所述关键词可以包括:英文关键词和/或中文关键词。较佳地,所述搜索请求生成模块1004可以包括以下模块:The keyword may include: an English keyword and/or a Chinese keyword. Preferably, the search request generating module 1004 may include the following modules:
关键词获取模块10042,配置为获取地址栏中正在输入的搜索类关键词。当所述关键词为中文关键词、或、中文和英文关键词时执行生成模块10044;当所述关键词为英文关键词时,执行第二判断模块10046。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.
生成模块10044,配置为在所述关键词为中文关键词、或、中文和英文关键词时,依据搜索引擎设置入口当前设置的搜索引擎选项生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求。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.
第二判断模块10046,配置为在所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述英文关键词的搜索请求。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.
在本实施例中,所述第二判断模块10046在判断所述英文关键词是否与预置URL相匹配时,可以通过以下模块执行:
In this embodiment, the second determining module 10046 may perform the following modules when determining whether the English keyword matches the preset URL:
URL记录获取模块,配置为获取浏览器侧的URL历史记录和本地URL列表。The URL record obtaining module is configured to obtain a URL history record and a local URL list on the browser side.
URL匹配模块,配置为判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。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.
搜索结果信息接收模块1006,配置为接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。The search result information receiving module 1006 is configured to receive search result information generated by the search server according to the search request.
加载显示模块1008,配置为在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。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.
较佳地,所述加载显示模块1008在具体执行时可以通过以下模块实现:Preferably, 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.
又一较佳地,所述加载显示模块1008在具体执行时可以通过以下模块实现:In another preferred embodiment, 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.
在本实施例中,在所述加载显示模块1008在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,当所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,可以通过着色模块对所述地址栏中的关键词重新着色。In this embodiment, after 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 When the search result item is the official website corresponding to the keyword, 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 When 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.
在本实施例中,在所述加载显示模块1008在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,当接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,可以通过页面加载模块加载所述搜索结果项对应的页面。In this embodiment, after 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 user receives the search result information When the search result item is selected, the page corresponding to the search result item may be loaded by the page loading module.
其中,所述页面加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面,加载所述搜索结果项对应的页面;并,在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。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.
并且,and,
当所述页面对应的URL满足设定过滤标准时,可以通过隐藏模块隐藏权重为0的所述URL。When the URL corresponding to the page satisfies the setting filtering criterion, the URL with the weight 0 may be hidden by the hidden module.
其中,所述隐藏模块,配置为在所述页面加载模块加载所述搜索结果项对应的页面之后,当所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。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.
热词加载模块1010,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示一个或多个热词搜索结果项。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.
其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。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.
搜索结果信息显示模块1012,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示历史搜索结果信息;和/或,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。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.
接收模块1014,配置为接收用户在所述地址栏中输入的URL。The receiving module 1014 is configured to receive a URL input by the user in the address bar.
加载模块1016,配置为加载所述地址栏中输入的URL所指示的页面。The load module 1016 is configured to load the page indicated by the URL entered in the address bar.
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索
类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。In summary, in the embodiment, the browser side obtains the search that is being input in the address bar.
After the class keyword, 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.
进一步地,用户可以将搜索引擎设置入口下的搜索引擎选项设置为满足个人需求的搜索引擎选项,进而提高了搜索结果信息与用户喜好的匹配度。Further, 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.
参照图11,示出了发明第七实施例中一种进行搜索的装置的结构框图。在本实施例中,所述进行搜索的装置包括:Referring to Fig. 11, there is shown a block diagram showing the structure of an apparatus for performing a search in the seventh embodiment of the invention. In this embodiment, the performing the searching device includes:
入口设置模块1102,配置为在浏览器地址栏的设定位置处配置搜索引擎设置入口。The portal setting module 1102 is configured to configure a search engine setting entry at a set location of the browser address bar.
搜索引擎选项设置模块1104,配置为在所述搜索引擎设置入口下配置一个或多个搜索引擎选项。A search engine option setting module 1104 is configured to configure one or more search engine options under the search engine settings portal.
搜索引擎确定模块1106,配置为确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎。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.
调用接收模块1108,配置为调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。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.
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述
地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。In summary, in this embodiment, 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.
参照图12,示出了发明第八实施例中一种进行搜索的装置的结构框图。在本实施例中,所述进行搜索的装置包括:Referring to Fig. 12, there is shown a block diagram showing the structure of an apparatus for performing a search in the eighth embodiment of the invention. In this embodiment, the performing the searching device includes:
入口设置模块1202,配置为在浏览器地址栏的设定位置处配置搜索引擎设置入口。The portal setting module 1202 is configured to configure a search engine setting entry at a set location of the browser address bar.
较佳地,所述入口设置模块1202,具体配置为在在与所述浏览器地址栏相邻的第一设定位置处配置搜索引擎设置入口;和/或,Preferably, 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,
在所述浏览器地址栏的下拉列表中的第二设定位置处配置搜索引擎设置入口;和/或,Configuring a search engine settings entry at a second set location in a drop down list of 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.
搜索引擎选项设置模块1204,配置为在所述搜索引擎设置入口下配置一个或多个搜索引擎选项。A search engine option setting module 1204 is configured to configure one or more search engine options under the search engine settings portal.
在本实施例中,所述搜索引擎选项设置模块1204,包括:In this embodiment, the search engine option setting module 1204 includes:
属性信息获取模块12042,配置为从所述浏览器的安装目录下获取所述搜索引擎的属性信息。其中,所述属性信息包括:所述搜索引擎的名称信息、和所述搜索引擎的图标信息、和所述搜索引擎的URL信息;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;
搜索引擎选项配置模块12044,配置为根据所述属性信息,在搜索引擎设置入口下配置一个或多个与所述属性信息相匹配的搜索引擎选项。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.
搜索引擎确定模块1206,配置为确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎。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.
较佳地,所述搜索引擎确定模块1206,具体配置为确定所述搜索引擎设置入口下配置的默认搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎;或,Preferably, 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. Corresponding search engine; or,
接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎选项为所述当前设置的搜索引擎选
项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎。Receiving a selection operation request of the search engine option under the search engine setting entry, determining that the search engine option corresponding to the selection operation request is the currently set search engine selection
And, determining a search engine corresponding to the currently set search engine option.
调用接收模块1208,配置为调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。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.
在本实施例中,所述调用接收模块1208,可以包括:In this embodiment, the invoking module 1208 may include:
调用模块12082,配置为调用所述确定的搜索引擎生成携带所述浏览器地址栏中输入的搜索类关键词的搜索请求。其中,在具体实现时,所述调用模块12082可以通过以下模块执行: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.
第二调用模块,配置为在所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则调用所述确定的搜索引擎生成携带所述英文关键词的搜索请求。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.
较佳地,所述第二调用模块在判断所述英文关键词是否与预置URL相匹配时,先获取浏览器侧的URL历史记录和本地URL列表;然后,判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。Preferably, 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.
接收模块12084,配置为接收由所述搜索引擎对应的搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。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.
加载显示模块1210,配置为在所述调用接收模块调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息之后,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息。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.
在本实施例中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果
项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。In this embodiment, 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.
可选地,所述加载显示模块1210,包括:Optionally, the loading display module 1210 includes:
判断加载模块12102,配置为判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配;若是,则在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据;若否,则在所述弹窗中加载显示所述搜索结果信息。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.
可选地,所述加载显示模块1210,包括:Optionally, the loading display module 1210 includes:
加权模块12104,配置为使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理。The weighting module 12104 is configured to perform weighting processing on the search result items under the search result information using preset weights.
排序模块12106,配置为根据加权结果对所述搜索结果项进行排序。The sorting module 12106 is configured to sort the search result items according to the weighting result.
显示模块12108,配置为在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。The display module 12108 is configured to load, in the pop-up window, search result information indicating that the search result item is sorted.
在本实施例中,当所述显示模块12108在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息时,若,所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,则通过着色模块对所述地址栏中的关键词重新着色。其中,In this embodiment, when 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,
所述着色模块,配置为在所述加载显示模块1210在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,在用户触发回车操作事件时,直接访问所述官方网站。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 When 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.
页面加载模块1212,配置为在所述加载显示模块1210在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面;并,在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。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.
在本实施例中,当所述页面加载模块1212在加载所述搜索结果项对应的页面之后,还可以通过页面隐藏模块来隐藏权重为0的页面的URL。其中,
In this embodiment, after the page loading module 1212 loads the page corresponding to the search result item, the page hiding module may also hide the URL of the page with the weight 0. among them,
页面隐藏模块,配置为在所述页面加载模块加载所述搜索结果项对应的页面之后,在所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。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.
热词加载模块1214,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示一个或多个热词搜索结果项。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.
搜索结果信息加载模块1216,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后在所述弹窗中加载显示历史搜索结果信息;和/或,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。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.
URL接收模块1218,配置为接收用户在所述地址栏中输入的URL。The URL receiving module 1218 is configured to receive a URL input by the user in the address bar.
URL页面加载模块1220,配置为加载所述地址栏中输入的URL所指示的页面。The URL page loading module 1220 is configured to load the page indicated by the URL entered in the address bar.
综上所述,在本实施例中,浏览器侧在获取到地址栏中正在输入的搜索类关键词之后,依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;然后,接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;最后,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。其中,搜索请求生成发送过程和接收由搜索服务器返回的搜索结果信息都可以在后台快速进行,也即,当用户在地址栏中输入关键词后,不需要进行任何操作,搜索结果信息就可以即时地显示在所述地址栏下的弹窗中。搜索过程操作简单;可以快速获取搜索结果、搜索效率高,减少了用户的等待时间。In summary, in this embodiment, 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.
进一步地,用户可以将搜索引擎设置入口下的搜索引擎选项设置为满足个人需求的搜索引擎选项,进而提高了搜索结果信息与用户喜好的匹配度。Further, 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.
对于上述一种进行搜索的装置实施例而言,由于其与方法实施例基本相
似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可For the above-mentioned device embodiment for searching, since it is basically the same as the method embodiment
Like, so the description is relatively simple, see the partial description of the method embodiment for related information.
在此提供的算法和显示不与任何特定计算机、虚拟***或者其它设备固有相关。各种通用***也可以与基于在此的示教一起使用。根据上面的描述,构造这类***所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general purpose systems can also be used with the teaching based on the teachings herein. The structure required to construct such a system is apparent from the above description. Moreover, the invention is not directed to any particular programming language. It is to be understood that the invention may be embodied in a variety of programming language, and the description of the specific language has been described above in order to disclose the preferred embodiments of the invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, the various features of the invention are sometimes grouped together into a single embodiment, in the above description of the exemplary embodiments of the invention, Figure, or a description of it. However, the method disclosed is not to be interpreted as reflecting the intention that the claimed invention requires more features than those recited in the claims. Rather, as the following claims reflect, inventive aspects reside in less than all features of the single embodiments disclosed herein. Therefore, the claims following the specific embodiments are hereby explicitly incorporated into the embodiments, and each of the claims as a separate embodiment of the invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components. In addition to such features and/or at least some of the processes or units being mutually exclusive, any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined. Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组
合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Moreover, those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments and not other features, the group of features of the different embodiments.
It is intended that the invention be within the scope of the invention and For example, in the following claims, any one of the claimed embodiments can be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的进行搜索的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some 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. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
例如,图13示出了可以实现根据本发明的进行搜索的方法的服务器,例如应用服务器。该服务器传统上包括处理器1310和以存储器1320形式的计算机程序产品或者计算机可读介质。存储器1320可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1320具有用于执行上述方法中的任何方法步骤的程序代码1331的存储空间1330。例如,用于程序代码的存储空间1330可以包括分别用于实现上面的方法中的各种步骤的各个程序代码1331。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图14所述的便携式或者固定存储单元。该存储单元可以具有与图13的服务器中的存储器1320类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码1331’,即可以由例如诸如1310之类的处理器读取的代码,这些代码当由服务器运行时,导致该服务器执行上面所描述的方法中的各个步骤。For example, 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. For example, 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. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG. The storage unit may have 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. Typically, 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 phrase "one embodiment", "an embodiment" or "one or more embodiments" is used herein to mean that the specific features, structures, or characteristics described in connection with the embodiments are included in at least one of the present invention.
In one embodiment. In addition, it is noted that the phrase "in one embodiment" is not necessarily referring to the same embodiment.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description. It is to be noted that the above-described embodiments are illustrative of the invention and are not intended to be limiting, and that the invention may be devised without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" does not exclude the presence of the elements or steps that are not recited in the claims. The word "a" or "an" The invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。
In addition, it should be noted that the language used in the specification has been selected for the purpose of readability and teaching, and is not intended to be construed or limited. Therefore, many modifications and changes will be apparent to those skilled in the art without departing from the scope of the invention. The disclosure of the present invention is intended to be illustrative, and not restrictive, and the scope of the invention is defined by the appended claims.
Claims (66)
- 一种进行搜索的方法,包括:A method of searching, including:在浏览器地址栏处配置搜索引擎设置入口;Configure the search engine settings entry in the browser address bar;获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;Obtaining a search keyword that is input in the browser address bar, and generating a search request that carries the keyword according to a search engine option currently set by the search engine setting entry;接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;Receiving search result information generated by the search server according to the search request;在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。The search result information is loaded and displayed in a pop-up window at a position below the browser address bar.
- 如权利要求1所述的方法,其中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。The method of claim 1, wherein the search result information comprises a plurality of search result items; wherein each search result item comprises: a uniform resource locator URL corresponding to the search result item, the search result item At least one of a corresponding title and a favorite icon corresponding to the search result item.
- 如权利要求2所述的方法,其中,所述在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息,包括:The method of claim 2, wherein the displaying the search result information in a pop-up window at a position below the browser address bar comprises:判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配;Determining 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, loading the application window data that matches the search result item is loaded in the popup window;若否,则在所述弹窗中加载显示所述搜索结果信息。If not, the search result information is displayed in the popup window.
- 如权利要求2所述的方法,其中,所述在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息,包括:The method of claim 2, wherein the displaying the search result information in a pop-up window at a position below the browser address bar comprises:使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理;Weighting the search result items under the search result information using preset weights;根据加权结果对所述搜索结果项进行排序;Sorting the search result items according to the weighted result;在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。Load search result information indicating that the search result item is sorted is loaded in the popup window.
- 如权利要求2或4所述的方法,其中,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:The method according to claim 2 or 4, wherein after the step of displaying the search result information is loaded in a pop-up window at a position below the browser address bar, the method further comprises:当所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,When the search result item located at the first location under the search result information is an official website corresponding to the keyword, re-coloring the keyword in the address bar; and在用户触发回车操作事件时,直接访问所述官方网站。Direct access to the official website when the user triggers a carriage return operation event.
- 如权利要求2所述的方法,其中,在所述浏览器地址栏之下位置处 的一弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:The method of claim 2, wherein the location below the browser address bar After loading a step of displaying the search result information in a pop-up window, the method further includes:当接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面;并,Loading a page corresponding to the search result item when receiving a selection operation of the search result item under the search result information by the user; and在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。The keyword is displayed in an address column corresponding to the page to replace the URL corresponding to the page.
- 如权利要求6所述的方法,其中,在所述加载所述搜索结果项对应的页面步骤之后,所述方法还包括:The method of claim 6, wherein after the step of loading the page corresponding to the search result item, the method further comprises:当所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。When the URL corresponding to the page satisfies the setting filtering criterion, the weight of the URL corresponding to the page is set to 0, and the URL with the weight 0 is hidden in the pop-up window.
- 如权利要求1所述的方法,其中,所述获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求,包括:The method of claim 1, wherein the obtaining a search type keyword input in the browser address bar and generating a search request carrying the keyword according to a search engine option currently set by a search engine setting entry ,include:获取地址栏中正在输入的搜索类关键词;其中,所述关键词包括:英文关键词和/或中文关键词;Obtaining search keyword keywords that are being input in the address bar; wherein the keywords include: English keywords and/or Chinese keywords;当所述关键词为中文关键词、或、中文和英文关键词时,依据搜索引擎设置入口当前设置的搜索引擎选项生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求;When the keyword is a Chinese keyword, or a Chinese and an English keyword, the search engine option currently set by the search engine setting entry generates a corresponding search request carrying the Chinese keyword, or carries the Chinese and Search request for English keywords;当所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述英文关键词的搜索请求。When the keyword is an English keyword, determining whether the English keyword matches a preset URL; if yes, acquiring a URL matching the English keyword, and displaying the URL in the address bar a URL matching the English keyword; if not, generating a search request carrying the English keyword according to a search engine option currently set by the search engine setting entry.
- 如权利要求1或8所述的方法,其中,所述依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求,包括:The method according to claim 1 or 8, wherein the generating a search request carrying the keyword according to a search engine option currently set by a search engine setting entry comprises:生成与所述当前设置的搜索引擎选项所指示的搜索引擎相匹配的、且携带所述关键词的搜索请求。Generating a search request that matches the search engine indicated by the currently set search engine option and that carries the keyword.
- 如权利要求8所述的方法,其中,所述判断所述英文关键词是否与预置URL相匹配,包括:The method of claim 8, wherein the determining whether the English keyword matches a preset URL comprises:获取浏览器侧的URL历史记录和本地URL列表; Obtain a URL history record and a list of local URLs on the browser side;判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。Determining whether the English keyword matches the URL under the URL history record and the URL under the local URL list.
- 如权利要求1所述的方法,其中,所述搜索引擎设置入口下包括多个搜索引擎选项,每个搜索引擎选项对应一种搜索引擎;The method of claim 1 wherein said search engine settings entry comprises a plurality of search engine options, each search engine option corresponding to a search engine;所述依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求,包括:Generating a search request carrying the keyword according to a search engine option currently set by the search engine setting entry, including:依据搜索引擎设置入口下加载的预置默认搜索引擎选项对应的搜索引擎生成携带所述关键词的搜索请求;或,Generating a search request carrying the keyword according to a search engine corresponding to the preset default search engine option loaded under the search engine setting entry; or接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎;依据所述选择操作请求对应的搜索引擎生成携带所述关键词的搜索请求。Receiving a selection operation request of the search engine option under the search engine setting entry, and determining a search engine corresponding to the selection operation request; and the search engine corresponding to the selection operation request to generate a search request carrying the keyword.
- 如权利要求11所述的方法,其中,所述接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,包括:The method of claim 11, wherein the receiving a user selection operation request for a search engine option under the search engine setting entry comprises:接收用户对配置在所述地址栏第一预置位置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求;或,Receiving, by the user, a selection operation request for a plurality of search engine options configured under the search engine setting entry at the first preset position of the address bar; or接收用户对配置在所述地址栏第二预置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求。A selection operation request by a user for a plurality of search engine options configured under the search engine setting entry at the second preset of the address bar is received.
- 如权利要求1所述的方法,其中,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:The method of claim 1, wherein after the step of displaying the search result information in a pop-up window at a position below the browser address bar, the method further comprises:在所述弹窗中加载显示一个或多个热词搜索结果项;其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。Loading one or more hot word search result items in the popup window; wherein the hot word search result item is: a search engine search hot key indicated by a search engine option currently set by the search engine setting entry The search result item that the word gets.
- 如权利要求1所述的方法,其中,在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:The method of claim 1, wherein after the step of displaying the search result information in a pop-up window at a position below the browser address bar, the method further comprises:在所述弹窗中加载显示历史搜索结果信息;和/或,Loading historical search result information in the popup window; and/or,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。Loading search result information saved in the favorites is loaded in the popup window.
- 如权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:接收用户在所述地址栏中输入的URL; Receiving a URL entered by the user in the address bar;加载所述地址栏中输入的URL所指示的页面。Load the page indicated by the URL entered in the address bar.
- 一种进行搜索的装置,包括:A device for searching, comprising:配置模块,配置为在浏览器地址栏处配置搜索引擎设置入口;a configuration module configured to configure a search engine settings entry at a browser address bar;搜索请求生成模块,配置为获取所述浏览器地址栏中正在输入的搜索类关键词,并依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求;a search request generating module, configured to acquire a search keyword selected in the browser address bar, and generate a search request carrying the keyword according to a search engine option currently set by the search engine setting entry;搜索结果信息接收模块,配置为接收由搜索服务器返回的根据所述搜索请求而生成的搜索结果信息;a search result information receiving module configured to receive search result information generated by the search server according to the search request;加载显示模块,配置为在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息。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.
- 如权利要求16所述的装置,其中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。The apparatus of claim 16, wherein the search result information comprises a plurality of search result items; wherein each search result item comprises: a uniform resource locator URL corresponding to the search result item, the search result item At least one of a corresponding title and a favorite icon corresponding to the search result item.
- 如权利要求17所述的装置,其中,所述加载显示模块,包括:The device of claim 17, wherein the loading display module comprises:第一判断模块,配置为搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配;若是,则在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据;若否,则在所述弹窗中加载显示所述搜索结果信息。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.
- 如权利要求17所述的装置,其中,所述加载显示模块包括:The apparatus of claim 17, wherein the load display module comprises:加权模块,配置为使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理;a weighting module configured to perform weighting processing on search result items under the search result information by using preset weights;排序模块,配置为根据加权结果对所述搜索结果项进行排序;a sorting module configured to sort the search result items according to the 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.
- 如权利要求17或19所述的装置,其中,所述装置还包括:The device of claim 17 or 19, wherein the device further comprises:着色模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处 的一弹窗中加载显示所述搜索结果信息之后,在所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,在用户触发回车操作事件时,直接访问所述官方网站。a coloring module configured to be at a position below the browser address bar of the load display module After displaying the search result information in a pop-up window, when 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 Re-coloring; and, when the user triggers a carriage return operation event, directly access the official website.
- 如权利要求17所述的装置,其中,所述装置还包括:The apparatus of claim 17 wherein said apparatus further comprises:页面加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面,加载所述搜索结果项对应的页面;并,在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。a page loading module 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 a search by the user for the search result information When the result item is selected, the page corresponding to the search result item is loaded, and the page corresponding to the search result item is loaded; and the keyword is displayed in the address column corresponding to the page, instead of the page corresponding to the page URL.
- 如权利要求21所述的装置,其中,所述装置还包括:The device of claim 21, wherein the device further comprises:隐藏模块,配置为在所述页面加载模块加载所述搜索结果项对应的页面之后,当所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。a 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.
- 如权利要求16所述的装置,其中,所述搜索请求生成模块,包括:The apparatus of claim 16, wherein the search request generating module comprises:关键词获取模块,配置为获取地址栏中正在输入的搜索类关键词;其中,所述关键词包括:英文关键词和/或中文关键词;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 generating module, configured to generate a corresponding search request carrying the Chinese keyword according to a search engine option currently set by the search engine setting entry when the keyword is a Chinese keyword, or a Chinese keyword, or a search request carrying the Chinese and English keywords;第二判断模块,配置为在所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述英文关键词的搜索请求。The second determining module 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 URL matching the English keyword is displayed in the address bar; if not, the search request carrying the English keyword is generated according to the search engine option currently set by the search engine setting entry.
- 如权利要求16或23所述的装置,其中,所述搜索请求生成模块在依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求时,The apparatus according to claim 16 or 23, wherein said search request generating module generates a search request carrying said keyword when a search engine option currently set according to a search engine setting entry is generated生成与所述当前设置的搜索引擎选项所指示的搜索引擎相匹配的、且携 带所述关键词的搜索请求。Generating a match with the search engine indicated by the currently set search engine option A search request with the keyword.
- 如权利要求23所述的装置,其中,所述第二判断模块在判断所述英文关键词是否与预置URL相匹配时,The device of claim 23, wherein the second determining module determines whether the English keyword matches a preset URL,获取浏览器侧的URL历史记录和本地URL列表;Obtain a URL history record and a list of local URLs on the browser side;判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。Determining whether the English keyword matches the URL under the URL history record and the URL under the local URL list.
- 如权利要求16所述的装置,其中,所述搜索引擎设置入口下包括多个搜索引擎选项,每个搜索引擎选项对应一种搜索引擎;The apparatus of claim 16, wherein the search engine setting entry comprises a plurality of search engine options, each search engine option corresponding to a search engine;所述搜索请求生成模块在依据搜索引擎设置入口当前设置的搜索引擎选项生成携带所述关键词的搜索请求时,The search request generating module generates a search request carrying the keyword according to a search engine option currently set by the search engine setting entry.依据搜索引擎设置入口下加载的预置默认搜索引擎选项对应的搜索引擎生成携带所述关键词的搜索请求;或,Generating a search request carrying the keyword according to a search engine corresponding to the preset default search engine option loaded under the search engine setting entry; or接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎;依据所述选择操作请求对应的搜索引擎生成携带所述关键词的搜索请求。Receiving a selection operation request of the search engine option under the search engine setting entry, and determining a search engine corresponding to the selection operation request; and the search engine corresponding to the selection operation request to generate a search request carrying the keyword.
- 如权利要求26所述的装置,其中,所述搜索请求生成模块在接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求时,The apparatus of claim 26, wherein the search request generation module, upon receiving a user selection operation request for a search engine option under the search engine setting entry,接收用户对配置在所述地址栏第一预置位置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求;或,Receiving, by the user, a selection operation request for a plurality of search engine options configured under the search engine setting entry at the first preset position of the address bar; or接收用户对配置在所述地址栏第二预置处的搜索引擎设置入口下的多个搜索引擎选项的选择操作请求。A selection operation request by a user for a plurality of search engine options configured under the search engine setting entry at the second preset of the address bar is received.
- 如权利要求16所述的装置,其中,所述装置还包括:The device of claim 16 wherein said device further comprises:热词加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示一个或多个热词搜索结果项;a hot word loading module, 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.
- 如权利要求16所述的装置,其中,所述装置还包括: The device of claim 16 wherein said device further comprises:搜索结果信息显示模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的一弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示历史搜索结果信息;和/或,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。a search result information display module, configured to load display historical search results 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 Information; and/or loading the search result information stored in the favorite folder in the popup window.
- 如权利要求16所述的装置,其中,所述装置还包括:The device of claim 16 wherein said device further comprises:接收模块,配置为接收用户在所述地址栏中输入的URL;a receiving module configured to receive a URL input by the user in the address bar;加载模块,配置为加载所述地址栏中输入的URL所指示的页面。The load module is configured to load the page indicated by the URL entered in the address bar.
- 一种进行搜索的方法,包括:A method of searching, including:在浏览器地址栏的设定位置处配置搜索引擎设置入口,并在所述搜索引擎设置入口下配置一个或多个搜索引擎选项;Configuring a search engine settings portal at a set location of the browser address bar and configuring one or more search engine options under the search engine settings portal;确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎;Determining a search engine corresponding to a search engine option currently set under the search engine setting entry;调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。The determined search engine is called to search for the search keyword input in the browser address field, and the search result information is received.
- 如权利要求31所述的方法,其中,所述在所述搜索引擎设置入口下配置一个或多个搜索引擎选项,包括:The method of claim 31 wherein said configuring one or more search engine options under said search engine settings entry comprises:从所述浏览器的安装目录下获取所述搜索引擎的属性信息;其中,所述属性信息包括:所述搜索引擎的名称信息、和所述搜索引擎的图标信息、和所述搜索引擎的URL信息;Acquiring attribute information of the search engine from an installation directory of the browser; wherein the attribute information includes: name information of the search engine, icon information of the search engine, and a URL of the search engine information;根据所述属性信息,在搜索引擎设置入口下配置一个或多个与所述属性信息相匹配的搜索引擎选项。According to the attribute information, one or more search engine options matching the attribute information are configured under the search engine setting entry.
- 如权利要求31所述的方法,其中,所述在浏览器地址栏的设定位置处配置搜索引擎设置入口,包括:The method of claim 31, wherein the configuring a search engine setting entry at a set location of a browser address bar comprises:在与所述浏览器地址栏相邻的第一设定位置处配置搜索引擎设置入口;和/或,Configuring a search engine settings entry at a first set location adjacent to the browser address bar; and/or,在所述浏览器地址栏的下拉列表中的第二设定位置处配置搜索引擎设置入口;和/或, Configuring a search engine settings entry at a second set location in a drop down list of 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.
- 如权利要求31所述的方法,其中,在所述调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息步骤之后,所述方法还包括:The method according to claim 31, wherein after said invoking said determined search engine to search for a search type keyword input in said browser address field, said step of receiving search result information, said method further comprising :在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息。The search result information is loaded and displayed in a pop-up window at a position below the browser address bar.
- 如权利要求34所述的方法,其中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。The method of claim 34, wherein the search result information comprises a plurality of search result items; wherein each search result item comprises: a uniform resource locator URL corresponding to the search result item, the search result item At least one of a corresponding title and a favorite icon corresponding to the search result item.
- 如权利要求35所述的方法,其中,所述在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息,包括:The method of claim 35, wherein the loading and displaying the search result information in a pop-up window at a position below the browser address bar comprises:判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配;Determining 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, loading the application window data that matches the search result item is loaded in the popup window;若否,则在所述弹窗中加载显示所述搜索结果信息。If not, the search result information is displayed in the popup window.
- 如权利要求35所述的方法,其中,所述在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息,包括:The method of claim 35, wherein the loading and displaying the search result information in a pop-up window at a position below the browser address bar comprises:使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理;Weighting the search result items under the search result information using preset weights;根据加权结果对所述搜索结果项进行排序;Sorting the search result items according to the weighted result;在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。Load search result information indicating that the search result item is sorted is loaded in the popup window.
- 如权利要求35或37所述的方法,其中,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:The method of claim 35 or 37, wherein after the step of displaying the search result information is loaded in a pop-up window at a position below the browser address bar, the method further comprises:当所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,When the search result item located at the first location under the search result information is an official website corresponding to the keyword, re-coloring the keyword in the address bar; and在用户触发回车操作事件时,直接访问所述官方网站。Direct access to the official website when the user triggers a carriage return operation event.
- 如权利要求35所述的方法,其中,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括: The method of claim 35, wherein after the step of displaying the search result information in a pop-up window at a position below the browser address bar, the method further comprises:当接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面;并,Loading a page corresponding to the search result item when receiving a selection operation of the search result item under the search result information by the user; and在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。The keyword is displayed in an address column corresponding to the page to replace the URL corresponding to the page.
- 如权利要求39所述的方法,其中,在所述加载所述搜索结果项对应的页面步骤之后,所述方法还包括:The method of claim 39, wherein after the step of loading the page corresponding to the search result item, the method further comprises:当所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。When the URL corresponding to the page satisfies the setting filtering criterion, the weight of the URL corresponding to the page is set to 0, and the URL with the weight 0 is hidden in the pop-up window.
- 如权利要求31所述的方法,其中,所述调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息,包括:The method of claim 31, wherein the invoking the determined search engine to search for a search keyword input in the browser address field to receive search result information comprises:调用所述确定的搜索引擎生成携带所述浏览器地址栏中输入的搜索类关键词的搜索请求;Invoking the determined search engine to generate a search request carrying a search keyword input in the browser address field;接收由所述搜索引擎对应的搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。Receiving search result information generated according to the search request returned by the search server corresponding to the search engine.
- 如权利要求41所述的方法,其中,所述调用所述确定的搜索引擎生成携带所述浏览器地址栏中正在输入的搜索类关键词的搜索请求,包括:The method of claim 41, wherein said invoking said determined search engine to generate a search request carrying a search category keyword being entered in said browser address bar comprises:获取地址栏中正在输入的搜索类关键词;其中,所述关键词包括:英文关键词和/或中文关键词;Obtaining search keyword keywords that are being input in the address bar; wherein the keywords include: English keywords and/or Chinese keywords;当所述关键词为中文关键词、或、中文和英文关键词时,调用所述确定的搜索引擎生成对应的携带所述中文关键词的搜索请求,或,携带所述中文和英文关键词的搜索请求;When the keyword is a Chinese keyword, or a Chinese keyword and a Chinese keyword, 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当所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则调用所述确定的搜索引擎生成携带所述英文关键词的搜索请求。When the keyword is an English keyword, determining whether the English keyword matches a preset URL; if yes, acquiring a URL matching the English keyword, and displaying the URL in the address bar a URL matching the English keyword; if not, calling the determined search engine to generate a search request carrying the English keyword.
- 如权利要求42所述的方法,其中,所述判断所述英文关键词是否与预置URL相匹配,包括: The method of claim 42, wherein the determining whether the English keyword matches a preset URL comprises:获取浏览器侧的URL历史记录和本地URL列表;Obtain a URL history record and a list of local URLs on the browser side;判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。Determining whether the English keyword matches the URL under the URL history record and the URL under the local URL list.
- 如权利要求31所述的方法,其中,所述确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎,包括:The method of claim 31, wherein the determining a search engine corresponding to a search engine option currently set under the search engine setting entry comprises:确定所述搜索引擎设置入口下配置的默认搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎;或,Determining that the default search engine option configured under the search engine setting entry is the currently set search engine option, and determining a search engine corresponding to the currently set search engine option; or接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎。Receiving a selection operation request of the search engine option under the search engine setting entry, determining a search engine option corresponding to the selection operation request as the currently set search engine option, and determining the currently set search engine The search engine corresponding to the option.
- 如权利要求34所述的方法,其中,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:The method of claim 34, wherein after the step of displaying the search result information in a pop-up window at a position below the browser address bar, the method further comprises:在所述弹窗中加载显示一个或多个热词搜索结果项;其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。Loading one or more hot word search result items in the popup window; wherein the hot word search result item is: a search engine search hot key indicated by a search engine option currently set by the search engine setting entry The search result item that the word gets.
- 如权利要求34所述的方法,其中,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息的步骤之后,所述方法还包括:The method of claim 34, wherein after the step of displaying the search result information in a pop-up window at a position below the browser address bar, the method further comprises:在所述弹窗中加载显示历史搜索结果信息;和/或,Loading historical search result information in the popup window; and/or,在所述弹窗中加载显示收藏夹中保存的搜索结果信息。Loading search result information saved in the favorites is loaded in the popup window.
- 如权利要求31所述的方法,其中,所述方法还包括:The method of claim 31, wherein the method further comprises:接收用户在所述地址栏中输入的URL;Receiving a URL entered by the user in the address bar;加载所述地址栏中输入的URL所指示的页面。Load the page indicated by the URL entered in the address bar.
- 一种进行搜索的装置,包括:A device for searching, comprising:入口设置模块,配置为在浏览器地址栏的设定位置处配置搜索引擎设置入口;An entry setting module configured to configure a search engine setting entry at a set location of a browser address bar;搜索引擎选项设置模块,配置为在所述搜索引擎设置入口下配置一个或 多个搜索引擎选项;a search engine option setting module configured to configure one or under the search engine settings entry Multiple search engine options;搜索引擎确定模块,配置为确定所述搜索引擎设置入口下当前设置的搜索引擎选项对应的搜索引擎;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;调用接收模块,配置为调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息。The receiving module 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.
- 如权利要求48所述的装置,其中,所述搜索引擎选项设置模块,包括:The device of claim 48, wherein the search engine option setting module comprises:属性信息获取模块,配置为从所述浏览器的安装目录下获取所述搜索引擎的属性信息;其中,所述属性信息包括:所述搜索引擎的名称信息、和所述搜索引擎的图标信息、和所述搜索引擎的URL信息;An attribute information obtaining module, configured to acquire attribute information of the search engine from an installation directory of the browser, where the attribute information includes: name information of the search engine, and icon information of the search engine, And URL information of the search engine;搜索引擎选项配置模块,配置为根据所述属性信息,在搜索引擎设置入口下配置一个或多个与所述属性信息相匹配的搜索引擎选项。The search engine option configuration module is configured to configure one or more search engine options matching the attribute information under the search engine settings entry according to the attribute information.
- 如权利要求48所述的装置,其中,The device of claim 48, wherein所述入口设置模块,配置为在在与所述浏览器地址栏相邻的第一设定位置处配置搜索引擎设置入口;和/或,The portal setting module is configured to configure a search engine setting entry at a first set location adjacent to the browser address bar; and/or,在所述浏览器地址栏的下拉列表中的第二设定位置处配置搜索引擎设置入口;和/或,Configuring a search engine settings entry at a second set location in a drop down list of 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.
- 如权利要求48所述的装置,其中,所述装置还包括:The device of claim 48, wherein the device further comprises:加载显示模块,配置为在所述调用接收模块调用所述确定的搜索引擎对所述浏览器地址栏中输入的搜索类关键词进行搜索,接收搜索结果信息之后,在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息。Loading a display module, configured to: after the call 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 by loading in the popup window at the lower position.
- 如权利要求51所述的装置,其中,所述搜索结果信息包括多个搜索结果项;其中,每个搜索结果项包括:所述搜索结果项对应的统一资源定位符URL、所述搜索结果项对应的标题、和所述搜索结果项对应的收藏夹图标中的至少一项。The apparatus of claim 51, wherein the search result information comprises a plurality of search result items; wherein each search result item comprises: a uniform resource locator URL corresponding to the search result item, the search result item At least one of a corresponding title and a favorite icon corresponding to the search result item.
- 如权利要求52所述的装置,其中,所述加载显示模块,包括: The device of claim 52, wherein the loading display module comprises:判断加载模块,配置为判断所述搜索结果信息下的搜索结果项与按照预定模板生成的应用框数据的规则是否匹配;若是,则在所述弹窗中加载显示与所述搜索结果项匹配的应用框数据;若否,则在所述弹窗中加载显示所述搜索结果信息。Determining, by the loading module, whether the 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 the display in the pop-up window to match the search result item Applying frame data; if not, loading and displaying the search result information in the popup window.
- 如权利要求52所述的装置,其中,所述加载显示模块,包括:The device of claim 52, wherein the loading display module comprises:加权模块,配置为使用预置权重对所述搜索结果信息下的搜索结果项进行加权处理;a weighting module configured to perform weighting processing on search result items under the search result information by using preset weights;排序模块,配置为根据加权结果对所述搜索结果项进行排序;a sorting module configured to sort the search result items according to the weighted result;显示模块,配置为在所述弹窗中加载显示完成搜索结果项排序的搜索结果信息。And a display module configured to load, in the pop-up window, search result information indicating that the search result item is sorted.
- 如权利要求52或54所述的装置,其中,所述装置还包括:The device of claim 52 or 54, wherein the device further comprises:着色模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在所述搜索结果信息下的位于第一位置的搜索结果项为所述关键词对应的官方网站时,对所述地址栏中的关键词重新着色;并,a coloring module configured to: after the loading display module loads the display of the search result information in a pop-up window at a position below the browser address bar, the search result located at the first location under the search result information When the item is the official website corresponding to the keyword, the keyword in the address bar is recolored; and,在用户触发回车操作事件时,直接访问所述官方网站。Direct access to the official website when the user triggers a carriage return operation event.
- 如权利要求52所述的装置,其中,所述装置还包括:The device of claim 52, wherein the device further comprises:页面加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在接收到用户对所述搜索结果信息下的搜索结果项的选择操作时,加载所述搜索结果项对应的页面;并,a page loading module 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 a search result of the user under the search result information Loading a page corresponding to the search result item when the item is selected; and在所述页面对应的地址栏中显示所述关键词,以替代所述页面对应的URL。The keyword is displayed in an address column corresponding to the page to replace the URL corresponding to the page.
- 如权利要求56所述的装置,其中,所述装置还包括:The device of claim 56, wherein the device further comprises:页面隐藏模块,配置为在所述页面加载模块加载所述搜索结果项对应的页面之后,在所述页面对应的URL满足设定过滤标准时,将所述页面对应的URL的权重设置为0,在所述弹窗中隐藏权重为0的所述URL。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.
- 如权利要求48所述的装置,其中,所述调用接收模块,包括:The device of claim 48, wherein the invoking module comprises:调用模块,配置为调用所述确定的搜索引擎生成携带所述浏览器地址栏 中输入的搜索类关键词的搜索请求;Calling a module configured to invoke the determined search engine to generate the browser address bar a search request for a search keyword entered in the search;接收模块,配置为接收由所述搜索引擎对应的搜索服务器返回的根据所述搜索请求而生成的搜索结果信息。The receiving module is configured to receive search result information generated according to the search request returned by the search server corresponding to the search engine.
- 如权利要求58所述的装置,其中,所述调用模块,包括:The device of claim 58, wherein the calling module comprises:关键词获取模块,配置为获取地址栏中正在输入的搜索类关键词;其中,所述关键词包括:英文关键词和/或中文关键词;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;第二调用模块,配置为在所述关键词为英文关键词时,判断所述英文关键词是否与预置URL相匹配;若是,则获取与所述英文关键词相匹配的URL,并在所述地址栏中显示所述与所述英文关键词相匹配的URL;若否,则调用所述确定的搜索引擎生成携带所述英文关键词的搜索请求。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.
- 如权利要求59所述的装置,其中,所述第二调用模块在判断所述英文关键词是否与预置URL相匹配时,The apparatus of claim 59, wherein the second calling module determines whether the English keyword matches a preset URL,获取浏览器侧的URL历史记录和本地URL列表;Obtain a URL history record and a list of local URLs on the browser side;判断所述英文关键词是否与所述URL历史记录下的URL,和本地URL列表下的URL相匹配。Determining whether the English keyword matches the URL under the URL history record and the URL under the local URL list.
- 如权利要求48所述的装置,其中,The device of claim 48, wherein所述搜索引擎确定模块,配置为确定所述搜索引擎设置入口下配置的默认搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎;或,The search engine determining module is configured to determine that a default search engine option configured under the search engine setting entry is the currently set search engine option, and determine a search engine corresponding to the currently set search engine option; or ,接收用户对所述搜索引擎设置入口下的搜索引擎选项的选择操作请求,确定所述选择操作请求对应的搜索引擎选项为所述当前设置的搜索引擎选项,并,确定所述当前设置的搜索引擎选项对应的搜索引擎。Receiving a selection operation request of the search engine option under the search engine setting entry, determining a search engine option corresponding to the selection operation request as the currently set search engine option, and determining the currently set search engine The search engine corresponding to the option.
- 如权利要求51所述的装置,其中,所述装置还包括:The device of claim 51, wherein the device further comprises:热词加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后,在所述弹窗中加载显示一个 或多个热词搜索结果项;其中,所述热词搜索结果项为:通过所述搜索引擎设置入口当前设置的搜索引擎选项所指示的搜索引擎搜索热门关键词得到的搜索结果项。a hot word loading module configured to load and display the search result information in the popup window at a position below the browser address bar of the loading display module Or a plurality of hot word search result items; wherein 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.
- 如权利要求51所述的装置,其中,所述装置还包括:The device of claim 51, wherein the device further comprises:搜索结果信息加载模块,配置为在所述加载显示模块在所述浏览器地址栏之下位置处的弹窗中加载显示所述搜索结果信息之后在所述弹窗中加载显示历史搜索结果信息;和/或,a search result information loading module, configured to load 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 search result information saved in the favorites is loaded in the popup window.
- 如权利要求48所述的装置,其中,所述装置还包括:The device of claim 48, wherein the device further comprises:URL接收模块,配置为接收用户在所述地址栏中输入的URL;a URL receiving module, configured to receive a URL input by the user in the address bar;URL页面加载模块,配置为加载所述地址栏中输入的URL所指示的页面。The URL page loading module is configured to load the page indicated by the URL entered in the address bar.
- 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在服务器上运行时,导致所述服务器执行根据权利要求1-15中的任一个所述的进行搜索的方法,或者,导致所述服务器执行根据权利要求31-47中的任一个所述的进行搜索的方法。A computer program comprising computer readable code, when said computer readable code is run on a server, causing said server to perform a method of performing a search according to any of claims 1-15, or The server performs the method of performing a search according to any one of claims 31-47.
- 一种计算机可读介质,其中存储了如权利要求65所述的计算机程序。 A computer readable medium storing the computer program of claim 65.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410126400.7A CN103955471A (en) | 2014-03-31 | 2014-03-31 | Method and device for searching |
CN201410126672.7A CN103955473A (en) | 2014-03-31 | 2014-03-31 | Method and device for searching |
CN201410126400.7 | 2014-03-31 | ||
CN201410126672.7 | 2014-03-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015149642A1 true WO2015149642A1 (en) | 2015-10-08 |
Family
ID=54239386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/075040 WO2015149642A1 (en) | 2014-03-31 | 2015-03-25 | Search method and apparatus |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2015149642A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111753165A (en) * | 2019-03-28 | 2020-10-09 | 阿里巴巴集团控股有限公司 | Search information processing method and device and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751428A (en) * | 2008-12-12 | 2010-06-23 | 汉王科技股份有限公司 | Information search method and device |
CN102930057A (en) * | 2012-11-21 | 2013-02-13 | 北京奇虎科技有限公司 | Search implementation method and device |
CN102930058A (en) * | 2012-11-21 | 2013-02-13 | 北京奇虎科技有限公司 | Method and device for realizing search in address field of browser |
CN103617278A (en) * | 2013-12-09 | 2014-03-05 | 北京奇虎科技有限公司 | Control method and device for address bar searching |
CN103955471A (en) * | 2014-03-31 | 2014-07-30 | 北京奇虎科技有限公司 | Method and device for searching |
CN103955473A (en) * | 2014-03-31 | 2014-07-30 | 北京奇虎科技有限公司 | Method and device for searching |
-
2015
- 2015-03-25 WO PCT/CN2015/075040 patent/WO2015149642A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751428A (en) * | 2008-12-12 | 2010-06-23 | 汉王科技股份有限公司 | Information search method and device |
CN102930057A (en) * | 2012-11-21 | 2013-02-13 | 北京奇虎科技有限公司 | Search implementation method and device |
CN102930058A (en) * | 2012-11-21 | 2013-02-13 | 北京奇虎科技有限公司 | Method and device for realizing search in address field of browser |
CN103617278A (en) * | 2013-12-09 | 2014-03-05 | 北京奇虎科技有限公司 | Control method and device for address bar searching |
CN103955471A (en) * | 2014-03-31 | 2014-07-30 | 北京奇虎科技有限公司 | Method and device for searching |
CN103955473A (en) * | 2014-03-31 | 2014-07-30 | 北京奇虎科技有限公司 | Method and device for searching |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111753165A (en) * | 2019-03-28 | 2020-10-09 | 阿里巴巴集团控股有限公司 | Search information processing method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102006396B1 (en) | Identifying matching applications based on browsing activity | |
CN106980700B (en) | Method for searching network on browser side and browser | |
JP5425140B2 (en) | System and method for providing search results | |
WO2015070673A1 (en) | Method for browser-side network search and browser | |
EP3809283A1 (en) | Searching structured and unstructured data sets | |
US20160283055A1 (en) | Customized contextual user interface information displays | |
CN109948073B (en) | Content retrieval method, terminal, server, electronic device, and storage medium | |
US20160320950A1 (en) | Information search navigation method and apparatus | |
WO2014032579A1 (en) | A method and apparatus for displaying information | |
CN105095231A (en) | Method and device for presenting search result | |
US11157576B2 (en) | Method, system and terminal for performing search in a browser | |
CN110968998A (en) | Intelligent prediction input method and system | |
WO2016176099A1 (en) | Information search navigation method and apparatus | |
CN103955473A (en) | Method and device for searching | |
CN106919593B (en) | Searching method and device | |
CN104933099B (en) | Method and device for providing target search result for user | |
US20180018389A1 (en) | Method and apparatus for keyword-based text retrieval | |
US9201951B2 (en) | System and method for providing search results | |
EP2306306A2 (en) | Method for providing widget and apparatus for providing and displaying the same | |
US11636170B1 (en) | Normalizing uniform resource locators | |
WO2015149642A1 (en) | Search method and apparatus | |
US20160373554A1 (en) | Computer-readable recording medium, web access method, and web access device | |
KR102051507B1 (en) | Method for providing web browser and terminal device using the same | |
KR100783270B1 (en) | Relation method for wireless service by recognize mobile tag in web page | |
JP6848946B2 (en) | Information processing equipment, information processing methods and programs |
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 |