CN102141892B - Display method and system for overlaying handwritten input - Google Patents

Display method and system for overlaying handwritten input Download PDF

Info

Publication number
CN102141892B
CN102141892B CN2011100760059A CN201110076005A CN102141892B CN 102141892 B CN102141892 B CN 102141892B CN 2011100760059 A CN2011100760059 A CN 2011100760059A CN 201110076005 A CN201110076005 A CN 201110076005A CN 102141892 B CN102141892 B CN 102141892B
Authority
CN
China
Prior art keywords
stroke
new entering
historical
buffer area
viewing area
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
CN2011100760059A
Other languages
Chinese (zh)
Other versions
CN102141892A (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 CN2011100760059A priority Critical patent/CN102141892B/en
Publication of CN102141892A publication Critical patent/CN102141892A/en
Application granted granted Critical
Publication of CN102141892B publication Critical patent/CN102141892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Character Discrimination (AREA)

Abstract

The invention relates to the technical field of handwritten input, in particular to a display method and system for overlaying handwritten input. The method comprises the following steps of: tracking the stroke input handwriting of a user and respectively recording each stroke as a two-dimensional coordinate point range; confirming the subordination relation between a newly-input stroke and a historical stroke stored in a first buffer area; adjusting the two-dimensional coordinate point range of the newly-input stroke according to the subordination relation; and displaying the newly-input stroke in an independent display area according to the adjusted two-dimensional coordinate point range of the newly-input stroke. By utilizing the invention, strokes input in a writing area can be displayed in the independent display area in real time according to a character input sequence so that the user can clearly recognize the overlaid input contents of the user in the writing area.

Description

Stack hand input display method and system
Technical field
The present invention relates to the writing technology field, particularly a kind of stack hand input display method and system.
Background technology
In recent years, along with the fast sale of hand-hold electronic equipments, its function just progressively turns to touching the microcomputer that shows and supporting the multimedia terminal equipment of infinite network from the simplest electronic address information book.Along with the text on these mini-plants input demand from brief information, turn to longer notes or email message such as electronic address book etc., naturally efficient and continuous input demand just is being subject to increasing attention.
Giant-screen equipment is because to write the zone more wide in range, and the user is continued the writing style of daily continuous input.Yet on the small-sized touch panel device of portability, because the restriction of touch-screen size causes the person's handwriting of single input limited, the handwriting input ability is restricted continuously, and input efficiency is lower.
For this situation, the hand-written major part of supporting on this class small screen device at present is based on the monocase pattern, that is to say.User's in definite writing distinguished (as writing frame that presets or full frame) word for word inputs, and then the waiting system feedback of starting writing after individual character finishes empties and write the input that screen continues next character.This monocase input pattern has been avoided the character cutting difficult problem of continuous handwriting recognition, often has higher discrimination.Yet such input mode does not meet the daily writing style of people, and start writing wait in turn and etc. the input efficiency that affected to be identified.
Obviously the hand-written pattern based on small screen device has much room for improvement, in the urgent need to making a breakthrough in functionalization, hommization, aspect intelligent, as a kind of really available, easy-to-use, practical technology, be applied even more extensively in daily life and commercial career field.For this reason, proposed a solution in the prior art, this scheme allows the user at the predefined a plurality of characters of the continuous input of the mode that covers with stack in the zone of writing, and realizes the continuous input demand of writing in the zone limited.But still there is following shortcoming in this scheme aspect user writing experience and the recognition performance:
Because the user inputs a plurality of characters writing in the space of setting with the stack coverage mode, along with increasing of character, mutually mixes between the stroke of character, is difficult to distinguish the stroke of historical stroke and current input.The character of input is difficult to clear representing, thereby the content of user's input clearly can not be represented to the user.
Summary of the invention
The embodiment of the invention provides a kind of stack hand input display method and system, when inputting a plurality of character to solve in the prior art by the stack coverage mode, the content of user's input clearly can not be represented the problem to the user.
For this reason, the embodiment of the invention provides following technical scheme:
A kind of stack hand input display method comprises:
Follow the tracks of user's stroke input person's handwriting, and each stroke is recorded as a two-dimensional coordinate point range separately;
Determine the membership of the historical stroke of new entering stroke and the first buffer area storage;
Adjust the two-dimensional coordinate point range of described new entering stroke according to described membership;
Two-dimensional coordinate point range according to the new entering stroke after adjusting shows described new entering stroke in described independent viewing area.
A kind of stack handwriting input display system comprises:
Data acquisition module is used for following the tracks of user's stroke input person's handwriting, and each stroke is recorded as a two-dimensional coordinate point range separately;
The breakpoint analysis module is for the membership of the historical stroke of determining the storage of new entering stroke and the first buffer area;
Adjusting module is for the two-dimensional coordinate point range of adjusting described new entering stroke according to described membership;
Display module is used for according to the two-dimensional coordinate point range of the new entering stroke after adjusting described new entering stroke being shown in described independent viewing area.
The stroke sorting module is used for emptying the first buffer area and then storing new entering stroke into first buffer area when described breakpoint analysis module determines that the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of kinds of characters; And when described breakpoint analysis module determines that the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of same character, store new entering stroke into first buffer area;
The mapping relations determination module, be used for when the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of same character, obtain front unicursal and writing the mapping relations of district with independent viewing area in the mapping relations of writing district and independent viewing area and with it as new entering stroke; When the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of kinds of characters, calculates new entering stroke and writing the mapping relations of district with independent viewing area;
The Coordinate Adjusting module is used for writing the mapping relations of district with independent viewing area according to new entering stroke, adjusts the two-dimensional coordinate point range of described new entering stroke.
Stack hand input display method and system that the embodiment of the invention provides, when realizing continuously input by the stack coverage mode in the prior art, the content of user's input clearly can not be represented the problem to the user, by distinguishing the relation of new entering stroke and historical stroke, make the user when touch-screen is write, to be mapped in independent viewing area according to the character input sequence in real time at the stroke of writing district's input, thereby can make the user clearly identify the user in the content of writing district's stack input, and the demonstration that makes written contents no longer is subjected to the restriction of writing screen size, especially is fit to support the capacitance plate equipment of finger writing.
Description of drawings
In order to be illustrated more clearly in technical scheme of the invention process, the below will do to introduce simply to the accompanying drawing of required use among the embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of embodiment of the invention stack hand input display method;
Fig. 2 is the process flow diagram of following the tracks of user's stroke input person's handwriting in the embodiment of the invention;
Fig. 3 calculates new entering stroke to write the process flow diagram of district with the mapping relations of independent viewing area in the embodiment of the invention;
Fig. 4 is a kind of structural representation of embodiment of the invention stack handwriting input display system;
Fig. 5 is a kind of structural representation of mapping relations determination module in the embodiment of the invention;
Fig. 6 is a kind of User Interface schematic diagram in the embodiment of the invention;
Fig. 7 is a kind of User Interface schematic diagram in the embodiment of the invention;
Fig. 8 is user writing stroke example in the embodiment of the invention;
Fig. 9 is writing the display effect example of district to stroke writing in the embodiment of the invention;
Figure 10 be in the embodiment of the invention in independent viewing area to the display effect example of stroke writing.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The method of embodiment of the invention stack handwriting input, when realizing continuously input by the stack coverage mode in the prior art, the content of user's input clearly can not be represented the problem to the user, by distinguishing the relation of new entering stroke and historical stroke, make the user when touch-screen is write, to be mapped in independent viewing area according to the character input sequence in real time at the stroke of writing district's input, thereby can make the user clearly identify the user and write the content of district stack input, and make the demonstration of written contents no longer be subjected to the restriction of writing screen size.
As shown in Figure 1, be the process flow diagram of embodiment of the invention stack hand input display method, may further comprise the steps:
Step 101 is followed the tracks of user's stroke input person's handwriting, and each stroke is recorded as a two-dimensional coordinate point range separately.
Step 102 is determined the membership of historical stroke of new entering stroke and the first buffer area storage.
Before and after two strokes writing may belong to same character and also may belong to two different characters, in embodiments of the present invention, can determine membership between different strokes according to the correlativity of stroke lettering feature and front and back stroke.
Particularly, can determine according to the position relationship of the historical stroke of storing in new entering stroke and the first buffer area membership of the historical stroke of new entering stroke and the storage of the first buffer area.
At first, according to the two-dimensional coordinate point range of stroke of record, calculate the start position of new entering stroke, and the final position of up-to-date stroke in the historical stroke set of the first buffer area storage, following several situation is arranged:
(1) distance in described start position and described final position is less than the first distance threshold, such as, the first distance threshold can be made as 0.2 times word frame length.Here word frame size can be adaptive to the user writing custom, it is set to be equivalent to write the numerical value of district's size when system initialization is not inputted, many strokes according to user's input can recomputate word frame size subsequently, determine that then the historical stroke of described new entering stroke and the first buffer area storage is to be under the jurisdiction of same character;
(2) distance in described start position and described final position is greater than the second distance threshold value, such as, the first distance threshold can be made as 0.35 times word frame length, determine that then the historical stroke of described new entering stroke and the first buffer area storage is under the jurisdiction of kinds of characters;
(3) distance in described start position and described final position is more than or equal to the first distance threshold and less than or equal to the second distance threshold value, the membership of then determining the historical stroke of described new entering stroke and the first buffer area storage is fringe, that is to say, only can't judge accurately according to the position relationship of the historical stroke of storing in new entering stroke and the first buffer area whether new entering stroke and historical stroke belong to same character.
The situation that belongs to fringe for this membership can be done further auxiliary judgment, particularly, can process in the following manner:
A. after joining historical stroke set in the first buffer area according to new entering stroke the impact of the equilibrium degree of character stroke on space distribution is judged: if new entering stroke is so that the equilibrium degree of accumulative total stroke can determine that then the historical stroke in new entering stroke and the first buffer area is under the jurisdiction of same character; Otherwise determine that the historical stroke in new entering stroke and the first buffer area is under the jurisdiction of kinds of characters.
Described stroke distributing equilibrium degree is used for weighing the distribution of pen section in each interval of writing frame of stroke.At this, the distributing equilibrium degree of all strokes after need to calculating respectively the distributing equilibrium degree of historical stroke and adding new stroke.Such as, at first calculate the word frame that stroke set to be investigated closes, and this word frame is divided into four word frames, be respectively upper left quarter, lower left quarter, upper right quarter and right lower quadrant.Calculate subsequently accumulation the segment length of stroke to be investigated on these four spaces and.Last calculating pen album is combined in that a pen section variance is designated as stroke distributing equilibrium degree on four sub spaces.As seen the less then pen section of variance distributes more balanced) added value surpasses certain predefined threshold value (such as 0.15 times former variance)
B. consider the superposition situation between the historical stroke in new entering stroke and the first buffer area, in general, overlapping between the inner stroke of character have a certain rule, less such as the number of new entering stroke and historical stroke joining.Therefore, if the degree of overlapping of new entering stroke and historical stroke is very high and do not have comparatively in a jumble rule, then it is a new character stroke to a great extent, that is to say, the historical stroke in new entering stroke and the first buffer area is under the jurisdiction of kinds of characters.
Such as, calculate the corner dimension that the historical stroke in new entering stroke and the first buffer area intersects in twos, if average angle less than predefined thresholding, such as 20 degree, determines that then new stroke and historical stroke are kinds of characters
Certainly, the embodiment of the invention is not limited in above-mentioned judgment mode, can also adopt other judgment modes, gives an example no longer one by one at this.
Step 103 is adjusted the two-dimensional coordinate point range of described new entering stroke according to described membership.
Owing to writing the district according to stack coverage mode input, so the stroke of kinds of characters can overlap writing the district.The embodiment of the invention is by distinguishing the membership of new entering stroke and historical stroke, can be in the independent viewing area of setting the stroke of input be separately shown according to whether belonging to same character, the stroke that namely belongs to same character, be presented at the affiliated lane place of same character, and belong to the stroke of kinds of characters, show according to the input sequence successively lane place under kinds of characters.Such as, from left to right or from top to bottom show successively.
If the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of kinds of characters, then empties the first buffer area and store new entering stroke into first buffer area; And calculate new entering stroke writing the mapping relations of district with independent viewing area, preserve described mapping relations, and adjust the two-dimensional coordinate point range of described new entering stroke according to described mapping relations;
If the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of same character, then store new entering stroke into first buffer area; And writing district and the mapping relations of independent viewing area and adjusting the two-dimensional coordinate point range of described new entering stroke according to front unicursal.
Particularly, the calculating of described mapping relations can have multiple implementation, as long as can the stroke of kinds of characters can be distinguished in independent viewing area, and demonstration gets final product successively.
Step 104, according to the two-dimensional coordinate point range of the new entering stroke after adjusting will described new entering stroke in described independent viewing area demonstration.
Such as, the user can show the stroke that the user inputs by input sequence in real time successively in independent viewing area when writing a string complete character string of district's stack covering input, and according to the membership between stroke, demonstrate complete character, as the demonstration result of the continuous handwriting input of routine.
As seen, embodiment of the invention stack hand input display method, show to independent viewing area by the content map that will write the input of district's stack coverage mode, so that when small screen device adopts the stack handwriting input, can make the user clearly screen the character of input, improve user's writing experience.
In embodiments of the present invention, follow the tracks of the flow process of user's stroke input person's handwriting as shown in Figure 2, may further comprise the steps:
Step 201 empties each counter and buffer area, and adjacent stroke dead time counter T=0 is set;
Step 202 empties and writes the district, provides the space to give the follow-up input of user;
Step 203 waits to be entered;
Step 204 judges whether style of writing starts to write; If so, execution in step 205 then; Otherwise, execution in step 207;
Step 205 is followed the tracks of user's stroke input person's handwriting, stroke is recorded as a two-dimensional coordinate point range, until style of writing leaves touch-screen; Then adjacent stroke dead time counter T is reset to 0;
Step 206 is input to the back-end processing system with a series of two-dimensional coordinate point ranges that record;
Step 207 adds 1 with adjacent stroke dead time counter T;
Step 208, whether the value of adjacent stroke dead time counter T is greater than default dead time threshold value Tr; If so, execution in step 209 then; Otherwise, return step 203;
Step 209 determines to have inputted a complete history character.
Described back-end processing system is one and integrated the user inputted the system that person's handwriting is put in order in real time, and its major function is that the historical person's handwriting to user's input carries out breakpoint analysis and it is mapped to the processing such as independent viewing area demonstration.That is to say, when the practical application of embodiment of the invention stack hand input display method, can be applied to respectively two aspects in front-end and back-end of a system.At the front end Real-Time Monitoring and gather user's stroke input person's handwriting, and each stroke is recorded as a two-dimensional coordinate point range separately, in the rear end user's stroke input person's handwriting that collects is put in order.
In embodiments of the present invention, can set an independent viewing area at display screen, to show in real time the superpose stroke of input of user by the input character order, specifically can finish this function by above-mentioned back-end processing system.
As shown in Figure 3, be to calculate new entering stroke in the embodiment of the invention to write the process flow diagram of district with the mapping relations of independent viewing area, may further comprise the steps:
Suppose that independent viewing area character arranges demonstration line by line, and after delegation's character writes, automatically jump to next line and start anew to show, write in all provisional capitals and then forward the first row input to after full.
Historical character S in given the first buffer area and current up-to-date independent viewing area character are positioned at capable n the character of m, and then new mapping relations corresponding to entering stroke are calculated as follows:
Step 301 is determined housing size and the position of historical character in the first buffer area.
Particularly, can be with four point coordinate P1, P2, P3, P4 represents.P1 wherein, P2, P3, P4 are respectively the upper left corner of character housing, the upper right corner, the frontier point coordinate in the lower right corner and the lower left corner.The character housing is defined as the minimum rectangle that the energy frame is lived character.The horizontal ordinate that P1 is ordered is the minimum value of all sampled point horizontal ordinates of input character, and ordinate is the minimum value of all sampled point ordinates.The horizontal ordinate that P2 is ordered is the maximal value of all sampled point horizontal ordinates of input character, and ordinate is the minimum value of all sampled point ordinates.The horizontal ordinate that P3 is ordered is the maximal value of all sampled point horizontal ordinates of input character, and ordinate is the maximal value of all sampled point ordinates.The horizontal ordinate that P1 is ordered is the minimum value of all sampled point horizontal ordinates of input character, and ordinate is the maximal value of all sampled point ordinates.
Step 302 shows the size of historical character in the size of character and described the first buffer area according to described independent viewing area, calculate zoom ratio.
Particularly, show that according to independent viewing area (X direction length is Xc=P2 (x)-P1 (x) for the size of historical character demonstration in the size (be that Xt and y direction length are Yt such as X direction length) of character and the first buffer area, namely put the absolute value of the transverse axis coordinate difference of P2 and P1, and y direction length is Yc=P3 (y)-P2 (y), namely put the absolute value of the ordinate of orthogonal axes difference of P3 and P2), calculate zoom ratio, comprise the zoom ratio Rx of transverse axis directions X and the zoom ratio Ry of longitudinal axis Y-direction: Rx=Xc/Xt, Ry=Yc/Yt.
Step 303 according to described zoom ratio and independent viewing area number of characters, is done linear transformation to each sampled point (x, y) of new entering stroke, obtains new entering stroke and is writing the mapping relations of district with independent viewing area.
In embodiments of the present invention, each sampled point (x, y) of new entering stroke is done the process of linear transformation as follows:
(1) obtains last character at line number m and the row n of present position, independent viewing area;
(2) calculate the value of (n+1) * (W+Tx): if should value greater than W_total, i.e. default independent viewing area transverse width then illustrates the demonstration that need to enter a new line of current fresh character, m=m+1 is set, n=0; Otherwise change step (4) over to;
(3) value of calculating (m+1) * (H+Ty): if should be worth greater than H_total, namely the default vertical width in independent viewing area then arranges m=0, n=0, be about to current fresh character and return to the demonstration of (X0, Y0) initial position, and remove the historical character in independent viewing area; Otherwise change step (4) over to;
Wherein, n represents last character at the row of present position, independent viewing area number, and m represents that last character is in the line number of present position, independent viewing area; W, H are respectively width and the length that the independent viewing area of presetting shows character; Tx, Ty are respectively the transverse axis interval of independent viewing area colleague's adjacent character and the longitudinal axis interval of same column character; Wherein, X0, Y0 are respectively horizontal ordinate and the ordinates that the independent viewing area character preset shows starting point.
(4) the two-dimensional coordinate point range (x_new, y_new) of the sampled point of the new entering stroke in independent viewing area after the calculating mapping:
x_new=Rx*x+Xn;
y_new=Ry*y+Ym;
Wherein, x_new, y_new are respectively the person's handwriting coordinates that shows corresponding to independent viewing area after the conversion.Xn is the left margin horizontal ordinate that character will show in independent viewing area under the new entering stroke, and Ym is the coboundary ordinate that character will show in independent viewing area under the new entering stroke, is calculated as follows:
Xn=X0+n*(W+Tx);
Ym=Y0+m*(H+Ty)。
The above results is new entering stroke and is writing the mapping relations of district with independent viewing area.
By such conversion, the character of original stack input will be presented at according to order from left to right independent viewing area, be exactly continuously from left to right in input on a page thereby the user is felt.
Need to prove, be not limited in the embodiment of the invention by said process and obtain new entering stroke in the mapping relations of writing district and independent viewing area, other modes can also be arranged, specifically can be according to using needs, such as the display mode in the independent viewing area (single file, multirow, from left to right, wait from top to bottom) and show that the size etc. of character determines.
Need to prove, when concrete the application, a housing counter can be set, be used for recording the outer frame data of last character on the independent viewing area, use when calculating zoom ratio in order to above-mentioned steps 302.
In addition, a mapping relations buffer area can also be set, writing the mapping relations of district with independent viewing area to preserve current entering stroke, follow-up the input of new stroke is arranged after, when if new entering stroke and last historical stroke are under the jurisdiction of same character, the mapping relations that then can directly obtain preserving from this mapping relations buffer area, and according to these mapping relations described new entering stroke is mapped to independent viewing area.
As seen through the above description of the embodiments, those skilled in the art's all or part of step that can be well understood in above-described embodiment method can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, such as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Correspondingly, the embodiment of the invention also provides a kind of stack handwriting input display system, as shown in Figure 4, is a kind of structural representation of this system.
In this embodiment, described system comprises:
Data acquisition module 401 is used for following the tracks of user's stroke input person's handwriting, and each stroke is recorded as a two-dimensional coordinate point range separately;
Breakpoint analysis module 402 is for the membership of the historical stroke of determining the storage of new entering stroke and the first buffer area;
Adjusting module 403 is for the two-dimensional coordinate point range of adjusting described new entering stroke according to described membership;
Display module 404 is used for according to the two-dimensional coordinate point range of the new entering stroke after adjusting described new entering stroke being shown in described independent viewing area.
In embodiments of the present invention, described breakpoint analysis module 402, the concrete position relationship that is used for the historical stroke stored according to new entering stroke and the first buffer area is determined the membership of the historical stroke that new entering stroke and the first buffer area are stored, specifically can comprise: position determination unit, computing unit, the first judging unit and the second judging unit, wherein:
Described position determination unit be used for to be determined the start position of new entering stroke, and the final position of up-to-date stroke in the historical stroke set of the first buffer area storage;
Described computing unit is used for calculating the distance in described start position and described final position;
Described the first judging unit, be used for the result of calculation according to described computing unit, during greater than the first distance threshold, determine that the historical stroke of described new entering stroke and the first buffer area storage is under the jurisdiction of kinds of characters in the distance in described start position and described final position; During less than the second distance threshold value, determine that the historical stroke of described new entering stroke and the first buffer area storage is to be under the jurisdiction of same character in the distance in described start position and described final position; During more than or equal to the second distance threshold value and less than or equal to the first distance threshold, determine that the membership of the historical stroke of described new entering stroke and the first buffer area storage is fringe in the distance in described start position and described final position;
Described the second judging unit, when the membership that is used for the historical stroke stored at described new entering stroke and the first buffer area is fringe, gather the rear membership of the impact of the equilibrium degree of character stroke on space distribution being determined the historical stroke of described new entering stroke and the storage of the first buffer area according to the historical stroke that new entering stroke joins in the first buffer area, perhaps determine the membership of the historical stroke that described new entering stroke and the first buffer area are stored according to the superposition situation between the historical stroke in new entering stroke and the first buffer area.
The system of the embodiment of the invention can be applied to small-sized touch panel device, satisfy the demand of the continuous handwriting input of user, in the limited input that superposes in the district of writing, being mapped to independent viewing area by the stroke that will write district's input by character sequence shows, the user clearly can be represented to the user in the content of writing district's stack input, improve user's writing experience.
In embodiments of the present invention, a kind of preferred structure of described adjusting module 403 comprises: stroke sorting module, mapping relations determination module and Coordinate Adjusting module.Wherein:
Described stroke sorting module is used for emptying the first buffer area and then storing new entering stroke into first buffer area when described breakpoint analysis module determines that the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of kinds of characters; And when described breakpoint analysis module determines that the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of same character, store new entering stroke into first buffer area;
Described mapping relations determination module, be used for when the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of same character, obtain front unicursal and writing the mapping relations of district with independent viewing area in the mapping relations of writing district and independent viewing area and with it as new entering stroke; When the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of kinds of characters, calculates new entering stroke and writing the mapping relations of district with independent viewing area;
Described Coordinate Adjusting module is used for writing the mapping relations of district with independent viewing area according to new entering stroke, adjusts the two-dimensional coordinate point range of described new entering stroke.
Need to prove, in concrete the application, described mapping relations determination module can calculate new entering stroke according to the display mode in the independent viewing area (single file, multirow, from left to right, wait from top to bottom) and the size etc. that shows character and write the mapping relations of district with independent viewing area, and computation process also can adopt various ways to realize.
As shown in Figure 5, be a kind of structural representation of mapping relations determination module in the embodiment of the invention.
In this embodiment, described mapping relations determination module 500 comprises: extraction unit 501 and mapping relations computing unit 502.Wherein:
Extraction unit 501, be used for when the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of same character, obtain front unicursal and writing the mapping relations of district with independent viewing area in the mapping relations of writing district and independent viewing area and with it as new entering stroke;
Mapping relations computing unit 502 is used for when the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of kinds of characters, calculates new entering stroke and is writing the mapping relations of district with independent viewing area.
Described mapping relations computing unit 502 comprises:
Historical character information determining unit 521 is for housing size and the position of determining the historical character of the first buffer area;
Zoom ratio computing unit 522 is used for showing the size of character and the size of the historical character of described the first buffer area according to described independent viewing area, calculates zoom ratio;
Converter unit 523 is used for according to described zoom ratio and independent viewing area number of characters each sampled point of new entering stroke being done linear transformation, obtains new entering stroke and is writing the mapping relations of district with independent viewing area.
In embodiments of the present invention, described converter unit 523 comprises: location information acquiring unit, position adjustment unit and map unit.Wherein:
Described location information acquiring unit is used for obtaining last character at line number m and the row n of present position, independent viewing area;
Described position adjustment unit when being used for value at (n+1) * (W+Tx) greater than independent viewing area transverse width, arranges m=m+1, n=0; During greater than the vertical width in independent viewing area, m=0 is set in the value of (m+1) * (H+Ty), n=0, and remove the historical character that independent viewing area shows;
Described map unit, shine upon the rear two-dimensional coordinate point range (x_new, y_new) that arrives the sampled point of independent viewing area for the sampled point (x, y) that calculates new entering stroke:
x_new=Rx*x+X0+n*(W+Tx);
y_new=Ry*y+Y0+m*(H+Ty);
Wherein, Rx is the zoom ratio of transverse axis directions X, and Ry is the zoom ratio of longitudinal axis Y-direction; Xn is the left margin horizontal ordinate that character will show in independent viewing area under the new entering stroke, and Ym is the coboundary ordinate that character will show in independent viewing area under the new entering stroke; X0, Y0 are respectively horizontal ordinate and the ordinates that independent viewing area character shows starting point; W, H are respectively that independent viewing area shows the wide of character and long; Tx, Ty are respectively the transverse axis interval of independent viewing area colleague's adjacent character and the longitudinal axis interval of same column character.
By above-mentioned conversion, the character of original stack input will be presented at according to order from left to right independent viewing area, be exactly continuously from left to right in input on a page thereby the user is felt.
Utilizing described mapping relations computing unit 502 to calculate new entering stroke can with reference to the description in the front embodiment of the invention stack hand input display method, not repeat them here in the detailed process of the mapping relations of writing district and independent viewing area.
The system of the embodiment of the invention, superposeing in the district in limited writing covers input, and the stroke with the input of stack coverage mode will be presented at independent viewing area in real time according to the character input sequence in the district by writing, and further improve user's writing experience.
Embodiment of the invention stack hand input display method and system can be applied on the small-sized touch panel device, when concrete the application, at user's interactive interface, can arrange and independently write district, viewing area and other subsidiary function districts.
Such as, User Interface shown in Figure 6 comprises: the text editing district, write district, independent viewing area and other functional areas.In this interactive interface, need the user to input in the district of writing that determines.
For another example, User Interface shown in Figure 7 comprises: text editing district, independent viewing area and other functional areas.In this interactive interface, the user can be in the input of full frame optional position.
Below by further describing for example the embodiment of the invention.
Suppose that the user is at touch panel device stack input " adult " two Chinese characters, it is stroke from left to right shown in Figure 8, then utilize the embodiment of the invention, the input person's handwriting in the demonstration of writing the district as shown in Figure 9, the input person's handwriting is in the demonstration of independent viewing area as shown in figure 10.
The below is elaborated to the process of Figure 10 to Fig. 8, mainly comprises:
1. when the user inputs the first stroke from left to right, owing to being the first stroke, writing the mapping relations of district with independent viewing area so need to calculate this stroke, and according to these mapping relations this stroke is being mapped to independent viewing area, as shown in Figure 10 first box.
2. when the user inputs second, the breakpoint analysis module is determined the membership of second and the first stroke, determine that second and the first stroke are under the jurisdiction of same character, therefore the mapping relations according to the first stroke are mapped to independent viewing area with second, as shown in second frame of Figure 10.
3. when the user inputs the 3rd, the breakpoint analysis module is determined the 3rd and the membership of the first two, determine that second and the first stroke are under the jurisdiction of same character, therefore still be mapped to independent viewing area according to the mapping relations of the first stroke with the 3rd, as shown in the 3rd frame of Figure 10.
4. when the user inputs the 4th, the breakpoint analysis module determines that the 3rd and the 4th belongs to respectively two characters, therefore recomputate current entering stroke and writing the mapping relations of district with independent viewing area, and preserve this mapping relations, be mapped to independent viewing area according to these mapping relations that recomputate with the 4th, as shown in the 4th frame of Figure 10.
5. when the user inputted the 5th, the breakpoint analysis module judged that the 4th and the 5th is under the jurisdiction of same character, and therefore the mapping relations according to the 4th stroke are mapped to independent viewing area with the 5th, as shown in the 5th frame of Figure 10.
In said process, if lift an overlong time, as surpassing 0.5 second, think that then the stroke that next will write belongs to respectively different characters with the stroke of having inputted.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses is difference with other embodiment.Especially, for system embodiment, because its basic simlarity is in embodiment of the method, so describe fairly simplely, relevant part gets final product referring to the part explanation of embodiment of the method.System embodiment described above only is schematic, wherein said module and unit as the separating component explanation can or can not be physically to separate also, such as, data acquisition module in the system can be deployed in the front end of equipment, and other modules in the system are deployed in the rear end of equipment, make its synchronous operation, realize continuous handwriting recognition input.In addition, can also select according to the actual needs wherein some or all of module to realize the purpose of the present embodiment scheme.Those of ordinary skills namely can understand and implement in the situation that do not pay creative work.
Above disclosed only be preferred implementation of the present invention; but the present invention is not limited thereto; any those skilled in the art can think do not have a creationary variation, and not breaking away from some improvements and modifications of doing under the principle of the invention prerequisite, all should drop in protection scope of the present invention.

Claims (10)

1. a stack hand input display method is characterized in that, comprising:
Follow the tracks of user's stroke input person's handwriting, and each stroke is recorded as a two-dimensional coordinate point range separately;
Determine the membership of the historical stroke of new entering stroke and the storage of the first buffer area according to the position relationship of the historical stroke of storing in new entering stroke and the first buffer area;
Adjust the two-dimensional coordinate point range of described new entering stroke according to described membership;
Two-dimensional coordinate point range according to the new entering stroke after adjusting shows described new entering stroke in independent viewing area.
2. the method for claim 1 is characterized in that, the position relationship of the historical stroke of storing in the new entering stroke of described basis and the first buffer area is determined the membership of the historical stroke of new entering stroke and the storage of the first buffer area, specifically comprises:
Determine the start position of new entering stroke, and the final position of up-to-date stroke in the historical stroke set of the first buffer area storage;
If the distance in described start position and described final position, determines then that the historical stroke of described new entering stroke and the first buffer area storage is under the jurisdiction of kinds of characters greater than the first distance threshold;
If the distance in described start position and described final position, determines then that the historical stroke of described new entering stroke and the first buffer area storage is to be under the jurisdiction of same character less than the second distance threshold value;
If the distance in described start position and described final position, determines then that the membership of the historical stroke of described new entering stroke and the first buffer area storage is fringe more than or equal to the second distance threshold value and less than or equal to the first distance threshold;
If the membership of the historical stroke of described new entering stroke and the storage of the first buffer area is fringe, the historical stroke that then joins in the first buffer area according to new entering stroke is gathered the rear membership of the impact of the equilibrium degree of character stroke on space distribution being determined the historical stroke of described new entering stroke and the storage of the first buffer area, perhaps determines the membership of the historical stroke that described new entering stroke and the first buffer area are stored according to the superposition situation between the historical stroke in new entering stroke and the first buffer area.
3. the method for claim 1 is characterized in that, the described two-dimensional coordinate point range of adjusting described new entering stroke according to described membership comprises:
If the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of kinds of characters, then empties the first buffer area and store new entering stroke into first buffer area; And calculate new entering stroke writing the mapping relations of district with independent viewing area, preserve described mapping relations, and adjust the two-dimensional coordinate point range of described new entering stroke according to described mapping relations;
If the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of same character, then store new entering stroke into first buffer area; And writing district and the mapping relations of independent viewing area and adjusting the two-dimensional coordinate point range of described new entering stroke according to front unicursal.
4. method as claimed in claim 3 is characterized in that, the new entering stroke of described calculating comprises in the mapping relations of writing district and independent viewing area:
Determine housing size and the position of historical character in the first buffer area;
Show the size of historical character in the size of character and described the first buffer area according to described independent viewing area, calculate zoom ratio;
According to described zoom ratio and independent viewing area number of characters each sampled point of new entering stroke is done linear transformation, obtain new entering stroke and writing the mapping relations of district with independent viewing area.
5. method as claimed in claim 4 is characterized in that, describedly according to described zoom ratio and independent viewing area number of characters each sampled point of new entering stroke is done linear transformation, obtains new entering stroke and comprises writing the mapping relations of district with independent viewing area:
Obtain last character at line number m and the row n of present position, independent viewing area;
If (n+1) value of * (W+Tx) then arranges m=m+1, n=0 greater than independent viewing area transverse width;
If (m+1) value of * (H+Ty) then arranges m=0 greater than the vertical width in independent viewing area, n=0, and remove the historical character that independent viewing area shows;
Calculate the rear two-dimensional coordinate point range (x_new, y_new) that arrives the sampled point of independent viewing area of sampled point (x, y) mapping of new entering stroke:
x_new=Rx*x+X0+n*(W+Tx);
y_new=Ry*y+Y0+m*(H+Ty);
Wherein, Rx is the zoom ratio of transverse axis directions X, and Ry is the zoom ratio of longitudinal axis Y-direction; X0, Y0 are respectively horizontal ordinate and the ordinates that independent viewing area character shows starting point; W, H are respectively that independent viewing area shows the wide of character and long; Tx, Ty are respectively the transverse axis interval of independent viewing area colleague's adjacent character and the longitudinal axis interval of same column character.
6. a stack handwriting input display system is characterized in that, comprising:
Data acquisition module is used for following the tracks of user's stroke input person's handwriting, and each stroke is recorded as a two-dimensional coordinate point range separately;
The breakpoint analysis module, the position relationship that is used for the historical stroke stored according to new entering stroke and the first buffer area is determined the membership of the historical stroke that new entering stroke and the first buffer area are stored;
Adjusting module is for the two-dimensional coordinate point range of adjusting described new entering stroke according to described membership;
Display module is used for according to the two-dimensional coordinate point range of the new entering stroke after adjusting described new entering stroke being shown in independent viewing area.
7. system as claimed in claim 6 is characterized in that, described breakpoint analysis module comprises:
Position determination unit be used for to be determined the start position of new entering stroke, and the final position of up-to-date stroke in the historical stroke set of the first buffer area storage;
Computing unit is used for calculating the distance in described start position and described final position;
The first judging unit is used for the result of calculation according to described computing unit, during greater than the first distance threshold, determines that the historical stroke that described new entering stroke and the first buffer area are stored is under the jurisdiction of kinds of characters in the distance in described start position and described final position; During less than the second distance threshold value, determine that the historical stroke of described new entering stroke and the first buffer area storage is to be under the jurisdiction of same character in the distance in described start position and described final position; During more than or equal to the second distance threshold value and less than or equal to the first distance threshold, determine that the membership of the historical stroke of described new entering stroke and the first buffer area storage is fringe in the distance in described start position and described final position;
The second judging unit, when the membership that is used for the historical stroke stored at described new entering stroke and the first buffer area is fringe, gather the rear membership of the impact of the equilibrium degree of character stroke on space distribution being determined the historical stroke of described new entering stroke and the storage of the first buffer area according to the historical stroke that new entering stroke joins in the first buffer area, perhaps determine the membership of the historical stroke that described new entering stroke and the first buffer area are stored according to the superposition situation between the historical stroke in new entering stroke and the first buffer area.
8. system as claimed in claim 6 is characterized in that, described adjusting module comprises:
The stroke sorting module is used for emptying the first buffer area and then storing new entering stroke into first buffer area when described breakpoint analysis module determines that the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of kinds of characters; And when described breakpoint analysis module determines that the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of same character, store new entering stroke into first buffer area;
The mapping relations determination module, be used for when the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of same character, obtain front unicursal and writing the mapping relations of district with independent viewing area in the mapping relations of writing district and independent viewing area and with it as new entering stroke; When the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of kinds of characters, calculates new entering stroke and writing the mapping relations of district with independent viewing area;
The Coordinate Adjusting module is used for writing the mapping relations of district with independent viewing area according to new entering stroke, adjusts the two-dimensional coordinate point range of described new entering stroke.
9. system as claimed in claim 8 is characterized in that, described mapping relations determination module comprises:
Extraction unit, be used for when the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of same character, obtain front unicursal and writing the mapping relations of district with independent viewing area in the mapping relations of writing district and independent viewing area and with it as new entering stroke;
The mapping relations computing unit is used for when the historical stroke of new entering stroke and the storage of the first buffer area is under the jurisdiction of kinds of characters, calculates new entering stroke and is writing the mapping relations of district with independent viewing area, and described mapping relations computing unit comprises:
Historical character information determining unit is for housing size and the position of determining the historical character of the first buffer area;
The zoom ratio computing unit is used for showing the size of character and the size of the historical character of described the first buffer area according to described independent viewing area, calculates zoom ratio;
Converter unit is used for according to described zoom ratio and independent viewing area number of characters each sampled point of new entering stroke being done linear transformation, obtains new entering stroke and is writing the mapping relations of district with independent viewing area.
10. system as claimed in claim 9 is characterized in that, described converter unit comprises:
Location information acquiring unit is used for obtaining last character at line number m and the row n of present position, independent viewing area;
Position determination unit when being used for value at (n+1) * (W+Tx) greater than independent viewing area transverse width, arranges m=m+1, n=0; During greater than the vertical width in independent viewing area, m=0 is set in the value of (m+1) * (H+Ty), n=0, and remove the historical character that independent viewing area shows;
Map unit, shine upon the rear two-dimensional coordinate point range (x_new, y_new) that arrives the sampled point of independent viewing area for the sampled point (x, y) that calculates new entering stroke:
x_new=Rx*x+X0+n*(W+Tx);
y_new=Ry*y+Y0+m*(H+Ty);
Wherein, Rx is the zoom ratio of transverse axis directions X, and Ry is the zoom ratio of longitudinal axis Y-direction; X0, Y0 are respectively horizontal ordinate and the ordinates that independent viewing area character shows starting point; W, H are respectively that independent viewing area shows the wide of character and long; Tx, Ty are respectively the transverse axis interval of independent viewing area colleague's adjacent character and the longitudinal axis interval of same column character.
CN2011100760059A 2011-03-28 2011-03-28 Display method and system for overlaying handwritten input Active CN102141892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100760059A CN102141892B (en) 2011-03-28 2011-03-28 Display method and system for overlaying handwritten input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100760059A CN102141892B (en) 2011-03-28 2011-03-28 Display method and system for overlaying handwritten input

Publications (2)

Publication Number Publication Date
CN102141892A CN102141892A (en) 2011-08-03
CN102141892B true CN102141892B (en) 2013-01-02

Family

ID=44409440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100760059A Active CN102141892B (en) 2011-03-28 2011-03-28 Display method and system for overlaying handwritten input

Country Status (1)

Country Link
CN (1) CN102141892B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164865B (en) * 2011-12-12 2016-01-27 北京三星通信技术研究有限公司 A kind of method and apparatus that handwriting input is beautified
JP5377708B2 (en) * 2012-05-11 2013-12-25 株式会社東芝 Data processing system, data processing method and program
CN102945137A (en) * 2012-11-13 2013-02-27 广东欧珀移动通信有限公司 Handwriting input method of touch-type mobile terminal
CN102937848B (en) * 2012-12-04 2015-07-22 上海合合信息科技发展有限公司 Method for editing handwritings and electronic equipment
JP6100013B2 (en) * 2013-02-07 2017-03-22 株式会社東芝 Electronic device and handwritten document processing method
CN104346125A (en) * 2014-09-30 2015-02-11 福建扬航电子技术有限公司 On-screen area display method and device
JP2016134014A (en) 2015-01-20 2016-07-25 株式会社リコー Electronic information board device, information processing method and program
CN107368248B (en) * 2017-06-19 2020-03-17 广东小天才科技有限公司 Method and device for replaying handwriting

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105734A (en) * 2007-08-09 2008-01-16 上海合合信息科技发展有限公司 Input method of touch screen hand-writing and point-touch combination
CN101350068A (en) * 2007-07-17 2009-01-21 佳能株式会社 Display control apparatus and display control method
CN101484907A (en) * 2006-07-06 2009-07-15 辛纳普蒂克斯公司 A method and apparatus for recognition of handwritten symbols

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08286808A (en) * 1995-04-18 1996-11-01 Canon Inc Locus input/output electronic device and its display control method
JP2003271966A (en) * 2002-03-19 2003-09-26 Fujitsu Ltd Device, method and program for authentication of hand- written input

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101484907A (en) * 2006-07-06 2009-07-15 辛纳普蒂克斯公司 A method and apparatus for recognition of handwritten symbols
CN101350068A (en) * 2007-07-17 2009-01-21 佳能株式会社 Display control apparatus and display control method
CN101105734A (en) * 2007-08-09 2008-01-16 上海合合信息科技发展有限公司 Input method of touch screen hand-writing and point-touch combination

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2003-271966A 2003.09.26

