[go: up one dir, main page]

CN104123332B - The display methods and device of search result - Google Patents

The display methods and device of search result Download PDF

Info

Publication number
CN104123332B
CN104123332B CN201410036558.5A CN201410036558A CN104123332B CN 104123332 B CN104123332 B CN 104123332B CN 201410036558 A CN201410036558 A CN 201410036558A CN 104123332 B CN104123332 B CN 104123332B
Authority
CN
China
Prior art keywords
search
historical
result
click
weight value
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.)
Active
Application number
CN201410036558.5A
Other languages
Chinese (zh)
Other versions
CN104123332A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410036558.5A priority Critical patent/CN104123332B/en
Publication of CN104123332A publication Critical patent/CN104123332A/en
Priority to PCT/CN2015/070303 priority patent/WO2015109944A1/en
Application granted granted Critical
Publication of CN104123332B publication Critical patent/CN104123332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles

Landscapes

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

Abstract

The invention discloses a kind of display methods of search result and devices.Wherein, this method includes:Log history searches for data, wherein historical search data includes:Historical search word, the history number of clicks of each historical search word corresponding historical query result and each historical query result;After obtaining current search word input by user, is inquired in historical search data using current search word, obtain the corresponding multiple search results of current search word;According to the history number of clicks of each historical query result, the click weighted value of each search result is determined;The corresponding multiple search results of current search word are sequentially displayed according to the click weighted value of each search result in display menu.By means of the invention it is possible to improve the search efficiency of search result and accuracy higher.

Description

