Self-adaptive touch control system for intelligent door lock
By dynamically adjusting the channel reference identification and filtering environmental interference, the problem of button malfunction in smart door locks when the environment is humid or changes, is solved, and the stability and reliability of the system are improved.
Patent Information
- Application Number
- CN202511946936.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-23
- Publication Date
- 2026-01-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing smart door locks' adaptive touch control systems cannot effectively distinguish between environmental interference and user finger touches when the environment is humid or changes, leading to button malfunctions and decreased interaction stability.
By initializing the baseline module, the channel anomaly identification module, the environmental interference judgment module, and the channel baseline correction module, the channel baseline is dynamically adjusted to identify and filter environmental interference, thereby achieving an adaptive response to environmental changes.
Under conditions of fluctuating humidity and complex climates, the touch response capability and system stability of the smart door lock have been improved, ensuring the reliability of human-computer interaction.
Smart Images

Figure CN121364796A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of human-computer interaction, and particularly relates to a self-adaptive touch control system for a smart door lock. BACKGROUND
[0002] The technical field of human-computer interaction relates to the information input and output mode and interaction mechanism between humans and electronic devices, mainly including voice recognition, gesture control, touch interaction, eye tracking, etc., and is widely applied to consumer electronics, smart home, automotive electronics, virtual reality, etc. Among them, the traditional self-adaptive touch control system for a smart door lock refers to a system applied to a smart door lock device, which realizes touch input recognition and control logic self-adaptive adjustment according to user operation behavior, and aims at how to make the door lock control panel recognize user input instructions and adjust the response mode in different use environments, so as to improve the recognition accuracy and interaction convenience.
[0003] In the prior art, input determination is mainly dependent on single-point capacitive detection. When facing humidity or environmental changes, water mist coverage can cause abnormal signals of multiple key areas to be generated at the same time. The system cannot effectively distinguish the difference between large-area environmental interference and user finger touch, resulting in environmental interference signals being often misrecognized as normal input, and the phenomenon of all keys malfunctioning, invalid input, and the door lock unable to work normally. Therefore, user interaction stability and device reliability are greatly reduced, and it is difficult to adapt to variable outdoor or high-humidity scenes. SUMMARY
[0004] The purpose of the present application is to solve the shortcomings in the prior art and propose a self-adaptive touch control system for a smart door lock.
[0005] In order to achieve the above-mentioned purpose, the present application adopts the following technical scheme, a self-adaptive touch control system for a smart door lock, the system comprises: An initialization reference module collects capacitive data of each channel based on signals generated when the smart door lock is powered on, analyzes and filters stable stage signals, records the correspondence between the number and stable data, and obtains channel stable reference data; A channel abnormality recognition module judges the state of the capacitive signal in the monitoring stage based on the channel stable reference data, analyzes the difference between the real-time signal and the reference, identifies and counts the abnormal channels, compares the continuous abnormal phenomena, and obtains the channel abnormality distribution characteristics; An environmental interference determination module filters abnormal channels based on the channel abnormality distribution characteristics, analyzes the distribution of the abnormal channels on the touch panel, judges whether the abnormal signals are continuous and widely distributed, determines the environmental interference in combination with the abnormal characteristics, obtains the environmental interference recognition signal, and the self-adaptive touch control system for the smart door lock is completed. The channel reference correction module adjusts the reference judgment of the disturbed channel based on the environmental interference identification signal, analyzes the current signal of the continuous abnormal channel, corrects the abnormal channel judgment reference, retains the original reference of the non-abnormal channel, and obtains a dynamic reference correction parameter; The touch event recognition module compares the capacitance signal generated by the user touch with the current reference of the channel based on the dynamic reference correction parameter, analyzes the signal change trend, recognizes the channel consistent with the normal touch characteristics, and obtains an effective touch response code.
[0006] The application improves that the channel stable reference data includes initial capacitance characteristics, channel stable identification and data acquisition sequence, the channel abnormal distribution characteristics include abnormal channel label, abnormal distribution mode and abnormal trend information, the environmental interference identification signal includes interference judgment label, coverage range identification and interference duration parameter, the dynamic reference correction parameter includes correction channel set, correction reference value and correction time information, and the effective touch response code includes touch channel code, response instruction type and user operation identification.
[0007] The application improves that the initialization reference module includes: The data stream receiving submodule analyzes the capacitance detection data collected by each channel based on the signal generated when the intelligent door lock is powered on, compares the sampling data fluctuations of each channel at the same time, judges the change law of the sampling data under continuous time sequence, identifies the discontinuous data segments in the acquisition process, and obtains a channel capacitance trajectory sequence group. The stable stage recognition submodule compares the change of adjacent sampling points based on the channel capacitance trajectory sequence group, analyzes the change continuity of the data in the sampling sequence, judges the segment where the fluctuation tends to be stable, identifies the effective section with the continuous stable characteristics, and obtains channel stable segment parameters. The channel number binding submodule analyzes the sampling data of each channel stable segment based on the channel stable segment parameters, judges the correspondence relationship between the data record order and the physical number, and compares the acquisition order and the channel number matching situation, and obtains channel stable reference data.
[0008] The application improves that the channel abnormality recognition module includes: The signal state judgment submodule analyzes the capacitance detection data of each channel in the monitoring stage based on the channel stable reference data, compares the fluctuation between the current data of each channel and the reference data, judges the change trend of the continuous data, adjusts the correspondence relationship between the channel number and the data characteristics by identifying the data offset and the fluctuation mode, and obtains a capacitance state offset parameter. The deviation channel screening submodule analyzes the spatial distribution of the abnormal channel in the current period based on the capacitance state offset parameter, counts the abnormal label of each channel, optimizes the distribution counting process according to the panel area characteristics, and obtains an abnormal distribution label set. The abnormal trend extraction submodule compares the abnormal states of each channel in each monitoring period based on the abnormal distribution label set, analyzes the continuous change trend of the abnormal phenomenon, and counts the abnormal occurrence frequency and distribution mode of each channel to obtain channel abnormal distribution characteristics.
[0009] The present application improves that the environmental interference judgment module comprises: The channel abnormal screening submodule compares the abnormal labels and abnormal trends of each channel in the continuous monitoring period based on the channel abnormal distribution characteristics, judges which channels continuously deviate from the reference standard, identifies the channels and their capacitance change sequences that have a continuous abnormal state, and obtains an abnormal channel continuous data set; The spatial distribution analysis submodule optimizes the mapping of channel numbers and panel coordinates based on the abnormal channel continuous data set, calculates the distribution density and coverage area of the channels on the panel, judges the concentration degree of the distribution structure, and obtains abnormal channel spatial distribution information; The interference state discrimination submodule calculates the capacitance deviation ratio and the index of channel spatial distribution based on the abnormal channel spatial distribution information, and uses the formula: ; An environmental offset disturbance coefficient is obtained, the abnormal coverage and signal change characteristics of the panel area are judged, and an environmental interference recognition signal is obtained, wherein, represents the number of abnormal channels, represents the current capacitance of the i-th channel, represents the reference capacitance of the i-th channel, represents the horizontal coordinate of the i-th channel in the panel coordinate system, represents the vertical coordinate of the i-th channel in the panel coordinate system, represents the average Euclidean distance between abnormal channels.
[0010] The present application improves that the channel reference correction module comprises: The interference channel screening submodule analyzes the interference marks and distribution characteristics based on the environmental interference recognition signal, identifies the channels in the abnormal channel set that continuously exhibit abnormalities, judges the spatial distribution universality of the channels on the panel, and obtains interference channel screening data; The reference standard adjustment submodule analyzes the historical acquisition data of each channel based on the interference channel screening data, compares the differences between the data distribution and the channel stable reference data, and obtains a correction offset; The dynamic parameter generation submodule analyzes the channel mapping relationship and the current correction result based on the correction offset, judges the reference state of all channels, optimizes the update mode of the full-channel reference parameters, and obtains dynamic reference correction parameters.
[0011] The present application improves that the touch event recognition module comprises: The signal contrast analysis submodule analyzes the capacitance detection data collected by each channel in the user touch stage based on the dynamic reference correction parameter, compares the differences between the collected data and the reference standard in the continuous time sequence, judges the trend of the channel capacitance data in the change process, identifies the data offset phenomenon in combination with the fluctuation characteristics, and obtains the touch offset characteristic parameter; The touch trend identification submodule analyzes the capacitance change direction and the user operation characteristics based on the touch offset characteristic parameter, judges the corresponding situation between the channel fluctuation trend and the operation, identifies the channel number set with the synchronous change characteristics in the time sequence, and obtains the touch channel number set; The response code generation submodule judges the mapping relationship between the channel number and the response type based on the touch channel number set, optimizes the combination mode of the response instruction and the number in combination with the user operation characteristics, and obtains the effective touch response code.
[0012] The present application improves that the stable stage signal refers to the period when the fluctuation amplitude of the capacitance original data decreases and tends to be constant after continuous collection, the corresponding relationship refers to one-to-one binding of the stable capacitance data of each channel and the physical channel through unique numbering, and the capacitance signal state refers to the relationship between the capacitance detection value of a single channel in the real-time collection stage and the reference standard.
[0013] Compared with the prior art, the present application has the following advantages and positive effects: In the present application, through continuous monitoring of channel-level capacitance data and multi-channel collaborative feature analysis, dynamic differentiation of environmental interference and real touch state is supported, and independent channel adaptive reference correction mode enables different channels to adjust the judgment reference according to the actual affected degree, in combination with the trend identification and response parameter updating mechanism, invalid input interference caused by environmental changes can be accurately filtered, efficient human-computer interaction signal discrimination is realized, the touch response capability of the intelligent door lock under humidity fluctuation and complex climate conditions is strengthened, and the stable and reliable operation of the door lock system is ensured. BRIEF DESCRIPTION OF DRAWINGS
[0014] Figure 1 The system flowchart of the present application is shown in the figure; Figure 2 The flowchart of the initialization reference module in the present application is shown in the figure; Figure 3 The flowchart of the channel anomaly identification module in the present application is shown in the figure; Figure 4 The flowchart of the environmental interference judgment module in the present application is shown in the figure; Figure 5 The flowchart of the channel reference correction module in the present application is shown in the figure; Figure 6 The flowchart of the touch event identification module in the present application is shown in the figure. DETAILED DESCRIPTION
[0015] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not to limit the present application.
[0016] In the description of the present application, it should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only used to facilitate the description of the present application and simplify the description, and therefore cannot be understood as indicating or implying that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the present application. In addition, in the description of the present application, the meaning of "a plurality of" is two or more, unless otherwise explicitly and specifically limited.
[0017] All user-related information (including but not limited to biometric information, identity information, behavior data, device information and other data that can be used for identity verification and personalized services) involved in the present application are collected and processed on the premise that the user is fully informed and voluntarily authorizes and agrees. The collection, storage and use of all information strictly comply with the applicable national and regional laws and regulations, and meet the relevant data protection standards and policy requirements. The scope of use of data is limited to the purpose necessary for providing the technical services of the present application, and reasonable technical and management measures will be taken in terms of information protection and privacy security to ensure the security and confidentiality of user personal information.
[0018] Embodiments Please refer to Figure 1 The present application provides a technical solution, a self-adaptive touch control system for a smart door lock, comprising: The initialization reference module analyzes the capacitance change of the channel based on the signal generated when the smart door lock is powered on, screens the stable stage of each group of data, compares the fluctuation of the sampling process, judges that the signal enters the stable state, optimizes the corresponding mode of the data and the channel number, and continuously records the initialization process of all channels to obtain the channel stable reference data; The channel abnormality recognition module judges the capacitance signal state of each channel in the monitoring stage based on the channel stable reference data, analyzes the difference between the real-time signal and the reference signal, identifies the channel with deviation change, counts the abnormal channels, compares the continuously occurring abnormal phenomena, determines the abnormal trend and abnormal distribution of each channel, and obtains the channel abnormal distribution characteristics; The environmental interference determination module determines whether the abnormal signal is continuous and covers a wide range based on the channel abnormal distribution feature, compares the spatial distribution feature with the identification rule, and determines whether it is environmental interference in combination with the abnormal feature to obtain an environmental interference identification signal. The channel reference correction module adjusts the reference determination of all disturbed channels based on the environmental interference identification signal, analyzes the current signal of the continuous abnormal channel, and updates it as a reference standard, and the non-abnormal channel continues to use the original reference, and gradually completes the independent correction of the reference of all channels to obtain a dynamic reference correction parameter. The touch event recognition module compares the capacitance signal generated by the user touch operation with the current reference standard of the channel based on the dynamic reference correction parameter, analyzes the signal change trend of each channel, recognizes the channel consistent with the normal touch feature, judges the consistency of the signal feature and the user operation, and records the recognized channel number as a response basis to obtain an effective touch response code.
[0019] The channel stable reference data includes initial capacitance characteristics, channel stability identification and data acquisition sequence, the channel abnormal distribution feature includes abnormal channel label, abnormal distribution mode and abnormal trend information, the environmental interference identification signal includes interference determination label, coverage range identification and interference duration parameter, the dynamic reference correction parameter includes correction channel set, correction reference value and correction time information, and the effective touch response code includes touch channel code, response instruction type and user operation identification.
[0020] In the initialization reference module, the capacitance change condition refers to the dynamic change process of the capacitance raw data measured continuously after each channel is powered on with time; the stable stage of data refers to the period when the fluctuation amplitude of the capacitance raw data decreases and tends to be constant after continuous collection; the sampling process fluctuation refers to the numerical fluctuation of the capacitance data during initialization due to external interference or system instability; the corresponding mode refers to one-to-one binding of stable capacitance data and physical channels of each channel through unique number; and the initialization process refers to the whole operation sequence of data acquisition, stage screening, data and number binding and data writing after power on.
[0021] In the channel anomaly identification module, each channel refers to a capacitive acquisition channel independently allocated to each key; the capacitive signal state refers to the relationship between the capacitive detection value of a single channel in the real-time acquisition stage and the reference standard; the real-time signal refers to the current capacitive measurement value acquired when the system is running; the reference signal refers to the channel reference capacitive value obtained in the initialization link; the channel with a deviation change refers to a channel with a significant numerical deviation from the reference standard and a significant fluctuation in the current acquisition data; the abnormal channel refers to a channel that is judged by the system to have an abnormal signal and has been specially marked; the abnormal phenomenon refers to the abnormal signal form of the abnormal channel in the data acquisition stage; and the abnormal distribution refers to the distribution characteristics and quantity statistics of all channels judged to be abnormal on the physical keyboard panel.
[0022] In the environmental interference judgment module, the marked abnormal channel refers to a channel set that has been classified by the system as having an abnormal signal in the anomaly identification stage; the abnormal signal refers to abnormal capacitive data continuously generated by the channel under the influence of environmental interference; the spatial distribution characteristics refer to the physical location distribution range and density of the abnormal channel on the touch panel; the identification rule refers to the logical standard preset by the system for judging whether a large-scale and continuous abnormal distribution is environmental interference; and the environmental interference refers to a non-human simultaneous multi-channel failure state caused by water mist, condensation or other external factors.
[0023] In the channel reference correction module, the reference judgment refers to the operation of using the current reference standard to judge the normal or abnormal of the channel detection data; the reference standard refers to the reference value for channel judgment, including the initialization reference and the corrected reference; the original reference refers to the reference value generated in the initialization stage and not updated; and the independent correction refers to updating the reference standard of each abnormal channel individually, rather than adjusting globally.
[0024] In the touch event identification module, the capacitive signal refers to the capacitive change data detected by the channel under the user's touch or external trigger; the current reference standard of the channel refers to the touch judgment reference adopted by the channel at a certain time; the signal change trend refers to the change trend of the capacitive measurement data in a period of time; the consistency with the user's operation refers to the consistency degree of the signal change mode with the real user's key operation characteristics; and the identified channel number refers to the specific channel number determined to have an effective touch after data analysis.
[0025] Please refer to Figure 2 , the initialization reference module includes: The data flow receiving submodule analyzes the capacitive detection data collected by each channel based on the signals generated when the intelligent door lock is powered on, compares the sampling data fluctuations of each channel at the same time, judges the change law of the sampling data under continuous time sequence, identifies the discontinuous data segments in the acquisition process, and obtains a channel capacitive trajectory sequence group. The high-level starting signal output by the smart door lock master control chip after power-on starts the continuous sampling process of the capacitor channel. Each channel starts capacitor value detection according to its number in turn. Sampling is performed in a fixed time period. Each channel continuously collects capacitor data for a period of time to generate a time sequence composed of multiple sampling points. The sequence data collected by each channel is temporarily stored in a buffer. On this basis, the capacitor change amplitude of all channels at the same time is counted and compared according to the time window. By analyzing the fluctuation difference of the capacitor value of each channel in each time window, it is identified whether there is a mutation or deviation. If the data change difference of each channel in multiple consecutive time periods is detected to be beyond the set range, it is recorded as a sampling interruption or an abnormal marker in the data sequence. The sampling interruption is marked by an interpolation paragraph, and the corresponding relationship between the channel number and the sampling time point is marked. The capacitor change trajectory sequence corresponding to each channel is constructed to form a channel capacitor trajectory sequence group for subsequent data stability analysis.
[0026] The stable phase identification submodule compares the change of adjacent sampling points based on the channel capacitor trajectory sequence group, analyzes the change continuity of the data in the sampling sequence, judges the fluctuation segment that tends to be stable, identifies the effective section with the characteristics of continuous stability, and obtains the channel stable segment parameters. After obtaining the channel capacitor trajectory sequence group, the capacitor sampling sequence in each channel is analyzed according to the data difference between adjacent time points. By comparing the capacitor change amplitude between adjacent sampling values point by point, the sampling segment with continuous change and small amplitude is selected, and the time section with gradually stable change trend is identified. For the time section that meets the continuous change stability requirement, the start and end sampling point numbers and all capacitor values in the corresponding interval are extracted. The overall fluctuation of the capacitor values in the paragraph is further evaluated. For the paragraph with overall fluctuation amplitude below the set limit value, it is identified as a stable segment. The average capacitor value of the stable segment is extracted as the reference capacitor reference of the channel in this period. The start and end positions, paragraph number and corresponding channel number of the segment are recorded. Similar stable segments are extracted from the entire channel sampling data, and abnormal segments with mutations or violent fluctuations are removed. The stable segment information set of all channels is output and used as the stable data basis for initialization.
[0027] The channel number binding submodule analyzes the sampling data of each channel stable segment based on the channel stable segment parameters, judges the corresponding relationship between the data recording order and the physical number, and compares the matching situation of the collection order and the channel number to obtain the channel stable reference data. After obtaining the stable segment information, first, the average value of the capacitance in each channel stable segment is called, and the sampling sequence number is analyzed in combination with the sampling time sequence. The difference between the capacitance values of all stable segments and the initial capacitance grade values of each physical channel in the known process standard is compared. After comparison, each set of stable data is matched with the physical channel number, and whether the correspondence between the sampling time sequence and the channel number is consistent is evaluated. The deviation frequency of the preset channel collection sequence and the current binding result is compared to judge the validity of the matching result. If the matching accuracy exceeds the preset standard, it is confirmed that the current channel number binding is valid. All channel stable capacitance segments are corresponded to the physical channel numbers matched therewith one by one to form the channel stable reference data.
[0028] Please refer to Figure 3 , the channel abnormality recognition module comprises: The signal state judgment submodule analyzes the capacitance detection data of each channel monitoring stage based on the channel stable reference data, compares the fluctuation between the current data and the reference data of each channel, judges the change trend of the continuous data, adjusts the correspondence between the channel number and the data characteristics by recognizing the data offset and the fluctuation mode, and obtains the capacitance state offset parameter; The reference capacitance values of all channels determined in the initialization stage are read as the reference set, and the real-time capacitance sampling values of each channel in the current monitoring stage are called. In each monitoring period, the difference amplitude between the current capacitance value of each channel and the reference value corresponding thereto is calculated in sequence. The increasing and decreasing trend of multiple difference value samples at adjacent time points is compared to extract the change direction and amplitude of continuous data. For a difference value within ±0.02 pF, it is considered that there is no obvious change. For a channel exceeding the range, it is further analyzed whether the change trend in the continuous three periods is continuously increasing or continuously decreasing. For example, if channel 5 records 2.01 pF, 2.06 pF and 2.11 pF at three sampling points, it is determined that the fluctuation is continuously positively offset, and is recorded as an upward trend. By comparing the change mode of multiple channels, it is judged whether there is a situation that the correspondence between the channel number and the data characteristics is wrong. For example, if the sampling sequence characteristics of the channel with the channel number 8 are extremely similar to the initialization characteristics of the channel with the number 7, and the change trend of the number 8 itself is completely deviated, it is automatically recognized that the corresponding relationship of the number may be misaligned, and the current channel data is re-bound to a more suitable number. When the mismatching proportion is higher than 10%, the number adjustment process is triggered. In the rebinding process, the reference data with the highest frequency and the closest average value in the stable segment are taken as the correction target. The difference between the current sampling data and the reference value of all channels, the change direction description and the number adjustment record are described to form the capacitance state offset parameter.
[0029] The deviation channel screening submodule analyzes the spatial distribution of abnormal channels in the current period based on the capacitance state offset parameter, counts the abnormal labels of each channel, optimizes the distribution counting process according to the panel area characteristics, and obtains an abnormal distribution label set; All channel state offset information in the current period is traversed, and channels with an offset amplitude exceeding ±0.05 pF are marked as abnormal channels and assigned an abnormal label 1, and the remaining channels are assigned a label 0. After marking the current frame, the physical location coordinate information of all channels is called, the channels marked as abnormal are spatially aggregated according to their positions on the panel surface, and an abnormal point area is plotted on a distribution map. When two or more consecutive channels in the same area are marked as abnormal and the area boundary contains multiple functional key areas, the abnormal block is recorded as an aggregated abnormal section. In the process of counting abnormal labels, only the number of labels in the continuous area is retained as the abnormal channel dense distribution reference. At the same time, the panel is divided into five regions, i.e., upper left, upper right, lower left, lower right, and middle, according to the panel structure. The abnormal number in each region is classified and counted. For example, if the middle region contains 8 channels and 5 channels are abnormal labels, the abnormal rate of the region is calculated as 62.5%. If the proportion exceeds the set threshold of 40%, the region is identified as having a spatial abnormal distribution. The abnormal label and its distribution statistical information set of all regions constitute the abnormal distribution label set.
[0030] The abnormal trend extraction submodule compares the abnormal states of each channel in each monitoring period based on the abnormal distribution label set, analyzes the continuous change trend of abnormal phenomena, counts the abnormal occurrence frequency and distribution mode of each channel, and obtains the channel abnormal distribution characteristics. The abnormal state changes of each channel in the continuous monitoring period are arranged in the time dimension, the abnormal sequence identifier flow of each channel is constructed, for example, the abnormal label of channel 9 in the last 5 monitoring periods is 1, 1, 0, 1, and 1. The abnormal period is counted as 4 times, the abnormal frequency is 4 times / 5 periods, i.e., the frequency is 80%. At the same time, it is identified whether the abnormal state in the period appears continuously or intermittently. If there are three or more consecutive abnormal labels, the channel is recorded as having a continuous abnormal trend. The abnormal states of different channels are compared horizontally to determine whether there is a synchronous abnormality of adjacent region channels. For example, channels 5, 6, and 7 have an abnormal frequency higher than 70% in 4 periods. The combination is recorded as a synchronous high-frequency abnormal group. Through the arrangement and counting of the abnormal frequency, distribution continuity, and regional concentration of all channels and their corresponding regions, the channel abnormal frequency table, trend record table, and regional group label table are generated, and the structured channel abnormal distribution characteristics are output.
[0031] Please refer to Figure 4 , the environmental interference determination module comprises: The channel anomaly screening submodule compares the anomaly labels and anomaly trends of each channel in the continuous monitoring period based on the channel anomaly distribution characteristics, judges which channels continuously deviate from the reference standard, identifies the channels with continuous anomaly state and their capacitance change sequence, and obtains the anomaly channel continuous dataset; The anomaly label list of each channel generated in the previous stage and the anomaly trend information of each channel in the continuous monitoring period are extracted. The anomaly label state of each channel is retrieved cycle by cycle, the anomaly label value of each cycle is recorded, and the cumulative number of times that the same channel appears abnormal in consecutive cycles is counted. If the anomaly labels of a channel in three consecutive cycles are all abnormal, it is determined that the channel has a continuous deviation phenomenon. The offset amount is calculated and the offset direction is recorded by comparing the current monitoring period capacitance sampling value with the reference capacitance value. It is judged whether the continuous positive or negative offset is maintained. For example, under the condition that the reference capacitance value of channel No. 12 is 2.10 pF, the continuous cycle capacitance value acquisition results are 2.16 pF, 2.19 pF, and 2.21 pF. It is identified that the channel has a continuous positive offset and forms a fluctuation growth trend. The complete capacitance sampling sequence is further called to compare all capacitance values with the reference benchmark one by one, extract the offset paragraph and record the corresponding time point, screen out channels that have anomalies but do not have continuous characteristics, such as channel 7, which is abnormal only twice in 5 cycles and is not continuous, is not included in the continuous channel set. Then, the anomaly channel continuous dataset is formed by combining the anomaly channel continuous dataset with the capacitance change time sequence.
[0032] The spatial distribution analysis submodule optimizes the mapping of channel numbers and panel coordinates based on the anomaly channel continuous dataset, calculates the distribution density and coverage area of the channels on the panel, judges the concentration degree of the distribution structure, and obtains the anomaly channel spatial distribution information. The system retrieves the physical coordinate information corresponding to each abnormal channel, maps the channel number to the physical layout coordinates on the panel, establishes a complete mapping table from channel number to two-dimensional coordinate points, generates a distribution map according to the horizontal and vertical coordinates of the channel, and calculates the number of adjacent channels for each channel to assess local density. If there are more than two abnormal channels within a radius of 1 for a certain abnormal channel, it is determined to be a high-density area. The system counts the number of all such high-density abnormal areas and the total number of channels within the entire channel range, and calculates the coverage ratio of this set of channels in the total number of channels. For example, if there are 16 channels in total, and a high-density area involves 6 channels, the coverage ratio is 37.5%. The geometry of the abnormal area is analyzed to determine whether the abnormal channels are concentrated or regular on the panel. For example, if abnormal channels 9, 10, 11, and 12 are in the same column, the structure is identified as a linear concentrated distribution structure. If channels 3, 7, and 11 are arranged diagonally, they are defined as an inclined concentrated structure. By statistically analyzing the number of structural features, it is determined whether the distribution of abnormal channels shows a concentrated trend. When the number of structures exceeds 2 and the number of channels in a single structure is not less than 3, it is recorded as a panel abnormal structure with spatial concentrated distribution characteristics. The channel coordinates, abnormal area density parameters, structure arrangement labels, and spatial coverage values are output to form the spatial distribution information of abnormal channels.
[0033] The interference state discrimination submodule calculates the capacitance deviation ratio and channel spatial distribution index based on the abnormal channel spatial distribution information, using the following formula: ; Obtain environmental offset perturbation coefficient The abnormal coverage and signal change characteristics of the panel area are judged to obtain the environmental interference identification signal, among which, Indicates the number of abnormal channels. Indicates the current capacitance of the i-th channel, referring to the... The actual capacitance measurement value detected by each channel in the current cycle. This indicates the reference capacitor for the i-th channel, referring to the... The reference capacitance value is preset for each channel or obtained from long-term statistical analysis. The capacitance deviation ratio of the i-th channel is used to normalize and describe the degree of offset of each channel. This represents the horizontal coordinate of the i-th channel in the panel coordinate system, indicating the channel's horizontal position on the touch panel. This represents the vertical coordinate of the i-th channel in the panel coordinate system, indicating the channel's vertical position on the touch panel. This represents the average spatial distance between abnormal channels, specifically the average interval between all analyzed abnormal channels on the panel. The normalized value of the spatial distribution of the i-th channel describes the normalized value of the spatial position of each channel relative to the overall distribution. The environmental offset disturbance coefficient refers to whether multiple capacitive channels on the touch panel of the intelligent door lock appear abnormal signal fluctuations due to environmental interference (such as water mist, condensation, and other non-human factors). Through the coefficient, the capacitive offset amplitude of each abnormal channel, the spatial distribution of each abnormal channel, and the statistical average level of the number of abnormal channels can be comprehensively reflected. The coefficient weights and sums the capacitive offset proportion of all abnormal channels participating in the judgment and its spatial normalized coordinates, and divides by the total number of abnormal channels, outputting a dimensionless value. The larger the value, the more obvious the amplitude and spatially concentrated abnormal offset phenomenon of multiple channels, which is usually used to determine whether panel-level environmental interference (i.e., large-scale, multi-channel collective failure or signal anomaly) has occurred, providing a quantitative basis for subsequent automatic reference correction and system response. Based on the spatial distribution information of the abnormal channels, the abnormal channel number set entering the interference judgment process is determined, and the capacitive detection value, reference capacitive, and horizontal and vertical coordinates configured on the touch panel are obtained. In the current cycle, the channel numbers 1, 2, 3, and 4 are selected, representing four channels with a sustained offset trend. The capacitive measurement values of each channel and their corresponding reference values are as follows: Channel 1 is and ; Channel 2 is and ; Channel 3 is and ; Channel 4 is and ; The capacitive deviation ratio is calculated in sequence Channel 1 is , Channel 2 is , Channel 3 is about , and Channel 4 is , while the channel coordinate information is extracted. Channel 1 coordinates are ; Channel 2 is ; Channel 3 is ; Channel 4 is ; The spatial module length of each channel is calculated, i.e. , the channel 1 module length is , the channel 2 is , the channel 3 is , and the channel 4 is . For unified scale calculation, all spatial module lengths are normalized by the maximum module length of channel 2 As a normalized reference, the normalized mode length is obtained as follows: channel 1 is , channel 2 is , channel 3 is , and channel 4 is ; Substitute the formula into , , and each channel is calculated as follows: Channel 1: ; Channel 2: ; Channel 3: ; Channel 4: ; Add the four items: ; Calculate the average value: ; The preset disturbance coefficient judgment interval division standard is: When , it is defined as a stable interval of capacitance fluctuation, indicating that the capacitance changes of all channels are within the normal range, the spatial distribution is uniform, and no interference is triggered; When , it is defined as a mild fluctuation interference interval, indicating that there is random fluctuation or short-term abnormality in local channels, but it does not constitute spatial distribution correlation; When , it is defined as an overlay interference interval, indicating that multiple channels simultaneously occur strong amplitude deviation, and show aggregation distribution on the panel area, which meets the identification conditions of environmental disturbance; When , it is defined as a serious interference interval, indicating that there is a high amplitude concentrated failure, which may be caused by condensation, large area water mist or structural external disturbance factors.
[0034] Therefore, the current falls into the interval , which belongs to the overlay interference interval, that is, when falls into this interval, an environmental disturbance identification signal is immediately generated, which is used as the basis for executing actions and triggering. This signal directly guides the subsequent module to perform reference correction operation on the related channels. The formula integrates the capacitance offset strength and its spatial influence range through product coupling, completes the expansion from single-channel abnormality judgment to multi-channel concentrated failure identification, and adopts the normalization mechanism to avoid the bias caused by dimension difference, forming a stable and reproducible disturbance identification judgment basis. In the formula all abnormal channels are traversed and added, the offset amplitude is extracted, Calibration reference level, root calculation of two-dimensional coordinate module length, normalized item compression space scale, output Possessing comparability and engineering identifiable.
[0035] Please refer to Figure 5 , the channel reference correction module comprises: The interference channel screening submodule is based on the environmental interference identification signal, analyzes the interference mark and distribution characteristics, identifies the channels in the abnormal channel set that continuously exhibit abnormalities, judges the spatial distribution universality of the channels on the panel, and obtains interference channel screening data; The interference determination label of each channel in the current period is called, and its historical distribution record and coverage range identifier are read. All abnormal channels are analyzed in sequence whether they have interference marks. If the same channel is marked with an interference label in two or more consecutive periods, and its spatial position is located within the identified interference range area, it is judged that the channel is a channel with continuous interference characteristics, and it is added to the initial interference candidate set. Then, the distribution universality of the channels in the set is judged, the horizontal and vertical coordinates of the channels in the two-dimensional coordinate system of the panel are extracted, the projection coverage area of the coordinate points in the panel space is calculated, the total coverage width and height of the interference area are obtained, and then the proportion of the coverage area is compared with the size of the whole panel. If the proportion of the coverage area is greater than the set threshold, for example, more than 30% of the total area of the panel, it is determined that the interference phenomenon has universality in space. Further, all channels in the area that are in an abnormal state but have not been marked as interference are retrieved, the abnormal frequency and the spatial distance from the interference area boundary are counted, and if the distance is within the set maximum interference expansion radius and the abnormal frequency of the channel is more than three times in five periods, the channel is added to the interference channel set. The channel number, spatial coordinates, interference continuous period number and interference label state of the channel set that meets the continuous abnormality and spatially concentrated distribution or adjacent interference block are sorted out, and interference channel screening data is output.
[0036] The reference standard adjustment submodule is based on the interference channel screening data, analyzes the historical acquisition data of each channel, compares the data distribution with the difference between the channel stable reference data, and uses the formula: ; to obtain the correction offset, wherein represents the offset correction amount of the zth correction channel, represents the average value of the cth channel acquisition data, represents the original reference of the cth channel, represents the data of the cth channel at the zth acquisition, represents the total number of data acquisition; The correction offset refers to, for each channel, based on the latest acquisition data within a certain acquisition period, while measuring the overall deviation degree and data fluctuation amplitude of the current data distribution of the channel, the cumulative correction amount compared with the original reference benchmark, the correction offset reflects the change trend and current stability of the channel capacitance signal compared with the initial benchmark, which is used to dynamically adjust and update the reference standard used in subsequent channel judgment, and comprehensively reflects whether the signal deviates due to environmental interference or other factors, and the fluctuation of the channel within a period of time, providing a quantitative basis for subsequent adaptive correction of channel reference; The historical acquisition data of each channel is analyzed, and the channel number is set as The original value sequence of the capacitance sample of the channel in the interference marking period is , unit: microfarad (μF), wherein the minimum value of the sequence is 2.9, and the maximum value is 3.2, in order to facilitate consistent comparison between different dimensions, the original capacitance data is normalized by using minimum and maximum normalization, and the corresponding normalized result sequence is: ; Then, the average value of the normalized sequence of the channel is calculated , that is: ; The original reference value of the channel is set as , then the correction offset is calculated according to the formula, the first term is: ; ; The absolute difference between each sampling value and the average value needs to be calculated in the second term, which is respectively: ; ; ; ; ; The above results are summed up: ; Then divided by : ; Substitute the formula: ; The preset interval range for determining the correction offset is set as follows: If , it is considered that the channel signal state is stable, and the consistency with the original reference is high, and the original reference benchmark can be continued to be used. If , it is considered that the channel has a moderate degree of deviation, the current state presents a slight drift or local disturbance, and it is recommended to trigger the reference correction process; If , it is considered that the channel has obvious reference deviation and fluctuation accumulation, and reference replacement must be performed immediately, and it is marked as a high-priority channel for correction.
[0037] The calculated correction offset is , the value falls within the upper boundary of the interval , close to the next level threshold, indicating that the capacitive sampling behavior of the channel has shown a trend of stable deviation and fluctuation, although it has not reached the highest risk level, but its change has exceeded the error tolerance range allowed by the original reference, therefore, the result shows that the channel should be determined as the object of reference correction in this period, and the system will update its reference standard according to the value and include it in the correction reference data set to provide effective data input for subsequent construction of full-channel dynamic reference.
[0038] The dynamic parameter generation submodule analyzes the channel mapping relationship and the current correction result based on the correction offset, judges the reference state of all channels, optimizes the update method of full-channel reference parameters, and obtains dynamic reference correction parameters; Read the initialization reference capacitance value and the latest one-period correction value of each channel, and calculate the difference to form the offset sequence. Take whether the offset absolute value exceeds the preset correction threshold as the judgment standard, for example, when the offset exceeds 0.05pF, it is considered that the reference needs to be updated. Then, a correction mapping table is established for all channels, listing the current reference value, offset trend and correction suggestion value. Then, the correspondence between the channel physical number and the sampling data number is checked item by item to confirm whether the reference value of each channel is accurately matched. If there is a mismatch, perform number redirection operation to rebind the sampling data of the misaligned number to the actual corresponding channel number. Then, the correction suggestion value of each channel is traversed in turn to judge whether it is a repeated value or a jump value in the historical reference value. If the difference between the correction suggestion value and the previous period reference value exceeds twice the correction threshold, it is marked as a jump anomaly and no replacement operation is performed, only the original value is retained. For correction values within the normal change range, perform replacement operation, write the current correction value to the channel reference data table, update its reference reference field, and then count the number of updated channels and the number of non-updated channels, generate correction profile records, and output the correction state, the latest reference value, the offset trend, whether to participate in the update, etc. Information set of each channel, forming dynamic reference correction parameters.
[0039] Please refer to Figure 6 , the touch event recognition module includes: The signal contrast analysis submodule analyzes the capacitance detection data collected by each channel in the user touch stage based on the dynamic reference correction parameter, compares the differences between the collected data and the reference standard in the continuous time sequence, judges the trend of the channel capacitance data in the change process, identifies the data offset phenomenon combined with the fluctuation characteristics, and obtains the touch offset characteristic parameter; The current time period is called when the user performs a touch operation, and the capacitance value of each channel is collected, and the reference standard is read as a reference standard. For each channel, the continuous multiple sampling points and the corresponding reference value are compared in turn, the difference value sequence is extracted, and the difference value change trend is judged. If the capacitance values of more than three consecutive time points are offset in one direction, the channel is recorded as a trend offset state, and the difference value sequence is further analyzed whether it exceeds the fixed fluctuation threshold (such as 0.04pF) in a short time. If the condition is met, it is determined that the fluctuation suddenly changes, and the mean and range of the difference value data are calculated for evaluating the offset characteristics. If the range change exceeds 20% of the reference data, it is marked as a significant offset paragraph. For example, the reference value of channel 4 is 2.30pF, and the sampling value is 2.32pF, 2.35pF, 2.38pF, and 2.42pF during the touch period. The cumulative offset amount reaches 0.12pF, which is judged as an effective offset process, and the starting and ending time points are recorded. At the same time, it is marked as a continuous offset state. If there is a case of first increasing and then decreasing or unstable change amplitude in the continuous data, it is not included in the offset characteristic statistics. Through this channel-by-channel and sequence-by-sequence difference value comparison and trend screening, the offset state label, offset direction, offset amplitude, offset time interval and other elements of each channel are generated, and the touch offset characteristic parameters are output.
[0040] The touch trend recognition submodule analyzes the capacitance change direction and user operation characteristics based on the touch offset characteristic parameters, judges the correspondence between the channel fluctuation trend and the operation, identifies the channel number with synchronous change characteristics in the time sequence, and obtains the touch channel number set. Extract the offset direction, offset duration and offset start and end time points of all channels. By aligning the time series of each channel, it is determined whether multiple channels have consistent direction offset phenomenon in the same time window. If two or more channels show simultaneous rise or fall in the same time period, and the offset is more than 0.05 pF, it is judged as a synchronous change group, the channel number is recorded, and the group is classified into a touch candidate channel set. Then the channel is further compared with the fluctuation slope between the offset starting point and the peak point. If the slope difference is less than 10% in the same time, it is confirmed as a synchronous response channel. For example, the capacitance values of channel 3 and channel 4 rise from 2.30 pF to 2.42 pF between time points 100 ms to 150 ms, and the average slope difference is within 0.01 pF / ms. The channel group is recorded as a synchronous touch channel group. Then, those channels with sharp reverse fluctuations or interruptions are removed from the candidate set, and only the channel numbers with consistent offset characteristics are retained. A data set containing the actual response channel numbers under user touch operation is obtained as a touch channel number set.
[0041] The response encoding generation submodule determines the mapping relationship between channel number and response type based on the touch channel number set, optimizes the combination mode of response instruction and number in combination with user operation characteristics, and obtains effective touch response encoding. The response instruction mapping table preset for each channel number at initialization is called to establish the response type structure corresponding to the current operation. For example, number 3 corresponds to the unlock instruction, number 5 corresponds to the lock instruction, and number 7 corresponds to the reset operation. The instruction type corresponding to the current touch channel number in the mapping table is determined one by one, and the recognition result is associated and verified with real-time user identity information. The user identity information is extracted from the door lock local identity recognition module by the system, such as Bluetooth ID or NFC identification code. The multi-user response conflict existing for the same number is resolved by combining the recognized user ID and channel operation record. When the same channel number can correspond to multiple operations, the current user historical touch behavior weight is selected, for example, number 6 can execute unlock or disarm operation. If user A touches this key for the fifth time, the response type is bound to unlock, and the response instruction type is generated as unlock. At the same time, number 6 is combined and packaged with the response. After all the recognized channel numbers are combined, a unique response encoding identifier is generated for each combination. The output data includes channel number, instruction type, and user identity, which are combined to form an effective touch response code.
[0042] The above merely describes the preferred embodiments of the present application, and is not intended to limit the present application in other forms. Any skilled person in the art can modify or change the disclosed technical content into equivalent embodiments with equivalent changes, and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application, without departing from the technical solution content of the present application, still falls within the protection scope of the present application.
Claims
1. An adaptive touch control system for a smart door lock, the system comprising: The system comprises: The initialization reference module collects the capacitance data of each channel based on the signal generated when the smart door lock is powered on, analyzes and filters the stable stage signal, records the correspondence between the number and the stable data, and obtains the channel stable reference data; The channel anomaly recognition module judges the capacitance signal state in the monitoring stage based on the channel stable reference data, analyzes the difference between the real-time signal and the reference, identifies and counts the abnormal channels, compares the continuous abnormal phenomena, and obtains the channel anomaly distribution characteristics; The environmental interference judgment module filters the abnormal channels based on the channel anomaly distribution characteristics, analyzes the distribution of the abnormal channels on the touch panel, judges whether the abnormal signal is continuous and widely distributed, determines the environmental interference combined with the abnormal characteristics, and obtains the environmental interference recognition signal; The channel reference correction module adjusts the reference judgment of the disturbed channel based on the environmental interference recognition signal, analyzes the current signal of the continuous abnormal channel, corrects the abnormal channel judgment reference, and retains the original reference of the non-abnormal channel, and obtains the dynamic reference correction parameter; The touch event recognition module compares the capacitance signal generated by the user touch with the current reference of the channel based on the dynamic reference correction parameter, analyzes the signal change trend, identifies the channel consistent with the normal touch characteristics, and obtains the effective touch response code.
2. The adaptive touch control system for a smart door lock of claim 1, wherein, The channel stable reference data includes initial capacitance characteristics, channel stable identification and data acquisition sequence, the channel anomaly distribution characteristics include abnormal channel label, abnormal distribution mode and abnormal trend information, the environmental interference recognition signal includes interference judgment label, coverage range identification and interference duration parameter, the dynamic reference correction parameter includes correction channel set, correction reference value and correction time information, and the effective touch response code includes touch channel code, response instruction type and user operation identification.
3. The adaptive touch control system for a smart door lock of claim 1, wherein, The initialization reference module comprises: The data stream receiving submodule analyzes the capacitance detection data collected by each channel based on the signal generated when the smart door lock is powered on, compares the sampling data fluctuation of each channel at the same time, judges the change rule of the sampling data under continuous time sequence, identifies the discontinuous data segment in the collection process, and obtains the channel capacitance trajectory sequence group; The stable stage recognition submodule compares the change of adjacent sampling points based on the channel capacitance trajectory sequence group, analyzes the change continuity of the data in the sampling sequence, judges the segment with stable fluctuation trend, identifies the effective segment with continuous and stable characteristics, and obtains the channel stable segment parameter; The channel number binding submodule analyzes the sampling data of each channel stable segment based on the channel stable segment parameter, judges the correspondence between the data record order and the physical number, and compares the collection order and the channel number matching situation, and obtains the channel stable reference data.
4. The adaptive touch control system for a smart door lock of claim 1, wherein, The channel anomaly recognition module comprises: The signal state judgment submodule analyzes the capacitance detection data of each channel in the monitoring stage based on the channel stable reference data, compares the fluctuation between the current data and the reference data of each channel, judges the change trend of the continuous data, adjusts the correspondence between the channel number and the data characteristics by identifying the data offset and the fluctuation mode, and obtains the capacitance state offset parameter; The deviation channel screening submodule analyzes the spatial distribution of abnormal channels in the current period based on the capacitance state offset parameter, counts the abnormal labels of each channel, optimizes the distribution statistical process according to the panel area characteristics, and obtains an abnormal distribution label set; The abnormal trend extraction submodule compares the abnormal states of each channel in each monitoring period based on the abnormal distribution label set, analyzes the continuous change trend of the abnormal phenomenon, counts the abnormal occurrence frequency and distribution mode of each channel, and obtains channel abnormal distribution characteristics.
5. The adaptive touch control system for a smart door lock of claim 1, wherein, The environmental interference judgment module includes: The channel abnormal screening submodule compares the abnormal labels and abnormal trends of each channel in the continuous monitoring period based on the channel abnormal distribution characteristics, judges which channels continuously deviate from the reference standard, identifies the channels and their capacitance change sequences that have a continuous abnormal state, and obtains an abnormal channel continuous data set; The spatial distribution analysis submodule optimizes the mapping of channel numbers and panel coordinates based on the abnormal channel continuous data set, calculates the distribution density and coverage area of the channels on the panel, judges the concentration degree of the distribution structure, and obtains abnormal channel spatial distribution information; The interference state discrimination submodule calculates the capacitance deviation ratio and the index of channel spatial distribution based on the abnormal channel spatial distribution information, and uses the formula: ; An environmental offset disturbance coefficient is acquired, an abnormal coverage and signal change feature of a panel area is judged, and an environmental interference identification signal is obtained, wherein, represents an abnormal channel number, represents a current capacitance of the i-th channel, represents a reference capacitance of the i-th channel, represents a horizontal coordinate of the i-th channel in a panel coordinate system, represents a vertical coordinate of the i-th channel in the panel coordinate system, represents an average Euclidean distance between abnormal channels.
6. The adaptive touch control system for a smart door lock of claim 1, wherein, The channel reference correction module includes: The interference channel screening submodule analyzes the interference labels and distribution characteristics based on the environmental interference identification signal, identifies the channels in the abnormal channel set that continuously exhibit abnormalities, judges the spatial distribution universality of the channels on the panel, and obtains interference channel screening data; The reference standard adjustment submodule analyzes the historical acquisition data of each channel based on the interference channel screening data, compares the differences between the data distribution and the channel stable reference data, and obtains a correction offset; The dynamic parameter generation submodule analyzes the channel mapping relationship and the current correction result based on the correction offset, judges the reference state of all channels, optimizes the update mode of the full-channel reference parameter, and obtains dynamic reference correction parameters.
7. The adaptive touch control system for a smart door lock of claim 1, wherein, The touch event recognition module includes: The signal comparison analysis submodule analyzes the capacitance detection data collected by each channel in the user touch stage based on the dynamic reference correction parameters, compares the differences between the collected data and the reference standard in the continuous time sequence, judges the trend of the channel capacitance data in the change process, identifies the data offset phenomenon combined with the fluctuation characteristics, and obtains touch offset characteristic parameters; The touch trend recognition submodule analyzes the capacitance change direction and user operation characteristics based on the touch offset characteristic parameters, judges the correspondence between the channel fluctuation trend and the operation, identifies the channel numbers that have synchronous change characteristics in the time sequence, and obtains a touch channel number set; The response code generation submodule judges the mapping relationship between the channel number and the response type based on the touch channel number set, optimizes the combination mode of the response instruction and the number combined with the user operation characteristics, and obtains an effective touch response code.
8. The adaptive touch control system for a smart door lock of claim 1, wherein, The stable stage signal refers to a period when the fluctuation amplitude of the original capacitance data decreases and tends to be constant after continuous acquisition, the corresponding relationship refers to one-to-one binding of the stable capacitance data of each channel and the physical channel through unique numbering, and the capacitance signal state refers to the relationship between the single-channel capacitance detection value in the real-time acquisition stage and the reference standard.