WO2015154270A1 - 一种信息搜索的方法以及装置 - Google Patents

一种信息搜索的方法以及装置 Download PDF

Info

Publication number
WO2015154270A1
WO2015154270A1 PCT/CN2014/075033 CN2014075033W WO2015154270A1 WO 2015154270 A1 WO2015154270 A1 WO 2015154270A1 CN 2014075033 W CN2014075033 W CN 2014075033W WO 2015154270 A1 WO2015154270 A1 WO 2015154270A1
Authority
WO
WIPO (PCT)
Prior art keywords
search
bookmark
bookmark url
page
query keyword
Prior art date
Application number
PCT/CN2014/075033
Other languages
English (en)
French (fr)
Inventor
井皓
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Priority to EP14889076.7A priority Critical patent/EP2998885A4/en
Priority to US14/895,961 priority patent/US10095791B2/en
Priority to CN201480002514.9A priority patent/CN104704495B/zh
Priority to PCT/CN2014/075033 priority patent/WO2015154270A1/zh
Publication of WO2015154270A1 publication Critical patent/WO2015154270A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for information search. Background technique
  • the embodiment of the invention provides a method and a device for searching for information, which can search the website which the user really needs more comprehensively and accurately, so as to improve the search accuracy.
  • a first aspect of the present invention provides a method for information search, including:
  • a page tag entry corresponding to the target bookmark URL is displayed.
  • the obtaining the target bookmark URL according to the query keyword and the bookmark URL includes: Sending the search request information associated with the query keyword and the bookmark URL to the search server when the page pointed to by the bookmark URL is not loaded, or the page pointed to by the bookmark URL cannot be successfully loaded;
  • the sending the search request information associated with the query keyword and the bookmark URL to the search server includes:
  • the first search request includes at least: an address of the search server, a bookmark web address, and the query keyword.
  • the sending the search request information associated with the query keyword and the bookmark URL to the search server includes:
  • the second search request includes at least: an address of the search server, the query keyword, and all the bookmark URLs.
  • a fourth possible implementation Determining, according to the search result, that the page pointed to by the bookmark URL includes the query keyword, determining that the bookmark URL corresponding to the page that includes the query keyword is the target bookmark URL, including: Determining whether a network address exists in the search result returned by the search server, where the network address is an address that is searched by the search server and corresponding to a page that includes the query keyword; if it is determined that the network address exists, Determining whether the network address in the search result matches the bookmark URL;
  • the method further includes:
  • a second aspect of the present invention provides an information search apparatus, including:
  • a first obtaining module configured to obtain a query keyword and a bookmark URL input by the user
  • the second obtaining module includes:
  • a sending unit configured to send a search request information associated with the query keyword and the bookmark URL to a search when the page pointed to by the bookmark URL is not loaded, or the page pointed to by the bookmark URL cannot be successfully loaded
  • a result receiving unit configured to receive the search result obtained by the search server searching for the page pointed to by the bookmark website
  • a determining unit configured to: when determining, according to the search result, that the page pointed to by the bookmark web address includes the query keyword, determine a bookmark URL corresponding to a page that includes the query keyword The target bookmark URL.
  • the sending unit includes:
  • a first creating subunit configured to separately create a first search request associated with the query keyword for each of the bookmark URLs
  • a first request sending subunit configured to separately send the created first search request to the search server
  • the first search request includes at least: an address of the search server, a bookmark web address, and the query keyword.
  • the sending unit includes:
  • a second creating subunit configured to create a second search request associated with the query keyword for all of the bookmark URLs
  • a second request sending subunit configured to send the second search request to the search server, where the second search request at least includes: an address of the search server, the query keyword, and all The bookmark URL.
  • the determining unit includes:
  • a first determining sub-unit configured to determine whether a network address exists in the search result returned by the search server, where the network address is an address that is searched by the search server and corresponds to a page that includes the query keyword;
  • a second determining subunit configured to determine, if the first determining subunit determines that the network address exists, whether the network address in the search result matches the bookmark website address;
  • the target determining sub-unit is configured to determine that the bookmark URL matching the network address in the search result is a target bookmark URL.
  • the method further includes:
  • a first jump module configured to jump to a page pointed to by the target bookmark URL when detecting a click operation on the page label entry
  • a second jump module configured to: when detecting a click operation on the page tag entry, jump to a page pointed to by the webpage snapshot address corresponding to the target bookmark URL.
  • a third aspect of the invention provides a computer storage medium
  • the computer storage medium can store a program that, when executed, includes some or all of the steps of a method of information search provided by the first aspect.
  • a fourth aspect of the present invention provides an information search apparatus, including: a processor, a communication interface, and a memory, wherein
  • the communication interface is configured to communicate with a search server
  • the memory is used to store a program
  • the processor is configured to execute the program to implement
  • a page tag entry corresponding to the target bookmark URL is displayed.
  • the processor is specifically configured to:
  • the search request information associated with the query keyword and the bookmark URL is sent to the search server;
  • the processor is specifically configured to: Creating a first search request associated with the query keyword for each of the bookmark URLs;
  • the first search request includes at least: an address of the search server, a bookmark web address, and the query keyword.
  • the processor is specifically configured to:
  • the second search request includes at least: an address of the search server, the query keyword, and all the bookmark URLs.
  • the processor is specifically used to:
  • Determining whether a network address exists in the search result returned by the search server where the network address is an address that is searched by the search server and corresponding to a page that includes the query keyword; if it is determined that the network address exists, Determining whether the network address in the search result matches the bookmark URL;
  • the processor is further configured to:
  • the page When a click operation on the page tag entry is detected, the page is directed to the page snapshot address corresponding to the target bookmark URL.
  • the embodiment of the present invention obtains the target bookmark URL, and since the page pointed to by the target bookmark web address includes the query keyword, the target bookmark URL obtained by the final search will be more comprehensive and accurate, so that the user can truly Search for the URL you need to improve query efficiency and search accuracy.
  • FIG. 1 is a schematic flowchart of a method for information search according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for information search according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an information search apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a second acquiring module according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a sending unit according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a determining unit according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another information search apparatus according to an embodiment of the present invention. detailed description
  • FIG. 1 is a schematic flowchart of a method for information search according to an embodiment of the present invention, where the method includes: 5101, obtaining a query keyword and a bookmark URL input by the user;
  • the browser may obtain the query keyword and the bookmark URL input by the user, and the bookmark URL may be a favorite in the browser and/or in the browsing history.
  • the bookmark web address may also be from other areas in the user terminal where the web address is stored, such as a web address stored in the text message.
  • the query keyword may be a query keyword input by the user.
  • the user may input a keyword such as a smartphone or a tablet to find a bookmark URL associated with a keyword such as a smartphone or a tablet.
  • the browser can also provide users with search options for users to search in favorites and/or browsing history.
  • search options can include favorites, browsing history, browsing time range, etc., narrowing the search by selecting search options. To improve search efficiency.
  • the browser may obtain the target bookmark address according to the query keyword and the bookmark URL, and the page pointed to by the target bookmark URL includes the query keyword.
  • the manner in which the browser obtains the target bookmark URL may be: the browser sends the search request information associated with the query keyword and the bookmark URL to the search server, so that the search server loads according to the search request information.
  • the search server may search whether the page pointed to by each bookmark web address contains the query keyword and return the search result to the browser, and the browser may The search result obtains the target bookmark URL, and the search server may be a background server of the search website. Since the search server loads and searches each bookmark URL, the browser can obtain the target bookmark URL without loading the bookmark URL, thereby reducing the network traffic and operating pressure of the user terminal.
  • the browser may display a page label entry corresponding to the target bookmark URL, where the page label entry may be a website name of the bookmark URL, for example, a bookmark URL is “ Www.baidu.com”, the corresponding page label entry can be "Baidu”.
  • the searched page tag entries are comprehensive and accurate, so that the user can quickly find the really desired URL. Improve query efficiency.
  • the search server searches the page pointed to by each bookmark URL to include the query keyword and returns the search result to the browser, so that the browser can obtain the target bookmark URL according to the search result, because the target bookmark URL
  • the page pointed to contains the query keyword, so the target bookmark URL obtained in the final search will be more comprehensive and accurate, so that the user can actually search for the required URL, thereby improving the efficiency and accuracy of the query;
  • the search server searches for the content of the page, so there is no need to load the un-cached bookmark URL on the browser side for searching, thereby reducing the network traffic and running pressure of the user terminal.
  • FIG. 2 is a schematic flowchart diagram of another method for information search according to an embodiment of the present invention, where the method includes:
  • the browser may obtain the query keyword and the bookmark URL input by the user, and the bookmark URL may be a favorite in the browser and/or in the browsing history.
  • the bookmark web address may also be from other areas in the user terminal where the web address is stored, such as a web address stored in the text message.
  • the query keyword may be a query keyword input by the user.
  • the user may input a keyword such as a smartphone or a tablet to find a bookmark URL associated with a keyword such as a smartphone or a tablet.
  • the browser can also provide users with search options for users to search in favorites and/or browsing history.
  • search options can include favorites, browsing history, browsing time range, etc., narrowing the search by selecting search options. To improve search efficiency.
  • the browser may send the query keyword and the bookmark URL.
  • the search request information is sent to the search server to enable the search server to complete the search function, and the search server may be a background server for searching the website.
  • the browser may choose not to load all bookmark URLs at the beginning, at this time, the browser will send search request information associated with the query keyword and all bookmark URLs to the search server; or, the browser may also select from the beginning Loading all bookmark URLs, at this point, the browser can directly search for the page pointed to by the bookmark URL that can be successfully loaded. For bookmark URLs that cannot be successfully loaded, the browser can send the bookmark URL associated with the query keyword and the unsuccessfully loaded bookmark URL. Search for request information to the search server.
  • the search request information associated with the query keyword and the bookmark URL may include: a first search request carrying the query keyword and one of the bookmark URLs, carrying the query keyword and all bookmark URLs The second search request.
  • the first search request includes at least: an address of the search server, a bookmark web address, and the query keyword;
  • the first search string includes at least: a search server address string, a bookmark URL string, a query keyword string, and other related search parameters.
  • the search server address string in the first search string corresponding to a bookmark URL may be: http://www.google.eom/#;
  • the format of the URL string can be "+inurl: bookmark URL link", so the bookmark URL string corresponding to the bookmark URL can be:
  • the first search string should be:
  • the browser sends the created first search request to the search server separately, and the search server may separately parse each first search request to obtain the first search string carried in the first search request, and according to the first The bookmark URL string and the query keyword string in a search string search for the page pointed to by the bookmark URL.
  • the step of sending the search request information associated with the query keyword and the bookmark URL to the search server in the embodiment of the present invention may specifically include:
  • the second search request at least includes: an address of the search server, the query keyword, and all the bookmark URLs;
  • the second search request may carry a second search string and a header field for storing the bookmark URL.
  • the second search string includes at least: a search server address string, a query key string, and other related search parameters.
  • the search server address string in the second search string may be: http: ⁇ www.google.com.hk /;
  • a header field for storing the bookmark URL may be created in the HTTP protocol, that is, the bookmark URL is stored in the newly created header field.
  • the header field created is TargetURLs:
  • the structure of the created second search request may be:
  • TargetURLs [http://developer.android om/about/index.html], [http://www.w3.org/2007/03/HTML-WG-charter.html], [http://en. Wikipedia.org/wikiAVeb_bro wser]
  • the browser sends the created second search request to the search server, and the search server may parse the second search request to obtain the second search string and the header field carried in the second search request, and according to the second The query keyword string in the search string and the bookmark URL stored in the header field search for the page pointed to by each bookmark URL.
  • the search server may search for a page pointed to by the bookmark webpage according to the first search request or the second search request, and detect whether the query keyword is included in the page pointed to by the bookmark web address. In order to obtain the search result, at this time, the browser can receive the search result returned by the search server. If the search result includes a network address, the page pointed to by the website address includes the query keyword.
  • the browser may determine that the bookmark URL corresponding to the page that includes the query keyword is targeted.
  • the bookmark URL that is, the page pointed to by the target bookmark URL must contain the query keyword.
  • the browser may display a page label entry corresponding to the target bookmark URL, where the page label entry may be a website name of the bookmark URL, for example, a bookmark URL is “ Www.baidu.com", the corresponding page label entry can be "100 "”.
  • the page tag entries displayed in the browser's search results interface may not contain the query keywords, the page content corresponding to the page tag entries contains the query keywords, therefore, The searched page tag entries are comprehensive and accurate, allowing users to quickly find the URL they really want and improve query efficiency.
  • the page tag entry may carry the target bookmark URL, and after the user clicks on the displayed page tag entry, the browser may jump to the page pointed to by the target bookmark URL.
  • the page label entry may further carry a web page snapshot address corresponding to the target bookmark web address, and after the user clicks the displayed page tab item, the browser may jump to the target bookmark web address.
  • the page pointed to by the page snapshot address By using a web page snapshot address, you can let users see the page pointed to by the bookmark URL that the browser could not successfully load.
  • the specific process of obtaining the webpage snapshot address may be: when the search server obtains the search result, the webpage snapshot address corresponding to each network address in the search result is obtained; when the browser obtains the target bookmark webpage according to the search result, The target bookmark URL is replaced with a corresponding webpage snapshot address, so that the displayed page label entry may carry a webpage snapshot address corresponding to the target bookmark webpage.
  • the search server searches the page pointed to by each bookmark URL to include the query keyword and returns the search result to the browser, so that the browser can obtain the target bookmark URL according to the search result, because the target bookmark URL
  • the page pointed to contains the query keyword, so the target bookmark URL obtained in the final search will be more comprehensive and accurate, so that the user can actually search for the required URL, thereby improving the efficiency and accuracy of the query;
  • the search server searches for the content of the page, so there is no need to load the un-cached bookmark URL on the browser side for searching, thereby reducing the network traffic and running pressure of the user terminal.
  • FIG. 3 a certain target bookmark is provided according to an embodiment of the present invention.
  • the method of the embodiment of the present invention may correspond to S204 in the corresponding embodiment of FIG. 2 described above.
  • the method of the embodiment of the present invention specifically includes:
  • the browser may further determine whether the network address in the search result matches the bookmark website address; if the step S301 determines that the network address does not exist, the description is The page pointed to by none of the bookmark URLs contains the query keyword.
  • the browser may determine that the bookmark URL that matches the network address in the search result is the target bookmark URL. That is, the browser obtains the target bookmark URL. If the network address does not match the bookmark URL, it indicates that the page pointed to by the bookmark URL does not contain the query keyword.
  • the embodiment of the present invention can accurately display the page label entry that meets the requirement to provide a user query.
  • FIG. 4 is a schematic structural diagram of an information search apparatus 1 according to an embodiment of the present invention.
  • the information search apparatus 1 may include: a first acquisition module 10, a second acquisition module 20, and a display module 30;
  • the first obtaining module 10 is configured to obtain a query keyword and a bookmark web address input by the user. Specifically, when the user inputs a query keyword in the search interface of the browser, the first obtaining module 10 may obtain the user input.
  • Query keyword and bookmark URL can be All the URLs in the favorites and/or browsing history in the browser, the bookmark URLs may also come from other areas in the user terminal where the website is stored, such as the URLs stored in the text messages.
  • the query keyword may be a query keyword input by the user, for example, the user may input a keyword such as a smartphone or a tablet to find a bookmark URL associated with a keyword such as a smartphone or a tablet.
  • the first obtaining module 10 may further provide a search option for the user to search in the favorites and/or browsing history.
  • the search options may include favorites, browsing history, browsing time range, etc., by selecting a search. Options can narrow your search to improve search efficiency.
  • the second obtaining module 20 is configured to obtain a target bookmark URL according to the query keyword and the bookmark URL, where the target bookmark URL points to the page that includes the query keyword;
  • the second obtaining module 20 may obtain a target bookmark URL according to the query keyword and the bookmark URL, and the page pointed to by the target bookmark URL includes the query keyword.
  • the method for the second obtaining module 20 to obtain the target bookmark URL may be: the second obtaining module 20 sends the search request information associated with the query keyword and the bookmark URL to the search server, so that the The search server loads each bookmark web address according to the search request information.
  • the search server may search whether the page pointed to by each bookmark web address includes the query keyword and return the search result to the first
  • the second obtaining module 20 may obtain the target bookmark web address according to the search result, and the search server may be a background server that searches for a website.
  • the second obtaining module 20 can obtain the target bookmark web address without loading the bookmark web address, thereby reducing network traffic and operating pressure of the user terminal.
  • the explicit entry may be a website name of the bookmark URL, for example, if a bookmark URL is “www.baidu.com”, the corresponding The page tag entry can be "Baidu”.
  • some page tag entries displayed in the search result interface of the display module 30 may not include the query keyword, the page content corresponding to the page tag entries includes the query keyword, therefore, Searched page mark Signing entries is comprehensive and accurate, allowing users to quickly find the real URL they want and improve query efficiency.
  • the information search device 1 provided by the embodiment of the present invention may further include: a first jump module and a second jump module;
  • the first jump module is configured to jump to a page pointed to by the target bookmark web address when detecting a click operation on the page label item;
  • the page tag entry may carry the target bookmark URL, and after the user clicks on the displayed page tag entry, the first jump module may jump to the page pointed to by the target bookmark URL.
  • the second jump module is configured to: when detecting a click operation on the page tag entry, jump to a page pointed to by the webpage snapshot address corresponding to the target bookmark URL;
  • the page tag entry may further carry a webpage snapshot address corresponding to the target bookmark URL
  • the second jump module may jump to the target The page pointed to by the page snapshot address corresponding to the bookmark URL.
  • the specific process of obtaining the webpage snapshot address may be: the search server obtains a webpage snapshot address corresponding to each network address in the search result when the search result is obtained; the information search apparatus 1 obtains the target bookmark URL according to the search result. And replacing the target bookmark URL with a corresponding webpage snapshot address, so that the displayed page label entry may carry a webpage snapshot address corresponding to the target bookmark webpage.
  • the information search device 1 can be provided in a browser in the user terminal, so that the browser can have the function of the information search device 1.
  • FIG. 5 is a schematic structural diagram of a second acquiring module 20 according to an embodiment of the present invention, where the second acquiring module 20 may include: a sending unit 201, a result receiving unit 202, and a determining unit 203;
  • the sending unit 201 is configured to send the query keyword and the bookmark URL when the page pointed to by the bookmark web address is not loaded, or the page pointed to by the bookmark web address cannot be successfully loaded.
  • the sending unit 201 may send a search associated with the query keyword and the bookmark web address.
  • the information is requested to the search server to cause the search server to complete the search function, and the search server may be a background server that searches for the website.
  • the information search device 1 may select not to load all the bookmark websites at the beginning.
  • the sending unit 201 sends the search request information associated with the query keyword and all the bookmark websites to the search server; or The information search device 1 can also select to load all the bookmark websites at the beginning.
  • the information search device 1 can directly search for the page pointed to by the bookmark website that can be successfully loaded, and send the bookmark website address that cannot be successfully loaded.
  • Unit 201 may send search request information associated with the query key and the bookmark URL that could not be successfully loaded to the search server.
  • the result receiving unit 202 is configured to receive a search result obtained by the search server searching for a page pointed to by the bookmark website;
  • the search server may search the page pointed to by the bookmark webpage according to the search request information, and detect whether the query keyword is included in the page pointed to by the bookmark web address to obtain the search result.
  • the result receiving unit 202 can receive the search result returned by the search server. If the search result includes a network address, the page bread pointed to by the web address contains the query keyword.
  • the determining unit 203 is configured to: when determining, according to the search result, that the page pointed to by the bookmark web address includes the query keyword, determining that the bookmark URL corresponding to the page that includes the query keyword is targeted Bookmark URL;
  • the determining unit 203 may determine a page that includes the query keyword.
  • the corresponding bookmark URL is the target bookmark URL, that is, the page pointed to by the target bookmark URL must contain the query keyword.
  • FIG. 6 is a schematic structural diagram of a sending unit 201 according to an embodiment of the present invention, where the sending unit 201 includes: a first creating subunit 2011, and a first requesting sender. Unit 2012, second creation subunit 2013, second request transmission subunit 2014;
  • the first creating subunit 2011 is configured to separately create a first search request associated with the query keyword for each of the bookmark URLs;
  • the first search request includes at least: an address of the search server, a bookmark URL, and the query keyword.
  • the first creating subunit 2011 traverses all bookmark URLs or bookmark URLs that cannot be successfully loaded, and creates a first search request associated with the query keyword for each bookmark URL traversed, the first search request.
  • Carrying a first search string, the first search string includes at least: a search server address string, a bookmark URL string, a query keyword string, and other related search parameters.
  • the search server address string in the first search string corresponding to a bookmark URL may be: http://www.google.eom/#;
  • the format of the URL string can be "+inurl: bookmark URL link", so the bookmark URL string corresponding to the bookmark URL can be:
  • the first request sending subunit 2012 is configured to separately send the created first search request to the search server;
  • the first request sending subunit 2012 may separately send the created first search request to the search server, and the search server may parse each first search request separately to obtain the first search request.
  • the first search string carried, and searching for the page pointed to by the bookmark URL according to the bookmark URL string and the query keyword string in the first search string.
  • the second creating subunit 2013 is configured to create a second search request associated with the query keyword for all the bookmark URLs
  • the second search request includes at least: an address of the search server, the query keyword, and all the bookmark URLs.
  • the second creating subunit 2013 may be all of the books And signing a web address, creating a second search request associated with the query keyword, where the second search request may carry a second search string and a header field for storing the bookmark web address.
  • the second search string includes at least: a search server address string, a query keyword string, and other related search parameters.
  • a header field for storing the bookmark URL may be created in the HTTP protocol, that is, the bookmark URL is stored in the newly created header field.
  • the header field created is TargetURLs:
  • the structure of the created second search request may be:
  • TargetURLs [http: ⁇ developer.android.com/about/index.html] , [http: ⁇ www. w3. org/2007/03/HTML-WG-charter.html], [http://en.wikipedia .org/wikiAVeb_bro wser]
  • the second request sending subunit 2014 is configured to send the second search request to the search server
  • the second request sending subunit 2014 may send the created second search request to the search server, where the search server may parse the second search request to obtain the second carried in the second search request. Search for the string and header fields, and search for the page pointed to by each bookmark URL based on the query keyword string in the second search string and the bookmark URL stored in the header field.
  • the information search device 1 may control the first creation subunit 2011 and/or the second creation subunit 2013 to perform an operation.
  • the second creating subunit 2013 when the first creating subunit 2011 performs an operation, the second creating subunit 2013 will stop running; or, when the second creating subunit 2013 performs an operation, the first creating subunit 2011
  • the first creation sub-unit 2011 performs a corresponding operation on a part of the bookmark web address
  • the second creation sub-unit 2013 performs a corresponding operation on another part of the bookmark web address.
  • FIG. 7 is a schematic structural diagram of a determining unit 203 according to an embodiment of the present invention.
  • the determining unit 203 may include: a first determining subunit 2031, a second determining subunit 2032, and a target determiner. Unit 2033;
  • the first determining sub-unit 2031 is configured to determine whether a network address exists in the search result returned by the search server, where the network address is searched by the search server and corresponding to the page that includes the query keyword. the address of;
  • the first determining subunit 2031 may determine whether a network address exists in the search result returned by the search server, where the network address is searched by the search server. The address corresponding to the page containing the query keyword.
  • the second determining sub-unit 2032 is configured to determine, if the first determining sub-unit 2031 determines that the network address exists, whether the network address in the search result matches the bookmark website address; When the first determining subunit 2031 determines that the network address exists, the second determining subunit 2032 may further determine whether the network address in the search result matches the bookmark web address; The judging subunit 2031 determines that the network address does not exist, and indicates that none of the bookmarked web pages includes the query keyword.
  • the target determining sub-unit 2033 is configured to: determine that the bookmark URL that matches the network address in the search result is a target bookmark URL;
  • the target determining subunit 2033 may determine to match the network address in the search result.
  • the bookmark URL is a target bookmark URL, that is, the second acquisition module 20 Get the target bookmark URL. If the network address does not match the bookmark URL, it indicates that the page pointed to by the bookmark URL does not include the query keyword.
  • the search server searches the page pointed to by each bookmark URL to include the query keyword and returns the search result to the browser, so that the browser can obtain the target bookmark URL according to the search result, because the target bookmark URL
  • the page pointed to contains the query keyword, so the target bookmark URL obtained in the final search will be more comprehensive and accurate, so that the user can actually search for the required URL, thereby improving the efficiency and accuracy of the query;
  • the search server searches for the content of the page, so there is no need to load the un-cached bookmark URL on the browser side for searching, thereby reducing the network traffic and running pressure of the user terminal.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, where the program includes a part of the method for information search described in the method embodiment of FIG. 1 to FIG. 3 or All steps.
  • FIG. 8 is a schematic structural diagram of still another information search apparatus 1 according to an embodiment of the present invention.
  • the information search apparatus 1 may include a processor 1001, a communication interface 1002, and a memory 1003 (processing in the information search apparatus 1).
  • the number of the devices 1001 may be one or more, and one processor 1001 is taken as an example in FIG. 8).
  • the processor 1001, the communication interface 1002, and the memory 1003 may be connected by a communication bus or other means, wherein FIG. 8 is exemplified by a communication bus connection.
  • the communication interface 1002 is configured to communicate with a search server.
  • the memory 1003 is configured to store a program
  • the processor 1001 is configured to execute the program to implement
  • a page tag entry corresponding to the target bookmark URL is displayed.
  • the processor 1001 When the processor 1001 obtains the target bookmark URL according to the query keyword and the bookmark URL, the processor 1001 is specifically configured to:
  • the processor 1001 is specifically configured to: when performing the sending the search request information associated with the query keyword and the bookmark address to the search server:
  • the first search request includes at least: an address of the search server, a bookmark web address, and the query keyword.
  • the processor 1001 is specifically configured to: when performing the sending the search request information associated with the query keyword and the bookmark address to the search server:
  • the second search request includes at least: an address of the search server, the query keyword, and all the bookmark URLs.
  • the processor 1001 determines, when the page pointed to by the bookmark web address includes the query keyword according to the search result, determines a bookmark corresponding to the page that includes the query keyword.
  • the URL is the target bookmark URL step, it is specifically used to:
  • Determining whether a network address exists in the search result returned by the search server where the network address is an address that is searched by the search server and corresponding to a page that includes the query keyword; if it is determined that the network address exists, Determining whether the network address in the search result matches the bookmark URL;
  • the processor 1001 is further configured to:
  • the search server searches the page pointed to by each bookmark URL to include the query keyword and returns the search result to the browser, so that the browser can obtain the target bookmark URL according to the search result, because the target bookmark URL
  • the page pointed to contains the query keyword, so the target bookmark URL obtained in the final search will be more comprehensive and accurate, so that the user can actually search for the required URL, thereby improving the efficiency and accuracy of the query;
  • the search server searches for the content of the page, so there is no need to load the un-cached bookmark URL on the browser side for searching, thereby reducing the network traffic and running pressure of the user terminal.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

本发明实施例公开一种信息搜索的方法以及装置,其中,所述方法包括:获取用户输入的查询关键字和书签网址;根据所述查询关键字和所述书签网址获取目标书签网址,所述目标书签网址所指向的页面包含有所述查询关键字;显示与所述目标书签网址对应的页面标签条目。采用本发明,可以更加全面、准确的搜索出用户真正所需要的网址,以提高查询效率和精确度。

Description

一种信息搜索的方法以及装置 技术领域
本发明涉及通信技术领域, 尤其涉及一种信息搜索的方法以及装置。 背景技术
用户在使用浏览器浏览网页时,可以通过浏览器自带的收藏夹功能记录和 保留用户喜好或常用的网址。 随着浏览的网页越来越多, 用户收藏的网址也会 越来越多, 此时, 用户可以在收藏夹和浏览历史中搜索相关关键字以找到用户 所需要的网址。 名称进行搜索, 以检测网页名称中是否包含相关关键字, 并当某个网页名称中 包含有相关关键字时, 浏览器将显示该网页名称。 当某个网页名称没有包含相 关关键字,但该网页名称所对应的网页中却包含有相关关键字时, 浏览器却无 法显示该网页名称。 因此,现有技术的搜索方法的搜索精确度受到了一定的影 响。 发明内容
本发明实施例提供一种信息搜索的方法以及装置, 可以更加全面、 准确的 搜索出用户真正所需要的网址, 以提高搜索精确度。
本发明第一方面提供了一种信息搜索的方法, 包括:
获取用户输入的查询关键字和书签网址;
根据所述查询关键字和所述书签网址获取目标书签网址,所述目标书签网 址所指向的页面包含有所述查询关键字;
显示与所述目标书签网址对应的页面标签条目。
在第一种可能的实现方式中,所述根据所述查询关键字和所述书签网址获 取目标书签网址, 包括: 当不加载所述书签网址所指向的页面,或无法成功加载所述书签网址所指 向的页面时,发送与所述查询关键字和所述书签网址关联的搜索请求信息到搜 索服务器;
接收所述搜索服务器搜索所述书签网址所指向的页面, 得到的搜索结果; 当根据所述搜索结果、判断所述书签网址所指向的页面包含所述查询关键 字时, 确定与包含有所述查询关键字的页面所对应的书签网址为目标书签网 址。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中, 所 述发送与所述查询关键字和所述书签网址关联的搜索请求信息到搜索服务器, 包括:
为所述书签网址中每一个,分别创建与所述查询关键字关联的第一搜索请 求;
将所创建的第一搜索请求分别发送至所述搜索服务器;
其中, 所述第一搜索请求至少包括: 所述搜索服务器的地址、 一个书签网 址、 所述查询关键字。
结合第一方面的第一种可能的实现方式,在第三种可能的实现方式中, 所 述发送与所述查询关键字和所述书签网址关联的搜索请求信息到搜索服务器, 包括:
为全部所述书签网址, 创建与所述查询关键字关联的第二搜索请求; 将所述第二搜索请求发送至所述搜索服务器;
其中, 所述第二搜索请求至少包括: 所述搜索服务器的地址、 所述查询关 键字、 和全部所述书签网址。
结合第一方面的第一种可能的实现方式,或第一方面的第二种可能的实现 方式, 或第一方面的第三种可能的实现方式, 在第四种可能的实现方式中, 所 述当根据所述搜索结果、判断所述书签网址所指向的页面包含所述查询关键字 时, 确定与包含有所述查询关键字的页面所对应的书签网址为目标书签网址, 包括: 判断所述搜索服务器返回的搜索结果中是否存在网络地址,所述网络地址 为所述搜索服务器搜索到的与包含有所述查询关键字的页面所对应的地址; 若判断存在所述网络地址,则判断所述搜索结果中的网络地址是否与所述 书签网址相匹配;
且确定与所述搜索结果中的网络地址相匹配的所述书签网址为目标书签 网址。
结合第一方面, 或第一方面的第一种可能的实现方式,或第一方面的第二 种可能的实现方式, 或第一方面的第三种可能的实现方式, 或第一方面的第四 种可能的实现方式,在第五种可能的实现方式中, 所述显示与所述目标书签网 址对应的页面标签条目之后, 还包括:
当检测到对所述页面标签条目的点击操作时,跳转至所述目标书签网址所 指向的页面; 或者,
当检测到对所述页面标签条目的点击操作时,跳转至与所述目标书签网址 对应的网页快照地址所指向的页面。
本发明第二方面提供了一种信息搜索装置, 包括:
第一获取模块, 用于获取用户输入的查询关键字和书签网址;
第二获取模块,用于根据所述查询关键字和所述书签网址获取目标书签网 址, 所述目标书签网址所指向的页面包含有所述查询关键字; 在第一种可能的实现方式中, 所述第二获取模块包括:
发送单元, 用于当不加载所述书签网址所指向的页面, 或无法成功加载所 述书签网址所指向的页面时,发送与所述查询关键字和所述书签网址关联的搜 索请求信息到搜索服务器;
结果接收单元, 用于接收所述搜索服务器搜索所述书签网址所指向的页 面, 得到的搜索结果;
确定单元, 用于当根据所述搜索结果、判断所述书签网址所指向的页面包 含所述查询关键字时,确定与包含有所述查询关键字的页面所对应的书签网址 为目标书签网址。
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中, 所 述发送单元包括:
第一创建子单元, 用于为所述书签网址中每一个, 分别创建与所述查询关 键字关联的第一搜索请求;
第一请求发送子单元,用于将所创建的第一搜索请求分别发送至所述搜索 服务器;
其中, 所述第一搜索请求至少包括: 所述搜索服务器的地址、 一个书签网 址、 所述查询关键字。
结合第二方面的第一种可能的实现方式,在第三种可能的实现方式中, 所 述发送单元包括:
第二创建子单元, 用于为全部所述书签网址,创建与所述查询关键字关联 的第二搜索请求;
第二请求发送子单元, 用于将所述第二搜索请求发送至所述搜索服务器; 其中, 所述第二搜索请求至少包括: 所述搜索服务器的地址、 所述查询关 键字、 和全部所述书签网址。
结合第二方面的第一种可能的实现方式,或第二方面的第二种可能的实现 方式, 或第二方面的第三种可能的实现方式, 在第四种可能的实现方式中, 所 述确定单元包括:
第一判断子单元,用于判断所述搜索服务器返回的搜索结果中是否存在网 络地址,所述网络地址为所述搜索服务器搜索到的与包含有所述查询关键字的 页面所对应的地址;
第二判断子单元, 用于若所述第一判断子单元判断存在所述网络地址, 则 判断所述搜索结果中的网络地址是否与所述书签网址相匹配;
目标确定子单元,用于且确定与所述搜索结果中的网络地址相匹配的所述 书签网址为目标书签网址。
结合第二方面, 或第二方面的第一种可能的实现方式,或第二方面的第二 种可能的实现方式, 或第二方面的第三种可能的实现方式, 或第二方面的第四 种可能的实现方式, 在第五种可能的实现方式中, 还包括:
第一跳转模块, 用于当检测到对所述页面标签条目的点击操作时,跳转至 所述目标书签网址所指向的页面;
第二跳转模块, 用于当检测到对所述页面标签条目的点击操作时,跳转至 与所述目标书签网址对应的网页快照地址所指向的页面。
本发明第三方面提供了一种计算机存储介质,
所述计算机存储介质可存储有程序,该程序执行时包括第一方面提供的一 种信息搜索的方法的部分或全部步骤。
本发明第四方面提供了一种信息搜索装置, 包括: 处理器、 通信接口和存 储器, 其中,
所述通信接口, 用于与搜索服务器进行通信;
所述存储器用于存储程序;
所述处理器用于执行所述程序, 以实现
获取用户输入的查询关键字和书签网址;
根据所述查询关键字和所述书签网址获取目标书签网址,所述目标书签网 址所指向的页面包含有所述查询关键字;
显示与所述目标书签网址对应的页面标签条目。
在第一种可能的实现方式中, 所述处理器具体用于:
当不加载所述书签网址所指向的页面,或无法成功加载所述书签网址所指 向的页面时,发送与所述查询关键字和所述书签网址关联的搜索请求信息到搜 索服务器;
接收所述搜索服务器搜索所述书签网址所指向的页面, 得到的搜索结果; 当根据所述搜索结果、判断所述书签网址所指向的页面包含所述查询关键 字时, 确定与包含有所述查询关键字的页面所对应的书签网址为目标书签网 址。
结合第四方面的第一种可能的实现方式,在第二种可能的实现方式中, 所 述处理器具体用于: 为所述书签网址中每一个,分别创建与所述查询关键字关联的第一搜索请 求;
将所创建的第一搜索请求分别发送至所述搜索服务器;
其中, 所述第一搜索请求至少包括: 所述搜索服务器的地址、 一个书签网 址、 所述查询关键字。
结合第四方面的第一种可能的实现方式,在第三种可能的实现方式中, 所 述处理器具体用于:
为全部所述书签网址, 创建与所述查询关键字关联的第二搜索请求; 将所述第二搜索请求发送至所述搜索服务器;
其中, 所述第二搜索请求至少包括: 所述搜索服务器的地址、 所述查询关 键字、 和全部所述书签网址。
结合第四方面的第一种可能的实现方式,或第四方面的第二种可能的实现 方式, 或第四方面的第三种可能的实现方式, 在第四种可能的实现方式中, 所 述处理器具体用于:
判断所述搜索服务器返回的搜索结果中是否存在网络地址,所述网络地址 为所述搜索服务器搜索到的与包含有所述查询关键字的页面所对应的地址; 若判断存在所述网络地址,则判断所述搜索结果中的网络地址是否与所述 书签网址相匹配;
且确定与所述搜索结果中的网络地址相匹配的所述书签网址为目标书签 网址。
结合第四方面, 或第四方面的第一种可能的实现方式,或第四方面的第二 种可能的实现方式, 或第四方面的第三种可能的实现方式, 或第四方面的第四 种可能的实现方式, 在第五种可能的实现方式中, 所述处理器还用于:
当检测到对所述页面标签条目的点击操作时,跳转至所述目标书签网址所 指向的页面; 或者,
当检测到对所述页面标签条目的点击操作时,跳转至与所述目标书签网址 对应的网页快照地址所指向的页面。 由上可见, 本发明实施例通过获取目标书签网址, 并由于目标书签网址所 指向的页面包含有所述查询关键字,所以最终搜索得到的目标书签网址将会更 加全面、 准确, 使用户可以真正搜索到所需要的网址, 从而提升了查询效率和 搜索精确度。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例中所需要使用的附图作简单地介绍,显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例提供的一种信息搜索的方法的流程示意图; 图 2为本发明实施例提供的另一种信息搜索的方法的流程示意图; 图 3 为本发明实施例提供的其中一种确定目标书签网址的方法的流程示 意图;
图 4为本发明实施例提供的一种信息搜索装置的结构示意图;
图 5为本发明实施例提供的一种第二获取模块的结构示意图;
图 6为本发明实施例提供的一种发送单元的结构示意图;
图 7为本发明实施例提供的一种确定单元的结构示意图;
图 8为本发明实施例提供的另一种信息搜索装置的结构示意图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
请参见图 1, 为本发明实施例提供的一种信息搜索的方法的流程示意图, 所述方法包括: 5101 , 获取用户输入的查询关键字和书签网址;
具体的, 当用户在浏览器的搜索界面中输入查询关键字时, 浏览器可以获 取用户输入的查询关键字和书签网址,所述书签网址可以为浏览器中收藏夹和 /或浏览历史中的所有网址, 所述书签网址还可以来自于用户终端中存储有网 址的其他区域,如短信中存有的网址。 所述查询关键字可以为用户输入的查询 关键字,如用户可以输入智能手机、平板电脑等关键字,以查找出与智能手机、 平板电脑等关键字关联的书签网址。 浏览器还可以为用户提供搜索选项, 以便 用户在收藏夹和 /或浏览历史中进行搜索, 例如, 搜索选项可以包括收藏夹、 浏览历史、 浏览时间范围等等, 通过选择搜索选项可以缩小搜索范围, 以提高 搜索效率。
5102,根据所述查询关键字和所述书签网址获取目标书签网址,所述目标 书签网址所指向的页面包含有所述查询关键字;
具体的,浏览器可以根据所述查询关键字和所述书签网址获取目标书签网 址, 所述目标书签网址所指向的页面包含有所述查询关键字。 浏览器获取所述 目标书签网址的方式具体可以为:浏览器发送与所述查询关键字和所述书签网 址关联的搜索请求信息到搜索服务器,以使所述搜索服务器根据所述搜索请求 信息加载每个书签网址, 此时, 所述搜索服务器可以搜索每个书签网址所指向 的页面中是否包含有所述查询关键字并将搜索结果返回到所述浏览器,所述浏 览器可以根据所述搜索结果获取到所述目标书签网址,所述搜索服务器可以为 搜索网站的后台服务器。 由于通过搜索服务器去加载并搜索每个书签网址, 所 以浏览器无需加载书签网址即可获得目标书签网址,从而降低了用户终端的网 络流量和运行压力。
5103 , 显示与所述目标书签网址对应的页面标签条目;
具体的,在获取到所述目标书签网址之后, 浏览器可以显示与所述目标书 签网址对应的页面标签条目, 所述页面标签条目可以是书签网址的网站名称, 例如,某个书签网址为 "www.baidu.com",则所对应的页面标签条目可以为 "百 度"。 虽然在浏览器的搜索结果界面中显示的某些页面标签条目可能不包含所 述查询关键字,但是这些页面标签条目所对应的页面内容都包含有所述查询关 键字, 因此, 所搜索出的页面标签条目是全面且准确的, 让用户可以快速找到 真正想要的网址, 提高了查询效率。
由上可见,本发明实施例通过搜索服务器搜索每个书签网址所指向的页面 中是否包含查询关键字并返回搜索结果给浏览器,使得浏览器可以根据搜索结 果获得目标书签网址, 由于目标书签网址所指向的页面包含有所述查询关键 字, 所以最终搜索得到的目标书签网址将会更加全面、 准确, 使用户可以真正 搜索到所需要的网址,从而提升了查询效率和精确度; 同时由于可以通过搜索 服务器对页面内容进行搜索,所以在浏览器一端无需加载没有緩存的书签网址 以进行搜索, 从而可以降低用户终端的网络流量和运行压力。
再请参见图 2, 为本发明实施例提供的另一种信息搜索的方法的流程示意 图, 所述方法包括:
5201 , 获取用户输入的查询关键字和书签网址;
具体的, 当用户在浏览器的搜索界面中输入查询关键字时, 浏览器可以获 取用户输入的查询关键字和书签网址,所述书签网址可以为浏览器中收藏夹和 /或浏览历史中的所有网址, 所述书签网址还可以来自于用户终端中存储有网 址的其他区域,如短信中存有的网址。 所述查询关键字可以为用户输入的查询 关键字,如用户可以输入智能手机、平板电脑等关键字,以查找出与智能手机、 平板电脑等关键字关联的书签网址。 浏览器还可以为用户提供搜索选项, 以便 用户在收藏夹和 /或浏览历史中进行搜索, 例如, 搜索选项可以包括收藏夹、 浏览历史、 浏览时间范围等等, 通过选择搜索选项可以缩小搜索范围, 以提高 搜索效率。
5202, 当不加载所述书签网址所指向的页面,或无法成功加载所述书签网 址所指向的页面时,发送与所述查询关键字和所述书签网址关联的搜索请求信 息到搜索服务器;
具体的, 当不加载所述书签网址所指向的页面,或无法成功加载所述书签 网址所指向的页面时,浏览器可以发送与所述查询关键字和所述书签网址关联 的搜索请求信息到搜索服务器, 以使所述搜索服务器来完成搜索功能, 所述搜 索服务器可以为搜索网站的后台服务器。浏览器可以一开始就选择不加载所有 书签网址, 此时, 浏览器将发送与所述查询关键字和所有书签网址关联的搜索 请求信息到搜索服务器; 或者, 浏览器也可以在一开始就选择加载所有书签网 址, 此时, 浏览器可以直接搜索能成功加载的书签网址所指向的页面, 对于无 法成功加载的书签网址,浏览器可以发送与所述查询关键字和无法成功加载的 书签网址关联的搜索请求信息到搜索服务器。
其中, 与所述查询关键字和所述书签网址关联的搜索请求信息可以包括: 携带有所述查询关键字和其中一个书签网址的第一搜索请求、携带有所述查询 关键字和所有书签网址的第二搜索请求。
本发明实施例中所述发送与所述查询关键字和所述书签网址关联的搜索 请求信息到搜索服务器的步骤具体可以包括:
为所述书签网址中每一个,分别创建与所述查询关键字关联的第一搜索请 求;
将所创建的第一搜索请求分别发送至所述搜索服务器;
其中, 所述第一搜索请求至少包括: 所述搜索服务器的地址、 一个书签网 址、 所述查询关键字;
具体的,遍历所有书签网址或者无法成功加载的书签网址, 并为遍历到的 每个书签网址分别创建与所述查询关键字关联的第一搜索请求,所述第一搜索 请求携带有第一搜索字符串, 所述第一搜索字符串至少包括: 搜索服务器地址 字符串、 书签网址字符串、 查询关键字字符串以及其他相关搜索参数。 例如, 某个书签网址所对应的第一搜索字符串中的搜索服务器地址字符串可以为: http://www.google.eom/#; 对应的查询关键字字符串可以为 q=browsers; 书签 网址字符串的格式可以为 "+inurl: 书签网址链接", 因此, 该书签网址对应的 书签网址字符串可以为:
+inurl:http://www.w3.org/2007/03/HTML- WG-charter.html;
其他相关搜索参数可以为网页编码参数: 如 &ie=UTF-8; 那么与该书签网址对 应的第一搜索字符串可以为:
http://www.google om/#q=browsers+inurl:http://www.w3.org/2007/03/HTML-W G-charter.html&ie=UTF-8。
浏览器将所创建的第一搜索请求分别发送至所述搜索服务器,所述搜索服 务器可以分别解析每个第一搜索请求以得到第一搜索请求中所携带的第一搜 索字符串,并根据第一搜索字符串中的书签网址字符串和查询关键字字符串对 书签网址所指向的页面进行搜索。
或者,本发明实施例中所述发送与所述查询关键字和所述书签网址关联的 搜索请求信息到搜索服务器的步骤具体可以包括:
为全部所述书签网址, 创建与所述查询关键字关联的第二搜索请求; 将所述第二搜索请求发送至所述搜索服务器;
其中, 所述第二搜索请求至少包括: 所述搜索服务器的地址、 所述查询关 键字、 和全部所述书签网址;
具体的,所述第二搜索请求可以携带有第二搜索字符串以及用于存放所述 书签网址的头域。 所述第二搜索字符串至少包括: 搜索服务器地址字符串、 查 询关键字字符串以及其他相关搜索参数。例如, 第二搜索字符串中其他相关搜 索参数可以为网页编码参数: 如 &ie=UTF-8; 第二搜索字符串中的搜索服务器 地址字符串可以为: http:〃 www.google.com.hk/; 第二搜索字符串中的查询关键 字字符串可以为: q=browsers; 那么该第二搜索字符串可以为:
http://www.google.com.hk/search?q= browsers&ie=UTF-8。
在创建好第二搜索字符串之后,可以在 HTTP协议中创建用于存放所述书 签网址的头域, 即将所述书签网址都存放于新创建的头域中。 例如, 所创建的 头域为 TargetURLs:
[http://www.w3.org/2007/03/HTML-WG-charter.html] , [http: //developer, android, co m/about/index.html], 。
又例如, 所创建的第二搜索请求的结构可以为:
GET: http://www.google.com.hk/search?q=browsers&ie=UTF-8 HTTP/ 1.1 Host: www.google.com.hk Proxy-Connection: keep-alive
Cache-Control: max-age=0
Accept: text/html,application/xhtnd+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding: gzip,deflate,sdch
TargetURLs:[http://developer.android om/about/index.html], [http://www.w3. org/2007/03/HTML-WG-charter.html], [http://en.wikipedia.org/wikiAVeb_bro wser]
浏览器将所创建的第二搜索请求发送至所述搜索服务器,所述搜索服务器 可以解析第二搜索请求以得到第二搜索请求中所携带的第二搜索字符串和头 域,并根据第二搜索字符串中的查询关键字字符串和头域中存放的书签网址对 每个书签网址所指向的页面进行搜索。
5203 ,接收所述搜索服务器搜索所述书签网址所指向的页面,得到的搜索 结果;
具体的,所述搜索服务器可以根据所述第一搜索请求或所述第二搜索请求 对书签网址所指向的页面进行搜索,并检测书签网址所指向的页面中是否包含 有所述查询关键字, 以得到搜索结果, 此时, 浏览器可以接收所述搜索服务器 返回的搜索结果。若所述搜索结果中包含有网络地址, 则所述网址地址所指向 的页面包含有所述查询关键字。
5204, 当根据所述搜索结果、判断所述书签网址所指向的页面包含所述查 询关键字时,确定与包含有所述查询关键字的页面所对应的书签网址为目标书 签网址;
具体的, 当浏览器根据所述搜索结果、判断所述书签网址所指向的页面包 含所述查询关键字时,浏览器可以确定与包含有所述查询关键字的页面所对应 的书签网址为目标书签网址,即目标书签网址所指向的页面必定包含有所述查 询关键字。
5205 , 显示与所述目标书签网址对应的页面标签条目;
具体的,在获取到所述目标书签网址之后, 浏览器可以显示与所述目标书 签网址对应的页面标签条目, 所述页面标签条目可以是书签网址的网站名称, 例如,某个书签网址为 "www.baidu.com",则所对应的页面标签条目可以为 "百 度"。 虽然在浏览器的搜索结果界面中显示的某些页面标签条目可能不包含所 述查询关键字,但是这些页面标签条目所对应的页面内容都包含有所述查询关 键字, 因此, 所搜索出的页面标签条目是全面且准确的, 让用户可以快速找到 真正想要的网址, 提高了查询效率。
S206, 当检测到对所述页面标签条目的点击操作时,跳转至所述目标书签 网址所指向的页面;
S207, 当检测到对所述页面标签条目的点击操作时,跳转至与所述目标书 签网址对应的网页快照地址所指向的页面;
具体的, 所述页面标签条目可以携带有所述目标书签网址,在用户点击所 显示的页面标签条目之后, 浏览器可以跳转至所述目标书签网址所指向的页 面。
另夕卜,所述页面标签条目还可以携带有与所述目标书签网址对应的网页快 照地址,在用户点击所显示的页面标签条目之后, 浏览器可以跳转至与所述目 标书签网址对应的网页快照地址所指向的页面。通过使用网页快照地址,可以 使用户查看到浏览器无法成功加载的书签网址所指向的页面。获取网页快照地 址的具体过程可以为: 所述搜索服务器在得到搜索结果时, 获取所述搜索结果 中各个网络地址对应的网页快照地址;所述浏览器根据所述搜索结果获取目标 书签网址时,将所述目标书签网址替换为对应的网页快照地址,使得所显示的 页面标签条目可以携带有与所述目标书签网址对应的网页快照地址。
由上可见,本发明实施例通过搜索服务器搜索每个书签网址所指向的页面 中是否包含查询关键字并返回搜索结果给浏览器,使得浏览器可以根据搜索结 果获得目标书签网址, 由于目标书签网址所指向的页面包含有所述查询关键 字, 所以最终搜索得到的目标书签网址将会更加全面、 准确, 使用户可以真正 搜索到所需要的网址,从而提升了查询效率和精确度; 同时由于可以通过搜索 服务器对页面内容进行搜索,所以在浏览器一端无需加载没有緩存的书签网址 以进行搜索, 从而可以降低用户终端的网络流量和运行压力。
进一步的, 再请参见图 3, 为本发明实施例提供的其中一种确定目标书签 网址的方法的流程示意图。本发明实施例的所述方法可对应于上述图 2对应实 施例中的 S204。 本发明实施例的所述方法具体包括:
5301 , 判断所述搜索服务器返回的搜索结果中是否存在网络地址; 具体的, 浏览器在获取到搜索服务器返回的搜索结果后, 所述浏览器判断 所述搜索服务器返回的搜索结果中是否存在网络地址,所述网络地址为所述搜 索服务器搜索到的与包含有所述查询关键字的页面所对应的地址。
5302,若判断存在所述网络地址, 则判断所述搜索结果中的网络地址是否 与所述书签网址相匹配;
具体的, 在 S301步骤判断为存在所述网络地址时, 浏览器可以进一步判 断所述搜索结果中的网络地址是否与所述书签网址相匹配; 若 S301步骤判断 不存在所述网络地址,则说明没有一个书签网址所指向的页面中包含有所述查 询关键字。
S303,且确定与所述搜索结果中的网络地址相匹配的所述书签网址为目标 书签网址;
具体的, 在 S302步骤中判断所述搜索结果中的网络地址与所述书签网址 相匹配时,浏览器可以确定与所述搜索结果中的网络地址相匹配的所述书签网 址为目标书签网址, 即浏览器获取到所述目标书签网址。若所述网络地址与所 述书签网址不匹配, 则说明所述书签网址所指向的页面不包含所述查询关键 字。
本发明实施例通过判断搜索结果中的网络地址是否与书签网址相匹配,可 以准确地显示出符合要求的页面标签条目以提供用户查询。
请参见图 4, 为本发明实施例提供的一种信息搜索装置 1的结构示意图, 所述信息搜索装置 1可以包括: 第一获取模块 10、 第二获取模块 20、 显示模 块 30;
所述第一获取模块 10, 用于获取用户输入的查询关键字和书签网址; 具体的, 当用户在浏览器的搜索界面中输入查询关键字时, 所述第一获取 模块 10可以获取用户输入的查询关键字和书签网址, 所述书签网址可以为浏 览器中收藏夹和 /或浏览历史中的所有网址, 所述书签网址还可以来自于用户 终端中存储有网址的其他区域,如短信中存有的网址。 所述查询关键字可以为 用户输入的查询关键字, 如用户可以输入智能手机、 平板电脑等关键字, 以查 找出与智能手机、 平板电脑等关键字关联的书签网址。 所述第一获取模块 10 还可以为用户提供搜索选项, 以便用户在收藏夹和 /或浏览历史中进行搜索, 例如, 搜索选项可以包括收藏夹、 浏览历史、 浏览时间范围等等, 通过选择搜 索选项可以缩小搜索范围, 以提高搜索效率。
所述第二获取模块 20, 用于根据所述查询关键字和所述书签网址获取目 标书签网址, 所述目标书签网址所指向的页面包含有所述查询关键字;
具体的, 所述第二获取模块 20可以根据所述查询关键字和所述书签网址 获取目标书签网址, 所述目标书签网址所指向的页面包含有所述查询关键字。 所述第二获取模块 20获取所述目标书签网址的方式具体可以为: 所述第二获 取模块 20发送与所述查询关键字和所述书签网址关联的搜索请求信息到搜索 服务器,以使所述搜索服务器根据所述搜索请求信息加载每个书签网址,此时, 所述搜索服务器可以搜索每个书签网址所指向的页面中是否包含有所述查询 关键字并将搜索结果返回到所述第二获取模块 20, 所述第二获取模块 20可以 根据所述搜索结果获取到所述目标书签网址,所述搜索服务器可以为搜索网站 的后台服务器。 由于通过搜索服务器去加载并搜索每个书签网址, 所以所述第 二获取模块 20无需加载书签网址即可获得目标书签网址, 从而降低了用户终 端的网络流量和运行压力。 具体的, 在所述第二获取模块 20获取到所述目标书签网址之后, 所述显 条目可以是书签网址的网站名称, 例如, 某个书签网址为 "www.baidu.com", 则所对应的页面标签条目可以为 "百度"。 虽然在所述显示模块 30的搜索结果 界面中显示的某些页面标签条目可能不包含所述查询关键字,但是这些页面标 签条目所对应的页面内容都包含有所述查询关键字, 因此, 所搜索出的页面标 签条目是全面且准确的, 让用户可以快速找到真正想要的网址,提高了查询效 率。
本发明实施例提供的信息搜索装置 1还可以包括: 第一跳转模块、第二跳 转模块;
所述第一跳转模块,用于当检测到对所述页面标签条目的点击操作时,跳 转至所述目标书签网址所指向的页面;
具体的, 所述页面标签条目可以携带有所述目标书签网址,在用户点击所 显示的页面标签条目之后,所述第一跳转模块可以跳转至所述目标书签网址所 指向的页面。
所述第二跳转模块,用于当检测到对所述页面标签条目的点击操作时,跳 转至与所述目标书签网址对应的网页快照地址所指向的页面;
具体的,所述页面标签条目还可以携带有与所述目标书签网址对应的网页 快照地址,在用户点击所显示的页面标签条目之后, 所述第二跳转模块可以跳 转至与所述目标书签网址对应的网页快照地址所指向的页面。通过使用网页快 照地址,可以使用户查看到所述信息搜索装置 1无法成功加载的书签网址所指 向的页面。获取网页快照地址的具体过程可以为: 所述搜索服务器在得到搜索 结果时, 获取所述搜索结果中各个网络地址对应的网页快照地址; 所述信息搜 索装置 1根据所述搜索结果获取目标书签网址时,将所述目标书签网址替换为 对应的网页快照地址,使得所显示的页面标签条目可以携带有与所述目标书签 网址对应的网页快照地址。
所述信息搜索装置 1可以设置于用户终端中的浏览器,使浏览器可以具备 所述信息搜索装置 1的功能。
进一步的, 再请参见图 5, 为本发明实施例提供的一种第二获取模块 20 的结构示意图, 所述第二获取模块 20可以包括: 发送单元 201、 结果接收单 元 202、 确定单元 203;
所述发送单元 201, 用于当不加载所述书签网址所指向的页面, 或无法成 功加载所述书签网址所指向的页面时,发送与所述查询关键字和所述书签网址 关联的搜索请求信息到搜索服务器;
具体的, 当不加载所述书签网址所指向的页面, 或无法成功加载所述书签 网址所指向的页面时,所述发送单元 201可以发送与所述查询关键字和所述书 签网址关联的搜索请求信息到搜索服务器,以使所述搜索服务器来完成搜索功 能, 所述搜索服务器可以为搜索网站的后台服务器。 所述信息搜索装置 1可以 一开始就选择不加载所有书签网址,此时, 所述发送单元 201将发送与所述查 询关键字和所有书签网址关联的搜索请求信息到搜索服务器; 或者, 所述信息 搜索装置 1也可以在一开始就选择加载所有书签网址,此时, 所述信息搜索装 置 1可以直接搜索能成功加载的书签网址所指向的页面,对于无法成功加载的 书签网址,所述发送单元 201可以发送与所述查询关键字和无法成功加载的书 签网址关联的搜索请求信息到搜索服务器。
所述结果接收单元 202, 用于接收所述搜索服务器搜索所述书签网址所指 向的页面, 得到的搜索结果;
具体的,所述搜索服务器可以根据所述搜索请求信息对书签网址所指向的 页面进行搜索, 并检测书签网址所指向的页面中是否包含有所述查询关键字, 以得到搜索结果,此时, 所述结果接收单元 202可以接收所述搜索服务器返回 的搜索结果。若所述搜索结果中包含有网络地址, 则所述网址地址所指向的页 面包含有所述查询关键字。
所述确定单元 203, 用于当根据所述搜索结果、 判断所述书签网址所指向 的页面包含所述查询关键字时,确定与包含有所述查询关键字的页面所对应的 书签网址为目标书签网址;
具体的, 当所述信息搜索装置 1根据所述搜索结果、判断所述书签网址所 指向的页面包含所述查询关键字时,所述确定单元 203可以确定与包含有所述 查询关键字的页面所对应的书签网址为目标书签网址,即目标书签网址所指向 的页面必定包含有所述查询关键字。
进一步的, 再请参见图 6, 为本发明实施例提供的一种发送单元 201的结 构示意图, 所述发送单元 201 包括: 第一创建子单元 2011、 第一请求发送子 单元 2012、 第二创建子单元 2013、 第二请求发送子单元 2014;
所述第一创建子单元 2011, 用于为所述书签网址中每一个, 分别创建与 所述查询关键字关联的第一搜索请求;
具体的, 所述第一搜索请求至少包括: 所述搜索服务器的地址、 一个书签 网址、 所述查询关键字。 所述第一创建子单元 2011遍历所有书签网址或者无 法成功加载的书签网址,并为遍历到的每个书签网址分别创建与所述查询关键 字关联的第一搜索请求, 所述第一搜索请求携带有第一搜索字符串, 所述第一 搜索字符串至少包括: 搜索服务器地址字符串、 书签网址字符串、 查询关键字 字符串以及其他相关搜索参数。例如, 某个书签网址所对应的第一搜索字符串 中的搜索服务器地址字符串可以为: http://www.google.eom/#; 对应的查询关 键字字符串可以为 q=browsers; 书签网址字符串的格式可以为 "+inurl: 书签 网址链接", 因此, 该书签网址对应的书签网址字符串可以为:
+inurl:http://www.w3.org/2007/03/HTML- WG-charter.html;
其他相关搜索参数可以为网页编码参数: 如 &ie=UTF-8; 那么与该书签网址对 应的第一搜索字符串可以为:
http://www.google om/#q=browsers+inurl:http://www.w3.org/2007/03/HTML-W G-charter.html&ie=UTF-8。
所述第一请求发送子单元 2012, 用于将所创建的第一搜索请求分别发送 至所述搜索服务器;
具体的, 所述第一请求发送子单元 2012可以将所创建的第一搜索请求分 别发送至所述搜索服务器,所述搜索服务器可以分别解析每个第一搜索请求以 得到第一搜索请求中所携带的第一搜索字符串,并根据第一搜索字符串中的书 签网址字符串和查询关键字字符串对书签网址所指向的页面进行搜索。
所述第二创建子单元 2013, 用于为全部所述书签网址, 创建与所述查询 关键字关联的第二搜索请求;
具体的, 所述第二搜索请求至少包括: 所述搜索服务器的地址、 所述查询 关键字、 和全部所述书签网址。 所述第二创建子单元 2013可以为全部所述书 签网址,创建与所述查询关键字关联的第二搜索请求, 所述第二搜索请求可以 携带有第二搜索字符串以及用于存放所述书签网址的头域。所述第二搜索字符 串至少包括: 搜索服务器地址字符串、查询关键字字符串以及其他相关搜索参 数。 例如, 第二搜索字符串中其他相关搜索参数可以为网页编码参数: 如 &ie=UTF-8; 第二搜索字符串中的搜索服务器地址字符串可以为: http://www.google.com.hk/; 第二搜索字符串中的查询关键字字符串可以为: q=browsers; 那么该第二搜索字符串可以为:
http://www.google.com.hk/search?q= browsers&ie=UTF-8。
在创建好第二搜索字符串之后,可以在 HTTP协议中创建用于存放所述书 签网址的头域, 即将所述书签网址都存放于新创建的头域中。 例如, 所创建的 头域为 TargetURLs:
[http://www.w3.org/2007/03/HTML-WG-charter.html] , [http: //developer, android, co m/about/index.html], 。
又例如, 所创建的第二搜索请求的结构可以为:
GET: http://www.google.com.hk/search?q=browsers&ie=UTF-8 HTTP/1.1
Host: www.google.com.hk
Proxy-Connection: keep-alive
Cache-Control: max-age=0
Accept: text/html,application/xhtnd+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding: gzip,deflate,sdch
TargetURLs : [http:〃 developer.android.com/about/index.html] , [http:〃 www. w3. org/2007/03/HTML-WG-charter.html], [http://en.wikipedia.org/wikiAVeb_bro wser]
所述第二请求发送子单元 2014, 用于将所述第二搜索请求发送至所述搜 索服务器;
具体的, 所述第二请求发送子单元 2014可以将所创建的第二搜索请求发 送至所述搜索服务器,所述搜索服务器可以解析第二搜索请求以得到第二搜索 请求中所携带的第二搜索字符串和头域,并根据第二搜索字符串中的查询关键 字字符串和头域中存放的书签网址对每个书签网址所指向的页面进行搜索。 其中, 所述信息搜索装置 1可以控制所述第一创建子单元 2011和 /或所述 第二创建子单元 2013执行操作。 例如, 当所述第一创建子单元 2011执行操作 时,所述第二创建子单元 2013将停止运行;或者,当所述第二创建子单元 2013 执行操作时, 所述第一创建子单元 2011将停止运行; 又或者, 所述第一创建 子单元 2011对一部分书签网址执行对应操作,所述第二创建子单元 2013对另 一部分书签网址执行对应操作。
进一步的, 再请参见图 7, 为本发明实施例提供的一种确定单元 203的结 构示意图, 所述确定单元 203可以包括: 第一判断子单元 2031、 第二判断子 单元 2032、 目标确定子单元 2033;
所述第一判断子单元 2031, 用于判断所述搜索服务器返回的搜索结果中 是否存在网络地址,所述网络地址为所述搜索服务器搜索到的与包含有所述查 询关键字的页面所对应的地址;
具体的, 在获取到搜索服务器返回的搜索结果后, 所述第一判断子单元 2031 可以判断所述搜索服务器返回的搜索结果中是否存在网络地址, 所述网 络地址为所述搜索服务器搜索到的与包含有所述查询关键字的页面所对应的 地址。
所述第二判断子单元 2032, 用于若所述第一判断子单元 2031判断存在所 述网络地址, 则判断所述搜索结果中的网络地址是否与所述书签网址相匹配; 具体的, 在所述第一判断子单元 2031判断为存在所述网络地址时, 所述 第二判断子单元 2032可以进一步判断所述搜索结果中的网络地址是否与所述 书签网址相匹配; 若所述第一判断子单元 2031判断不存在所述网络地址, 则 说明没有一个书签网址所指向的页面中包含有所述查询关键字。
所述目标确定子单元 2033, 用于且确定与所述搜索结果中的网络地址相 匹配的所述书签网址为目标书签网址;
具体的, 在所述第二判断子单元 2032判断所述搜索结果中的网络地址与 所述书签网址相匹配时, 所述目标确定子单元 2033可以确定与所述搜索结果 中的网络地址相匹配的所述书签网址为目标书签网址, 即所述第二获取模块 20 获取到所述目标书签网址。 若所述网络地址与所述书签网址不匹配, 则说 明所述书签网址所指向的页面不包含所述查询关键字。
由上可见,本发明实施例通过搜索服务器搜索每个书签网址所指向的页面 中是否包含查询关键字并返回搜索结果给浏览器,使得浏览器可以根据搜索结 果获得目标书签网址, 由于目标书签网址所指向的页面包含有所述查询关键 字, 所以最终搜索得到的目标书签网址将会更加全面、 准确, 使用户可以真正 搜索到所需要的网址,从而提升了查询效率和精确度; 同时由于可以通过搜索 服务器对页面内容进行搜索,所以在浏览器一端无需加载没有緩存的书签网址 以进行搜索, 从而可以降低用户终端的网络流量和运行压力。
本发明实施例还提供了一种计算机存储介质, 其中, 所述计算机存储介质 可存储有程序,该程序执行时包括上述图 1至图 3的方法实施例中记载的信息 搜索的方法的部分或全部步骤。
再请参见图 8, 为本发明实施例提供的又一种信息搜索装置 1的结构示意 图, 所述信息搜索装置 1可以包括处理器 1001、通信接口 1002和存储器 1003 (信息搜索装置 1中的处理器 1001的数量可以为一个或多个, 图 8中以一个 处理器 1001 为例) 。 本发明的一些实施例中, 处理器 1001、 通信接口 1002 和存储器 1003可通过通信总线或其他方式连接, 其中, 图 8以通过通信总线 连接为例。
其中, 所述通信接口 1002, 用于与搜索服务器进行通信;
所述存储器 1003用于存储程序;
所述处理器 1001用于执行所述程序, 以实现
获取用户输入的查询关键字和书签网址;
根据所述查询关键字和所述书签网址获取目标书签网址,所述目标书签网 址所指向的页面包含有所述查询关键字;
显示与所述目标书签网址对应的页面标签条目。
其中, 所述处理器 1001在执行所述根据所述查询关键字和所述书签网址 获取目标书签网址时, 具体用于:
当不加载所述书签网址所指向的页面,或无法成功加载所述书签网址所指 向的页面时,发送与所述查询关键字和所述书签网址关联的搜索请求信息到搜 索服务器;
接收所述搜索服务器搜索所述书签网址所指向的页面, 得到的搜索结果; 当根据所述搜索结果、判断所述书签网址所指向的页面包含所述查询关键 字时, 确定与包含有所述查询关键字的页面所对应的书签网址为目标书签网 址。
其中, 所述处理器 1001在执行所述发送与所述查询关键字和所述书签网 址关联的搜索请求信息到搜索服务器时, 具体用于:
为所述书签网址中每一个,分别创建与所述查询关键字关联的第一搜索请 求;
将所创建的第一搜索请求分别发送至所述搜索服务器;
其中, 所述第一搜索请求至少包括: 所述搜索服务器的地址、 一个书签网 址、 所述查询关键字。
其中, 所述处理器 1001在执行所述发送与所述查询关键字和所述书签网 址关联的搜索请求信息到搜索服务器时, 具体用于:
为全部所述书签网址, 创建与所述查询关键字关联的第二搜索请求; 将所述第二搜索请求发送至所述搜索服务器;
其中, 所述第二搜索请求至少包括: 所述搜索服务器的地址、 所述查询关 键字、 和全部所述书签网址。
其中, 所述处理器 1001在执行所述当根据所述搜索结果、 判断所述书签 网址所指向的页面包含所述查询关键字时,确定与包含有所述查询关键字的页 面所对应的书签网址为目标书签网址的步骤时, 具体用于:
判断所述搜索服务器返回的搜索结果中是否存在网络地址,所述网络地址 为所述搜索服务器搜索到的与包含有所述查询关键字的页面所对应的地址; 若判断存在所述网络地址,则判断所述搜索结果中的网络地址是否与所述 书签网址相匹配;
且确定与所述搜索结果中的网络地址相匹配的所述书签网址为目标书签 网址。
其中, 所述处理器 1001还用于:
当检测到对所述页面标签条目的点击操作时,跳转至所述目标书签网址所 指向的页面; 或者,
当检测到对所述页面标签条目的点击操作时,跳转至与所述目标书签网址 对应的网页快照地址所指向的页面。
由上可见,本发明实施例通过搜索服务器搜索每个书签网址所指向的页面 中是否包含查询关键字并返回搜索结果给浏览器,使得浏览器可以根据搜索结 果获得目标书签网址, 由于目标书签网址所指向的页面包含有所述查询关键 字, 所以最终搜索得到的目标书签网址将会更加全面、 准确, 使用户可以真正 搜索到所需要的网址,从而提升了查询效率和精确度; 同时由于可以通过搜索 服务器对页面内容进行搜索,所以在浏览器一端无需加载没有緩存的书签网址 以进行搜索, 从而可以降低用户终端的网络流量和运行压力。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算 机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体(Random Access Memory, RAM )等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之 权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims

权 利 要 求
1、 一种信息搜索的方法, 其特征在于, 包括:
获取用户输入的查询关键字和书签网址;
根据所述查询关键字和所述书签网址获取目标书签网址,所述目标书签网 址所指向的页面包含有所述查询关键字;
显示与所述目标书签网址对应的页面标签条目。
2、 如权利要求 1所述的方法, 其特征在于, 所述根据所述查询关键字和 所述书签网址获取目标书签网址, 包括:
当不加载所述书签网址所指向的页面,或无法成功加载所述书签网址所指 向的页面时,发送与所述查询关键字和所述书签网址关联的搜索请求信息到搜 索服务器;
接收所述搜索服务器搜索所述书签网址所指向的页面, 得到的搜索结果; 当根据所述搜索结果、判断所述书签网址所指向的页面包含所述查询关键 字时, 确定与包含有所述查询关键字的页面所对应的书签网址为目标书签网 址。
3、 如权利要求 2所述的方法, 其特征在于, 所述发送与所述查询关键字 和所述书签网址关联的搜索请求信息到搜索服务器, 包括:
为所述书签网址中每一个,分别创建与所述查询关键字关联的第一搜索请 求;
将所创建的第一搜索请求分别发送至所述搜索服务器;
其中, 所述第一搜索请求至少包括: 所述搜索服务器的地址、 一个书签网 址、 所述查询关键字。
4、 如权利要求 2所述的方法, 其特征在于, 所述发送与所述查询关键字 和所述书签网址关联的搜索请求信息到搜索服务器, 包括:
为全部所述书签网址, 创建与所述查询关键字关联的第二搜索请求; 将所述第二搜索请求发送至所述搜索服务器;
其中, 所述第二搜索请求至少包括: 所述搜索服务器的地址、 所述查询关 键字、 和全部所述书签网址。
5、 如权利要求 2至 4任一项所述的方法, 其特征在于, 所述当根据所述 搜索结果、判断所述书签网址所指向的页面包含所述查询关键字时,确定与包 含有所述查询关键字的页面所对应的书签网址为目标书签网址, 包括:
判断所述搜索服务器返回的搜索结果中是否存在网络地址,所述网络地址 为所述搜索服务器搜索到的与包含有所述查询关键字的页面所对应的地址; 若判断存在所述网络地址,则判断所述搜索结果中的网络地址是否与所述 书签网址相匹配;
且确定与所述搜索结果中的网络地址相匹配的所述书签网址为目标书签 网址。
6、 如权利要求 1至 5任一项所述的方法, 其特征在于, 所述显示与所述 目标书签网址对应的页面标签条目之后, 还包括:
当检测到对所述页面标签条目的点击操作时,跳转至所述目标书签网址所 指向的页面; 或者,
当检测到对所述页面标签条目的点击操作时,跳转至与所述目标书签网址 对应的网页快照地址所指向的页面。
7、 一种信息搜索装置, 其特征在于, 包括:
第一获取模块, 用于获取用户输入的查询关键字和书签网址;
第二获取模块,用于根据所述查询关键字和所述书签网址获取目标书签网 址, 所述目标书签网址所指向的页面包含有所述查询关键字; 显示模块,
8、 如权利要求 7所述的装置, 其特征在于, 所述第二获取模块包括: 发送单元, 用于当不加载所述书签网址所指向的页面, 或无法成功加载所 述书签网址所指向的页面时,发送与所述查询关键字和所述书签网址关联的搜 索请求信息到搜索服务器;
结果接收单元, 用于接收所述搜索服务器搜索所述书签网址所指向的页 面, 得到的搜索结果;
确定单元, 用于当根据所述搜索结果、判断所述书签网址所指向的页面包 含所述查询关键字时,确定与包含有所述查询关键字的页面所对应的书签网址 为目标书签网址。
9、 如权利要求 8所述的装置, 其特征在于, 所述发送单元包括: 第一创建子单元, 用于为所述书签网址中每一个, 分别创建与所述查询关 键字关联的第一搜索请求;
第一请求发送子单元,用于将所创建的第一搜索请求分别发送至所述搜索 服务器;
其中, 所述第一搜索请求至少包括: 所述搜索服务器的地址、 一个书签网 址、 所述查询关键字。
10、 如权利要求 8所述的装置, 其特征在于, 所述发送单元包括: 第二创建子单元, 用于为全部所述书签网址,创建与所述查询关键字关联 的第二搜索请求;
第二请求发送子单元, 用于将所述第二搜索请求发送至所述搜索服务器; 其中, 所述第二搜索请求至少包括: 所述搜索服务器的地址、 所述查询关 键字、 和全部所述书签网址。
11、 如权利要求 8至 10任一项所述的装置, 其特征在于, 所述确定单元 包括:
第一判断子单元,用于判断所述搜索服务器返回的搜索结果中是否存在网 络地址,所述网络地址为所述搜索服务器搜索到的与包含有所述查询关键字的 页面所对应的地址;
第二判断子单元, 用于若所述第一判断子单元判断存在所述网络地址, 则 判断所述搜索结果中的网络地址是否与所述书签网址相匹配;
目标确定子单元,用于且确定与所述搜索结果中的网络地址相匹配的所述 书签网址为目标书签网址。
12、 如权利要求 7至 11任一项所述的装置, 其特征在于, 还包括: 第一跳转模块, 用于当检测到对所述页面标签条目的点击操作时,跳转至 所述目标书签网址所指向的页面;
第二跳转模块, 用于当检测到对所述页面标签条目的点击操作时,跳转至 与所述目标书签网址对应的网页快照地址所指向的页面。
13、 一种计算机存储介质, 其特征在于,
所述计算机存储介质可存储有程序, 该程序执行时包括如权利要求 1至 6 任一项所述的步骤。
14、一种信息搜索装置, 其特征在于, 包括: 处理器、通信接口和存储器, 其中,
所述通信接口, 用于与搜索服务器进行通信;
所述存储器用于存储程序;
所述处理器用于执行所述程序, 以实现
获取用户输入的查询关键字和书签网址;
根据所述查询关键字和所述书签网址获取目标书签网址,所述目标书签网 址所指向的页面包含有所述查询关键字; 显示与所述目标书签网址对应的页面标签条目。
15、 如权利要求 14所述的装置, 其特征在于, 所述处理器具体用于: 当不加载所述书签网址所指向的页面,或无法成功加载所述书签网址所指 向的页面时,发送与所述查询关键字和所述书签网址关联的搜索请求信息到搜 索服务器;
接收所述搜索服务器搜索所述书签网址所指向的页面, 得到的搜索结果; 当根据所述搜索结果、判断所述书签网址所指向的页面包含所述查询关键 字时, 确定与包含有所述查询关键字的页面所对应的书签网址为目标书签网 址。
16、 如权利要求 15所述的装置, 其特征在于, 所述处理器具体用于: 为所述书签网址中每一个,分别创建与所述查询关键字关联的第一搜索请 求;
将所创建的第一搜索请求分别发送至所述搜索服务器;
其中, 所述第一搜索请求至少包括: 所述搜索服务器的地址、 一个书签网 址、 所述查询关键字。
17、 如权利要求 15所述的装置, 其特征在于, 所述处理器具体用于: 为全部所述书签网址, 创建与所述查询关键字关联的第二搜索请求; 将所述第二搜索请求发送至所述搜索服务器;
其中, 所述第二搜索请求至少包括: 所述搜索服务器的地址、 所述查询关 键字、 和全部所述书签网址。
18、 如权利要求 15至 17任一项所述的装置, 其特征在于, 所述处理器具 体用于:
判断所述搜索服务器返回的搜索结果中是否存在网络地址,所述网络地址 为所述搜索服务器搜索到的与包含有所述查询关键字的页面所对应的地址; 若判断存在所述网络地址,则判断所述搜索结果中的网络地址是否与所述 书签网址相匹配;
且确定与所述搜索结果中的网络地址相匹配的所述书签网址为目标书签 网址。
19、 如权利要求 14至 18任一项所述的装置, 其特征在于, 所述处理器还 用于:
当检测到对所述页面标签条目的点击操作时,跳转至所述目标书签网址所 指向的页面; 或者,
当检测到对所述页面标签条目的点击操作时,跳转至与所述目标书签网址 对应的网页快照地址所指向的页面。
PCT/CN2014/075033 2014-04-10 2014-04-10 一种信息搜索的方法以及装置 WO2015154270A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP14889076.7A EP2998885A4 (en) 2014-04-10 2014-04-10 METHOD AND DEVICE FOR SEARCHING INFORMATION
US14/895,961 US10095791B2 (en) 2014-04-10 2014-04-10 Information search method and apparatus
CN201480002514.9A CN104704495B (zh) 2014-04-10 2014-04-10 一种信息搜索的方法以及装置
PCT/CN2014/075033 WO2015154270A1 (zh) 2014-04-10 2014-04-10 一种信息搜索的方法以及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/075033 WO2015154270A1 (zh) 2014-04-10 2014-04-10 一种信息搜索的方法以及装置

Publications (1)

Publication Number Publication Date
WO2015154270A1 true WO2015154270A1 (zh) 2015-10-15

Family

ID=53350109

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075033 WO2015154270A1 (zh) 2014-04-10 2014-04-10 一种信息搜索的方法以及装置

Country Status (4)

Country Link
US (1) US10095791B2 (zh)
EP (1) EP2998885A4 (zh)
CN (1) CN104704495B (zh)
WO (1) WO2015154270A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9990116B2 (en) * 2014-08-29 2018-06-05 Sap Se Systems and methods for self-learning dynamic interfaces
CN108093130B (zh) * 2017-12-08 2020-03-31 维沃移动通信有限公司 一种查找联系人的方法及移动终端
CN108829748B (zh) * 2018-05-24 2022-03-18 努比亚技术有限公司 一种标签设置方法、设备及计算机可读存储介质
CN110246494A (zh) * 2019-05-20 2019-09-17 深圳壹账通智能科技有限公司 基于语音识别的服务请求方法、装置及计算机设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6950861B1 (en) * 2000-09-22 2005-09-27 Dell Products L.P. System and method for searching websites associated with bookmarks
CN102662940A (zh) * 2010-12-14 2012-09-12 日本电气株式会社 书签提取装置、方法以及计算机产品
CN102722481A (zh) * 2011-03-29 2012-10-10 阿里巴巴集团控股有限公司 一种用户收藏夹数据的处理方法及搜索方法
CN102945259A (zh) * 2012-10-18 2013-02-27 北京奇虎科技有限公司 一种基于收藏夹的搜索方法和搜索装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6460060B1 (en) 1999-01-26 2002-10-01 International Business Machines Corporation Method and system for searching web browser history
JP2002183203A (ja) * 2000-12-18 2002-06-28 Yamaha Corp 情報検索方法及び情報記憶媒体
US8799280B2 (en) * 2010-05-21 2014-08-05 Microsoft Corporation Personalized navigation using a search engine
CN103246746A (zh) 2013-05-23 2013-08-14 百度在线网络技术(北京)有限公司 一种信息搜索方法、装置和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6950861B1 (en) * 2000-09-22 2005-09-27 Dell Products L.P. System and method for searching websites associated with bookmarks
CN102662940A (zh) * 2010-12-14 2012-09-12 日本电气株式会社 书签提取装置、方法以及计算机产品
CN102722481A (zh) * 2011-03-29 2012-10-10 阿里巴巴集团控股有限公司 一种用户收藏夹数据的处理方法及搜索方法
CN102945259A (zh) * 2012-10-18 2013-02-27 北京奇虎科技有限公司 一种基于收藏夹的搜索方法和搜索装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2998885A4 *

Also Published As

Publication number Publication date
EP2998885A4 (en) 2016-08-17
CN104704495B (zh) 2018-02-23
EP2998885A1 (en) 2016-03-23
US10095791B2 (en) 2018-10-09
US20160117392A1 (en) 2016-04-28
CN104704495A (zh) 2015-06-10

Similar Documents

Publication Publication Date Title
US10667101B2 (en) Contextual deep linking of applications
US20190340205A1 (en) Reducing redirects
US8862777B2 (en) Systems, apparatus, and methods for mobile device detection
US9503499B1 (en) Concealing latency in display of pages
US20160188737A1 (en) Native application search results
WO2018001124A1 (zh) 网页文件发送方法、网页渲染方法及装置、网页渲染系统
WO2011116696A1 (zh) 一种提供网络资源的方法及系统
US8484373B2 (en) System and method for redirecting a request for a non-canonical web page
US20140215316A1 (en) Mapping page states to urls
WO2018023075A1 (en) Privacy aware intent resolution with external sources
WO2015154270A1 (zh) 一种信息搜索的方法以及装置
CN104023046A (zh) 移动终端识别方法和装置
US20140280335A1 (en) System and method to allow a domain name server to process a natural language query and determine context
WO2012159360A1 (zh) 网页预取的方法及装置
US9798779B2 (en) Obtaining desired web content for a mobile device
US9854053B1 (en) Providing faster data access using multiple caching servers
US10621246B2 (en) Systems and methods for building an on-device temporal web index for user curated/preferred web content
US9112912B1 (en) Security device for preemptively determining policies
KR20120016335A (ko) 오프라인 실행을 위한 웹 페이지 사전 캐싱 시스템 및 방법
WO2016077379A1 (en) Contextual deep linking of applications

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: 14889076

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14895961

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2014889076

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE