CN102193736B - Input method and system supporting multimode automatic switching - Google Patents

Input method and system supporting multimode automatic switching Download PDF

Info

Publication number
CN102193736B
CN102193736B CN201110101100XA CN201110101100A CN102193736B CN 102193736 B CN102193736 B CN 102193736B CN 201110101100X A CN201110101100X A CN 201110101100XA CN 201110101100 A CN201110101100 A CN 201110101100A CN 102193736 B CN102193736 B CN 102193736B
Authority
CN
China
Prior art keywords
input
module
keyboard
user
handwriting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110101100XA
Other languages
Chinese (zh)
Other versions
CN102193736A (en
Inventor
程坤
潘小斌
何婷婷
葛勇
胡郁
胡国平
王智国
刘庆峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
iFlytek Co Ltd
Original Assignee
iFlytek Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by iFlytek Co Ltd filed Critical iFlytek Co Ltd
Priority to CN201110101100XA priority Critical patent/CN102193736B/en
Publication of CN102193736A publication Critical patent/CN102193736A/en
Application granted granted Critical
Publication of CN102193736B publication Critical patent/CN102193736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to an input method supporting multimode automatic switching. The method comprises the following steps of: analyzing an input mode of a user according to first stroke information input by the user, and if input is handwriting input, entering a handwriting input mode, tracking and identifying handwriting input in real time and completing input of a single character; if the input is keyboard input, entering a keyboard input mode, feeding back a user key pressing event and recording the input track of the user, performing secondary analysis on subsequent input of the user, and if the subsequent input is handwriting input according to the secondary analysis, clearing the historical marks of the keyboard input and entering the handwriting input mode; and if the subsequent input is keyboard input according to the secondary analysis, keeping the keyboard input mode. The invention further provides an input system supporting multimode automatic switching. Particularly specific to the problem of probable wrong judgment caused by the input of short strokes, all inputs which are determined as key trigger events are further determined and restored, so that wrong judgment is avoided to the maximum extent.

Description

Support input method and the input system of multimode automatic switching
Technical field
The present invention relates to the Data Enter field, particularly a kind of input method and input system of supporting multimode automatic switching.
Background technology
Along with the swift and violent development of infotech, the acceleration of 3G industry fusion and the arrival in 3G mobile communication epoch, new intelligent human-machine interaction is used and is maked rapid progress.Wherein, handwriting input and keyboard input have just obtained more and more users' approval as two kinds of common interactive modes.The handwriting input mode refers on touch-screen hand-written, and by the recognition system of inside, the writing of inputting is converted into ASCII character, and shows with the standard letter form.The dummy keyboard input mode is that dummy keyboard is set on terminal, inputs by the selection of style of writing.On dummy keyboard, because button is more, having reduced on ordinary electronic equipment layout due to 9 keys needs button repeatedly to complete the defective of a letter input.
In general, when Chinese character was inputted, due to the input demand that more meets user's efficient natural, the user often tended to complete the character input in hand-written mode.When English word is inputted, perhaps be not familiar with font need to be with Pinyin Input the time as the user, the keyboard input seems more convenient.For better response user's request, most smart machine all provides simultaneously hand-written and supplies user's selection with keyboard entry method on the market at present.
The matter of utmost importance that multimodal input system need to solve is to judge that correctly the user inputs handwriting input or keyboard triggers input, in order to take correct operation response.Under traditional multimodal input system, handwriting input and keyboard input are individualisms, need to set respectively to use.At first the user needs manually to select single-mode by default function key before input character, or with the keyboard input or with handwriting input.
Fig. 1 illustrates the system with multiple different input modes.Fig. 1 a provides the keyboard inputting interface after switching.The user completes the input of character in the clicking trigger mode on dummy keyboard.Fig. 1 b has provided module and has switched schematic diagram.By the function switch key in the diagram lower right corner, the user can select most suitable pattern in a plurality of options that eject.Fig. 1 c is handwriting input mode, and the user can be at default zone (writing frame or the full frame) written character of writing.
Under this traditional mode, the user as when using different input pattern, repeat continuous manual setting input pattern in the input process of completing a string literal.Easily cause on the one hand the reduction of whole input efficiency, on the other hand because the artificial execution pattern of needs is switched, user's the sense of continuity of writing also reduces greatly.Therefore, input pattern can not automatically be switched according to user's intention in this system, uses inconvenience, and larger limitation is arranged.
In order to give full play to the convenience of the collaborative input of multiple input pattern, input pattern intelligence automatic switchover algorithm in the urgent need to a kind of efficient natural, being supported on the terminal system with dummy keyboard and hand-write input function, the switching of keyboard input and handwriting input when automatically realizing input.
Under traditional mode, the user can only be with the single-mode input character in order to overcome, the problem that still needs manual intervention between different input patterns when switching, proposed at present information input from touch screen is carried out the method that automatic distinguishing is processed, be key information or hand-written information with its automatic discrimination, and take corresponding control module to be processed.Under such input pattern, the user no longer needs to consider the pattern switching problem, but completes the character input so that the mode of any custom is freely smooth simply in the input field.
When input character by different way, the signal that touch-screen captures often shows different characteristics.The user triggers button in the click mode when inputting with keyboard, thereby on touch-screen the residence time shorter, person's handwriting displacement is also shorter, on the contrary if input with ways of writing, longer duration of contact with touch-screen, the person's handwriting displacement that collects is also longer.Patent CN100561414C open source information shows, can do automatic distinguishing to input pattern by the first stroke of a Chinese character characteristic that analysis user is inputted.
When the user falls the first stroke, system namely analyzes the first sampled point of the first stroke of a Chinese character to distance and the time of N sampled point, start to write according to first and a little start to write a little to the average velocity between this sampled point to distance and the Time Calculation first of this sampled point, if this average velocity surpasses the judgement speed of default, simultaneously first start to write the distance of this sampled point greater than the judging distance of default, substantially can assert that the user is with the ways of writing input, otherwise may be to trigger key-press input.
Fig. 2 illustrates the input process flow diagram of present support multimode automatic switching, and concrete operation steps is as follows:
Step S101, system initialization, initialization system parameter: judging distance S0, judgement speed V0 and sampling number NO.
Whether step S102, the position of starting to write that judges the first stroke are positioned at function button zone on screen, if change step S104 over to, otherwise change step S103 over to;
Step S103, judge whether to enter hand-written state with other algorithms;
Step S104, obtain first start to write N sampled point apart from S and time t;
Step S105, according to first start to write N sampled point calculate average velocity v apart from S and time t;
Step S106, judge that first starts to write a little and whether average velocity v that N starts to write between some these 2 positions surpasses the judgement speed V0 of system intialization, judge that simultaneously distance between this two positions is whether greater than the judging distance S0 of default, if the judgement speed V0 that average velocity V surpass to set and apart from S during greater than the judging distance S0 that sets, change step S107 over to, otherwise change step S108 over to;
Step S107, control the function button zone and enter hand-written state, and follow the tracks of and gather follow-up person's handwriting;
Step S108, judge that whether sampling number N surpasses the sampling number N0 of default, during less than the sampling number N0 of default, change step S104 as sampling number N after sampling number adds 1 over to; Otherwise change step S109 over to;
Step S109, drive system enter button and trigger state, follow the tracks of the alphabet key that the user triggers.
Under the support of this system, the user no longer needs to consider the switching between different mode, but simply directly inputs in the mode of custom separately according to different needs.The method is obtaining certain achievement on the input problem continuously, but still there are in actual applications many problems, particularly in the simple stroke input, when admission control, the system that is to say does not collect the enough state of starting to write sampled points, the average velocity and the distance that calculate by such scheme tend to less than the threshold value that sets in advance, and the state of writing is mistaken for button triggering state, causes follow-up input error.
Summary of the invention
Purpose of the present invention provides a kind of input method of supporting multimode automatic switching, what the method existed when inputting for short and small stroke may judge problem by accident, further confirmation reparation is done in all inputs of confirming as the button trigger event, maximum possible avoid judging by accident mistake.
A kind of input method of supporting multimode automatic switching of the present invention comprises: according to the first sum of information analysis user's of user input input pattern, if handwriting input enters handwriting input mode, the input of single character is completed in real-time follow-up identification handwriting input; If the keyboard input enters the keyboard input pattern, the input trajectory of feedback user key-press event and recording user, and secondary analysis is carried out in the follow-up input of user, and be handwriting input as secondary analysis, remove the historical rudiment of keyboard input, enter handwriting input mode; Be the keyboard input as secondary analysis, keep the keyboard input pattern.
Preferably, according to the first sum of information analysis user's of user input input pattern be: relatively the actual samples point sequence is apart from S and judging distance St, the actual samples point sequence apart from S greater than turn-off from St, be judged as handwriting input; The actual samples point sequence apart from S less than turn-off from St, be judged as keyboard input.
Preferably, the input pattern according to the first sum of information analysis user of user input is specially:
Step 1, sample frame sequence number i=1 is set;
Step 2, calculate from the 1st frame to current i frame in sampled point sequence distance S;
If whether step 3, judging distance S be judged as handwriting input, otherwise change step 4 greater than judging distance St;
Whether the sample frame time of step 4, judgement accumulative total is greater than once judging time T 1, or the first sum of end of input, if be judged as the keyboard input, otherwise changes step 5 over to;
Step 5, sampling frame number i=i+1 is set, changes the sampling point information that step 2 is investigated next time frame over to.
Preferably, the secondary analysis method is specially:
Step 6, sample frame sequence number i=1 is set;
Step 7, calculate from the 1st frame to current i frame in sampled point sequence distance S;
If whether step 8, judging distance S be judged as handwriting input, otherwise change step 9 greater than judging distance St;
Whether the sample frame time of step 9, judgement accumulative total is greater than secondary judgement time T 2, or the first sum of end of input, if be judged as the keyboard input, otherwise changes step 10 over to;
Step 10, sampling frame number i=i+1 is set, changes the sampling point information that step 7 is investigated next time frame over to.
Preferably, also comprise adjustment judging distance St: as above a character is handwriting input, dwindles the value of judging distance St; As above a character is the keyboard input, strengthens the value of judging distance St.
The present invention also provides a kind of input method of supporting multimode automatic switching, and what this system existed during for the input of short and small stroke may judge problem by accident, and further confirmation reparation is done in all inputs of confirming as the button trigger event, maximum possible avoid judging by accident mistake.
A kind of input system of supporting multimode automatic switching of the present invention, comprise judge module and secondary judge module first: judge module first, be used for the input pattern according to the first sum of information analysis user of user's input, if handwriting input, enter handwriting input mode, the input of single character is completed in real-time follow-up identification handwriting input; If the keyboard input enters the keyboard input pattern, the input trajectory of feedback user key-press event and recording user; The secondary judge module is used for when judge module is judged as the keyboard input pattern first, secondary analysis being carried out in the follow-up input of user, is handwriting input as secondary analysis, removes the historical rudiment of keyboard input, enters handwriting input mode; Be the keyboard input as secondary analysis, keep the keyboard input pattern.
Preferably, first judge module comprise sampled point sequence distance calculating sub module, relatively judge submodule, once judge the chronon module and the sampling frame number module is set:
The sampling frame number arranges module, is used for arranging sample frame sequence number i=1;
Sampled point sequence distance calculating sub module is for sampled point sequence distance S in calculating from the 1st frame to current i frame;
Relatively judge submodule, whether be used for judging distance S greater than judging distance St, if be judged as handwriting input, once judge the chronon module otherwise start;
Once judge the chronon module, whether the sample frame time that is used for judgement accumulative total is greater than once judging time T 1, or the first sum of end of input, if be judged as the keyboard input, otherwise start the sampling frame number, module is set; The sampling frame number arranges module adjustment sampling frame number i=i+1.
Preferably, the secondary judge module comprises sampled point sequence distance calculating sub module, relatively judges that submodule, secondary judgement chronon module and sampling frame number arrange module:
The sampling frame number arranges module, is used for arranging sample frame sequence number i=1;
Sampled point sequence distance calculating sub module is for sampled point sequence distance S in calculating from the 1st frame to current i frame;
Relatively judge submodule, whether be used for judging distance S greater than judging distance St, if be judged as handwriting input, otherwise start secondary judgement chronon module;
Whether secondary judgement chronon module is used for the sample frame time of judgement accumulative total greater than secondary judgement time T 2, or the first sum of end of input, if be judged as the keyboard input, otherwise start the sampling frame number, module is set; The sampling frame number arranges module adjustment sampling frame number i=i+1.
Preferably, also comprise and adjust the judging distance module, be used for adjusting judging distance St, as above a character is handwriting input, dwindles the value of judging distance St; As above a character is the keyboard input, strengthens the value of judging distance St.
Preferably, described keyboard inputting interface and pen interface are a unified interface.
Compared with prior art, the present invention has the following advantages:
The present invention inputs the characteristic of first stroke of a Chinese character data by analysis, come the intention of predictive user input according to its displacement size within the time of determining, what exist during especially for short and small stroke input may judge problem by accident, further confirmation reparation is done in all inputs of confirming as the button trigger event, maximum possible avoid judging by accident mistake.
Description of drawings
Fig. 1 a is the keyboard inputting interface figure after switching;
Fig. 1 b is that module is switched schematic diagram;
Fig. 1 c is the handwriting input mode schematic diagram;
Fig. 2 supports the input process flow diagram of multimode automatic switching at present;
Fig. 3 a is that the present invention is with spelling input method key-press input schematic diagram;
Fig. 3 b is handwriting input schematic diagram of the present invention;
Fig. 4 is the input method process flow diagram that the present invention supports multimode automatic switching;
Fig. 5 is the first sum of information analysis process flow diagram of user of the present invention;
Fig. 6 is secondary analysis process flow diagram flow chart of the present invention;
Fig. 7 is the input system schematic diagram that the present invention supports multimode automatic switching;
Fig. 8 is the present invention's judge module schematic diagram first;
Fig. 9 is secondary judge module schematic diagram of the present invention;
Figure 10 is another embodiment schematic diagram of input system that the present invention supports multimode automatic switching.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Problem for the such scheme existence, input the characteristic of first stroke of a Chinese character data by analysis, come the intention of predictive user input according to its displacement size within the time of determining, what exist during especially for short and small stroke input may judge problem by accident, further confirmation reparation is done in all inputs of confirming as the button trigger event, maximum possible avoid judging by accident mistake.
Fig. 3 illustrates a kind of keyboard and writes surface chart.Keyboard area is the user input area, accepts the user with the input of key mode or ways of writing.Fig. 3 a has showed the process with spelling input method key-press input " news " word.Fig. 3 b has showed that handwriting input " writes " process of word.As seen from Figure 3, these two inputting interfaces are identical, and the user completes keyboard input and handwriting input on a unified interface.And unlike in traditional multi-mode input system, need to input in single mode after selected certain the single input pattern in function setting district.This input method can be applied in the program that needs arbitrarily text editing." addressee " on touch-screen top and " short message " frame are used for accepting the Identification display character and supporting corresponding editing operation.The character candidates district between text editing district and input field, the association's character that produces when the identification candidate word when being used for showing handwriting input or keyboard input.
System of the present invention will be at three kinds of different conditions, and namely vacant attitude, switch between button attitude and handwriting input attitude mutually.Vacant attitude refers to that system is in the blank waiting status of button and the switching of hand-written pattern; Button attitude control system is accepted the keyboard key-press input, and the immediate feedback user triggers button and carries out subsequent treatment; Hand-written attitude control system is accepted user handwriting input, instant playback handwriting trace.Under the key-press input pattern, the user completes the complete input of single after selected certain word from the word candidates list, and system turns back to vacant state subsequently.Similarly, under write mode after the user confirms recognition result system return to vacant state.Usually all adopt the input of single input Pattern completion complete character or word because of the user, the present invention is only by analyzing the data characteristic judgement input mode in the character first stroke of a Chinese character or first stroke of a Chinese character finite time.
Fig. 4 illustrates the input method that the present invention supports multimode automatic switching, and concrete steps are as follows.
Step S401, system initialization also arrange systematic parameter, and systematic parameter comprises and once judges time T 1, secondary judgement time T 2, and judging distance St;
Step S402, gathering the touch screen information of user's input, is two-dimensional coordinate point sequence (x, y) with the touch screen information recording/chronologically, x wherein, and y is respectively horizontal ordinate and the ordinate of sampled point;
Step S403, according to the possible input pattern of the first sum of information analysis user of user input; In general, when keyboard is inputted in the unit interval on touch-screen person's handwriting displacement shorter, and under write mode, the person's handwriting displacement that collects in the unit interval is often longer.By more once judging accumulation displacement S in time T 1 frame and the relation of judging distance St, switch different input patterns, when the actual samples point sequence apart from S during greater than St, judge currently to be input as handwriting input, otherwise may input for keyboard;
Step S404, determine whether handwriting input, if change step S405 over to otherwise change step S406 over to;
Step S405, system enter hand-written state: the current input person's handwriting of instant playback user, and start rear end handwriting recognition engine real-time follow-up identification handwriting input, change the input that step S4011 completes the single character over to;
Step S406, control system enter button and trigger state, the input trajectory of immediate feedback user key-press event and recording user;
Step S407, the user is carried out secondary analysis in the follow-up input of secondary judgement T2 in the time, to revise possible mode decision mistake;
Step S408, judge whether the result of secondary analysis is hand-written pattern, if change step S409 over to, otherwise change step S410 over to;
S409, the historical rudiment of removing the keyboard input and keyboard input associated internal memory change S405 over to and enter hand-written pattern;
S410, maintenance keyboard input pattern are followed the tracks of the follow-up key-press event of user;
S411, the input of end single.
The first-selected word of recognition result is sent to the text editing district under handwriting input mode, and a plurality of recognition result shows for you to choose in candidate regions simultaneously and confirms.Under the button pattern, constantly update association's character in candidate regions and after the selected character of user, send it in the text editing district and complete this time input.
Wherein, the refinement flow process of step S403 as shown in Figure 5.
Step S501, according to the possible input pattern of the first sum of information analysis user of user input; System initialization arranges the sample frame sequence number i=1 of investigation;
Step S502, calculate from the 1st frame to current i frame in the sampled point sequence always apart from S;
Step S503, judge this apart from S whether greater than the judging distance St of systematic parameter, if change step S504 over to, otherwise change step S505 over to;
Step S504, control system enter hand-written state: in the instant playback buffer memory and the current input person's handwriting of user, and start rear end handwriting recognition engine real-time follow-up identification handwriting input;
Step S505, judge whether current investigation finishes, if whether the sample frame time of judgement accumulative total change step S507, otherwise changes step S506 greater than once judging time T 1 or the first sum of end of input;
Step S506, the sampling frame number i=i+1 of investigation is set, changes the sampling point information that step S502 investigates next time frame over to;
Step S507, control system enter button and trigger state, the input trajectory of immediate feedback user key-press event and recording user.
Systematic parameter judging distance St, the setting that once judges time T 1 has very important effect to the raising of system performance.Distance threshold arranges excessive, easily short and small stroke input is mistaken for key-press event, otherwise thinks key-press input by mistake handwriting input.In general, the setting of these systematic parameters depends on the size of display screen sampling rate, the speed of hardware processor and the framework of system software etc.The present invention considers user's writing experience and actual effect, and once the judgement time is that T1 is 200-300ms, is preferably 250ms; St is the 15-25 pixel, is preferably 20 pixels.
Legacy system substantially all is based on once judgement to the first sum of analysis to the judgement of input pattern, often no longer considers the model amendment $$$$ problem after determining that it is the keyboard input.But the method for this analysis based on distance easily is subject to various noise jamming in actual applications, particularly that short and small stroke is write in judgement to the first stroke, the first sum of stroke as words such as " ", " words ", stroke itself is not just very long, often causes system to be mistaken for button operation if also have the part sampled point to lose.In order in time to revise input pattern in order to accept follow-up handwriting input, the concept of second-order correction has been proposed for the erroneous judgement problem of short and small stroke in the present invention, after being judged as the keyboard input, continue the follow-up stroke signal characteristic of trace analysis and carry out the secondary judgement, in order to reduce single stroke risk, as shown in step S407 in Fig. 4.
Referring to Fig. 6, secondary analysis process of the present invention is shown, concrete steps are as follows.
Step S601, according to the possible input pattern of the first sum of information analysis user of user input; System initialization arranges the sample frame sequence number i=1 of investigation;
Step S602, calculate from the 1st frame to current i frame in the sampled point sequence always apart from S;
Step S603, judge this apart from S whether greater than the judging distance St of systematic parameter, if change step S604 over to, otherwise change step S605 over to;
Step S604, control system enter hand-written state: in the instant playback buffer memory and the current input person's handwriting of user, and start rear end handwriting recognition engine real-time follow-up identification handwriting input;
Step S605, judge whether current investigation finishes, if whether the sample frame time of judgement accumulative total change step S607, otherwise changes step S606 greater than secondary judgement time T 2;
Step S606, the sampling frame number i=i+1 of investigation is set, changes the sampling point information that step S602 investigates next time frame over to;
Step S607, control system enter button and trigger state, the input trajectory of immediate feedback user key-press event and recording user.
The flow process of secondary judgement operational scheme of the present invention and the first sum of judgement is basically identical, just the Rule of judgment of flow process end of run is modified to: judge that whether the sample frame time of current investigation is greater than secondary judgement time T 2.For the stability of assurance system operation, secondary judgement time T 2 often is set to a larger value, and span is 700-900ms, is preferably 800ms.Like this if the investigation time that system is keyboard input and accumulative total will continue judgement less than secondary judgement time T 2 systems.Write input if the key-press input that the secondary judgement will once judge is modified to, at first system removes the historical rudiment of key-press event and starts hand-written pattern, the historical person's handwriting that is stored in buffer zone is presented at writes in the district.
Because user's writing style is not quite similar, and the user constantly adapts to input mode, and unified systematic parameter of solidifying obviously can not well be met consumers' demand.Therefore the present invention learns user's input by tracking and continues to optimize system configuration to improve system performance.
In general, user's input has certain continuity, if complete the current character input with handwriting mode, also will continue to complete next character input with handwriting mode on very large probability.Under this hypothesis, the user is hand-written complete a character after, the distance parameter St of system can be adjusted into a less distance threshold accordingly improving response speed, on the contrary if with character of keyboard input, for response stability distance threshold be set to a larger value.Concrete formula is as follows:
Figure BDA0000056672620000101
S wherein tThe judging distance parameter of system when (n) being the n time input, and S 1And S 2Be respectively two threshold values of systemic presupposition, satisfy S 1=0.5S 2The present invention defines S 1=20 picture elements.Need to prove when system initialization does not have historical input message, set S t(1)=S 2
Based on the input method of above-mentioned support multimode automatic switching, the present invention also provides a kind of input system of supporting multimode automatic switching.Referring to Fig. 7, comprise judge module 71 and secondary judge module 72 first.Judge module 71 is used for the input pattern according to the first sum of information analysis user of user's input first, if handwriting input enters handwriting input mode, the input of single character is completed in real-time follow-up identification handwriting input; If the keyboard input enters the keyboard input pattern, the input trajectory of feedback user key-press event and recording user.
Secondary judge module 72 carries out secondary analysis to the follow-up input of user when judge module 71 is judged as the keyboard input pattern first, be handwriting input as secondary analysis, removes the historical rudiment of keyboard input, enters handwriting input mode; Be the keyboard input as secondary analysis, keep the keyboard input pattern.
Referring to Fig. 8, first judge module 71 comprise sampled point sequence distance calculating sub module 711, relatively judge submodule 712, once judge chronon module 713 and the sampling frame number module 714 is set.
The sampling frame number arranges module 714 sample frame sequence number i=1 is set, sampled point sequence distance S in sampled point sequence distance calculating sub module 711 is calculated from the 1st frame to current i frame, judge that relatively whether submodule 712 judging distance S are greater than judging distance St, if be judged as handwriting input, once judge chronon module 713 otherwise start; Judge that once whether the sample frame time of chronon module 713 judgement accumulative totals is greater than once judging time T 1, or the first sum of end of input, if be judged as the keyboard input, otherwise start the sampling frame number, module 714 is set, the sampling frame number arranges module 714 and adjusts sampling frame number i=i+1.
Referring to Fig. 9, secondary judge module 72 comprises sampled point sequence distance calculating sub module 721, relatively judges that submodule 722, secondary judgement chronon module 723 and sampling frame number arrange module 724.
The sampling frame number arranges module 724 sample frame sequence number i=1 is set, sampled point sequence distance S in sampled point sequence distance calculating sub module 721 is calculated from the 1st frame to current i frame, judge that relatively whether submodule 722 judging distance S are greater than judging distance St, if be judged as handwriting input, otherwise start secondary judgement chronon module 723; Whether secondary judges the sample frame time of chronon module 723 judgement accumulative totals greater than secondary judgement time T 2, if be judged as the keyboard input, otherwise startup sampling frame number arranges module 724, and the sampling frame number arranges module 724 and adjusts sampling frame number i=i+1.
Referring to Figure 10, another embodiment of input system that the present invention supports multimode automatic switching is shown, comprise judge module 71, secondary judge module 72 and adjustment judging distance module 73 first.
Adjust judging distance module 73 and adjust judging distance St, as above a character is handwriting input, dwindles the value of judging distance St; As above a character is the keyboard input, strengthens the value of judging distance St.
The present invention carries out secondary analysis to the input that is judged as key-press event, helps to revise the erroneous judgement mistake of short and small stroke etc., improves the input pattern Accuracy of Judgement.And the systematic parameter that the present invention need to arrange only is distance parameter St, thereby system architecture is comparatively simple, and robustness is also better.The system of helping that is provided with of adaptive updates systematic parameter of the present invention constantly adapts to user's input habit, improves performance.
The present invention also can be used for supporting the input of hand-written and common 9 lattice keyboards, and hand-written and keyboard input coexists and gets final product in a word.
The above is only the preferred embodiment of the present invention, does not consist of the restriction to protection domain of the present invention.Any any modification of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in claim protection domain of the present invention.

Claims (8)

1. an input method of supporting that handwriting input mode and keyboard input pattern automatically switch, is characterized in that, comprising:
According to the first sum of information analysis user's of user input input pattern, if handwriting input enters handwriting input mode, the input of single character is completed in real-time follow-up identification handwriting input;
If the keyboard input enters the keyboard input pattern, the input trajectory of feedback user key-press event and recording user, and secondary analysis is carried out in the follow-up input of user, and be handwriting input as secondary analysis, remove the historical rudiment of keyboard input, enter handwriting input mode; Be the keyboard input as secondary analysis, keep the keyboard input pattern;
Wherein, described secondary analysis method is specially:
Step 6, sample frame sequence number i=1 is set;
Step 7, calculate from the 1st frame to current i frame in sampled point sequence distance S;
If whether step 8, judging distance S be judged as handwriting input, otherwise change step 9 greater than judging distance St;
Whether the sample frame time of step 9, judgement accumulative total is greater than secondary judgement time T 2, judge perhaps whether the first sum of input finishes, if the sample frame time that described judged result shows accumulative total is during greater than secondary judgement time T 2 or described judged result when showing the first sum of end of input, be judged as the keyboard input, otherwise change step 10 over to;
Step 10, sampling frame number i=i+1 is set, changes the sampling point information that step 7 is investigated next time frame over to.
2. the input method that automaticallyes switch of support handwriting input mode as claimed in claim 1 and keyboard input pattern, is characterized in that, according to the first sum of information analysis user's of user's input input pattern is:
Relatively the actual samples point sequence is apart from S and judging distance St, the actual samples point sequence apart from S greater than judging distance St, be judged as handwriting input; The actual samples point sequence apart from S less than judging distance St, be judged as keyboard input.
3. the input method that automaticallyes switch of support handwriting input mode as claimed in claim 2 and keyboard input pattern, is characterized in that, is specially according to the first sum of information analysis user's of user's input input pattern:
Step 1, sample frame sequence number i=1 is set;
Step 2, calculate from the 1st frame to current i frame in sampled point sequence distance S;
If whether step 3, judging distance S be judged as handwriting input, otherwise change step 4 greater than judging distance St;
Whether the sample frame time of step 4, judgement accumulative total is greater than once judging time T 1, or judge whether the first sum of input finishes, if the sample frame time that described judged result shows accumulative total is when once judging time T 1 or described judged result when showing the first sum of end of input, be judged as the keyboard input, otherwise change step 5 over to;
Step 5, sampling frame number i=i+1 is set, changes the sampling point information that step 2 is investigated next time frame over to.
4. the input method of support handwriting input mode as described in claim 1-3 any one and keyboard input pattern automatic switchover, is characterized in that, also comprise and adjust judging distance St: as above a character is handwriting input, dwindles the value of judging distance St; As above a character is the keyboard input, strengthens the value of judging distance St.
5. an input system of supporting that handwriting input mode and keyboard input pattern automatically switch, is characterized in that, comprises judge module and secondary judge module first:
Judge module, be used for the input pattern according to the first sum of information analysis user of user's input first, if handwriting input enters handwriting input mode, the input of single character is completed in real-time follow-up identification handwriting input; If the keyboard input enters the keyboard input pattern, the input trajectory of feedback user key-press event and recording user; The secondary judge module is used for when judge module is judged as the keyboard input pattern first, secondary analysis being carried out in the follow-up input of user, is handwriting input as secondary analysis, removes the historical rudiment of keyboard input, enters handwriting input mode; Be the keyboard input as secondary analysis, keep the keyboard input pattern;
Wherein, described secondary judge module comprises sampled point sequence distance calculating sub module, relatively judges that submodule, secondary judgement chronon module and sampling frame number arrange module:
Described sampling frame number arranges module and is used for arranging sample frame sequence number i=1;
Sampled point sequence distance S in described sampled point sequence distance calculating sub module is used for calculating from the 1st frame to current i frame;
Describedly judge that relatively whether submodule is used for judging distance S greater than judging distance St, if be judged as handwriting input, otherwise start secondary judgement chronon module;
Described secondary judges that whether the chronon module is used for the sample frame time of judgement accumulative total greater than secondary judgement time T 2, judge perhaps whether the first sum of input finishes, if the sample frame time that described judged result shows accumulative total is during greater than secondary judgement time T 2 or described judged result when showing the first sum of end of input, be judged as the keyboard input, otherwise start the sampling frame number, module be set; The sampling frame number arranges module adjustment sampling frame number i=i+1.
6. the input system that automaticallyes switch of support handwriting input mode as claimed in claim 5 and keyboard input pattern, it is characterized in that, first judge module comprise sampled point sequence distance calculating sub module, relatively judge submodule, once judge the chronon module and the sampling frame number module is set:
The sampling frame number arranges module, is used for arranging sample frame sequence number i=1;
Sampled point sequence distance calculating sub module is for sampled point sequence distance S in calculating from the 1st frame to current i frame;
Relatively judge submodule, whether be used for judging distance S greater than judging distance St, if be judged as handwriting input, once judge the chronon module otherwise start;
Once judge the chronon module, whether be used for the sample frame time of judgement accumulative total greater than once judging time T 1, or judge whether the first sum of input finishes, if the sample frame time that described judged result shows accumulative total is when once judging time T 1 or described judged result when showing the first sum of end of input, be judged as the keyboard input, otherwise start the sampling frame number, module be set; The sampling frame number arranges module adjustment sampling frame number i=i+1.
7. the input system that automaticallyes switch of support handwriting input mode as described in claim 5 or 6 and keyboard input pattern, it is characterized in that, also comprise and adjust the judging distance module, be used for adjusting judging distance St, as above a character is handwriting input, dwindles the value of judging distance St; As above a character is the keyboard input, strengthens the value of judging distance St.
8. the input system of support handwriting input mode as described in claim 5 or 6 and keyboard input pattern automatic switchover, is characterized in that, keyboard inputting interface and pen interface are a unified interface.
CN201110101100XA 2011-04-21 2011-04-21 Input method and system supporting multimode automatic switching Active CN102193736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110101100XA CN102193736B (en) 2011-04-21 2011-04-21 Input method and system supporting multimode automatic switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110101100XA CN102193736B (en) 2011-04-21 2011-04-21 Input method and system supporting multimode automatic switching

Publications (2)

Publication Number Publication Date
CN102193736A CN102193736A (en) 2011-09-21
CN102193736B true CN102193736B (en) 2013-06-26

Family

ID=44601880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110101100XA Active CN102193736B (en) 2011-04-21 2011-04-21 Input method and system supporting multimode automatic switching

Country Status (1)

Country Link
CN (1) CN102193736B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419645A (en) * 2011-10-28 2012-04-18 汉王科技股份有限公司 Method and device for inputting Chinese characters in combined mode and palm terminal
KR101978687B1 (en) 2011-11-15 2019-05-16 삼성전자주식회사 Method for inputting a character in touch screen terminal and apparatus thereof
CN102609133A (en) * 2012-01-13 2012-07-25 浙江优诺肯科技有限公司 Touchpad, touch input method and touch input system integrating track input and key input
CN102778999B (en) * 2012-04-16 2014-12-10 中兴通讯股份有限公司 Mobile terminal and full screen handwriting processing method thereof
CN104423867A (en) * 2013-09-03 2015-03-18 深圳市世纪光速信息技术有限公司 Character input method and character input device
CN103558943B (en) * 2013-11-08 2016-08-17 科大讯飞股份有限公司 Realize the method and system of multi-modal synchronization input
CN104679224B (en) * 2013-11-30 2018-03-20 富泰华工业(深圳)有限公司 Input equipment and input management system
CN104793727B (en) * 2014-01-21 2017-08-25 科大讯飞股份有限公司 Realize the method and system of personalized multi-mode input
CN104076945B (en) * 2014-07-10 2017-10-10 广州三星通信技术研究有限公司 Apparatus and method for showing input keyboard in the terminal
US20170242581A1 (en) * 2016-02-23 2017-08-24 Myscript System and method for multiple input management
CN106484181A (en) * 2016-09-20 2017-03-08 青岛海信电器股份有限公司 The touch-responsive method and device of infrared touch panel
CN107256124B (en) * 2017-04-21 2023-01-10 海信视像科技股份有限公司 Electronic whiteboard touch control method and device
CN109213412A (en) * 2017-07-03 2019-01-15 北京搜狗科技发展有限公司 Input method, device and machine readable media
CN108182000A (en) * 2017-12-25 2018-06-19 科大讯飞股份有限公司 Input through keyboard detection method and device, storage medium, electronic equipment
US11461507B2 (en) * 2018-10-30 2022-10-04 Third Block Gear Systems and methods for secure peripherals
CN111124222B (en) * 2019-12-03 2022-02-01 科大讯飞股份有限公司 Input switching method and device, electronic equipment and storage medium
CN112633243B (en) * 2020-12-31 2023-01-03 安徽鸿程光电有限公司 Information identification method, device, equipment and computer storage medium
CN115729434A (en) * 2021-08-31 2023-03-03 华为技术有限公司 Writing and drawing content display method and related equipment
CN114489350B (en) * 2021-12-27 2023-04-28 荣耀终端有限公司 Input method calling method and related equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991700A (en) * 2005-12-28 2007-07-04 中兴通讯股份有限公司 Mobile terminal having keyboard and hand-write synergic input function
CN101183284A (en) * 2007-11-26 2008-05-21 宇龙计算机通信科技(深圳)有限公司 Mobile terminal hand-written inputting method, device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7424154B2 (en) * 2003-11-10 2008-09-09 Microsoft Corporation Boxed and lined input panel

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991700A (en) * 2005-12-28 2007-07-04 中兴通讯股份有限公司 Mobile terminal having keyboard and hand-write synergic input function
CN101183284A (en) * 2007-11-26 2008-05-21 宇龙计算机通信科技(深圳)有限公司 Mobile terminal hand-written inputting method, device and mobile terminal

Also Published As

Publication number Publication date
CN102193736A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN102193736B (en) Input method and system supporting multimode automatic switching
US20210406578A1 (en) Handwriting-based predictive population of partial virtual keyboards
KR102610481B1 (en) Handwriting on electronic devices
JP4742132B2 (en) Input device, image processing program, and computer-readable recording medium
US10373009B2 (en) Character recognition and character input apparatus using touch screen and method thereof
CN109614845B (en) Managing real-time handwriting recognition
EP2650766B1 (en) Multi-character continuous handwriting input method
US8713464B2 (en) System and method for text input with a multi-touch screen
US20140198047A1 (en) Reducing error rates for touch based keyboards
US20120110518A1 (en) Translation of directional input to gesture
CN1777858A (en) Unambiguous text input method for touch screens and reduced keyboard systems
CN101581992A (en) Touch screen device and input method thereof
KR20110018075A (en) Apparatus and method for inputting character using touchscreen in poratable terminal
US20140365878A1 (en) Shape writing ink trace prediction
CN102135838A (en) Method and system for partitioned input of handwritten character string
WO2004097722A1 (en) Hand-written character input device and hand-written character input processing method
EP1513053A2 (en) Apparatus and method for character recognition
CN102455887A (en) Input display apparatus and input display method
CN103150111A (en) Symbol inputting method, device and terminal
CN102109960A (en) Fast Chinese-character pinyin input method based on touch sensing device as well as system for realizing same
CN104898855A (en) System and method for inputting texts on basis of devices with rockers
CN102073445A (en) Auxiliary Chinese pinyin input system based on touch screen
CN107967105A (en) Handwritten content editing equipment and method
CN102207824A (en) Sliding pinyin input method based on touch screen device
KR20140139702A (en) Method and apparatus for correcting text

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: IFLYTEK CO., LTD.

Free format text: FORMER NAME: ANHUI USTC IFLYTEK CO., LTD.

CP03 Change of name, title or address

Address after: Wangjiang Road high tech Development Zone Hefei city Anhui province 230088 No. 666

Patentee after: Iflytek Co., Ltd.

Address before: 230088 No. 616, Mount Huangshan Road, hi tech Development Zone, Anhui, Hefei

Patentee before: Anhui USTC iFLYTEK Co., Ltd.