CN105373262B - A kind of method and device of the identification invalid light path of infrared touch panel - Google Patents
A kind of method and device of the identification invalid light path of infrared touch panel Download PDFInfo
- Publication number
- CN105373262B CN105373262B CN201410443745.5A CN201410443745A CN105373262B CN 105373262 B CN105373262 B CN 105373262B CN 201410443745 A CN201410443745 A CN 201410443745A CN 105373262 B CN105373262 B CN 105373262B
- Authority
- CN
- China
- Prior art keywords
- identified
- light path
- blocked
- occlusion state
- state
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000003287 optical effect Effects 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 19
- 238000011084 recovery Methods 0.000 claims description 2
- 230000008859 change Effects 0.000 abstract description 8
- 230000008569 process Effects 0.000 abstract description 6
- 230000003993 interaction Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 13
- 238000004590 computer program Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000000903 blocking effect Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 206010016256 fatigue Diseases 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Landscapes
- Position Input By Displaying (AREA)
Abstract
The embodiment of the invention discloses a kind of method and device of the identification invalid light path of infrared touch panel, the method for the embodiment of the present invention includes:Obtain all light paths to be identified i-th of scan period occlusion state;The number that blocks of light path to be identified is handled according to the situation of change of the occlusion state of light path to be identified, to judge the number that is blocked of the light path to be identified whether more than the first predetermined threshold value, if so, determining that the light path to be identified is invalid light path.The embodiment of the present invention determines invalid light path according to the situation of change of the occlusion state of all light paths to be identified, avoid in user interaction process directly only determine invalid light path according to the occlusion state of local light path and caused by judge by accident, improve the accuracy of infrared touch panel light path Effective judgement.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of methods and dress of the identification invalid light path of infrared touch panel
It sets.
Background technology
Infrared touch panel is widely applied to all kinds of consumer-elcetronics devices as a kind of man-machine interaction mode of close friend
In, it provide the user the natural interactive style of What You See Is What You Get.A kind of common infrared touching screen structure is as shown in Figure 1, red
Outer emission lamp pipe is arranged in the surrounding of touch screen with infrared receiver fluorescent tube.Infrared touch panel operation principle is:Using in X, Y-direction
Densely covered infrared ray matrix detects and positions the touch of user.Usual infrared touch panel is installed before display outside one
Frame is correspondingly formed vertical and horizontal by ensconcing the circuit board in outline border in four side of screen arrangement infrared emission fluorescent tube and infrared receiver fluorescent tube
The infrared ray matrix of intersection.For user when touching screen, finger will block a plurality of infrared ray by the position, thus can be with
Judge touch point in the position of screen.
In existing infrared touch technology, the bypassing method taken for tubes breaks down, foreign matter long-time mistaken touch
Detailed process is:A pair of specific fluorescent tube of monitoring, if the light path to fluorescent tube is for a long time in the state that is blocked, then it is assumed that the hair
Shot-light pipe or reception fluorescent tube have damaged, and the light path for having damaged fluorescent tube is not considered when subsequently calculating touch point.However, infrared at present
Touch screen scans mostly using one-to-many scan mode, i.e., the infrared ray that an infrared emission fluorescent tube is sent out is by multiple infrared
Fluorescent tube is received to receive, when certain is in the light path of fluorescent tube for a long time is blocked state, the infrared emission fluorescent tube or infrared receiver
Other light paths corresponding to fluorescent tube are possible to still normal, therefore can not directly judge that this is to have damaged to fluorescent tube;Another party
Face as shown in Figure 2, needs touch point 1 stationary in some applications, and touch point 2 moves, at this time by touching
Touching a little 1 light path can cause to be mistaken for having damaged by the transmitting of the light path or reception fluorescent tube for a long time in the state that is blocked.
It can be seen that existing infrared touch technology can cause to judge by accident, and then influence the accuracy that touch point calculates.
Invention content
The embodiment of the present invention provides a kind of method and device of the identification invalid light path of infrared touch panel, to improve infrared touch
Touch the accuracy of screen light path Effective judgement.
A kind of recognition methods of touch point provided in an embodiment of the present invention, including:
Obtain all light paths to be identified i-th of scan period occlusion state;
Judge whether the light path to be identified is in the state that is blocked i-th of scan period, if so, waiting knowing by described
The number that is blocked of other light path adds up on the basis of preceding scan cycle;
Judge that all light paths to be identified block shape in occlusion state and the preceding scan cycle of i-th of scan period
Whether state is identical, if occlusion state of at least one light path to be identified i-th of scan period in all light paths to be identified
It is different from the occlusion state of preceding scan cycle, then reset the number that is blocked of all light paths to be identified;
The number that is blocked of the light path to be identified is judged whether more than the first predetermined threshold value, if so, being waited for described in determining
Identification light path is invalid light path.
A kind of identification device of touch point provided in an embodiment of the present invention, including:
Acquisition module, for obtain all light paths to be identified i-th of scan period occlusion state;
Processing module, for judging whether the light path to be identified is in the state that is blocked i-th of scan period, if
It is that then the number that is blocked of the light path to be identified adds up on the basis of preceding scan cycle;Judge described all
Whether light path to be identified is identical in the occlusion state of i-th of scan period and the occlusion state of preceding scan cycle, if the institute
There is in light path to be identified at least one light path to be identified in the occlusion state of i-th of scan period and blocking for preceding scan cycle
State is different, then resets the number that is blocked of all light paths to be identified;
Invalid light path module is determined, for judging the number that is blocked of the light path to be identified whether more than the first default threshold
Value, if so, determining that the light path to be identified is invalid light path.
In the embodiment of the present invention by obtain all light paths to be identified i-th of scan period occlusion state;Judge institute
Light path to be identified is stated i-th of scan period whether in the state that is blocked, if so, being blocked the light path to be identified
Number adds up on the basis of preceding scan cycle;By judging, if at least one to be identified in all light paths to be identified
Light path is different from the occlusion state of preceding scan cycle in the occlusion state of i-th of scan period, illustrates infrared touch panel at this time
On there may be user touch cause the occlusion state of light path to be identified to change, so when all light paths to be identified are hidden
It keeps off number to reset, can avoid generating erroneous judgement to light path to be identified;It is more than first pre- in the number that is blocked of the light path to be identified
If when threshold value, being determined as invalid light path.Using the method in the embodiment of the present invention, can improve infrared touch panel light path has
The accuracy that effect property judges ensures that infrared touch panel has higher resolution ratio.
Description of the drawings
Fig. 1 is the schematic diagram of infrared touch panel surface structure in the prior art;
Fig. 2 is the erroneous judgement schematic diagram of recognition methods in the prior art;
Fig. 3 is corresponding 2 scanning direction schematic diagrames of long side in 1 pair 2 of scan mode in the embodiment of the present invention;
Fig. 4 is corresponding 2 scanning direction schematic diagrames of short side in 1 pair 2 of scan mode in the embodiment of the present invention;
Fig. 5 is the method flow diagram of the identification invalid light path of infrared touch panel provided in an embodiment of the present invention;
Fig. 6 is the procedure chart of the identification invalid light path of infrared touch panel provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the device of the identification invalid light path of infrared touch panel provided in an embodiment of the present invention;
Fig. 8 is the structural representation of the device of another identification invalid light path of infrared touch panel provided in an embodiment of the present invention
Figure.
Specific implementation mode
The embodiment of the present invention determines invalid light path according to the situation of change of the occlusion state of all light paths to be identified, avoids
Directly only determine invalid light path according to the occlusion state of local light path in user interaction process and caused by judge by accident, improve
The accuracy of infrared touch panel light path Effective judgement ensures that infrared touch panel has higher resolution ratio.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
Fig. 1 is infrared touch panel surface structure schematic diagram in the embodiment of the present invention, and the infrared touch panel includes transmitting side
With reception side, the transmitting side is equipped with infrared emission fluorescent tube, and the reception side is equipped with infrared receiver fluorescent tube;One infrared hair
The infrared ray of shot-light pipe transmitting can be received by the one or more infrared receiver fluorescent tube.
In the embodiment of the present invention, before carrying out invalid light path identification, initialization procedure is first carried out, can be set each infrared
Number and the scanning direction for emitting the light path to be identified of fluorescent tube set the value of the first predetermined threshold value M, to be identified by every
Light path is initialized as effective optical path, and the number that is blocked of every light path to be identified is initialized as 0, by light path counter
Resetting mark is initialized as 0, and the occlusion state of every light path to be identified is initialized as not being blocked.Wherein, the value of M can
It is back-calculated to obtain according to the limitation of light path make-up time, for example, in the case where the value of scan period T is 5-30 milliseconds,
It is assumed that in the case where the occlusion state of all light paths to be identified of infrared touch panel does not change, if light path to be identified is super
It spends 20 seconds and is in the state of being blocked, then should be regarded as invalid light path.Based on this, M=20000/T can be set.
For the scan mode (n >=1) of 1 couple of n, each light path of each infrared emission fluorescent tube is owned by different angles,
I.e. different scanning directions.Therefore, there is n scanning direction in the scan mode of 1 couple of n, each scanning direction is by one group of same slope
Parallel light path formed, be illustrated in figure 3 corresponding 2 scanning directions of long side in 1 pair 2 of scan mode, be illustrated in figure 4
Corresponding 2 scanning directions of short side in 1 pair 2 of scan mode.
Fig. 5 is that the flow corresponding to a kind of method of identification invalid light path of infrared touch panel provided in an embodiment of the present invention is shown
It is intended to, the method for the invalid light path of identification infrared touch panel mainly includes the following steps 501 to step 503:
Step 501, occlusion state of all light paths to be identified of acquisition i-th of scan period;
Step 502, for judging whether the light path to be identified is in the state that is blocked i-th of scan period, if so,
Then the number that is blocked of the light path to be identified is added up on the basis of preceding scan cycle;If it is not, not doing then cumulative
Processing;
Step 503, judge occlusion state and preceding scan cycle of all light paths to be identified i-th of scan period
Occlusion state it is whether identical, if at least one light path to be identified is in i-th scan period in all light paths to be identified
Occlusion state is different from the occlusion state of preceding scan cycle, then resets the number that is blocked of all light paths to be identified;
Step 504, the number that is blocked of the light path to be identified is judged whether more than the first predetermined threshold value, if so, really
The fixed light path to be identified is invalid light path.
Optionally, the method that the embodiment of the present invention is provided can also be handled according to the following procedure:Obtain all light to be identified
Occlusion state of the road i-th of scan period;Judge all light paths to be identified i-th of scan period occlusion state with
Whether the occlusion state of preceding scan cycle is identical, if identical, is in the light to be identified for the state that is blocked i-th of scan period
The number that is blocked on road adds up on the basis of preceding scan cycle;If at least one waits in all light paths to be identified
It identifies that light path is different from the occlusion state of preceding scan cycle in the occlusion state of i-th of scan period, then resets described all
The number that is blocked of light path to be identified;Whether the number that is blocked of the light path to be identified is judged more than the first predetermined threshold value, if
It is, it is determined that the light path to be identified is invalid light path.
It is described by the preferably, obtain all light paths to be identified after the occlusion state of i-th of scan period described
The number that is blocked for the light path to be identified that i scan period is in the state that is blocked is tired out on the basis of preceding scan cycle
In addition before, further include:
Judge that all light paths to be identified block shape in occlusion state and the preceding scan cycle of i-th of scan period
Whether state is identical, if identical, is in the number that is blocked of the light path to be identified for the state that is blocked previous i-th of scan period
It adds up on the basis of scan period.
Preferably, in step 501, the occlusion state for obtaining all light paths to be identified i-th of scan period, packet
It includes:
Acquire the optical path information data of the infrared receiver fluorescent tube of i-th of scan period;
Determine that all light paths to be identified block shape in i-th scan period according to the optical path information data
State.
Specifically, the optical path information data are specially being blocked for the n light path that each infrared receiver fluorescent tube receives
With the information data not being blocked.If an infrared receiver fluorescent tube receives the light path of n infrared emission fluorescent tube transmitting, each
The information data of a infrared receiver fluorescent tube can be recorded as the combination of n " 0 " and " 1 ", wherein the optical path information data being blocked
It is indicated with " 0 ", the optical path information data that do not block are indicated with " 1 ".
Specifically, in step 503, if at least one light path to be identified is swept at i-th in all light paths to be identified
The occlusion state for retouching the period is different from the occlusion state of preceding scan cycle, refers to:Have at least one in all light paths to be identified
Item light path to be identified is the state of being blocked in the occlusion state of previous cycle, and is the state that is not blocked in current period;Or
Person, there are at least one light paths to be identified in all light paths to be identified, are the states that is not blocked in the occlusion state of previous cycle,
And it is the state of being blocked in current period.
Preferably, in step 503, if at least one light path to be identified is i-th in all light paths to be identified
The occlusion state of a scan period is different from the occlusion state of preceding scan cycle, then resets the quilt of all light paths to be identified
Number is blocked, including:
When the first light path to be identified occlusion state and the preceding scan cycle of i-th of scan period occlusion state not
Together, and first light path to be identified in i-th scan period is the state that is not blocked, then by the described first light path to be identified
The number that is blocked is reset;
When the described first light path to be identified is in the occlusion state of the occlusion state and preceding scan cycle of i-th of scan period
Difference, and first light path to be identified is the state that is blocked i-th of scan period, then it will be in all light paths to be identified
The number that is blocked is more than the number clearing that is blocked of the light path to be identified of the first predetermined threshold value.
Optionally, the first threshold can be 1, or other setting values.
Specifically, if obtaining occlusion state and previous scanning week of the light path to be identified i-th of scan period by comparing
The occlusion state of phase is different, then is 1 by light path counter resetting traffic sign placement;If light path counter resetting mark is 1, traverse
Every light path resets the number that is blocked for be identified light path of the number more than 1 that be blocked in all light paths to be identified, and by light
Road counter resetting mark resets to 0.Occlusion state and preceding scan cycle of first light path to be identified i-th of scan period
Occlusion state it is different, illustrate that there may be the occlusion states that user's touch leads to the first identification light path on infrared touch panel at this time
Change, so when by all light paths to be identified be blocked number reset, can avoid to light path to be identified generate erroneous judgement.
Preferably, described be determined as the invalid light path by the light path to be identified that the number that is blocked is more than the first predetermined threshold value
Later, further include:
Obtain the occlusion state of the invalid light path;
Judge the occlusion state of the invalid light path, if in the state that is not blocked, the invalid light path is determined as
Effective optical path.
Optionally, in the embodiment of the present invention, the processing procedure for a light path to be identified is:Obtain a light to be identified
Occlusion state of the road i-th of scan period;Judge the light path to be identified i-th of scan period whether in the shape that is blocked
If state adds up the number that is blocked of the light path to be identified in the state that is blocked on the basis of preceding scan cycle;
It is whether identical in the occlusion state of i-th of scan period and the occlusion state of preceding scan cycle to compare the light path to be identified,
If differing, the number that is blocked of all light paths to be identified is reset.Or, obtaining a light path to be identified scans week at i-th
The occlusion state of phase;Compare the light path to be identified in the occlusion state of i-th of scan period and blocking for preceding scan cycle
Whether state is identical, if differing, resets the number that is blocked of all light paths to be identified, if identical, waits knowing described in judgement
Whether other light path is in the state that is blocked i-th of scan period, if in the state that is blocked, by the light path to be identified
The number that is blocked adds up on the basis of preceding scan cycle.
Handle all light paths to be identified of i-th of scan period successively according to the method described above;If judging described to be identified
Occlusion state and the occlusion state of preceding scan cycle of the light path i-th of scan period differ, then reset all to be identified
The number that is blocked of light path, and stop the processing to subsequent optical path.It handles and stops in the light path to be identified of i-th of scan period
Afterwards, the number that is blocked of every light path to be identified in i-th of period is judged respectively whether more than the first predetermined threshold value, if
It is that the light path to be identified that the number that is blocked is more than the first predetermined threshold value is then determined as invalid light path.The number that will be blocked is more than
The light path to be identified of first predetermined threshold value is determined as after the invalid light path, obtains the occlusion state of the invalid light path;Sentence
If the invalid light path is determined as effective optical path by the occlusion state for the invalid light path of breaking in the state that is not blocked.
For the sake of clarity, the embodiment of the present invention is described in greater detail with reference to Fig. 6.
After device power-up with touch screen, initialization process is carried out.Initialisation process may include:It sets each red
Light path to be identified is determined as being blocked for invalid light path by the number of the light path to be identified of outer emission lamp pipe and scanning direction, setting
Every light path to be identified is initialized as effective optical path by the threshold value M of number, and by the number that is blocked of every light path to be identified
It is initialized as 0, light path counter resetting mark is initialized as 0, and the occlusion state of every light path to be identified initializes
Not to be blocked.
Hereafter, it can be identified by all light paths to be identified of periodic scan according to all light paths to be identified of intermittent scanning
Invalid light path.All light paths to be identified are scanned within each period, and traverse every light path to be identified, wherein are directed to one
Every light path to be identified in a period executes following below scheme:
Step 601, for a light path Q to be identified, judge that its current occlusion state thens follow the steps if being blocked
602, if not being blocked thens follow the steps 603;
Step 602, the number numerical value that is blocked of light path Q to be identified is added 1, and executes step 604;
Step 603, accumulation process is not done to the number that is blocked of light path Q to be identified, and executes step 604;
Step 604, whether judged occlusion states and the occlusion state in a upper period of the light path Q to be identified in current period
It is identical, if current period be the period 1, judge the occlusion state and initialization in current period occlusion state whether
It is identical, if differing, 605 are thened follow the steps, if identical, be 1 by light path counter resetting traffic sign placement, then follow the steps
606;
Step 605, every light path to be identified is traversed, the number that is blocked of light path to be identified is zeroed out processing, and hold
Row step 608;
Step 606, judge whether the number numerical value that is blocked of light path Q to be identified is equal to M, if so, 607 are thened follow the steps,
If it is not, thening follow the steps 608;
Step 607, light path Q to be identified is determined as invalid light path, and the number numerical value clearing that is blocked;
Step 608, during executing algorithm calculating and processing, invalid light path is not considered, obtains touch point information simultaneously
Output.
For above method flow, the embodiment of the present invention also provides a kind of device of the identification invalid light path of infrared touch panel,
The particular content of the device is referred to above method implementation, and details are not described herein.
Fig. 7 is a kind of schematic device of identification invalid light path of infrared touch panel provided in an embodiment of the present invention, the device
Applied to infrared touch panel, which includes:
Acquisition module 701, for obtain all light paths to be identified i-th of scan period occlusion state;
Processing module 702, for judging whether the light path to be identified is in the state that is blocked i-th of scan period,
If so, the number that is blocked of the light path to be identified is added up on the basis of preceding scan cycle, if it is not, not doing then
Accumulation process;Judge all light paths to be identified in the occlusion state of i-th of scan period and blocking for preceding scan cycle
Whether state is identical, if at least one light path to be identified blocks shape in i-th scan period in all light paths to be identified
State is different from the occlusion state of preceding scan cycle, then resets the number that is blocked of all light paths to be identified;
Determine invalid light path module 703, whether the number that is blocked for judging the light path to be identified is pre- more than first
If threshold value, if so, determining that the light path to be identified is invalid light path.
Preferably, the processing module is additionally operable to:
Judge that all light paths to be identified block shape in occlusion state and the preceding scan cycle of i-th of scan period
Whether state is identical, if identical, is in the number that is blocked of the light path to be identified for the state that is blocked previous i-th of scan period
It adds up on the basis of scan period.
Preferably, the acquisition module 701 is additionally operable to:
Acquire the optical path information data of the infrared receiver fluorescent tube of i-th of scan period;
Determine that all light paths to be identified block shape in i-th scan period according to the optical path information data
State.
Preferably, the processing module 702 is additionally operable to:
When the first light path to be identified occlusion state and the preceding scan cycle of i-th of scan period occlusion state not
Together, and first light path to be identified in i-th scan period is the state that is not blocked, then by the described first light path to be identified
The number that is blocked is reset;
When the described first light path to be identified is in the occlusion state of the occlusion state and preceding scan cycle of i-th of scan period
Difference, and first light path to be identified is the state that is blocked i-th of scan period, then it will be in all light paths to be identified
The number that is blocked is more than the number clearing that is blocked of the light path to be identified of the first predetermined threshold value.
Preferably, further including:Restore light path module 704;
The acquisition module 701 is additionally operable to:Obtain the occlusion state of the invalid light path;
The recovery light path module 704 is used for:The occlusion state of the invalid light path is judged, if in the shape that is not blocked
The invalid light path is then determined as effective optical path by state.
Fig. 8 is another schematic device for identifying the invalid light path of infrared touch panel provided in an embodiment of the present invention, the dress
Set the method that achievable the above embodiment of the present invention provides.The device may include:The bus and bridge of any number of interconnection, specifically
The various circuits for the memory that the one or more processors and memory 803 represented by processor 801 represent link together.
Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like can also be linked at one by bus architecture
It rises, these are all it is known in the art, and therefore, it will not be further described herein.Bus interface provides interface.Place
Reason device 801 is responsible for bus architecture and common processing, and memory 803 can store processor 801 and execute operation when institute
The data used.Display 802 can be CRT (Cathode Ray Tube, cathode-ray tube), PDP (Plasma Display
Panel, plasma display), DLP (Digital Light Procession, digital light processing) or LCD (Liquid
Crystal Display, liquid crystal display) etc. display devices.
Processor 801, is configured for one or more of executable programs, and one or more of executable programs are used
In execution following methods:Obtain all light paths to be identified i-th of scan period occlusion state;It is described to be identified for judging
Whether light path is in the state that is blocked i-th of scan period, if so, by the number that is blocked of the light path to be identified preceding
It adds up on the basis of scan cycle;Judge all light paths to be identified i-th of scan period occlusion state with
Whether the occlusion state of preceding scan cycle is identical, if at least one light path to be identified is i-th in all light paths to be identified
The occlusion state of a scan period is different from the occlusion state of preceding scan cycle, then resets the quilt of all light paths to be identified
Block number;Whether the number that is blocked of the first light path to be identified is judged more than the first predetermined threshold value, if so, determining described the
One light path to be identified is invalid light path.
Memory 803 be used to configure the processor 801 for storing one or more executable programs.
It can be seen from the above:
In the embodiment of the present invention by obtain all light paths to be identified i-th of scan period occlusion state;If described
Light path to be identified is in the state that is blocked, then the light path to be identified is blocked number on the basis of preceding scan cycle
It adds up;If in all light paths to be identified at least one light path to be identified i-th of scan period occlusion state with
The occlusion state of preceding scan cycle is different, then resets the number that is blocked of all light paths to be identified;It waits knowing described in judgement
Whether the number that is blocked of other light path is more than the first predetermined threshold value, if so, determining that the light path to be identified is invalid light path.It adopts
With the method in the embodiment of the present invention, by comparing the light path to be identified i-th of scan period occlusion state with it is previous
Whether the occlusion state of scan period is identical, if it is not the same, then illustrating that there may be touch situation on infrared touch panel at this time
And light path is caused to change in the occlusion state of continuous two scan periods, therefore in this case, clearing is needed
The number that is blocked for identifying light path can avoid in user interaction process directly only according to the occlusion state of local light path come really
Fixed invalid light path and caused by judge by accident, improve the accuracy of infrared touch panel light path Effective judgement.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of method of the identification invalid light path of infrared touch panel, which is characterized in that this method includes:
Obtain all light paths to be identified i-th of scan period occlusion state;
Be in the number that is blocked of the light path to be identified for the state that is blocked on the basis of preceding scan cycle i-th of scan period
On add up;
Judge all light paths to be identified is in the occlusion state and the occlusion state of preceding scan cycle of i-th of scan period
It is no identical, if in all light paths to be identified at least one light path to be identified i-th of scan period occlusion state with before
The occlusion state of scan cycle is different, then resets the number that is blocked of all light paths to be identified;
The number that is blocked of the light path to be identified is judged whether more than the first predetermined threshold value, if so, determination is described to be identified
Light path is invalid light path;First predetermined threshold value is obtained according to the light path make-up time.
2. the method as described in claim 1, which is characterized in that scan week at i-th in all light paths to be identified of acquisition
After the occlusion state of phase, the number that is blocked of the light path to be identified that i-th of scan period is in the state that is blocked exists
Before carrying out adding up on the basis of preceding scan cycle, further include:
Judge all light paths to be identified is in the occlusion state and the occlusion state of preceding scan cycle of i-th of scan period
It is no identical, if identical, be in the number that is blocked of the light path to be identified for the state that is blocked in previous scanning i-th of scan period
It adds up on the basis of period.
3. the method as described in claim 1, which is characterized in that described to obtain all light paths to be identified i-th of scan period
Occlusion state, including:
Acquire the optical path information data of the infrared receiver fluorescent tube of i-th of scan period;
According to the optical path information data determine all light paths to be identified i-th of scan period occlusion state.
4. method as claimed any one in claims 1 to 3, which is characterized in that if in all light paths to be identified
At least one light path to be identified is different from the occlusion state of preceding scan cycle in the occlusion state of i-th of scan period, then clearly
The number that is blocked of zero all light paths to be identified, including:
When the first light path to be identified is different from the occlusion state of preceding scan cycle in the occlusion state of i-th of scan period, and
First light path to be identified is the state that is not blocked i-th of scan period, then being hidden the described first light path to be identified
Number is kept off to reset;
When the described first light path to be identified occlusion state and the preceding scan cycle of i-th of scan period occlusion state not
Together, and first light path to be identified in i-th scan period is the state that is blocked, then by quilt in all light paths to be identified
Block be blocked number clearing of the number more than the light path to be identified of the first predetermined threshold value.
5. method as claimed any one in claims 1 to 3, which is characterized in that the number that will be blocked is more than the first default threshold
The light path to be identified of value is determined as after the invalid light path, further includes:
Obtain the occlusion state of the invalid light path;
Judge the occlusion state of the invalid light path, if in the state that is not blocked, the invalid light path is determined as effectively
Light path.
6. a kind of device of the identification invalid light path of infrared touch panel, which is characterized in that the device includes:
Acquisition module, for obtain all light paths to be identified i-th of scan period occlusion state;
Processing module, for i-th scan period is in the state that is blocked light path to be identified the number that is blocked previous
It adds up on the basis of scan period;Judge all light paths to be identified i-th of scan period occlusion state with before
Whether the occlusion state of scan cycle is identical, if at least one light path to be identified is at i-th in all light paths to be identified
The occlusion state of scan period is different from the occlusion state of preceding scan cycle, then resets being hidden for all light paths to be identified
Keep off number;
Determine invalid light path module, for whether judging the number that is blocked of the light path to be identified more than the first predetermined threshold value,
If so, determining that the light path to be identified is invalid light path;First predetermined threshold value is obtained according to the light path make-up time.
7. device as claimed in claim 6, which is characterized in that the processing module is additionally operable to:
Judge all light paths to be identified is in the occlusion state and the occlusion state of preceding scan cycle of i-th of scan period
It is no identical, if identical, be in the number that is blocked of the light path to be identified for the state that is blocked in previous scanning i-th of scan period
It adds up on the basis of period.
8. device as claimed in claim 6, which is characterized in that the acquisition module is additionally operable to:
Acquire the optical path information data of the infrared receiver fluorescent tube of i-th of scan period;
According to the optical path information data determine all light paths to be identified i-th of scan period occlusion state.
9. the device as described in any one of claim 6 to 8, which is characterized in that the processing module is additionally operable to:
When the first light path to be identified is different from the occlusion state of preceding scan cycle in the occlusion state of i-th of scan period, and
First light path to be identified is the state that is not blocked i-th of scan period, then being hidden the described first light path to be identified
Number is kept off to reset;
When the described first light path to be identified occlusion state and the preceding scan cycle of i-th of scan period occlusion state not
Together, and first light path to be identified in i-th scan period is the state that is blocked, then by quilt in all light paths to be identified
Block be blocked number clearing of the number more than the light path to be identified of the first predetermined threshold value.
10. the device as described in any one of claim 6 to 8, which is characterized in that further include:Restore light path module;
The acquisition module is additionally operable to:Obtain the occlusion state of the invalid light path;
The recovery light path module is used for:The occlusion state of the invalid light path is judged, if in the state that is not blocked, by institute
It states invalid light path and is determined as effective optical path.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410443745.5A CN105373262B (en) | 2014-09-02 | 2014-09-02 | A kind of method and device of the identification invalid light path of infrared touch panel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410443745.5A CN105373262B (en) | 2014-09-02 | 2014-09-02 | A kind of method and device of the identification invalid light path of infrared touch panel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105373262A CN105373262A (en) | 2016-03-02 |
CN105373262B true CN105373262B (en) | 2018-09-25 |
Family
ID=55375523
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410443745.5A Active CN105373262B (en) | 2014-09-02 | 2014-09-02 | A kind of method and device of the identification invalid light path of infrared touch panel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105373262B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106293275B (en) * | 2016-08-19 | 2019-06-04 | 青岛海信电器股份有限公司 | A kind of scanning direction angle adjusting method and infrared touch-control scanning device |
CN106383615B (en) * | 2016-09-06 | 2020-12-22 | 海信视像科技股份有限公司 | Unilateral infrared touch device, touch identification method and device |
CN111651097B (en) * | 2019-11-05 | 2024-04-26 | 摩登汽车有限公司 | Control system and method for Dock bar of terminal display screen and automobile |
CN114510163B (en) * | 2022-02-15 | 2022-08-30 | 深圳市康冠商用科技有限公司 | Gain adjustment method, device and equipment of infrared touch screen and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201233592Y (en) * | 2008-08-05 | 2009-05-06 | 北京汇冠新技术有限公司 | Reflective light path construction used for infrared touch screen |
CN102053762A (en) * | 2009-10-30 | 2011-05-11 | 北京汇冠新技术股份有限公司 | Infrared touch screen and touch positioning method thereof |
CN102693048A (en) * | 2012-05-31 | 2012-09-26 | 安徽大学 | Infrared touch screen |
CN103365492A (en) * | 2013-08-01 | 2013-10-23 | 北京东方中原教育科技有限公司 | Multi-point touch identification method for infrared touch screen |
CN103838438A (en) * | 2014-03-25 | 2014-06-04 | 北京千里触控科技有限公司 | Infrared multi-point positioning method |
CN103970358A (en) * | 2013-01-25 | 2014-08-06 | 北京博汇信通科技有限公司 | Optical path system for multi-point infrared touch screen and scanning detecting method |
CN103984449A (en) * | 2014-05-30 | 2014-08-13 | 湖州佳格电子科技有限公司 | Touch screen touch area positioning method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5441980B2 (en) * | 2011-10-25 | 2014-03-12 | シャープ株式会社 | Optical touch panel device, computer program, and recording medium |
-
2014
- 2014-09-02 CN CN201410443745.5A patent/CN105373262B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201233592Y (en) * | 2008-08-05 | 2009-05-06 | 北京汇冠新技术有限公司 | Reflective light path construction used for infrared touch screen |
CN102053762A (en) * | 2009-10-30 | 2011-05-11 | 北京汇冠新技术股份有限公司 | Infrared touch screen and touch positioning method thereof |
CN102693048A (en) * | 2012-05-31 | 2012-09-26 | 安徽大学 | Infrared touch screen |
CN103970358A (en) * | 2013-01-25 | 2014-08-06 | 北京博汇信通科技有限公司 | Optical path system for multi-point infrared touch screen and scanning detecting method |
CN103365492A (en) * | 2013-08-01 | 2013-10-23 | 北京东方中原教育科技有限公司 | Multi-point touch identification method for infrared touch screen |
CN103838438A (en) * | 2014-03-25 | 2014-06-04 | 北京千里触控科技有限公司 | Infrared multi-point positioning method |
CN103984449A (en) * | 2014-05-30 | 2014-08-13 | 湖州佳格电子科技有限公司 | Touch screen touch area positioning method |
Also Published As
Publication number | Publication date |
---|---|
CN105373262A (en) | 2016-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11842438B2 (en) | Method and terminal device for determining occluded area of virtual object | |
CN105373262B (en) | A kind of method and device of the identification invalid light path of infrared touch panel | |
US10928547B2 (en) | Terahertz security check method and system comprising a marker identification module and a marker changing module | |
WO2013053159A1 (en) | Method and device for tracking vehicle | |
CN103984449B (en) | A kind of touch screen touch area localization method | |
JP2018028904A (en) | Detection of signal device using regions of interest and reliance score | |
TW201019188A (en) | Method and apparatus for detecting touch point | |
JP2010134919A (en) | System, method, and program for photorealistic imaging using ambient occlusion | |
CN108200416B (en) | Coordinate mapping method, device and the projection device of projected image in projection device | |
CN110493009A (en) | The generation method and verification method of signature, device, equipment and medium | |
CN105260064B (en) | A kind of touch point identification method and device and display equipment | |
CN106406638B (en) | Touch point contour generation method and equipment | |
CN102637116B (en) | 3D scene exchange method, device and collision checking method, device | |
CN111611767B (en) | Verification method and device | |
US11080939B1 (en) | Generating test cases for augmented reality (AR) application testing | |
CN107102802A (en) | Overlay target system of selection and device, storage medium, electronic equipment | |
JP6559359B2 (en) | Gesture determination device, gesture operation device, and gesture determination method | |
CN103559809A (en) | Computer-based on-site interaction demonstration system | |
CN104766332B (en) | A kind of image processing method and electronic equipment | |
CN105404433B (en) | A kind of touch control identification method and display device based on infrared touch panel | |
CN112446843A (en) | Image reconstruction method, system, device and medium based on multiple depth maps | |
CN107688431B (en) | Man-machine interaction method based on radar positioning | |
CN109491568A (en) | Mouse event processing method, device, equipment and computer readable storage medium | |
CN104049797B (en) | Scanning range and the determination method of required scanning optical path needed for the identification of touch area | |
CN112446842B (en) | Sparse and dense depth map-based image reconstruction method, system, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee after: Hisense Visual Technology Co., Ltd. Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |