Embodiment
Below in conjunction with the accompanying drawing among the present invention, the technical scheme among the present invention is carried out clear, complete description, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, all other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work belong to the scope of protection of the invention.
Embodiment one
As shown in Figure 2, the treatment scheme of the Webpage search method server side that provides for the embodiment of the invention specifically may further comprise the steps:
Step 201, the searching key word that the server receiving terminal sends.
When in the search column of user at webpage during the inputted search keyword, before the user clicks the beginning search button, terminal recognition can be obtained the searching key word of user's input, and constantly the searching key word that gets access to be sent to server after the action of user's inputted search keyword.
Step 202, server judge whether searching key word is navigation property query word, and if so, then execution in step 203, otherwise, execution in step 204.Wherein, navigation property query word is the keyword for the inquiry of navigation property, namely is used for searching for the searching key word that use known targeted website.
Server can pre-save navigation property query word and corresponding navigation Query Result, specifically can set up navigation property inquiry storehouse, store therein navigate property query word and corresponding navigation Query Result.
Concrete, server obtains navigation property query word and corresponding navigation Query Result, and the navigate process in property inquiry storehouse of foundation can be as follows:
At first, server is according to the historical search record, the number of clicks of determining each Search Results that each searching key word is corresponding shared ratio value in the searching times of corresponding searching key word.
Concrete, server can be according to the historical search record, for each searching key word, obtain the searching times of searching key word, and the number of clicks of each Search Results that searches out, and then can determine the ratio of each number of clicks and searching times, i.e. this ratio value.
Then, server in each searching key word, is determined navigation property query word according to each ratio value of determining, and corresponding navigation Query Result.Get access to after the aforementioned proportion value, specifically can determine by the following method navigation property query word and corresponding navigation Query Result:
Method one, server are obtained the Search Results that the aforementioned proportion value surpasses predetermined threshold value, and searching key word corresponding to this Search Results; Determine that this searching key word is navigation property query word, this Search Results is corresponding navigation Query Result.
Threshold value wherein can be set to a higher value, for example 80%, in the search procedure of carrying out based on keyword A, if the search result list that returns for server, it all is identical that the result of 80% user selection is arranged, that illustrates that these users' search major part all is the search of known purpose website, i.e. navigation property inquiry, and the corresponding the highest Search Results of number of clicks then is corresponding navigation Query Result.For example, searching key word is " industrial and commercial bank ", the searching structure that 91% user clicks in its corresponding Search Results all is the official website of industrial and commercial bank, can determine that then " industrial and commercial bank " is navigation property query word, and the official website of industrial and commercial bank then is corresponding navigation Query Result.Opposite, if give in the search procedure that keyword B carries out, if the clicked ratio value of all Search Results all is lower than the threshold value of setting, this click ratio value that some Search Results in its Search Results is described is average, this class inquiry generally may be the info class inquiry, but not the inquiry of navigation property.
Method two, server obtain the Search Results that the aforementioned proportion value surpasses predetermined threshold value, and searching key word corresponding to this Search Results; According to the link of the Search Results that obtains, obtain corresponding anchor text message; Matching degree according to the anchor text message that the obtains searching key word corresponding with this Search Results, and the searching times of this searching key word and the described ratio value that obtains, in each searching key word, determine navigation property query word, and determine corresponding navigation Query Result.Wherein, the anchor text message is in each website, internet, the beacon information of the network linking that provides, and generally labeling is on the icon of link.Search engine server in the process of searching for, can by the internet in each website, obtain wherein the anchor text message and corresponding link.
For some searching key word, if searched number of times is less, so corresponding, the number of clicks of each Search Results of calculating according to the historical search recording gauge shared ratio value in searching times, just can accurately not judge whether this searching key word is navigation property query word, so, the anchor text message that this situation can be obtained in each website by server and corresponding link, be combined with above-mentioned ratio value and number of clicks, to determine that whether searching key word is as navigation property query word.Concrete, can certain weights be set to the anchor text message, also user's clicking operation are arranged certain weights.For example, for each Search Results corresponding to certain searching key word, can obtain according to the link of Search Results the anchor text message of the correspondence in each website, and give different weights (such as the corresponding higher weights of higher matching degree) according to each the anchor text message that gets access to and the matching degree of searching key word, then with the weights addition that gets access to, and, the user also gives certain weights to the clicking operation of this Search Results, weights addition with each clicking operation, the final total weight value that obtains, at last, determine that the Search Results that total weight value surpasses the preset weights threshold value is navigation property Query Result, corresponding searching key word be the navigation query word of correspondence.
After navigation property inquiry storehouse is set up, can according to the continuous renewal of historical search record, constantly update the content in the database.
Server can judge in the navigation query word of pre-save whether comprise certain searching key word, to judge that whether this searching key word is as navigation property query word.
Step 203, server are obtained the information of navigation Query Result corresponding to this navigation query word, and this information is sent to terminal, carry out related demonstration for the information that terminal will navigation property Query Result with searching key word.Wherein, the information of navigation property Query Result comprises the link of navigation property Query Result.
Server can according to the navigation query word of pre-save and the corresponding relation of navigation Query Result, obtain the navigation Query Result corresponding with searching key word, and obtain the relevant information of this navigation Query Result, link, beacon information that this information can comprise this navigation Query Result are (for example, the title of the website of navigation property Query Result), can also comprise some relevant descriptive informations, summary info etc.
The process of concrete terminal processes will be elaborated in the embodiment of back.
Step 204, server is processed according to default mode.Wherein, default mode can be conventional (default) processing mode.General processing mode can be, server is not processed, namely not to terminal transmits information (because navigation property query word not, so can not send the information of corresponding navigation Query Result), server awaits user further operates, click after the beginning search button, corresponding Search Results is returned to the user.In addition, the information of article one Search Results that also can searching key word is corresponding sends to terminal, for terminal this Search Results and searched key word association is shown, this information can comprise link, beacon information, descriptor etc.
In the embodiment of the invention, server obtains the searching key word that terminal sends, judge whether searching key word is navigation property query word, if, then obtain the information of navigation Query Result corresponding to this navigation query word, and this information sent to described terminal, for terminal the information of described navigation Query Result is carried out related demonstration with searching key word, otherwise, process according to default mode, thereby, when searching key word during for navigation property query word, the user can according to terminal that show with the navigation Query Result searched key word association, need to determine whether the website of access, prevent the generation of mistake access, effectively raised the utilization factor of system resource in the Webpage search process.
Embodiment two
As shown in Figure 3, the treatment scheme of the Webpage search method server side that provides for the embodiment of the invention specifically may further comprise the steps:
Step 301, the searching key word that the server receiving terminal sends.
When in the search column of user at webpage during the inputted search keyword, before the user clicks the beginning search button, terminal recognition can be obtained the searching key word of user's input, and constantly the searching key word that gets access to be sent to server after the action of user's inputted search keyword.
Step 302, server are obtained additional searching key word corresponding to searching key word.Wherein, additional searching key word is that secondary characters on the basis of searching key word perhaps carries out character and agrees resulting a series of new searching key words such as distortion.For example, the keyword of user's input is " industry and commerce ", replenishes so accordingly searching key word and can comprise " industrial and commercial bank ", " industrial and commercial bank's credit card ", " industrial and commercial bank's inquiry into balance " etc.
Server obtains and replenishes after the searching key word, can send to terminal, shows for described terminal and replenishes searching key word.Concrete, as shown in Figure 4, terminal can adopt the form of drop-down list to show below search column and replenish searching key word.
Step 303, server judge whether searching key word (comprising searching key word and each additional searching key word that terminal sends) is navigation property query word.Concrete, can adopt the method identical with embodiment one to judge, the navigation query word of namely preserving according to server judges with corresponding navigation Query Result, particular content is not stated tiring out.
Step 304, in above-mentioned searching key word (comprising searching key word and each additional searching key word that terminal sends), so searching key word to navigation property query word, server obtains the information of navigation Query Result corresponding to this navigation query word, and information sent to terminal, carry out related demonstration for the information that terminal will navigation property Query Result with corresponding navigation query word.Wherein, this information can comprise link, the beacon information (for example, the title of the website of navigation property Query Result) of this navigation Query Result, can also comprise some relevant descriptive informations, summary info etc.
The process of concrete terminal processes will be elaborated in the embodiment of back.
In addition, for the searching key word that is not navigation property query word, server can be processed according to default mode.Wherein, default mode can be conventional (default) processing mode.General processing mode can be, server is not processed, namely not for not being that the searching key word of navigation property query word is to terminal transmits information.In addition, the information of article one Search Results that also can searching key word is corresponding sends to terminal, for terminal this Search Results is shown with corresponding searched key word association, and this information can comprise link, beacon information, descriptor etc.
In the embodiment of the invention, server obtains the searching key word that terminal sends, obtain additional searching key word corresponding to searching key word, judge whether each searching key word is navigation property query word, if, then obtain the information of navigation Query Result corresponding to this navigation query word, and described information sent to described terminal, for described terminal the information of described navigation Query Result is carried out related demonstration with corresponding navigation query word, the information of described navigation Query Result, comprise the link of described navigation Query Result, otherwise, process according to default mode, thereby, when searching key word or additional searching key word during for navigation property query word, the user can according to terminal that show with the navigation Query Result searched key word association, need to determine whether the website of access, effectively raise the utilization factor of system resource in the Webpage search process.
Embodiment three
As shown in Figure 5, the treatment scheme of the Webpage search method end side that provides for the embodiment of the invention specifically may further comprise the steps:
Step 501, terminal sends to server with searching key word, when searching key word is navigation property query word, obtains the information of corresponding navigation Query Result for server.Wherein, the information of navigation property Query Result can comprise the link of navigation property Query Result, can also comprise beacon information (title of the website of for example, navigation property Query Result), the descriptive information of being correlated with, summary info etc.
When in the search column of user at webpage during the inputted search keyword, before the user clicks the beginning search button, terminal recognition can be obtained the searching key word of user's input, and constantly the searching key word that gets access to be sent to server after the action of user's inputted search keyword.
The process that server obtains the information of navigation property Query Result has been described in detail in the above-described embodiments, does not do tired stating at this.
Step 502, the information of the navigation Query Result that the terminal reception server sends.
In addition, terminal can also receive the additional searching key word corresponding with searching key word that server sends, and the information of navigation Query Result corresponding to the navigation query word in the additional searching key word.
Step 503, terminal will navigation property Query Result information carry out related demonstration with searching key word.
In addition, if terminal also receives the additional searching key word of server transmission and the information of the navigation Query Result that wherein navigation property query word is corresponding, then terminal can also show additional searching key word, and information that will navigation property Query Result is carried out related demonstration with corresponding additional searching key word.
Concrete, as shown in Figure 6, terminal can adopt the form of drop-down list show to replenish searching key word below search column, and information that will navigation property Query Result is presented at the rear of the navigation query word of correspondence, and this information can show the link of beacon information and website etc.Shown in the figure, behind user input part searching key word " industry and commerce ", lower convenience at search column has shown additional searching key word, and, judge through server, wherein, " industrial and commercial bank " is navigation property query word, the linking button of official website of the corresponding navigation Query Result National Industrial and Commercial Bank of China is provided at the rear of " industrial and commercial bank ", and the web site name that shows " National Industrial and Commercial Bank of China China website " at button reaches the network address of " http://www.icbc.com.cn/icbc ", the user can be according to the information that shows, judge whether the navigation Query Result that provides is the website that oneself needs access, if can directly click this linking button, if not, can click the beginning search button and search for.Like this, can greatly reduce the probability of mistake access.
In the embodiment of the invention, terminal sends to server with searching key word, for server at searching key word during for navigation property query word, obtain the information of corresponding navigation Query Result, then, the information of the navigation Query Result that the terminal reception server sends, and information that will navigation property Query Result is carried out related demonstration with searching key word, thereby, when searching key word during for navigation property query word, the user can according to terminal that show with the navigation Query Result searched key word association, need to determine whether the website of access, prevent the generation of mistake access, effectively raised the utilization factor of system resource in the Webpage search process.
Embodiment four
Based on identical technical conceive, the embodiment of the invention also provides a kind of server, and as shown in Figure 7, this server can comprise:
Receiving element 710 is used for obtaining the searching key word that terminal sends;
Processing unit 720 is used for judging whether described searching key word is navigation property query word;
If so, then obtain the information of navigation Query Result corresponding to this navigation query word, and described information is sent to described terminal, for described terminal the information of described navigation Query Result is carried out related demonstration with described searching key word; The information of described navigation Query Result comprises the link of described navigation Query Result;
Otherwise, process according to default mode.
Preferably,
Described receiving element 710 also is used for obtaining additional searching key word corresponding to described searching key word, and sends to described terminal, shows described additional searching key word for described terminal;
Described processing unit 720 is used for also judging whether each additional searching key word is navigation property query word;
So additional searching key word to navigation property query word, obtain the information of navigation Query Result corresponding to this navigation query word, and described information sent to described terminal, for described terminal the information of described navigation Query Result is carried out related demonstration with corresponding additional searching key word; The information of described navigation Query Result comprises the link of described navigation Query Result.
Preferably,
Also comprise storage unit 730, be used for to preserve navigation property query word and corresponding navigation Query Result;
Described processing unit 720, concrete being used for judges whether the navigation query word of pre-save comprises described searching key word.
Preferably, described storage unit 730 specifically is used for:
According to the historical search record, the number of clicks of determining each Search Results that each searching key word is corresponding shared ratio value in the searching times of corresponding searching key word;
According to each ratio value of determining, in each searching key word, determine navigation property query word, and corresponding navigation Query Result.
Preferably, described storage unit 730 specifically is used for:
Obtain the Search Results that described ratio value surpasses predetermined threshold value, and searching key word corresponding to this Search Results;
Determine that this searching key word is navigation property query word, this Search Results is corresponding navigation Query Result.
Preferably, described storage unit 730 specifically is used for:
Obtain the Search Results that described ratio value surpasses predetermined threshold value, and searching key word corresponding to this Search Results;
According to the link of the Search Results that obtains, obtain corresponding anchor text message;
Matching degree according to the anchor text message that the obtains searching key word corresponding with this Search Results, and the searching times of this searching key word and the described ratio value that obtains, in each searching key word, determine navigation property query word, and determine corresponding navigation Query Result.
Preferably, the information of described navigation Query Result also comprises the identification information of described navigation Query Result.
In the embodiment of the invention, server obtains the searching key word that terminal sends, judge whether searching key word is navigation property query word, if, then obtain the information of navigation Query Result corresponding to this navigation query word, and this information sent to described terminal, for terminal the information of described navigation Query Result is carried out related demonstration with searching key word, otherwise, process according to default mode, thereby, when searching key word during for navigation property query word, the user can according to terminal that show with the navigation Query Result searched key word association, need to determine whether the website of access, prevent the generation of mistake access, effectively raised the utilization factor of system resource in the Webpage search process.
Embodiment five
Based on identical technical conceive, the embodiment of the invention also provides a kind of terminal, and as shown in Figure 8, this terminal can comprise:
Transmitting element 810 is used for searching key word is sent to server, when described searching key word is navigation property query word, obtains the information of corresponding navigation Query Result for described server; The information of described navigation Query Result comprises the link of described navigation Query Result;
Receiving element 820 is for the information of the navigation Query Result that receives described server transmission;
Display unit 830 is used for the information of described navigation Query Result is carried out related demonstration with described searching key word.
Preferably,
Described receiving element 820 also is used for the additional searching key word corresponding with described searching key word that reception server sends, and the information of navigation Query Result corresponding to the navigation query word in the additional searching key word; The information of described navigation Query Result comprises the link of described navigation Query Result;
Described display unit 830 also is used for showing described additional searching key word, and the information of described navigation Query Result is carried out related demonstration with corresponding additional searching key word.
Preferably, the information of described navigation Query Result also comprises the identification information of described navigation Query Result.
In the embodiment of the invention, terminal sends to server with searching key word, for server at searching key word during for navigation property query word, obtain the information of corresponding navigation Query Result, then, the information of the navigation Query Result that the terminal reception server sends, and information that will navigation property Query Result is carried out related demonstration with searching key word, thereby, when searching key word during for navigation property query word, the user can according to terminal that show with the navigation Query Result searched key word association, need to determine whether the website of access, prevent the generation of mistake access, effectively raised the utilization factor of system resource in the Webpage search process.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better embodiment in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.