Also Published As

Publication number Publication date
CN102141892A (en) 2011-08-03

Similar Documents

Publication Publication Date Title
CN102135836B (en) Superposition hand input method and system
CN102141892B (en) Display method and system for overlaying handwritten input
CN102156577B (en) Method and system for realizing continuous handwriting recognition input
CN109445676B (en) Method for deleting handwritten stroke information input by user on handwriting equipment
US8634645B2 (en) Method and tool for recognizing a hand-drawn table
US20110074719A1 (en) Gesture detecting method for touch panel
CN104571823B (en) A kind of contactless visual human's machine interaction method based on intelligent television
EP2257914A1 (en) Method and tool for recognizing a hand-drawn table
CN107728916A (en) Every the display methods and device of empty handwriting tracks
CN110531875A (en) Write generation method, terminal device and the storage medium of the vigour of style in writing
US8830192B2 (en) Computing device for performing functions of multi-touch finger gesture and method of the same
CN106547433A (en) Written handwriting determines method and device
US9891812B2 (en) Gesture-based selection and manipulation method
CN110045840B (en) Writing track association method, device, terminal equipment and storage medium
CN108334486A (en) table control method, device, equipment and storage medium
CN106527940A (en) Handwriting determination method and apparatus
CN106605199A (en) Object management device, brainstorming assistance device, object management method, and computer-readable recording medium
CN103399629A (en) Method and device for capturing gesture displaying coordinates
CN103729131A (en) Human-computer interaction method and associated equipment and system
CN107506033A (en) Information display control method and device, intelligent teaching equipment and storage medium
CN106201314A (en) A kind of display packing realizing handwriting input on touch screen and display device
CN105373329A (en) Interactive method and system for display and booth
CN104252499B (en) The method and electronic display unit of page division
US20200264770A1 (en) Gesture-based transitions between modes for mixed mode digital boards
CN103914174A (en) Information processing device, information processing method and program storage medium

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.