CN104123332B - The display methods and device of search result - Google Patents
The display methods and device of search result Download PDFInfo
- 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
- search word
- word
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/335—Filtering 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
Technical field
The present invention relates to data search process fields, in particular to the display methods and device of a kind of search result.
Background technology
In the prior art, the basic functional principle of search engine includes following three process:It preserves in the database first
The search result information collected;Information is extracted simultaneously and tissue establishes index database;It is defeated according to user by searcher again
The key word of the inquiry entered, the Rapid Detection document in index database carry out the covariance mapping of document and inquiry, to what will be exported
As a result it is ranked up, and query result is returned into user.
Specifically, existing search engine provides a kind of retrieval service.When user is with keyword lookup information, search
Index is held up can be in the database into line search, if finding the content for requiring content to be consistent with user, generally according to being closed in webpage
The matching degree of keyword calculates the degree of correlation and ranking grade of each matching content, then according to degree of association height, in order will
These matching results return to user.
This full-text search engine can show the content for meeting search result according to keyword match, but due to searching every time
Rope is required for traversing all matching objects, and therefore, search efficiency is relatively low, cannot be satisfied the content that user quickly finds needs.
For the way of search using keyword match of above-mentioned the relevant technologies, more efficient search result can not be provided
Problem, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of display methods of search result and devices, at least to solve adopting for the relevant technologies
With the way of search of keyword match, the technical issues of more efficient search result can not be provided.
One side according to the ... of the embodiment of the present invention, provides a kind of display methods of search result, and this method includes:Note
Record historical search data, wherein historical search data includes:Historical search word, the corresponding historical query of each historical search word
As a result with the history number of clicks of each historical query result;After obtaining current search word input by user, using current
Search term is inquired in historical search data, obtains the corresponding multiple search results of current search word;According to each history
The history number of clicks of query result determines the click weighted value of each search result;It multiple searches current search word is corresponding
Hitch fruit is sequentially displayed according to the click weighted value of each search result in display menu.
Another aspect according to the ... of the embodiment of the present invention, additionally provides a kind of display device of search result, which includes:
Preserving module searches for data, wherein historical search data includes for log history:Historical search word, each historical search word
The history number of clicks of corresponding historical query result and each historical query result;Processing module, for defeated in acquisition user
It after the current search word entered, is inquired in historical search data using current search word, obtains current search word correspondence
Multiple search results;Determining module determines each search knot for the history number of clicks according to each historical query result
The click weighted value of fruit;Display processing module, for tying the corresponding multiple search results of current search word according to each search
The click weighted value of fruit is sequentially displayed in display menu.
In embodiments of the present invention, data are searched for using log history, 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;It is used obtaining
After the current search word of family input, is inquired in historical search data using current search word, obtain current search word
Corresponding multiple search results;According to the history number of clicks of each historical query result, the click of each search result is determined
Weighted value;The corresponding multiple search results of current search word are sequentially displayed according to the click weighted value of each search result aobvious
Show the mode in menu, the mode of the search result of plain behavior is searched by using the history of study user so that is current in input
After search term, corresponding search result can be more accurately found based on already existing historical search data, due to above-mentioned
Process is the further accurate inquiry based on an effective query result, and can be according to the number of clicks of historical search result
Determine the display order of current search result, therefore the search result shown in showing menu is more accurate, has reached use
Family can more easily search the purpose of the content to be inquired, to realize the search efficiency and standard that improve search result
The higher technique effect of true property, and then solve the way of search using keyword match of the relevant technologies, higher can not be provided
The technical issues of search result of effect.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair
Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the structural schematic diagram of the display device of according to embodiments of the present invention one search result;
Fig. 2 is the structural schematic diagram of the display device of the according to embodiments of the present invention one optional search result of another kind;
Fig. 3 is the structural schematic diagram of the display device of according to embodiments of the present invention one another optional search result;
Fig. 4 is the structural schematic diagram of the display device of according to embodiments of the present invention one another optional search result;
Fig. 5 is the structural schematic diagram of the display device of according to embodiments of the present invention one another optional search result;
And
Fig. 6 is the flow diagram of the display methods of according to embodiments of the present invention two search result.
Specific implementation mode
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects
It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way
Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive
Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product
Or the other steps or unit that equipment is intrinsic.
Embodiment 1
Before the further details of description present embodiments, it will be described with reference to Figure 1 and can be used for realizing this Shen
One suitable computing device structure of principle please.In the following description, unless otherwise specified, will refer to by one or
The symbolic indication of action and operation that multiple computers execute describes present embodiments.As such, it will be understood that sometimes
Be referred to as computer execution this kind of action and operation include computer processing unit to indicating data with structured form
The manipulation of electric signal.It is safeguarded on this manipulation transforms data or position in the storage system of computer, this is with this
The mode that the technical staff in field understands reconfigures or changes the operation of computer.Safeguard that the data structure of data is that have
The physical location of the memory of particular community defined in the format of data.However, although this Shen described in above-mentioned context
Please, but it does not mean restrictive, as understood by those skilled in the art, action described below and operation
Various aspects can also be realized with hardware.
In its most basic configuration, Fig. 1 is the structure of the display device of according to embodiments of the present invention one search result
Schematic diagram.For purposes of illustration, the architecture painted is only an example of proper environment, not to the use of the application
Range or function propose any limitation.Also the computing system should not be construed to have any component shown in FIG. 1 or combinations thereof
There are any dependence or demand.
As shown in Figure 1, the display device of the search result may include:One preserving module 11, a processing module 13, one are really
Cover half block 15 and a Display processing module 17.
Wherein, data are searched for, wherein historical search data includes in preserving module 11 for log history:Historical search
Word, the history number of clicks of each historical search word corresponding historical query result and each historical query result;Processing module
13, for after obtaining current search word input by user, being inquired in historical search data using current search word,
Obtain the corresponding multiple search results of current search word;Determining module 15, for the history point according to each historical query result
Number is hit, determines the click weighted value of each search result;Display processing module 17, for current search word is corresponding multiple
Search result is sequentially displayed according to the click weighted value of each search result in display menu.
In the device embodiment that the above embodiments of the present application one provide, searched by preserving module 11 to record the history of user
The historical search data that Suo Hangwei is obtained, and after obtaining current search word input by user, processing module 13 can be passed through
To inquire the corresponding search result of current search word in historical search data, at this point, determining module 15 can be according to historical query
As a result history number of clicks determines the click weighted value for the search result inquired in above-mentioned processing module 13, to make
Obtaining Display processing module 17 can show that current search word is searched for more in order according to weighted value is clicked in showing menu
A search result.
Said program searches the mode of the search result of plain behavior by using the history of study user so that current in input
After search term, corresponding search result can be more accurately found based on already existing historical search data, due to above-mentioned
Process is the further accurate inquiry based on an effective query result, and can be according to the number of clicks of historical search result
Determine the display order of current search result, therefore the search result shown in showing menu is more accurate, has reached use
Family can more easily search the purpose of the content to be inquired, to realize the search efficiency and standard that improve search result
The higher technique effect of true property, and then solve the way of search using keyword match of the relevant technologies, higher can not be provided
The technical issues of search result of effect.
Specifically, the historical search data in the above embodiments of the present application can save as the form of keyword mapping table,
Specifically, as shown in table 1 below:
Table 1
From the foregoing, it will be observed that above-mentioned historical search data is a system learn automatically as a result, may include:Historical search
The history number of clicks of word, each historical search word corresponding historical query result and each historical query result.Data herein
The historical search data recorded in table can be the query result got using keyword match method.
Preferably, as described in Figure 2, in a kind of optional embodiment that the above embodiments of the present application one provide, above-mentioned place
Managing module 13 may include:
Matching module 131, for carrying out current search word with each historical search word in historical search data respectively
Matching, obtains the corresponding historical search set of words of current search word, wherein historical search word set, which is combined into, contains current search word
At least one historical search word.
Enquiry module 132 is used for the corresponding historical query of each historical search word in historical search set of words as a result, making
For the corresponding multiple search results of current search word.
Specifically, historical search behavior of the above embodiments of the present application based on user obtained historical search data obtains
The search result of current search word.I.e. when user inputs search term again, it is possible, firstly, to pass through matching module 131 and history
Each historical search word is matched in search data, obtains the matched historical search word of current search word, constitutes one currently
The corresponding historical search set of words of search term.
Herein it should be noted that it is to look into that each historical search word of above-mentioned current search word, which carries out matched matching condition,
Ask the historical search word for including the current search term.Herein comprising can be further defined to current search word be searched with history
Rope word is completely the same or the current search term is in the first place of historical search word.For example, the historical search word provided with table 1
For, if current search word is " a ", include with the matched historical search word of current search word:" al ", " an " and " a ".
It is corresponded to getting and current search word after the matched historical search set of words of current search word, can be got
Multiple search results, which is exactly the historical query for including in historical search set of words as a result, for example, still with table
It, can be with after obtaining the matched historical search word " al ", " an " and " a " of current search word for the 1 historical search word provided
It is inquired from table 1 by enquiry module 132 and obtains one group of matched historical query result " all ", " angela " and " andie ",
This group of historical query result is exactly the search result of current search word.
Preferably, as described in Figure 3, above-mentioned true in a kind of optional embodiment that the above embodiments of the present application one provide
Cover half block 15 may include:Read module 151 and acquisition module 152.
Read module 151, for each historical query result from reading historical search set of words in historical search data
History number of clicks.For example, still by taking the historical search word that table 1 provides as an example, current search word " a " inquires obtained history
The history number of clicks of query result " all ", " angela " and " andie " is respectively:4 times, 2 times and 1 time, wherein due to
There are two " al " and " a " for " a " matched historical search word, therefore, the history point of the corresponding historical search word of current search word " a "
Hit the sum of the history number of clicks that number is " al " and " a ".
Acquisition module 152, for distinguishing the history number of clicks of each historical query result in historical search set of words
It is multiplied by corresponding click weight coefficient, obtains the click weighted value of the corresponding each search result of current search word.For example, still
By taking the historical search word that table 1 provides as an example, it is 3 that can pre-set and click weight coefficient all, and therefore, current search word " a " is right
The click weighted value for the three historical query results answered is respectively " 12 ", " 6 " and " 3 ".
Specifically, above-described embodiment determines the corresponding point of current search word by read module 151 and acquisition module 152
Weight number is hit, the association of the search key and history click behavior of the current search behavior of user is established, so as to build
The index list for founding a current search word, specifically can be as shown in table 2:
Table 2
From the foregoing, it will be observed that after user inputs current search word, the historical search data that learn automatically of system can be utilized
Result obtain corresponding search result, i.e. the search result of current search word " a " includes:" all ", " angela " and
" andie ", clicking weighted value is respectively:4 times, 2 times and 1 time.Wherein, if inquiring current search word " a " matched history
Search term " al " and " a " corresponding historical query result are all " all ", then by the corresponding historical query knot of two historical search words
The history number of clicks of fruit adds up.
As described in Figure 4, in a kind of optional embodiment that the above embodiments of the present application one provide, above-mentioned display processing mould
Block 17 includes:
Sorting module 171, for according to weighted value is clicked by the progress descending sort of each search result, obtaining descending sort
Search result set afterwards.
Display module 172, for according to sorting position by top n search result in search result set include display dish
In the first single display area, and include in the second viewing area of display menu by the search result except top n search result
In domain.Specifically, above-mentioned first display area can be described as the general regions of user, i.e. system learns according to historical search data
It arrives, user clicks the highest several search results of probability, which can be located in the drop-down menu of search input frame, that is, exist
The position that user most easily watches is sorted to show near preceding several search results, such as can be 3, and other search
As a result it can be placed in the second display area, i.e., system learns according to historical search data, and it is smaller that user clicks probability
The position of search result, the second display area can optimize arrangement according to the layout of display screen.
The display form present invention of above-mentioned first display area and the second display area is not limited.
Explanation is needed further exist for, above-mentioned apparatus can also include:Setup module, if for detecting the first display
The number that the first search result shown in region is not clicked is more than n times, then by the click weighted value of the first search result
It is set to zero.
Specifically, due to system according to historical search data study arrive, the search result being shown in the first display area
All be in historical record searching probability it is higher as a result, but the result can change with the use habit of user, system meeting
The number of clicks of the search result shown in the first display area of record user couple, if detected arbitrary in the first display area
The continuous n times of number of clicks of one search result(Such as 5 times)It does not click, that is, thinks current search result not
It is user's preferably search result again, system can be clicked weighted value and return 0, then when next user searches for, the
The search result is no longer shown in one display area, can be placed it in the second display area, if user wants to go to acquisition
The search result can be inquired in the second display area.
Preferably, it in the present embodiment one, as described in Figure 5, is completed according to each being executed by Display processing module 17
By search result in showing menu after sequencing display, above-mentioned apparatus can also include the click weighted value of search result:
Detection module 191, for whether being clicked for the multiple search results shown in display menu to be detected;
Computing module 192, for any one search result in multiple search results in detecting display menu
After being clicked, cumulative first weighted value of the click weighted value for the search result being clicked in menu will be shown, and will show dish
The click weighted value for the search result not being clicked in list successively decreases the second weighted value.
Specifically, above-mentioned first weighted value could be provided as 3, the second weighted value could be provided as 1, and two weighted values can be with
It is adjusted according to demand.
It also needs to further illustrate herein, in a kind of optional embodiment that the above embodiments of the present application one provide
In, above-mentioned preserving module 11 may include:First sub- preserving module 111, for recording historical search word input by user;Second
Sub- preserving module 112, for after inquiring to obtain historical query result according to historical search word, recording each historical search word
Corresponding historical query result;If the sub- preserving module 113 of third records for detecting that historical query result is clicked
The number of clicks of historical query result.Above-mentioned preserving module is learning process of the system to historical search data.
Embodiment 2
According to embodiments of the present invention, a kind of embodiment of the method for implementing above-mentioned apparatus embodiment is additionally provided, is needed
Illustrate, step shown in the flowchart of the accompanying drawings can be in the computer system of such as a group of computer-executable instructions
It executes, although also, logical order is shown in flow charts, and it in some cases, can be with suitable different from herein
Sequence executes shown or described step.
Fig. 6 is the flow diagram of the display methods of according to embodiments of the present invention two search result.
As shown in fig. 6, the display methods of the search result may include that step is implemented as follows:
Step S60, log history search for data, wherein historical search data includes:Historical search word, each history are searched
The history number of clicks of rope word corresponding historical query result and each historical query result.
Historical search data in step S60 can be the search data of the local historical search behavior of terminal record,
It can also be the historical search data for the template type that external equipment imports.
Step S62, after obtaining current search word input by user, using current search word in historical search data
It is inquired, obtains the corresponding multiple search results of current search word.
Step S62 is the search data using the past search behavior of user, to determine the search currently occurred
The search result of behavior, due to current search result be based on historical search data, eliminate full text matching search
Process, search efficiency higher.
Step S64 determines the click weight of each search result according to the history number of clicks of each historical query result
Value.
Step S66, by the corresponding multiple search results of current search word according to each search result click weighted value according to
It is secondary to be shown in display menu.
Above-mentioned steps S64-S66 due to the use of the number of clicks of past historical search result come determine current search word send out
Raw search behavior obtains the display order of search result so that user can find the search result of needs and its right faster
The specific content answered.
It follows that in the embodiment of the method that the above embodiments of the present application two provide, by the historical search for recording user
The historical search data that behavior obtains, and after obtaining current search word input by user, it can be in historical search data
The corresponding search result of current search word is inquired, at this point, system can be determined according to the history number of clicks of historical query result
The click weighted value for the search result that above-mentioned search behavior is inquired, so that system can shown according to weighted value is clicked
Show the multiple search results for showing that current search word is searched in menu in order.
Said program searches the mode of the search result of plain behavior by using the history of study user so that current in input
After search term, corresponding search result can be more accurately found based on already existing historical search data, due to above-mentioned
Process is the further accurate inquiry based on an effective query result, and can be according to the number of clicks of historical search result
Determine the display order of current search result, therefore the search result shown in showing menu is more accurate, has reached use
Family can more easily search the purpose of the content to be inquired, to realize the technology for the accuracy for improving search result
Effect, and then solve the way of search using keyword match of the relevant technologies, more efficient search result can not be provided
Technical problem.
Specifically, the historical search data in the above embodiments of the present application can save as the form of keyword mapping table,
Specifically, as shown in table 1 below:
Table 1
From the foregoing, it will be observed that above-mentioned historical search data is a system learn automatically as a result, may include:Historical search
The history number of clicks of word, each historical search word corresponding historical query result and each historical query result.Data herein
The historical search data recorded in table can be the query result got using keyword match method.
Preferably, in the above embodiments of the present application two, step S62 is carried out using current search word in historical search data
Inquiry, the step of obtaining current search word corresponding multiple search results may include that mode is implemented as follows:
Current search word is matched with each historical search word in historical search data, is obtained by step S621 respectively
To the corresponding historical search set of words of current search word, wherein historical search word set, which is combined into, contains current search word at least
One historical search word.
Step S623, by the corresponding historical query of each historical search word in historical search set of words as a result, as current
The corresponding multiple search results of search term.
Specifically, historical search behavior of the above embodiments of the present application based on user obtained historical search data obtains
The search result of current search word.I.e. when user inputs search term again, it is possible, firstly, to pass through step S621 and historical search
Each historical search word is matched in data, obtains the matched historical search word of current search word, constitutes a current search
The corresponding historical search set of words of word.
Herein it should be noted that it is to look into that each historical search word of above-mentioned current search word, which carries out matched matching condition,
Ask the historical search word for including the current search term.Herein comprising can be further defined to current search word be searched with history
Rope word is completely the same or the current search term is in the first place of historical search word.For example, the historical search word provided with table 1
For, if current search word is " a ", include with the matched historical search word of current search word:" al ", " an " and " a ".
It is corresponded to getting and current search word after the matched historical search set of words of current search word, can be got
Multiple search results, which is exactly the historical query for including in historical search set of words as a result, for example, still with table
It, can be with after obtaining the matched historical search word " al ", " an " and " a " of current search word for the 1 historical search word provided
It is inquired from table 1 by enquiry module 132 and obtains one group of matched historical query result " all ", " angela " and " andie ",
This group of historical query result is exactly the search result of current search word.
Preferably, the step S64 in the above embodiments of the present application is clicked secondary according to the history of each historical query result
The step of counting, determining the click weighted value of each search result may include that mode is implemented as follows:
Step S641, from the history point for reading each historical query result in historical search set of words in historical search data
Hit number.
For example, still by taking the historical search word that table 1 provides as an example, current search word " a " inquires obtained historical query knot
The history number of clicks of fruit " all ", " angela " and " andie " is respectively:4 times, 2 times and 1 time, wherein due to being matched with " a "
Historical search word there are two " al " and " a ", therefore, the history number of clicks of the corresponding historical search word of current search word " a "
For the sum of the history number of clicks of " al " and " a ".
The history number of clicks of each historical query result in historical search set of words is multiplied by correspondence by step S643 respectively
Click weight coefficient, obtain the click weighted value of the corresponding each search result of current search word.
For example, still by taking the historical search word that table 1 provides as an example, it is 3 that can pre-set and click weight coefficient all, because
This, the click weighted value of the corresponding three historical query results of current search word " a " is respectively " 12 ", " 6 " and " 3 ".
Specifically, above-described embodiment determines the corresponding click weight of current search word by step S641 and step S643
Number establishes the association of the search key and history click behavior of the current search behavior of user, so as to establish one
The index list of current search word, specifically can be as shown in table 2:
Table 2
From the foregoing, it will be observed that after user inputs current search word, the historical search data that learn automatically of system can be utilized
Result obtain corresponding search result, i.e. the search result of current search word " a " includes:" all ", " angela " and
" andie ", clicking weighted value is respectively:4 times, 2 times and 1 time.Wherein, if inquiring current search word " a " matched history
Search term " al " and " a " corresponding historical query result are all " all ", then by the corresponding historical query knot of two historical search words
The history number of clicks of fruit adds up.
Preferably, in the above embodiments of the present application, step S66 is by the corresponding multiple search results of current search word according to every
It may include that step is implemented as follows that the click weighted value of a search result, which is sequentially displayed in display menu,:
Each search result is carried out descending sort according to weighted value is clicked, obtains searching after descending sort by step S661
Rope results set.
Top n search result in search result set is included the of display menu according to sorting position by step S663
In one display area, and include in the second display area of display menu by the search result except top n search result.
Wherein, if detecting that the number that the first search result shown in the first display area is not clicked is more than n
It is secondary, then the click weighted value of the first search result is set to zero.
Specifically, above-mentioned first display area can be described as the general regions of user, i.e., system is according to historical search data
Learning, user clicks the highest several search results of probability, which can be located in the drop-down menu of search input frame,
Sequence is shown near preceding several search results in the position that user most easily watches, such as can be 3, and it is other
Search result can be placed in the second display area, i.e., system learns according to historical search data, user click probability compared with
The position of small search result, the second display area can optimize arrangement according to the layout of display screen.
The display form present invention of above-mentioned first display area and the second display area is not limited.
In the above embodiments of the present application, step S66 is being executed by the corresponding multiple search results of current search word according to every
Can also include that step is implemented as follows after the click weighted value of a search result is sequentially displayed in display menu:
Step S71, detection show whether being clicked for the multiple search results shown in menu, wherein aobvious detecting
After showing that any one search result in multiple search results in menu is clicked, step S73 will be executed.
Step S73 will show cumulative first weighted value of the click weighted value for the search result being clicked in menu(Such as it is tired
The value added added is 3), and will show that the click weighted value of search result not being clicked in menu successively decreases the second weighted value
(Such as decrement value is 1).
Herein it should be further noted that step S60 log histories search data can be by being implemented as follows step reality
It is existing:
Step S601 records historical search word input by user.
Step S602 records each historical search word after inquiring to obtain historical query result according to historical search word
Corresponding historical query result.
Step S603.If detecting that historical query result is clicked, the number of clicks of log history query result.
Above-mentioned steps S601 most step S603 realize learning process of the system to historical search data.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because
According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical scheme of the present invention is substantially in other words to existing
The part that technology contributes can be expressed in the form of software products, which is stored in a storage
Medium(Such as ROM/RAM, magnetic disc, CD)In, including some instructions use is so that a station terminal equipment(It can be mobile phone, calculate
Machine, server or network equipment etc.)Execute the method described in each embodiment of the present invention.
The application can also provide a kind of mobile terminal for running the display methods of any one of the above search result.
Embodiment of the method and device embodiment i.e. provided by the present application can be run in the terminal, complete as a kind of application program
The search result for carrying out the current search term of accurate user at interests historical search data provides good user experience.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side
Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, for example, unit division, only one kind patrols
Volume function divides, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can be with
It is integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of unit or module, can
By be it is electrical or other in the form of.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment(Can be personal computer, server or network equipment etc.)Execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory(ROM, Read-Only Memory), arbitrary access deposits
Reservoir(RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of display methods of search result, which is characterized in that including:
Log history searches for data, wherein the historical search data includes:Historical search word, each historical search word correspond to
Historical query result and each historical query result history number of clicks;
After obtaining current search word input by user, looked into historical search data using the current search word
It askes, obtains the corresponding multiple search results of the 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 the current search word are shown successively according to the click weighted value of each search result
Show in showing menu;
Wherein, it is inquired in historical search data using the current search word, it is corresponding to obtain the current search word
The step of multiple search results includes:
The current search word is matched with each historical search word in the historical search data respectively, is obtained described
The corresponding historical search set of words of current search word, wherein the historical search word set, which is combined into, contains the current search word
At least one historical search word;
By the corresponding historical query of each historical search word in the historical search set of words as a result, as the current search word
Corresponding the multiple search result;
Wherein, according to the history number of clicks of each historical query result, determine that the click weighted value of each search result includes:
There are multiple historical search words in the matched historical search word of the current search word and the multiple historical search word corresponds to
The historical query result it is all identical in the case of, by the corresponding identical historical query of the multiple historical search word
As a result history number of clicks adds up, and the cumulative history for obtaining the identical historical query result is clicked
Number;According to the history number of clicks of the cumulative historical query result, the identical history is determined
The click weighted value of query result.
2. according to the method described in claim 1, it is characterized in that, according to the history number of clicks of each historical query result,
The step of click weighted value for determining each search result includes:
It is clicked from the history for reading each historical query result in the historical search set of words in the historical search data secondary
Number;
The history number of clicks of each historical query result in the historical search set of words is multiplied by corresponding click power respectively
Weight coefficient, obtains the click weighted value of the corresponding each search result of the current search word.
3. according to the method described in claim 1, it is characterized in that, the corresponding multiple search results of the current search word are pressed
According to each search result click weighted value be sequentially displayed in display menu in step include:
Each search result is subjected to descending sort according to the click weighted value, obtains the search result after descending sort
Set;
According to sorting position by top n search result in described search results set include it is described display menu first display
In region, and include in the second display area of the display menu by the search result except the top n search result;
Wherein, if detecting that the number that the first search result shown in first display area is not clicked is more than n
It is secondary, then the click weighted value of first search result is set to zero.
4. according to the method described in any one of claim 1-3, which is characterized in that current search word is corresponding multiple
After search result is sequentially displayed according to the click weighted value of each search result in display menu, the method further includes:
Whether being clicked for the multiple search results shown in the display menu detected;Wherein,
It, will be described after any one search result in multiple search results in detecting the display menu is clicked
The click weighted value of search result being clicked in display menu adds up the first weighted value, and by the display menu not by
The click weighted value of the search result of click successively decreases the second weighted value.
5. according to the method described in claim 1, it is characterized in that, log history includes the step of searching for data:
Record historical search word input by user;
After inquiring to obtain the historical query result according to the historical search word, each historical search word pair is recorded
The historical query result answered;
If detecting that the historical query result is clicked, the number of clicks of the historical query result is recorded.
6. a kind of display device of search result, which is characterized in that including:
Preserving module searches for data, wherein the historical search data includes for log history:Historical search word, Mei Geli
The history number of clicks of history search term corresponding historical query result and each historical query result;
Processing module is used for after obtaining current search word input by user, using the current search word in historical search
It is inquired in data, obtains the corresponding multiple search results of the current search word;
Wherein, the processing module includes:
Matching module, for carrying out the current search word with each historical search word in the historical search data respectively
Matching, obtains the corresponding historical search set of words of the current search word, wherein the historical search word set, which is combined into, contains institute
State at least one historical search word of current search word;
Enquiry module is used for the corresponding historical query of each historical search word in the historical search set of words as a result, conduct
The corresponding the multiple search result of the current search word;
Wherein, described device further includes:Determining module is determined for the history number of clicks according to each historical query result
The click weighted value of each search result;
Wherein, the determining module is used for through following steps come according to the history number of clicks of each historical query result, really
The click weighted value of fixed each search result:There are multiple historical searches in the matched historical search word of the current search word
In the case of word and the corresponding historical query result of the multiple historical search word are all identical, the multiple history is searched
The history number of clicks of the corresponding identical historical query result of rope word adds up, and obtains the identical history
The cumulative history number of clicks of query result;It is clicked according to the history of the cumulative historical query result
Number determines the click weighted value of the identical historical query result;
Display processing module is used for the corresponding multiple search results of the current search word according to each search result
Weighted value is clicked to be sequentially displayed in display menu.
7. device according to claim 6, which is characterized in that the determining module includes:
Read module, for from reading each historical query result in the historical search set of words in the historical search data
History number of clicks;
Acquisition module, for the history number of clicks of each historical query result in the historical search set of words to be multiplied by respectively
Corresponding click weight coefficient obtains the click weighted value of the corresponding each search result of the current search word.
8. device according to claim 6, which is characterized in that the Display processing module includes:
Sorting module obtains descending row for each search result to be carried out descending sort according to the click weighted value
Search result set after sequence;
Display module, for by top n search result in described search results set including in the display according to sorting position
In first display area of menu, and include in the display menu by the search result except the top n search result
In second display area;
Described device further includes:Setup module, if for detecting the shown in first display area first search knot
The number that fruit is not clicked is more than n times, then the click weighted value of first search result is set to zero.
9. according to the device described in any one of claim 6-8, which is characterized in that according to each search result
Weighted value is clicked by described search result in showing menu after sequencing display, described device further includes:
Detection module, for whether being clicked for the multiple search results shown in the display menu to be detected;
Computing module, for any one search result in multiple search results in detecting the display menu by point
After hitting, by cumulative first weighted value of click weighted value for the search result being clicked in the display menu, and will be described aobvious
Show that the click weighted value for the search result not being clicked in menu successively decreases the second weighted value.
10. device according to claim 6, which is characterized in that the preserving module includes:
First sub- preserving module, for recording historical search word input by user;
Second sub- preserving module, for after inquiring to obtain historical query result according to historical search word, recording each history
The corresponding historical query result of search term;
The sub- preserving module of third, if for detecting that historical query result is clicked, the click of log history query result
Number.
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 (27)
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 | 北京京东尚科信息技术有限公司 | The recognition methods of brand word and system, object recommendation method and system |
CN109101658B (en) * | 2018-08-31 | 2022-05-10 | 优视科技新加坡有限公司 | Information searching method and device, and equipment/terminal/server |
CN110888896B (en) * | 2018-09-07 | 2023-09-05 | 台达电子工业股份有限公司 | Data searching method and data searching system thereof |
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 |
Citations (2)
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)
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 |
-
2014
- 2014-01-24 CN CN201410036558.5A patent/CN104123332B/en active Active
-
2015
- 2015-01-07 WO PCT/CN2015/070303 patent/WO2015109944A1/en active Application Filing
Patent Citations (2)
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 | |
CN105701216B (en) | A kind of information-pushing method and device | |
US20180121456A1 (en) | Aggregating personalized suggestions from multiple sources | |
CN103699700B (en) | A kind of generation method of search index, system and associated server | |
CN105653562B (en) | The calculation method and device of correlation between a kind of content of text and inquiry request | |
US20100125573A1 (en) | Visualizing hyperlinks in a search results list | |
WO2019016614A2 (en) | Method and apparatus for displaying search results | |
CN109389442A (en) | Method of Commodity Recommendation and device, storage medium and electric terminal | |
US20130212089A1 (en) | Search Result Categorization | |
CN103886090A (en) | Content recommendation method and device based on user favorites | |
KR20150057987A (en) | Generalized graph, rule, and spatial structure based recommendation engine | |
CN104216881A (en) | Method and device for recommending individual labels | |
US11443005B2 (en) | Unsupervised clustering of browser history using web navigational activities | |
CN103186666B (en) | Method, device and equipment for searching based on favorites | |
CN109460519B (en) | Browsing object recommendation method and device, storage medium and server | |
CA3059929C (en) | Text searching method, apparatus, and non-transitory computer-readable storage medium | |
CN109241403A (en) | Item recommendation method, device, machinery equipment and computer readable storage medium | |
US8825641B2 (en) | Measuring duplication in search results | |
CN110413888A (en) | A kind of books recommended method and device | |
CN104699837B (en) | Method, device and server for selecting illustrated pictures of web pages | |
CN114490923A (en) | Training method, device and equipment for similar text matching model and storage medium | |
CN105045835A (en) | Information searching method and apparatus | |
CN103399879B (en) | The interested entity preparation method and device of daily record are searched for based on user | |
Šimko et al. | Semantic history map: Graphs aiding web revisitation support | |
US20140289219A1 (en) | Ranking search engine results |
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 |