[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106339130B - Touch independent positioning method and device - Google Patents

Touch independent positioning method and device Download PDF

Info

Publication number
CN106339130B
CN106339130B CN201610825961.5A CN201610825961A CN106339130B CN 106339130 B CN106339130 B CN 106339130B CN 201610825961 A CN201610825961 A CN 201610825961A CN 106339130 B CN106339130 B CN 106339130B
Authority
CN
China
Prior art keywords
region
candidate
scanning direction
touch
optical path
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
CN201610825961.5A
Other languages
Chinese (zh)
Other versions
CN106339130A (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201610825961.5A priority Critical patent/CN106339130B/en
Publication of CN106339130A publication Critical patent/CN106339130A/en
Application granted granted Critical
Publication of CN106339130B publication Critical patent/CN106339130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0421Digitisers, 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 invention discloses a kind of touch independent positioning method and devices, belong to touching technique field.The described method includes: determining at least one candidate region in infrared touch panel;For each candidate region at least one described candidate region, from the touch area on the multiple scanning direction, the associated region of the candidate region is determined;Judge that the associated region that whether there is at least two scanning directions in the associated region of the candidate region is specified associations region;When being specified associations region there are the associated region at least two scanning directions in the associated region of the candidate region, the center line of associated region at least two scanning direction on any two scanning direction is intersected, at least one candidate intersection point is obtained;From at least one described candidate intersection point, the true touch point in the infrared touch panel is determined.The present invention, which can shorten, touches point location time-consuming, improves touch point response speed.

Description

Touch independent positioning method and device
Technical field
The present invention relates to technical field of touch control, in particular to a kind of touch independent positioning method and device.
Background technique
With the development of touch technology, infrared touch panel is as a kind of novel computer input device, with the letter of its structure The advantages that single, at low cost, is widely used in multiple fields.It is applied so that human-computer interaction is more intuitive, and people are greatly facilitated Work and life.As shown in Figure 1, infrared touch panel generally includes long transmitting side, long reception side, short transmitting side and short receptor There are multiple infrared transmitting tubes in side, long transmitting side and short transmitting side, it is long to receive side and short receptor Bian Shangjun has multiple infrared connect Closed tube.Wherein, the infrared transmitting tube in long transmitting side can emit infrared ray to the long infrared receiving tube received on side, and bob is penetrated Infrared receiving tube on when upper infrared transmitting tube can be to short receptor emits infrared ray, more in infrared touch panel to be formed Optical path.When there is finger to touch infrared touch panel, will be blocked by the optical path of touch location, terminal can be according to the blocking Situation positions touch point.
Currently, the touch independent positioning method provided are as follows: be scanned, obtain multiple to the optical path formed in infrared touch panel Touch area on scanning direction, touch area on each scanning direction are the optical path institute that is blocked on each scanning direction Region;Touch area on multiple scanning direction is overlapped, at least one polygonal region is obtained;Extremely based on this A few polygonal region, determines the true touch point in the infrared touch panel.However, due to the touch on multiple scanning direction The quantity in region is usually more, therefore, directly by the touch area on multiple scanning direction in above-mentioned touch independent positioning method It is overlapped, calculation amount is larger, takes a long time so as to cause point location is touched, touch point response speed is slower.
Summary of the invention
In order to solve the problems, such as the relevant technologies, the embodiment of the invention provides a kind of touch independent positioning method and devices.Institute It is as follows to state technical solution:
On the one hand, a kind of touch independent positioning method is provided, which comprises
Determine at least one candidate region in infrared touch panel, at least one described candidate region is by multiple scanning directions Touch area on middle any two scanning direction is superimposed to obtain, and the touch area on each scanning direction is each scanning Region where the optical path being blocked on direction;
Petting Area for each candidate region at least one described candidate region, from the multiple scanning direction In domain, the associated region of the candidate region is determined;
Judge that the associated region that whether there is at least two scanning directions in the associated region of the candidate region is Specified associations region, the optical path quantity being blocked in the specified associations region are less than or equal to preset quantity;
When there are the associated region at least two scanning directions being specified pass in the associated region of the candidate region When joining region, the center line of the associated region at least two scanning direction on any two scanning direction is intersected, is obtained To at least one candidate intersection point;
From at least one described candidate intersection point, the true touch point in the infrared touch panel is determined.
Optionally, in the touch area from the multiple scanning direction, the association area of the candidate region is determined Domain, comprising:
For each touch area in the touch area on the multiple scanning direction, quilt in the touch area is judged Whether first optical path blocked and the last item optical path being blocked are by the candidate region;
When first optical path being blocked in the touch area and the last item optical path being blocked pass through the time When favored area, determine that the touch area is the associated region of the candidate region.
Optionally, described from least one described candidate intersection point, it determines the true touch point in the infrared touch panel, wraps It includes:
For the candidate intersection point of each of at least one candidate intersection point, whether to judge on the multiple scanning direction In the presence of the associated region by the candidate intersection point;
When there is the associated region by the candidate intersection point on the multiple scanning direction, the candidate friendship is determined Point is the true touch point in the infrared touch panel.
Optionally, with the presence or absence of the pass at least two scanning directions in the associated region of the judgement candidate region After connection region is specified associations region, further includes:
When the associated region being not present at least two scanning directions in the associated region of the candidate region is specified When associated region, the associated region of the candidate region is overlapped, obtains at least one polygonal region;
Based at least one described polygonal region, the true touch point in the infrared touch panel is determined.
On the other hand, a kind of touch location device is provided, described device includes:
First determining module, for determining at least one candidate region in infrared touch panel, at least one described candidate Region is superimposed to obtain by the touch area on any two scanning direction in multiple scanning directions, the touch on each scanning direction Region is the region where the optical path being blocked on each scanning direction;
Second determining module, for for each candidate region at least one described candidate region, from the multiple In touch area on scanning direction, the associated region of the candidate region is determined;
Judgment module, with the presence or absence of at least two scanning directions in the associated region for judging the candidate region Associated region is specified associations region, and the optical path quantity being blocked in the specified associations region is less than or equal to present count Amount;
Intersect module, for when there are the association areas at least two scanning directions in the associated region of the candidate region It, will be in the associated region at least two scanning direction on any two scanning direction when domain is specified associations region The intersection of heart line obtains at least one candidate intersection point;
Third determining module, for determining the true touching in the infrared touch panel from least one described candidate intersection point It touches a little.
Optionally, second determining module includes:
First judging unit, for sentencing for each touch area in the touch area on the multiple scanning direction Whether first optical path being blocked in the touch area of breaking and the last item optical path being blocked are by the candidate regions Domain;
First determination unit, for when first optical path being blocked in the touch area and the last item being blocked When optical path passes through the candidate region, determine that the touch area is the associated region of the candidate region.
Optionally, the third determining module includes:
Second judgment unit, for judging described more for the candidate intersection point of each of at least one candidate intersection point Whether associated region by the candidate intersection point there is on a scanning direction;
Second determination unit, for working as the associated region existed on the multiple scanning direction by the candidate intersection point When, determine that the candidate intersection point is the true touch point in the infrared touch panel.
Optionally, described device further include:
Laminating module, for when there is no the associations at least two scanning directions in the associated region of the candidate region When region is specified associations region, the associated region of the candidate region is overlapped, obtains at least one polygon area Domain;
4th determining module, for determining true in the infrared touch panel based at least one described polygonal region Touch point.
Technical solution provided in an embodiment of the present invention has the benefit that in embodiments of the present invention, determines infrared At least one candidate region in touch screen, and for each candidate region at least one candidate region, it is swept from multiple Retouch in the touch area on direction, determine the associated region of the candidate region, when in the associated region of the candidate region exist extremely When associated region on few two scanning directions is specified associations region, any two at least two scanning direction are swept The center line intersection for retouching the associated region on direction obtains at least one candidate intersection point, later, at least one candidate intersection point from this In, the true touch point in infrared touch panel is determined, thus in the base for being only overlapped the touch area on two scanning directions The determination to the true touch point in infrared touch panel is achieved that on plinth, due to being not necessarily to the touch area on all scanning directions It is overlapped, therefore, calculation amount can be greatly reduced, shorten and touch point location time-consuming, improve touch point response speed.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of structural schematic diagram of infrared touch panel provided in an embodiment of the present invention;
Fig. 2A is a kind of flow chart for touching independent positioning method provided in an embodiment of the present invention;
Fig. 2 B is a kind of schematic diagram of scanning direction provided in an embodiment of the present invention;
Fig. 2 C is a kind of schematic diagram of candidate region provided in an embodiment of the present invention;
Fig. 2 D is a kind of schematic diagram of maximum region provided in an embodiment of the present invention;
Fig. 2 E is a kind of schematic diagram of candidate intersection point provided in an embodiment of the present invention;
Fig. 3 A is a kind of structural schematic diagram for touching location device provided in an embodiment of the present invention;
Fig. 3 B is a kind of structural schematic diagram of second determining module provided in an embodiment of the present invention;
Fig. 3 C is a kind of structural schematic diagram of third determining module provided in an embodiment of the present invention;
Fig. 3 D is another structural schematic diagram for touching location device provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Before to the embodiment of the present invention carrying out that explanation is explained in detail, first the application scenarios of the embodiment of the present invention are given Explanation.Touch independent positioning method provided in an embodiment of the present invention is applied in terminal, which can be mobile phone, notebook electricity Brain, UMPC (Ultra-mobile Personal Computer, Ultra-Mobile PC), PDA (Personal Digital Assistant, personal digital assistant) etc., the embodiment of the present invention is not specifically limited in this embodiment.Further, the end Infrared touch panel is at least configured in end, infrared touch panel is for detecting touch event.Wherein, touch event can be by User's triggering, and the touch event can be click event, double click event, slip event etc., the embodiment of the present invention does not do this It is specific to limit.
Fig. 2A is a kind of touch independent positioning method flow chart provided in an embodiment of the present invention, and this method is in terminal.Ginseng See Fig. 2A, this method comprises:
Step 201: determining at least one candidate region in infrared touch panel.
Specifically, it is determined that the operation of at least one candidate region in infrared touch panel may include steps of (1) and (2):
(1), the optical path formed in infrared touch panel is scanned, obtains the touch area on multiple scanning directions, respectively Touch area on a scanning direction is the region where the optical path being blocked on each scanning direction.
Since each infrared transmitting tube in infrared touch panel can emit the infrared ray of multiple and different angles, so red Usually will form the optical path for belonging to multiple and different slopes in outer touch screen, therefore, to the optical path formed in infrared touch panel into It, can be every in multiple scanning direction based on the optical path formed in multiple scanning direction scanned infrared touch screens when row scanning The corresponding one group of parallel light path with slope in a scanning direction.
In addition, for each scanning direction in multiple scanning direction, due to the corresponding one group of directional light in the scanning direction Road, therefore, when the optical path formed in based on the scanning direction scanned infrared touch screen, if detected on the scanning direction Continuous n optical path in this group of parallel light path is blocked, then the region where the continuous n optical path that can be blocked this determines For a touch area on the scanning direction.Wherein, n is the natural number more than or equal to 1.
For example, as shown in Figure 2 B, multiple scanning direction is scanning direction 1, scanning direction 2, scanning direction 3 and scanning side To 4, the corresponding one group of parallel light path in multiple scanning direction can then be touched based on multiple scanning direction scanned infrared The optical path formed in screen.And for the scanning direction 1 in multiple scanning direction, it is assumed that this group on the scanning direction 1 is parallel The continuous n optical path being blocked in optical path is optical path 1, optical path 2 and optical path 3, then can will be where optical path 1, optical path 2 and optical path 3 Region N be determined as a touch area on the scanning direction 1, and optical path 1 can be determined as being hindered in the N of the touch area Optical path 3, is determined as the last item optical path being blocked in the N of the touch area by first disconnected optical path.
It should be noted that being scanned to the optical path formed in infrared touch panel, the touching on multiple scanning directions is obtained The operation for touching region can also no longer be described in detail this with reference to other the relevant technologies, the embodiment of the present invention.
(2), the touch area in multiple scanning direction on any two scanning direction is overlapped, obtains infrared touching Touch at least one candidate region in screen.
For example, as shown in Figure 2 C, any two scanning direction is scanning direction 1 and scanning direction in multiple scanning direction 3, and the touch area on scanning direction 1 is N0 and N1, the touch area on scanning direction 3 is N2 and N3, then can will scan Direction 1 is overlapped with the touch area on scanning direction 3, obtain at least one candidate region in infrared touch panel be H1, H2、H3、H4。
Step 202: the touching for each candidate region at least one candidate region, from multiple scanning direction It touches in region, determines the associated region of the candidate region.
Specifically, for each touch area in the touch area on multiple scanning direction, judge the touch area In first optical path being blocked and the last item optical path being blocked whether by the candidate region;When in the touch area When first optical path being blocked and the last item optical path being blocked pass through the candidate region, determine that the touch area is to be somebody's turn to do The associated region of candidate region.
For example, as shown in Figure 2 D, which is H1, which is N4, due to being hindered in the N4 of the touch area First disconnected optical path and the last item optical path being blocked pass through candidate region H1, therefore, can be by the touch area N4 is determined as the associated region of candidate region H1.
Wherein, judge whether be blocked in the touch area first optical path and the last item optical path being blocked pass through When crossing the candidate region, the scanning direction where the touch area can be first determined, then determine on the scanning direction by the time The maximum region of favored area determines first be blocked in the touch area when the touch area is located in the maximum region Optical path and the last item optical path being blocked pass through the candidate region.
It should be noted that the maximum region on the scanning direction by the candidate region is on the scanning direction by being somebody's turn to do Region where the continuous m optical path of candidate region.Wherein, m is the natural number more than or equal to 1.
For example, as shown in Figure 2 D, which is H1, which is N4, the scanning where the N4 of the touch area Direction is scanning direction 2, then can determine the maximum region for passing through candidate region H1 on the scanning direction 2.Assuming that the maximum Region is Z, since touch area N4 is in maximum region Z, hence, it can be determined that be blocked in the N4 of the touch area One optical path and the last item optical path being blocked pass through candidate region H1.
Wherein it is determined that can determine the scanning direction pair when passing through the maximum region of the candidate region on the scanning direction The slope for the optical path answered;When the slope of the corresponding optical path in the scanning direction is not present or is positive number, according to the scanning direction pair The slope for the optical path answered calculates the corresponding first infrared hair of optical path on the first vertex on the scanning direction by the candidate region Pipe position is penetrated, and calculates corresponding second infrared emission of optical path on the second vertex on the scanning direction by the candidate region Region between first infrared transmitting tube position and the second infrared transmitting tube position is determined as passing through on the scanning direction by pipe position Cross the maximum region of the candidate region;When the slope of the corresponding optical path in the scanning direction is 0 or is negative, according to the scanning side To the slope of corresponding optical path, the corresponding third of optical path for calculating the third vertex on the scanning direction by the candidate region is red Outer transmitting tube position, and calculate the 4th vertex on the scanning direction by the candidate region optical path it is corresponding 4th infrared Region between third infrared transmitting tube position and the 4th infrared transmitting tube position is determined as the scanning direction by transmitting tube position On by the candidate region maximum region.
It should be noted that the first vertex of the candidate region is to be blocked in the first touch area and the second touch area The point that intersects of first optical path, the second vertex of the candidate region is quilt in the first touch area and the second touch area The point that the last item optical path of blocking intersects, the third vertex of the candidate region are the be blocked in the first touch area The point that the last item optical path being blocked in one optical path and the second touch area intersects, the 4th vertex of the candidate region Intersect for the last item optical path being blocked in the first touch area and first optical path being blocked in the second touch area The point arrived.Wherein, which is superimposed to obtain by the first touch area with the second touch area.
For example, as shown in Figure 2 D, which is H1, and the first vertex of candidate region H1 is point a, and the second vertex is Point b, third vertex are point c, and the 4th vertex is point d, which is scanning direction 2, and the corresponding optical path in scanning direction 2 Slope be positive number, then can be calculated on the scanning direction 2 according to the slope of the corresponding optical path in scanning direction 2 by the time The optical path corresponding first infrared transmitting tube position of the first vertex a of favored area H1, and calculate on the scanning direction 2 by being somebody's turn to do The optical path corresponding second infrared transmitting tube position of the second vertex b of candidate region H1, it is assumed that the first infrared transmitting tube position is Position 1, the second infrared transmitting tube position are position 2, then can be by the first infrared transmitting tube position 1 and the second infrared transmitting tube position The region between 2 is set to be determined as passing through the maximum region of the candidate region on the scanning direction.
Wherein, it according to the slope of the corresponding optical path in the scanning direction, calculates on the scanning direction by the candidate region When the corresponding first infrared transmitting tube position of the optical path on the first vertex, if the slope of the corresponding optical path in the scanning direction is not deposited It can then determine that the first infrared transmitting tube position is (x0,0);If the slope of the corresponding optical path in the scanning direction exists, It can be by specifying formula to obtain the first infrared transmitting tube position as follows;
Wherein, (x, y) is the first infrared transmitting tube position, and (x0, y0) is the first vertex position, and y is the scanning direction pair The slope for the optical path answered.
It should be noted that being calculated on the scanning direction according to the slope of the corresponding optical path in the scanning direction by the time The optical path corresponding second infrared transmitting tube position on the second vertex of favored area calculates on the scanning direction by the candidate region Third vertex optical path corresponding third infrared transmitting tube position, calculate on the scanning direction pass through the candidate region the 4th The corresponding 4th infrared transmitting tube position of the optical path on vertex in above-mentioned steps 202 according to the oblique of the corresponding optical path in the scanning direction Rate calculates the behaviour of the optical path corresponding first infrared transmitting tube position on the first vertex on the scanning direction by the candidate region Make similar, the embodiment of the present invention repeats no more this.
Step 203: judging in the associated region of the candidate region with the presence or absence of the association area at least two scanning directions Domain is specified associations region.
It should be noted that the optical path quantity being blocked in specified associations region is less than or equal to preset quantity.Wherein, in advance If quantity can be preset, and preset quantity can be set it is smaller, such as preset quantity can be 1,2, the present invention implement Example is not specifically limited in this embodiment.
For example, as shown in Figure 2 E, multiple scanning direction is scanning direction 1, scanning direction 2, scanning direction 3 and scanning side To 5, which is that H1 determines the associated region of candidate region H1 from the touch area on multiple scanning direction For N0, N2, N4, N5, N6, N7, and N0 is the associated region on scanning direction 1, and N2 is the associated region on scanning direction 3, N4 With the associated region that N5 is on scanning direction 2, N6 and N7 are the associated region on scanning direction 5.Assuming that being blocked in N0 and N2 Optical path quantity be all larger than preset quantity, the optical path quantity being blocked in N4, N5, N6 and N7 is respectively less than preset quantity, then can be with Determine in the associated region of candidate region H1 there are the associated region on scanning direction 2 and scanning direction 5 to be specified associations Region.
It should be noted that when there are the associated regions at least two scanning directions in the associated region of the candidate region When being specified associations region, terminal can continue to execute following steps 204 to determine the true touch point in infrared touch panel;When When being specified associations region there is no the associated region at least two scanning directions in the associated region of the candidate region, eventually End can continue to execute following steps 205 to determine the true touch point in infrared touch panel.
Step 204: being when there are the associated regions at least two scanning directions in the associated region of the candidate region When specified associations region, by the center line phase of the associated region at least two scanning direction on any two scanning direction It hands over, obtains at least one candidate intersection point, from this at least one candidate intersection point, determine the true touch point in infrared touch panel.
For example, as shown in Figure 2 E, multiple scanning direction is scanning direction 1, scanning direction 2, scanning direction 3 and scanning side To 5, which is H1, and there are the association areas on scanning direction 5 and scanning direction 2 in the associated region of candidate region H1 Domain is specified associations region, then can intersect the center line of the associated region on scanning direction 5 and scanning direction 2, obtain At least one candidate intersection point is point e, f, g, h.At this time the candidate can be determined from this at least one candidate intersection point e, f, g, h True touch point in the H1 of region.
Wherein, from this at least one candidate intersection point, when determining the true touch point in infrared touch panel, for this at least one The candidate intersection point of each of a candidate's intersection point, judges whether there is the association for passing through candidate's intersection point on multiple scanning direction Region;When there is the associated region for passing through candidate's intersection point on multiple scanning direction, determine that candidate's intersection point is infrared True touch point in touch screen;When the uneven associated region existed by candidate's intersection point on multiple scanning direction, determine Candidate's intersection point is the false touch point in infrared touch panel.
For example, as shown in Figure 2 E, multiple scanning direction is scanning direction 1, scanning direction 2, scanning direction 3 and scanning side To 5, which is H1, and the associated region of candidate region H1 is N0, N2, N4, N5, N6, N7, and N0 is scanning direction 1 On associated region, N2 is the associated region on scanning direction 3, and N4 and N5 are the associated region on scanning direction 2, and N6 and N7 are Associated region on scanning direction 5, which is point e, f, g, h.For the candidate intersection point e, due to scanning Associated region N2 on direction 3 is without candidate intersection point e, so candidate intersection point e is the false touch point in infrared touch panel.For Candidate intersection point f that is to say exist on multiple scanning direction and pass through since N0, N2, N5, N7 pass through the candidate intersection point f Therefore candidate intersection point f can be determined as the true touch point in infrared touch panel by the associated region of candidate's intersection point f.For waiting Intersection point g is selected, since N0, N2, N4, N6 pass through the candidate intersection point g, that is to say, is existed on multiple scanning direction by being somebody's turn to do Therefore candidate intersection point g can be determined as the true touch point in infrared touch panel by the associated region of candidate intersection point g.For the time Intersection point h is selected, since the associated region N2 on scanning direction 3 is without candidate intersection point h, so candidate intersection point h is infrared touch panel In false touch point.
Wherein, when judging whether to there is the associated region for passing through candidate's intersection point on multiple scanning direction, for this Each scanning direction on multiple scanning directions, the slope of the corresponding optical path in the available scanning direction, according to the scanning side To the slope of corresponding optical path, the corresponding infrared transmitting tube position of optical path for passing through candidate's intersection point on the scanning direction is calculated; When the infrared transmitting tube position being calculated is located in some associated region on the scanning direction, determine on the scanning direction In the presence of the associated region by candidate's intersection point;When the infrared transmitting tube being calculated is not at any on the scanning direction When in associated region, determine that there is no the associated regions by candidate's intersection point on the scanning direction.
It should be noted that being calculated on the scanning direction according to the slope of the corresponding optical path in the scanning direction by the time Select the corresponding infrared transmitting tube position of the optical path of intersection point in above-mentioned steps 202 according to the oblique of the corresponding optical path in the scanning direction Rate calculates the behaviour of the optical path corresponding first infrared transmitting tube position on the first vertex on the scanning direction by the candidate region Make similar, the embodiment of the present invention repeats no more this.
Step 205: when the associated region being not present at least two scanning directions in the associated region of the candidate region is equal When for specified associations region, the associated region of the candidate region is overlapped, at least one polygonal region is obtained, based on should At least one polygonal region determines the true touch point in infrared touch panel.
Wherein, the associated region of the candidate region is overlapped, it, can be by one when obtaining at least one polygonal region Associated region on a scanning direction is overlapped with the associated region on another scanning direction, obtains one group of new polygon The new polygonal region of the group is overlapped, to obtain one again by region with the associated region on yet another scanning direction The new polygonal region of group;It is so repeated up to the superposition for completing the associated region on all scanning directions, to obtain to the end One group of polygonal region, last group of polygonal region are at least one polygonal region.
It wherein, can be by this extremely when determining the true touch point in infrared touch panel based at least one polygonal region The candidate is determined as by the polygonal region that the associated region on all scanning directions is superimposed in a few polygonal region True touch generation area in region, and determine that the true touch point in infrared touch panel is located in the true touch generation area.When So, in practical application, it can also be based at least one polygonal region otherwise, determine true in infrared touch panel Touch point, the embodiment of the present invention are not specifically limited in this embodiment.
In embodiments of the present invention, determine at least one candidate region in infrared touch panel, and for this at least one Each candidate region in candidate region determines the association area of the candidate region from the touch area on multiple scanning directions Domain, when there are the associated region at least two scanning directions being specified associations region in the associated region of the candidate region When, the center line of the associated region at least two scanning direction on any two scanning direction is intersected, obtains at least one A candidate's intersection point from this at least one candidate intersection point, determines the true touch point in infrared touch panel later, thus only will Touch area on two scanning directions is achieved that on the basis of being overlapped to the true touch point in infrared touch panel really It is fixed, due to being not necessarily to be overlapped the touch area on all scanning directions, calculation amount can be greatly reduced, shorten touching Point location time-consuming is touched, touch point response speed is improved.
Referring to Fig. 3 A, the embodiment of the invention provides a kind of touch location device, which includes the first determining module 301, the second determining module 302, judgment module 303 intersects module 304 and third determining module 305.
First determining module 301, for determining at least one candidate region in infrared touch panel, at least one candidate regions Domain is superimposed to obtain by the touch area on any two scanning direction in multiple scanning directions, the Petting Area on each scanning direction Domain is the region where the optical path being blocked on each scanning direction;
Second determining module 302, for for each candidate region at least one candidate region, from multiple scanning sides In upward touch area, the associated region of candidate region is determined;
Judgment module 303, with the presence or absence of at least two scanning directions in the associated region for judging candidate region Associated region is specified associations region, and the optical path quantity being blocked in specified associations region is less than or equal to preset quantity;
Intersect module 304, for when there are the association areas at least two scanning directions in the associated region of candidate region When domain is specified associations region, by the center line of the associated region at least two scanning directions on any two scanning direction Intersection obtains at least one candidate intersection point;
Third determining module 305, for determining the true touch point in infrared touch panel from least one candidate intersection point.
Optionally, referring to Fig. 3 B, which includes:
First judging unit 3021, for sentencing for each touch area in the touch area on multiple scanning directions Whether first optical path being blocked and the last item optical path being blocked are by candidate region in disconnected touch area;
First determination unit 3022, for when first optical path being blocked in touch area and the last item being blocked Optical path by candidate region when, determine touch area be candidate region associated region.
Optionally, referring to Fig. 3 C, which includes:
Second judgment unit 3051 judges multiple sweep for intersection point candidate for each of at least one candidate intersection point The associated region whether existed on direction by candidate intersection point retouched;
Second determination unit 3052, for when there is the associated region by candidate intersection point on multiple scanning directions, Determine that candidate's intersection point is the true touch point in infrared touch panel.
Optionally, referring to Fig. 3 D, the device further include:
Laminating module 306, for when there is no the associations at least two scanning directions in the associated region of candidate region When region is specified associations region, the associated region of candidate region is overlapped, obtains at least one polygonal region;
4th determining module 307 determines the true touch in infrared touch panel for being based at least one polygonal region Point.
In embodiments of the present invention, determine at least one candidate region in infrared touch panel, and for this at least one Each candidate region in candidate region determines the association area of the candidate region from the touch area on multiple scanning directions Domain, when there are the associated region at least two scanning directions being specified associations region in the associated region of the candidate region When, the center line of the associated region at least two scanning direction on any two scanning direction is intersected, obtains at least one A candidate's intersection point from this at least one candidate intersection point, determines the true touch point in infrared touch panel later, thus only will Touch area on two scanning directions is achieved that on the basis of being overlapped to the true touch point in infrared touch panel really It is fixed, due to being not necessarily to be overlapped the touch area on all scanning directions, calculation amount can be greatly reduced, shorten touching Point location time-consuming is touched, touch point response speed is improved.
It should be understood that touch location device provided by the above embodiment is when touching point location, only with above-mentioned each The division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different function Energy module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above or portion Divide function.In addition, touch location device provided by the above embodiment and touch independent positioning method embodiment belong to same design, Its specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of touch independent positioning method, which is characterized in that the described method includes:
Determine at least one candidate region in infrared touch panel, at least one described candidate region in multiple scanning directions by appointing The touch area anticipated on two scanning directions is superimposed to obtain, and the touch area on each scanning direction is each scanning direction On region where the optical path that is blocked;
Touch area for each candidate region at least one described candidate region, from the multiple scanning direction In, determine that the associated region of the candidate region, the associated region are to appoint in the touch area on the multiple scanning direction All optical paths being blocked on one scanning direction fall completely within the touch area of the candidate region when passing through the candidate region;
Judge that the associated region that whether there is at least two scanning directions in the associated region of the candidate region is specified Associated region, the optical path quantity being blocked in the specified associations region are less than or equal to preset quantity;
When there are the associated region at least two scanning directions being specified associations area in the associated region of the candidate region When domain, the center line of the associated region at least two scanning direction on any two scanning direction is intersected, obtain to A few candidate intersection point;
For the candidate intersection point of each of at least one candidate intersection point, judge whether exist on the multiple scanning direction By the associated region of the candidate intersection point;
When there is the associated region by the candidate intersection point on the multiple scanning direction, determine that the candidate intersection point is True touch point in the infrared touch panel.
2. the method as described in claim 1, which is characterized in that in the touch area from the multiple scanning direction, Determine the associated region of the candidate region, comprising:
For each touch area in the touch area on the multiple scanning direction, judge to be blocked in the touch area First optical path and the last item optical path for being blocked whether by the candidate region;
When first optical path being blocked in the touch area and the last item optical path being blocked pass through the candidate regions When domain, determine that the touch area is the associated region of the candidate region.
3. the method as described in claim 1-2 is any, which is characterized in that in the associated region of the judgement candidate region After being specified associations region with the presence or absence of the associated region at least two scanning directions, further includes:
When the associated region being not present at least two scanning directions in the associated region of the candidate region is specified associations When region, the associated region of the candidate region is overlapped, obtains at least one polygonal region;
Based at least one described polygonal region, the true touch point in the infrared touch panel is determined.
4. a kind of touch location device, which is characterized in that described device includes:
First determining module, for determining at least one candidate region in infrared touch panel, at least one described candidate region It is superimposed to obtain by the touch area on any two scanning direction in multiple scanning directions, the touch area on each scanning direction Region where the optical path that is blocked on each scanning direction;
Second determining module, for for each candidate region at least one described candidate region, from the multiple scanning In touch area on direction, determine that the associated region of the candidate region, the associated region are the multiple scanning direction On touch area in, all optical paths for being blocked on any scanning direction are described by falling completely within when the candidate region The touch area of candidate region;
Judgment module, with the presence or absence of the association at least two scanning directions in the associated region for judging the candidate region Region is specified associations region, and the optical path quantity being blocked in the specified associations region is less than or equal to preset quantity;
Intersect module, for when there are the associated region at least two scanning directions is equal in the associated region of the candidate region When for specified associations region, by the center line of the associated region at least two scanning direction on any two scanning direction Intersection obtains at least one candidate intersection point;
Third determining module, for determining the true touch point in the infrared touch panel from least one described candidate intersection point;
The third determining module includes:
Second judgment unit, for judging the multiple sweep for the candidate intersection point of each of at least one candidate intersection point The associated region whether existed on direction by the candidate intersection point retouched;
Second determination unit, for when there is the associated region by the candidate intersection point on the multiple scanning direction, Determine that the candidate intersection point is the true touch point in the infrared touch panel.
5. device as claimed in claim 4, which is characterized in that second determining module includes:
First judging unit, for judging institute for each touch area in the touch area on the multiple scanning direction Whether the last item optical path stating first optical path being blocked in touch area and being blocked passes through the candidate region;
First determination unit, for when first optical path being blocked in the touch area and the last item optical path being blocked When passing through the candidate region, determine that the touch area is the associated region of the candidate region.
6. the device as described in claim 4-5 is any, which is characterized in that described device further include:
Laminating module, for when there is no the associated regions at least two scanning directions in the associated region of the candidate region When being specified associations region, the associated region of the candidate region is overlapped, obtains at least one polygonal region;
4th determining module, for determining the true touch in the infrared touch panel based at least one described polygonal region Point.
CN201610825961.5A 2016-09-14 2016-09-14 Touch independent positioning method and device Active CN106339130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610825961.5A CN106339130B (en) 2016-09-14 2016-09-14 Touch independent positioning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610825961.5A CN106339130B (en) 2016-09-14 2016-09-14 Touch independent positioning method and device

Publications (2)

Publication Number Publication Date
CN106339130A CN106339130A (en) 2017-01-18
CN106339130B true CN106339130B (en) 2019-03-01

Family

ID=57839082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610825961.5A Active CN106339130B (en) 2016-09-14 2016-09-14 Touch independent positioning method and device

Country Status (1)

Country Link
CN (1) CN106339130B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727374A (en) * 2019-10-11 2020-01-24 深圳市康冠商用科技有限公司 Touch positioning method and infrared touch screen thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075168A (en) * 2007-06-22 2007-11-21 北京汇冠新技术有限公司 Method for discriminating multiple points on infrared touch screen
CN101387931A (en) * 2008-10-14 2009-03-18 贺伟 Infrared touch screen multi-point recognizing method
CN102053757A (en) * 2009-11-05 2011-05-11 上海精研电子科技有限公司 Infrared touch screen device and multipoint positioning method thereof
CN104216572A (en) * 2013-05-31 2014-12-17 上海精研电子科技有限公司 Touch screen and touch detection method and device
CN105824478A (en) * 2016-05-30 2016-08-03 青岛海信电器股份有限公司 Touch positioning method and touch screen

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013165305A2 (en) * 2012-05-02 2013-11-07 Flatfrog Laboratories Ab Object detection in touch systems
WO2013165306A2 (en) * 2012-05-02 2013-11-07 Flatfrog Laboratories Ab Object detection in touch systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075168A (en) * 2007-06-22 2007-11-21 北京汇冠新技术有限公司 Method for discriminating multiple points on infrared touch screen
CN101387931A (en) * 2008-10-14 2009-03-18 贺伟 Infrared touch screen multi-point recognizing method
CN102053757A (en) * 2009-11-05 2011-05-11 上海精研电子科技有限公司 Infrared touch screen device and multipoint positioning method thereof
CN104216572A (en) * 2013-05-31 2014-12-17 上海精研电子科技有限公司 Touch screen and touch detection method and device
CN105824478A (en) * 2016-05-30 2016-08-03 青岛海信电器股份有限公司 Touch positioning method and touch screen

Also Published As

Publication number Publication date
CN106339130A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
US8237666B2 (en) Augmented I/O for limited form factor user-interfaces
JP6247651B2 (en) Menu operation method and menu operation device including touch input device for performing the same
CN102216893B (en) Touch screen device, method, and graphical user interface for moving on-screen objects without using cursor
KR101278346B1 (en) Event recognition
CN103558983B (en) Method, equipment and electronic equipment for gesture identification
CN106125984B (en) A kind of the touch-control processing method and mobile terminal of mobile terminal
CN105988860B (en) Method for executing application program and mobile device
CN107765968A (en) Target switching method, device, terminal and computer-readable recording medium
US20200050358A1 (en) Context Based Gesture Actions on a Touchscreen
EP2325740A2 (en) User interface apparatus and method
US20090251425A1 (en) Multi-touch system and driving method thereof
CN103116453B (en) A kind of operation management method of Drawing Object and operation management device
CN103616982B (en) The method and touch panel device of a kind of new folder on touch panel device
WO2014197745A1 (en) One handed gestures for navigating ui using touchscreen hover events
CN103593138A (en) Method for operating mobile terminal with one hand and mobile terminal
CN105339900A (en) Proxy gesture recognizer
TW201112074A (en) Touch gesture detecting method of a touch panel
KR20110010608A (en) Accessing a menu utilizing a drag-operation
CN110493018A (en) A kind of group chat creation method and device
WO2011022014A1 (en) Configuration of additional display devices
CN106371745B (en) A kind of interface switching method and mobile terminal
CN106325753A (en) Payment interface display method and mobile terminal
CN106569672A (en) Application icon managing method and terminal equipment
WO2019185007A1 (en) Window control bar layout method, apparatus and device
CN105493018A (en) Independent hit testing for touchpad manipulations and double-tap zooming

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee after: Hisense Visual Technology Co., Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CP01 Change in the name or title of a patent holder