Summary of the invention
Technical matters to be solved by this invention is: a kind of hand-written input system is provided, can connects the space that pen is write for the user provides continuously in limited writing in the zone.
Simultaneously, the present invention also provides a kind of hand-written inputting method that cooperates above-mentioned hand-written input system.
In addition, the present invention also provides a kind of electronic equipment that comprises above-mentioned hand-written input system.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of hand-written input system, it comprises:
Handwriting area is for handwriting input, in order to write down hand-written input trajectory and to be shown;
Identification module in order to responding to the input trajectory of described handwriting area, and identifies corresponding character according to this input trajectory;
The roll screen driver module, in order in the process of handwriting input, drive the input trajectory that shows on the described handwriting area and move;
The gradually light module of input trajectory, in order in the process of handwriting input, make the input trajectory on the described handwriting area thin out gradually to disappearing in the process that moves, write the space for later input provides.
As a preferred embodiment of the present invention, described system also comprises
The recognition result display module, in order to the recognition result that shows that described identification module is current, recognition result comprises can't be discerned or have unique recognition result or a plurality of recognition results are arranged;
Recognition result is selected module, in order to the character of need selecting from the result of described recognition result display module identification; Then, empty input trajectory on the described handwriting area.
As a preferred embodiment of the present invention, described system also comprises automatic discrimination module, when the recognition result of described identification module is unique, imports this result automatically.
As a preferred embodiment of the present invention, described handwriting area is strip or rectangle; Described roll screen driver module in order in the process of handwriting input, make the input trajectory that shows on the described handwriting area left/on/down/move upper left/lower-left.
As a preferred embodiment of the present invention, described system comprises writing pencil.
As a preferred embodiment of the present invention, the speed that described input trajectory moves is at the uniform velocity; Perhaps, the speed that described input trajectory moves is directly proportional with writing speed, and writing speed is the translational speed of writing pencil to presentation direction.
As a preferred embodiment of the present invention, in the process of handwriting input, input trajectory is during apart from the writing pencil first threshold, and input trajectory begins thin out gradually; Input trajectory is during apart from writing pencil second threshold value, and input trajectory disappears.
As a preferred embodiment of the present invention, described identification module judges whether the stroke of current input and the stroke of having imported before may belong to same word when identification;
If impossible, then the stroke of current input is submitted to engine as the stroke of new literacy and discern, obtain recognition result;
If may, it is selective then to obtain two recognition results: the stroke of current input is submitted to recognition engine as the follow-up stroke of the stroke of having imported before discern, obtain recognition result; Simultaneously the stroke of current input is submitted to engine as the stroke of new literacy and discern, obtain recognition result.
Whether as a preferred embodiment of the present invention, described system also comprises the roll screen control module, work in order to set described roll screen driver module, and promptly whether the user can move by this roll screen control module setting input trajectory.
As a preferred embodiment of the present invention, described system also comprises stroke study module, stroke memory module.The stroke study module in order to the repeatedly input according to the user, analyzes the ways of writing of user to specific stroke; The stroke memory module in order to write down the ways of writing to specific stroke that the analysis of described stroke study module obtains, is stored in the identification storehouse.
As a preferred embodiment of the present invention, described system also comprises the input trajectory display module, in order to show that all are without the input trajectory of confirming input; If the input trajectory that disappeared is without confirming input, the input trajectory that described input trajectory display module shows comprise input trajectory thin out in the input trajectory that disappeared, the handwriting area, and handwriting area in the normal input trajectory that shows.
As a preferred embodiment of the present invention, described system comprises that also input trajectory accesses module, in order to regulate the moving direction of input trajectory, the input trajectory that disappears is accessed.Further, described system also comprises modified module, in order to revise unidentified input trajectory; Described amending method comprises wipes the input trajectory that needs modification; Perhaps also being included in the place of wiping writes again.
A kind of hand-written input system, it comprises:
Handwriting area is for handwriting input, in order to write down hand-written input trajectory and to be shown;
Identification module in order to responding to the input trajectory of described handwriting area, and identifies corresponding character according to this input trajectory;
The gradually light module of input trajectory, in order in the process of handwriting input, make the input trajectory on the described handwriting area thin out gradually to disappearing in the process that moves, write the space for later input provides.
A kind of hand-written inputting method, this method comprises the steps:
A, provide a hand-written zone, the user writes in described handwriting area, and the hand-written input trajectory of handwriting area record is also shown;
B, in the process of handwriting input, drive the input trajectory that shows on the described handwriting area and move;
C, in the process of handwriting input, make the input trajectory on the described handwriting area thin out gradually to disappearing in the process that moves, write the space for later input provides; The user continues to write in the zone that input before, present input trajectory have disappeared;
The input trajectory of D, the described handwriting area of induction, and identify corresponding character according to this input trajectory.
As a preferred embodiment of the present invention, described method also comprises
The recognition result step display shows the recognition result that described identification module is current, and recognition result comprises can't be discerned or have unique recognition result or a plurality of recognition results are arranged;
Recognition result is selected step, selects the character that needs from the result of described recognition result display module identification; Then, empty input trajectory on the described handwriting area.
As a preferred embodiment of the present invention, among the step D, described identification module judges whether the stroke of current input and the stroke of having imported before may belong to same word when identification; If impossible, then the stroke of current input is submitted to engine as the stroke of new literacy and discern, obtain recognition result; If may, it is selective then to obtain two recognition results: the stroke of current input is submitted to recognition engine as the follow-up stroke of the stroke of having imported before discern, obtain recognition result; Simultaneously the stroke of current input is submitted to engine as the stroke of new literacy and discern, obtain recognition result.
As a preferred embodiment of the present invention, described method also comprises stroke memory step, according to user's repeatedly input, analyzes the ways of writing of user to specific stroke, and gives record, is stored in the identification storehouse.
A kind of hand-written inputting method, this method comprises the steps:
A, provide a hand-written zone, the user writes in described handwriting area, and the hand-written input trajectory of handwriting area record is also shown;
C, in the process of handwriting input, make the input trajectory on the described handwriting area thin out gradually to disappearing in the process that moves, write the space for later input provides; The user continues to write in the zone that input before, present input trajectory have disappeared;
The input trajectory of D, the described handwriting area of induction, and identify corresponding character according to this input trajectory.
A kind of hand-written inputting method, when the user write on touch-screen, the stroke of writing was along with writing to the left side of user moved automatically, thereby can connect the space that pen is write for the user provides continuously in limited writing in the zone; Meanwhile, having moved to left surpasses the stroke thin out disappearance of color gradually again of a pre-set threshold from the distance of the current position of writing of user, and the prompting user can be from Far Left from newly when writing new stroke.
As a preferred embodiment of the present invention, described method comprises the steps:
Step 110, writing pencil contact touch-screen, stroke begins input;
Step 120, writing pencil move on touch-screen, and record and the handwriting area on touch-screen show motion track; Simultaneously, the motion track of writing pencil moves automatically to the left side, thereby provides the space for the user writes toward the right;
The speed that automatic transport tape moves to the left side is at the uniform velocity mobile according to predefined speed, perhaps moves with reference to the translational speed of user's writing pencil is adaptive;
Along with automatic transport tape to the moving of the left side, moved to left and demonstration that the distance from current writing pencil position surpasses the handwriting area of stroke on touch-screen of a pre-set threshold begins thin outly gradually, disappear at last;
Step 130, writing pencil leaves touch-screen, the end of input of current stroke;
Step 140, judge: whether the stroke of current input may belong to same literal with the stroke of having imported before; If answer forwards step 150 to for being, if answer forwards step 160 to for not;
Step 150 is submitted to recognition engine with the stroke of current input as the follow-up stroke of the stroke of having imported before and is discerned, and obtains recognition result;
Step 160 is submitted to engine with the stroke of current input as the stroke of new literacy and is discerned, and obtains recognition result;
Step 170 shows the literal of discerning as a result;
Step 180 finishes.
As a preferred embodiment of the present invention, in the described step 140, concrete steps are as follows:
Step 210 judges whether current stroke is first stroke that the user imported, if turn to step 240, otherwise turn to step 220;
Step 220, judge current stroke whether be before being positioned at the unicursal right side newly write strokes of characters, if turn to step 240, otherwise turn to step 230;
If the reference position of current stroke on the right side of preceding unicursal final position and the reference position of current stroke and the distance between the preceding unicursal final position greater than a pre-set threshold, then judge current stroke be before being positioned at the unicursal right side newly write strokes of characters, otherwise judge current stroke be not before being positioned at the unicursal right side newly write strokes of characters;
Step 230, the reference position of judging current stroke whether in the left side of preceding unicursal reference position and the reference position of current stroke and the distance between the preceding unicursal reference position greater than a pre-set threshold, if turn to step 240, otherwise turn to step 250;
Step 240, the stroke that returns current input and the stroke of having imported before can not belong to the judged result of same literal, turn to step 260;
Step 250, the stroke that returns current input and the stroke of having imported before may belong to the judged result of same literal, turn to step 260;
Step 260 finishes.
A kind of electronic equipment, it comprises above-mentioned hand-written input system.
Beneficial effect of the present invention is: hand-written inputting method and system that the present invention proposes, make when the user writes on touch-screen, the stroke of not only writing is just as being placed on the automatic transport tape along with writing to the left side of user moved automatically, thereby can connect the space that pen is write for the user provides continuously in limited writing in the zone; And the user can restart from Far Left when writing new stroke at any time, thereby meets the daily writing style of user.
Embodiment
Describe the preferred embodiments of the present invention in detail below in conjunction with accompanying drawing.
Embodiment one
The present invention has disclosed a kind of hand-written input system and method.When the invention enables the user on touch-screen, to write, the stroke of writing is just as being placed on the automatic transport tape along with writing to the left side of user moved automatically, thereby can connect the space that pen is write for the user provides continuously in limited writing in the zone; Meanwhile, moved to left and surpassed the stroke thin out disappearance of color gradually again of a pre-set threshold from the distance of the current position of writing of user, the prompting user can be from Far Left from newly when writing new stroke, thereby meet the daily writing style of user.
See also Fig. 7, the hand-written input system 100 that the present invention discloses comprises handwriting area 10, identification module 20, roll screen driver module 30, the gradually light module 40 of input trajectory, writing pencil 90.
Handwriting area 10 is for handwriting input, in order to write down hand-written input trajectory and to be shown; Described handwriting area 10 can be strip or rectangle.
Identification module 20 is in order to responding to the input trajectory of described handwriting area, and identifies corresponding character according to this input trajectory.Described identification module 20 judges whether the stroke of current input and the stroke of having imported before may belong to same word when identification; If impossible, then the stroke of current input is submitted to engine as the stroke of new literacy and discern, obtain recognition result; If may, it is selective then to obtain two recognition results: the stroke of current input is submitted to recognition engine as the follow-up stroke of the stroke of having imported before discern, obtain recognition result; Simultaneously the stroke of current input is submitted to engine as the stroke of new literacy and discern, obtain recognition result.
Roll screen driver module 30 in order in the process of handwriting input, drive the input trajectory that shows on the described handwriting area and move; Make input trajectory just as moving automatically on the transport tape automatically.The speed that described input trajectory moves is at the uniform velocity; Perhaps, the speed that described input trajectory moves is directly proportional with writing speed, and writing speed is the translational speed of writing pencil to presentation direction.
The gradually light module 40 of input trajectory in order in the process of handwriting input, make the input trajectory on the described handwriting area thin out gradually to disappearing in the process that moves, write the space for later input provides.In order to meet modern's writing rules, input trajectory can be left/up/down/to upper left/move to left down; Preferably, input trajectory can move to front-left, but the moving direction of input trajectory certainly is other directions.In the process of handwriting input, input trajectory is during apart from the writing pencil first threshold, and input trajectory begins thin out gradually; Input trajectory is during apart from writing pencil second threshold value, and input trajectory disappears.
Writing pencil 90 is used for writing words on handwriting area 10, and native system also can not comprise writing pencil 90 certainly, and the user also can pass through the finger writing literal.
Simultaneously, described system can also comprise recognition result display module 21, recognition result selection module 22.The recognition result of recognition result display module 21 in order to show that described identification module is current, recognition result comprise can't be discerned or have unique recognition result or a plurality of recognition results are arranged.The user selects module 22 to select by recognition result, selects the character that needs from the result of described recognition result display module 21 identifications; Then, empty input trajectory on the described handwriting area.Described system can also comprise automatic discrimination module, when the recognition result of described identification module is unique, imports this result automatically.
In addition, in order to satisfy each user's use habit, described hand-written input system can also comprise the roll screen control module; Whether the roll screen control module works in order to set described roll screen driver module 30, and promptly whether the user can move by this roll screen control module setting input trajectory.At this moment, if the user selects input trajectory to need not to move, then roll screen driver module 30 is not worked.
In order to make native system have more hommization, described system also comprises stroke study module, stroke memory module 70.The stroke study module analyzes the ways of writing of user to specific stroke in order to the repeatedly input according to the user; Stroke memory module 70 is stored in the identification storehouse in order to write down the ways of writing to specific stroke that the analysis of described stroke study module obtains.As, certain user is accustomed to " Rui " is written as the stroke of similar " Shu ".The user is (as writing " sand " word) in writing process, often " Rui " is written as the stroke of similar " Shu ", and identification module 20 identifies SOME RESULTS through after discerning, and the user selects " sand ".Through repeatedly similar selection, the stroke study module analyzes the ways of writing of this user to specific stroke; Then, give record by stroke memory module 70.
Hand-written input system of the present invention can also comprise input trajectory display module 80, in order to show that all are without the input trajectory of confirming input; If the input trajectory that disappeared is without confirming input, the input trajectory that described input trajectory display module 80 shows comprise input trajectory thin out in the input trajectory that disappeared, the handwriting area, and handwriting area in the normal input trajectory that shows.When the unacknowledged input trajectory of user is too much (having some to disappear), the user can know the literal of oneself having imported by input trajectory display module 80.Unacknowledged input trajectory, promptly the user also confirms the input trajectory of selection.
In addition, in order to make amendment to unacknowledged input trajectory, described input system comprises that also input trajectory accesses module 50, modified module 60.Input trajectory accesses module 50 in order to regulate the moving direction of input trajectory, and the input trajectory that disappears is accessed; As, control static input trajectory or the input trajectory that is being moved to the left and move right.Control method can be near handwriting area 10 right and left key is set, and pins right button with writing pencil 90, and input trajectory promptly moves right; Perhaps, by pinning handwriting area 10, then drag to the right, after input trajectory accessed module 50 and identifies this and drag signal, promptly the scalable input trajectory moved right.
Modified module 60 is in order to revise unidentified input trajectory; Described amending method comprises wipes the input trajectory that needs modification; Perhaps also being included in the place of wiping writes again.Wiping input trajectory can be to wipe whole literal, also can be a part of wiping literal.Thus, can improve input efficiency; The user need not to re-enter.
The present invention discloses a kind of electronic equipment simultaneously, and it comprises above-mentioned hand-written input system.This electronic equipment can be mobile phone, PDA or the like.
More than introduce the composition of hand-written input system of the present invention, introduced the hand-written inputting method of said system below in conjunction with Fig. 8.See also Fig. 8, this method comprises the steps:
Steps A, provide handwriting area, the user writes in described handwriting area, and the hand-written input trajectory of handwriting area record is also shown;
Step B, in the process of handwriting input, drive the input trajectory that shows on the described handwriting area and move;
Step C, in the process of handwriting input, make the input trajectory on the described handwriting area thin out gradually to disappearing in the process that moves, write the space for later input provides; The user continues to write in the zone that input before, present input trajectory have disappeared;
The input trajectory of step D, the described handwriting area of induction, and identify corresponding character according to this input trajectory.Described identification module judges whether the stroke of current input and the stroke of having imported before may belong to same word when identification; If impossible, then the stroke of current input is submitted to engine as the stroke of new literacy and discern, obtain recognition result; If may, it is selective then to obtain two recognition results: the stroke of current input is submitted to recognition engine as the follow-up stroke of the stroke of having imported before discern, obtain recognition result; Simultaneously the stroke of current input is submitted to engine as the stroke of new literacy and discern, obtain recognition result.
Preferably, described method also comprises
The recognition result step display shows the recognition result that described identification module is current, and recognition result comprises can't be discerned or have unique recognition result or a plurality of recognition results are arranged;
Recognition result is selected step, selects the character that needs from the result of described recognition result display module identification; Then, empty input trajectory on the described handwriting area.
In addition, described method also comprises stroke memory step, according to user's repeatedly input, analyzes the ways of writing of user to specific stroke, and gives record, and be stored in the identification storehouse.
In sum, hand-written inputting method and system that the present invention proposes, make when the user writes on touch-screen, the stroke of not only writing is just as being placed on the automatic transport tape along with writing to the left side of user moved automatically, thereby can connect the space that pen is write for the user provides continuously in limited writing in the zone; And the user can restart from Far Left when writing new stroke at any time, thereby meets the daily writing style of user.
Embodiment two
The difference of present embodiment and embodiment one is that in the present embodiment, hand-written input system comprises can not comprise the roll screen driver module, mainly comprises:
Handwriting area is for handwriting input, in order to write down hand-written input trajectory and to be shown;
Identification module in order to responding to the input trajectory of described handwriting area, and identifies corresponding character according to this input trajectory;
The gradually light module of input trajectory, in order in the process of handwriting input, make the input trajectory on the described handwriting area thin out gradually to disappearing in the process that moves, write the space for later input provides.
The hand-written inputting method corresponding with above-mentioned hand-written input system, this method comprises the steps:
A, provide a hand-written zone, the user writes in described handwriting area, and the hand-written input trajectory of handwriting area record is also shown;
C, in the process of handwriting input, make the input trajectory on the described handwriting area thin out gradually to disappearing in the process that moves, write the space for later input provides; The user continues to write in the zone that input before, present input trajectory have disappeared;
The input trajectory of D, the described handwriting area of induction, and identify corresponding character according to this input trajectory.
Embodiment three
The present invention has disclosed a kind of method of automatic rolling input area when carrying out handwriting input on touch-screen.This method makes when the user writes on touch-screen, the stroke of writing is just as being placed on the automatic transport tape along with thereby writing to what moved automatically on the left side of user can connect the space that pen is write for the user provides continuously in limited writing in the zone, meanwhile, moved to left and surpassed the stroke thin out disappearance of color gradually again of a pre-set threshold from the distance of the current position of writing of user, the prompting user can be from Far Left from newly when writing new stroke, thereby meet the daily writing style of user.
In order to carry out the present invention, need possess following hardware condition:
Need general computing and memory storage in this equipment, comprise the CPU (central processing unit) of certain frequency, have necessarily be used for computing internal memory and be used for storage system software, the storage space of application software and various data etc.
Need the touch-screen that can carry out handwriting input in this equipment, a strip zone on this touch-screen is designated as the handwriting input zone, also has the viewing area of recognition result on this touch-screen, command button area or the like.
Need writing pencil in this equipment.
When the present invention is directed to handwriting input, the touch-screen size of mobile device has limited the even problem of a writing words of user, the method that stroke that a kind of new user writes in handwriting area moves automatically to the left side is proposed, this method makes when the user writes on touch-screen, the stroke of not only writing is just as being placed on the automatic transport tape along with thereby writing to what moved automatically on the left side of user can connect the space that pen is write for the user provides continuously in limited writing in the zone, and moved to left and surpassed the stroke thin out disappearance of color gradually again of a pre-set threshold from the distance of the current position of writing of user, the prompting user can be from Far Left from newly when writing new stroke, thereby meet the daily writing style of user.
The step of the method for the invention is seen Fig. 4, and concrete steps are as follows:
Step 110, writing pencil contact touch-screen, stroke begins input.
Step 120, writing pencil move on touch-screen, and record and the handwriting area on touch-screen show motion track.Simultaneously, thus the motion track of writing pencil provides the space just as being placed on the automatic transport tape to move automatically to the user writes toward the right to the left side.The speed that automatic transport tape moves to the left side can be at the uniform velocity mobile according to predefined speed, also can move with reference to the translational speed of user's writing pencil is adaptive.Along with automatic transport tape to the moving of the left side, moved to left and demonstration that the distance from current writing pencil position surpasses the handwriting area of stroke on touch-screen of a pre-set threshold T1 begins thin outly gradually, disappear at last.
Step 130, writing pencil leaves touch-screen, the end of input of current stroke.
Step 140, judge: whether the stroke of current input may belong to same literal with the stroke of having imported before.If answer forwards step 150 to for being, if answer forwards step 160 to for not.
Step 150 is submitted to recognition engine with the stroke of current input as the follow-up stroke of the stroke of having imported before and is discerned, and obtains recognition result.
Step 160 is submitted to engine with the stroke of current input as the stroke of new literacy and is discerned, and obtains recognition result.
Step 170 shows the literal of discerning as a result.
Step 180 finishes.
In the described step 120, writing pencil moves on touch-screen and handwriting trace moves an example of this process referring to Fig. 5.Fig. 5 (a) expression user begins to write, and Fig. 5 (b) expression is along with the user's writes, and the stroke of having finished writing moves to the left side automatically, and the stroke of the certain position that moved to left simultaneously is thin out gradually, disappears at last.
In the described step 140, the method for judging is referring to Fig. 6, and concrete steps are as follows:
Step 210 judges whether current stroke is first stroke that the user imported, if answer turns to step 240 for being, if answer turns to step 220 for not.
Step 220, judge current stroke be before being positioned at the unicursal right side newly write strokes of characters? if answer turns to step 240 for being, otherwise turn to step 230.
The method of judging is to see the reference position of current stroke whether on the right side of preceding unicursal final position, and the distance between the reference position of current stroke and the preceding unicursal final position is greater than a pre-set threshold.
Step 230, whether the reference position of judging current stroke is in the left side of preceding unicursal reference position, and the distance between the reference position of current stroke and the preceding unicursal reference position is greater than a pre-set threshold, if answer is for being, turn to step 240, otherwise turn to step 250.
Step 240, the stroke that returns current input and the stroke of having imported before can not belong to the judged result of same literal, turn to step 260.
Step 250, the stroke that returns current input and the stroke of having imported before may belong to the judged result of same literal, turn to step 260.
Step 260 finishes.
On the touch diamond S900 of Dopod, this mobile phone has touch-screen and writing pencil; Can realize method of the present invention very easily.
Embodiment four
The difference of present embodiment and embodiment three is, in the present embodiment,
Described method comprises the steps:
Step 110, writing pencil contact touch-screen, stroke begins input;
Step 120, writing pencil move on touch-screen, and record and the handwriting area on touch-screen show motion track; Simultaneously, the motion track of writing pencil moves automatically to the left side, thereby provides the space for the user writes toward the right;
The speed that the motion track of writing pencil moves to the left side is at the uniform velocity mobile according to predefined speed, perhaps moves with reference to the translational speed of user's writing pencil is adaptive;
Along with automatic transport tape to the moving of the left side, moved to left and demonstration that the distance from current writing pencil position surpasses the handwriting area of stroke on touch-screen of a pre-set threshold begins thin outly gradually, disappear at last;
Step 130, writing pencil leaves touch-screen, the end of input of current stroke;
Step 140, judge: whether the stroke of current input may belong to same literal with the stroke of having imported before; If answer forwards step 150 to for being, if answer forwards step 160 to for not;
Step 150 is submitted to recognition engine with the stroke of current input as the follow-up stroke of the stroke of having imported before and is discerned, and simultaneously the stroke of current input is submitted to engine as the stroke of new literacy and discerns, and obtains a plurality of recognition results;
Step 160 is submitted to engine with the stroke of current input as the stroke of new literacy and is discerned, and obtains recognition result;
Step 170 shows the literal of discerning as a result;
Step 180 finishes.
Promptly, whether the stroke of current input may belong to same literal with the stroke of having imported before, in the step 150 stroke of current input being submitted to recognition engine as the follow-up stroke of the stroke of having imported before discerns, simultaneously the stroke of current input is submitted to engine as the stroke of new literacy and discern, obtain a plurality of recognition results and select for the user.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of disclosed embodiment and change are possible, and the various parts of the replacement of embodiment and equivalence are known for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present invention or essential characteristic, and the present invention can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.Under the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change here to disclosed embodiment.