A kind of input method of Chinese character
A kind of input method of Chinese character technical field
The present invention relates to a kind of input method of Chinese character, more particularly, to the input method that Chinese character is inputted using touch manner.Background technology
At present, widely used various associating mode input methods, shorten Chinese character input speed.But the speed of the input speed of the Chinese phonetic alphabet and page turning and selection is not significantly improved all the time, one of main bottleneck as restriction Chinese character input speed.Conventional spelling input method completes Pinyin Input by keying in letter one by one, and speed is slow, and the repetition rate of coding is high.
With being widely current for touching type operation interface, the sliding input method of the Chinese phonetic alphabet is occurred in that.A kind of such as Chinese patent literature CN102073445A, it is proposed that auxiliary Chinese pinyin input system based on touch-screen, by constantly changing local keyboard layout, reduces the distance slided, improves Pinyin Input speed.But when inputting same follow-up alphabetical, the letter is not fixed relative to previous alphabetical position so that user needs to slide along different directions according to keyboard prompting when inputting identical follow-up alphabetical, constrains Pinyin Input speed.In addition, existing conventional spelling input method is required for that the operation such as input state is aided in, switches input pattern or set by function key greatly, the Chinese phonetic alphabet and English could be inputted simultaneously, and typically no consideration improves input speed by the input and improvement page turning and selection function of Chinese phonetic alphabet tone.The content of the invention
The present invention proposes a kind of input method of Chinese character, and user can be allowed to be seen without Check on touch interface and point out just can continuously slide input Pinyin letter, so as to improve input speed.
In order to reduce the repetition rate of coding, the present invention provides the function of the input Pinyin tone in input process is slided.When repeated code number of words is still more, the present invention provides the function that page turning and selection are carried out in input process is slided.
In addition, the present invention provides the function of switching Chinese and English in input process is slided, without by additional operation, such as using extra function key.
According to an aspect of the present invention, according to Chinese phonetic alphabet layout rule, non-the first letter can be located at by setting up in the Chinese phonetic alphabet(Collection), phonetic tone and English alphabet and upper and lower, left and right, upper left, lower-left, upper right, the fixed correspondence in eight directions in bottom right, with first letter of pinyin key(Or the portion of initial key
Subregion)For starting point, according to the corresponding relation and the Chinese phonetic alphabet is inputted(Or English alphabet)Alphabetical order, by the way that along the continuous taxi operation of alphabetical correspondence direction, a directing curve can be drawn, for completing the input of the Chinese phonetic alphabet and English alphabet.For the alphabetical sequence of all Chinese phonetic alphabet, if a letter β may follow letter collection (2,(ΐ3,..., after any of a J letter, then for letter concentration any one letter, alphabetical β is always located on same correspondence direction, gp:Complete after the letter concentrates any one alphabetical input, to input letter β, then always can be by continuously slipping in same direction operating to complete alphabetical β input.
The principle that the present invention is used is:, generally only can be with ten letters of a, e, i, o, u, ti, n, g, h, r after any one phonetic alphabet in the Chinese phonetic alphabet, any one letter key has on corresponding(Y-axis is positive), under(Y-axis negative sense), it is left(X-axis negative sense), it is right(X-axis is positive), upper left(With direction where ray that the positive angle of X-axis negative sense and Y-axis is 45 °), lower-left(With direction where X-axis negative sense and ray that Y-axis negative sense angle is 45 °), upper right(With the ray place direction that X-axis is positive and the positive angle of Y-axis is 45 °), bottom right(With the ray place direction that X-axis is positive and Y-axis negative sense angle is 45 °)Several fixed-directions, provide that the length more than L is slided in up and down, left and right, lower-left, upper right, bottom right(L is setting numerical value)Input letter e, a, o, i, n, u, ti are represented respectively.It when alphabetical h is not initial, can only follow after alphabetical z, c, s, and will not be followed after alphabetical ∑, c, s after letter ti, therefore regulation letter z, c, s slide down to the right the length representative input h more than L.When alphabetical r is not initial, it can only follow after alphabetical e, and will not be with alphabetical ti after letter e, therefore regulation letter e slides down to the right the length representative input letter r more than L.It when alphabetical g is not initial, can only follow after alphabetical n, when alphabetical n is not initial, afterwards or without letter or with alphabetical g, therefore provide to slide the length more than L below to the left(Input n is represented, and n must not be now initial)The length that any other direction in addition to lower left, upper left side is slided more than L backward all represents input letter g.In order to be able to input the Chinese phonetic alphabet and English simultaneously in the case where being aided in without using any other function key, regulation slides the length representative input initial correspondence English alphabet more than L from initial key to upper left, if continuing to slide length more than L to any other direction in addition to upper left afterwards, regulation is represented carries out capital and small letter conversion to current English alphabet.Phonetic tone can be inputted by the following method:Initial key surface can be divided into four plane domains, represent respectively high and level tone and softly, rising tone, upper sound, falling tone, determine phonetic tone by sliding starting point positioned at some region of initial key.It can not be divided into the keyboard in multiple tone regions in order to be adapted to single letter key there is provided another tone input mode:Regulation by sliding curve after the input of some phonetic has been completed, when still keeping with inputting interface contact condition, pen
Mark slides the length more than L to upper left side again, represents the tone of the phonetic as high and level tone or softly;If remaining in that the contact condition with inputting interface after the input of high and level tone tone is completed, person's handwriting turns back to the right to the length slided more than L again, and the tone that regulation represents the phonetic is rising tone;If remaining in that the contact condition with inputting interface after the input of high and level tone tone is completed, line of demarcation is made with the straight line of upper left, it is up front, the length more than L is slided with right region to line of demarcation, it is upper sound that regulation, which represents the tone of the phonetic, length more than L is slided with left region to line of demarcation, the tone that regulation represents the phonetic is falling tone.During this tone input scheme input Chinese phonetic alphabet a, e, o, m, it can produce and conflict during with input letter A, a, E, e, 0, o, M, m, prioritizing selection is used as indivedual conflict phenomenons regulation inputting English letter.
The process of one Chinese phonetic alphabet of rule input is as follows more than:Press initial key and complete first letter input, then the length more than L is slided to direction where second letter, complete second letter input, the length more than L is slided to direction where the 3rd letter again, 3rd letter input is completed, by that analogy, remained and inputting interface contact condition during inputting interface, one phonetic of input are departed from after the completion of the phonetic is fully entered.Sliding trajectory formation one is good for curve of the position as starting point using initial, corresponding to unique Chinese phonetic alphabet.
In actual life, the sliding trajectory drawn by hand is difficult the broken line of always standard, and the solution for this problem is:The direction scope of definition is extended to sector region, gp by line:Plane where letter is divided into eight adjacent sectors domain using the letter as the center of circle, one line of travel of each Regional Representative, boundary value is used as using the slope in each sector region and adjacent sectors domain line of demarcation, eight slope intervals accordingly are set up, eight different directions are identified by interval and sector region the diverging direction of slope respectively.As long as line of travel is in sector region, i.e., every slope of sliding trajectory curved section is equal to the broken line for sliding generation in this direction in using fan-shaped both sides slope as the interval range of boundary value on the sliding trajectory J curve effectJ generated.On the sliding trajectory curve of a phonetic is inputted, curved section is intercepted by end points of cut-point, when cut curved section meets following condition, regulation confirms the corresponding alphabetical β of the input direction:
1. the slope value each put is in the corresponding slope interval ranges of some direction Α.
2. the direction of motion each put is consistent with the diverging direction of the corresponding sector regions of direction A.
3. curve segment length is more than 1^.
4. the corresponding alphabetical β of curve line of travel is different from previously input letter α.
The definition of cut-point:If certain point of curve is the origin of curve or terminal, or the interval boundary value of slope of the slope of curve of the point corresponding to curve line of travel, and the point is not knee of curve, then the point is
One cut-point of curve.
Keyboard layout is commonly used at present, and in addition to the independent button of every letter correspondence, also a kind of keyboard layout, every three or four letters correspond to same button, present invention provide that the mode of input Pinyin initial is using its original mode on the keyboard:After initial key is pressed, operated if not done by taxi operation or word selection, initial key is pressed again and then represents that initial should select second letter on the key, similarly initial can be chosen to be the 3rd or the 4th letter on the key.The input process of its follow-up alphabetical sequence is consistent with methods described before.
According to one embodiment of the invention, Chinese character coding input method includes:Multigroup letter that the non-initial collection of the Chinese phonetic alphabet will be constituted regularly corresponds to multiple directions, wherein every group of letter includes the non-initial of one or more Chinese phonetic alphabet;Receive the input for the initial that user inputs to phonetic transcriptions of Chinese characters;Catch user's continuous sliding trajectory curve for sliding and producing on touch input interface;According to the direction for sliding each efficiency curve section in order identification sliding trajectory curve;And according to slide order from direction fixations with each efficiency curve section it is corresponding one group it is alphabetical in select one or more candidate letters, be sequentially arranged in after initial to constitute pinyin sequence;And determine one or more candidate Chinese characters according to pinyin sequence and be presented on touch input interface.
Beneficial effects of the present invention:
1, which only needs one, just can input a Chinese phonetic alphabet, or greatly(It is small)Write English alphabet.
2. the Chinese phonetic alphabet repetition rate of coding can be reduced with input Pinyin tone simultaneously in input Pinyin.
3. being inputted using the mode of sliding, input speed is improved.
4. letter and the corresponding relation of all directions are fixed, user need to only remember that each self-corresponding letter in eight directions or function just can be grasped skillfully within a very short time.
5. user can set adjustment letter and the fixed correspondences of all directions according to itself preference, and all directions correspondence sector region scope, be conducive to improving input speed, enhancing fault-tolerance, improve Consumer's Experience.Summary of drawings
Feature, the performance of the present invention is further described by following embodiment and its accompanying drawing.
Fig. 1 is letter according to an embodiment of the invention and the corresponding relation schematic diagram in direction.
Fig. 2 is letter according to another embodiment of the present invention and the corresponding relation schematic diagram in direction.
Fig. 3 is the schematic diagram according to an embodiment of the invention for sliding input Pinyin tone.
Fig. 4 is the schematic diagram according to another embodiment of the present invention for sliding input Pinyin tone.
Fig. 5 is the schematic diagram of the input Pinyin tone according to further embodiment of this invention.
Fig. 6 is the sliding trajectory schematic diagram for the phonetic for inputting example sentence " Hi phonetic letters are settled from this ".Fig. 7 is the sliding trajectory schematic diagram for the phonetic for inputting example sentence " Chinese character input is settled from this ".Fig. 8 be inputting English letter in English input phase ' " with " h " sliding trajectory schematic diagram.
Fig. 9 is the corresponding relation schematic diagram in page turning and selection function and direction in the page turning choice phase according to an embodiment of the invention.
Figure 10 is to input " summary " word phonetic to slide curve synoptic diagram.
Fig. 11 is to input " flower " word phonetic to slide curve synoptic diagram.
Figure 12 is letter or the corresponding relation schematic diagram in function and direction in embodiments of the invention.
Figure 13 is the exemplary touch inputting interface of one embodiment of the invention.
Figure 14 is the process that input " cinder " word is slided in touch input interface of one embodiment of the invention.Figure 15 shows the input method flow chart of one embodiment of the invention.
Figure 16 shows the input method flow chart of another embodiment of the present invention.
Figure 17 shows the input method flow chart of further embodiment of this invention.The preferred forms of the present invention
The following detailed description of embodiments of the invention; but embodiment disclosed in this specification is an illustration to folk prescription region feature of the present invention; protection scope of the present invention not limited to this embodiment, the embodiment of other any function equivalents is each fallen within protection scope of the present invention.In addition to the content that this specification has been described, those skilled in the art can equally fall within the scope of protection of the present invention according to other modifications for being described above and instructing to be clearly understood that the present invention and make model and method of the invention.
According to current Chinese phonetic alphabet layout rule, it can be followed in phonetic in other letters(Such as initial or other letters)Letter collection below is { a, e, g, h, i, m, n, o, r, u, ti }.In the specific implementation, this letter collection can be adjusted according to required character set.For example, m can be only followed after h as the non-initial of phonetic, the corresponding Chinese characters of hm are few and are of little use, it is possible to m is not added into non-initial collection.
These letter collection are divided into some groups, each group of letter may include one or more letters by embodiments in accordance with the present invention.For example, it can be grouped according to frequency of use, by the high letter of frequency of use
Individually it is divided into one group.Each group letter by with a fixed directional correlation.Multigroup letter is then associated with multiple directions correspondingly and regularly.After being slided in one direction on inputting interface, this direction will be identified, and filter out the letter of association accordingly.It is understood that when carrying out above-mentioned layout, the quantity in direction can change, but will be limited by the precision of user's operation and identification, 8 are usually no more than.
Each letter and the corresponding relation in eight directions according to an embodiment of the invention that can be followed after other letters is denoted in Fig. 1.Wherein, the direction that δ is indicated is for inputting English letter, or by sliding the input phase into phonetic tone along δ directions after the completion of phonetic alphabet sequence inputting.
In Fig. 1, in the Pinyin Input stage, reference axis is a little set up for the origin of coordinates with input plane, and determine(Υ axles are positive), under(Υ axle negative senses), it is left(X-axis negative sense), it is right(X-axis is positive), upper left(Be 45 ° with the positive angle of X-axis negative sense and Υ axles), lower-left(Be 45 ° with X-axis negative sense and Υ axle negative sense angles), upper right(It is positive and the positive angle of Υ axles is 45 ° with X-axis), bottom right and X-axis forward direction and Υ axle negative sense angles be 45 °) eight directions.Being set in up and down, left and right Pinyin Input stage, lower-left, upper right slides coverage and represents input letter e, a, o, i, n, ti or r or h, u^g o respectively
Fig. 2 is letter according to another embodiment of the present invention and the corresponding relation schematic diagram in direction.As shown in Fig. 2 in the Pinyin Input stage, a little setting up reference axis for the origin of coordinates with input plane, and determine(Y axles are positive), under(Y-axis negative sense), it is left(X-axis negative sense), it is right(X-axis is positive), upper left (being 45 ° with the positive angle of X axles negative sense and Y-axis), lower-left(Be 45 ° with X-axis negative sense and Y-axis negative sense angle), upper right(It is positive and the positive angle of Y-axis is 45 ° with X-axis), bottom right and X-axis forward direction and Y-axis negative sense angle be 45 °) eight directions.It is respectively the first function direction 3 that upper left, which is set, with bottom right1With the second function direction δ2, the two function directions can carry out various definition, the example definitions that an embodiment of the present invention will be described hereinafter.Being set in up and down, left and right Pinyin Input stage, lower-left, upper right slides coverage and represents input letter i, a, o, e, n or ti or h or m, u or r or g respectively.
To improve input efficiency, some particular provisions can be carried out.For example, regulation e slides to the right coverage and represents input letter u and g in same direction when being initial, ng conflicts with nu, because the corresponding Chinese characters of phonetic ng all can be directly displayed out by phonetic n, so regulation n slides input Pinyin nu to upper right;Regulation h does not slide input Pinyin hm after sliding to left down to other alphabetical directions, if h continues to slide input Pinyin hng on to the right after sliding to left down.
To reduce the repetition rate of coding, Chinese phonetic alphabet tone can be introduced.After the completion of setting phonetic alphabet input, to s
2Slide coverage and carry out phonetic tone input in direction.
Illustrate successively in figure 3 high and level tone and softly, rising tone, upper sound, the corresponding sliding trajectory of four tones of falling tone.Point α represents End of Curve when phonetic alphabet sequence inputting is completed, and curve is slided if not terminating, and continuation is slided by direction shown in figure just can complete the input of the phonetic tone.
Fig. 4 is the schematic diagram according to another embodiment of the present invention for sliding input Pinyin tone.As shown in figure 4, being completed and to δ when phonetic alphabet are inputted2After direction is slided, if now not to 3 and δ2Outside other directions continue to slide then regulation input falling tone;If continuing to left down(Or under), right, upper right(Or on)Slide coverage regulation represent respectively input high and level tone or softly, rising tone, upper sound.
Alternatively, other modes can be used to input tone, such as central part in Fig. 1, initial key is divided into 4 regions.Fig. 5 shows more specifically example, with reference to embodiment illustrated in fig. 5, a represents first letter of pinyin key, initial key is divided into 4 regions, can complete the input of phonetic tone by sliding region residing for starting point, wherein region 1,2,3,4 correspond to respectively high and level tone or softly, rising tone, upper sound, falling tone.
When repeated code number of words is still more, the function that page turning is carried out in input process is slided can be introduced into.As shown in Fig. 2 entering the page turning choice phase if being slided to direction, exemplary page turn over operation reference picture 9 will be described later.
As it was previously stated, δ2The direction of instruction may further be used to realize the switching inputted from input in Chinese to English.Exemplary English input operation reference picture 8 will be described later.In δ2Have simultaneously in/embodiment that inputs of English switching and tone in, the input Chinese phonetic alphabet containing tone, e, o, m can be produced with defeated A a, e, o, m English upper and lower case letter and conflict, can specify that preferential input English to avoid conflicting.
In the embodiment shown in fig. 6, by inputting the phonetic of example sentence " Hi Pinyin Inputs are settled from this ", the input Chinese phonetic alphabet is demonstrated(Containing tone)With the sliding trajectory of English upper and lower case letter.The tone of the wherein phonetic of " letter " two words is inputted using the mode of sliding, the different zones of the phonetic of other Chinese characters letter key according to residing for starting point confirm the phonetic tone, wherein four regions marked as 1,2,3,4 correspond to respectively high and level tone and softly, rising tone, upper sound, falling tone.
In the embodiment shown in fig. 7, during the phonetic of input " Chinese character input is settled from this ", also two kinds of different tone input schemes have been respectively adopted, the tone of " Chinese character input " four words is inputted by slide action, and remaining Chinese character tone slides the tone region of the affiliated initial key of starting point to input by identification.Wherein square expression initial key, in rhombus letter represent to slide into the letter or tone inputted during the position, initial key with 4 tone regions of 1,2,3,4 signs respectively corresponding high and level tone or softly, rising tone, upper sound, go
Sound.If not continuing to slide after completing Pinyin Input, but start again at new pinyin sequence input, current pinyin sequence can then be kept in, after the phonetic of Chinese character sequence the last character to be entered, continue to slide coverage into the page turning choice phase to Si directions.
In one embodiment, according to Chinese phonetic alphabet layout rule, the fault-tolerant input of illegal phonetic alphabet sequence that can be to input.For example, sliding input alphabetical sequence ag, middle can leak defeated alphabetical n, then inputs alphabetical sequence ang, similar og or on correspondence input ong.For example, after the input for completing letter i and another letter input is slided, the input of letter 0 is completed again, then be converted into legal alphabetical sequence iao, similar conversion b-e ("-, represent that any one is alphabetical)For bie, ug or u-g or u ~ g is uang, di-n is dian, di-o is diao, f-i is fei, j-a is jia, ji-o is jiao, li-o is liao, mi-o is miao, ni-o is niao, pi-o is piao, q-a is qia, qi-o is qiao, sh-o is shao, sh-o is shuo, ti-n is tian, ti-o is tiao, x-a is xia, jio- is jiong, an- is ang, en- is eng, in- is ing, on- or o-it is ong, o- is ou, ti- is tie.Such as j, q, x, y are slided to upper right (u) or lower-left (ti) can all input ju, qu, xu, yu.
In embodiment as shown in Figure 8, the process that English lower case h and capital H are inputted under the non-opening of " caps lock " function is illustrated.Click on after initial h keys to δ2Direction is slided, then into English alphabet input phase, when to δ2Slide rear end of input and then export corresponding English alphabet in direction.When to δ2End of input is slided after coverage after sliding to other any directions again and capital and small letter conversion then is carried out to English alphabet and exported in direction.
In one embodiment, special glide index can be set to complete English word input.Specifically, a closed polygon is arbitrarily drawn on initial key since initial key(Or defined other opening flags)After continue to slide to other letters, then into English word input phase, continuation slides to keyboard position where follow-up English alphabet successively, passes through and a closed polygon is arbitrarily drawn on a certain letter key(Or defined other expressions repeatedly input mark)Realization continuously inputs the letter twice.When sliding into the last letter key, an any enclosed polygon is drawn the letter key more(Or defined other end marks)Afterwards and to Si or δ2Direction, which is slided, then enters the page turning choice phase(Or directly slide completion selection input to alternate item sequence number correspondence direction).
In embodiment as shown in Figure 9, alphabetical sequence input completes backward Si directions and slides coverage into the page turning choice phase.One page is turned over by continuing to slide once to the function direction different from previous line of travel, page turning direction is changed by double slide to same function direction.Specifically, to 31And δ2Direction
Often alternately slide and once turn over one page, to (or δ2) direction pauses after sliding and continue to (or δ2) slide, then page turning direction is from being changed into forward backward or from being changed into backward forward.After the page where sliding Chinese character sequence needed for page turning is found or English alternate item, to left down, upper right, upper and lower, right, left the alternate item that coverage represents selection input serial number 1,2,3,4,5,6 respectively is slided.If the number of alternate item is more than 6, completion selection input can continuously be slided successively to several digital corresponding directions after fractionation by the numeral that splits into the sequence number within multiple 6 respectively;Can also dynamic generation respective numbers line of travel and be prompted to user, user slides to prompting direction and inputs the alternate item of corresponding sequence number.
In addition to using page turning selection is slided, the present invention can also carry out page turning in other ways.Can be by sliding into a certain alternate item or clicking directly on page-turning button and alternate item progress selection input in a traditional way for example in input process.
After the page turning choice phase is entered, if not done by selection, but start new giving tacit consent to when once sliding input and input first alternate item.Slide during page turning, as long as page turning sliding trajectory is carried out not in keyboard area, sliding trajectory can be interrupted.
In the embodiment shown in fig. 10, demonstrate by a curve to complete " to omit " input of word phonetic.In actual use, the sliding trajectory that user in most cases draws all is curve, and Figure 10 describes by analyzing sliding trajectory curve the specific method of the input to complete the phonetic.Its middle conductor L length 1QTo confirm the shortest length of necessary efficiency curve section during one letter of input.According to Fig. 1, letter is corresponding with lower right, OA and Ο Β slope be lower right corresponding slope interval a, b) and boundary value.Started using certain point O in No. 4 regions of initial 1 as starting point(The input of initial 1 and phonetic tone is completed)When lower right corresponding to alphabetical ti slides into M points, it is found that the slope of curve at M points is equal to slope interval(A, b) boundary value, and M is not knee of curve, then M is a cut-point.It is more than 1 by calculated curve section OM lengthQ, on OM slope a little all in interval(A, b) in the range of and to the right to sliding, alphabetical ti is different from previous alphabetical 1, meet confirm letter input condition, letter input complete.Continue to slide to the right along curve until Ν points by Μ points, it is the interval boundary value of the corresponding slope of right direction to find Ν points slope, and Ν points are not flex points, and Ν is a cut-point.Calculated curve section Μ Ν length, finds to be less than 1Q, MN is not effectively to slide curve, it is impossible to confirm letter i input.Similarly continue to slide along curve from N points to upper right side until cut-point P, same curved section NP length is less than 1Q, it is not effectively to slide curve, it is impossible to confirm upper right corresponding alphabetical u or g input.Continuation is slided upward along curve, until the curved sections PT of terminal 1 is a little slided upward
OK, the slope each put is determined by boundary line PE and PF in slope interval range, and PT length is more than 1Q, and letter e is different from previous alphabetical ti, meets the condition for confirming letter input, alphabetical e inputs are completed, and the Pinyin Input of " summary " word is completed.
In embodiment as shown in figure 11, demonstrate by a curve to complete " to spend " input of word phonetic.The input of the phonetic is completed by analyzing sliding trajectory curve.Ray and 1 in figure2、 12With 13、 13With 14,14With 15The direction region of composition corresponds to u/r/g, e/e, the second function direction and letter respectively.Ray is parallel to 12Parallel to 12' and 12", 13Parallel to 13', 14Parallel to 15Parallel to 15'; 12"、 13', with the sliding trajectory curve of input Pinyin each be tangent with point M, N, P.Line segment L length is 1, represents effectively to slide beeline once to a direction.
If it is 1 to slide coverageQ.Since letter key h high and level tone tone region point O, slided to the corresponding direction regions of second letter u until point M, now curved section OM line of travel is in same direction region, and length is more than 1Q, complete alphabetical u input;Continue to slide into point N, curved section MN line of travel is in same direction region, but its length is less than 1Q, without any input;Continue to slide into point P, similarly without any input;Continue to slide into point Q, curved section PQ in same direction region, and its length is more than 1., complete alphabetical a input.So far, the Pinyin Input of " flower " word is completed, and the page turning choice phase is entered if continuing to slide from point Q to the first function direction.
In embodiment as shown in figure 12, the technical characteristics of technical solution of the present invention are illustrated.
Description more than, summarizes the input method flow chart of one embodiment of the invention shown in Figure 15.Shown in reference picture 15, flow is as follows:
Step 151, the multigroup letter that will constitute the non-initial collection of the Chinese phonetic alphabet regularly corresponds to multiple directions, wherein every group of letter includes the non-initial of one or more Chinese phonetic alphabet.The example of this corresponding relation is seen in the embodiment described by reference picture 12.Here, due to this " regularly corresponding to " relation, sliding in the direction must can input the letter, and inputting the letter be able to must be completed by slide action in the direction.
In step 152, the input for the initial that user inputs to phonetic transcriptions of Chinese characters is received.
In one embodiment, a touch input interface can be first presented as shown in Figure 13, this touch input interface comprises at least the initial that phonetic transcriptions of Chinese characters is inputted, and allows user to complete the input of initial by clicking on the virtual key of initial.It is to be understood that, user can still input this initial by modes such as physical keyboard or strokes.
After input initial, user can start continuously to slide input on touch input interface using initial as starting point.
In step 153, user's continuous sliding trajectory curve for sliding and producing on touch input interface is caught.Preferably in real time in step 154 in capture-process, according to the direction for sliding each efficiency curve section in order identification sliding trajectory curve.Referring for example to shown in Figure 14, in the continuous taxiing procedures of user, each efficiency curve section will all be captured, and be recognized its line of travel in real time.
As shown in Figure 12, using initial as the center of circle, touch input interface is divided into represent it is multiple(It it is 8 in Figure 12, wherein there is 6 directions corresponding with non-initial)The sector region in direction, the slope on two sides of each sector region is interval as boundary value one slope of composition.Then it may determine that slope interval belonging to the slope value each put of efficiency curve section is come and line of travel recognizes the direction of efficiency curve section.It is consistent for the operating habit to greatest extent with user, each sector region scope can also be partly overlapped or be isolated from each other with adjacent.When sector region is overlapping, lap slide curve can respectively with it is front and rear it is adjacent slide curved section composition it is new slide curved section, and to it is new slide curved section and carry out validity identification complete correspondence letter input.It is also understood that the range areas corresponding to all directions can be regular figure or irregular figure.For example:The unidirectional sector region of correspondence, can be curve as two sides on its border.
In one embodiment, each efficiency curve section is distinguished by recognizing the cut-point in sliding trajectory curve.Exemplary method is:If certain point on sliding trajectory curve is the origin of curve or terminal, or the interval boundary value of slope of the slope of curve of the point corresponding to curve line of travel, and the point is not knee of curve, then the point is a cut-point of curve.Furthermore it is possible to by judge the curve segment length in sliding trajectory curve whether more than a predetermined length come judgment curves section whether be efficiency curve section.The segmentation of curve and the judgement example of efficiency curve section are shown in Figure 10 and Figure 11.
In step 155, according to slide order from direction fixations with each efficiency curve section it is corresponding one group it is alphabetical in select candidate letter, be sequentially arranged in after initial to constitute pinyin sequence.The example of direction output candidate letter according to efficiency curve section is shown in Fig. 6 and Fig. 7.Herein, although showing that a direction may have multiple non-initials in Figure 12 example, but filtered by the algorithm for meeting Chinese phonetic alphabet rule, candidate letter can be reduced into one in alphabetical input process, or letter input after the completion of, it would be possible to pinyin sequence shrinkage limit be one.
In step 156, determine one or more candidate Chinese characters according to pinyin sequence and be presented on touch input circle
On face.Here, user can select the Chinese character to be inputted from candidate Chinese character.
There is provided by continuing to slide to select the function of Chinese character in step 157, i.e., in response to user to the sliding trajectory in a direction corresponding with page turning input function, page turning and selection state into candidate Chinese character.Return to shown in Figure 12, this direction is Si directions.After this state is entered, the corresponding relation of multiple directions and multiple selection sequence numbers of candidate Chinese character is set up in step 158.For example in fig. 12, sequence number 1-6 is corresponded into multiple directions respectively, now these directions no longer correspond to letter.
Finally in step 159, the sequence number of candidate Chinese character is determined to the sliding trajectory of one of multiple directions in response to user.For example when user continues to slide to upper right, the corresponding candidate Chinese character of sequence number 2 is selected.
Figure 16 shows the input method flow chart of another embodiment of the present invention.This flow introduces tone input, and wherein initial is divided into four regions, and high and level tone, rising tone, upper sound, four tones of falling tone are represented respectively(Shown in reference picture 5).Shown in reference picture 16, in step 160, determined according to since the region that the sliding trajectory origin of curve initial is fallen into the tone of the pinyin sequence initial.In step 166, determine one or more candidate Chinese characters according to pinyin sequence and tone and be presented on touch input interface.Step 151- 155 shown in other steps 161- 165,167-169 and Figure 15,157- 159 are identical, no longer describe herein.
Figure 17 shows the input method flow chart of further embodiment of this invention.This flow equally introduces tone input.Step 171-175 is identical with the step 151- 155 shown in Figure 15, in step 176, in response to sliding trajectory from user to a direction corresponding with tone input function, enter entering tone input state, and a tone is determined according to sliding trajectory of the user in tone input state and pinyin sequence is assigned.In step 177, determine one or more candidate Chinese characters according to pinyin sequence and tone and be presented on touch input interface.Step 178-180 is identical with the step 157-159 shown in Figure 15.
Here, in Figure 15-17 illustrated embodiments, English input state can also be switched to from Pinyin Input state, its example is as shown in Figure 8.
The Chinese character coding input method of the present invention may be embodied as software, and be installed in the electronic equipments such as the mobile phone with touch-screen, tablet personal computer.Figure 13 is the exemplary touch inputting interface of one embodiment of the invention, and possible initial in the Chinese phonetic alphabet is shown in Figure 13.After initial is inputted, you can slide input to proceed by.It is preferred that this touch input interface is located at touch-screen middle position, to allow freely to slide to all directions since all letters.But, when the such screen area of mobile phone be limited equipment in, can
To set some particularly to provide, situation about being slided with the letter tackled positioned at interface edge without the direction beyond normal direction edge.
For example, e is located at left column in figure, coasting distance is limited to the left, therefore the n of continuation input lower left has difficulties.Due to will not be with after e, therefore can certain point is downwards from e keys or lower-left slides any distance and can complete n input with special provision.And for example, f and w is located at right column, and coasting distance is limited to the right, therefore provides from f keys certain point to the right or slide any distance to upper right and can complete e or u input.Initial is located at the phonetic at keyboard edge, is started writing after can also clicking on the initial, directly is slided to complete Pinyin Input to nonbonding disk area.
The detailed process of Chinese character " cinder " is inputted in Figure 14 on mobile phone, input Pinyin, tone and the process for carrying out page turning selection are demonstrated in detail.As shown in Figure 14 (a), j keys are clicked on touch interface 141, now possible Chinese character are shown on interface 141, such as just, family.As shown in Figure 14 (b), coverage is slided upwards since j keys, inputs letter i, now continue to show possible Chinese character on interface 142, such as " machine, " level ".As shown in Figure 14 (c), continue direction to left down and slide coverage, input letter n, now continue to show possible Chinese character on interface 143, such as " entering ", gold ".As shown in Figure 14 (d), continue to the right to coverage is slided, input tone is falling tone, now continue to show possible Chinese character on interface 144, such as " entering ", " near ".Due to expecting input Chinese character " cinder " not in alternate item, such as shown in Figure 14 (e), continue to slide coverage to upper left, select page-turning function.As shown in Figure 14 (f), continue to the right to coverage is slided, alternate item page turning now shows possible Chinese character on interface 146, such as " leaching ", " ".As shown in Figure 14 (g), continue to slide coverage to upper right, sequence number 2 is selected on interface 147, complete the input of " cinder ".