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 supplies handwriting input, in order to write down hand-written input trajectory and to show;
Identification module in order to responding to the input trajectory of said handwriting area, and identifies corresponding character according to this input trajectory;
Roll the screen driver module, in order in the process of handwriting input, drive the input trajectory that shows on the said 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 said handwriting area thin out gradually to disappearing in the process that moves, write the space for later input provides.
As a kind of preferred version of the present invention, said system also comprises
The recognition result display module, in order to the recognition result that shows that said 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 selection needs from the result of said recognition result display module identification; Then, empty input trajectory on the said handwriting area.
As a kind of preferred version of the present invention, said system also comprises automatic discrimination module, when the recognition result of said identification module is unique, imports this result automatically.
As a kind of preferred version of the present invention, said handwriting area is strip or rectangle; Said roll the screen driver module in order in the process of handwriting input, make the input trajectory that shows on the said handwriting area left/on/down/upper left/left side is mobile down.
As a kind of preferred version of the present invention, said system comprises writing pencil.
As a kind of preferred version of the present invention, the speed that said input trajectory moves is at the uniform velocity; Perhaps, the speed that said input trajectory moves is directly proportional with writing speed, and writing speed is the translational speed of writing pencil to presentation direction.
As a kind of preferred version 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 kind of preferred version of the present invention, said identification module judges whether the stroke of current input and the stroke of having imported before possibly 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 maybe, 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 kind of preferred version of the present invention, said system also comprises rolls the screen control module, work in order to set the said screen driver module that rolls, and promptly whether the user can roll the screen control module through this and set input trajectory and move.
As a kind of preferred version of the present invention, said 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 said stroke study module obtains, is stored in the identification storehouse.
As a kind of preferred version of the present invention, said 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 said 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 kind of preferred version of the present invention, said system comprises that also input trajectory accesses module, in order to regulate the moving direction of input trajectory, accesses the input trajectory that disappears.Further, said system also comprises modified module, in order to revise unidentified input trajectory; Said 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 supplies handwriting input, in order to write down hand-written input trajectory and to show;
Identification module in order to responding to the input trajectory of said 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 said 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, a hand-written zone is provided, the user writes in said handwriting area, and the hand-written input trajectory of handwriting area record also shows;
B, in the process of handwriting input, drive the input trajectory that shows on the said handwriting area and move;
C, in the process of handwriting input, make the input trajectory on the said 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 said handwriting area of induction, and identify corresponding character according to this input trajectory.
As a kind of preferred version of the present invention, said method also comprises
The recognition result step display shows the recognition result that said 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, the character that selection needs from the result of said recognition result display module identification; Then, empty input trajectory on the said handwriting area.
As a kind of preferred version of the present invention, among the step D, said identification module judges whether the stroke of current input and the stroke of having imported before possibly 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 maybe, 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 kind of preferred version of the present invention, said 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, a hand-written zone is provided, the user writes in said handwriting area, and the hand-written input trajectory of handwriting area record also shows;
C, in the process of handwriting input, make the input trajectory on the said 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 said handwriting area of induction, and identify corresponding character according to this input trajectory.
A kind of hand-written inputting method, when the user write at the enterprising running hand of touch-screen, the stroke of writing was along with writing to the left side of user moved automatically, thereby can connect a space of writing 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 beginning when writing new stroke.
As a kind of preferred version of the present invention, said 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 to the left side automatically, thereby for the user writes toward the right the space is provided;
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 EOI of current stroke;
Step 140, judge: whether the stroke of current input possibly 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 kind of preferred version of the present invention, in the said step 140, concrete steps are following:
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 possibly 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 the user when the enterprising running hand of touch-screen is write; The stroke of not only writing is such along with writing to the left side of user moved automatically just as being placed on the automatic transport tape, 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
Specify the preferred embodiments of the present invention below in conjunction with accompanying drawing.
Embodiment one
The present invention has disclosed a kind of hand-written input system and method.The invention enables the user when the enterprising running hand of touch-screen is write; The stroke of writing is such along with writing to the left side of user moved automatically just as being placed on the automatic transport tape, 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 beginning 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, rolls screen driver module 30, the gradually light module of input trajectory 40, writing pencil 90.
Handwriting area 10 supplies handwriting input, in order to write down hand-written input trajectory and to show; Said handwriting area 10 can be strip or rectangle.
Identification module 20 is in order to responding to the input trajectory of said handwriting area, and identifies corresponding character according to this input trajectory.Said identification module 20 judges whether the stroke of current input and the stroke of having imported before possibly 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 maybe, 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 said handwriting area and move; Make input trajectory just as moving automatically on the transport tape automatically.The speed that said input trajectory moves is at the uniform velocity; Perhaps, the speed that said 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 said 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 down left; Preferably, input trajectory can move to positive 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, said 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 said 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 through recognition result, the character that selection needs from the result of said recognition result display module 21 identifications; Then, empty input trajectory on the said handwriting area.Said system can also comprise automatic discrimination module, when the recognition result of said identification module is unique, imports this result automatically.
In addition, in order to satisfy each user's use habit, said hand-written input system can also comprise and rolls the screen control module; Whether roll the screen control module and work in order to set the said screen driver module 30 that rolls, promptly whether the user can roll the screen control module through this and set input trajectory and move.At this moment, if the user selects input trajectory to need not to move, then roll screen driver module 30 and do not work.
In order to make native system have more hommization, said 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 said stroke study module obtains.For example, a user accustomed to "Rui" Write something like "Shu" strokes.Users in the process of writing (such as writing "sand" word), often the "Bac" Write something like "Shu" stroke, the identification module 20 Once identified, identified a number of results, 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 said 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, said 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, accesses the input trajectory that disappears; 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, through 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; Said 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, handwriting area is provided, the user writes in said handwriting area, and the hand-written input trajectory of handwriting area record also shows;
Step B, in the process of handwriting input, drive the input trajectory that shows on the said handwriting area and move;
Step C, in the process of handwriting input, make the input trajectory on the said 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 said handwriting area of induction, and identify corresponding character according to this input trajectory.Said identification module judges whether the stroke of current input and the stroke of having imported before possibly 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 maybe, 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, said method also comprises
The recognition result step display shows the recognition result that said 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, the character that selection needs from the result of said recognition result display module identification; Then, empty input trajectory on the said handwriting area.
In addition, said 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 the user when the enterprising running hand of touch-screen is write; The stroke of not only writing is such along with writing to the left side of user moved automatically just as being placed on the automatic transport tape, 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, in the present embodiment, hand-written input system comprises and can not comprise and roll the screen driver module, mainly comprises:
Handwriting area supplies handwriting input, in order to write down hand-written input trajectory and to show;
Identification module in order to responding to the input trajectory of said 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 said 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, a hand-written zone is provided, the user writes in said handwriting area, and the hand-written input trajectory of handwriting area record also shows;
C, in the process of handwriting input, make the input trajectory on the said 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 said 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 on touch-screen, carrying out handwriting input.This method makes the user when the enterprising running hand of touch-screen is write; The stroke of writing is such 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 just as being placed on the automatic transport tape; 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 beginning 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 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 to the left side is automatically proposed; This method makes the user when the enterprising running hand of touch-screen is write; The stroke of not only writing is such 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 just as being placed on the automatic transport tape; And moved to left and surpass the stroke thin out disappearance of color gradually 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 beginning 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 following:
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 such moving 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 EOI of current stroke.
Step 140, judge: whether the stroke of current input possibly 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 said step 120, the example that writing pencil moves on touch-screen and handwriting trace moves this process is 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 said step 140, the method for judging is referring to Fig. 6, and concrete steps are following:
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 possibly 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,
Said 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 to the left side automatically, thereby for the user writes toward the right the space is provided;
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 EOI of current stroke;
Step 140, judge: whether the stroke of current input possibly 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 possibly 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 supply the user to select.
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 the embodiment that is disclosed and change are possible, and the replacement of embodiment is known with the various parts of equivalence 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 the embodiment that is disclosed.