Infrared touch screen scanning method, device and electronic equipment

By partitioning the infrared touchscreen into emitter zones and scanning them independently, the contradiction between response speed and resolution of infrared touchscreens is resolved, improving scanning speed and anti-interference ability, and achieving higher touch response speed and resolution.

CN114327157BActive Publication Date: 2025-11-21NINGBO THREDIM OPTOELECTRONICS CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111568066.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2025-11-21
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

Existing infrared touchscreen designs struggle to balance touch response speed and touch resolution, and also lack sufficient anti-interference capabilities.

Method used

By dividing the infrared emitters on the infrared touchscreen into multiple emitter zones, each emitter in the zone is scanned independently to avoid interference. Simultaneous scanning of multiple zones improves scanning and response speed.

Benefits of technology

While maintaining the same physical resolution, the speed of infrared touch scanning and the anti-interference capability of the system detection have been improved, enhancing touch response speed and resolution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114327157B_ABST
    Figure CN114327157B_ABST
Patent Text Reader

Abstract

The application provides an infrared touch screen scanning method, device and electronic equipment, and belongs to the touch control field. The method comprises the following steps: dividing infrared emitting tubes on a touch screen into multiple emitting tube areas, each emitting tube area comprising at least one infrared emitting tube, wherein each infrared emitting tube corresponds to an emitting coverage area and a scanning receiving area, and the emitting coverage area of a first infrared emitting tube at a specified position in any emitting tube area does not overlap with the scanning receiving area of a second infrared emitting tube at the specified position in an emitting tube area adjacent to the emitting tube area; simultaneously performing infrared scanning on each of the at least two emitting tube areas to obtain scanning data; and processing the scanning data obtained after the infrared scanning to obtain coordinate information of a touch point. The method can improve the infrared touch scanning speed based on the same physical resolution, thereby improving the touch response speed, reducing the omission of touch points, and enhancing the anti-interference ability of system detection.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of touch control, in particular to an infrared touch screen scanning method and device and electronic equipment. BACKGROUND

[0002] A touch screen (Touch Screen) is also called a "touch screen" or a "touch panel", and is an electronic system that can detect the existence and position of a touch point in a display area. Touch screens are classified according to their technical principles, including infrared technology touch screens, resistive technology touch screens, capacitive technology touch screens, inductive technology touch screens, vector pressure sensing technology touch screens, surface acoustic wave technology touch screens, and the like. Among them, infrared technology touch screens have the advantages of strong environmental adaptability, long service life, the ability to identify multiple points, low cost, and the like, and are the most widely used touch screens at present. An infrared technology touch screen is composed of a display screen and infrared transmitting elements and infrared receiving and detecting elements installed on the outer frame of the display screen, and usually has a rectangular structure. An infrared detection network can be formed on the surface of the display screen, and the position of a touch point can be determined by detecting changes in the transmission path of infrared rays on the touch point, so as to realize touch operation of the touch screen.

[0003] The design architecture of an existing infrared technology touch screen generally adopts a method of sequentially scanning points according to infrared transmitting tubes, that is, only one infrared transmitting tube is turned on at the same time, and one or more related receiving tubes are selected according to the scanning method to detect the touch state at the current time. There are generally two scanning methods. One is straight-line scanning, that is, only the state of a receiving tube directly opposite the turned-on transmitting tube is detected each time. The other is fan-shaped scanning, that is, the infrared transmitting tube is turned on each time, and multiple receiving tubes that can possibly receive the current transmitting tube are selected according to the emission angle of the transmitting tube and the receiving angle of the receiving tube and the scanning range, and the states of the receiving tubes are detected.

[0004] However, according to the existing design architecture, scanning speed and touch precision are a pair of contradictions, and it is not possible to achieve higher touch precision and more stable detection while ensuring system detection response speed. The solution currently adopted to solve this problem is to reduce the number of infrared transmitting tubes and infrared receiving tubes, to achieve higher touch resolution by reducing the physical resolution and using more logical calculations, so as to balance the touch response speed and touch resolution (touch precision). However, this solution has the problems of easy omission of touch points and poor anti-interference performance. SUMMARY

[0005] The embodiment of the present application aims to provide an infrared touch screen scanning method, device and electronic equipment, so as to solve the problem that the prior art cannot balance the touch response speed and touch resolution, and to improve the infrared touch scanning speed based on the same physical resolution, thereby improving the touch response speed and enhancing the anti-interference ability of system detection.

[0006] In a first aspect, the embodiment of the present application provides an infrared touch screen scanning method, comprising: partitioning infrared emitting tubes on a touch screen to obtain a plurality of emitting tube areas, each emitting tube area containing at least one infrared emitting tube, wherein each infrared emitting tube in each emitting tube area corresponds to an emitting coverage area and a scanning receiving area, for each emitting tube area, the emitting coverage area of a first infrared emitting tube at a specified position in the emitting tube area does not overlap with the scanning receiving area of a second infrared emitting tube at the specified position in a target emitting tube area adjacent to the emitting tube area, and any two emitting tube areas do not share infrared emitting tubes; simultaneously performing infrared scanning on at least two emitting tube areas to obtain scanning data; and processing the scanning data obtained after the infrared scanning to obtain coordinate information of a touch point. In the embodiment of the present application, the infrared emitting tubes on the touch screen are partitioned according to the above rules, so that when the infrared emitting tubes in each partition are sequentially turned on for scanning, no interference is generated, which can support multiple partitions to simultaneously perform non-interfering scanning, improve the infrared scanning speed and the scanning response speed, and thus solve the problem that the prior art cannot balance the touch response speed and touch resolution, and improve the infrared touch scanning speed based on the same physical resolution.

[0007] In a possible implementation manner of the first aspect, simultaneously performing infrared scanning on at least two emitting tube areas comprises: for each emitting tube area, turning on an infrared emitting tube at a current position of the emitting tube area, reading receiving data of an infrared receiving tube corresponding to the infrared emitting tube at the current position, and turning off the infrared emitting tube at the current position; determining whether the infrared emitting tube at the current position is the last infrared emitting tube of the emitting tube area; when the infrared emitting tube at the current position is not the last infrared emitting tube of the emitting tube area, turning on an infrared emitting tube at a next position of the current position, reading receiving data of an infrared receiving tube corresponding to the infrared emitting tube at the next position, and turning off the infrared emitting tube at the next position, until the reading of the receiving data of the infrared receiving tube corresponding to each infrared emitting tube in the emitting tube area is completed, wherein the receiving data is the scanning data. In the embodiment of the present application, each emitting tube area needs to traverse the infrared emitting tubes in the partition to ensure the accuracy and comprehensiveness of the scanning information. Only one infrared emitting tube is turned on at a time in each emitting tube area, which can prevent interference between the infrared emitting tubes when multiple infrared emitting tubes are turned on at the same time, and on this basis, simultaneously performing scanning on as many emitting tube areas as possible can effectively improve the scanning speed and the scanning response speed.

[0008] In a possible implementation of the first aspect, before reading the receiving data of the infrared receiving tube corresponding to the infrared emitting tube, the method further includes: determining the infrared receiving tube corresponding to the infrared emitting tube. In the embodiments of the present application, each infrared emitting tube corresponds to a transmitting coverage area and a scanning receiving area, and the scanning receiving area corresponds to a plurality of infrared receiving tubes which can stably receive the signal of the infrared emitting tube. The infrared receiving tubes outside the scanning receiving area are irrelevant to the infrared emitting tube. Therefore, when the data generated by an infrared emitting tube is required, the infrared receiving tube corresponding to the infrared emitting tube should be determined first, i.e., the receiving data of the infrared receiving tube is read, so that the blocking condition of the infrared emitting tube signal can be determined, thereby improving the efficiency of processing the scanning data.

[0009] In a possible implementation of the first aspect, the infrared receiving tube corresponding to the infrared emitting tube is determined by: determining the length of the scanning receiving area of the infrared emitting tube according to the emitting angle of the infrared emitting tube and the width or height of the touch screen; and determining the infrared receiving tube corresponding to the infrared emitting tube according to the length of the scanning receiving area of the infrared emitting tube and the preset interval distance of the infrared receiving tube. In the embodiments of the present application, the length of the scanning receiving area can be determined according to the previously obtained emitting angle of the infrared emitting tube and the width or height of the touch screen. Then, the number of the infrared receiving tube corresponding to the infrared emitting tube can be obtained according to the length and the preset interval distance of the infrared emitting tube. The infrared receiving tube corresponding to the infrared emitting tube can be determined according to the position of the infrared emitting tube and the number of the infrared receiving tube corresponding to the infrared emitting tube.

[0010] In a possible implementation of the first aspect, the infrared emitting tubes on the touch screen are divided into zones by: dividing the infrared emitting tubes in the X direction on the touch screen into a first emitting tube zone and a second emitting tube zone, and the number of infrared emitting tubes in the first emitting tube zone is consistent with the number of infrared emitting tubes in the second emitting tube zone; wherein the transmitting coverage area of the infrared emitting tube at a specified position in the first emitting tube zone does not overlap with the scanning receiving area of the infrared emitting tube at the specified position in the second emitting tube zone, and the first emitting tube zone and the second emitting tube zone do not share infrared emitting tubes; and dividing the infrared emitting tubes in the Y direction on the touch screen into a third emitting tube zone. In the embodiments of the present application, the infrared emitting tubes on a touch screen are divided into three emitting tube zones, two of which are in the X direction and one of which is in the Y direction. When the infrared emitting tubes in each zone are turned on in sequence for scanning, no interference is generated. Therefore, multiple zones can be scanned simultaneously without interference, thereby improving the speed of infrared scanning and further improving the response speed of scanning.

[0011] With reference to a possible implementation of the first aspect, the infrared scanning of the emitting tube regions in the X direction and the infrared scanning of the emitting tube regions in the Y direction are not performed simultaneously. In the embodiments of the present application, when multiple emitting tube regions are scanned simultaneously, in order to prevent interference between the emitting tube regions in the X direction and the emitting tube regions in the Y direction when they are scanned simultaneously, the emitting tube regions in the two directions are not scanned simultaneously, so as to improve the accuracy of the scanning results.

[0012] With reference to a possible implementation of the first aspect, the scanning data obtained after the infrared scanning is processed to obtain coordinate information of the touch point, including: extracting data related to the existence of the touch point from the scanning data; and determining the position coordinates of the touch point according to the positions of the corresponding receiving tubes and / or the positions of the corresponding emitting tubes corresponding to the data related to the existence of the touch point. In the embodiments of the present application, the data related to the existence of the touch point is obtained by processing the scanning data obtained by scanning, and the position coordinates of the touch point are calculated by determining the positions of the corresponding infrared receiving tubes and / or the positions of the corresponding infrared emitting tubes corresponding to the data related to the existence of the touch point. In this way, the scanning response speed can be improved by increasing logical calculation.

[0013] In the second aspect, the embodiments of the present application provide an infrared touch screen scanning device, including: a scanning module, configured to divide infrared emitting tubes on a touch screen into multiple emitting tube regions, each of which contains at least one infrared emitting tube; and simultaneously perform infrared scanning on at least two emitting tube regions to obtain scanning data; and a processing module, configured to process the scanning data obtained after the infrared scanning to obtain coordinate information of a touch point; wherein each infrared emitting tube in each emitting tube region corresponds to an emitting coverage area and a scanning receiving area, for each emitting tube region, the emitting coverage area of a first infrared emitting tube at a specified position in the emitting tube region does not overlap with the scanning receiving area of a second infrared emitting tube at the specified position in a target emitting tube region adjacent to the emitting tube region, and any two emitting tube regions do not share infrared emitting tubes.

[0014] In combination with a possible implementation manner of the second aspect, the scanning module is configured to: for each tube area, turn on an infrared emitter tube at a current position of the tube area, read receiving data of an infrared receiving tube corresponding to the infrared emitter tube at the current position, and turn off the infrared emitter tube at the current position; determine whether the infrared emitter tube at the current position is the last infrared emitter tube of the tube area; if not, turn on an infrared emitter tube at a next position of the current position, read receiving data of an infrared receiving tube corresponding to the infrared emitter tube at the next position, and turn off the infrared emitter tube at the next position, until the receiving data of the infrared receiving tube corresponding to each infrared emitter tube in the tube area is read, wherein the receiving data is the scanning data.

[0015] In a third aspect, an electronic device is provided, which includes a touch screen, a memory and a processor, and the touch screen, the processor and the memory are connected; the memory is configured to store a program; and the processor is configured to invoke the program stored in the memory to execute the method provided in the first aspect and / or any possible implementation manner of the first aspect.

[0016] Other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or will be learned from the practice of the present application. The purposes and other advantages of the present application will be realized and achieved by the structures particularly pointed out in the written description and the appended drawings. BRIEF DESCRIPTION OF DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments of the present application. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be considered as limiting the scope. For those skilled in the art, other related drawings can also be obtained without creative labor.

[0018] Figure 1 A flowchart of an infrared touch screen scanning method provided by the embodiments of the present application;

[0019] Figure 2 A representation of an emission coverage area and a scanning receiving area of an infrared emitter tube provided by the embodiments of the present application;

[0020] Figure 3 A principle representation of partitioning infrared emitter tubes on a touch screen provided by the embodiments of the present application;

[0021] Figure 4 A scanning flowchart provided by the embodiments of the present application;

[0022] Figure 5 Another scanning flowchart provided by the embodiment of the present application;

[0023] Figure 6 A principle diagram for determining the length of the infrared scanning area of the infrared emitter tube provided by the embodiment of the present application;

[0024] Figure 7 A diagram of a data structure for recording the scanning data result provided by the embodiment of the present application;

[0025] Figure 8 A touch object scanning principle diagram provided by the embodiment of the present application;

[0026] Figure 9 A diagram for representing the scanning data of the mid-infrared emitter tube Xn; Figure 8

[0027] A diagram for representing the scanning data of the mid-infrared emitter tube Xm; Figure 10 Figure 8 A structure diagram of an infrared touch screen scanning device provided by the embodiment of the present application;

[0028] Figure 11 A structure diagram of an electronic device provided by the embodiment of the present application.

[0029] DETAILED DESCRIPTION Figure 12 The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0030] In view of the deficiencies of the existing infrared scanning method, the embodiment of the present application provides an infrared touch screen scanning method, which can solve the problem that the existing technology cannot balance the touch response speed and the touch resolution, can improve the speed of infrared touch scanning based on the same physical resolution, thereby improving the response speed of touch, and can also enhance the anti-interference ability of system detection.

[0031] In order to facilitate understanding, the following will be combined with The infrared touch screen scanning method provided by the embodiment of the present application is described.

[0032] Figure 1 S100: Partitioning the infrared emitter tubes on the touch screen.

[0033] S100: Partitioning the infrared emitter tubes on the touch screen.

[0034] ​The outer frame of the infrared touch screen is usually rectangular, and the outer frame comprises two sets of oppositely arranged transmitting plates and receiving plates, the transmitting plates are provided with a plurality of infrared transmitting tubes at intervals, the receiving plates are also provided with a plurality of infrared receiving tubes at intervals, and one infrared transmitting tube corresponds to one infrared receiving tube. In the embodiment of the present application, the infrared transmitting tubes on the outer frame of the infrared touch screen are divided into a plurality of transmitting tube areas, each transmitting tube area contains at least one infrared transmitting tube, so that each transmitting tube area can be scanned at the same time during scanning, thereby improving the scanning speed.

[0035] When the infrared transmitting tubes on the touch screen are divided into areas, it is necessary to ensure that each transmitting tube area does not interfere with each other during scanning. Since each infrared transmitting tube in each transmitting tube area corresponds to a transmitting coverage area and a scanning receiving area, when dividing the areas, it is necessary to ensure that, for each transmitting tube area, the transmitting coverage area of the first infrared transmitting tube at a specified position in the transmitting tube area does not overlap with the scanning receiving area of the second infrared transmitting tube at a specified position in the target transmitting tube area adjacent to the transmitting tube area, and any two transmitting tube areas do not share infrared transmitting tubes, i.e. the transmitting tube area to which each infrared transmitting tube belongs is unique, so as to prevent interference.

[0036] For better understanding, the following will be described with reference to the accompanying drawings. Figure 2 Each infrared transmitting tube 30 corresponds to a transmitting coverage area 20 (the coverage range of the infrared light emitted by the infrared transmitting tube 30) and a scanning receiving area 10 (the range in which the infrared receiving tube 40 can stably receive infrared light). The transmitting coverage area 20 can be wider than or equal to the scanning receiving area 10. The division needs to satisfy that the transmitting coverage area 20 of the infrared transmitting tube 30 at a specified position (such as the first position) in a transmitting tube area does not overlap with the scanning receiving area 10 of the infrared transmitting tube 30 at a specified position (such as the first position) in the transmitting tube area adjacent to the transmitting tube area. For example, two adjacent transmitting tube areas, one transmitting tube area has an infrared transmitting tube a at the starting position, and the other transmitting tube area has an infrared transmitting tube b at the starting position, then the transmitting coverage area of the infrared transmitting tube a does not overlap with the scanning receiving area of the infrared transmitting tube b, and the scanning receiving area of the infrared transmitting tube a also does not overlap with the transmitting coverage area of the infrared transmitting tube b. Similarly, when the infrared transmitting tube a and the infrared transmitting tube b are respectively located at other positions in the transmitting tube area, such as the fifth transmitting tube position or the last position, the above non-overlapping condition is also satisfied.

[0037] In one embodiment, when the infrared emitting tubes are divided into multiple emitting tube regions, under the premise of meeting the above rules, the number of infrared emitting tubes in each sub-region can be made as equal as possible. When there are infrared emitting tubes that cannot be divided into emitting tube regions, these infrared emitting tubes are separately divided into a tail sub-region. For example, assuming there are 10 infrared emitting tubes, and assuming they are divided into two emitting tube regions, each emitting tube region contains 5 infrared emitting tubes. Assuming there are 11 infrared emitting tubes, and assuming they are divided into two emitting tube regions, the last infrared emitting tube is separately used as an emitting tube region, i.e., there are three emitting tube regions in total, the first two emitting tube regions each contain 5 infrared emitting tubes, and the last emitting tube region contains 1 infrared emitting tube.

[0038] In order to flexibly divide the regions, in one embodiment, dividing the infrared emitting tubes into multiple emitting tube regions can also be: dividing the infrared emitting tubes in the X direction and the Y direction according to different number standards. For example, there are 100 infrared emitting tubes in the X direction and 40 infrared emitting tubes in the Y direction. The infrared emitting tubes in the X direction can be divided into two emitting tube regions, and the infrared emitting tubes in the Y direction can be divided into one emitting tube region. At this time, the touch screen is divided into three emitting tube regions, the two emitting tube regions in the X direction each contain 50 infrared emitting tubes, and the emitting tube region in the Y direction contains 40 infrared emitting tubes.

[0039] For better understanding, the following will be described in combination with Figure 3 The division rules are further described. In the schematic diagram, the infrared emitting tubes in the X direction are divided into three emitting tube regions, and the infrared emitting tubes in the Y direction are collectively used as one emitting tube region, i.e., four emitting tube regions are divided in total.

[0040] Figure 3The infrared emission tubes in the X direction are divided into three emission tube regions. The first emission tube region includes the infrared emission tube on the leftmost side to the infrared emission tube on the left side of the infrared emission tube at the center line. The second emission tube region includes the infrared emission tube at the center line to the infrared emission tube on the left side of the infrared emission tube on the rightmost side. The third emission tube region is a tail number region and only includes the infrared emission tube on the rightmost side. The emission coverage area of the infrared emission tube on the leftmost side (the infrared emission tube at the start position of the first emission tube region) does not overlap with the scanning receiving area 102 of the infrared emission tube at the center line (the infrared emission tube at the start position of the second emission tube region), and the scanning receiving area 101 of the infrared emission tube on the leftmost side does not overlap with the emission coverage area of the infrared emission tube at the center line. The emission coverage area of the infrared emission tube at the center line does not overlap with the scanning receiving area 103 of the infrared emission tube on the rightmost side (the infrared emission tube at the start position of the third emission tube region), and the scanning receiving area 102 of the infrared emission tube at the center line does not overlap with the emission coverage area of the infrared emission tube on the rightmost side. The first two emission tube regions each have 16 infrared emission tubes, and the third emission tube region has only one infrared emission tube. The infrared emission tubes in the Y direction are collectively divided into a fourth emission tube region.

[0041] wherein, Figure 3 The dark triangular regions in the above scanning receiving area 10. In the X direction, the infrared emission tube on the leftmost side corresponds to the scanning receiving area 101, the infrared emission tube at the center line corresponds to the scanning receiving area 102, and the infrared emission tube on the rightmost side corresponds to the scanning receiving area 103. In the Y direction, the infrared emission tube on the top corresponds to the scanning receiving area 104.

[0042] It should be noted that when the infrared emission tubes in the X direction and the Y direction are divided into regions, the number of divisions is not specifically required. As long as the division meets the division rules (such as the emission coverage area of the first infrared emission tube at a specified position in each emission tube region does not overlap with the scanning receiving area of the second infrared emission tube at a specified position in the target emission tube region adjacent to the emission tube region; any two emission tube regions do not share infrared emission tubes; the number of infrared emission tubes in each emission tube region is as equal as possible, and a tail number region can occur; the divisions on the X axis and the divisions on the Y axis can use different numbers of infrared emission tubes for division), the division method is relatively flexible.

[0043] S200: simultaneously performing infrared scanning on multiple emission tube regions to obtain scanning data.

[0044] Simultaneously performing infrared scanning on multiple (at least two) emission tube regions to improve scanning speed. When simultaneously performing infrared scanning on each emission tube region, the emission tube regions in the X direction and the emission tube regions in the Y direction do not perform infrared scanning at the same time to avoid interference.

[0045] An embodiment of the infrared scanning for one launch tube area can be: for each launch tube area, turning on the infrared launch tube at the current position of the launch tube area, reading the receiving data of the infrared receiving tube corresponding to the infrared launch tube at the current position, turning off the infrared launch tube at the current position; determining whether the infrared launch tube at the current position is the last infrared launch tube of the launch tube area; if not, turning on the infrared launch tube at the next position of the current position, reading the receiving data of the infrared receiving tube corresponding to the infrared launch tube at the next position, turning off the infrared launch tube at the next position, and so on, until the reading of the receiving data of the infrared receiving tube corresponding to each infrared launch tube in the launch tube area is completed, wherein the receiving data is the scanning data.

[0046] A specific scanning process, an embodiment of S200 can be that at least two launch tube areas are scanned simultaneously, and each launch tube area in the at least two launch tube areas scanned simultaneously performs the following steps: Figure 4 The steps shown are: starting from a starting launch tube area and a starting position, turning on the infrared launch tube at the current position of the current launch tube area, receiving the receiving data of the infrared receiving tube corresponding to the infrared launch tube at the current position of the current launch tube area, turning off the infrared launch tube at the current position of the current launch tube area, moving the current launch tube area one position, determining whether all launch tube areas are traversed, if not, turning on the infrared launch tube at the current position of the next launch tube area, and continuing to repeat the scanning steps; if all launch tube areas are traversed, resetting to the starting launch tube area and moving the current position one position, determining whether all infrared launch tubes in the launch tube area are traversed, if not, turning on the infrared launch tube at the next position of the starting launch tube area, and continuing to repeat the scanning steps; if all infrared launch tubes in the launch tube area are traversed, processing the scanning data to obtain the touch point coordinate information. The scanning process is repeatedly performed.

[0047] In order to improve the scanning speed and response speed of infrared scanning, another embodiment of S200 can be: as Figure 5As shown, all the emission tube areas are scanned in parallel, the current position information is synchronized, the infrared emission tube at the current position in the emission tube area is turned on, the data of the infrared receiving tube corresponding to the infrared emission tube at the time of each turning on is recorded, the infrared emission tube at the current position is turned off, the current position is moved by one bit, until all the infrared emission tubes in the emission tube area are traversed, and then the obtained receiving data is processed synchronously to obtain the coordinate information of the touch point. It should be noted that, in order to prevent the infrared emission tubes in the X direction and the Y direction from interfering with each other during scanning, all the emission tube areas in the X direction can be scanned first, and then all the emission tube areas in the Y direction can be scanned. It should be noted that it is only necessary to ensure that the emission tube areas in the X direction are not scanned at the same time as the emission tube areas in the Y direction, and the Y direction can be scanned first and then the X direction can be scanned. Here, no limitation is made.

[0048] In the method, before reading the receiving data of the infrared receiving tube corresponding to the infrared emission tube, the infrared receiving tube corresponding to the infrared emission tube needs to be determined first. In an embodiment, the length of the scanning receiving area of the infrared emission tube can be determined according to the emission angle of the infrared emission tube and the width or height of the touch screen, and the infrared receiving tube corresponding to the infrared emission tube can be determined according to the length of the scanning receiving area of the infrared emission tube and the preset interval distance of the infrared receiving tube.

[0049] The following will be described in combination with Figure 6 It should be noted that the infrared emission tube can emit infrared signals in a fan-shaped area, the angle of the fan-shaped area is referred to as the emission angle α, the infrared receiving tube can receive infrared signals in the fan-shaped area, and the receiving angle of the infrared receiving tube needs to be met to receive the infrared signals. This angle is referred to as the receiving angle θ. Generally, the emission angle α is equal to the receiving angle θ. The length of the scanning receiving area or the emission coverage area of the infrared emission tube can be calculated according to the position of the infrared emission tube, and the formula is as follows. The length L of the emission coverage area is calculated by formula (1), and the length l of the scanning receiving area is calculated by formula (2):

[0050]

[0051]

[0052] Wherein H can be the height of the touch screen, L or l obtained based on the above formula, and the preset interval distance d of the infrared receiving tube, the number M of infrared receiving tubes in the emission coverage area or the number N of infrared receiving tubes in the scanning receiving area can be calculated, and the formula is as follows:

[0053]

[0054]

[0055] Figure 6 The schematic diagram shown is for determining the infrared receiving tube corresponding to the infrared emitting tube in the X direction. When the infrared receiving tube is in the Y direction, the H above can be replaced by the width W of the touch screen to determine the infrared receiving tube corresponding to the infrared emitting tube. In the embodiment of the application, the infrared receiving tube corresponding to the infrared emitting tube is determined according to N, for example, the position of the infrared receiving tube opposite to the infrared emitting tube is determined according to the position of the infrared emitting tube, and the infrared receiving tube whose position is N / 2 infrared receiving tubes to the left of the infrared receiving tube and the infrared receiving tube whose position is N / 2 infrared receiving tubes to the right of the infrared receiving tube are both the infrared receiving tube corresponding to the infrared emitting tube.

[0056] In order to record the scanned scanning data, in one embodiment, a data structure can be defined as shown in Figure 7 The length of the data structure can be determined according to N, for example, 8 bits, 16 bits, 32 bits, 64 bits or 128 bits, etc. The length of the data structure is greater than or equal to N, and the actual effective data storage bit number in the data structure is equal to N. The redundant bits can be placed in the high bit or the low bit. In the embodiment of the application, the redundant bits are placed in the high bit of the data structure, that is, the data in the low bit of the data structure is the actual effective storage bit, and the data storage moving direction is selected according to the scanning direction. Each bit has only two representations, 0 and 1, 0 corresponds to the infrared receiving tube receiving a signal, and 1 corresponds to the infrared receiving tube not receiving a signal. When there is no touch object blocking the propagation path from the infrared emitting tube to the infrared receiving tube in the scanning receiving area, the infrared receiving tube receives a signal and the scanning result is 0. Conversely, when there is a touch object blocking the propagation path from the infrared emitting tube to the infrared receiving tube in the scanning receiving area, the infrared receiving tube cannot receive a signal and the scanning result is 1. The data of the redundant bits in the data structure can be represented by 0.

[0057] The scanning process and scanning data will be described below. Figure 8 , Figure 9 , Figure 10

[0058] For example, Figure 8 there is a black circular touch object in the touch screen. When the infrared scanning of the touch screen is performed to a certain time, the infrared emitting tube X n opposite to the infrared receiving tube X n ’ is turned on. Since the scanning receiving area corresponding to the infrared emitting tube X n is blocked, four infrared receiving tubes do not receive a signal. At this time, the scanning data generated by the infrared receiving tube is Figure 9 ​As shown in FIG. 6, the bits of the lower labels "+2", "+1", "0", "-1" are all 1, indicating that the infrared receiving tubes corresponding to these bits do not receive signals, and objects block the propagation path of the signals; the other bits are all 0, indicating that the infrared receiving tubes corresponding to these bits receive signals, and there is no object blocking the propagation path of the signals. Figure 8 As shown in FIG. 6, the bits of the lower labels "+2", "+1", "0", "-1" are all 1, indicating that the infrared receiving tubes corresponding to these bits do not receive signals, and objects block the propagation path of the signals; the other bits are all 0, indicating that the infrared receiving tubes corresponding to these bits receive signals, and there is no object blocking the propagation path of the signals. m As shown in FIG. 6, the bits of the lower labels "+2", "+1", "0", "-1" are all 1, indicating that the infrared receiving tubes corresponding to these bits do not receive signals, and objects block the propagation path of the signals; the other bits are all 0, indicating that the infrared receiving tubes corresponding to these bits receive signals, and there is no object blocking the propagation path of the signals. n As shown in FIG. 6, the bits of the lower labels "+2", "+1", "0", "-1" are all 1, indicating that the infrared receiving tubes corresponding to these bits do not receive signals, and objects block the propagation path of the signals; the other bits are all 0, indicating that the infrared receiving tubes corresponding to these bits receive signals, and there is no object blocking the propagation path of the signals.

[0059] After that, the scanning process continues as in step S200 until the infrared emitter X m opposite to the infrared receiving tube X m is turned on, and since the scanning receiving area corresponding to the infrared emitter X m is blocked, three infrared receiving tubes do not receive signals, and the scanning data generated by the infrared receiving tubes are as shown in FIG. 7. Figure 10 As shown in FIG. 7, the bits of the lower labels "-2", "-3", "-4" are all 1, indicating that the propagation path of the signals is blocked by objects; the other bits are all 0, indicating that the propagation path of the signals is not blocked by objects.

[0060] S300: processing the scanning data obtained after the infrared scanning to obtain coordinate information of the touch point.

[0061] In one implementation, the data related to the existence of the touch point is extracted from the scanning data as shown in FIG. 6, and then the position coordinates of the touch point are determined according to the positions of the infrared receiving tubes corresponding to the data related to the existence of the touch point and / or the positions of the infrared emitters. Figure 9 , Figure 10 For example, the position of the infrared emitter X n and the infrared emitter X m and the scanning data corresponding to the infrared emitter X n and the scanning data corresponding to the infrared emitter X m may be used to inversely deduce the X-axis coordinate information of the touch object, for example, the position of the infrared emitter X n and the positions of the infrared receiving tubes corresponding to the two most edge 1s in the scanning data corresponding to the infrared emitter X n are used to determine a dark triangle with the vertex X Figure 8 in FIG. 6, and the geometric center line from the vertex to the bottom of the position of the infrared emitter X n may be calculated, and the geometric center line from the vertex to the bottom of the position of the infrared emitter X n may be calculated by the same principle.m the triangle of the infrared emitting tube X m the geometric center line of the top to the bottom of the position of the infrared emitting tube X

[0062] Similarly, the Y coordinate of the touched object can be calculated according to the data related to the characteristic of the touch point, so that the coordinate information of the touched object can be obtained.

[0063] The embodiment of the present application further provides an infrared touch screen scanning device 200, as shown in the figure, the infrared touch screen scanning device 200 comprises a scanning module 210 and a processing module 220. Figure 11

[0064] The scanning module 210 is configured to divide the infrared emitting tubes on the touch screen into a plurality of emitting tube areas, each of which contains at least one infrared emitting tube, and perform infrared scanning on at least two emitting tube areas to obtain scanning data.

[0065] The processing module 220 is configured to process the scanning data obtained after the infrared scanning to obtain the coordinate information of the touch point.

[0066] Each of the infrared emitting tubes in each emitting tube area corresponds to an emitting coverage area and a scanning receiving area, for each emitting tube area, the emitting coverage area of the first emitting tube at a specified position in the emitting tube area does not overlap with the scanning receiving area of the second emitting tube at the specified position in a target emitting tube area adjacent to the emitting tube area, and any two emitting tube areas do not share infrared emitting tubes.

[0067] Optionally, the scanning module 210 is configured to, for each emitting tube area, turn on the infrared emitting tube at a current position of the emitting tube area, read the receiving data of the infrared receiving tube corresponding to the infrared emitting tube at the current position, turn off the infrared emitting tube at the current position, determine whether the infrared emitting tube at the current position is the last infrared emitting tube of the emitting tube area, when the infrared emitting tube at the current position is not the last infrared emitting tube of the emitting tube area, turn on the infrared emitting tube at a next position of the current position, read the receiving data of the infrared receiving tube corresponding to the infrared emitting tube at the next position, turn off the infrared emitting tube at the next position, and repeat the above operations until the receiving data of the infrared receiving tube corresponding to each infrared emitting tube in the emitting tube area is read, wherein the receiving data is the scanning data.

[0068] ​Optionally, the scanning module 210 is configured to determine the infrared receiving tube corresponding to the infrared emitting tube according to the emitting angle of the infrared emitting tube and the width or height of the touch screen, determine the length of the scanning receiving area of the infrared emitting tube, and determine the infrared receiving tube corresponding to the infrared emitting tube according to the length of the scanning receiving area of the infrared emitting tube and the preset interval distance of the infrared receiving tube.

[0069] Optionally, the scanning module 210 is configured to divide the infrared emitting tubes in the X direction on the touch screen into a first emitting tube area and a second emitting tube area, the number of infrared emitting tubes in the first emitting tube area is consistent with the number of infrared emitting tubes in the second emitting tube area, the emitting coverage area of the infrared emitting tube at a specified position in the first emitting tube area does not overlap with the scanning receiving area of the infrared emitting tube at the specified position in the second emitting tube area, and the first emitting tube area and the second emitting tube area do not share infrared emitting tubes, and divide the infrared emitting tubes in the Y direction on the touch screen into a third emitting tube area.

[0070] Optionally, the scanning module 210 is configured to perform infrared scanning on the emitting tube areas in the X direction and the emitting tube areas in the Y direction at different times when infrared scanning is performed on at least two emitting tube areas at the same time.

[0071] Optionally, the processing module 220 is configured to extract data representing the existence of a touch point from the scanning data, and determine the position coordinates of the touch point according to the position of the infrared receiving tube corresponding to the data representing the existence of the touch point and / or the position of the infrared emitting tube.

[0072] The infrared touch screen scanning device 200 provided by the embodiment of the present application has the same implementation principle and technical effects as the foregoing method embodiment, and for brevity of description, the part not mentioned in the device embodiment can be referred to the corresponding content in the foregoing method embodiment.

[0073] The embodiment of the present application further provides a structural block diagram of an electronic device 300, as shown in the figure. Figure 12 The electronic device 300 includes a touch screen 310, a memory 320, a communication bus 330, and a processor 340.

[0074] The touch screen 310, the memory 320, and the processor 340 are directly or indirectly electrically connected to each other to realize the transmission or interaction of data. For example, these elements can be electrically connected to each other through one or more communication buses 330 or signal lines. Among them, the touch screen 310 is configured to scan touch information. The memory 320 is configured to store a computer program, such as a program code of the infrared touch screen scanning device 200. Figure 11The software function modules shown in the figure are infrared touch screen scanning device 200. Infrared touch screen scanning device 200 includes at least one software function module that can be stored in the form of software or firmware (Firmware) in the memory 320 or solidified in the operating system (Operating System, OS) of the electronic device 300. The processor 340 is used to execute the executable modules stored in the memory 320, such as the software function modules or computer programs included in the infrared touch screen scanning device 200. For example, the processor 340 is used to partition the infrared emission tubes on the touch screen to obtain a plurality of emission tube regions, each emission tube region containing at least one infrared emission tube; perform infrared scanning on each emission tube region to obtain scanning data; and process the scanning data obtained after the infrared scanning to obtain coordinate information of the touch point.

[0075] The memory 320 can be, but is not limited to, a random access memory (Random Access Memory, RAM), a read-only memory (Read Only Memory, ROM), a programmable read-only memory (Programmable Read-Only Memory, PROM), an erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM) and the like.

[0076] The processor 340 can be an integrated circuit chip with signal processing capability. The above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP) and the like; it can also be a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application. The general-purpose processor can be a microprocessor or the processor 340 can also be any conventional processor or the like.

[0077] The above-mentioned electronic device 300 includes but is not limited to switches, routers and the like.

[0078] It should be noted that each of the embodiments in the present specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts of each embodiment can be mutually referred to. In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other manners. The above described device embodiments are only schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible implementation architectures, functions and operation of the devices, methods and computer program products according to the embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, a segment or a portion of code which comprises one or more executable instructions for implementing the specified logic function. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order than that noted in the accompanying drawings. For example, two blocks noted in succession can actually be executed substantially concurrently or in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts and combinations thereof can be implemented by a dedicated hardware-based system, or can be implemented by a combination of dedicated hardware and computer instructions.

[0079] In addition, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0080] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of a software product, and the computer software product is stored in a computer readable storage medium, and includes several instructions for causing a computer device (which can be a personal computer, a notebook computer, a server, or an electronic device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned computer readable storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0081] The above merely provides the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of the changes or replacements within the technical range disclosed by the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. An infrared touchscreen scanning method, characterized in that, include: The infrared emitters on the touchscreen are divided into multiple emitter zones, each containing at least one infrared emitter. Each infrared emitter in each emitter zone corresponds to an emission coverage area and a scanning reception area. For each emitter zone, the emission coverage area of ​​the first infrared emitter at a specified location in that emitter zone does not overlap with the scanning reception area of ​​the second infrared emitter at a specified location in an adjacent target emitter zone. No two emitter zones share an infrared emitter. The emission coverage area is the range of infrared light emitted by the infrared emitter, and the scanning reception area is the range within which the infrared receiver stably receives infrared light. Simultaneously perform infrared scanning on at least two emission tube areas to obtain scanning data; The scan data obtained after the infrared scan is processed to obtain the coordinate information of the touch point; The simultaneous infrared scanning of at least two emitting tube areas includes: for each emitting tube area, turning on the infrared emitting tube at the current position of the emitting tube area, reading the received data of the infrared receiving tube corresponding to the infrared emitting tube at the current position, and turning off the infrared emitting tube at the current position; determining whether the infrared emitting tube at the current position is the last infrared emitting tube in the emitting tube area; if not, turning on the infrared emitting tube at the next position of the current position, reading the received data of the infrared receiving tube corresponding to the infrared emitting tube at the next position, and turning off the infrared emitting tube at the next position, until the received data of the infrared receiving tube corresponding to each infrared emitting tube in the emitting tube area is read, wherein the received data is the scan data; Before reading the received data from the infrared receiver corresponding to the infrared emitter, the method further includes: determining the infrared receiver corresponding to the infrared emitter; The step of determining the infrared receiver corresponding to the infrared emitter includes: determining the length of the scanning receiving area of ​​the infrared emitter based on the emission angle of the infrared emitter and the width or height of the touch screen; and determining the infrared receiver corresponding to the infrared emitter based on the length of the scanning receiving area of ​​the infrared emitter and a preset interval distance between infrared receivers.

2. The method according to claim 1, characterized in that, The infrared emitters on the touchscreen are partitioned, including: The infrared emitters in the X direction on the touch screen are divided into a first emitter area and a second emitter area, and the number of infrared emitters in the first emitter area and the second emitter area is the same. Wherein, the emission coverage area corresponding to the infrared emitting tube at the designated position in the first emission tube area does not overlap with the scanning reception area corresponding to the infrared emitting tube at the designated position in the second emission tube area, and neither the first emission tube area nor the second emission tube area shares an infrared emitting tube; The infrared emitters in the Y direction on the touchscreen are divided into a third emitter area.

3. The method according to claim 2, characterized in that, When performing infrared scanning on at least two emission tube areas simultaneously, the emission tube area in the X direction and the emission tube area in the Y direction are not scanned simultaneously.

4. The method according to claim 1, characterized in that, The scan data obtained after the infrared scan is processed to obtain the coordinate information of the touch point, including: Extract data representing the presence of touch points from the scan data; The position coordinates of the touch point are determined based on the location of the infrared receiver and / or the infrared emitter corresponding to the data representing the presence of the touch point.

5. An infrared touchscreen scanning device, characterized in that, The scanning device includes: The scanning module is used to divide the infrared emitters on the touch screen into multiple emitter areas, each emitter area containing at least one infrared emitter; and to scan at least two emitter areas simultaneously to obtain scan data. The processing module is used to process the scan data obtained after infrared scanning to obtain the coordinate information of the touch point; In this configuration, each infrared emitting tube in each emitting tube area corresponds to a transmission coverage area and a scanning reception area. For each emitting tube area, the transmission coverage area of ​​the first infrared emitting tube at a specified position in that emitting tube area does not overlap with the scanning reception area of ​​the second infrared emitting tube at a specified position in an adjacent target emitting tube area, and no two emitting tube areas share an infrared emitting tube. The transmission coverage area is the coverage range of the infrared light emitted by the infrared emitting tube, and the scanning reception area is the range in which the infrared receiving tube stably receives infrared light. The scanning module is configured to: for each emitting tube area, turn on the infrared emitting tube at the current position of the emitting tube area, read the received data of the infrared receiving tube corresponding to the infrared emitting tube at the current position, and turn off the infrared emitting tube at the current position; determine whether the infrared emitting tube at the current position is the last infrared emitting tube in the emitting tube area; if not, turn on the infrared emitting tube at the next position of the current position, read the received data of the infrared receiving tube corresponding to the infrared emitting tube at the next position, and turn off the infrared emitting tube at the next position, until the received data of the infrared receiving tube corresponding to each infrared emitting tube in the emitting tube area is read, wherein the received data is the scanning data; The scanning module is used to determine the infrared receiver corresponding to the infrared emitter, including determining the length of the scanning receiving area of ​​the infrared emitter based on the emission angle of the infrared emitter and the width or height of the touch screen; and determining the infrared receiver corresponding to the infrared emitter based on the length of the scanning receiving area of ​​the infrared emitter and a preset interval distance between infrared receivers.

6. An electronic device, characterized in that, include: A touchscreen, a memory, and a processor, wherein the touchscreen, the processor, and the memory are all connected to each other; The memory is used to store programs; The processor is configured to invoke a program stored in the memory to execute the method as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Infrared touch screen multi-point recognition method and device

    CN102364417A

  • Infrared geminate transistor touch screen scanning method and system

    CN103699276A