Movatterモバイル変換


[0]ホーム

URL:


CN105550177B - A kind of interference method and device of search result - Google Patents

A kind of interference method and device of search result
Download PDF

Info

Publication number
CN105550177B
CN105550177BCN201410592727.3ACN201410592727ACN105550177BCN 105550177 BCN105550177 BCN 105550177BCN 201410592727 ACN201410592727 ACN 201410592727ACN 105550177 BCN105550177 BCN 105550177B
Authority
CN
China
Prior art keywords
intervention
search result
retrieval string
string
rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410592727.3A
Other languages
Chinese (zh)
Other versions
CN105550177A (en
Inventor
朱健琛
蒋勇
张壮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Cyber Shenzhen Co Ltd
Original Assignee
Tencent Cyber Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Cyber Shenzhen Co LtdfiledCriticalTencent Cyber Shenzhen Co Ltd
Priority to CN201410592727.3ApriorityCriticalpatent/CN105550177B/en
Publication of CN105550177ApublicationCriticalpatent/CN105550177A/en
Application grantedgrantedCritical
Publication of CN105550177BpublicationCriticalpatent/CN105550177B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The present invention discloses a kind of interference method of search result, which comprises receives search result intervention request, described search result intervention request includes search result to be intervened and retrieval string, and the retrieval string is for searching out the search result to be intervened;In preset retrieval string and the corresponding relationship of search result intervention rule, the corresponding search result intervention rule of the retrieval string is inquired;The search result to be intervened, search result after being intervened are handled using described search result intervention rule;Search result intervention response is sent, described search result intervention response includes search result after the intervention.Compared with prior art, the search logic of intervention logical AND search engine of the invention be distinguish completely it is independent.Meanwhile the present invention does not need the certain logic for developing search result intervention respectively for different types of searching service, undoubtedly improves the efficiency that search result interference method is added to each searching service.

Description

A kind of interference method and device of search result
Technical field
The present invention relates to search applied technical fields, and in particular to a kind of interference method and device of search result.
Background technique
Increasingly developed with big data, search engine application technology is got more and more extensive concerning of people.User is pastTheir search need can be met to the greatest extent toward the search result that search engine obtains is desirable with.But it is based on meshThe limitation of preceding searching algorithm etc. usually cannot often be met the needs of users using the search result that search engine obtains.
It, can be prior before displaying for a user search result in order to provide more accurate search result for userThe search result of search engine is effectively handled, to obtain the search result closer to user demand finally to user's exhibitionShow.The above-mentioned intervention process that search result is effectively treated being known as in advance to search result.
Search logic coupling to logical AND search engine in the interference method of search result, is intervened at present.That is,Once any one section of intervention logic goes wrong, then the search logic of entire search engine can also face the danger of paralysis.MeanwhileIt is directed to different types of searching service (such as music, video search business) in existing method, needs respectively its exploitation search knotThe pre- certain logic of dried fruit.This undoubtedly reduces the efficiency that searching service increases search result intervention functions.
Summary of the invention
In view of this, the present invention provides a kind of interference method of search result and devices.
The present invention provides a kind of interference methods of search result, which comprises
Search result intervention request is received, described search result intervention request includes that search result to be intervened and retrieval are gone here and there,The retrieval string is for searching out the search result to be intervened;
In preset retrieval string and the corresponding relationship of search result intervention rule, the corresponding search of the retrieval string is inquiredAs a result intervention rule;
The search result to be intervened, search result after being intervened are handled using described search result intervention rule;
Search result intervention response is sent, described search result intervention response includes search result after the intervention.
Preferably, described in preset retrieval string and the corresponding relationship of search result intervention rule, inquire the retrievalIt goes here and there before corresponding search result intervention rule, further includes:
Whether inquire in preset retrieval string and the corresponding relationship of search result intervention rule includes that the retrieval is gone here and there;
When not including retrieval string in the retrieval string and the corresponding relationship of search result intervention rule, send not dryPre- response, it is described not intervene response for indicating that the search result to be intervened is not intervened.
Preferably, before the reception search result intervention request, further includes:
Retrieval string intervention request is received, the retrieval string intervention request includes retrieval string;
It is gone here and there in preset retrieval and in the corresponding relationship of retrieval string intervention rule, inquires the corresponding retrieval string of the retrieval stringIntervention rule;
When retrieval string intervention rule corresponding there are retrieval string, using described in retrieval string intervention rule processingRetrieval string, retrieves string after being intervened;
Retrieval string intervention response is sent, the retrieval string intervenes response including retrieving string after the intervention;
Correspondingly, described search result intervention request includes that string is retrieved after intervening search result and the intervention, it is describedRetrieval string is for searching out the search result to be intervened after intervention.
Preferably, the method also includes:
With one-to-one relationship, in advance will retrieval string and search result intervention rule and or retrieval string intervention ruleCorresponding relationship stores in the database;
Increase, modification and or delete database in retrieval string and search result intervention rule and or retrieval string intervene adviseCorresponding relationship then.
Preferably, the method also includes:
Record handles the number of search result to be intervened using search result intervention rule;
With or, record using retrieval string intervention rule processing retrieval string number;
Correspondingly, it is described increase, modification and or delete database in retrieval string and search result intervention rule and orThe corresponding relationship of retrieval string intervention rule, specifically:
According to the number of the record, increase, modification and or delete the retrieval string in database and search result intervention ruleThen with or retrieval string intervention rule corresponding relationship.
The present invention also provides a kind of tampering devic of search result, described device includes:
First receiving module, for receiving search result intervention request, described search result intervention request includes wait interveneSearch result and retrieval string, the retrieval string is for searching out the search result to be intervened;
First enquiry module, for inquiring institute in the corresponding relationship of preset retrieval string and search result intervention ruleState the corresponding search result intervention rule of retrieval string;
First processing module is obtained for handling the search result to be intervened using described search result intervention ruleSearch result after intervention;
First sending module, for sending search result intervention response, described search result intervention response includes described dryPrognosis search result.
Preferably, described device further include:
Second enquiry module, for inquiring preset retrieval string and whether being wrapped in the corresponding relationship of search result intervention ruleInclude the retrieval string;
Second sending module is that retrieval string and search result are dry for the query result in second enquiry moduleWhen not including retrieval string in the corresponding relationship of pre- rule, response is not intervened in transmission, described not intervene response for indicatingSearch result to be intervened is stated not intervened.
Preferably, described device further include:
Second receiving module, for receiving retrieval string intervention request, the retrieval string intervention request includes retrieval string;
Third enquiry module, for going here and there and being retrieved in the corresponding relationship for going here and there intervention rule in preset retrieval, described in inquiryThe corresponding retrieval string intervention rule of retrieval string;
Second processing module, for utilizing the retrieval when retrieval string intervention rule corresponding there are retrieval stringIntervention rule of going here and there handles the retrieval string, and string is retrieved after being intervened;
Third sending module, for sending retrieval string intervention response, the retrieval string intervenes response including after the interventionRetrieval string.
Preferably, described device further include:
Memory module, for one-to-one relationship, in advance will retrieval string and search result intervention rule and or retrievalThe corresponding relationship storage of string intervention rule is in the database;
Adjust module, for increase, modify and or delete database in retrieval string and search result intervention rule andOr the corresponding relationship of retrieval string intervention rule.
Preferably, described device further include:
First logging modle, for recording the number for utilizing search result intervention rule to handle search result to be intervened;WithOr,
Second logging modle, for recording the number using retrieval string intervention rule processing retrieval string;
Correspondingly, the adjustment module, specifically for the number according to the record, increase, modification and or delete dataIn library retrieval string with search result intervention rule and or retrieval string intervention rule corresponding relationship.
In the interference method of search result provided by the invention, search result intervention request, described search knot are received firstDried fruit pre-request includes search result to be intervened and retrieval string, and the retrieval string is for searching out the search result to be intervened;Secondly, inquiring the corresponding search knot of the retrieval string in preset retrieval string and the corresponding relationship of search result intervention ruleFruit intervention rule;Again, the search result to be intervened is handled using described search result intervention rule, is searched for after being intervenedAs a result;Finally, sending search result intervention response, described search result intervention response includes search result after the intervention.ThisThe search logic of the intervention logical AND search engine of invention be distinguish completely it is independent.Meanwhile the present invention is not needed for differenceThe searching service of type develops the certain logic of search result intervention respectively, undoubtedly improves search result interference method and is added toThe efficiency of each searching service.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodimentAttached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, forFor those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawingsHis attached drawing.
Fig. 1 is the interference method flow chart of search result provided by the invention;
Fig. 2 is the interference method interaction figure of search result provided by the invention;
Fig. 3 is the interference method interaction figure of search result provided by the invention;
Fig. 4 is the tampering devic structural schematic diagram of search result provided by the invention;
Fig. 5 is the partial structure diagram of server provided by the invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based onEmbodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every otherEmbodiment shall fall in the protection scope of this application.
It is the interference method flow chart of search result provided in an embodiment of the present invention with reference to Fig. 1, the method specifically can be withInclude:
S101: search result intervention request is received, described search result intervention request includes search result to be intervened and inspectionRope string, the retrieval string is for searching out the search result to be intervened.
In the present embodiment, after searching out the corresponding search result of the retrieval string using retrieval string, by described search knotFruit is determined as search result to be intervened.The search result intervention for receiving search result to be intervened described in carrying and the retrieval string is askedIt asks, to be intervened according to described search result intervention request the search result to be intervened.
In practical application, the retrieval string can be keyword, the word etc. for user's input that search engine receives.It is describedThe search result that search result to be intervened can search out for search engine according to the retrieval string.The inspection such as inputted according to userRope string " Liu Dehua ", search engine may search for out song " ice rain " and " practice ".It is corresponding to dry then to retrieve string " Liu Dehua "Pre-search result is song " ice rain " and " practice ".
S102: it in preset retrieval string and the corresponding relationship of search result intervention rule, inquires the retrieval string and corresponds toSearch result intervention rule.
In the present embodiment, the corresponding relationship of retrieval string and search result intervention rule, specific setting up procedure are presetIt can be configured according to searching service demand and using the demand of user.In addition, retrieval string and search result intervention ruleCorresponding relationship can be one-to-one corresponding relationship.
In practical application, the corresponding relationship of HASH table memory scan string and search result intervention rule can use, whereinRetrieval string is stored in the key field of HASH table, and search result intervention rule is stored in the value field of HASH table.That is,Retrieval string inquiry HASH table can be passed through and found and its unique corresponding search result intervention rule.
In concrete application, the search result intervention rule that the searching service that can preset each type can be general,And respectively each general search result intervention rule setting retrieval string, form pair for being stored in the key-value of HASH tableIt should be related to.
In the present embodiment, pair of preset retrieval string and search result intervention rule can also be inquired in advance before S102It whether include that the retrieval is gone here and there in should being related to.When not including institute in the retrieval string and the corresponding relationship of search result intervention ruleWhen stating retrieval string, response is not intervened in transmission, described not intervene response for indicating that the search result to be intervened is not intervened.ToolBody, it is described that not intervene response may include the search result to be intervened, for indicate the search result to be intervened not byIntervene.Indicate that the search result shown to user is the search result to be intervened that is, sending and not intervening response.
In addition, continuing when including retrieval string in the retrieval string and the corresponding relationship of search result intervention ruleExecute S102.
S103: the search result to be intervened is handled using described search result intervention rule, knot is searched for after being intervenedFruit.
In the present embodiment, in preset retrieval string and the corresponding relationship of search result intervention rule, the inspection is inquiredAfter the corresponding search result intervention rule of rope string, the search result to be intervened is handled using described search result intervention rule,Finally obtain search result after intervening.
In practical application, general search result intervention rule can be set according to user demand and searching service demand,The corresponding relationship of retrieval string and general search result intervention rule is set.Several general search result intervention rule introduced belowThen, it but is not limited to following several.
1, the top n ranking of result is specified search for.
It is treated and is intervened after search result handled using the 1st general search result intervention rule, after the interventionThe top n ranking of search result is what the intervention rule was specified.For example, retrieval string is " Liu Dehua " in music searching business,If its corresponding search result intervention rule is preceding 3 rankings specified search in result, can be according to intervention ruleRegulation makes number one specified song " ice rain ", and song " practice " comes second, and song " love of thank you " comes theThree.The desired search result that user needs quickly can be placed on search by the 1st general search result intervention ruleAs a result front enhances user's search experience so as to the search result that user can more intuitively be needed.
2, the final sorting position of some search result is specified.
It is treated and is intervened after search result handled using the 2nd general search result intervention rule, after the interventionThe final sorting position of some search result of search result is what the intervention rule was specified.For example, in music searching business,Retrieval string is " Liu Dehua ", if it is desired to which song " ice rain " forces to come the 5th of search result, then general using the 2ndSearch result intervention rule is treated intervention search result and is handled.It, can be with by specifying search for the final sorting position of resultThe biggish search result of user's search need is put into before search result.Alternatively, it is also possible to utilize such intervention rule,The relatively back of final search result will not be put by the search result that user needs.
3, the corresponding whole search results of some retrieval string are specified.
It can specify whole search results and the row of some retrieval string using the 2nd general search result intervention ruleSequence.For example, retrieval string is " Ren Xianqi " in music searching business, it is possible to specify whole search results are " the sad Pacific Ocean " rowAt first, " perfect conjugal bliss night " comes second, does not show other search results.By specifying some retrieval string corresponding completePortion's search result can pass through such intervention rule when the search result that search obtains is not that most users needHandle search result.We can evade falling some sub-optimal results recalled by search engine, directly show more satisfactoryAs a result user, enhancing user search experience are given to.
4, the relative position sequence in result is specified search for.
Wherein, it can specify the relative order position of the corresponding multiple search results of a retrieval string using the intervention ruleIt sets.For example, retrieval string is " Liu Dehua " in music searching business, the demand of user is centainly to come song " ice rain " " to practicePractise " before, and " practice " centainly comes before " love of thank you ", while being not relevant between them whether having other songsIt is bent.It then can satisfy the demand of user using this intervention rule.So search result can be increased using such intervention ruleSuperiority and inferiority discrimination improves the tendentiousness of search result.
5, it is filtered according to the certain field content of search result.
Wherein, certain information can be hit to certain field in the search result that search engine obtains using the intervention ruleSearch result be filtered.For example, retrieval string is " Liu Dehua " in music searching business, it can be by the song of search resultIn " singer " be " Ren Xianqi " song filtering.The intervention rule being filtered by the certain field content according to search resultThen, the search result that certain fields do not meet user demand can quickly and effectively be filtered out.In fact, whether being imitated from searchFruit, or such intervention rule is effective in terms of safety.
6, two minor sorts of result are scanned for according to the certain field content of search result.
Wherein, search can be tied according to certain information in the certain field content of search result using the intervention ruleFruit carries out two minor sorts.For example, in music searching business, retrieval string is " Beijing welcomes you ", can use song code rate to searchingHitch fruit carry out two minor sorts, that is to say, that the higher search result of song code rate finally arrange closer to front.Pass through basisThe certain field content of search result scans for the intervention rule of two minor sorts of result, can quickly, flexibly solve to searchHitch fruit strict order demand, increases the response speed of sequence logic.
7, some corresponding particular search result of retrieval string is filtered.
Wherein, some corresponding particular search result of retrieval string can be filtered using the intervention rule, obtains meet demandSearch result.For example, in application searches business, retrieval string is " mobile phone assistant ", and business demand is to filter out that " * * * mobile phone helpsThe search result of hand ", but other retrievals are not filtered in the case where going here and there, then current intervention rule can satisfy the application and needIt asks.Be filtered by going here and there corresponding particular search result to some retrieval, can filter out be not desired in the case where specific retrieval is gone here and there byIt is recalling as a result, guarantee search result controllability.
8, the safety filtering of search result.
Wherein, certain search results, such as color can quickly be filtered out under any retrieval string using the intervention ruleFeelings, violence, reaction, copyright problem etc..For example, retrieval string is " Falun Gong " in news search business, it can be by such dryPre- rule will support the news of Falun Gong to filter out, and obtain safe search result.It, can be with by the safety filtering of search resultThe legitimacy for the search service that protection business itself provides, timely responds to may relate to safety problem search result.
S104: sending search result intervention response, and described search result intervention response includes search result after the intervention.
In the present embodiment, first with the corresponding search result intervention rule of retrieval string to described wait intervene search knotAfter fruit is handled, search result after being intervened.Secondly, sending search result for the search result intervention request receivedIntervene response, so as to search result after showing the intervention to user.Wherein, described search result intervention response includes described dryPrognosis search result.
It is the interference method interaction figure of search result provided in an embodiment of the present invention, the method is client with reference to Fig. 2The search result interference method of interaction between end, search server and intervention server, can specifically include:
S201: search server receives the retrieval string from client, wherein the retrieval string can be client userThe search key of input.
S202: search server according to the retrieval string scan for after, obtain search result, and determine it as toIntervene search result.Search result intervention request is sent to intervention server, described search result intervention request includes wait interveneSearch result and retrieval string.
S203: after the intervention server receives described search result intervention request, the intervention of described search result is obtainedRetrieval string in request, and judge locally whether there is the retrieval string.
In practical application, the intervention server is in advance in pair that retrieval string and search result intervention rule is locally storedIt should be related to.Specifically, the retrieval string that judgement is locally stored is with the corresponding relationship of search result intervention rule, inquiry whether there isThe retrieval string.
S204: it when the intervention server determines the local string there is no the retrieval, is sent to the described search period of serviceDo not intervene response, so that the search result that do not intervened is sent to client by described search server, and is shown by clientTo user.Wherein, described not intervene response may include the search result to be intervened, or not intervene institute including can be identified for thatState the flag bit of search result to be intervened.
S205: it when the intervention server, which determines locally, has retrieval string, is tied in the retrieval string and search prestoredIn the corresponding relationship of fruit intervention rule, search result intervention rule corresponding with the retrieval string is inquired.
In practical application, the corresponding relationship of retrieval string and search result intervention rule can be preparatory with one-to-one relationshipStorage is in the database.Wherein it is possible to by increase, modification and or cancel statement adjust database in retrieval string and searchAs a result the corresponding relationship of intervention rule.
S206: the search result to be intervened is handled using the search result intervention rule inquired, is searched after being intervenedHitch fruit.
S207: search result after the intervention is sent to described search server by the intervention server, so as to describedSearch result after the intervention is sent to client by search server, and is shown to user by client.
With reference to Fig. 3, for the interference method interaction for the search result that the embodiment of the present invention provides on the basis of above-mentioned Fig. 2Scheme, specifically, can also include that retrieval string intervenes step before the S202 in Fig. 2.
Specifically, the retrieval string intervention step includes:
S301: it is dry that search server sends retrieval string after receiving the retrieval string from client, to intervention serverPre-request, the retrieval string intervention request include retrieval string.
S302: the intervention server inquires institute in corresponding relationship of the preset retrieval string with retrieval string intervention ruleState the corresponding retrieval string intervention rule of retrieval string.Wherein, when the intervention server determines that local go here and there there are the retrieval corresponds toRetrieval string intervention rule when, handle the retrieval using retrieval string intervention rule and go here and there, retrieval is gone here and there after being intervened.
For example, the retrieval string " liudehua " that user inputs can be rewritten as " Liu De using retrieval string intervention ruleChina ", so that search server can search out search result according to retrieval string " Liu Dehua ".
The following are the present embodiment provides two kinds of general retrieval string intervention rules, but it is not limited only to both intervention rules.
1, retrieval falsification is write.
Wherein, it is write as using the retrieval falsification for being unfavorable for search that the intervention rule can input user correspondingConducive to the retrieval string of search.Such as, the retrieval string " liudehua " that user inputs can be rewritten as " Liu Dehua ".Pass through such inspectionThe rewriting intervention rule of rope string can solve the problem that search engine recalls search result inaccuracy, being capable of guiding search engineSemantic understanding optimization.
2, search condition is concatenated into according to retrieval.
Wherein, expand a retrieval string correlated condition of retrieval using the intervention rule.For example, music searching businessIn, if the retrieval string of user's input is " Liu Dehua ", a search condition out can be expanded " Liu Dehua ", such as only retrievedThe music of " singer " hit " Liu Dehua ".By expanding search condition, the search result that search engine is recalled can be carried out moreAdd and accurately control, reduces the middle noise that search engine returns the result.
S303: the intervention server sends retrieval string to described search server and intervenes response, and the retrieval string is intervenedResponse includes retrieval string after the intervention.
When the intervention server determines local retrieval string intervention rule corresponding there is no retrieval string, Xiang SuoshuSearch server sends retrieval string and does not intervene response, wherein retrieval string does not intervene response for indicating that the retrieval string is not doneIn advance.It may include the retrieval string that the retrieval string, which does not intervene response,.
S304: retrieval string scans for after intervening described in described search server by utilizing, obtains search result.
In the present embodiment, after S304, the S202 in Fig. 2 is continued to execute, is finally completed the intervention of search result.
In addition, the present embodiment can be corresponding with retrieval string intervention rule by retrieval string in advance with one-to-one relationshipRelationship stores in the database.It to the retrieval string in database and can be retrieved by increase, modification and or cancel statement simultaneouslyThe corresponding relationship of string intervention rule is adjusted.
In practical application, in order to meet the needs of business, can record in real time using search result intervention rule handle toIntervene the number of search result;The number using retrieval string intervention rule processing retrieval string can also be recorded in real time.Furthermore it is possible toAccording to the number of the record, increase, modification and or delete retrieval string in database and search result intervention rule and orThe corresponding relationship of retrieval string intervention rule.
In the interference method of search result provided in an embodiment of the present invention, the search logic for intervening logical AND search engine isIt distinguishes completely independent.Meanwhile the present invention does not need to develop search result intervention respectively for different types of searching serviceCertain logic undoubtedly improves the efficiency that search result interference method is added to each searching service.
It is the tampering devic structural schematic diagram of search result provided in an embodiment of the present invention, described device packet with reference to Fig. 4It includes:
First receiving module 401, for receiving search result intervention request, described search result intervention request includes to dryPre-search result and retrieval string, the retrieval string is for searching out the search result to be intervened;
First enquiry module 402, for inquiring in the corresponding relationship of preset retrieval string and search result intervention ruleCorresponding search result intervention rule is gone here and there in the retrieval;
First processing module 403 is obtained for handling the search result to be intervened using described search result intervention ruleSearch result after to intervention;
First sending module 404, for sending search result intervention response, described search result intervention response includes describedSearch result after intervention.
Wherein, described device can also include:
Second enquiry module, for inquiring preset retrieval string and whether being wrapped in the corresponding relationship of search result intervention ruleInclude the retrieval string;
Second sending module is that retrieval string and search result are dry for the query result in second enquiry moduleWhen not including retrieval string in the corresponding relationship of pre- rule, response is not intervened in transmission, described not intervene response for indicatingSearch result to be intervened is stated not intervened.
Specifically, described device can also include:
Second receiving module, for receiving retrieval string intervention request, the retrieval string intervention request includes retrieval string;
Third enquiry module, for going here and there and being retrieved in the corresponding relationship for going here and there intervention rule in preset retrieval, described in inquiryThe corresponding retrieval string intervention rule of retrieval string;
Second processing module, for utilizing the retrieval when retrieval string intervention rule corresponding there are retrieval stringIntervention rule of going here and there handles the retrieval string, and string is retrieved after being intervened;
Third sending module, for sending retrieval string intervention response, the retrieval string intervenes response including after the interventionRetrieval string.
Wherein, described device can also include:
Memory module, for one-to-one relationship, in advance will retrieval string and search result intervention rule and or retrievalThe corresponding relationship storage of string intervention rule is in the database;
Adjust module, for increase, modify and or delete database in retrieval string and search result intervention rule andOr the corresponding relationship of retrieval string intervention rule.
Described device can also include:
First logging modle, for recording the number for utilizing search result intervention rule to handle search result to be intervened;WithOr,
Second logging modle, for recording the number using retrieval string intervention rule processing retrieval string;
Correspondingly, the adjustment module, specifically for the number according to the record, increase, modification and or delete dataIn library retrieval string with search result intervention rule and or retrieval string intervention rule corresponding relationship.
The embodiment of the present invention can by intervene logical AND search engine search logic be distinguish completely it is independent.MeanwhileThe present invention does not need the certain logic for developing search result intervention respectively for different types of searching service, undoubtedly improves and searchesHitch fruit interference method is added to the efficiency of each searching service.
It is emphasized that any one above-mentioned device provided in an embodiment of the present invention can be an independent intervention clothesBusiness device, is also possible to an independent intervention functions module of search server.Meanwhile if above-mentioned apparatus is one independentIntervention server can then be disposed in a manner of service cluster.
Correspondingly, the embodiment of the present invention also provides a kind of server, it is shown in Figure 5, may include:
Processor 501, memory 502, input unit 503 and output device 504.Processor 501 in intervention serverQuantity can be one or more, taken a processor as an example in Fig. 5.In some embodiments of the invention, processor 501,Memory 502, input unit 503 and output device 504 can be connected by bus or other means, wherein by total in Fig. 5For line connection.
Memory 502 can be used for storing software program and module, and processor 501 is stored in memory 502 by operationSoftware program and module, thereby executing the various function application and data processing of browser server.Memory 502 canIt mainly include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one functionApplication program etc..In addition, memory 502 may include high-speed random access memory, it can also include non-volatile memoriesDevice, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Input unit 503 can be usedIt is related with the user setting of browser server and function control in the number or character information that receive input, and generationKey signals input.
Specifically in the present embodiment, processor 501 can be according to following instruction, by one or more application programThe corresponding executable file of process be loaded into memory 502, and run and be stored in memory 502 by processor 501Application program, to realize various functions:
Search result intervention request is received, described search result intervention request includes that search result to be intervened and retrieval are gone here and there,The retrieval string is for searching out the search result to be intervened;
In preset retrieval string and the corresponding relationship of search result intervention rule, the corresponding search of the retrieval string is inquiredAs a result intervention rule;
The search result to be intervened, search result after being intervened are handled using described search result intervention rule;
Search result intervention response is sent, described search result intervention response includes search result after the intervention.
Preferably, described in preset retrieval string and the corresponding relationship of search result intervention rule, inquire the retrievalIt goes here and there before corresponding search result intervention rule, further includes:
Whether inquire in preset retrieval string and the corresponding relationship of search result intervention rule includes that the retrieval is gone here and there;
When not including retrieval string in the retrieval string and the corresponding relationship of search result intervention rule, send not dryPre- response, it is described not intervene response for indicating that the search result to be intervened is not intervened.
Preferably, before the reception search result intervention request, further includes:
Retrieval string intervention request is received, the retrieval string intervention request includes retrieval string;
It is gone here and there in preset retrieval and in the corresponding relationship of retrieval string intervention rule, inquires the corresponding retrieval string of the retrieval stringIntervention rule;
When retrieval string intervention rule corresponding there are retrieval string, using described in retrieval string intervention rule processingRetrieval string, retrieves string after being intervened;
Retrieval string intervention response is sent, the retrieval string intervenes response including retrieving string after the intervention;
Correspondingly, described search result intervention request includes that string is retrieved after intervening search result and the intervention, it is describedRetrieval string is for searching out the search result to be intervened after intervention.
Preferably, the method also includes:
With one-to-one relationship, in advance will retrieval string and search result intervention rule and or retrieval string intervention ruleCorresponding relationship stores in the database;
Increase, modification and or delete database in retrieval string and search result intervention rule and or retrieval string intervene adviseCorresponding relationship then.
Preferably, the method also includes:
Record handles the number of search result to be intervened using search result intervention rule;
With or, record using retrieval string intervention rule processing retrieval string number;
Correspondingly, it is described increase, modification and or delete database in retrieval string and search result intervention rule and orThe corresponding relationship of retrieval string intervention rule, specifically:
According to the number of the record, increase, modification and or delete the retrieval string in database and search result intervention ruleThen with or retrieval string intervention rule corresponding relationship.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method realityApply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unitThe unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be withIt is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actualIt needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are notIn the case where making the creative labor, it can understand and implement.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a realityBody or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operationIn any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended toNon-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including thoseElement, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipmentIntrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded thatThere is also other identical elements in process, method, article or equipment including the element.
The interference method and device for being provided for the embodiments of the invention a kind of search result above are described in detail,Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only usedIn facilitating the understanding of the method and its core concept of the invention;At the same time, for those skilled in the art, according to the present inventionThought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed asLimitation of the present invention.

Claims (8)

CN201410592727.3A2014-10-282014-10-28A kind of interference method and device of search resultActiveCN105550177B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410592727.3ACN105550177B (en)2014-10-282014-10-28A kind of interference method and device of search result

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410592727.3ACN105550177B (en)2014-10-282014-10-28A kind of interference method and device of search result

Publications (2)

Publication NumberPublication Date
CN105550177A CN105550177A (en)2016-05-04
CN105550177Btrue CN105550177B (en)2019-11-19

Family

ID=55829366

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410592727.3AActiveCN105550177B (en)2014-10-282014-10-28A kind of interference method and device of search result

Country Status (1)

CountryLink
CN (1)CN105550177B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110096642B (en)*2019-03-192021-06-15义乌市执御信息技术有限公司Search engine optimization method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101079033A (en)*2006-06-302007-11-28腾讯科技(深圳)有限公司Integrative searching result sequencing system and method
CN101404018A (en)*2007-10-052009-04-08富士通株式会社Implementing an expanded search and providing expanded search results
CN103246654A (en)*2012-02-032013-08-14腾讯科技(深圳)有限公司Display processing method and display processing apparatus of search results
CN103294670A (en)*2012-02-222013-09-11腾讯科技(深圳)有限公司Searching method and system based on word list
CN104063400A (en)*2013-03-222014-09-24腾讯科技(深圳)有限公司Data search method and data search device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101079033A (en)*2006-06-302007-11-28腾讯科技(深圳)有限公司Integrative searching result sequencing system and method
CN101404018A (en)*2007-10-052009-04-08富士通株式会社Implementing an expanded search and providing expanded search results
CN103246654A (en)*2012-02-032013-08-14腾讯科技(深圳)有限公司Display processing method and display processing apparatus of search results
CN103294670A (en)*2012-02-222013-09-11腾讯科技(深圳)有限公司Searching method and system based on word list
CN104063400A (en)*2013-03-222014-09-24腾讯科技(深圳)有限公司Data search method and data search device

Also Published As

Publication numberPublication date
CN105550177A (en)2016-05-04

Similar Documents

PublicationPublication DateTitle
JP4879580B2 (en) System and method for providing an automatic search menu to a user interface
CN106687949B (en)Search results for native applications
CN104809135B (en)A kind of data access method and device
CN106682003B (en)The path segmentation mapping method and device of distributed storage NameSpace
CN110321325A (en)File inode lookup method, terminal, server, system and storage medium
CN104965826B (en)Search method and retrieval device based on browser
CA2410747A1 (en)System and method for saving browsed data
CN102882991A (en)Browser and domain name resolution method thereof
AU2008327678A1 (en)Federated search implemented across multiple search engines
CN109471838B (en)Directory document operation method and device, electronic equipment and readable storage medium
US20210232654A1 (en)Ability to browse and randomly access a large hierarchy in near constant time in a stateless application
JP2009523289A (en) Transfer and display hierarchical data between databases and electronic documents
CN102982174A (en)Method and device for performing web search in browser
KR20120106544A (en)Method for accessing files of a file system according to metadata and device implementing the method
CN104794228A (en)Search result providing method and device
KR20170132294A (en) Provide native application search results with web search results
CN104065736A (en)URL redirection method, device, and system
CN103177115A (en)Method and device of extracting page link of webpage
JP2007094449A5 (en)
WO2014059848A1 (en)Web page search device and method
CN103077196B (en)A kind of access method from public network WEB website to intranet data storehouse
CN102937991A (en)Search navigation system and method
CN105550177B (en)A kind of interference method and device of search result
CN103631891A (en)Method for processing browser disk caching and browser
CN105243073A (en)Bookmark access method and device and terminal

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp