CN112445380B - Infrared touch control method, device and all-in-one machine - Google Patents

Infrared touch control method, device and all-in-one machine Download PDF

Info

Publication number
CN112445380B
CN112445380B CN202011421942.9A CN202011421942A CN112445380B CN 112445380 B CN112445380 B CN 112445380B CN 202011421942 A CN202011421942 A CN 202011421942A CN 112445380 B CN112445380 B CN 112445380B
Authority
CN
China
Prior art keywords
area
shielding
infrared
abnormal
data
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
CN202011421942.9A
Other languages
Chinese (zh)
Other versions
CN112445380A (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.)
Anhui Hongcheng Opto Electronics Co Ltd
Original Assignee
Anhui Hongcheng Opto 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 Anhui Hongcheng Opto Electronics Co Ltd filed Critical Anhui Hongcheng Opto Electronics Co Ltd
Priority to CN202011421942.9A priority Critical patent/CN112445380B/en
Priority to PCT/CN2020/140950 priority patent/WO2022121035A1/en
Publication of CN112445380A publication Critical patent/CN112445380A/en
Application granted granted Critical
Publication of CN112445380B publication Critical patent/CN112445380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Abstract

The invention relates to an infrared touch control method, an infrared touch control device and an all-in-one machine, wherein the infrared touch control method comprises the following steps: acquiring touch data, and determining a first maximum length of a shielding area in the horizontal direction and a second maximum length of the shielding area in the vertical direction according to the touch data; determining whether the shielding area is an abnormal bulge area according to the first maximum length and the second maximum length, wherein the abnormal bulge is deformation formed in an area, contacted with a non-touch medium, on the infrared touch panel; if the shielding area is an abnormal bulge area, determining the touch data corresponding to the abnormal bulge as abnormal data; and shielding abnormal data, and performing infrared touch control according to normal data to avoid wrong data interaction caused by abnormal bulges. By the method, abnormal data on the infrared touch panel are effectively shielded, wrong data interaction caused by abnormal bulges is avoided, and the anti-interference capability is improved.

Description

