Information search method and apparatus
AssigneeHuawei Devices (Dongguan) Co., Ltd.
InventorHao Jing
Life of this patent
Estimating the term…
Abstract
Embodiments of the present invention disclose an information search method and apparatus, where the method includes: acquiring a query keyword input by a user and a bookmark website address; acquiring a target bookmark website address according to the query keyword and the bookmark website address, where a page to which the target bookmark website address points includes the query keyword; and displaying a page label item corresponding to the target bookmark website address. By using the present invention, a website address that is actually required by a user can be more comprehensively and accurately found, so as to improve query efficiency and accuracy.
Claims11
An information search method performed by a user device comprising a local memory, the method comprising:
- acquiring a query keyword input by a user and at least one bookmark website address;
- acquiring at least one target bookmark website address according to the query keyword and the at least one bookmark website address, wherein at least one page to which the at least one target bookmark website address points comprises the query keyword;
- and
- displaying a page label item corresponding to the at least one target bookmark website address,
- wherein the acquiring at least one target bookmark website address according to the query keyword and the at least one bookmark website address comprises:
- when a page to which one of the at least one bookmark website address points is not loaded on the local memory of the user device or a page to which one of the at least one bookmark website address points cannot be successfully loaded from the local memory of the user device, sending search request information that is associated with both the query keyword and the at least one bookmark website address to a search server;
- receiving a search result that is obtained by the search server by searching the at least one page to which the at least one bookmark website address points;
- and
- determining, when it is determined, according to the search result, that the at least one page to which the at least one bookmark website address points comprises the query keyword, that the at least one bookmark website address corresponding to the at least one page comprising the query keyword is the at least one target bookmark website address.
A non-transitory computer readable storage medium, wherein the computer readable storage medium stores a program for performing an information search method at a user device including a processor and a communications interface, wherein when the program is executed by the processor of the user device, the user device is configured to perform steps comprising:
- acquiring a query keyword input by a user and at least one bookmark website address;
- acquiring at least one target bookmark website address according to the query keyword and the at least one bookmark website address, wherein at least one page to which the at least one target bookmark website address points comprises the query keyword;
- and
- displaying a page label item corresponding to the at least one target bookmark website address,
- wherein the acquiring at least one target bookmark website address according to the query keyword and the at least one bookmark website address comprises:
- when a page to which one of the at least one bookmark website address points is not loaded locally or a page to which one of the at least one bookmark website address points cannot be successfully loaded locally, sending search request information that is associated with both the query keyword and the at least one bookmark website address to a search server;
- receiving a search result that is obtained by the search server by searching the at least one page to which the at least one bookmark website address points;
- and
- determining, when it is determined, according to the search result, that the at least one page to which the at least one bookmark website address points comprises the query keyword, that the at least one bookmark website address corresponding to the at least one page comprising the query keyword is the at least one target bookmark website address.
An information search apparatus, comprising:
- a processor, a communications interface, and a memory, wherein
- the communications interface is configured to communicate with a search server;
- the memory is configured to store a program;
- and
- the processor is configured to execute the program, so as to implement steps comprising:
- acquiring a query keyword input by a user and at least one bookmark website address;
- acquiring at least one target bookmark website address according to the query keyword and the at least one bookmark website address, wherein at least one page to which the at least one target bookmark website address points comprises the query keyword;
- and
- displaying a page label item corresponding to the at least one target bookmark website address,
- wherein, when a page to which one of the at least one bookmark website address points is not loaded locally or a page to which one of the at least one bookmark website address points cannot be successfully loaded locally, the processor is further configured to:
- send search request information that is associated with both the query keyword and the at least one bookmark website address to the search server;
- receive a search result that is obtained by the search server by searching the at least one page to which the at least one bookmark website address points;
- and
- determine, when it is determined, according to the search result, that the at least one page to which the at least one bookmark website address points comprises the query keyword, that the at least one bookmark website address corresponding to the at least one page comprising the query keyword is the at least one target bookmark website address.
Dependencies are inferred from the claim text.