CN109948039A - A kind of method, apparatus and electronic equipment of Optimizing Search result - Google Patents

A kind of method, apparatus and electronic equipment of Optimizing Search result Download PDF

Info

Publication number
CN109948039A
CN109948039A CN201711236646.XA CN201711236646A CN109948039A CN 109948039 A CN109948039 A CN 109948039A CN 201711236646 A CN201711236646 A CN 201711236646A CN 109948039 A CN109948039 A CN 109948039A
Authority
CN
China
Prior art keywords
search result
input
input word
word
history
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
CN201711236646.XA
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 Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201711236646.XA priority Critical patent/CN109948039A/en
Publication of CN109948039A publication Critical patent/CN109948039A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses the method, apparatus and electronic equipment of a kind of Optimizing Search result, this method comprises: obtaining the search result that the first application program is obtained according to search key;The history input word of user's input is obtained, the history input word includes the input word that user inputs to the second application program;Described search result is ranked up according to the history input word.In the above-mentioned technical solutions, search result is ranked up by history input word that user inputs to the second application program, so that the sequence of search result considers input condition of the user in other applications, realize the cross-platform optimization of search result, to enable the search result after sequence to meet the needs of users from many aspects, it solves the limitation of search results ranking in the prior art, improves the popularity and accuracy of search result optimization.

Description