Infrared touch control method, device and all-in-one machine
Technical Field
The invention relates to the technical field of infrared touch control, in particular to an infrared touch control method, an infrared touch control device and an all-in-one machine.
Background
At present, a man-machine interaction technology applied to an intelligent large screen (all-in-one machine) is mainly a touch technology, and the touch technology is characterized in that a touch medium is required to touch a touch panel, a coordinate point touched by the touch medium is calculated through a touch algorithm and reported to an upper computer, and a data interaction function is realized.
Infrared touch is widely applied to mobile phones, central control platforms (automobiles, banks, hospitals and the like), conference boards in conference rooms and the like as a mainstream touch scheme. The infrared touch scheme is mainly characterized in that the positioning function of the touch medium is realized through an optical network established on the surface of the touch panel by an infrared emission lamp arranged on the frame of the touch panel and an infrared receiving lamp corresponding to the infrared emission lamp.
Fig. 1 and fig. 2 are schematic diagrams of two structures of an infrared touch panel and an optical network thereof, where fig. 1 is a schematic diagram of an optical network formed by distributing infrared emitting lamps and receiving lamps, and fig. 2 is a schematic diagram of an optical network formed by distributing infrared emitting lamps and infrared receiving lamps. In the optical network shown in fig. 1, the infrared emitting lamps 101 are uniformly distributed on two adjacent sides of the touch panel, and the infrared receiving lamps 102 are uniformly distributed on the other two adjacent sides of the touch panel; in the optical network shown in fig. 2, the infrared emission lamps 101 and the infrared reception lamps 102 are symmetrically arranged on four sides of the touch panel, and the infrared emission lamps are distributed at intervals; when the touch panel works, the infrared transmitting lamps 101 transmit infrared rays to the infrared receiving lamps 102 to form a dense and crossed infrared optical network.
When the touch medium contacts the surface of the panel, the light path of the corresponding position is blocked, and the touch medium (for example, the coordinates and/or the moving track of the touch medium) can be located by analyzing the blocked light path. The premise of positioning the touch control medium is that the optical network has effectiveness, and in order to ensure the effectiveness of the optical network, the requirement on the concave-convex degree of the surface of the touch control panel is very high, and an ideal infrared touch control scheme requires that the surface of the touch control panel is flat or concave.
In order to meet the requirements of consumers, the size of an infrared touch device (such as an all-in-one machine) is larger and larger, the profile frame is narrower and narrower, and the touch panel is thinner and thinner, so that deformation control for the touch panel is more and more difficult, even the deformation degree of the touch panel meets the touch requirement when the touch panel leaves a factory, but in the product transportation or user use process, the deformation degree of the touch panel is increased due to the reasons such as looseness of the profile frame, for example, local abnormal protrusion of the touch panel is caused. The abnormal protrusion formed by the deformation of the touch panel may destroy the effectiveness of the optical network, specifically, the abnormal protrusion blocks a part of the infrared light path, which may cause the abnormal protrusion to be mistaken as a touch medium in the touch algorithm, and perform a wrong data interaction, that is, cause a problem of erroneous judgment of the touch algorithm, such as abnormal situations of touch jumping, disconnection, no response in touch, pen loss during writing, etc. Therefore, how to effectively identify the abnormal protruding area on the touch panel and avoid the misjudgment of the abnormal protruding area as the touch medium is an urgent technical problem to be solved.
Disclosure of Invention
Based on the above situation, a primary objective of the present invention is to provide an infrared touch control method, an infrared touch control device, and an all-in-one machine, which are capable of effectively identifying an abnormal protruding area on an infrared touch panel and shielding abnormal touch data corresponding to the abnormal protruding area, so as to solve the technical problem of touch misjudgment caused by infrared light shielding by an abnormal protruding portion of the touch panel.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides an infrared touch control method, where the infrared touch control method is applied to an infrared touch panel, an infrared optical network may be established on the infrared touch panel, and the infrared optical network is used to locate a touch medium on the infrared touch panel, and the infrared touch control method includes:
acquiring touch data;
determining a shielding area according to the touch data; the shielding area is an area for shielding the light path in the infrared light net; the shielding area comprises a plurality of shielding subareas, and each shielding subarea corresponds to a first maximum length in the horizontal direction and a second maximum length in the vertical direction;
judging whether the first maximum length and the second maximum length of any shielding subarea are both smaller than a first preset threshold value, if so, determining whether the first maximum length or the second maximum length of each shielding subarea is larger than a second preset threshold value, if a target shielding subarea with the first maximum length or the second maximum length larger than the second preset threshold value exists, determining the number of the target shielding subareas to obtain shielding number, when the shielding number is larger than the preset number, calculating the distance between different target shielding subareas, and if the maximum value of the distance is smaller than the preset distance, determining that the shielding subarea is an abnormal convex area; if not, determining the shielded area as an abnormal convex area; the abnormal raised area is a deformation area caused by the fact that a non-touch medium on the infrared touch panel contacts the infrared touch panel;
if the shielding area is an abnormal raised area, determining the touch data corresponding to the abnormal raised area as abnormal data;
shielding abnormal data, and performing infrared touch control according to normal data; the normal data is touch data after the abnormal data is shielded in the touch data.
Optionally, the touch data includes continuous M times of scanning data; the scanning data corresponds to a first maximum length and a second maximum length; wherein M is a natural number greater than zero;
the judging whether the first maximum length and the second maximum length of any shielding subarea are both smaller than a first preset threshold value, if not, determining that the shielding subarea is an abnormal convex area, and the judging method comprises the following steps:
and when the first maximum lengths corresponding to the M times of continuous scanning data are all larger than or equal to a first preset threshold value, or when the second maximum lengths corresponding to the M times of continuous scanning data are all larger than or equal to the first preset threshold value, determining that the shielded area is an abnormal convex area.
Optionally, after determining the touch data corresponding to the abnormal convex area as abnormal data, the control method further includes:
determining an area to be enhanced on the infrared touch panel according to the abnormal data; the area to be enhanced is a non-abnormal raised area on the infrared touch panel;
reinforcing an infrared optical network of an area to be reinforced;
carrying out infrared touch control according to normal data, comprising:
and performing infrared touch control according to the touch data corresponding to the enhanced infrared optical network.
Optionally, an infrared optical network for enhancing an area to be enhanced, comprising:
and adjusting the emergent angle of the infrared emission lamp corresponding to the area to be enhanced so as to enhance the infrared optical network of the area to be enhanced.
Optionally, an infrared optical network for enhancing an area to be enhanced, comprising:
determining a standby infrared emission lamp of which the light path passes through a region to be enhanced;
and controlling the standby infrared emission lamp to emit emergent infrared light to the area to be enhanced so as to enhance the infrared optical network of the area to be enhanced.
In a second aspect, the present invention further provides an infrared touch control device, which is suitable for an infrared touch panel, where an infrared optical network can be established on the infrared touch panel, and the infrared optical network is used to position a touch medium on the infrared touch panel, and the infrared touch control device includes:
the touch data acquisition module is used for acquiring touch data;
the shielding area length determining module is used for determining a shielding area according to the touch data; the shielding region is a region for shielding a light path in the infrared light network, and comprises a plurality of shielding subregions, and each shielding subregion corresponds to a first maximum length in the horizontal direction and a second maximum length in the vertical direction;
an abnormal convex area confirmation module, configured to determine whether the first maximum length and the second maximum length of any shielding sub-area are both smaller than a first preset threshold, if yes, determine whether the first maximum length or the second maximum length of each shielding sub-area is greater than a second preset threshold, if a target shielding sub-area exists in which the first maximum length or the second maximum length is greater than the second preset threshold, determine the number of the target shielding sub-areas, obtain a shielding number, when the shielding number is greater than the preset number, calculate distances between different target shielding sub-areas, and if the maximum value of the distances is smaller than the preset distance, determine that the shielding area is an abnormal convex area; if not, determining the shielded area as an abnormal convex area; the abnormal raised area is a deformation area caused by the fact that a non-touch medium on the infrared touch panel contacts the infrared touch panel;
the abnormal data confirmation module is used for determining the touch data corresponding to the abnormal convex area as abnormal data if the shielding area is the abnormal convex area;
the abnormal data shielding and infrared touch control module is used for shielding the abnormal data and carrying out infrared touch control according to the normal data; the normal data is touch data after the abnormal data is shielded in the touch data.
In a third aspect, the present invention further provides a readable storage medium for infrared touch control, where a computer program is stored, and when the computer program is executed, the method disclosed in the first aspect can be implemented.
In a fourth aspect, the present invention further provides an all-in-one machine, including: an infrared touch panel and touch firmware, the touch firmware being capable of implementing the method disclosed in the first aspect.
Compared with the prior art, the infrared touch control method, the infrared touch control device and the all-in-one machine provided by the invention have the advantages that the maximum length of the shielding area in the horizontal direction and the maximum length of the shielding area in the vertical direction in the infrared optical network are determined by acquiring touch data, and whether the shielding area is an abnormal convex area is determined according to the maximum lengths in the horizontal direction and the vertical direction; when the shielding area is the abnormal protruding area, the touch data corresponding to the abnormal protruding area is determined to be abnormal data, then the abnormal data is shielded, and touch control is performed according to the normal data, so that the abnormal protruding area on the touch panel is effectively identified, the touch data corresponding to the abnormal protruding area is shielded, wrong data interaction caused by the abnormal protruding area is avoided, and the anti-interference capability of the all-in-one machine is improved.
Other advantages of the present invention will be described in the detailed description, and those skilled in the art will understand the technical features and technical solutions presented in the description.
Drawings
Preferred embodiments of an infrared touch control method, an infrared touch control apparatus, and an all-in-one machine according to the present invention will be described below with reference to the accompanying drawings. In the figure:
FIG. 1 is a schematic diagram of a structure in which infrared emission lamps are distributed on two adjacent sides of a touch panel and an optical network thereof;
FIG. 2 is a schematic diagram of a structure in which infrared emission lamps are distributed on four sides of a touch panel and an optical network thereof;
fig. 3 is a flowchart of an infrared touch control method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for determining whether an occlusion region is an abnormal protrusion region according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a shielding region formed by shielding a light path when an abnormal protrusion and a touch medium exist on a surface of a touch panel;
FIG. 6 is a schematic diagram illustrating optical network enhancement performed on an area to be enhanced by adjusting an exit angle of an infrared emission lamp according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating optical network enhancement performed on an area to be enhanced by controlling a standby emission lamp according to the embodiment;
fig. 8 is a schematic structural diagram of an infrared touch control device of an all-in-one machine disclosed in the embodiment of the invention.
Detailed Description
In order to avoid the problem that an abnormal raised area of a touch panel blocks part of a light path, which leads to erroneous data interaction of touch algorithm misjudgment, the embodiment discloses an infrared touch control method, which is suitable for an infrared touch panel, and please refer to fig. 1 and 2, infrared emission lamps 101 and infrared receiving lamps 102 are arranged on a frame of the infrared touch panel, when the touch panel works, an infrared optical network with dense light paths is formed on the surface of the touch panel, when a touch medium contacts the surface of the touch panel, part of the light path is blocked, and the coordinate position of the touch medium is calculated by analyzing the blocked light path in the infrared optical network, so that the positioning function of the touch medium is realized, and the coordinate position is further reported to an upper computer, so that the data interaction function is realized.
Referring to fig. 3, fig. 3 shows a flow of an infrared touch control method disclosed in this embodiment, where the method includes:
step S100: and acquiring touch data.
In a specific implementation mode, the infrared emitting lamps are driven to emit infrared light according to a set rule, the corresponding infrared receiving lamps are driven to receive the infrared light, scanning is completed, and signal data of each light path in the infrared optical network are obtained. The touch data includes data of each light path signal obtained by scanning and touch point coordinates calculated according to the data of each light path signal. The light path signal data can be data which can quantitatively represent light path signals, such as emitted light power received by the infrared receiving lamp, signal intensity or signal voltage received by the infrared receiving lamp, and the like.
Step S200: determining a first maximum length of the shielding area in the horizontal direction and a second maximum length of the shielding area in the vertical direction according to the touch data; the shielding area is an area in the infrared optical network, which shields the optical path.
In a specific embodiment, the occlusion area may be generated by a touch medium and/or a non-touch medium, and in this embodiment, the touch medium refers to a medium used for data interaction in an infrared light network. For example, the touch medium may be a stylus, eraser, finger, or the like. The shielding region generated by the non-touch medium may be, for example, a region formed by the infrared light path shielded by the abnormal protrusion of the touch panel.
Determining an occlusion area, namely determining an occluded light path according to each light path signal in the acquired touch data, and determining an area formed by the intersection of the occluded light paths as the occlusion area; and obtaining a peripheral closed curve of the shielding area by fitting or determining the boundary touch points through a plurality of touch point coordinates in the touch data, so as to determine the shielding area.
The size of the shielded area formed by the touch medium is relatively fixed, and usually the size of the abnormal protruding area is not equal to that of the shielded area formed by the touch medium.
After the shielding area is determined, the length of the shielding area in the horizontal direction and the length of the shielding area in the vertical direction can be calculated according to the coordinate of the touch point on the peripheral closed curve corresponding to the shielding area. For example, the length in the vertical direction may be obtained by calculating a difference between ordinate of two points having the same abscissa among the touch points located on the peripheral curve. For example, when the coordinates of two touch points on the peripheral curve with the same horizontal coordinate are (x1, y1) and (x1, y2), respectively, the length in the vertical direction is | y2-y1 |. After calculating the lengths in all the vertical directions, determining the maximum length in the vertical direction; the maximum length in the horizontal direction can be obtained in the same manner.
Step S300, determining whether the shielding area is an abnormal convex area according to the first maximum length and the second maximum length; the abnormal raised area is a deformation area caused by the fact that a non-touch medium on the infrared touch panel contacts the infrared touch panel.
When the touch medium contacts the surface of the infrared touch panel, the touch position of the touch medium is determined according to the infrared light in the infrared light net shielded because the touch medium shields the infrared light net on the infrared touch panel. However, when the touch panel has an abnormal protruding region in the actual use process of the touch panel, even if the touch medium does not touch the abnormal protruding region, the abnormal protruding portion can also shield part of the infrared light in the infrared optical network, thereby causing the touch data to be abnormal. In an actual application scenario, especially when the touch panel is thin, the touch area of the touch medium is concave when the touch medium contacts the touch panel, so that an abnormal protrusion is generated in the non-touch area. Therefore, the position of the abnormal protruding area is often located on the other side of the touch position of the touch medium, for example, when the touch medium presses the edge of one side of the touch panel, the abnormal protruding area is generated by deformation on the other side of the touch panel.
It should be understood that, in general, the size of the abnormal protrusion area is larger than that of the blocking area formed by the touch medium, and thus whether the blocking area is the abnormal protrusion area may be determined according to the obtained first maximum length in the horizontal direction and the obtained second maximum length in the vertical direction of the blocking area.
In step S400, if the occlusion region is an abnormal protrusion region, determining the touch data corresponding to the abnormal protrusion region as abnormal data.
In a specific embodiment, if the occlusion area is an abnormal protrusion area, the touch data acquired in step S100 includes touch data corresponding to the abnormal protrusion area. Because the touch data corresponding to the abnormal protruding area is data formed by the non-touch medium and is data which does not need data interaction, the touch data corresponding to the abnormal protruding area needs to be determined as abnormal data.
Step S500, shielding abnormal data, and performing infrared touch control according to normal data; the normal data is touch data after the abnormal data is shielded in the touch data.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a blocking area formed by blocking a light path when an abnormal protrusion and a touch medium exist on a surface of a touch panel. In fig. 5, the occlusion region 302 is an abnormal convex region, and the touch data corresponding to the occlusion region 302 is determined to be abnormal data. At this time, the abnormal data corresponding to the shielded area 302 needs to be shielded and is not reported to the upper computer, so as to avoid erroneous data interaction. The masking method includes, but is not limited to, deleting or invalidating the abnormal data.
After the abnormal data is shielded, the touch data only contains normal touch data corresponding to the shielded area 301, and the normal touch data corresponding to the shielded area 301 is reported to the upper computer, so that the upper computer can determine the specific position of the shielded area 301 according to the normal touch data corresponding to the shielded area 301.
According to the embodiment of the invention, the first maximum length in the horizontal direction and the second maximum length in the vertical direction of the shielding area are determined by acquiring the touch data; determining whether the shielding area is an abnormal convex area according to the first maximum length and the second maximum length; thereby effectively identifying the abnormal raised area on the touch panel; the touch data corresponding to the abnormal protruding area is determined to be abnormal data, abnormal data on the infrared touch panel are shielded, wrong data interaction caused by abnormal protruding is avoided, and the anti-interference capability of the all-in-one machine is improved.
As an optional embodiment, determining whether the occlusion region is an abnormally convex region according to the first maximum length and the second maximum length includes: and when the first maximum length or the second maximum length is greater than or equal to a first preset threshold value, determining the shielding area as an abnormal convex area.
The common case of the abnormal protrusion on the touch panel is a protrusion with a larger area, and for this case, a first preset threshold value of the maximum length of the shielding region in the corresponding direction may be set to determine whether the shielding region is the abnormal protrusion region. The embodiment of the present invention does not limit the specific value of the first preset threshold. In some embodiments, the probability that the user touches the touch panel with the hand is highest, and thus, the first preset threshold may be the length of the palm. For example, the length of the palm generally does not exceed 20cm, and the length of the occlusion region formed by a single touch medium during one scanning process generally does not exceed 20cm, so the first preset threshold value may be set to 20cm, for example.
It should be understood that the manner of setting the first preset threshold is only a specific example of the embodiment of the present invention, and does not limit the embodiment of the present invention. For example, the first preset threshold may also be set to a suitable size according to actual requirements, such as referring to the length of the forearm, the size of the fist, or other empirical values, so as to achieve accurate determination of the abnormal raised area.
Taking the first preset threshold as an example according to the length of the palm, when the first maximum length or the second maximum length of the shielding region is greater than or equal to the first preset threshold, the shielding region formed by the palm and the single touch medium can be excluded, at this time, it can be determined that the area of the shielding region is larger, and the shielding region is determined as an abnormal convex region. Whether the shielding area is the abnormal convex area is determined by comparing the first preset threshold with the first maximum length or the second maximum length, and the algorithm is simple and easy to implement.
As an optional implementation, the touch data includes consecutive M times of scanning data; the scanning data corresponds to a first maximum length and a second maximum length; wherein M is a natural number greater than zero; when the first maximum length or the second maximum length is greater than or equal to a first preset threshold, determining that the occlusion region is an abnormal convex region further includes: and when the first maximum lengths corresponding to the M times of continuous scanning data are all larger than or equal to a first preset threshold value, or when the second maximum lengths corresponding to the M times of continuous scanning data are all larger than or equal to the first preset threshold value, determining that the shielded area is an abnormal convex area.
In the embodiment of the present invention, the specific value of M is set by a person skilled in the art according to actual requirements, and the embodiment of the present invention does not limit the specific value of M. In particular embodiments, one skilled in the art can determine the specific value of M by multiple experiments. For example, the times that the first maximum length or the second maximum length is greater than or equal to the first preset threshold value due to the abnormal protrusion and the environmental interference in the multiple tests are counted, and the specific value of M is determined according to the critical value between the times corresponding to the abnormal protrusion and the times corresponding to the environmental interference.
It is worth noting that the infrared scanning speed is very fast, and after the abnormal convex area is determined, the size of the abnormal convex area does not change in the continuous scanning process for many times. For example, in the first scanning, the first maximum length of the abnormal convex region is greater than or equal to the first preset threshold, and the second maximum length is less than the first preset threshold, then the first maximum length is greater than or equal to the first preset threshold, and the second maximum length is less than the first preset threshold in the subsequent consecutive scanning processes. Therefore, in the embodiment of the present invention, when any one of the first maximum length and the second maximum length is greater than the first preset threshold in the consecutive M scans, the shielded region may be determined to be an abnormal convex region. Of course, if the first maximum length and the second maximum length are both kept larger than the first preset threshold value in the continuous M-time scanning process, the shielding region is an abnormal convex region.
According to the embodiment of the invention, the interference of accidental environments such as external environment light, man-made mistaken touch and the like is eliminated, the condition that the accidental environment interference is judged as the abnormal bulge is avoided, the accuracy of judging the abnormal bulge is improved, the subsequent processing aiming at the accidental environment interference is reduced, the processing amount is reduced, and the data interaction is more timely and accurate.
FIG. 4 illustrates a flow of occlusion region determination according to an embodiment of the present invention. In the embodiment of the present invention, the occlusion region includes a plurality of occlusion sub-regions, each occlusion sub-region corresponds to a first maximum length and a second maximum length, and determining whether the occlusion region is an abnormal convex region according to the first maximum length and the second maximum length further includes the following steps as shown in fig. 4:
step S401: and judging whether the first maximum length and the second maximum length of any shielding subarea are both smaller than a first preset threshold value, if so, executing a step S402, and if not, executing a step S406.
In this step, the abnormal deformation of the touch panel further includes a situation where a plurality of protrusions exist simultaneously, and when the abnormal protrusion is a plurality of protrusions existing simultaneously, the positions of the plurality of abnormal protrusions are generally relatively concentrated. Therefore, the abnormal protrusions can be taken as a whole, that is, the shielding region formed by each abnormal protrusion in the abnormal protrusions is taken as a shielding subarea, and the whole composed of the shielding subareas is taken as a shielding region. And when the first maximum length or the second maximum length of the shielding subarea is larger than or equal to a first preset threshold value, determining that the shielding subarea is an abnormal bulge.
Step S402: and determining whether a target shielding subarea with the first maximum length or the second maximum length larger than a second preset threshold exists, if so, executing the step S403, otherwise, executing the step S407.
In this step, the target occlusion sub-region is an occlusion sub-region of which the first maximum length or the second maximum length is greater than the second preset threshold among all the occlusion sub-regions. Wherein the second preset threshold is smaller than the first preset threshold.
When the infrared touch panel is in a writing or erasing state, a plurality of writing touch media or writing touch media and the user hand may form a plurality of shielding sub-areas, in order to accurately identify the abnormal protrusion, the plurality of writing touch media or writing touch media and the user hand are prevented from being taken as the abnormal protrusion, and whether the shielding sub-areas are the abnormal protrusion or not can be judged by setting a second preset threshold.
Specifically, taking a pen or a finger as an example, the width of one pen or finger is generally not more than 2cm, and therefore, the second preset threshold may be set to, for example, 2 cm. In addition, the second preset threshold value can be set to be a proper size or other empirical values according to actual requirements, so that the abnormal protrusion can be accurately judged.
Step S403: and determining the number of the target occlusion subareas to obtain the occlusion number.
In this step, if the first maximum length or the second maximum length of the target-shielded sub-area is greater than the second preset threshold, determining the number of the target-shielded sub-areas in the shielded area to obtain the shielded number. The shielding number can be obtained by counting the number of peripheral closed curves of the shielding subareas in the touch data. The touch media can be excluded to a certain extent by the number of occlusions.
Step S404: and when the shielding number is larger than the preset number, calculating the distance between the shielding subareas of different targets.
In this step, the preset number may be set according to an empirical value, the quantity of the touch media equipped on the touch panel, or a specific scene of the touch panel during the use process, for example, during the data erasing process, a plurality of erasers may contact the surface of the infrared touch panel to form a plurality of shielding areas, and in order to avoid regarding the erasers as abnormal protrusions, the preset number may be set as the number of erasers configured on the infrared touch panel. When the shielding number is less than the preset number, the blackboard eraser which is formed into the configuration of the infrared touch panel and shields the subarea is represented,
the embodiment of the invention limits the specific calculation mode of the distance between different target shielding subareas. For example, in some embodiments, this may be achieved by calculating the coordinates of points on the boundary of the closed curve of the two different target occlusion sub-regions or the coordinates of the barycenter of the two occlusion sub-regions.
Step S405: determining whether the maximum value of the distance is smaller than a preset distance, if so, executing step S406, and if not, executing step S407.
In this step, the preset distance may be an empirical value, or may be set reasonably for different use scenarios of the touch panel. The preset distance may be set to, for example, 20cm, such as in the case of a plurality of occlusion sub-regions formed by simultaneous operation by a plurality of persons.
Step S406: and determining the occlusion area as an abnormal convex area.
In this step, when the distance between the target occlusion areas is smaller than the preset distance, the occlusion areas are determined to be abnormal convex areas. Specifically, when the preset distance is 20cm, if the maximum distance between different occlusion sub-regions is less than 20cm, the use habit of simultaneous operation by multiple persons is not met, and therefore, it can be determined that an occlusion region formed by multiple occlusion sub-regions is an abnormal convex region.
Step S407: and determining the occlusion area as a non-abnormal convex area.
In this step, if the first maximum length and the second maximum length of all the occlusion sub-regions are smaller than the second preset threshold, the occlusion region is a non-abnormal convex region. Assuming that the second preset threshold is set to be 2cm, if the first maximum length and the second maximum length of all the shielding sub-regions are smaller than the second preset threshold, there is a possibility that a sub-shielding region formed by a plurality of writing pens or fingers exists in the shielding region, and thus the shielding region is a non-abnormal convex region.
And if the maximum distance value between different target shielding subareas is larger than or equal to a preset threshold value, the shielding area is a non-abnormal convex area. In particular, when the preset distance is 20cm, it may be that multiple persons operate simultaneously if the maximum value of the distance between different occlusion sub-regions is greater than or equal to 20 cm. Therefore, it is possible to determine that the occlusion region composed of the plurality of occlusion sub-regions is a non-abnormally convex region.
According to the embodiment of the invention, whether the shielding area is formed by the abnormal protrusion is further confirmed by acquiring the shielding number and the distance between different shielding sub-areas, and whether the shielding area is the abnormal protrusion is judged by combining the actual condition of the touch panel and the use habit of a user through the shielding number and the maximum distance between different shielding sub-areas according to the condition of the abnormal protrusion with relatively concentrated positions, so that the shielding area is more accurately and effectively obtained.
In some optional embodiments, after determining the touch data corresponding to the abnormal raised area as abnormal data, the method further includes: determining an area to be enhanced on the infrared touch panel according to the abnormal data; the area to be enhanced is a non-abnormal raised area on the infrared touch panel; reinforcing an infrared optical network of an area to be reinforced; carrying out infrared touch control according to normal data, comprising: and performing infrared touch control according to the touch data corresponding to the enhanced infrared optical network.
In a specific embodiment, the area of the abnormal protrusion on the infrared touch panel may be determined first, and then the area to be enhanced on the infrared touch panel may be determined.
The area of the abnormal bulge on the infrared touch panel can be determined through coordinates in touch data, the area to be enhanced on the infrared touch panel is determined according to the area of the abnormal bulge on the infrared touch panel, and the area to be enhanced is an area which is not overlapped with the position of the abnormal bulge on the infrared touch panel, namely a non-abnormal bulge area on the infrared touch panel.
After the area to be enhanced is determined, the infrared optical network of the area to be enhanced is enhanced to compensate part of light paths missing in the optical network due to abnormal bulges, and then infrared touch control is carried out according to touch data corresponding to the enhanced infrared optical network.
The area to be enhanced is determined through the abnormal data, the infrared optical network of the area to be enhanced is enhanced, part of light paths missing in the optical network due to abnormal bulges are effectively compensated, the optical network density of the area to be enhanced is improved, and then infrared touch control is carried out according to the touch data corresponding to the enhanced infrared optical network, so that the identification precision of the area to be enhanced is improved.
As an alternative embodiment, an infrared optical network for enhancing an area to be enhanced, comprising: and adjusting the emergent angle of the infrared emission lamp corresponding to the area to be enhanced so as to enhance the infrared optical network of the area to be enhanced.
Referring to fig. 6, fig. 6 shows a schematic diagram of performing optical network enhancement on a region to be enhanced 601 by adjusting an exit angle of an infrared emission lamp according to this embodiment, where the optical network enhancement on the region to be enhanced 601 includes:
and determining the infrared emission lamps corresponding to the area to be enhanced according to the arrangement condition and the actual emission angle of the infrared emission lamps. And adjusting the emergent angle of the infrared emission lamp corresponding to the area to be enhanced to enable the infrared emission lamp to emit more light paths pointing to the area to be enhanced, so that the optical network density of the area to be enhanced is improved.
The emergent angle of the infrared emission lamp corresponding to the area to be enhanced is adjusted, the quantity of infrared lamps of the infrared touch panel is not required to be enhanced, more light paths can be formed in the area to be enhanced only on the basis of the original infrared lamps by adjusting the angle, the optical network density of the area to be enhanced is improved, the influence of the abnormal protruding area on the area to be enhanced is eliminated to a certain extent, and the touch precision of the area to be enhanced is improved.
As an alternative embodiment, an infrared optical network for enhancing an area to be enhanced, comprising: determining a standby infrared emission lamp of which the light path passes through a region to be enhanced; and controlling the standby infrared emission lamp to emit emergent infrared light to the area to be enhanced so as to enhance the infrared optical network of the area to be enhanced.
Referring to fig. 7, fig. 7 shows a schematic diagram of controlling a standby emission lamp 610 to perform optical network enhancement on a region to be enhanced 601 disclosed in this embodiment, where the optical network enhancement on the region to be enhanced 601 includes:
the standby emission lamp is an infrared emission lamp additionally arranged on a frame of the touch panel in advance under the condition that the touch panel identification precision can be met, and when the optical network is enhanced, the standby emission lamp for optical network enhancement at the current time is determined according to the setting position and the emittable angle of the standby emission lamp. The optical network enhanced standby emission lamp 610 does not emit infrared light in the touch process, and only responds to an optical network enhanced signal, that is, the optical network enhanced standby emission lamp 610 is only driven in the optical network enhancing process, and can form a light path in the area to be enhanced 601 when an abnormal protrusion exists.
And controlling the standby emission lamp 610 to emit the light path 602 pointing to the area to be enhanced 601 according to the optical network enhancement signal so as to improve the optical network density of the area to be enhanced 601. The specific process is to drive the standby emission lamp 610 to emit light to the light path 602 of the region to be enhanced 601 according to a preset rule and angle, and the emission angle can be determined according to the position of the standby emission lamp 610 and the position of the region to be enhanced 601 and by combining the emission angle of the standby emission lamp 610. The optical network density of the area to be enhanced 601 is increased by controlling the infrared rays emitted by the spare emission lamp and directed to the area to be enhanced.
Through controlling reserve infrared emission lamp transmission infrared light, need not change the control of original infrared emission lamp, more nimble to reserve infrared emission lamp's control, it is convenient, control reserve infrared emission lamp to waiting to strengthen regional transmission outgoing infrared light and improved the optical network density of treating the reinforcing region, eliminate unusual protruding regional influence of treating the reinforcing region to a certain extent, improved the touch-control precision of treating the reinforcing region.
It is understood that, since the method embodiment and the apparatus embodiment are different manifestations of the same technical concept, the content of the method embodiment part in the present application should be synchronously adapted to the apparatus embodiment part, and is not described herein again.
Referring to fig. 8, the control device is suitable for an infrared touch panel, an infrared optical network can be established on the infrared touch panel, the infrared optical network is used for positioning a touch medium on the infrared touch panel, and the infrared touch control device includes: touch data acquisition module, shelter from regional length determination module, unusual protruding regional confirmation module, unusual data confirmation module and unusual data shielding and infrared touch control module, wherein:
the touch data acquisition module is used for acquiring touch data;
the shielding area length determining module is used for determining a first maximum length of the shielding area in the horizontal direction and a second maximum length of the shielding area in the vertical direction according to the touch data acquired by the touch data acquiring module; the shielding area is an area for shielding the light path in the infrared light net;
the abnormal convex area confirming module is used for determining whether the shielding area is an abnormal convex area according to the first maximum length and the second maximum length; the abnormal raised area is a deformation area caused by the fact that a non-touch medium on the infrared touch panel contacts the infrared touch panel;
the abnormal data confirmation module is used for determining the touch data corresponding to the abnormal convex area as abnormal data if the shielding area is the abnormal convex area;
the abnormal data shielding and infrared touch control module is used for shielding the abnormal data and carrying out infrared touch control according to the normal data; the normal data is the touch data after the abnormal data is shielded in the touch data.
The invention also provides a readable storage medium for infrared touch control, wherein a computer program is stored on the readable storage medium, and the computer program is executed to realize the method disclosed by the embodiment.
The invention also provides an all-in-one machine, comprising: the touch control device comprises an infrared touch panel and touch control firmware, wherein the touch control firmware is used for realizing the method disclosed by the embodiment.
It should be noted that step numbers (letter or number numbers) are used to refer to some specific method steps in the present invention only for the purpose of convenience and brevity of description, and the order of the method steps is not limited by letters or numbers in any way. It will be clear to a person skilled in the art that the order of the steps of the method in question, as determined by the technology itself, should not be unduly limited by the presence of step numbers.
It will be appreciated by those skilled in the art that the above-described preferred embodiments may be freely combined, superimposed, without conflict.
It will be understood that the embodiments described above are illustrative only and not restrictive, and that various obvious and equivalent modifications and substitutions for details described herein may be made by those skilled in the art without departing from the basic principles of the invention.

Claims (8)

1. An infrared touch control method is suitable for an infrared touch panel, an infrared optical network can be established on the infrared touch panel, and the infrared optical network is used for positioning a touch medium on the infrared touch panel; characterized in that the method comprises:
acquiring touch data;
determining an occlusion area according to the touch data; the shielding region is a region for shielding a light path in the infrared light net, and comprises a plurality of shielding subregions, and each shielding subregion corresponds to a first maximum length in the horizontal direction and a second maximum length in the vertical direction;
judging whether the first maximum length and the second maximum length of any shielding subarea are both smaller than a first preset threshold value, if so, determining whether the first maximum length or the second maximum length of each shielding subarea is larger than a second preset threshold value, if a target shielding subarea with the first maximum length or the second maximum length larger than the second preset threshold value exists, determining the number of the target shielding subareas to obtain shielding number, when the shielding number is larger than the preset number, calculating the distance between different target shielding subareas, and if the maximum value of the distance is smaller than the preset distance, determining that the shielding subarea is an abnormal convex area; if not, determining the shielded area as an abnormal convex area; the abnormal raised area is a deformation area caused by the fact that the non-touch control medium on the infrared touch control panel contacts the infrared touch control panel;
if the shielding area is an abnormal raised area, determining the touch data corresponding to the abnormal raised area as abnormal data;
shielding the abnormal data, and carrying out infrared touch control according to the normal data; the normal data is the touch data after the abnormal data is shielded in the touch data.
2. The method of claim 1, wherein the touch data comprises M consecutive scan data; one scanning datum corresponds to one first maximum length and one second maximum length; wherein M is a natural number greater than zero;
the judging whether the first maximum length and the second maximum length of any shielding subarea are both smaller than a first preset threshold value, if not, determining that the shielding subarea is an abnormal convex area, and the judging method comprises the following steps:
when the first maximum lengths corresponding to the M times of continuous scanning data are all larger than or equal to the first preset threshold value, or when the second maximum lengths corresponding to the M times of continuous scanning data are all larger than or equal to the first preset threshold value, determining that the shielding area is an abnormal convex area.
3. The method according to claim 1, wherein after determining the touch data corresponding to the abnormal convex region as abnormal data, the method further comprises:
determining an area to be enhanced on the infrared touch panel according to the abnormal data; the area to be enhanced is a non-abnormal raised area on the infrared touch panel;
an infrared optical network for reinforcing the area to be reinforced;
the infrared touch control according to the normal data comprises the following steps:
and performing infrared touch control according to the touch data corresponding to the enhanced infrared optical network.
4. The method of claim 3, wherein the enhancing the infrared optical network of the area to be enhanced comprises:
and adjusting the emergent angle of the infrared emission lamp corresponding to the area to be enhanced so as to enhance the infrared optical network of the area to be enhanced.
5. The method of claim 3, wherein the enhancing the infrared optical network of the area to be enhanced comprises:
determining a standby infrared emission lamp of which the light path passes through the area to be enhanced;
and controlling the standby infrared emission lamp to emit emergent infrared light to the area to be enhanced so as to enhance the infrared optical network of the area to be enhanced.
6. An infrared touch control device is suitable for an infrared touch panel, an infrared optical network can be established on the infrared touch panel, and the infrared optical network is used for positioning a touch medium on the infrared touch panel; characterized in that the device comprises:
the touch data acquisition module is used for acquiring touch data;
the shielding area length determining module is used for determining a shielding area according to the touch data; the shielding region is a region for shielding a light path in the infrared light net, and comprises a plurality of shielding subregions, and each shielding subregion corresponds to a first maximum length in the horizontal direction and a second maximum length in the vertical direction;
an abnormal convex area confirmation module, configured to determine whether the first maximum length and the second maximum length of any shielding sub-area are both smaller than a first preset threshold, if yes, determine whether the first maximum length or the second maximum length of each shielding sub-area is greater than a second preset threshold, if a target shielding sub-area exists in which the first maximum length or the second maximum length is greater than the second preset threshold, determine the number of the target shielding sub-areas, obtain a shielding number, when the shielding number is greater than the preset number, calculate distances between different target shielding sub-areas, and if the maximum value of the distances is smaller than the preset distance, determine that the shielding area is an abnormal convex area; if not, determining the shielded area as an abnormal convex area; the abnormal raised area is a deformation area caused by the fact that the non-touch control medium on the infrared touch control panel contacts the infrared touch control panel;
the abnormal data confirmation module is used for determining the touch data corresponding to the abnormal convex area as abnormal data if the shielding area is the abnormal convex area;
the abnormal data shielding and infrared touch control module is used for shielding the abnormal data and carrying out infrared touch control according to the normal data; the normal data is the touch data after the abnormal data is shielded in the touch data.
7. An infrared touch control readable storage medium on which a computer program is stored, wherein the computer program, when executed, is capable of implementing the control method according to any one of claims 1-5.
8. An all-in-one machine, comprising:
an infrared touch panel;
touch firmware enabling the control method according to any one of claims 1-5.
CN202011421942.9A 2020-12-08 2020-12-08 Infrared touch control method, device and all-in-one machine Active CN112445380B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011421942.9A CN112445380B (en) 2020-12-08 2020-12-08 Infrared touch control method, device and all-in-one machine
PCT/CN2020/140950 WO2022121035A1 (en) 2020-12-08 2020-12-29 Infrared touch control method and apparatus, machine-readable storage medium and integrated machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011421942.9A CN112445380B (en) 2020-12-08 2020-12-08 Infrared touch control method, device and all-in-one machine

Publications (2)

Publication Number Publication Date
CN112445380A CN112445380A (en) 2021-03-05
CN112445380B true CN112445380B (en) 2022-04-01

Family

ID=74740306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011421942.9A Active CN112445380B (en) 2020-12-08 2020-12-08 Infrared touch control method, device and all-in-one machine

Country Status (2)

Country Link
CN (1) CN112445380B (en)
WO (1) WO2022121035A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461090B (en) * 2021-07-23 2023-01-06 荣耀终端有限公司 Touch data processing method, keyboard, equipment, chip and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662533A (en) * 2012-04-05 2012-09-12 深圳市森虎科技有限公司 Method for eliminating non-normal contact interference in infrared touch system
WO2014044180A1 (en) * 2012-09-18 2014-03-27 北京汇冠新技术股份有限公司 Infrared multipoint identification method, infrared multipoint identification device and infrared touchscreen
CN103744558A (en) * 2013-11-28 2014-04-23 苏州长风航空电子有限公司 Intelligent dead point recognition and self-adaptation compensation method for infrared touch screen
CN106201064A (en) * 2016-06-24 2016-12-07 青岛海信电器股份有限公司 Touch localization method, device and touch screen
CN106681569A (en) * 2016-12-07 2017-05-17 南京仁光电子科技有限公司 Touch optimizing method and device
CN109918247A (en) * 2019-03-05 2019-06-21 广州视源电子科技股份有限公司 Detection method, device and the electronic equipment of touch screen exception jump point
CN110703937A (en) * 2019-09-03 2020-01-17 Oppo(重庆)智能科技有限公司 Abnormity detection method, abnormity detection device, storage medium and terminal equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387931B (en) * 2008-10-14 2010-10-13 贺伟 Infrared touch screen multi-point recognizing method
CN102053757B (en) * 2009-11-05 2012-12-19 上海精研电子科技有限公司 Infrared touch screen device and multipoint positioning method thereof
CN103793105A (en) * 2012-10-31 2014-05-14 中强光电股份有限公司 Touch module and operating method thereof
CN106354344B (en) * 2016-09-14 2019-04-16 青岛海信电器股份有限公司 The method and terminal device of touch location are detected in infrared touch panel
CN107489332B (en) * 2016-12-14 2020-04-24 宝沃汽车(中国)有限公司 Vehicle window control system and method and vehicle
CN110377217A (en) * 2019-06-24 2019-10-25 王浪伟 A kind of data processing method of touch screen, system and touch screen
CN111932537B (en) * 2020-10-09 2021-01-15 腾讯科技(深圳)有限公司 Object deformation detection method and device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662533A (en) * 2012-04-05 2012-09-12 深圳市森虎科技有限公司 Method for eliminating non-normal contact interference in infrared touch system
WO2014044180A1 (en) * 2012-09-18 2014-03-27 北京汇冠新技术股份有限公司 Infrared multipoint identification method, infrared multipoint identification device and infrared touchscreen
CN103744558A (en) * 2013-11-28 2014-04-23 苏州长风航空电子有限公司 Intelligent dead point recognition and self-adaptation compensation method for infrared touch screen
CN106201064A (en) * 2016-06-24 2016-12-07 青岛海信电器股份有限公司 Touch localization method, device and touch screen
CN106681569A (en) * 2016-12-07 2017-05-17 南京仁光电子科技有限公司 Touch optimizing method and device
CN109918247A (en) * 2019-03-05 2019-06-21 广州视源电子科技股份有限公司 Detection method, device and the electronic equipment of touch screen exception jump point
CN110703937A (en) * 2019-09-03 2020-01-17 Oppo(重庆)智能科技有限公司 Abnormity detection method, abnormity detection device, storage medium and terminal equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
大尺寸红外触控多点识别技术研究与设计实现;曾金金;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20160715;I135-12 *

