CN105550177A - Search result intervention method and device - Google Patents

Search result intervention method and device Download PDF

Info

Publication number
CN105550177A
CN105550177A CN201410592727.3A CN201410592727A CN105550177A CN 105550177 A CN105550177 A CN 105550177A CN 201410592727 A CN201410592727 A CN 201410592727A CN 105550177 A CN105550177 A CN 105550177A
Authority
CN
China
Prior art keywords
search results
intervention
retrieval string
rule
retrieval
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.)
Granted
Application number
CN201410592727.3A
Other languages
Chinese (zh)
Other versions
CN105550177B (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 Ltd filed Critical Tencent Cyber Shenzhen Co Ltd
Priority to CN201410592727.3A priority Critical patent/CN105550177B/en
Publication of CN105550177A publication Critical patent/CN105550177A/en
Application granted granted Critical
Publication of CN105550177B publication Critical patent/CN105550177B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a search result intervention method and device. The method comprises following steps: receiving a search result intervention request, wherein the search result intervention request comprises a to-be-intervened search result and a search string, wherein the search string is used for searching the to-be-intervened search result; searching a search result intervention rule corresponding to the search string in a preset corresponding relation of search strings and search result intervention rules; processing the to-be-intervened search result according to the search result intervention rule so as to obtain an intervened search result; and sending a search result intervention response, wherein the search result intervention response comprises the intervened search result. Compared with the prior art, the method provided by the invention has the advantage that the intervention logics are completely distinguished from and independent of the search logics in a search engine. Meanwhile, according to the method and the device of the invention, specific search result intervening logics are not required to be separately developed for different types of search services; the efficiency of adding the search result intervention method to each search service is improved.

Description

A kind of interference method of Search Results and device
Technical field
The present invention relates to search applied technical field, be specifically related to a kind of interference method and device of Search Results.
Background technology
Growing along with large data, search engine application technology more and more gets more and more people's extensive concerning.User often wishes that the Search Results utilizing search engine to obtain farthest can meet their search need.But based on the restriction of current searching algorithm etc., the Search Results usually utilizing search engine to obtain often can not meet the demand of user.
In order to Search Results more accurately can be provided for user, before for user's display of search results, can effectively process the Search Results of search engine in advance, to show that the Search Results closer to user's request is shown eventually to user.Above-mentioned process of carrying out effectively processing to Search Results is in advance called the intervention to Search Results.
At present in the interference method of Search Results, intervene the search logic coupling of logical and search engine.That is, once any one section of intervention logic goes wrong, then the search logic of whole search engine also can face the danger of paralysis.Meanwhile, for dissimilar searching service (as music, video search business) in existing method, need the certain logic being respectively its exploitation Search Results intervention.This reduces the efficiency that searching service increases Search Results intervention functions undoubtedly.
Summary of the invention
In view of this, the invention provides a kind of interference method and device of Search Results.
The invention provides a kind of interference method of Search Results, described method comprises:
Receive Search Results intervention request, described Search Results intervention request comprises to be waited to intervene Search Results and retrieval string, waits to intervene Search Results described in described retrieval string is used for searching out;
In the corresponding relation of retrieval string and the Search Results intervention rule preset, inquire about the Search Results intervention rule of described retrieval string correspondence;
Utilize described in the process of described Search Results intervention rule and wait to intervene Search Results, obtain intervening rear Search Results;
Send Search Results intervention response, described Search Results intervention response comprises Search Results after described intervention.
Preferably, in the corresponding relation of described retrieval string and Search Results intervention rule presetting, before inquiring about the Search Results intervention rule of described retrieval string correspondence, also comprise:
Whether comprise described retrieval in the corresponding relation of the retrieval string that inquiry is preset and Search Results intervention rule to go here and there;
When do not comprise in described retrieval string with the corresponding relation of Search Results intervention rule described retrieve go here and there time, send and do not intervene response, described do not intervene to respond described in representing, treat that intervention Search Results is not intervened.
Preferably, before described reception Search Results intervention request, also comprise:
Receive retrieval string intervention request, described retrieval string intervention request comprises retrieval string;
Go here and there in the corresponding relation of intervention rule at the retrieval string preset and retrieval, inquire about the retrieval string intervention rule that described retrieval string is corresponding;
When there is retrieval string intervention rule corresponding to described retrieval string, utilizing described retrieval to go here and there retrieval described in intervention rule process and going here and there, after obtaining intervening, retrieve string;
Send and retrieve string intervention response, after described retrieval string intervention response comprises described intervention, retrieve string;
Accordingly, described Search Results intervention request comprises retrieval string after intervention Search Results and described intervention, retrieve after described intervention string be used for searching out described in wait to intervene Search Results.
Preferably, described method also comprises:
With relation one to one, the corresponding relation of intervention rule of retrieval string and Search Results intervention rule and or retrieve being gone here and there in advance stores in a database;
Increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
Preferably, described method also comprises:
Record utilizes the process of Search Results intervention rule to wait to intervene the number of times of Search Results;
With or, record utilizes the number of times of retrieval string intervention rule process retrieval string;
Accordingly, described increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule, be specially:
According to the number of times of described record, increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
Present invention also offers a kind of tampering devic of Search Results, described device comprises:
First receiver module, for receiving Search Results intervention request, described Search Results intervention request comprises to be waited to intervene Search Results and retrieval string, waits to intervene Search Results described in described retrieval string is used for searching out;
First enquiry module, in the corresponding relation of the retrieval string preset and Search Results intervention rule, inquires about the Search Results intervention rule that described retrieval string is corresponding;
First processing module, waiting to intervene Search Results for utilizing described in the process of described Search Results intervention rule, obtaining intervening rear Search Results;
First sending module, for sending Search Results intervention response, described Search Results intervention response comprises Search Results after described intervention.
Preferably, described device also comprises:
Second enquiry module, for inquire about default retrieval string and Search Results intervention rule corresponding relation in whether comprise described retrieval and go here and there;
Second sending module, for be described retrieval string at the Query Result of described second enquiry module with the corresponding relation of Search Results intervention rule in do not comprise described retrieve go here and there time, sending and do not intervene response, describedly not intervening response for waiting that intervening Search Results is not intervened described in representing.
Preferably, described device also comprises:
Second receiver module, for receiving retrieval string intervention request, described retrieval string intervention request comprises retrieval string;
3rd enquiry module, for going here and there in the corresponding relation of intervention rule at the retrieval string preset and retrieval, inquires about the retrieval string intervention rule that described retrieval string is corresponding;
Second processing module, for when there is retrieval string intervention rule corresponding to described retrieval string, utilizing described retrieval to go here and there retrieval described in intervention rule process and going here and there, and retrieves string after obtaining intervening;
3rd sending module, intervenes response for sending retrieval string, and described retrieval is gone here and there to intervene after response comprises described intervention and retrieved string.
Preferably, described device also comprises:
Memory module, for relation one to one, the corresponding relation of intervention rule of retrieval string and Search Results intervention rule and or retrieve being gone here and there in advance stores in a database;
Adjusting module, for increasing, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
Preferably, described device also comprises:
First logging modle, for recording the number of times utilizing the process of Search Results intervention rule to wait to intervene Search Results; With or,
Second logging modle, for recording the number of times utilizing retrieval string intervention rule process retrieval string;
Accordingly, described adjusting module, specifically for the number of times according to described record, increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
In the interference method of Search Results provided by the invention, first receive Search Results intervention request, described Search Results intervention request comprises to be waited to intervene Search Results and retrieval string, waits to intervene Search Results described in described retrieval string is used for searching out; Secondly, at the retrieval string preset with the corresponding relation of Search Results intervention rule, inquire about the Search Results intervention rule of described retrieval string correspondence; Again, utilize described in the process of described Search Results intervention rule and wait to intervene Search Results, obtain intervening rear Search Results; Finally, send Search Results intervention response, described Search Results intervention response comprises Search Results after described intervention.The search logic of intervention logical and search engine of the present invention distinguishes independently completely.Meanwhile, the present invention does not need the certain logic developing Search Results intervention for dissimilar searching service respectively, improves the efficiency that Search Results interference method joins each searching service undoubtedly.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the interference method process flow diagram of Search Results provided by the invention;
Fig. 2 is the interference method interaction figure of Search Results provided by the invention;
Fig. 3 is the interference method interaction figure of Search Results provided by the invention;
Fig. 4 is the tampering devic structural representation of Search Results provided by the invention;
Fig. 5 is the part-structure schematic diagram of server provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
With reference to figure 1, be the interference method process flow diagram of the Search Results that the embodiment of the present invention provides, described method specifically can comprise:
S101: receive Search Results intervention request, described Search Results intervention request comprises to be waited to intervene Search Results and retrieval string, waits to intervene Search Results described in described retrieval string is used for searching out.
In the present embodiment, after utilizing retrieval string to search out Search Results corresponding to described retrieval string, described Search Results is defined as wait to intervene Search Results.Receive the Search Results intervention request of waiting to intervene Search Results and described retrieval string described in carrying, to wait that intervening Search Results intervenes according to described Search Results intervention request to described.
In practical application, the key word, word etc. of user's input that described retrieval string can receive for search engine.Describedly wait to intervene Search Results and can go here and there the Search Results that search out for search engine according to described retrieval.As the retrieval string " Liu Dehua " inputted according to user, search engine can search out song " ice rain " and " exercise ".That then retrieves string " Liu Dehua " correspondence waits that intervening Search Results is song " ice rain " and " exercise ".
S102: in the corresponding relation of retrieval string and the Search Results intervention rule preset, inquires about the Search Results intervention rule of described retrieval string correspondence.
In the present embodiment, pre-set the corresponding relation of retrieval string and Search Results intervention rule, concrete setting up procedure and can use the demand of user arrange according to searching service demand.In addition, retrieval string can be man-to-man corresponding relation with the corresponding relation of Search Results intervention rule.
In practical application, HASH can be utilized to show the corresponding relation of memory scan string and Search Results intervention rule, wherein, retrieval string is stored in the key field of HASH table, and Search Results intervention rule is stored in the value field of HASH table.That is, can be shown by retrieval string inquiry HASH and find corresponding Search Results intervention rule unique with it.
In embody rule, the Search Results intervention rule that the searching service that can pre-set each type can be general, and be respectively each general Search Results intervention rule retrieval string is set, form the corresponding relation of key-value being stored in HASH table.
In the present embodiment, can also inquire about in advance before S102 in the corresponding relation of default retrieval string and Search Results intervention rule and whether comprise described retrieval and go here and there.When do not comprise in described retrieval string with the corresponding relation of Search Results intervention rule described retrieve go here and there time, send and do not intervene response, described do not intervene to respond described in representing, treat that intervention Search Results is not intervened.Concrete, described do not intervene response can comprise described in wait to intervene Search Results, described in representing, wait that intervening Search Results is not intervened.That is, transmission is not intervened response and is represented that the Search Results shown to user is waited to intervene Search Results described in being.
In addition, when described retrieval string and the corresponding relation of Search Results intervention rule comprise described retrieve go here and there time, continuation execution S102.
S103: utilize described in the process of described Search Results intervention rule and wait to intervene Search Results, obtain intervening rear Search Results.
In the present embodiment, preset retrieval string and Search Results intervention rule corresponding relation in, after inquiring Search Results intervention rule corresponding to described retrieval string, utilize described in the process of described Search Results intervention rule and wait to intervene Search Results, finally obtain intervening rear Search Results.
In practical application, general Search Results intervention rule can be set according to user's request and searching service demand, the corresponding relation of retrieval string and general Search Results intervention rule is set.Below introduce several general Search Results intervention rule, but be not limited to following several.
1, the top n rank of Search Results is specified.
After utilizing the 1st general Search Results intervention rule to treat to intervene Search Results to process, after described intervention, the top n rank of Search Results is that described intervention rule is specified.Such as, in music searching business, retrieval string is " Liu Dehua ", if the Search Results intervention rule of its correspondence is specify front 3 ranks in Search Results, then according to the regulation of intervention rule, the song of specifying " ice rain " can be made number one, song " exercise " comes second, and song " love of thank you " comes the 3rd.Fast the desired search result that user needs can be placed on the front portion of Search Results by the 1st general Search Results intervention rule, so that user can obtain the Search Results needed more intuitively, strengthen user search and experience.
2, the final sorting position of certain Search Results is specified.
After utilizing the 2nd general Search Results intervention rule to treat to intervene Search Results to process, after described intervention, the final sorting position of certain Search Results of Search Results is that described intervention rule is specified.Such as, in music searching business, retrieval string for " Liu Dehua ", if wish that song " ice rain " forces to come the 5th of Search Results, then utilizes the 2nd general Search Results intervention rule to treat to intervene Search Results and processes.By specifying the final sorting position of Search Results, larger for user search demand Search Results can be put into before Search Results.In addition, also can utilize this kind of intervention rule, by not by the Search Results that user needs be put into final Search Results comparatively after.
3, whole Search Results that certain retrieval string is corresponding are specified.
Utilize the 2nd general Search Results intervention rule can specify whole Search Results and sequence of certain retrieval string.Such as, in music searching business, retrieval string is " Ren Xianqi ", and whole Search Results can be specified to make number one for " the sad Pacific Ocean ", and " perfect conjugal bliss night " comes second, does not show other Search Results.By specifying whole Search Results that certain retrieval string is corresponding, when the Search Results that can obtain in search is not most of user needs, by this kind of intervention rule process Search Results.We can evade falling some sub-optimal result of being recalled by search engine, directly show that more satisfactory result is given to user, strengthen user search and experience.
4, the relative position sequence in Search Results is specified.
Wherein, this intervention rule is utilized can to specify a relative order position retrieving multiple Search Results corresponding to string.Such as, in music searching business, retrieval string is " Liu Dehua ", and song " ice rain " necessarily comes before " exercise " by the demand of user, and " exercise " necessarily comes before " love of thank you ", simultaneously and be indifferent between them whether have other song.Then utilize this intervention rule can meet the demand of user.So, utilize this kind of intervention rule can increase the good and bad discrimination of Search Results, improve the tendentiousness of Search Results.
5, filter according to certain field contents of Search Results.
Wherein, in the Search Results utilizing this intervention rule can obtain search engine, the Search Results of certain some information of field hit filters.Such as, in music searching business, retrieval string is " Liu Dehua ", can be that the song of " Ren Xianqi " is filtered by " singer " in the song of Search Results.By the intervention rule of carrying out filtering according to certain field contents of Search Results, the Search Results that some field does not meet user's request can be filtered out fast and effectively.In fact, no matter be from search effect, or all effective from this kind, security aspect intervention rule.
6, two minor sorts of Search Results are carried out according to certain field contents of Search Results.
Wherein, this intervention rule is utilized can to carry out two minor sorts according to some information in certain field contents of Search Results to Search Results.Such as, in music searching business, retrieval string for " Beijing welcomes you ", can utilize song code check to carry out two minor sorts to Search Results, that is, the Search Results that song code check is higher finally arrange the closer to above.By carrying out the intervention rule of two minor sorts of Search Results according to certain field contents of Search Results, Search Results strict order demand can be solved fast, flexibly, increase the response speed of sequence logic.
7, corresponding to certain retrieval string particular search result is filtered.
Wherein, utilize this intervention rule can filter particular search result corresponding to certain retrieval string, be met the Search Results of demand.Such as, in application searches business, retrieval string is " mobile phone assistant ", and business demand is the Search Results filtering out " * * * mobile phone assistant ", but does not filter when other retrieval string, then current intervention rule can meet described application demand.Filtered by the particular search result corresponding to certain retrieval string, the result not wanting to be called back under specific retrieval string can be filtered out, ensure the controllability of Search Results.
8, the safety filtering of Search Results.
Wherein, utilize this intervention rule under any retrieval string, some Search Results can be filtered out fast, as pornographic, violence, reaction, copyright problem etc.Such as, in news search business, retrieval string is " Falun Gong ", by this kind of intervention rule by supporting that the news of Falun Gong filters out, can obtain safe Search Results.By the safety filtering of Search Results, the legitimacy of the search service that business self can be protected to provide, responds in time to relating to safety problem Search Results.
S104: send Search Results intervention response, described Search Results intervention response comprises Search Results after described intervention.
In the present embodiment, first utilize Search Results intervention rule that described retrieval string is corresponding to described after intervention Search Results processes, obtain intervening rear Search Results.Secondly, Search Results intervention response is sent, so that Search Results after showing described intervention to user for the Search Results intervention request received.Wherein, described Search Results intervention response comprises Search Results after described intervention.
With reference to figure 2, be the interference method interaction figure of the Search Results that the embodiment of the present invention provides, described method be client, Search Results interference method mutual between search server and intervention server, specifically can comprise:
S201: search server receives the retrieval string from client, wherein, described retrieval string can be the search key of client user's input.
S202: search server obtains Search Results after searching for according to described retrieval string, and be defined as waiting to intervene Search Results.Send Search Results intervention request to intervention server, described Search Results intervention request comprises to be waited to intervene Search Results and described retrieval string.
S203: after described intervention server receives described Search Results intervention request, obtains the retrieval string in described Search Results intervention request, and judges whether this locality has described retrieval string.
In practical application, described intervention server stores the corresponding relation of retrieval string and Search Results intervention rule in advance in this locality.Concrete, judge in the retrieval string of local storage and the corresponding relation of Search Results intervention rule, whether inquiry exists described retrieval string.
S204: when described intervention server determines that this locality does not exist described retrieval string, sends to the described search service phase and does not intervene response, so that described search server will be sent to client by the Search Results of intervening, and be shown to user by client.Wherein, described do not intervene response can comprise described in wait to intervene Search Results, or comprise can identify do not intervene described in wait to intervene the zone bit of Search Results.
S205: when described intervention server determines that there is described retrieval string this locality, in the corresponding relation of the retrieval string prestored and Search Results intervention rule, inquiry goes here and there corresponding Search Results intervention rule with described retrieval.
In practical application, retrieval string and the corresponding relation of Search Results intervention rule can prestore in a database with relation one to one.Wherein, can by increasing, amendment and or cancel statement adjustment database in retrieval string and the corresponding relation of Search Results intervention rule.
S206: wait to intervene Search Results described in the Search Results intervention rule process that utilization inquires, obtain intervening rear Search Results.
S207: Search Results after described intervention is sent to described search server by described intervention server, so that Search Results after described intervention is sent to client by described search server, and is shown to user by client.
With reference to figure 3, be the interference method interaction figure of the Search Results that the embodiment of the present invention provides on the basis of above-mentioned Fig. 2, concrete, retrieval string can also be comprised before S202 in fig. 2 and intervene step.
Concrete, described retrieval string is intervened step and is comprised:
S301: search server is after receiving the retrieval string from client, and send retrieval string intervention request to intervention server, described retrieval string intervention request comprises retrieval string.
S302: described intervention server is gone here and there in the corresponding relation of intervention rule at the retrieval string preset and retrieval, inquires about the retrieval string intervention rule that described retrieval string is corresponding.Wherein, when described intervention server determines that this locality exists retrieval string intervention rule corresponding to described retrieval string, utilize described retrieval to go here and there retrieval described in intervention rule process and go here and there, after obtaining intervening, retrieve string.
Such as, retrieval string intervention rule is utilized the retrieval string " liudehua " that user inputs can be rewritten as " Liu Dehua ", so that search server can search out Search Results according to retrieval string " Liu Dehua ".
Below for the present embodiment provides two kinds of general retrieval string intervention rule, but be not limited only to this two kinds of intervention rule.
1, retrieve falsification to write.
Wherein, what utilize this intervention rule user can be inputted is unfavorable for that the retrieval falsification of searching for is write as the retrieval string that be beneficial to search corresponding with it.As, the retrieval string " liudehua " that user inputs can be rewritten as " Liu Dehua ".By the rewriting intervention rule of this kind of retrieval string, search engine can be solved and recall the inaccurate problem of Search Results, can the semantic understanding optimization of guiding search engine.
2, search condition is concatenated into according to retrieval.
Wherein, this intervention rule is utilized to expand the correlated condition of retrieval to a retrieval string.Such as, in music searching business, if the retrieval string of user's input is " Liu Dehua ", then can expands " Liu Dehua " and a search condition, as only retrieved the music of " singer " hit " Liu Dehua ".By expanding search condition, the Search Results that search engine is recalled can be controlled more accurately, reducing the middle noise that search engine returns results.
S303: described intervention server sends to described search server and retrieves string intervention response, retrieves string after described retrieval string intervention response comprises described intervention.
When described intervention server determines that this locality does not exist the retrieval string intervention rule of described retrieval string correspondence, retrieve string do not intervene response to described search server transmission, wherein, retrieval is gone here and there not intervene to respond and is not intervened for representing that described retrieval is gone here and there.Described retrieval string does not intervene response can comprise described retrieval string.
S304: described search server retrieves string search after utilizing described intervention, obtains Search Results.
In the present embodiment, after S304, continue to perform the S202 in Fig. 2, finally complete the intervention of Search Results.
In addition, the present embodiment can with relation one to one, and the corresponding relation of intervention rule of retrieval string and retrieval being gone here and there in advance stores in a database.Simultaneously can by increasing, amendment and or cancel statement go here and there the corresponding relation of intervention rule to the retrieval string in database and adjust with retrieving.
In practical application, in order to meet the demand of business, can real time record the process of Search Results intervention rule be utilized to wait to intervene the number of times of Search Results; Also can real time record the process of retrieval string intervention rule be utilized to retrieve the number of times of string.In addition, can according to the number of times of described record, increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
In the interference method of the Search Results that the embodiment of the present invention provides, the search logic of intervening logical and search engine distinguishes independently completely.Meanwhile, the present invention does not need the certain logic developing Search Results intervention for dissimilar searching service respectively, improves the efficiency that Search Results interference method joins each searching service undoubtedly.
With reference to figure 4, be the tampering devic structural representation of the Search Results that the embodiment of the present invention provides, described device comprises:
First receiver module 401, for receiving Search Results intervention request, described Search Results intervention request comprises to be waited to intervene Search Results and retrieval string, waits to intervene Search Results described in described retrieval string is used for searching out;
First enquiry module 402, in the corresponding relation of the retrieval string preset and Search Results intervention rule, inquires about the Search Results intervention rule that described retrieval string is corresponding;
First processing module 403, waiting to intervene Search Results for utilizing described in the process of described Search Results intervention rule, obtaining intervening rear Search Results;
First sending module 404, for sending Search Results intervention response, described Search Results intervention response comprises Search Results after described intervention.
Wherein, described device can also comprise:
Second enquiry module, for inquire about default retrieval string and Search Results intervention rule corresponding relation in whether comprise described retrieval and go here and there;
Second sending module, for be described retrieval string at the Query Result of described second enquiry module with the corresponding relation of Search Results intervention rule in do not comprise described retrieve go here and there time, sending and do not intervene response, describedly not intervening response for waiting that intervening Search Results is not intervened described in representing.
Concrete, described device can also comprise:
Second receiver module, for receiving retrieval string intervention request, described retrieval string intervention request comprises retrieval string;
3rd enquiry module, for going here and there in the corresponding relation of intervention rule at the retrieval string preset and retrieval, inquires about the retrieval string intervention rule that described retrieval string is corresponding;
Second processing module, for when there is retrieval string intervention rule corresponding to described retrieval string, utilizing described retrieval to go here and there retrieval described in intervention rule process and going here and there, and retrieves string after obtaining intervening;
3rd sending module, intervenes response for sending retrieval string, and described retrieval is gone here and there to intervene after response comprises described intervention and retrieved string.
Wherein, described device can also comprise:
Memory module, for relation one to one, the corresponding relation of intervention rule of retrieval string and Search Results intervention rule and or retrieve being gone here and there in advance stores in a database;
Adjusting module, for increasing, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
Described device can also comprise:
First logging modle, for recording the number of times utilizing the process of Search Results intervention rule to wait to intervene Search Results; With or,
Second logging modle, for recording the number of times utilizing retrieval string intervention rule process retrieval string;
Accordingly, described adjusting module, specifically for the number of times according to described record, increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
The search logic of intervention logical and search engine can be distinguish independently completely by the embodiment of the present invention.Meanwhile, the present invention does not need the certain logic developing Search Results intervention for dissimilar searching service respectively, improves the efficiency that Search Results interference method joins each searching service undoubtedly.
It is emphasized that any one device above-mentioned that the embodiment of the present invention provides can be an independently intervention server, it also can be one of search server independently intervention functions module.Meanwhile, if said apparatus is an independently intervention server, then can dispose in the mode of service cluster.
Accordingly, the embodiment of the present invention also provides a kind of server, shown in Figure 5, can comprise:
Processor 501, storer 502, input media 503 and output unit 504.The quantity of the processor 501 in intervention server can be one or more, for a processor in Fig. 5.In some embodiments of the invention, processor 501, storer 502, input media 503 are connected by bus or alternate manner with output unit 504, wherein, to be connected by bus in Fig. 5.
Storer 502 can be used for storing software program and module, and processor 501 is stored in software program and the module of storer 502 by running, thus performs various function application and the data processing of browser server.Storer 502 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program etc. needed at least one function.In addition, storer 502 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Input media 503 can be used for the numeral or the character information that receive input, and generation arranges with the user of browser server and function controls the input of relevant key signals.
Specifically in the present embodiment, processor 501 can according to following instruction, executable file corresponding for the process of one or more application program is loaded in storer 502, and is run the application program be stored in storer 502 by processor 501, thus realize various function:
Receive Search Results intervention request, described Search Results intervention request comprises to be waited to intervene Search Results and retrieval string, waits to intervene Search Results described in described retrieval string is used for searching out;
In the corresponding relation of retrieval string and the Search Results intervention rule preset, inquire about the Search Results intervention rule of described retrieval string correspondence;
Utilize described in the process of described Search Results intervention rule and wait to intervene Search Results, obtain intervening rear Search Results;
Send Search Results intervention response, described Search Results intervention response comprises Search Results after described intervention.
Preferably, in the corresponding relation of described retrieval string and Search Results intervention rule presetting, before inquiring about the Search Results intervention rule of described retrieval string correspondence, also comprise:
Whether comprise described retrieval in the corresponding relation of the retrieval string that inquiry is preset and Search Results intervention rule to go here and there;
When do not comprise in described retrieval string with the corresponding relation of Search Results intervention rule described retrieve go here and there time, send and do not intervene response, described do not intervene to respond described in representing, treat that intervention Search Results is not intervened.
Preferably, before described reception Search Results intervention request, also comprise:
Receive retrieval string intervention request, described retrieval string intervention request comprises retrieval string;
Go here and there in the corresponding relation of intervention rule at the retrieval string preset and retrieval, inquire about the retrieval string intervention rule that described retrieval string is corresponding;
When there is retrieval string intervention rule corresponding to described retrieval string, utilizing described retrieval to go here and there retrieval described in intervention rule process and going here and there, after obtaining intervening, retrieve string;
Send and retrieve string intervention response, after described retrieval string intervention response comprises described intervention, retrieve string;
Accordingly, described Search Results intervention request comprises retrieval string after intervention Search Results and described intervention, retrieve after described intervention string be used for searching out described in wait to intervene Search Results.
Preferably, described method also comprises:
With relation one to one, the corresponding relation of intervention rule of retrieval string and Search Results intervention rule and or retrieve being gone here and there in advance stores in a database;
Increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
Preferably, described method also comprises:
Record utilizes the process of Search Results intervention rule to wait to intervene the number of times of Search Results;
With or, record utilizes the number of times of retrieval string intervention rule process retrieval string;
Accordingly, described increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule, be specially:
According to the number of times of described record, increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Above the interference method of a kind of Search Results that the embodiment of the present invention provides and device are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. an interference method for Search Results, is characterized in that, described method comprises:
Receive Search Results intervention request, described Search Results intervention request comprises to be waited to intervene Search Results and retrieval string, waits to intervene Search Results described in described retrieval string is used for searching out;
In the corresponding relation of retrieval string and the Search Results intervention rule preset, inquire about the Search Results intervention rule of described retrieval string correspondence;
Utilize described in the process of described Search Results intervention rule and wait to intervene Search Results, obtain intervening rear Search Results;
Send Search Results intervention response, described Search Results intervention response comprises Search Results after described intervention.
2. method according to claim 1, is characterized in that, in the corresponding relation of described retrieval string and Search Results intervention rule presetting, before inquiring about the Search Results intervention rule of described retrieval string correspondence, also comprises:
Whether comprise described retrieval in the corresponding relation of the retrieval string that inquiry is preset and Search Results intervention rule to go here and there;
When do not comprise in described retrieval string with the corresponding relation of Search Results intervention rule described retrieve go here and there time, send and do not intervene response, described do not intervene to respond described in representing, treat that intervention Search Results is not intervened.
3. method according to claim 1, is characterized in that, before described reception Search Results intervention request, also comprises:
Receive retrieval string intervention request, described retrieval string intervention request comprises retrieval string;
Go here and there in the corresponding relation of intervention rule at the retrieval string preset and retrieval, inquire about the retrieval string intervention rule that described retrieval string is corresponding;
When there is retrieval string intervention rule corresponding to described retrieval string, utilizing described retrieval to go here and there retrieval described in intervention rule process and going here and there, after obtaining intervening, retrieve string;
Send and retrieve string intervention response, after described retrieval string intervention response comprises described intervention, retrieve string;
Accordingly, described Search Results intervention request comprises retrieval string after intervention Search Results and described intervention, retrieve after described intervention string be used for searching out described in wait to intervene Search Results.
4. the method according to claim 1 or 3, is characterized in that, described method also comprises:
With relation one to one, the corresponding relation of intervention rule of retrieval string and Search Results intervention rule and or retrieve being gone here and there in advance stores in a database;
Increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
5. method according to claim 4, is characterized in that, described method also comprises:
Record utilizes the process of Search Results intervention rule to wait to intervene the number of times of Search Results;
With or, record utilizes the number of times of retrieval string intervention rule process retrieval string;
Accordingly, described increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule, be specially:
According to the number of times of described record, increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
6. a tampering devic for Search Results, is characterized in that, described device comprises:
First receiver module, for receiving Search Results intervention request, described Search Results intervention request comprises to be waited to intervene Search Results and retrieval string, waits to intervene Search Results described in described retrieval string is used for searching out;
First enquiry module, in the corresponding relation of the retrieval string preset and Search Results intervention rule, inquires about the Search Results intervention rule that described retrieval string is corresponding;
First processing module, waiting to intervene Search Results for utilizing described in the process of described Search Results intervention rule, obtaining intervening rear Search Results;
First sending module, for sending Search Results intervention response, described Search Results intervention response comprises Search Results after described intervention.
7. device according to claim 6, is characterized in that, described device also comprises:
Second enquiry module, for inquire about default retrieval string and Search Results intervention rule corresponding relation in whether comprise described retrieval and go here and there;
Second sending module, for be described retrieval string at the Query Result of described second enquiry module with the corresponding relation of Search Results intervention rule in do not comprise described retrieve go here and there time, sending and do not intervene response, describedly not intervening response for waiting that intervening Search Results is not intervened described in representing.
8. device according to claim 6, is characterized in that, described device also comprises:
Second receiver module, for receiving retrieval string intervention request, described retrieval string intervention request comprises retrieval string;
3rd enquiry module, for going here and there in the corresponding relation of intervention rule at the retrieval string preset and retrieval, inquires about the retrieval string intervention rule that described retrieval string is corresponding;
Second processing module, for when there is retrieval string intervention rule corresponding to described retrieval string, utilizing described retrieval to go here and there retrieval described in intervention rule process and going here and there, and retrieves string after obtaining intervening;
3rd sending module, intervenes response for sending retrieval string, and described retrieval is gone here and there to intervene after response comprises described intervention and retrieved string.
9. the device according to claim 6 or 8, is characterized in that, described device also comprises:
Memory module, for relation one to one, the corresponding relation of intervention rule of retrieval string and Search Results intervention rule and or retrieve being gone here and there in advance stores in a database;
Adjusting module, for increasing, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
10. device according to claim 9, is characterized in that, described device also comprises:
First logging modle, for recording the number of times utilizing the process of Search Results intervention rule to wait to intervene Search Results; With or,
Second logging modle, for recording the number of times utilizing retrieval string intervention rule process retrieval string;
Accordingly, described adjusting module, specifically for the number of times according to described record, increase, amendment and or delete database in retrieval string and Search Results intervention rule and or retrieve and go here and there the corresponding relation of intervention rule.
CN201410592727.3A 2014-10-28 2014-10-28 A kind of interference method and device of search result Active CN105550177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410592727.3A CN105550177B (en) 2014-10-28 2014-10-28 A kind of interference method and device of search result

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410592727.3A CN105550177B (en) 2014-10-28 2014-10-28 A kind of interference method and device of search result

Publications (2)

Publication Number Publication Date
CN105550177A true CN105550177A (en) 2016-05-04
CN105550177B CN105550177B (en) 2019-11-19

Family

ID=55829366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410592727.3A Active CN105550177B (en) 2014-10-28 2014-10-28 A kind of interference method and device of search result

Country Status (1)

Country Link
CN (1) CN105550177B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096642A (en) * 2019-03-19 2019-08-06 浙江执御信息技术有限公司 A kind of search engine optimization method and system

Citations (5)

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

Patent Citations (5)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096642A (en) * 2019-03-19 2019-08-06 浙江执御信息技术有限公司 A kind of search engine optimization method and system
CN110096642B (en) * 2019-03-19 2021-06-15 义乌市执御信息技术有限公司 Search engine optimization method and system

Also Published As

Publication number Publication date
CN105550177B (en) 2019-11-19

Similar Documents

Publication Publication Date Title
CN100507915C (en) Network search method, network search device, and user terminals
CN102542052B (en) Priority hash index
CN102725755B (en) Method and system of file access
CN105493075A (en) Retrieval of attribute values based upon identified entities
EP2111590A2 (en) Federated search implemented across multiple search engines
US9195666B2 (en) Location independent files
CN103023982A (en) Low-latency metadata access method of cloud storage client
CN101582767A (en) Authorization control method and authorization server
CN109471838B (en) Directory document operation method and device, electronic equipment and readable storage medium
CN105740472A (en) Distributed real-time full-text search method and system
CN101944124A (en) Distributed file system management method, device and corresponding file system
US20140331156A1 (en) Exploring information by topic
CN106970958B (en) A kind of inquiry of stream file and storage method and device
CN102761627A (en) Cloud website recommending method and system based on terminal access statistics as well as related equipment
CN102622374A (en) Method, device and system for information pushing
CN105630808A (en) Distributed file system based file reading and writing method and node server
CN104778192A (en) Representing directory structure in content-addressable storage systems
CN105574054A (en) Distributed cache range query method, apparatus and system
CN104408159A (en) Data correlating, loading and querying method and device
CN104881466A (en) Method and device for processing data fragments and deleting garbage files
CN105808622A (en) File storage method and device
CN106202416A (en) Table data write method and device, table data read method and device
CN102483762A (en) Method for accessing files of a file system according to metadata and device implementing the method
CN106569963A (en) Buffering method and buffering device
CN103995829A (en) Method and device for providing and displaying query results

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant