Scanning control method and device, infrared touch screen, electronic equipment and storage medium

CN122439142APending Publication Date: 2026-07-21GUANGZHOU ZHONGYUAN INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU ZHONGYUAN INTELLIGENT TECH CO LTD
Filing Date
2024-11-21
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Existing touch devices are prone to frame rate instability or scanning abnormalities during the scanning and algorithm-based point finding process, which affects the user experience.

Method used

By statistically analyzing the time consumed by the algorithm to find points in the scanned data frames and the number of scanned data frames to be processed in memory, the scanning time is calculated and adjustment parameters are generated. These parameters are then sent to the scanning module to adjust the scanning time to match the processing speed of the data frames, thereby synchronizing the algorithm's point-finding process with the scanning process.

Benefits of technology

It prevents abnormal situations such as lag, excessive latency, frame drops, or disconnections, thus improving the user experience of touch devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122439142A_ABST
    Figure CN122439142A_ABST
Patent Text Reader

Abstract

The application relates to a scanning control method and device, an infrared touch screen, electronic equipment and a computer readable storage medium. The method comprises the following steps: counting a first time consumption used for algorithm point finding on the scanning data frame; acquiring the number of scanning data frames to be processed currently cached in the memory; calculating the scanning time according to the number of scanning data frames to be processed and the first time consumption, and generating corresponding scanning adjustment parameters according to the scanning time; and sending the scanning adjustment parameters to the scanning module to adjust the scanning time to match the processing speed of the scanning data frame. In the technical solution, the scanning time processing flow is added in the algorithm point finding flow in the touch scanning process, and the scanning module is actively modified to modify the underlying scanning frame rate, so that the algorithm point finding flow and the scanning flow are synchronized, and the abnormal conditions such as lagging, excessive delay, frame loss or disconnection are prevented, and the touch use effect of the touch device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Scanning control method, device, infrared touch screen, electronic equipment and storage medium Technical Field

[0001] This application relates to the field of touch technology, and in particular to a scanning control method, apparatus, infrared touch screen, electronic device and computer-readable storage medium. Background Technology

[0002] When a touch device scans, it typically involves two processes: scanning and algorithm-based point finding. These processes generally employ either sequential or parallel execution. For the sequential execution method, the main steps include: starting by scanning one frame, acquiring scan data, finding points using the algorithm and reporting the coordinates to the system, and then starting the next frame scan. This method acquires one frame of data, completes algorithm processing, and then proceeds to the next frame scan, thus eliminating the asynchronous issue between scanning and point finding. This method is suitable for applications where scanning and point finding are on the same chip, but not for applications where scanning and point finding are separated, or where the algorithm runs within the operating system. However, since most operating systems, such as Windows and Linux / Android, are non-real-time operating systems, the frame rate becomes highly unstable when the algorithm processes data at the system level. This is because the system calls the algorithm for positioning, and the algorithm waits to complete the calculation of one frame's data before proceeding to the next frame.

[0003] For parallel execution, the main process includes two loops: scanning and algorithm point finding. Data acquired during scanning is stored in a FIFO (First Input First Output) queue. The scanning loop is: "Start scanning → Acquire scan data → Send to algorithm point finding". The algorithm point finding loop is: "Loop acquisition of data and storage in memory → Calculate coordinates → Report to system". When the memory for data in the algorithm point finding loop is full, receiving scan data is paused. At this point, there are two underlying operations: one is blocking the scan, where the algorithm stops scanning after receiving no more data; the other is continuing scanning but discarding the acquired data. When the algorithm executes quickly while the scanning data acquisition is slow, the algorithm waits for new scan data to arrive before recalculating. The algorithm and scanning are relatively independent with weak correlation. When scanning is fast while the algorithm runs slowly, the asynchronous speeds lead to an accumulation of data in memory. This means the current algorithm is processing data collected from a long time ago, resulting in increased latency as the scan data accumulates. When memory overflows, scanning stops, causing anomalies such as disconnections / pull-outs.

[0004] It is evident that existing scanning control methods for touch devices are prone to unstable frame rates or scanning anomalies, severely impacting the usability of touch devices. Summary of the Invention

[0005] Therefore, it is necessary to provide a scanning control method, device, infrared touch screen, electronic device, and computer-readable storage medium to address one of the aforementioned technical problems.

[0006] A scanning control method, comprising:

[0007] The time consumed in the algorithmic point finding process for the scanned data frame is recorded.

[0008] Get the number of pending scan data frames currently cached in memory;

[0009] The scanning time is calculated based on the number of scan data frames to be processed and the first time consumption, and corresponding scanning adjustment parameters are generated based on the scanning time.

[0010] The scan adjustment parameters are sent to the scan module to adjust its scan time to match the processing speed of the scan data frames.

[0011] A scanning control device, comprising:

[0012] The statistics unit is used to calculate the first time consumed in algorithmic point finding of the scanned data frame;

[0013] The monitoring unit is used to obtain the number of pending scan data frames currently cached in memory;

[0014] The generation unit is used to calculate the scanning time based on the number of scan data frames to be processed and the first time consumption, and to generate corresponding scanning adjustment parameters based on the scanning time;

[0015] An adjustment unit is used to send the scan adjustment parameters to the scan module to adjust its scan time to match the processing speed of the scan data frames.

[0016] An infrared touch screen includes: an infrared touch frame, a touch display screen, and a motherboard;

[0017] The motherboard is configured to perform the steps of the scanning control method.

[0018] An electronic device includes a memory and a processor, the memory storing a computer program, characterized in that the processor executes the computer program to implement the steps of the scanning control method.

[0019] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the scanning control method.

[0020] The technical solution of the above embodiment obtains the number of pending scan data frames currently cached in memory by statistically analyzing the first time spent finding points on the scan data frames, and calculates the scan time to generate corresponding scan adjustment parameters, which are then sent to the scan module to adjust its scan time to match the processing speed of the scan data frames. This technical solution adds a scan time calculation process to the algorithm point finding process during touch scanning and sends it to the scan module to actively modify the underlying scan frame rate, thereby achieving the purpose of synchronizing the algorithm point finding process with the scan process. This can prevent abnormal situations such as stuttering, excessive latency, frame loss, or disconnection, and improve the touch usage effect of the touch device. Attached Figure Description

[0021] Figure 1 is an example scan control block diagram;

[0022] Figure 2 is a flowchart of a scanning control method according to an embodiment;

[0023] Figure 3 is a schematic diagram of the structure of a scanning control device according to an embodiment;

[0024] Figure 4 is a schematic diagram of an example infrared touch screen structure;

[0025] Figure 5 is a structural block diagram of an example infrared touch screen;

[0026] Figure 6 is a schematic diagram of an example electronic device structure. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0028] For the application scenarios of the scanning control method of this application, it can be used in various touch screens equipped with touch devices, such as interactive smart tablets and touch tablets. Referring to Figure 1, which is an example scanning control block diagram, when a user uses a touch object, such as a stylus or finger, to perform touch operations on the touch device, the touch device executes a scanning process and outputs scanning data to the algorithm point-finding process on the driver layer of the touch screen's operating system. Both processes are executed simultaneously in a loop. As shown in the figure, when the touch device executes the scanning loop process, the scanning module outputs a control signal to the scanning circuit, acquires the acquisition signal of the scanning infrared lamp, and outputs the scanning data for processing to obtain a scanning data frame, which is then transmitted to the algorithm point-finding process on the driver layer. In the algorithm point-finding loop process, the scanning data frame is first cached in memory, and then the algorithm positioning module reads the scanning data frame to perform positioning and point-finding processing, outputs coordinate points, and uploads the coordinate points to the operating system. The system (OS) is used to complete touch positioning processing. After each scan data frame is processed, the scanning time of the scanning module is recalculated, and scanning parameters are generated and sent to the underlying scanning module. The scanning module adjusts the scanning cycle / frame rate based on the time of the scanning adjustment parameters. In one embodiment, the scanning time is calculated after each scan data frame is processed, and the calculated scanning time is sent to the scanning module to adjust its scanning time. In another embodiment, the scanning time is not calculated after each scan data frame is processed; it can be calculated every few scan data frames. Alternatively, the scanning time is recalculated only when the number or frequency of touch stuttering, delay, or disconnection exceeds a specific threshold to reduce system computing power consumption. This ensures that the scanning speed matches the processing speed of the current algorithm positioning module, preventing overflow of scan data frames in memory and avoiding abnormal situations such as stuttering, excessive delay, frame loss, or disconnection.

[0029] In one embodiment, referring to FIG2, FIG2 is a flowchart of a scanning control method according to an embodiment. This method can be used in an algorithm positioning module and includes the following steps:

[0030] Step S10: Calculate the first time consumed in algorithmic point finding for the scanned data frame.

[0031] In this step, after the algorithm localization module has processed a scanned data frame, the first time t used to find points on that scanned data frame is calculated. alg In this embodiment, the first time t alg This could be the time taken from reading scan data frames from memory until the touch coordinates are identified.

[0032] Step S20: Obtain the number of scan data frames currently cached in memory that are yet to be processed.

[0033] In this step, the number N of unprocessed scan data frames cached in memory is monitored in real time. f By real-time monitoring of the number N of scan data frames to be processed f It can obtain the current speed at which the algorithm positioning module processes scan data frames, thereby adjusting the speed of generating scan data to match the speed of processing scan data frames, and avoiding memory overflow that could lead to abnormal situations.

[0034] Step S30: Calculate the scanning time based on the number of scan data frames to be processed and the first time consumption, and generate corresponding scanning adjustment parameters based on the scanning time.

[0035] In this step, the scanning time matched by the scanning module is calculated based on the number of scan data frames to be processed in the monitored memory and the first time spent processing each scan data frame. This scanning time refers to the time it takes for the scanning module to complete scanning one frame of scan data. The scanning adjustment parameter is defined as a parameter used to change the scanning cycle / scanning frequency of the scanning module.

[0036] The data type of the scan adjustment parameters is not limited; for example, it may include the target scan cycle, target scan frequency, scan time increase or decrease duration, and instructions to wait for a specific duration. After the scan time is calculated, it can be converted into the corresponding scan cycle, scan frequency and other scan adjustment parameters and sent to the scan module. Alternatively, it can be converted into scan adjustment parameters such as increasing or decreasing the duration based on the original scan time and sent to the scan module. It can also be converted into instructions to wait for a specific duration and sent to the scan module.

[0037] In one embodiment, step S30, which calculates the scanning time based on the number of scan data frames to be processed and the first time consumption, may include the following:

[0038] S311, calculate the first average of the first time spent in the most recent period.

[0039] Specifically, the calculation of the first time t taken by the algorithm localization module to process multiple scan data frames within a recent period. alg First average t ave .

[0040] S312 calculates the delay time based on the number of scan data frames to be processed in the current memory.

[0041] For example, the formula for calculating the delay time can be as follows: t delay =ΔT D *N f

[0042] In the formula, t delay The delay time, ΔT, is positively correlated with the number of scan data frames to be processed in memory. D For the set positive correlation coefficient, N f The number of scan data frames to be processed in memory;

[0043] S313, calculate the scan time based on the first average value and the delay time.

[0044] For example, the formula for calculating the scan time can be as follows: T n =t ave +t delay

[0045] In the formula, T n For the scan time, t ave The first average value; where T n It can be represented as the scanning time of the next frame of scan data from the scanning module.

[0046] As in the technical solution of the above embodiment, by calculating the average time consumed in processing the scan data frames and combining it with the delay time that is positively correlated with the number of scan data frames to be processed in memory, the scan time is finally calculated. This allows the scan time to be more matched with the data processing speed of the current algorithm positioning module, thereby avoiding the occurrence of abnormal situations.

[0047] Step S40: Send the scan adjustment parameters to the scan module to adjust its scan time to match the processing speed of the scan data frame.

[0048] In another embodiment, step S30, which calculates the scanning time based on the number of scan data frames to be processed and the first time consumption, may also include the following:

[0049] S321, calculate the change in scanning time based on the number of scan data frames to be processed in the current memory.

[0050] For example, when there is scan data to be processed in memory, the method for calculating the change in scan time may include the following: t Inc =ΔT0*N f t Dec =0

[0051] In the formula, t Inc This represents the increment of the scan time, ΔT1 represents the set time value, and t... Dec This represents the reduction in scan time, where ΔT0 is the set positive correlation coefficient, and N... f The number of scan data frames to be processed in memory

[0052] For example, when there is no scan data to be processed in memory, i.e., N f If t = 0, then the change in scan time is: t Inc =0 t Dec =ΔT1

[0053] In the formula, t Inc This represents the increment of the scan time, ΔT1 represents the set time value, and t... Dec This indicates the reduction in scan time.

[0054] S322, calculate the next scan time to be sent to the scanning module based on the current scan time and the change amount.

[0055] For example, the formula for calculating the scan time may include the following: T n+1 =T n +t Inc +t Dec

[0056] In the formula, T n+1 T is the scan time to be sent to the scanning module next time. n This refers to the scanning time that has been assigned to the scanning module.

[0057] In the technical solution of the above embodiment, the change in scanning time is calculated based on the number of scan data frames to be processed in the current memory. Thus, the scanning time of the next frame can be adjusted based on the scanning time of the previous frame. This allows the speed at which the scanning module outputs scanning data to follow the data processing speed of the algorithm positioning module, thereby avoiding abnormal situations.

[0058] To improve the effectiveness of scanning time in various application scenarios, more embodiments of the scanning control method are described below.

[0059] In one embodiment, the scanning control method of this application, after calculating the scanning time, may further include:

[0060] The scan time is determined within a preset time range. When the scan time is less than a minimum time threshold, the scan time is set to the minimum time threshold; when the scan time is greater than a maximum time threshold, the scan time is set to the maximum time threshold. Specifically, the minimum scan time is not less than T. min The maximum value shall not exceed T max Generally, the minimum time threshold should be greater than the minimum time required for the scanning module to scan one frame of data.

[0061] As described in the above embodiments, by limiting the maximum and minimum values ​​of the scanning time, abnormal situations caused by excessively short or long scanning times can be avoided.

[0062] In one embodiment, the scanning control method of this application may further smooth the calculated scanning time before generating the corresponding scanning adjustment parameters based on the scanning time, and then use it to generate the scanning adjustment parameters; during the smoothing process, the scanning time may be adjusted according to the set smoothing transition parameters.

[0063] As described in the above embodiments, by smoothing the scanning time, abrupt changes in the scanning time can be prevented, thereby affecting the touch effect.

[0064] In one embodiment, the scanning control method of this application can also identify the current touch state based on the coordinate points obtained by finding points in the scanning data frame; if the current scanning data frame has multiple touch points, the scanning time is set to a specific value.

[0065] For example, the algorithm positioning module finds coordinate points by processing scan data frames. When there are large objects (e.g., areas exceeding 10cm×10cm), a large number of touch points (e.g., more than 20 coordinate points), or scenarios such as palm-proofing, the scanning cycle of the scanning module is increased to a specific value (e.g., 20ms) to prevent the touch positioning algorithm from laging.

[0066] In one embodiment, the scanning control method of this application can also identify the current touch state based on the coordinate points obtained by finding points in the scanning data frame; if the current scanning data frame has no touch points, then a scanning adjustment parameter is generated to scan at the maximum scanning working frame rate of the scanning circuit.

[0067] For example, the algorithm positioning module finds coordinate points by processing scan data frames. When special situations are found, such as no touch points or no light obstruction on the touch device, the scanning frame rate is increased to the maximum scanning working frame rate of the scanning circuit for scanning.

[0068] In summary, the technical solutions of the above embodiments include the addition of scanning time adjustment in touch scanning, which actively modifies the underlying scanning cycle (time) / scanning frame rate. This achieves the synchronization of the algorithm's point-finding process with the scanning process, preventing abnormal situations such as stuttering, excessive latency, frame loss, and disconnection. At the same time, it can also control the rate of change of the scanning frame rate to prevent excessive frame rate changes from affecting the touch effect.

[0069] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0070] Based on the same inventive concept, this application also provides a scanning control device for implementing the scanning control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more scanning control device embodiments provided below can be found in the limitations of the scanning control method described above, and will not be repeated here.

[0071] In one embodiment, as shown in FIG3, FIG3 is a schematic diagram of a scanning control device structure according to an embodiment, including:

[0072] The statistics unit 10 is used to count the first time spent in algorithmic point finding on the scanned data frame;

[0073] Monitoring unit 20 is used to obtain the number of pending scan data frames currently cached in memory;

[0074] The generation unit 30 is used to calculate the scanning time based on the number of scan data frames to be processed and the first time consumption, and to generate corresponding scanning adjustment parameters based on the scanning time;

[0075] The adjustment unit 40 is used to send the scan adjustment parameters to the scan module to adjust its scan time to match the processing speed of the scan data frame.

[0076] Each module in the aforementioned scanning control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor in hardware form or independent of it, or stored in memory in software form, so that the processor can call and execute the operations corresponding to each module.

[0077] The following describes an embodiment of the infrared touch screen.

[0078] This application also provides an infrared touch screen. Referring to Figure 4, Figure 4 is a schematic diagram of an example infrared touch screen structure, which may include: an infrared touch frame, a touch display screen, and a motherboard; wherein, the infrared touch frame communicates with the motherboard via USB; the motherboard is configured to execute the steps of the scanning control method of any of the above embodiments; specifically, the infrared touch frame is provided with an array of emitting and receiving lamps; the emitting and receiving lamps are connected to the MCU through a signal processing circuit; the emitting lamps emit infrared rays under the control of the motherboard; the receiving lamps receive infrared signals; the motherboard can be configured to execute the steps of the scanning control method of any of the above embodiments through a corresponding controller.

[0079] For example, referring to Figure 5, which is a structural block diagram of an example infrared touch screen, the hardware structure of the infrared touch frame in this embodiment may include: MCU (Microcontroller Unit), scanning circuit, and infrared lamps. The scanning module runs in the MCU. The scanning module controls the scanning circuit to collect infrared signals from the infrared lamps through control signals. After processing the scanning signals, it outputs scanning data frames, which are then uploaded to the motherboard via USB. The motherboard can run an operating system. The point-finding algorithm is located in the driver layer of the operating system. The scanning data frames are cached in memory. The algorithm positioning module identifies coordinate points from the scanning data frames and reports them to the upper layer of the operating system for use. Simultaneously, it recalculates the scanning time, generates scanning adjustment parameters, and sends them to the scanning module of the MCU via USB to adjust the scanning cycle / frame rate, ensuring that the scanning and algorithm point-finding processes are matched in speed.

[0080] The infrared touch screen in the above embodiment can synchronize the algorithm point finding process with the scanning process during the touch scanning process, preventing abnormal situations such as lag, excessive delay, frame loss or disconnection, and has a better touch usage effect of the touch device.

[0081] The following describes embodiments of electronic devices and computer-readable storage media.

[0082] In one embodiment, this application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, characterized in that the processor executes the steps of the scanning control method of any of the above embodiments. Referring to FIG6, FIG6 is a schematic diagram of an example electronic device structure, which may include a processor, a memory, a communication interface, etc. connected via a system bus. The processor of this electronic device provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface can be used for wired or wireless communication with external devices. The wireless communication can be implemented through WIFI, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements the steps of the scanning control method of any of the above embodiments.

[0083] Those skilled in the art will understand that the structure shown in the figure is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the controller to which the present application is applied. The specific controller may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0084] In one embodiment, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method embodiments.

[0085] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these. The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combination of these technical features does not contradict each other, it should be considered within the scope of this specification.

[0086] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A scanning control method, characterized in that, include: The time consumed in the algorithmic point finding process for the scanned data frame is recorded. Get the number of pending scan data frames currently cached in memory; The scanning time is calculated based on the number of scan data frames to be processed and the first time consumption, and corresponding scanning adjustment parameters are generated based on the scanning time. The scan adjustment parameters are sent to the scan module to adjust its scan time to match the processing speed of the scan data frames.

2. The scanning control method according to claim 1, characterized in that, The first time consumed includes the time spent reading the scan data frame from memory until the touch coordinate point is identified.

3. The scanning control method according to claim 1, characterized in that, The scan adjustment parameters include: target scan cycle / frequency, scan time increase or decrease duration, or waiting command.

4. The scanning control method according to claim 1, characterized in that, The scanning time is calculated based on the number of scan data frames to be processed and the first time consumption, including: Calculate the first average of the first time spent over the most recent period; The delay time is calculated based on the number of scan data frames to be processed in the current memory. as well as The scan time is calculated based on the first average value and the delay time.

5. The scanning control method according to claim 4, characterized in that, The delay time is calculated using the following formula: t delay =ΔT D *N f In the formula, t delay Let ΔT be the delay time. D For the set positive correlation coefficient, N f The number of scan data frames to be processed in memory; The formula for calculating the scanning time is as follows: T n =t ave +t delay In the formula, T n For the scan time, t ave This is the first average value.

6. The scanning control method according to claim 1, characterized in that, The scanning time is calculated based on the number of scan data frames to be processed and the first time consumption, including: The change in scan time is calculated based on the number of scan data frames to be processed in memory. The next scan time to be sent to the scanning module is calculated based on the current scan time and the change.

7. The scanning control method according to claim 6, characterized in that, The change in scan time is calculated based on the number of scan data frames to be processed in memory, including: When there are scan data frames to be processed in memory, the change in scan time is: t Inc =ΔT0*N f t Dec =0 In the formula, t Inc t represents the increment of the scan time. Dec This represents the reduction in scan time, where ΔT0 is the set positive correlation coefficient, and N... f This represents the number of scan data frames to be processed in memory.

8. The scanning control method according to claim 7, characterized in that, When N f When t = 0, the change in scan time is: t Inc =0 t Dec =ΔT1 In the formula, t Inc t represents the increment of the scan time. Dec ΔT1 represents the reduction in scan time, while ΔT1 represents the set time value.

9. The scanning control method according to claim 8, characterized in that, The next scan time sent to the scanning module is calculated based on the current scan time and the increment value, including: T n+1 =T n +t Inc +t Dec In the formula, T n+1 T is the scan time to be sent to the scanning module next time. n This refers to the scanning time that has been assigned to the scanning module.

10. The scanning control method according to claim 1, characterized in that, Also includes: The scan time is determined by a preset time range. When the scan time is less than the minimum time threshold, the scan time is taken as the minimum time threshold. When the scan time is greater than the maximum time threshold, the scan time is taken as the maximum time threshold.

11. The scanning control method according to claim 1, characterized in that, Before generating the corresponding scan adjustment parameters based on the scan time, the method further includes: smoothing the calculated scan time.

12. The scanning control method according to claim 1, characterized in that, Also includes: The current touch state is identified by finding the coordinates of the points obtained from the scanned data frame. If the current scanned data frame is a multi-touch point, then the scan time is set to a specific value.

13. The scanning control method according to claim 1, characterized in that, Also includes: If the current scan data frame has no touch points, then scan adjustment parameters are generated to scan at the maximum scan working frame rate of the scan circuit.

14. A scanning control device, characterized in that, include: The statistics unit is used to calculate the first time consumed in algorithmic point finding of the scanned data frame; The monitoring unit is used to obtain the number of pending scan data frames currently cached in memory; The generation unit is used to calculate the scanning time based on the number of scan data frames to be processed and the first time consumption, and to generate corresponding scanning adjustment parameters based on the scanning time; An adjustment unit is used to send the scan adjustment parameters to the scan module to adjust its scan time to match the processing speed of the scan data frames.

15. An infrared touch screen, characterized in that, include: Infrared touch frame, touch display screen, and motherboard; The motherboard is configured to perform the steps of the scanning control method according to any one of claims 1 to 13.

16. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the scanning control method according to any one of claims 1 to 13.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the scanning control method according to any one of claims 1 to 13.