Search result display method and device
Technical Field
The invention relates to the field of data search processing, in particular to a method and a device for displaying search results.
Background
In the prior art, the basic working principle of the search engine includes the following three processes: firstly, storing the searched search result information in a database; meanwhile, extracting and organizing information to establish an index library; and then the retriever quickly detects the documents in the index database according to the query keywords input by the user, evaluates the relevancy of the documents and the query, sorts the results to be output and returns the query results to the user.
Specifically, the existing search engine provides a search service. When a user searches for information by using keywords, a search engine searches in a database, if the content which is consistent with the content required by the user is found, the relevance and ranking grade of each matched content are usually calculated according to the matching degree of the keywords in a webpage, and then the matching results are returned to the user in sequence according to the degree of relevance.
The full-text search engine can display the content which accords with the search result according to the keyword matching, but because all the matched objects need to be traversed during each search, the search efficiency is low, and the requirement that a user can find the required content more quickly cannot be met.
Aiming at the problem that a search mode adopting keyword matching in the related technology cannot provide a more efficient search result, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for displaying search results, which at least solve the technical problem that a search mode adopting keyword matching in the related art cannot provide more efficient search results.
According to an aspect of an embodiment of the present invention, there is provided a method for displaying search results, the method including: recording historical search data, wherein the historical search data comprises: historical search terms, historical query results corresponding to each historical search term and historical click times of each historical query result; after acquiring a current search word input by a user, using the current search word to query in historical search data to obtain a plurality of search results corresponding to the current search word; determining the click weight value of each search result according to the historical click times of each historical query result; and sequentially displaying a plurality of search results corresponding to the current search term in a display menu according to the click weight value of each search result.
According to another aspect of the embodiments of the present invention, there is also provided a display apparatus of search results, the apparatus including: the storage module is used for recording historical search data, wherein the historical search data comprises: historical search terms, historical query results corresponding to each historical search term and historical click times of each historical query result; the processing module is used for querying in historical search data by using the current search word after the current search word input by the user is obtained, and obtaining a plurality of search results corresponding to the current search word; the determining module is used for determining the click weight value of each search result according to the historical click times of each historical query result; and the display processing module is used for sequentially displaying a plurality of search results corresponding to the current search term in the display menu according to the click weight value of each search result.
In the embodiment of the invention, historical search data is recorded, wherein the historical search data comprises the following steps: historical search terms, historical query results corresponding to each historical search term and historical click times of each historical query result; after acquiring a current search word input by a user, using the current search word to query in historical search data to obtain a plurality of search results corresponding to the current search word; determining the click weight value of each search result according to the historical click times of each historical query result; the method sequentially displays a plurality of search results corresponding to the current search term in the display menu according to the click weight value of each search result, and can more accurately find the corresponding search results based on the existing historical search data after the current search term is input by adopting the method of learning the search results of the historical search behavior of the user, because the process is based on the further accurate query of an effective query result and can determine the display sequence of the current search result according to the click times of the historical search results, the search results displayed in the display menu are more accurate, the aim that the user can more conveniently search the contents to be queried is achieved, thereby realizing the technical effects of improving the search efficiency and the accuracy of the search results, and further solving the problem of the related technology of adopting the keyword matching search mode, the technical problem of providing more efficient search results cannot be solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic structural diagram of a display device for search results according to a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an alternative search result display device according to a first embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an alternative search result display apparatus according to a first embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a display device for displaying alternative search results according to a first embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a display device for displaying alternative search results according to a first embodiment of the present invention; and
fig. 6 is a flowchart illustrating a method for displaying search results according to a second embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present invention better understood, 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above 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 capable of operation in sequences other than those illustrated or 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.
Example 1
Before describing further details of embodiments of the present application, one suitable computing device structure that may be used to implement the principles of the present application will be described with reference to FIG. 1. In the following description, embodiments of the present application will be described with reference to acts and symbolic representations of operations that are performed by one or more computers, unless indicated otherwise. As such, it will be understood that such acts and operations, which are at times referred to as being computer-executed, include the manipulation by the processing unit of the computer of electrical signals representing data in a structured form. This manipulation transforms the data or maintains it at locations in the computer's memory system, which reconfigures or otherwise alters the operation of the computer in a manner well understood by those skilled in the art. The data structures that maintain the data are physical locations of the memory that have particular properties defined by the format of the data. However, while the present application is described in the foregoing context, it is not meant to be limiting, as those of skill in the art will appreciate that aspects of the acts and operations described hereinafter may also be implemented in hardware.
In its most basic configuration, fig. 1 is a schematic structural diagram of a display device for search results according to a first embodiment of the present invention. For descriptive purposes, the architecture portrayed is only one example of a suitable environment and is not intended to suggest any limitation as to the scope of use or functionality of the application. Neither should the computing system be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in FIG. 1.
As shown in fig. 1, the display device of the search result may include: a storage module 11, a processing module 13, a determination module 15 and a display processing module 17.
The saving module 11 is configured to record historical search data, where the historical search data includes: historical search terms, historical query results corresponding to each historical search term and historical click times of each historical query result; the processing module 13 is configured to, after obtaining a current search term input by a user, perform a query in historical search data by using the current search term to obtain a plurality of search results corresponding to the current search term; the determining module 15 is configured to determine a click weight value of each search result according to the historical click frequency of each historical query result; and the display processing module 17 is configured to sequentially display the plurality of search results corresponding to the current search term in the display menu according to the click weight value of each search result.
In the embodiment of the apparatus provided in the first embodiment of the present application, the storage module 11 records history search data obtained by a history search behavior of a user, and after a current search term input by the user is obtained, a processing module 13 may query a search result corresponding to the current search term in the history search data, at this time, the determining module 15 may determine a click weight value of the search result queried in the processing module 13 according to a history click number of the history query result, so that the display processing module 17 may sequentially display a plurality of search results obtained by searching the current search term in the display menu according to the click weight value.
According to the scheme, the search result of the historical search behavior of the user is learned, so that after the current search word is input, the corresponding search result can be found more accurately based on the existing historical search data, the process is further accurate query based on an effective query result, and the display sequence of the current search result can be determined according to the click times of the historical search result, so that the search result displayed in the display menu is more accurate, the purpose that the user can search the content to be queried more conveniently is achieved, the technical effects of improving the search efficiency and improving the accuracy of the search result are achieved, and the technical problem that the search mode of the related technology adopting keyword matching cannot provide the more efficient search result is solved.
Specifically, the historical search data in the foregoing embodiment of the present application may be stored in a form of a keyword mapping table, which is specifically shown in table 1 below:
TABLE 1
As can be seen from the above, the above historical search data is a result of automatic learning by a system, and may include: historical search terms, historical query results corresponding to each historical search term, and historical click times of each historical query result. The historical search data recorded in the data table here may be query results obtained using a keyword matching method.
Preferably, as shown in fig. 2, in an alternative embodiment provided in the first embodiment of the present application, the processing module 13 may include:
the matching module 131 is configured to match the current search word with each historical search word in the historical search data, so as to obtain a historical search word set corresponding to the current search word, where the historical search word set is at least one historical search word that includes the current search word.
The query module 132 is configured to use a historical query result corresponding to each historical search term in the historical search term set as a plurality of search results corresponding to the current search term.
Specifically, in the embodiments of the present application, the search result of the current search term is obtained based on the historical search data obtained by the historical search behavior of the user. That is, when the user inputs a search term again, first, the matching module 131 may match each historical search term in the historical search data to obtain a historical search term matched with the current search term, and form a historical search term set corresponding to the current search term.
It should be noted that, the matching condition for matching each historical search term of the current search term is to query the historical search term including the current search term. The inclusion herein may be further defined as the current search term being completely consistent with the historical search terms, or the current search term being first in the historical search terms. For example, taking the historical search terms provided in table 1 as an example, if the current search term is "a", the historical search terms matching the current search term include: "al", "an", and "a".
After obtaining the historical search term set matching the current search term, a plurality of search results corresponding to the current search term may be obtained, where the search results are historical query results included in the historical search term set, for example, still taking the historical search terms provided in table 1 as an example, after obtaining the historical search terms "al", "an", and "a" matching the current search term, a set of matching historical query results "all", "angela", and "andie" may be obtained by querying from table 1 through the query module 132, where the set of historical query results is the search result of the current search term.
Preferably, as shown in fig. 3, in an optional embodiment provided in the foregoing embodiment of the present application, the determining module 15 may include: a reading module 151 and an obtaining module 152.
And a reading module 151, configured to read the historical click times of each historical query result in the historical search term set from the historical search data. For example, still taking the historical search terms provided in table 1 as an example, the historical click times of the historical query results "all", "angela" and "andie" obtained by querying the current search term "a" are respectively: 4 times, 2 times and 1 time, wherein the historical click times of the historical search word corresponding to the current search word "a" are the sum of the historical click times of the "al" and the "a" because the historical search word matched with the "a" has two "al" and "a".
The obtaining module 152 is configured to multiply the historical click times of each historical query result in the historical search term set by the corresponding click weight coefficient, respectively, to obtain a click weight value of each search result corresponding to the current search term. For example, still taking the historical search terms provided in table 1 as an example, the click weight coefficients may all be set to 3 in advance, and therefore, the click weight values of the three historical query results corresponding to the current search term "a" are "12", "6", and "3", respectively.
Specifically, in the above embodiment, the reading module 151 and the obtaining module 152 determine the number of click weights corresponding to the current search term, and establish the association between the search keyword of the current search behavior of the user and the historical click behavior, so as to establish an index list of the current search term, which may be specifically shown in table 2:
TABLE 2
As can be seen from the above, after the user inputs the current search word, the corresponding search result can be obtained by using the result of the historical search data automatically learned by the system, that is, the search result of the current search word "a" includes: "all", "angela" and "andie", the click weight values are: 4 times, 2 times and 1 time. If the historical query results corresponding to the historical search terms "al" and "a" matched with the current search term "a" are all ", the historical click times of the historical query results corresponding to the two historical search terms are accumulated.
As shown in fig. 4, in an alternative embodiment provided in the first embodiment of the present application, the display processing module 17 includes:
and the sorting module 171 is configured to sort each search result in a descending order according to the click weight value to obtain a search result set sorted in the descending order.
And the display module 172 is configured to display the first N search results in the search result set in the first display area of the display menu according to the sorting position, and display the search results other than the first N search results in the second display area of the display menu. Specifically, the first display area may be a common area of the user, that is, several search results learned by the system according to historical search data and having the highest user click probability may be located in a pull-down menu of the search input box, that is, several search results ranked the first may be displayed at a position that is most easily seen by the user, for example, 3 search results may be displayed, and other search results may be placed in the second display area, that is, the search results learned by the system according to historical search data and having a lower user click probability, and the positions of the second display area may be optimally arranged according to the layout of the display screen.
The display mode of the first display area and the second display area is not limited in the present invention.
It should be further noted that the above apparatus may further include: and the setting module is used for setting the click weight value of the first search result to be zero if the number of times that the first search result displayed in the first display area is not clicked is detected to exceed n times.
Specifically, as the system learns that the search results displayed in the first display area are all the results with higher search probability in the history according to the history search data, but the results change along with the use habits of the user, the system records the number of clicks of the search results displayed in the first display area by the user, if it is detected that no click occurs for n consecutive times (for example, 5 times) of the number of clicks of any search result in the first display area, that is, the current search result is considered to be no longer the search result preferred by the user, the system can set the click weight value to 0, when the next search occurs by the user, the search result is no longer displayed in the first display area, and can be placed in the second display area, and if the user wants to obtain the search result, the user can query in the second display area.
Preferably, in the first embodiment, as shown in fig. 5, after the completion of the sorting and displaying of the search results in the display menu according to the click weight value of each search result is performed by the display processing module 17, the apparatus may further include:
a detecting module 191 for detecting whether a plurality of search results displayed in the display menu are clicked;
the calculating module 192 is configured to, after it is detected that any one of the search results in the display menu is clicked, add a first weight value to a click weight value of the clicked search result in the display menu, and decrease a second weight value to a click weight value of a search result that is not clicked in the display menu.
Specifically, the first weight value may be set to 3, the second weight value may be set to 1, and the two weight values may be adjusted according to requirements.
It should be further explained here that, in an alternative embodiment provided in the foregoing embodiment of the present application, the saving module 11 may include: the first sub-saving module 111 is used for recording historical search terms input by a user; the second sub-saving module 112 is configured to record a historical query result corresponding to each historical search term after obtaining the historical query result according to the historical search term query; and a third sub-saving module 113, configured to record the number of clicks of the historical query result if it is detected that the historical query result is clicked. The storage module is a learning process of the system for historical search data.
Example 2
There is also provided, in accordance with an embodiment of the present invention, a method embodiment for implementing the above-described apparatus embodiments, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 6 is a flowchart illustrating a method for displaying search results according to a second embodiment of the present invention.
As shown in fig. 6, the method for displaying the search result may include the following implementation steps:
step S60, recording historical search data, wherein the historical search data includes: historical search terms, historical query results corresponding to each historical search term, and historical click times of each historical query result.
The history search data in step S60 may be search data in which the terminal records local history search behavior, or may be template-based history search data imported by the external device.
Step S62, after acquiring the current search term input by the user, using the current search term to perform a query in the historical search data, and obtaining a plurality of search results corresponding to the current search term.
The step S62 is a step of determining the search result of the currently occurring search behavior by using the search data of the past search behavior of the user, and since the current search result is based on the historical search data, the process of full-text matching search is eliminated, and the search efficiency is higher.
Step S64, according to the historical click frequency of each historical inquiry result, determining the click weight value of each search result.
And step S66, sequentially displaying a plurality of search results corresponding to the current search term in a display menu according to the click weight value of each search result.
The above steps S64-S66 allow the user to find a desired search result and its corresponding specific content more quickly since the search behavior occurring at the current search term is determined to result in the display order of the search results using the number of clicks of the past historical search results.
Therefore, in the method embodiment provided by the second embodiment of the present application, the historical search data obtained by recording the historical search behavior of the user is obtained, and after the current search term input by the user is obtained, the search result corresponding to the current search term can be queried in the historical search data, at this time, the system determines the click weight value of the search result obtained by querying the search behavior according to the historical click times of the historical query result, so that the system can sequentially display a plurality of search results obtained by searching the current search term in the display menu according to the click weight value.
According to the scheme, the search result of the historical search behavior of the user is learned, so that after the current search word is input, the corresponding search result can be found more accurately based on the existing historical search data, the process is further accurate query based on an effective query result, and the display sequence of the current search result can be determined according to the click times of the historical search result, so that the search result displayed in the display menu is more accurate, the purpose that the user can search the contents to be queried more conveniently is achieved, the technical effect of improving the accuracy of the search result is achieved, the technical problem that the search mode of the related technology adopting keyword matching cannot provide the more efficient search result is solved.
Specifically, the historical search data in the foregoing embodiment of the present application may be stored in a form of a keyword mapping table, which is specifically shown in table 1 below:
TABLE 1
As can be seen from the above, the above historical search data is a result of automatic learning by a system, and may include: historical search terms, historical query results corresponding to each historical search term, and historical click times of each historical query result. The historical search data recorded in the data table here may be query results obtained using a keyword matching method.
Preferably, in the second embodiment of the present application, the step S62 of querying in the historical search data by using the current search term to obtain a plurality of search results corresponding to the current search term may include the following implementation manners:
step S621, matching the current search word with each historical search word in the historical search data, to obtain a historical search word set corresponding to the current search word, where the historical search word set is at least one historical search word including the current search word.
Step S623, using the historical query result corresponding to each historical search term in the historical search term set as a plurality of search results corresponding to the current search term.
Specifically, in the embodiments of the present application, the search result of the current search term is obtained based on the historical search data obtained by the historical search behavior of the user. That is, when the user inputs the search term again, first, the step S621 may be performed to match each historical search term in the historical search data, so as to obtain the historical search term matched with the current search term, and form a historical search term set corresponding to the current search term.
It should be noted that, the matching condition for matching each historical search term of the current search term is to query the historical search term including the current search term. The inclusion herein may be further defined as the current search term being completely consistent with the historical search terms, or the current search term being first in the historical search terms. For example, taking the historical search terms provided in table 1 as an example, if the current search term is "a", the historical search terms matching the current search term include: "al", "an", and "a".
After obtaining the historical search term set matching the current search term, a plurality of search results corresponding to the current search term may be obtained, where the search results are historical query results included in the historical search term set, for example, still taking the historical search terms provided in table 1 as an example, after obtaining the historical search terms "al", "an", and "a" matching the current search term, a set of matching historical query results "all", "angela", and "andie" may be obtained by querying from table 1 through the query module 132, where the set of historical query results is the search result of the current search term.
Preferably, in step S64 in the foregoing embodiment of the present application, the step of determining the click weight value of each search result according to the historical click number of each historical query result may include the following implementation manners:
in step S641, the history click frequency of each history query result in the history search term set is read from the history search data.
For example, still taking the historical search terms provided in table 1 as an example, the historical click times of the historical query results "all", "angela" and "andie" obtained by querying the current search term "a" are respectively: 4 times, 2 times and 1 time, wherein the historical click times of the historical search word corresponding to the current search word "a" are the sum of the historical click times of the "al" and the "a" because the historical search word matched with the "a" has two "al" and "a".
And step S643, multiplying the historical click times of each historical query result in the historical search term set by the corresponding click weight coefficient respectively to obtain the click weight value of each search result corresponding to the current search term.
For example, still taking the historical search terms provided in table 1 as an example, the click weight coefficients may all be set to 3 in advance, and therefore, the click weight values of the three historical query results corresponding to the current search term "a" are "12", "6", and "3", respectively.
Specifically, in the above embodiment, the number of click weights corresponding to the current search term is determined through step S641 and step S643, and the association between the search keyword of the current search behavior of the user and the historical click behavior is established, so that an index list of the current search term may be established, which may be specifically shown in table 2:
TABLE 2
As can be seen from the above, after the user inputs the current search word, the corresponding search result can be obtained by using the result of the historical search data automatically learned by the system, that is, the search result of the current search word "a" includes: "all", "angela" and "andie", the click weight values are: 4 times, 2 times and 1 time. If the historical query results corresponding to the historical search terms "al" and "a" matched with the current search term "a" are all ", the historical click times of the historical query results corresponding to the two historical search terms are accumulated.
Preferably, in the foregoing embodiment of the present application, the step S66 of sequentially displaying, in the display menu, the plurality of search results corresponding to the current search term according to the click weight value of each search result may include the following implementation steps:
and step S661, sorting each search result in a descending order according to the click weight value to obtain a search result set sorted in the descending order.
Step 663, displaying the first N search results in the search result set in the first display area of the display menu according to the sorting position, and displaying the search results except the first N search results in the second display area of the display menu.
And if the number of times that the first search result displayed in the first display area is not clicked is detected to exceed n times, setting the click weight value of the first search result to be zero.
Specifically, the first display area may be a common area of the user, that is, several search results learned by the system according to historical search data and having the highest user click probability may be located in a pull-down menu of the search input box, that is, several search results ranked the first may be displayed at a position that is most easily seen by the user, for example, 3 search results may be displayed, and other search results may be placed in the second display area, that is, the search results learned by the system according to historical search data and having a lower user click probability, and the positions of the second display area may be optimally arranged according to the layout of the display screen.
The display mode of the first display area and the second display area is not limited in the present invention.
In the above embodiment of the present application, after step S66 is executed to sequentially display a plurality of search results corresponding to a current search term in a display menu according to a click weight value of each search result, the method may further include the following implementation steps:
step S71, detecting whether any one of the plurality of search results displayed in the display menu is clicked, wherein step S73 is executed after detecting that any one of the plurality of search results displayed in the display menu is clicked.
In step S73, the click weight value of the search result clicked in the display menu is accumulated by a first weight value (for example, the accumulated increment value is 3), and the click weight value of the search result not clicked in the display menu is decremented by a second weight value (for example, the decrement value is 1).
It should be further explained here that the step S60 of recording the historical search data can be implemented by the following implementation steps:
step S601, recording the historical search terms input by the user.
Step S602, after obtaining the historical query result according to the historical search term query, recording the historical query result corresponding to each historical search term.
Step S603. And if the historical query result is detected to be clicked, recording the click times of the historical query result.
The above step S601 to step S603 implement the learning process of the history search data by the system.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The present application may also provide a mobile terminal for operating any one of the above-described search result display methods. The method embodiment and the device embodiment provided by the application can be operated in the mobile terminal, and can be used as an application program to finish benefit history search data to accurately obtain the search result of the current search word of the user, so that good user experience is provided.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for displaying search results, comprising:
recording historical search data, wherein the historical search data comprises: historical search terms, historical query results corresponding to each historical search term and historical click times of each historical query result;
after a current search word input by a user is obtained, the current search word is used for inquiring in historical search data to obtain a plurality of search results corresponding to the current search word;
determining the click weight value of each search result according to the historical click times of each historical query result;
sequentially displaying a plurality of search results corresponding to the current search term in a display menu according to the click weight value of each search result;
the step of using the current search term to query in historical search data to obtain a plurality of search results corresponding to the current search term comprises the following steps:
matching the current search word with each historical search word in the historical search data to obtain a historical search word set corresponding to the current search word, wherein the historical search word set is at least one historical search word containing the current search word;
taking the historical query result corresponding to each historical search term in the historical search term set as the plurality of search results corresponding to the current search term;
wherein, according to the historical click frequency of each historical query result, determining the click weight value of each search result comprises: when the historical search words matched with the current search word have a plurality of historical search words and the historical query results corresponding to the historical search words are the same, accumulating the historical click times of the same historical query results corresponding to the historical search words to obtain the accumulated historical click times of the same historical query results; and determining the click weight value of the same historical query result according to the accumulated historical click times of the historical query result.
2. The method of claim 1, wherein determining a click weight value for each search result based on the historical number of clicks for each historical query result comprises:
reading the historical click times of each historical query result in the historical search term set from the historical search data;
and respectively multiplying the historical click times of each historical query result in the historical search term set by the corresponding click weight coefficient to obtain the click weight value of each search result corresponding to the current search term.
3. The method of claim 1, wherein the step of sequentially displaying the plurality of search results corresponding to the current search term in a display menu according to the click weight value of each search result comprises:
sorting each search result in a descending order according to the click weight value to obtain a search result set sorted in the descending order;
displaying the first N search results in the search result set in a first display area of the display menu according to the sorting position, and displaying the search results except the first N search results in a second display area of the display menu;
and if the number of times that the first search result displayed in the first display area is not clicked is detected to exceed n times, setting the click weight value of the first search result to be zero.
4. The method according to any one of claims 1 to 3, wherein after the plurality of search results corresponding to the current search term are sequentially displayed in the display menu according to the click weight value of each search result, the method further comprises:
detecting whether a plurality of search results displayed in the display menu are clicked; wherein,
after any one of the search results in the display menu is detected to be clicked, accumulating the click weight value of the clicked search result in the display menu with a first weight value, and decreasing the click weight value of the search result which is not clicked in the display menu by a second weight value.
5. The method of claim 1, wherein the step of recording historical search data comprises:
recording historical search terms input by a user;
after the historical query results are obtained according to the historical search term query, recording the historical query results corresponding to each historical search term;
and if the historical query result is detected to be clicked, recording the click times of the historical query result.
6. A display device for search results, comprising:
a saving module, configured to record historical search data, where the historical search data includes: historical search terms, historical query results corresponding to each historical search term and historical click times of each historical query result;
the processing module is used for querying in historical search data by using the current search word after the current search word input by a user is obtained, and obtaining a plurality of search results corresponding to the current search word;
wherein the processing module comprises:
the matching module is used for respectively matching the current search word with each historical search word in the historical search data to obtain a historical search word set corresponding to the current search word, wherein the historical search word set is at least one historical search word containing the current search word;
the query module is used for taking a historical query result corresponding to each historical search term in the historical search term set as the plurality of search results corresponding to the current search term;
wherein the apparatus further comprises: the determining module is used for determining the click weight value of each search result according to the historical click times of each historical query result;
the determining module is used for determining the click weight value of each search result according to the historical click times of each historical query result by the following steps: when the historical search words matched with the current search word have a plurality of historical search words and the historical query results corresponding to the historical search words are the same, accumulating the historical click times of the same historical query results corresponding to the historical search words to obtain the accumulated historical click times of the same historical query results; determining the click weight value of the same historical query result according to the accumulated historical click times of the historical query result;
and the display processing module is used for sequentially displaying the plurality of search results corresponding to the current search term in a display menu according to the click weight value of each search result.
7. The apparatus of claim 6, wherein the determining module comprises:
the reading module is used for reading the historical click times of each historical query result in the historical search word set from the historical search data;
and the obtaining module is used for multiplying the historical click times of each historical query result in the historical search term set by the corresponding click weight coefficient respectively to obtain the click weight value of each search result corresponding to the current search term.
8. The apparatus of claim 6, wherein the display processing module comprises:
the sorting module is used for sorting each search result in a descending order according to the click weight value to obtain a search result set sorted in the descending order;
the display module is used for displaying the first N search results in the search result set in a first display area of the display menu according to the sequencing position and displaying the search results except the first N search results in a second display area of the display menu;
the device further comprises: and the setting module is used for setting the click weight value of the first search result to be zero if the number of times that the first search result displayed in the first display area is not clicked is detected to exceed n times.
9. The apparatus according to any one of claims 6-8, wherein after the search results are displayed in a display menu in an ordered manner according to the click weight value of each search result, the apparatus further comprises:
the detection module is used for detecting whether a plurality of search results displayed in the display menu are clicked or not;
the calculation module is used for accumulating the click weight value of the clicked search result in the display menu with a first weight value and decreasing the click weight value of the search result which is not clicked in the display menu with a second weight value after detecting that any one of the search results in the display menu is clicked.
10. The apparatus of claim 6, wherein the saving module comprises:
the first sub-storage module is used for recording historical search terms input by a user;
the second sub-storage module is used for recording the historical query result corresponding to each historical search term after the historical query result is obtained according to the historical search term query;
and the third sub-saving module is used for recording the clicking times of the historical query result if the historical query result is detected to be clicked.
CN201410036558.5A 2014-01-24 2014-01-24 The display methods and device of search result Active CN104123332B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410036558.5A CN104123332B (en) 2014-01-24 2014-01-24 The display methods and device of search result
PCT/CN2015/070303 WO2015109944A1 (en) 2014-01-24 2015-01-07 Method and device for displaying search results

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410036558.5A CN104123332B (en) 2014-01-24 2014-01-24 The display methods and device of search result

