Summary of the invention
In view of this, the present invention provides a kind of information cuing method and system, to the necessary speech of no actual retrieval Search Hints is provided also to solve prior art, and the problem of way of search relative complex.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of information cuing method, this method comprises:
Client is obtained the candidate word in the candidate word tabulation, and sends the prompting services request based on said candidate word to background server;
Said background server matees said candidate word and off-line vocabulary, confirms the prompting rank of corresponding said candidate word according to this, and adopts different prompting modes according to different prompting ranks.
Said prompting rank is: no Search Hints, Search Hints or information preview.
Said according to the different different prompting modes of prompting rank employing, be specially:
If said prompting rank is no Search Hints, then in said candidate word tabulation, do not show Search Hints;
If said prompting rank is a Search Hints, then in said candidate word tabulation, show the Search Hints of corresponding said candidate word;
If said prompting rank is an information preview, then the precision data information push with the said candidate word of correspondence shows in said candidate word tabulation.
This method further comprises:
Safeguarding in the said client has accurate vocabulary, after said client is obtained the candidate word in the candidate word tabulation, the accurate vocabulary of said candidate word and self maintained is mated, and judges whether to hit said accurate vocabulary;
If hit said accurate vocabulary, then client is sent accurate Information Push Service request to said background server, and the precision data information of the corresponding said candidate word that said station server is pushed shows in said candidate word tabulation;
If do not hit said accurate vocabulary, then client executing is sent the step of prompting services request to background server according to said candidate word.
This method further comprises:
When said background server confirmed that the prompting rank is information preview, said client was updated to the candidate word of correspondence in the said accurate vocabulary.
The present invention also provides a kind of information presentation system, and this system comprises: client and background server, wherein,
Said client is used for obtaining the candidate word of candidate word tabulation, and sends the prompting services request according to said candidate word to background server;
Said background server is used for said candidate word and off-line vocabulary are mated, and confirms the prompting rank of corresponding said candidate word according to this, and adopts different prompting modes according to different prompting ranks.
Said prompting rank is: no Search Hints, Search Hints or information preview.
Said background server is further used for,
When said prompting rank is no Search Hints, in said candidate word tabulation, do not show Search Hints;
When said prompting rank is Search Hints, in said candidate word tabulation, show the Search Hints of corresponding said candidate word;
When said prompting rank is information preview, the precision data information push of the said candidate word of correspondence is shown in said candidate word tabulation.
Said client is further used for, and safeguards accurate vocabulary, after the candidate word in obtaining candidate word tabulation, the accurate vocabulary of said candidate word and self maintained is mated, and judges whether to hit said accurate vocabulary;
When said accurate vocabulary is hit in judgement, send accurate Information Push Service request to said background server, and the precision data information of the corresponding said candidate word that said station server is pushed shows in said candidate word tabulation;
Carry out the step of sending the prompting services request based on said candidate word to background server when not hitting said accurate vocabulary judging.
Said client is further used for, and when said background server confirms that the prompting rank is information preview, the candidate word of correspondence is updated in the said accurate vocabulary.
The present invention filters out the speech of no actual retrieval necessity through the prompting rank of candidate word is divided, thereby has avoided the interference that Search Hints brought that there is no need, and has simplified the search procedure of candidate word.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment technical scheme of the present invention further is discussed in more detail.
For adapting in user's input process the difference prompting demand to candidate word, a kind of information cuing method provided by the present invention is divided into three grades with the prompting rank of candidate word, respectively as follows:
1, no Search Hints, i.e. expression need not to provide with the candidate word corresponding search and points out;
2, Search Hints, i.e. expression need provide with the candidate word corresponding search and point out;
3, information preview, i.e. expression need provide the precision data information preview corresponding with candidate word.
Other is divided based on above-mentioned prompting level, and the information cuing method of the embodiment of the invention one is as shown in Figure 1, mainly may further comprise the steps:
Step 101, client are obtained the candidate word in the candidate word tabulation.
In user's input process, client is imported the matching candidate dictionary according to the user, thereby obtains importing corresponding candidate word tabulation with the user.Wherein, said user's input process is the process that the user uses input method software to import.
The said candidate word of obtaining is generally and is arranged in the first candidate word in the candidate word tabulation, is called for short first candidate word, and is example with first candidate word all in the subsequent descriptions of the embodiment of the invention; Yet information cuing method of the present invention is not only to be directed against to be arranged in the first candidate word in the candidate word tabulation, is applicable to too to be arranged in other locational candidate word in the candidate word tabulation.
Step 102 is sent the prompting services request according to first candidate word of obtaining to background server, carries first candidate word in this request.
Step 103, background server matees this first candidate word and off-line vocabulary, confirms according to this prompting rank that should first candidate word, and adopts different prompting modes according to different prompting ranks.
Said off-line vocabulary is the vocabulary storehouse that is loaded when input method is installed, and each speech in this vocabulary storehouse has carried out other mark of prompting level respectively; First candidate word and off-line vocabulary are mated,, then adopt prompting rank corresponding in the vocabulary with this speech if match corresponding speech; If do not match corresponding speech, then acquiescence adopts minimum prompting rank (no Search Hints).
Concrete, if confirm that the prompting rank is no Search Hints, then in the candidate word tabulation of user's input, do not show Search Hints;
If confirm that the prompting rank is a Search Hints, then in the candidate word tabulation of user's input, show the Search Hints of corresponding first candidate word;
If confirm that the prompting rank is an information preview, then the precision data information push with corresponding first candidate word shows preview in the candidate word tabulation of user's input.
Wherein, the prompting rank of no Search Hints, Search Hints and information preview is for successively from low to high.
In embodiments of the invention two, client can be safeguarded an accurate vocabulary, and according to the result whether first candidate word hits this accurate vocabulary, confirm the prompting rank, and which kind of prompting mode decision adopts.Concrete information cuing method, as shown in Figure 2, mainly may further comprise the steps:
Step 201, client are obtained first candidate word in the candidate word tabulation.
Need to prove, when the user starts input method, can load the accurate vocabulary of client maintenance.This accurate vocabulary is a high-quality prompting vocabulary that is maintained in client, is that the needs of selecting at last provide the vocabulary of information preview through data mining and prompting grade analysis; This accurate vocabulary can regularly be pushed to client along with the edition upgrading of input method software.
Step 202 is mated the accurate vocabulary of first candidate word of obtaining and self maintained, judges whether first candidate word hits accurate vocabulary, if hit, and execution in step 205; Otherwise execution in step 203.
The accurate vocabulary of first candidate word of obtaining and self maintained is mated,, judge that then first candidate word hits accurate vocabulary if precisely have said first candidate word in the vocabulary; If precisely do not have said first candidate word in the vocabulary, judge that then first candidate word do not hit accurate vocabulary.
Step 203 is sent the prompting services request according to first candidate word of obtaining to background server, carries first candidate word in this request.
Step 204, background server matees this first candidate word and off-line vocabulary, confirms according to this prompting rank that should first candidate word, and adopts different prompting modes according to different prompting ranks.
Said off-line vocabulary is the vocabulary storehouse that is loaded when input method is installed, and each speech in this vocabulary storehouse has carried out other mark of prompting level respectively; First candidate word and off-line vocabulary are mated,, then adopt prompting rank corresponding in the vocabulary with this speech if match corresponding speech; If do not match corresponding speech, then acquiescence adopts minimum prompting rank (no Search Hints).
Concrete, if confirm that the prompting rank is no Search Hints, then in the candidate word tabulation of user's input, do not show Search Hints;
If confirm that the prompting rank is a Search Hints, then in the candidate word tabulation of user's input, show the Search Hints of corresponding first candidate word;
If confirm that the prompting rank is an information preview, then the precision data information push with corresponding first candidate word shows preview in the candidate word tabulation of user's input.
Need to prove that in this step, when background server confirmed that the prompting rank is information preview, client need be updated to first candidate word of correspondence in the accurate vocabulary of self.Like this, when this candidate word of user's input next time, need not again the operation of execution in step 203~204, when step 202, hit accurate vocabulary, thus direct execution in step 205.
Step 205, client is sent accurate Information Push Service request to background server, and the precision data information to should first candidate word that background server pushes is shown in the candidate word tabulation.
The information cuing method of the embodiment of the invention one only needs on background server, to safeguard the off-line vocabulary, and points out the change of strategy in time to come into force, but the judgement of the prompting rank of each candidate word all need be to the background server request; And the information cuing method of the embodiment of the invention two, the accurate vocabulary that the user uses always is maintained in client, can judge prompting mode fast, but need need to increase the operating strategy of vocabulary at a vocabulary of client maintenance.
The accompanying drawing that combines Fig. 3~Fig. 5 is below more further set forth different prompting ranks of the present invention in detail.
As shown in Figure 3, for the candidate word tabulation synoptic diagram of no Search Hints, when user's input " wo ' de ",, judge that the prompting rank is no Search Hints through carrying out the operating process of earlier figures 1 or Fig. 2, there is not Search Hints to show in the candidate word tabulation shown in Figure 3.
As shown in Figure 4; Candidate word tabulation synoptic diagram for Search Hints; When user's input " tian ' qi ",, judge that the prompting rank is a Search Hints through carrying out the operating process of earlier figures 1 or Fig. 2; The Search Hints that shows corresponding " weather " in the candidate word tabulation shown in Figure 4, for example: the network address that can provide the website of Weather information.
As shown in Figure 5; Candidate word tabulation synoptic diagram for information preview; When user's input " bei ' jing ' tian ' qi "; Through carrying out the operating process of earlier figures 1 or Fig. 2, judge that the prompting rank is an information preview, show the precision data information of corresponding " Beijing weather " in the candidate word tabulation shown in Figure 5.
Corresponding above-mentioned information cuing method, the present invention also provides a kind of information presentation system, and is as shown in Figure 6, and this system comprises: client 10 and background server 20.Wherein, client 10 is used for obtaining the candidate word of candidate word tabulation, and sends the prompting services request according to this candidate word to background server.Background server 20 is used for candidate word and off-line vocabulary are mated, and confirms the prompting rank of corresponding candidate word according to this, and adopts different prompting modes according to different prompting ranks.
Need to prove that the prompting rank among the present invention is: no Search Hints, Search Hints or information preview.When the prompting rank was no Search Hints, background server 20 did not show Search Hints in the candidate word tabulation; When the prompting rank was Search Hints, background server 20 showed the Search Hints of corresponding candidate word in the candidate word tabulation; When the prompting rank was information preview, background server 20 showed the precision data information push of corresponding candidate word in the candidate word tabulation.
Preferable, client 10 can have been safeguarded accurate vocabulary, after the candidate word in obtaining the candidate word tabulation, the accurate vocabulary of candidate word and self maintained is mated, and judges whether to hit accurate vocabulary; If hit accurate vocabulary, then send accurate Information Push Service request, and the precision data information to should candidate word that background server 20 pushes is shown in the candidate word tabulation to background server 20; If do not hit accurate vocabulary, then carry out the step of sending the prompting services request to background server 20 based on candidate word.Accordingly, client 10 is further used for, and when background server 20 confirms that the prompting ranks are information preview, the candidate word of correspondence is updated in the accurate vocabulary of self.
In sum, the present invention filters out the speech of no actual retrieval necessity through the prompting rank of candidate word is divided, thereby has avoided the interference that Search Hints brought that there is no need; Through candidate word is analyzed, for the speech that precision data information is arranged information preview is provided directly in input process, provide Search Hints for the speech that does not have precision data information, thereby simplified the search procedure of candidate word; For the candidate word that precision data information is arranged, the preview function of information is provided, through active push precision data information, make the user can understand the corresponding relevant information of candidate word immediately, thereby increased user experience.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.