[go: up one dir, main page]

CN103186300B - Capacitance type input mechanism and touch tracking more - Google Patents

Capacitance type input mechanism and touch tracking more Download PDF

Info

Publication number
CN103186300B
CN103186300B CN201110459381.6A CN201110459381A CN103186300B CN 103186300 B CN103186300 B CN 103186300B CN 201110459381 A CN201110459381 A CN 201110459381A CN 103186300 B CN103186300 B CN 103186300B
Authority
CN
China
Prior art keywords
contact
coordinate
match
current
current contact
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
CN201110459381.6A
Other languages
Chinese (zh)
Other versions
CN103186300A (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.)
Hanwang Technology Co Ltd
Original Assignee
Hanwang Technology 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 Hanwang Technology Co Ltd filed Critical Hanwang Technology Co Ltd
Priority to CN201110459381.6A priority Critical patent/CN103186300B/en
Publication of CN103186300A publication Critical patent/CN103186300A/en
Application granted granted Critical
Publication of CN103186300B publication Critical patent/CN103186300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention provides a kind of capacitance type input mechanism and touch tracking more.This device comprises capacitance plate, for basis from capacitance plate current contact coordinate and the computing unit calculating each current contact and each position relationship between first contact at first contact coordinate from storage unit, for respectively by current contact with to carry out the first pairing unit that first time and second time match and the second pairing unit in first contact, for each is not matched first contact do not match counting how many times counter and be used for current contact that self-capacitance in the future shields and be stored as the storage unit at first contact data acquisition in first contact and the number of times that do not match thereof.The track broken string in input continuously effectively can be avoided according to input media of the present invention.

Description

