Background technology
When coming key feeding character with stroke, be generally horizontal stroke according to stroke, perpendicular, cast aside, press down, roll over five parts successively preface import one by one, for the user who uses stroke, to understand very much the sequential write of Chinese-character stroke, particularly for the Chinese character that abnormal stroke is arranged, easier input error, typing speed is also relatively slow, also by input method is that intelligent function is placed on the radical that strokes can be formed before the stroke, horizontal with removing, perpendicular, cast aside, press down, this part radical is shone upon in the outer residue key position of folding, relative velocity increases, but the user also can only be limited to and once imports a Chinese character, and the needs that brought for the Chinese character repeated code operation of repeatedly pressing the directionkeys position has simultaneously also increased the vulnerability of mobile phone rocking bar directionkeys.
Therefore, how can provide a kind of stroke input method of intelligence, after preface is imported stroke successively, can retrieve the Chinese character of coupling fast, and avoid the possibility of input error to a great extent, and reduce the vulnerability of rocking bar directionkeys simultaneously again, become a difficult problem of pendulum in face of people.
Summary of the invention
The object of the invention is to provide a kind of intelligent stroke input method of keypad, adopts stroke input field, Chinese character candidate regions, stroke member plot structure, searches for continuously with the parts of Chinese character and mates Chinese character, improves input speed with this; With 7~9 keys of key position button options button and switch key as stroke input field, Chinese character candidate regions, stroke member district, the vulnerability of bringing with this multi-pass operations that reduces mobile phone rocking bar directionkeys.
The object of the invention adopts following technical proposals to realize:
" parts " of Chinese character definition among the present invention:, comprise horizontal, vertical, left-falling stroke, right-falling stroke, folding and single character, the combinde rqdical character of stroke by the word-building unit that stroke is formed with assembly Chinese word function.
A kind of intelligent stroke input method of keypad, include keyboard and screen, numerical key 1~5 is represented that respectively five kinds of strokes of Chinese character are promptly horizontal, vertical, is cast aside, presses down, rolls on the keyboard, by of the input of 6 keys as asterisk wildcard, represent any Chinese-character stroke, 0 key is as space bar and separator, and # key or * key are as the punctuate enter key, upper and lower, left and right four direction key is an options button, determines that key and cancel key are respectively in order to confirm and cancellation;
Screen includes text area, stroke input field, Chinese character candidate regions, stroke member district; Described stroke input field is directly embedded into text area or is fixed in below the screen when input, the stroke character below of key entry has the underscore section; Described Chinese character candidate regions, stroke member district follow cursor and float, and the Chinese character candidate regions is positioned at top, stroke member district; Perhaps screen below and Chinese character candidate regions are fixed on a left side in Chinese character candidate regions, stroke member district, and the stroke member district is on the right side;
Chinese-character stroke input method input step of the present invention is as follows:
A, user import the keystroke sequence of stroke character place key as required, show the strokes sequence of being imported in the stroke input field;
B, according to the strokes sequence of stroke input field, in the stroke member district, show all combinations that retrieve stroke member; In the Chinese character candidate regions, show the Chinese character that retrieves the candidate;
C, press directionkeys, cursor enters the Chinese character candidate regions by the stroke input field, select word by left and right directionkeys, as do not have required word, and can press upper and lower directionkeys, the Chinese character candidate regions is turned over screen, occur until required word, select the back to press the acknowledgement key entr screen, press directionkeys after, also can select needed word with numerical key;
D, in input process, can be directly with options button and the switch key of 7~9 keys as stroke input field, Chinese character candidate regions, stroke member district;
E, before non-selected parts, according to the input strokes sequence, retrieve the Chinese character that all comprise this strokes sequence at the Chinese character candidate regions, retrieve all unit constructions that contain this stroke order in the stroke member district; Behind stroke member district alternative pack, the Chinese character candidate regions retrieves all Chinese characters that comprise these parts, and the stroke member district retrieves the unit construction that comprises these parts simultaneously, example circulation according to this, according to the unit construction in stroke member district, in the Chinese character candidate regions, search out required Chinese character continuously.
The present invention has the following advantages:
1, the present invention has adopted independent Chinese character candidate regions and the stroke member district that cursor floats that follow, and neither makes screen seem crowded, does not disturb the input of Chinese character again;
2, the present invention has also adopted the strokes sequence of unique stroke input field to have the mode of underscore, is used for distinguishing Chinese character and stroke character, makes the stroke editing operation more humane;
3, the present invention adopts the continuous search of Hanzi component to select Chinese character, has reduced and has been unfamiliar with the mistake of bringing because of the stroke sequential write or to stroke;
4, the present invention adopts options button and the switch key of 7~9 keys as stroke input field, Chinese character candidate regions, stroke member district, has reduced the damage to rocking bar of using the rocking bar directionkeys to bring because of frequent.
Embodiment
As shown in Figure 1, intelligent stroke input method of the present invention, adopt general mobile phone keyboard and screen, 0~9 key is in order to letter or punctuation mark input on the keyboard, last directionkeys 6, following directionkeys 7, LeftArrow 4, right key 5 four direction keys are in order to select, and definite key 8 and cancel key 9 are respectively in order to confirm and cancellation, after entering input page, include text area on the screen, also be provided with stroke input field 1, Chinese character candidate regions 2 and stroke member district 3, in the present embodiment, character in the stroke input field 1 has the glissade section, Chinese character candidate regions 2, stroke member district 3 follows cursor and floats, and Chinese character candidate regions 2 is positioned at 3 tops, stroke member district or Chinese character candidate regions 2, the screen below is fixed in stroke member district 3, and also Chinese character candidate regions 2 is on a left side, and stroke member district 3 is on the right side;
During input, adopt following steps, input Chinese character tree is example:
As shown in Figure 1, the user imports horizontal " one " and perpendicular " Shu " with button in stroke input field 1, strokes sequence according to input, in Chinese character candidate regions 2, retrieve the Chinese character that comprises strokes sequence, in stroke member district 3, retrieve all unit constructions that comprise this stroke order, the parts " wood " that select " tree " to be comprised this moment;
As Fig. 2, in Chinese character candidate regions 2, retrieve the Chinese character that comprises " wood ", in stroke member district 3, retrieve all unit constructions that comprise " wood ", continue the parts " power " of selecting " tree " to be comprised;
As Fig. 3, in Chinese character candidate regions 2, retrieve the Chinese character that comprises " power ", in stroke member district 3, retrieve the unit construction that comprises " power ", can obtain required Chinese character " tree ";
So circulation can be according to order searching part combination one by one in stroke member district 3 of Fig. 1, Fig. 2, Fig. 3, until retrieve required Chinese character in Chinese character candidate regions 2 till.