CN109597524A - Touch detecting method, touch detecting apparatus and touch control display apparatus - Google Patents
Touch detecting method, touch detecting apparatus and touch control display apparatus Download PDFInfo
- Publication number
- CN109597524A CN109597524A CN201811455151.0A CN201811455151A CN109597524A CN 109597524 A CN109597524 A CN 109597524A CN 201811455151 A CN201811455151 A CN 201811455151A CN 109597524 A CN109597524 A CN 109597524A
- Authority
- CN
- China
- Prior art keywords
- optical path
- scanning
- contact
- touch
- sentry
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
- G06F3/0421—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
The present invention discloses a kind of touch detecting method, touch detecting apparatus and touch control display apparatus, is related to touch-control field, for improving the identification and tracking ability of contact.This method comprises: judge whether there is contact in the last scan period, if there is, it is determined that the quantity T of the scanning optical path blocked in the multi-strip scanning optical path of sentry's optical path direction by contactx1;Judge Tx1Whether it is equal to 0, if it is not, then determining this poll scanning area from t poll scanning area according to setting rule, and determines on sentry's optical path direction to the spotting scaming region of contact;Identified poll scanning area is merged into scanning area with the formation of spotting scaming region merging technique, is merging the scanning for carrying out sentry's optical path direction in scanning area.Touch detecting method provided by the invention keeps existing contact track not easy to lose, and while effectively tracking existing contact, realizes the quick judgement of new contact and responds, improves the discrimination of new contact, high sensitivity when quick touch operates.
Description
Technical field
The present invention relates to touch-control field more particularly to a kind of touch detecting methods, touch detecting apparatus and touch-control display dress
It sets.
Background technique
Infrared touch panel is a kind of electronic device that touch operation can be detected in entire touch screen zone, it simplifies
Man-machine interaction method, and with simple production process, the advantages that production cost is low, easy for installation, high reliability is in numerous areas
It is widely used.
The existing generally rectangular structure of infrared touch panel, as shown in Figure 1, infrared touch panel by one long transmitting side 11,
Reception side 11' one long, one short transmitting side 12 and a short receptor side 12' composition.If having drying hair in each transmitting side
Shot-light 13, corresponding receive are corresponding with several reception lamp 13' on side, generally use one-to-many manner and be scanned, i.e., one hair
Shot-light 13 shines, and the multiple reception lamp 13' in opposite are received simultaneously, and light net is consequently formed.
In existing infrared touch panel, when scanning in such a way that fixed spotting scaming adds full screen scanning once in a while, when there is touching
It when touching event and occurring, is blocked by the optical path of touch location in light net, processor judges the generation of touch operation simultaneously with this
Calculate the position of touch point.But since fixed tracking scanning range is smaller, cause to tend not to quickly recognize the new point fallen into,
And after being switched to full screen scanning, since full screen scanning range is big, cause to be easy to appear apparent Caton phenomenon, to cause
Quickly lift pen stroke when writing of starting to write is imperfect, and quickly gesture operation failure the problems such as.
Summary of the invention
The purpose of the present invention is to provide a kind of touch detecting method, touch detecting apparatus and touch control display apparatus, are used for
Improve the identification and tracking ability of contact.
To achieve the goals above, the invention provides the following technical scheme:
The first aspect of the present invention provides a kind of touch detecting method, which includes: from touch screen one
An optical path direction is selected at least one optical path direction of a scan-side is set as sentry's optical path direction;By entire touch screen areas
Domain is divided into t poll scanning area;Touch detecting method includes multiple scan periods, and each scan period includes: S1: being judged
Whether there is contact in the last scan period, if there is, it is determined that it is blocked in the multi-strip scanning optical path of sentry's optical path direction by contact
Scanning optical path quantity Tx1, enter step S2;If it is not, then entering step S4;S2: judge Tx1Whether 0 is equal to, if so,
Then enter step S4;If it is not, then this poll scanning area is determined from t poll scanning area according to setting rule, and
It determines on sentry's optical path direction to the spotting scaming region of contact, enters step S3;Wherein, setting rule includes per continuous t
The poll scanning area of secondary determination is respectively the t poll scanning area that entire touch screen zone is divided into;S3: will be identified
Poll scanning area merges scanning area with the formation of spotting scaming region merging technique, and sentry optical path side is carried out in scanning area merging
To scanning;S4: the full screen scanning of sentry's optical path direction is carried out.
Optionally, a scan-side of touch screen includes multiple optical path directions, removes the set whistle in multiple optical path directions
Optical path direction outside soldier's optical path direction is known as other optical path directions;Touch detecting method further includes carrying out each other optical paths respectively
The step of the step of scanning in direction, the scanning of each other optical path directions of progress includes: S5: if last scan period oncontacting
Point then carries out the full screen scanning of other optical path directions;S6: if there is contact in the last scan period, it is determined that other optical path directions
The quantity T of the scanning optical path blocked in multi-strip scanning optical path by contactx1', judge Tx1' whether it is equal to 0: if it is, carrying out it
The full screen scanning of its optical path direction;If it is not, then determine on other optical path directions to the spotting scaming region of contact, really
The scanning of other optical path directions is carried out in fixed spotting scaming region.
Optionally, touch screen includes at least two scan-sides, is successively swept to each of touch screen in each scan period
Side is retouched to be scanned;Be scanned to each scan-side includes: to be scanned the more of side using step S1~step S4 method
The scanning of sentry's optical path direction in a optical path direction;It is scanned multiple light of side respectively using step S5~step S6 method
The scanning of each other optical path directions in the direction of road.
Optionally, touch detecting method further include: the scanning result for counting each optical path direction of each scan-side, according to
The scanning result counted seeks the contact T of present scanning cycle1Position.
Optionally, the scanning result of each optical path direction of each scan-side includes the multi-strip scanning light in corresponding optical path direction
The quantity and location information for the scanning optical path being blocked in road;The touching of present scanning cycle is sought according to the scanning result counted
Point T1Position the step of, comprising: for each optical path direction of each scan-side, according to the multi-strip scanning in corresponding optical path direction
The quantity and location information for the scanning optical path being blocked in optical path determine that the scanning optical path region side being blocked is adjacent
The scanning optical path is set as first borderline by one scanning optical path not being blocked;And determine the scanning optical path institute being blocked
In an adjacent scanning optical path not being blocked of the region other side, which is set as second borderline;By first
Touch area of the region as corresponding optical path direction between boundary line and second borderline;By each optical path of each scan-side
The touch area in direction is superimposed, and obtains the contact T of present scanning cycle1Position.
Optionally, in step s 2, determination including: to the step of spotting scaming region of contact on sentry's optical path direction
According to the contact T in the last scan period0Position, determine in the multi-strip scanning optical path of sentry's optical path direction by contact T0It hides
The scanning optical path of gear, by contact T0An adjacent scanning optical path not being blocked of the scanning optical path region side blocked
It is set as third boundary line, and by contact T0What adjacent one in the scanning optical path region other side blocked was not blocked
Scanning optical path is set as the 4th boundary line;By third boundary line along away from contact T0The side for the scanning optical path region blocked
To extending out N1Scanning optical path, the scanning optical path after extending out are set as the 5th boundary line;By the 4th boundary line along away from contact T0
The direction for the scanning optical path region blocked extends out N2Scanning optical path, the scanning optical path after extending out are set as the 6th boundary
Line;Wherein, N1>=0, and N2≥0;Determine that the region between the 5th boundary line and the 6th boundary line is right on sentry's optical path direction
Contact T in the last scan period0Spotting scaming region.
Optionally, 2≤t≤8.
Optionally, t poll scanning area is respectively P1~Pt;Setting rule further includes that the poll per continuous t determination is swept
It retouches region and is followed successively by P1~Pt。
Based on the technical solution of above-mentioned touch detecting method, the second aspect of the present invention provides a kind of touch detection dress
It sets, touch detecting apparatus includes: judgment module, for judging whether there was contact in the last scan period, and in last scanning
When having contact in the period, the quantity T of the scanning optical path blocked in the multi-strip scanning optical path of sentry's optical path direction by the contact is judgedx1
Whether 0 is equal to.The selecting module being connected with judgment module is scanned for the judging result according to judgment module from the following two kinds
A kind of scanning mode as sentry's optical path direction: scanning mode one: full screen scanning is selected in mode;Scanning mode two: it is closing
And scanning in scanning area;Wherein, merge scanning area are as follows: to the contact in the last scan period on sentry's optical path direction
Spotting scaming region, with the poll scanning area selected from the t poll scanning area that entire touch screen zone is divided into
Domain merges obtained region.The scan control module being connected with selecting module, for the selected scanning side of selecting module
The scanning of formula progress sentry's optical path direction.
Based on the technical solution of above-mentioned touch detecting method, the third aspect of the present invention provides a kind of touch-control display dress
It sets, including one or more processors, processor is configured to run computer instruction, to execute such as any of the above-described embodiment
In touch detecting method in one or more steps.
Compared with prior art, touch detecting method provided by the invention, touch detecting apparatus and touch control display apparatus tool
It has the advantages that:
Touch detecting method provided by the invention, including multiple scan periods, in each scan period, by judging
When the last scan period is contactless out, the full screen scanning of sentry's optical path direction is carried out to entire touch screen zone, it can be entire
When having touch operation in touch screen zone, the position of the touch operation is quickly detected.By judging the last scan period
There is contact, and judges the quantity T of the scanning optical path blocked in the multi-strip scanning optical path of sentry's optical path direction by the contactx1It is equal to
When 0, the full screen scanning of sentry's optical path direction is carried out to entire touch screen zone, can quickly detect the position of the contact, it is real
With property and high reliablity.By judging that there is contact in the last scan period, and judge the multi-strip scanning of sentry's optical path direction
The quantity T of the scanning optical path blocked in optical path by the contactx1When not equal to 0, identified poll scanning area is swept with tracking
It retouches region merging technique and is formed and merge scanning area, to the scanning for carrying out sentry's optical path direction in scanning area is merged, make existing contact
Track it is not easy to lose, and it is effective track existing contact track while, realize the quick judgement of new contact and respond, from
And the discrimination of new contact is improved, operate quick touch sensitiveer.
It is noted that the positional relationship between identified poll scanning area and spotting scaming region includes interval
One of be arranged, partly overlap and abut.If the positional relationship of identified poll scanning area and spotting scaming region
To partly overlap or abutting, then it is capable of increasing the spotting scaming range to existing contact, so as to have to existing contact
Effect tracking further decreases the probability that existing contact track is lost, and be conducive to improve the new contact of existing near contacts
Discrimination, for example, when writing, for two adjacent strokes in a word, since the distance between adjacent stroke generally compares
It is relatively close, by increasing the spotting scaming range to existing contact, it is capable of increasing the identification range of new contact, so as to improve newly
The discrimination of contact, stroke is complete when making rapid writing.
It will be further appreciated that in the related technology in such a way that fixed spotting scaming adds a full screen scanning once in a while, phase
For scanning mode more in the related technology.The present invention increases identified poll scanning area and spotting scaming region merging technique
The big spotting scaming range to existing contact, and when to existing contact spotting scaming, it not will do it full screen scanning, thus
It will not lead to Caton phenomenon occur due to the full screen scanning that is taken a long time suddenly, touching when improving quick touch operation
The continuity and integrality of point.
In addition, touch control display apparatus provided by the invention, runs computer instruction by one or more processors and realizes
It executes such as one or more steps in the touch detecting method in any of the above-described embodiment.It is worth noting that due to this
Touch detecting method does not need to realize full-time all directions full screen scanning and calculating, so using common in the touch control display apparatus
The processor of rank can stablize effective realize and execute corresponding touch detecting method, have it is at low cost, stable, with
And the advantages of high financial profit.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 shows the structural schematic diagram of infrared touch panel in the prior art;
Fig. 2 shows the scanning schematic diagrames of 1 pair of 2 scanning mode in the embodiment of the present invention;
Fig. 3 shows the schematic diagram of the touch area of one embodiment of the present of invention;
Fig. 4 shows structural schematic diagram when two poll scanning areas partly overlap in the embodiment of the present invention;
Fig. 5 shows structural schematic diagram when two poll scanning areas are not overlapped in the embodiment of the present invention;
Fig. 6 shows the flow diagram of the touch detecting method of one embodiment of the present of invention;
Fig. 7 shows the merging process schematic diagram of poll scanning area and spotting scaming region in the embodiment of the present invention;
Fig. 8 shows the flow diagram of the touch detecting method of another embodiment of the invention;
Fig. 9 shows the flow diagram of the touch detecting method of yet another embodiment of the present invention;
Figure 10 shows the schematic diagram of sentry's optical path direction in the embodiment of the present invention;
Figure 11 shows the schematic diagram of other optical path directions in the embodiment of the present invention;
Figure 12 shows the schematic diagram of the touch area in the embodiment of the present invention on other optical path directions;
Figure 13 shows the schematic diagram that contact is asked in touch area superposition in the embodiment of the present invention;
Figure 14 shows the schematic block diagram of the touch detecting apparatus of one embodiment of the present of invention.
Specific embodiment
For ease of understanding, with reference to the accompanying drawings of the specification, the touch detecting method that the embodiment of the present invention provides is carried out
Detailed description.
The some concepts that may relate in the embodiment of the present invention are introduced first.
1, optical path direction: in 1 pair of n (n >=1) scanning mode, every optical path possesses difference for particular transmission lamp
Angle;For a particular transmission lamp, corresponding to n optical path each angle, we term it an optical path directions.
Therefore, 1 pair of n scanning mode will have n optical path direction, and one group of directional light with slope can be corresponding on each optical path direction
Road, referring to Fig. 2, Fig. 2 is 11 corresponding 2 optical path directions of long transmitting side in 1 pair of 2 scanning mode.
2, touch area: a specific scanning direction corresponds to one group of parallel light path with slope;It is touched having
When, each contact can shelter from one or continuous several scanning optical paths in these parallel light paths, claim these light that are blocked
Optical path that the previous item on road is not blocked optical path and latter item is not blocked touch area under scanning direction thus.It needs
Bright, the concept of the optical path as involved in the embodiment of the present invention is analog quantity, and optical path has centainly in practical applications
Width, that is to say, that a usual optical path is a light belt in practice, therefore the light that single is blocked in the embodiment of the present invention
Road can also be used as a touch area.
Illustratively, referring to Fig. 3, Fig. 3 is the schematic diagram of touch area, Fig. 3 shows more on a scanning direction
Parallel sweep optical path, wherein dotted line indicates the optical path being blocked, and solid line indicates the optical path not being blocked, we define connection
In the optical path being blocked, the optical path that the previous item of first optical path that is blocked is not blocked, the first boundary of touch area thus
Line 102, the next optical path not being blocked of the last one optical path that is blocked, the second borderline 104 of touch area, is incited somebody to action thus
Touch area of the rectangular area as corresponding optical path direction between first borderline 102 and second borderline 104.
Embodiment one
Touch detecting method provided in an embodiment of the present invention includes: from least one optical path side of one scan-side of touch screen
An optical path direction is selected in is set as sentry's optical path direction;And entire touch screen zone is divided into t poll scanning area
Domain.Wherein, it is covered with entire touch screen zone after t poll scanning area combination, two neighboring poll scanning area can part
Overlapping, can also not be overlapped completely, such as schematic diagram and Fig. 5 when two poll scanning areas illustrated in fig. 4 partly overlap
Schematic diagram when two shown poll scanning areas are not overlapped.
Referring to Fig. 6, touch detecting method provided in an embodiment of the present invention includes multiple scan periods, each scan period
Include: step S1, judges whether there is contact in the last scan period, if there is, it is determined that a plurality of of sentry's optical path direction is swept
Retouch the quantity T of the scanning optical path blocked in optical path by contactx1, enter step S2;If it is not, then entering step S4.
Step S2: judge Tx1Whether 0 is equal to, if it is, entering step S4;If it is not, then according to setting rule from t
This poll scanning area is determined in poll scanning area, and is determined on sentry's optical path direction to the spotting scaming area of contact
Domain enters step S3.
Wherein, it is respectively that entire touch screen zone is divided that setting rule, which includes the poll scanning area per continuous t determination,
At t poll scanning area.Illustratively, such as t=3, then it represents that entire touch screen zone is divided into poll scanning area
P1, poll scanning area P2 and poll scanning area P3.It is followed successively by P1, P2, P3 per continuous 3 times determining poll scanning areas,
Or, P1, P3, P2, or, P2, P1, P3, or, P2, P3, P1, or, P3, P2, P1, or, P3, P1, P2.
Step S3: identified poll scanning area is merged into scanning area with the formation of spotting scaming region merging technique, is being closed
And the scanning of sentry's optical path direction is carried out in scanning area.
Step S4: the full screen scanning of sentry's optical path direction is carried out.
Touch detecting method provided by the invention is judging last scan period oncontacting by step S1 and step S4
When point, the full screen scanning of sentry's optical path direction is carried out to entire touch screen zone, there can be touch in entire touch screen zone
When operation, the position of the touch operation is quickly detected.
By step S1, step S2 and step S4, judging that there is contact in the last scan period, and judge sentry's optical path
The quantity T of the scanning optical path blocked in the multi-strip scanning optical path in direction by the contactx1When equal to 0, to entire touch screen zone into
The full screen scanning of row sentry's optical path direction, can quickly detect the position of the contact, practicability and high reliablity.
By step S1~step S3, judging that there is contact in the last scan period, and judge sentry's optical path direction
The quantity T of the scanning optical path blocked in multi-strip scanning optical path by the contactx1When not equal to 0, by identified poll scanning area
Merge scanning area with the formation of spotting scaming region merging technique, to the scanning for carrying out sentry's optical path direction in scanning area is merged, makes
The track of existing contact is not easy to lose, and while effective tracking existing contact track, realizes the quick judgement of new contact
Operate quick touch sensitiveer to improve the discrimination of new contact with response.
It is noted that the positional relationship between identified poll scanning area and spotting scaming region includes interval
One of be arranged, partly overlap and abut.If the position of identified poll scanning area 14 and spotting scaming region 15
Relationship is to partly overlap (as shown in Figure 7) or abut (not shown), then merging scanning area 16 will be bigger, so as to increase
To the spotting scaming range of existing contact, existing contact can effectively be tracked, further decrease existing contact track and lose
The probability of mistake, and be conducive to further increase the discrimination of the new contact of existing near contacts, for example, when writing, for
Two adjacent strokes in one word, since the distance between adjacent stroke is general closer, by increasing to existing contact
Spotting scaming range is capable of increasing the identification range of new contact, so as to improve the discrimination of new contact, when making rapid writing
Stroke is complete.
It will be further appreciated that in the related technology in such a way that fixed spotting scaming adds a full screen scanning once in a while, phase
For scanning mode more in the related technology.The present invention increases identified poll scanning area and spotting scaming region merging technique
The big spotting scaming range to existing contact, and when to existing contact spotting scaming, it not will do it full screen scanning, thus
It will not lead to Caton phenomenon occur due to the full screen scanning that is taken a long time suddenly, touching when improving quick touch operation
The continuity and integrality of point.
Illustratively, the range of the quantity t of poll scanning area are as follows: 2≤t≤8.Such as t is equal to 2 or 3 or 8 etc..
In this embodiment, when the value of t is closer to above-mentioned numberical range lower limit value, i.e., closer to 2 when, can be less
Scan period in realize scan through entire touch screen zone, improve the recognition capability to touch operation, it is not easy to have
Touch operation but unidentified the case where arriving contact.When the value of t is closer to above-mentioned numberical range upper limit value, i.e., closer to 8 when, energy
Enough accelerate the scanning speed of each scan period, the continuity of contact and complete when so as to further increase quick touch operation
Whole property.
Illustratively, t poll scanning area is respectively P1~Pt;Setting rule further includes the poll per continuous t determination
Scanning area is followed successively by P1~Pt。
It in this embodiment, is respectively P by t poll scanning area1~Pt, setting rule further includes true per continuous t times
Fixed poll scanning area is followed successively by P1~Pt, be not in that the poll that is scanned of upper scan cycle and lower scan cycle is swept
The identical situation in region is retouched, the probability for being scanned each poll scanning area is essentially identical, to be conducive to quickly comprehensively
Complete touch screen zone of effective detection, reduce have touch operation but it is unidentified to contact the phenomenon that probability.
As a kind of possible design, as shown in Fig. 2, a scan-side in touch screen is provided with multiple optical path directions,
Optical path direction in multiple optical path directions in addition to set sentry's optical path direction is known as other optical path directions.Please continue to refer to figure
8, touch detecting method further includes the steps that the scanning for carrying out each other optical path directions respectively, carries out each other optical path directions
Scanning the step of include:
Step S5: if the last scan period is contactless, the full screen scanning of other optical path directions is carried out.
Step S6: if there is contact in the last scan period, it is determined that by contact in the multi-strip scanning optical path of other optical path directions
The quantity T of the scanning optical path blockedx1', judge Tx1' whether it is equal to 0: it is swept if it is, carrying out the full frame of other optical path directions
It retouches;If it is not, then determining on other optical path directions to the spotting scaming region of contact, in identified spotting scaming region
Carry out the scanning of other optical path directions.
In this embodiment, by step S5, when not having contact in judging the last scan period, other optical paths are carried out
The full screen scanning in direction detects the position of the touch operation when can have touch operation in entire touch screen zone faster
It sets.
By step S6, there can be contact in judging the last scan period, and judge the more of other optical path directions
The quantity T of the scanning optical path blocked in scanning optical path by contactx1' be equal to 0 when, carry out the full screen scanning of other optical path directions,
So as to faster detect the position of the contact, practicability and reliability are improved.
In addition, passing through step S6, additionally it is possible to have contact in judging the last scan period, and judge other optical path sides
To multi-strip scanning optical path in the quantity T of scanning optical path that is blocked by contactx1' be not equal to 0 when, determine on other optical path directions
To the spotting scaming region of contact, and the scanning of other optical path directions is carried out in identified spotting scaming region, at this moment, led to
It crosses in present scanning cycle, increases and the spotting scaming region of contact is scanned on other optical path directions, further increase
Spotting scaming range to the contact detected in the last scan period, while also further increasing the identification model of new contact
It encloses, realization effectively tracks the contact detected in the last scan period, and improves the discrimination of new contact, further enhances
Sensitivity when quick touch operates.
As a kind of possible design, touch screen includes at least two scan-sides (as shown in Figure 1), further, please after
Continue refering to Fig. 9, touch detecting method includes:
Step S7: successively each scan-side of touch screen is scanned in each scan period;
Illustratively, Figure 10 is the schematic diagram of sentry's optical path direction, and Figure 11 is the schematic diagram of other optical path directions, to each
It includes: to be scanned sentry's optical path in multiple optical path directions of side using step S1~step S4 method that scan-side, which is scanned,
The scanning in direction;Each other optical paths in multiple optical path directions of side are scanned using step S5~step S6 method respectively
The scanning in direction.
Step S8: the scanning result of each optical path direction of each scan-side is counted.
Illustratively, the scanning result of each optical path direction of each scan-side includes the multi-strip scanning in corresponding optical path direction
The quantity and location information for the scanning optical path being blocked in optical path.
Step S9: the contact T of present scanning cycle is sought according to the scanning result counted1Position.
It in this embodiment, being capable of sweeping according to each optical path direction of each scan-side by step S7~step S9
Quantity and location information as a result, the scanning optical path being blocked in the multi-strip scanning optical path in such as corresponding optical path direction are retouched, is sought
The contact T of present scanning cycle1Position, improve determined by contact T1Position accuracy.
In the above-described embodiments, optionally, as shown in Figure 12 and Figure 13, seek currently sweeping according to the scanning result counted
Retouch the contact T in period1Position the step of, comprising:
For each optical path direction of each scan-side, according to what is be blocked in the multi-strip scanning optical path in corresponding optical path direction
The quantity and location information of scanning optical path determine what adjacent one in the scanning optical path region side that is blocked was not blocked
The scanning optical path is set as first borderline 102 by scanning optical path;And determine the scanning optical path region other side being blocked
An adjacent scanning optical path not being blocked, is set as second borderline 104 for the scanning optical path;
Using the region between first borderline 102 and second borderline 104 as the touch area in corresponding optical path direction;
The touch area of each optical path direction of each scan-side is superimposed, the contact T of present scanning cycle is obtained1Position
It sets.
In this embodiment, by the touch area of each optical path direction of determination, by each optical path side of each scan-side
To touch area be superimposed, obtain the contact T of present scanning cycle1Position, improve contact position judgement accuracy, no
Easily there is the phenomenon of contact positioning mistake.
As a kind of possible design, determination is wrapping the step of spotting scaming region of contact on sentry's optical path direction
It includes:
According to the contact T in the last scan period0Position, determine in the multi-strip scanning optical path of sentry's optical path direction by this
Contact T0The scanning optical path blocked, by contact T0What adjacent one in the scanning optical path region side blocked was not blocked
Scanning optical path is set as third boundary line, and by contact T0The scanning optical path region other side blocked adjacent one is not
The scanning optical path being blocked is set as the 4th boundary line;
By third boundary line along away from contact T0The direction for the scanning optical path region blocked extends out N1Item scans light
Road, the scanning optical path after extending out are set as the 5th boundary line;
By the 4th boundary line along away from contact T0The direction for the scanning optical path region blocked extends out N2Item scans light
Road, the scanning optical path after extending out are set as the 6th boundary line;Wherein, N1>=0, and N2≥0;
Determine that the region between the 5th boundary line and the 6th boundary line was on sentry's optical path direction to the last scan period
In contact T0Spotting scaming region.
In this embodiment, it is determined by way of extending out boundary line to the contact T in the last scan period0Tracking sweep
Region is retouched, convenient for choosing reasonable detection range, so as to effectively track contact, and improves the judgement and response speed to contact
Degree, is less prone to contact track Loss.
In the above-described embodiments, optionally, 0≤N1≤ 6,0≤N2≤ 6, and N1=N2。
In this embodiment, work as N1、N2Be equal to 0 or level off to 0 when, spotting scaming region is smaller, can accelerate each to sweep
The scanning speed in period is retouched, so as to the judgement and response speed further to contact.Work as N1、N2It is equal to 6 or levels off to 0
When, spotting scaming regional scope is larger, so as to effectively track contact, further decreases and contact track Loss occurs
Probability.
Embodiment two
One technical solution based on the above embodiment, the embodiment provides a kind of touch detecting apparatus, please join
Figure 14 is read, touch detecting apparatus 20 includes: the judgment module 202 being sequentially connected, selecting module 204 and scan control module 206.
Wherein, judgment module 202 is used to judge whether there was contact in the last scan period, and in the last scan period
When having contact, the quantity T of the scanning optical path blocked in the multi-strip scanning optical path of sentry's optical path direction by the contact is judgedx1Whether etc.
In 0.
Selecting module 204 is used for the judging result according to judgment module 202, selects one kind from the following two kinds scanning mode
Scanning mode as sentry's optical path direction:
Scanning mode one: full screen scanning;
Scanning mode two: it is scanned merging in scanning area;
Wherein, merge scanning area are as follows: to the spotting scaming of the contact in the last scan period on sentry's optical path direction
Region, with, the poll scanning area selected from the t poll scanning area that entire touch screen zone is divided into, merging
Obtained region.
Scan control module 206 is used to carry out sweeping for sentry's optical path direction with the selected scanning mode of selecting module 204
It retouches.
Above-mentioned touch detecting apparatus 20, which carries out being discussed in detail for the method for touch detection, can be found in embodiment one, herein no longer
Repeated description.
The touch detecting apparatus 20 that the embodiment of the present invention provides, by judgment module 202, selecting module 204 and sweeps
Control module 206 is retouched, a pair of entire touch screen zone of scanning mode can be selected when judging that the last scan period is contactless
Carry out the full screen scanning of sentry's optical path direction.Alternatively, judging that there is contact in the last scan period, and judge sentry optical path side
To multi-strip scanning optical path in the quantity T of scanning optical path that is blocked by the contactx1When equal to 0, select scanning mode a pair of entire
The full screen scanning of touch screen zone progress sentry's optical path direction.Alternatively, judging that there is contact in the last scan period, and judge
The quantity T of the scanning optical path blocked in the multi-strip scanning optical path of sentry's optical path direction by the contactx1When not equal to 0, it will determine
The formation of poll scanning area and spotting scaming region merging technique merges scanning area, selection two pairs of merging scanning areas of scanning mode
The interior scanning for carrying out sentry's optical path direction.Touch detecting apparatus 20 in through the embodiment of the present invention makes the track of existing contact
It is not easy to lose, and while effective tracking existing contact track, the quick judgement and response of new contact are realized, to improve
The discrimination of new contact operates quick touch sensitiveer.
It should be noted that through the above description of the embodiments, those skilled in the art can be clearly
It solves, it for convenience and simplicity of description, can basis only with the division of above-mentioned each functional module for example, in practical application
It needs and is completed by different functional modules above-mentioned function distribution, i.e., the internal structure of device is divided into different function moulds
Block, to complete all or part of the functions described above.The specific work process of the touch detecting apparatus of foregoing description, can be with
With reference to the corresponding process in preceding method embodiment, details are not described herein.
Embodiment three
One technical solution based on the above embodiment, the embodiments of the present invention also provide a kind of computer-readable storage mediums
Matter is stored with instruction code on the computer readable storage medium, and instruction code is for executing as in any of the above-described embodiment
Touch detecting method in one or more steps.
Illustratively, which can be from a computer readable storage medium to another computer-readable storage
Medium transmission, for example, the instruction code can pass through wired (example from a web-site, computer, server or data center
Such as coaxial cable, optical fiber, Digital Subscriber Line (digital subscriber line, DSL)) mode or it is wireless (such as it is infrared,
Wirelessly, microwave etc.) mode to another web-site, computer, server or data center transmit.The computer-readable storage
Medium can be any usable medium that computer can access or include the integrated service of one or more usable mediums
The data storage devices such as device, data center.The usable medium can be magnetic medium (for example, floppy disk, disk, tape), light is situated between
Matter (for example, digital video disk (digital video disc, DVD)) or semiconductor medium (such as solid state hard disk
(solid state drives, SSD)) etc..
Example IV
One technical solution based on the above embodiment, the embodiments of the present invention also provide a kind of touch control display apparatus, should
Touch control display apparatus includes one or more processors, and processor is configured to run computer instruction, to execute such as above-mentioned
One or more steps in touch detecting method in one embodiment.It is noted that the embodiment of the present invention provides
Touch control display apparatus, due to not needing to realize full-time all directions full screen scanning and calculating, so using the processing of common grade
Device (the such as less than processor of A8 rank) can stablize effective realize and execute corresponding touch detecting method, have cost
The advantages of low, stable and high financial profit.
As a kind of possible design, touch control display apparatus includes infrared touch panel, as shown in Figure 1, infrared touch panel packet
Include two scan-sides, i.e. infrared touch panel by one long transmitting side reception side 11' 11, one long, one short transmitting side 12, and
One short receptor side 12' composition.Infrared touch panel has several emission lamps 13 in each transmitting side, and corresponding receive corresponds on side
There are several reception lamp 13', generally use one-to-many manner and be scanned, i.e., an emission lamp 13 shines, the multiple reception lamps in opposite
13' is received simultaneously, and light net is consequently formed.When opening infrared touch panel, if there is no contact in the last scan period, current
In period, (including carrying out the full screen scanning on sentry's optical path direction), at this moment several emission lamps 13, which will successively shine, to be scanned
If there is finger or other objects touch, one or more scanning optical paths by the touch location will be blocked, are made in light net
It is blocked by the scanning optical path of touch location, the processor in infrared touch panel carries out analytical calculation with this, can judge
The position of touch point.
Illustratively, can set long 11 optical path direction number of transmitting side as N, 12 optical path direction number of short side transmitting side be M, with
And angle of each fluorescent tube under each optical path direction;Select in N number of direction a specific optical path direction n1 as first sentry's light
A specific optical path direction m1 is as second sentry's optical path direction in road direction, M direction;It sets in first sentry's optical path direction
The quantity for the scanning optical path being blocked is Tn1, the quantity of scanning optical path that is blocked in second sentry's optical path direction be Tm1, and set
Fixed point but with poll sentry's number of regions t.
Then, judge whether the last scan period has contact, if it is not, then carrying out first sentry's optical path direction and the second sentry
The full screen scanning of optical path direction;If so, then judging Tn1And Tm1It whether is 0.Specifically:
If Tn1=Tm1=0, then this poll scanning area is determined from t poll scanning area according to setting rule, and
It determines on first sentry's optical path direction and second sentry's optical path direction to the spotting scaming region of contact, by identified poll
Scanning area merges scanning area with the formation of spotting scaming region merging technique, carries out the first sentry optical path side merging in scanning area
To and second sentry's optical path direction scanning.
If Tn1> 0, Tm1=0, then this poll scanning area is determined from t poll scanning area according to setting rule,
And determine on first sentry's optical path direction to the spotting scaming region of contact, identified poll scanning area is swept with tracking
It retouches region merging technique and is formed and merge scanning area, merging the scanning for carrying out first sentry's optical path direction in scanning area;And carry out
The full screen scanning of second sentry's optical path direction.
If Tn1=0, Tm1> 0 then determines this poll scanning area according to setting rule from t poll scanning area,
And determine on second sentry's optical path direction to the spotting scaming region of contact, identified poll scanning area is swept with tracking
It retouches region merging technique and is formed and merge scanning area, merging the scanning for carrying out second sentry's optical path direction in scanning area;And carry out
The full screen scanning of first sentry's optical path direction.
If Tn1=0, Tm1=0, then carry out the full screen scanning of first sentry's optical path direction and second sentry's optical path direction.
Further, it is carried out respectively using step S5~step S6 method each in N number of optical path direction of long transmitting side 11
The scanning of each other optical path directions in the scanning of a other optical path directions and M optical path direction of short transmitting side 12.
Finally, seek the position of the contact of present scanning cycle according to the scanning result counted, execute subsequent track with
Track returns to step S1, carries out the scanning of next scan period;In next scan period, by another poll scanning area
Domain and updated spotting scaming region merging technique form the new scanning area that merges, and to carrying out the whistle in new merging scanning area
The scanning of soldier's optical path direction.
In this embodiment, if having detected contact in the last scan period, and it can determine that the contact blocked sweeps
Retouch optical path, then present scanning cycle would not use full screen scanning mode, the sweep time of present scanning cycle is shortened, so
It is less prone to apparent Caton phenomenon, the contact detected in the last scan period can effectively be tracked, improve quick touching
Touch the continuity and integrality when operation.Such as when writing " two " word on infrared touch panel by finger or other objects, often
One is less prone to broken string phenomenon, and practicability is high.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of touch detecting method, which is characterized in that the touch detecting method include: from touch screen one scan-side to
An optical path direction, which is selected, in a few optical path direction is set as sentry's optical path direction;Entire touch screen zone is divided into t wheel
Ask scanning area;
The touch detecting method includes multiple scan periods, and each scan period includes:
S1: judging whether there is contact in the last scan period, if there is, it is determined that the multi-strip scanning of sentry's optical path direction
The quantity T of the scanning optical path blocked in optical path by the contactx1, enter step S2;If it is not, then entering step S4;
S2: judge Tx1Whether 0 is equal to, if it is, entering step S4;If it is not, then being scanned according to setting rule from t poll
This poll scanning area is determined in region, and is determined on sentry's optical path direction to the spotting scaming area of the contact
Domain enters step S3;Wherein, it is respectively entire touch that the setting rule, which includes the poll scanning area per continuous t determination,
The t poll scanning area that screen region is divided into;
S3: identified poll scanning area is merged into scanning area with the formation of spotting scaming region merging technique, is swept in the merging
Retouch the scanning that sentry's optical path direction is carried out in region;
S4: the full screen scanning of sentry's optical path direction is carried out.
2. touch detecting method according to claim 1, which is characterized in that a scan-side of the touch screen includes more
A optical path direction, the optical path direction in the multiple optical path direction in addition to set sentry's optical path direction are known as other optical path sides
To;
The touch detecting method further includes the steps that the scanning for carrying out each other optical path directions respectively, carry out it is each it is described its
The step of scanning of its optical path direction includes:
S5: if the last scan period is contactless, the full screen scanning of other optical path directions is carried out;
S6: if there is contact in the last scan period, it is determined that by the contact in the multi-strip scanning optical path of other optical path directions
The quantity T of the scanning optical path blockedx1', judge Tx1' whether it is equal to 0: if it is, carrying out the full frame of other optical path directions
Scanning;If it is not, then determining on other optical path directions to the spotting scaming region of the contact, in identified tracking
The scanning of other optical path directions is carried out in scanning area.
3. touch detecting method according to claim 2, which is characterized in that the touch screen includes at least two scannings
Side is successively scanned each scan-side of the touch screen in each scan period;
Each scan-side is scanned and includes:
Sentry's optical path direction in multiple optical path directions of the scan-side is carried out using method described in step S1~step S4
Scanning;
Each other light in multiple optical path directions of the scan-side are carried out using method described in step S5~step S6 respectively
The scanning in road direction.
4. touch detecting method according to claim 3, which is characterized in that the touch detecting method further include: statistics
The scanning result of each optical path direction of each scan-side, the contact of present scanning cycle is sought according to the scanning result counted
T1Position.
5. touch detecting method according to claim 4, which is characterized in that each optical path direction of each scan-side is swept
Retouch the quantity and location information of the scanning optical path being blocked in the multi-strip scanning optical path that result includes corresponding optical path direction;
The contact T that present scanning cycle is sought according to the scanning result counted1Position the step of, comprising:
For each optical path direction of each scan-side, according to the scanning being blocked in the multi-strip scanning optical path in corresponding optical path direction
The quantity and location information of optical path determine the adjacent scanning not being blocked of the scanning optical path region side being blocked
The scanning optical path is set as first borderline by optical path;And determine that the scanning optical path region other side being blocked is adjacent
The scanning optical path is set as second borderline by one scanning optical path not being blocked;By the first borderline and described
Touch area of the region as corresponding optical path direction between two boundary lines;
The touch area of each optical path direction of each scan-side is superimposed, the contact T of present scanning cycle is obtained1Position.
6. touch detecting method according to any one of claims 1 to 4, which is characterized in that in step s 2, described true
The step of spotting scaming region being scheduled on sentry's optical path direction to the contact includes:
According to the contact T in the last scan period0Position, determine in the multi-strip scanning optical path of sentry's optical path direction by this
Contact T0The scanning optical path blocked, by contact T0What adjacent one in the scanning optical path region side blocked was not blocked
Scanning optical path is set as third boundary line, and by contact T0The scanning optical path region other side blocked adjacent one is not
The scanning optical path being blocked is set as the 4th boundary line;
By the third boundary line along away from contact T0The direction for the scanning optical path region blocked extends out N1Item scans light
Road, the scanning optical path after extending out are set as the 5th boundary line;By the 4th boundary line along away from contact T0The scanning blocked
The direction of optical path region extends out N2Scanning optical path, the scanning optical path after extending out are set as the 6th boundary line;Wherein, N1≥
0, and N2≥0;
Determine that the region between the 5th boundary line and the 6th boundary line is on sentry's optical path direction to last
Contact T in scan period0Spotting scaming region.
7. touch detecting method according to any one of claims 1 to 4, which is characterized in that 2≤t≤8.
8. touch detecting method according to any one of claims 1 to 4, which is characterized in that the t poll scanning area
Domain is respectively P1~Pt;The setting rule further includes that the poll scanning area per continuous t determination is followed successively by P1~Pt。
9. a kind of touch detecting apparatus, which is characterized in that the touch detecting apparatus includes:
Judgment module is sentenced for judging whether there was contact in the last scan period, and when having contact in the last scan period
The quantity T of the scanning optical path blocked in the multi-strip scanning optical path of disconnected sentry's optical path direction by the contactx1Whether 0 is equal to;
The selecting module being connected with the judgment module is swept for the judging result according to the judgment module from the following two kinds
It retouches and selects a kind of scanning mode as sentry's optical path direction in mode:
Scanning mode one: full screen scanning;
Scanning mode two: it is scanned merging in scanning area;Wherein, the merging scanning area are as follows: on sentry's optical path direction
To the spotting scaming region of the contact in the last scan period, with t poll scanning area being divided into from entire touch screen zone
The poll scanning area selected in domain, merges obtained region;
The scan control module being connected with the selecting module, for carrying out the whistle with the selected scanning mode of the selecting module
The scanning of soldier's optical path direction.
10. a kind of touch control display apparatus, including one or more processors, the processor is configured to run computer and refers to
It enables, to execute such as one or more steps in touch detecting method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811455151.0A CN109597524B (en) | 2018-11-30 | 2018-11-30 | Touch detection method, touch detection device and touch display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811455151.0A CN109597524B (en) | 2018-11-30 | 2018-11-30 | Touch detection method, touch detection device and touch display device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109597524A true CN109597524A (en) | 2019-04-09 |
CN109597524B CN109597524B (en) | 2022-01-28 |
Family
ID=65959970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811455151.0A Active CN109597524B (en) | 2018-11-30 | 2018-11-30 | Touch detection method, touch detection device and touch display device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109597524B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968222A (en) * | 2019-12-13 | 2020-04-07 | 深圳市康冠商用科技有限公司 | Infrared touch screen tracking scanning method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150070326A1 (en) * | 2013-09-11 | 2015-03-12 | Konica Minolta, Inc. | Touch panel inputting device |
CN105892744A (en) * | 2016-03-31 | 2016-08-24 | 青岛海信电器股份有限公司 | Touch trajectory tracking method and device and display equipment |
CN106354593A (en) * | 2016-08-17 | 2017-01-25 | 青岛海信电器股份有限公司 | Light path detecting method and device |
CN107390954A (en) * | 2017-07-18 | 2017-11-24 | 京东方科技集团股份有限公司 | Contactor control device, display device and touch control detecting method |
CN107967083A (en) * | 2017-12-18 | 2018-04-27 | 青岛海信电器股份有限公司 | The definite method and device of touch point |
-
2018
- 2018-11-30 CN CN201811455151.0A patent/CN109597524B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150070326A1 (en) * | 2013-09-11 | 2015-03-12 | Konica Minolta, Inc. | Touch panel inputting device |
CN105892744A (en) * | 2016-03-31 | 2016-08-24 | 青岛海信电器股份有限公司 | Touch trajectory tracking method and device and display equipment |
CN106354593A (en) * | 2016-08-17 | 2017-01-25 | 青岛海信电器股份有限公司 | Light path detecting method and device |
CN107390954A (en) * | 2017-07-18 | 2017-11-24 | 京东方科技集团股份有限公司 | Contactor control device, display device and touch control detecting method |
CN107967083A (en) * | 2017-12-18 | 2018-04-27 | 青岛海信电器股份有限公司 | The definite method and device of touch point |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968222A (en) * | 2019-12-13 | 2020-04-07 | 深圳市康冠商用科技有限公司 | Infrared touch screen tracking scanning method and device, electronic equipment and storage medium |
CN110968222B (en) * | 2019-12-13 | 2024-02-06 | 深圳市康冠商用科技有限公司 | Infrared touch screen tracking scanning method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109597524B (en) | 2022-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102096530B (en) | Multi-touch trajectory tracking method | |
CN102171637B (en) | For the method and apparatus of the many touch events in detecting optical touch sensitive device | |
CN102419663B (en) | A kind of infrared touch screen multi-point recognition method and system | |
TWI537772B (en) | Method and computing device for multi-pass touch contact tracking | |
CN106201064B (en) | Touch localization method, device and touch screen | |
CN102132230B (en) | Determining touch locations using disturbed light | |
CN102364415B (en) | Infrared touch screen multi-touch-point recognition method and device | |
CN102232209A (en) | Stereo optical sensors for resolving multi-touch in a touch detection system | |
CN102782616A (en) | Methods for detecting and tracking touch objects | |
CN103154869A (en) | Displays for electronic devices that detect and respond to the contour and/or height profile of user input objects | |
CN104598082B (en) | A kind of method and device for determining candidate touch point | |
CN105912260A (en) | Application program starting method and mobile terminal | |
CN104081323A (en) | Tracking objects on a touch surface | |
CN107728860A (en) | A kind of touch points of infrared touch screen recognition methods, device and touch-screen equipment | |
US10839190B2 (en) | Gate driver for a fingerprint sensor | |
CN105955525B (en) | Touch track tracking, device and display equipment | |
CN103218090A (en) | System and method for identifying inputs input to mobile device with touch panel | |
CN103744558B (en) | Intelligent dead point recognition and self-adaptation compensation method for infrared touch screen | |
CN110489015A (en) | Touch point determines method and device, touch screen and display | |
CN104777984A (en) | Touch trajectory tracking method and device and touch screen device | |
CN105373267A (en) | Multi-point identification method and device of infrared touch screen and infrared touch screen | |
CN109597524A (en) | Touch detecting method, touch detecting apparatus and touch control display apparatus | |
CN106598351A (en) | Touch point processing method and equipment | |
CN102364417A (en) | Infrared touch screen multi-point recognition method and device | |
Liu et al. | Fast and robust ellipse detector based on edge following method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |