Embodiment
To describe specific embodiments of the invention in detail now.
Figure l is a conventional handheld device touch-screen synoptic diagram by spell Chinese character input, has had illustratedly at preamble, no longer repeats.
Fig. 2 is the touch-screen synoptic diagram of handheld device according to an embodiment of the invention.
In Fig. 2, represent identical parts with reference number identical among the figure l, omit description of them. Reference number 2021 and 2022 among Fig. 2 is represented first character input window and second character input window respectively; Reference number 2051 and 2052 is represented the first phonetic input window and the second phonetic input window respectively; Reference number 203 expression dummy keyboard zones.
In the embodiment shown in Figure 2, be assigned at least two initial letters of syllable at least one key in the dummy keyboard zone 203.The initial letter of so-called syllable is meant the phonetic alphabet string of a Chinese character or first letter or the symbol in the phonetic symbol string.For example, Chinese character " when " the phonetic alphabet string be " dang ", wherein the letter " d " be Chinese character " when " the initial letter of syllable.
In the embodiment of Fig. 2, the initial letter of syllable comprises initial consonant phonetic alphabet " b ", " p ", " m ", " f ", " d ", " t ", " n ", " l ", " g ", " k ", " h ", " j ", " q ", " x ", " r ", " z ", " c " and " s ", and three simple or compound vowel of a Chinese syllable phonetic alphabet " a ", " o " and " e ".In the another kind distortion, the initial letter of syllable can also comprise other three initial consonant phonetic alphabet " zh ", " ch " and " sh ".
In the embodiment of Fig. 2, also be assigned syllable subsequent character at the most on each key in the dummy keyboard zone 203.So-called syllable subsequent character is meant letter or the symbol except that first letter or symbol in the phonetic alphabet string of a Chinese character or the phonetic symbol string.For example, Chinese character " when " the phonetic alphabet string be " dang ", wherein letter " a ", " n " and " g " all be Chinese character " when " the syllable subsequent character.
In the embodiment of Fig. 2, the syllable subsequent character comprises phonetic alphabet " a ", " o ", " e ", " i ", " u ", " ü ", " h ", " n " and " g ".
Obviously, in the embodiment of Fig. 2, simple or compound vowel of a Chinese syllable phonetic alphabet " a ", " o " and " e " can be the initial letter of syllable, are again the syllable subsequent character.Initial consonant phonetic alphabet " h ", " n " and " g " can be the initial letter of syllable, are again the syllable subsequent character.Comprise that at the initial letter of syllable under the situation of initial consonant phonetic alphabet " zh ", " ch " and " sh ", initial consonant phonetic alphabet " h " can be as the syllable subsequent character.
Among the embodiment of Fig. 2, the contrast relationship of virtual key and phonetic alphabet is as shown in table 1.
Table 1
| The 1st row | The 2nd row | The 3rd row | The 4th row |
The 1st row | b d | p t | m n | f l i |
The 2nd row | g j | k q | h x | y w u |
The 3rd row | z a | c o | s e | r ü |
In order to import an expectation Chinese character, the user need at first push the pairing key of the initial letter of syllable of this expectation Chinese character.In the embodiment of Fig. 2, this key is alphabetical corresponding with other simultaneously also.After the user pushes this key, the first initial letter that can be used as the initial letter of pinyin syllable of this key representative is presented in the first phonetic input window 2051, and the one or more candidate Chinese character promptings corresponding with the first initial letter are in first character input window 2021.On the other hand, if the key of being pushed is also represented the second initial letter that can be used as the initial letter of pinyin syllable, then this second initial letter is presented in the second phonetic input window 2052, and the one or more candidate Chinese character promptings corresponding with this second initial letter are in second character input window 2022.
If the expectation Chinese character has been pointed out in first character input window 2021 or second character input window 2022, then the user only need select suggested expectation Chinese character simply.If the expectation Chinese character both be not prompted in first character input window 2021, be not prompted in second character input window 2022 yet, then the user can turn over screen to the character input window corresponding with the initial letter of pinyin syllable of expectation Chinese character, to check more candidate Chinese character.After the user turns over screen to a character input window, can close other character input window, because the Chinese character of pointing out in those other the character input window has different pinyin syllable letters with the expectation Chinese character.After other character input window was closed, the character input window that is turned over screen can enlarge its window size, to show the more candidate Chinese character of more number, reduced the user and turned over the screen number of times.
If the phonetic alphabet of expectation Chinese character are not also all keyed in, then the user can continue to push the pairing key of syllable subsequent character of expectation Chinese character.In the embodiment of Fig. 2, this key is alphabetical corresponding with other simultaneously also, but these other key all is not the syllable subsequent character.After this key is pushed, according to this key the syllable subsequent character of unique representative, upgrade the candidate Chinese character of prompting in first character input window 2021 and second character input window 2022 respectively.
If the expectation Chinese character is not also pointed out in first character input window 2021 or second character input window 2022, then the user can select first character input window 2021 or second character input window 2022 are turned over screen, perhaps continues to key in the next syllable subsequent character of expectation Chinese character.After the user turns over screen to a character input window, can close other character input window.
The above-mentioned first phonetic input window 2051 and the second phonetic input window 2052 are optional.Under the situation that the first phonetic input window 2051 and the second phonetic input window 2052 are not set, can be omitted in the step of the phonetic alphabet of the key representative that shows in these two phonetic input windows and pushed.
In addition, obviously each candidate Chinese character is laterally to be presented in first character input window 2021 and second character input window 2022 shown in Fig. 2, but also can vertically be presented in first character input window 2021 and second character input window 2022.In the previous case, first character input window 2021 and second character input window 2022 are horizontal windows.Under latter event, first character input window 2021 and second character input window 2022 are vertical windows.
Provide an example below.
In Fig. 2, suppose that the user has pushed the key that is arranged in dummy keyboard zone 203 first row, first row.This key is represented " b " and " d " simultaneously.After this key was pushed, the first initial letter " b " was presented in the first phonetic input window 2051, the candidate Chinese character corresponding with " b " " ", " in vain ", " newspaper " and " group " etc. be presented in first character input window 2021.Meanwhile, the second initial letter " d " is presented in the second phonetic input window 2052, the candidate Chinese character corresponding " greatly ", " generation " with " d ", " to " and " " etc. be displayed in second character input window 2022.The user can be by turning over screen to check other candidate Chinese characters corresponding with " b " to first character input window 2021.When user's selection is turned over screen to first character input window 2021, can close the second phonetic input window 2052 and second character input window 2022, thereby can enlarge the viewing area of first character input window 2021.The user also can be by turning over screen to check other candidate Chinese characters corresponding with " d " to second character input window 2022.When user's selection is turned over screen to second character input window 2022, can close the first phonetic input window 2051 and first character input window 2021, thereby can enlarge the viewing area of second character input window 2022.
If the user continues the subsequent character in the input Pinyin syllable, the key of for example pushing the third line first row is to continue input " a ", then in the first phonetic input window 2051 and the second phonetic input window 2052, show letter " a " simultaneously, and respectively in first character input window 2021 and 2022 promptings and syllable " ba " and " da " corresponding candidate Chinese character of second character input window.
In this input mode with two character input windows, the special setting of the phonetic alphabet of key representative is not unique.Except this letter shown in Fig. 2 is provided with, as long as satisfy following condition just can guarantee can not take place Multiple Combination when the input subsequent character situation: the first, two initial letters of syllable can be arranged on the same key; The second, two follow-up letters of syllable cannot be arranged on the same key.
The another kind of contrast relationship of virtual key and phonetic alphabet is as shown in table 2.
Table 2
| The 1st row | The 2nd row | The 3rd row | The 4th row |
The 1st row | b d | p t | m n | f l |
The 2nd row | g j | k q | h x | y i |
The 3rd row | z zh | c ch | s sh | w u |
The 4th row | a | o | e | r v |
In table 2,, initial consonant phonetic alphabet " zh ", " sh " and " ch " also are assigned on the key in order to reduce the number of times of user's pressing key.This set scheme only needs 16 keys, has significantly reduced the number of key.
Be assigned the situation of three or three above initial consonant phonetic alphabet and shown in Figure 2 similar at least one key in dummy keyboard zone 203.Difference only is that the quantity of the quantity of phonetic input window and character input window is consistent with the quantity of the initial consonant phonetic alphabet that distribute on the key.
Embodiment shown in Figure 2 can also be used for realizing by the phonetic notation mode Chinese character being imported.In this case, the initial letter of a plurality of syllables that shines upon on a plurality of keys in dummy keyboard zone 203 comprises except that " ㄝ ", phonetic symbol " ㄅ " outside " ㄟ " and " ㄥ ", " ㄆ ", " ㄇ ", " ㄈ ", " ㄉ ", " ㄊ " " ㄋ ", " ㄌ ", " ㄍ ", " ", " ", " ㄐ ", " ㄑ ", " ㄒ " " ㄓ ", " ㄔ ", " ", " ㄖ ", " ㄗ ", " ㄘ ", " ㄙ ", " ㄚ ", " ㄛ ", " ㄜ ", " ㄞ ", " ㄠ ", " ㄡ ", " ㄢ ", " ㄣ ", " ㄤ ", " ㄦ ", " ㄧ ", " ㄨ ", " ㄩ ", the syllable subsequent character comprises phonetic symbol " ㄧ ", " ㄨ ", " ㄩ ", " ㄚ ", " ㄛ ", " ㄜ ", " ㄧ ㄝ ", " ㄞ ", " ㄟ ", " ㄠ ", " ㄡ ", " ㄢ ", " ㄣ ", " ㄤ ", " ㄥ " and " ㄦ ".The first phonetic input window 2051 and the second phonetic input window 2052 are called the first phonetic symbol input window and the second phonetic symbol input window.
A kind of contrast relationship of virtual key and phonetic symbol is as shown in table 3.
Table 3
| The 1st row | The 2nd row | The 3rd row | The 4th row |
The 1st row | ㄅㄞ | ㄆㄟ | ㄇㄠ | ㄈㄡ |
The 2nd row | ㄉㄢ | ㄊㄣ | ㄋㄤ | ㄌㄥ |
The 3rd row | ㄍㄚ | ㄐㄧ | ㄗㄓㄝ | ㄖㄦ |
The 4th row | ㄛ | ㄑㄨ | ㄘㄔ | |
The 5th row | ㄜ | ㄒㄩ | ㄙ | |
In table 3,41 required in conventional method keys reduce to 18 keys.
In addition, in the another kind of contrast relationship of virtual key and phonetic symbol, can be by " ㄟ " and " ㄘ ", " ㄔ " be distributed on the same virtual key, " ㄥ " and " ㄙ ", " " are distributed on the same virtual key, and " ㄆ " and " ㄌ " is distributed on the same virtual key, further with the reduced number to 17 of virtual key.
Be assigned the situation of three or three above phonetic symbols and shown in Figure 2 similar at least one key in dummy keyboard zone 203.Difference only is that the quantity of the quantity of phonetic symbol input window and character input window is consistent with the quantity of the initial phonetic symbol that distributes on the key.
On dummy keyboard shown in Figure 2, the initial letter of the syllable on a plurality of keys and syllable subsequent character are different on can at least one in color, font, size, thereby are convenient to distinguish, improve the key entry accuracy.
In addition, though shown in Fig. 2 be dummy keyboard, those of ordinary skill in the art finishes and can design identical with virtual keyboard layout or similar physical keyboard, and needn't spend creative work.Is very favorable with the pass the imperial examinations at the provincial level dummy keyboard shown in the example or physical keyboard of Fig. 2 when being applied to handheld device.
Fig. 3 is the process flow diagram of Chinese character input method according to an embodiment of the invention.
At step S300, handle beginning.
At step S301, judge whether the user has pushed virtual key.If judged result is a "Yes", then handles and enter step S302.Otherwise, handle and get back to step S301 continuation wait user key-press.
At step S302, judge that whether the key of being pushed is for this time importing the initial letter of syllable.For example, can whether exist the mode of candidate Chinese character to carry out above-mentioned judgement in current character input window 2021 and 2022 by detecting.Can certainly be undertaken by judging relevant sign.If judged result is a "Yes", then handles and enter step S303.Otherwise, handle entering step S304.
In step S303, prompting and the corresponding candidate Chinese character of the initial letter of first syllable of this key representative in first character input window 2021.If this key is also represented the initial letter of second syllable, then prompting and the corresponding candidate Chinese character of the initial letter of second syllable in second character input window 2022.If this key is also represented the initial letter of more syllable, then prompting and the corresponding corresponding candidate Chinese character of the initial letter of syllable in more character input window.
In step S304,, upgrade the candidate Chinese character of prompting in first character input window 2021 and second character input window 2022 respectively according to the syllable subsequent character of this key representative.
In step S305, judge whether the user chooses the Chinese character of pointing out in the character input window.If judged result is a "Yes", then handles and enter step S306.Otherwise, handle and return step S301, wait for user's button input again.
Certainly, also can comprise among the step S305 and judge whether certain character input window is turned over screen.If a character input window is turned over screen, then can close every other character input window, and enlarge the on-screen display (osd) area that is turned over the screen character input window, continue then to judge whether this quilt turns over certain Chinese character that shields in the character input window selected.
In step S306, close other unchecked character input windows (if the also not pent words of these character input windows), and the Chinese character of selecting is presented in the input viewing area 101.
In step S307, judge whether the user indicates this end of input.If judged result is a "No", then handle and return step S301, continue to wait for user's button input.Otherwise, handle entering step S308.Step S307 can omit, thereby after step S306, handles and directly return step S301.The user can indicate the Chinese character end of input by certain virtual key of representing the input of end Chinese character to handle that pressing function is selected to be provided with in the zone 104.
In step S308, processing finishes.
Simplify input method etc. according to existing Chinese-character words association-feeding method, phonetic Chinese character, can the embodiment of method shown in Figure 3 be expanded, make the user can use Chinese character input method of the present invention convenient and quickly.
Fig. 4 is the structural representation of handheld device according to an embodiment of the invention.Wherein reference number 400 is represented handheld devices; Reference number 401 expression displays; Reference number 402 expression keyboards; Reference number 403 expression character reminding devices.
As shown in Figure 4, have at least a key to represent two initial letters of syllable on the keyboard 402, and each key is represented maximum syllable subsequent character.For example, in pinyin input mode, keyboard 402 can be set according to the contrast relationship of key shown in table 1 or the table 2 and phonetic alphabet, and in the phonetic notation input mode, keyboard 402 can be set according to the contrast relationship of key shown in the table 3 and phonetic symbol.Certainly, also can keyboard 402 be set according to other contrast relationship of key and phonetic alphabet or phonetic symbol.Keyboard 402 can be a physical keyboard, also can be the dummy keyboard that is presented on the display screen of display 401.Under the situation of dummy keyboard, show on the display screen of display 401 that the zone of dummy keyboard should receive user's touch input.
When the user pushed the pairing key of the initial letter of syllable of expectation Chinese character in the keyboard 402, display 401 was presented at the initial letter of first syllable that can be used as the initial letter of pinyin syllable of this key representative in the first phonetic input window; If the key of being pushed also represents can be used as the initial letter of second syllable of the initial letter of pinyin syllable, then display 401 also is presented at the initial letter of second syllable in the second phonetic input window.In addition, character reminding device 403 provides respectively and initial letter of first syllable and/or the corresponding candidate Chinese character of the initial letter of second syllable to display 401 according to the initial letter of first syllable of institute's pressing key representative and/or the initial letter of second syllable.Display 401 shows the candidate Chinese character that character reminding device 403 is provided respectively in first character input window and/or second character input window.
When the user continues to push the pairing key of syllable subsequent character of expectation Chinese character in keyboard 402, the syllable subsequent character that display 401 is represented this key is presented at respectively in the first phonetic input window and the second phonetic input window and (may be displayed on the back of corresponding initial letter, thereby form corresponding alphabetic string).In addition, character reminding device 403 provides corresponding with the alphabetic string of the initial letter of first syllable and each corresponding syllables subsequent character composition respectively Chinese character and the corresponding Chinese character of forming with the initial letter of second syllable and each corresponding syllables subsequent character of alphabetic string to display 401.Display 401 shows the candidate Chinese character that character reminding device 403 is provided in first character input window and second character input window.That is, the Chinese character that shows in first character input window and second character input window is upgraded.
When the user has selected a character input window (for example, when one of them character input window is turned over screen), display 401 can be closed other character input windows.Selected character input window can enlarge window size, to show the more candidate Chinese character of more number, makes things convenient for the user to select the Chinese character of expecting.
In addition, can also be in keyboard 402 with the initial letter of syllable, syllable subsequent character and the phonetic alphabet/phonetic symbol that not only can be used as the initial letter of syllable but also can be used as the syllable subsequent character utilize the variation of font, size, color etc. to be distinguished, make that the user can initial letter of syllabication and syllable subsequent character, thereby increase the ease for use of this handheld device in the Chinese character input.
The present invention also provides a kind of storage medium that is composed of to the machine-readable computer program codes of handheld device input Chinese character, and this storage medium comprises and is used to make processor to realize instruction according to Chinese character input method of the present invention.Storage medium can be any tangible media, for example floppy disk, CD-ROM, DVD, hard disk drive even network medium etc.
Though described embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art can make various distortion or modification within the scope of the appended claims in this area.