CN108227955A - It is a kind of that the method and device for recommending input association is searched for based on user's history - Google Patents

It is a kind of that the method and device for recommending input association is searched for based on user's history Download PDF

Info

Publication number
CN108227955A
CN108227955A CN201711484947.4A CN201711484947A CN108227955A CN 108227955 A CN108227955 A CN 108227955A CN 201711484947 A CN201711484947 A CN 201711484947A CN 108227955 A CN108227955 A CN 108227955A
Authority
CN
China
Prior art keywords
user
search term
input
history
input association
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.)
Pending
Application number
CN201711484947.4A
Other languages
Chinese (zh)
Inventor
彭睿棋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201711484947.4A priority Critical patent/CN108227955A/en
Publication of CN108227955A publication Critical patent/CN108227955A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

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

Abstract

The present invention provides a kind of method and devices searched for based on user's history and input is recommended to associate, this method includes receiving search term input by user, obtain preset input association Candidate Set, if the user's history search term in the part or all of keyword hit for the analyzing current search word input association Candidate Set, obtain the user's history search term of hit, the recommendation of input association is carried out according to the user's history search term got, improves the efficiency that the method for recommending input association is searched for based on user's history.User does not need to Manual Override search term and is re-searched for can accurately expecting suitable search term to express search intention yet, and then can improve the accuracy of the personalized recommendation method of input association.Further combined with existing input association model, the searching cost of user can be reduced, user is helped quickly and easily to find search result, the export effect of entire search box can be promoted, further improve search experience.

Description

