A kind of input method and device
Technical field
The present invention relates to technical field of electronic equipment, more particularly to a kind of input method and device.
Background technology
At the initial stage of Chinese character coding input method development, people mainly realize the input of Chinese character using all-phonetic input method, i.e. Yong Hu
Need to input all phonetic alphabet corresponding to the Chinese character when inputting Chinese character.That is, user often inputs a Chinese character
At least need to input two phonetic alphabet, therefore, the input speed of all-phonetic input method is slow, input efficiency is low.For example, user
Wish to input " Tibet " this word, then need to input " xi ' zang ".
Be directed to the weak point of all-phonetic input method, be proposed simple phoneticizing (lu's Simple Phoneticizing) input method, i.e. user input individual Chinese character when
Time only needs the first phonetic alphabet for inputting the Chinese character to find the Chinese character.When the word that user's input is made up of multiple Chinese characters
When, the word can be found by simply entering the first phonetic alphabet of each Chinese character in the word.For example, user wishes
" Tibet " this word is inputted, then only needs to input " x ' z "., can be significantly using simple phoneticizing (lu's Simple Phoneticizing) input method compared to all-phonetic input method
Ground reduces the input quantity of phonetic alphabet, but because the candidate result corresponding to identical phonetic alphabet has numerous possibility,
Therefore, user needs to take a significant amount of time to be searched in numerous candidate results when using simple phoneticizing (lu's Simple Phoneticizing) input method.Still with
User wish input " Tibet " this word exemplified by illustrate, when user input " during x ' z ", the input " candidate corresponding to x ' z "
As a result " present ", " selection ", " Tibet ", " shape ", " next week ", " limitation ", " download ", " shoes ", " notable ", " administration " are included
Deng.
These characteristics based on all-phonetic input method and simple phoneticizing (lu's Simple Phoneticizing) input method, are accordingly proposed mixed spelling input method, i.e. spelling is defeated
Enter method and simple phoneticizing (lu's Simple Phoneticizing) input method is combined.For example, user wish input " Tibet " this word, then can input " xi ' z " or
Person " x ' zang ".Compared to all-phonetic input method, mixed spelling input method can reduce the input quantity of phonetic alphabet;At the same time, phase
Compared with simple phoneticizing (lu's Simple Phoneticizing) input method, mixed spelling input method can reduce the possibility of the candidate result corresponding to identical phonetic alphabet.So
One, the input speed of user on the one hand can be improved using mixed spelling input method, on the other hand can improve user for candidate
As a result lookup speed.But mixed spelling input method still has certain weak point.Specifically, although mixed spelling input method
Through greatly reducing the possibility of the candidate result corresponding to identical phonetic alphabet, but due to the particularity of Chinese, still
The candidate result corresponding to identical phonetic alphabet can be faced and the problem of a variety of possibilities be present, that is to say, that using blending
User is still to take a certain time and searched from a variety of possible candidate results when input method, particularly when user meets
When the individual Chinese character or word that are often inputted to oneself, wanting the Double spending time to carry out lookup every time causes Consumer's Experience not
It is good.
In view of the above-mentioned problems, predictive input mode arises at the historic moment.Predictive input mode is directed to the individual Chinese character and word that user commonly uses
Language, which employs, searches preferential sortord, so as to accelerate lookup speed of the user for candidate result.If for example,
Input Pinyin is alphabetical in user's nearest a period of time " select the number of " Tibet " this word most after x ' z ", then once
" user is easy in x ' z ", the first place that predictive input mode then comes " Tibet " this word candidate result to user's input Pinyin letter
Selected;If " more more options " present " this word after x ' z " of user's input Pinyin letter in ensuing a period of time
Language, then predictive input mode comes " present " this word the first place of candidate result.Due to that can be had using predictive input mode
Effect ground improves input speed of the user for Chinese character, and therefore, predictive input mode receives users' soon after occurring
Like, turn into current most popular input method.
At present, increasing electronic equipment uses touch screen, and user can realize the input of word by dummy keyboard
Function.When user realizes that Chinese character inputs using predictive input mode on the virtual keyboard, user needs to first click on multiple
Letters case carries out the input of phonetic alphabet, then into the candidate frame above dummy keyboard inside multiple candidate results
It is selected to wish the Chinese character of input by clicking operation.Wherein, the click refers to that user is touched using finger (or stylus)
The process lifted again after to letters case.When user needs to input more Chinese character, the action meeting repeatedly touching and lift
Cause the problem of input speed is slow, input efficiency is low, input mode is cumbersome.
The content of the invention
In order to overcome drawbacks described above of the prior art, the invention provides a kind of input method, this method includes:
Include the dummy keyboard of letters case in the touch-control screen display of electronic equipment;
The letters case of input to user has inputted Chinese character and detected, and according to it is described inputted letters case or
Input Chinese character and judge the letters case to be entered of the user and corresponding with the letters case to be entered to be entered in advance
Chinese character;
The Chinese character to be entered is shown on the position associated with the letters case to be entered;
When detecting that the user carries out selection operation for the Chinese character to be entered, the Chinese character to be entered is carried out defeated
Go out.
According to an aspect of the present invention, in this method, the letters case of input to user or Chinese character progress has been inputted
Detect and according to it is described inputted letters case or inputted Chinese character judge in advance the user letters case to be entered and with
Before the corresponding Chinese character to be entered of the letters case to be entered, this method also includes:Obtain the history input word of the user
Letters case sequence in bar record and history input entry record corresponding to each history input entry, and will be each
History input entry with its corresponding to letters case sequence be associated.
According to another aspect of the present invention, in this method, the user is judged according to the letters case that inputted in advance
Letters case to be entered and the to be entered Chinese character corresponding with the letters case to be entered include:Letter has been inputted by described
The letters case that key mapping includes with the letters case sequence is matched, according to the obtained letters case sequence of matching and with
Corresponding to it history input entry anticipation break the user letters case to be entered and with the letters case phase to be entered
Corresponding Chinese character to be entered.
According to a further aspect of the invention, in this method, treating for the user is judged according to the Chinese character that inputted in advance
Input letters case and the to be entered Chinese character corresponding with the letters case to be entered include:Chinese character and institute have been inputted by described
The Chinese character that stating history input entry includes is matched, the history input entry and the word corresponding to it obtained according to matching
Female key mapping sequence judges the letters case to be entered of the user and corresponding with the letters case to be entered to be entered in advance
Chinese character.
According to a further aspect of the invention, in this method, on the position associated with the letters case to be entered
Show that the Chinese character to be entered includes:Floated in the top of the letters case to be entered and show the Chinese character to be entered.
According to a further aspect of the invention, in this method, if the user inputs letters case by the way of pressing,
Then the user for the Chinese character to be entered carry out selection operation be the user on the dummy keyboard from described by point
By letters case slide into the operation of the key mapping to be entered.
According to a further aspect of the invention, in this method, if the user inputs letters case by the way of clicking on,
Then the user for the Chinese character to be entered carry out selection operation be the user on the dummy keyboard from it is described treat it is defeated
Enter the operation that key mapping slides into the Chinese character to be entered.
According to a further aspect of the invention, in this method, the layout type of the dummy keyboard is full keyboard layout.
Correspondingly, present invention also offers a kind of input unit, the device to include:
Keyboard display module, for including the dummy keyboard of letters case in the touch-control screen display of electronic equipment;
Judge module is detected, for the letters case of input to user or Chinese character has been inputted and is detected and according to described
Inputted letters case or inputted Chinese character judge in advance the user letters case to be entered and with the letter key to be entered
The corresponding Chinese character to be entered in position;
Chinese disply module, for showing the Chinese to be entered on the position associated with the letters case to be entered
Word;
Output module is detected, to described during for detecting that the user carries out selection operation for the Chinese character to be entered
Chinese character to be entered is exported.
According to an aspect of the present invention, the device also includes obtaining relating module, for obtaining the history of the user
Input the letters case sequence in entry record and history input entry record corresponding to each history input entry and will
Each history input entry with its corresponding to letters case sequence be associated.
According to another aspect of the present invention, in the device, the detection judge module has inputted letters case by described
The letters case included with the letters case sequence is matched, and according to the obtained letters case sequence of matching and and its
Corresponding history input entry anticipation is broken the letters case to be entered of the user and relative with the letters case to be entered
The Chinese character to be entered answered.
According to a further aspect of the invention, in the device, the detection judge module has inputted Chinese character and institute by described
The Chinese character that stating history input entry includes is matched, and the history obtained according to matching inputs entry and corresponding to it
Letters case sequence judge in advance the user letters case to be entered and it is corresponding with the letters case to be entered treat it is defeated
Enter Chinese character.
According to a further aspect of the invention, in the device, the chinese disply module is in the letters case to be entered
Top float and show the Chinese character to be entered.
According to another aspect of the present invention, in the device, if the user inputs letters case by the way of pressing,
Then the user for the Chinese character to be entered carry out selection operation be the user on the dummy keyboard from described by point
By letters case slide into the operation of the key mapping to be entered.
According to a further aspect of the invention, in the device, if the user inputs letters case by the way of clicking on,
Then the user for the Chinese character to be entered carry out selection operation be the user on the dummy keyboard from it is described treat it is defeated
Enter the operation that key mapping slides into the Chinese character to be entered.
According to a further aspect of the invention, in the device, the layout type of the dummy keyboard is full keyboard layout.
Input method provided by the present invention and device by the letters case of input according to user or have inputted Chinese character
The letters case to be entered of the user and the to be entered Chinese character corresponding with the letters case to be entered are judged in advance, and
The chinese disply to be entered is selected in the position that letters case to be entered is associated for user.Thus, on the one hand,
The input of Chinese character is realized indeed through being inputted according to certain order to letters case, therefore, pre- in the present invention
Judge that the letters case to be entered of user more conforms to the input mode of user;On the other hand, user can be grasped by sliding
The Chinese character to be entered that elects can complete the input of Chinese character, because user only needs on the virtual keyboard when being inputted
The input of Chinese character can be completed by sliding, without must be by repeatedly pressing the letter key on dummy keyboard as prior art
Position and the candidate result pressed in candidate frame could complete the input of Chinese character, therefore be effectively improved the input speed of Chinese character
Spend, improve the input efficiency of Chinese character, simplify the input mode of Chinese character;Another aspect, by going through according to statistical analysis user
Result obtained by history input can effectively improve the accuracy of pre- judgement, so as to further increase as the basis judged in advance
The usage experience of strong user.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is the input method flow chart according to the present invention;
Fig. 2 (a) to Fig. 2 (e) is the input process schematic diagram according to a specific embodiment of the invention;
Fig. 3 (a) to Fig. 3 (f) is the input process schematic diagram according to another specific embodiment of the invention;
Fig. 4 is the input device structure schematic diagram according to the present invention;
Fig. 5 is the structural representation for the intelligent terminal that input method provided by the invention can be achieved.
Same or analogous reference represents same or analogous part in accompanying drawing.
Embodiment
For a better understanding and interpretation of the present invention, below in conjunction with accompanying drawing, the present invention is described in further detail.
The invention provides a kind of method for sliding unblock.Fig. 2 is refer to, Fig. 2 is the input method stream according to the present invention
Cheng Tu.As illustrated, this method comprises the following steps:
In step S101, include the dummy keyboard of letters case in the touch-control screen display of electronic equipment;
In step s 102, the letters case of input to user or inputted Chinese character and detected, and according to it is described
Input letters case or inputted Chinese character judge in advance the user letters case to be entered and with the letters case to be entered
Corresponding Chinese character to be entered;
In step s 103, the Chinese character to be entered is shown on the position associated with the letters case to be entered;
In step S104, when detecting that the user carries out selection operation for the Chinese character to be entered, treated to described
Input Chinese character is exported.
Specifically, in step S101, when user is carrying out Chinese character input on the electronic equipment with touch screen,
Such as write short message, online chatting, establish memorandum etc., dummy keyboard can be shown on the touch screen of electronic equipment, for supplying
User carries out Chinese character input.Wherein, the electronic equipment can be such as smart mobile phone, tablet personal computer, personal digital assistant
Etc. (PDA) mobile terminal.It will be appreciated by persons skilled in the art that above-mentioned mobile terminal is only for example, it is every with logical
The electronic equipment for crossing dummy keyboard progress character input function is included in the range of of the invention protect.
The key mapping of dummy keyboard is generally by letters case, figure case, symbol key mapping and function key mapping (such as space
Key, line feed key, delete key etc.) etc. composition.User can use finger or stylus to grasp the key mapping on dummy keyboard
Make, so as to realize letter, numeral, the input of symbol or other corresponding functions.In the present embodiment, as shown in Fig. 2 (a),
The layout type of the dummy keyboard is using common full keyboard layout (i.e. qwerty keyboard is laid out).It should be noted that this
The layout type of dummy keyboard in invention should not be limited only to this, the existing and following keyboard layout mode being likely to occur,
As long as containing 26 letters cases, it is applied to the present invention, will not enumerate herein.
In step s 102, (such as the first Chinese character when user starts new input by pressing/clicking on letters case
Input or user have just terminated after the input of a Chinese character, a word or a word) ,/point is pressed to this first
The letters case hit is detected, and the letters case pressed/clicked on is considered as and has inputted letters case, then according to this
Input letters case and judge next letters case (letters case hereinafter referred to as to be entered) that the user will input in advance
And the to be entered Chinese character corresponding with the letters case to be entered.
In a specific embodiment, according to the letter key to be entered for having inputted letters case and having judged the user in advance
The step of position and the Chinese character to be entered corresponding with the letters case to be entered, includes:By the letters case that inputted with going through
The letters case that letters case sequence corresponding to history input entry includes is matched, the letters case sequence obtained according to matching
Row and with its corresponding to history input entry anticipation break the user letters case to be entered and with the word to be entered
The corresponding Chinese character to be entered of female key mapping.Specifically, according to described in inputted letters case judge in advance the user treat it is defeated
Before entering letters case and the Chinese character to be entered corresponding with the letters case to be entered, the history input of the user is obtained
Letters case sequence in entry record and history input entry record corresponding to each history input entry, and will be every
One history input entry with its corresponding to letters case sequence be associated.It is that " we " are with history input entry
Example, the letters case sequence corresponding to it is " wo ' men ".When detecting that user presses/click on the letters case on dummy keyboard
When being inputted, the letters case pressed/clicked on, which is considered as, has inputted letters case, and this has been inputted into letters case and history
The letters case that includes of letters case sequence corresponding to input entry is matched, and matching first obtains including this having inputted word
The letters case sequence of female key mapping (hereinafter will input letters case identical letters case to claim in letters case sequence with this
To match key mapping), the letters case for being located at the matching key mapping next bit in the letters case sequence that matching obtains then is obtained,
Multiple letters cases can be matched under normal circumstances, that is to say, that each letters case is likely to be next user will
The letters case of input, therefore, the plurality of letters case is accordingly to be regarded as letters case to be entered;Then, for each to be entered
Letters case, the letters case retrieval letters case frequency of occurrences highest letters case sequence to be entered obtained from matching
Row, history corresponding thereto is obtained according to the letters case sequence and inputs entry, and input in entry from the history obtain with
Letters case and the corresponding Chinese character of letters case to be entered have been inputted as Chinese character to be entered.Preferably, defeated by described in
When the letters case that entering the letters case sequence corresponding to letters case and history input entry includes is matched, it will input
Letters case is matched with the letters case of same position in letters case sequence.For example, when user terminates Chinese character, one
When starting new input after the input of individual word or a word, if user inputs first letter key mapping, by this one
Individual letters case is as letters case has been inputted, and now, this has been inputted into letters case and the first word in letters case sequence
Female key mapping is matched;If user inputs two letters cases, using two letters cases as having inputted letters case,
Now, this has been inputted into letters case to be matched with the first place in letters case sequence and second letters case.
For example, detecting that user presses/clicked on letters case " w ", now, it is " w " to have inputted letters case, then will
The letters case " w " is matched with the first letters case of each letters case sequence corresponding to history input entry, is obtained
To the letters case sequence started with letters case " w ", the second letters case of the letters case sequence is counted, obtained
Three kinds " o ", " e " and " a " three kinds of possibility be present to the second letters case, that is to say, that letters case to be entered is
" o ", " e " and " a ".Wherein, it is directed to for letters case to be entered " o ", frequency of occurrences highest Chinese character is " I " word, then
By " I " word as the to be entered Chinese character corresponding with letters case " o ", it is directed to for letters case to be entered " e ", occurs
Frequency highest Chinese character is " asking " word, then " will ask " that word as the to be entered Chinese character corresponding with letters case " e ", is directed to and treated
Input for letters case " a ", frequency of occurrences highest Chinese character is " object for appreciation " word, then by " object for appreciation " word as with letters case " a " phase
Corresponding Chinese character to be entered.It should be noted that letters case to be entered and treating corresponding to the letters case to be entered are defeated
Entering Chinese character can change as user's history inputs the change of entry.Still to detect that user has inputted letters case " w "
Exemplified by illustrate, having inputted letters case " w " according to this and obtaining letters case to be entered includes " o ", " e " and " a " three kinds of possibility,
But because user's history input entry is changed, wherein, it is directed to for letters case to be entered " e ", the frequency of occurrences
Highest Chinese character is changed into " for " word from " asking " word, and now, Chinese character to be entered will be changed into " for " word from " asking " word.If user is not
Chinese character to be entered is selected and is to continue with inputting letters case " a ", now having inputted letters case becomes " wa ", then then
Letters case " wa " has been inputted according to this and has removed pre- judgement letters case to be entered and Chinese character to be entered, now, letter to be entered
Key mapping is letters case " n " and letters case " i ", and corresponding Chinese character to be entered is " object for appreciation " word and " outer " word respectively both it.
It will be appreciated by persons skilled in the art that how according to inputted letters case judge in advance the user treat it is defeated
Enter letters case and the to be entered Chinese character corresponding with the letters case to be entered has a variety of implementations.In practical application
In corresponding implementation can be selected according to different design requirement, for brevity, herein no longer may to each
Existing implementation illustrates.
In step s 103, according to inputted letters case judge in advance the user letters case to be entered and with
After the corresponding Chinese character to be entered of the letters case to be entered, by the chinese disply to be entered with the letter key to be entered
On the associated position in position.Wherein, the associated position refer to position that candidate word is shown can allow user be easy to by
The Chinese character to be entered and letters case to be entered are associated.In a specific embodiment, Chinese character to be entered is floated aobvious
Show in the top of the letters case to be entered.It will be appreciated by persons skilled in the art that Chinese character to be entered in the present invention
Display is not restricted to aforesaid way, it is every can be allowed when being shown to Chinese character to be entered user clearly by this treat it is defeated
Enter Chinese character and letters case to be entered is associated and do not influenceed the display mode that other letters cases operate and is included in this
The protected scope of invention, such as Chinese character to be entered float and are shown in right of letters case to be entered etc., for brevity,
It will not enumerate herein.
In step S104, the subsequent operation of user is identified, if recognizing user using finger (or stylus) in void
When intending carrying out selection operation for Chinese character to be entered on keyboard, then the Chinese character is exported in the Chinese character output region of touch screen, from
And complete input of the user to the Chinese character.Wherein, to the selection operation of Chinese character to be entered there are various ways in user.At one
In specific embodiment, if the user inputs letters case by the way of pressing, then Chinese character to be entered is on the virtual keyboard
After display, the finger (or stylus) of user can slide into letters case to be entered from the letters case currently pressed,
Represent that user wishes to input the to be entered Chinese character corresponding with letters case to be entered, that is to say, that the user is for described
It is that the user slides on the dummy keyboard from the letters case pressed that Chinese character to be entered, which carries out selection operation,
The operation of the key mapping to be entered.In another specific embodiment, if the user inputs letter key by the way of clicking on
Position, then after Chinese character to be entered is shown on the virtual keyboard, the finger (or stylus) of user is moved to letter key to be entered
At position, enter line slip from the letters case to be entered towards Chinese character to be entered, represent that user wishes input and letter key to be entered
The corresponding Chinese character to be entered in position, that is to say, that it is the use that the user carries out selection operation for the Chinese character to be entered
Family slides into the operation of the Chinese character to be entered on the dummy keyboard from the key mapping to be entered.
Now, user realizes the input operation of Chinese character to be entered, and the Chinese character to be entered, which turns into, has inputted Chinese character, according to this
Chinese character has been inputted to continue to judge next letters case and the Chinese character corresponding with the letters case that user will input in advance,
Namely next letters case to be entered and the to be entered Chinese character corresponding with the letters case to be entered, and by this treat it is defeated
Enter chinese disply to be selected for user on the position that the letters case to be entered is associated.Specifically, this Chinese has been inputted into
The Chinese character that word includes with history input entry is matched, and matching first obtains including the history input entry for having inputted Chinese character
(hereinafter having inputted Chinese character identical Chinese character with this in history input entry to be referred to as matching Chinese character), then obtains matching and obtains
History input entry middle position in the Chinese character of the matching Chinese character next bit, multiple Chinese characters can be matched under normal circumstances, obtained
The first letters case of each Chinese character in the plurality of Chinese character, it is generally the case that multiple the first letters cases can be obtained, that is,
Say, each the first letters case is likely to be next letters case that user will input, therefore, by the plurality of the first word
Female key mapping is accordingly to be regarded as letters case to be entered;Then, each the first letters case is directed to, will be relative with the first letters case
The frequency of occurrences highest Chinese character answered is considered as Chinese character to be entered.Preferably, the Chinese character that inputted is being inputted into entry with history
Including Chinese character matched when, Chinese character and history will have been inputted input the Chinese character of same position in entry and matched.For example,
When starting new input after user terminates the input of a Chinese character, a word or a word, if user's input the
One Chinese character, then using a Chinese character as Chinese character has been inputted, now, this Chinese character and the head in history input entry are inputted into
Position Chinese character is matched;If user has inputted two Chinese characters, using two Chinese characters as having inputted alphabetical Chinese character, this
When, the first and second Chinese character that this has inputted Chinese character with history is inputted in entry is matched.
For example, detect user inputted " on " word, that is, inputted Chinese character for " on " word, this has been inputted into Chinese character
Matched, obtained " above ", " top ", " visiting a grave ", " last time " and " upload " with the first Chinese character of history input entry, it is right
The first letters case of second Chinese character is counted to obtain " m ", " f " and " c ", then three letters cases are considered as treat it is defeated
Enter letters case, wherein, letters case to be entered " f " is directed to, the frequency of occurrences highest of " top ", is directed to letter to be entered
Key mapping " c ", the frequency of occurrences highest of " upload ", then " face " word is considered as corresponding with letters case to be entered " m " to be entered
Chinese character, " side " word is considered as to the to be entered Chinese character corresponding with letters case to be entered " f ", " biography " word is considered as and word to be entered
The corresponding Chinese character to be entered of female key mapping " c ".
If detecting that user continues to select the Chinese character to be entered of display, according to the Chinese character of input of user after
It is continuous pre- to judge, if detecting the non-selected Chinese character to be entered of user but starting new input, stop current pre- judgement and
It is to be judged in advance according to the new input operation of user.
Input method provided by the present invention is described with two specific embodiments below.
Embodiment one:
Fig. 2 (a) to Fig. 2 (e) is refer to, Fig. 2 (a) to Fig. 2 (e) is the input according to a specific embodiment of the invention
Journey schematic diagram.In the present embodiment, user wishes that the entry of input is " hello ".As shown in Fig. 2 (a), when user carries out Chinese character
During input, mobile terminal Display of Chinese characters output area and dummy keyboard on its touch screen are triggered;Then, such as Fig. 2 (b) institutes
Show, the finger of user presses letters case " n ", and now being floated in the top of letters case " e " shows " " word, in letters case
Floated above " i " and show " you " word, being floated above letters case " o " shows " lane " word, is floated above letters case " a " aobvious
Show " that " word;Then, as shown in Fig. 2 (c), the finger of user slides into letters case " i " (dotted arrow from letters case " n "
Represent sliding trace), represent that user selects " you " word of output floating on letters case " i ", now, in the Chinese character of touch screen
Output " you " word in output area, the " " word for display of at the same time being floated above letters case " e ", " i ", " o " and " a ",
" you " word, " lane " word and " that " word disappear, and display of being floated above letters case " d " " " word and in letters case
Floated above " h " and show " good " word;Then, as shown in Fig. 2 (d), the finger of user continues to slide, and is slided from letters case " i "
To letters case " h " (dotted arrow expression sliding trace), represent that user selects output to float " good " on letters case " h "
Word, now, " good " word (" hello " two words are now shown in Chinese character output region) is exported in the Chinese character output region of touch screen,
At the same time floated above letters case " d " and " h " display " " word and " good " word disappear, and on letters case " m "
Side, which floats, shows " " word;So far, as shown in Fig. 2 (e), the finger of user is lifted off dummy keyboard, completes entry " hello "
Input, the " " word for display of now, above letters case " m " floating disappears.
Embodiment two:
Fig. 3 (a) to Fig. 3 (e) is refer to, Fig. 3 (a) to Fig. 3 (e) is the input according to another specific embodiment of the invention
Process schematic.In the present embodiment, user wishes that the entry of input is " hello ".As shown in Fig. 3 (a), when user carries out the Chinese
When word inputs, mobile terminal Display of Chinese characters output area and dummy keyboard on its touch screen are triggered;Then, such as Fig. 3 (b) institutes
Show, the finger of user clicks on letters case " n " (i.e. the finger down letters case " n " of user and then lift finger), now exists
The top of letters case " e ", which is floated, shows " " word, and being floated above letters case " i " shows " you " word, at letters case " o "
Top, which is floated, shows " lane " word, and being floated above letters case " a " shows " that " word;Then, as shown in Fig. 3 (c), user is by hand
Refer to the position for being moved to letters case " i " and carry out the behaviour of upward sliding (dotted arrow expression sliding trace) on the virtual keyboard
Make, represent that user selects " you " word of output floating on letters case " i ", now, in the Chinese character output region of touch screen
" you " word is exported, finger will be lifted off dummy keyboard after user terminates the operation of upward sliding;Then, as shown in Fig. 3 (d),
" " word, " you " word, " lane " word and " that " word of floating display disappear above letters case " e ", " i ", " o " and " a ", and
Float above the letters case " d " display " " word and floated above letters case " h " and show " good " word;Then, such as Fig. 3
(e) shown in, finger is moved to the position of letters case " h " and carries out upward sliding (dotted arrow on the virtual keyboard by user
Represent sliding trace) operation, represent that user selects output to float " good " word on letters case " h ", now, in touch screen
Chinese character output region output " good " word (now display " hello " two words) in Chinese character output the region in, user terminates upward sliding
Operation after finger will be lifted off dummy keyboard;Then, as shown in Fig. 3 (f), floated above letters case " d " and " h " aobvious
Show " " word disappears with " good " word, and floated above letters case " m " and show " " word, now, user completes entry
The input of " hello ".(represent that user does not select letters case " m " when detecting that user is clicked on when alphabet key inputs other Chinese characters
Float " " word of display for top), the letters case clicked on according to user judge in advance the Chinese character that user will input and with
The corresponding key mapping to be slided of the Chinese character, and the Chinese character is floated included in the top with the key mapping to be slided, at the same time
" " the word shown that floated above letters case " m " disappears.
In whole input process, treating for user is judged in advance except above-mentioned basis has inputted letters case or inputted Chinese character
Input outside letters case and the Chinese character to be entered corresponding with the letters case to be entered, can also as prior art
The top of dummy keyboard shows candidate frame, and multiple candidate results are provided in the candidate frame.If on letters case to be entered
Do not include the Chinese character of the desired input of user in the Chinese character to be entered of side's floating display, then user can include from candidate frame
Selected in candidate result, so as to ensure to realize the normal input of user.Wherein it is possible to using being referred in such as background technology
More typical predictive input mode obtain candidate result.It will be appreciated by persons skilled in the art that the offer of candidate result is simultaneously
Predictive input mode is not limited only to, it is every for showing that Chinese character to be entered plays supplement in letters case associated location to be entered
Act on to ensure to realize that the input method that user normally inputs is included within the scope of the invention.For example, user's point
Wish to input " taking " word by letters case " n ", as shown in Fig. 2 (b), do not include " taking " in the Chinese character to be entered for display of floating
Word, but the candidate frame above dummy keyboard includes " taking " word, now, user selects " taking " word from candidate frame
Realize input.It should be noted that in Fig. 2 (b) into Fig. 2 (d), when user presses letters case, in letter key to be entered
Position top is floated and just shows candidate frame on the virtual keyboard while showing Chinese character to be entered, and the display mode of such a candidate frame is only
For signal.In actual applications, other modes can also be used to show candidate frame.For example, when the finger of user presses letter key
During position, only floated in the top of letters case to be entered and show Chinese character to be entered, if the Chinese character to be entered does not include user
The Chinese character of desired input, user can lift the operation that finger continues other letters cases, when detecting that user lifts finger
When dummy keyboard top show candidate frame selected with providing candidate result to user.
It should be noted that although describing the operation of the inventive method with particular order in the accompanying drawings, still, this is not
It is required that or hint must perform these operations according to the particular order, could be real or have to carry out operation shown in whole
Existing desired result.On the contrary, the step of describing in flow chart can change execution sequence.Additionally or alternatively, it is convenient to omit
Some steps, multiple steps are merged into a step and performed, and/or a step is decomposed into execution of multiple steps.
Correspondingly, present invention also offers a kind of input unit.Fig. 4 is refer to, Fig. 4 is the input unit according to the present invention
Structural representation.As illustrated, the device 20 includes:
Keyboard display module 201, for including the dummy keyboard of letters case in the touch-control screen display of electronic equipment;
Judge module 202 is detected, for the letters case of input to user or Chinese character has been inputted and detect and basis
It is described inputted letters case or inputted Chinese character judge in advance the user letters case to be entered and with the word to be entered
The corresponding Chinese character to be entered of female key mapping;
Chinese disply module 203, it is defeated for being treated described in the display on the position associated with the letters case to be entered
Enter Chinese character;
Output module 204 is detected, during for detecting that the user carries out selection operation for the Chinese character to be entered pair
The Chinese character to be entered is exported.
Below, the specific work process of upper module will be described in detail.
Specifically, when user on the electronic equipment with touch screen carry out Chinese character input when, such as write short message,
Online chatting, memorandum etc. is established, keyboard display module 201 can show dummy keyboard on the touch screen of electronic equipment, be used for
Chinese character input is carried out for user.Wherein, the electronic equipment can be such as smart mobile phone, tablet personal computer, personal digital assistant
Etc. (PDA) mobile terminal.It will be appreciated by persons skilled in the art that above-mentioned mobile terminal is only for example, it is every with logical
The electronic equipment for crossing dummy keyboard progress character input function is included in the range of of the invention protect.
The key mapping of dummy keyboard is generally by letters case, figure case, symbol key mapping and function key mapping (such as space
Key, line feed key, delete key etc.) etc. composition.User can use finger or stylus to grasp the key mapping on dummy keyboard
Make, so as to realize letter, numeral, the input of symbol or other corresponding functions.In the present embodiment, as shown in Fig. 2 (a),
The layout type of the dummy keyboard is using common full keyboard layout (i.e. qwerty keyboard is laid out).It should be noted that this
The layout type of dummy keyboard in invention should not be limited only to this, the existing and following keyboard layout mode being likely to occur,
As long as containing 26 letters cases, it is applied to the present invention, will not enumerate herein.
When user starts new input by pressing/clicking on letters case (such as input or the use of first Chinese character
Just terminate after the input of a Chinese character, a word or a word at family), detection judge module 202 pressed to this first/
The letters case of click is detected, and the letters case pressed/clicked on is considered as and has inputted letters case, is then detected
Judge module 202 has inputted letters case that letters case judges next the user will input in advance (referred to hereinafter as according to this
For letters case to be entered) and the to be entered Chinese character corresponding with the letters case to be entered.
In a specific embodiment, detection judge module 202 judges the use in advance according to the letters case that inputted
The step of letters case to be entered at family and the Chinese character to be entered corresponding with the letters case to be entered, includes:Detection judges
Module 202 enters the letters case that the letters case sequence inputted corresponding to letters case and history input entry includes
Row matching, the letters case sequence obtained according to matching and the history input entry anticipation corresponding to it break the user's
Letters case to be entered and the to be entered Chinese character corresponding with the letters case to be entered.Specifically, dress provided by the invention
Put 20 and further comprise acquisition relating module (not shown), for having inputted letter according to described in detection judge module 202
Key mapping judge in advance the user letters case to be entered and the to be entered Chinese character corresponding with the letters case to be entered it
Before, obtain each history input entry institute in the history input entry record and history input entry record of the user
Corresponding letters case sequence, and by each history input entry with its corresponding to letters case sequence be associated.
So that history input entry is " we " as an example, the letters case sequence corresponding to it is " wo ' men ".When detection judge module 202
When detecting that the letters case that user is pressed/clicked on dummy keyboard is inputted, the letters case pressed/clicked on is considered as
Inputted letters case, detection judge module 202 by this inputted letters case with history input entry corresponding to letter key
The letters case that bit sequence includes is matched, and matching first obtains including the letters case sequence for having inputted letters case
(hereinafter having inputted letters case identical letters case with this in letters case sequence to be referred to as matching key mapping), then detects
Judge module 202 obtains the letters case for being located at the matching key mapping next bit in the letters case sequence that matching obtains, generally
In the case of can match multiple letters cases, that is to say, that each letters case is likely to be next user will input
Letters case, therefore, the plurality of letters case is accordingly to be regarded as letters case to be entered;Then, for each letter to be entered
Key mapping, the letters case retrieval letters case frequency of occurrences highest to be entered that detection judge module 202 obtains from matching
Letters case sequence, history corresponding thereto is obtained according to the letters case sequence and inputs entry, and is inputted from the history
Obtained in entry with having inputted letters case and the corresponding Chinese character of letters case to be entered as Chinese character to be entered.Preferably,
Carried out in the letters case for including the letters case sequence inputted corresponding to letters case and history input entry
Timing, detection judge module 202 will input letters case and the letters case progress of same position in letters case sequence
Match somebody with somebody.For example, when starting new input after user terminates the input of a Chinese character, a word or a word, if with
Family inputs first letter key mapping, then detects judge module 202 using a letters case as having inputted letters case, this
When, this has been inputted letters case and matched with the first letters case in letters case sequence by detection judge module 202;Such as
Fruit user inputs two letters cases, detection judge module 202 then using two letters cases as having inputted letters case, this
When, this has been inputted letters case and entered with the first place in letters case sequence and second letters case by detection judge module 202
Row matching.
It will be appreciated by persons skilled in the art that how basis has inputted letters case anticipation to detection judge module 202
A variety of realities be present in the letters case to be entered and the to be entered Chinese character corresponding with the letters case to be entered of the disconnected user
Existing mode.Corresponding implementation can be selected according to different design requirements in actual applications, for brevity, herein
No longer each implementation that may be present is illustrated.
Detection judge module 202 according to inputted letters case judge in advance the user letters case to be entered and with
After the corresponding Chinese character to be entered of the letters case to be entered, chinese disply module 203 by the chinese disply to be entered with
On the associated position of the letters case to be entered.Wherein, the associated position refers to that the position that candidate word is shown can
To allow user to be easy to the Chinese character to be entered and letters case to be entered being associated.In a specific embodiment, the Chinese
Word display module 203, which floats Chinese character to be entered, to be included in the top of the letters case to be entered.Those skilled in the art can
With understanding, in the present invention display of Chinese character to be entered be not restricted to aforesaid way, it is every to enter to Chinese character to be entered
User can be allowed clearly to be associated the Chinese character to be entered and letters case to be entered and do not influence other during row display
The display mode of letters case operation is included in the scope protected of the present invention, for example, Chinese character to be entered float be shown in treat it is defeated
Enter right of letters case etc., for brevity, will not enumerate herein.
The subsequent operation that output module 204 identifies user is detected, is existed if recognizing user using finger (or stylus)
When carrying out selection operation for Chinese character to be entered on dummy keyboard, then the Chinese character is exported in the Chinese character output region of touch screen,
So as to complete input of the user to the Chinese character.Wherein, to the selection operation of Chinese character to be entered there are various ways in user.One
In individual specific embodiment, if the user inputs letters case by the way of pressing, then Chinese character to be entered is in dummy keyboard
After upper display, the finger (or stylus) of user can slide into letter key to be entered from the letters case currently pressed
Position, represent that user wishes to input the to be entered Chinese character corresponding with letters case to be entered, that is to say, that the user is directed to institute
It is that the user slides on the dummy keyboard from the letters case pressed to state Chinese character to be entered and carry out selection operation
To the operation of the key mapping to be entered.In another specific embodiment, if the user inputs letter by the way of clicking on
Key mapping, then after Chinese character to be entered is shown on the virtual keyboard, the finger (or stylus) of user is moved to letter to be entered
At key mapping, enter line slip from the letters case to be entered towards Chinese character to be entered, represent that user wishes input and letter to be entered
The corresponding Chinese character to be entered of key mapping, that is to say, that it is described that the user carries out selection operation for the Chinese character to be entered
User slides into the operation of the Chinese character to be entered on the dummy keyboard from the key mapping to be entered.
Now, user realizes the input operation of Chinese character to be entered, and the Chinese character to be entered is considered as by detection judge module 202
Inputted Chinese character, and according to this inputted Chinese character continue it is pre- judge next letters case that user will input and with the word
The corresponding Chinese character of female key mapping, that is, next letters case to be entered and with the letters case to be entered is corresponding treats
Chinese character is inputted, chinese disply module 203 supplies the chinese disply to be entered on the position that the letters case to be entered is associated
User is selected.Specifically, detect judge module 202 and this has been inputted into the Chinese character progress that Chinese character and history input entry include
Matching, first matching obtain including history input entry for having inputted Chinese character (hereinafter by history input entry with this
Chinese character identical Chinese character is inputted to be referred to as matching Chinese character), then detect judge module 202 and obtain the history input word that matching obtains
It is located at the Chinese character of the matching Chinese character next bit in bar, multiple Chinese characters can be matched under normal circumstances, obtains every in the plurality of Chinese character
The first letters case of one Chinese character, it is generally the case that multiple the first letters cases can be obtained, that is to say, that each the first letter
Key mapping is likely to be next letters case that user will input, and therefore, detection judge module 202 is by the plurality of the first word
Female key mapping is accordingly to be regarded as letters case to be entered;Then, each the first letters case is directed to, detection judge module 202 will be with this
The corresponding frequency of occurrences highest Chinese character of the first letters case is considered as Chinese character to be entered.Preferably, detection judge module 202 exists
When the Chinese character for having inputted Chinese character and history input entry and including is matched, Chinese character and history input entry will have been inputted
The Chinese character of middle same position is matched.For example, after user terminates the input of a Chinese character, a word or a word
When starting new input, if user inputs first Chinese character, detection judge module 202 is then using a Chinese character as having inputted
Chinese character, now, detection judge module 202 are matched the first Chinese character that this has inputted Chinese character with history is inputted in entry;Such as
Fruit user has inputted two Chinese characters, and detection judge module 202 is then using two Chinese characters as alphabetical Chinese character has been inputted, now,
Detection judge module 202 is matched the first and second Chinese character that this has inputted Chinese character with history is inputted in entry.
If detection output module 204 detects that user continues to select the Chinese character to be entered of display, detection judges
Module 202 then continues pre- judgement according to the Chinese character of input of user, if detection output module 204 detects that user is non-selected and treated
Input Chinese character but start new input, detection judge module 202 then stops current pre- judgement but according to new defeated of user
Enter operation in advance to be judged.
Device 20 provided by the present invention further comprises candidate frame output module (not shown).In whole input process
In, except above-mentioned detection judge module 202 is according to having inputted letters case or inputted the word to be entered that Chinese character judges user in advance
Outside female key mapping and the Chinese character to be entered corresponding with the letters case to be entered, select frame output module can also be as prior art
Candidate frame equally is shown in the top of dummy keyboard, multiple candidate results are provided in the candidate frame.If chinese disply module
203 floated above letters case to be entered display Chinese character to be entered in do not include the Chinese character that inputs desired by user, then
User can be selected from the candidate result that candidate frame includes, so as to ensure to realize the normal input of user.Wherein, frame is selected
Output module can use the more typical predictive input mode referred in such as background technology to obtain candidate result.Art technology
Personnel are every in letter key to be entered it is understood that the offer of candidate result is not restricted to predictive input mode
Position associated location shows that Chinese character to be entered plays supplementary function to ensure to realize that the input method that user normally inputs all is wrapped
Include within the scope of the invention.In one embodiment, when user presses/click on letters case when, chinese disply module 203 exists
Floated above letters case to be entered selects frame output module just to show candidate on the virtual keyboard while showing Chinese character to be entered
Frame.In actual applications, frame output module is selected other modes to be used to show candidate frame.For example, when the finger point of user
By/click on letters case when, only floated by chinese disply module 203 in the top of letters case to be entered and show the Chinese to be entered
Word, if the Chinese character to be entered does not include the Chinese character of the input desired by user, user can lift finger and continue other letter keys
The operation of position, candidate frame is shown to provide time in the top of dummy keyboard when selecting frame output module to detect that user lifts finger
Result is selected to be selected to user.
It refer to Fig. 5, Fig. 5 is the structural representation for the intelligent terminal that input method provided by the invention can be achieved, the intelligence
Energy terminal includes the mobile terminal hereinbefore referred to.Fig. 5 schematically shows the common structure of the intelligent terminal, ginseng
Fig. 5 is examined to illustrate the intraware, software and protocol architecture of common intelligent terminal.
The intelligent terminal has processor 510, and it is responsible for the integrated operation of intelligent terminal, and can utilize any business
CPU, digital signal processor or any other electronic programmable logic device can be obtained to realize.Processor 510 has
The memory 520 of association, the memory 520 include but is not limited to RAM memory, ROM memory, eeprom memory, flash memory
Or its combination.Memory 520 is controlled for numerous purposes by processor 500, and one of them is various soft in for intelligent terminal
Part storage program instruction and data.
The software view of the intelligent terminal includes real time operating system 540, the driver for man-machine interface 560, application
Processor 550 and various applications.The application is, for example, that text editor 551, handwriting recognition apply 552 and various other more matchmakers
Body applies 553, and typically other multimedia application include such as audio call application, video call application, sent and received
Short Message Service (SMS) messages application, multimedia information service (MMS) application or e-mail applications, web browser, immediately
Information receiving and transmitting application, book applications, calendar application, control panel application, camera application, one or more video-games,
Notepad appli-cation etc..It should be noted that two or more of above-mentioned application can be used as same application to perform.
The intelligent terminal also includes one or more hardware controls, for together with the driver of man-machine interface 560
With display device 561, physical button 562, microphone 563 and various other I/O equipment 564 (such as loudspeaker, vibrator, sound
Bell generator, LED indicator etc.) cooperation, to realize the man-machine interaction of the intelligent terminal.It should be understood by those skilled in the art that
User can operate mobile terminal by the man-machine interface 560 so formed.
The software view of the intelligent terminal can also include various modules, protocol stack, driver etc. and communication is related patrols
Volume, communication interface 570 as shown in Figure 5 is summarized as, for for wireless radio interface 571 and being optionally blue tooth interface
572 and/or infrared interface 573 communication service (such as transmission, network and connectedness) is provided, to realize the net of the intelligent terminal
Network is connective.Wireless radio interface 571 includes internal or external antenna and for establishing and safeguarding the radio chains towards base station
The appropriate radio circuit on road.As known to the skilled person, the radio circuit includes a series of analog- and digital-
Electronic building brick, it forms radio receiver and emitter together.These components are for example including bandpass filter, amplifier, mixed
Frequency device, local oscillator, low pass filter, ad/da converter etc..
Mobile communication terminal can also include reader device 530, and the reader device 530 generally includes processor and data
Memory etc., for reading the information of SIM card and taking this as a foundation what the cooperation access carrier of wireless radio interface 517 was provided
Network.
Input method provided by the invention can be realized using PLD, can also be embodied as computer journey
Sequence software, such as can be according to an embodiment of the invention a kind of computer program product, running the program product makes computer
Perform and be used for demonstrated method.The computer program product includes computer-readable recording medium, and meter is included on the medium
Machine program logic or code section are calculated, for realizing each step of the above method.The computer-readable recording medium can be with
It is to be mounted built-in medium in a computer or the removable medium that can be dismantled from basic computer (such as hot-plugging technology
Storage device).The built-in medium includes but is not limited to rewritable nonvolatile memory, such as RAM, ROM, flash
Device and hard disk.The removable medium includes but is not limited to:Optical storage media (such as CD-ROM and DVD), magneto-optic storage media
(such as MO), magnetic recording medium (such as tape or mobile hard disk), the matchmaker with built-in rewritable nonvolatile memory
Body (such as storage card) and the media (such as ROM boxes) with built-in ROM.
It will be appreciated by those skilled in the art that any computer system with properly programmed device will all be able to carry out wrapping
The all steps for the method for the invention being contained in program product.Although most embodiments all sides described in this specification
Software program is overweighted, but realizes that the alternate embodiment of method provided by the invention equally will in the present invention as firmware and hardware
Within the scope of asking protection.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power
Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference in claim should not be considered as to the involved claim of limitation.This
Outside, it is clear that the word of " comprising " one is not excluded for miscellaneous part, unit or step, and odd number is not excluded for plural number.Stated in system claims
Multiple parts, unit or device can also be realized by a part, unit or device by software or hardware.
Input method provided by the present invention and device by the letters case of input according to user or have inputted Chinese character
The letters case to be entered of the user and the to be entered Chinese character corresponding with the letters case to be entered are judged in advance, and
The chinese disply to be entered is selected in the position that letters case to be entered is associated for user.Thus, on the one hand,
The input of Chinese character is realized indeed through being inputted according to certain order to letters case, therefore, pre- in the present invention
Judge that the letters case to be entered of user more conforms to the input mode of user;On the other hand, user can be grasped by sliding
The Chinese character to be entered that elects can complete the input of Chinese character, because user only needs on the virtual keyboard when being inputted
The input of Chinese character can be completed by sliding, without must be by repeatedly pressing the letter key on dummy keyboard as prior art
Position and the candidate result pressed in candidate frame could complete the input of Chinese character, therefore be effectively improved the input speed of Chinese character
Spend, improve the input efficiency of Chinese character, simplify the input mode of Chinese character;Another aspect, by going through according to statistical analysis user
Result obtained by history input can effectively improve the accuracy of pre- judgement, so as to further increase as the basis judged in advance
The usage experience of strong user.
Above disclosed is only some preferred embodiments of the present invention, can not limit the present invention's with this certainly
Interest field, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.