Control method of optical touch screen, optical touch screen, and storage medium

By optimizing the touch point reporting method in the optical touch screen, the initial touch point is determined based on the optical mesh breaking phenomenon and the target light is selected. The touch point is reported only when the degree of occlusion reaches the threshold, which solves the problem of the difficulty in reducing the touch height and improves the writing effect.

CN116243816BActive Publication Date: 2026-07-14EUNION CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
EUNION CO LTD
Filing Date
2022-12-30
Publication Date
2026-07-14

Smart Images

  • Figure CN116243816B_ABST
    Figure CN116243816B_ABST
Patent Text Reader

Abstract

The application discloses a control method of an optical touch screen, an optical touch screen and a storage medium. The steps of the control method of the optical touch screen comprise the following steps: when a network breaking phenomenon of a light network is triggered, determining an initial touch point based on the network breaking phenomenon; selecting a target light ray according to a touch point area corresponding to the initial touch point; when a light signal blocking degree corresponding to the target light ray is greater than or equal to a first preset threshold, performing a touch point reporting action; and when the light signal blocking degree corresponding to the target light ray is less than the first preset threshold, ignoring the initial touch point. Through the above method, the touch height of the touch screen can be effectively reduced, and the writing effect of the touch screen is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical touchscreens, and more particularly to control methods for optical touchscreens, optical touchscreens, and storage media. Background Technology

[0002] Currently, the mainstream optical touch screens on the market are mainly infrared touch screens. An infrared touch screen consists of an infrared emitter and a glass plane. The infrared emitter can emit infrared light, and many intersecting infrared light rays can form a light net covering the glass surface. When the touch object blocks the infrared light, a net-breaking phenomenon is formed, and the infrared light can locate the touch point according to the position of the net-breaking.

[0003] In the above scheme, the distance from the optical grid to the glass plane is called the touch height. The touch height has a crucial impact on the writing effect of the touch screen. The lower the touch height, the more accurate the positioning of the touch point, and the smoother the writing effect. Therefore, reducing the touch height is the most effective way to improve the writing effect. However, it is not practical to directly reduce the touch height from a physical perspective, because the glass surface will undergo a certain deformation and bulge during production. If the touch height is too low, the infrared light will be blocked by the deformation and bulge of the glass surface.

[0004] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main objective of this invention is to provide a control method for an optical touchscreen, aiming to solve the technical problem of how to reduce the touch height and improve the writing effect of the touchscreen.

[0006] To achieve the above objectives, the present invention provides a control method for an optical touchscreen, which is applied to an optical touchscreen. The control method for the optical touchscreen includes the following steps:

[0007] When the optical network is broken, the initial contact point is determined based on the broken network phenomenon;

[0008] Select the target light beam based on the contact area corresponding to the initial contact point;

[0009] When the degree of obstruction of the light signal corresponding to the target light is greater than or equal to the first preset threshold, a touch point reporting action is executed.

[0010] When the degree of obstruction of the light signal corresponding to the target light is less than the first preset threshold, the initial contact point is ignored.

[0011] Optionally, before the step of selecting the target light beam based on the contact area corresponding to the initial contact point, the method further includes:

[0012] Based on the light blocked by the initial contact point, determine all light rays whose light signal blocking degree is greater than or equal to the second preset threshold;

[0013] Based on the illumination paths of all the light rays, determine the corresponding largest polygon and the inscribed circle in the largest polygon;

[0014] The area occupied by the inscribed circle is taken as the contact area.

[0015] Optionally, the step of selecting the target light beam based on the contact area corresponding to the initial contact point includes:

[0016] Based on the center of the contact area, determine a horizontal line and a vertical line that pass through the center and are perpendicular to each other;

[0017] Obtain the angle between the light rays passing through the contact area and the horizontal and vertical horizontal lines;

[0018] The light rays with the smallest angle to the horizontal line and / or the light rays with the smallest angle to the vertical line are taken as the target light rays, wherein the number of the target light rays is within a preset range.

[0019] Optionally, before the step of performing the touch point reporting action when the degree of obstruction of the light signal corresponding to the target light is greater than or equal to a preset threshold, the method further includes:

[0020] Determine the degree of light signal obstruction corresponding to the target ray;

[0021] Determine the relationship between the light signal occlusion intensity of the target light and the first preset threshold.

[0022] Optionally, the step of determining the degree of light signal obstruction corresponding to the target light ray includes:

[0023] Obtain the initial and current signal intensity values ​​of the target light ray;

[0024] The signal blocking ratio is determined based on the initial signal strength value and the current signal strength value;

[0025] The degree of light signal occlusion is determined based on the signal occlusion ratio.

[0026] Optionally, before the step of performing the touch point reporting action when the degree of obstruction of the light signal corresponding to the target light is greater than or equal to a preset threshold, the method further includes:

[0027] Save the touch point data corresponding to each frame during the initial touch point movement process;

[0028] When the touch data of the initial touch point cannot meet the conditions for executing the touch point reporting action within a preset number of frames, the initial touch data corresponding to the first frame of the initial touch point is reported.

[0029] Optionally, the step of performing a touch point reporting action when the degree of occlusion of the light signal corresponding to the target light ray is greater than or equal to a preset threshold includes:

[0030] Based on the current contact data of the initial contact point, determine the corresponding coordinate information;

[0031] The coordinate information is reported.

[0032] Optionally, before the step of determining the initial contact point based on the mesh breakage phenomenon when the mesh breakage phenomenon is triggered, the method further includes:

[0033] The optical mesh is scanned at preset time intervals to detect whether the mesh is broken.

[0034] In addition, to achieve the above objectives, the present invention also provides an optical touch screen, the optical touch screen comprising: a memory, a processor, and an optical touch screen control program stored in the memory and executable on the processor, wherein when the processor executes the optical touch screen control program, it implements the steps of the optical touch screen control method as described above.

[0035] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium storing a control program for an optical touchscreen, wherein the control program for the optical touchscreen, when executed by a processor, implements the steps of the control method for the optical touchscreen as described above.

[0036] This invention provides a control method for an optical touchscreen. The method is applied to an optical touchscreen with an infrared light grid. When a touchable object falls to the touch height, triggering a grid breakage phenomenon, an initial touch point is determined based on this breakage. Then, a target light beam is selected based on the touch area corresponding to the initial touch point. If the obstruction degree of the light signal corresponding to the target light beam is greater than or equal to a first preset threshold, a touch point reporting action is performed. If the obstruction degree is less than the first preset threshold, the initial touch point is ignored. This method makes the touch point reporting position more accurate, avoiding situations where improper touch point reporting affects the writing effect. It not only effectively reduces the touch height of the touchscreen from a technical perspective but also improves the writing effect of the touchscreen. Attached Figure Description

[0037] Figure 1 This is a flowchart illustrating the first embodiment of the control method for the optical touchscreen of the present invention;

[0038] Figure 2 for Figure 1 A detailed flowchart illustrating the steps preceding step S20;

[0039] Figure 3 for Figure 1 A detailed flowchart of step S20;

[0040] Figure 4 This is a flowchart illustrating the second embodiment of the optical touchscreen of the present invention;

[0041] Figure 5 This is a schematic diagram showing the positional relationship between the optical mesh and the glass surface in an optical touchscreen.

[0042] Figure 6 This is a reference diagram showing the contact point falling.

[0043] Figure 7 A reference diagram for constructing the largest polygon and determining the corresponding inscribed circle;

[0044] Figure 8 This is a schematic diagram of the target ray selection in this invention;

[0045] Figure 9 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of the present invention.

[0046] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0047] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0048] Currently, the mainstream infrared touch screens on the market are mainly composed of an infrared emitter and a glass surface. The infrared emitter can emit infrared light, and numerous intersecting infrared light rays can form a light net covering the glass surface. When the touch object blocks the infrared light, a break in the net is formed, and the infrared light can locate the touch point according to the position of the break in the net.

[0049] In the above scheme, the distance from the optical grid to the glass plane is called the touch height. The touch height has a crucial impact on the writing effect of the touch screen. The lower the touch height, the more accurate the positioning of the touch point, and the smoother the writing effect. Therefore, reducing the touch height is the most effective way to improve the writing effect. However, it is not practical to directly reduce the touch height from a physical perspective, because the glass surface will undergo a certain deformation and bulge during production. If the touch height is too low, the infrared light will be blocked by the deformation and bulge of the glass surface.

[0050] From a technical perspective, reducing the touch height mainly involves changing the way touch points are reported, as referenced... Figure 6 When the touch device breaks the mesh at position 1, it can be seen that the touch device is not actually in contact with the glass surface. If the touch point of the touch device is reported at this time, it will reduce the touch writing effect. When the touch device falls to position 3, the touch device actually contacts the glass surface. To improve the writing effect, the touch point at position 3 should be reported as a valid touch point, while the touch points corresponding to positions 2 and 1 should be discarded and not reported.

[0051] To achieve accurate reporting of touch points and improve writing performance, this invention provides a control method for an optical touchscreen. This method is applied to an optical touchscreen, which has an infrared mesh. When a touchable object falls to the touch height, triggering a mesh-breaking phenomenon, the initial touch point corresponding to the touchable object is determined based on the mesh-breaking phenomenon. Then, a target light ray is selected based on the touch area corresponding to the initial touch point. When the degree of occlusion of the light signal corresponding to the target light ray is greater than or equal to a first preset threshold, a touch point reporting action is performed. When the degree of occlusion of the light signal corresponding to the target light ray is less than the first preset threshold, the initial touch point is ignored.

[0052] The following explanation, through specific exemplary solutions, clarifies the scope of protection claimed in the claims of this invention, so that those skilled in the art can better understand the scope of protection of the claims. It is understood that the following exemplary solutions do not limit the scope of protection of this invention, but are only used to explain this invention.

[0053] This invention provides a control method for an optical touchscreen, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of a control method for an optical touchscreen according to the present invention.

[0054] In this embodiment, the control method of the optical touchscreen includes:

[0055] Step S10: When the mesh breaking phenomenon is triggered, the initial contact point is determined based on the mesh breaking phenomenon.

[0056] The method of this invention is applied to an optical touchscreen, which may be an infrared touchscreen, etc. In this embodiment, the method steps of this invention are mainly described from the perspective of an infrared touchscreen. (Refer to...) Figure 5Above the glass of an infrared touchscreen, there is an infrared emitter at one end and an infrared receiver at the other. The infrared emitter emits infrared light, and the infrared receiver receives the infrared light emitted by the infrared emitter. The infrared emitter emits numerous infrared rays, which can form a light net covering the glass. The distance between the light net and the glass surface is called the touch height. When a touch object reaches the touch height, it will block part of the infrared light, which will form a net-breaking phenomenon. When the touch object triggers the net-breaking phenomenon, the initial touch point is determined based on the net-breaking phenomenon. The initial touch point is the position corresponding to the first time the touch object triggers the net-breaking. It should be noted that the initial touch point is not reported immediately.

[0057] Before performing step S10, the infrared signals constituting the optical network are scanned based on a preset time interval to detect whether there is any network breakage. Optionally, the preset time interval can be set by the R&D personnel of the infrared touch screen.

[0058] Alternatively, the touch object can be any touch device or object that can trigger the mesh breaking phenomenon, such as a stylus.

[0059] Step S20: Select the target light beam according to the contact area corresponding to the initial contact point.

[0060] In this embodiment, after determining the initial contact point, it is necessary to select the target light ray based on the contact area corresponding to the initial contact point. Before selecting the target light ray, it is still necessary to determine the contact area corresponding to the initial contact point. Specifically, refer to... Figure 2 The steps include:

[0061] Step S21: Based on the light blocked by the initial contact point, determine all light rays whose light signal blocking degree is greater than or equal to the second preset threshold.

[0062] Step S22: Based on the illumination paths of all the light rays, determine the corresponding largest polygon and the inscribed circle in the largest polygon.

[0063] Step S23: The area occupied by the inscribed circle is taken as the contact area.

[0064] In this embodiment, the infrared light emitted by the infrared emitter is cone-shaped. A portion of the infrared light is reflected by the glass surface and can be received by the infrared receiver. The initial contact point corresponding to the breaking net formed by the touch object is determined based on the infrared light blocked by the touch object as it falls. During the fall of the initial contact point, the degree of blocking of the infrared light gradually changes, and the degree of blocking of the infrared light in different directions is also different. In order to more clearly determine the effective contact point, all the light rays with a light signal blocking degree greater than or equal to a second preset threshold are determined from the light rays blocked by the initial contact point. For example, among all the infrared light rays blocked by the initial contact point, some infrared light rays are blocked to a degree of 50% or more, some are blocked to a degree of only 30%, and some are blocked to a degree of less. The infrared light rays with a higher degree of light signal blocking are closer to the area occupied by the initial contact point. Therefore, determining all the infrared light rays with a blocking degree greater than or equal to the second preset threshold from the light rays blocked by the initial contact point can more accurately determine the location of the contact point. Here we select 50% as the second preset threshold, that is, to determine all infrared light with an obstruction degree of more than 50%.

[0065] The illumination paths of infrared light rays with more than 50% obstruction are different; that is, the directions of illumination of these rays are not entirely the same. (Refer to...) Figure 7 Among these rays, the outermost infrared red line can be selected to form a largest polygon. The inscribed circle inside this largest polygon can be understood as the outline of the contact point. The area occupied by the inscribed circle also represents the location of the contact point. Taking the area occupied by the inscribed circle as the contact point area is beneficial for subsequent contact point reporting operations, that is, the reporting of valid contact points is more accurate.

[0066] Optionally, the second preset threshold can be adjusted by the R&D personnel according to the accuracy of the touch control.

[0067] Furthermore, referring to Figure 3 After determining the contact area, the steps for selecting the target light beam from the contact area include:

[0068] Step S24: Based on the center of the contact area, determine a horizontal line and a vertical line that pass through the center and are perpendicular to each other.

[0069] Step S25: Obtain the angle between the light passing through the contact area and the horizontal and vertical horizontal lines.

[0070] Step S26: Select the light ray with the smallest angle to the horizontal line and / or the light ray with the smallest angle to the vertical line as the target light ray, wherein the number of the target light rays is within a preset range.

[0071] Reference Figure 8 In this implementation, using the center of the contact area as a reference, two horizontal lines, one horizontal and one vertical, are determined that pass through the center and are perpendicular to each other. These two horizontal lines are not actually existing; they are mainly used to determine the angles formed between infrared light and these lines. Since the emission directions of infrared light are different, the angles between them and the two horizontal lines are also different. The angles between the light rays passing through the contact area and the horizontal and vertical horizontal lines are obtained. From the numerous infrared light rays passing through the contact area, the light rays with the smallest angle to the horizontal horizontal line and / or the light rays with the smallest angle to the vertical horizontal line are selected as the target light rays. This can be understood as follows: the smaller the angle between the infrared light rays and the horizontal or vertical horizontal lines, the closer they are to the center of the contact area. These infrared light rays are then selected as target light rays. The degree to which the light signal corresponding to the target light rays is blocked is then used as a criterion for judgment, allowing for a more accurate determination of whether the current contact point is a valid contact point. Figure 8 In the diagram, the two dashed lines represent the vertical and horizontal horizontal lines, respectively, while the other three solid lines represent the target light selected from a large number of infrared rays.

[0072] It should be noted that the number of target rays is within a preset range. In this invention, the preset range is specified as 3 to 5 rays. Therefore, the number of target rays selected can be 3, 4, or 5. Optionally, the specific number of target rays can be adjusted according to the accuracy requirements, which is not limited here.

[0073] Step S30: When the degree of occlusion of the light signal corresponding to the target light is greater than or equal to the first preset threshold, the touch point reporting action is executed.

[0074] In this embodiment, after determining the target ray, the degree of occlusion of the corresponding light signal is used as the criterion. Specifically, the initial signal intensity and current signal intensity of the target ray are obtained. The occlusion ratio is obtained by subtracting the current signal intensity from the initial signal intensity and then dividing the resulting value by the initial signal intensity. This occlusion ratio represents the degree to which the infrared light signal is blocked. After determining the occlusion ratio, the relationship between the occlusion ratio and a first preset threshold is determined. For example, the first preset threshold here is 90%. When the occlusion ratio of all selected target rays is greater than or equal to 90%, it can be considered that the contact point has completely landed, and the contact point reporting action can be performed. When performing the contact point reporting action, the coordinate information of the current contact point is reported.

[0075] It should be noted that in this invention, the first preset threshold is greater than the second preset threshold. The terms "first" and "second" are only used to distinguish the preset thresholds and do not limit the size of the preset thresholds.

[0076] Optionally, the specific values ​​of the first preset threshold and the second preset threshold can be adjusted by the R&D personnel.

[0077] Step S40: When the degree of light signal occlusion corresponding to the target light is less than the first preset threshold, the initial contact point is ignored.

[0078] In this embodiment, when the degree of obstruction of the light signal of the target light is less than the first preset threshold, it can be understood that the contact point has not completely fallen at this time. Therefore, it is not necessary to report the contact point, so the initial contact point is ignored and no reporting operation is performed.

[0079] In this embodiment, by selecting a target light source in the touch area and determining the degree to which the target light source is blocked, it is determined whether the touch point completely falls on the glass surface of the touchscreen. Then, it is further determined whether to report the touch point data corresponding to the touch point. This method makes the reported touch point position more accurate, avoiding situations where improper touch point reporting affects the writing effect. It not only effectively reduces the touch height of the touchscreen but also improves the writing effect of the touchscreen.

[0080] Furthermore, refer to Figure 4 Before step S30, the following steps are also included:

[0081] Step S50: Save the touch data corresponding to each frame during the initial touch point movement process.

[0082] Step S60: When the touch data of the initial touch point cannot meet the conditions for executing the touch point reporting action within a preset number of frames, the initial touch data corresponding to the first frame of the initial touch point is reported.

[0083] In this embodiment, another scheme for reporting the contact point is described. When the contact point causes a mesh breakage phenomenon, the data of the initial contact point is saved. Then, the contact point data corresponding to each frame during the movement of the contact point is saved. If the contact point data of the initial contact point for 20 consecutive frames does not meet the conditions for performing the contact point reporting operation, it proves that the movement trajectory of the contact point at this time may be as it is. Then, the contact point data of the first frame of the initial contact point is reported. That is, the reported contact point is the initial contact point corresponding to the mesh breakage phenomenon.

[0084] In this embodiment, an alternative solution for contact reporting is provided to avoid situations where no contact is reported because the contact data does not meet the contact reporting conditions, thus making the technical solution for contact reporting more complete.

[0085] Reference Figure 9 , Figure 9 This is a schematic diagram of the structure of an optical touch screen device in the hardware operating environment of an embodiment of the present invention.

[0086] like Figure 9 As shown, the optical touchscreen device may include: a processor 1001, such as a central processing unit.

[0087] The system includes a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory.

[0088] The memory (Non-Volatile Memory, NVM), such as a disk storage device, may also be an optional storage device independent of the aforementioned processor 1001.

[0089] Those skilled in the art will understand that Figure 9 The structure shown does not constitute a limitation on optical touchscreens and may include more or fewer components than shown, or combine certain components, or have different 5-component arrangements.

[0090] like Figure 9 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and a control program for an optical touchscreen.

[0091] exist Figure 1 In the optical system shown, the network interface 1004 is mainly used for data communication with other devices;

[0092] User interface 1003 is mainly used for data interaction with users; the processor 01001 and memory 1005 in the optical touch screen of this invention can be set in the optical touch screen, and the optical touch screen is connected through processor 1001.

[0093] The program for the optical touchscreen stored in memory 1005 is invoked, and the following steps are performed:

[0094] When the optical network is broken, the initial contact point is determined based on the broken network phenomenon;

[0095] Select the target light beam based on the contact area corresponding to the initial contact point;

[0096] When the degree of obstruction of the light signal corresponding to the target light is greater than or equal to the first preset threshold, the 5-line contact reporting action is executed.

[0097] When the degree of obstruction of the light signal corresponding to the target light is less than the first preset threshold, the initial contact point is ignored.

[0098] Furthermore, the processor 1001 can call the optical touchscreen control stored in the memory 1005.

[0099] The program also performs the following operations:

[0100] 0. Based on the light blocked by the initial contact point, determine all light rays whose light signal blocking degree is greater than or equal to the second preset threshold;

[0101] Based on the illumination paths of all the light rays, determine the corresponding largest polygon and the inscribed circle in the largest polygon;

[0102] The area occupied by the inscribed circle is taken as the contact area.

[0103] Furthermore, the processor 1001 can call the control program of the optical touchscreen stored in the memory 1005 and also perform the following operations:

[0104] Based on the center of the contact area, determine a horizontal line and a vertical line that pass through the center and are perpendicular to each other;

[0105] Obtain the angle between the light rays passing through the contact area and the horizontal and vertical horizontal lines;

[0106] The light rays with the smallest angle to the horizontal line and / or the light rays with the smallest angle to the vertical line are taken as the target light rays, wherein the number of the target light rays is within a preset range.

[0107] Furthermore, the processor 1001 can call the control program of the optical touchscreen stored in the memory 1005 and also perform the following operations:

[0108] Determine the degree of light signal obstruction corresponding to the target ray;

[0109] Determine the relationship between the light signal occlusion intensity of the target light and the first preset threshold.

[0110] Furthermore, the processor 1001 can call the control program of the optical touchscreen stored in the memory 1005 and also perform the following operations:

[0111] Obtain the initial and current signal intensity values ​​of the target light ray;

[0112] The signal blocking ratio is determined based on the initial signal strength value and the current signal strength value;

[0113] The degree of light signal occlusion is determined based on the signal occlusion ratio.

[0114] Furthermore, the processor 1001 can call the control program of the optical touchscreen stored in the memory 1005 and also perform the following operations:

[0115] Save the touch point data corresponding to each frame during the initial touch point movement process;

[0116] When the touch data of the initial touch point cannot meet the conditions for executing the touch point reporting action within a preset number of frames, the initial touch data corresponding to the first frame of the initial touch point is reported.

[0117] Furthermore, the processor 1001 can call the control program of the optical touchscreen stored in the memory 1005 and also perform the following operations:

[0118] Based on the current contact data of the initial contact point, determine the corresponding coordinate information;

[0119] The coordinate information is reported.

[0120] Optionally, before the step of determining the initial contact point based on the mesh breakage phenomenon when the mesh breakage phenomenon is triggered, the method further includes:

[0121] The optical mesh is scanned at preset time intervals to detect whether the mesh is broken.

[0122] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0123] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0124] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0125] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A control method for an optical touchscreen, characterized in that, The control method for an optical touchscreen includes the following steps: When the optical network is broken, the initial contact point is determined based on the broken network phenomenon; Based on the light blocked by the initial contact point, determine all light rays whose light signal blocking degree is greater than or equal to the second preset threshold; Based on the illumination paths of all the light rays, determine the corresponding largest polygon and the inscribed circle in the largest polygon; The area occupied by the inscribed circle is taken as the contact area; Based on the center of the contact area, determine a horizontal line and a vertical line that pass through the center and are perpendicular to each other; Obtain the angle between the light rays passing through the contact area and the horizontal and vertical horizontal lines; The light rays with the smallest angle to the horizontal line and / or the light rays with the smallest angle to the vertical line are used as target rays, wherein the number of target rays is within a preset range. When the degree of obstruction of the light signal corresponding to the target light is greater than or equal to the first preset threshold, a touch point reporting action is executed. When the degree of obstruction of the light signal corresponding to the target light is less than the first preset threshold, the initial contact point is ignored.

2. The control method for an optical touchscreen as described in claim 1, characterized in that, Before the step of performing the touch point reporting action when the degree of occlusion of the light signal corresponding to the target light is greater than or equal to a preset threshold, the method further includes: Determine the degree of light signal obstruction corresponding to the target ray; Determine the relationship between the light signal occlusion intensity of the target light and the first preset threshold.

3. The control method for an optical touchscreen as described in claim 2, characterized in that, The step of determining the degree of light signal obstruction corresponding to the target light ray includes: Obtain the initial and current signal intensity values ​​of the target light ray; The signal blocking ratio is determined based on the initial signal strength value and the current signal strength value; The degree of light signal occlusion is determined based on the signal occlusion ratio.

4. The control method for an optical touchscreen as described in claim 1, characterized in that, Before the step of performing the touch point reporting action when the degree of occlusion of the light signal corresponding to the target light is greater than or equal to a preset threshold, the method further includes: Save the touch point data corresponding to each frame during the initial touch point movement process; When the touch data of the initial touch point cannot meet the conditions for executing the touch point reporting action within a preset number of frames, the initial touch data corresponding to the first frame of the initial touch point is reported.

5. The control method for an optical touchscreen as described in claim 1, characterized in that, The step of performing a touch point reporting action when the degree of occlusion of the light signal corresponding to the target light is greater than or equal to a preset threshold includes: Based on the current contact data of the initial contact point, determine the corresponding coordinate information; The coordinate information is reported.

6. The control method for an optical touchscreen as described in claim 1, characterized in that, Before the step of determining the initial contact point based on the mesh breaking phenomenon when the optical mesh is triggered, the method further includes: The optical mesh is scanned at preset time intervals to detect whether the mesh is broken.

7. An optical touchscreen, characterized in that, The optical touchscreen includes: a memory, a processor, and a control program for the optical touchscreen stored in the memory and executable on the processor, wherein the control program for the optical touchscreen is configured to implement the steps of the control method for the optical touchscreen as described in any one of claims 1 to 6.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a control program for an optical touchscreen, which, when executed by a processor, implements the steps of the control method for an optical touchscreen as described in any one of claims 1 to 6.