Summary of the invention
The purpose of the present invention is to provide it is a kind of letter input processing method, it is intended to solve it is existing in the prior art by
Very limited in the screen size of touch screen itself, the keyboard arrangement of full keyboard mode is very compact, and user clicks soft keyboard and presses
The accuracy rate of key will receive very big influence, often shows non-and is pressed, and greatly reduce input experience and the input efficiency of user
The problem of.
The invention is realized in this way a kind of processing method of letter input, the described method comprises the following steps:
Receive the corresponding coordinate of key clicked on soft keyboard;
According to preset threshold, the alphabet key on the coordinate periphery is judged;
When receiving end of input instruction, the monogram of all alphabet keys is shown, for selection by the user just
True monogram is inputted.
Another object of the present invention is to provide it is a kind of letter input processing system, the system comprises:
Coordinate receiving module, for receiving the corresponding coordinate of key clicked on soft keyboard;
Judgment module, for judging the alphabet key on the coordinate periphery according to preset threshold;
Display module, for showing the monogram of all alphabet keys when receiving end of input instruction, with
Correct monogram is selected to input for user.
In the present invention, the key on soft keyboard is clicked by user, a certain range of key is all near click on area
As the key effectively inputted, by the spelling rules of phonetic and the word dictionary of English, which monogram category be determined with
In effective input, and monogram is provided by way of candidate, such user does not just have to worry very much point when clicking screen
The accuracy of position is hit, as long as guaranteeing to be in the main true, so that clicking input method in spelling or English word input
It is able to be more convenient, faster and more intelligent application.
Specific embodiment
In order to which the purpose of the present invention, technical solution and beneficial effect is more clearly understood, below in conjunction with attached drawing and implementation
Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used to explain this hair
It is bright, it is not intended to limit the present invention.
In embodiments of the present invention, user clicks the key on soft keyboard, a certain range of key near click on area
All as the key effectively inputted, by the spelling rules of phonetic and the word dictionary of English, which monogram be determined with
Belong to effective input, and provide monogram by way of candidate, such user does not just have to worry very much when clicking screen
The accuracy of click location inputs so that clicking input method in spelling or English word as long as guaranteeing to be in the main true
In be able to be more convenient, faster and more intelligent application.
Referring to Fig. 4, the implementation process of the processing method for letter input provided in an embodiment of the present invention comprising following
Step:
In step s101, the corresponding coordinate of key clicked on soft keyboard is received;
In step s 102, according to preset threshold, judge the alphabet key on the coordinate periphery;
Wherein, the threshold value can be area size, at this point, judging within the scope of the area size on the coordinate periphery
Alphabet key.
In embodiments of the present invention, after the alphabet key for judging the coordinate periphery the step of, further include
Following steps:
Highlight the alphabet key judged.
Wherein, the highlighted mode of alphabet key specifically include that alphabet key is highlighted, with different with other words
The display color of female key shows the alphabet key judged to be differentiated.As long as it is understood, however, that can incite somebody to action
The mode that the alphabet key and other alphabet keys judged differentiate, should all be included in the protection scope of the present invention.
In step s 103, when receiving end of input instruction, the monogram of all alphabet keys is shown, with
Correct monogram is selected to input for user.
Wherein, monogram includes: phonetic alphabet combination either English word monogram.
It in embodiments of the present invention, further include following step before the step of described when receiving end of input instruction
It is rapid:
Whether judgement receives touching instruction within a preset time interval, if being not received by touching instruction, generates
End of input instruction;Otherwise it continues waiting for receiving touching instruction.
In embodiments of the present invention, the step S103 is specifically included:
When receiving end of input instruction, according to the spelling rules of phonetic, by the corresponding word of all alphabet keys
Mother is combined into effective phonetic, shows the phonetic, and correct phonetic is inputted for selection by the user.
Alternatively,
When receiving end of input instruction, according to the word dictionary of English, by the corresponding word of all alphabet keys
Mother is combined into effective English word, shows the English word, and correct English word is inputted for selection by the user.
Carry out the operation of the processing method for the letter input that the present invention is described in detail embodiment provides below by citing
Journey.
Fig. 5 to Fig. 8 is please referred to, for the demonstration of the quick sliding input mode of spelling input.
Original state: any key on soft keyboard all effectively, can input;
For example, input " flower ":
Finger presses h key, but the contact of pressing h key near zone containing lid, and dot region is user's contact region, such as
Described in Fig. 5.
After finger down h key, according to preset threshold value, judge that the key that contact is related to includes h, b and g, at this moment h is pressed
Key, b key and g key are highlighted, for prompting these three keys of user to all can serve as effectively to input;
It is lifted from h key, quickly clicks u key, the effective key generated has y, u, h, as shown in Figure 6;
It is lifted from u key, quickly clicks a key, the effective key generated is a, s, as shown in Figure 7;
After lifting from a key, pause does not have key-press input slightly for a long time, determines primary complete spelling end of input, this
When, show effective pinyin candidate as shown in Figure 8: hua, gua, other such as hus, bua are invalid according to Pinyin rule
Input, and remaining hua, gua are sorted according to the accurate degree of approach that user inputs, preferred in this way is exactly substantially with the pre- of user
Want to input closest.
The processing method of letter input provided in an embodiment of the present invention is suitable for the input of intelligent English word, rule simultaneously
It is then the permutation and combination according to the English word in English dictionary.For example want to input ask, it is only necessary to respectively in a, s, k tri-
Key is nearby quickly clicked, and the character candidate that a certain range in the region clicked according to user generates passes through the English in dictionary
Literary word dictionary is inquired, and non-effective word is removed, principle is the same with Pinyin Input.
From the foregoing, it will be observed that user can quickly click when inputting spelling, do not need especially accurately to be mapped to correct
Key, by certain time interval, to terminate primary complete Pinyin Input, i.e., when user inputs the interval time clicked
When too long, then it is assumed that user completes primary complete spelling input, then according to the combination rule of phonetic, is inputting
Effective input monogram after the key that dynamic change is pressed in journey is candidate, and user can directly quickly select in candidate
The combination of oneself anticipation input, the pinyin candidate word sequence that preferential display input key most accurately combines at this time.
Referring to Fig. 9, the structure of the processing system for letter input provided in an embodiment of the present invention.For ease of description,
Only parts related to embodiments of the present invention are shown.
The processing system of the letter input includes: coordinate receiving module 102, judgment module 104 and display module
106。
Coordinate receiving module 102 receives the corresponding coordinate of key clicked on soft keyboard;Judgment module 104 is according to default threshold
Value, judges the alphabet key on the coordinate periphery;When receiving end of input instruction, display module 106 shows all institutes
The monogram of alphabet key is stated, correct monogram is inputted for selection by the user.
As a preferred embodiment of the present invention, the processing system of the letter input further include: highlight module.
It is described to highlight module, for highlighting the alphabet key judged.
In embodiments of the present invention, the processing system of the letter input further include: instruction judgment module, instruction generate mould
Block.
Judgment module is instructed, for judging whether receive touching instruction within a preset time interval, if not receiving
To touching instruction, then command generation module generates end of input instruction;Otherwise it continues waiting for receiving touching instruction.
As another preferred embodiment of the present invention, the processing system of the letter input further include: Chinese phonetic alphabet combination module.
When receiving end of input instruction, the Chinese phonetic alphabet combination module, will be all described according to the spelling rules of phonetic
The corresponding monogram of alphabet key shows the phonetic at effective phonetic, by display module 106, for selection by the user just
True phonetic is inputted.
As further embodiment of the present invention, the processing system of the letter input further include: English word combination die
Block.
When receiving end of input instruction, the English word composite module will own according to the word dictionary of English
The corresponding monogram of the alphabet key shows the English word by display module 106 at effective English word, with
Correct English word is selected to input for user.
In conclusion the embodiment of the present invention clicks the key on soft keyboard, certain model near click on area by user
The key enclosed is all as the key effectively inputted, by the spelling rules of phonetic and the word dictionary of English, which to be determined with
Monogram belongs to effective input, and monogram is provided by way of candidate, when such user clicks screen just not
With the accuracy of click location is worried very much, as long as guaranteeing to be in the main true, so that clicking input method in spelling or English
It is able to be more convenient in word input, faster and more intelligent application.
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, the program can be stored in a computer-readable storage medium
In, the storage medium, such as ROM/RAM, disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.