Publications (2)

Publication Number Publication Date
CN104123332A CN104123332A (en) 2014-10-29
CN104123332B true CN104123332B (en) 2018-11-09

Family

ID=51768744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410036558.5A Active CN104123332B (en) 2014-01-24 2014-01-24 The display methods and device of search result

Country Status (2)

Country Link
CN (1) CN104123332B (en)
WO (1) WO2015109944A1 (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123332B (en) * 2014-01-24 2018-11-09 腾讯科技(深圳)有限公司 The display methods and device of search result
CN105574030B (en) * 2014-10-16 2019-07-12 腾讯科技(深圳)有限公司 A kind of information search method and device
CN104462557B (en) * 2014-12-25 2018-04-17 北京奇虎科技有限公司 Instant search method and device based on search history record
CN104679899A (en) * 2015-03-17 2015-06-03 努比亚技术有限公司 Search method, search device and terminal
CN105893397B (en) * 2015-06-30 2019-03-15 北京爱奇艺科技有限公司 A kind of video recommendation method and device
CN105117383A (en) * 2015-08-14 2015-12-02 百度在线网络技术(北京)有限公司 Search result providing method and apparatus
CN106294569A (en) * 2016-07-27 2017-01-04 北京奇虎科技有限公司 A kind of customization searching method and device
CN107818105B (en) 2016-09-13 2021-04-09 腾讯科技(深圳)有限公司 Recommendation method of application program and server
CN106446265B (en) * 2016-10-18 2020-04-24 江西博瑞彤芸科技有限公司 Question query display method for intelligent terminal
CN106569687A (en) * 2016-10-19 2017-04-19 北京三快在线科技有限公司 Icon arrangement method and apparatus for virtual buttons, and terminal
CN106547922B (en) * 2016-12-07 2020-08-25 阿里巴巴(中国)有限公司 Application program sorting method and device and server
CN106844744B (en) * 2017-02-15 2020-10-16 腾讯科技(深圳)有限公司 Click model application method and device and search system
CN106909642B (en) * 2017-02-20 2020-06-12 中国银行股份有限公司 Database indexing method and system
WO2018157332A1 (en) * 2017-03-01 2018-09-07 深圳市博信诺达经贸咨询有限公司 Statistical method and system applied to big data
CN108052515A (en) * 2017-10-19 2018-05-18 福建中金在线信息科技有限公司 The method and apparatus for storing local data
CN108460154B (en) * 2018-03-27 2022-09-20 腾讯科技(深圳)有限公司 Search method, search device, computer equipment and storage medium
CN110457568A (en) * 2018-05-03 2019-11-15 北京京东尚科信息技术有限公司 Brand word recognition method and system, object recommendation method and system
CN109101658B (en) * 2018-08-31 2022-05-10 优视科技新加坡有限公司 Information searching method and device, and equipment/terminal/server
CN110891202B (en) * 2018-09-07 2022-03-25 台达电子工业股份有限公司 Segmentation method, segmented system, and non-transitory computer-readable medium
EP3621021A1 (en) 2018-09-07 2020-03-11 Delta Electronics, Inc. Data search method and data search system thereof
CN109492088A (en) * 2018-09-19 2019-03-19 平安科技(深圳)有限公司 Search result optimization sequencing method, device and computer readable storage medium
CN109299235B (en) * 2018-09-19 2023-04-25 平安科技(深圳)有限公司 Knowledge base searching method, device and computer readable storage medium
CN109543113B (en) * 2018-12-21 2022-02-01 北京字节跳动网络技术有限公司 Method and device for determining click recommendation words, storage medium and electronic equipment
CN109857931B (en) * 2019-01-08 2021-07-09 北京三快在线科技有限公司 Regional comprehensive recommendation method and device, electronic equipment and readable storage medium
CN111598595B (en) * 2019-02-21 2024-03-29 阿里巴巴集团控股有限公司 Information stream data display method and device and terminal equipment
CN111625620A (en) * 2019-02-28 2020-09-04 北京京东尚科信息技术有限公司 Information processing method and device
CN111709227B (en) * 2020-07-13 2023-04-07 拉扎斯网络科技(上海)有限公司 Object weight determination method and device, electronic equipment and readable storage medium
CN114117253B (en) * 2021-11-19 2024-11-22 北京达佳互联信息技术有限公司 Group search method, device, equipment and storage medium
CN115080637B (en) * 2022-07-14 2024-12-06 中国船舶科学研究中心 A blockchain data retrieval method for improving retrieval efficiency

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192223A (en) * 2006-11-27 2008-06-04 北京三星通信技术研究有限公司 Yellow page searching method and yellow page searching system
CN101661472B (en) * 2008-08-27 2011-12-28 国际商业机器公司 Collaborative search method and collaborative search system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224583A1 (en) * 2005-03-31 2006-10-05 Google, Inc. Systems and methods for analyzing a user's web history
CN101246499B (en) * 2008-03-27 2010-10-13 腾讯科技(深圳)有限公司 Network information search method and system
CN101739429B (en) * 2008-11-18 2012-08-22 中国移动通信集团公司 Method for optimizing cluster search results and device thereof
US8185544B2 (en) * 2009-04-08 2012-05-22 Google Inc. Generating improved document classification data using historical search results
US8943043B2 (en) * 2010-01-24 2015-01-27 Microsoft Corporation Dynamic community-based cache for mobile search
CN103106212B (en) * 2011-11-14 2016-12-07 中国移动通信集团广西有限公司 Information search method and device
CN104123332B (en) * 2014-01-24 2018-11-09 腾讯科技(深圳)有限公司 The display methods and device of search result

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192223A (en) * 2006-11-27 2008-06-04 北京三星通信技术研究有限公司 Yellow page searching method and yellow page searching system
CN101661472B (en) * 2008-08-27 2011-12-28 国际商业机器公司 Collaborative search method and collaborative search system

Also Published As

Publication number Publication date
CN104123332A (en) 2014-10-29
WO2015109944A1 (en) 2015-07-30

Similar Documents

Publication Publication Date Title
CN104123332B (en) The display methods and device of search result
CA3022944C (en) System and method for displaying search results for a trademark query in an interactive graphical representation
US8275786B1 (en) Contextual display of query refinements
US8214361B1 (en) Organizing search results in a topic hierarchy
CN105022840B (en) A kind of news information processing method, news recommend method and relevant apparatus
CN102651022B (en) Searching method and device
KR102046096B1 (en) Resource efficient document search
JP5661200B2 (en) Providing search information
WO2008106667A1 (en) Searching heterogeneous interrelated entities
KR20150057987A (en) Generalized graph, rule, and spatial structure based recommendation engine
CN103136228A (en) Image search method and image search device
EP2812819A1 (en) Search result categorization
CN105005562A (en) Retrieval result display processing method and apparatus
CN102968417A (en) Searching method and system applied to computer network
CN103942198B (en) For excavating the method and apparatus being intended to
CN108228663A (en) A kind of paging search method and device
JP6185379B2 (en) RECOMMENDATION DEVICE AND RECOMMENDATION METHOD
EP2529323A2 (en) Improved searching using semantic keys
CN104050183A (en) Content matching result prompting method and device for browser input frame
CN106919593B (en) A search method and device
CN111930967B (en) Data query method and device based on knowledge graph and storage medium
CN103034709A (en) System and method for resequencing search results
CN116226515B (en) Search result ordering method and device, electronic equipment and storage medium
JP5918714B2 (en) Literature retrieval device, literature retrieval method, program, and literature retrieval system
CN110532454A (en) A kind of search words recommending method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant