CN108008864A - Infrared touch panel touch localization method and device - Google Patents
Infrared touch panel touch localization method and device Download PDFInfo
- Publication number
- CN108008864A CN108008864A CN201711209300.0A CN201711209300A CN108008864A CN 108008864 A CN108008864 A CN 108008864A CN 201711209300 A CN201711209300 A CN 201711209300A CN 108008864 A CN108008864 A CN 108008864A
- Authority
- CN
- China
- Prior art keywords
- light
- scanned
- intersection point
- point set
- moment
- 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/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
-
- 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
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/041—Indexing scheme relating to G06F3/041 - G06F3/045
- G06F2203/04109—FTIR in optical digitiser, i.e. touch detection by frustrating the total internal reflection within an optical waveguide due to changes of optical properties or deformation at the touch location
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)
- Geophysics And Detection Of Objects (AREA)
Abstract
A kind of infrared touch panel touch localization method and device provided by the invention, divergent scan mode is carried out to the infrared touch panel in a first direction to obtain needing the region to be scanned being further scanned in a second direction, the scanning area includes quasi- touch area, all regions to be scanned are scanned to obtain actual touch region according to default scanning angle in second direction, wherein, the first direction is vertical with the second direction.The present invention is when second direction is scanned, it is only necessary to all regions to be scanned are scanned, without full scan again, therefore can reduce the scan period.
Description
Technical field
The invention belongs to infrared touch panel touch recognition technical field, more particularly to a kind of infrared touch panel to touch positioning side
Method and device.
Background technology
This part intends to provides the back of the body for the embodiments of the present invention stated in claims and embodiment
Scape or context.Description herein recognizes it is the prior art not because not being included in this part.
Infrared touch panel by paired RF transmitter and infrared receiver come detect among two devices whether
Block and touched to identify, current most of scan methods are full scans, i.e. each scan period all infrared devices will
Work, and determined touch area distribution substantially after vertical direction scanning, horizontal direction reuses full scan not only
Resource is wasted, the scan period is also longer, be easy to cause touch-responsive delay.
The content of the invention
In consideration of it, the present invention can be reduced and swept it is necessary to provide a kind of infrared touch panel touch localization method and device
Retouch the cycle.
First aspect present invention provides a kind of infrared touch panel touch localization method, the described method includes:
Divergent scan mode is carried out to the infrared touch panel in a first direction to obtain needing further sweeping in a second direction
The region to be scanned retouched, the scanning area include quasi- touch area;
All regions to be scanned are scanned to obtain actual touch region according to default scanning angle in second direction,
Wherein, the first direction is vertical with the second direction.
Further, obtain needing further in the divergent scan mode that in a first direction carries out the infrared touch panel
After the region to be scanned being scanned in a second direction, the method further includes:
Judge whether the quantity in the region to be scanned is no less than 2;
If so, all regions to be scanned are scanned according to default scanning angle in second direction described in then performing
The step of to actual touch region.
Further, the divergent scan mode includes:First light is launched by transmitting tube and the second light is scanned, its
In the first light slope and second light slope symbol on the contrary, described in a first direction to the infrared touch panel
Divergent scan mode is carried out to obtain needing the region to be scanned being further scanned in a second direction, including:
In a first direction, the first light is launched by each transmitting tube to the other end successively from one end of the infrared touch panel
It is scanned with the second light, and opens corresponding reception pipe successively and received;
The second light that the first light being blocked according to the first moment and the first moment recover to receive determines the first vertex position
Put, the second light that the first light and the first moment received according to the recovery of the first moment is blocked determines the second vertex position
Put;
When second direction scans, using the region that need to pass through between first vertex and second vertex as to be scanned
Region.
Further, the divergent scan mode includes:By transmitting tube launch the first light, the second light and the 3rd light into
Row scanning, wherein the symbol of the slope of the slope of the first light and the 3rd light is on the contrary, second light is vertical light
Line, it is described in a first direction infrared touch panel progress divergent scan mode to be obtained needing further carrying out in a second direction
The region to be scanned of scanning, including:
In a first direction, the first light is launched by each transmitting tube to the other end successively from one end of the infrared touch panel
Line, the second light and the 3rd light are scanned, and are opened corresponding three reception pipes successively and received;
The second light that the second light being blocked according to the first moment and the first moment recover to receive determines region to be scanned
Position, the region to be scanned are square, and four square sides and the quasi- touch area are circumscribed;
The first intersection point set that the first light that the first moment was blocked intersects with the square side is obtained, when obtaining first
The second intersection point set that the 3rd light that is blocked intersects with the square side is carved, obtain that the first moment recovered reception the
The 3rd intersection point set that one light intersects with the square side, obtain the first moment recover receive the 3rd light with it is described
The 4th intersection point set that the side of positive direction is intersected;
Closest in the first intersection point set and in the second intersection point set one group o'clock is taken to take the 3rd as the first set of vertices
In intersection point set and the 4th intersection point set closest one group o'clock as the second set of vertices;
It is described that all regions to be scanned are scanned to obtain actual touch according to default scanning angle in second direction
Region, including:
In a second direction, using the vertex on positive four side as sweep interval, the 4th light and the 5th light are launched described
Sweep interval is scanned, and the symbol of the slope of the 4th light and the 5th light is opposite;
The 5th intersection point set that the 3rd light that the first moment was blocked intersects with the square side is obtained, when obtaining first
The 6th intersection point set that the 4th light that is blocked intersects with the square side is carved, obtain that the first moment recovered reception the
The 7th intersection point set that three light intersect with the square side, obtain the first moment recover receive the 4th light with it is described
The 8th intersection point set that the side of positive direction is intersected;
Closest in the 5th intersection point set and in the 6th intersection point set one group o'clock is taken to take the 7th as the 3rd set of vertices
In intersection point set and the 8th intersection point set closest one group o'clock as the 4th set of vertices;
The area to encircle a city between first set of vertices, second set of vertices, the 3rd set of vertices and the 4th set of vertices
Domain is actual touch region.
Second aspect of the present invention provides a kind of infrared touch panel touch positioning device, and described device includes:
First acquisition module, obtains needing further existing for carrying out divergent scan mode to the infrared touch panel in a first direction
The region to be scanned being scanned in second direction, the scanning area include quasi- touch area;
Second acquisition module, for being scanned in second direction according to default scanning angle to all regions to be scanned
Actual touch region is obtained, wherein, the first direction is vertical with the second direction.
Further, described device further includes:
Judgment module, for obtaining needing further in the divergent scan mode that in a first direction carries out the infrared touch panel
After the region to be scanned being scanned in a second direction, judge whether the quantity in the region to be scanned is no less than 2;
Second acquisition module, is additionally operable to when judging result is to be, then in second direction according to default scanning angle pair
All regions to be scanned are scanned to obtain actual touch region.
Further, the divergent scan mode includes:First light is launched by transmitting tube and the second light is scanned, its
In the first light slope and second light slope symbol on the contrary, first acquisition module, is specifically used for:
In a first direction, the first light is launched by each transmitting tube to the other end successively from one end of the infrared touch panel
It is scanned with the second light, and opens corresponding reception pipe successively and received;
The second light that the first light being blocked according to the first moment and the first moment recover to receive determines the first vertex position
Put, the second light that the first light and the first moment received according to the recovery of the first moment is blocked determines the second vertex position
Put;
When second direction scans, using the region that need to pass through between first vertex and second vertex as to be scanned
Region.
Further, the divergent scan mode includes:By transmitting tube launch the first light, the second light and the 3rd light into
Row scanning, wherein the symbol of the slope of the slope of the first light and the 3rd light is on the contrary, second light is vertical light
Line, first acquisition module, is specifically used for:
In a first direction, the first light is launched by each transmitting tube to the other end successively from one end of the infrared touch panel
Line, the second light and the 3rd light are scanned, and are opened corresponding three reception pipes successively and received;
The second light that the second light being blocked according to the first moment and the first moment recover to receive determines region to be scanned
Position, the region to be scanned are square, and four square sides and the quasi- touch area are circumscribed;
The first intersection point set that the first light that the first moment was blocked intersects with the square side is obtained, when obtaining first
The second intersection point set that the 3rd light that is blocked intersects with the square side is carved, obtain that the first moment recovered reception the
The 3rd intersection point set that one light intersects with the square side, obtain the first moment recover receive the 3rd light with it is described
The 4th intersection point set that the side of positive direction is intersected;
Closest in the first intersection point set and in the second intersection point set one group o'clock is taken to take the 3rd as the first set of vertices
In intersection point set and the 4th intersection point set closest one group o'clock as the second set of vertices;
Second acquisition module, is specifically used for:
In a second direction, using the vertex on positive four side as sweep interval, the 4th light and the 5th light are launched described
Sweep interval is scanned, and the symbol of the slope of the 4th light and the 5th light is opposite;
The 5th intersection point set that the 3rd light that the first moment was blocked intersects with the square side is obtained, when obtaining first
The 6th intersection point set that the 4th light that is blocked intersects with the square side is carved, obtain that the first moment recovered reception the
The 7th intersection point set that three light intersect with the square side, obtain the first moment recover receive the 4th light with it is described
The 8th intersection point set that the side of positive direction is intersected;
Closest in the 5th intersection point set and in the 6th intersection point set one group o'clock is taken to take the 7th as the 3rd set of vertices
In intersection point set and the 8th intersection point set closest one group o'clock as the 4th set of vertices;
The area to encircle a city between first set of vertices, second set of vertices, the 3rd set of vertices and the 4th set of vertices
Domain is actual touch region.
Infrared touch panel touch localization method and device provided by the present invention, in a first direction to the infrared touch
Screen carries out divergent scan mode and obtains needing the region to be scanned being further scanned in a second direction, the scanning area bag
Containing quasi- touch area, all regions to be scanned are scanned to obtain truly according to default scanning angle in second direction
Touch area, wherein, the first direction is vertical with the second direction.It is therefore, of the invention when second direction is scanned,
Only need to be scanned all regions to be scanned, without full scan again, therefore the scan period can be reduced.
Brief description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it is clear that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, without creative efforts, other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is the method flow diagram of embodiments of the present invention.
Fig. 2 is divergent scan mode schematic diagram of the present invention.
Fig. 3 is the schematic diagram of vertical direction scanning.
Fig. 4 is the scanning schematic diagram of an embodiment.
Fig. 5 is the scanning schematic diagram of another embodiment.
Fig. 6 is the device of the invention structure diagram.
Embodiment
In order to which the above objects, features and advantages of the present invention is more clearly understood, below in conjunction with the accompanying drawings and specifically
Embodiment the present invention will be described in detail, it is necessary to explanation, in the case where there is no conflict, embodiments herein and
Feature in embodiment can be mutually combined.
Many specific implementation details are elaborated in the following description, to facilitate a thorough understanding of the present invention, described reality
The part of the embodiment that example is only the present invention is applied, is not whole embodiments, it is general based on the embodiment of the present invention, this area
Logical technical staff's all other embodiments obtained on the premise of creative work is not made, belong to the guarantor of the present invention
Protect scope.
It is outer unless otherwise defined, the technology of all technical and scientific terms used herein and the technical field of the present invention
The normally understood implication of personnel is identical.Used term is intended merely to the description present invention specifically in the description of the present invention herein
The purpose of embodiment, and do not lie in the limitation present invention.
Fig. 1 is the schematic flow diagram for the infrared touch panel touch localization method that first embodiment of the invention is provided, such as
Shown in Fig. 1, present embodiment comprises the following steps that:
S1:Divergent scan mode is carried out to the infrared touch panel in a first direction to obtain needing further carrying out in a second direction
The region to be scanned of scanning, the scanning area include quasi- touch area.
S2:All regions to be scanned are scanned according to default scanning angle in second direction and are truly touched
Region is touched, wherein, the first direction is vertical with the second direction.
Infrared touch panel includes being arranged in a mutually vertical manner two groups of infrared transmitting tubes and infrared is connect what is be accordingly provided opposite to
Closed tube, infrared transmitting tube group and the infrared working condition for connecing reception pipe group can be controlled by control unit, and can be passed through
Signal receive and processing unit the infrared ray information of reception is handled, can set in a first direction one group of infrared transmitting tube and
It is infrared to connect reception pipe, one group of infrared transmitting tube is set in second direction and infrared connects reception pipe.
In embodiment, first direction can be vertical direction, and second direction can be horizontal direction, or first direction is water
Square to second direction is vertical direction, and this is not restricted, and using first direction as vertical direction, second direction is level side
Illustrated exemplified by.
The divergent scan mode can be one-to-many scanning, such as a pair three, Yi Duiwu, a pair seven scan, one-to-many diverging
Scanning is that the light between each infrared transmitting tube and corresponding multiple infrared receiving tubes is scanned respectively, including
To the infrared receiving tube of infrared transmitting tube face scanned and positioned at the corresponding more of the infrared receiving tube both sides of the face
A infrared receiving tube.Present embodiment is illustrated with the scanning of a pair three, can be with as shown in Fig. 2, other situations are correspondingly applicable in
The first quartile being considered as with touch-screen in rectangular coordinate system, is used as x-axis positive axis below touch-screen, left as y-axis positive axis,
The lower left corner is origin.
Wherein, after step S1, the infrared touch panel touch localization method that present embodiment is provided can also include
Judge whether the quantity in the region to be scanned is no less than the step of 2, if the quantity in the region to be scanned is no less than 2
It is a, then step S2 is performed, if the quantity in the region to be scanned is less than 2, when being 1, then directly in a second direction
Scanning can obtain actual touch region.
If the quantity in region to be scanned is no less than 2, the situation of pseudo- touch area is likely to occur, as shown in figure 3, its
Middle A, B are actual touch region, and C is pseudo- touch area, sees that three directions of this four points are all blocked from vertical direction, this
When only scanning can not judge from vertical direction, after determining region to be scanned by step S1, by step S2 according to default
Scanning angle scanning one by one carried out to all regions to be scanned obtain actual touch region, wherein C is not in second direction
Blocked during scanning, therefore C can determine that for pseudo- touch area, A, B be actual touch region.
In a possible embodiment, as shown in figure 4, in step S1, in the vertical direction first, infrared is touched from described
The one end for touching screen is scanned to the other end by each transmitting tube the first light of transmitting and the second light successively, and is opened successively
Corresponding three reception pipes are received.First light and second light of the transmitting tube transmitting with certain slope are scanned,
First light and the second light are skew ray, have certain slope, wherein the slope of the first light and second light
The symbol of slope is on the contrary, the numerical value of slope is identical, if the slope of the first light is just, the slope of the second light is negative.
Such as launch infrared ray successively from left to right since origin, top reception pipe opens reception successively, to step S2
When, arrive the lower right corner and launched infrared ray successively upwards again, arrived the upper right corner and just constantly circulated this process by origin again,
Each circulation is a process.
At the first moment that the first light is blocked, according to transmitting tube and reception pipe, or according to transmitting tube and
The slope of one light, it may be determined that the position for the first light being just blocked, likewise, recovering the first of reception in the first light
Moment, according to transmitting tube and reception pipe, or according to transmitting tube and the slope of the first light, it may be determined that just recover to receive
The first light position, similarly, it may be determined that the position for the second light being just blocked and just recover receive the second light
The position of line, the second light for recovering to receive by the first light being blocked according to the first moment and the first moment determine the
The position of one vertex O, the second light that the first light and the first moment received according to the recovery of the first moment is blocked determine
The position of second vertex P, certainly according to the position of slope and O points.
Using the first vertex O and the second vertex P as sweep interval, in step S2, when horizontal direction scans, transmitting tube hair
Penetrate single light(Slope is 0 light, i.e., horizontal light, or slope is positive or negative light), during scanning, from the first vertex
P starts scanning until the position of the first vertex O, scanning area include quasi- touch area, if the light of horizontal defence line transmitting
It is not blocked in touch area surely, then it is pseudo- touch area that can assert the quasi- touch area.
In this way, when being scanned in the horizontal direction, the region including quasi- touch area can be scanned well,
Scanning accuracy rate can be improved on the basis of the scan period is reduced.
In another possible embodiment, as shown in figure 5, in step S1, each transmitting is passed sequentially through since origin
Pipe is launched the first light, the second light and the 3rd light and is scanned, and opens corresponding three reception pipes successively and received.
First light, the second light and the 3rd light are scanned, wherein the slope of the first light and the slope of the 3rd light
Symbol on the contrary, second light is vertical light, if the slope of the first light for just, the slope of the 3rd light be it is negative, first
Light is on the right side of the second light, and the 3rd light is in the left side of the second light.
At the first moment that the second light is blocked, according to the position of transmitting tube, it may be determined that the second light being just blocked
The position of line, at the first moment that the second light recovers to receive, according to the position of transmitting tube, it may be determined that just recover the received
The position of two light, can be calculated the distance between the light at two moment L, if quasi- touch area is thought circle
Domain, then can obtain the square circumscribed with border circular areas, the length of side of positive direction by the distance between the light at two moment L
For L.
When being scanned to the right from origin, at the first moment that the first light is blocked, according to transmitting tube and reception
Pipe, or according to transmitting tube and the slope of the first light, it may be determined that the position for the first light being just blocked, correspondingly,
What the position for the 3rd light that can be just blocked, the position for the first light for just recovering to receive and just recovery received
The position of 3rd light, the first intersection point set that the first light that accordingly can be just blocked intersects with the side of square
(Including two points, the point intersected respectively with the left side of square and the point intersected with square top), be just blocked
The second intersection point set that 3rd light intersects with the side of square(Including two points, the point intersected respectively with the left side of square
And the point intersected below with square), the 3rd intersection point collection that intersects with square side of the first light for just recovering to receive
Close(Including two points, the point intersected respectively with the right of square and the point intersecting below with square)And just recover
The 4th intersection point set that the 3rd light received intersects with the side of square(Including two points, respectively with the top phase of square
The point of friendship and the point intersected with the right of square).
Closest in the first intersection point set and in the second intersection point set one group o'clock is taken as the first set of vertices(Such as
B points and c points, substantially, b points and c points are symmetrical relative to the horizontal line in the center of circle is crossed), take the 3rd intersection point set and the 4th to hand over
In point set closest one group o'clock as the second set of vertices(Such as e points and f points, e points and f points are substantially and b points and c points
Vertical curve relative to the center of circle excessively is symmetrical), so, it is possible as much as possible by definite touch area close to true
Real touch area(The area of the definite touch area including actual touch region is minimum).
In step S2, using the vertex on positive four side as sweep interval, launch the 4th light and the 5th light described
Sweep interval is scanned, and the symbol of the slope of the 4th light and the 5th light is on the contrary, such as, with the side of infrared touch panel
Direction is reference axis(X-axis)If, the slope of the 5th light can be the just number of the slope of the 5th light and the slope of the 3rd light
Value can be identical, but symbol is on the contrary, the 5th light scans between d points and j points, similarly, the 4th light g points and a points it
Between scan.
Likewise it is possible to obtain the 5th intersection point that the 3rd light that the first moment was blocked intersects with the square side
Set, the 6th intersection point set that the 4th light that the first moment of acquisition is blocked intersects with the square side, obtains first
The 7th intersection point set that the 3rd light that moment recovers to receive intersects with the square side, obtains the recovery of the first moment and receives
The 8th intersection point set that intersects with the side of the positive direction of the 4th light.
Similarly, closest in the 5th intersection point set and in the 6th intersection point set one group o'clock is taken as the 3rd top
Point group, takes closest in the 7th intersection point set and the 8th intersection point set one group o'clock as the 4th set of vertices.
By first set of vertices, second set of vertices, the 3rd set of vertices and described 4th set of vertices etc. eight
The region encircled a city between point is to confirm as actual touch region.
Present embodiment, it is possible to reduce the scan period, improves the corresponding speed of infrared touch panel, and can be well
Pseudo- touch area is removed, obtains actual touch region.
As shown in fig. 6, the present invention also provides a kind of infrared touch panel touch positioning device 100, described device includes:
First acquisition module 11, obtains needing further for carrying out the infrared touch panel divergent scan mode in a first direction
The region to be scanned being scanned in a second direction, the scanning area include quasi- touch area;
Second acquisition module 12, for being swept in second direction according to default scanning angle to all regions to be scanned
Retouch to obtain actual touch region, wherein, the first direction is vertical with the second direction.
Further, described device 100 further includes:
Judgment module 13, for it is described in a first direction to the infrared touch panel carry out divergent scan mode obtain needing into one
After walking the region to be scanned being scanned in a second direction, judge whether the quantity in the region to be scanned is no less than 2;
Second acquisition module 12, is additionally operable to when judging result is to be, then in second direction according to default scanning angle
All regions to be scanned are scanned to obtain actual touch region.
Further, the divergent scan mode includes:First light is launched by transmitting tube and the second light is scanned, its
In the first light slope and second light slope symbol on the contrary, first acquisition module 11, is specifically used for:
In a first direction, the first light is launched by each transmitting tube to the other end successively from one end of the infrared touch panel
It is scanned with the second light, and opens corresponding reception pipe successively and received;
The second light that the first light being blocked according to the first moment and the first moment recover to receive determines the first vertex position
Put, the second light that the first light and the first moment received according to the recovery of the first moment is blocked determines the second vertex position
Put;
When second direction scans, using the region that need to pass through between first vertex and second vertex as to be scanned
Region.
Further, the divergent scan mode includes:By transmitting tube launch the first light, the second light and the 3rd light into
Row scanning, wherein the symbol of the slope of the slope of the first light and the 3rd light is on the contrary, second light is vertical light
Line, first acquisition module 11, is specifically used for:
In a first direction, the first light is launched by each transmitting tube to the other end successively from one end of the infrared touch panel
Line, the second light and the 3rd light are scanned, and are opened corresponding three reception pipes successively and received;
The second light that the second light being blocked according to the first moment and the first moment recover to receive determines region to be scanned
Position, the region to be scanned are square, and four square sides and the quasi- touch area are circumscribed;
The first intersection point set that the first light that the first moment was blocked intersects with the square side is obtained, when obtaining first
The second intersection point set that the 3rd light that is blocked intersects with the square side is carved, obtain that the first moment recovered reception the
The 3rd intersection point set that one light intersects with the square side, obtain the first moment recover receive the 3rd light with it is described
The 4th intersection point set that the side of positive direction is intersected;
Closest in the first intersection point set and in the second intersection point set one group o'clock is taken to take the 3rd as the first set of vertices
In intersection point set and the 4th intersection point set closest one group o'clock as the second set of vertices;
Second acquisition module 12, is specifically used for:
In a second direction, using the vertex on positive four side as sweep interval, the 4th light and the 5th light are launched described
Sweep interval is scanned, and the symbol of the slope of the 4th light and the 5th light is opposite;
The 5th intersection point set that the 3rd light that the first moment was blocked intersects with the square side is obtained, when obtaining first
The 6th intersection point set that the 4th light that is blocked intersects with the square side is carved, obtain that the first moment recovered reception the
The 7th intersection point set that three light intersect with the square side, obtain the first moment recover receive the 4th light with it is described
The 8th intersection point set that the side of positive direction is intersected;
Closest in the 5th intersection point set and in the 6th intersection point set one group o'clock is taken to take the 7th as the 3rd set of vertices
In intersection point set and the 8th intersection point set closest one group o'clock as the 4th set of vertices;
The area to encircle a city between first set of vertices, second set of vertices, the 3rd set of vertices and the 4th set of vertices
Domain is actual touch region.
In several embodiments provided by the present invention, it should be appreciated that can also come in other way in fact
It is existing, what method and apparatus embodiment described above was merely exemplary.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned example embodiment, do not taking off
In the case of spirit or essential characteristics from the present invention, the present invention can be realized in other specific forms.Therefore, no matter from
It should all will be that embodiment regards exemplary as from the point of view of which point, and be non-limiting, the scope of the present invention will by right
Ask rather than described above limits, it is intended that all changes in the implication and scope of the equivalency of claim will be fallen
Include in the present invention.
Any reference numeral in claim should not be considered as to the involved claim of limitation.Furthermore, it is to be understood that " bag
Including " word is not excluded for other units or step, and odd number is not excluded for plural number, and the first, second grade word is used for representing title, and simultaneously
Any specific order is not indicated that.
It is last it should be appreciated that above example be only used for it is non-display to illustrate technical scheme, although
With reference to preferred embodiment, the present invention is described in detail, it will be understood by those of ordinary skill in the art that, can be to the present invention
Technical solution technical scheme is modified or replaced equivalently, without departing from the spirit and scope of technical solution of the present invention.
Claims (8)
- A kind of 1. infrared touch panel touch localization method, it is characterised in that the described method includes:Divergent scan mode is carried out to the infrared touch panel in a first direction to obtain needing further sweeping in a second direction The region to be scanned retouched, the scanning area include quasi- touch area;All regions to be scanned are scanned to obtain actual touch region according to default scanning angle in second direction, Wherein, the first direction is vertical with the second direction.
- 2. infrared touch panel touch localization method according to claim 1, it is characterised in that described right in a first direction The infrared touch panel carry out divergent scan mode obtain needing the region to be scanned that is further scanned in a second direction it Afterwards, the method further includes:Judge whether the quantity in the region to be scanned is no less than 2;If so, all regions to be scanned are scanned according to default scanning angle in second direction described in then performing The step of to actual touch region.
- 3. infrared touch panel touch localization method according to claim 1, it is characterised in that the divergent scan mode includes: Launch the first light and the second light by transmitting tube to be scanned, wherein the slope of the first light and second light is oblique The symbol of rate is on the contrary, described obtain needing further second to infrared touch panel progress divergent scan mode in a first direction The region to be scanned being scanned on direction, including:In a first direction, the first light is launched by each transmitting tube to the other end successively from one end of the infrared touch panel It is scanned with the second light, and opens corresponding reception pipe successively and received;The second light that the first light being blocked according to the first moment and the first moment recover to receive determines the first vertex position Put, the second light that the first light and the first moment received according to the recovery of the first moment is blocked determines the second vertex position Put;When second direction scans, using the region that need to pass through between first vertex and second vertex as to be scanned Region.
- 4. infrared touch panel touch localization method according to claim 1, it is characterised in that:The divergent scan mode includes: First light is launched by transmitting tube, the second light and the 3rd light are scanned, wherein the slope of the first light and described the The symbol of the slope of three light is described in a first direction to the infrared touch panel on the contrary, second light is vertical light Divergent scan mode is carried out to obtain needing the region to be scanned being further scanned in a second direction, including:In a first direction, the first light is launched by each transmitting tube to the other end successively from one end of the infrared touch panel Line, the second light and the 3rd light are scanned, and are opened corresponding three reception pipes successively and received;The second light that the second light being blocked according to the first moment and the first moment recover to receive determines region to be scanned Position, the region to be scanned are square, and four square sides and the quasi- touch area are circumscribed;The first intersection point set that the first light that the first moment was blocked intersects with the square side is obtained, when obtaining first The second intersection point set that the 3rd light that is blocked intersects with the square side is carved, obtain that the first moment recovered reception the The 3rd intersection point set that one light intersects with the square side, obtain the first moment recover receive the 3rd light with it is described The 4th intersection point set that the side of positive direction is intersected;Closest in the first intersection point set and in the second intersection point set one group o'clock is taken to take the 3rd as the first set of vertices In intersection point set and the 4th intersection point set closest one group o'clock as the second set of vertices;It is described that all regions to be scanned are scanned to obtain actual touch according to default scanning angle in second direction Region, including:In a second direction, using the vertex on positive four side as sweep interval, the 4th light and the 5th light are launched described Sweep interval is scanned, and the symbol of the slope of the 4th light and the 5th light is opposite;The 5th intersection point set that the 3rd light that the first moment was blocked intersects with the square side is obtained, when obtaining first The 6th intersection point set that the 4th light that is blocked intersects with the square side is carved, obtain that the first moment recovered reception the The 7th intersection point set that three light intersect with the square side, obtain the first moment recover receive the 4th light with it is described The 8th intersection point set that the side of positive direction is intersected;Closest in the 5th intersection point set and in the 6th intersection point set one group o'clock is taken to take the 7th as the 3rd set of vertices In intersection point set and the 8th intersection point set closest one group o'clock as the 4th set of vertices;The area to encircle a city between first set of vertices, second set of vertices, the 3rd set of vertices and the 4th set of vertices Domain is actual touch region.
- 5. a kind of infrared touch panel touch positioning device, it is characterised in that described device includes:First acquisition module, obtains needing further existing for carrying out divergent scan mode to the infrared touch panel in a first direction The region to be scanned being scanned in second direction, the scanning area include quasi- touch area;Second acquisition module, for being scanned in second direction according to default scanning angle to all regions to be scanned Actual touch region is obtained, wherein, the first direction is vertical with the second direction.
- 6. infrared touch panel touch positioning device according to claim 5, it is characterised in that described device further includes:Judgment module, for obtaining needing further in the divergent scan mode that in a first direction carries out the infrared touch panel After the region to be scanned being scanned in a second direction, judge whether the quantity in the region to be scanned is no less than 2;Second acquisition module, is additionally operable to when judging result is to be, then in second direction according to default scanning angle pair All regions to be scanned are scanned to obtain actual touch region.
- 7. infrared touch panel touch positioning device according to claim 5, it is characterised in that the divergent scan mode includes: Launch the first light and the second light by transmitting tube to be scanned, wherein the slope of the first light and second light is oblique The symbol of rate is on the contrary, first acquisition module, is specifically used for:In a first direction, the first light is launched by each transmitting tube to the other end successively from one end of the infrared touch panel It is scanned with the second light, and opens corresponding reception pipe successively and received;The second light that the first light being blocked according to the first moment and the first moment recover to receive determines the first vertex position Put, the second light that the first light and the first moment received according to the recovery of the first moment is blocked determines the second vertex position Put;When second direction scans, using the region that need to pass through between first vertex and second vertex as to be scanned Region.
- 8. infrared touch panel touch localization method according to claim 5, it is characterised in that:The divergent scan mode includes: First light is launched by transmitting tube, the second light and the 3rd light are scanned, wherein the slope of the first light and described the On the contrary, second light is vertical light, first acquisition module, is specifically used for the symbol of the slope of three light:In a first direction, the first light is launched by each transmitting tube to the other end successively from one end of the infrared touch panel Line, the second light and the 3rd light are scanned, and are opened corresponding three reception pipes successively and received;The second light that the second light being blocked according to the first moment and the first moment recover to receive determines region to be scanned Position, the region to be scanned are square, and four square sides and the quasi- touch area are circumscribed;The first intersection point set that the first light that the first moment was blocked intersects with the square side is obtained, when obtaining first The second intersection point set that the 3rd light that is blocked intersects with the square side is carved, obtain that the first moment recovered reception the The 3rd intersection point set that one light intersects with the square side, obtain the first moment recover receive the 3rd light with it is described The 4th intersection point set that the side of positive direction is intersected;Closest in the first intersection point set and in the second intersection point set one group o'clock is taken to take the 3rd as the first set of vertices In intersection point set and the 4th intersection point set closest one group o'clock as the second set of vertices;Second acquisition module, is specifically used for:In a second direction, using the vertex on positive four side as sweep interval, the 4th light and the 5th light are launched described Sweep interval is scanned, and the symbol of the slope of the 4th light and the 5th light is opposite;The 5th intersection point set that the 3rd light that the first moment was blocked intersects with the square side is obtained, when obtaining first The 6th intersection point set that the 4th light that is blocked intersects with the square side is carved, obtain that the first moment recovered reception the The 7th intersection point set that three light intersect with the square side, obtain the first moment recover receive the 4th light with it is described The 8th intersection point set that the side of positive direction is intersected;Closest in the 5th intersection point set and in the 6th intersection point set one group o'clock is taken to take the 7th as the 3rd set of vertices In intersection point set and the 8th intersection point set closest one group o'clock as the 4th set of vertices;The area to encircle a city between first set of vertices, second set of vertices, the 3rd set of vertices and the 4th set of vertices Domain is actual touch region.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711209300.0A CN108008864B (en) | 2017-11-28 | 2017-11-28 | Touch positioning method and device for infrared touch screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711209300.0A CN108008864B (en) | 2017-11-28 | 2017-11-28 | Touch positioning method and device for infrared touch screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108008864A true CN108008864A (en) | 2018-05-08 |
CN108008864B CN108008864B (en) | 2020-11-10 |
Family
ID=62054102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711209300.0A Active CN108008864B (en) | 2017-11-28 | 2017-11-28 | Touch positioning method and device for infrared touch screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108008864B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101995997A (en) * | 2009-08-21 | 2011-03-30 | 厦门信烨联动传媒有限公司 | Multipoint infrared touch screen and touch positioning method thereof |
EP2525279A2 (en) * | 2011-05-20 | 2012-11-21 | Dae Kyu Choi | Infrared touch screen device capable of multi-touch points sensing |
CN103853390A (en) * | 2012-12-05 | 2014-06-11 | 北京汇冠新技术股份有限公司 | Method for improving touch precision of infrared touch screen |
US20140267171A1 (en) * | 2013-03-15 | 2014-09-18 | Hyundai Motor Company | Display device to recognize touch |
CN104182091A (en) * | 2014-08-04 | 2014-12-03 | 深圳市浪涛科技有限公司 | Multi-point touch recognition method and system for infrared touch screen |
CN105760023A (en) * | 2016-02-18 | 2016-07-13 | 广州华欣电子科技有限公司 | Scanning method and device for infrared emitting diode touch screen |
-
2017
- 2017-11-28 CN CN201711209300.0A patent/CN108008864B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101995997A (en) * | 2009-08-21 | 2011-03-30 | 厦门信烨联动传媒有限公司 | Multipoint infrared touch screen and touch positioning method thereof |
EP2525279A2 (en) * | 2011-05-20 | 2012-11-21 | Dae Kyu Choi | Infrared touch screen device capable of multi-touch points sensing |
CN103853390A (en) * | 2012-12-05 | 2014-06-11 | 北京汇冠新技术股份有限公司 | Method for improving touch precision of infrared touch screen |
US20140267171A1 (en) * | 2013-03-15 | 2014-09-18 | Hyundai Motor Company | Display device to recognize touch |
CN104182091A (en) * | 2014-08-04 | 2014-12-03 | 深圳市浪涛科技有限公司 | Multi-point touch recognition method and system for infrared touch screen |
CN105760023A (en) * | 2016-02-18 | 2016-07-13 | 广州华欣电子科技有限公司 | Scanning method and device for infrared emitting diode touch screen |
Also Published As
Publication number | Publication date |
---|---|
CN108008864B (en) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101930322B (en) | Identification method capable of simultaneously identifying a plurality of contacts of touch screen | |
CN103365480B (en) | Touch recognition method and system for multi-point infrared touch screen | |
CN102402339B (en) | Touch positioning method, touch screen, touch system and display | |
CN105760023B (en) | A kind of infrared geminate transistor touch screen scanning method and device | |
CN107795854A (en) | A kind of method for detecting pipeline, device and storage medium | |
CN105913435A (en) | Multidimensional remote sensing image matching method and multidirectional remote sensing image matching system suitable for large area | |
CN103984449A (en) | Touch screen touch area positioning method | |
CN103365492A (en) | Multi-point touch identification method for infrared touch screen | |
CN105260064B (en) | A kind of touch point identification method and device and display equipment | |
CN103853390B (en) | A kind of method improving infrared touch panel touch precision | |
CN109858307A (en) | A kind of Lane detection method and apparatus | |
CN107480678A (en) | A kind of chessboard recognition methods and identifying system | |
CN103713755A (en) | Touch recognizing device and recognizing method | |
CN103092438A (en) | Infrared touch device and multi-touch location method | |
CN102184062B (en) | Infrared touch system and control method thereof | |
CN103970360B (en) | Multipoint-touch-based gesture identification method and system | |
CN101968700B (en) | Ultrasonic and infrared combined positioning method | |
CN108008864A (en) | Infrared touch panel touch localization method and device | |
CN104182091B (en) | Multi-point touch recognition method and system for infrared touch screen | |
CN111208148A (en) | Dig hole screen light leak defect detecting system | |
CN105824478B (en) | Touch localization method and touch screen | |
CN112634210A (en) | Pulmonary nodule detection method based on three-dimensional CT image | |
CN106780577A (en) | A kind of matching line segments method based on group feature | |
CN103175526B (en) | A kind of high dynamically lower fixed star star image restoration methods | |
CN105808019A (en) | Method for detecting touch point coordinates of infrared touch screens |
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 |