Summary of the invention
In view of this, the invention provides a kind of multi-type character mixing input method, can avoid the blocked operation in the mixing input of alphabetic character, numbers and symbols.
A kind of multi-type character mixing input method provided by the invention sets in advance the corresponding relation of button and alphabetic character, numeral and punctuation mark, and this method comprises:
According to described corresponding relation, described numeral, alphabetic character, punctuation mark are shown in first candidate region, also will be presented at second candidate region with the word that is combined as prefix of the alphabetic character that is presented at described first candidate region;
According to described corresponding relation, the user is presented in the screen as the character of current input by pressing the selected candidate item of corresponding button;
Wherein, when not having candidate item in described first candidate region, described corresponding relation comprises:
Key [0] is used to import space and numeral 0 and is presented at described first candidate region;
Key [1] is used for input digit 1 and is presented at described first candidate region;
Key [2]~[9] are used to import the alphabetic character of corresponding numeral 2~9 and numeral 2~9 correspondences and be presented at described first candidate region;
Key [*] is used to call a plurality of punctuation marks and is presented at described first candidate region, also at the described second candidate region display digit, and a punctuation mark in corresponding described first candidate region of each numeral;
Key [c] is used to delete last character that has exported screen to and shown;
When there was candidate item in described first candidate region, described corresponding relation comprised:
Key [0] is used for input digit 0 and is presented at described first candidate region;
Key [1] is used for input digit 1 and is presented at described first candidate region, also is used to switch the capital and small letter of the alphabetic character that shows in described first candidate regions and the capital and small letter of the interior word that shows of described second candidate regions;
Key [2]~[9] are used to import the alphabetic character of corresponding numeral 2~9 and numeral 2~9 correspondences and be presented at described first candidate region;
Key [*] is used for highlighted candidate item is defined as the character of current input, and at least one punctuation mark commonly used that will preset is presented at described first candidate region;
Key [c], last 1 that is used for the combination of numbers that shown in first candidate region is 0 or 1 o'clock, only deletes last bit digital of the combination of numbers in described first candidate region; Last 1 when being in 2~9 any one of the combination of numbers that has shown in first candidate region, delete last 1 bit digital and the corresponding alphabetic character thereof of the combination of numbers in described first candidate region, and alphabetic character combination the cause search fully corresponding according to the combination of numbers in described first candidate region, will be presented at first candidate region with the corresponding fully alphabetic character combination of this combination of numbers, will comprise the word that alphabetic character that described first candidate region shows makes up and be presented at described second candidate region;
Directionkeys is used to adjust described highlighted position.
Shown in described first candidate region that this method further comprises after the numeral that has shown corresponding each punctuation mark in a plurality of punctuation marks that call by described key [*] and described second candidate region:
Press any one numeral of importing in key [0]~[9] according to the user, punctuation mark corresponding with this input digit in described first candidate region is presented at screen, and empties described first candidate region and described second candidate region.
Shown in described first candidate region that this method further comprises after a plurality of punctuation marks that call by described key [*]:
Key [ok] according to the user presses is presented at screen with highlighted punctuation mark in described first candidate region, and empties described first candidate region and described second candidate region.
When there is candidate item in described first candidate region:
At the character that highlighted candidate item is defined as current input by described key [*], and after at least one punctuation mark commonly used that will preset is presented at described first candidate region, if receive combination of numbers once more, the combination of the alphabetic character of then described combination of numbers and correspondence and each in the described punctuation mark commonly used all is presented at described first candidate region.
When only showing described punctuation mark commonly used in described first candidate region, described key [c] is further used for emptying described first candidate region and described second candidate region.
Described punctuation mark commonly used comprises: " ' ", ". ", "-".
When there is candidate item in described first candidate region:
Key [ok] is used for highlighted candidate item is defined as the character of current input.
Key [#] is used to switch input state.
Describedly be presented at word in second candidate region according to the frequency of occurrences of statistics in advance, series arrangement from high to low.
In described first candidate region, numeral comes before described alphabetic character and the punctuation mark.
As seen from the above technical solution, the present invention utilizes the structure of existing keyboard, sets in advance the corresponding relation of each button in the keyboard and alphabetic character, numeral, symbol; After receiving the keystroke sequence that the user presses, according to the default button and the corresponding relation of each type character, search and the pairing alphabetic character of the current keystroke sequence of pressing of user simultaneously, numeral, symbol, and with the alphabetic character that searches, numeral, symbol shows output simultaneously, thereby realization alphabetic character, numeral, show in the time of symbol, so that the user can see candidate's alphabetic character simultaneously, numeral, symbol, and select any one as current input character, and without any need for blocked operation, thereby can guarantee the alphabetic character that need not to switch, numeral, the mixing input of symbol, the operating process of abbreviated character input has improved the input speed of character.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
Among the present invention, utilize the structure of existing keyboard, set in advance the corresponding relation of button and alphabetic character, numeral, symbol; After receiving the keystroke sequence that the user presses, according to the default button and the corresponding relation of each type character, search simultaneously and the pairing alphabetic character of the current keystroke sequence of pressing of user, numeral, symbol, and alphabetic character, numeral, the symbol that searches shown output simultaneously, thereby show when realizing alphabetic character, numeral, symbol, so that the user can see candidate's alphabetic character, numeral, symbol simultaneously, and select any one, and without any need for blocked operation as current input character.
After the alphabetic character that will search, numeral, symbol show output simultaneously; according to the positioning instruction of user by the keyboard input; (focus is typically expressed as the unit option with the effect of highlighting to focus in the moving display screen in display screen; focus also can be described as highlighted position usually); and after receiving the affirmation instruction of user, determine that the character (any one alphabetic character or numeral or symbol) at focus place is the character of current input by the definite key input in the keyboard.
Like this, after the user has imported keystroke sequence by the numerical key in the keyboard, can see the pairing alphabetic character of keystroke sequence, numeral, the symbol of its input simultaneously, and, can from the character that shows output, select the character of any one type by keyboard input positioning instruction and affirmation instruction.
Because the demonstration of alphabetic character, numeral, symbol and mix that corresponding relation that input all is based on the button that sets in advance and alphabetic character, numeral, symbol realizes among the present invention, therefore, elder generation below is elaborated to the specific embodiment of above-mentioned corresponding relation.
Fig. 2 is the required keyboard of multi-type character mixing input method among the present invention and the synoptic diagram of display screen.As shown in Figure 2, with the technical scheme among the present invention be applied to mobile phone, alphabetic character is that English character is an example, comprises default up candidate characters viewing area 21 and descending candidate characters viewing area 22 in the display screen.
Wherein, up candidate characters viewing area 21 is used for showing respectively and the keystroke sequence of input corresponding English character combination, combination of numbers, symbol combination fully; 22 of descending candidate characters viewing areas are used to show the expansion English word that comprises the English character combination corresponding fully with importing keystroke sequence.
In the keyboard of mobile phone, utilize the button of numerical key usually as input character.
Suppose that the user has imported keystroke sequence by any two numerical keys in the keyboard, then up candidate characters viewing area 21 shows that simultaneously output is by the English character combination " pu, qu, ru, su " of this keystroke sequence correspondence and the Serial No. " 78 " that is made of the pairing numeral of each button in this keystroke sequence; 22 of descending candidate characters viewing areas show that output comprises the expansion English word " pub ", " public ", " put " of alphabetic literal " pu " etc., and these expansion English words are according to English character combination " pu " foreign language word that search obtains from default word library.
As shown in Figure 2, keyboard portion comprises: left soft key 23, right soft key 24, determine key 25, directionkeys 26, delete key 27, * key 28, # key 29 and numerical key (numeral 0~9 key) 20.
1) for the situation of up candidate characters viewing area 21 no candidate item (promptly not having the combination of candidate's combination of numbers and English character):
Numerical key 20 is used to import keystroke sequence, comprises key [0]~[9].
Specifically, key [0] is used to import space and numeral 0, and is presented at up candidate characters viewing area 21; Key [1] is used for input digit 1 and is presented at up candidate characters viewing area 21; Key [2]~[9], be used to import corresponding numeral 2~9 and be presented at up candidate characters viewing area 21, the pairing English character combination of in the numeral 2~9 of input each is also shown in up candidate characters viewing area 21 after search, simultaneously, be combined as the English word of prefix with the English character that is presented at up candidate characters viewing area 21, after search, be presented at descending candidate characters viewing area 22.
Left side soft key 23, right soft key 24, directionkeys 26 all do not respond, and " not responding " as herein described do not produce any response after being meant and pressing this button.
Delete key 27, promptly key [c] is used to delete last character that has exported screen display to, or returns previous menu.
# key 29, promptly key [#] is used to switch input state;
* number key 28, be key [*], be used to call a plurality of punctuation marks be presented at up candidate characters viewing area 21, so that up candidate characters viewing area 21 is filled up, simultaneously, at descending candidate characters viewing area 22 stuffing digits 0~9, corresponding respectively each punctuation mark that is filled in up candidate characters viewing area 21.
If press in key [0]~[9] any one this moment, then punctuation mark corresponding in the up candidate characters viewing area 21 inputed to screen, and empty up candidate characters viewing area 21 and descending candidate characters viewing area 22.
Perhaps, determine that key 25 is key [ok] if press this moment, then with highlighted in the up candidate characters viewing area 21, be that the punctuation mark of focus position inputs to screen, and empty up candidate characters viewing area 21 and descending candidate characters viewing area 22.In addition, for the situation of up candidate characters viewing area 21 no candidate item, determine that key 25 is that key [ok] does not all respond.
2) for up candidate characters viewing area 21 the candidate item situation of (promptly having candidate's combination of numbers and English character combination) is arranged:
Numerical key 20 is used to import keystroke sequence, comprises key [0]~[9].
Specifically, key [0] only is used for input digit 0, and is presented at up candidate characters viewing area 21, and is not used further to import the space; Key [1] is used for input digit 1, and is presented at up candidate characters viewing area 21; Key [2]~[9], be used to import corresponding numeral 2~9 and be presented at up candidate characters viewing area 21, the pairing English character combination of in the numeral 2~9 of input each is also shown in up candidate characters viewing area 21 after search, simultaneously, be combined as the English word of prefix with the English character that is presented at up candidate characters viewing area 21, after search, be presented at descending candidate characters viewing area 22.
Wherein, key [1] also is used for switching the capital and small letter state of English character combination of up candidate characters viewing area 21 and the capital and small letter state of the English word in the descending candidate characters viewing area 22 when being used for input digit 1.
Left side soft key 23, right soft key 24 all do not respond.
Determine that key 25 is key [ok], be used for that promptly the candidate item at the focus place character that is defined as current input exports screen to current highlighted candidate item.
Directionkeys 26 comprises key [↑], key [↓], key [←], key [→], be used for moving highlighted, be the focus position.
Delete key 27, be key [c], be used for deleting last bit digital of the combination of numbers that up candidate characters viewing area 21 shows, and judge whether the numeral of being deleted is to cause the numeral of search again, if the numeral of deletion is 0 or 1, can not cause that then English character and English word search for again,, then delete the English character of this numeral correspondence and search for English word again according to remaining English character combination if the numeral of deletion is in 2~9 any one.
Suppose, candidate item in the up candidate characters viewing area 21 comprises " 231 " and " be ", wherein, " b " is that " 2 " corresponding English character, " e " is " 3 " corresponding English character, and the candidate item in the descending candidate characters viewing area 22 comprises with " be " being the English word of prefix.At this moment, if supress key [c], then delete last 1 " 1 " of " 231 ", can not cause search again, candidate item in the up candidate characters viewing area 21 comprises " 23 " and " be ", and the candidate item in the descending candidate characters viewing area 22 still comprises with " be " being the English word of prefix.Afterwards, supress key [c] once more, last 1 " 3 " of deletion " 23 " then, and corresponding English character " e " of deletion " 3 " are simultaneously searched for again with " b " and are the English word of prefix and are presented at descending candidate characters viewing area 22.
# key 29, promptly key [#] is used to switch input state.
* number key 28, be key [*], be used for up candidate characters viewing area is 21 highlighted, be that the candidate item of focus position exports screen to, fill default punctuation mark commonly used in the up candidate characters viewing area 21 simultaneously, for example these three punctuation marks of " ' " ". " "-".
At this moment, if by numerical key 20 input digit combination once more, not only display digit combination in the then up candidate characters viewing area 21, also according to English syntax rule, pairing each English character combination of the combination of numbers of demonstration respectively with the combination of each punctuation mark commonly used that has shown.
Suppose, press key [*] with highlighted in the up candidate characters viewing area 21, be that the candidate item of focus position exports screen to, show punctuation mark " ' " ". " "-" in the up candidate characters viewing area 21.After this, imported combination of numbers " 266 " by numerical key 20, the candidate item in the then up candidate characters viewing area 21 comprises that " 266 " and " 266 " corresponding English character combination " com ", " con " make up with each punctuation mark " ' " ". " "-" circulation respectively: " ' com ", " .com ", " com ", " ' con ", " .con ", " con ".
Certainly, English character makes up the combination with different punctuation marks, can be according to the descending arrangement of probability of use of adding up each punctuation mark that obtains in advance.
Like this, recombinant is carried out in punctuation mark that utilization has shown and the combination of the English character of input, has saved the operation of inputting punctuation mark once more, has further improved the efficient of mixing input.
When only showing above-mentioned default conventional sign in up candidate characters viewing area 21, can empty up candidate characters viewing area 21 and descending candidate characters viewing area 22 by key [c].
Fig. 3 is the exemplary process diagram of multi-type character mixing input method among the present invention.As shown in Figure 3, be that English character is an example with the alphabetic character, based on the corresponding relation of as shown in Figure 2 keyboard and English character, numeral, symbol, the multi-type character mixing input method may further comprise the steps among the present invention:
Step 301 receives the keystroke sequence of user by the input of the numerical key in the keyboard.
Step 302 judges whether up candidate characters viewing area is empty, if then execution in step 303, otherwise, execution in step 304.
Step 303, according to the keystroke sequence and the default corresponding relation of input, the rule when not having candidate item according to up candidate characters viewing area is carried out the mixing input of English character, numbers and symbols, specifically comprises:
Key [0] has the effect in output space in as numerical key; Key [1] key is only as numerical key; Key [2]~key [9] not only as numerical key, but also cause the search of English character and English word; Key [*] is as the switching punctuate, but it goes without doing and the mixing of English character input; Key [#] is as switching input method; Key [c] is used to delete last character that has exported screen to; Left side soft key, right soft key, key [ok], directionkeys all do not respond.
In this step, if comprise the processing procedure that relates to key [*], promptly call a plurality of punctuation marks and be presented at up candidate characters viewing area, so that up candidate characters viewing area is filled up, simultaneously, at descending candidate characters viewing area stuffing digit 0~9, corresponding respectively each punctuation mark that is filled in up candidate characters viewing area, and after this processing procedure, receive the keystroke sequence of any one generation in key [0]~[9], then punctuation mark corresponding in the up candidate characters viewing area is inputed to screen, and empty up candidate characters viewing area and descending candidate characters viewing area; Perhaps after this processing procedure, receive the keystroke sequence that key [ok] produces, then with highlighted in the up candidate characters viewing area, be that the punctuation mark of focus position inputs to screen, and empty up candidate characters viewing area and descending candidate characters viewing area.
Step 304, according to the keystroke sequence and the default corresponding relation of input, the rule when having candidate item according to up candidate characters viewing area is carried out the mixing input of English character, numbers and symbols, specifically comprises:
Key [0] and key [1] key are only as numerical key; Key [2]~key [9] not only as numerical key, but also cause the search of English character and English word; Key [*] in current highlighted combination of numbers or English array output in screen, show default punctuation mark commonly used in up candidate characters viewing area, after this, if receive the keystroke sequence of key [2]~key [9] once more, then when up candidate characters viewing area shows corresponding combination of numbers, also according to English syntax rule show each corresponding English character combination respectively with the combination of each punctuation mark commonly used that has shown; Key [#] is as switching input method; Key [ok] is used for current highlighted candidate item, and promptly the candidate item at the focus place character that is defined as current input exports screen to; That directionkeys is used for moving is highlighted, be the focus position; Last 1 of the combination of numbers that key [c] has shown in up candidate characters viewing area is 0 or 1 o'clock, be used for only deleting last 1 of combination of numbers, otherwise, be used to delete last 1 and the corresponding English character of combination of numbers, and initiate the search of descending candidate characters viewing area Chinese and English word again according to remaining English character combination; Left side soft key, right soft key, key [ok], directionkeys all do not respond.
So far, this flow process finishes.
Among the present invention, all display modes can for combination of numbers preceding, secondly be that English character combination candidate item or English symbol mixes candidate item; And the English word in descending back word selection symbol viewing area, then can be according to the frequency of occurrences of statistics in advance series arrangement from high to low.
Below only be to be that English character is an example with the alphabetic character, in the practical application, alphabetic character can also comprise the character as other types such as German, French, Latins.
As seen, the display packing of the multi-type character among the present invention and multi-type character mixing input method can be based on general keyboard layouts, in the mixing input process of alphabetic character, numeral, symbol without any need for blocked operation, thereby can abbreviated character the operating process of input, improved the input speed of character.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.