CN106919572B - Webpage searching method and browser - Google Patents

Webpage searching method and browser Download PDF

Info

Publication number
CN106919572B
CN106919572B CN201510983276.0A CN201510983276A CN106919572B CN 106919572 B CN106919572 B CN 106919572B CN 201510983276 A CN201510983276 A CN 201510983276A CN 106919572 B CN106919572 B CN 106919572B
Authority
CN
China
Prior art keywords
search result
search
user
search results
types
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510983276.0A
Other languages
Chinese (zh)
Other versions
CN106919572A (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510983276.0A priority Critical patent/CN106919572B/en
Publication of CN106919572A publication Critical patent/CN106919572A/en
Application granted granted Critical
Publication of CN106919572B publication Critical patent/CN106919572B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Abstract

The invention provides a webpage searching method and a browser. The method comprises the steps of obtaining search terms input by a user, searching the search terms, and obtaining a plurality of search results corresponding to the search terms; classifying the search results according to the types of the search results to obtain the types of the search results to which the search results belong; the search result types include: at least one of encyclopedia, library, technical forum, treatise, question and answer, patent and shopping; and displaying each search result on a display interface of a browser according to the search result type to which each search result belongs. According to the method and the device, the user does not need to select the required type of search results from the disordered search results, the user can directly obtain the same type of search results from the search results, and the search efficiency of the user is improved.

Description

Webpage searching method and browser
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to a webpage searching method and a browser.
Background
Currently, browsers have become indispensable search tools, and users can acquire required information through various browsers.
In the prior art, when a user inputs a search term in an input box of a browser, the browser returns a search result related to the search term input by the user, and displays the search result randomly on a display interface. And then the user searches the required search result on the display interface. However, since the browser displays the search results in a random display manner, the search results are cluttered, and when a user needs to obtain a certain type of search results (e.g., encyclopedia), the user needs to search for search results belonging to the certain type one by one in the randomly displayed search results, which results in low search efficiency for the user.
Disclosure of Invention
The embodiment of the invention provides a webpage searching method and a browser, and aims to solve the problem that a user has low searching efficiency because the browser randomly displays a searching result and the user needs to search the searching result which belongs to the type required by the user one by one.
In a first aspect, the present invention provides a method for searching a web page, including:
acquiring a search word input by a user, searching the search word, and acquiring a plurality of search results corresponding to the search word;
classifying the search results according to the types of the search results to obtain the types of the search results to which the search results belong; the search result types include: at least one of encyclopedia, library, technical forum, treatise, question and answer, patent and shopping;
and displaying each search result on a display interface of a browser according to the search result type to which each search result belongs.
Optionally, the search result type further includes: and a comprehensive class, wherein before the search results are classified according to the types of the search results and the types of the search results are obtained, the comprehensive class further comprises:
acquiring an indication signal which is triggered by the user and used for sequencing the search results;
displaying all search result types supported by the browser on a display interface of the browser;
acquiring the search result types selected by the user in all the search result types, and storing the search result types selected by the user;
correspondingly, the classifying the search results according to the search result types to obtain the search result types to which the search results belong includes:
and classifying the search results belonging to the search result type selected by the user according to the search result type selected by the user, and classifying the search results not belonging to the search result type selected by the user into a comprehensive class.
Optionally, after obtaining the search result type selected by the user from among all the search result types, the method further includes:
generating a display sequence of the search results corresponding to each search result type according to the selection sequence of the search result type selected by the user;
displaying a display sequence of the search results corresponding to each search result type to the user on the display interface, and acquiring an indication signal triggered by the user and used for confirming the display sequence;
the storing the search result type selected by the user comprises:
storing the search result type selected by the user and the display order confirmed by the user;
the displaying each search result on a display interface of a browser according to the search result type to which each search result belongs includes:
and displaying the search results corresponding to the search result types on a display interface of a browser according to the display sequence according to the search result types to which the search results belong, and finally displaying the search results corresponding to the comprehensive classes, wherein the search results belonging to the same search result type are continuously displayed.
Optionally, the displaying, on a display interface of a browser, each search result according to the search result type to which each search result belongs includes:
and according to the search result type to which each search result belongs, displaying each search result on a display interface of a browser according to the display sequence of the search result corresponding to each search result type, wherein the display sequence is determined according to the history of the search results viewed by the user, and each search result belonging to the same search result type is continuously displayed.
Optionally, before displaying, on a display interface of a browser, each search result according to a display order of the search results corresponding to each search result type according to the search result type to which each search result belongs, the method further includes:
acquiring a historical record of the search result viewed by the user;
acquiring the frequency of the user for checking each search result according to the history of the user for checking the search results;
and determining the display sequence of the search results corresponding to each search result type according to the frequency of the user for viewing each search result and the search result type to which each search result belongs.
Optionally, the displaying, on a display interface of a browser, each search result according to the search result type to which each search result belongs includes:
and displaying a preset number of search results which correspond to each search result type and are closest to the search terms on a display interface of a browser according to the search result type to which each search result belongs.
Optionally, after displaying, on a display interface of a browser, a preset number of search results corresponding to each search result type and closest to the search term according to the search result type to which each search result belongs, the method further includes:
acquiring browsing time of the user for the search results corresponding to the search result types;
determining the interest degree of the user in each search result type according to each browsing time;
when the user opens and closes the link of the search result and returns to the display interface of the search result, sorting the search results corresponding to each search result type according to the interest degree of the user in each search result type and displaying the search results on the display interface;
the search result types corresponding to the high user interest degree are ranked before the search result types corresponding to the low user interest degree, and the number of the search results of the search result types corresponding to the high user interest degree is larger than the number of the search results of the search result types corresponding to the low user interest degree.
Optionally, after the sorting the search results corresponding to the search result type and displaying the search results on the display interface, the method further includes:
acquiring browsing time of the user on the search results corresponding to the sorted search result types;
when the user opens and closes the link of the search result and returns to the display interface of the search result, determining the longest browsing time and the shortest browsing time according to each browsing time and deleting the search result corresponding to the type of the search result which is not browsed by the user;
judging whether the longest browsing time is N times of the shortest browsing time, wherein N is a preset integer larger than 1;
if so, deleting the search results of the search result type corresponding to the shortest browsing time, and recording the number of the deleted search results;
sorting the search results corresponding to each search result type according to the interest degree of the user in each search result type and the number of the deleted search results, and displaying the search results on a display interface;
wherein the number of search results displayed in the search result type increase in which the user's interest level is ranked before the preset order is equal to the number of deleted search results.
In a second aspect, the present invention provides a browser, comprising:
the search module is used for acquiring search terms input by a user, searching the search terms and acquiring a plurality of search results corresponding to the search terms;
the processing module is used for classifying the search results according to the search result types to acquire the search result types to which the search results belong; the search result types include: at least one of encyclopedia, library, technical forum, treatise, question and answer, patent and shopping;
and the display module is used for displaying each search result on a display interface of the browser according to the search result type to which each search result belongs.
Optionally, the search result type further includes: the integrated class, the browser further comprising:
the first acquisition module is used for acquiring an indication signal which is triggered by the user and used for sequencing the search results before the processing module classifies the search results according to the types of the search results and acquires the types of the search results; displaying all search result types supported by the browser on a display interface of the browser; acquiring the search result types selected by the user in all the search result types, and storing the search result types selected by the user;
the processing module is specifically configured to classify the search results belonging to the search result type selected by the user according to the search result type selected by the user, and classify the search results not belonging to the search result type selected by the user into a comprehensive category.
Optionally, the first obtaining module is further configured to, after obtaining the search result type selected by the user from all the search result types, generate a display order of the search result corresponding to each search result type according to a selection order of the search result type selected by the user; displaying a display sequence of the search results corresponding to each search result type to the user on the display interface, and acquiring an indication signal triggered by the user and used for confirming the display sequence; storing the search result type selected by the user and the display order confirmed by the user;
the display module is specifically configured to display, on a display interface of a browser, search results corresponding to the search result types according to the display order according to the search result types to which the search results belong, and finally display search results corresponding to the comprehensive classes, where the search results belonging to the same search result type are continuously displayed.
Optionally, the display module is specifically configured to,
and according to the search result type to which each search result belongs, displaying each search result on a display interface of a browser according to the display sequence of the search result corresponding to each search result type, wherein the display sequence is determined according to the history of the search results viewed by the user, and each search result belonging to the same search result type is continuously displayed.
Optionally, the browser further comprises:
the second obtaining module is used for obtaining the historical records of the search results viewed by the user before the display module displays the search results according to the search result types to which the search results belong and the display sequence of the search results corresponding to the search result types on the display interface of the browser;
acquiring the frequency of the user for checking each search result according to the history of the user for checking the search results;
and determining the display sequence of the search results corresponding to each search result type according to the frequency of the user for viewing each search result and the search result type to which each search result belongs.
Optionally, the display module is specifically configured to display, on a display interface of a browser, a preset number of search results corresponding to each search result type and closest to the search term according to the search result type to which each search result belongs.
Optionally, the browser further comprises:
a first sequencing module, configured to, after the display module displays, on a display interface of a browser, a preset number of search results that are closest to the search term and correspond to each search result type according to the search result type to which each search result belongs,
acquiring browsing time of the user for the search results corresponding to the search result types;
determining the interest degree of the user in each search result type according to each browsing time;
when the user opens and closes the link of the search result and returns to the display interface of the search result, sorting the search results corresponding to each search result type according to the interest degree of the user in each search result type and displaying the search results on the display interface;
the search result types corresponding to the high user interest degree are ranked before the search result types corresponding to the low user interest degree, and the number of the search results of the search result types corresponding to the high user interest degree is larger than the number of the search results of the search result types corresponding to the low user interest degree.
Optionally, the browser further comprises: a second sorting module, configured to, after the first sorting module sorts the search results corresponding to the search result type and displays the search results on a display interface,
acquiring browsing time of the user on the search results corresponding to the sorted search result types;
when the user opens and closes the link of the search result and returns to the display interface of the search result, determining the longest browsing time and the shortest browsing time according to each browsing time and deleting the search result corresponding to the type of the search result which is not browsed by the user;
judging whether the longest browsing time is N times of the shortest browsing time, wherein N is a preset integer larger than 1;
if so, deleting the search results of the search result type corresponding to the shortest browsing time, and recording the number of the deleted search results;
sorting the search results corresponding to each search result type according to the interest degree of the user in each search result type and the number of the deleted search results, and displaying the search results on a display interface;
wherein the number of search results displayed in the search result type increase in which the user's interest level is ranked before the preset order is equal to the number of deleted search results.
The invention provides a webpage searching method and a browser, wherein the method searches search words by acquiring the search words input by a user to acquire a plurality of search results corresponding to the search words; classifying the search results according to the search result types to obtain the search result types to which the search results belong; according to the search result types to which the search results belong, the search results are displayed on the display interface of the browser, so that a user does not need to select the required search results from the disordered search results, the user can directly obtain the same type of search results from the search results, and the search efficiency of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart of a first embodiment of a web page search method according to the present invention;
FIG. 2 is a flowchart of a second embodiment of a web page search method of the present invention;
FIG. 3 is a flowchart of a third embodiment of a web page search method of the present invention;
FIG. 4 is a flowchart of a fourth embodiment of a web page searching method of the present invention;
FIG. 5 is a schematic structural diagram of a first embodiment of a web page search apparatus according to the present invention;
fig. 6 is a schematic structural diagram of a second embodiment of the web page search device according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to the webpage searching method provided by the invention, the browser classifies the search results according to the search result types to which the search results belong, and then continuously displays the search results of the same type according to the search result types to which the search results belong, for example, the search results of encyclopedic are continuously displayed, the search results of technical forum are continuously displayed, and finally other search results are displayed, so that a user does not need to select the search results of the required type from the disordered search results, and the user can directly obtain the search results of the same type from the search results.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a flowchart of a first embodiment of a web page search method according to the present invention, which is executed by a browser. As shown in fig. 1, the method may include:
step 101, obtaining a search word input by a user, searching the search word, and obtaining a plurality of search results corresponding to the search word;
step 102, classifying the search results according to the search result types to obtain the search result types to which the search results belong;
wherein the search result types include: at least one of encyclopedia, library, technical forum, treatise, question and answer, patent and shopping;
and 103, displaying each search result on a display interface of the browser according to the search result type to which each search result belongs.
After the browser obtains the search terms input by the user in the search box of the browser, the browser searches the search terms to obtain a plurality of search results corresponding to the search terms.
And before displaying the search results, the browser classifies the search results according to the types of the search results. The search result types in this embodiment include: one or more of encyclopedia, library, technical forum, treatise, question and answer, patent and shopping. After the search results are classified, search results belonging to encyclopedic, search results belonging to a library, search results belonging to a technical forum and the like are obtained.
When the browser displays the search results to the user, the browser can continuously display a plurality of search results of encyclopedic, then continuously display search results of library and then continuously display search results of technical forum.
Taking a specific example, when a user inputs "sensor" in a search box, a plurality of search results are obtained. The search results include purchase information and commodity information provided by various shopping websites, technical stickers for improving sensors by various technical forums, and other various search results, which are not repeated herein. When classifying the search results, taking the search result type as an encyclopedia as an example, classifying the search results such as "encyclopedia", "Haocaoba", "Wikipedia" and the like as the encyclopedia. When the search results are displayed, the search results of encyclopedias such as 'encyclopedia', 'Haocaobankia', 'Wikipedia' and the like are sequentially displayed, and then the search results of the library class, the search results of the thesis class and other types of search results are continuously displayed.
In the embodiment, search terms input by a user are obtained, the search terms are searched, and a plurality of search results corresponding to the search terms are obtained; classifying the search results according to the search result types to obtain the search result types to which the search results belong; according to the search result types to which the search results belong, the search results are displayed on the display interface of the browser, so that a user does not need to select the required search results from the disordered search results, the user can directly obtain the same type of search results from the search results, and the search efficiency of the user is improved.
Fig. 2 is a flowchart of a second embodiment of the web page search method of the present invention, which is executed by a browser. As shown in fig. 2, the method may include:
step 201, acquiring an indication signal triggered by a user and used for sequencing search results;
step 202, displaying all search result types supported by the browser on a display interface of the browser;
step 203, obtaining the search result type selected by the user in all the search result types;
step 204, generating a display sequence of the search results corresponding to each search result type according to the selection sequence of the search result type selected by the user;
step 205, displaying a display sequence of the search results corresponding to each search result type to the user on the display interface, and acquiring an indication signal triggered by the user to confirm the display sequence;
step 206, storing the search result type selected by the user and the display sequence confirmed by the user;
step 207, obtaining a search word input by a user, searching the search word, and obtaining a plurality of search results corresponding to the search word;
step 208, classifying the search results belonging to the search result type selected by the user according to the search result type selected by the user, and classifying the search results not belonging to the search result type selected by the user into a comprehensive class;
and 209, displaying the search results corresponding to the search result types according to the display sequence and finally displaying the search results corresponding to the comprehensive category on a display interface of the browser according to the search result types to which the search results belong.
Step 207 of this embodiment is similar to step 101 of the embodiment in fig. 1, and this embodiment is not described herein again.
In this embodiment, on the basis of the first embodiment, the user may determine which type of search result is to be finally displayed and the display order of each type of search result.
In a specific implementation process, a search result setting tag is arranged on a display interface of a browser, after a user clicks the tag, an indication signal triggered by the user and used for sequencing search results is acquired, and all search result types supported by the browser are displayed on the display interface of the browser.
The user selects the interested search result types through a mouse, touch or key, and the display sequence of the search results corresponding to each search result type is generated according to the selection sequence of the user. For example, if the user selects the library class, the paper class, and the patent class, the display sequence is to display the search result of the library class, the search result of the paper class, and the search result of the patent class.
After the display sequence is acquired, displaying the display sequence on a display interface, displaying a 'yes' confirmation button and a 'no' confirmation button, acquiring an indication signal triggered by a user to confirm the display sequence if the user clicks the 'yes' button, confirming that the display sequence is correct by a browser, acquiring an indication signal triggered by the user to deny the display sequence if the user clicks the 'no' button, displaying all search result types supported by the browser to the user again, selecting the search result type by the user, regenerating the display sequence, and confirming again by the user until the user confirms the display sequence. And finally, storing the type of the search result selected by the user and the display sequence confirmed by the user.
After the search word input by the user in the search box is obtained, searching is conducted on the search word, a plurality of search results corresponding to the search word are obtained, the search results belonging to the search result type selected by the user are classified according to the search result type selected by the user, and the search results not belonging to the search result type selected by the user are classified into comprehensive categories.
And then, according to the search result type to which each search result belongs, displaying the search results corresponding to each search result type on a display interface of the browser according to the display sequence, and finally displaying the search results corresponding to the comprehensive type. For example, if the user selects the question and answer class and the patent class, all search results of the question and answer class are displayed first, then all search results of the patent class are displayed, and finally all search results of the comprehensive class are displayed.
According to the method and the device, the final selection sequence is determined according to the selection sequence of the type of the search result selected by the user, so that the final selection sequence is determined by the user, the search requirement of the user can be met, the user can quickly and directly obtain the required search result, and the search efficiency of the user is improved.
Fig. 3 is a flowchart of a third embodiment of a web page search method according to the present invention, which is executed by a browser. As shown in fig. 3, the method may include:
301, acquiring a history record of search results viewed by the user;
step 302, obtaining the frequency of the user for checking each search result according to the history of the user for checking the search results;
step 303, determining a display sequence of the search results corresponding to each search result type according to the frequency of the user viewing each search result and the search result type to which each search result belongs;
step 304, obtaining a search word input by a user, searching the search word, and obtaining a plurality of search results corresponding to the search word;
305, classifying the search results according to the types of the search results to acquire the types of the search results to which the search results belong;
and step 306, displaying each search result on a display interface of the browser according to the display sequence of the search result corresponding to each search result type according to the search result type to which each search result belongs.
Step 304 and step 305 are similar to step 101 and step 102 in the embodiment of fig. 1, and this embodiment is not described herein again.
The present embodiment may determine the final display order according to the frequency of the user viewing the search results based on the embodiment in fig. 1.
In the specific implementation process, the browser acquires the history of the search results checked by the user, acquires the frequency of checking each search result by the user according to the history of the search results checked by the user, determines the type of the search result to which each search result belongs, and finally determines the display sequence according to the frequency of the search results and the type of the search result to which each search result belongs. For example, a user often searches technical words, when the user views corresponding search results, the frequency of viewing the libraries is higher than that of viewing the technical forums, the frequency of viewing the technical forums is higher than that of viewing the patents, and other search result types are not viewed basically, so that the display sequence of the search results is determined as displaying the search results of the libraries first, then displaying the search results of the technical forums, then displaying the search results of the patents, and finally displaying the search results of the other types.
After the search terms input by the user through the search box are obtained again, searching the search terms to obtain a plurality of search results corresponding to the search terms; then classifying the search results according to the search result types to obtain the search result types to which the search results belong; according to the type of the search result to which each search result belongs, the search results of the library type are displayed firstly, then the search results of the technical forum type are displayed, then the search results of the patent type are displayed, and finally the search results of other types are displayed on a display interface of the browser.
According to the method and the device, the display sequence of the search results is determined according to the frequency of the search results checked by the user, the search results corresponding to the search result types can be displayed according to the sequence required by the user without any operation of the user, the search requirement of the user is met, the user can quickly and directly obtain the required search results, and the search efficiency of the user is improved.
Fig. 4 is a flowchart of a fourth embodiment of the web page search method of the present invention, where the present embodiment is executed by a browser, and as shown in fig. 4, the method includes:
step 401, obtaining a search word input by a user, searching the search word, and obtaining a plurality of search results corresponding to the search word;
step 402, classifying each search result according to the search result type to obtain the search result type of each search result;
step 403, displaying a preset number of search results corresponding to each search result type and closest to the search terms on a display interface of a browser according to the search result type to which each search result belongs;
step 404, obtaining browsing time of the user for the search results corresponding to each search result type;
step 405, determining the interest degree of the user in each search result type according to each browsing time;
step 406, when the user opens and closes the link of the search result and returns to the display interface of the search result, sorting the search results corresponding to each search result type according to the interest degree of the user in each search result type, and displaying the search results on the display interface;
the search result type corresponding to the high user interest degree is ranked before the search result type corresponding to the low user interest degree, and the number of the search results of the search result type corresponding to the high user interest degree is larger than that of the search result type corresponding to the low user interest degree;
step 407, acquiring browsing time of the user on the search results corresponding to the sorted search result types;
step 408, when the user opens and closes the link of the search result and returns to the display interface of the search result, determining the longest browsing time, the shortest browsing time and deleting the search result corresponding to the type of the search result which is not browsed by the user according to each browsing time;
step 409, judging whether the multiple of the longest browsing time and the shortest browsing time is greater than N, if so, executing step 410, and if not, executing step 411;
wherein N is a preset integer greater than 1;
step 410, deleting the search results of the search result type corresponding to the shortest browsing time, and recording the number of the deleted search results;
step 411, ranking the search results corresponding to each search result type according to the user's interest level in each search result type and the number of deleted search results, and displaying the search results on a display interface.
Wherein the number of search results displayed in the search result type increase in which the user's interest level is ranked before the preset order is equal to the number of deleted search results.
Steps 401 and 402 of this embodiment are similar to steps 102 and 103 of the embodiment in fig. 1, and this embodiment is not described herein again.
In a specific implementation, each search result type provides a preset number of search results closest to the search term when the search results are displayed. The preset number may be one or more. By the method, the situation that under the condition of excessive classification, the display results of multiple classifications cannot be displayed on one display interface can be avoided.
And then acquiring the browsing time of the user for the search results corresponding to each search result type. Specifically, the browsing time of the user may be determined according to the cursor staying time of the user, or when the user browses through the scroll bar, the browsing time may also be determined according to the search result displayed at the center position of the current display interface. According to the browsing time of the user, the interest degree of the user in each search result type can be determined. For example: when classification results of encyclopedic, library, technical forum, treatises and the like are presented on a display interface, the time for a user to view the technical forum is 5 minutes, the time for the user to view the technical forum is 30 seconds, the time for the user to view the technical forum is 4 minutes, and the time for the user to view the technical forum is 15 seconds, so that the user has the highest interest degree in the technical forum and the lowest interest degree in the patent.
When a user opens and closes a link of a search result and returns a display interface of the search result, the display interface of the search result is reordered and displayed, specifically, the link can be a first link opened by the user or an Mth link opened by the user, and as long as the user closes the link and returns the search interface of the search result, the search result corresponding to the type of the search result can be ordered according to the interest degree of the user in the search result and displayed on the display interface. For example, the technical forum is ranked to the first place for display, the number of search results is displayed as 10, the library is ranked to the second place for display, the search results are displayed as 8, the thesis is ranked to the third place, the search results are displayed as 4, the patent is ranked to the fourth place, and the search results are displayed as 2.
And then, continuously acquiring the browsing time of the user for the search results corresponding to the sorted search result types, determining the longest browsing time and the shortest browsing time according to the browsing time when the user opens and closes the link of the search results and returns to the display interface of the search results, and deleting the search results corresponding to the search result types which are not browsed by the user. For example, if the time for the user to view the technical forum is 6 minutes, the paper is 50 seconds, the library is 4 minutes, the patent is 10 seconds, the shopping category and the question-answer category are not browsed by the user, the longest browsing time is 6 minutes, the shortest browsing time is 10 seconds, the types not browsed by the user are the shopping category and the question-answer category, and the search result corresponding to the shopping category and the question-answer category not browsed by the user is deleted.
And then judging whether the longest browsing time and the shortest browsing time multiple are more than N times, if so, deleting the search result of the search result type corresponding to the shortest browsing time. For example, if N is 20, and the longest browsing time of 6 minutes is 36 times the shortest browsing time of 10 seconds, that is, greater than 20, the search result of the patent class is deleted.
And sequencing the search results corresponding to the search result type according to the interest degree of the user in the search result type, and displaying the search results on a display interface. For example, the technical forum is ranked to the first display, the number of search results is shown to be 12, the library is ranked to the second display, the search results are shown to be 8, the thesis is ranked to the third display, and the search results are shown to be 4. It will be appreciated by those skilled in the art that as some types are deleted, the number of search result types ranked first is increased accordingly.
Those skilled in the art can understand that, after that, the time for the user to browse each search result type may be continuously counted, and according to the browsing time, when the user opens and closes the link of the search result and returns to the display interface of the search result, the search results corresponding to each search result type are sorted according to the browsing time and displayed on the display interface.
According to the method and the device for searching the image, the sequencing of the search result types and the number of the search results corresponding to the search result types can be determined according to the interest degree of the user, so that the user can quickly obtain the search results, and the user experience is improved.
FIG. 5 is a schematic structural diagram of a first embodiment of a web page search apparatus according to the present invention; as shown in fig. 5, the apparatus of the present embodiment may include:
the search module 501 is configured to obtain a search term input by a user, search the search term, and obtain a plurality of search results corresponding to the search term;
the processing module 502 is configured to classify each search result according to a search result type, and obtain a search result type to which each search result belongs; the search result types include: at least one of encyclopedia, library, technical forum, treatise, question and answer, patent and shopping;
the display module 503 is configured to display each search result on a display interface of the browser according to the search result type to which each search result belongs.
Fig. 6 is a schematic structural diagram of a second embodiment of the web page search apparatus of the present invention, as shown in fig. 6, the apparatus of this embodiment may further include, on the basis of the apparatus structure shown in fig. 5:
a first obtaining module 504, configured to obtain an indication signal triggered by the user and used for sorting the search results before the processing module classifies each search result according to a type of the search result and obtains a type to which each search result belongs; displaying all search result types supported by the browser on a display interface of the browser; acquiring the search result types selected by the user in all the search result types, and storing the search result types selected by the user;
the processing module 502 is specifically configured to classify the search results belonging to the search result type selected by the user according to the search result type selected by the user, and classify the search results not belonging to the search result type selected by the user into a comprehensive category.
Optionally, the first obtaining module 504 is further configured to, after obtaining the search result type selected by the user from all the search result types, generate a display order of the search result corresponding to each search result type according to a selection order of the search result type selected by the user; displaying a display sequence of the search results corresponding to each search result type to the user on the display interface, and acquiring an indication signal triggered by the user and used for confirming the display sequence; storing the search result type selected by the user and the display order confirmed by the user;
the display module 503 is specifically configured to display, on a display interface of a browser, search results corresponding to each search result type according to the display order according to the search result type to which each search result belongs, and finally display search results corresponding to an integrated type, where search results belonging to the same search result type are continuously displayed.
Optionally, the display module 503 is specifically configured to,
and according to the search result type to which each search result belongs, displaying each search result on a display interface of a browser according to the display sequence of the search result corresponding to each search result type, wherein the display sequence is determined according to the history of the search results viewed by the user, and each search result belonging to the same search result type is continuously displayed.
Optionally, the browser further comprises:
a second obtaining module 505, configured to obtain a history of search results viewed by the user before the display module displays, according to the search result type to which each search result belongs, each search result on a display interface of a browser according to a display order of the search results corresponding to each search result type;
acquiring the frequency of the user for checking each search result according to the history of the user for checking the search results;
and determining the display sequence of the search results corresponding to each search result type according to the frequency of the user for viewing each search result and the search result type to which each search result belongs.
Optionally, the display module is specifically configured to display, on a display interface of a browser, a preset number of search results corresponding to each search result type and closest to the search term according to the search result type to which each search result belongs.
Optionally, the browser further comprises:
a first sorting module 506, configured to, after the display module displays, according to the search result type to which each search result belongs, a preset number of search results that are corresponding to each search result type and are closest to the search term on a display interface of a browser,
acquiring browsing time of the user for the search results corresponding to the search result types;
determining the interest degree of the user in each search result type according to each browsing time;
when the user opens and closes the link of the search result and returns to the display interface of the search result, sorting the search results corresponding to each search result type according to the interest degree of the user in each search result type and displaying the search results on the display interface;
the search result types corresponding to the high user interest degree are ranked before the search result types corresponding to the low user interest degree, and the number of the search results of the search result types corresponding to the high user interest degree is larger than the number of the search results of the search result types corresponding to the low user interest degree.
Optionally, the browser further comprises: a second sorting module 507, configured to, after the first sorting module sorts the search results corresponding to the search result type and displays the search results on a display interface,
acquiring browsing time of the user on the search results corresponding to the sorted search result types;
when the user opens and closes the link of the search result and returns to the display interface of the search result, determining the longest browsing time and the shortest browsing time according to each browsing time and deleting the search result corresponding to the type of the search result which is not browsed by the user;
judging whether the longest browsing time is N times of the shortest browsing time, wherein N is a preset integer larger than 1;
if so, deleting the search results of the search result type corresponding to the shortest browsing time, and recording the number of the deleted search results;
sorting the search results corresponding to each search result type according to the interest degree of the user in each search result type and the number of the deleted search results, and displaying the search results on a display interface;
wherein the number of search results displayed in the search result type increase in which the user's interest level is ranked before the preset order is equal to the number of deleted search results.
The browser provided in this embodiment may be configured to execute the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A method for searching a web page, comprising:
acquiring a search word input by a user, searching the search word, and acquiring a plurality of search results corresponding to the search word;
classifying the search results according to the types of the search results to obtain the types of the search results to which the search results belong; the search result types include: at least one of encyclopedia, library, technical forum, treatise, question and answer, patent and shopping;
displaying each search result on a display interface of a browser according to the search result type to which each search result belongs;
displaying each search result on a display interface of a browser according to the search result type to which each search result belongs, wherein the displaying comprises: displaying a preset number of search results which correspond to each search result type and are closest to the search terms on a display interface of a browser according to the search result type to which each search result belongs;
acquiring browsing time of the user for the search results corresponding to the search result types;
determining the interest degree of the user in each search result type according to each browsing time;
when the user opens and closes the link of the search result and returns to the display interface of the search result, sorting the search results corresponding to each search result type according to the interest degree of the user in each search result type and displaying the search results on the display interface;
acquiring browsing time of the user on the search results corresponding to the sorted search result types;
when the user opens and closes the link of the search result and returns to the display interface of the search result, determining the longest browsing time and the shortest browsing time according to each browsing time and deleting the search result corresponding to the type of the search result which is not browsed by the user;
judging whether the longest browsing time is N times of the shortest browsing time, wherein N is a preset integer larger than 1;
if so, deleting the search results of the search result type corresponding to the shortest browsing time, and recording the number of the deleted search results;
and sorting the search results corresponding to each search result type according to the interest degree of the user in each search result type and the number of the deleted search results, and displaying the search results on a display interface.
2. The method of claim 1, wherein the search result type further comprises: and a comprehensive class, wherein before the search results are classified according to the types of the search results and the types of the search results are obtained, the comprehensive class further comprises:
acquiring an indication signal which is triggered by the user and used for sequencing the search results;
displaying all search result types supported by the browser on a display interface of the browser;
acquiring the search result types selected by the user in all the search result types, and storing the search result types selected by the user;
correspondingly, the classifying the search results according to the search result types to obtain the search result types to which the search results belong includes:
and classifying the search results belonging to the search result type selected by the user according to the search result type selected by the user, and classifying the search results not belonging to the search result type selected by the user into a comprehensive class.
3. The method of claim 2, wherein after obtaining the search result type selected by the user from among all search result types, further comprising:
generating a display sequence of the search results corresponding to each search result type according to the selection sequence of the search result type selected by the user;
displaying a display sequence of the search results corresponding to each search result type to the user on the display interface, and acquiring an indication signal triggered by the user and used for confirming the display sequence;
the storing the search result type selected by the user comprises:
storing the search result type selected by the user and the display order confirmed by the user;
the displaying each search result on a display interface of a browser according to the search result type to which each search result belongs includes:
and displaying the search results corresponding to the search result types on a display interface of a browser according to the display sequence according to the search result types to which the search results belong, and finally displaying the search results corresponding to the comprehensive classes, wherein the search results belonging to the same search result type are continuously displayed.
4. The method of claim 1, wherein displaying each search result on a display interface of a browser according to a search result type to which each search result belongs comprises:
and according to the search result type to which each search result belongs, displaying each search result on a display interface of a browser according to the display sequence of the search result corresponding to each search result type, wherein the display sequence is determined according to the history of the search results viewed by the user, and each search result belonging to the same search result type is continuously displayed.
5. The method of claim 4, further comprising, before displaying the search results according to the search result types to which the search results belong and the display order of the search results corresponding to the search result types on the display interface of the browser, the method further comprising:
acquiring a historical record of the search result viewed by the user;
acquiring the frequency of the user for checking each search result according to the history of the user for checking the search results;
and determining the display sequence of the search results corresponding to each search result type according to the frequency of the user for viewing each search result and the search result type to which each search result belongs.
6. The method of claim 1, wherein the search result type with high user interest level is ranked ahead of the search result type with low user interest level, and the number of search results of the search result type with high user interest level is greater than the number of search results of the search result type with low user interest level.
7. The method of claim 1, wherein the search result type with the user's level of interest before the preset order increases the number of search results displayed and the number of deleted search results are equal.
8. A browser, comprising:
the search module is used for acquiring search terms input by a user, searching the search terms and acquiring a plurality of search results corresponding to the search terms;
the processing module is used for classifying the search results according to the search result types to acquire the search result types to which the search results belong; the search result types include: at least one of encyclopedia, library, technical forum, treatise, question and answer, patent and shopping;
the display module is used for displaying each search result on a display interface of a browser according to the search result type to which each search result belongs;
the display module is specifically configured to display, on a display interface of a browser, a preset number of search results corresponding to each search result type and closest to the search term according to the search result type to which each search result belongs;
and, the browser further comprises:
a first sequencing module, configured to, after the display module displays, on a display interface of a browser, a preset number of search results that are closest to the search term and correspond to each search result type according to the search result type to which each search result belongs,
acquiring browsing time of the user for the search results corresponding to the search result types;
determining the interest degree of the user in each search result type according to each browsing time;
when the user opens and closes the link of the search result and returns to the display interface of the search result, sorting the search results corresponding to each search result type according to the interest degree of the user in each search result type and displaying the search results on the display interface;
a second sorting module, configured to, after the first sorting module sorts the search results corresponding to the search result type and displays the search results on a display interface,
acquiring browsing time of the user on the search results corresponding to the sorted search result types;
when the user opens and closes the link of the search result and returns to the display interface of the search result, determining the longest browsing time and the shortest browsing time according to each browsing time and deleting the search result corresponding to the type of the search result which is not browsed by the user;
judging whether the longest browsing time is N times of the shortest browsing time, wherein N is a preset integer larger than 1;
if so, deleting the search results of the search result type corresponding to the shortest browsing time, and recording the number of the deleted search results;
and sorting the search results corresponding to each search result type according to the interest degree of the user in each search result type and the number of the deleted search results, and displaying the search results on a display interface.
9. The browser of claim 8, wherein the search result types further comprise: the integrated class, the browser further comprising:
the first acquisition module is used for acquiring an indication signal which is triggered by the user and used for sequencing the search results before the processing module classifies the search results according to the types of the search results and acquires the types of the search results; displaying all search result types supported by the browser on a display interface of the browser; acquiring the search result types selected by the user in all the search result types, and storing the search result types selected by the user;
the processing module is specifically configured to classify the search results belonging to the search result type selected by the user according to the search result type selected by the user, and classify the search results not belonging to the search result type selected by the user into a comprehensive category.
CN201510983276.0A 2015-12-24 2015-12-24 Webpage searching method and browser Expired - Fee Related CN106919572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510983276.0A CN106919572B (en) 2015-12-24 2015-12-24 Webpage searching method and browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510983276.0A CN106919572B (en) 2015-12-24 2015-12-24 Webpage searching method and browser

Publications (2)

Publication Number Publication Date
CN106919572A CN106919572A (en) 2017-07-04
CN106919572B true CN106919572B (en) 2020-06-30

Family

ID=59459883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510983276.0A Expired - Fee Related CN106919572B (en) 2015-12-24 2015-12-24 Webpage searching method and browser

Country Status (1)

Country Link
CN (1) CN106919572B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108268582B (en) * 2017-07-14 2021-05-07 阿里巴巴(中国)有限公司 Information query method and device
CN109376298B (en) * 2018-09-14 2022-01-25 阿里巴巴(中国)有限公司 Data processing method and device, terminal equipment and computer storage medium
CN111382339B (en) * 2020-03-10 2024-04-02 北京搜狗科技发展有限公司 Search processing method and device for search processing
CN112199465B (en) * 2020-09-01 2024-02-06 北京达佳互联信息技术有限公司 Information searching method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929924A (en) * 2012-09-20 2013-02-13 百度在线网络技术(北京)有限公司 Method and device for generating word selecting searching result based on browsing content
CN102968413A (en) * 2011-08-31 2013-03-13 北京百度网讯科技有限公司 Method and equipment for providing searching result
CN104462573A (en) * 2014-12-29 2015-03-25 北京奇艺世纪科技有限公司 Method and device for displaying video retrieval results
CN105095231A (en) * 2014-04-29 2015-11-25 阿里巴巴集团控股有限公司 Method and device for presenting search result

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7689546B2 (en) * 2004-08-23 2010-03-30 Lexisnexis, A Division Of Reed Elsevier Inc. Point of law search system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968413A (en) * 2011-08-31 2013-03-13 北京百度网讯科技有限公司 Method and equipment for providing searching result
CN102929924A (en) * 2012-09-20 2013-02-13 百度在线网络技术(北京)有限公司 Method and device for generating word selecting searching result based on browsing content
CN105095231A (en) * 2014-04-29 2015-11-25 阿里巴巴集团控股有限公司 Method and device for presenting search result
CN104462573A (en) * 2014-12-29 2015-03-25 北京奇艺世纪科技有限公司 Method and device for displaying video retrieval results

Also Published As

Publication number Publication date
CN106919572A (en) 2017-07-04

Similar Documents

Publication Publication Date Title
CN109271512B (en) Emotion analysis method, device and storage medium for public opinion comment information
US10672052B2 (en) Method, apparatus, system, and computer program for offering and displaying product information
US7813965B1 (en) Method, system, and computer readable medium for ranking and displaying a pool of links identified and aggregated from multiple customer reviews pertaining to an item in an electronic catalog
US10664888B2 (en) Method and system for attribute extraction from product titles using sequence labeling algorithms
CN106919572B (en) Webpage searching method and browser
CN103970850B (en) Site information recommends method and system
CN105528388B (en) Search recommendation method and device
WO2016034028A1 (en) Method, apparatus and device for obtaining product information
WO2017218329A1 (en) Navigating an electronic item database via user intention
US20150120634A1 (en) Information processing device, information processing method, and program
KR20220101326A (en) System for increasing open market product sales and efficient operation
TWI457775B (en) Method for sorting and managing websites and electronic device of executing the same
CN111488434B (en) Recommendation method and device for input associative words, storage medium and electronic equipment
JP5479230B2 (en) INFORMATION DISPLAY PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING INFORMATION DISPLAY PROGRAM, INFORMATION DISPLAY METHOD, INFORMATION DISPLAY DEVICE, AND INFORMATION PROVIDING SYSTEM
TWI507902B (en) A retrieval system, a retrieval condition setting device, a control method of a search condition setting device, a computer program product, and an information memory medium
JPWO2014196063A1 (en) Product search system and product search program
CN112445909A (en) Commodity retrieval method and device
JP6424194B2 (en) Information processing apparatus, information processing method, and information processing program
CN112529666B (en) Commodity recommendation method, commodity recommendation system, computer equipment and storage medium
KR102477841B1 (en) Controlling method for retrieval device, server and retrieval system
JP2022066610A (en) Information processing device, information processing method, and program
JP2014225132A (en) Retrieval system and retrieval device
JP2014186607A (en) Document retrieval device, document retrieval method, program, and document retrieval system
CN110532454A (en) A kind of search words recommending method and device
CN111353075A (en) Information processing apparatus, recording medium, and information processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200630

Termination date: 20211224

CF01 Termination of patent right due to non-payment of annual fee