Touch screen scanning control method and device, storage medium and infrared touch device
By acquiring the scanning status of adjacent infrared touchscreens and controlling their scanning behavior, the scanning interference problem during infrared touchscreen splicing is solved, and the accuracy of touch information is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGZHOU ZHONGYUAN INTELLIGENT TECH CO LTD
- Filing Date
- 2024-12-05
- Publication Date
- 2026-06-05
AI Technical Summary
When at least two infrared touchscreens are joined together, adjacent touchscreens will perform infrared scanning simultaneously, causing interference and reducing the accuracy of the touch information obtained by the joined touchscreens.
By acquiring the scanning status of adjacent infrared touchscreens, when an adjacent infrared touchscreen is in the pre-scanning or scanning state, the current infrared touchscreen is controlled to stop infrared scanning; when an adjacent infrared touchscreen is in the non-scanning state, the current infrared touchscreen is controlled to perform infrared scanning, thus staggering the infrared scanning time.
It improves the accuracy of touch information acquisition by spliced infrared touch screens and prevents interference from adjacent spliced infrared touch screens performing infrared scanning at the same time.
Smart Images

Figure CN122152144A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of touch screen scanning control, specifically to a touch screen scanning control method, apparatus, storage medium, and infrared touch device. Background Technology
[0002] An infrared touchscreen is a touchscreen device that acquires touch information through infrared scanning. In existing technology, infrared touchscreens can be layered to increase the display size and touch range of the touchscreen device. However, when at least two infrared touchscreens are placed together, adjacent touchscreens will perform infrared scanning simultaneously. This simultaneous scanning interferes with the infrared scanning of adjacent touchscreens, reducing the accuracy of the touch information acquired by the layered touchscreens. Summary of the Invention
[0003] The purpose of this application is to overcome the shortcomings and deficiencies in the prior art and provide a touch screen scanning control method, device, storage medium and infrared touch device, which can improve the accuracy of the spliced infrared touch screen in acquiring touch information.
[0004] A first aspect of this application provides a touchscreen scanning control method applied to an infrared touch device, wherein the infrared touch device includes at least two adjacently joined infrared touchscreens; the method includes:
[0005] In response to a scan command, the scanning status of the adjacent infrared touchscreen is obtained;
[0006] When an adjacent infrared touchscreen is in the scanning pre-scanning state or scanning in progress, control the current infrared touchscreen to stop infrared scanning;
[0007] When an adjacent infrared touchscreen is in a non-scanning state, control the current infrared touchscreen to perform infrared scanning.
[0008] A second aspect of this application provides a touchscreen scanning control device applied to an infrared touch device, wherein the infrared touch device includes at least two adjacently joined infrared touchscreens; the device includes:
[0009] The scanning status acquisition module is used to respond to scanning commands and acquire the scanning status of adjacent infrared touch screens;
[0010] The first execution module is used to control the current infrared touch screen to stop infrared scanning when the adjacent infrared touch screen is in the scanning pre-scanning state or scanning in progress state.
[0011] The second execution module is used to control the current infrared touchscreen to perform infrared scanning when the adjacent infrared touchscreen is in a non-scanning state.
[0012] A third aspect of this application provides an infrared touch device, which includes at least two adjacent infrared touch screens;
[0013] In this process, the current infrared touchscreen responds to the scanning command and obtains the scanning status of the adjacent infrared touchscreens.
[0014] When an adjacent infrared touchscreen is in the scanning pre-scanning state or scanning in progress, control the current infrared touchscreen to stop infrared scanning;
[0015] When an adjacent infrared touchscreen is in a non-scanning state, control the current infrared touchscreen to perform infrared scanning.
[0016] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method described above.
[0017] Compared to related technologies, this application obtains the scanning status of adjacent infrared touchscreens. When an adjacent infrared touchscreen is in the pre-scanning or scanning state, it controls the current infrared touchscreen to stop scanning; when an adjacent infrared touchscreen is in the non-scanning state, it controls the current infrared touchscreen to perform infrared scanning. This can separate the infrared scanning time of adjacent spliced infrared touchscreens, prevent adjacent spliced infrared touchscreens from performing infrared scanning simultaneously, and thus improve the accuracy of touch information acquisition by spliced infrared touchscreens.
[0018] To provide a clearer understanding of this application, the specific embodiments of this application will be described below in conjunction with the accompanying drawings. Attached Figure Description
[0019] Figure 1 This is a flowchart of a touchscreen scanning control method according to an embodiment of this application.
[0020] Figure 2 This is a flowchart of steps S11-S12 of a touchscreen scanning control method according to an embodiment of this application.
[0021] Figure 3 This is a flowchart of steps S111-S112 of a touchscreen scanning control method according to an embodiment of this application.
[0022] Figure 4 This is a flowchart of steps S31-S32 of a touchscreen scanning control method according to an embodiment of this application.
[0023] Figure 5 This is a flowchart of steps S321-S322 of a touchscreen scanning control method according to an embodiment of this application.
[0024] Figure 6This is a flowchart of steps S3211-S3212 of a touchscreen scanning control method according to an embodiment of this application.
[0025] Figure 7 This is a flowchart of steps S1121-S1122 of a touchscreen scanning control method according to an embodiment of this application.
[0026] Figure 8 This is a schematic diagram of the splicing of an infrared touch screen in a touch screen scanning control method according to an embodiment of this application.
[0027] Figure 9 This is a logic flowchart of a touch screen scanning control method according to an embodiment of this application.
[0028] Figure 10 This is a schematic diagram of the module connections of a touch screen scanning control device according to an embodiment of this application.
[0029] Figure 11 This is a schematic diagram of an infrared touch device according to an embodiment of this application.
[0030] 100. Touch screen scanning control device; 101. Scanning status acquisition module; 102. First execution module; 103. Second execution module; 10. Infrared touch device. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0032] It should be understood that the described embodiments are merely some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of the embodiments of this application.
[0033] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. The singular forms "a," "the," and "the" used in this application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. The word "if" as used herein can be interpreted as "when," "when," or "in response to determination."
[0034] Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0035] An infrared touchscreen is a touchscreen device that acquires touch information through infrared scanning. In existing technology, infrared touchscreens can be layered to increase the display size and touch range of the touchscreen device. However, when at least two infrared touchscreens are placed together, adjacent touchscreens will perform infrared scanning simultaneously. This simultaneous scanning interferes with the infrared scanning of adjacent touchscreens, reducing the accuracy of the touch information acquired by the layered touchscreens.
[0036] The working principle of an infrared touchscreen involves deploying several infrared light modules around it to sense the touch location during a touch operation. Each infrared light module includes an infrared emitting module and / or an infrared receiving module; the emitting module emits infrared light, and the receiving module receives it. By controlling the emitting module to emit infrared light and the receiving module to receive the infrared signal, a crisscrossing infrared detection network is formed on the touchscreen. When a user's finger or other object touches the touchscreen through this network, it blocks the passing infrared light, reducing the intensity of the infrared light received by the receiving module. The touchscreen then uses this reduced infrared light intensity to pinpoint the touch location and execute the corresponding touch operation.
[0037] When infrared touchscreens are spliced together to work together, the infrared light emitted by the infrared emitting module will be received by the infrared receiving module of the adjacent infrared touchscreen. This will interfere with the signal value of the infrared light received by the infrared receiving module of the adjacent infrared touchscreen, reducing the accuracy of the touch information obtained by the spliced touchscreens.
[0038] To address the aforementioned application scenarios and technical deficiencies, this application discloses a technical solution that can separate the infrared scanning time of adjacent spliced infrared touchscreens, preventing adjacent spliced infrared touchscreens from performing infrared scanning simultaneously, thereby improving the accuracy of touch information acquisition by spliced infrared touchscreens.
[0039] Please see Figure 1 This is a flowchart of a touchscreen scanning control method according to an embodiment of this application, applied to an infrared touch device, which includes at least two adjacent infrared touchscreens. The method includes:
[0040] S1: In response to the scan command, obtain the scan status of the adjacent infrared touch screen.
[0041] Once the current infrared touch device is activated, it will generate a scanning command according to a preset time interval. The scanning command is used to drive the current infrared touch device to obtain the scanning status of adjacent infrared touch screens, so as to determine whether to perform infrared scanning based on the scanning status of adjacent infrared touch screens.
[0042] The scanning state includes at least three states: scanning pre-scanning state, scanning in progress state, and non-scanning state. In particular, a complete infrared scanning cycle of a spliced infrared touch screen includes these three scanning states: scanning pre-scanning state, scanning in progress state, and non-scanning state.
[0043] S2: When an adjacent infrared touchscreen is in the scanning pre-scanning state or scanning in progress state, control the current infrared touchscreen to stop performing infrared scanning.
[0044] The "scanning pre-scanning state" refers to the state in which the corresponding infrared touchscreen is preparing to perform an infrared scan, while the "scanning in progress state" refers to the state in which the corresponding infrared touchscreen is currently performing an infrared scan. When an adjacent infrared touchscreen is preparing to perform an infrared scan or is currently performing an infrared scan, the current infrared touchscreen will not perform an infrared scan to prevent simultaneous infrared scanning with adjacent touchscreens.
[0045] S3: When the adjacent infrared touchscreen is in a non-scanning state, control the current infrared touchscreen to perform infrared scanning.
[0046] The non-scanning state refers to the state where the corresponding infrared touch screen has finished the previous infrared scan. When the adjacent infrared touch screen finishes the previous infrared scan, the current infrared touch screen can perform an infrared scan to stagger the time when the current infrared touch screen and the adjacent infrared touch screen perform infrared scans.
[0047] Compared to related technologies, this application obtains the scanning status of adjacent infrared touchscreens. When an adjacent infrared touchscreen is in the pre-scanning or scanning state, it controls the current infrared touchscreen to stop scanning; when an adjacent infrared touchscreen is in the non-scanning state, it controls the current infrared touchscreen to perform infrared scanning. This can separate the infrared scanning time of adjacent spliced infrared touchscreens, prevent adjacent spliced infrared touchscreens from performing infrared scanning simultaneously, and thus improve the accuracy of touch information acquisition by spliced infrared touchscreens.
[0048] In one feasible embodiment, the infrared touch device includes at least two infrared touchscreens cascaded in a preset orientation.
[0049] The preset direction can be from right to left, from left to right, from top to bottom, or from bottom to top, etc.; cascading refers to connecting according to hierarchical control relationships. For example, an infrared touch device may include at least two infrared touch screens that can be connected according to a right-to-left hierarchical control relationship, or according to a left-to-right hierarchical control relationship, etc.
[0050] Please see Figure 2 S1: The step of obtaining the scanning status of adjacent infrared touchscreens includes:
[0051] S11: Obtain the scanning status of the previous infrared touchscreen; the previous infrared touchscreen is the touchscreen above the current infrared touchscreen.
[0052] The current infrared touchscreen can connect to the port of the previous infrared touchscreen to obtain the scanning status of the previous infrared touchscreen. However, when the current infrared touchscreen is the highest-level in a cascaded series of infrared touchscreens, there is no previous infrared touchscreen. Therefore, there is no previous infrared touchscreen in a scanning pre-scan or scanning in progress state, meaning the corresponding previous infrared touchscreen is in a non-scanning state.
[0053] S12: Determine the scanning state of the previous infrared touchscreen as the scanning state of the adjacent infrared touchscreen.
[0054] Since the scanning state of the previous infrared touchscreen is the scanning state of the adjacent infrared touchscreen, the current infrared touchscreen can perform infrared scanning when the scanning state of the previous infrared touchscreen is in a non-scanning state. Since the scanning command is generated according to a preset time interval, in the cascading relationship, the highest-level infrared touchscreen will perform infrared scanning and stop infrared scanning based on the preset time interval. When the highest-level infrared touchscreen stops infrared scanning, the next-level infrared touchscreen obtains the scanning state of the adjacent infrared touchscreen as a non-scanning state, that is, it is the turn of the next-level infrared touchscreen to perform infrared scanning.
[0055] In this embodiment, the scanning state of the previous infrared touchscreen can be obtained as the scanning state of the adjacent infrared touchscreen according to the cascading relationship, so as to control the infrared scanning time of the spliced and adjacent infrared touchscreens to be staggered, thereby improving the accuracy of the spliced infrared touchscreens in obtaining touch information.
[0056] In one feasible embodiment, the first side of the infrared touch screen is provided with a first signal output terminal and a first signal input terminal, and the second side of the infrared touch screen is provided with a second signal output terminal.
[0057] Wherein, if the first side of the infrared touch screen is connected to an adjacent previous infrared touch screen, the first signal output terminal of the infrared touch screen is connected to the second signal input terminal of the previous infrared touch screen, and the first signal input terminal of the infrared touch screen is used to obtain the scanning status of the previous infrared touch screen.
[0058] If the second side of the infrared touchscreen is connected to an adjacent next infrared touchscreen, the second signal output terminal of the infrared touchscreen is connected to the first signal input terminal of the next infrared touchscreen.
[0059] Please see Figure 3 S11: The step of obtaining the scanning state of the previous infrared touchscreen includes:
[0060] S111: Scanning signals are sent to the previous infrared touchscreen and the next infrared touchscreen respectively through the first signal output terminal and the second signal output terminal; the next infrared touchscreen is the next level touchscreen after the current infrared touchscreen.
[0061] The scanning signal can be an electrical signal with a preset voltage value.
[0062] The scan signal indicates whether the current infrared touchscreen is in a scan-prepared state or a scan-in-progress state. Sending a scan signal to the previous infrared touchscreen via the first signal output terminal can stop the previous infrared touchscreen from starting the next infrared scan after it has performed one. Sending a scan signal to the next infrared touchscreen via the first signal output terminal can stop the next infrared touchscreen from performing an infrared scan.
[0063] S112: Obtain the scanning status of the previous infrared touch screen through the first signal input terminal.
[0064] The first signal input terminal of the current infrared touch screen is communicatively connected to the previous infrared touch screen. Therefore, when the first signal input terminal of the current infrared touch screen receives a scanning signal from the previous infrared touch screen, it determines that the previous infrared touch screen is in a scanning pre-scanning state or a scanning in progress state; when the first signal input terminal of the current infrared touch screen does not receive a scanning signal from the previous infrared touch screen, it determines that the previous infrared touch screen is in a non-scanning state.
[0065] Please see Figure 4 S3: When an adjacent infrared touchscreen is in a non-scanning state, the steps to control the current infrared touchscreen to perform infrared scanning include:
[0066] S31: If the previous infrared touch screen is in a non-scanning state, control the current infrared touch screen to perform infrared scanning.
[0067] Since a scanning signal is sent to the next infrared touchscreen through the first signal output terminal, causing the next infrared touchscreen to stop performing infrared scanning, when the previous infrared touchscreen is in a non-scanning state, controlling the current infrared touchscreen to perform infrared scanning can stagger the infrared scanning time with the adjacent previous and next infrared touchscreens.
[0068] S32: After completing the infrared scan, drive the first signal output terminal and the second signal output terminal to stop sending scanning signals to indicate that the infrared touch screen is in a non-scanning state, trigger the next infrared touch screen to perform infrared scanning, until the next infrared touch screen completes the infrared scan and is in a non-scanning state, and sends scanning signals to the previous infrared touch screen and the next infrared touch screen through the first signal output terminal and the second signal output terminal respectively.
[0069] By stopping the issuance of scanning signals, the next infrared touchscreen receives information that the current infrared touchscreen is in a non-scanning state, and the next infrared touchscreen can then perform infrared scanning. After the next infrared touchscreen completes its infrared scan, the current infrared touchscreen can detect that the next infrared touchscreen is in a non-scanning state. At this time, the current infrared touchscreen sends scanning signals to the previous infrared touchscreen and the next infrared touchscreen respectively through the first signal output terminal and the second signal output terminal, causing the previous infrared touchscreen and the next infrared touchscreen to stop performing infrared scanning. The current infrared touchscreen can then start the process loop of the next infrared scan from step S111, so that the next infrared scan can be performed when both the previous infrared touchscreen and the next infrared touchscreen are in a non-scanning state.
[0070] In this embodiment, the process of determining whether to perform the current infrared scan based on the scanning state of the previous infrared touchscreen, and then determining whether to start the next infrared scan based on the scanning state of the next infrared touchscreen, is a loop. This ensures that the current infrared touchscreen will only perform an infrared scan when both the previous and next infrared touchscreens are in a non-scanning state, effectively preventing adjacent and spliced infrared touchscreens from performing infrared scans simultaneously.
[0071] In one feasible embodiment, the second side of the infrared touchscreen is further provided with a second signal input terminal; the second signal input terminal of the infrared touchscreen is connected to the first signal output terminal of the next infrared touchscreen.
[0072] Specifically, the current infrared touchscreen can obtain the signal emitted by the first signal output terminal of the next infrared touchscreen through the second signal input terminal to obtain the scanning state of the next infrared touchscreen. Similarly, the first signal output terminal of the current infrared touchscreen is connected to the second signal input terminal of the previous infrared touchscreen, so that the previous infrared touchscreen can obtain the signal emitted by the first signal output terminal of the current infrared touchscreen.
[0073] Please see Figure 5 S32: The step of sending scanning signals to the previous infrared touchscreen and the next infrared touchscreen respectively through the first signal output terminal and the second signal output terminal until the next infrared touchscreen completes the infrared scan and enters the non-scanning state includes:
[0074] S321: Obtain the scanning status of the next infrared touchscreen through the second signal input terminal.
[0075] In this system, the second signal input terminal of the current infrared touchscreen is communicatively connected to the first signal output terminal of the next infrared touchscreen. Therefore, when the second signal input terminal of the current infrared touchscreen receives a scan signal from the first signal output terminal of the next infrared touchscreen, it is determined that the next infrared touchscreen is in a scan pre-scan state or a scan in progress state. When the second signal input terminal of the current infrared touchscreen does not receive a scan signal from the first signal output terminal of the next infrared touchscreen, it is determined that the next infrared touchscreen is in a non-scanning state. Therefore, if the current infrared touchscreen does not have a next infrared touchscreen, it is determined that the second signal input terminal of the current infrared touchscreen has not received a scan signal.
[0076] S322: If the next infrared touch screen is in a non-scanning state, a scanning signal is sent to the previous infrared touch screen and the next infrared touch screen through the first signal output terminal and the second signal output terminal respectively.
[0077] In this embodiment, the infrared touch screen can obtain the scanning status of the next infrared touch screen through the second signal input terminal to determine whether the next infrared touch screen has completed infrared scanning. When the next infrared touch screen is in a non-scanning state after completing infrared scanning, the process loop of the next infrared scan can be executed from step S111, so that the next infrared scan can be performed when both the previous infrared touch screen and the next infrared touch screen are in a non-scanning state.
[0078] Please see Figure 6 In one feasible embodiment, S321: the step of obtaining the scanning state of the next infrared touchscreen through the second signal input terminal includes:
[0079] S3211: If the second signal input terminal receives a scanning signal from the next infrared touch screen, it determines that the next infrared touch screen is in the scanning pre-scanning state or the scanning in progress state.
[0080] S3212: Repeatedly detect the second signal input terminal until no scanning signal is received at the second signal input terminal, and determine that the next infrared touch screen is in a non-scanning state.
[0081] When the next infrared touchscreen is in the scanning pre-state or scanning in progress state, the current infrared touchscreen cannot start the next infrared scanning process cycle. Therefore, it can only repeatedly detect the second signal input terminal until the second signal input terminal does not receive a scanning signal, and it is determined that the next infrared touchscreen is in the non-scanning state. Only then can the current infrared touchscreen start the next infrared scanning process cycle.
[0082] In this embodiment, when the second signal input terminal receives the scanning signal from the next infrared touch screen, the second signal input terminal is repeatedly detected until it is detected that the second signal input terminal has not received a scanning signal. Only then can the current infrared touch screen start to execute the next infrared scanning process loop. This avoids the current infrared touch screen starting to execute the next infrared scanning process loop before the next infrared touch screen has completed its infrared scanning, and can prevent two adjacent infrared touch screens from performing infrared scanning at the same time.
[0083] Please see Figure 7 In one feasible embodiment, S112: the step of obtaining the scanning state of the previous infrared touchscreen through the first signal input terminal includes:
[0084] S1121: If the first signal input terminal receives a scanning signal from the previous infrared touch screen, it determines that the previous infrared touch screen is in the scanning pre-scanning state or the scanning in progress state.
[0085] S1122: Repeatedly detect the first signal input terminal until the first signal input terminal does not receive a scanning signal, and determine that the next infrared touch screen is in a non-scanning state.
[0086] When the previous infrared touchscreen is in the scanning pre-scanning state or scanning in progress state, the current infrared touchscreen cannot start infrared scanning. Therefore, it can only repeatedly detect the first signal input terminal until the first signal input terminal does not receive a scanning signal, confirming that the previous infrared touchscreen is in the non-scanning state, and only then can the current infrared touchscreen start infrared scanning.
[0087] In this embodiment, when the first signal input terminal receives the scanning signal from the previous infrared touch screen, the first signal input terminal is repeatedly detected until it is detected that the first signal input terminal has not received a scanning signal. Only then can the current infrared touch screen start infrared scanning. This avoids the current infrared touch screen starting infrared scanning before the previous infrared touch screen has completed infrared scanning, and can prevent two adjacent infrared touch screens from performing infrared scanning at the same time.
[0088] Please see Figure 8 This is a schematic diagram of several infrared touchscreens spliced together in this embodiment. For example... Figure 8As shown, touchscreen 1, touchscreen 2, and touchscreen 3 are three infrared touchscreens connected in sequence. For each infrared touchscreen, the first input terminal is IN_R, and the second input terminal is IN_L. Since the first and second output terminals output the same signal simultaneously, both the first and second output terminals are represented by "OUT". Figure 8 In the diagram, the first output terminal OUT is located below the first input terminal IN_R, and the second output terminal OUT is located below the second input terminal IN_L.
[0089] Furthermore, each infrared touchscreen has a built-in MCU main control module. This module controls the output signals of the first and second output terminals based on the input signals from the first input terminal IN_R and the second input terminal IN_L of the corresponding infrared touchscreen, and also controls whether the touchscreen performs infrared scanning. The logic flow of the MCU main control module is as follows: Figure 9 As shown.
[0090] Please see Figure 9 This is a logic flowchart of the MCU main control module corresponding to the touchscreen scanning control method in this embodiment. The MCU main control module is used to execute, for example... Figure 9 The logical flow is shown. Figure 9 In this context, a signal value of 1 indicates that a scan signal is being output or detected, while a signal value of 0 indicates that the scan signal output has stopped or no scan signal has been detected.
[0091] After touchscreens 1, 2, and 3 are powered on, the signal values of their first and second output terminals OUT are set to 1, meaning they all output scanning signals. Since touchscreen 1's first input terminal IN_R detects a signal value of 1 from touchscreen 2's second output terminal OUT, and touchscreen 2's first input terminal IN_R detects a signal value of 1 from touchscreen 3's second output terminal OUT, touchscreens 1 and 2 will repeatedly check their corresponding first input terminals IN_R until the detected signal value is 0. Touchscreen 3's first input terminal IN_R is not connected to any other infrared touchscreens, so its signal value is 0. Touchscreen 3 can then begin scanning (infrared scanning). After scanning, touchscreen 3 sets the signal values of its first and second output terminals OUT to 0. Since touchscreen 3's second input terminal IN_L detects a signal value of 1 from touchscreen 2's first output terminal OUT, touchscreen 3 will repeatedly check its second input terminal IN_L until the detected signal value is 0 before starting the next infrared scanning process.
[0092] When the first input terminal IN_R of touchscreen 2 detects a signal value of 0 from the second output terminal OUT of touchscreen 3, touchscreen 2 can begin scanning (performing an infrared scan). After scanning is complete, touchscreen 2 sets the signal values of both its first and second output terminals OUT to 0. At this time, touchscreen 3 detects a signal value of 0 from its second input terminal IN_L, and touchscreen 3 begins the next infrared scan process. However, since the second input terminal IN_L of touchscreen 2 detects a signal value of 1 from the first output terminal OUT of touchscreen 1, touchscreen 2 will repeatedly detect its second input terminal IN_L until the detected signal value is 0, at which point it will begin the next infrared scan process.
[0093] When the first input terminal IN_R of touch screen 1 detects a signal value of 0 from the second output terminal OUT of touch screen 2, touch screen 1 can start scanning (perform infrared scanning). After the scan is completed, touch screen 1 sets the signal values of the first output terminal OUT and the second output terminal OUT to 0. At this time, touch screen 2 detects a signal value of 0 from its second input terminal IN_L, and touch screen 2 starts to execute the next infrared scanning process until touch screen 2 detects a signal value of 0 from the second output terminal OUT of touch screen 3, at which point touch screen 2 starts scanning.
[0094] In summary, the logic flow of the above-described touchscreen scanning control method can stagger the infrared scanning times of the spliced touchscreen 1 and touchscreen 2, and stagger the infrared scanning times of the spliced touchscreen 2 and touchscreen 3, thereby preventing adjacent spliced infrared touchscreens from performing infrared scanning simultaneously and improving the accuracy of the spliced infrared touchscreens in acquiring touch information.
[0095] Please see Figure 10 The second embodiment of this application provides a touchscreen scanning control device 100, applied to an infrared touch device, the infrared touch device including at least two adjacently spliced infrared touchscreens; the device includes:
[0096] The scanning status acquisition module 101 is used to respond to scanning commands and acquire the scanning status of adjacent infrared touch screens;
[0097] The first execution module 102 is used to control the current infrared touch screen to stop infrared scanning when the adjacent infrared touch screen is in the scanning pre-scanning state or scanning in progress state.
[0098] The second execution module 103 is used to control the current infrared touch screen to perform infrared scanning when the adjacent infrared touch screen is in a non-scanning state.
[0099] It should be noted that the touchscreen scanning control device 100 provided in the second embodiment of this application is only illustrated by the above-described division of functional modules when executing the touchscreen scanning control method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the touchscreen scanning control device 100 provided in the second embodiment of this application and the touchscreen scanning control method of the first embodiment of this application belong to the same concept, and its implementation process can be found in the method embodiment, which will not be repeated here.
[0100] Please see Figure 11 The third embodiment of this application provides an infrared touch device 10, which includes at least two adjacent infrared touch screens;
[0101] In this process, the current infrared touchscreen responds to the scanning command and obtains the scanning status of the adjacent infrared touchscreens.
[0102] When an adjacent infrared touchscreen is in the scanning pre-scanning state or scanning in progress, control the current infrared touchscreen to stop infrared scanning;
[0103] When an adjacent infrared touchscreen is in a non-scanning state, control the current infrared touchscreen to perform infrared scanning.
[0104] It should be noted that the infrared touch device 10 provided in the third embodiment of this application and the touch screen scanning control method in the first embodiment of this application belong to the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.
[0105] The fourth embodiment of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the touchscreen scanning control method described above.
[0106] The device embodiments described above are merely illustrative. The components described as separate parts may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without any inventive effort.
[0107] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0108] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function selected in one or more boxes.
[0109] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function selected in one or more boxes.
[0110] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0111] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0112] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0113] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0114] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A touchscreen scanning control method, characterized in that, Applied to infrared touch devices, wherein the infrared touch devices include at least two adjacent infrared touchscreens; the method includes: In response to a scan command, the scanning status of the adjacent infrared touchscreen is obtained; When an adjacent infrared touchscreen is in the scanning pre-scanning state or scanning in progress, control the current infrared touchscreen to stop infrared scanning; When an adjacent infrared touchscreen is in a non-scanning state, control the current infrared touchscreen to perform infrared scanning.
2. The touchscreen scanning control method according to claim 1, characterized in that, The infrared touch device includes at least two infrared touchscreens cascaded in a preset direction; the step of obtaining the scanning status of adjacent infrared touchscreens includes: Obtain the scanning status of the previous infrared touchscreen; the previous infrared touchscreen is the touchscreen one level above the current infrared touchscreen. The scanning state of the previous infrared touchscreen is determined as the scanning state of the adjacent infrared touchscreen.
3. The touchscreen scanning control method according to claim 1, characterized in that, The infrared touch screen has a first signal output terminal and a first signal input terminal on its first side, and a second signal output terminal on its second side. The step of obtaining the scanning state of the previous infrared touchscreen includes: Scanning signals are sent to the previous infrared touchscreen and the next infrared touchscreen through the first signal output terminal and the second signal output terminal respectively; the next infrared touchscreen is the next level touchscreen after the current infrared touchscreen. The scanning status of the previous infrared touchscreen is obtained through the first signal input terminal; The step of controlling the current infrared touchscreen to perform infrared scanning when the adjacent infrared touchscreen is in a non-scanning state includes: If the previous infrared touchscreen is in a non-scanning state, control the current infrared touchscreen to perform infrared scanning; After completing the infrared scan, the first signal output terminal and the second signal output terminal are driven to stop sending scanning signals to indicate that the infrared touch screen is in a non-scanning state, triggering the next infrared touch screen to perform an infrared scan, until the next infrared touch screen completes the infrared scan and is in a non-scanning state, and then sends scanning signals to the previous infrared touch screen and the next infrared touch screen through the first signal output terminal and the second signal output terminal respectively.
4. The touchscreen scanning control method according to claim 3, characterized in that, The second side of the infrared touchscreen is also provided with a second signal input terminal; The step of sending scanning signals to the previous infrared touchscreen and the next infrared touchscreen respectively through the first signal output terminal and the second signal output terminal until the next infrared touchscreen completes infrared scanning and enters a non-scanning state includes: The scanning status of the next infrared touchscreen is obtained through the second signal input terminal; If the next infrared touchscreen is in a non-scanning state, scanning signals are sent to the previous infrared touchscreen and the next infrared touchscreen through the first signal output terminal and the second signal output terminal, respectively.
5. The touchscreen scanning control method according to claim 4, characterized in that, The step of obtaining the scanning state of the next infrared touchscreen through the second signal input terminal includes: If the second signal input terminal receives a scanning signal from the next infrared touch screen, it determines that the next infrared touch screen is in a scanning pre-scanning state or a scanning in progress state. Repeatedly detect the second signal input terminal until no scanning signal is received at the second signal input terminal, then determine that the next infrared touch screen is in a non-scanning state.
6. The touchscreen scanning control method according to claim 3, characterized in that, The step of obtaining the scanning state of the previous infrared touchscreen through the first signal input terminal includes: If the first signal input terminal receives a scanning signal from the previous infrared touch screen, it determines that the previous infrared touch screen is in a scanning pre-scanning state or a scanning in progress state. Repeatedly detect the first signal input terminal until no scanning signal is received at the first signal input terminal, then determine that the next infrared touch screen is in a non-scanning state.
7. The touchscreen scanning control method according to any one of claims 3-6, characterized in that, The scanning signal is an electrical signal with a preset voltage value.
8. A touchscreen scanning control device, characterized in that, Applied to infrared touch devices, wherein the infrared touch devices include at least two adjacent infrared touch screens; the device includes: The scanning status acquisition module is used to respond to scanning commands and acquire the scanning status of adjacent infrared touch screens; The first execution module is used to control the current infrared touch screen to stop infrared scanning when the adjacent infrared touch screen is in the scanning pre-scanning state or scanning in progress state. The second execution module is used to control the current infrared touchscreen to perform infrared scanning when the adjacent infrared touchscreen is in a non-scanning state.
9. An infrared touch device, characterized in that, It should include at least two adjacent infrared touchscreens; In this process, the current infrared touchscreen responds to the scanning command and obtains the scanning status of the adjacent infrared touchscreens. When an adjacent infrared touchscreen is in the scanning pre-scanning state or scanning in progress, control the current infrared touchscreen to stop infrared scanning; When an adjacent infrared touchscreen is in a non-scanning state, control the current infrared touchscreen to perform infrared scanning.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 6.