Also Published As

Publication number Publication date
WO2022121035A1 (en) 2022-06-16
CN112445380A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
EP2283434B1 (en) Computer vision-based multi-touch sensing using infrared lasers
US8730169B2 (en) Hybrid pointing device
US20060017709A1 (en) Touch panel apparatus, method of detecting touch area, and computer product
US20100289752A1 (en) Displays for electronic devices that detect and respond to the size and/or angular orientation of user input objects
CN109753179B (en) User operation instruction processing method and handwriting reading equipment
US9330249B2 (en) Information terminal
WO2005031554A1 (en) Optical position detector
WO2010110683A2 (en) Optical imaging secondary input means
CN103744542A (en) Hybrid pointing device
CN112445380B (en) Infrared touch control method, device and all-in-one machine
JP5486977B2 (en) Coordinate input device and program
JP5655573B2 (en) Computer apparatus, input system, and program
KR20100066671A (en) Touch display apparatus
US20180059806A1 (en) Information processing device, input control method for controlling input to information processing device, and computer-readable storage medium storing program for causing information processing device to perform input control method
KR101359731B1 (en) System for recognizing touch-point using mirror
CN113126795B (en) Touch identification method of touch display device and related equipment
JP4901670B2 (en) Electronic board system
US11803273B2 (en) Touch sensor, touch pad, method for identifying inadvertent touch event and computer device
JP4401737B2 (en) Coordinate input device, control method therefor, and program
CN104679312A (en) Electronic device as well as touch system and touch method of electronic device
CN109597524B (en) Touch detection method, touch detection device and touch display device
JP2012128828A (en) Computer device, input system and program
KR102529821B1 (en) Method for detecting writing pressure and processing writing pressure in convergence touch screen panel and interactive flat panel display therefor
US20130038562A1 (en) Capacitive touch panel and recognition method and fabrication method thereof
CN112650414B (en) Touch device, touch point positioning method, module, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant