Infrared touch device and method for determining position of touch point of infrared touch device

By combining touch areas in different directions in infrared touch devices to determine the target touch areas, the problem of large and time-consuming calculations in the prior art is solved, and faster touch response and better user experience are achieved.

CN119493495AActive Publication Date: 2025-02-21HISENSE COMML DISPLAY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311037855.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-17
Publication Date
2025-02-21
Estimated Expiration
2043-08-17

AI Technical Summary

Technical Problem

The prior art determines the position of the touch point of the infrared touch device, and takes a long time.

Method used

By setting equally or unequally spaced infrared emitters and infrared receivers in infrared touch devices, the processor acquires touch areas in different directions in one scan period, and combines and processes touch areas in different directions to determine the target touch and determine the position information of the touch point based on these target touch areas.

Benefits of technology

Reduces the calculation and time-consuming process of determining the position of the touch point, and improves touch response speed and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119493495A_ABST
    Figure CN119493495A_ABST
Patent Text Reader

Abstract

The embodiment of the invention belongs to the technology of infrared touch equipment, and provides infrared touch equipment and a method for determining the position of a touch point of the infrared touch equipment, an infrared transmitting tube transmits infrared light to form a light path, and an infrared receiving tube receives the infrared light transmitted by the infrared transmitting tube. The processor obtains a first touch area and a second touch area of the touch point in the scanning direction of at least one infrared transmitting tube and at least one infrared receiving tube in the first direction and obtains a third touch area and a fourth touch area of the touch point in the scanning direction of at least one infrared transmitting tube and at least one infrared receiving tube in the second direction in one scanning period. Performing merging processing on the touch areas in the first direction to determine a first target touch area, performing merging processing on the touch areas in the second direction to determine a second target touch area, and determining position information of a touch point according to the first target touch area and the second target touch area, therefore, the calculation amount and time consumption in the process of determining the position of the touch point are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of infrared touch devices, and more specifically, to an infrared touch device and a method for determining a touch point position of the infrared touch device. Background Art

[0002] With the continuous advancement of science and technology, the arrangement of infrared emitting tubes in infrared touch devices has also developed from densely arranged with equal spacing to unequal spacing or large spacing. In order to improve the touch response speed of such infrared touch devices, it becomes particularly important to quickly locate the touch points on the screen.

[0003] In the prior art, when determining the position of a touch point, the touch area is usually determined based on the blocked light paths in the first direction and the second direction in the scanning direction mainly based on the infrared emitting tube, and then the position information of the touch point is determined based on the light intensity of the blocked light paths. In the prior art, for a specific infrared emitting tube, each angle corresponding to the n light paths emitted by it is called a scanning direction.

[0004] However, the process of determining the touch point position in the prior art requires a large amount of calculation and is time-consuming. Summary of the invention

[0005] The embodiments of the present application provide an infrared touch device and a method for determining a touch point position of the infrared touch device, which are used to solve the problem that the process of determining the touch point position in the prior art has a large amount of calculation and is time-consuming.

[0006] In a first aspect, an embodiment of the present application provides an infrared touch device, including: an infrared transmitting tube, an infrared receiving tube and a processor;

[0007] The infrared transmitting tubes are arranged at equal or unequal intervals, and the infrared receiving tubes are arranged at equal or unequal intervals;

[0008] The infrared emitting tube is configured to: emit infrared light to form a light path, and the light path formed by one infrared emitting tube is a set of light paths in a scanning direction;

[0009] The infrared receiving tube is connected to the infrared emitting tube, and the infrared receiving tube is configured to: receive the infrared light emitted by the infrared emitting tube, and the light path received by one infrared receiving tube is a set of light paths in a scanning direction;

[0010] The processor is connected to the infrared transmitting tube and the infrared receiving tube respectively, and the processor is configured as follows:

[0011] In one scanning cycle, respectively obtain a first touch area of ​​the touch point in the first direction, in the scanning direction of at least one infrared transmitting tube, and a second touch area of ​​the touch point in the scanning direction of at least one infrared receiving tube, and respectively obtain a third touch area of ​​the touch point in the second direction, in the scanning direction of at least one infrared transmitting tube, and a fourth touch area of ​​the touch point in the scanning direction of at least one infrared receiving tube;

[0012] Merging the first touch area and the second touch area in the first direction to determine a first target touch area of ​​the touch point in the first direction;

[0013] Merging the third touch area and the fourth touch area in the second direction to determine a second target touch area of ​​the touch point in the second direction;

[0014] The position information of the touch point is determined according to the first target touch area and the second target touch area.

[0015] The present application combines the touch areas in the first direction and the second direction to obtain the first target touch area and the second target touch area, and then determines the position information of the touch point according to the first target touch area and the second target touch area, thereby reducing the amount of calculation in the process of determining the touch point position and reducing the time consumption.

[0016] In some embodiments of the present application, the processor is further configured to:

[0017] In the first touch area, recording identification information of light paths blocked by the touch point to obtain a first set of light paths blocked by the first touch area;

[0018] In the second touch area, recording identification information of the light paths blocked by the touch point to obtain a second set of light paths blocked in the second touch area;

[0019] In the third touch area, recording identification information of the light paths blocked by the touch point, to obtain a third set of light paths blocked in the third touch area;

[0020] In the fourth touch area, identification information of the light paths blocked by the touch point is recorded to obtain a fourth set of light paths blocked in the fourth touch area.

[0021] The present application obtains a set of blocked light paths in different touch areas in different directions, thereby facilitating the determination of a first target touch area in multiple touch areas in a first direction and a second target touch area in multiple touch areas in a second direction based on the blocked light paths in each set.

[0022] In some embodiments of the present application, when the processor is configured to merge the first touch area and the second touch area in the first direction to determine the first target touch area of ​​the touch point in the first direction, the processor is specifically configured as follows:

[0023] If the blocked light paths in the first set are a true subset of the blocked light paths in the second set, the first touch area is deleted, and the second touch area is determined as a first target touch area of ​​the touch point in the first direction;

[0024] If the blocked light paths in the second set are a true subset of the blocked light paths in the first set, the second touch area is deleted, and the first touch area is determined as the first target touch area of ​​the touch point in the first direction.

[0025] The present application determines the first target touch area by comparing the relationship between the blocked light paths in the first set and the blocked light paths in the second set in the first direction, so that only the first target touch area participates in the subsequent touch point position determination, reducing the amount of calculation and time consumption.

[0026] In some embodiments of the present application, the processor is further configured to:

[0027] If the blocked light paths in the first set are the same as the blocked light paths in the second set, deleting the first touch area, and determining the second touch area as the first target touch area of ​​the touch point in the first direction;

[0028] Alternatively, the second touch area is deleted, and the first touch area is determined as the first target touch area of ​​the touch point in the first direction.

[0029] In the present application, if the blocked light path in the first set is the same as the blocked light path in the second set, the touch area corresponding to one of the sets is retained, and only this touch area is involved in the subsequent touch point position determination to reduce the amount of calculation and time consumption.

[0030] In some embodiments of the present application, when the processor is configured to merge the third touch area and the fourth touch area in the second direction to determine the second target touch area of ​​the touch point in the second direction, the processor is specifically configured as follows:

[0031] If the blocked light paths in the third set are a true subset of the blocked light paths in the fourth set, the third touch area is deleted, and the fourth touch area is determined as a second target touch area of ​​the touch point in the second direction;

[0032] If the blocked light paths in the fourth set are a true subset of the blocked light paths in the third set, the fourth touch area is deleted, and the third touch area is determined as a second target touch area of ​​the touch point in the second direction.

[0033] The present application determines the second target touch area by comparing the relationship between the blocked light paths in the third set and the blocked light paths in the fourth set in the second direction, so that only the second target touch area participates in the subsequent touch point position determination, reducing the amount of calculation and time consumption.

[0034] In some embodiments of the present application, the processor is further configured to:

[0035] If the blocked light paths in the third set are the same as the blocked light paths in the fourth set, deleting the third touch area, and determining the fourth touch area as a second target touch area of ​​the touch point in the second direction;

[0036] Alternatively, the fourth touch area is deleted, and the third touch area is determined as the second target touch area of ​​the touch point in the second direction.

[0037] In the present application, if the blocked light path in the third set is the same as the blocked light path in the fourth set, the touch area corresponding to one of the sets is retained, and only this touch area is involved in the subsequent touch point position determination to reduce the amount of calculation and time consumption.

[0038] In some embodiments of the present application, when the processor is configured to determine the position information of the touch point according to the first target touch area and the second target touch area, it is specifically configured as follows:

[0039] determining vertex information and area information of a circumscribed polygon formed by the touch point according to the light intensity of the light path in the first target touch area and the light intensity of the light path in the second target touch area;

[0040] Coordinate conversion processing is performed on the vertex information and the area information to determine the position information of the touch point.

[0041] The present application reduces the amount of calculation and improves the determination efficiency in the process of determining the touch point position according to the light intensity of the light path of the first target touch area and the second target touch area.

[0042] In a second aspect, an embodiment of the present application provides a method for determining a touch point position of an infrared touch device, the method comprising:

[0043] The processor obtains, in one scanning cycle, a first touch area of ​​the touch point in the first direction, in the scanning direction of at least one infrared transmitting tube, and a second touch area of ​​the touch point in the scanning direction of at least one infrared receiving tube, and obtains a third touch area of ​​the touch point in the second direction, in the scanning direction of at least one infrared transmitting tube, and a fourth touch area of ​​the touch point in the scanning direction of at least one infrared receiving tube;

[0044] The processor merges the first touch area and the second touch area in the first direction to determine a first target touch area of ​​the touch point in the first direction;

[0045] The processor combines the third touch area and the fourth touch area in the second direction to determine a second target touch area of ​​the touch point in the second direction;

[0046] The processor determines the position information of the touch point according to the first target touch area and the second target touch area.

[0047] In the present application, the processor merges the touch areas in the first direction and the second direction respectively, determines a first target touch area from at least two touch areas in the first direction and determines a second target touch area from at least two touch areas in the second direction, and then determines the position information of the touch point according to the first target touch area and the second target touch area, thereby reducing the amount of calculation in the process of determining the touch point position and reducing the time consumption.

