Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In embodiments of the present invention, when receiving the Chinese phonetic alphabet of input, highlight the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted, and the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state, thus make the button at the selection Chinese phonetic alphabet place that user can be correct, improve the input speed of Chinese character, simplified Chinese characters input operation.
In order to technical solutions according to the invention are described, be described below by specific embodiment.
Fig. 1 shows the realization flow of the Chinese character input method that the embodiment of the present invention provides, and details are as follows:
S101, receives the Chinese phonetic alphabet of input.
In the present embodiment, the touch keyboard of any one type that the keyboard for inputting Chinese phonetic alphabet can provide for prior art, as full key board disc type touch keyboard, endian format touch keyboard etc.Wherein full key board disc type touch keyboard refers to the touch keyboard be distributed in respectively by the letter of 26 in English on different key.Referring to Fig. 2, is the schematic diagram of full key board disc type touch keyboard.Endian format touch keyboard refers to that 26 letters in English are distributed in the touch keyboard on 9 buttons of 3*3 matrix form.Referring to Fig. 3, is the schematic diagram of endian format touch keyboard.
For the ease of understanding, below to be described in detail by touch-screen input Chinese phonetic alphabet:
When needs input Chinese character " three ", then first can press the button at letter " S " place on the touchscreen, Chinese phonetic alphabet " S " can be inputted.Illustrate as follows: when passing through touch keyboard input alphabet " S " shown in Fig. 2, then only need the button pressing S place to get final product input alphabet S; As input through keyboard letter " S " by the endian format shown in Fig. 3, then can input alphabet S by the button pressing S place for continuous 4 times.Certainly limit is not illustrated as with above-mentioned by the concrete mode of input through keyboard Chinese phonetic alphabet.
S102, highlights the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted, and the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state.
The Chinese phonetic alphabet wherein mated with the Chinese phonetic alphabet of input refers to the Chinese phonetic alphabet that can be combined into the part of initial consonant, simple or compound vowel of a Chinese syllable, the Chinese phonetic alphabet or the Chinese phonetic alphabet in the Chinese phonetic alphabet with the Chinese phonetic alphabet inputted.For the ease of understanding, illustrate as follows:
Suppose that the Chinese phonetic alphabet inputted in S101 is " S ", the Chinese phonetic alphabet then mated with the Chinese phonetic alphabet " S " of input comprises A, E, I, O, U, H, wherein A can be combined into the Chinese phonetic alphabet " Sa " with S, E can be combined into the Chinese phonetic alphabet " Se " with S, I can be combined into the Chinese phonetic alphabet " Si " with S, O can be combined into the part " So " of the Chinese phonetic alphabet " Son " or " Song " with S, U can be combined into the Chinese phonetic alphabet " Su " with S, and H can be combined into the initial consonant " Sh " in the Chinese phonetic alphabet with S.
In the present embodiment, obtaining the mode of Chinese phonetic alphabet of mating with the Chinese phonetic alphabet inputted has multiple, illustrates as follows, but does not illustrate be limited with this:
Store the corresponding relation between Chinese phonetic alphabet and the Chinese phonetic alphabet that can mate with this Chinese phonetic alphabet in advance in systems in which.Corresponding relation between Chinese phonetic alphabet and the Chinese phonetic alphabet that can mate with this Chinese phonetic alphabet is stored as the form such as database table and file can be adopted.Also can store in systems in which in advance Chinese phonetic alphabet and and the unmatched Chinese phonetic alphabet of this Chinese phonetic alphabet between corresponding relation.
For the ease of understanding, table 1 shows the example of the Chinese phonetic alphabet that the present embodiment provides and the corresponding relation between the Chinese phonetic alphabet that can mate with this Chinese phonetic alphabet, but is not limited with this example:
Table 1
Chinese phonetic alphabet |
The Chinese phonetic alphabet mated with Chinese phonetic alphabet |
A |
I、N、O |
B |
A、E、I、O、U |
C |
A、E、H、I、O、U |
...... |
...... |
According to the Chinese phonetic alphabet of input, from the corresponding relation between the Chinese phonetic alphabet stored and the Chinese phonetic alphabet that can mate with this Chinese phonetic alphabet, search the Chinese phonetic alphabet mated with the Chinese phonetic alphabet inputted.
The mode wherein highlighting the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted include but not limited to amplify show, painted display etc.
In embodiments of the present invention, when adopting endian format keyboard to carry out Chinese charater input, when highlighting the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted, if this button highlighted comprises other Chinese phonetic alphabet except the Chinese phonetic alphabet mated with the Chinese phonetic alphabet of input, then when detecting that the button highlighted is pressed, this button operation is resolved to the input operation of the Chinese phonetic alphabet mated with the Chinese phonetic alphabet inputted, and other Chinese phonetic alphabet ignored except the Chinese phonetic alphabet mated with the Chinese phonetic alphabet of input.In order to clearer explanation, be described with a concrete example below.
Suppose that the Chinese phonetic alphabet inputted in S101 is " S ", then the Chinese phonetic alphabet mated with the Chinese phonetic alphabet " S " of input comprises A, E, I, O, U, H.Endian format keyboard as shown in Figure 3, now highlights " abc " key, " def " key, " ghi " key, " mno " key and " tuv " key, and " jkl " key, " pqrs " key and " wxyz " key is set to invalid input state.In each button wherein highlighted, the Chinese phonetic alphabet that the Chinese phonetic alphabet " S " inputted with user in " def " key mates is " e ", now, if user presses " def " key, the then direct input operation this button operation of user being resolved to Chinese phonetic alphabet " e ", namely the direct button operation by this resolves to input Chinese phonetic alphabet " e ", instead of this button operation is resolved to Chinese phonetic alphabet " d ", the input operation of " e " or " f ", as long as such user carries out one-touch operation, Chinese phonetic alphabet " e " can be inputted, and no longer need user on pressing once after " def " key, export the Chinese phonetic alphabet " d " of candidate, " e " and " f ", press next time after " def " key again, further from " d ", the Chinese phonetic alphabet that " e " inputs as user is selected in " e " and " f ".For the button that other highlight, its principle is identical, illustrates no longer one by one at this.
S103, combines the target characters or target word selected corresponding candidate Chinese character or candidate word as the Chinese character inputted using what receive from the Chinese phonetic alphabet or Chinese phonetic alphabet of input.
Wherein Chinese phonetic alphabet combination comprises all Chinese phonetic alphabets of input, and if hypothesis is by said method, the Chinese phonetic alphabet inputted successively comprises " S ", " A " and " N ", then the Chinese phonetic alphabet inputted is combined as " San ".
In the present embodiment, after input Chinese phonetic alphabet or Chinese phonetic alphabet combination, export and combine corresponding candidate Chinese character or candidate word with this Chinese phonetic alphabet or Chinese phonetic alphabet, so that user can select its target characters needing input or target word from the candidate Chinese character exported or candidate word, when detecting that user have selected target characters or target word from the candidate Chinese character corresponding with the Chinese phonetic alphabet inputted or monogram or candidate word, the target characters of selection or target word are defined as the Chinese character inputted.
The input method of the Chinese character that the present embodiment provides is applicable to the scene inputting Chinese character on the touchscreen, also goes for the scene by dummy keyboard input Chinese character.
In the present embodiment, when receiving the Chinese phonetic alphabet of input, highlight the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted, and the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state, make user when inputting next Chinese phonetic alphabet, because the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet of input highlights, thus user can select the button at next Chinese phonetic alphabet place more accurately, because the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state, therefore, even if user pushes the wrong button, also can not using the next Chinese phonetic alphabet of the letter on this button as input, thus make the button at the selection Chinese phonetic alphabet place that user can be more accurate, improve the input speed of Chinese character.
In an alternative embodiment of the invention, after the step of Chinese phonetic alphabet receiving input, described method also comprises:
Export and combine corresponding candidate Chinese character or candidate word with the Chinese phonetic alphabet of input or Chinese phonetic alphabet.
In the present embodiment, after each input Chinese phonetic alphabet, just export and combine corresponding candidate Chinese character or candidate word with the Chinese phonetic alphabet of input or Chinese phonetic alphabet, so just can reduce the input number of times of Chinese phonetic alphabet in Chinese character input process, simplified Chinese characters input operation.
Due to after the Chinese phonetic alphabet receiving input at every turn, the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state, when user presses next but one Chinese phonetic alphabet, during to input next Chinese phonetic alphabet, if the button that user presses is the button being set to invalid input state, now, Chinese character input system will without any response, this brings bad experience by user, therefore, in an alternative embodiment of the invention, the method also comprises the steps:
When detecting that the button being set to invalid input state is pressed, the information that output key is invalid, to point out the current button pressed of user to be the button being set to disarmed state, thus prompting user reselects correct button, inputs correct Chinese phonetic alphabet.
After input Chinese character, again input Chinese character according to method provided by the invention for the ease of user, in an alternative embodiment of the invention, after S103, the method also comprises the steps:
All buttons in keyboard are set to effective input state, to carry out the input of Chinese character next time.
Fig. 4 shows the realization flow of the Chinese character input method that another embodiment of the present invention provides, and the present embodiment is applicable to after have input one or more Chinese phonetic alphabet, and in order to make this input method more convenient, quick, the method comprises the steps:
S401, receives the Chinese phonetic alphabet of input.Its detailed process is described above, does not repeat them here.
S402, when inputted Chinese phonetic alphabet be previous input Chinese phonetic alphabet coupling Chinese phonetic alphabet time, highlight the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted, and the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state.
In the present embodiment, when receiving the Chinese phonetic alphabet of input, have input one or more Chinese phonetic alphabet before, now, first judge that whether current inputted Chinese phonetic alphabet is the Chinese phonetic alphabet of the Chinese phonetic alphabet coupling of previous input, if, then highlight the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted, and the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state, from numerous button, the next Chinese phonetic alphabet needing input is selected to facilitate user.
The mode wherein highlighting the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted includes but not limited to amplify and shows and/or painted display.Be full key board disc type touch keyboard or endian format touch keyboard for inputting the keyboard of Chinese phonetic alphabet.
S403, using receive from the target characters selected the Chinese phonetic alphabet or candidate Chinese character corresponding to monogram or candidate word of input or target word as Chinese character input, or return the Chinese phonetic alphabet performing and receive and input.
In the present embodiment, when after S402, output is combined corresponding candidate Chinese character or candidate word with the Chinese phonetic alphabet that user inputs, now, if comprise target characters or target word that user needs to input in the candidate Chinese character of this output or candidate word, as long as then user is from select target Chinese character or target word the candidate Chinese character or candidate word of this output, when detecting that user have selected target characters or target word from the candidate Chinese character corresponding with the Chinese phonetic alphabet inputted or monogram or candidate word, the target characters of selection or target word are defined as the Chinese character inputted, the input of a Chinese character can be completed like this.If do not comprise target characters or target word that user needs to input in the candidate Chinese character of this output or candidate word, then user also needs to input next Chinese phonetic alphabet further, now, S401 is performed as long as return, user just can the next Chinese phonetic alphabet of input easily and fast, after user inputs next Chinese phonetic alphabet, output is combined corresponding candidate Chinese character or candidate word with the Chinese phonetic alphabet that user inputs, circulation performs above process, can complete the input of Chinese character.For the ease of understanding, below for the full key board disc type keyboard shown in Fig. 2, the present embodiment is described as follows:
Suppose that the Chinese character that user needs to input is " three ", then first user presses the button at letter " S " place, after detecting that user presses the button at letter " S " place, namely think receive user input Chinese phonetic alphabet " S ", now, highlight the button at the Chinese phonetic alphabet place that the Chinese phonetic alphabet that inputs with user mates, and the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state, because the Chinese phonetic alphabet mated with the Chinese phonetic alphabet " S " that user inputs comprises A, E, I, O, U, H, so, highlight Chinese phonetic alphabet A, E, I, O, U, the button at H place, the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state, like this, user is when selecting the button at next Chinese phonetic alphabet " A " place, because the button at " A " place highlights, so user can choose this button faster, and owing to being set to invalid input state with the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place inputted, therefore, even if user is when selecting the button at next Chinese phonetic alphabet " A " place, the button at wrong proportionately letter ' M ' place, the Chinese phonetic alphabet that also " M " can not be inputted as the next one thus avoid the mistake input of Chinese phonetic alphabet in Chinese character input process.
At the button at the Chinese phonetic alphabet place that the Chinese phonetic alphabet highlighted with input mates, and after the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state, combine in corresponding candidate Chinese character or candidate word with Chinese phonetic alphabet that is input or Chinese phonetic alphabet if that export and do not comprise the target characters or target word that user needs to input, then user continues the button pressing Chinese phonetic alphabet " A " place, to input Chinese phonetic alphabet " A ", now, highlight the button at the Chinese phonetic alphabet place of mating with " A ", as alphabetical N, O, the button at I place, and the touch key-press at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state, if after user have input Chinese phonetic alphabet S and A, what export combines in candidate Chinese character corresponding to " SA " or candidate word with the Chinese phonetic alphabet of input the target characters " three " comprising user and need to input, then after detecting that user have selected this target characters " three ", the target characters " three " just user selected is as the Chinese character of input, if after user have input Chinese phonetic alphabet S and A, what export combines in candidate Chinese character corresponding to " SA " or candidate word with the Chinese phonetic alphabet of input the target characters " three " not comprising user and need to input, then user continues the button pressing Chinese phonetic alphabet " N " place, to input Chinese phonetic alphabet " N ", the rest may be inferred, until a Chinese charater input is complete, namely until input Chinese character " three ".
In an alternative embodiment of the invention, after the step of Chinese phonetic alphabet receiving input, described method also comprises:
Export and combine corresponding candidate Chinese character or candidate word with the Chinese phonetic alphabet of input or Chinese phonetic alphabet.
In the present embodiment, after each input Chinese phonetic alphabet, just export and combine corresponding candidate Chinese character or candidate word with the Chinese phonetic alphabet of input, so just can reduce in Chinese character input process, the input number of times of Chinese phonetic alphabet, simplified Chinese characters input operation.
In an alternative embodiment of the invention, when the keyboard for inputting Chinese phonetic alphabet is endian format touch keyboard, described method also comprises:
When the button highlighted comprising other Chinese phonetic alphabet except the Chinese phonetic alphabet mated with the Chinese phonetic alphabet of input, if detect that the button highlighted is pressed, then will press the operation of the button highlighted and resolve to the input operation of the Chinese phonetic alphabet mated with the Chinese phonetic alphabet inputted.
In an alternative embodiment of the invention, after S403, described method also comprises:
All buttons in keyboard are set to effective input state, so that user carries out character input operation next time.
Fig. 5 shows the structure of the Chinese character input system that the embodiment of the present invention provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.
This Chinese character input system may be used for touch-screen input device, such as touch-screen mobile phone, palm PC (PDA), digital camera, Ipad, POS, industrial computer, game play all-in-one etc., it can be the unit that software unit, hardware cell or the software and hardware run in these equipment combines, also can be integrated in these touch-screen input devices as independently suspension member or run in the application system of these touch-screen input devices, wherein:
Letter receiving element 1 receives the Chinese phonetic alphabet of input.
In the present embodiment, the touch keyboard of any one type that the keyboard for inputting Chinese phonetic alphabet can provide for prior art, as full key board disc type touch keyboard, endian format touch keyboard etc.
First keystroke handling unit 2 highlights the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted, and the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state.
The Chinese phonetic alphabet wherein mated with the Chinese phonetic alphabet of input refers to the Chinese phonetic alphabet that can be combined into the part of initial consonant, simple or compound vowel of a Chinese syllable, the Chinese phonetic alphabet or the Chinese phonetic alphabet in the Chinese phonetic alphabet with the Chinese phonetic alphabet inputted.
The mode wherein highlighting the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted include but not limited to amplify show, painted display etc.
Chinese charater input unit 3 combines the target characters or target word selected corresponding candidate Chinese character or candidate word as the Chinese character inputted using what receive from the Chinese phonetic alphabet or Chinese phonetic alphabet of input.
Wherein Chinese phonetic alphabet combination comprises all Chinese phonetic alphabets of input.In the present embodiment, after input Chinese phonetic alphabet or Chinese phonetic alphabet combination, export and combine corresponding candidate Chinese character or candidate word with this Chinese phonetic alphabet or Chinese phonetic alphabet, so that user can select its target characters needing input or target word from the candidate Chinese character exported or candidate word, when detecting that user have selected target characters or target word from the candidate Chinese character corresponding with the Chinese phonetic alphabet inputted or monogram or candidate word, the target characters of selection or target word are defined as the Chinese character inputted.
After input Chinese character, again Chinese character is inputted according to method provided by the invention for the ease of user, in an alternative embodiment of the invention, first keystroke handling unit 2 also for being set to effective input state by all buttons in keyboard, to carry out the input of Chinese character next time after each input Chinese character.
In an alternative embodiment of the invention, this system also comprises candidate Chinese character output unit 4.This candidate Chinese character output unit 4, when each alphabetical receiving element 1 receives the Chinese phonetic alphabet of input, exports and combines corresponding candidate Chinese character or candidate word with the Chinese phonetic alphabet of input.
In an alternative embodiment of the invention, this system also comprises invalid input prompt unit 5.This invalid input prompt unit 5 is when detecting that the button being set to invalid input state is pressed, the information that output key is invalid, to point out the current button pressed of user to be the button being set to disarmed state, thus prompting user reselects correct button, inputs correct Chinese phonetic alphabet.
In an alternative embodiment of the invention, when the keyboard for inputting Chinese phonetic alphabet is endian format keyboard, this system also comprises input operation resolution unit 6.This input operation resolution unit 6, when the button highlighted comprising other Chinese phonetic alphabet except the Chinese phonetic alphabet mated with the Chinese phonetic alphabet that user inputs, will press the operation of the button highlighted and resolve to the input operation of the Chinese phonetic alphabet mated with the Chinese phonetic alphabet inputted.
Fig. 6 shows the structure of the Chinese character input system that another embodiment of the present invention provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.
This Chinese character input system comprises alphabetical receiving element 1, second keystroke handling unit 7 and Chinese charater input unit 3.Wherein:
Second keystroke handling unit 7 is when inputted Chinese phonetic alphabet is the Chinese phonetic alphabet of Chinese phonetic alphabet coupling of previous input, highlight the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted, and the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state.
In the present embodiment, when receiving the Chinese phonetic alphabet of input, have input one or more Chinese phonetic alphabet before, now, first judge that whether current inputted Chinese phonetic alphabet is the Chinese phonetic alphabet of the Chinese phonetic alphabet coupling of previous input, if, then highlight the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted, and the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state, from numerous button, the next Chinese phonetic alphabet needing input is selected to facilitate user.
The mode wherein highlighting the button at the Chinese phonetic alphabet place of mating with the Chinese phonetic alphabet inputted includes but not limited to amplify and shows and/or painted display.Be full key board disc type touch keyboard or endian format touch keyboard for inputting the keyboard of Chinese phonetic alphabet.
After input Chinese character, again Chinese character is inputted according to method provided by the invention for the ease of user, in an alternative embodiment of the invention, this the second keystroke handling unit 7 also for being set to effective input state by all buttons in keyboard, to carry out the input of Chinese character next time after each input Chinese character.
In an alternative embodiment of the invention, this system also comprises candidate Chinese character output unit 4.
In an alternative embodiment of the invention, when the keyboard for inputting Chinese phonetic alphabet is endian format keyboard, this system also comprises input operation resolution unit 6.
It should be noted that said system, included unit is carry out dividing according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
One of ordinary skill in the art will appreciate that, the all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
In the present embodiment, when receiving the Chinese phonetic alphabet of input, by highlighting the button at the Chinese phonetic alphabet place of mating with this Chinese phonetic alphabet, and the button at the Chinese phonetic alphabet unmatched Chinese phonetic alphabet place with input is set to invalid input state, thus Chinese phonetic alphabet that can be follow-up according to the Chinese phonetic alphabet Auto-matching once inputted before user, make the button at the selection Chinese phonetic alphabet place that user can be correct, even if user pushes the wrong button, also can not using the next Chinese phonetic alphabet of the letter on this button as input, thus make the button at the selection Chinese phonetic alphabet place that user can be more accurate, improve the input speed of Chinese character, simplified Chinese characters input operation.In addition, by after the Chinese phonetic alphabet receiving user's input at every turn, export and combine corresponding candidate Chinese character or candidate word with the Chinese phonetic alphabet that user inputs, can reduce in Chinese character input process, the input number of times of Chinese phonetic alphabet, simplified Chinese characters input operation.Simultaneously when detecting that user presses the button being set to invalid input state, the information that output key is invalid, thus user can be pointed out to input correct Chinese phonetic alphabet.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.