CN106055175B - Infrared touch panel scan method and device, touch-screen system - Google Patents

Infrared touch panel scan method and device, touch-screen system Download PDF

Info

Publication number
CN106055175B
CN106055175B CN201610374543.9A CN201610374543A CN106055175B CN 106055175 B CN106055175 B CN 106055175B CN 201610374543 A CN201610374543 A CN 201610374543A CN 106055175 B CN106055175 B CN 106055175B
Authority
CN
China
Prior art keywords
contact
scanning
scanning area
positional shift
shift value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610374543.9A
Other languages
Chinese (zh)
Other versions
CN106055175A (en
Inventor
张晓娜
马亮
赵书凯
王冉冉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201610374543.9A priority Critical patent/CN106055175B/en
Publication of CN106055175A publication Critical patent/CN106055175A/en
Application granted granted Critical
Publication of CN106055175B publication Critical patent/CN106055175B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The present invention discloses a kind of infrared touch panel scan method and device, touch-screen system, belongs to infrared touch panel scanning field.This method comprises: obtaining the first position coordinate of each contact in the first scan period at least two contacts;According to the first position coordinate of each contact in default scanning threshold value and at least two contacts, at least two scanning areas in present scanning cycle are determined;Obtain the positional shift value of at least two contacts;According to the positional shift value of at least two contacts, the corresponding positional shift value of each scanning area at least two scanning areas is determined;According to the sequence of the corresponding positional shift value of scanning area from big to small, at least two scanning areas are scanned in present scanning cycle, the present invention solves the problems, such as that the positional accuracy of determining contact is lower, has achieved the effect that the positional accuracy for improving contact.The present invention is scanned for infrared touch panel.

Description

Infrared touch panel scan method and device, touch-screen system
Technical field
The present invention relates to infrared touch panels to scan field, in particular to a kind of infrared touch panel scan method and device, touching Touch screen system.
Background technique
Infrared touch panel includes: the multipair infrared tube positioned at infrared touch panel surrounding, and each pair of infrared tube is both provided with Number, and each pair of infrared tube includes infrared transmitting tube and infrared receiving tube, infrared transmitting tube is for emitting infrared light, each Infrared transmitting tube has multiple scanning directions, and the infrared receiving tube on each scanning direction is for receiving the scanning direction Infrared light.Touching object can block infrared light, while when touching infrared touch panel in infrared touch panel Upper formation contact can be scanned infrared touch panel by infrared tube to obtain optical path data, and then according to outside Different Red The optical path data being in control are determined with the position of contact.
With movement of the touching object on infrared touch panel, contact be also it is mobile, in the related technology, can using with Track scanning mode is scanned infrared touch panel.Specifically, contact is first recognized using whole scan mode, then according to touching The position coordinates of point determine the scanning area for needing to scan in present scanning cycle, by the corresponding infrared tube pair of the scanning area The scanning area is scanned.It wherein,, can be true according to the position coordinates of different contacts when recognizing at least two contacts Fixed at least two scanning areas, in scanning, by the corresponding infrared tube of at least two scanning areas, according to infrared tube Number order is successively scanned at least two scanning area.
In the implementation of the present invention, inventor find the relevant technologies the prior art has at least the following problems:
In practical application, the movement speed of different contacts is different, and the relevant technologies are suitable according to the number of infrared tube Sequence is successively scanned at least two scanning areas, may cause the scanning area for first scanning the lesser contact of movement speed in this way Domain, the rear scanning area for scanning the biggish contact of movement speed, the optical path data and theoretical light circuit-switched data for causing scanning to obtain are inclined Difference it is larger, accordingly, it is determined that contact positional accuracy it is lower.
Summary of the invention
Positional accuracy in order to solve the problems, such as determining contact is lower, and the present invention provides a kind of infrared touch panel scanning Method and device, touch-screen system.The technical solution is as follows:
In a first aspect, providing a kind of infrared touch panel scan method, which comprises
Obtain the first position coordinate of each contact in the first scan period at least two contacts;
According to the first position coordinate of each contact in default scanning threshold value and at least two contact, determine current At least two scanning areas in scan period, first scan period were the upper scanning week of the present scanning cycle Phase;
The positional shift value of at least two contact is obtained, the positional shift value of each contact is used to indicate described each Contact is from the second scan period to the displacement of first scan period, and second scan period is in the first scanning week Before phase;
According to the positional shift value of at least two contact, each scanning at least two scanning area is determined The corresponding positional shift value in region, the corresponding positional shift value of a scanning area;
According to the sequence of the corresponding positional shift value of scanning area from big to small, to described in the present scanning cycle At least two scanning areas are scanned.
Optionally, at least two scanning areas in the determining present scanning cycle, comprising:
Judge that the first scanning area and the second scanning area at least two scanning area whether there is overlay region Domain;
If there are overlapping regions for first scanning area and second scanning area, by first scanning area A scanning area is merged into second scanning area.
Optionally, the positional shift value according at least two contact, determines at least two scanning area In the corresponding positional shift value of each scanning area, the corresponding positional shift value of scanning area, comprising:
When the target scan areas at least two scanning area there are contact number greater than 1, will be located at described In the positional shift value of each contact in target scan areas, maximum positional shift value is as the target scan areas pair The positional shift value answered;
When the target scan areas at least two scanning area there are contact number equal to 1, will be located at described The positional shift value of contact in target scan areas is determined as the corresponding positional shift value in the target scan areas;
When the target scan areas at least two scanning area there are contact number equal to 0, the mesh is determined Marking the corresponding positional shift value of scanning area is 0.
Optionally, the sequence according to the corresponding positional shift value of scanning area from big to small, in the Current Scan At least two scanning area is scanned in period, comprising:
It determines in the corresponding positional shift value of at least two scanning area, greater than the positional shift of default bias threshold value Value;
According to the sequence of the corresponding positional shift value of scanning area from big to small, in the present scanning cycle, to institute The corresponding scanning area of positional shift value stated greater than default bias threshold value is scanned.
Optionally, the first position of the default scanning threshold value of the basis and each contact at least two contact is sat Mark, determines at least two scanning areas in present scanning cycle, comprising:
Targeted graphical region is determined as to the scanning area of the first contact, the center of circle of the inscribed circle in the targeted graphical region For the corresponding location point of first position coordinate of first contact, radius is the default scanning threshold value, first contact For any contact at least two contact;
Using the scanning area of at least two contact as at least two scanning area.
Optionally, the positional shift value for obtaining at least two contact, comprising:
Obtain the first position coordinate of each contact in the first scan period at least two contacts;
Obtain the second position coordinate of each contact in the second scan period at least two contact;
According to the second position coordinate and first position coordinate of each contact, determine that the position of each contact is inclined Shifting value.
Second aspect, provides a kind of infrared touch panel scanning means, and described device includes:
First obtains module, for obtaining the first position of each contact in the first scan period at least two contacts Coordinate;
First determining module, for according to first of each contact in default scanning threshold value and at least two contact Position coordinates determine at least two scanning areas in present scanning cycle, and first scan period is the Current Scan The upper scan cycle in period;
Second obtains module, for obtaining the positional shift value of at least two contact, the positional shift of each contact Value is used to indicate each contact from the second scan period to the displacement of first scan period, the second scanning week Phase is before first scan period;
Second determining module determines that described at least two sweep for the positional shift value according at least two contact Retouch the corresponding positional shift value of each scanning area in region, the corresponding positional shift value of a scanning area;
Scan module is currently swept for the sequence according to the corresponding positional shift value of scanning area from big to small described It retouches and at least two scanning area is scanned in the period.
Optionally, first determining module, is used for:
Judge that the first scanning area and the second scanning area at least two scanning area whether there is overlay region Domain;
When first scanning area and second scanning area are there are when overlapping region, by first scanning area A scanning area is merged into second scanning area.
Optionally, second determining module, is used for:
When the target scan areas at least two scanning area there are contact number greater than 1, will be located at described In the positional shift value of each contact in target scan areas, maximum positional shift value is as the target scan areas pair The positional shift value answered;
When the target scan areas at least two scanning area there are contact number equal to 1, will be located at described The positional shift value of contact in target scan areas is determined as the corresponding positional shift value in the target scan areas;
When the target scan areas at least two scanning area there are contact number equal to 0, the mesh is determined Marking the corresponding positional shift value of scanning area is 0.
Optionally, the scan module, is used for:
It determines in the corresponding positional shift value of at least two scanning area, greater than the positional shift of default bias threshold value Value;
According to the sequence of the corresponding positional shift value of scanning area from big to small, in the present scanning cycle, to institute The corresponding scanning area of positional shift value stated greater than default bias threshold value is scanned.
Optionally, first determining module, is used for:
Targeted graphical region is determined as to the scanning area of the first contact, the center of circle of the inscribed circle in the targeted graphical region For the corresponding location point of first position coordinate of first contact, radius is the default scanning threshold value, first contact For any contact at least two contact;
Using the scanning area of at least two contact as at least two scanning area.
Optionally, described second module is obtained, is used for:
Obtain the first position coordinate of each contact in the first scan period at least two contacts;
Obtain the second position coordinate of each contact in the second scan period at least two contact;
According to the second position coordinate and first position coordinate of each contact, determine that the position of each contact is inclined Shifting value.
The third aspect, provides a kind of touch-screen system, and the touch-screen system includes: infrared touch panel and second aspect institute The infrared touch panel scanning means stated.
Technical solution provided by the invention has the benefit that
Infrared touch panel scan method provided by the invention and device, touch-screen system, by obtaining for the first scan period The first position coordinate of each contact in interior at least two contact;According to every in default scanning threshold value and at least two contacts The first position coordinate of a contact determines at least two scanning areas in present scanning cycle;Obtain at least two contacts Positional shift value;According to the positional shift value of at least two contacts, each scanning area at least two scanning areas is determined Corresponding positional shift value;According to the sequence of the corresponding positional shift value of scanning area from big to small, in present scanning cycle At least two scanning areas are scanned.Due to the sequence according to positional shift value from big to small, in present scanning cycle At least two scanning areas are scanned, therefore, can first scan the scanning area of the biggish contact of movement speed, it is rear to scan The scanning area of the lesser contact of movement speed, the optical path data and theoretical light circuit-switched data deviation scanned are smaller, therefore, solution It has determined the lower problem of positional accuracy of the contact determined, has achieved the effect that the positional accuracy for improving contact.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited Invention.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1-1 is a kind of structural schematic diagram of infrared touch panel involved in the embodiment of the present invention;
Fig. 1-2 is a kind of schematic diagram of scanning direction involved in the embodiment of the present invention;
Fig. 1-3 is the schematic diagram of another kind scanning direction involved in the embodiment of the present invention;
Fig. 1-4 is the schematic diagram of another scanning direction involved in the embodiment of the present invention;
Fig. 1-5 is the schematic diagram of another scanning direction involved in the embodiment of the present invention;
Fig. 1-6 is a kind of scanning schematic diagram of infrared touch panel involved in the embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of infrared touch panel scan method provided in an embodiment of the present invention;
Fig. 3-1 is the method flow diagram of another infrared touch panel scan method provided in an embodiment of the present invention;
Fig. 3-2 is the schematic diagram for two contacts of one kind that Fig. 3-1 illustrated embodiment provides;
Fig. 3-3 is the schematic diagram that one kind that Fig. 3-1 illustrated embodiment provides really is put;
Fig. 3-4 is at least two scanning areas in a kind of determining present scanning cycle that Fig. 3-1 illustrated embodiment provides Method flow diagram;
Fig. 3-5 is a kind of schematic diagram in targeted graphical region that Fig. 3-4 illustrated embodiment provides;
Fig. 3-6 is the schematic diagram in another targeted graphical region that Fig. 3-4 illustrated embodiment provides;
Fig. 3-7 is a kind of schematic diagram for scanning area for determining each contact that Fig. 3-4 illustrated embodiment provides;
Fig. 3-8 is a kind of schematic diagram for touch area that Fig. 3-4 illustrated embodiment provides;
Fig. 3-9 is the schematic diagram for two contacts of another kind that Fig. 3-1 illustrated embodiment provides;
Fig. 3-10 is the schematic diagram for the scanning area that the another kind that Fig. 3-4 illustrated embodiment provides determines each contact;
Fig. 3-11 is at least two scanning areas in the determining present scanning cycle of another kind that Fig. 3-1 illustrated embodiment provides The method flow diagram in domain;
Fig. 3-12 be Fig. 3-4 illustrated embodiment provide another determine the schematic diagram of the scanning area of each contact;
Fig. 3-13 is to the schematic diagram merged shown in Fig. 3-12 to scanning area;
Fig. 3-14 is a kind of method stream of the positional shift value at least two contact of acquisition that Fig. 3-1 illustrated embodiment provides Cheng Tu;
Fig. 3-15 is each scanning area at least two scanning area of a kind of determination that Fig. 3-1 illustrated embodiment provides The method flow diagram of corresponding positional shift value;
Fig. 3-16 be Fig. 3-1 illustrated embodiment provide one kind in present scanning cycle at least two scanning areas into The method flow diagram of row scanning;
Fig. 3-17 is a kind of schematic diagram being scanned at least two scanning areas that Fig. 3-16 illustrated embodiment provides;
Fig. 4 is a kind of block diagram of infrared touch panel scanning means provided in an embodiment of the present invention;
Fig. 5 is the block diagram of another infrared touch panel scanning means provided in an embodiment of the present invention.
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Please refer to Fig. 1-1, it illustrates the present embodiments relate to a kind of infrared touch panel 00 structural schematic diagram, ginseng See Fig. 1-1, which is rectangular configuration, and a long side coincidents with x axis, and a short side is overlapped with y-axis, infrared touch Screen 00 includes the multipair infrared tube (not marking in Fig. 1-1) positioned at 00 surrounding of infrared touch panel, and each pair of infrared tube is all arranged There is number, and each pair of infrared tube includes infrared transmitting tube 001 and infrared receiving tube 002.Illustratively, infrared tube includes x-axis Infrared tube and y-axis infrared tube, all infrared transmitting tubes 001 in x-axis infrared tube are arranged in the four of infrared touch panel 00 Coincidented with x axis in while on, all infrared receiving tubes 002 are arranged in parallel with x-axis in the four edges of infrared touch panel 00 Side on, all infrared transmitting tubes 001 in y-axis infrared tube are arranged in the four edges of infrared touch panel 00 and are overlapped with y-axis Side on, all infrared receiving tubes 002 are arranged on side parallel with y-axis in the four edges of infrared touch panel 00.Wherein, as schemed Shown in 1-1, the number of x-axis infrared tube includes 1 to n, and the number of y-axis infrared tube includes 1 to m, m and n be greater than or Integer equal to 1.
Infrared transmitting tube 001 is for emitting infrared light, and each infrared transmitting tube 001 has i scanning direction, and i is Integer more than or equal to 1, for the infrared transmitting tube 001 being arranged in x-axis, scanning direction be launch it is red UV light direction corresponding with the angle of x-axis, for infrared transmitting tube 001 on the y axis of arranging, scanning direction is hair The infrared light of injection and the corresponding direction of the angle of y-axis, wherein the corresponding scanning direction of an angle, each scanning side The identical optical path composition of Xiang Youyi group slope.Illustratively, scanning direction can be as shown in Fig. 1-2 to 1-5, wherein Fig. 1-2 is shown Be the infrared transmitting tube being arranged in x-axis a kind of scanning direction, the angle of the scanning direction and x-axis is equal to 90 degree, Fig. 1-3 Show another scanning direction for the infrared transmitting tube being arranged in x-axis, the scanning direction and the angle of x-axis (forward direction) are small In 90 degree, Fig. 1-4 shows a kind of scanning direction of the infrared transmitting tube of arrangement on the y axis, the folder of the scanning direction and y-axis Angle is equal to 90 degree, and Fig. 1-5 shows another scanning direction of the infrared transmitting tube of arrangement on the y axis, the scanning direction and y The angle of axis (forward direction) is greater than 90 degree.
Fig. 1-6 is please referred to, it illustrates a kind of scanning schematic diagrames of infrared touch panel involved in the embodiment of the present invention.Ginseng See Fig. 1-6, the scanning direction of a certain infrared transmitting tube 001 in x-axis includes: scanning direction 1, scanning direction 2 until sweeping Direction i is retouched, the infrared receiving tube 002 on each scanning direction is used to receive the infrared light on the scanning direction.It is each pair of Infrared tube can be swept by the infrared transmitting tube 001 in the infrared tube according to it when being scanned to infrared touch panel 00 It retouches direction and successively issues infrared light from 1 to i, and the scanning direction is received by the infrared receiving tube 002 on respective scanned direction On infrared light.
Scanning mode in the related technology includes whole scan mode and spotting scaming mode.
Whole scan mode is as follows:
In each scan period, all infrared tubes once sweep infrared touch panel 00 according to the number of infrared tube It retouches.Illustratively, as shown in figures 1 to 6, first by the n that is arranged in x-axis to infrared transmitting tube 001 according to respective scanning direction from 1 Infrared light is successively issued to i, and infrared light is received by the infrared receiving tube 002 on respective scanned direction, obtains optical path number According to, infrared light is successively then issued from 1 to i according to respective scanning direction to infrared transmitting tube 001 by the m in y-axis again, and Infrared light is received by the infrared receiving tube 002 on respective scanned direction, optical path data is obtained, is finally obtained according to optical path data The position of contact, a scan period terminate.
Spotting scaming mode is as follows:
Contact is first recognized using whole scan mode, is then determined in present scanning cycle according to the position coordinates of contact The scanning area for needing to scan, by the corresponding infrared tube of the scanning area, according to the number of infrared tube successively to the scanning Region is scanned.
But since whole scan mode is within each scan period, all infrared tubes require to carry out single pass, Therefore, sweep time is longer, and response speed is slower;And above-mentioned either any scanning mode, it is all according to infrared tube Number order is successively scanned infrared touch panel, will lead to optical path data and theoretical light circuit-switched data that scanning obtains in this way Deviation is larger, accordingly, it is determined that contact positional accuracy it is lower.
Referring to FIG. 2, it illustrates a kind of method flows of infrared touch panel scan method provided in an embodiment of the present invention Figure, referring to fig. 2, which may include:
Step 201, the first position coordinate for obtaining each contact in the first scan period at least two contacts.
The first position coordinate of the default scanning threshold value and each contact at least two contacts of step 202, basis, determines At least two scanning areas in present scanning cycle, the first scan period are the upper scan cycle of present scanning cycle.
Step 203, the positional shift value for obtaining at least two contacts, the positional shift value of each contact is used to indicate each Contact is from the second scan period to the displacement of the first scan period, and the second scan period is before the first scan period.
Step 204, the positional shift value according at least two contacts, determine each scanning at least two scanning areas The corresponding positional shift value in region, the corresponding positional shift value of a scanning area.
Step 205, the sequence according to the corresponding positional shift value of scanning area from big to small are right in present scanning cycle At least two scanning areas are scanned.
In conclusion infrared touch panel scan method provided in an embodiment of the present invention, due to according to positional shift value from big To small sequence, at least two scanning areas are scanned in present scanning cycle, therefore, can first scan movement speed The scanning area of biggish contact, the rear scanning area for scanning the lesser contact of movement speed, the optical path data scanned with Theoretical light circuit-switched data deviation is smaller, therefore, solves the problems, such as that the positional accuracy of determining contact is lower, has reached raising touching The effect of the positional accuracy of point.
Fig. 3-1 is please referred to, it illustrates the methods of another infrared touch panel scan method provided in an embodiment of the present invention Flow chart, referring to Fig. 3-1, which may include:
Step 301, the first position coordinate for obtaining each contact in the first scan period at least two contacts.
In embodiments of the present invention, it is illustrated by taking the scanning in present scanning cycle as an example, the first scan period was to work as The upper scan cycle of preceding scan period, it is assumed that the scan period before the first scan period is that the second scan period (should Second scan period was usually the upper scan cycle of the first scan period), then it, can be using the overall situation within the second scan period Scanning mode is scanned infrared touch panel, recognizes touching object touch infrared touch panel and is formed by least two touchings Then point is scanned infrared touch panel using spotting scaming mode within the first scan period, determined for the first scan period The first position coordinate of each contact in interior at least two contact.Wherein, whole scan mode and spotting scaming mode Specific implementation process can refer to the relevant technologies, details are not described herein for the embodiment of the present invention.
In present scanning cycle, first of each contact in available first scan period at least two contacts Position coordinates.The embodiment of the present invention is illustrated by taking two contacts as an example, and as shown in figure 3-2, which can be contact P With contact Q, then the first position coordinate of two contacts obtained is respectively P (x1, y1), Q (x2, y2).
It should be noted that true point (true contact) is the touching that can block the infrared light on all scanning directions Point, as shown in Fig. 3-3, contact C has blocked the infrared light G on all scanning directions, and therefore, contact C is true point.To red When outer touch screen is scanned, the infrared light on all scanning directions whether can be blocked according to contact, to determine identification To contact whether be true point, and then come the position coordinates that determine contact, details are not described herein for the embodiment of the present invention.
The first position coordinate of the default scanning threshold value and each contact at least two contacts of step 302, basis, determines At least two scanning areas in present scanning cycle, the first scan period are the upper scan cycle of present scanning cycle.
Wherein, the specific value for presetting scanning threshold value can be set according to actual needs, and the embodiment of the present invention does not make this It limits.Illustratively, Fig. 3-4 is please referred to, in a kind of determining present scanning cycle provided it illustrates Fig. 3-1 illustrated embodiment The method flow diagram of at least two scanning areas, referring to Fig. 3-4, this method may include:
Sub-step 3021A, the scanning area that targeted graphical region is determined as to the first contact, the inscribe in targeted graphical region The round center of circle is the corresponding location point of first position coordinate of the first contact, and radius is default scanning threshold value, and the first contact is extremely Any contact in few two contacts.
Optionally, targeted graphical region can be square region, or the region that the figure of other shapes surrounds, The embodiment of the present invention is not construed as limiting this.Illustratively, it is assumed that the first contact is contact P, then the targeted graphical region can be for such as Square area 05 shown in Fig. 3-5, or hexagonal area 06 as seen in figures 3-6, wherein the square area 05 Inscribed circle with hexagonal area 06 is all circle 02, and the center of circle of the circle 02 is the corresponding location point of first position coordinate of contact P, Radius is default scanning threshold value.
The embodiment of the present invention is illustrated so that targeted graphical region is square region as an example.It is alternatively possible to by straight line x The closed area that=A-t, straight line x=A+t, straight line y=B-t and straight line x=B+t are surrounded is determined as the scanning area of the first contact Domain, A are the x-axis coordinate in the first position coordinate of the first contact, and B is the y-axis coordinate in the first position coordinate of the first contact, T is default scanning threshold value, be that is to say, by centered on the corresponding location point of first position coordinate of the first contact, side length is equal to The square area of 2t is determined as the scanning area of first contact.
Illustratively, Fig. 3-7 is please referred to, it can be by straight line x=x1-t, straight line x=x1+t, straight line y=y1-t, straight line y= The closed area that y1+t is surrounded is determined as the scanning area of contact P, and as shown in fig. 3 to 7, the scanning area of contact P can be Scanning area 031.In the same way, the scanning area of available contact Q is scanning area 032.
It should be noted that can also determine the area of not contact when determining the scanning area of contact P and contact Q Domain, this does not have the region of contact to be properly termed as redundancy scanning area.Illustratively, as shown in fig. 3 to 7, straight line x=x1-t, straight line x The closed area 033 that=x1+t, straight line y=y2-t and straight line y=y2+t are surrounded, and, straight line x=x2-t, straight line x=x2 The closed area 034 that+t, straight line y=y1-t and straight line y=y1+t are surrounded all is redundancy scanning area.
It should also be noted that, the embodiment of the present invention is illustrated so that contact is particle as an example, in practical application, by It is that touching object touches infrared touch panel formation in contact, therefore, there are certain volume, contacts can block infrared for contact A region on touch screen, the region blocked on infrared touch panel by contact are properly termed as touch area.Illustratively, it please refers to Fig. 3-8 can be known as Petting Area by straight line x=xa, straight line x=xb, straight line y=ya and straight line y=yb area defined Domain.
When considering the volume of contact, in step 301, in available first scan period at least two contacts Targeted graphical region can be determined as the scanning area of the first contact in sub-step 3021A by the touch area of each contact Domain, the center of circle of the inscribed circle in targeted graphical region are the central point of the first contact, and radius is default scanning threshold value.Illustratively, it asks With reference to Fig. 3-9, the touch area of the contact P obtained in step 301 can be with are as follows: straight line x=x11, straight line x=x12, straight line y= The closed area that y11 and straight line y=y12 are surrounded, the touch area of contact Q can be straight line x=x21, straight line x=x22, straight line The closed area that y=y21 and straight line y=y22 are surrounded.It as shown in figs. 3-10, can be by straight line x=x11-t, straight line x=x12+ T, the closed area 031 that straight line y=y11-t and straight line y=y12+t are surrounded is determined as the scanning of contact P in present scanning cycle Region, the closed area 032 that straight line x=x21-t, straight line x=x22+t, straight line y=y21-t and straight line y=y22+t are surrounded It is determined as the scanning area of contact Q in present scanning cycle.It should be noted that similarly with Fig. 3-7, determining Current Scan week In phase when the scanning area of contact, it can also determine that redundancy scanning area 033 and redundancy scanning area 034, the present invention are implemented Details are not described herein for example.
Sub-step 3022A, using the scanning area of at least two contacts as at least two scanning areas.
It, can be by the scanning area of at least two contacts after the scanning area for determining each contact at least two contacts As at least two scanning areas in current period.It illustratively, can be by scanning area 031 as shown in Fig. 3-7 or Fig. 3-10 With scanning area 032 as the scanning area in current period.
It optionally, can also be by scanning area 033 and scanning area 034 also as the scanning area in present scanning cycle Domain that is to say, by scanning area 031, scanning area 032, scanning area 033 and scanning area 034 all as Current Scan week Scanning area in phase, the embodiment of the present invention are not construed as limiting this, and the embodiment of the present invention is with by scanning area 031, scanning area 032, scanning area 033 and scanning area 034 for the scanning area in present scanning cycle all as being illustrated.
In embodiments of the present invention, at least two scanning areas in present scanning cycle may have overlapping region, If the overlapping region can be swept within a scan period to there are the scanning areas of overlapping region to be scanned respectively It retouches at least twice, causes sweep time longer, therefore, it is possible to judge that the first scanning area at least two scanning areas and Two scanning areas whether there is overlapping region, and be merged according to judging result to the scanning area there are overlapping region, should First scanning area and the second scanning area can be any two scanning area at least two scanning area.
Illustratively, Fig. 3-11 is please referred to, it illustrates a kind of determining present scanning cycles that Fig. 3-1 illustrated embodiment provides The method flow diagram of at least two interior scanning areas, referring to Fig. 3-11, this method may include:
Sub-step 3021B, judge whether the first scanning area and the second scanning area at least two scanning areas deposit In overlapping region.
It is alternatively possible to according to the straight line for surrounding the first scanning area and the second scanning area, to judge the first scanning area Domain and the second scanning area whether there is overlapping region.Illustratively, as shown in fig. 3 to 7, it is assumed that the first scanning area is scanning area Domain 031, the second scanning area are scanning area 032, then may determine that whether x2-t is less than x1+t and is greater than x1-t, are judged simultaneously Whether y1-t is greater than y2-t and is less than y2+t, if x2-t is less than x1+t and is greater than x1-t, while y1-t is greater than y2-t and is less than y2+ T, it is determined that there are overlapping regions for the first scanning area and the second scanning area.In embodiments of the present invention, since x2-t is greater than X1+t, and y1-t is greater than y2+t, therefore, overlapping region is not present in the first scanning area and the second scanning area.
It should be noted that the embodiment of the present invention is to recognize two contacts, and at least two scanning areas One scanning area and the second scanning area for overlapping region there is no what is be illustrated, and in practical application, the number of contact can 2 can be greater than, and there may be overlapping regions for the first scanning area at least two scanning areas and the second scanning area.
Illustratively, it is assumed that the contact recognized further includes contact R, then in step 301, can also obtain the of contact R The first position coordinate of one position coordinates, the contact R can also determine contact R in sub-step 3021 for R (x3, y3) Scanning area, illustratively, the scanning area of the contact R can be for by straight line x=x3-t, straight line x=x3+t, straight line y= The closed area that y3-t, straight line y=y3+t are surrounded, as shown in Fig. 3-12, the scanning area of contact R can be scanning area 035, After the scanning area 035 for determining contact R, in sub-step 3022, the scanning area of contact P, contact Q and contact R can be made For at least two scanning areas in present scanning cycle.It should be noted that with determine contact P scanning area similarly, When determining the scanning area of contact R, redundancy scanning area 036 also can determine whether out.After determining at least two scanning areas, it can sentence The first scanning area and the second scanning area in disconnected at least two scanning areas whether there is overlapping region, deterministic process with it is upper It states similarly.As shown in Fig. 3-12, the scanning area 035 of contact R and the scanning area 031 of contact P and redundancy scanning area 033 are all There are overlapping region, all there is overlay region in redundancy scanning area 036 and redundancy scanning area 034 and the scanning area of contact Q 032 Domain.
If there are overlapping regions for sub-step 3022B, the first scanning area and the second scanning area, by the first scanning area A scanning area is merged into the second scanning area.
If determining in step 3021B, the first scanning area and the second scanning area, can be by the there are overlapping region One scanning area and the second scanning area merge into a scanning area.Illustratively, as shown in Fig. 3-12, due to scanning area 035 and scanning area 031 and redundancy scanning area 033 all there is overlapping region, redundancy scanning area 036 and redundancy scanning area 034 and scanning area 032 all there is overlapping region, therefore, can be by scanning area 035, scanning area 031 and redundancy scanning area A scanning area is merged into domain 033, and scanning area 036, redundancy scanning area 034 and scanning area 032 are merged into one Scanning area.
As shown in Fig. 3-13, scanning area 035, scanning area 031 and the redundancy scanning area 033 in Fig. 3-12 are merged After a scanning area, scanning area 041 in available Fig. 3-13, by the redundancy scanning area 036, superfluous in Fig. 3-12 Scanning area 042 after remaining scanning area 034 and scanning area 032 merge into a scanning area, in available Fig. 3-13.
Step 303, the positional shift value for obtaining at least two contacts, the positional shift value of each contact is used to indicate each Contact is from the second scan period to the displacement of the first scan period, and the second scan period is before the first scan period.
Wherein, the size of positional shift value can be used for characterizing the size of movement speed.Specifically, the second scan period can It can be definite value from the second scan period to the time of the first scan period to be the upper scan cycle of the first scan period, Therefore, bigger to the displacement of the first scan period from the second scan period, then illustrate that the movement speed of contact is bigger, from second The displacement of scan period to the first scan period are smaller, then illustrate that the movement speed of contact is smaller, so positional shift value Size can be used for characterizing the size of movement speed.
Illustratively, Fig. 3-14 is please referred to, it illustrates at least two contacts of a kind of acquisition that Fig. 3-1 illustrated embodiment provides Positional shift value method flow diagram, referring to Fig. 3-14, this method may include:
Sub-step 3031, the first position coordinate for obtaining each contact in the first scan period at least two contacts.
Sub-step 3032, the second position coordinate for obtaining each contact in the second scan period at least two contacts.
The specific implementation process of above-mentioned sub-step 3031 and sub-step 3032 can refer to step 301, the embodiment of the present invention Details are not described herein.
Sub-step 3033, second position coordinate and first position coordinate according to each contact, determine the position of each contact Set deviant.
It, can be according to the second position of each contact after the second position coordinate and first position coordinate that determine each contact Coordinate and first position coordinate determine the positional shift value of each contact.Illustratively, using at least two contacts as contact P and It is illustrated for the Q of contact, it is assumed that the second position coordinate of contact P is P (xp, yp), and the second position coordinate of contact Q is Q (xq, yq), and the positional shift value of contact P is indicated using Sp, the positional shift value of contact Q is indicated using Sq, then can be with According to (Sp)2=(x1-xp)2+(y1-yp)2The specific value of Sp is calculated, thus obtain the positional shift value of contact P, according to (Sq)2=(x2-xq)2+(y2-yq)2The specific value of Sq is calculated, to obtain the positional shift value of contact Q, the present invention is real It applies example and this is not construed as limiting.
Step 304, the positional shift value according at least two contacts, determine each scanning at least two scanning areas The corresponding positional shift value in region, the corresponding positional shift value of a scanning area.
It, can be with after determining at least two scanning areas in present scanning cycle and the positional shift value of at least two contacts According to the positional shift value of at least two contacts, determine that the corresponding position of each scanning area at least two scanning areas is inclined Shifting value.
Illustratively, Fig. 3-15 is please referred to, it illustrates the scannings of a kind of determination at least two that Fig. 3-1 illustrated embodiment provides The method flow diagram of the corresponding positional shift value of each scanning area in region, referring to Fig. 3-15, this method may include:
Sub-step 3041, when at least two scanning areas there are contact number be greater than 1 target scan areas when, by position In the positional shift value of each contact in target scan areas, maximum positional shift value is corresponding as target scan areas Positional shift value.
In embodiments of the present invention, the corresponding positional shift value of a scanning area, therefore, when at least two scanning areas There are when the target scan areas that contact number is greater than 1 in domain, the position of each contact in target scan areas can will be located at It sets in deviant, maximum positional shift value is as the corresponding positional shift value in target scan areas.Illustratively, Fig. 3-is please referred to 13, the contact number in scanning area 041 is 2, and therefore, which can be target scan areas, it is assumed that contact P Positional shift value be greater than contact R positional shift value, then can be using the positional shift value of contact P as the target scan areas 041 corresponding positional shift value.
Sub-step 3042, when at least two scanning areas there are contact number be equal to 1 target scan areas when, by position Positional shift value in the contact in target scan areas is determined as the corresponding positional shift value in target scan areas.
It, can be by the positional shift value of the contact, as the scanning area when the contact number in a scanning area is 1 The corresponding positional shift value in domain illustratively please refers to Fig. 3-13, contact Q is only included in scanning area 042, therefore, the scanning area Contact number in domain 042 is 1, can be using the positional shift value of contact Q as the corresponding positional shift of scanning area 042 Value.Again illustratively, Fig. 3-7 is please referred to, only has a contact P, an only contact in scanning area 032 in scanning area 031 Q therefore can be inclined by the position of contact Q using the positional shift value of contact P as the corresponding positional shift value of scanning area 031 Shifting value is as the corresponding positional shift value of scanning area 032.
Sub-step 3043, when at least two scanning areas there are contact number be equal to 0 target scan areas when, determine The corresponding positional shift value in target scan areas is 0.
When contact is not present in a scanning area, the corresponding positional shift value of the scanning area can be 0.Example Ground, please refers to Fig. 3-17, without contact in scanning area 033 and scanning area 034, therefore, the corresponding position of scanning area 033 Setting deviant and the corresponding positional shift value of scanning area 034 is all 0.
Step 305, the sequence according to the corresponding positional shift value of scanning area from big to small are right in present scanning cycle At least two scanning areas are scanned.
After determining the corresponding positional shift value of each scanning area, can according to the corresponding positional shift value of scanning area from Small sequence is arrived greatly, and at least two scanning areas are scanned in present scanning cycle.It is alternatively possible to first according to scanning The sequence of the corresponding positional shift value in region from big to small, is ranked up at least two scanning areas, is then tied according to sequence Fruit is scanned at least two scanning areas in present scanning cycle.Wherein, exist when at least two scanning area It, can be according to the number order of infrared tube, to two scanning areas when the corresponding positional shift value of two scanning areas is equal Domain is ranked up.
Illustratively, it is illustrated for scanning area shown in Fig. 3-7, it is assumed that the positional shift value of contact Q is greater than touching The positional shift value of point P, then the corresponding positional shift value of scanning area 032 is greater than the corresponding positional shift value of scanning area 031, And the corresponding positional shift value of scanning area 033 and the corresponding positional shift value of scanning area 034 are all 0, and scanning area 033 The number of corresponding infrared tube is less than the number of the corresponding infrared tube of scanning area 034, therefore, in present scanning cycle When being ranked up to scanning area 031, scanning area 032, scanning area 033 and scanning area 034, ranking results can be with are as follows: Scanning area 032, scanning area 031, scanning area 033 and scanning area 034 when scanning, first sweep scanning area 032 It retouches, then scanning area 031 is scanned, scanning area 033 is scanned later, finally scanning area 034 is carried out Scanning.
Optionally, it when being scanned in present scanning cycle at least two scanning areas, can first determine at least In the corresponding positional shift value of two scanning areas, greater than the positional shift value of default bias threshold value, then this is greater than and is preset The corresponding scanning area of positional shift value of offset threshold is ranked up, and is scanned according to ranking results, for being less than or The positional shift that person is equal to default bias threshold value is worth corresponding scanning area, can be ranked up according to the number of infrared tube.
Illustratively, Fig. 3-16 is please referred to, the one kind provided it illustrates Fig. 3-1 illustrated embodiment is corresponding according to scanning area Positional shift value sequence from big to small, the method stream that at least two scanning areas are scanned in present scanning cycle Cheng Tu, referring to Fig. 3-16, this method may include:
Sub-step 3051 determines in the corresponding positional shift value of at least two scanning areas, greater than default bias threshold value Positional shift value.
Wherein, default bias threshold value can be set according to actual needs, and the embodiment of the present invention is not construed as limiting this.
It is alternatively possible to the corresponding positional shift value of each scanning area is compared with default bias threshold value, to sentence Whether the corresponding positional shift value of the scanning area of breaking is greater than default bias threshold value, so that it is determined that at least two scanning area pair out In the positional shift value answered, greater than the positional shift value of default bias threshold value.
Illustratively, as shown in fig. 3 to 7, can by the corresponding positional shift value of scanning area 031 and default bias threshold value into Row relatively judges whether the corresponding positional shift value of scanning area 031 is greater than default bias threshold value, and so on can determine The relationship of scanning area 032, scanning area 033 and scanning area 034 corresponding positional shift value and default bias threshold value, thus Determine the positional shift value greater than default bias threshold value.
Sub-step 3052, the sequence according to the corresponding positional shift value of scanning area from big to small, in present scanning cycle It is interior, the corresponding scanning area of positional shift value for being greater than default bias threshold value is scanned.
Optionally, it is illustrated for scanning area shown in Fig. 3-7, it is assumed that the corresponding position of scanning area 031 is inclined Shifting value and the corresponding positional shift value of scanning area 032 are both greater than default bias threshold value, then can be corresponding according to scanning area The sequence of positional shift value from big to small is scanned scanning area 031 and scanning area 032 in present scanning cycle, It, can be according to the number of infrared tube to 033 He of scanning area after scanned to scanning area 031 and scanning area 032 Scanning area 034 is scanned.Illustratively, as shown in Fig. 3-17, it illustrates a kind of scannings that Fig. 3-1 illustrated embodiment provides Schematic diagram, wherein first scanning area 032 can be scanned, then scanning area 031 is scanned, later to scanning Region 033 is scanned, and is finally scanned to scanning area 034, and details are not described herein for the embodiment of the present invention.
It should be noted that in embodiments of the present invention, the infrared tube of infrared touch panel can also be divided into k infrared To pipe group, k is the integer more than or equal to 2, can be according to the number of infrared tube, by the k within each scan period One of infrared tube group in infrared tube group is scanned infrared touch panel, to realize the knowledge to the contact newly formed Not.Wherein, the number of the infrared tube in each infrared tube group can be equal, and details are not described herein for the embodiment of the present invention.
It is illustrated by taking Fig. 3-17 as an example, by scanning area 031, scanning area 032, scanning area 033, scanning area After any one infrared tube group in 034 corresponding infrared tube and k infrared tube group scans infrared touch panel, Available optical path data, then determine the position coordinates of each contact in present scanning cycle according to optical path data, and according to The position coordinates of each contact, realize response of the infrared touch panel to touching object, and the detailed embodiment of the process can join The relevant technologies are examined, details are not described herein for the embodiment of the present invention.
It should be noted that the sequencing of infrared touch panel scan method step provided in an embodiment of the present invention can be into Row appropriate adjustment, step according to circumstances can also accordingly be increased and decreased, and illustratively, step 303 can be located at before step 301, Sub-step 3021B and sub-step 3022B can be deleted, anyone skilled in the art the invention discloses skill Within the scope of art, the method that can readily occur in variation should be covered by the protection scope of the present invention, therefore repeat no more.
In conclusion infrared touch panel scan method provided in an embodiment of the present invention, due to according to positional shift value from big To small sequence, at least two scanning areas are scanned in present scanning cycle, therefore, can first scan movement speed The scanning area of biggish contact, the rear scanning area for scanning the lesser contact of movement speed, the optical path data scanned with Theoretical light circuit-switched data deviation is smaller, therefore, solves the problems, such as that the positional accuracy of determining contact is lower, has reached raising touching The effect of the positional accuracy of point.
Infrared touch panel can be scanned using whole scan mode and spotting scaming mode in the related technology, but Being, either whole scan mode or spotting scaming mode is successively scanned according to the number of infrared tube, when There are when multiple contacts, the optical path for needing to scan is more, causes the optical path of each scanning direction in a scan period that can deposit In sweep delay, there are deviations for obtained optical path data.When contact movement speed is very fast, the optical path data and reality that scan The optical path data deviation on border is larger, accordingly, it is determined that contact position precision it is lower, and when contact movement speed is sufficiently fast, May cause and to lose, the embodiment of the present invention by according to the positional shift value of contact sequence from big to small to scanning area into Row scanning, can be improved the position precision of determining contact, reduce the probability that point is lost.
Following is apparatus of the present invention embodiment, can be used for executing embodiment of the present invention method.For apparatus of the present invention reality Undisclosed details in example is applied, embodiment of the present invention method is please referred to.
Referring to FIG. 4, it illustrates a kind of block diagram of infrared touch panel scanning means 400 provided in an embodiment of the present invention, The infrared touch panel scanning means 400 can be used for executing the infrared touch panel scanning side of Fig. 2 or Fig. 3-1 illustrated embodiment offer Method, referring to fig. 4, which may include:
First obtains module 410, for obtaining first of each contact in the first scan period at least two contacts Position coordinates.
First determining module 420, for according to first of each contact in default scanning threshold value and at least two contacts Position coordinates determine at least two scanning areas in present scanning cycle, and the first scan period was the upper of present scanning cycle Scan cycle.
Second obtains module 430, for obtaining the positional shift value of at least two contacts, the positional shift value of each contact Each contact is used to indicate from the second scan period to the displacement of the first scan period, the second scan period is in the first scanning week Before phase.
Second determining module 440 determines at least two scanning areas for the positional shift value according at least two contacts In the corresponding positional shift value of each scanning area, the corresponding positional shift value of scanning area.
Scan module 450, for the sequence according to the corresponding positional shift value of scanning area from big to small, in Current Scan At least two scanning areas are scanned in period.
In conclusion infrared touch panel scanning means provided in an embodiment of the present invention, due to according to positional shift value from big To small sequence, at least two scanning areas are scanned in present scanning cycle, therefore, can first scan movement speed The scanning area of biggish contact, the rear scanning area for scanning the lesser contact of movement speed, the optical path data scanned with Theoretical light circuit-switched data deviation is smaller, therefore, solves the problems, such as that the positional accuracy of determining contact is lower, has reached raising touching The effect of the positional accuracy of point.
Referring to FIG. 5, it illustrates the frames of another infrared touch panel scanning means 500 provided in an embodiment of the present invention Figure, the infrared touch panel which can be used for executing the offer of Fig. 2 or Fig. 3-1 illustrated embodiment are swept Method is retouched, referring to Fig. 5, which be can include but is not limited to:
First obtains module 510, for obtaining first of each contact in the first scan period at least two contacts Position coordinates;
First determining module 520, for according to first of each contact in default scanning threshold value and at least two contacts Position coordinates determine at least two scanning areas in present scanning cycle, and the first scan period was the upper of present scanning cycle Scan cycle;
Second obtains module 530, for obtaining the positional shift value of at least two contacts, the positional shift value of each contact Each contact is used to indicate from the second scan period to the displacement of the first scan period, the second scan period is in the first scanning week Before phase;
Second determining module 540 determines at least two scanning areas for the positional shift value according at least two contacts In the corresponding positional shift value of each scanning area, the corresponding positional shift value of scanning area;
Scan module 550, for the sequence according to the corresponding positional shift value of scanning area from big to small, in Current Scan At least two scanning areas are scanned in period.
Optionally, the first determining module 520, is used for:
Judge that the first scanning area and the second scanning area at least two scanning areas whether there is overlapping region;
When the first scanning area and the second scanning area are there are when overlapping region, by the first scanning area and the second scanning area A scanning area is merged into domain.
Optionally, the second determining module 540, is used for:
When the target scan areas at least two scanning areas there are contact number greater than 1, targeted scans will be located at In the positional shift value of each contact in region, maximum positional shift value is as the corresponding positional shift in target scan areas Value;
When the target scan areas at least two scanning areas there are contact number equal to 1, targeted scans will be located at The positional shift value of contact in region is determined as the corresponding positional shift value in target scan areas;
When the target scan areas at least two scanning areas there are contact number equal to 0, targeted scans area is determined The corresponding positional shift value in domain is 0.
Optionally, scan module 550 are used for:
It determines in the corresponding positional shift value of at least two scanning areas, greater than the positional shift value of default bias threshold value;
It is pre- to being greater than in present scanning cycle according to the sequence of the corresponding positional shift value of scanning area from big to small If the corresponding scanning area of positional shift value of offset threshold is scanned.
Optionally, the first determining module 520, is used for:
Targeted graphical region is determined as to the scanning area of the first contact, the center of circle of the inscribed circle in targeted graphical region is the The corresponding location point of first position coordinate of one contact, radius are default scanning threshold value, and the first contact is at least two contacts Any contact;
Using the scanning area of at least two contacts as at least two scanning areas.
Optionally, second module 530 is obtained, is used for:
Obtain the first position coordinate of each contact in the first scan period at least two contacts;
Obtain the second position coordinate of each contact in the second scan period at least two contacts;
According to the second position coordinate and first position coordinate of each contact, the positional shift value of each contact is determined.
In conclusion infrared touch panel scanning means provided in an embodiment of the present invention, due to according to positional shift value from big To small sequence, at least two scanning areas are scanned in present scanning cycle, therefore, can first scan movement speed The scanning area of biggish contact, the rear scanning area for scanning the lesser contact of movement speed, the optical path data scanned with Theoretical light circuit-switched data deviation is smaller, therefore, solves the problems, such as that the positional accuracy of determining contact is lower, has reached raising touching The effect of the positional accuracy of point.
The embodiment of the invention also provides a kind of touch-screen system, the touch-screen system include infrared touch panel and Fig. 4 or Infrared touch panel scanning means shown in fig. 5.
In conclusion touch-screen system provided in an embodiment of the present invention, due to according to positional shift value from big to small suitable Sequence is scanned at least two scanning areas in present scanning cycle, therefore, can first scan the biggish touching of movement speed The scanning area of point, the rear scanning area for scanning the lesser contact of movement speed, the optical path data scanned and theoretical optical path Data deviation is smaller, therefore, solves the problems, such as that the positional accuracy of determining contact is lower, has reached the position for improving contact The effect of accuracy.
It should be understood that infrared touch panel scanning means provided by the above embodiment is scanned to infrared touch panel When, only the example of the division of the above functional modules, in practical application, it can according to need and divide above-mentioned function With being completed by different functional modules, i.e., the internal structure of equipment is divided into different functional modules, to complete above description All or part of function.In addition, infrared touch panel scan method provided by the above embodiment and Installation practice belong to together One design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (13)

1. a kind of infrared touch panel scan method, which is characterized in that the described method includes:
Obtain the first position coordinate of each contact in the first scan period at least two contacts;
According to the first position coordinate of each contact in default scanning threshold value and at least two contact, Current Scan is determined At least two scanning areas in period, first scan period are the upper scan cycle of the present scanning cycle;
The positional shift value of at least two contact is obtained, the positional shift value of each contact is used to indicate each contact From the second scan period to the displacement of first scan period, second scan period first scan period it Before;
According to the positional shift value of at least two contact, each scanning area at least two scanning area is determined Corresponding positional shift value, the corresponding positional shift value of a scanning area;
According to the sequence of the corresponding positional shift value of scanning area from big to small, in the present scanning cycle to it is described at least Two scanning areas are scanned.
2. the method according to claim 1, wherein at least two scannings in the determining present scanning cycle Region, comprising:
Judge that the first scanning area and the second scanning area at least two scanning area whether there is overlapping region;
If there are overlapping regions for first scanning area and second scanning area, by first scanning area and institute It states the second scanning area and merges into a scanning area.
3. according to the method described in claim 2, it is characterized in that, the positional shift according at least two contact Value determines that the corresponding positional shift value of each scanning area at least two scanning area, a scanning area are corresponding One positional shift value, comprising:
When the target scan areas at least two scanning area there are contact number greater than 1, the target will be located at In the positional shift value of each contact in scanning area, maximum positional shift value is corresponding as the target scan areas Positional shift value;
When the target scan areas at least two scanning area there are contact number equal to 1, the target will be located at The positional shift value of contact in scanning area is determined as the corresponding positional shift value in the target scan areas;
When the target scan areas at least two scanning area there are contact number equal to 0, determine that the target is swept Retouching the corresponding positional shift value in region is 0.
4. method according to any one of claims 1 to 3, which is characterized in that described inclined according to the corresponding position of scanning area The sequence of shifting value from big to small is scanned at least two scanning area in the present scanning cycle, comprising:
It determines in the corresponding positional shift value of at least two scanning area, greater than the positional shift value of default bias threshold value;
According to the sequence of the corresponding positional shift value of scanning area from big to small, in the present scanning cycle, to described big It is scanned in the corresponding scanning area of positional shift value of default bias threshold value.
5. method according to any one of claims 1 to 3, which is characterized in that the default scanning threshold value of the basis and it is described extremely The first position coordinate of each contact in few two contacts, determines at least two scanning areas in present scanning cycle, wraps It includes:
Targeted graphical region is determined as to the scanning area of the first contact, the center of circle of the inscribed circle in the targeted graphical region is institute The corresponding location point of first position coordinate of the first contact is stated, radius is the default scanning threshold value, and first contact is institute State any contact at least two contacts;
Using the scanning area of at least two contact as at least two scanning area.
6. method according to any one of claims 1 to 3, which is characterized in that the position for obtaining at least two contact Set deviant, comprising:
Obtain the first position coordinate of each contact in the first scan period at least two contacts;
Obtain the second position coordinate of each contact in the second scan period at least two contact;
According to the second position coordinate and first position coordinate of each contact, the positional shift of each contact is determined Value.
7. a kind of infrared touch panel scanning means, which is characterized in that described device includes:
First obtains module, and the first position for obtaining each contact in the first scan period at least two contacts is sat Mark;
First determining module, for the first position according to each contact in default scanning threshold value and at least two contact Coordinate determines at least two scanning areas in present scanning cycle, and first scan period is the present scanning cycle Upper scan cycle;
Second obtains module, and for obtaining the positional shift value of at least two contact, the positional shift value of each contact is used In indicating each contact from the second scan period to the displacement of first scan period, second scan period exists Before first scan period;
Second determining module determines at least two scanning area for the positional shift value according at least two contact The corresponding positional shift value of each scanning area in domain, the corresponding positional shift value of a scanning area;
Scan module, for the sequence according to the corresponding positional shift value of scanning area from big to small, in the Current Scan week At least two scanning area is scanned in phase.
8. device according to claim 7, which is characterized in that first determining module is used for:
Judge that the first scanning area and the second scanning area at least two scanning area whether there is overlapping region;
When first scanning area and second scanning area are there are when overlapping region, by first scanning area and institute It states the second scanning area and merges into a scanning area.
9. device according to claim 8, which is characterized in that second determining module is used for:
When the target scan areas at least two scanning area there are contact number greater than 1, the target will be located at In the positional shift value of each contact in scanning area, maximum positional shift value is corresponding as the target scan areas Positional shift value;
When the target scan areas at least two scanning area there are contact number equal to 1, the target will be located at The positional shift value of contact in scanning area is determined as the corresponding positional shift value in the target scan areas;
When the target scan areas at least two scanning area there are contact number equal to 0, determine that the target is swept Retouching the corresponding positional shift value in region is 0.
10. according to any device of claim 7 to 9, which is characterized in that the scan module is used for:
It determines in the corresponding positional shift value of at least two scanning area, greater than the positional shift value of default bias threshold value;
According to the sequence of the corresponding positional shift value of scanning area from big to small, in the present scanning cycle, to described big It is scanned in the corresponding scanning area of positional shift value of default bias threshold value.
11. according to any device of claim 7 to 9, which is characterized in that first determining module is used for:
Targeted graphical region is determined as to the scanning area of the first contact, the center of circle of the inscribed circle in the targeted graphical region is institute The corresponding location point of first position coordinate of the first contact is stated, radius is the default scanning threshold value, and first contact is institute State any contact at least two contacts;
Using the scanning area of at least two contact as at least two scanning area.
12. according to any device of claim 7 to 9, which is characterized in that described second obtains module, is used for:
Obtain the first position coordinate of each contact in the first scan period at least two contacts;
Obtain the second position coordinate of each contact in the second scan period at least two contact;
According to the second position coordinate and first position coordinate of each contact, the positional shift of each contact is determined Value.
13. a kind of touch-screen system, which is characterized in that the touch-screen system includes: infrared touch panel and claim 7 to 12 Any infrared touch panel scanning means.
CN201610374543.9A 2016-05-31 2016-05-31 Infrared touch panel scan method and device, touch-screen system Active CN106055175B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610374543.9A CN106055175B (en) 2016-05-31 2016-05-31 Infrared touch panel scan method and device, touch-screen system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610374543.9A CN106055175B (en) 2016-05-31 2016-05-31 Infrared touch panel scan method and device, touch-screen system

Publications (2)

Publication Number Publication Date
CN106055175A CN106055175A (en) 2016-10-26
CN106055175B true CN106055175B (en) 2019-01-25

Family

ID=57172193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610374543.9A Active CN106055175B (en) 2016-05-31 2016-05-31 Infrared touch panel scan method and device, touch-screen system

Country Status (1)

Country Link
CN (1) CN106055175B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460985B (en) * 2017-03-23 2022-09-16 展讯通信(上海)有限公司 Bluetooth slave equipment and service configuration method
WO2019198082A1 (en) * 2018-04-12 2019-10-17 Mttech Interactive Multimedia Systems Ltd Pressure sensitive display device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067775A (en) * 2007-06-14 2007-11-07 吴琼 Scanning method for trapping and tracking moving target on infrared touch screen
CN101162417A (en) * 2006-10-13 2008-04-16 北京汇冠新技术有限公司 Method for improving infrared touch screen response speed
CN103823596A (en) * 2014-02-19 2014-05-28 青岛海信电器股份有限公司 Touch scanning method and device
JP2014123291A (en) * 2012-12-21 2014-07-03 Sharp Corp Touch panel device
CN104615311A (en) * 2015-02-10 2015-05-13 青岛海信电器股份有限公司 Positioning method and device for touch screen and touch screen equipment
CN104866143A (en) * 2015-05-14 2015-08-26 青岛海信电器股份有限公司 Touch point determining method and apparatus, and touch screen device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9335866B2 (en) * 2013-11-20 2016-05-10 Otter Products, Llc Retractable touchscreen adapter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162417A (en) * 2006-10-13 2008-04-16 北京汇冠新技术有限公司 Method for improving infrared touch screen response speed
CN101067775A (en) * 2007-06-14 2007-11-07 吴琼 Scanning method for trapping and tracking moving target on infrared touch screen
JP2014123291A (en) * 2012-12-21 2014-07-03 Sharp Corp Touch panel device
CN103823596A (en) * 2014-02-19 2014-05-28 青岛海信电器股份有限公司 Touch scanning method and device
CN104615311A (en) * 2015-02-10 2015-05-13 青岛海信电器股份有限公司 Positioning method and device for touch screen and touch screen equipment
CN104866143A (en) * 2015-05-14 2015-08-26 青岛海信电器股份有限公司 Touch point determining method and apparatus, and touch screen device

Also Published As

Publication number Publication date
CN106055175A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
CN103984449B (en) A kind of touch screen touch area localization method
CN106201064B (en) Touch localization method, device and touch screen
CN103365480B (en) Touch recognition method and system for multi-point infrared touch screen
CN106055175B (en) Infrared touch panel scan method and device, touch-screen system
CN107728860A (en) A kind of touch points of infrared touch screen recognition methods, device and touch-screen equipment
CN102339170B (en) Method for scanning and calculating signal of infrared touch system and infrared touch system
CN104615310A (en) Method and device for determining candidate touch points
CN103853390B (en) A kind of method improving infrared touch panel touch precision
CN106691488B (en) CT scan imaging method and system
CN106406638B (en) Touch point contour generation method and equipment
CN104598082A (en) Method and device for determining candidate touch point
CN105404433B (en) A kind of touch control identification method and display device based on infrared touch panel
CN105260064A (en) Touch point identification method and apparatus, and display device
CN102339172B (en) Multi-axis signal scanning calculation method and system of infrared touch system
CN103699276A (en) Infrared geminate transistor touch screen scanning method and system
CN106445232B (en) Touch display panel, touch display device and driving method
CN106598351B (en) Touch point processing method and device
CN105955553A (en) Infrared touch screen scanning method and device
CN103019461A (en) Multi-point positioning method for infrared matrix touch screen
CN102339171B (en) Infrared touch system and multipoint signal scanning and calculating method
CN106383615B (en) Unilateral infrared touch device, touch identification method and device
CN106125979B (en) Touch track acquisition methods and touch screen
CN108021290A (en) A kind of infrared touch-control scan method
CN106249968A (en) A kind of scan method and equipment
CN115309288B (en) Touch screen terminal and method for solving touch screen deadlock

Legal Events

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

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

Patentee after: Hisense Visual Technology Co., Ltd.

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

Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.