Method and system for abnormal touch data identification and fault tolerance verification of touch screen control card
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-09
- Publication Date
- 2026-08-14
AI Technical Summary
1)、无法区分随机干扰噪声、持续性硬件故障、环境干扰类不同类型异常数据,误剔除有效触摸信号;
1、本发明通过构建多触控点轨迹链矩阵,实现对多帧触控数据的时序化、结构化,结合坐标重叠、路径交叉、轨迹缠绕等混叠判定规则,可快速识别并剔除干扰轨迹,有效解决多点触控场景下轨迹串扰、虚假触控点误识别问题,提升触控数据的真实性与纯净度;
Smart Images

Figure CN122569769A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of touch screen control card data processing technology, and in particular to a method and system for abnormal touch data identification and fault-tolerant verification processing of touch screen control cards. Background Technology
[0002] Currently, touch screen control cards are widely used in industrial touch equipment, automotive touch screens, and self-service terminal touch screens to complete touch signal acquisition, analysis, and command transmission. The touch screen control card collects raw touch data in real time from the touch sensor, such as row and column sensing voltage, capacitance difference, coordinate position, and pressure value, and then uploads it to the main control unit to realize human-machine interaction.
[0003] In actual operation, factors such as electromagnetic interference from equipment, power supply ripple fluctuations, sudden changes in ambient temperature and humidity, water stains and dust on the touch panel, poor wiring contact, and transient pulse interference can easily cause problems such as touch data distortion, point jumps, data packet loss, duplicate reporting, out-of-range anomalies, and multi-point false touches. Traditional touch screen control cards only use simple threshold filtering or single data comparison to remove outliers, which has the following drawbacks: 1) Unable to distinguish between different types of abnormal data such as random interference noise, persistent hardware failure, and environmental interference, resulting in the incorrect rejection of valid touch signals; 2) The method of directly reporting sudden abnormal data to the main control can cause faults such as touch screen lag, cursor drift, accidental button triggering, and device malfunction. 3) Abnormal data is directly discarded, which results in touch disconnection, operation gaps, and poor stability of human-computer interaction. 4) Unable to distinguish between transient interference and permanent hardware failure.
[0004] This makes conventional touch data processing solutions difficult to adapt to complex and highly interfering working conditions such as industrial and automotive applications, resulting in weak anti-interference capabilities of the touch system and an inability to guarantee the safety of device operation and the accuracy of interaction.
[0005] Therefore, there is an urgent need to provide a touch data processing method that is suitable for touch screen control card hardware architecture, has low computing power consumption, high-precision recognition, and multi-level fault tolerance. Summary of the Invention
[0006] To address the shortcomings of existing technologies, this invention provides a method and system for abnormal touch data identification and fault tolerance verification of touch screen control cards. This invention can accurately classify and identify abnormal data, perform hierarchical fault tolerance verification, and effectively compensate and repair data, thereby reducing the impact of electromagnetic, environmental, and hardware interference on touch signals and improving the operational stability and touch interaction accuracy of touch screen control cards.
[0007] In a first aspect, the present invention provides a method for abnormal touch data identification and fault-tolerant verification processing of a touch screen control card, comprising: Multi-frame touch control data of the touch screen control card is continuously collected at a fixed sampling frequency. The multi-frame touch control data is stored in a FIFO buffer queue and a multi-touch point trajectory chain matrix is constructed using the multi-frame touch control data. Traverse all touch trajectory chains in the multi-touch point trajectory chain matrix, compare the coordinate point distribution of each touch trajectory chain frame by frame. If two or more touch trajectory chains have overlapping coordinate points, intersecting paths, or merging and intertwining trajectory paths in two or more consecutive frames, they are determined to be overlapping touch trajectory chains. For aliased touch trajectory chains, the effective touch trajectory chains and interfering touch trajectory chains are filtered by the capacitance difference fluctuation, and the interfering touch trajectory chains are eliminated; thus, the corrected multi-touch point trajectory chain matrix is obtained. Based on the corrected multi-touch point trajectory chain matrix, the multi-dimensional feature parameters of each corrected touch trajectory chain in the current sampling frame are extracted column by column to construct a standardized feature vector, and the anomaly confidence of each touch trajectory chain is calculated based on the standardized feature vector. Based on the anomaly confidence level and auxiliary working condition information, the anomaly type of each corrected touch trajectory chain in the corrected multi-touch point trajectory chain matrix is determined; corresponding fault tolerance strategies are matched for touch trajectory chains with different anomaly types to obtain the calibrated multi-touch point trajectory chain matrix; Based on the computing power load of the touch screen control card, each calibrated touch trajectory chain in the calibrated multi-touch point trajectory chain matrix is smoothed to obtain a smoothed multi-touch point trajectory chain matrix.
[0008] Preferably, a multi-touch trajectory chain matrix is constructed using touch control data, including: Taking the single touch point capacitor as the center, determine whether the difference of the sensing capacitor of the surrounding rows and columns changes continuously and gradually, and mark the isolated abrupt change points without connected domains as noise points to be removed, and filter to obtain the set of effective touch points in the current frame; Based on the Euclidean space distance between the valid touch points in the previous frame and the valid touch points in the current frame and the fluctuation of the capacitance difference between adjacent sampled frames, it is determined whether the valid touch points in two adjacent frames are the same valid touch point. If the valid touch points in adjacent frames are the same valid touch point, then the valid touch points in the current frame inherit the ID of the corresponding valid touch points in the previous frame. Each consecutive touch trajectory chain matching the ID is encapsulated into a trajectory feature vector frame by frame in chronological order; The multi-touch point trajectory chain matrix is obtained by using the number of touch points as rows and the sampling time frame as columns, and adding a status label to the touch trajectory chain of each column.
[0009] Preferably, determining whether effective touch points in two adjacent frames are the same effective touch point is based on the Euclidean spatial distance between the effective touch points in the previous frame and the effective touch points in the current frame and the capacitance difference fluctuation between adjacent sampled frames, including: If the Euclidean space distance between the valid touch point in the previous frame and the valid touch point in the current frame is less than the maximum movement distance threshold of the target operation, and the capacitance difference fluctuation of adjacent sampling frames is less than or equal to the preset capacitance fluctuation threshold, then it is determined whether the valid touch points in the two adjacent frames are the same valid touch point.
[0010] Preferably, for aliased touch trajectory chains, the effective touch trajectory chains and interfering touch trajectory chains are screened by the capacitance difference fluctuation, and the interfering touch trajectory chains are eliminated; thus, a corrected multi-touch point trajectory chain matrix is obtained; including: Obtain the capacitance difference between each touch trajectory chain in consecutive sampling frames when there is aliasing; Along the sampling frame time axis of the touch trajectory chain, calculate the capacitance difference fluctuation of each touch trajectory chain in adjacent frames. If the capacitance difference fluctuation of the touch trajectory chain in adjacent frames is less than or equal to the preset capacitance fluctuation threshold, the touch trajectory chain is determined to be a real and valid touch trajectory chain; otherwise, it is determined to be an interfering touch trajectory chain. After removing all interfering touch trajectory chains, the corrected multi-touch point trajectory chain matrix is obtained.
[0011] Preferably, based on the anomaly confidence level and auxiliary working condition information, anomaly type determination is performed on each touch trajectory chain in the corrected multi-touch point trajectory chain matrix, including: If the abnormal confidence level is greater than or equal to 0 and less than the first confidence level threshold, it is determined to be a normal touch trajectory chain; If the anomaly confidence level is greater than or equal to the first confidence threshold and less than the second confidence threshold, it is determined to be a transient pulse interference anomaly. If the electromagnetic interference intensity is greater than the electromagnetic interference threshold, the transient pulse interference anomaly is determined to be electromagnetic pulse transient interference. If the power supply ripple coefficient is greater than the power supply ripple threshold, the transient pulse interference anomaly is determined to be power supply ripple coupled interference. If the anomaly confidence level is greater than or equal to the second confidence threshold and less than the third confidence threshold, and the rate of change of ambient temperature is greater than the temperature change threshold, then it is determined to be an abnormal ambient temperature drift interference. If the anomaly confidence level is greater than or equal to the third confidence level threshold, it is determined to be a hardware channel precursor fault anomaly.
[0012] Preferably, a corresponding fault-tolerance strategy is matched to the touch trajectory chain for different anomaly types to obtain a calibrated multi-touch point trajectory chain matrix; including: A first-level fault-tolerance strategy is adopted for transient electromagnetic pulse interference. The first-level fault tolerance uses neighborhood weighted fitting to reconstruct the abnormal sampling frames of the current touch trajectory chain. A two-level fault tolerance strategy is adopted to deal with abnormal environmental temperature drift interference and power supply ripple coupling interference. The two-level fault tolerance adopts segmented threshold correction of capacitor fluctuation threshold, and based on the correction of capacitor fluctuation threshold, linear normalization correction is adopted to correct the abnormal sampling frame capacitance difference of the current touch trajectory chain to a reasonable range. A three-level fault tolerance strategy is adopted for hardware channel precursor faults, namely, fault sampling channel isolation and redundant backup acquisition channel switching.
[0013] Preferably, a first-level fault-tolerance strategy is adopted for transient electromagnetic pulse interference. The first-level fault tolerance uses neighborhood weighted fitting to reconstruct abnormal sampling frames of the current touch trajectory chain, including: Obtain the touch information of the three consecutive frames preceding the abnormal sampling frame of the current touch trajectory chain from the corrected multi-touch point trajectory chain matrix; Assign corresponding weight coefficients to the touch information of the three consecutive frames preceding the current abnormal touch trajectory chain sampling frame; perform weighted linear fitting on the touch information of the three consecutive frames according to the respective weight coefficients to obtain the fitted trajectory feature vector of the current abnormal touch trajectory chain. The abnormal touch information of the abnormal sampling frame of the current touch trajectory chain is replaced with the fitted touch information of the abnormal sampling frame of the current touch trajectory chain in order to reconstruct the abnormal sampling frame of the current touch trajectory chain.
[0014] Preferably, a two-stage fault-tolerance strategy is adopted for abnormal environmental temperature drift interference and power supply ripple coupling interference. The two-stage fault tolerance uses a segmented threshold correction for capacitance fluctuation threshold, and based on the corrected capacitance fluctuation threshold, a linear normalization correction is used to correct the capacitance difference of abnormal sampling frames in the current touch trajectory chain to a reasonable range, including: Acquire abnormal sampling frames of the touch trajectory chain caused by abnormal environmental temperature drift interference and power supply ripple coupling interference; The capacitor fluctuation threshold is dynamically corrected based on real-time temperature changes and power supply ripple coefficient. The capacitance fluctuation data of abnormal frames in the current touch trajectory chain are verified based on the corrected capacitance fluctuation threshold. If the inter-frame capacitance fluctuation of the current abnormal frame is greater than the preset capacitance fluctuation threshold but less than the corrected capacitance fluctuation threshold, it is determined to be a normal drift caused by environmental or power interference. Linear normalization correction is used to correct the capacitance difference exceeding the reference threshold to a reasonable range.
[0015] Preferably, based on the computing power load of the touch screen control card, each calibrated touch trajectory chain in the calibrated multi-touch point trajectory chain matrix is smoothed to obtain a smoothed multi-touch point trajectory chain matrix, including: The CPU utilization rate U of the touch screen control card and the number of parallel calibration touch trajectory chains K are obtained in real time. Based on the CPU utilization rate U and the number of parallel calibration touch trajectory chains K, the computing power of the touch screen control card is divided into idle load, normal load and high load. Different sliding window lengths L are set according to the idle load, normal load and high load. For each sample frame of each calibration touch trajectory chain, obtain the coordinate sequence of the previous L-1 sample frames; and smooth the coordinate sequence to obtain the smoothed coordinates of each sample frame of each calibration touch trajectory chain. By smoothing the coordinates of each sampled frame of each calibrated touch trajectory chain, a smoothed multi-touch point trajectory chain matrix is obtained.
[0016] Secondly, the present invention provides an abnormal touch data identification and fault-tolerant verification processing system for a touch screen control card, comprising: The multi-touch point trajectory chain matrix construction module is used to continuously collect multi-frame touch control data from the touch screen control card at a fixed sampling frequency, store the multi-frame touch control data in a FIFO buffer queue, and construct a multi-touch point trajectory chain matrix using the multi-frame touch control data. The touch trajectory chain aliasing determination module is used to traverse all touch trajectory chains in the multi-touch point trajectory chain matrix and compare the coordinate point distribution of each touch trajectory chain frame by frame. If two or more touch trajectory chains have overlapping coordinate points, intersecting paths, or merging and entangled trajectory paths in two or more consecutive frames, they are determined to be aliased touch trajectory chains. The multi-touch point trajectory chain matrix correction module is used to filter out the real and effective touch trajectory chains and interfering touch trajectory chains by the capacitance difference fluctuation of the aliased touch trajectory chains, and remove the interfering touch trajectory chains; thus obtaining the corrected multi-touch point trajectory chain matrix. The anomaly confidence calculation module is used to extract the multi-dimensional feature parameters of each corrected touch trajectory chain in the current sampling frame column by column based on the corrected multi-touch point trajectory chain matrix to construct a standardized feature vector, and calculate the anomaly confidence of each touch trajectory chain based on the standardized feature vector; The multi-touchpoint trajectory chain matrix calibration module is used to determine the anomaly type of each corrected touch trajectory chain in the corrected multi-touchpoint trajectory chain matrix based on anomaly confidence and auxiliary working condition information; and to match the corresponding fault tolerance strategy to the touch trajectory chains with different anomaly types to obtain the calibrated multi-touchpoint trajectory chain matrix. The multi-touch point trajectory chain matrix smoothing module is used to smooth each calibrated touch trajectory chain in the calibrated multi-touch point trajectory chain matrix based on the computing power load of the touch screen control card, so as to obtain the smoothed multi-touch point trajectory chain matrix.
[0017] Thirdly, the present invention provides an electronic device, comprising: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor to enable the electronic device to perform the abnormal touch data recognition and fault tolerance verification processing method of the touch screen control card.
[0018] The beneficial technical effects of this invention are as follows: 1. This invention constructs a multi-touch point trajectory chain matrix to realize the temporal and structural processing of multi-frame touch data. Combined with aliasing judgment rules such as coordinate overlap, path intersection, and trajectory entanglement, it can quickly identify and eliminate interference trajectories, effectively solving the problems of trajectory crosstalk and false touch point misidentification in multi-touch scenarios, and improving the authenticity and purity of touch data. 2. Based on the fusion calculation of five multi-dimensional features including value range, time sequence, logic, verification, and fault precursors, the anomaly confidence score is calculated to achieve quantitative and graded judgment of the degree of anomaly in touch data. It distinguishes between various types such as normal data, instantaneous interference, environmental interference, and hardware failure. The anomaly recognition accuracy is high and the classification is clear, avoiding misjudgment and missed judgment caused by traditional single threshold judgment. 3. This invention addresses different anomaly types such as electromagnetic pulses, power supply ripple, ambient temperature drift, and hardware channel faults by matching a three-level fault tolerance strategy: using neighborhood weighted fitting to repair single-frame jumps, using dynamic thresholds and linear normalization to compensate for drift interference, and using fault channel isolation and redundant channel switching to achieve hardware fault self-healing. This completes abnormal data repair and system fault tolerance without interrupting touch operation, ensuring touch continuity and stability. 4. This invention adaptively adjusts the sliding filter window based on the real-time computing power load of the touch screen control card and the number of parallel trajectories, and uses a lightweight moving average algorithm to achieve trajectory smoothing. The algorithm is simple, has low computational load, and is easy to implement in embedded systems. While ensuring smooth trajectory without jitter or jagged edges, it avoids touch delay and stuttering problems caused by computing power overload. Attached Figure Description
[0019] Figure 1 This is a flowchart illustrating the method of Embodiment 1 of the present invention; Figure 2 This is a structural framework diagram of the system in Embodiment 2 of the present invention; In the diagram, 100 represents the multi-touch point trajectory chain matrix construction module; 200 represents the touch trajectory chain aliasing determination module; 300 represents the multi-touch point trajectory chain matrix correction module; 400 represents the anomaly confidence calculation module; 500 represents the multi-touch point trajectory chain matrix calibration module; and 600 represents the multi-touch point trajectory chain matrix smoothing module. Detailed Implementation
[0020] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings: like Figure 1 As shown, this embodiment provides a method for abnormal touch data identification and fault-tolerant verification processing of a touch screen control card, including: S1. Continuously acquire multi-frame touch control data from the touchscreen control card at a fixed sampling frequency, store the multi-frame touch control data in a FIFO buffer queue, and construct a multi-touch point trajectory chain matrix using the multi-frame touch control data; the multi-touch point trajectory chain matrix... Represented as: ; In the formula, Indicates the first matching ID The first frame One touch point; The number of sampled frames in the buffer. This represents the number of touch points; each column represents a touch trajectory chain. S2. Traverse all touch trajectory chains in the multi-touch point trajectory chain matrix and compare the coordinate point distribution of each touch trajectory chain frame by frame. If two or more touch trajectory chains have overlapping coordinate points, intersecting paths, or merging and entangled trajectory paths in two or more consecutive frames, they are determined to be overlapping touch trajectory chains. S3. For aliased touch trajectory chains, the effective touch trajectory chains and interfering touch trajectory chains are filtered out by the capacitance difference fluctuation, and the interfering touch trajectory chains are eliminated; thus, the corrected multi-touch point trajectory chain matrix is obtained. ; S4. Based on the modified multi-touchpoint trajectory chain matrix The multi-dimensional feature parameters of each corrected touch trajectory chain in the current sampling frame are extracted column by column to construct a standardized feature vector, and the anomaly confidence of each touch trajectory chain is calculated based on the standardized feature vector. S5. Based on anomaly confidence and auxiliary working condition information, the corrected multi-touchpoint trajectory chain matrix is... Each corrected touch trajectory chain in the process is subjected to anomaly type determination; corresponding fault tolerance strategies are matched for touch trajectory chains with different anomaly types to obtain the calibrated multi-touch point trajectory chain matrix; S6. Based on the computing power load of the touch screen control card, smooth each calibrated touch trajectory chain in the calibrated multi-touch point trajectory chain matrix to obtain a smoothed multi-touch point trajectory chain matrix.
[0021] In this embodiment, in step S1), the touch control data includes touch information, auxiliary operating condition information, and verification and timing information.
[0022] In this embodiment, the touch information includes multi-touch coordinates, capacitance difference, and signal strength.
[0023] In this embodiment, the auxiliary operating condition information includes ambient temperature and humidity, power supply ripple coefficient, electromagnetic interference intensity, and CPU computing power load rate.
[0024] In this embodiment, the verification and timing information includes CRC checksum and acquisition timing stamp.
[0025] In this embodiment, a multi-touch trajectory chain matrix is constructed using touch control data, including: Taking the single touch point capacitor as the center, determine whether the difference of the sensing capacitor of the surrounding rows and columns changes continuously and gradually, and mark the isolated abrupt change points without connected domains as noise points to be removed, and filter to obtain the set of effective touch points in the current frame; ; ; In the formula, For the first The first sampled frame One effective touch point; For the first The first sampled frame The coordinates of each valid touch point; For the first The first sampled frame The capacitance value of each effective touch point; For the first The first sampled frame Signal strength of each valid touch point; Based on the relationship between the Euclidean spatial distance between the valid touch points in the previous frame and the valid touch points in the current frame and the maximum movement distance threshold, it is determined whether the valid touch points in two adjacent frames are the same valid touch point. If the valid touch points in adjacent frames are the same valid touch point, then the valid touch point in the current frame inherits the ID of the corresponding valid touch point in the previous frame; wherein, the Euclidean spatial distance between the valid touch points in the previous frame and the valid touch points in the current frame... Represented as: ; In the formula, , These are the valid touch points in the current frame. With the valid touch points in the previous frame The coordinates; If the Euclidean space distance between the valid touch points in the previous frame and the valid touch points in the current frame is... ,and Then determine the valid touch points in the current frame. With the valid touch points in the previous frame It is the same touch point; In the formula, The threshold for the maximum movement distance of the target operation; , These are the valid touch points in the current frame. With the valid touch points in the previous frame The capacitance difference; This is the preset capacitance fluctuation threshold; Each consecutive touch trajectory chain matching the ID is encapsulated into a trajectory feature vector frame by frame in chronological order. ; Using the number of touch points as rows and the sampling time frames as columns, and adding status labels to the touch trajectory chains in each column, a multi-touch point trajectory chain matrix is obtained. ,Right now: ; In the formula, Indicates the first matching ID The first frame One touch point; The number of sampled frames in the buffer. This represents the number of touch points.
[0026] In this embodiment, in step S3, for aliased touch trajectory chains, the effective touch trajectory chains and interfering touch trajectory chains are filtered by the capacitance difference fluctuation, and the interfering touch trajectory chains are eliminated; thus, the corrected multi-touch point trajectory chain matrix is obtained. ;include: Obtain the capacitance difference of each touch trajectory chain in consecutive sampling frames for touch trajectory chains with aliasing. , ; Along the touch track chain Based on the sampling frame time axis, calculate the capacitance difference fluctuation of each touch trajectory chain in adjacent frames. If the touch trajectory chain The capacitance difference fluctuation satisfies Then determine the touch trajectory chain. The corrected multi-touch point trajectory chain matrix is obtained after eliminating all interfering touch trajectory chains, which are considered genuine and valid. .
[0027] In this embodiment, in step S4, based on the corrected multi-touch point trajectory chain matrix... Extract the multi-dimensional feature parameters of each touch trajectory chain in the current sampling frame column by column to construct a standardized feature vector. The details are as follows: The multidimensional feature parameters include range features, time series features, logical features, check features, and fault precursor features; and the range features, time series features, logical features, check features, and fault precursor features are concatenated into a standardized feature vector. The standardized feature vectors mentioned above Represented as: ; In the formula, , , , , For the first The touch trajectory chain in the first The value range characteristics, timing characteristics, logical characteristics, check characteristics, and fault precursor characteristics of the sampled frame.
[0028] Range characteristics For the first The touch trajectory chain in the first The relative deviation rate between the coordinates of the sampled frame, the capacitance difference, the signal strength, and the preset normal range; that is: ; In the formula, This refers to coordinate deviation; These are capacitance difference and signal strength, respectively.
[0029] Temporal characteristics This refers to the coordinate offset and the change in trajectory slope between the current sampling frame and the previous sampling frame within the same touch trajectory chain; that is: ; In the formula, This is the coordinate offset; This is the offset threshold; This represents the change in slope; The current frame's motion slope.
[0030] Logical features This refers to the degree of matching between the spacing distribution, number of touches, and arrangement of multiple touch points in the same sampled frame and the natural human touch operation logic; that is: ; ; In the formula, This refers to the number of pairs of dots within the same frame whose spacing is less than the natural human touch threshold. For the first The distance between any two touch points in a frame; For the first The number of touch points in a frame; The threshold for the maximum movement distance of the target operation.
[0031] Verification features This serves as a compliance identifier for the CRC checksum and byte integrity checksum of the current sampled frame; that is: ; Fault precursor characteristics The amplitude of sudden change in capacitance difference in a single sampling frame and the steady-state deviation of channel sampled values; ; In the formula, This represents the magnitude of the sudden change in capacitance difference. This represents the steady-state deviation of the channel.
[0032] Based on standardized feature vectors Calculate the anomaly confidence level for each touch trajectory chain. ,Right now: ; In the formula, These are the corresponding weighting coefficients.
[0033] In this embodiment, in step S5, the corrected multi-touch point trajectory chain matrix is adjusted based on the anomaly confidence level and auxiliary working condition information. Each touch trajectory chain in the process is subjected to anomaly type determination, and a corresponding fault tolerance strategy is matched for touch trajectory chains with different anomaly types. After processing the abnormal touch trajectory chains through the corresponding fault tolerance strategy, the calibrated multi-touch point trajectory chain matrix is obtained, including: Based on anomaly confidence The touch trajectory chain is classified into abnormal types based on auxiliary working condition information, including: like If so, it is determined to be a normal touch trajectory chain; like If the electromagnetic interference intensity is high, it is determined to be an abnormal transient pulse interference. Greater than the electromagnetic interference threshold If the transient pulse interference is abnormal, it is determined to be electromagnetic pulse transient interference; if the power supply ripple coefficient Greater than the power supply ripple threshold If so, the transient pulse interference is determined to be power supply ripple coupling type interference; like If the rate of change of ambient temperature is greater than the temperature change threshold, it is determined to be an abnormal ambient temperature drift interference. like If so, it is determined to be a hardware channel precursor fault abnormality.
[0034] in, , , These are the first confidence threshold, the second confidence threshold, and the third confidence threshold, respectively. In this embodiment, , , .
[0035] A first-level fault-tolerance strategy is adopted for transient electromagnetic pulse interference. The first-level fault tolerance uses neighborhood weighted fitting to reconstruct the abnormal sampling frames of the current touch trajectory chain. A two-level fault tolerance strategy is adopted to deal with abnormal environmental temperature drift interference and power supply ripple coupling interference. The two-level fault tolerance adopts segmented threshold correction of capacitor fluctuation threshold, and based on the correction of capacitor fluctuation threshold, linear normalization correction is adopted to correct the abnormal sampling frame capacitance difference of the current touch trajectory chain to a reasonable range. A three-level fault tolerance strategy is adopted for hardware channel precursor faults, namely, fault sampling channel isolation and redundant backup acquisition channel switching.
[0036] In this embodiment, a first-level fault-tolerance strategy is adopted for transient electromagnetic pulse interference. The first-level fault tolerance uses neighborhood weighted fitting to reconstruct abnormal sampling frames of the current touch trajectory chain, including: From the revised multi-touch point trajectory chain matrix The system retrieves the touch information of the three consecutive frames preceding the current touch trajectory chain abnormal sampling frame. Assign corresponding weight coefficients to the touch information of the three consecutive frames preceding the current abnormal sampling frame of the touch trajectory chain. ,and And a weighted linear fit is used to obtain the fitted trajectory feature vector of the current abnormal touch trajectory chain; that is: ; In the formula, For the current touch trajectory chain Abnormal sampling frames Fitted touch information; Utilizing the current touch trajectory chain Abnormal sampling frames The fitted touch information replaces the abnormal touch information of the abnormal sampling frame of the current touch trajectory chain in order to reconstruct the abnormal sampling frame of the current touch trajectory chain.
[0037] In this embodiment, a two-stage fault-tolerance strategy is adopted for abnormal environmental temperature drift interference and power supply ripple coupling interference. The two-stage fault tolerance uses a segmented threshold correction for capacitance fluctuation threshold, and based on the corrected capacitance fluctuation threshold, a linear normalization correction is used to correct the capacitance difference of abnormal sampling frames in the current touch trajectory chain to a reasonable range, including: Acquire abnormal sampling frames of the touch trajectory chain caused by abnormal environmental temperature drift interference and power supply ripple coupling interference; The capacitor fluctuation threshold is dynamically adjusted based on real-time temperature changes and power supply ripple coefficient, i.e.: ; In the formula, , These are the preset correction coefficients; This is the corrected capacitance fluctuation threshold; The preset capacitance fluctuation threshold is used; This refers to the change in ambient temperature. This represents the power supply ripple factor.
[0038] Based on the corrected capacitance fluctuation threshold The capacitance fluctuation data of abnormal frames in the current touch trajectory chain is verified. If the inter-frame capacitance fluctuation of the current abnormal frame is... ,and If the value is not found to be normal drift due to environmental or power supply interference, a linear normalization correction is used to adjust the capacitance difference exceeding the reference threshold to a reasonable range. ; In the formula, For the corrected touch trajectory chain Abnormal sampling frames The capacitance difference; It is a symbolic function.
[0039] In this embodiment, a three-level fault tolerance strategy is adopted for hardware channel precursor faults. The three-level fault tolerance strategy includes fault sampling channel isolation and redundant backup acquisition channel switching: Detect the fault acquisition channel and disable the data sampling enable of the fault acquisition channel; Activate the preset hardware redundancy backup acquisition channel to migrate the touch row and column scanning, capacitance signal acquisition, and point calculation tasks originally undertaken by the faulty sampling channel to the backup redundancy channel.
[0040] In this embodiment, in step S6, based on the computing power load of the touch screen control card, each calibrated touch trajectory chain in the calibrated multi-touch point trajectory chain matrix is smoothed to obtain a smoothed multi-touch point trajectory chain matrix; including: The CPU utilization rate U of the touch screen control card and the number of parallel calibration touch trajectory chains K are obtained in real time. Based on the CPU utilization rate U and the number of parallel calibration touch trajectory chains K, the computing power of the touch screen control card is divided into idle load, normal load and high load. Different sliding window lengths L are set according to the idle load, normal load and high load. Idle load: The CPU computing power load rate is less than 30%, and the number of parallel calibration touch trajectory chains K is less than or equal to 2; in this embodiment, the sliding window length L is set to 5; Typical load: CPU computing power load rate is greater than or equal to 30% and less than 60%, and the number of parallel calibration touch trajectory chains K is greater than 2 and less than or equal to 4; in this embodiment, the sliding window length L is set to 3; High load: The CPU computing power load rate is greater than or equal to 60%, and the number of parallel calibration touch trajectory chains K is greater than 4. In this embodiment, the sliding window length L is set to 2.
[0041] For the Each sampling frame of the calibration touch trajectory chain Obtain the coordinate sequence of the first L-1 sampled frames; and smooth the coordinate sequence to obtain the first L-1 sampled frames. The first calibration touch track chain The coordinates after smoothing each sample frame; that is: In the formula, For the smoothed first The first frame The coordinates of the calibration touch trajectory chain.
[0042] By smoothing the coordinates of each sampled frame of each calibrated touch trajectory chain, a smoothed multi-touch point trajectory chain matrix is obtained.
[0043] Example 2 like Figure 2 As shown, this embodiment provides an abnormal touch data identification and fault-tolerant verification processing system for a touch screen control card, including: The multi-touch point trajectory chain matrix construction module 100 is used to continuously collect multi-frame touch control data of the touch screen control card at a fixed sampling frequency, store the multi-frame touch control data into a FIFO buffer queue, and construct a multi-touch point trajectory chain matrix using the multi-frame touch control data. The touch trajectory chain aliasing determination module 200 is used to traverse all touch trajectory chains in the multi-touch point trajectory chain matrix and compare the coordinate point distribution of each touch trajectory chain frame by frame. If two or more touch trajectory chains have overlapping coordinate points, intersecting paths, or merging and entangled trajectory paths in two or more consecutive frames, they are determined to be aliased touch trajectory chains. The multi-touch point trajectory chain matrix correction module 300 is used to filter out the real and effective touch trajectory chains and interfering touch trajectory chains by the capacitance difference fluctuation amount for aliased touch trajectory chains, and remove the interfering touch trajectory chains; thus obtaining the corrected multi-touch point trajectory chain matrix. The anomaly confidence calculation module 400 is used to extract the multi-dimensional feature parameters of each corrected touch trajectory chain in the current sampling frame column by column based on the corrected multi-touch point trajectory chain matrix to construct a standardized feature vector, and calculate the anomaly confidence of each touch trajectory chain based on the standardized feature vector. The multi-touch point trajectory chain matrix calibration module 500 is used to determine the anomaly type of each corrected touch trajectory chain in the corrected multi-touch point trajectory chain matrix based on the anomaly confidence level and auxiliary working condition information; and to match the corresponding fault tolerance strategy to the touch trajectory chains with different anomaly types to obtain the calibrated multi-touch point trajectory chain matrix. The multi-touch point trajectory chain matrix smoothing module 600 is used to smooth each calibrated touch trajectory chain in the calibrated multi-touch point trajectory chain matrix based on the computing power load of the touch screen control card, so as to obtain the smoothed multi-touch point trajectory chain matrix.
[0044] In this embodiment, the touch control data collected by the multi-touch point trajectory chain matrix construction module 100 includes touch information, auxiliary working condition information, and verification and timing information.
[0045] In this embodiment, the touch information includes multi-touch coordinates, capacitance difference, and signal strength.
[0046] In this embodiment, the auxiliary operating condition information includes ambient temperature and humidity, power supply ripple coefficient, electromagnetic interference intensity, and CPU computing power load rate.
[0047] In this embodiment, the verification and timing information includes CRC checksum and acquisition timing stamp.
[0048] In this embodiment, the multi-touch point trajectory chain matrix construction module 100 constructs a multi-touch trajectory chain matrix using touch control data, including: Taking the single touch point capacitor as the center, determine whether the difference of the sensing capacitor of the surrounding rows and columns changes continuously and gradually, and mark the isolated abrupt change points without connected domains as noise points to be removed, and filter to obtain the set of effective touch points in the current frame; ; ; In the formula, For the first The first sampled frame One effective touch point; For the first The first sampled frame The coordinates of each valid touch point; For the first The first sampled frame The capacitance value of each effective touch point; For the first The first sampled frame Signal strength of each valid touch point; Based on the relationship between the Euclidean spatial distance between the valid touch points in the previous frame and the valid touch points in the current frame and the maximum movement distance threshold, it is determined whether the valid touch points in two adjacent frames are the same valid touch point. If the valid touch points in adjacent frames are the same valid touch point, then the valid touch point in the current frame inherits the ID of the corresponding valid touch point in the previous frame; wherein, the Euclidean spatial distance between the valid touch points in the previous frame and the valid touch points in the current frame... Represented as: ; In the formula, , These are the valid touch points in the current frame. With the valid touch points in the previous frame The coordinates; If the Euclidean space distance between the valid touch points in the previous frame and the valid touch points in the current frame is... ,and Then determine the valid touch points in the current frame. With the valid touch points in the previous frame It is the same touch point; In the formula, The threshold for the maximum movement distance of the target operation; , These are the valid touch points in the current frame. With the valid touch points in the previous frame The capacitance difference; This is the preset capacitance fluctuation threshold; Each consecutive touch trajectory chain matching the ID is encapsulated into a trajectory feature vector frame by frame in chronological order. ; Using the number of touch points as rows and the sampling time frames as columns, and adding status labels to the touch trajectory chains in each column, a multi-touch point trajectory chain matrix is obtained. ,Right now: ; In the formula, Indicates the first matching ID The first frame One touch point; The number of sampled frames in the buffer. This represents the number of touch points.
[0049] In this embodiment, the multi-touch point trajectory chain matrix correction module 300 filters out the real and valid touch trajectory chains and interfering touch trajectory chains for aliased touch trajectory chains by the capacitance difference fluctuation, and removes the interfering touch trajectory chains; thus obtaining the corrected multi-touch point trajectory chain matrix. ;include: Obtain the capacitance difference of each touch trajectory chain in consecutive sampling frames for touch trajectory chains with aliasing. , ; Along the touch track chain Based on the sampling frame time axis, calculate the capacitance difference fluctuation of each touch trajectory chain in adjacent frames. If the touch trajectory chain The capacitance difference fluctuation satisfies Then determine the touch trajectory chain. The corrected multi-touch point trajectory chain matrix is obtained after eliminating all interfering touch trajectory chains, which are considered genuine and valid. .
[0050] In this embodiment, the anomaly confidence calculation module 400 is based on the corrected multi-touch point trajectory chain matrix. Extract the multi-dimensional feature parameters of each touch trajectory chain in the current sampling frame column by column to construct a standardized feature vector. The details are as follows: The multidimensional feature parameters include range features, time series features, logical features, check features, and fault precursor features; and the range features, time series features, logical features, check features, and fault precursor features are concatenated into a standardized feature vector. The standardized feature vectors mentioned above Represented as: ; In the formula, , , , , For the first The touch trajectory chain in the first The value range characteristics, timing characteristics, logical characteristics, check characteristics, and fault precursor characteristics of the sampled frame.
[0051] Range characteristics For the first The touch trajectory chain in the first The relative deviation rate between the coordinates of the sampled frame, the capacitance difference, the signal strength, and the preset normal range; that is: ; In the formula, This refers to coordinate deviation; These are capacitance difference and signal strength, respectively.
[0052] Temporal characteristics This refers to the coordinate offset and the change in trajectory slope between the current sampling frame and the previous sampling frame within the same touch trajectory chain; that is: ; In the formula, This is the coordinate offset; This is the offset threshold; This represents the change in slope; The current frame's motion slope.
[0053] Logical features This refers to the degree of matching between the spacing distribution, number of touches, and arrangement of multiple touch points in the same sampled frame and the natural human touch operation logic; that is: ; ; In the formula, This refers to the number of pairs of dots within the same frame whose spacing is less than the natural human touch threshold. For the first The distance between any two touch points in a frame; For the first The number of touch points in a frame; The threshold for the maximum movement distance of the target operation.
[0054] Verification features This serves as a compliance identifier for the CRC checksum and byte integrity checksum of the current sampled frame; that is: ; Fault precursor characteristics The amplitude of sudden change in capacitance difference in a single sampling frame and the steady-state deviation of channel sampled values; ; In the formula, This represents the magnitude of the sudden change in capacitance difference. This represents the steady-state deviation of the channel.
[0055] Based on standardized feature vectors Calculate the anomaly confidence level for each touch trajectory chain. ,Right now: ; In the formula, These are the corresponding weighting coefficients.
[0056] In this embodiment, the multi-touch point trajectory chain matrix calibration module 500 calibrates the corrected multi-touch point trajectory chain matrix based on anomaly confidence and auxiliary operating condition information. Each touch trajectory chain in the process is subjected to anomaly type determination, and a corresponding fault tolerance strategy is matched for touch trajectory chains with different anomaly types. After processing the abnormal touch trajectory chains through the corresponding fault tolerance strategy, the calibrated multi-touch point trajectory chain matrix is obtained, including: Based on anomaly confidence The touch trajectory chain is classified into abnormal types based on auxiliary working condition information, including: like If so, it is determined to be a normal touch trajectory chain; like If the electromagnetic interference intensity is high, it is determined to be an abnormal transient pulse interference. Greater than the electromagnetic interference threshold If the transient pulse interference is abnormal, it is determined to be electromagnetic pulse transient interference; if the power supply ripple coefficient Greater than the power supply ripple threshold If so, the transient pulse interference is determined to be power supply ripple coupling type interference; like If the rate of change of ambient temperature is greater than the temperature change threshold, it is determined to be an abnormal ambient temperature drift interference. like If so, it is determined to be a hardware channel precursor fault abnormality.
[0057] in, , , These are the first confidence threshold, the second confidence threshold, and the third confidence threshold, respectively. In this embodiment, , , .
[0058] A first-level fault-tolerance strategy is adopted for transient electromagnetic pulse interference. The first-level fault tolerance uses neighborhood weighted fitting to reconstruct the abnormal sampling frames of the current touch trajectory chain. A two-level fault tolerance strategy is adopted to deal with abnormal environmental temperature drift interference and power supply ripple coupling interference. The two-level fault tolerance adopts segmented threshold correction of capacitor fluctuation threshold, and based on the correction of capacitor fluctuation threshold, linear normalization correction is adopted to correct the abnormal sampling frame capacitance difference of the current touch trajectory chain to a reasonable range. A three-level fault tolerance strategy is adopted for hardware channel precursor faults, namely, fault sampling channel isolation and redundant backup acquisition channel switching.
[0059] In this embodiment, a first-level fault-tolerance strategy is adopted for transient electromagnetic pulse interference. The first-level fault tolerance uses neighborhood weighted fitting to reconstruct abnormal sampling frames of the current touch trajectory chain, including: From the revised multi-touch point trajectory chain matrix The system retrieves the touch information of the three consecutive frames preceding the current touch trajectory chain abnormal sampling frame. Assign corresponding weight coefficients to the touch information of the three consecutive frames preceding the current abnormal sampling frame of the touch trajectory chain. ,and And a weighted linear fit is used to obtain the fitted trajectory feature vector of the current abnormal touch trajectory chain; that is: ; In the formula, For the current touch trajectory chain Abnormal sampling frames Fitted touch information; Utilizing the current touch trajectory chain Abnormal sampling frames The fitted touch information replaces the abnormal touch information of the abnormal sampling frame of the current touch trajectory chain in order to reconstruct the abnormal sampling frame of the current touch trajectory chain.
[0060] In this embodiment, a two-stage fault-tolerance strategy is adopted for abnormal environmental temperature drift interference and power supply ripple coupling interference. The two-stage fault tolerance uses a segmented threshold correction for capacitance fluctuation threshold, and based on the corrected capacitance fluctuation threshold, a linear normalization correction is used to correct the capacitance difference of abnormal sampling frames in the current touch trajectory chain to a reasonable range, including: Acquire abnormal sampling frames of the touch trajectory chain caused by abnormal environmental temperature drift interference and power supply ripple coupling interference; The capacitor fluctuation threshold is dynamically adjusted based on real-time temperature changes and power supply ripple coefficient, i.e.: ; In the formula, , These are the preset correction coefficients; This is the corrected capacitance fluctuation threshold; The preset capacitance fluctuation threshold is used; This refers to the change in ambient temperature. This represents the power supply ripple factor.
[0061] Based on the corrected capacitance fluctuation threshold The capacitance fluctuation data of abnormal frames in the current touch trajectory chain is verified. If the inter-frame capacitance fluctuation of the current abnormal frame is... ,and If the value is not found to be normal drift due to environmental or power supply interference, a linear normalization correction is used to adjust the capacitance difference exceeding the reference threshold to a reasonable range. ; In the formula, For the corrected touch trajectory chain Abnormal sampling frames The capacitance difference; It is a symbolic function.
[0062] In this embodiment, a three-level fault tolerance strategy is adopted for hardware channel precursor faults. The three-level fault tolerance strategy includes fault sampling channel isolation and redundant backup acquisition channel switching: Detect the fault acquisition channel and disable the data sampling enable of the fault acquisition channel; Activate the preset hardware redundancy backup acquisition channel to migrate the touch row and column scanning, capacitance signal acquisition, and point calculation tasks originally undertaken by the faulty sampling channel to the backup redundancy channel.
[0063] In this embodiment, the multi-touch point trajectory chain matrix smoothing module 600, based on the computing power load of the touch screen control card, smooths each calibrated touch trajectory chain in the calibrated multi-touch point trajectory chain matrix to obtain a smoothed multi-touch point trajectory chain matrix; including: The CPU utilization rate U of the touch screen control card and the number of parallel calibration touch trajectory chains K are obtained in real time. Based on the CPU utilization rate U and the number of parallel calibration touch trajectory chains K, the computing power of the touch screen control card is divided into idle load, normal load and high load. Different sliding window lengths L are set according to the idle load, normal load and high load. Idle load: The CPU computing power load rate is less than 30%, and the number of parallel calibration touch trajectory chains K is less than or equal to 2; in this embodiment, the sliding window length L is set to 5; Typical load: CPU computing power load rate is greater than or equal to 30% and less than 60%, and the number of parallel calibration touch trajectory chains K is greater than 2 and less than or equal to 4; in this embodiment, the sliding window length L is set to 3; High load: The CPU computing power load rate is greater than or equal to 60%, and the number of parallel calibration touch trajectory chains K is greater than 4. In this embodiment, the sliding window length L is set to 2.
[0064] For the Each sampling frame of the calibration touch trajectory chain Obtain the coordinate sequence of the first L-1 sampled frames; and smooth the coordinate sequence to obtain the first L-1 sampled frames. The first calibration touch track chain The coordinates after smoothing each sample frame; that is: In the formula, For the smoothed first The first frame The coordinates of the calibration touch trajectory chain.
[0065] By smoothing the coordinates of each sampled frame of each calibrated touch trajectory chain, a smoothed multi-touch point trajectory chain matrix is obtained.
[0066] Example 3 This embodiment provides an electronic device, including: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to cause the electronic device to perform the abnormal touch data recognition and fault-tolerant verification processing method of the touchscreen control card; the method includes: S1. Collect multiple frames of touch control data from the touch screen control card continuously at a fixed sampling frequency, store the multiple frames of touch control data in a FIFO buffer queue, and use the multiple frames of touch control data to construct a multi-touch point trajectory chain matrix. S2. Traverse all touch trajectory chains in the multi-touch point trajectory chain matrix and compare the coordinate point distribution of each touch trajectory chain frame by frame. If two or more touch trajectory chains have overlapping coordinate points, intersecting paths, or merging and entangled trajectory paths in two or more consecutive frames, they are determined to be overlapping touch trajectory chains. S3. For aliased touch trajectory chains, the effective touch trajectory chains and interfering touch trajectory chains are filtered out by the capacitance difference fluctuation, and the interfering touch trajectory chains are eliminated; thus, the corrected multi-touch point trajectory chain matrix is obtained. ; S4. Based on the modified multi-touchpoint trajectory chain matrix The multi-dimensional feature parameters of each corrected touch trajectory chain in the current sampling frame are extracted column by column to construct a standardized feature vector, and the anomaly confidence of each touch trajectory chain is calculated based on the standardized feature vector. S5. Based on anomaly confidence and auxiliary working condition information, the corrected multi-touchpoint trajectory chain matrix is... Each corrected touch trajectory chain in the process is subjected to anomaly type determination; corresponding fault tolerance strategies are matched for touch trajectory chains with different anomaly types to obtain the calibrated multi-touch point trajectory chain matrix; S6. Based on the computing power load of the touch screen control card, smooth each calibrated touch trajectory chain in the calibrated multi-touch point trajectory chain matrix to obtain a smoothed multi-touch point trajectory chain matrix.
[0067] The embodiments and descriptions above are merely illustrative of the principles and preferred embodiments of the present invention. Various changes and modifications may be made to the present invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed.
Claims
1. A method for identifying and handling fault-tolerant verification of abnormal touch data in a touchscreen control card, characterized in that, include: Multi-frame touch control data of the touch screen control card is continuously collected at a fixed sampling frequency. The multi-frame touch control data is stored in a FIFO buffer queue and a multi-touch point trajectory chain matrix is constructed using the multi-frame touch control data. Traverse all touch trajectory chains in the multi-touch point trajectory chain matrix, compare the coordinate point distribution of each touch trajectory chain frame by frame. If two or more touch trajectory chains have overlapping coordinate points, intersecting paths, or merging and intertwining trajectory paths in two or more consecutive frames, they are determined to be overlapping touch trajectory chains. For aliased touch trajectory chains, the effective touch trajectory chains and interfering touch trajectory chains are screened by the capacitance difference fluctuation, and the interfering touch trajectory chains are eliminated. The corrected multi-touchpoint trajectory chain matrix is obtained; Based on the corrected multi-touch point trajectory chain matrix, the multi-dimensional feature parameters of each corrected touch trajectory chain in the current sampling frame are extracted column by column to construct a standardized feature vector, and the anomaly confidence of each touch trajectory chain is calculated based on the standardized feature vector. Based on the anomaly confidence level and auxiliary working condition information, the anomaly type is determined for each corrected touch trajectory chain in the corrected multi-touch point trajectory chain matrix; By matching the corresponding fault-tolerance strategy to the touch trajectory chain of different anomalies, the calibrated multi-touch point trajectory chain matrix is obtained. Based on the computing power load of the touch screen control card, each calibrated touch trajectory chain in the calibrated multi-touch point trajectory chain matrix is smoothed to obtain a smoothed multi-touch point trajectory chain matrix.
2. The abnormal touch data identification and fault-tolerant verification method for the touch screen control card according to claim 1, characterized in that, Constructing a multi-touch trajectory chain matrix using touch control data includes: Taking the single touch point capacitor as the center, determine whether the difference of the sensing capacitor of the surrounding rows and columns changes continuously and gradually, and mark the isolated abrupt change points without connected domains as noise points to be removed, and filter to obtain the set of effective touch points in the current frame; Based on the Euclidean space distance between the valid touch points in the previous frame and the valid touch points in the current frame and the fluctuation of the capacitance difference between adjacent sampled frames, it is determined whether the valid touch points in two adjacent frames are the same valid touch point. If the valid touch points in adjacent frames are the same valid touch point, then the valid touch points in the current frame inherit the ID of the corresponding valid touch points in the previous frame. Each consecutive touch trajectory chain matching the ID is encapsulated into a trajectory feature vector frame by frame in chronological order; The multi-touch point trajectory chain matrix is obtained by using the number of touch points as rows and the sampling time frame as columns, and adding a status label to the touch trajectory chain of each column.
3. The abnormal touch data identification and fault-tolerant verification method for the touch screen control card according to claim 2, characterized in that, Determining whether valid touch points in two adjacent frames are the same valid touch point based on the Euclidean spatial distance between valid touch points in the previous frame and valid touch points in the current frame, and the fluctuation of capacitance difference between adjacent sampled frames, includes: If the Euclidean space distance between the valid touch point in the previous frame and the valid touch point in the current frame is less than the maximum movement distance threshold of the target operation, and the capacitance difference fluctuation of adjacent sampling frames is less than or equal to the preset capacitance fluctuation threshold, then it is determined whether the valid touch points in the two adjacent frames are the same valid touch point.
4. The abnormal touch data identification and fault-tolerant verification method for the touch screen control card according to claim 1, characterized in that, For aliased touch trajectory chains, the effective touch trajectory chains and interfering touch trajectory chains are screened by the capacitance difference fluctuation, and the interfering touch trajectory chains are eliminated. The corrected multi-touch point trajectory chain matrix is obtained; including: Obtain the capacitance difference between each touch trajectory chain in consecutive sampling frames when there is aliasing; Along the sampling frame time axis of the touch trajectory chain, calculate the capacitance difference fluctuation of each touch trajectory chain in adjacent frames. If the capacitance difference fluctuation of the touch trajectory chain in adjacent frames is less than or equal to the preset capacitance fluctuation threshold, the touch trajectory chain is determined to be a real and valid touch trajectory chain; otherwise, it is determined to be an interfering touch trajectory chain. After removing all interfering touch trajectory chains, the corrected multi-touch point trajectory chain matrix is obtained.
5. The abnormal touch data identification and fault-tolerant verification method for the touch screen control card according to claim 1, characterized in that, Based on anomaly confidence and auxiliary operating condition information, anomaly type determination is performed on each touch trajectory chain in the corrected multi-touch point trajectory chain matrix, including: If the abnormal confidence level is greater than or equal to 0 and less than the first confidence level threshold, it is determined to be a normal touch trajectory chain; If the anomaly confidence level is greater than or equal to the first confidence threshold and less than the second confidence threshold, it is determined to be a transient pulse interference anomaly. If the electromagnetic interference intensity is greater than the electromagnetic interference threshold, the transient pulse interference anomaly is determined to be electromagnetic pulse transient interference. If the power supply ripple coefficient is greater than the power supply ripple threshold, the transient pulse interference anomaly is determined to be power supply ripple coupled interference. If the anomaly confidence level is greater than or equal to the second confidence threshold and less than the third confidence threshold, and the rate of change of ambient temperature is greater than the temperature change threshold, then it is determined to be an abnormal ambient temperature drift interference. If the anomaly confidence level is greater than or equal to the third confidence level threshold, it is determined to be a hardware channel precursor fault anomaly.
6. The abnormal touch data identification and fault-tolerant verification method for the touch screen control card according to claim 1, characterized in that, Appropriate fault-tolerance strategies are matched to touch trajectory chains of different anomaly types to obtain a calibrated multi-touch point trajectory chain matrix; including: A first-level fault-tolerance strategy is adopted for transient electromagnetic pulse interference. The first-level fault tolerance uses neighborhood weighted fitting to reconstruct the abnormal sampling frames of the current touch trajectory chain. A two-level fault tolerance strategy is adopted to deal with abnormal environmental temperature drift interference and power supply ripple coupling interference. The two-level fault tolerance adopts segmented threshold correction of capacitor fluctuation threshold, and based on the correction of capacitor fluctuation threshold, linear normalization correction is adopted to correct the abnormal sampling frame capacitance difference of the current touch trajectory chain to a reasonable range. A three-level fault tolerance strategy is adopted for hardware channel precursor faults, namely, fault sampling channel isolation and redundant backup acquisition channel switching.
7. The abnormal touch data identification and fault-tolerant verification method for the touch screen control card according to claim 6, characterized in that, A first-level fault-tolerance strategy is adopted to address transient electromagnetic pulse interference. This first-level fault tolerance uses neighborhood-weighted fitting to reconstruct abnormal sampling frames of the current touch trajectory chain, including: Obtain the touch information of the three consecutive frames preceding the abnormal sampling frame of the current touch trajectory chain from the corrected multi-touch point trajectory chain matrix; Assign corresponding weight coefficients to the touch information of the three consecutive frames preceding the current abnormal touch trajectory chain sampling frame; perform weighted linear fitting on the touch information of the three consecutive frames according to the respective weight coefficients to obtain the fitted trajectory feature vector of the current abnormal touch trajectory chain. The abnormal touch information of the abnormal sampling frame of the current touch trajectory chain is replaced with the fitted touch information of the abnormal sampling frame of the current touch trajectory chain in order to reconstruct the abnormal sampling frame of the current touch trajectory chain.
8. The abnormal touch data identification and fault-tolerant verification method for the touch screen control card according to claim 6, characterized in that, A two-stage fault-tolerance strategy is adopted to address abnormal environmental temperature drift interference and power supply ripple coupling interference. This two-stage fault tolerance uses a segmented threshold correction for capacitance fluctuation, and based on this corrected threshold, a linear normalization correction is used to adjust the capacitance difference of abnormal sampling frames in the current touch trajectory chain to a reasonable range. This includes: Acquire abnormal sampling frames of the touch trajectory chain caused by abnormal environmental temperature drift interference and power supply ripple coupling interference; The capacitor fluctuation threshold is dynamically corrected based on real-time temperature changes and power supply ripple coefficient. The capacitance fluctuation data of abnormal frames in the current touch trajectory chain are verified based on the corrected capacitance fluctuation threshold. If the inter-frame capacitance fluctuation of the current abnormal frame is greater than the preset capacitance fluctuation threshold but less than the corrected capacitance fluctuation threshold, it is determined to be a normal drift caused by environmental or power interference. Linear normalization correction is used to correct the capacitance difference exceeding the reference threshold to a reasonable range.
9. A system for identifying and handling abnormal touch data in a touchscreen control card, characterized in that: include: The multi-touch point trajectory chain matrix construction module is used to continuously collect multi-frame touch control data from the touch screen control card at a fixed sampling frequency, store the multi-frame touch control data in a FIFO buffer queue, and construct a multi-touch point trajectory chain matrix using the multi-frame touch control data. The touch trajectory chain aliasing determination module is used to traverse all touch trajectory chains in the multi-touch point trajectory chain matrix and compare the coordinate point distribution of each touch trajectory chain frame by frame. If two or more touch trajectory chains have overlapping coordinate points, intersecting paths, or merging and entangled trajectory paths in two or more consecutive frames, they are determined to be aliased touch trajectory chains. The multi-touch point trajectory chain matrix correction module is used to filter out the real and effective touch trajectory chains and the interfering touch trajectory chains by the capacitance difference fluctuation of the aliased touch trajectory chains, and to remove the interfering touch trajectory chains. The corrected multi-touchpoint trajectory chain matrix is obtained; The anomaly confidence calculation module is used to extract the multi-dimensional feature parameters of each corrected touch trajectory chain in the current sampling frame column by column based on the corrected multi-touch point trajectory chain matrix to construct a standardized feature vector, and calculate the anomaly confidence of each touch trajectory chain based on the standardized feature vector; The multi-touch point trajectory chain matrix calibration module is used to determine the anomaly type of each corrected touch trajectory chain in the corrected multi-touch point trajectory chain matrix based on anomaly confidence and auxiliary working condition information; By matching the corresponding fault-tolerance strategy to the touch trajectory chain of different anomalies, the calibrated multi-touch point trajectory chain matrix is obtained. The multi-touch point trajectory chain matrix smoothing module is used to smooth each calibrated touch trajectory chain in the calibrated multi-touch point trajectory chain matrix based on the computing power load of the touch screen control card, so as to obtain the smoothed multi-touch point trajectory chain matrix.
10. An electronic device, comprising: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, wherein the computer program is executed by the at least one processor to cause the electronic device to perform the abnormal touch data recognition and fault-tolerant verification processing method of the touch screen control card according to any one of claims 1-8.