[0048] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having computer-executable instructions stored thereon. When the computer-executable instructions are executed by a processor, the method for determining a touch point position of an infrared touch device described in the second aspect is implemented.

[0049] The present application provides a computer-readable storage medium to provide storage conditions for executing a method for determining a touch point position of an infrared touch device.

[0050] In a fourth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method for determining a touch point position of an infrared touch device described in the second aspect.

[0051] The present application provides a computer program product that provides an operating program for executing a method for determining a touch point position of an infrared touch device. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the implementation methods in the embodiments of the present application or the related technologies, the following is a brief introduction to the drawings required for use in the embodiments or the related technology descriptions. Obviously, the drawings described below are some embodiments of the present application, and a person skilled in the art can also obtain other drawings based on these drawings.

[0053] Figure 1 A schematic diagram of the structure of an infrared touch screen provided in this application;

[0054] Figure 2A A schematic diagram of a long side scanning direction provided in an embodiment of the present application;

[0055] Figure 2B A schematic diagram of another scanning direction of a long side provided in an embodiment of the present application;

[0056] Figure 2C A schematic diagram of a short-side scanning direction provided in an embodiment of the present application;

[0057] Figure 2D A schematic diagram of another scanning direction of a short side provided in an embodiment of the present application;

[0058] Figure 3 A schematic diagram of a touch area provided in this application;

[0059] Figure 4 A schematic diagram of determining touch point position information using a prior art technique provided by the present application;

[0060] Figure 5 A schematic diagram of the structure of an infrared touch device provided in an embodiment of the present application;

[0061] Figure 6 A schematic diagram of an infrared touch device with infrared transmitting tubes / infrared receiving tubes arranged at unequal intervals or at very large intervals provided in an embodiment of the present application;

[0062] Fig. 7A A schematic diagram of a scanning direction provided in an embodiment of the present application;

[0063] Figure 7B A schematic diagram of another scanning direction provided in an embodiment of the present application;

[0064] Fig. 8A A schematic diagram of a touch area provided in an embodiment of the present application;

[0065] Figure 8B A schematic diagram of another touch area provided in an embodiment of the present application;

[0066] Fig. 9A schematic flow chart of a method for determining a first target touch area of ​​a touch point in a first direction provided by an embodiment of the present application;

[0067] Fig. 10A A schematic diagram of a first target touch area in a first direction provided by an embodiment of the present application;

[0068] Fig. 10B A schematic diagram of a first target touch area in a first direction provided in another embodiment of the present application;

[0069] Fig. 10C A schematic diagram of a first target touch area in a first direction provided in another embodiment of the present application;

[0070] Fig.11 A schematic flow chart of a method for determining a first target touch area of ​​a touch point in a second direction provided by an embodiment of the present application;

[0071] Fig.12 A schematic diagram of a flow chart of a method for determining a touch point position of an infrared touch device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0072] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0073] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.

[0074] In addition, the terms "include" and "have" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to those components expressly listed but may include other components not expressly listed or inherent to such products or devices.

[0075] The terms "first", "second", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise indicated. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, for example, they can be implemented in an order other than those given in the diagrams or descriptions of the embodiments of this application.

[0076] In addition, the terms "include" and "have" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to those components expressly listed but may include other components not expressly listed or inherent to such products or devices.

[0077] The term "module" as used in this application refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0078] With the development of science and technology and users' pursuit of convenient life, touch screens are increasingly used in daily life. This application takes an infrared touch screen as an example. As an electronic system, it detects the touch in the display area to achieve the result of the user expressing the expected idea, action or purpose, simplifies the human-computer interaction method, and has many advantages such as strong environmental adaptability, longer life, and identifiable touch points.

[0079] like Figure 1 As shown, Figure 1 The schematic diagram of the structure of an infrared touch screen provided by the present application is shown in FIG. The infrared touch screen generally has an outer frame installed in front of the display screen, and a circuit board is arranged in the outer frame, which is composed of a long-side transmitting side, a long-side receiving side, a short-side transmitting side, and a short-side receiving side. There are a number of infrared transmitting tubes 101 on the transmitting side, and correspondingly, there are a number of infrared receiving tubes 102 on the receiving side. The infrared touch screen usually adopts a one-to-many method for reception, that is, one infrared transmitting tube and multiple infrared receiving tubes opposite to it can receive at the same time, thereby forming an optical network, and judging the touch behavior according to the light intensity of the optical path of the optical network under the conditions of touch and no touch.

[0080] In recent years, with the continuous advancement of science and technology, the arrangement of infrared emitting tubes in infrared touch devices has also changed. The distance between the infrared emitting tubes is getting larger and larger, the number is getting smaller and smaller, the number of light paths emitted by each infrared emitting tube is increasing, and in order to ensure the density and uniformity of the light network, the arrangement of infrared emitting tubes has developed from equal spacing to unequal spacing. Therefore, in order to improve the touch response speed of such infrared touch devices, it is particularly important to quickly locate the touch point on the screen.

[0081] In the prior art, when determining the position of a touch point, the touch area is usually determined based on the blocked light paths in the first direction and the second direction in the scanning direction mainly based on the infrared emitting tube, and then the position information of the touch point is determined based on the light intensity of the blocked light paths. In the prior art, for a specific infrared emitting tube, each angle corresponding to the n light paths emitted by it is called a scanning direction.

[0082] For example, take 1 infrared emitting tube corresponding to multiple infrared receiving tubes, i.e. 1 to n (n ≥ 1) as an example. For a specific infrared emitting tube, each angle of the n light paths corresponding to it is called a scanning direction. Therefore, the 1 to n scanning method will have n scanning directions, and each scanning direction is composed of a group of parallel light paths with the same slope. Figures 2A-2D As shown, Figure 2A A schematic diagram of a long side scanning direction provided in an embodiment of the present application, Figure 2B A schematic diagram of another scanning direction of a long side provided in an embodiment of the present application, Figure 2C A schematic diagram of a short-side scanning direction provided in an embodiment of the present application, Figure 2D A schematic diagram of another scanning direction of a short side provided in an embodiment of the present application.

[0083] For a specific scanning direction in the prior art, a group of parallel scanning light paths corresponds to the touch screen. When the touch screen is touched, the touch point will block a number of consecutive parallel light paths. These consecutive blocked light paths are called a scanning area under this scanning direction, such as Figure 3 As shown, Figure 3 A schematic diagram of a touch area provided in this application. Figure 3 In the figure, the dotted line represents the blocked light path. We define the first blocked light path in the continuous blocked light paths as the starting boundary L1 of the touch area, and the last blocked light path as the ending boundary L2. The order of the starting boundary L1 and the ending boundary L2 can be customized.

[0084] For example, Figure 4 A schematic diagram of determining touch point position information in the prior art provided by the present application is shown in FIG. Figure 4 As shown, the touch area formed in the scanning direction of the infrared emitting tube T1 in the first direction (X direction) is A, the touch area formed in the scanning direction of the infrared emitting tube T2 is B, and the touch area formed in the scanning direction of the infrared emitting tube T3 in the second direction (Y direction) is C. When determining the position of the touch point, firstly, the intersection area in the first direction is determined according to the touch area A and the touch area B, and then the circumscribed multi-area area of ​​the touch point is determined according to the intersection area and the touch area C in the second direction, and finally the position information of the touch point is determined according to the light intensity of the light path blocked by each touch area.

[0085] However, the prior art only determines the touch point position according to the touch area of ​​the infrared emitting tube, and the process of determining the touch point position requires a large amount of calculation and is time-consuming.

[0086] Therefore, in view of the above technical problems in the prior art, the present application proposes an infrared touch device and a method for determining the touch point position of the infrared touch device, wherein the infrared touch device includes infrared transmitting tubes arranged at equal or unequal intervals, infrared receiving tubes arranged at equal or unequal intervals, and a processor. Among them, the infrared transmitting tube is used to emit infrared light to form an optical path, and the infrared receiving tube is used to receive the infrared light emitted by the infrared transmitting tube. The processor is used to obtain the touch area in the scanning direction of at least one infrared transmitting tube and the touch area in the scanning direction of at least one infrared receiving tube in different directions within a scanning cycle, and then determine the target touch area in different directions according to the belonging relationship between the blocked optical paths in different touch areas in different directions, and determine the position information of the touch point according to the determined target touch area in different directions, thereby reducing the amount of calculation and time consumption in the process of determining the touch point position.

[0087] The application scenario of the present application can be to determine the position of a touch point on an electronic device with an infrared touch function. The electronic device can be a navigation machine in a shopping mall, a television, an automatic teller machine (ATM) in a bank, a vending machine on the street, a lending machine in a library, a conference machine used in meetings, an electronic whiteboard used in schools, and other equipment.

[0088] It is understood that the infrared touch device proposed in this application includes but is not limited to the above devices, and the above devices are not used as a limitation to this application. In addition, this application does not limit the type, size, specifications, etc. of specific electronic devices.

[0089] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0090] Figure 5 A schematic diagram of the structure of an infrared touch device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the infrared touch device includes an infrared transmitting tube 501 , an infrared receiving tube 502 and a processor 503 .

[0091] In the present application, the distance between the infrared emitting tubes 501 can be set to be equal spacing or unequal spacing, and correspondingly, the distance between the infrared receiving tubes 502 can also be set to be equal spacing or unequal spacing.

[0092] In this embodiment, the infrared transmitting tube 501 and the infrared receiving tube 502 in the infrared touch device are arranged with unequal intervals as an example for description.

[0093] For example, Figure 6 As shown, Figure 6 A schematic diagram of an infrared touch device with infrared transmitting tubes / infrared receiving tubes arranged at unequal intervals or with extremely large intervals provided in an embodiment of the present application, Figure 6 The arrangement of the infrared emitting tubes 501 and the infrared receiving tubes 502 on the short side is the same as that on the long side, so they are not shown. In this embodiment, the super-large spacing can be a spacing of 10 mm or more between the two infrared emitting tubes.

[0094] The connection relationship is:

[0095] The processor 503 is connected to the infrared receiving tube 502 and the infrared emitting tube 501 respectively, and the infrared receiving tube 502 is connected to the infrared emitting tube 501 .

[0096] Its functions are:

[0097] The infrared emitting tube 501 is configured to emit infrared light to form an optical path. The optical path formed by one infrared emitting tube 501 is a set of optical paths in a scanning direction.

[0098] The infrared receiving tube 502 is configured to receive the infrared light emitted by the infrared emitting tube 501 . The light path received by one infrared receiving tube 502 is a set of light paths in a scanning direction.

[0099] In order to facilitate understanding of this embodiment, the scanning direction involved in this embodiment is first described. Fig. 7A A schematic diagram of a scanning direction provided in an embodiment of the present application, such as Fig. 7A As shown: for an infrared touch screen in which the infrared emitting tubes 501 are arranged at unequal intervals, a pair of n (n≥1) light paths emitted by each infrared emitting tube 501 is called a scanning direction. The number n of light paths emitted by each infrared emitting tube 501 may be the same or different.

[0100] Figure 7B A schematic diagram of another scanning direction provided in an embodiment of the present application, such as Figure 7B As shown: for an infrared touch screen in which the infrared receiving tubes 502 are arranged at unequal intervals, a pair of m (m≥1) light paths received by each infrared receiving tube is called a scanning direction. The number m of light paths received by each infrared receiving tube 502 may be the same or different.

[0101] The processor 503 is configured to:

[0102] In one scanning cycle, the first touch area of ​​the touch point in the first direction, the first touch area in the scanning direction of at least one infrared transmitting tube 501, and the second touch area in the scanning direction of at least one infrared receiving tube 502 are acquired respectively; and the third touch area of ​​the touch point in the second direction, the first touch area in the scanning direction of at least one infrared transmitting tube 501, and the fourth touch area in the scanning direction of at least one infrared receiving tube 502 are acquired respectively.

[0103] In this embodiment, the processor 503 may also be a controller, a main control chip, or an operating system, etc., and this application does not limit its type.

[0104] When a user touches the display screen of the infrared touch screen with a touch pen or a finger, the processor 503 generates a touch point in response to the user's touch operation.

[0105] To facilitate understanding of this embodiment, the touch area involved in this embodiment is described below. Fig. 8A A schematic diagram of a touch area provided in an embodiment of the present application, such as Fig. 8A As shown:

[0106] For one of the infrared emitting tubes 501, all the light paths emitted by the infrared emitting tube 501 are a set of light paths in a scanning direction, and the light paths in a scanning direction are non-parallel light paths. When there is a touch in the infrared touch screen, the touch point will block a number of consecutive non-parallel light paths. These consecutive blocked light paths, together with the previous unblocked light path of the first blocked light path (if there is no previous light path, it is the first blocked light path in the current direction) and the next unblocked light path of the last blocked light path (if there is no next light path, it is the last blocked light path in the current direction), are collectively called a scanning area D in this scanning direction. Fig. 8A In the figure, the dotted line represents the blocked light path, the thick solid line represents the unblocked light path before the first blocked light path, and the unblocked light path after the last blocked light path, wherein the first thick solid line is the starting boundary L1 of the touch area, and the second thick solid line is the ending boundary L2 of the touch area, and the order of the starting boundary L1 and the ending boundary L2 can be customized.

[0107] Accordingly, Figure 8B A schematic diagram of another touch area provided in an embodiment of the present application is shown in FIG. Figure 8B As shown, for one of the infrared receiving tubes 502, all the light paths received by the infrared receiving tube 502 are a set of light paths in one scanning direction, and the light paths in one scanning direction are non-parallel light paths. Fig. 8A The method is the same as in , and will not be repeated to avoid redundancy. Figure 8BIn the figure, the dotted line represents the blocked light path, the thick solid line represents the unblocked light path before the first blocked light path, and the unblocked light path after the last blocked light path, wherein the first thick solid line is the starting boundary L1 of the touch area, and the second thick solid line is the ending boundary L2 of the touch area.

[0108] After acquiring different touch areas, the processor 503 may also acquire a set of light paths blocked by each touch area.

[0109] In a possible implementation, the processor 503 records the identification information of the light paths blocked by the touch points in the first touch area, thereby obtaining a first set of light paths blocked in the first touch area. In the second touch area, the processor 503 records the identification information of the light paths blocked by the touch points, thereby obtaining a second set of light paths blocked in the second touch area. In the third touch area, the processor 503 records the identification information of the light paths blocked by the touch points, thereby obtaining a third set of light paths blocked in the third touch area. In the fourth touch area, the processor 503 records the identification information of the light paths blocked by the touch points, thereby obtaining a fourth set of light paths blocked in the fourth touch area.

[0110] The processor 503 is further configured to:

[0111] Merge the first touch area and the second touch area in the first direction to determine a first target touch area of ​​the touch point in the first direction. Merge the third touch area and the fourth touch area in the second direction to determine a second target touch area of ​​the touch point in the second direction;

[0112] The position information of the touch point is determined according to the first target touch area and the second target touch area.

[0113] One possible implementation is:

[0114] According to the light intensity of the light path in the first target touch area and the light intensity of the light path in the second target touch area, the vertex information and area information of the circumscribed polygon formed by the touch point are determined, the vertex information and the area information are coordinate transformed, the position information of the touch point is determined, and the position information is uploaded to a preset module or preset device.

[0115] It should be noted that the function of the processor in this embodiment is also applicable to the scenario where the infrared transmitting tubes and the infrared receiving tubes are arranged at equal intervals.

[0116] In the above embodiment of the present application, the infrared touch device includes infrared emitting tubes 501 arranged at equal or unequal intervals, infrared receiving tubes 502 arranged at equal or unequal intervals, and a processor 503. Among them, the infrared emitting tube 501 is used to emit infrared light to form an optical path, and the optical path formed by one infrared emitting tube 501 is a set of optical paths in a scanning direction. The infrared receiving tube 502 is used to receive infrared light emitted by the infrared emitting tube 501, and the optical path received by one infrared receiving tube 502 is a set of optical paths in a scanning direction. The processor 503 is used to obtain, in a scanning cycle, the first touch area of ​​the touch point in the first direction, the first touch area in the scanning direction of at least one infrared emitting tube 501, the second touch area in the scanning direction of at least one infrared receiving tube 502, and, in the second direction, the third touch area in the scanning direction of at least one infrared emitting tube 501, and the fourth touch area in the scanning direction of at least one infrared receiving tube 502. It is also used to merge the first touch area and the second touch area in the first direction to determine the first target touch area of ​​the touch point in the first direction, and to merge the third touch area and the fourth touch area in the second direction to determine the second target touch area of ​​the touch point in the second direction. Finally, the position information of the touch point is determined based on the first target touch area and the second target touch area, thereby reducing the amount of calculation and time consumption in the process of determining the touch point position.

[0117] Further, based on the above embodiments, Fig. 9 , the process of merging the first touch area and the second touch area in the first direction involved in the above embodiment to determine the first target touch area of ​​the touch point in the first direction is described.

[0118] Fig. 9 A flowchart of a method for determining a first target touch area of ​​a touch point in a first direction provided by an embodiment of the present application is shown in FIG. Fig. 9 As shown, the processor is configured to perform the following steps:

[0119] S901: If the blocked light paths in the first set are a true subset of the blocked light paths in the second set, the first touch area is deleted, and the second touch area is determined as a first target touch area of ​​the touch point in the first direction.

[0120] For example, Fig. 10A A schematic diagram of a first target touch area in a first direction provided by an embodiment of the present application, such as Fig. 10A As shown:

[0121] Assuming that the first direction is the X direction, in the first set of touch areas corresponding to the T1 infrared transmitting tube in the X direction, there is one blocked light path (dashed line), whose identification information is a1, and in the second set of touch areas of the R1 infrared receiving tube in the X direction, there are two blocked light paths (dashed lines), whose identification information is a1 and a2 respectively. The blocked light path (a1) in the first set is a true subset of the blocked light paths (a1, a2) in the second set, therefore, the touch area corresponding to the T1 infrared transmitting tube is deleted, and the touch area corresponding to the R1 infrared receiving tube is determined as the first target touch area E1 in the X direction.

[0122] S902: If the blocked light paths in the second set are a true subset of the blocked light paths in the first set, the second touch area is deleted, and the first touch area is determined as a first target touch area of ​​the touch point in the first direction.

[0123] For example, Fig. 10B A schematic diagram of a first target touch area in a first direction provided in another embodiment of the present application is shown in FIG. Fig. 10B As shown:

[0124] Assuming that the first direction is the X direction, in the first set of touch areas corresponding to the infrared transmitting tube T1 in the X direction, there are 2 blocked light paths (dashed lines), whose identification information is respectively a1 and a2, and in the second set of touch areas of the infrared receiving tube R1 in the X direction, there is 1 blocked light path (dashed line), whose identification information is respectively a1. The blocked light path (a1) in the second set is a true subset of the blocked light paths (a1, a2) in the first set, therefore, the touch area corresponding to the infrared transmitting tube R1 is deleted, and the touch area corresponding to the infrared receiving tube T1 is determined as the first target touch area E2 in the X direction.

[0125] S903. If the blocked light path in the first set is the same as the blocked light path in the second set, delete the first touch area and determine the second touch area as the first target touch area of ​​the touch point in the first direction; alternatively, delete the second touch area and determine the first touch area as the first target touch area of ​​the touch point in the first direction.

[0126] For example, Fig. 10C A schematic diagram of a first target touch area in a first direction provided in another embodiment of the present application is shown in FIG. Fig. 10C As shown:

