CN104423663A - Inputting identification method and electronic equipment - Google Patents

Inputting identification method and electronic equipment Download PDF

Info

Publication number
CN104423663A
CN104423663A CN201310384707.2A CN201310384707A CN104423663A CN 104423663 A CN104423663 A CN 104423663A CN 201310384707 A CN201310384707 A CN 201310384707A CN 104423663 A CN104423663 A CN 104423663A
Authority
CN
China
Prior art keywords
point
sampled point
undetermined
sampled
corner
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.)
Granted
Application number
CN201310384707.2A
Other languages
Chinese (zh)
Other versions
CN104423663B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310384707.2A priority Critical patent/CN104423663B/en
Publication of CN104423663A publication Critical patent/CN104423663A/en
Application granted granted Critical
Publication of CN104423663B publication Critical patent/CN104423663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Abstract

The invention provides an inputting identification method and electronic equipment. The method is applied to the electronic equipment, and comprises the steps of: sampling contact positions in a contact sliding process, and acquiring multiple sampling points at different contact positions and different times; extracting a plurality of undetermined corner points from the multiple sampling points; acquiring multiple pairs of sampling points corresponding to multiple undetermined corner points, wherein the sampling point pairs and the undetermined corner points are at internals of preset step lengths, and each preset step length is equal to the preset number of sampling points; and according to a positional relation between the multiple pairs of sampling points, determining a corner point from the undetermined corner points. According to the method, calculated amount of the corner point in a contact sliding track can be reduced.

Description

A kind of input recognition method and electronic equipment
Technical field
The present invention relates to input technology field, relate to a kind of input recognition method and electronic equipment in particular.
Background technology
The application with the electronic equipment of touch-screen is very general.User carries out tapping or carrying out continuous print slide by finger or felt pen on the touchscreen, and then completes the input operation to electronic equipment, as input instruction or the input etc. carrying out character or Chinese character.
When touch-screen existing the input operation of contact, electronic equipment can gather contact in not shift position in the same time with fixed time interval, and then gets the track characteristic information of contact movement.By analyzing the track characteristic information of contact movement, the input instruction that contact is current can be determined.In the moving process of contact; often there will be some turnings; existing mode generally calculates turning by calculating curvature formulations; namely respectively curvature value is calculated to each point gathering contact at fixed time; and the principle that foundation curvature value maximum bent angle amplitude is maximum; calculate track mean curvature value and exceed preset value and the maximum point of this curvature value, can corner location be determined.But need the first order derivative and the second derivative that relate to curve in the process calculating curvature, the calculated amount that computation process relates to is comparatively large, thus does not utilize in portable electric appts such as being applied to mobile phone.
Summary of the invention
In view of this, the invention provides a kind of input recognition method and electronic equipment, to reduce the calculated amount of to carry out contact track in identifying.
For achieving the above object, the invention provides following technical scheme: a kind of input recognition method, be applied to an electronic equipment, comprise:
In contact wipe process, carry out contact position sampling, obtain the sampled point of described contact in not multiple positions in the same time;
From described multiple sampled point, extract multiple corner point undetermined;
The sampled point pair of step-length is preset at acquisition and described corner point interval undetermined, and obtain multipair sampled point pair corresponding with described multiple corner point undetermined respectively, wherein, described default step-length is a specified quantity sampled point;
The position relationship right according to described multipair sampled point, determines corner point from described multiple corner point undetermined.
Optionally, the described position relationship right according to described multipair sampled point, from described multiple corner point undetermined, determine corner point, comprising:
According to described sampled point to the first distance between the sampled point comprised, and/or the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point.
Optionally, when described default step-length is zero or sampled point, according to the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point;
When described default step-length is greater than a sampled point, according to described sampled point to the first distance between the sampled point comprised, from described multiple corner point undetermined, determine corner point.
Optionally, described according to the first distance between described multipair sampled point centering sampled point, from described multiple corner point undetermined, determine corner point, comprising:
Calculate the first distance between sampled point that often pair of described sampled point centering comprises;
Determine the first sampled point pair that the first distance value between sampled point is minimum described first sampled point to be defined as corner point to corresponding corner point undetermined.
Optionally, the size of described the first angle formed with the line of described sampled point to corresponding corner point undetermined according to the sampled point of described sampled point centering, from described multiple corner point undetermined, determine corner point, comprising:
Two sampled points often pair of sampled point centering comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtain multiple first angles corresponding with multiple corner point undetermined respectively;
By in described multiple corner point undetermined, the first corresponding angle value reaches preset value and the minimum corner point undetermined of angle value is defined as corner point.
Optionally, described according to described sampled point to the first distance between the sampled point comprised, and/or the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point, comprising:
Calculate the first distance between sampled point that often pair of described sampled point centering comprises;
Two sampled points often pair of sampled point centering comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtain multiple first angles corresponding with multiple corner point undetermined respectively;
Determine at least one first sampled point pair that the first distance value between sampled point is minimum;
From the first sampled point described at least one to the corner point undetermined of correspondence, choose the first corresponding angle value reach preset angle angle value and the minimum corner point undetermined of angle value as corner point.
Present invention also offers a kind of electronic equipment on the other hand, comprising:
Station acquisition unit, for carrying out contact position sampling in contact wipe process, obtains the sampled point of described contact in not multiple positions in the same time;
Corner extraction unit undetermined, for from described multiple sampled point, extracts multiple corner point undetermined;
Pretreatment unit, for obtain and the sampled point pair of step-length is preset at described corner point interval undetermined, obtain multipair sampled point pair corresponding with described multiple corner point undetermined respectively, wherein, described default step-length is a specified quantity sampled point;
Turning determining unit, for the position relationship right according to described multipair sampled point, determines corner point from described multiple corner point undetermined.
Optionally, described turning determining unit, comprising:
Turning recognition unit, for according to described sampled point to the first distance between the sampled point comprised, and/or the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point.
Optionally, described turning recognition unit, comprising:
Turning recognin unit, for when described default step-length is zero or sampled point, according to the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point; When described default step-length is greater than a sampled point, according to described sampled point to the first distance between the sampled point comprised, from described multiple corner point undetermined, determine corner point.
Optionally, described turning recognition unit, comprising:
Metrics calculation unit, for calculating the first distance between sampled point that often pair of described sampled point centering comprises;
First turning recognition unit, for determining the first sampled point pair that the first distance value between sampled point is minimum, is defined as corner point by described first sampled point to corresponding corner point undetermined.
Optionally, described turning recognition unit, comprising:
Angle determining unit, two sampled points for often pair of sampled point centering being comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtain multiple first angles corresponding with multiple corner point undetermined respectively;
Second turning recognition unit, for by described multiple corner point undetermined, the first corresponding angle value reaches preset value and the minimum corner point undetermined of angle value is defined as corner point.
Optionally, described turning recognition unit, comprising:
Metrics calculation unit, for calculating the first distance between sampled point that often pair of described sampled point centering comprises;
Angle determining unit, two sampled points for often pair of sampled point centering being comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtain multiple first angles corresponding with multiple corner point undetermined respectively;
First recognition unit, for determining at least one first sampled point pair that the first distance value between sampled point is minimum;
Turning recognin unit, for from the first sampled point described at least one in the corner point undetermined of correspondence, choose the first corresponding angle value reach preset angle angle value and the minimum corner point undetermined of angle value as corner point.
Known via above-mentioned technical scheme, when the position sampling point in the contact moving process collected, and determine multiple corner point undetermined from multiple sampled point after, the sampled point pair of step-length is preset at acquisition and each corner point interval undetermined respectively, and according to the position relationship of sampled point centering sampled point corresponding to each corner point undetermined, from this multiple corner point undetermined, determine the location point at turning, avoid and directly utilize the curvature of each corner point undetermined of curvature estimation formulae discovery to determine turning.And directly calculate the position relationship of each sampled point centering sampled point, just can compare the amount of curvature of each corner point undetermined, and then determine and decrease calculated amount by the location point at turning, improve counting yield.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 shows the schematic flow sheet of a kind of input recognition method of embodiment of the present invention embodiment;
The point that Fig. 2 shows curvature to be calculated in one section of arc and the schematic diagram of reference point selected;
Fig. 3 a shows the schematic diagram of the sampled point collected in this contact wipe track and the corner point undetermined determined;
Fig. 3 b shows the right position relationship schematic diagram of corner point undetermined is corresponding in this contact wipe track sampled point;
Fig. 4 shows the schematic flow sheet of a kind of another embodiment of input recognition method of the embodiment of the present invention;
Fig. 5 shows the structural representation of a kind of electronic equipment of embodiment of the present invention embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of input recognition method, to improve the speed to flex point identification in contact wipe track in touch-screen, and reduce the calculated amount identified in flex point process.
See Fig. 1, show the schematic flow sheet of an embodiment of a kind of input recognition method of the embodiment of the present invention, the method for the present embodiment is applied to be had arbitrarily in the electronic equipment of touch-screen, as, there is the mobile phone of touch-screen, panel computer, or there is the desktop computer etc. of touch-screen.The method of the present embodiment comprises:
Step 101: carry out contact position sampling in contact wipe process, obtains the sampled point of contact in not multiple positions in the same time.
When utilizing the operating bodies such as finger or felt pen to slide on the touch-screen of electronic equipment as user, electronic equipment can detect the position of the contact that operating body contacts with the touch-screen of this electronic equipment.Along with operating body movement on the touchscreen, the position also movement accordingly of contact, in order to get the motion track of operating body, needs to sample to the moving process of contact, to get sampled point corresponding to each position.Wherein sampled point namely this contact at the location point of different sampling instant.
Wherein, in the sliding process of contact, the mode obtaining contact not position sampling point is in the same time similar to existing mode, does not repeat them here.
Step 102: from multiple sampled point, extracts multiple corner point undetermined.
The situation of corner point is there is in the curvilinear path generated in the embodiment of the present application is for contact wipe process.Wherein, the corner point namely point of one section of the most enough height of curve mean curvature in other words corresponding to curvature maximum.
System, when getting the sliding trace of the contact be made up of sampled point, can carry out corner point detection to this section of sliding trace, removes the non-corner point in sampled point, and extracts possible corner point.Wherein, suspicious corner point and corner point is contained in corner point undetermined.
Wherein, from multiple sampled point, remove non-corner point can adopt existing any corner point detection mode, do not limited at this, remove non-corner point from sampled point after, obtain multiple corner point undetermined.
Step 103: the sampled point pair of step-length is preset at acquisition and this corner point interval undetermined, obtains multipair sampled point pair corresponding with the plurality of corner point undetermined respectively.
Wherein, this default step-length is a specified quantity sampled point.Corner point as undetermined in this and this sampled point between can interval zero sampled point, also can be two or more sampled points of interval etc.
For any one corner point undetermined, centered by this corner point undetermined, obtain respectively from the both sides of this corner point undetermined and the sampled point of this corner point interval undetermined specified quantity sampled point, thus obtain a sampled point pair.Visible, in two sampled points that sampled point is right, collection moment of one of them sampled point, the collection moment of another sampled point was then later than the moment that contact arrives this corner point undetermined early than the collection moment at this turning undetermined.
The all corresponding sampled point pair including two sampled points of each corner point undetermined, thus make multiple corner point undetermined corresponding multiple sampled point pair respectively, and sampled point corresponding to different corner points undetermined is to difference.
Be understandable that, in actual applications, when sampling to the location point in the moving process of contact, the time interval of sampling is identical.Generally, the time interval of this sampling is less.
Step 104: the position relationship right according to described multipair sampled point, determines the location point at turning from described multiple corner point undetermined.
When utilizing curvature estimation turning, being actually the curvature calculating each corner point undetermined respectively, then finding out curvature maximum, using the location point of corner point undetermined corresponding for curvature maximum as turning, but there is the excessive problem of calculated amount in this kind of mode.
And curvature is actually for the tangent directional angle that on curve, certain is put the rotation rate of arc length.In order to the curvature of certain point on calculated curve, on this curve, generally close on this place choose two points.As, for the curvature of C point on calculated curve, two points are chosen at the two ends then closing on C on curve respectively, obtaining curve A B, as shown in Figure 2, is the arc AB chosen, wherein, point A and some B and some C between close together, the length of this camber line ACB is approximately equal to the length of line segment AC and BC, for convenience of description shown in this Fig. 2 be amplification after arc.And the curvature K of camber line AB is:
k = | dα ds | (formula one)
Wherein, d α represents the angle that on arc AB, tangent line turns over, and ds is the arc length of this arc AB.When this ds level off to zero time, then the curvature at C point place on this camber line.
Visible, curvature maximum results from d α maximal value, time ds is minimum simultaneously, so for one section of curve, in order to find out corner point, only needs to determine the point corresponding to d α maximal value or ds minimum value.And d α maximal value to represent this ∠ ACB minimum, that is to say that line segment AB is the shortest.
Meanwhile, this ds is minimum, then ds 2≈ | BC| 2+ | AC| 2=| AB| 2+ 2|BC||CA|cos (180-a) is minimum, and wherein, the angle that on the arc that a is this arc, tangent line turns over, then convert this formula and namely require ds 2=| AB| 2-2|BC||CA|cosa is minimum, and the AB of obvious smaller length can obtain minimum ds.
Based on above analysis, when sliding on the touchscreen in contact, after getting the multiple sampled points gathered in contact wipe process, and determine corner point undetermined from this multiple sampled point after, in order to determine whether each corner point undetermined is actual corner location point, needs for each corner point undetermined determines a sampled point pair.Due to sampled point corresponding to corner point undetermined can be utilized the curvature determining this corner point place undetermined, simultaneously, analyze in conjunction with above, determine the position relationship of two sampled points of each sampled point centering, calculate curvature without using curvature formulations, just can determine the amount of curvature relation of each corner point undetermined.Like this, according to the position relationship of sampled point centering sampled point, just determine whether this sampled point possesses to corresponding corner point undetermined the condition becoming turning, and then determine the location point at turning.
Wherein, the position relationship between the sampled point that sampled point is right can comprise the distance between these two sampled points, or these two sampled points are relative to the position relationship of this corner point undetermined.Wherein, according to the position relationship of these two sampled points relative to this corner point undetermined, the angle value at the angle that the line of these two sampled points and this corner point undetermined forms can be determined.
After two sampled points of sampled point centering are determined, determining that the calculated amount of the position relationship between these two sampled points is less, only relating to the calculating of some distances and angle, without the need to carrying out the complicated calculations such as single order, second derivative.
The embodiment of the present application is when the position sampling point in the contact moving process collected, and determine multiple corner point undetermined from multiple sampled point after, the sampled point pair of step-length is preset at acquisition and each corner point interval undetermined respectively, and according to the position relationship of sampled point centering sampled point corresponding to each corner point undetermined, from this multiple corner point undetermined, determine the location point at turning, avoid and directly utilize the curvature of each corner point undetermined of curvature estimation formulae discovery to determine turning.And directly calculate the position relationship of each sampled point centering sampled point, just can compare the amount of curvature of each corner point undetermined, and then determine the location point at turning, decrease calculated amount, improve counting yield, can be applied in the higher equipment of requirement of real-time.
Due to when sampling to the shift position of contact, sampling interval is very little, and therefore, when calculating the curvature at certain corner point place undetermined on certain contact motion track curve, the sampled point that can directly utilize these corner point both sides undetermined to close on calculates.Simultaneously, according to the computing formula of curvature, known corresponding one section of camber line, the point of curvature maximum results from d α maximal value, time ds is minimum simultaneously, knows by inference thus, for the corner point undetermined determined in arc, the distance that curvature maximum results between sampled point centering sampled point corresponding to this corner point undetermined is minimum, or formed by the line between two sampled points of this sampled point centering and this corner point undetermined, the angle value at angle is minimum.Optionally, at the position relationship right according to multipair sampled point, from multiple corner point undetermined, determine that corner point can be:
According to described sampled point to the first distance between the sampled point comprised, from described multiple corner point undetermined, determine corner point.
And/or, according to the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from multiple corner point undetermined, determine corner point.
Wherein, according to described sampled point to the first distance between the sampled point comprised, from described multiple corner point undetermined, determine that corner point can be:
Calculate the first distance between sampled point that often pair of described sampled point centering comprises.Wherein, the first distance of the sampled point of the sampled point centering that different corner points undetermined is corresponding is different.This first distance is only used to describe conveniently, and the distance between sampled point right for sampled point is called the first distance.According to multiple first distances of calculating, determine the first sampled point pair that the first distance value between sampled point is minimum, and described first sampled point is defined as corner point to corresponding corner point undetermined.
Because between different corner points undetermined and two sampled points of its corresponding sampled point centering, the sampled point number at interval is all identical, therefore, if this corner point undetermined is actual corner point, then the first distance between collection point centering two sampled points that this corner point undetermined is corresponding is also relatively large.
Wherein, according to the size of the first angle that the sampled point of this sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point, comprising:
Two sampled points often pair of sampled point centering comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtain multiple first angles corresponding with multiple corner point undetermined respectively;
By in described multiple corner point undetermined, the first corresponding angle value reaches preset value and the minimum corner point undetermined of angle value is defined as corner point.
For the ease of understanding, see Fig. 3 a, show the sampled point schematic diagram collected in contact wipe process.Dotted line wherein in figure is this contact one section of sliding trace on the touchscreen, and each stain on this dotted line is the sampled point of not position in the same time, contact that the movement along with contact collects.In the plurality of sampled point, wherein contain corner point M undetermined and corner point N undetermined.Certainly, more than two of the corner point possibility undetermined determined in actual applications, is only used to describe conveniently for two corner points undetermined in the figure.When obtaining sampled point pair corresponding to each corner point undetermined, for default step-length for two, interval sampled point, then the sampled point that this corner point M undetermined is corresponding is to being sampled point m1 and m2, and sampled point corresponding to corner point N undetermined is to being sampled point n1 and n2.In the figure for two, the sampled point interval sampled point of corner point undetermined and sampled point centering.
Be understandable that, the spacing in practice between each sampled point is very little, is only used to introduce the conveniently arc length be exaggerated between each sampled point in this example.
In order to calculate the curvature at corner point M undetermined and N place in contact wipe track, can by calculating the curvature of arc m1m2 and arc n1n2 respectively, and according to the analysis to curvature above, the magnitude relationship of the curvature at these two corner point places undetermined is gone out iff Water demand, then can by comparing the size of the distance between these two marking-off segments two end points, the magnitude relationship of the distance between the i.e. distance of sampled point m1 and sampled point m2, and sampled point n1 and sampled point n2.Certainly, also can be the magnitude relationship comparing angle m1Mm2 and angle n1Nn2.As Fig. 3 b shows the amount of curvature at corner point M more undetermined and corner point N place undetermined, and the boost line of making on the basis of Fig. 3 a.Be positioned at same section of arc because corner point M undetermined and corner point N undetermined is actually, and in this arc, turning is positioned at the larger sampling point position place of curvature value.And the curvature at corner point M more undetermined and N place, then can by the position relationship of sampled point centering sampled point corresponding in corner point more undetermined.
As shown in Figure 3 b, the distance m1m2 between this corner point M undetermined corresponding sampled point m1 and sampled point m2 can be calculated, and calculate the distance n1n2 between sampled point n1 and n2 corresponding to this corner point N undetermined.Such as, if distance m1m2 is less than distance n1n2, then can determine that corner point M undetermined is the location point at turning.Certainly, the magnitude relationship comparing angle m1Mm2 and angle n1Nn2 can also be calculated.Such as, if the angle of this angle m1Mm2 is less than the angle of angle n1Nn2, then determine that corner point M undetermined is the location point at place, turning.
Optionally, in actual applications, in order to improve degree of accuracy, when this default step-length is zero or sampled point, the size of first angle that can be formed with the line of described sampled point to corresponding corner point undetermined according to the sampled point of institute's sampled point centering, determines corner point from described multiple corner point undetermined;
When this default step-length is greater than a sampled point, according to sampled point to the first distance between the sampled point comprised, from multiple corner point undetermined, determine corner point.
Certainly, also can determine that the mode of corner point combines by two kinds in actual applications.
See Fig. 4, show the schematic flow sheet of a kind of another embodiment of input recognition method of the embodiment of the present invention, the method for the present embodiment is applied to be had arbitrarily in the electronic equipment of touch-screen, as, there is the mobile phone of touch-screen, panel computer, or there is the desktop computer etc. of touch-screen.The method of the present embodiment comprises:
Step 401: carry out contact position sampling in contact wipe process, obtains the sampled point of contact in not multiple positions in the same time.
Step 402: from multiple sampled point, extracts multiple corner point undetermined.
Step 403: the sampled point pair of step-length is preset at acquisition and this corner point interval undetermined, obtains multipair sampled point pair corresponding with multiple corner point undetermined respectively.
Wherein, this default step-length is a specified quantity sampled point.Optionally, this default step-length is 2 to 5 sampled points.
Step 404: two sampled points often pair of sampled point centering comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtains multiple first angles corresponding with multiple corner point undetermined respectively.
Step 405: calculate the first distance between sampled point that often pair of described sampled point centering comprises.
For any one sampled point pair, all need the first angle determining that the sampled point of this sampled point centering and the line of this corner point undetermined are formed, and the angle value of the first angle, also need to calculate the distance between these two sampled points of this sampled point centering.
Step 406: determine at least one first sampled point pair that the first distance value between sampled point is minimum.
Step 407: from the first sampled point described at least one to the corner point undetermined of correspondence, choose the first corresponding angle value reach preset angle angle value and the minimum corner point undetermined of angle value as the location point at turning.
Consider in practical application, the distance that the location point at place, turning necessarily meets between sampled point centering two sampled points corresponding to this location point is minimum, but in practice, multiple corner point undetermined may be had to meet this condition, and this multiple corner point undetermined is not all corner point.Therefore, in order to ensure the accuracy of the corner point determined, also needing to ensure that the first angle that the location point at turning is corresponding is minimum further, thus ensureing that this turning is maximum relative to the curvature value of other corner points undetermined.
Be understandable that, in actual applications, the sequence of steps in the present embodiment is not limited to shown in Fig. 4, wherein, this step 403 and 404 order can exchange, namely can first perform step 404 execution step 403, also can be perform step 403 and step 404 simultaneously.In addition, also can be perform step 403 again after performing step 405.
Corresponding a kind of input recognition method of the present invention, present invention also offers a kind of electronic equipment, the structural representation of a kind of electronic equipment of the present invention embodiment is shown see Fig. 5, the electronic equipment of the present embodiment can for having the mobile phone of touch-screen, pad, desktop computer or notebook computer etc., and the electronic equipment of the present embodiment can comprise: station acquisition unit 501, corner extraction unit 502 undetermined, pretreatment unit 503 and turning determining unit 504.
Wherein, station acquisition unit 501, for carrying out contact position sampling in contact wipe process, obtains the sampled point of described contact in not multiple positions in the same time.
Corner extraction unit 502 undetermined, for from described multiple sampled point, extracts multiple corner point undetermined.
Pretreatment unit 503, for obtain and the sampled point pair of step-length is preset at described corner point interval undetermined, obtain multipair sampled point pair corresponding with described multiple corner point undetermined respectively, wherein, described default step-length is a specified quantity sampled point.
Turning determining unit 504, for the position relationship right according to described multipair sampled point, determines corner point from described multiple corner point undetermined.
The device of the present embodiment avoids and directly utilizes the curvature of each corner point undetermined of curvature estimation formulae discovery to determine turning.And directly calculate the position relationship of each sampled point centering sampled point, just can compare the amount of curvature of each corner point undetermined, and then determine and decrease calculated amount by the location point at turning, improve counting yield.
Optionally, this turning determining unit can comprise:
Turning recognition unit, for according to described sampled point to the first distance between the sampled point comprised, and/or the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point.
Optionally, this turning recognition unit, can comprise:
Turning recognin unit, for when described default step-length is zero or sampled point, according to the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point; When described default step-length is greater than a sampled point, according to described sampled point to the first distance between the sampled point comprised, from described multiple corner point undetermined, determine corner point.
Optionally, this turning recognition unit can comprise:
Metrics calculation unit, for calculating the first distance between sampled point that often pair of described sampled point centering comprises;
First turning recognition unit, for determining the first sampled point pair that the first distance value between sampled point is minimum, is defined as corner point by described first sampled point to corresponding corner point undetermined.
Optionally, described turning recognition unit, can comprise:
Angle determining unit, two sampled points for often pair of sampled point centering being comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtain multiple first angles corresponding with multiple corner point undetermined respectively;
Second turning recognition unit, for by described multiple corner point undetermined, the first corresponding angle value reaches preset value and the minimum corner point undetermined of angle value is defined as corner point.
Further, this turning recognition unit, can comprise:
Metrics calculation unit, for calculating the first distance between sampled point that often pair of described sampled point centering comprises;
Angle determining unit, two sampled points for often pair of sampled point centering being comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtain multiple first angles corresponding with multiple corner point undetermined respectively;
First recognition unit, for determining at least one first sampled point pair that the first distance value between sampled point is minimum;
Turning recognin unit, for from the first sampled point described at least one in the corner point undetermined of correspondence, choose the first corresponding angle value reach preset angle angle value and the minimum corner point undetermined of angle value as corner point.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For electronic equipment disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (12)

