Detailed description of the invention
With embodiment, the application is described in further detail below in conjunction with the accompanying drawings.It is appreciated that, specific embodiment described herein is used only for explaining related invention, rather than to thisBright restriction.It also should be noted that, for the ease of describe, accompanying drawing illustrate only withAbout the part that invention is relevant.
It should be noted that in the case of not conflicting, the embodiment in the application and embodimentIn feature can be mutually combined.Describe this below with reference to the accompanying drawings and in conjunction with the embodiments in detailApplication.
Fig. 1 shows the reality of information search method or the information retrieval device that can apply the applicationExecute the exemplary system architecture 100 of example.
As it is shown in figure 1, system architecture 100 can include terminal unit 101,102,103,Network 104 and server 105.Network 104 is in order at terminal unit 101,102,103 andThe medium of communication link is provided between server 105.Network 104 can include various connection classType, the most wired, wireless communication link or fiber optic cables etc..
User can use terminal unit 101,102,103 by network 104 and server 105Alternately, to receive or to send message etc..Can be provided with on terminal unit 101,102,103Various telecommunication customer ends are applied, such as searching class application, web browser applications, instant messagingInstrument, mailbox client, social platform software etc..
Terminal unit 101,102,103 can be various electronic equipment, includes but not limited to intelligenceCan mobile phone, panel computer, E-book reader, MP3 player (Moving Picture ExpertsGroup Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3),(Moving Picture Experts Group Audio Layer IV, dynamic image expert compresses MP4Standard audio aspect 4) player, pocket computer on knee and desk computer etc..
Server 105 can be to provide the server of various service, such as to terminal unit 101,102, the searching class application on 103, web browser applications etc. provide the background server supported.The data received can be stored by server, analysis etc. processes, and result is anti-Feed terminal unit.
It should be noted that the information search method that provided of the embodiment of the present application typically can be byServer 105 performs, and correspondingly, information retrieval device is generally positioned in server 105.
It should be understood that the number of terminal unit, network and the server in Fig. 1 is only signalProperty.According to realizing needs, can have any number of terminal unit, network and server.
With continued reference to Fig. 2, it is shown that according to an embodiment of the information search method of the applicationFlow process 200.Described information search method, comprises the following steps:
Step 201, receives the search word of user's input.
In the present embodiment, information search method runs on electronic equipment thereon (such as Fig. 1Shown server) can be utilized from user by wired connection mode or radio connectionIts terminal carrying out information search receives the search word of input.Here search word is expected with userThe object search obtained is correlated with, for searching for the information that user needs.It is pointed out thatState radio connection can include but not limited to 3G/4G connect, WiFi connect, bluetooth connect,WiMAX connects, Zigbee connects, UWB (ultra wideband) connects and otherCurrently known or exploitation in the future radio connection.
In application scenes, user can utilize the search engine installed in terminal to search forInformation, at this moment, user can believe with target by directly inputting in the search box of search engineThe search word that manner of breathing closes, runs electronic equipment thereon to the information search method of the present embodiment and sends outPlay the request of information search.Generally, the news in network, picture, paper, video etc. areDid classification to process, and be divided into news category, picture category, scientific paper class etc., and search engine canJudging the classification belonging to this word with the search word according to input, this can further reduce letterThe scope of breath search, improves the accuracy rate of information search.
Step 202, if preset antistop list in do not comprise search word, it is determined that search word withThe probability that each key word in antistop list occurs in once search.
In the present embodiment, information search method runs electronic equipment thereon (such as Fig. 1 instituteThe server shown) multiple object search can be prestored and be associated with each object searchAt least one key word, and generate antistop list according to it.Then obtain based in step 201Search word, above-mentioned electronic equipment can first determine whether that whether comprising this in above-mentioned antistop list searchesRope word, if not comprising search word in above-mentioned antistop list, then can determine furtherThe probability that this search word occurs in once search with each key word in above-mentioned antistop list.Here antistop list at least can include multiple object search and be associated with each object searchAt least one key word, object search can include news, video, picture etc..
Generally, different search word search can be inputted before and after user is when carrying out information search relevantInformation, find information accurately with expectation, therefore the search word of input in the most once searchBetween generally have higher relatedness, be used for searching for same object search.Therefore, if fromIt is big that search daily record obtains above-mentioned search word and the keyword search probability of appearance in once searchIn threshold value, then it is believed that object search corresponding to this key word and/or the subordinate mould of object searchBlock is i.e. the information content that user is expected that by that search word obtains.
Step 203, when search word and each key word in above-mentioned antistop list are with once searching forWhen the probability of middle appearance is more than predetermined threshold value, obtain the key word corresponding with this probability.
In the present embodiment, information search method runs electronic equipment obtaining step 202 thereonThe search word determined is general with what each key word in above-mentioned antistop list occurred in once searchRate, judges that whether above-mentioned probability is more than the threshold value preset afterwards.If there is search word and above-mentioned passThe probability that a key word in keyword table occurs in once search is more than the threshold value preset,I.e. this search word and this key word often occurs in once search, and this can illustrate this searchWord and this key word are applicable to search for same object search, now can obtain above-mentioned probability pairThe key word answered.
Step 204, by the object search being associated with key word and/or the subordinate of this object searchModule is sent to user.
In the present embodiment, the key word obtained based on step 204, the information of the present embodiment is searchedSuo Fangfa run electronic equipment thereon can obtain the object search being associated with this key word orPerson's object search and the slave module of this object search.Here it is possible to using object search asPrimary module, and other functional module relevant to this object search is as slave module.Such as,Object search can be hot news, and subject of news at this moment may be considered primary module, and is somebody's turn to doThe related commentary functional module etc. of news then may be considered the slave module of this news.The most such as,Object search can be video, and video main body at this moment may be considered primary module, and this videoRelevant barrage functional module then may be considered the slave module of this video.
It is the application scenarios of the information search method according to the present embodiment with continued reference to Fig. 3, Fig. 3A schematic diagram.In the application scenarios of Fig. 3, user is first at the search box of search engineOne search word of middle input such as " Binhai New District explosion accident ", as it is shown on figure 3, be used for searching for " my godBinhai New District Tanggu, Tianjin explosive incident " hot news;Server can obtain above-mentioned searching afterwardsRope word, then it is matched with the antistop list pre-set, if for above-mentioned hot news,In antistop list, the key word of storage is " Tianjin explosive incident " and " Tanggu explosive incident ", aobviousRight above-mentioned search word " Binhai New District explosion accident " is not in antistop list.It is thus desirable to enter oneStep ground determines search word " Binhai New District explosion accident " and " Tianjin explosive incident " and " TangguExplosive incident " probability of appearance in once search;If finding " Binhai New District explosion accident "It is more than, with the probability occurred in once search, the threshold value preset with " Tianjin explosive incident ", then may be usedPermissible with key word " Tianjin explosive incident " to determine search word " Binhai New District explosion accident "For searching for same hot news, above-mentioned server can obtain key word " Tianjin explosive incident ",And sending relevant search result, user clicks on " information 1 " in searched page, background serverThe comment functional module of above-mentioned hot news He this hot news subordinate can be sent to user,As shown in Figure 3.
The method that above-described embodiment of the application provides, when search word can not hit key word,Determine the probability that search word occurs in once search with each key word in antistop list, ifThere is probability and be more than predetermined threshold value, then obtain the key word that this probability is corresponding, then will be with this passObject search and/or the slave module of object search that keyword is associated are sent to above-mentioned user, fromAnd make search word can also correctly search for when not hitting the key word of object search searchingRope object and/or the slave module of this object search, improve the accuracy rate of information search.
With further reference to Fig. 4, it illustrates the flow process of another embodiment of information search method400.The flow process 400 of this information search method, comprises the following steps:
Step 401, receives the search word of user's input.
In the present embodiment, information search method runs on electronic equipment thereon (such as Fig. 1Shown server) can be utilized from user by wired connection mode or radio connectionIts terminal carrying out information search receives the search word of input.Here search word and target informationRelevant, for searching for the target information that user needs.
Step 402, generates the antistop list preset.
In the present embodiment, information search method operation electronic equipment thereon can be in advance from netAt least one of each object search of acquisition such as network describes information, afterwards by various means from above-mentionedThe description information of the object search obtained is extracted at least one key word of this object search, andAfter relevant with the key word that will extract in above-mentioned object search and the description information of each object searchConnection, ultimately produces above-mentioned default antistop list.
In some optional implementations of the present embodiment, can be right to the search of above-mentioned acquisitionThe description information of elephant is analyzed, thus extracts one or more key word.Here, to upperThe analysis mode of the description information stating object search can be to be statistical analysis mode.For example, it is possible toThe frequency of occurrences of each word present in foregoing is added up and sorted, afterwards, thenChoose the forward one or more words of frequency of occurrences sequence as key word to be extracted.AbilityField technique personnel are it is understood that can also comprehensively use statistical analysis to tie mutually with semantic analysisThe mode closed extracts key word.
Step 403, it is judged that whether comprise search word in the antistop list preset.
In the present embodiment, the search word obtained based on step 401 and step 402 and each searchThe antistop list of object, it is permissible that the information search method of the present embodiment runs electronic equipment thereonJudge whether to comprise this search word in above-mentioned antistop list, if above-mentioned antistop list comprisesAbove-mentioned search word, then forward step 404 to;If above-mentioned antistop list does not comprise above-mentioned searchWord, then forward step 405 to.Here antistop list at least can include multiple object search withAnd at least one key word being associated with each object search, wherein, object search can includeNews, video, picture etc..
Step 404, by the subordinate mould of the object search being associated with search word and/or object searchBlock is sent to user.
In the present embodiment, comprise search word based in the above-mentioned antistop list that step 403 determines,The information search method of the present embodiment runs electronic equipment thereon can be by relevant to this search wordThe slave modules such as the object search of connection and/or the such as comment functional module of this object search sendTo user.So that user is while understanding the such as object search such as news, video, also may be usedTo deliver relevant comment etc. with regard to object search.
Step 405, obtains, from search daily record, the number of times that search word occurs.
In the present embodiment, the above-mentioned antistop list determined based on step 403 does not comprise searchWord, the information search method of the present embodiment runs electronic equipment thereon can be from search daily recordObtain the number of times that this search word occurs.Such as, the search word of user's input is that " Binhai New District is quick-friedFried accident ", above-mentioned electronic equipment can obtain user in a search engine from historical search daily recordThe total degree of input " Binhai New District explosion accident ".
Step 406, obtains search word from search daily record and exists with each key word in antistop listWith the number of times occurred in once search.
In the present embodiment, information search method operation electronic equipment thereon can be searched from historySuo Zhi continues obtain search word go out in once search with each key word in antistop listExisting number of times.Here it is possible to by the search record of historical search log acquisition different user,And then in acquired search record, determine that search word and each key word in antistop list are sameThe number of times once occurred in search, to calculate search word with each key word in antistop list sameThe frequency once occurred in search.
Step 407, goes out search word with each key word in antistop list in once searchThe number of times that existing number of times and search word occur is divided by, and determines that search word and each key word are with onceThe probability occurred in search.
In the present embodiment, the number of times of the search word appearance obtained based on step 405 and step 406The search word of middle acquisition is secondary with what each key word in antistop list occurred in once searchNumber, the information search method of the present embodiment runs electronic equipment thereon can be by search word and passThe number of times that the number of times of the appearance in once search of each key word in keyword table and search word occurIt is divided by, calculates and obtain the probability that search word occurs with each key word in once search.
Step 408, when search word goes out in once search with each key word in antistop listWhen existing probability is more than predetermined threshold value, obtain the key word corresponding with this probability.
In the present embodiment, the search word obtained based on step 407 and each key word are with onceThe probability occurred in search, the information search method of the present embodiment runs electronic equipment thereon canTo obtain the key word corresponding more than the probability of predetermined threshold value.It should be noted that here pre-If threshold value can be manually set according to demand, or can also be without arranging threshold value, and directObtain the key word that maximum of probability is corresponding.
Step 409, by the object search being associated with key word and/or the subordinate of this object searchModule is sent to user.
In the present embodiment, determine based on step 408 goes out in once search with search wordExisting probability is more than the key word of predetermined threshold value, and the information search method of the present embodiment runs on itElectronic equipment can be by the object search being associated with this key word and/or this object searchThe slave modules such as such as comment functional module are sent to user.So that user is the newest in understandingWhile the object searches such as news, video, it is also possible to relevant comment etc. is delivered with regard to object search.
From fig. 4, it can be seen that compared with the embodiment that Fig. 2 is corresponding, the letter that the present embodiment providesBreath retrieval flow 400 highlights and determines what search word and each key word occurred in same primary retrievalThe step of probability, is determined by the probability that search word occurs in same search with key word afterwardsMore than threshold value, target search object can be obtained, improve the accuracy rate of information search;AndThis embodiment can be by search word human configuration to antistop list, it is also possible to search targetObject search, improves the response speed of information search.
With further reference to Fig. 5, as to the realization of method shown in above-mentioned each figure, the application providesOne embodiment of a kind of information retrieval device, this device embodiment and the method shown in Fig. 2Embodiment is corresponding, and this device specifically can apply in various electronic equipment.
As it is shown in figure 5, the information retrieval device 500 described in the present embodiment includes: receive unit501, probability determining unit 502, acquiring unit 503 and the first transmitting element 504.Wherein,Receive unit 501 and be configured to receive the search word of user's input;Probability determining unit 502 is joinedIf putting in the antistop list for presetting and not comprising above-mentioned search word, it is determined that this search word being with upperState the probability that each key word in antistop list occurs in once search, wherein, key wordTable includes multiple object search and at least one key word being associated with each object search;ObtainTake unit 503 to be configured to, when above-mentioned probability is more than predetermined threshold value, obtain corresponding with this probabilityKey word;First transmitting element 504 is configured to the search being associated with above-mentioned key wordThe slave module of object and/or this object search is sent to above-mentioned user.
In the present embodiment, the reception unit 501 of information retrieval device 500 can be by wiredIt is defeated that connected mode or radio connection utilize it to carry out the reception of the terminal of information search from userThe search word entered.
In the present embodiment, based on receiving the search word that unit 501 obtains, above-mentioned probability determinesUnit 502 can first determine whether whether to comprise in the antistop list preset above-mentioned search word;ReallyRecycle after determining antistop list does not comprise this search word various analysis means calculate search word withThe probability that each key word in antistop list occurs in once search;Then acquiring unit503 are more than predetermined threshold value based on search word with key word probability of appearance in once search,Obtain above-mentioned key word;Last first transmitting element 504 by with searching that above-mentioned key word is associatedThe slave module of rope object and/or this object search is sent to above-mentioned user.
In some optional implementations of the present embodiment, above-mentioned information retrieval device 500 is alsoMay include that the second transmitting element (not shown), if being configured in the antistop list preset wrapContaining above-mentioned search word, then the object search key word mated with this search word being associated and/Or the slave module of object search is sent to above-mentioned user.
In some optional implementations of the present embodiment, above-mentioned information retrieval device 500 is alsoMay include that associative cell (not shown), be configured to object search and this object searchSlave module is associated.
In some optional implementations of the present embodiment, above-mentioned information retrieval device 500 is alsoMay include that antistop list obtains unit (not shown), be configured to following steps and obtainThe antistop list preset, above-mentioned steps includes: at least one obtaining each above-mentioned object search is retouchedState information;At least one key word is extracted from foregoing description information;By object search with from thisThe key word extracted in the description information of object search is associated, and generates above-mentioned default key wordTable.
In some optional implementations of the present embodiment, above-mentioned probability determining unit 502 is joinedPut and be additionally operable to: obtain, from search daily record, the number of times that above-mentioned search word occurs;From search daily recordObtain above-mentioned search word secondary with what each key word in antistop list occurred in once searchNumber;Above-mentioned search word is secondary with what each key word in antistop list occurred in once searchThe number of times that number and search word occur is divided by, and determines that above-mentioned search word and each key word are with once searchingThe probability occurred in rope.
It will be understood by those skilled in the art that above-mentioned information retrieval device 500 also includes some itsHis known features, such as processor, memorizer etc., in order to unnecessarily obscure the reality of the disclosureExecuting example, structure known to these is the most not shown.
Below with reference to Fig. 6, it illustrates the terminal unit be suitable to for realizing the embodiment of the present applicationOr the structural representation of the computer system 600 of server.
As shown in Figure 6, computer system 600 includes CPU (CPU) 601, itsCan be according to the program being stored in read only memory (ROM) 602 or from storage part 608It is loaded into the program in random access storage device (RAM) 603 and performs various suitable actionAnd process.In RAM 603, also storage has system 600 to operate required various program sumsAccording to.CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/ output (I/O) interface 605 is also connected to bus 604.
It is connected to I/O interface 605: include the importation 606 of keyboard, mouse etc. with lower component;Including such as cathode ray tube (CRT), liquid crystal display (LCD) etc. and speaker etc.Output part 607;Storage part 608 including hard disk etc.;And include such as LAN card,The communications portion 609 of the NIC of modem etc..Communications portion 609 is via such asThe network of the Internet performs communication process.Driver 610 is connected to I/O interface also according to needs605.Detachable media 611, such as disk, CD, magneto-optic disk, semiconductor memory etc.,Be arranged on as required in driver 610, in order to the computer program read from it according toNeeds are mounted into storage part 608.
Especially, according to embodiment of the disclosure, the process described above with reference to flow chart is permissibleIt is implemented as computer software programs.Such as, embodiment of the disclosure and include a kind of computer journeySequence product, it includes the computer program being tangibly embodied on machine readable media, described meterCalculation machine program comprises the program code for performing the method shown in flow chart.In such enforcementIn example, this computer program can be downloaded and installed from network by communications portion 609,And/or be mounted from detachable media 611.
Flow chart in accompanying drawing and block diagram, it is illustrated that according to the various embodiment of the application system,Architectural framework in the cards, function and the operation of method and computer program product.This pointOn, each square frame in flow chart or block diagram can represent a module, program segment or codeA part, a part for described module, program segment or code comprise one or more forRealize the executable instruction of the logic function of regulation.It should also be noted that at some as replacementIn realization, the function marked in square frame can also be sent out to be different from the order marked in accompanying drawingRaw.Such as, two square frames succeedingly represented can essentially perform substantially in parallel, theySometimes can also perform in the opposite order, this is depending on involved function.It is also noted thatIt is, the square frame in each square frame in block diagram and/or flow chart and block diagram and/or flow chartCombination, can realize by the special hardware based system of the function or operation that perform regulation,Or can realize with the combination of specialized hardware with computer instruction.
Being described in the embodiment of the present application involved unit can be real by the way of softwareExisting, it is also possible to realize by the way of hardware.Described unit can also be arranged on processIn device, for example, it is possible to be described as: a kind of processor include receiving unit, probability determining unit,Acquiring unit and the first transmitting element.Wherein, the title of these unit is the most notConstitute the restriction to this unit itself, such as, receive unit and be also described as " receiving and usingThe unit of the search word of family input ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media,This nonvolatile computer storage media can be described in above-described embodiment included in deviceNonvolatile computer storage media;Can also be individualism, be unkitted allocate in terminal non-Volatile computer storage medium.Above-mentioned nonvolatile computer storage media storage have one orThe multiple program of person, when one or more program is performed by an equipment so that describedEquipment: receive the search word of user's input;If the antistop list preset does not comprises described searchWord, it is determined that described search word and each key word in described antistop list are with in once searchThe probability occurred, wherein, described antistop list includes multiple object search and right with each searchAs at least one key word being associated;When described probability is more than predetermined threshold value, obtains and be somebody's turn to doThe key word that probability is corresponding;By right to the object search being associated with described key word and/or this searchThe slave module of elephant is sent to described user.
Above description is only the preferred embodiment of the application and saying institute's application technology principleBright.It will be appreciated by those skilled in the art that invention scope involved in the application, do not limitIn the technical scheme of the particular combination of above-mentioned technical characteristic, also should contain simultaneously without departing fromIn the case of described inventive concept, above-mentioned technical characteristic or its equivalent feature carry out combination in anyAnd other technical scheme formed.Such as features described above and (but not limited to) disclosed hereinThe technical characteristic with similar functions is replaced mutually and the technical scheme that formed.