[0127] Assuming that the first direction is the X direction, in the first set of touch areas corresponding to the T1 infrared transmitting tube in the X direction, there is one blocked light path (dashed line), and its identification information is a1, and in the second set of touch areas of the R1 infrared receiving tube in the X direction, there is one blocked light path (dashed line), and its identification information is a1. The blocked light path (a1) in the first set is the same as the blocked light path (a1) in the second set, so the touch area corresponding to the R1 infrared transmitting tube is deleted or the touch area corresponding to the T1 infrared receiving tube is deleted, and the remaining other touch area is the first target touch area E3.

[0128] In the above-mentioned embodiment of the present application, the processor determines the first target touch area in the first direction according to the belonging relationship between the blocked light paths in the first set and the blocked light paths in the second set, so that only the first target touch area participates in the subsequent touch point position determination, thereby reducing the amount of calculation in the process of touch point position determination, reducing time consumption, and improving user experience.

[0129] Fig.11 A flowchart of a method for determining a first target touch area of ​​a touch point in a second direction provided by an embodiment of the present application is shown in FIG. Fig.11 As shown, the processor is configured to perform the following steps:

[0130] S111: If the blocked light paths in the third set are a true subset of the blocked light paths in the fourth set, the third touch area is deleted, and the fourth touch area is determined as a second target touch area of ​​the touch point in the second direction.

[0131] S112: If the blocked light paths in the fourth set are a true subset of the blocked light paths in the third set, the fourth touch area is deleted, and the third touch area is determined as a second target touch area of ​​the touch point in the second direction.

[0132] S113. If the blocked light path in the third set is the same as the blocked light path in the fourth set, the third touch area is deleted and the fourth touch area is determined as the second target touch area of ​​the touch point in the second direction; alternatively, the fourth touch area is deleted and the third touch area is determined as the second target touch area of ​​the touch point in the second direction.

[0133] For specific examples, see the above Figures 10A-10C Compared with the above-mentioned embodiments, the difference between this embodiment and the above-mentioned embodiments lies only in the first direction and the second direction. The principles are the same and will not be described again to avoid redundancy.

[0134] In the above-mentioned embodiment of the present application, the processor determines the second target touch area in the second direction according to the belonging relationship between the blocked light paths in the third set and the blocked light paths in the fourth set, so that only the second target touch area participates in the subsequent touch point position determination, thereby reducing the amount of calculation in the process of touch point position determination, reducing time consumption, and improving user experience.

[0135] In the present application, a method for determining a touch point position of an infrared touch device is also provided. The method can be implemented by software, hardware, or a combination of software and hardware. Fig.12 A schematic diagram of a flow chart of a method for determining a touch point position of an infrared touch device provided in an embodiment of the present application, such as Fig.12 As shown, the method comprises the following steps:

[0136] S121. The processor obtains, within one scanning cycle, a first touch area in the first direction, a first touch area in the scanning direction of at least one infrared transmitting tube, and a second touch area in the scanning direction of at least one infrared receiving tube of the touch point, and obtains a third touch area in the second direction, a first touch area in the scanning direction of at least one infrared transmitting tube, and a fourth touch area in the scanning direction of at least one infrared receiving tube of the touch point.

[0137] S122: The processor merges the first touch area and the second touch area in the first direction to determine a first target touch area of ​​the touch point in the first direction.

[0138] S123: The processor merges the third touch area and the fourth touch area in the second direction to determine a second target touch area of ​​the touch point in the second direction.

[0139] S124: The processor determines position information of the touch point according to the first target touch area and the second target touch area.

[0140] One possible implementation is:

[0141] According to the light intensity of the light path in the first target touch area and the light intensity of the light path in the second target touch area, the vertex information and area information of the circumscribed polygon formed by the touch point are determined, and the vertex information and area information are coordinate transformed to determine the position information of the touch point.

[0142] For a more detailed method of determining the touch point position according to the light intensity of the optical path, please refer to the patent publication CN112947800A or other materials. Since it belongs to the existing public technology, it will not be repeated to avoid redundancy.

[0143] After the position information of the touch point is determined, step S121 is continued to be executed to perform the next cycle of scanning.

[0144] The method of this embodiment is applicable to infrared touch devices with lamp tubes arranged at unequal intervals, and is also applicable to infrared touch devices with lamp tubes arranged at equal intervals.

[0145] In the above embodiments of the present application, the specific implementation steps and technical effects please refer to the above embodiments, and this embodiment will not be repeated.

[0146] The embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the method for determining a touch point position of an infrared touch device as in the above embodiment is implemented.

[0147] An embodiment of the present application also provides a computer program product, which includes a computer program. The computer program is stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When the at least one processor executes the computer program, the touch point position determination method of the infrared touch device in the above embodiment can be implemented.

[0148] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0149] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

Claims

