A kind of hand-written information Quick Acquisition method
Technical field
The present invention relates to technical field of data processing, a kind of hand-written information Quick Acquisition method on handwriting input device.
Background technology
In recent years, PC, smart mobile phone, palm PC etc. support that the terminal unit of outside input is widely used, and the input method of its correspondence also gets more and more, and most typical have inputting method, touch screen input method, handwriting pad input method etc..Wherein, touch screen or handwriting pad input method, be the most all the input being completed information by methods such as user's handwriting mode, handwriting recognition softwares;And input method can gather the information (Chinese character, English alphabet, numeral etc.) of user's typing accurately.
But input method is for its input speed, and shortcoming is also apparent from.Either phonetic, stroke or hand-written typing mode, its Input Process is required for taking some time, and also to take some time during the identification of software;And user is when using input method, often because of the problem of various different input method software discriminations, can not get the input results oneself wanted, especially when fast recording, such as doing the fast recording of on-the-spot meeting, operator is often because needing the wrongly written character ceaselessly corrected above, or the ceaselessly Chinese character required for page turning selection, not only reduce input rate, and be easily inputted rhythm and record thinking frequently upsets, be unfavorable for the realization of shorthand.
And all of input method is during it uses, handwriting has all been converted into the font that operating system is supported, so that the original person's handwriting of user scene input cannot be retained, once makes a fault, and the initial input content of user is then had no way of textual criticism.
Therefore, how to realize the most quick hand-written information collection, have become as new study hotspot;There is provided a kind of can be with the method for Quick Acquisition hand-written information, it has also become a technical problem urgently to be resolved hurrily, and the most not yet realizing, in place of this is the deficiencies in the prior art.
Summary of the invention
The technical problem to be solved is, for the deficiencies in the prior art, it is provided that one is not only able to improve input rate, additionally it is possible to retain the hand-written information Quick Acquisition method of the original person's handwriting of user's handwriting input.
For solving above-mentioned technical problem, the invention provides a kind of hand-written information Quick Acquisition method, comprise the following steps:
Step A, is divided into many sub-input areas by the input area of handwriting input device;
Step B, gathers each stroke vectors of the handwritten input information on described handwriting input device input area and writing time thereof and stores;
Step C, it is determined that whether each stroke vectors is effective stroke vectors, the most then preserve this stroke vectors and writing time thereof;Otherwise delete this stroke vectors and writing time thereof;
Step D, it is determined that the end of input of each stroke vectors is the end of a handwriting input, the most then perform step E;Otherwise, go to perform step B;
Step E, it is judged that the sub-input area that each stroke vectors is fallen into, is partitioned into corresponding sub-input area by the stroke vectors collected;
Step F, according to the writing time of each stroke vectors, the stroke vectors of each sub-input area that sorts, formation stroke vectors set;
Step G, exports each described stroke vectors set.
Method of the present invention, wherein, described step A is further: have substantially mark and certain intervals between the plurality of sub-input area.
Wherein, described step A also includes: arranges and judges duration threshold value T of handwriting input termination and judge the handwriting input length threshold L as effectively input.
Wherein, the decision method of the effective stroke vectors described in described step C is: if the length of stroke vectors is more than or equal to length threshold L set in advance, then this stroke vectors is effective stroke vectors, and retains this stroke vectors and writing time thereof;Otherwise, this stroke vectors and writing time thereof are deleted.
Wherein, the end of input judging each stroke vectors described in described step D is the end of a handwriting input method particularly includes: if the first stroke of a Chinese character of previous stroke vectors to the time interval between the starting to write of next stroke vectors more than or equal to duration threshold value T set in advance, then this handwriting input terminates, and otherwise continues with.
Wherein, described in described step E, the stroke vectors collected is partitioned into corresponding sub-input area method particularly includes: for each stroke vectors, add up the plane coordinates point number in each sub-input area in its place, be then partitioned into this stroke vectors counting most sub-input areas containing this stroke vectors plane coordinates.
Compared with prior art, it is an advantage of the current invention that:
(1) present invention is the record to handwriting input information person's handwriting, be not related to the instant of hand-written information is identified and confirmed, it is to avoid user's confirmation with handwriting input device in recording process is mutual, considerably increases the speed that user's handwritten input information gathers;
(2) input area of handwriting input device is divided many sub-input areas by the present invention, and under certain condition, the successive handwriting input of user can be realized, allow users in same input area continuous print handwriting input, decrease the number of times that user is mutual with handwriting equipment largely, the hand-written information amount gathered in substantially increasing the unit interval;
(3) hand-written information that handwriting equipment is inputted by the present invention carries out availability deciding, remove length less than the stroke vectors presetting length threshold, decrease the overdue information gathering error write of user's hands to a certain extent, improve the accuracy that hand-written information gathers;
(4) each stroke vectors in handwriting equipment input area and sub-input area is sorted according to its writing time, and on the basis of single sub-input area, store with the form of stroke vectors group and export according to time sequencing, not only can record the handwriting of user well, and simple, be easily achieved and there is sub-input area input order independence, reading and writing data is convenient, it is simple to the subsequent treatment of data.
As can be seen here, the present invention compared with prior art, has prominent substantive distinguishing features and significantly progress, and its beneficial effect implemented also is apparent from.
Accompanying drawing explanation
In order to be illustrated more clearly that embodiment of the present invention, the accompanying drawing used required in embodiment will be briefly described below, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of hand-written information Quick Acquisition method of the present invention;
Fig. 2 is that the hand-written information Quick Acquisition method of the present invention handwriting equipment input area on 5.1 " WVGA equipment divides schematic diagram;
Fig. 3 is that the hand-written information Quick Acquisition method of the present invention handwriting equipment input area on 10.1 " WXGA equipment divides schematic diagram;
Fig. 4 is the hand-written embodiment of one of hand-written information Quick Acquisition method of the present invention;
Fig. 5 is another hand-written embodiment of hand-written information Quick Acquisition method of the present invention.
Detailed description of the invention
The invention provides a kind of hand-written information Quick Acquisition method, for making technical scheme and advantage clearer, accompanying drawing below in conjunction with the present invention, technical scheme is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiment.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into protection scope of the present invention.
As it is shown in figure 1, a kind of hand-written information Quick Acquisition method of the present invention, it comprises the following steps:
Step A, is divided into many sub-input areas by the input area of handwriting input device;
Step B, gathers each stroke vectors of the handwritten input information on the input area of described handwriting input device and writing time thereof and stores;
Step C, it is determined that whether each stroke vectors is effective stroke vectors, the most then preserve this stroke vectors and writing time thereof;Otherwise delete this stroke vectors and writing time thereof;
Step D, it is determined that the end of input of each stroke vectors is the end of a handwriting input, the most then perform step E;Otherwise, go to perform step B;
Step E, it is judged that the sub-input area that each stroke vectors is fallen into, is partitioned into corresponding sub-input area by the stroke vectors collected;
Step F, according to the writing time of each stroke vectors, the stroke vectors of each sub-input area that sorts, formation stroke vectors set;
Step G, exports described each stroke vectors set.
Preferably, according to the size adaptation division of described handwriting input device input area, there is between input equipment input area, and the plurality of sub-input area significantly mark and certain interval.As shown in Figure 2 and Figure 3, it is respectively the handwriting equipment input area on 5.1 " WVGA equipment and on 10.1 " WVGA equipment and divides schematic diagram, it is respectively according to size adaptation characteristic and himself resolution of WVGA equipment input area, can be in turn divided into input area between four Yu 12 sub-input areas, and each sub-input area using two square frames with substantially mark and certain intervals to distinguish.
Fig. 4 from Fig. 5 is respectively two different hand-written enforcement illustrations of hand-written information Quick Acquisition method of the present invention, and in two figures, the input sequencing of content is consistent, is all first to write " you " word, write " good " word again;And through judging, figure is effective stroke vectors, stroke vectors in two width figures is ranked up by handwriting equipment by the stroke vectors in each sub-input area according to its writing time, although result is not necessarily consistent, but it is all stroke vectors set that first output " you " word is corresponding, exports the stroke vectors set that " good " word is corresponding again.This demonstrates further, the independence of the output valve of this method and sub-input area and with the dependency of input time, the most any one sub-input area can serve as the beginning region of handwriting input, not inputting the restriction of sequencing between each sub-input area.
Preferably, the present invention in use, during dividing handwriting equipment input area, also sets up and judges duration threshold value T of handwriting input termination and judge the handwriting input length threshold L as effectively input;And the decision method of described effective stroke vectors is: if the length of stroke vectors is more than or equal to length threshold L set in advance, then this stroke vectors is effective stroke vectors, and retains this stroke vectors and writing time thereof;Otherwise, this stroke vectors and writing time thereof are deleted;Judge that the end of input of each stroke vectors is the end of a handwriting input method particularly includes: if the first stroke of a Chinese character of previous stroke vectors to the time interval between the starting to write of next stroke vectors more than or equal to duration threshold value T set in advance, then this handwriting input terminates, and otherwise continues with;The stroke vectors collected is partitioned into corresponding sub-input area method particularly includes: for each stroke vectors, add up the plane coordinates point number in each sub-input area in its place, be then partitioned into this stroke vectors counting most sub-input areas containing this stroke vectors plane coordinates.
Therefore, when user is by the input equipments such as electronic pen (or hands touches mode), when the input area of handwriting equipment carries out the handwriting input of various word and figure, if input equipment (or hands touches mode) distance of movement on the input area of input equipment has exceeded length threshold T set in advance, then illustrate that this handwriting input pen is decorated with effect;Otherwise this handwritten stroke is invalid.Effective stroke is all stored together with its writing time with the form of stroke vectors, and invalid stroke is then deleted, in order to avoid affecting the accuracy of handwriting, such that it is able to avoid the impact by mistake of certain hands.
A kind of hand-written information Quick Acquisition method of the present invention, reach to record the purpose of handwriting by each stroke vectors of recording hand-written information, and the input area of input equipment is divided into many sub-input areas, and by a series of judgement judge each stroke vectors gathered the most effectively, whether mean the end of handwriting input, which and be belonging to a sub-input area, and according to the writing time of each stroke vectors, it is ranked up;And with sub-input area as ultimate unit, form a series of stroke vectors set, finally according to each stroke vectors set of writing time Sequential output.Such processing mode, avoid the flow process that hand-written information immediately identifies and confirms, only record handwriting, decrease the number of times that user is mutual with handwriting equipment, achieve the Quick Acquisition of hand-written information, and the judgement of stroke vectors effectiveness makes it have certain anti-interference;Meanwhile, hand-written information stores with the form of stroke vectors set, and read-write is convenient, it is simple to use.
Embodiment of above only in order to technical scheme to be described, is not intended to limit;Although the present invention being described in detail with reference to aforementioned embodiments, it will be understood by those within the art that: the technical scheme described in aforementioned each embodiment still can be modified by it, or wherein portion of techniques feature is carried out equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of the present invention each embodiment technical scheme.