It is a kind of that the method and device for recommending input association is searched for based on user's history
Technical field
The present invention relates to field of computer technology, recommend input association more particularly to a kind of searched for based on user's history Method and device.
Background technology
With the rapid development of network, nowadays people increasingly like by search engine come search for some for learn or Oneself interested data.During existing search engine is used, when user is when being manually entered, during such as input error, After search result is clicked, any recommendation word is shown on the page, at this point, user needs Manual Override search term to be searched again Rope if user has the query that high frequency needs repeat search, such as official website addressing, audio-visual video, is required for Xu to be spelled as complete every time Sound byte, user can not accurately expect suitable search term to express search intention, and existing input association is caused to be recommended There are the defects of efficiency is low, accuracy is low and input is of high cost for method.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly That states problem searches for the method and device for recommending input association based on user's history.
One side according to the present invention provides a kind of personalized recommendation method for inputting association, including:
When receiving search term input by user, preset input association Candidate Set is obtained, wherein, the input association waits Selected works include user's history search term;
If the user's history in the part or all of keyword hit for the analyzing current search word input association Candidate Set Search term obtains the user's history search term of hit;
The recommendation of input association is carried out according to the user's history search term got.
Optionally, the user's history search term that the foundation is got carries out the recommendation of input association, including:
According to search term input by user, the preset quantity of the search term is obtained from existing input association recommended models Input association candidate word;
Input association's candidate word of preset quantity to getting is united with the user's history search term got One sequence is recommended ranking results as input association.
Optionally, input association's candidate word of the described pair of preset quantity got is searched with the user's history got Rope word carries out unified sequence, recommends ranking results as input association, including:
Associate candidate word according to input of the priority level of user's history search term got higher than the preset quantity The sequence of priority level carry out unified sequence, recommend using ranking results as association is inputted.
Optionally, the historical search number of the user's history search term, institute are also included in input association Candidate Set The input association's candidate word for stating the preset quantity to getting carries out unified sequence with the user's history search term got, Recommend ranking results as input association, including:
Associate candidate word according to input of the priority level of user's history search term got higher than the preset quantity Priority level sequence carry out the first minor sort;
For first time ranking results, the sequence of positions of the input association candidate word of wherein preset quantity is remained unchanged, And the second minor sort is carried out according to the sequence that historical search number successively decreases to user's history search term therein, by the second minor sort As a result recommended as input association.
Optionally, the method further includes:
User's search behavior daily record in network is excavated, hot spot candidate word is extracted from user's search behavior daily record, Generate existing input association candidate family.
Optionally, the method further includes:
User's history search record is obtained, user's history search term is extracted from user's history search record;
Input association Candidate Set is established according to the user's history search term.
Optionally, if this method is applied to browser, the acquisition user's history search records, including:
The user's history search record of its record is obtained from the Local Storage of browser.
Optionally, the method further includes:The input association Candidate Set of foundation is stored in browser local.
Optionally, the user's history in the partial key hit of the analysis current search word input association Candidate Set is searched Rope word, including:
The prefix of current search word is obtained, wherein, the prefix includes at least one since the initial position of search term A keyword;
The prefix that the prefix of described search word is associated to each user's history search term in Candidate Set with the input carries out Prefix matching;
If in input association Candidate Set, there are the consistent user's history search term of prefix matching, the current search words Partial key hit it is described input association Candidate Set in user's history search term.
Optionally, the user's history in the partial key hit of the analysis current search word input association Candidate Set is searched Rope word, including:
Obtain multiple keywords in described search word;
Multiple keywords of acquisition and described input are associated into all crucial of each user's history search term in Candidate Set Word is matched;
If have what is matched with the keyword of the specified quantity of described search word at least one user's history search term The user's history search term in Candidate Set is associated in keyword, the partial key hit input of the current search word.
Optionally, the user's history in whole keywords hit of analysis current search word input association Candidate Set is searched Rope word, including:
Each keyword of described search word is associated with the input in Candidate Set according to its sequence in search term The keyword of each user's history search term is matched;
If whole keywords of described search word and whole keywords of at least one user's history search term match, institute State the user's history search term in whole keywords hit input association Candidate Set of current search word.
Optionally, it is described according to the user's history search term establish it is described input association Candidate Set after, further include:
Obtain the user's history search term in input association Candidate Set;
The user's history search term got is translated, obtains the corresponding Pinyin information of user's history search term;
The correspondence between the user's history search term and the Pinyin information translated to it is established, by institute Correspondence is stated to be stored in input association Candidate Set.
Optionally, it is described when receiving search term input by user, after obtaining preset input association Candidate Set, also wrap It includes:
Whether the type for identifying current search word is phonetic type;
If so, the Pinyin information in the part or all of phonetic hit of the analysis current search word input association Candidate Set When, associate candidate word using the historical search word corresponding to the Pinyin information of hit as input, carry out the recommendation of input association.
Another aspect according to the present invention provides a kind of device searched for based on user's history and recommend input association, packet It includes:
Receiving module during suitable for receiving search term input by user, obtains preset input association Candidate Set, wherein, Input association Candidate Set includes user's history search term;
Analysis module, if suitable for analyzing the part or all of keyword of the current search word hit input association Candidate Set In user's history search term, obtain the user's history search term of hit;
Recommending module, suitable for carrying out the recommendation of input association according to the user's history search term got.
Optionally, the recommending module is further adapted for:
According to search term input by user, the preset quantity of the search term is obtained from existing input association recommended models Input association candidate word;
Input association's candidate word of preset quantity to getting is united with the user's history search term got One sequence is recommended ranking results as input association.
Optionally, the recommending module is further adapted for:
Associate candidate word according to input of the priority level of user's history search term got higher than the preset quantity The sequence of priority level carry out unified sequence, recommend using ranking results as association is inputted.
Optionally, the historical search number of the user's history search term, institute are also included in input association Candidate Set Recommending module is stated to be further adapted for:
Associate candidate word according to input of the priority level of user's history search term got higher than the preset quantity Priority level sequence carry out the first minor sort;
For first time ranking results, the sequence of positions of the input association candidate word of wherein preset quantity is remained unchanged, And the second minor sort is carried out according to the sequence that historical search number successively decreases to user's history search term therein, by the second minor sort As a result recommended as input association.
Optionally, described device further includes generation module, is suitable for:
User's search behavior daily record in network is excavated, hot spot candidate word is extracted from user's search behavior daily record, Generate existing input association candidate family.
Optionally, described device, which further includes, establishes module, is suitable for:
User's history search record is obtained, user's history search term is extracted from user's history search record;
Input association Candidate Set is established according to the user's history search term.
Optionally, if the device is applied to browser, the module of establishing is further adapted for:
The user's history search record of its record is obtained from the Local Storage of browser.
Optionally, described device further includes memory module, is suitable for:
The input association Candidate Set of foundation is stored in browser local.
Optionally, the analysis module is further adapted for:
The prefix of current search word is obtained, wherein, the prefix includes at least one since the initial position of search term A keyword;
The prefix that the prefix of described search word is associated to each user's history search term in Candidate Set with the input carries out Prefix matching;
If in input association Candidate Set, there are the consistent user's history search term of prefix matching, the current search words Partial key hit it is described input association Candidate Set in user's history search term.
Optionally, the analysis module is further adapted for:
Obtain multiple keywords in described search word;
Multiple keywords of acquisition and described input are associated into all crucial of each user's history search term in Candidate Set Word is matched;
If have what is matched with the keyword of the specified quantity of described search word at least one user's history search term The user's history search term in Candidate Set is associated in keyword, the partial key hit input of the current search word.
Optionally, the analysis module is further adapted for:Each keyword of described search word is suitable in search term according to it Sequence is matched with the keyword that each user's history search term in Candidate Set is associated in the input;
If whole keywords of described search word and whole keywords of at least one user's history search term match, institute State the user's history search term in whole keywords hit input association Candidate Set of current search word.
Optionally, the module of establishing is further adapted for:
After establishing input association Candidate Set according to the user's history search term, it is candidate to obtain the input association The user's history search term of concentration;
The user's history search term got is translated, obtains the corresponding Pinyin information of user's history search term;
The correspondence between the user's history search term and the Pinyin information translated to it is established, by institute Correspondence is stated to be stored in input association Candidate Set.
Optionally, described device further includes:
Identification module when receiving search term input by user suitable for the receiving module, obtains preset input association After Candidate Set, whether the type of identification current search word is phonetic type;
If so, the part or all of phonetic hit of the analysis module analysis current search word input association Candidate Set In Pinyin information after, historical search word as corresponding to the recommending module using the Pinyin information of hit is waited as input association Word is selected, carries out the recommendation of input association.
According to the present invention in another aspect, a kind of computer program is additionally provided, including computer-readable code, when described When computer-readable code is run on the computing device, cause the computing device perform described in any embodiment above based on The method that input association is recommended in user's history search.
Another aspect according to the present invention, additionally provides a kind of computer-readable medium, wherein storing as described above Computer program.
In embodiments of the present invention, first, by receiving search term input by user, it is candidate to obtain preset input association Collection, if the user's history search in the part or all of keyword hit of the analysis current search word input association Candidate Set Word obtains the user's history search term of hit, and the recommendation of input association is carried out according to the user's history search term got, Improve the efficiency that the method for recommending input association is searched for based on user's history.User does not need to Manual Override search term and carries out weight New search also can accurately expect suitable search term to express search intention, and then can improve the personalization of input association The accuracy of recommendation method.Further combined with existing input association model, the searching cost of user can be reduced, helps user Search result is quickly and easily found, the export effect of entire search box can be promoted, further improve search experience.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
According to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will be brighter The above and other objects, advantages and features of the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the stream of the method according to an embodiment of the invention searched for based on user's history and recommend input association Journey schematic diagram;
Fig. 2 shows according to an embodiment of the invention searched in the method for recommending input association based on user's history to use In the corresponding Pinyin information of family historical search word with the part phonetic hit situation schematic diagram of current search query;
Fig. 3 a show that the input using the existing method searched for based on user's history and recommend input association thinks that Candidate Set is led Go out schematic diagram;
Fig. 3 b show the method according to an embodiment of the invention searched for based on user's history and recommend input association Input thinks that Candidate Set exports schematic diagram;
Fig. 4 shows the knot of the device according to an embodiment of the invention searched for based on user's history and recommend input association Structure schematic diagram;
Fig. 5 shows that another searched for based on user's history according to an embodiment of the invention recommends to input the dress associated The structure diagram put;
Fig. 6 shows to perform the calculating according to the present invention for searching for the method for recommending input association based on user's history The block diagram of equipment;And
Fig. 7 shows realizes that according to the present invention searched for based on user's history recommends input association for keeping or carrying Method program code storage unit.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
In order to solve the above technical problems, input association is recommended based on user's history search an embodiment of the present invention provides one kind Method.Fig. 1 shows the stream of the method according to an embodiment of the invention searched for based on user's history and recommend input association Journey schematic diagram.Referring to Fig. 1, this method includes at least step S102 to step S106.
Step S102 when receiving search term input by user, obtains preset input association Candidate Set.
Wherein, search term can be partial or complete Chinese character field or partial or complete phonetic field.Example Such as:" Tsinghua University "/" Tsing-Hua University ", " qinghuadaxue "/" qinghua " etc..In this embodiment, cited different type Search term it is only schematical, it is mentioned in this article search query types can also be other search term types, this hair Bright embodiment is not specifically limited this.
Step S104, if the user in the part or all of keyword hit input association Candidate Set of analysis current search word Historical search word obtains the user's history search term of hit.
Such as:When current search word is " Tsinghua University ", then current search word whole keyword hit input association is represented User's history search term " Tsinghua University " in Candidate Set when current search word is " Tsing-Hua University ", then represents current search word part User's history search term " Tsinghua University " in keyword hit input association Candidate Set.
Step S106 carries out the recommendation of input association according to the user's history search term got.
In this step, it can be ranked up according to the searching times and frequency of user's history search term, generation is defeated Enter association's Candidate Set and show, to carry out the recommendation of input association.Therefore, the embodiment of the present invention is by receiving input by user search Rope word obtains preset input association Candidate Set, and the part or all of keyword hit input association of analysis current search word waits User's history search term in selected works, obtains the user's history search term of hit, according to the user's history search term got into The recommendation of row input association, improves the efficiency that the method for recommending input association is searched for based on user's history, and user is not required to Manual Override search term is wanted to be re-searched for also can accurately expecting suitable search term to express search intention, so as to carry The high accuracy of the personalized recommendation method of input association.
The embodiment of the present invention can reduce the searching cost of user, help further combined with existing input association model User quickly and easily finds search result, can promote the export effect of entire search box, further improve search experience.
Step S102 is seen above, in an embodiment of the present invention, preset input association Candidate Set can be by as follows Mode is established:
First, user's history search record is obtained, user's history search term is extracted from user's history search record;
Secondly, input association Candidate Set is established according to user's history search term.
In an embodiment of the present invention, after input association Candidate Set is established according to user's history search term, this method It further includes:
Obtain the user's history search term in input association Candidate Set;
The user's history search term got is translated, obtains the corresponding Pinyin information of user's history search term;
The correspondence between user's history search term and the Pinyin information translated to it is established, is closed corresponding System is stored in input association Candidate Set.
In an embodiment of the present invention, when receiving search term input by user, preset input association Candidate Set is obtained Later, this method further includes:
Whether the type for identifying current search word is phonetic type;
If so, when the Pinyin information in Candidate Set is associated in the part or all of phonetic hit input of analysis current search word, Associate candidate word using the historical search word corresponding to the Pinyin information of hit as input, carry out the recommendation of input association.
Wherein, if this method is applied to browser, the user that its record is obtained from the Local Storage of browser goes through The input association Candidate Set of foundation is simultaneously stored in browser local by history search record.
Step S104 is seen above, in an embodiment of the present invention, following manner analysis current search word may be used User's history search term in partial key hit input association Candidate Set:
First, the prefix of current search word is obtained, wherein, prefix includes at least one since the initial position of search term A keyword;
Secondly, the prefix for the prefix of search term being associated to each user's history search term in Candidate Set with input carries out prefix Matching;
Finally, if there are the consistent user's history search term of prefix matching in input association Candidate Set, current search word User's history search term in partial key hit input association Candidate Set.
In an embodiment of the present invention, the use in the partial key hit input association Candidate Set of analysis current search word Family historical search word may further include following steps:
First, multiple keywords in search term are obtained;
Secondly, multiple keywords of acquisition are associated to all crucial of each user's history search term in Candidate Set with input Word is matched;
Finally, if having what is matched with the keyword of the specified quantity of search term at least one user's history search term The user's history search term in Candidate Set is associated in keyword, the partial key hit input of current search word.
In a specific embodiment, have that " level-one is built with reference to figure 2, in the corresponding Chinese character information of user's history search term The preset input association candidate word such as teacher of the making ", " level-one fire protection engineer enters oneself for the examination condition " and " level-one fire protection engineer ", works as search When word is " level-one ", then the Chinese character information in the part Chinese character hit input association Candidate Set of current search word is represented, at this point, " level-one structure art ", " level-one fire protection engineer enters oneself for the examination condition " and " level-one fire protection engineer " etc. is associated as preset input waits Word is selected to show.
Step S104 is seen above, in an embodiment of the present invention, following manner analysis current search word may be used User's history search term in whole keyword hit input associations Candidate Set:
First, each keyword of search term is associated to each use in Candidate Set according to its sequence in search term with input The keyword of family historical search word is matched;
Secondly, if whole keywords of search term and whole keywords of at least one user's history search term match, User's history search term in whole keywords hit input association Candidate Set of current search word.
Step S106 is seen above, in an embodiment of the present invention, following manner may be used according to the user got Historical search word carries out the recommendation of input association:
First, according to search term input by user, the default of the search term is obtained from existing input association recommended models The input association candidate word of quantity;
Secondly, input association's candidate word of the preset quantity to getting is united with the user's history search term got One sequence is recommended ranking results as input association.
In an embodiment of the present invention, input association's candidate word of the preset quantity to getting is gone through with the user got History search term carries out unified sequence, carries out recommending to may further include following steps using ranking results as input association:
It is excellent higher than the input association candidate word of preset quantity according to the priority level of user's history search term got The sequence of first rank carries out unified sequence, recommends ranking results as input association.
In an embodiment of the present invention, the also historical search comprising user's history search term time in input association Candidate Set Number, wherein, input association's candidate word of the preset quantity to getting carries out unified row with the user's history search term got Sequence carries out recommending to may further include following steps using ranking results as input association:
It is excellent higher than the input association candidate word of preset quantity according to the priority level of user's history search term got The sequence of first rank carries out the first minor sort;
For first time ranking results, the sequence of positions of the input association candidate word of wherein preset quantity is remained unchanged, And the second minor sort is carried out according to the sequence that historical search number successively decreases to user's history search term therein, by the second minor sort As a result recommended as input association.
In a specific embodiment, the input association that preset quantity is preserved in the Local Storage of browser waits Select word:" Tsinghua University ", " Tsinghua University's enrollment of universities net ", " Tsing Hua Tong Fang ", " Tsing Hua Tong Fang official website ", " Tsinghua University is studied Raw enrollment net ", " Tsinghua University official website " and " Library of Tsinghua University ", when user is " clear by input association candidate word for the first time After China ", after " Tsinghua University " is selected to scan for, selection " Library of Tsinghua University " scans for twice respectively, at this point, preset Input association's candidate word " Tsinghua University " and " Library of Tsinghua University " as user's history search term.With reference to figure 3a, In, Fig. 3 a show that Candidate Set export signal is thought in the input using the existing method searched for based on user's history and recommend input association Figure.To " Tsinghua University ", " Tsinghua University's enrollment of universities net ", " Tsing Hua Tong Fang ", " Tsing Hua Tong Fang official website ", " Tsinghua University is studied Raw enrollment net ", " Tsinghua University official website " and " Library of Tsinghua University " are ranked up, and sequencer procedure is as follows:
First, to " Tsinghua University ", " Tsinghua University's enrollment of universities net ", " Tsing Hua Tong Fang ", " Tsing Hua Tong Fang official website ", " clear Hua Da enrolls postgraduates net ", " Tsinghua University official website " and " Library of Tsinghua University " carry out whole sequence, since " Tsing-Hua University is big Learn ", " Library of Tsinghua University " belong to user's history search term, priority level is higher than " Tsinghua University's enrollment of universities net ", " clear The preset input association such as magnificent Tongfang ", " Tsing Hua Tong Fang official website ", " Tsinghua University enrolls postgraduates net ", " Tsinghua University official website " Candidate word, so, " Tsinghua University " and " Library of Tsinghua University " come " Tsinghua University's enrollment of universities net ", " Tsing Hua Tong Fang ", Before the preset input association candidate word such as " Tsing Hua Tong Fang official website ", " Tsinghua University enrolls postgraduates net ", " Tsinghua University official website " Face;
Then, then to user's history search term " Tsinghua University " and " Library of Tsinghua University " individually sorted, due to The searching times of " Library of Tsinghua University " are more than " Tsinghua University ", so before " Library of Tsinghua University " comes " Tsinghua University " Face.
So by two minor sorts, final ranking results are " Library of Tsinghua University ", " Tsinghua University ", " Tsinghua University Enrollment of universities net ", " Tsing Hua Tong Fang ", " Tsing Hua Tong Fang official website ", " Tsinghua University enrolls postgraduates net ", " Tsinghua University official website ". Wherein, specific ranking results can refer to Fig. 3 b, wherein, Fig. 3 b show according to an embodiment of the invention based on user's history Search recommends the input of the method for input association to think that Candidate Set exports schematic diagram.
In an embodiment of the present invention, this method further includes:User's search behavior daily record in network is excavated, is searched from user Hot spot candidate word is extracted in rope user behaviors log, generates existing input association candidate family.
In a specific embodiment, when many network users search for film popular in the recent period by search engine《Fragrant China》 When, user's search behavior daily record " film virtue China " is excavated, when other network users input search term " virtue China " by search engine When, " virtue China " shows as hot spot candidate word, and as input association candidate word " virtue China film ".
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of based on user's history search recommendation input association Device, Fig. 4 show it is according to an embodiment of the invention based on user's history search for recommend input association device knot Structure schematic diagram.Referring to Fig. 4, searched for based on user's history and recommend the device 400 of input association that can at least include receiving module 410th, analysis module 420 and recommending module 430.
Now introduce each composition or device that the device 400 for recommending input association is searched for based on user's history of the embodiment of the present invention Connection relation between the function and each section of part:
Receiving module 410 during suitable for receiving search term input by user, obtains preset input association Candidate Set, In, input association Candidate Set includes user's history search term;
Analysis module 420 is coupled with receiving module 410, if suitable for analyzing the part or all of keyword of current search word User's history search term in hit input association Candidate Set obtains the user's history search term of hit;
Recommending module 430 is coupled with analysis module 420, suitable for being inputted according to the user's history search term got The recommendation of association.
In an embodiment of the present invention, recommending module 430 is further adapted for, according to the preferential of the user's history search term got The sequence for being superior to the priority level of the input association candidate word of preset quantity carries out unified sequence, using ranking results as defeated Enter association to be recommended.
In an embodiment of the present invention, the also historical search comprising user's history search term time in input association Candidate Set Number, recommending module 430 are further adapted for, and join according to input of the priority level of user's history search term got higher than preset quantity Think that the sequence of the priority level of candidate word carries out the first minor sort;For first time ranking results, by the defeated of wherein preset quantity The sequence of positions for entering association's candidate word remains unchanged, and successively decrease to user's history search term therein according to historical search number Sequence carries out the second minor sort, recommends second of ranking results as input association.
The embodiment of the present invention additionally provides another device searched for based on user's history and recommend input association, and Fig. 5 is shown Another structure diagram that the device for recommending input association is searched for based on user's history according to an embodiment of the invention. Referring to Fig. 5, the device 400 that input is recommended to associate is searched for other than comprising above-mentioned module based on user's history, further includes generation Module 440 establishes module 450, memory module 460 and identification module 470.Now introduce the embodiment of the present invention based on user's history The connection relation between each composition of the device 400 of input association or the function and each section of device is recommended in search:
Generation module 440 is coupled with recommending module 430, suitable for excavating user's search behavior daily record in network, from user Hot spot candidate word is extracted in search behavior daily record, generates existing input association candidate family.
Module 450 is established, is coupled with generation module 440, suitable for obtaining user's history search record, is searched for from user's history User's history search term is extracted in record;Input association Candidate Set is established according to user's history search term.
Memory module 460 is coupled with establishing module 450, suitable for the input of foundation association Candidate Set is stored in browser It is local.
Identification module 470 is coupled with memory module 460, when receiving search term input by user suitable for receiving module, is obtained After taking preset input association Candidate Set, whether the type of identification current search word is phonetic type;If so, analysis module After Pinyin information in the part or all of phonetic hit input association Candidate Set of 420 analysis current search words, by recommending module The historical search word corresponding to the Pinyin information of hit is associated candidate word by 430, carries out the recommendation of input association.
In an embodiment of the present invention, it if the device is applied to browser, establishes module 450 and is further adapted for from browser The user's history search record of its record is obtained in Local Storage.
In an embodiment of the present invention, analysis module 420 is further adapted for obtaining the prefix of current search word, wherein, prefix packet Include at least one keyword since the initial position of search term;The prefix of search term is each in association's Candidate Set with inputting The prefix of user's history search term carries out prefix matching;If in input association Candidate Set, there are the consistent user's histories of prefix matching The user's history search term in Candidate Set is associated in search term, the partial key hit input of current search word.
In an embodiment of the present invention, analysis module 420 is further adapted for obtaining multiple keywords in search term;By acquisition Whole keywords that multiple keywords associate each user's history search term in Candidate Set with input are matched;It is if at least one There is the keyword to match with the keyword of the specified quantity of search term, the part of current search word in user's history search term User's history search term in keyword hit input association Candidate Set.
In an embodiment of the present invention, analysis module 420 is further adapted for each keyword of search term according to it in search term In sequence associate the keyword of each user's history search term in Candidate Set with input and matched;If the whole of search term are closed Key word and whole keywords of at least one user's history search term match, whole keywords hit input of current search word Associate the user's history search term in Candidate Set.
In an embodiment of the present invention, module 450 is established to be further adapted for establishing input association time according to user's history search term After selected works, the user's history search term in input association Candidate Set is obtained;The user's history search term got is turned over It translates, obtains the corresponding Pinyin information of user's history search term;Establish user's history search term and the spelling translated to it Correspondence is stored in input association Candidate Set by the correspondence between message breath.
The embodiment of the present invention additionally provides a kind of computer program, including computer-readable code, when computer-readable generation When code is run on the computing device, computing device is caused to perform being searched for based on user's history for any embodiment above and recommends input The method of association.
The embodiment of the present invention additionally provides a kind of computer-readable medium, wherein storing computer journey as mentioned in the above Sequence.
According to the combination of any one above-mentioned preferred embodiment or multiple preferred embodiments, the embodiment of the present invention can reach Following advantageous effect:
In embodiments of the present invention, by receiving search term input by user, preset input association Candidate Set is obtained, is divided The user's history search term in the part or all of keyword hit input association Candidate Set of current search word is analysed, obtains hit User's history search term is carried out the recommendation of input association according to the user's history search term got, improves and gone through based on user The efficiency of the method for input association is recommended in history search.User does not need to that Manual Override search term re-searched for also can be accurate Suitable search term is expected to express search intention in ground, and then can improve the accurate of the personalized recommendation method that input is associated Degree.Further combined with existing input association model, the searching cost of user can be reduced, user is helped quickly and easily to find Search result can promote the export effect of entire search box, further improve search experience.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit requirement, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of arbitrary It mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) are according to embodiments of the present invention defeated based on user's history search recommendation to realize Enter some or all functions of some or all components in the device of association.The present invention is also implemented as performing The some or all equipment or program of device of method as described herein are (for example, computer program and computer journey Sequence product).It is such realize the present invention program can may be stored on the computer-readable medium either can have there are one or The form of multiple signals.Such signal can be downloaded from internet website obtain either providing on carrier signal or It is provided in the form of any other.
For example, Fig. 6 shows the computing device that can be realized and the method for recommending input association is searched for based on user's history.It should Computing device conventionally comprises the computer program product or computer-readable medium of 620 form of processor 610 and memory. Memory 620 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk or ROM it The electronic memory of class.Memory 620 has storage for performing the program code 631 of any method and step in the above method Memory space 630.For example, the memory space 630 of storage program code can include being respectively used to realize in above method Various steps each program code 631.These program codes can be read from one or more computer program product Go out or be written in this one or more computer program product.These computer program products include such as hard disk, tightly Cause the program code carrier of disk (CD), storage card or floppy disk etc.Such computer program product is usually such as Fig. 7 institutes The portable or static memory cell shown.The storage unit can have similar with the memory 620 in the computing device of Fig. 6 Memory paragraph, memory space of arrangement etc..Program code can for example be compressed in a suitable form.In general, storage unit includes For performing the computer-readable code 631 ' of the method and step of the present invention, you can be read by such as 610 etc processor Code, when these codes are run by computing device, cause the computing device perform method described above in it is each Step.
It should be noted that the present invention will be described rather than limits the invention, and ability for above-described embodiment Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and run after fame Claim.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple showing for the present invention Example property embodiment, still, without departing from the spirit and scope of the present invention, still can according to the present disclosure directly Determine or derive many other variations or modifications consistent with the principles of the invention.Therefore, the scope of the present invention is understood that and recognizes It is set to and covers other all these variations or modifications.

Claims (10)

1. a kind of search for the method for recommending input association based on user's history, including:
When receiving search term input by user, preset input association Candidate Set is obtained, wherein, input association Candidate Set Include user's history search term;
If the user's history search in the part or all of keyword hit for the analyzing current search word input association Candidate Set Word obtains the user's history search term of hit;
The recommendation of input association is carried out according to the user's history search term got.
2. method according to claim 1 or 2, wherein, the user's history search term that the foundation is got carries out The recommendation of association is inputted, including:
According to search term input by user, the input of the preset quantity of the search term is obtained from existing input association recommended models Associate candidate word;
Input association's candidate word of preset quantity to getting carries out unified row with the user's history search term got Sequence is recommended ranking results as input association.
3. according to claim 1-2 any one of them methods, wherein, the input association of the described pair of preset quantity got waits The user's history search term for selecting word and getting carries out unified sequence, recommends ranking results as input association, Including:
It is excellent higher than the input association candidate word of the preset quantity according to the priority level of user's history search term got The sequence of first rank carries out unified sequence, recommends ranking results as input association.
4. according to claim 1-3 any one of them methods, wherein, also include the user in input association Candidate Set The historical search number of historical search word, the input of the described pair of preset quantity got are associated candidate word and are got described User's history search term carries out unified sequence, recommends ranking results as input association, including:
It is excellent higher than the input association candidate word of the preset quantity according to the priority level of user's history search term got The sequence of first rank carries out the first minor sort;
For first time ranking results, the sequence of positions of the input association candidate word of wherein preset quantity is remained unchanged, and right User's history search term therein carries out the second minor sort according to the sequence that historical search number successively decreases, by second of ranking results As input, association is recommended.
5. according to claim 1-4 any one of them methods, wherein, it further includes:
User's search behavior daily record in network is excavated, hot spot candidate word, generation are extracted from user's search behavior daily record Existing input association candidate family.
6. according to claim 1-5 any one of them methods, wherein, it further includes:
User's history search record is obtained, user's history search term is extracted from user's history search record;
Input association Candidate Set is established according to the user's history search term.
7. according to claim 1-6 any one of them methods, wherein, if this method is applied to browser, the acquisition user Historical search records, including:
The user's history search record of its record is obtained from the Local Storage of browser.
8. a kind of search for the device for recommending input association based on user's history, including:
Receiving module during suitable for receiving search term input by user, obtains preset input association Candidate Set, wherein, it is described Input association Candidate Set includes user's history search term;
Analysis module, if suitable for analyzing in the part or all of keyword of the current search word hit input association Candidate Set User's history search term obtains the user's history search term of hit;
Recommending module, suitable for carrying out the recommendation of input association according to the user's history search term got.
9. a kind of electronic equipment, including:
Processor;And
The memory of storage computer executable instructions is arranged to, the executable instruction makes the processor when executed Perform the method searched for according to claim 1-7 any one of them based on user's history and recommend input association.
10. a kind of computer storage media, wherein, the one or more programs of computer storage media storage are one Or multiple programs by the electronic equipment including multiple application programs when being performed so that the electronic equipment is performed will according to right 1-7 any one of them is asked to search for the method for recommending input association based on user's history.
CN201711484947.4A 2017-12-29 2017-12-29 It is a kind of that the method and device for recommending input association is searched for based on user's history Pending CN108227955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711484947.4A CN108227955A (en) 2017-12-29 2017-12-29 It is a kind of that the method and device for recommending input association is searched for based on user's history

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711484947.4A CN108227955A (en) 2017-12-29 2017-12-29 It is a kind of that the method and device for recommending input association is searched for based on user's history

Publications (1)

Publication Number Publication Date
CN108227955A true CN108227955A (en) 2018-06-29

Family

ID=62646304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711484947.4A Pending CN108227955A (en) 2017-12-29 2017-12-29 It is a kind of that the method and device for recommending input association is searched for based on user's history

Country Status (1)

Country Link
CN (1) CN108227955A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446407A (en) * 2018-09-18 2019-03-08 深圳壹账通智能科技有限公司 Correlation recommendation method, apparatus, computer equipment and storage medium
CN109492082A (en) * 2018-11-02 2019-03-19 北京字节跳动网络技术有限公司 Pull down words recommending method, device, electronic equipment and storage medium
CN109491516A (en) * 2018-11-02 2019-03-19 北京字节跳动网络技术有限公司 Input display methods, device, storage medium and the electronic equipment of associational word
CN109582155A (en) * 2018-11-23 2019-04-05 北京字节跳动网络技术有限公司 Input recommended method, device, storage medium and the electronic equipment of associational word
CN109933216A (en) * 2019-03-01 2019-06-25 郑敏杰 A kind of verbal association reminding method, device, equipment and computer storage medium for intelligent input
CN110442247A (en) * 2019-06-20 2019-11-12 上海萌家网络科技有限公司 A kind of input method and input system
CN111611471A (en) * 2019-02-25 2020-09-01 阿里巴巴集团控股有限公司 Searching method and device and electronic equipment
CN112395044A (en) * 2020-11-10 2021-02-23 新华三技术有限公司合肥分公司 Command line keyword filling method and device and network equipment
CN113032819A (en) * 2019-12-09 2021-06-25 阿里巴巴集团控股有限公司 Method and system for determining search prompt words and information processing method
CN113704387A (en) * 2020-05-21 2021-11-26 北京沃东天骏信息技术有限公司 Method and device for providing search association words
WO2022000934A1 (en) * 2020-06-28 2022-01-06 北京百度网讯科技有限公司 Method and apparatus for rewriting search term, device and storage medium
CN109558538B (en) * 2018-11-23 2022-02-01 北京字节跳动网络技术有限公司 Input association word construction method and device, storage medium and electronic equipment
CN117131241A (en) * 2023-02-09 2023-11-28 荣耀终端有限公司 Search object recommendation method, electronic device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186615A (en) * 2011-12-30 2013-07-03 北大方正集团有限公司 Search prompting method and system
US8521539B1 (en) * 2012-03-26 2013-08-27 Nuance Communications, Inc. Method for chinese point-of-interest search
CN103365833A (en) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 Context scene based candidate word input prompt method and system for implementing same
CN104199954A (en) * 2012-06-26 2014-12-10 北京奇虎科技有限公司 Recommendation system and method for search input
CN107273457A (en) * 2017-06-01 2017-10-20 珠海市魅族科技有限公司 A kind of searching method and device, computer installation and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186615A (en) * 2011-12-30 2013-07-03 北大方正集团有限公司 Search prompting method and system
US8521539B1 (en) * 2012-03-26 2013-08-27 Nuance Communications, Inc. Method for chinese point-of-interest search
CN103365833A (en) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 Context scene based candidate word input prompt method and system for implementing same
CN104199954A (en) * 2012-06-26 2014-12-10 北京奇虎科技有限公司 Recommendation system and method for search input
CN107273457A (en) * 2017-06-01 2017-10-20 珠海市魅族科技有限公司 A kind of searching method and device, computer installation and computer-readable recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘佳奇: "酒店订购平台搜索***的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446407A (en) * 2018-09-18 2019-03-08 深圳壹账通智能科技有限公司 Correlation recommendation method, apparatus, computer equipment and storage medium
CN109492082A (en) * 2018-11-02 2019-03-19 北京字节跳动网络技术有限公司 Pull down words recommending method, device, electronic equipment and storage medium
CN109491516A (en) * 2018-11-02 2019-03-19 北京字节跳动网络技术有限公司 Input display methods, device, storage medium and the electronic equipment of associational word
CN109558538B (en) * 2018-11-23 2022-02-01 北京字节跳动网络技术有限公司 Input association word construction method and device, storage medium and electronic equipment
CN109582155A (en) * 2018-11-23 2019-04-05 北京字节跳动网络技术有限公司 Input recommended method, device, storage medium and the electronic equipment of associational word
CN111611471A (en) * 2019-02-25 2020-09-01 阿里巴巴集团控股有限公司 Searching method and device and electronic equipment
CN111611471B (en) * 2019-02-25 2023-12-26 阿里巴巴集团控股有限公司 Searching method and device and electronic equipment
CN109933216A (en) * 2019-03-01 2019-06-25 郑敏杰 A kind of verbal association reminding method, device, equipment and computer storage medium for intelligent input
CN110442247A (en) * 2019-06-20 2019-11-12 上海萌家网络科技有限公司 A kind of input method and input system
CN113032819A (en) * 2019-12-09 2021-06-25 阿里巴巴集团控股有限公司 Method and system for determining search prompt words and information processing method
CN113704387A (en) * 2020-05-21 2021-11-26 北京沃东天骏信息技术有限公司 Method and device for providing search association words
WO2022000934A1 (en) * 2020-06-28 2022-01-06 北京百度网讯科技有限公司 Method and apparatus for rewriting search term, device and storage medium
CN112395044B (en) * 2020-11-10 2023-04-28 新华三技术有限公司合肥分公司 Command line keyword filling method and device and network equipment
CN112395044A (en) * 2020-11-10 2021-02-23 新华三技术有限公司合肥分公司 Command line keyword filling method and device and network equipment
CN117131241A (en) * 2023-02-09 2023-11-28 荣耀终端有限公司 Search object recommendation method, electronic device and computer readable storage medium
CN117131241B (en) * 2023-02-09 2024-05-24 荣耀终端有限公司 Search object recommendation method, electronic device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108227955A (en) It is a kind of that the method and device for recommending input association is searched for based on user's history
CN108170293A (en) Input the personalized recommendation method and device of association
CN104050286B (en) Method and device for providing search result integration
CN103699669B (en) The method of message push and a kind of browser terminal is carried out in a kind of browser
CN106649786A (en) Deep question answer-based answer retrieval method and device
CN102982117B (en) Information search method and device
CN108227954A (en) A kind of method, apparatus and electronic equipment that search input associational word is provided
CN104699845B (en) Method and device is provided based on the Search Results puing question to class search word
CN105786875B (en) Question and answer are provided to the method and apparatus of data search result
CN106777217B (en) Search term recommendation method and device
CN106021449A (en) Searching method and device for mobile terminal and mobile terminal
CN107807957A (en) entity library generating method and device
CN106656741A (en) Information push method and system
CN103559313B (en) Searching method and device
CN108255999A (en) Content recommendation method and device
CN107861753A (en) APP generations index, search method and system and readable storage medium storing program for executing
CN105224614A (en) Application program classification display method and device
CN106874335A (en) Behavioral data processing method, device and server
CN104462504A (en) Method and device for providing reasoning process data in search
Rajabi et al. An empirical study on the evaluation of interlinking tools on the Web of Data
CN110264277A (en) Data processing method and device, medium and the calculating equipment executed by calculating equipment
US20220237245A1 (en) Description set based searching
CN104462552B (en) Question and answer page core word extracting method and device
KR100901134B1 (en) Tag display system for analysing morpheme and source code
CN106168962B (en) Search method and device for providing accurate viewpoint based on natural search result

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180629

RJ01 Rejection of invention patent application after publication