1. An infrared touch device, characterized in that: The infrared touch device comprises: an infrared transmitting tube, an infrared receiving tube and a processor; The infrared transmitting tubes are arranged at equal or unequal intervals, and the infrared receiving tubes are arranged at equal or unequal intervals; The infrared emitting tube is configured to: emit infrared light to form a light path, and the light path formed by one infrared emitting tube is a set of light paths in a scanning direction; The infrared receiving tube is connected to the infrared emitting tube, and the infrared receiving tube is configured to: receive the infrared light emitted by the infrared emitting tube, and the light path received by one infrared receiving tube is a set of light paths in a scanning direction; The processor is connected to the infrared transmitting tube and the infrared receiving tube respectively, and the processor is configured as follows: In one scanning cycle, respectively obtain a first touch area of ​​the touch point in the first direction, in the scanning direction of at least one infrared transmitting tube, and a second touch area of ​​the touch point in the scanning direction of at least one infrared receiving tube, and respectively obtain a third touch area of ​​the touch point in the second direction, in the scanning direction of at least one infrared transmitting tube, and a fourth touch area of ​​the touch point in the scanning direction of at least one infrared receiving tube; Merging the first touch area and the second touch area in the first direction to determine a first target touch area of ​​the touch point in the first direction; Merging the third touch area and the fourth touch area in the second direction to determine a second target touch area of ​​the touch point in the second direction; The position information of the touch point is determined according to the first target touch area and the second target touch area.

2. The infrared touch device according to claim 1, characterized in that: The processor is further configured to: In the first touch area, recording identification information of light paths blocked by the touch point to obtain a first set of light paths blocked by the first touch area; In the second touch area, recording identification information of the light paths blocked by the touch point to obtain a second set of light paths blocked in the second touch area; In the third touch area, recording identification information of the light paths blocked by the touch point, to obtain a third set of light paths blocked in the third touch area; In the fourth touch area, identification information of the light paths blocked by the touch point is recorded to obtain a fourth set of light paths blocked in the fourth touch area.

3. The infrared touch device according to claim 2, characterized in that: When the processor is configured to merge the first touch area and the second touch area in the first direction to determine a first target touch area of ​​the touch point in the first direction, the processor is specifically configured to: If the blocked light paths in the first set are a true subset of the blocked light paths in the second set, the first touch area is deleted, and the second touch area is determined as a first target touch area of ​​the touch point in the first direction; If the blocked light paths in the second set are a true subset of the blocked light paths in the first set, the second touch area is deleted, and the first touch area is determined as the first target touch area of ​​the touch point in the first direction.

4. The infrared touch device according to claim 2, characterized in that: The processor is further specifically configured to: If the blocked light paths in the first set are the same as the blocked light paths in the second set, deleting the first touch area, and determining the second touch area as the first target touch area of ​​the touch point in the first direction; Alternatively, the second touch area is deleted, and the first touch area is determined as the first target touch area of ​​the touch point in the first direction.

5. The infrared touch device according to claim 4, characterized in that: When the processor is configured to merge the third touch area and the fourth touch area in the second direction to determine a second target touch area of ​​the touch point in the second direction, the processor is specifically configured to: If the blocked light paths in the third set are a true subset of the blocked light paths in the fourth set, the third touch area is deleted, and the fourth touch area is determined as a second target touch area of ​​the touch point in the second direction; If the blocked light paths in the fourth set are a true subset of the blocked light paths in the third set, the fourth touch area is deleted, and the third touch area is determined as a second target touch area of ​​the touch point in the second direction.

6. The infrared touch device according to claim 5, characterized in that: The processor is further specifically configured to: If the blocked light paths in the third set are the same as the blocked light paths in the fourth set, deleting the third touch area, and determining the fourth touch area as a second target touch area of ​​the touch point in the second direction; Alternatively, the fourth touch area is deleted, and the third touch area is determined as the second target touch area of ​​the touch point in the second direction.

7. The infrared touch device according to claim 6, characterized in that: When the processor is configured to determine the position information of the touch point according to the first target touch area and the second target touch area, the processor is specifically configured to: determining vertex information and area information of a circumscribed polygon formed by the touch point according to the light intensity of the light path in the first target touch area and the light intensity of the light path in the second target touch area; Coordinate conversion processing is performed on the vertex information and the area information to determine the position information of the touch point.

8. A method for determining a touch point position of an infrared touch device, characterized in that: The method comprises: The processor obtains, in one scanning cycle, a first touch area of ​​the touch point in the first direction, in the scanning direction of at least one infrared transmitting tube, and a second touch area of ​​the touch point in the scanning direction of at least one infrared receiving tube, and obtains a third touch area of ​​the touch point in the second direction, in the scanning direction of at least one infrared transmitting tube, and a fourth touch area of ​​the touch point in the scanning direction of at least one infrared receiving tube; The processor merges the first touch area and the second touch area in the first direction to determine a first target touch area of ​​the touch point in the first direction; The processor combines the third touch area and the fourth touch area in the second direction to determine a second target touch area of ​​the touch point in the second direction; The processor determines the position information of the touch point according to the first target touch area and the second target touch area.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by the processor, the method for determining the touch point position of the infrared touch device according to claim 8 is implemented.

10. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method for determining the touch point position of the infrared touch device according to claim 8.

Citation Information

Patent Citations

  • Display device and touch point recognition method

    CN112947800A

  • Touch area positioning method of touch screen

    CN107506094A

  • Touch control equipment and touch control object identification method and device

    CN115904129A

  • Touch positioning method and device, equipment, storage medium and product

    CN116225250A

  • Methods for determining a touch location on a touch screen

    US20110169780A1