A kind of method, apparatus and electronic equipment of Optimizing Search result
Technical field
The present invention relates to software technology field, in particular to a kind of the method, apparatus and electronic equipment of Optimizing Search result.
Background technique
With constantly improve for search engine, search result is more and more accurate, brings great side for people's lives Just.The optimization of search result is on the one hand Optimizing Search engine usually from two aspects, is on the other hand Optimizing Search result Sequence.The space that the search result that existing search engine search obtains accurately has optimized very much is very small, search knot The optimization of fruit is mainly started with from sequence.
Nowadays, the sequence of search result is carried out generally according to the individual demand of user, according to the historical search of user Record is to optimize sequence to search result.But this optimal way has certain limitation, and the historical search of user is remembered Often interest of the reflection user in search behavior is biased to for record, if the current demand of user did not embody in search behavior, So the current demand of user is just unable to get good satisfaction, needs the new method of one kind to improve the office of search results ranking It is sex-limited.
Summary of the invention
The embodiment of the present invention provides the method, apparatus and electronic equipment of a kind of Optimizing Search result, for realizing search knot The cross-platform optimization of fruit improves the popularity and accuracy of search result optimization.
The embodiment of the present invention provides a kind of method of Optimizing Search result, this method comprises:
Obtain the search result that the first application program is obtained according to search key;
Obtain user input history input word, the history input word include user inputted to the second application program it is defeated Enter word;
Described search result is ranked up according to the history input word.
Optionally, described search result is ranked up according to the history input word, comprising:
Obtain the number that each history input word occurs in every search result;
According to occurring the number of history input word in every search result, every search result is ranked up, out occurrence The more sequence of number is forward.
Optionally, described search result is ranked up according to the history input word, comprising:
The input number for each input word for including in history input word is obtained, and/or, include in acquisition history input word The corresponding input environment of each input word;
It is right according to the input number and/or corresponding input environment of each input word for including in the history input word Described search result is ranked up.
Optionally, according to the input number for each input word for including in the history input word and/or corresponding input Environment is ranked up described search result, comprising:
The phase between the history input word and every search result is calculated according to the input number of each input word Like degree, alternatively, according to the input number of each input word and the corresponding input environment calculating history input word and often Similarity between search result;
Every search result is ranked up according to the similarity, the big sequence of similarity is forward.
Optionally, according to the input number of each input word calculate the history input word and every search result it Between similarity, comprising:
According to the input number of each input word, the first term vector is constructed for the history input word;
Every search result is segmented, is every search result according to the frequency of occurrence of participle each in word segmentation result Construct the second term vector;
Obtain similarity between first term vector and second term vector as every search result with Similarity between the history input word.
Optionally, the history input word is calculated according to the input number of each input word and corresponding input environment With the similarity between every search result, comprising:
According to each input word and each input word, the number of the upper screen in corresponding input environment, is described History input word constructs third term vector;
Every search result is segmented, according to the frequency of occurrence of participle each in word segmentation result and every search knot The corresponding input environment of the affiliated type of fruit is that every search result constructs the 4th term vector;
Obtain similarity between the third term vector and the 4th term vector as every search result with Similarity between the history input word.
Optionally, the history input word for obtaining user and being inputted by input method, comprising:
User is screened by the input word that input method inputs, obtains the sincere word in input word as the history Input word.
Optionally, the method also includes: show sequence after described search result.
The embodiment of the present invention also provides a kind of device of Optimizing Search result, comprising:
Search unit, the search result obtained for obtaining the first application program according to search key;
Acquiring unit, for obtaining the history input word of user's input, the history input word includes that user answers to second The input word inputted with program;
Sequencing unit, for being ranked up according to the history input word to described search result.
Optionally, the sequencing unit is used for:
Obtain the number that each history input word occurs in every search result;
According to occurring the number of history input word in every search result, every search result is ranked up, out occurrence The more sequence of number is forward.
Optionally, sequencing unit is also used to:
The input number for each input word for including in history input word is obtained, and/or, include in acquisition history input word The corresponding input environment of each input word;
It is right according to the input number and/or corresponding input environment of each input word for including in the history input word Described search result is ranked up.
Optionally, the sequencing unit includes:
Computing module, for calculating the history input word and every search according to the input number of each input word As a result the similarity between, alternatively, being gone through according to the input number of each input word and the calculating of corresponding input environment Similarity between history input word and every search result;
Sorting module, for being ranked up according to the similarity to every search result, the big sequence of similarity is forward.
Optionally, the computing module is used for:
According to the input number of each input word, the first term vector is constructed for the history input word;Every is searched Hitch fruit is segmented, and is that every search result constructs the second term vector according to the frequency of occurrence of participle each in word segmentation result; The similarity between first term vector and second term vector is obtained as every search result and the history Similarity between input word.
Optionally, the computing module is used for:
According to each input word and each input word, the number of the upper screen in corresponding input environment, is described History input word constructs third term vector;Every search result is segmented, according to the appearance of participle each in word segmentation result Number and the corresponding input environment of the affiliated type of every search result are that every search result constructs the 4th term vector;Obtain institute The similarity between third term vector and the 4th term vector is stated as every search result and the history input word Between similarity.
Optionally, the acquiring unit is used for: being screened, is inputted by the input word that input method inputs to user Sincere word in word is as the history input word.
Optionally, described device further include: display unit, for showing the described search result after sorting.
The present invention implements also to provide a kind of electronic equipment, includes memory and one or more than one program, Perhaps more than one program is stored in memory and is configured to be executed by one or more than one processor for one of them The one or more programs include the instruction for performing the following operation:
Obtain the search result that the first application program is obtained according to search key;
Obtain user input history input word, the history input word include user inputted to the second application program it is defeated Enter word;
Described search result is ranked up according to the history input word.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the program It is performed the steps of when being executed by processor
Obtain the search result that the first application program is obtained according to search key;
Obtain user input history input word, the history input word include user inputted to the second application program it is defeated Enter word;
Described search result is ranked up according to the history input word.
Said one or multiple technical solutions in the embodiment of the present application, at least have the following technical effect that
The embodiment of the present application provides a kind of method of Optimizing Search result, obtains the first application program according to search key The search result of acquisition;Obtain the history input word that user inputs to the second application program;By user to the second application program The history input word of input is ranked up search result, so that the sequence of search result considers user in other application journey Input condition in sequence, realizes the cross-platform optimization of search result, so that the search result after sequence be enable to expire from many aspects The demand of sufficient user solves the limitation of search results ranking in the prior art, improves the popularity of search result optimization And accuracy.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the method for Optimizing Search result provided by the embodiments of the present application;
Fig. 2 is a kind of block diagram of the device of Optimizing Search result provided by the embodiments of the present application;
Fig. 3 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
In technical solution provided by the embodiments of the present application, by the history input word of acquisition other application program, next pair The search result that current application program search obtains optimizes sequence, the cross-platform optimization of search result is realized, to solve The limitation of search results ranking in the prior art improves the popularity and accuracy of search result optimization.
With reference to the accompanying drawing to main realization principle, specific embodiment and its correspondence of the embodiment of the present application technical solution The beneficial effect that can reach is explained in detail.
Embodiment
Referring to FIG. 1, the embodiment of the present application provides a kind of method of Optimizing Search result, this method comprises:
S110: the search result that the first application program is obtained according to search key is obtained;
S120: the history input word of user's input is obtained, the history input word includes that user is defeated to the second application program The input word entered;
S130: described search result is ranked up according to the history input word.
The method of Optimizing Search result provided by the embodiments of the present application can be applied to search for search engine As a result it optimizes, it is excellent also to can be applied to the search result progress that other application program search with function of search obtain Change.Such as: the lookup etc. in search contact person, word in the search, address list in wechat can be provided by the application The method of Optimizing Search result sequence is optimized to the search result that it is obtained.It is provided by the present application when specific execution The method of Optimizing Search result can be executed by the first application program, plug-in unit or input method, and the embodiment of the present application is simultaneously unlimited The executing subject of this method processed.
In the specific implementation process, when the first application program obtains search result according to search key, S110 is executed Obtain the search result.The search result that the search of the first application program obtains under normal conditions has had certain sequence, preceding Therefore the search result of several pages of search result especially first page is usually with the higher search result of user's matching degree The search result of first page or first page and second page that available first application program of calculation amount S110 obtains is reduced, Further to execute S120.
S120: the history input word of user's input is obtained, the history input word includes that user is defeated to the second application program The input word entered.Specifically, S120 can obtain the history that user inputs at least one second application program by input method Input word.Communication interface is all had between input method and each application program, the information input of each application program requires to adjust It is realized with input method, therefore the history input word for obtaining by input method each application program is convenient and efficient, without newly-increased Communication interface.Further, user's all application program inputs on electronic equipment can be obtained by input method for S120 pages History input word, and count the input number of identical history input word, input frequency etc..Certainly, S120 can also be by mutual The interface that agreement determines obtains history input word, such as: agreement can be passed through between two application programs of wechat and QQ and determined One specified interface obtains the history input word of other side by the specified interface.
In specific implementation process, in order to improve the validity of history input word, in the available preset time period of S120 History input word, to scan for structure optimization sequence.Such as: user in 24 hours can be obtained and inputted to the second application program History input word, the history input word more than 24 hours is then invalid word.History input word validity is improved as another kind Method, S120 can also be screened user by the input word that input method input when obtaining the such word of history, acquisition Sincere word in input word is as history input word.Such as: as the non-sincere word such as " I ", " you ", " " needs to filter, obtain " dog food ", " buying ", " body-building " etc. serve as word significant when ingredient as history input word in sentence.
After S120, executes S130 and search result is ranked up according to the history input word of acquisition, further, show Search result after sequence.Specifically, can be searched according to the number that history input word occurs in every search result to every Hitch fruit is ranked up, can also be according to each in the input number and/or history input word of input word each in history input word Input environment where a input word is ranked up every search result.
In the following, being ranked up progress specifically to search result to according to history input word in conjunction with different implementations It is bright:
Mode one
When according to history input word, frequency of occurrence is ranked up every search result in every search result.For obtaining The search result and history input word obtained, obtains the number that each history input word occurs in every search result.Wherein, it goes through History input word occurs being counted as searching in the corresponding content of pages of title, abstract and/or search result of search result As a result occur in.According to occurring the number of history input word in every search result, every search result is ranked up, is occurred Sequence often is forward.
Multiple history input words are likely to occur in one search result, a history input word may also occur repeatedly, It can be ranked up according to the total degree that each history input word occurs when sequence, it is assumed that history input word indicates with i, i ∈ 1, 2,3 ..., n }, the number that history input word i occurs in a search result is Ni, each history is defeated in a search result Enter the total degree N of word appearanceAlways=N1+N2+…+Ni.Such as: user inputs keyword " swimming glasses " in a browser and scans for, clear Device of looking at scans for keyword " swimming glasses " to obtain search result, however since the range of keyword " swimming glasses " is too big, acquisition Search result include various types of results such as: sell the link of " swimming glasses ", the encyclopaedia link of " swimming glasses ", " swimming glasses " brand push away Link etc. is recommended, such search result is inaccurate for a user if showing.In order to further to search result into Row optimization, the present embodiment obtain the search result and obtain history of the user to such as instant chat application input of the second application program Input word such as " buying swimming glasses ", " antifog ", " myopia ";Statistics " buying swimming glasses ", " antifog ", " myopia " occur in every search result Total degree, if the total degree that " buying swimming glasses ", " antifog ", " myopia " occur in Article 5 search result is 8, searches in Article 2 The total degree occurred in hitch fruit is 1, then Article 5 search result is come Article 2 search result when Optimizing Search result Displaying made above.
The number that history input word occurs in search result is different, and the number of user's input may also be different, and user is defeated The more history input word of indegree may be the more interested word of user.The embodiment of the present application can be defeated according to each history Enter the input number of word and weight θ is set for iti, θiValue can take input number and also take input number always input number In shared ratio.Every search result is ranked up according to the number for occurring history input word in every search result When, the synthesis times N of all history input words in every search result can be obtainedIt is comprehensive1*N12*N2+…+θi*Ni, according to The N of every search resultIt is comprehensiveSize search result is ranked up, NIt is comprehensiveBigger sequence is more forward.Such as: the history input of acquisition The input number of word " buying swimming glasses ", " antifog ", " myopia " user within a preset period of time are respectively 1,2,3, if " buying swimming glasses ", Frequency of occurrence of these three the history input words of " antifog ", " myopia " in first search result is respectively 0,2,2, in Article 6 The number occurred in search result is classified as 0,1,3, calculates the N for obtaining the first search resultIt is comprehensive=1*0+2*2+3*2=10, the The N of six search resultsIt is comprehensive=1*0+1*2+3*3=11, according to the N of each search resultIt is comprehensiveAll search results are ranked up When, Article 6 search result is come before first search result.
Mode two
According to input environment corresponding to each input word for including in history input word, every search result is arranged Sequence.Obtaining input environment of the user where when inputting each input word is the corresponding input environment of each input word, and Obtain the corresponding input environment of the affiliated type of every search result.Specifically, type belonging to every search result can be section General, amusement, education, tourism etc. can obtain its affiliated type according to the title of every search result, source, label etc..It is each The corresponding one or more input types of a type, such as: the corresponding input environment of science popularization type may include writing, education, trip Trip etc..Obtain identical of input environment input environment corresponding with search result corresponding to input word in history input word Number, is ranked up, the sequence more than number is forward according to the number.
Mode three
Search result is ranked up by the size of similarity.The history input word obtained is calculated to tie with every search Similarity between fruit;Every search result is ranked up according to the similarity obtained is calculated, the big sequence of similarity is forward. Wherein, the similarity between history input word and every search result, can be according to the defeated of input word each in history input word The frequency of occurrence of each participle calculates in indegree and every search result, can also according to input each in history input word Word is in the upper screen number in corresponding input environment, the number and every search result that each participle occurs in every search result Affiliated type corresponding input environment calculates.
1., according to input word each in history input word input number and every search result in each participle appearance Number calculates the similarity between history input word and every search result.Specifically, one sincere word list of maintenance, this List has M sincere words, according to this lists construction vector (C1,C2,…,CM), CiIndicate i-th of sincere word pair in lists The data answered.According to each input word for including in the history input word of acquisition, for entire history input word construct word first to S is measured, such as: it obtains comprising preceding 3 sincere words in sincere word list in history input word, then constructing the history input word First term vector S=(C1,C2,C3,0,…0).Further, for K search result, every search result is segmented, It is that every search result constructs the second term vector S according to word segmentation resultj, j=1,2 ..., K.Then, the first term vector S is obtainedjWith Similarity between second term vector S is as the similarity between every search result and history input word.Phase between vector It can be calculated using a variety of methods like degree, it such as can be similar using Pearson correlation coefficient, Euclidean distance, Cosine The methods of degree, manhatton distance are calculated, and the embodiment of the present application is not intended to limit the specific algorithm of similarity between vector.
Each Elements C in vector is described in detail belowiHow to indicate.CiIt can be expressed as in sincere word list The number that i-th of sincere word occurs is exactly the input number that user inputs the input word in the history input word of user, and In some search result, search result is segmented, counts the number that the participle occurs in this search result.Example Such as: assuming that the history input word obtained includes the 3rd~the 6th sincere word in sincere word list, each reality in history input word The input number of meaning word is respectively 1,2,3,4, and the frequency of occurrence of each input word is divided in history input word in j-th strip search result Other 1,0,2,4, then obtaining the second term vector S=, (0,0,1,2,3,4,0 ... 0), the first term vector Sj=(0,0,1,0,2, 4,0,…0);Calculate S and SjBetween similarity and every search result is ranked up according to the size of the similarity.
2., upper screen number, every search result according to input word each in history input word in corresponding input environment In each participle number and the corresponding input environment of the affiliated type of every search result that occur, calculate history input word and every Similarity between search result.Specifically, obtaining the corresponding input environment of each input word for including in history input word; Search result is ranked up according to the history input word of acquisition and each input word corresponding input environment.Wherein, ring is inputted Border includes but is not limited to writing, chat, shopping, map, game etc..
Likewise, the present embodiment can also for various input environments safeguard an input environment list, such as writing, Chat, shopping, map, game ... } X input environment is shared, vector (CC can equally be constructed according to this list1,CC2,…, CCX), wherein CCiIndicate the number that the sincere word of some in i-th of input environment occurs in input environment list.For user History input word, statistics wherein each input word upper number shielded in the input environment for inputting the word;For some search As a result, having a label, identify the search result is what kind of, for example be science popularization type, then corresponding input ring Border is exactly to write.If upper screen a times in first input environment of a sincere word, then the environment vector constructed be exactly (a, 0 ... 0), then CiIt can be expressed as the vector that i-th of sincere root is constructed according to environment list in list, i.e. ((CC11, CC12,..,CC1X),(CC21,CC22,…CC2X),…,(CCM1,CCM2,…CCMX)).According to the vector table of above-mentioned each sincere word Show Ci, can accordingly obtain sincere word list (C1,C2,…,CM), based on the same method of mode two, acquisition history can be constructed The 4th term vector S of the third term vector S of input word and every search resultj, then, obtain third term vector and the 4th word to Similarity between amount is as the similarity between every search result and history input word, and then according to the size pair of similarity Search result is ranked up.
Direction corresponding to the input word inputted in varying environment is not quite similar, such as: user inputs " tall in word It is red ", it may refer to " Jordon " this personage's multiple spot partially, input " Jordon " in chat environment, may refer to the entertainment of " Jordon " partially Multiple spot.The application pass-through mode three is ranked up search result according to history input word and its corresponding input environment, if " Jordon " is inputted in word, then the search results ranking of search " Jordon " Shi Baike class will be located further forward, if in chat ring " Jordon " is inputted in border, then the search results ranking for laying particular stress on entertainment information will be located further forward when search " Jordon ", because it is contemplated that Input environment corresponding to input word, so that ranking results have fully considered the skewed popularity of user's input word, ranking results are more Accurately, more meet the demand of user.
In the above-described embodiments, the search result obtained to search is inputted by acquisition user to other applications Input word optimizes sequence to it, so that the sequence of search result considers input feelings of the user in other applications Condition, realizes the cross-platform optimization of search result, so that the search result after sequence is enable to meet the needs of users from many aspects, It solves the limitation of search results ranking in the prior art, improves the popularity and accuracy of search result optimization.Into one Step, the present embodiment is when considering the input word of other applications, it is also contemplated that each input word it is corresponding input environment, Search result is ranked up by input word and its input environment, further improves the accuracy of search results ranking, more It is able to satisfy the demand of user.
A kind of method of Optimizing Search result is provided for above-described embodiment, the embodiment of the present application also correspondence provides a kind of excellent The device for changing search result, referring to FIG. 2, the device includes:
Search unit 21, the search result obtained for obtaining the first application program according to search key;
Acquiring unit 22, for obtaining the history input word of user's input, the history input word includes user to second The input word of application program input;
Sequencing unit 23, for being ranked up according to the history input word to described search result.
As an alternative embodiment, the acquiring unit 22 is used for: the input inputted to user by input method Word is screened, and obtains the sincere word in input word as the history input word.
As an alternative embodiment, described device further include: display unit 24, for show sequence after described in Search result.
As an alternative embodiment, the sequencing unit 23 is used for: obtaining each history input word and searched at every The number occurred in hitch fruit;According to occurring the number of history input word in every search result, every search result is carried out It sorts, the sequence more than frequency of occurrence is forward.
As an alternative embodiment, the sequencing unit 23 can be also used for: including in acquisition history input word Each input word input number, and/or, obtain history input word in include the corresponding input environment of each input word; According to the input number and/or corresponding input environment of each input word for including in the history input word, to described search As a result it is ranked up.
As an alternative embodiment, the sequencing unit 23 includes: computing module and sorting module.Computing module For: it is calculated according to the input number of each input word similar between the history input word and every search result Degree, alternatively, calculating the history input word and every according to the input number of each input word and corresponding input environment Similarity between search result;Sorting module is used for: being ranked up according to the similarity to every search result, similarity Big sequence is forward.
As an alternative embodiment, the computing module can be used for:
According to the input number of each input word, the first term vector is constructed for the history input word;Every is searched Hitch fruit is segmented, and is that every search result constructs the second term vector according to the frequency of occurrence of participle each in word segmentation result; The similarity between first term vector and second term vector is obtained as every search result and the history Similarity between input word.
As an alternative embodiment, the computing module can be also used for:
According to each input word and each input word, the number of the upper screen in corresponding input environment, is described History input word constructs third term vector;Every search result is segmented, according to the appearance of participle each in word segmentation result Number and the corresponding input environment of the affiliated type of every search result are that every search result constructs the 4th term vector;Obtain institute The similarity between third term vector and the 4th term vector is stated as every search result and the history input word Between similarity.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 3 is a kind of electronic equipment for realizing Optimizing Search result method shown according to an exemplary embodiment 800 block diagram.For example, electronic equipment 800 can be mobile phone, computer, digital broadcasting terminal, messaging device, trip Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 3, electronic equipment 800 may include following one or more components: processing component 802, memory 804, Power supply module 806, multimedia component 808, audio component 810 input/show the interface 812 of (I/O), sensor module 814, And communication component 816.
The integrated operation of the usual controlling electronic devices 800 of processing component 802, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing element 802 may include one or more processors 820 to hold Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more moulds Block, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, with Facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application or method for operating on electronic equipment 800, contact data, telephone directory number According to, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing Memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of electronic equipment 800.Power supply module 806 may include power supply pipe Reason system, one or more power supplys and other with for electronic equipment 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen that offer one between the electronic equipment 800 and user shows interface. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, Multimedia component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as showing and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when electronic equipment 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or via logical Believe that component 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, for showing audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, for providing the state of various aspects for electronic equipment 800 Assessment.For example, sensor module 814 can detecte the state that opens/closes of equipment 800, the relative positioning of component, such as institute The display and keypad that component is electronic equipment 800 are stated, sensor module 814 can also detect electronic equipment 800 or electronics The position change of 800 1 components of equipment, the existence or non-existence that user contacts with electronic equipment 800,800 orientation of electronic equipment Or the temperature change of acceleration/deceleration and electronic equipment 800.Sensor module 814 may include proximity sensor, be configured to It detects the presence of nearby objects without any physical contact.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which can be with Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between electronic equipment 800 and other equipment. Electronic equipment 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.Show at one In example property embodiment, communication component 816 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 800 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of electronic equipment 800 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that a kind of method that mobile terminal is able to carry out Optimizing Search result, which comprises obtain the first application The search result that program is obtained according to search key;The history input word of user's input is obtained, the history input word includes The input word that user inputs to the second application program;Described search result is ranked up according to the history input word.
Fig. 3 is the structural schematic diagram of server in the embodiment of the present invention.The server 1900 can be different because of configuration or performance And generate bigger difference, may include one or more central processing units (central processing units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage application programs 1942 or data 1944 storage medium 1930 (such as one or more mass memory units).Wherein, memory 1932 It can be of short duration storage or persistent storage with storage medium 1930.Be stored in storage medium 1930 program may include one or More than one module (diagram does not mark), each module may include to the series of instructions operation in server.Further Ground, central processing unit 1922 can be set to communicate with storage medium 1930, and storage medium 1930 is executed on server 1900 In series of instructions operation.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets Network interface 1950, one or more inputs show interface 1958, one or more keyboards 1956, and/or, one or More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM Etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of method of Optimizing Search result characterized by comprising
Obtain the search result that the first application program is obtained according to search key;
The history input word of user's input is obtained, the history input word includes the input that user inputs to the second application program Word;
Described search result is ranked up according to the history input word.
2. the method as described in claim 1, which is characterized in that arranged according to the history input word described search result Sequence, comprising:
Obtain the number that each history input word occurs in every search result;
According to occurring the number of history input word in every search result, every search result is ranked up, frequency of occurrence is more Sequence it is forward.
3. the method as described in claim 1, which is characterized in that arranged according to the history input word described search result Sequence, comprising:
The input number for each input word for including in history input word is obtained, and/or, include in acquisition history input word is each The corresponding input environment of a input word;
According to the input number and/or corresponding input environment of each input word for including in the history input word, to described Search result is ranked up.
4. method as claimed in claim 3, which is characterized in that according to each input word for including in the history input word Number and/or corresponding input environment are inputted, described search result is ranked up, comprising:
The similarity between the history input word and every search result is calculated according to the input number of each input word, Alternatively, calculating the history input word and every search according to the input number of each input word and corresponding input environment As a result the similarity between;
Every search result is ranked up according to the similarity, the big sequence of similarity is forward.
5. method as claimed in claim 4, which is characterized in that gone through according to the calculating of the input number of each input word Similarity between history input word and every search result, comprising:
According to the input number of each input word, the first term vector is constructed for the history input word;
Every search result is segmented, is every search result building according to the frequency of occurrence of participle each in word segmentation result Second term vector;
Obtain similarity between first term vector and second term vector as every search result with it is described Similarity between history input word.
6. method as claimed in claim 4, which is characterized in that according to the input number of each input word and corresponding defeated Enter environment and calculate similarity between the history input word and every search result, comprising:
According to each input word and each input word, the number of the upper screen in corresponding input environment, is the history Input word constructs third term vector;
Every search result is segmented, according to the frequency of occurrence of participle each in word segmentation result and every search result institute Belonging to the corresponding input environment of type is that every search result constructs the 4th term vector;
Obtain similarity between the third term vector and the 4th term vector as every search result with it is described Similarity between history input word.
7. the method as described in claim 1~6 is any, which is characterized in that the acquisition user is gone through by what input method inputted History input word, comprising:
User is screened by the input word that input method inputs, the sincere word obtained in input word is inputted as the history Word.
8. a kind of device of Optimizing Search result characterized by comprising
Search unit, the search result obtained for obtaining the first application program according to search key;
Acquiring unit, for obtaining the history input word of user's input, the history input word includes user to second using journey The input word of sequence input;
Sequencing unit, for being ranked up according to the history input word to described search result.
9. a kind of electronic equipment, which is characterized in that include memory and one or more than one program, wherein one A perhaps more than one program is stored in memory and is configured to execute described one by one or more than one processor A or more than one program includes the instruction for performing the following operation:
Obtain the search result that the first application program is obtained according to search key;
The history input word of user's input is obtained, the history input word includes the input that user inputs to the second application program Word;
Described search result is ranked up according to the history input word.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor It is performed the steps of when execution
Obtain the search result that the first application program is obtained according to search key;
The history input word of user's input is obtained, the history input word includes the input that user inputs to the second application program Word;
Described search result is ranked up according to the history input word.
CN201711236646.XA 2017-11-30 2017-11-30 A kind of method, apparatus and electronic equipment of Optimizing Search result Pending CN109948039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711236646.XA CN109948039A (en) 2017-11-30 2017-11-30 A kind of method, apparatus and electronic equipment of Optimizing Search result

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711236646.XA CN109948039A (en) 2017-11-30 2017-11-30 A kind of method, apparatus and electronic equipment of Optimizing Search result

Publications (1)

Publication Number Publication Date
CN109948039A true CN109948039A (en) 2019-06-28

Family

ID=67003925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711236646.XA Pending CN109948039A (en) 2017-11-30 2017-11-30 A kind of method, apparatus and electronic equipment of Optimizing Search result

Country Status (1)

Country Link
CN (1) CN109948039A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026933A (en) * 2019-11-22 2020-04-17 泰康保险集团股份有限公司 Content recommendation method and device, electronic equipment and storage medium
CN113886685A (en) * 2021-09-23 2022-01-04 北京三快在线科技有限公司 Searching method, searching device, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314461A (en) * 2010-06-30 2012-01-11 北京搜狗科技发展有限公司 Navigation prompt method and system
CN102779136A (en) * 2011-05-13 2012-11-14 北京搜狗科技发展有限公司 Method and device for information search
CN103019398A (en) * 2011-09-20 2013-04-03 腾讯科技(深圳)有限公司 Character input method and character input device
CN103106241A (en) * 2012-12-13 2013-05-15 江苏乐买到网络科技有限公司 Method for searching network goods
US20140214817A1 (en) * 2009-03-31 2014-07-31 Ebay Inc. Ranking algorithm for search oueries
CN106649409A (en) * 2015-11-04 2017-05-10 陈包容 Method and apparatus for displaying search result based on scene information
CN106708282A (en) * 2015-12-02 2017-05-24 北京搜狗科技发展有限公司 Recommending method and device and device for recommending

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140214817A1 (en) * 2009-03-31 2014-07-31 Ebay Inc. Ranking algorithm for search oueries
CN102314461A (en) * 2010-06-30 2012-01-11 北京搜狗科技发展有限公司 Navigation prompt method and system
CN102779136A (en) * 2011-05-13 2012-11-14 北京搜狗科技发展有限公司 Method and device for information search
CN103019398A (en) * 2011-09-20 2013-04-03 腾讯科技(深圳)有限公司 Character input method and character input device
CN103106241A (en) * 2012-12-13 2013-05-15 江苏乐买到网络科技有限公司 Method for searching network goods
CN106649409A (en) * 2015-11-04 2017-05-10 陈包容 Method and apparatus for displaying search result based on scene information
CN106708282A (en) * 2015-12-02 2017-05-24 北京搜狗科技发展有限公司 Recommending method and device and device for recommending

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
启典文化: "《新手学五笔打字与电脑办公》", 30 November 2016 *
邱莉榕等: "《算法设计与优化》", 28 February 2017, 中央民族大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026933A (en) * 2019-11-22 2020-04-17 泰康保险集团股份有限公司 Content recommendation method and device, electronic equipment and storage medium
CN111026933B (en) * 2019-11-22 2023-03-21 泰康保险集团股份有限公司 Content recommendation method and device, electronic equipment and storage medium
CN113886685A (en) * 2021-09-23 2022-01-04 北京三快在线科技有限公司 Searching method, searching device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN109800325A (en) Video recommendation method, device and computer readable storage medium
CN108334539B (en) Object recommendation method, mobile terminal and computer-readable storage medium
US20190236099A1 (en) Picture processing method and apparatus, and electronic device
CN109117862A (en) Image tag recognition methods, device and server
CN107229348A (en) A kind of input error correction method, device and the device for inputting error correction
CN107784045B (en) Quick reply method and device for quick reply
CN107315487B (en) Input processing method and device and electronic equipment
CN109918565A (en) A kind of processing method, device and electronic equipment for searching for data
CN108121736A (en) A kind of descriptor determines the method for building up, device and electronic equipment of model
CN107621886A (en) Method, apparatus and electronic equipment are recommended in one kind input
CN108958503A (en) input method and device
CN109670077A (en) Video recommendation method, device and computer readable storage medium
CN111125523A (en) Searching method, searching device, terminal equipment and storage medium
CN104735243A (en) Method and device for displaying contact list
CN110110207A (en) A kind of information recommendation method, device and electronic equipment
CN109213942A (en) A kind of search result methods of exhibiting and device
WO2020221121A1 (en) Video query method, device, apparatus, and storage medium
CN106202411A (en) A kind of Search Results methods of exhibiting and device
CN110020145A (en) A kind of information recommendation method and device
CN107728877B (en) Application recommendation method and mobile terminal
CN108874827A (en) A kind of searching method and relevant apparatus
CN107526740A (en) A kind of method and electronic equipment for showing search result
CN109948039A (en) A kind of method, apparatus and electronic equipment of Optimizing Search result
CN107506441A (en) A kind of data arrangement method, apparatus, electronic equipment and storage medium
CN106131296A (en) Information displaying method and device

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: 20190628

RJ01 Rejection of invention patent application after publication