Summary of the invention
According to a preferred aspect of the present invention, provide a kind of be used to discern hand-written in interface that electronic installation links to each other on the input field on the method for write the two or more syllables of a word together character, this method comprises the steps:
A. receive the hand-written write the two or more syllables of a word together character that is written on the input field;
B. show hand-written write the two or more syllables of a word together character in the input field;
C. standardization and identify in the hand-written write the two or more syllables of a word together character each, thus a plurality of standard characters provided;
D. connect and show a plurality of standard characters in the viewing area of interface; And
E. the hand-written write the two or more syllables of a word together character of input field that fades out, thus make next at least hand-written character can be written on the input field.
Hand-written write the two or more syllables of a word together character can form a word.At least another hand-written character can link to each other with hand-written write the two or more syllables of a word together character.If word comprises a character that can not be identified, can show the popup menu of possible word in the viewing area.
Can wait until that hand-written write the two or more syllables of a word together character just fades out when almost disappearing.Alternatively or in addition, also can after disappearing, character just fade out.
The write the two or more syllables of a word together that are shown in the standard character of viewing area last till that write the two or more syllables of a word together finish.Can finish write the two or more syllables of a word together by instruction of from space, " input " key and punctuation character, selecting of input.
The order that can be written into the input field with hand-written write the two or more syllables of a word together character of fading out of the demonstration of hand-written write the two or more syllables of a word together character is carried out in the input field.Fading out can be that brightness dies down gradually, up to the hand-written write the two or more syllables of a word together character complete obiteration in the input field.When fading out of hand-written write the two or more syllables of a word together character demonstration finished, described Next at least hand-written character just can be written into the input field.
Fade out in the demonstration of the character of the hand-written write the two or more syllables of a word together character of input field and can start from after this character is by standardization and identification.The hand-written write the two or more syllables of a word together character that shows in the input field can be exactly hand-written hand-written write the two or more syllables of a word together character in the input field.
According to a further preferred aspect of the present invention, provide a kind of be used to discern hand-written in interface that electronic installation links to each other on the input field on the method for hand-written write the two or more syllables of a word together character, this method comprises the steps:
(a) receive the hand-written write the two or more syllables of a word together character that is written within the input field;
(b) the hand-written write the two or more syllables of a word together character within the demonstration input field;
(c) standardization and identify in the hand-written write the two or more syllables of a word together character each, thus a plurality of standard characters provided;
(d) in the viewing area of interface, connect and show a plurality of standard characters; And
(e) continuation links up the standard character that shows in the viewing area up to write the two or more syllables of a word together and finishes.
Can finish write the two or more syllables of a word together by instruction of from space, " input " key and punctuation character, selecting of input.
According to a further aspect in the invention, provide a kind of electronic installation, it comprises a processor; Input interface with an input field and a viewing area; And an input interface that is connected to described processor, wherein, in the use, when writing hand-written write the two or more syllables of a word together character in the input field, processor is carried out following step:
A., the character of a plurality of standards is provided, shows hand-written write the two or more syllables of a word together character in the input field;
B. with each character standardization of the hand-written character of write the two or more syllables of a word together and identify;
C. connect and show a plurality of standard characters in the input field of interface;
D. the hand-written write the two or more syllables of a word together character that the input field shows that fades out, thus next at least hand-written character can be written within the input field.
The input field can be smaller with respect to the viewing area.
Embodiment
In whole accompanying drawings, identical character is used for representing components identical among the different figure.
With reference to Fig. 1, there is shown electronic installation 1, typically be a radio communication device or PDA, it comprises a radio frequency communications unit 2, is connected communication with processor 3.The input interface of touch-screen 5 and optional key 6 forms also is connected communication with processor 3.
Processor 3 comprises a coder/decoder 11 and a ROM (read-only memory) that is attached thereto 12, stores the data that are used for Code And Decode audio frequency or other signal of being sent or being received by electronic installation 1 in the storer 12.Processor 3 also comprises a microprocessor 13, is connected to coder/decoder 11 by bus, the character ROM (read-only memory) 14 that random access memory 4 is relevant with.Microprocessor 13 also with optional key 6, touch-screen 5 links to each other with a static programmable memory 16.
The auxiliary output of microprocessor 13 is connected to a reminding module 15, and it typically comprises a loudspeaker, vibrator motor and relevant driver.The code of the text message that having on the character ROM (read-only memory) 14 is used for decoding or encode can be received by communication unit 2 is imported by touch-screen 5 inputs or by optional key 6.In the present embodiment, also store the operation code (OC) that is used for microprocessor 13 on the character ROM (read-only memory) 14.Operation code is used to move the application program on the electronic installation 1.
Radio frequency communications unit 2 combines Receiver And Transmitter, and has a shared antenna 7.Communication unit 2 has a transceiver 8, is connected with antenna 7 by radio frequency amplifier 9.Transceiver 8 also links to each other with the modulator/demodulator 10 of combination, and the latter is connected to processor 3 with communication unit 2.
Electronic installation 1 any in can following electronic installation: the phone of cellular phone, traditional type, removable computer, notebook computer, panel computer or PDA.If this electronic installation 1 is a cellular phone, thereby then the user can or select an icon to select certain to be shown in application on the touch-screen 5 by navigate through menus.
Has the special driver that to be controlled by microprocessor 13 on the touch-screen 5.Touch-screen 5 is two-way user's input interface, typically is used to allow the user to import, and calling device is used and instruction, navigate through menus, videotex, display graphics symbol and display menu.Data input and other user to touch-screen 5 import requirement, typically by using a writing pencil to realize, and can be included in written character on the touch-screen 5, this will be apparent to those skilled in the art, and will further make description below.
Fig. 4 has made more fully the interface of touch-screen 5 and having showed.Here, interface has two parts zone: an input field 33 and a viewing area 34.All characters that are transfused to all are written within the input field 33.When writing, they also can be shown within the input field 33 and those be shown within the input field 33 character with write in real time the same.Demonstrations in the viewing area 34 are expressions that hand-written character has passed through standardization and has been identified.
The soft-key button of screen on 5 comprises a space bar 35, " input " (enter) key 36 with retreat (back) key 37.If necessary, key 35,36 and 37 can be operated with writing pencil.
With reference to Fig. 2, there is shown a kind of method 20, be used for the input field 33 of device on 1 touch-screen that links to each other 5 in the write the two or more syllables of a word together hand-written character.The step of method 20 comprises beginning step 21, receives the step 22 of the hand-written write the two or more syllables of a word together character in the input field 33 that is written on the touch-screen 5, shows the step 23 of the hand-written write the two or more syllables of a word together character within the input field 33 then.Step 24 pair hand-written write the two or more syllables of a word together character carries out segmentation and thereby standardization has provided the independent character that is suitable for a bi-directional scaling in definite border then.From this aspect, segmentation (segmentation of character) is the known technology of this area and can discerns basically and hand-written character string is divided into independent character.
The beginning step typically is called by the input field 33 on writing pencil contact touch-screen 5.In the receiving step 22, the sample register (Rs) in the processor 3 initialization microprocessors 13.Along with each stroke ground input of character in input field 33, step 23 is shown in it within input field 33.Set up the sampling character thereby 13 pairs of strokes of microprocessor are sampled and a sampled version of above-mentioned sampling is stored in sample register.
After lifting writing pencil, input is arranged again unless all no longer never call any timer or take any action from the input field 33 of touch-screen 5.This input can be the character of further importing, and uses one or more buttons 35,36,37 or inputting punctuation mark.
Segmentation and standardized step 24 are carried out at the sample segment character that is stored among the sample register Rs.Like this, microprocessor 13 can wait character input and finish, such as " i " a bit, horizontal stroke of " t " or the like, and be not a bit being used as of " i " a fullstop/pause; Also not the horizontal hyphen (-) of being used as of " t ".
In standardized step 24, thereby the character of sampling provides the hand-written character standard of sampling and is suitable for a definite border (typically, the border surrounds the array of one 64 pixel x64 pixel effectively) interior pro rata character, wherein said pro rata character comprises single line at least.Then, identification step 25 every line identifying pro rata character identifies pro rata character then.
In order further to set forth normalization step 23, referring now to Fig. 6 a, Fig. 6 a shows the hand-written character that is handwritten on the touch-screen 5.Standardized step is represented the wide and high of input character respectively based on w and h among interpolation method and Fig. 6 a.Further, n and m are respectively the wide and high of predetermined boundary B (or framework) among Fig. 6 b.Just as the skilled person will be apparent, each input character all by standardization to be fit to boundary B.So in normalization step 23, with variable In_[i] and variable In_y[i] be made as the x-y coordinate of certain point of input character among Fig. 6 a.And, with N_x[j] and N_y[j] be made as the x-y coordinate of the respective point of standardized image among Fig. 6 b.So following equation (3) and (4) are given is used for standardized relational expression.
N_x[j]=In_x[i].n/w -(3)
N_y[j]=In_y[i].m/h -(4)
The character that much writes all contains curve, in order to handle and curve need to be converted into straight line with method 20.So method 20 can comprise a curve with character and be converted into the step of straight line, be used for identification step 24.Fig. 7 a shows the hand-written symbol with a sweep input in the input field 33 of touch-screen 5.The part of curve is between p1 point and p3 point.Shown in Fig. 7 b, this sweep is converted into two straight lines of p1 to p2 and p2 to p3.Correspondingly, Wan Qu part is broken down into littler part and is approximately straight line then.This step of converting can carry out before or after normalization step 23.
At step display 26, except the demonstration of input field 33, within identified and standardized character is shown in the viewing area 34.If character is input to input field 33 in a kind of write the two or more syllables of a word together mode, then they are shown in input field 33 in a kind of write the two or more syllables of a word together mode.The character of each input is all through the process of step 22 to step 26 of associating.When in the viewing area 34 when showing, the character that is input to input field 33 in the write the two or more syllables of a word together mode also is shown in viewing area 34 in the write the two or more syllables of a word together mode.
Finally, input field 33 is write full and can not be imported any character again.Therefore, can be written into input field 33, in the step 27, be input in the input field 33 previously and be shown in input field 33 interior demonstrations and fade out gradually, show almost completely up to this to disappear in order to make more character.
Alternatively, may after showing disappearance, just fade out.So just can be in the input field the more character of 33 inputs.Below this has been made more detailed description by Fig. 3 to 5.
When in input field 33, during input character, judging whether it needs the character write the two or more syllables of a word together of having imported with the front again.Step 29 that Here it is.It by use button 35 or 36 and punctuation mark input judge.If both not by 35,36 keys,, just can suppose that the character of importing again is the character write the two or more syllables of a word together that will import with the front also by any punctuation mark key.
If inserted a punctuation mark, or used in the button 35,36 one, then insert space, punctuation mark or similar symbol in step 31, process rotates back into step 22 afterwards.If it is do not insert punctuation mark or use in the button 35,36 one,, processed and in step 30 input next time then with the 34 character write the two or more syllables of a word together that show are together in the viewing area as the judgement of being made in the step 29.
To 5 (j), the process of step 22 to 28 has been described mainly with reference to Fig. 3 and Fig. 5 (a).To 5 (j), word " Concatenated " is write (input) within the input field 33 at Fig. 5 (a).Shown in Fig. 5 (a), first screen can only be write " Concaten " these several characters.In character is imported into input field 33, detected as detecting in the step 40, beginning segmentation, standardization and identification.Check in step 41 then, thereby guarantee to be input to the earliest character in the input field 33 with by standardization and identification.If no, this process is suspended, and finishes or forward to step 40 up to standardization and identification.If certain or some characters that are input in the input field 33 can not be identified, then other all character is continued this process.In case the process of standardization and identification is finished, in the step 42, Shu Ru character fades out up to they complete obiterations the earliest.This process can wait input field 33 to be write fullly just to begin to fade out.
Can judge by using the system clock in the processor 13 which is the character of importing the earliest.This judgement can be to single character, once two characters (as described), three character or other desirable or need numbers.The order that hand-written write the two or more syllables of a word together character is written into input field 33 is followed in fading out of character.
If will write the character of input field 33 below step 43 has detected, then process is got back to step 40.If do not write character, then make a determination in input field 33, whether also to leave any character in step 44.If have, this process forwards step 41 to.If no, then the character that fades out that stays of input field 33 fades out and disappears to them.
Standardization in a single day finished in character and identification promptly is presented at viewing area 34.At this moment, first character that is presented at input field 33 begins to fade out.In case standardization, identification and demonstration are finished, character fade out basically and the input field in this part can be used again.See that Fig. 5 (b), (c) reach (d).Last till inputting punctuation mark ". " so always, indicate the end of these write the two or more syllables of a word together.Character in the input field 33 fades out gradually up to all fading out.
Can see that from Fig. 5 (b) preceding two characters are come out by segmentation, standardization also identifies, and is shown in the viewing area 34 by the mode with write the two or more syllables of a word together.Simultaneously, the character " Co " that is presented at the input field begins to fade out.
In Fig. 5 (c), following two characters " nc " by standardization, identify and in the viewing area in the mode of write the two or more syllables of a word together together with existing character " Co " formation " Conc ".Simultaneously, " Co " of input field continues to fade out, and character " nc " has just begun to fade out.
In Fig. 5 (d), the character in the input field 33 " Co " fades out fully, and character " nc " continues to fade out, and character " at " has just begun to fade out.In the viewing area 34, character " at " is by standardization and identify, and forms " Concat " with existing character " Cont " write the two or more syllables of a word together.
In Fig. 5 (e), in input field 33, the character of importing below " at " has been written in the place that character " Co " was once write; Character " nc " has faded out fully; Character " at " fades out, and character " en " has just begun to fade out.In the viewing area 34, character " en " is come out, standardization, identifies and form " Concaten " with existing character " Concat " write the two or more syllables of a word together by segmentation.Should below character " at " can be written on any blank space in the input field 33, and, just can be taken as the part of composition write the two or more syllables of a word together as long as do not have space, " input " (enter) or punctuation mark afterwards at " en ".As an optional embodiment, when the character below writing " at ", in case " at " writes the zone at the part place of previous character string " Concaten ", " aten " will fade out fully.
Fig. 5 (f) shows in the input field 33, and the character of importing below " ed " is written on character " at " afterwards; Character " at " fades out fully; Character " en " fades out; And just the character " at " of input has begun to fade out.In the viewing area 34, character " at " by standardization, identify and form " Concatenat " with existing character " Concaten " write the two or more syllables of a word together.
Fig. 5 (g) shows at character " d " increases punctuation mark pause/fullstop ". " afterwards.This means the end of write the two or more syllables of a word together.Character " en " input field 33 of fading out fully; Shu Ru character " at " fades out afterwards; And Zhi Hou character " ed " has just begun to fade out again.In the viewing area 34, character " ed " by standardization, identify and form " Concatenated " with existing character " Concatenat " write the two or more syllables of a word together.
In Fig. 5 (h), the character " at " that input field 33 was imported afterwards fades out fully; Shu Ru character " ed " fades out afterwards, and punctuation mark ". " has just begun to fade out.In the viewing area 34, punctuation mark ". " by standardization, identify, and form word " Concatenated. " with existing character " Concatenated " write the two or more syllables of a word together.
In penultimate stride Fig. 5 (i), other all characters all faded out fully when punctuation mark ". " faded out.Word " Concatenated. " for finishing in the viewing area.
Fig. 5 (j) shows final step, and wherein punctuation mark ". " fades out fully.
Owing to imported punctuation mark pause/fullstop ". ", any character that is written on input field 33 subsequently can not be shown in viewing area 34 in the write the two or more syllables of a word together mode again, and separates with existing demonstration " Concatenated. ".Any character that similarly is input to input field 33 with it can be written in input field 33 Anywhere, and does not consider where it writes.
As mentioned above, fade out and to carry out gradually, or carry out with the step of a series of qualifications.The degree of fading out can be to character almost disappear (scope is 10% to 50% of the brightness of the character that do not disappear).Fade out and to continue always up to character complete obiteration in step 27,42 and removal.This just no longer needs step 45.If writing speed is relatively slow, fading out can start from also when write input field 33, and early than input field 33 write full in.
Like this, input field 33 is less with respect to viewing area 34, and this is shown in viewing area 34 with regard to allowing long relatively information.The speed of the written character by being controlled at input field 33 is continuous thereby might keep progress to make writing of input field 33.Thereby long word, phrase, this class input of subordinate clause can be separated from each other in the input field and start from rightmost, and continue from Far Left.Can continue write the two or more syllables of a word together up to use button 35/36, or a punctuation mark stops.
In case thereby the intact a plurality of characters of write the two or more syllables of a word together form a word, fail to be identified, then can use a popup menu to show the possible speech of thinking usefulness by processor 13 if form one or more characters of this word.The user imports and determines correct word.
Advantageously, the invention provides a kind of useful method and the device that is used in the input field of an interface identification and write the two or more syllables of a word together hand-written character.
Above-mentioned detailed description has just provided a kind of preferred exemplary embodiment, and the scope that is not meant to limit the present invention, applicability or structure.Really, the detailed description to preferred illustrative embodiment makes those skilled in the art can realize a preferred exemplary embodiment of the present invention.Should be understood that, can under the situation of the spirit and scope of the present invention that do not depart from the claims qualification, carry out various changes the function and the arrangement of element.