A kind of touch control identification method based on infrared touch panel and display deviceTechnical field
The present invention relates to Infrared touch screen technology field, particularly relate to a kind of touch control identification method based on infrared touch panel and display device.
Background technology
Infrared touch panel is a kind of display screen utilizing horizontal, vertical densely covered infrared ray matrix to detect the touch of also consumer positioning.Such as, Fig. 1 is the structural representation of infrared touch panel, as shown in Figure 1, the rectangular structure of infrared touch panel, the frame of infrared touch panel surrounding is provided with infrared tube array, this infrared tube array comprises infrared transmitting tube and infrared receiving tube one to one, during work, infrared transmitting tube is to the infrared receiving tube emission scan light of opposite side, when infrared touch panel inside has touch point (the black round dot as in Fig. 1), two infrared rays (dotted line as in Fig. 1) anyhow through this position will be blocked in this touch point, and then the position of touch point at screen can be judged according to the positional information of the infrared receiving tube that can not receive scanning ray.
Usually in the process of actual touch-control identification, as shown in patent document CN102419661A: be divided into multiple logic light path layer (parallel scan lines of each angle regards a logic light path layer as) according to the direction of light path; The Calculation of Optical Path standard be blocked in (level, vertical) light path layer just sweeping touches point set (comprising all true touch points and terrible point (namely due to False Intersection Points that orthogonal calculation obtains)).Then each accurate touch point of traversal processing successively, judge its true and false: checked whether at least one light of current accurate touch point to be determined is blocked (the light path density that also can be blocked near accurate touch point judges), and judged whether current point was true touch point according to the situation that is blocked.
But, realizing in process of the present invention, invention technician finds: the process need of existing touch-control identification just can determine a touch point through the scanning of long limit and minor face scanning, because twice sweep interval is long, cause the scope of touch objects movement in this sweep spacing larger, the touch point determined is not accurate enough; Meanwhile, if the touch speed of user, as: far faster than the time interval that the scanning of long limit and minor face scan, then can be easy to cause touching lost efficacy, occur the problem breaking and lose a little.
Summary of the invention
Fundamental purpose of the present invention, is to provide a kind of touch control identification method based on infrared touch panel and display device, not accurate enough and touch the problem lost efficacy to solve touch point that existing touch control identification method determines.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of touch control identification method based on infrared touch panel, and the method is applied to the display device comprising infrared touch panel, and described method comprises:
Drive the power valve on described infrared touch panel first direction limit to scan, to obtain at least one first touch point, and store at least one first touch point described;
The power valve on described infrared touch panel second direction limit is driven to scan, to obtain at least one second touch point;
Mated at least one second touch point described and at least one first touch point described, determine that at least one coupling is right, described coupling is to comprising second touch point and first touch point;
Arbitrary coupling at least one coupling centering described is right, the coordinate figure of the described coupling coordinate figure corresponding with described second direction limit of centering second touch point and the corresponding with described first direction limit of the first touch point is combined, coordinate after combination is defined as the touch point on described infrared touch panel, and exports described touch point.
Second aspect, the embodiment of the present invention provides a kind of display device, and described display device comprises infrared touch panel, and for performing the method described in first aspect, described display device also comprises:
Acquiring unit, for driving the power valve on described infrared touch panel first direction limit to scan, to obtain at least one first touch point;
Storage unit, for storing at least one first touch point that described acquiring unit gets;
Described acquiring unit, also for driving the power valve on described infrared touch panel second direction limit to scan, to obtain at least one second touch point;
Matching unit, at least one first touch point at least one second touch point of being got by described acquiring unit and described cell stores is mated, determine that at least one coupling is right, described coupling is to comprising second touch point and first touch point;
Determining unit, arbitrary coupling at least one the coupling centering determined for described matching unit is right, the coordinate figure of the described coupling coordinate figure corresponding with described second direction limit of centering second touch point and the corresponding with described first direction limit of the first touch point is combined, the coordinate after combination is defined as the touch point on described infrared touch panel;
Output unit, for exporting the touch point that described determining unit is determined.
As from the foregoing, the embodiment of the present invention provides a kind of touch identification method based on infrared touch panel and display device, drive the power valve on described infrared touch panel first direction limit to scan, to obtain at least one first touch point, and store at least one first touch point described; The power valve on described infrared touch panel second direction limit is driven to scan, to obtain at least one second touch point; Mated at least one second touch point described and at least one first touch point described, determine that at least one coupling is right, described coupling is to comprising second touch point and first touch point; Arbitrary coupling at least one coupling centering described is right, the coordinate figure of the described coupling coordinate figure corresponding with described second direction limit of centering second touch point and the corresponding with described first direction limit of the first touch point is combined, coordinate after combination is defined as the touch point on described infrared touch panel, and exports described touch point.
With existing touch control identification method, the technical scheme just orienting a touch point through the scanning of long limit and minor face scanning is compared, this case only just need can orient touch point through long limit or minor face scanning, when the single side scan time is constant, substantially reduce the time of location required for touch point, improve the reaction velocity of infrared touch panel; Meanwhile, due in single side scan process, shorter without the time interval between direction of scanning, touch objects moving range on the coordinate corresponding with limit, direction of scanning is smaller, and the touch point determined is more accurate; In addition, the application comprises in the scan period of the scanning of long limit and minor face scanning at one, and the number of times of the touch point of orienting than prior art increase once, reaches the object of interleave speed-raising.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of infrared touch panel;
Fig. 2 is the existing schematic diagram determining touch point;
The process flow diagram of the touch control identification method based on infrared touch panel that Fig. 3 provides for the embodiment of the present invention;
The schematic diagram determining touch point is scanned on the long limit that Fig. 4 provides for the embodiment of the present invention;
Fig. 5 is the sequential chart of existing touch-control identification;
The sequential chart of the touch-control identification that Fig. 6 provides for the embodiment of the present invention;
The structural drawing of the display device that Fig. 7 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In describing the invention, it will be appreciated that, term " first ", " second ", " another " etc. instruction system or element be based on embodiment describe the system with certain function or element, only the present invention for convenience of description and simplified characterization, instead of indicate or imply that the system of indication or element must have this to name, therefore can not be interpreted as limitation of the present invention.
Before describing this programme in detail, for the ease of understanding technical solutions according to the invention, the important noun of some in the present invention is explained in detail, it will be appreciated that, following noun is only the name that invention technician carries out for convenience, do not represent or imply that system or the element of indication must have this to name, therefore can not be interpreted as limitation of the present invention:
Infrared touch panel: infrared touch panel becomes the rectangular configuration shown in Fig. 1, comprise LCDs and be arranged on the infrared touch frame around described LCDs, described infrared touch frame comprises long edge emitting pipe, minor face power valve, long limit receiving tube, minor face receiving tube, long edge emitting pipe and long limit receiving tube are oppositely arranged, and minor face power valve and minor face receiving tube are oppositely arranged.
First direction limit, second direction limit: first direction limit can be the long limit of infrared touch frame, second direction limit can be the minor face of infrared touch frame; Or first direction limit can be the minor face of infrared touch frame, second direction limit can be the long limit of infrared touch frame, and embodiment of the present invention contrast does not limit.
Direction of scanning: in 1 pair of n (n>=1) scan mode, for each power valve in power valve array on one side, the light path of n different angles can be had, each angle of the n bar light path corresponding to it, we are referred to as a direction of scanning, therefore, 1 pair of n scan mode just has n direction of scanning, and each direction of scanning is made up of one group of parallel light path with slope; Wherein, n is the number preset as required, and embodiment of the present invention contrast does not limit.
Scanning: by controlling different long edge emitting pipes and receiving tube assembly in different moment conductings and closedown in sequential, the scanning process having come different scanning direction is referred to as scanning; Wherein, for the scanning in each moment, can scan for 1 couple 1 of conducting 1 receiving tube while the long edge emitting pipe of conducting 1, also can be the many scan modes of 1 couple of conducting at least two receiving tubes while conducting 1 power valve.
Fig. 2 shows the existing schematic diagram determining touch point, as shown in Figure 2, first by the enterprising line scanning in a long edge emitting Guan Yi direction of scanning, touch area 1 is determined according to scanning result, then, again by minor face power valve an enterprising line scanning in direction of scanning, determine touch area 2 according to scanning result, from the overlapping region of touch area 1 and touch area 2, location obtains touch point.Touch area refers to the region that the light path be blocked continuously is formed, and the Article 1 light path be blocked continuously is the initial boundary of touch area, and the last item light path be blocked continuously is the cut-off border of touch area.Certainly, the border of touch area also can be expanded with certain threshold value by those skilled in the art.
Though Fig. 2 is this determine that the method for touch point can determine touch point by the scanning of long limit and minor face scanning, but need through the scanning of long limit and minor face scanning, because twice sweep interval is long, cause the scope of touch objects movement in this sweep spacing larger, the touch point determined is not accurate enough.For this reason, in this application, inventor proposes the technical scheme being different from prior art being determined touch point by monolateral (long limit or minor face) scanning audaciously, touch point is oriented by the combination of long limit or minor face scanning and historical storage touch point, due in single side scan process, shorter without the time interval between direction of scanning, touch objects moving range on the coordinate corresponding with limit, direction of scanning is smaller, and the touch point determined is more accurate; Meanwhile, the application comprises in the scan period of the scanning of long limit and minor face scanning at one, and the number of times of the touch point of orienting than prior art increase once, reaches the object of interleave speed-raising.
For convenience of description, following examples one illustrate and describe the touch control identification method based on infrared touch panel of the present invention with the form of step, wherein, the step illustrated also can perform in the computer system of one group of executable instruction comprising infrared touch panel.Although show logical order in the drawings, in some cases, can be different from the step shown or described by order execution herein.
Embodiment one
The touch control identification method based on infrared touch panel that Fig. 3 provides for the embodiment of the present invention, the method is applied in and comprises in the display device of infrared touch panel, described infrared touch panel as shown in Figure 1, common LCDs arranges infrared touch frame, infrared touch frame comprises long edge emitting pipe, minor face power valve, long limit receiving tube, minor face receiving tube, long edge emitting pipe and long limit receiving tube are oppositely arranged, minor face power valve and minor face receiving tube are oppositely arranged, as shown in Figure 3, described method can comprise:
Step 101: the power valve on infrared touch panel first direction limit scans, to obtain at least one first touch point, and stores at least one first touch point described.
Wherein, in the power valve scanning process on first direction limit, angle, the sweep time of each direction of scanning can pre-set as required, and the present invention does not limit this.
Optionally, for arbitrary first touch point at least one first touch point described, the power valve on described driving described infrared touch panel first direction limit scans, and specifically can comprise to obtain described first touch point:
The power valve on described infrared touch panel first direction limit is driven to carry out the scanning of the first direction of scanning and the second direction of scanning, to obtain the first touch area and the second touch area; Described first touch area is the touch area that the light path that described first direction of scanning is blocked continuously is formed, and described second touch area is the touch area that the light path that described second direction of scanning is blocked continuously is formed;
Obtain the overlapping region of described first touch area and described second touch area, from described overlapping region, location obtains described first touch point.
Wherein, the first direction of scanning is the arbitrary direction of scanning on first direction limit; Second direction of scanning is the arbitrary direction of scanning on first direction limit except the first direction of scanning, and direction of scanning can be made up of one group of parallel light path, and the slope of the parallel light path in composition different scanning direction is different.
Optionally, from described overlapping region, location obtains described first touch point and can be:
The central point of described overlapping region is defined as described first touch point.
Such as, Fig. 4 is the schematic diagram that candidate touch point is determined in the scanning of long limit, as can be seen from Figure 4, long edge emitting pipe by 1 to 1 scan mode, first carry out first direction scanning, determine touch area a, then, then carry out second direction scanning, determine touch area b, finally, the central point of the overlapping region of touch area a and touch area b is defined as candidate touch point.
In addition, will be understood that, when employing 1 pair of multimode scans, in embodiments of the present invention, at least two power valves on infrared touch panel first direction limit can also be driven to carry out 1 to many scanning, to realize the scanning of multiple direction of scanning, and the situation that is blocked of each direction of scanning is judged according to the magnitude of voltage at receiving tube place, and the touch area of the light path formation that the first each direction of scanning of power valve is blocked continuously is obtained according to the above-mentioned situation of being blocked, seek common ground with the touch area of any two direction of scanning on above-mentioned multiple direction of scanning and obtain the first candidate touch point, and according to the touch area of untreated direction of scanning, ghost process is gone to the first candidate touch point, finally obtain the first touch point.
Step 102: drive the power valve on described infrared touch panel second direction limit to scan, to obtain at least one second touch point.
Wherein, undertaken scanning that to be undertaken scanning the mode obtaining at least one the first touch point by the power valve on first direction limit in mode and the step 101 obtaining at least one the second touch point identical by the power valve on second direction limit, in this not go into detail.
Still for Fig. 4, because first direction scanning and second direction scanning room have the shorter time interval, and touch point is moved within this time interval, so, touch point displacement on the direction relative to long limit is not very large, relative on the direction of minor face, then displacement is probably larger, therefore, scanning the coordinate figure corresponding with long limit in the coordinate of the candidate touch point determined according to long limit is more accurately, and the coordinate figure corresponding with minor face is not accurate enough, deviation ratio is larger.Meanwhile, when carrying out minor face scanning, the coordinate figure corresponding with described minor face of the touch point got is more accurately, and the coordinate figure deviation corresponding with long limit is larger.
In order to overcome the larger problem of a grid deviation in the touch point coordinate determined after single side scan, the embodiment of the present invention obtains the historical storage touch point more close with the touch point scanned when front, corrects the larger coordinate figure of the touch point large deviations that scans when front by coordinate points relative with working as front in historical storage touch point.Be implemented as follows described in step 103-104.
Step 103: mated at least one second touch point described and at least one first touch point described, determines that at least one coupling is right, and described coupling is to comprising second touch point and first touch point.
Exemplary, described at least one second touch point described and at least one first touch point described to be mated, determine that at least one coupling is to specifically comprising:
For arbitrary second touch point at least one second touch point described, calculate the distance between each first touch point in described second touch point and at least one first touch point described, obtain at least one distance value;
Determine to be less than predetermined threshold value at least one distance value described and the first touch point corresponding to minimum distance value;
Described second touch point and described first touch point are combined as a coupling right.
Wherein, predetermined threshold value can be arranged as required, and embodiment of the present invention contrast does not limit; And Euclidean distance be calculated as existing common technology, be not described in detail at this.
Optionally, the Euclidean distance between each first touch point in the second touch point and at least one first touch point described can be calculated, if the Euclidean distance of two touch points is less than or equal to predetermined threshold value, then represent the coordinate points of same touch objects two touch points on the touchscreen that these two coordinate points may scan for the adjacent scanning moment, can match; If the Euclidean distance between two coordinate points is greater than predetermined threshold value, then represents the coordinate points of these two coordinate points two touch points that to be never same touch objects stay on the touchscreen in the adjacent scanning moment, can not match.
Step 104: the arbitrary coupling at least one coupling centering described is right, the coordinate figure of the described coupling coordinate figure corresponding with described second direction limit of centering second touch point and the corresponding with described first direction limit of the first touch point is combined, coordinate after combination is defined as the touch point on described infrared touch panel, and exports described touch point.
Such as, if infrared touch panel needs picture four lines simultaneously, now can by the touch point in T0 moment: (x0, y0), (x1, y1), (x2, y2), (x3, y4) be stored in touch point to concentrate, when obtaining 7 candidate touch points (2 after the scanning of long limit, 3), (5, 7), (2.5, 3), (4, 3.5), (2, 4), (6, 2), (3, 2.5), by (x0, y0) Euclidean distance calculating is carried out with these 7 candidate touch points respectively, if (x0, y0) with coordinate points (2.5, 3) Euclidean distance is less than predetermined threshold value and apart from minimum, then from candidate touch point (2.5, 3) X-coordinate 2.5 is chosen in, from (x0, y0) Y-coordinate y0 is chosen in, be combined as (2.5, y0), by coordinate points (2.5, y0) touch point is defined as, and export (2.5, y0), in like manner, other three touch points on current time infrared touch panel are determined respectively according to (x1, y1), (x2, y2), (x3, y4).
So, the position of touch point can be determined according to the result after single side scan by above-mentioned steps.
Will be understood that, foregoing merely illustrate the process how single side scan determines touch point, now, if determine, time infrared touch panel not existing touch area is greater than preset time value, then determine to touch and terminate, wherein, described preset time value can set as required, and embodiment of the present invention contrast does not limit; If there is touch area, then determine to touch and do not terminate, scanning result on second direction limit can be stored, carry out next single side scan according to the manner of execution of step 102-104 and determine touch point, wherein, it should be noted that, in the process repeated, long limit and minor face can alternate sweeps, after namely this drives long edge emitting pipe to scan, and then determine touch point with regard to driving minor face power valve to carry out scanning next time.
Further, if the scanning of the power valve on described infrared touch panel first direction limit is preliminary sweep, then, behind at least one first touch point of acquisition, described method can also comprise:
Described infrared touch panel exports at least one first touch point described.
Wherein, described preliminary sweep can be: to the scanning of initial touch point.
Carry out additional symbols for Fig. 5 and Fig. 6 to prior art and touch control method provided by the invention below, wherein, long limit is limit, x-axis direction, and minor face is limit, y-axis direction:
The sequential chart of Fig. 5 for adopting the touch control method shown in Fig. 2 to carry out touch point identification, as shown in Figure 5, long limit scanning (now touch objects is at A point) is carried out in the t1 moment, obtain touch area 1, subsequently, carry out minor face scanning (now touch objects is at B point) in the t2 moment, from the overlapping region of touch area 1 and the second touch area 2, location obtains touch point (x1, and export touch point (x1, y1) y1); In like manner, scan according to the long limit scanning in t3 moment and the minor face in t4 moment and determine touch point (x2, y2), and export touch point (x2, y2); Scan according to the long limit scanning in t5 moment and the minor face in t6 moment and determine touch point (x3, y3), and export touch point (x3, y3).
The sequential chart of the touch-control identification that Fig. 6 provides for the embodiment of the present invention, as shown in Figure 6, first coordinate (the x0 of t0 touch point is stored, y0), then, carry out minor face scanning, determine touch point (x1, y1), not accurate enough according to the x1 value introduced above in this touch point known, now, if calculate this touch point (x1, y1) with initial coordinate (x0, y0) Euclidean distance between is less than predetermined threshold value, then determine that this touch point is adjacent with initial touch point, by the coordinate (x0 of t0 touch point, y0) x0 in and touch point (x1, coordinate (the x0 of the y1 composition y1), y1) touch point in t1 moment is defined as, export described touch point, more accurate to ensure each value in the coordinate of touch point, next, carry out the scanning of long limit, determine touch point (x2, y2), not accurate enough according to the y2 value introduced above in this touch point known, now, if calculate this touch point (x2, y2) and touch coordinate point (x1, y1) Euclidean distance between is less than predetermined threshold value, then determine that this touch point is adjacent with touch coordinate point (x1, y1), by touch point coordinate (x2, y2) x2 in and touch point (x1, the coordinate (x2, y1) of the y1 composition y1) is defined as the touch point in t2 moment, and exports described touch point, in like manner, by minor face and the alternate sweep of long limit, determine the touch point (x2, y3) in t3, t4, t5 moment, (x4, y3) (x4, y5).
As can be seen from Fig. 5 and Fig. 6, existing touch recognition just determines touch point coordinate after the scanning of long limit and the minor face end of scan, and the application just can determine touch point coordinate after single side scan, compared with prior art, the number of times of the touch point of orienting than prior art increase once, reaches the object of interleave speed-raising.
As from the foregoing, the embodiment of the present invention provides a kind of touch identification method based on infrared touch panel, drives the power valve on described infrared touch panel first direction limit to scan, and to obtain at least one first touch point, and stores at least one first touch point described; The power valve on described infrared touch panel second direction limit is driven to scan, to obtain at least one second touch point; Mated at least one second touch point described and at least one first touch point described, determine that at least one coupling is right, described coupling is to comprising second touch point and first touch point; Arbitrary coupling at least one coupling centering described is right, the coordinate figure of the described coupling coordinate figure corresponding with described second direction limit of centering second touch point and the corresponding with described first direction limit of the first touch point is combined, coordinate after combination is defined as the touch point on described infrared touch panel, and exports described touch point.
With existing touch control identification method, the technical scheme just orienting a touch point through the scanning of long limit and minor face scanning is compared, this case only just need can orient touch point through long limit or minor face scanning, when the single side scan time is constant, substantially reduce the time of location required for touch point, improve the reaction velocity of infrared touch panel; Meanwhile, due in single side scan process, shorter without the time interval between direction of scanning, touch objects moving range on the coordinate corresponding with limit, direction of scanning is smaller, and the touch point determined is more accurate; In addition, the application comprises in the scan period of the scanning of long limit and minor face scanning at one, and the number of times of the touch point of orienting than prior art increase once, reaches the object of interleave speed-raising.
According to the embodiment of the present invention, the present invention is following embodiment still provides a kind of display device, is preferably used for realizing the method in said method embodiment.
Embodiment two
The structural drawing of a kind of display device 100 that Fig. 7 provides for the embodiment of the present invention, as shown in Figure 7, described display device 100 can comprise: infrared touch panel 1011, acquiring unit 1012, storage unit 1013, matching unit 1014, determining unit 1015, output unit 1016;
Wherein, rectangular configuration shown in described infrared touch panel 1011 one-tenth Fig. 1, comprise LCDs and be arranged on the infrared touch frame around described LCDs, described infrared touch frame comprises long edge emitting pipe, minor face power valve, long limit receiving tube, minor face receiving tube, long edge emitting pipe and long limit receiving tube are oppositely arranged, and minor face power valve and minor face receiving tube are oppositely arranged; User can be collected or neighbouring touch operation (such as user uses any applicable object or the annex operations on the touchscreen such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset, also can be used for showing the information inputted by user or the information being supplied to user.
Acquiring unit 1012, for driving the power valve on described infrared touch panel 1011 first direction limit to scan, to obtain at least one first touch point.
Wherein, in the power valve scanning process on first direction limit, angle, the sweep time of each direction of scanning can pre-set as required, and the present invention does not limit this.
Storage unit 1013, for storing at least one first touch point that described acquiring unit 1012 gets.
Described acquiring unit 1012, also for driving the power valve on described infrared touch panel 1011 second direction limit to scan, to obtain at least one second touch point.
Matching unit 1014, at least one first touch point stored at least one second touch point of being got by described acquiring unit 1012 and described storage unit 1013 is mated, determine that at least one coupling is right, described coupling is to comprising second touch point and first touch point.
Determining unit 1015, arbitrary coupling at least one the coupling centering determined for described matching unit 1014 is right, the coordinate figure of the described coupling coordinate figure corresponding with described second direction limit of centering second touch point and the corresponding with described first direction limit of the first touch point is combined, the coordinate after combination is defined as the touch point on described infrared touch panel 1011.
Output unit 1016, for exporting the touch point that described determining unit 1015 is determined.
Further, for arbitrary first touch point at least one first touch point described, described acquiring unit 1012 specifically for:
The power valve on described infrared touch panel 1011 first direction limit is driven to carry out the scanning of the first direction of scanning and the second direction of scanning, to obtain the first touch area and the second touch area; Described first touch area is the touch area that the light path that described first direction of scanning is blocked continuously is formed, and described second touch area is the touch area that the light path that described second direction of scanning is blocked continuously is formed;
Obtain the overlapping region of described first touch area and described second touch area, from described overlapping region, location obtains described first touch point.
Wherein, the first direction of scanning is the arbitrary direction of scanning on first direction limit; Second direction of scanning is the arbitrary direction of scanning on first direction limit except the first direction of scanning, and direction of scanning can be made up of one group of parallel light path, and the slope of the parallel light path in composition different scanning direction is different.
Optionally, from described overlapping region, location obtains described first touch point and can be:
The central point of described overlapping region is defined as described first touch point.Further, for arbitrary first touch point at least one first touch point described, described acquiring unit 1012 specifically for:
At least two power valves on infrared touch panel first direction limit are driven to carry out 1 to many scanning, to realize the scanning of multiple direction of scanning, and the situation that is blocked of each direction of scanning is judged according to the magnitude of voltage at receiving tube place, and the touch area of the light path formation that the first each direction of scanning of power valve is blocked continuously is obtained according to the above-mentioned situation of being blocked, seek common ground with the touch area of any two direction of scanning on above-mentioned multiple direction of scanning and obtain the first candidate touch point, and according to the touch area of untreated direction of scanning, ghost process is gone to the first candidate touch point, finally obtain the first touch point.
Further, described matching unit 1014 specifically for:
For arbitrary second touch point at least one second touch point described, calculate the distance between each first touch point in described second touch point and at least one first touch point described, obtain at least one distance value;
Determine to be less than predetermined threshold value at least one distance value described and the first touch point corresponding to minimum distance value;
Described second touch point and described first touch point are combined as a coupling right.
Wherein, predetermined threshold value can be arranged as required, and embodiment of the present invention contrast does not limit; And Euclidean distance be calculated as existing common technology, be not described in detail at this.
Optionally, the Euclidean distance between each first touch point in the second touch point and at least one first touch point described can be calculated, if the Euclidean distance of two touch points is less than or equal to predetermined threshold value, then represent the coordinate points of same touch objects two touch points on the touchscreen that these two coordinate points may scan for the adjacent scanning moment, can match; If the Euclidean distance between two coordinate points is greater than predetermined threshold value, then represents the coordinate points of these two coordinate points two touch points that to be never same touch objects stay on the touchscreen in the adjacent scanning moment, can not match.
Further, if the scanning of the power valve on described infrared touch panel 1011 first direction limit is preliminary sweep, described preliminary sweep can be: to the scanning of initial touch point; Then described output unit 1016, also for:
After acquiring unit 1012 gets at least one first touch point, described infrared touch panel 1011 exports at least one first touch point described.
It should be noted that, the storer that in above-mentioned display device 100, storage unit can be set up for device inside, acquiring unit in display device 100, matching unit, determining unit can for the processors set up separately, also can be integrated in some processors of controller and realize, in addition, also can be stored in the storer of controller with the form of program code, called by some processors of controller and perform the function of above construction of knowledge base.Storer described here can be volatile memory (volatilememory), such as random access memory (random-accessmemory, RAM); Or nonvolatile memory (non-volatilememory), such as ROM (read-only memory) (read-onlymemory, ROM), flash memory (flashmemory), hard disk (harddiskdrive, or solid state hard disc (solid-statedrive, SSD) HDD); Or the combination of the storer of mentioned kind; Described processor can be a central processing unit (CentralProcessingUnit, CPU), or specific integrated circuit (ApplicationSpecificIntegratedCircuit, or be configured to implement one or more integrated circuit of the embodiment of the present invention ASIC).
As from the foregoing, the embodiment of the present invention provides a kind of display device 100, drives the power valve on described infrared touch panel first direction limit to scan, and to obtain at least one first touch point, and stores at least one first touch point described; The power valve on described infrared touch panel second direction limit is driven to scan, to obtain at least one second touch point; Mated at least one second touch point described and at least one first touch point described, determine that at least one coupling is right, described coupling is to comprising second touch point and first touch point; Arbitrary coupling at least one coupling centering described is right, the coordinate figure of the described coupling coordinate figure corresponding with described second direction limit of centering second touch point and the corresponding with described first direction limit of the first touch point is combined, coordinate after combination is defined as the touch point on described infrared touch panel, and exports described touch point.To scan through long limit with existing touch control identification device and scan with minor face the technical scheme just orienting a touch point and compare, this case only just need can orient touch point through long limit or minor face scanning, when the single side scan time is constant, substantially reduce the time of location required for touch point, improve the reaction velocity of infrared touch panel; Meanwhile, due in single side scan process, shorter without the time interval between direction of scanning, touch objects moving range on the coordinate corresponding with limit, direction of scanning is smaller, and the touch point determined is more accurate; In addition, the application comprises in the scan period of the scanning of long limit and minor face scanning at one, and the number of times of the touch point of orienting than prior art increase once, reaches the object of interleave speed-raising.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.