Capacitance type input mechanism and touch tracking more
Technical field
The present invention relates to capacitance type input mechanism.More specifically, the present invention relates to a kind of have touch following function capacitance type input mechanism and one touch tracking more.
Background technology
Existing capacitance type input mechanism is as a kind of human-computer interaction device, the capacitance plate used be generally in glass or other transparent materials, make electrically conducting transparent ITO (tin indium oxide) film to form the conducting film of crisscross structure, when there being conductor as finger touch, the change of the electric field formed by conducting film detects the touch location of conductor on capacitance plate, realizes human-computer interaction function.
In some applications, by input media programming, the gesture of user when inputting can being identified, such as weight, thickness, emergency etc., input media being such as used as the keyboard etc. of musical instrument.In some applications, when input media detects multiple touch at the same time, also need the touch detected in a sample time frame of touch-screen to track next sample time frame, to identify the continuous print style of brushwork input of user.
Prior art discloses the multiple contiguous method touched for following the trail of on touch-screen.Such as, two location sensings two in very first time frame t1 on the touchscreen touch and after given interval, two positions in the second time frame t2 sense two touches.For determine time t1 place which touch track time t2 place which touch, need the path calculating all possible paths between touch location, the position grouping with lowest distance value is because representing that the tracking of two objects is apart from minimum and be regarded as following the trail of the most probable combination of these two objects.In the method, when following the trail of the object of contiguous touch-screen, need to arrange the maximum permissible distances from a location tracking to another position.Position transducer detects the first touch if be in a time interval and the second touch detected at following time interval place then, but the distance between two touches is higher than predetermined maximum permissible distances, then the second touch is not regarded as the movement of same object from the first touch location by being regarded as new object.
Carry out in the process of multiple point touching input operation with hand to capacitance plate people, often can occur that some finger touch lightens the situation of even of short duration disappearance.When touch after the touch lightened or of short duration disappearance again detected by capacitance plate time, because the position of the touch reappeared is away from the position touched when lightening or disappear, namely the distance between two touch locations is greater than predetermined maximum permissible distances, and the touch reappeared can be considered as the movement of new object instead of same object by above-mentioned touch method for tracing.Existing capacitance plate will demonstrate track broken string for the touch input of this situation on the screen of capacitance plate.
Therefore, a kind of not only can having avoided was needed in the process of input continuously, on screen, to occur track broken string but also the capacitance type input mechanism of result of use can be ensured and touch tracking more.
Summary of the invention
Carry out in the process of multiple point touching input operation with hand to capacitance plate people, can often occur some finger touch lighten even of short duration disengaging capacitance plate and after the limited time interval again hand capacity screen situation.In this situation, although capacitance plate does not detect the continuous touch of same object, but because touch action itself is continuous print, when more common, touch action on screen is roughly at the uniform velocity, therefore after limited time interval, touch the position reappeared is expected, or to touch disappearance position and the distance reappeared between position be estimable.Describedly reproduce the estimated position and the estimated distance that touch and the input speed that touch inputs, to touch the factors such as the time span that disappears relevant.By monitoring the touch disappeared, detecting once the desired location place in the touch of this disappearance after the limited time interval and newly touching, this new touch can be traced into the touch of this disappearance.
Thus, the invention provides a kind of capacitance type input mechanism touching tracking and adopt this tracking more.The situation occurring that track breaks can be avoided according to method of the present invention.
According to an aspect of the present invention, provide a kind of many touches tracking of capacitance type input mechanism, the method comprises:
Measure to touch to input with predetermined time interval and obtain the current contact data acquisition comprising current contact coordinate;
According to preset first threshold value respectively by current contact with carry out first time in first contact and match;
The method comprises further: after described first time pairing,
If only exist unpaired in first contact, then carry out step B1;
Do not match current contact and do not match in first contact if existed, then basis to do not match the relevant Second Threshold of number of times by the described current contact and do not match and carry out second time in first contact and match of not matching in first contact;
B1, does not match to each and to count at the number of times that do not match of first contact;
B2, compares do not match number of times and the pre-determined number that do not match in first contact; And
B3, is less than not matching comprising contact coordinate and not matching the data of number of times and be added in current contact data acquisition and obtain at first contact data acquisition in first contact of pre-determined number by not matching number of times.
Preferably, described according to preset first threshold value respectively by current contact with to carry out first time in first contact and match and comprise further:
Calculate each current contact and each distance between first contact respectively, for each current contact determine distance the shortest in first contact;
When current contact and when being less than preset first threshold value apart from the shortest distance between first contact, this current contact and the shortest the matching in first contact of this distance.
Preferably, the described current contact and not matching of not matching to be carried out second time and is matched and comprise further to the relevant Second Threshold of number of times that do not match in first contact by described basis in first contact:
Do not match to compare not matching current contact and the Distance geometry do not matched between first contact and this at the relevant Second Threshold of number of times that do not match of first contact,
If be less than, this is not matched current contact and this do not match and to match in first contact.
Preferably, the method comprises further has matched current contact to each, calculates and stores the movement velocity of this current contact, and
Described Second Threshold was calculated with being somebody's turn to do in the movement velocity of first contact at the number of times that do not match of first contact according to each.
Preferably, the described current contact and not matching of not matching to be carried out second time and is matched and comprise further to the relevant Second Threshold of number of times that do not match in first contact by described basis in first contact:
Each is not matched current contact and each do not match first contact to should compare in the relevant distance estimated between position of number of times of not matching of first contact,
If comparative result is less than default 3rd threshold value, this is not matched current contact and this do not match and to match in first contact.
Preferably, the method comprises further has matched current contact to each, calculates and stores the movement velocity of this current contact, and
According to the contact coordinate in first contact, its do not match number of times and movement velocity calculate described in estimate position.
Preferably, described according to preset first threshold value respectively by current contact with to carry out first time in first contact and match and comprise further:
Calculate respectively each current contact and each between first contact X-coordinate difference and Y-coordinate poor;
Respectively described X-coordinate difference and described Y-coordinate difference are compared with preset first threshold value;
If described X-coordinate difference and described Y-coordinate difference are not less than described preset first threshold value, this current contact be matched in first contact with this.
Preferably, the described current contact and not matching of not matching to be carried out second time and is matched and comprise further to the relevant Second Threshold of number of times that do not match in first contact by described basis in first contact:
Respectively by described X-coordinate difference with described Y-coordinate is poor and do not match to this and to compare in do not match relevant the second X-coordinate threshold value of number of times and the second Y-coordinate threshold value of first contact,
If described X-coordinate difference and described Y-coordinate difference are not less than described second X-coordinate threshold value and described second Y-coordinate threshold value, this is not matched current contact and this do not match and to match in first contact.
Preferably, the method has matched current contact to each further, calculates and stores X-coordinate movement velocity and the Y-coordinate movement velocity of this current contact, and
Do not match number of times and X-coordinate movement velocity in first contact should calculate described second X-coordinate threshold value according to each in first contact, and do not match number of times and the Y-coordinate movement velocity in first contact should calculate described second Y-coordinate threshold value according to this in first contact.
Preferably, the described current contact and not matching of not matching to be carried out second time and is matched and comprise further to the relevant Second Threshold of number of times that do not match in first contact by described basis in first contact:
Respectively each is not matched the X-coordinate of current contact and Y-coordinate and each do not match first contact estimate X-coordinate and the distance estimated between Y-coordinate compares,
If the distance between described X-coordinate is less than default 3rd X-coordinate threshold value and distance between described Y-coordinate is less than default 3rd Y-coordinate threshold value, to match not matching current contact and described pairing described in this in first contact.
Preferably, the method comprises further has matched current contact to each, calculates and stores X-coordinate movement velocity and the Y-coordinate movement velocity of this current contact, and
According to the X-coordinate in first contact, it does not match number of times and X-coordinate movement velocity and calculates it and estimate X-coordinate; And
According to the Y-coordinate in first contact, it does not match number of times and Y-coordinate movement velocity and calculates it and estimate Y-coordinate.
According to a further aspect in the invention, provide a kind of capacitance type input mechanism, this device comprises capacitance plate, computing unit, the first pairing unit, the second pairing unit, counter, comparing unit and storage unit, wherein
Capacitance plate is used for touching input with predetermined time interval response and produces the current contact data acquisition comprising current contact coordinate;
Computing unit is used for according to from capacitance plate current contact coordinate with calculate each current contact and each position relationship between first contact from storage unit at first contact coordinate;
First pairing unit according to the first threshold preset respectively by current contact with carry out first time in first contact and match;
Second pairing unit be used for according to do not match the relevant Second Threshold of number of times by the described current contact and do not match and carry out second time in first contact and match of not matching in first contact;
Counter is used for the counting how many times that do not match not matching each in first contact;
Comparing unit is used for do not match number of times and the pre-determined number that do not match in first contact compare and export storage unit by what do not match that number of times is less than pre-determined number in first contact and the number of times that do not match thereof; And
Storage unit is the current contact of self-capacitance screen and being stored as at first contact data acquisition in first contact and the number of times that do not match thereof from comparing unit in the future.
According to the inventive method, by monitoring in first contact unpaired, can follow the tracks of the touch of the touching object returned again away from keyboard, effectively prevent because defects such as the track broken strings of user's input habit introducing.According to a preferred embodiment of the invention, by utilizing the difference of the X-coordinate between contact to be paired and Y-coordinate difference to match to contact, the pairing between contact is just achieved by means of only addition and subtraction.Touch tracking according to of the present invention more, further increase capacitance plate to the recognition efficiency of touch input operation and accuracy rate, the input improving user is experienced.Compared with the technical scheme of the spacing by calculating contact, pairing can be realized quickly and easily according to capacitance type input mechanism of the present invention and calculating, greatly saving calculated amount, while raising computing accuracy rate, reduce hardware cost and energy consumption.
Accompanying drawing explanation
Fig. 1 illustrates according to the process flow diagram touching tracking of the present invention more;
Fig. 2 A-2F illustrates according to the embodiment process flow diagram touched according to method of the present invention more; And
Fig. 3 illustrates the structured flowchart according to capacitance type input mechanism of the present invention.
Embodiment
With reference to the accompanying drawings and in conjunction with the preferred embodiments of the present invention to feature of the present invention, advantage and beneficial effect are described in detail.
Before detailed description flow process of the present invention, it should be noted that, contact tracing process after each touches input detecting step of the present invention is in fact the process of three phases, wherein in the first phase, matching to carrying out first time in first contact and current contact with the first predetermined threshold value, its objective is and match between the contact that obtains at adjacent twice poll; Be not paired to have yet be not paired in first contact if the result of pairing is existing current contact, then in subordinate phase, according to not matching the relevant threshold value of number of times in first contact with not matching, to not matching current contact and do not match and to carry out second time pairing in first contact, its objective is that the contact in order to be regenerated by the finger of temporary extinction traces in first contact; If still exist unpaired in first contact after twice pairing, then in the phase III by add up it in first contact do not match number of times do not match not matching when number of times exceedes pre-determined number of contact stop this at the counting of first contact at this to not matching, to monitor in first contact not matching.
Fig. 1 illustrates according to the process flow diagram touching tracking of the present invention more.
As shown in Figure 1, capacitance plate detects to touching input the contact coordinate and current contact data acquisition that obtain each time point touch input with predetermined time interval.
Subsequently, current contact is matched with in first contact first time.Current contact is matched can carry out according to the method for well known to a person skilled in the art with in first contact first time.Such as, can be matched by the mode calculating each current contact and each distance between first contact respectively.Calculate each current contact and each distance between first contact respectively, for each current contact determine distance the shortest in first contact.When current contact and when being less than preset first threshold value apart from the shortest distance between first contact, by this current contact and the shortest the matching in first contact of this distance.
After completing the pairing of described first time, need to judge whether each current contact and each all match in first contact.The possibility of result judged has 4 kinds of situations:
1, all current contact and allly all to match in first contact;
2, only residue has current contact not match;
3, only residue has and does not match in first contact;
4, current contact is had also to have in first contact in unpaired contact.
For situation 1, the whole current contact obtained in current time measurement are matched all and in first contact, illustrate that all current contact have tracked all in first contact.Now, the detection carried out in current time and tracing process terminate, path 1.
For situation 2, by current contact with carry out after first time match in first contact, only residue has current contact be not paired and be all paired in first contact, has illustrated more to point or object participation touch inputs.Now, need to identify so that subsequently to the tracking of this contact this new contact.Preferably, detection that the time in this prior carries out and tracing process can just be terminated by giving this emerging contact and emerging finger or object numbering, path 2.
For situation 3, by current contact with carry out in first contact after first time matches, not only being paired in first contact and whole current contact has been paired all, having illustrated that finger leaves capacitance plate.In one case, finger really leaves capacitance plate, in another case, as user often occurs in input operation, may be that user points accidentally and leaves capacitance plate or due to leaving of kicking the beam cause due to input in the input process that do not coexist of input habit.In the case of the latter, the motion due to the finger left is that continuous print possesses traceability, its correspondence not match the position of reproduction in first contact be can be estimative equally.When detect the time interval touching input known time, do not match by statistics and calculate the die-out time of finger corresponding to this contact at the number of times that do not match of first contact.When each capacitance plate detects touch input and follows the tracks of the current contact detected, need to monitor in first contact unpaired.
According to a preferred embodiment of the invention, by counting the unpaired number of times that do not match in first contact, such as respectively 1 is added to the number of times that do not match do not matched in first contact, or respectively the number of times that do not match do not matched in first contact is subtracted 1 from pre-determined number, this is added in current contact data acquisition at the coordinate of first contact and the data such as number of times of not matching simultaneously, make this current contact data acquisition formed in first number of contacts according to set, realize the supervision to formerly not matching in first contact.When a certain not match in first contact number of times reach pre-determined number be paired not yet time, can think that this finger frames out, now stop this supervision of not matching in first contact, path 3.
Choose suitable pre-determined number can neither allow user experience finger input sluggishness also can ensure the continuity that user inputs.Can by adding 1 increase progressively and realize counting the method that compares with pre-determined number to the counting do not matched in first contact, also can realize by subtracting 1 mode being decremented to 0 from pre-determined number at every turn, the present invention is not limited thereto.Subsequently monitored pairing to be formed in first contact in first number of contacts according to set together with current contact, complete the detection and tracking process of carrying out in this time.
By current contact with carry out in first contact after first time matches, may occurring that existing unpaired current contact also has the unpaired situation in first contact, i.e. situation 4.Occurring the reason of this situation, may be because to have finger to frame out to have new hand to point out existing simultaneously, also may exist by the current contact formed with the monitored finger returning to screen corresponding in first contact.In order to judge it is which kind of situation, to make correct response to user's input, need unpaired current contact and carry out second time pairing in first contact, judging whether unpaired current contact appears at monitored in the desired location of first contact, path 4.This desired location is relevant with pointing time of frameing out, also namely with do not match first contact not match number of times relevant.
According to a preferred embodiment of the present invention, described second time pairing can be realized by following steps.Calculate each respectively and do not match current contact and distance that each does not match between first contact, do not match to compare not matching current contact and the Distance geometry do not matched between first contact and this at the relevant Second Threshold of number of times that do not match of first contact, be less than and do not match by this Second Threshold determined in first contact if do not match current contact and the distance of not matching between first contact, then this unpaired current contact and this are unpairedly matched in first contact.If be greater than Second Threshold, then corresponding current contact and can not matching in first contact.
Be appreciated that this Second Threshold for limit may and monitored current contact of matching in first contact and this monitored ultimate range between first contact, it is by the movement velocity in first contact and the Time dependent that do not match.Such as Second Threshold can equal the product of time interval between movement velocity in first contact, pairing contact and pre-determined factor.When point to cause because frameing out carelessly occurring unpaired in first contact time, can think that finger corresponding to this contact still inputs with input speed before.According to one embodiment of present invention, the movement velocity of contact can be set to fixed value, coefficient is such as a value in 1.0-1.5.According to a preferred embodiment of the present invention, the movement velocity of contact can determine by the current contact of matching with in first contact.In order to obtain the movement velocity of contact, in each current contact with after first contact is successfully matched, the movement velocity of the current contact of pairing can be calculated according to position relationship therebetween and time relationship, and result of calculation stored.
According to a further advantageous embodiment of the invention, described second time pairing can be realized by following steps.Each is not matched current contact and each do not match and to compare in the distance estimated between position of first contact, if comparative result is less than default 3rd threshold value, can match by corresponding current contact with in first contact.Do not match estimating position and such as jointly can be determined by the coordinate of first contact, the movement velocity in first contact stored and the number of times that do not match in first contact in first contact.
After above-mentioned second time has been matched, if current contact and matching in first contact, can calculate the movement velocity of the current contact of pairing, the touch detection and tracking process of this time point has terminated.After second time pairing, if there is current contact to fail to match, then this current contact can be regarded as the contact that emerging finger is formed, to this new contact number to follow the tracks of it.Fail to match in first contact if had, then can think and have finger to frame out.With reference to content noted earlier, monitor in first contact unpaired, to follow the tracks of in subsequent step.
Above to calculate current contact and to judge current contact in the mode of the spacing of first contact and whether be paired into routine preferred embodiments of the present invention have been disclosed for illustrative between first contact.According to a further advantageous embodiment of the invention, the relation between distance between current contact and the Distance geometry Y-coordinate between the X-coordinate of first contact and threshold value can be compared, judge current contact and whether match between first contact.To carry out being input as example with finger touch capacitance plate below, how utilize current contact with reference to Fig. 2 A-2F decomposition description and X-coordinate and the poor method realizing many touches according to the present invention and follow the tracks of of Y-coordinate between first contact.
Fig. 2 A-2F illustrates according to the embodiment process flow diagram touched according to method of the present invention more.In this example, for first time pairing preset first threshold value be 2, when one group of current contact and the X-coordinate between first contact difference and Y-coordinate difference be all less than 2 time, by this group current contact and can match in first contact.It is 1 that capacitance plate detects the predetermined time interval touching input.For monitoring that the pre-determined number in first contact is 3, when first contact do not match number of times equal 3 time, no longer this is monitored in first contact.
Fig. 2 A illustrates that the second time t2 capacitance plate detects two contact coordinate set after touching, i.e. current contact set 201,202 and in first contact set 101,102.For the contact 101 and 102 detected at very first time t1, such as, because do not need, to these two some pairings, so only need to mark these two contacts detected first, respectively contact 101 to be numbered B t1, contact 102 is numbered A t1, and they are stored as at first contact data acquisition, wherein A and B is respectively the numbering of corresponding finger, and t1 is Measuring Time point.
The current touch 201 and 202 that second time detecting that illustrates table 1 arrives and the pairing situation between first contact 101 and 102 are the coordinate of contact in bracket.
Table 1
Current contact In first contact X-coordinate is poor Y-coordinate is poor Whether match Mark current contact
201(3,1) 101(2,1) 1 0 Be B t2
201(3,1) 102(4,5) 1 4 No
202(3.5,6) 101(2,1) 1.5 5 No
202(3.5,6) 102(4,5) -0.5 1 Be A t2
As can be seen from the data shown in table 1, current contact 201 can trace in first contact 101, and current contact 202 can trace in first contact 102.Now, whole current contact and all matching in first contact, is stored as current contact data acquisition 201 and 202 at first contact data acquisition.
Preferably, after pairing completes, can according to the coordinate of contact 201,202 and contact 101,102 and the time interval therebetween, such as 1, calculate X-coordinate speed and the Y-coordinate speed of current contact respectively, obtain contact 201 and 202 in X-coordinate and Y-coordinate speed (1,0) 201(-0.5,1) 202.Now can complete the second time t2 to the detection touched and pairing.According to one embodiment of present invention, in follow-up pairing process, introduce error, X-coordinate and Y-coordinate non-zero minimum speed threshold value are preferably set.When the absolute value of the speed of a certain coordinate calculated is less than the non-zero minimum speed threshold value of this setting, substitute the corresponding coordinate speed absolute value calculated with this threshold value.In this embodiment, non-zero minimum speed threshold value is set to 0.1, after obtaining the correction of contact 201, coordinate speed is (1,0.1) 201.
Fig. 2 B illustrates that the 3rd time t3 capacitance plate detects two contact coordinate set after touching, i.e. current contact set 301,302 and in first contact set 201,202.
The current touch 301 and 302 that the 3rd time detecting that illustrates table 2 arrives and the first time between first contact 201 and 202 match situation.
Table 2
Current contact In first contact X-coordinate is poor Y-coordinate is poor Whether match Mark current contact
301(3,7) 201(3,1) 0 6 No
301(3,7) 202(3.5,6) 0.5 1 Be A t3
302(8,6) 201(3,1) 5 5 No
302(8,6) 202(3.5,6) 4.5 0 No
As can be seen from the data shown in table 2, current contact 301 can trace in first contact 202, and current contact 302 of not matching is labeled as C t3, contact 302 and unpaired between first contact 201.Because there is unpaired current contact and unpaired in first contact after first time pairing, need to carry out current contact 302 and the pairing of the second time between first contact 201.
Table 3 illustrates that current contact 302 and the second time between first contact 201 match situation.In second time pairing process, the X-coordinate difference between needing contact and Y-coordinate difference other to and compare in do not match relevant the second X-coordinate threshold value of number of times and the second Y-coordinate threshold value of first contact.Second X-coordinate threshold value and the second Y-coordinate threshold value can equal the product of time interval between X-coordinate movement velocity in first contact, Y-coordinate movement velocity, pairing contact and pre-determined factor respectively.Pre-determined factor such as gets 1.2 in this example, obtains thus at the Second Threshold of first contact 201 being:
Tx 201=1.2×1×1=1.2
Ty 201=1.2×0.1×1=0.12
Table 3
Current contact In first contact X-coordinate is poor Y-coordinate is poor Whether match Mark current contact
301(3,7) 201(3,1) 0 6 No
Can see, the Y-coordinate difference between contact 302 and contact 201 is greater than 0, therefore after second time pairing is attempted, and current contact 302 and still not matching between first contact 201.Now, by do not match first contact 201 do not match number of times be increased to 1 and will in first contact 201, this number of times 1 and current contact coordinate 301 and 302 be together stored as first contact data acquisition.
Preferably, X-coordinate speed and the Y-coordinate speed of current contact 301 can be calculated according to the coordinate of contact 301 and 202 and the time interval 1 therebetween after having matched, obtain the coordinate speed (-0.5,1) of contact 301 301now can complete the 3rd time t3 to the detection touched and pairing.
Fig. 2 C illustrates that the 4th time t4 capacitance plate detects two contact coordinate set after touching, i.e. current contact set 401 and in first contact set 201,301,302.
Current touch that the 4th time detecting that illustrates table 4 arrives 401 and the first time between first contact 201,301 and 302 match situation.
Table 4
Current contact In first contact X-coordinate is poor Y-coordinate is poor Whether match Mark current contact
401(8,7) 201(3,1) 5 6 No
401(8,7) 301(3,7) 5 0 No
401(8,7) 302(8,6) 0 1 Be C t3
As can be seen from the data shown in table 4, current contact 401 can trace in first contact 302, with unpaired in first contact 201 and 301.Because current contact is all matched and namely all traced in first contact after first time pairing, therefore do not need to carry out second time pairing.Perform the supervision step to not matching in first contact subsequently.The number of times that do not match do not matched in first contact 201 and 301 is added 1 respectively, be now 2 at the number of times that do not match of first contact 201, be 1 at the number of times that do not match of first contact 302, and will at first contact 201 and number of times 2 thereof, be together stored as first contact data acquisition at first contact 301 and number of times 1 thereof and current contact 401.
Preferably, after pairing completes, X-coordinate speed and the Y-coordinate speed of current contact 401 can be calculated according to the coordinate of contact 401 and 302 and the time interval 1 therebetween, obtain the coordinate speed (0,1) of contact 401 401.As mentioned above, because non-zero minimum speed threshold value is set to 0.1, obtain coordinate speed (0.1,1) after the correction of contact 401 401.Now can complete the 4th time t4 to the detection touched and pairing.
Fig. 2 D illustrates that the 5th time t5 capacitance plate detects two contact coordinate set after touching, i.e. current contact set 501 and in first contact 201,301,401.
Current touch that the 5th time detecting that illustrates table 5 arrives 501 and the first time between first contact 201,301 and 401 match situation.
Table 5
Current contact In first contact X-coordinate is poor Y-coordinate is poor Whether match Mark current contact
501(8,8) 201(3,1) 5 7 No
501(8,8) 301(3,7) 5 1 No
501(8,8) 401(8,7) 0 1 Be C t4
As can be seen from the data shown in table 5, current contact 501 can trace in first contact 401, with unpaired in first contact 201 and 301.Because current contact is all matched and namely all traced in first contact after first time pairing, therefore do not need to carry out second time pairing.Perform the supervision step to not matching in first contact subsequently.The number of times that do not match do not matched in first contact 201 and 301 is added 1 respectively, and being now 3 at the number of times that do not match of first contact 201, is 2 at the number of times that do not match of first contact 302.Because reach pre-determined number at the number of times that do not match of first contact 201, can think that this monitored finger corresponding in first contact leaves capacitance plate, therefore stop this supervision in first contact 201.First contact data acquisition will be together stored as at first contact 301 and number of times 2 thereof and current contact 501.Now can complete the 4th time t4 to the detection and the pairing that touch input.
Preferably, after pairing completes, X-coordinate speed and the Y-coordinate speed of current contact 501 can be calculated according to the coordinate of contact 501 and 401 and predetermined time interval 1, obtain the coordinate speed (0,1) of contact 501 501.According to a preferred embodiment of the present invention, after pairing completes, X-coordinate speed and the Y-coordinate speed of current contact 501 can be calculated according to the coordinate of contact 501 and contact 302 and the time interval 2 therebetween, obtain the coordinate speed (0,1) of contact 501 501.As mentioned above, because non-zero minimum speed threshold value is set to 0.1, obtain coordinate speed (0.1,1) after the correction of contact 501 501.
Fig. 2 E illustrates that the 6th time t6 capacitance plate detects two contact coordinate set after touching, i.e. current contact set 601 and in first contact 301 and 501.
Table 6 illustrates that the current contact 601 that the 6th time detecting arrives and the first time between first contact 301 and 501 match situation.
Table 6
Current contact In first contact X-coordinate is poor Y-coordinate is poor Whether match Mark current contact
601(1.5,10) 301(3,7) -1.5 3 No
601(1.5,10) 501(8,8) 6.5 2 No
As can be seen from the data shown in table 6, current contact 501 is with all unpaired in first contact 201 and 301.Because current contact and do not match in first contact is not matched in existence after first time pairing, therefore need to carry out second time and match.
Table 7 illustrates that current contact 601 and the second time between first contact 301 and 501 match situation.In second time pairing process, the X-coordinate difference between needing contact and Y-coordinate difference other to and compare in do not match relevant the second X-coordinate threshold value of number of times and the second Y-coordinate threshold value of first contact.At the Second Threshold of first contact 301 be:
Tx 301=1.2×(-0.5)×3=-1.8
Ty 301=1.2×1×3=3.6
At the Second Threshold of first contact 501 be:
Tx 501=1.2×0.1×1=0.12
Ty 501=1.2×1×1=1.2
Table 7
Current contact In first contact X-coordinate is poor Y-coordinate is poor Whether match Mark current contact
601(1.5,10) 301(3,7) -1.5 3 Be A t6
601(1.5,10) 501(8,8) 6.5 2 No
Can find out, current contact 601 and the difference of the X-coordinate between first contact 301 and Y-coordinate difference are not less than the second X-coordinate threshold value in first contact 301 and the second Y-coordinate threshold value, therefore contact 601 and contact 301 are matched, this means that the finger A of capacitance plate away from keyboard comes back to the touch-surface of capacitance plate, it touches input and is traced to contact 301 and is marked as A t6.Subsequently the number of times that do not match do not matched in first contact 501 is added 1 and will at first contact 501 and number of times 1 thereof, and current contact 601 is together stored as first contact data acquisition.
According to another embodiment of the present invention, current contact and the second time in first contact are matched and are not matched the distance estimated X-coordinate and estimate between Y-coordinate in first contact and predetermined threshold value and compare by respectively each not being matched the X-coordinate of current contact and Y-coordinate and each and realize, wherein by the X-coordinate in first contact and Y-coordinate, it does not match number of times and X-coordinate, Y-coordinate movement velocity and calculates it and estimate X-coordinate and Y-coordinate.Be described in detail referring to the current contact 601 in Fig. 2 E and the pairing of the second time between first contact 301, in this example, be respectively 0.5 for the X-coordinate of second time pairing and Y-coordinate predetermined threshold value.
Table 8 illustrates that current contact 601 and the second time between first contact 301 match situation.Position (X is estimated in first contact 301 t-301, Y t-301) be:
X t-301=3+(-0.5)×3=1.5
Y t-301=7+1×3=10
Table 8
As can be seen from Table 8 because current contact 601 and contact 301 estimate X-coordinate difference between position and Y-coordinate difference is 0, be less than predetermined threshold value, therefore contact 601 and contact 301 are matched.
The result that the tracking that Fig. 2 F shows 6 times touches, wherein touches A and returns to after leaving capacitance plate, touches B and leaves capacitance plate after time t 2, touches C and is in supervision.
According to a preferred embodiment of the invention, by monitoring in first contact unpaired, can follow the tracks of the touch of the touching object returned again away from keyboard, effectively prevent because defects such as the track broken strings of user's input habit introducing.According to a preferred embodiment of the invention, by utilizing the difference of the X-coordinate between contact to be paired and Y-coordinate difference to match to contact, the pairing between contact is just achieved by means of only addition and subtraction.Compared with the technical scheme of the spacing by calculating contact, the preferred embodiment can realize pairing quickly and easily and calculate, and greatly saves calculated amount, while raising computing accuracy rate, reduce hardware cost and energy consumption.According to many touches tracking of invention, further increase capacitance plate to the recognition efficiency of touch input operation and accuracy rate, the input improving user is experienced.
Fig. 3 shows the structured flowchart of capacitance type input mechanism according to the preferred embodiment of the invention.Capacitance type input mechanism 300 comprises capacitance plate 301, computing unit 302, the first pairing unit 303, second pairing unit 304, counter 305, comparing unit 306 and storage unit 307.
Capacitance plate 301 produces for touching input with predetermined time interval response the current contact data acquisition comprising current contact coordinate.Computing unit 302 is for according to from capacitance plate current contact coordinate with calculate each current contact and each position relationship between first contact from storage unit at first contact coordinate.First pairing unit 303, according to the first threshold preset and from described computing unit each contact between position relationship, respectively by current contact with carry out first time in first contact and match.When the second pairing unit 304 receive from the first pairing unit do not match current contact and do not match in first contact data time, according to do not match the relevant Second Threshold of number of times by the described current contact and do not match and carry out second time in first contact and match of not matching in first contact.Preferably, described computing unit 302 is further used for according to not matching current contact and the position relationship do not matched between first contact and do not match with this and calculate described Second Threshold at the number of times that do not match of first contact.Counter 305 is for by each counting how many times that do not match do not matched in first contact from the second pairing unit.Comparing unit 306, for do not match number of times and the pre-determined number that do not match in first contact being compared, being less than pre-determined number if do not match number of times, then exporting this to storage unit in first contact and the number of times that do not match thereof.Storage unit 307 shields the current contact of 301 and being stored as at first contact data acquisition in first contact and the number of times that do not match thereof from comparing unit 307 for self-capacitance in future.
With reference to embodiment, invention has been described above.It is clearly understood that the present invention has more than and is limited to specific embodiments described herein, but can do various do not depart from the art category, correction apparent to those skilled in the art, reformation and substitute.Therefore, specify that following claim covers all this correction and changes meeting marrow of the present invention and category.

Claims (12)

1. many touches tracking of capacitance type input mechanism, the method comprises:
Measure to touch to input with predetermined time interval and obtain the current contact data acquisition comprising current contact coordinate;
According to preset first threshold value respectively by current contact with carry out first time in first contact and match;
It is characterized in that, the method comprises further:
If only exist unpaired in first contact, then carry out step B1;
Do not match current contact and do not match in first contact if existed, then basis to do not match the relevant Second Threshold of number of times by the described current contact and do not match and carry out second time in first contact and match of not matching in first contact;
B1, does not match to each and to count at the number of times that do not match of first contact;
B2, compares do not match number of times and the pre-determined number that do not match in first contact; And
B3, is less than not matching comprising contact coordinate and not matching the data of number of times and be added in current contact data acquisition and obtain at first contact data acquisition in first contact of pre-determined number by not matching number of times;
Wherein, described according to preset first threshold value respectively by current contact with to carry out first time in first contact and match and comprise further:
Calculate each current contact and each distance between first contact respectively, for each current contact determine distance the shortest in first contact;
When current contact and when being less than preset first threshold value apart from the shortest distance between first contact, this current contact and the shortest the matching in first contact of this distance.
2. many touches tracking of capacitance type input mechanism according to claim 1, it is characterized in that, the described current contact and not matching of not matching to be carried out second time and is matched and comprise further to the relevant Second Threshold of number of times that do not match in first contact by described basis in first contact:
Do not match to compare not matching current contact and the Distance geometry do not matched between first contact and this at the relevant Second Threshold of number of times that do not match of first contact,
If be less than, this is not matched current contact and this do not match and to match in first contact.
3. many touches tracking of capacitance type input mechanism according to claim 2, is characterized in that, the method comprises further has matched current contact to each, calculates and stores the movement velocity of this current contact, and
Described Second Threshold was calculated with being somebody's turn to do in the movement velocity of first contact at the number of times that do not match of first contact according to each.
4. many touches tracking of capacitance type input mechanism according to claim 1, it is characterized in that, the described current contact and not matching of not matching to be carried out second time and is matched and comprise further to the relevant Second Threshold of number of times that do not match in first contact by described basis in first contact:
Each is not matched current contact and each do not match first contact to should compare in the relevant distance estimated between position of number of times of not matching of first contact,
If comparative result is less than default 3rd threshold value, this is not matched current contact and this do not match and to match in first contact.
5. many touches tracking of capacitance type input mechanism according to claim 4, is characterized in that, the method comprises further has matched current contact to each, calculates and stores the movement velocity of this current contact, and
According to the contact coordinate in first contact, its do not match number of times and movement velocity calculate described in estimate position.
6. many touches tracking of capacitance type input mechanism according to claim 1, is characterized in that, described according to preset first threshold value respectively by current contact with to carry out first time in first contact and match and comprise further:
Calculate respectively each current contact and each between first contact X-coordinate difference and Y-coordinate poor;
Respectively described X-coordinate difference and described Y-coordinate difference are compared with preset first threshold value;
If described X-coordinate difference and described Y-coordinate difference are not less than described preset first threshold value, this current contact be matched in first contact with this.
7. many touches tracking of capacitance type input mechanism according to claim 6, it is characterized in that, the described current contact and not matching of not matching to be carried out second time and is matched and comprise further to the relevant Second Threshold of number of times that do not match in first contact by described basis in first contact:
Respectively poor for described X-coordinate, described Y-coordinate difference and this are not matched and to compare in do not match relevant the second X-coordinate threshold value of number of times and the second Y-coordinate threshold value of first contact,
If poor, the described Y-coordinate difference of described X-coordinate is not less than described second X-coordinate threshold value, described second Y-coordinate threshold value, this is not matched current contact and this do not match and to match in first contact.
8. many touches tracking of capacitance type input mechanism according to claim 7, is characterized in that, the method has matched current contact to each further, calculates and stores X-coordinate movement velocity and the Y-coordinate movement velocity of this current contact, and
Do not match number of times and X-coordinate movement velocity in first contact should calculate described second X-coordinate threshold value according to each in first contact, and do not match number of times and the Y-coordinate movement velocity in first contact should calculate described second Y-coordinate threshold value according to this in first contact.
9. many touches tracking of capacitance type input mechanism according to claim 8, it is characterized in that, when the X-coordinate movement velocity of the current contact calculated or the absolute value of Y-coordinate movement velocity are less than the non-zero minimum speed threshold value of setting, with the X-coordinate movement velocity of this non-zero minimum speed threshold value as described current contact or the absolute value of Y-coordinate movement velocity.
10. many touches tracking of capacitance type input mechanism according to claim 6, it is characterized in that, the described current contact and not matching of not matching to be carried out second time and is matched and comprise further to the relevant Second Threshold of number of times that do not match in first contact by described basis in first contact:
Respectively each is not matched the X-coordinate of current contact, Y-coordinate and each do not match estimating X-coordinate, estimate distance between Y-coordinate with presetting the 3rd X-coordinate threshold value and preset the 3rd Y-coordinate threshold value and compare in first contact,
If the distance between described X-coordinate is less than and describedly presets the 3rd X-coordinate threshold value and distance between described Y-coordinate is less than and describedly presets the 3rd Y-coordinate threshold value, to match not matching current contact and described pairing described in this in first contact.
Many touches tracking of 11. capacitance type input mechanisms according to claim 10, is characterized in that, the method comprises further has matched current contact to each, calculates and stores X-coordinate movement velocity and the Y-coordinate movement velocity of this current contact, and
According to the X-coordinate in first contact, it does not match number of times and X-coordinate movement velocity and calculates it and estimate X-coordinate; And
According to the Y-coordinate in first contact, it does not match number of times and Y-coordinate movement velocity and calculates it and estimate Y-coordinate.
12. 1 kinds of capacitance type input mechanisms, is characterized in that, this device comprises capacitance plate, computing unit, the first pairing unit, the second pairing unit, counter, comparing unit and storage unit:
Capacitance plate, produces for touching input with predetermined time interval response the current contact data acquisition comprising current contact coordinate;
Computing unit, for according to from capacitance plate current contact coordinate with calculate each current contact and each position relationship between first contact from storage unit at first contact coordinate;
First pairing unit, according to the first threshold preset respectively by current contact with carry out first time in first contact and match;
Second pairing unit, for according to do not match the relevant Second Threshold of number of times by the described current contact and do not match and carry out second time in first contact and match of not matching in first contact;
Counter, for the counting how many times that do not match do not matched to each in first contact;
Comparing unit, for comparing do not match number of times and the pre-determined number that do not match in first contact and export storage unit by what do not match that number of times is less than pre-determined number in first contact and the number of times that do not match thereof; And
Storage unit, the in the future current contact of self-capacitance screen and being stored as at first contact data acquisition in first contact and the number of times that do not match thereof from comparing unit.
CN201110459381.6A 2011-12-31 2011-12-31 Capacitance type input mechanism and touch tracking more Active CN103186300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110459381.6A CN103186300B (en) 2011-12-31 2011-12-31 Capacitance type input mechanism and touch tracking more

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110459381.6A CN103186300B (en) 2011-12-31 2011-12-31 Capacitance type input mechanism and touch tracking more

Publications (2)

Publication Number Publication Date
CN103186300A CN103186300A (en) 2013-07-03
CN103186300B true CN103186300B (en) 2015-12-09

Family

ID=48677487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110459381.6A Active CN103186300B (en) 2011-12-31 2011-12-31 Capacitance type input mechanism and touch tracking more

Country Status (1)

Country Link
CN (1) CN103186300B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951135B (en) * 2015-06-29 2018-09-14 努比亚技术有限公司 A kind of information processing unit and method
CN112619142B (en) * 2020-12-29 2022-09-02 珠海金山数字网络科技有限公司 Target object control method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043506A (en) * 2009-10-09 2011-05-04 禾瑞亚科技股份有限公司 Method and device for analyzing position
CN102224480A (en) * 2008-10-21 2011-10-19 爱特梅尔公司 Multi-touch tracking

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8519965B2 (en) * 2008-04-23 2013-08-27 Motorola Mobility Llc Multi-touch detection panel with disambiguation of touch coordinates

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102224480A (en) * 2008-10-21 2011-10-19 爱特梅尔公司 Multi-touch tracking
CN102043506A (en) * 2009-10-09 2011-05-04 禾瑞亚科技股份有限公司 Method and device for analyzing position

Also Published As

Publication number Publication date
CN103186300A (en) 2013-07-03

Similar Documents

Publication Publication Date Title
US8135171B2 (en) Multipoint tracking method and related device
US10268324B2 (en) Peak detection schemes for touch position detection
CN104750331B (en) Touch device and touch judgment method thereof
US20080150715A1 (en) Operation control methods and systems
US10620758B2 (en) Glove touch detection
US8624861B2 (en) Method for determining touch point
CN104077003A (en) Method and device for merging return key, home key and menu key of mobile phone
CN104679373B (en) A kind of touch independent positioning method of self-capacitance touch screen
CN101950228B (en) Touch point detection method
CN102043549B (en) Touch panel and touch point detection method
CN101308414B (en) Touch screen display processing method
CN103577006B (en) self-capacitance type touch panel
CN103186300B (en) Capacitance type input mechanism and touch tracking more
CN104750333B (en) Touch device and method for updating reference two-dimensional sensing information thereof
CN103677454B (en) self-capacitance type touch panel
JP2013054563A (en) Touch panel controller, method for controlling touch panel and input device and electronic equipment using the same
CN102214028A (en) Gesture recognition method and device for touch panel
KR101112630B1 (en) Digital device having a touch screen, and touch coordinate correction method therefor
TWI507960B (en) Touch control system and coordinate correcting method thereof
CN104679312A (en) Electronic device as well as touch system and touch method of electronic device
CN104102397B (en) Self-contained touch panel
US20130027331A1 (en) Zoom gesture determination method and touch control chip
TWI421755B (en) Touch panel and touching point detection method thereof
JP2014006765A (en) Operation device
US8896568B2 (en) Touch sensing method and apparatus using the same

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