1. an input recognition method, is characterized in that, is applied to an electronic equipment, comprises:
In contact wipe process, carry out contact position sampling, obtain the sampled point of described contact in not multiple positions in the same time;
From described multiple sampled point, extract multiple corner point undetermined;
The sampled point pair of step-length is preset at acquisition and described corner point interval undetermined, and obtain multipair sampled point pair corresponding with described multiple corner point undetermined respectively, wherein, described default step-length is a specified quantity sampled point;
The position relationship right according to described multipair sampled point, determines corner point from described multiple corner point undetermined.
2. method according to claim 1, is characterized in that, the described position relationship right according to described multipair sampled point, determines corner point, comprising from described multiple corner point undetermined:
According to described sampled point to the first distance between the sampled point comprised, and/or the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point.
3. method according to claim 2, it is characterized in that, when described default step-length is zero or sampled point, according to the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point;
When described default step-length is greater than a sampled point, according to described sampled point to the first distance between the sampled point comprised, from described multiple corner point undetermined, determine corner point.
4. method according to claim 2, is characterized in that, described according to the first distance between described multipair sampled point centering sampled point, determines corner point, comprising from described multiple corner point undetermined:
Calculate the first distance between sampled point that often pair of described sampled point centering comprises;
Determine the first sampled point pair that the first distance value between sampled point is minimum described first sampled point to be defined as corner point to corresponding corner point undetermined.
5. method according to claim 2, it is characterized in that, the size of described the first angle formed with the line of described sampled point to corresponding corner point undetermined according to the sampled point of described sampled point centering, from described multiple corner point undetermined, determine corner point, comprising:
Two sampled points often pair of sampled point centering comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtain multiple first angles corresponding with multiple corner point undetermined respectively;
By in described multiple corner point undetermined, the first corresponding angle value reaches preset value and the minimum corner point undetermined of angle value is defined as corner point.
6. method according to claim 2, it is characterized in that, described according to described sampled point to the first distance between the sampled point comprised, and/or the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point, comprising:
Calculate the first distance between sampled point that often pair of described sampled point centering comprises;
Two sampled points often pair of sampled point centering comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtain multiple first angles corresponding with multiple corner point undetermined respectively;
Determine at least one first sampled point pair that the first distance value between sampled point is minimum;
From the first sampled point described at least one to the corner point undetermined of correspondence, choose the first corresponding angle value reach preset angle angle value and the minimum corner point undetermined of angle value as corner point.
7. an electronic equipment, is characterized in that, comprising:
Station acquisition unit, for carrying out contact position sampling in contact wipe process, obtains the sampled point of described contact in not multiple positions in the same time;
Corner extraction unit undetermined, for from described multiple sampled point, extracts multiple corner point undetermined;
Pretreatment unit, for obtain and the sampled point pair of step-length is preset at described corner point interval undetermined, obtain multipair sampled point pair corresponding with described multiple corner point undetermined respectively, wherein, described default step-length is a specified quantity sampled point;
Turning determining unit, for the position relationship right according to described multipair sampled point, determines corner point from described multiple corner point undetermined.
8. electronic equipment according to claim 7, is characterized in that, described turning determining unit, comprising:
Turning recognition unit, for according to described sampled point to the first distance between the sampled point comprised, and/or the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point.
9. electronic equipment according to claim 8, is characterized in that, described turning recognition unit, comprising:
Turning recognin unit, for when described default step-length is zero or sampled point, according to the size of the first angle that the sampled point of described sampled point centering is formed with the line of described sampled point to corresponding corner point undetermined, from described multiple corner point undetermined, determine corner point; When described default step-length is greater than a sampled point, according to described sampled point to the first distance between the sampled point comprised, from described multiple corner point undetermined, determine corner point.
10. electronic equipment according to claim 8, is characterized in that, described turning recognition unit, comprising:
Metrics calculation unit, for calculating the first distance between sampled point that often pair of described sampled point centering comprises;
First turning recognition unit, for determining the first sampled point pair that the first distance value between sampled point is minimum, is defined as corner point by described first sampled point to corresponding corner point undetermined.
11. electronic equipments according to claim 8, is characterized in that, described turning recognition unit, comprising:
Angle determining unit, two sampled points for often pair of sampled point centering being comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtain multiple first angles corresponding with multiple corner point undetermined respectively;
Second turning recognition unit, for by described multiple corner point undetermined, the first corresponding angle value reaches preset value and the minimum corner point undetermined of angle value is defined as corner point.
12. electronic equipments according to claim 8, is characterized in that, described turning recognition unit, comprising:
Metrics calculation unit, for calculating the first distance between sampled point that often pair of described sampled point centering comprises;
Angle determining unit, two sampled points for often pair of sampled point centering being comprised carry out line with this sampled point to corresponding corner point undetermined and form the first angle, obtain multiple first angles corresponding with multiple corner point undetermined respectively;
First recognition unit, for determining at least one first sampled point pair that the first distance value between sampled point is minimum;
Turning recognin unit, for from the first sampled point described at least one in the corner point undetermined of correspondence, choose the first corresponding angle value reach preset angle angle value and the minimum corner point undetermined of angle value as corner point.
CN201310384707.2A 2013-08-29 2013-08-29 A kind of input recognition method and electronic equipment Active CN104423663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310384707.2A CN104423663B (en) 2013-08-29 2013-08-29 A kind of input recognition method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310384707.2A CN104423663B (en) 2013-08-29 2013-08-29 A kind of input recognition method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104423663A true CN104423663A (en) 2015-03-18
CN104423663B CN104423663B (en) 2017-11-28

Family

ID=52972912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310384707.2A Active CN104423663B (en) 2013-08-29 2013-08-29 A kind of input recognition method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104423663B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991687A (en) * 2015-06-09 2015-10-21 惠州Tcl移动通信有限公司 Method and system for acquiring curve operating track of touch-screen device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1164709A (en) * 1996-05-03 1997-11-12 英业达股份有限公司 Converting method for geometric figure and mathematical equation and counter using the same
CN1920857A (en) * 2006-09-08 2007-02-28 华南理工大学 First-end stroke online extraction method for written Chinese character
CN101354747A (en) * 2008-09-18 2009-01-28 炬力集成电路设计有限公司 Method and apparatus for recognizing hand-written symbol
US20120062736A1 (en) * 2010-09-13 2012-03-15 Xiong Huaixin Hand and indicating-point positioning method and hand gesture determining method used in human-computer interaction system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1164709A (en) * 1996-05-03 1997-11-12 英业达股份有限公司 Converting method for geometric figure and mathematical equation and counter using the same
CN1920857A (en) * 2006-09-08 2007-02-28 华南理工大学 First-end stroke online extraction method for written Chinese character
CN101354747A (en) * 2008-09-18 2009-01-28 炬力集成电路设计有限公司 Method and apparatus for recognizing hand-written symbol
US20120062736A1 (en) * 2010-09-13 2012-03-15 Xiong Huaixin Hand and indicating-point positioning method and hand gesture determining method used in human-computer interaction system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991687A (en) * 2015-06-09 2015-10-21 惠州Tcl移动通信有限公司 Method and system for acquiring curve operating track of touch-screen device
CN104991687B (en) * 2015-06-09 2018-05-08 惠州Tcl移动通信有限公司 A kind of method and system for obtaining touch-screen equipment curve manipulation track

Also Published As

Publication number Publication date
CN104423663B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
US9678606B2 (en) Method and device for determining a touch gesture
US10698106B2 (en) Obstacle detecting method and apparatus, device and storage medium
CN101470548B (en) Method for measuring object dimension and angle through touch screen
CN103294401A (en) Icon processing method and device for electronic instrument with touch screen
CN104932825B (en) A kind of automatic sensing right-hand man operating handset and the method for determining thumb activity hot-zone
US10395106B2 (en) Human body posture data acquisition method and system, and data processing device
CN104063153B (en) A kind of method and apparatus for realizing human-computer interaction
WO2015070825A3 (en) Method and system for inputting word by means of continuous sliding
CN102566744A (en) Mouse control method, mouse control device and terminal
CN106954190A (en) A kind of WIFI indoor orientation methods based on index mapping domain
CN103970328A (en) Touch or non-touch type multi-input-point control command detecting method and device
CN102147688B (en) System and method for improving input accuracy of capacitive touch screen
CN102662511A (en) Method and terminal for carrying out control operation through touch screen
CN105426107A (en) Gesture recognition method based on touchpad
CN104423663A (en) Inputting identification method and electronic equipment
WO2012059595A1 (en) Touch detection
CN109814138A (en) A method of it reducing wearable device positioning power consumption and ensures positioning accuracy
CN107356902B (en) WiFi positioning fingerprint data automatic acquisition method
JP2014174143A (en) Information processing device, program, and system
CN105138269B (en) A kind of touch screen Zoom method and system
JP2004029918A5 (en)
CN104731396B (en) A kind of magic pen and its display control method
US20190250814A1 (en) Segment Length Measurement Using a Touch Screen System in Response to Gesture Input
CN102262492A (en) Touch control identifying method
CN112860053B (en) Gesture recognition apparatus, gesture recognition method, computer device, and 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
GR01 Patent grant
GR01 Patent grant