Summary of the invention
Based on this, be necessary to provide a kind of method that can improve the adjusting candidate word sequence in input method of input speed.
A kind of method of adjusting candidate word sequence in input method comprises:
Obtain the candidate word corresponding with the coding of inputting;
From the User Status pond, obtain the user state information that application program is uploaded;
Adjust the order of described candidate word in selecting the word tabulation according to described user state information.
Among embodiment, described user state information comprises one or more in process name, input environment, expectation content, temporal information, geography information, the procedure information therein.
Among embodiment, described method also comprises therein:
Obtain the log-on message of application program;
Obtain the user state information that application program is uploaded;
According to the log-on message of described application program with described user state information corresponding stored in described User Status pond.
Therein among embodiment, the described step of obtaining user state information from described default User Status pond is:
Obtain the log-on message of input method;
Log-on message according to described input method is obtained corresponding user state information from described default User Status pond.
Therein among embodiment, the described step of adjusting the order of described candidate word in selecting the word tabulation according to described user state information is:
Adjust the order of described candidate word in selecting the word tabulation according to the entry information of described candidate word and the matching degree of described user state information.
In addition, also be necessary to provide a kind of system that can improve the adjusting candidate word sequence in input method of input speed.
A kind of system of adjusting candidate word sequence in input method comprises:
The candidate word acquisition module is used for obtaining the candidate word corresponding with the coding of inputting;
The User Status acquisition module is used for obtaining the user state information that application program is uploaded from the User Status pond;
The order adjusting module is used for adjusting described candidate word in the order of selecting the word tabulation according to described user state information.
Among embodiment, described user state information comprises one or more in process name, input environment, expectation content, temporal information, geography information, the procedure information therein.
Among embodiment, also comprise therein:
The User Status acquisition module is used for obtaining the log-on message of application program, obtains the user state information that application program is uploaded, according to the log-on message of described application program with described user state information corresponding stored in described User Status pond.
Among embodiment, described User Status acquisition module also is used for obtaining the log-on message of input method therein, obtains corresponding user state information according to the log-on message of described input method from described default User Status pond.
Among embodiment, described order adjusting module also is used for adjusting described candidate word in the order of selecting word to tabulate according to the entry information of described candidate word with the matching degree of described user state information therein.User state information.
The method and system of above-mentioned adjusting candidate word sequence in input method, the user state information by User Status pond storage application program is uploaded has obtained after the candidate word, adjusts the order of candidate word in selecting the word tabulation according to user state information.So that the order of candidate word in selecting the word tabulation produces related with the user state information for the environmental factor that represents active user's input that application program is obtained, thereby being positioned at, the candidate word that meets the current input environment of user most selects word tabulation prostatitis, search the number of times of candidate word thereby reduced user's page turning, improved input efficiency.
In addition, obtain pass information, and with user state information and pass information corresponding stored in the User Status pond the application program corresponding with this user state information uploaded so that the user state information that obtains is all served as reasons, and can prevent the confusion that occurs when a plurality of user's input characters.
Embodiment
In one embodiment, as shown in Figure 1, a kind of method of adjusting candidate word sequence in input method may further comprise the steps:
Step S102 obtains the candidate word corresponding with the coding of inputting.
The coding of input can be phonetic code, five codes, stroke code.In one embodiment, can obtain the candidate word corresponding with the coding of inputting by inquiry in local dictionary.In another embodiment, also can obtain the candidate word corresponding with the coding of inputting by inquiry in the dictionary on remote server.But remote server regular update dictionary adds new candidate word.
Step S104 obtains the user state information that application program is uploaded from the User Status pond.
User state information is for being used for describing the state parameter of input method running environment.The User Status pond is for being used for storage area or the object of storage user state information.The User Status pond can be arranged at this locality and also can be arranged on the remote server.
In one embodiment, user state information comprises one or more in process name, input environment, expectation content, temporal information, geography information, the procedure information.Wherein, process name can be the current process name that is in the application program of moving in the window of state of activation.Input environment can be the current type that is in the application program of moving in the window of state of activation.The expectation content can be that the current application program moved in the window of state of activation of being in is to the information of the coding of input.Moment when temporal information can be for input coding.The residing geographic position of user when geography information can be for input coding.
In one embodiment, can receive in advance the user state information that application program is uploaded, then be stored in the User Status pond.Application program can be the current application program that is in state of activation, also can be the background program that generates user state information by detecting the current application program that is in state of activation.
Step S106 adjusts the order of candidate word in selecting the word tabulation according to user state information.
In one embodiment, can obtain the entry information of candidate word, entry information is the attribute information of the candidate word in the dictionary.Can from entry information, extract the word frequency of each candidate word, according to the word frequency of the candidate word that gets access to candidate word be sorted, generate the initial word tabulation of selecting.Generated initial the choosing after the word tabulation, the step of adjusting the order of candidate word in selecting the word tabulation according to user state information can be specially: adjust candidate word according to entry information and the matching degree of user state information of candidate word and selecting the order of word in tabulating.
In one embodiment, comprise key word in the entry information of candidate word.In the present embodiment, the step of adjusting the order of candidate word in selecting the word tabulation according to user state information can be specially: the entry information of obtaining candidate word, extract the key word in the entry information, the key word that obtains according to extraction and the matching degree of user state information are adjusted candidate word and are being selected the order of word in tabulating.
The entry information of candidate word in dictionary can comprise Keyword List, and Keyword List is used for the storage a plurality of default key word corresponding with this candidate word.Key word can be the use scenes of candidate word, affiliated field, service time etc.For example, comprise key word " mathematics ", " infinitesimal analysis ", " calculating ", " science " in the Keyword List of candidate word " differentiate ".
In another embodiment, can in advance with the classification of the candidate word in the dictionary of input method storage, comprise classified information in the entry information of candidate word.The step of adjusting the order of candidate word in selecting the word tabulation according to user state information can be specially: the entry information of obtaining candidate word, extract the classified information in the entry information, the classified information that obtains according to extraction and the matching degree of user state information are adjusted candidate word and are being selected the order of word in tabulating.
Can in dictionary, set up in advance classification, and candidate word is added under the corresponding classification, classified information be added in the entry information of candidate word.For example, can in dictionary, set up in advance the classification such as " literature ", " game ", " science and technology ".In the time will adding in the dictionary with candidate word " A Dream of Red Mansions ", it be lower " A Dream of Red Mansions " can be added to " literature " classification, and classified information " literature " is added in the classified information of candidate word " A Dream of Red Mansions ".
In another embodiment, the entry information of candidate word also comprises the title of candidate word.The step of adjusting the order of candidate word in selecting the word tabulation according to user state information can be specially: the entry information of obtaining candidate word, extract the title of the candidate word in the entry information, adjust the order of candidate word in selecting the word tabulation according to the title of candidate word and the matching degree of user state information.
As shown in Figure 2, if the phonetic code of the input that gets access to is " daye ", then its correspondence a plurality of candidate word such as " beat wild ", " uncle ".Input environment in the user state information that gets access to shows that the user is in the game environment at this moment, that is, application program has been uploaded the character string of " game " as user state information.Obtain the entry information that candidate word " is beaten wild ", comprise key word " game " or classified information " beat wild " in the entry information, then candidate word " is beaten wild " compared to high frequency candidate word (candidate word that word frequency is higher) " uncle ", its entry information and user state information mate the most, then " beat wild " are moved to the prostatitis of " uncle " in selecting the word tabulation.
As shown in Figure 3, if the phonetic code of the input that gets access to is " huafei ", then its correspondence a plurality of candidate word such as " cost ", " telephone expenses ".Expectation content in the user state information that gets access to shows that the user has obtained the information of " telephone expenses " in application program, and the suggestion content of namely showing in the automatic-prompting label of input text frame is character string " telephone expenses ".The title of the candidate word in the entry information of " telephone expenses " is identical with user state information.Then candidate word " telephone expenses " is compared to high frequency candidate word (candidate word that word frequency is higher) " cost ", and its entry information and user state information mate the most, then " telephone expenses " is moved to the prostatitis of " cost " in selecting the word tabulation.
In another embodiment, the method of adjusting candidate word sequence in input method also comprises: the log-on message of obtaining application program, obtain the user state information that application program is uploaded, according to the log-on message of application program with the user state information corresponding stored in the User Status pond.
Further, the step of obtaining user state information from default User Status pond can be specially: obtain the log-on message of input method, obtain corresponding user state information according to the log-on message of input method from default User Status pond.
In the present embodiment, the user can use identical log-on message to login when using application program and input method.The user need to input first identical pass information and login at remote server.Then remote server obtains the user state information that application program is uploaded, and the log-on message corresponding stored of inputting during with login application program is in the User Status pond.In order to adjust candidate word and to select order in the word tabulation to obtain user state information, because login application program is identical with the log-on message of inputting when logining input method, then can search the user state information corresponding with this log-on message in the User Status pond according to the log-on message that logs in input method.
In one embodiment, application program can be browser.The user inputs account number first and password is logined at remote server when using browser.Remote server obtains the user state information that browser is uploaded.Remote server with the account number corresponding stored in user state information and the log-on message in the User Status pond.The user also needed to input first identical account number and password login remote server before using the input of input method instrument.When remote server receives user state information that local input method instrument uploads and obtains request, then in the User Status pond, search the user state information corresponding with account and be handed down to browser.
As mentioned above, user state information comprises one or more in process name, input environment, expectation content, temporal information, geography information, the procedure information.In the present embodiment, user state information can be the combination of expectation content and input environment, the type (game website, vehicle website, friend-making website, technology websites can be extracted from the meta label of webpage by browser) that can comprise the website of the automatic-prompting information (expectation content) of text input frame of the page of the current displaying of browser and the current displaying of browser such as user state information.
In one embodiment, as shown in Figure 4, a kind of system of adjusting candidate word sequence in input method comprises:
Candidate word acquisition module 102 is used for obtaining the candidate word corresponding with the coding of inputting.
The coding of input can be phonetic code, five codes, stroke code.In one embodiment, candidate word acquisition module 102 can be used for obtaining the candidate word corresponding with the coding of inputting by inquiry in local dictionary.In another embodiment, candidate word acquisition module 102 can be used for obtaining the candidate word corresponding with the coding of inputting by inquiry in the dictionary on remote server.But remote server regular update dictionary adds new candidate word.
User Status acquisition module 104 is used for obtaining the user state information that application program is uploaded from the User Status pond.
User state information is for being used for describing the state parameter of input method running environment.The User Status pond is for being used for storage area or the object of storage user state information.The User Status pond can be arranged at this locality and also can be arranged on the long-range server.
In one embodiment, user state information comprises one or more in process name, input environment, expectation content, temporal information, geography information, the procedure information.Wherein, process name can be the current process name that is in the application program of moving in the window of state of activation.Input environment can be the current type that is in the application program of moving in the window of state of activation.The expectation content can be that the current application program moved in the window of state of activation of being in is to the information of the coding of input.Moment when temporal information can be for input coding.The residing geographic position of user when geography information can be for input coding.
In one embodiment, the User Status pond can be used for receiving in advance user state information and the storage that application program is uploaded.Application program can be the current application program that is in state of activation, also can be the background program that generates user state information by detecting the current application program that is in state of activation.
Order adjusting module 106 is used for adjusting candidate word in the order of selecting the word tabulation according to user state information.
In one embodiment, order adjusting module 106 can be used for obtaining the entry information of candidate word, and entry information is the attribute information of the candidate word in the dictionary.Can from entry information, extract the word frequency of each candidate word, according to the word frequency of the candidate word that gets access to candidate word be sorted, generate the initial word tabulation of selecting.Generated initial selecting after the word tabulation, order adjusting module 106 can be used for adjusting the order of candidate word in selecting the word tabulation according to the matching degree of the entry information of candidate word and user state information.
In one embodiment, comprise key word in the entry information of candidate word.In the present embodiment, order adjusting module 106 can be used for obtaining the entry information of candidate word, extracts the key word in the entry information, and the key word that obtains according to extraction and the matching degree of user state information are adjusted candidate word and selected the order of word in tabulating.
The entry information of candidate word in dictionary can comprise Keyword List, and Keyword List is used for the storage a plurality of default key word corresponding with this candidate word.Key word can be the use scenes of candidate word, affiliated field, service time etc.
In another embodiment, the candidate word in the dictionary of input method is classified storage in advance, comprises classified information in the entry information of candidate word.Order adjusting module 106 can be used for obtaining the entry information of candidate word, extracts the classified information in the entry information, and the classified information that obtains according to extraction and the matching degree of user state information are adjusted candidate word and selected the order of word in tabulating.
Can in dictionary, set up in advance classification, and candidate word is added under the corresponding classification, classified information be added in the entry information of candidate word.
In another embodiment, the entry information of candidate word also comprises the title of candidate word.Order adjusting module 106 can be used for obtaining the entry information of candidate word, extracts the title of the candidate word in the entry information, adjusts the order of candidate word in selecting the word tabulation according to the title of candidate word and the matching degree of user state information.
In another embodiment, as shown in Figure 5, the system of adjusting candidate word sequence in input method also comprises:
User Status acquisition module 108 is used for obtaining the log-on message of application program, obtains the user state information that application program is uploaded, according to the log-on message of application program with the user state information corresponding stored in the User Status pond.
Further, User Status acquisition module 104 can be used for obtaining the log-on message of input method, obtains corresponding user state information according to the log-on message of input method from default User Status pond.
In the present embodiment, the user can use identical log-on message to login when using application program and input method.The user state information that the log-on message of inputting when User Status acquisition module 108 is used for obtaining login application program and application program are uploaded, and the log-on message corresponding stored of inputting during with user state information and login application program is in the User Status pond.In order to adjust candidate word and to select order in the word tabulation to obtain user state information, because the log-on message that login application program and login are inputted during input method is identical, then User Status acquisition module 104 can be used for the log-on message that basis logs in input method search the user state information corresponding with this logon information in the User Status pond.
The method and system of above-mentioned adjusting candidate word sequence in input method, the user state information by User Status pond storage application program is uploaded has obtained after the candidate word, adjusts the order of candidate word in selecting the word tabulation according to user state information.So that the order of candidate word in selecting the word tabulation produces related with the user state information for the environmental factor that represents active user's input that application program is obtained, thereby being positioned at, the candidate word that meets the current input environment of user most selects word tabulation prostatitis, search the number of times of candidate word thereby reduced user's page turning, improved input efficiency.
In addition, obtain pass information, and with user state information and pass information corresponding stored in the User Status pond the application program corresponding with this user state information uploaded so that the user state information that obtains is all served as reasons, and can prevent the confusion that occurs when a plurality of user's input characters.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.