A vehicle cabin intention prediction method based on key operation timing
By extracting the timing signals of button operations from in-vehicle peripherals and vehicle operating condition data, spatiotemporal feature decoupling and clustering are performed. Combined with a pre-trained model for intent prediction, the problems of false activation and delayed response of in-vehicle peripherals under complex driving conditions are solved, realizing proactive response and efficient interaction of functions.
Patent Information
- Application Number
- CN202611231535.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-14
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies cannot effectively identify and predict the driver's operating intentions for in-vehicle peripherals, especially under bumpy and high-speed driving conditions, which leads to the peripherals being activated erroneously and the function response being delayed. They cannot meet the unified interaction requirements of the original vehicle built-in touch control and various aftermarket capacitive peripherals.
By collecting multi-channel sensor data from the capacitive button array of the vehicle peripheral and real-time vehicle operating data, continuous micro-operation timing signals are extracted, spatiotemporal feature decoupling and clustering are performed, and latent space feature matching is carried out using a pre-trained individual pre-simulation fingerprint mapping model to achieve advance prediction of the driver's operating intentions. Furthermore, online incremental learning is used to adapt to the operating habits of different drivers.
It significantly improves the preloading and zero-latency response of in-vehicle peripheral functions, reduces the driver's workload and the risk of accidental touch, improves the smoothness and safety of smart cockpit interaction, and is compatible with a variety of in-vehicle peripherals without the need for separate development, thus reducing the cost of modification.
Smart Images

Figure CN123158083A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent driving technology, and in particular to a method for predicting the intent of an in-vehicle cockpit based on the timing of button operations. Background Technology
[0002] In the context of in-vehicle smart cockpits, in addition to the vehicle's original factory-installed physical buttons and built-in touch panels, drivers often install various capacitive external touch devices such as in-vehicle aromatherapy diffusers, AI companion robots, external extended capacitive buttons, and adhesive flexible touch stickers. These peripherals enable extended functions such as aromatherapy, robot wake-up, and customized shortcut controls. The touch actions of these peripherals constitute continuous interactive behaviors in a discrete time sequence. As the types of aftermarket in-vehicle peripherals continue to increase, the touch sensing areas of various peripherals are scattered, and their operating logic is inconsistent. When drivers want to trigger the function of a target peripheral while driving, they often need to repeatedly try and find the touch sensing area. Especially in high cognitive load scenarios such as high-speed driving and bumpy and complex road conditions, problems such as accidental touches and delayed function responses are very likely to occur. To reduce driving distraction and improve the smoothness of peripheral interaction, most existing related technologies are only developed for the original vehicle's built-in touch devices. By collecting events after touch triggering, recording the operation sequence, and using machine learning models to predict intent, the original vehicle cockpit functions can be pre-loaded with prompts.
[0003] Most existing in-vehicle touch intent prediction solutions are designed only for the original vehicle's built-in touch panel and only analyze events after the external device completes the actual touch trigger. The prediction time is seriously lagging and cannot be adapted to various aftermarket capacitive touch peripherals. Most existing technologies ignore the interference of vehicle bumps and vibrations on the sensing signals of external small capacitive peripherals. The weak pre-touch signals of the driver's light touch and hovering are easily drowned out by noise, resulting in insufficient accuracy of effective feature extraction. At the same time, traditional recognition models do not build a dedicated feature mapping mechanism for the driver's non-trigger trial and pre-touch actions before touching the peripheral. They have weak adaptability to the different touch habits of different drivers. The clustering and recognition logic rules used are simple and crude, which easily judge random shaking and unintentional touches as valid operation intentions, leading to problems such as false activation of peripherals and sluggish function response. Ultimately, this results in low accuracy of peripheral intent recognition and significant response delay under complex driving conditions such as bumps and high speeds, and cannot meet the unified, safe and smooth in-vehicle intelligent interaction requirements of the original vehicle's built-in touch and various aftermarket capacitive peripherals. Summary of the Invention
[0004] In view of this, the present invention proposes an in-vehicle cockpit intent prediction method based on button operation timing, which can accurately identify the user's operation intent from the micro-operations of the buttons on the peripheral device in advance, realize function pre-response, and improve driving safety and interaction efficiency.
[0005] The technical solution of this invention is implemented as follows:
[0006] A method for predicting in-vehicle cockpit intent based on key operation timing includes the following steps:
[0007] Step S1: Collect multi-channel raw sensor data of the vehicle peripheral capacitive button array and real-time vehicle operating data. After preprocessing the multi-channel raw sensor data and real-time vehicle operating data, output continuous micro-operation timing signals.
[0008] Step S2: Decouple the spatiotemporal features of the continuous micro-operation timing signal and obtain the spatiotemporal joint feature vector. Cluster the spatiotemporal joint feature vector and obtain several candidate micro-operation clusters.
[0009] Step S3: Calculate the pre-simulation validity score of each candidate micro-operation cluster, and output the spatiotemporal joint feature vector of the candidate micro-operation clusters whose pre-simulation validity scores are higher than the preset validity threshold as the pre-simulation temporal cluster feature set;
[0010] Step S4: Perform latent space feature matching and inference on the pre-trained individual pre-prediction fingerprint mapping model to obtain the intention prediction result of the corresponding target button and the corresponding prediction confidence.
[0011] Step S5: When the prediction confidence level is greater than the preset trigger threshold, start the preloading operation of the corresponding vehicle peripheral function and perform online incremental update of the individual pre-recorded fingerprint mapping model.
[0012] Preferably, step S1 includes the following steps:
[0013] Step S11: Collect the capacitance value change data of each channel of the vehicle peripheral capacitor key array at a fixed sampling frequency as multi-channel raw sensing data, and simultaneously collect the vehicle speed and body vibration intensity output by the vehicle CAN bus as real-time vehicle operating condition data.
[0014] Step S12: Fit the mapping relationship between vibration interference and capacitance baseline drift based on real-time vehicle operating data, generate dynamic baseline thresholds, and perform point-by-point baseline correction on the capacitance values of each channel.
[0015] Step S13: Use a sliding window mid-range filtering algorithm to remove power frequency interference and random spike noise, extract all capacitance change events that have not reached the formal button trigger threshold, and output a continuous micro-operation timing signal containing event timestamp, spatial location, and capacitance amplitude.
[0016] Preferably, the specific steps of step S12 are as follows:
[0017] Using vehicle vibration intensity and vehicle speed as independent variables and static baseline drift of each channel of the onboard peripheral capacitive key array as dependent variable, a nonlinear mapping relationship between operating conditions and baseline drift is established.
[0018] Based on the collected real-time vehicle operating data, the instantaneous baseline drift of each channel of the vehicle peripheral capacitive key array is solved by calling the nonlinear mapping relationship, and the independent dynamic baseline threshold of each channel is adaptively generated.
[0019] The raw capacitance value change data of each channel are collected point by point, and offset compensation correction is performed using the real-time dynamic baseline threshold of the corresponding channel.
[0020] Preferably, step S2 includes the following specific steps:
[0021] Step S21: Use a multi-channel temporal convolutional network to extract the temporal dimension features and spatial location features of the continuous micro-operation time-series signals, and concatenate them along the feature dimensions to obtain the spatiotemporal joint feature vector corresponding to each micro-operation event;
[0022] Step S22: Using a preset sliding time window as a unit, perform unsupervised clustering of the spatiotemporal joint feature vectors within the sliding time window using the density peak clustering algorithm to obtain several candidate micro-operation clusters.
[0023] Preferably, the specific steps of step S22 are as follows:
[0024] Set a fixed-duration sliding time window and step size, and perform temporal slicing on the spatiotemporal joint feature vector to divide it into several independent window feature subsets;
[0025] Enumerate all spatiotemporal joint feature vectors within each window feature subset, and calculate the local density value and relative distance value of each spatiotemporal joint feature vector respectively;
[0026] Based on local density values and relative distance values, spatiotemporal joint feature vectors that simultaneously satisfy local density thresholds and relative distance thresholds are selected as cluster centers. The remaining spatiotemporal joint feature vectors are assigned to the corresponding cluster centers according to the principle of proximity, thus completing feature clustering within a single window.
[0027] Invalid clusters with fewer than the preset minimum cluster capacity threshold within a single window are removed, while valid clusters that meet the timing clustering characteristics of micro-operation pre-show are retained as candidate micro-operation clusters for the current time window.
[0028] Preferably, the formula for calculating the pre-rehearsal effectiveness score in step S3 is:
[0029]
[0030] in To score the pre-simulation effectiveness of candidate microoperation clusters, This represents the total number of micro-operation events contained within the candidate micro-operation cluster. For the first The and the first The time interval between micro-operation events This represents the average time interval of all micro-operation events within the candidate micro-operation cluster. The predetermined standard deviation threshold for time series fluctuations. Let be the average Euclidean distance from the spatial location of all micro-operation events within the candidate micro-operation cluster to the geometric center of the cluster. The predetermined spatial dispersion standard deviation threshold, , These are the time-series weighting coefficients and the spatial-series weighting coefficients, respectively, and they satisfy... .
[0031] Preferably, step S4 includes the following specific steps:
[0032] Step S41: Construct an individual pre-show fingerprint mapping model that includes an encoder network and a decoder network, and pre-train it using historical pre-show time-series samples and corresponding official key labels;
[0033] Step S42: Input the pre-simulated temporal cluster feature set into the encoder network, and obtain the pre-simulated fingerprint feature vector in the latent space through the encoder network mapping;
[0034] Step S43: The decoder network performs feature reconstruction and verification on the pre-simulated fingerprint feature vector and outputs the reconstructed micro-operation timing feature vector.
[0035] Step S44: Calculate the reconstruction error between the reconstructed micro-operation temporal feature vector and the original pre-simulated temporal cluster features, and verify the validity of the pre-simulated fingerprint feature vector by combining the reconstruction error;
[0036] Step S45: Calculate the cosine similarity between the pre-simulated fingerprint feature vector that has passed the validity check and the fingerprint vector of each standard button in the latent space. Take the function corresponding to the standard button with the highest similarity as the intent prediction result, and take the normalized cosine similarity as the prediction confidence.
[0037] Preferably, the optimization objective of the individual pre-fingerprint mapping model during the pre-training phase is to maximize the evidence lower bound loss function, which is:
[0038]
[0039] in Let the total objective loss function be... This is the parameter matrix of the decoder network. Here is the parameter matrix of the encoder network. The input is the pre-simulated temporal cluster feature vector. The pre-generated fingerprint feature vector is output from the latent space. This represents the approximate posterior probability distribution corresponding to the encoder network. This represents the generation probability distribution corresponding to the decoder network. The latent space is a standard normal prior distribution. For the Kulbeck-Leibniz divergence calculation, This represents the global mean expectation under the approximate posterior probability distribution of the encoder.
[0040] Preferably, step S5 includes the following specific steps:
[0041] Step S51: Compare the prediction confidence with the preset trigger threshold. If the prediction confidence is greater than or equal to the preset trigger threshold, send a preload command for the vehicle peripherals to the controller in the cockpit.
[0042] Step S52: Monitor the actual key trigger events of the vehicle peripheral capacitive key array in real time. When an actual key trigger that matches the intention prediction result is detected, the timing cluster features of this simulation and the actual key result are combined to form a positive sample pair; when an actual key trigger that does not match the intention prediction result is detected, a negative sample pair is formed.
[0043] Step S53: Using a streaming learning algorithm with a dynamic forgetting factor, the parameters of the individual pre-fingered fingerprint mapping model are updated online incrementally based on the generated positive or negative sample pairs.
[0044] Preferably, the calculation formula for the incremental update is:
[0045]
[0046] in To accumulate the number of updates, For the first The updated model parameter matrix For the first The updated model parameter matrix For the first The current pre-model time series cluster feature vector input during online model update. For the first The true intent label value corresponding to the online update of the model. Based on the current sample pair The gradient of the calculated loss function, For the first The expression for the dynamic forgetting factor corresponding to the next update is:
[0047]
[0048] in, This represents the midpoint of the forgetting factor decay. This is the smoothing adjustment coefficient.
[0049] Compared with the prior art, the beneficial effects of the present invention are:
[0050] This invention extracts the continuous micro-operation timing signals of capacitive buttons on in-vehicle peripherals before their actual triggering. Combined with real-time vehicle operating conditions, it performs dynamic baseline correction and noise suppression, effectively eliminating interference signals such as driving vibrations and random touches. Furthermore, through spatiotemporal feature decoupling, clustering filtering, and latent space fingerprint mapping, it achieves accurate pre-prediction of the driver's operational intentions for various in-vehicle capacitive peripherals. Relying on decoder reconstruction verification and streaming online learning with a dynamic forgetting factor, it continuously adapts to different drivers' operating habits, significantly improving the accuracy of intention recognition and anti-interference capabilities. This enables pre-loading and zero-latency response of in-vehicle peripheral functions, effectively reducing the driver's operational load and the risk of accidental touches while driving. It greatly enhances the smoothness, safety, and intelligence level of smart cockpit interaction. It is universally compatible with various capacitive peripherals such as in-vehicle aromatherapy devices, AI companion robots, flexible touchpads, and external expansion buttons, eliminating the need to develop separate perception and recognition modules for each peripheral, significantly reducing the cost of aftermarket intelligent transformation of peripherals. Attached Figure Description
[0051] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only preferred embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0052] Figure 1 This is a flowchart of a vehicle cockpit intent prediction method based on key operation timing according to the present invention.
[0053] Figure 2 This is a flowchart of step S1 of a vehicle cockpit intent prediction method based on button operation timing according to the present invention.
[0054] Figure 3 This is a flowchart of step S2 of a vehicle cockpit intent prediction method based on button operation timing according to the present invention;
[0055] Figure 4 This is a flowchart of step S4 of a vehicle cockpit intent prediction method based on button operation timing according to the present invention.
[0056] Figure 5This is a flowchart of step S5 of a vehicle cockpit intent prediction method based on button operation timing according to the present invention. Detailed Implementation
[0057] To better understand the technical content of this invention, a specific embodiment is provided below, and the invention will be further described in conjunction with the accompanying drawings.
[0058] See Figures 1 to 5 The present invention provides a method for predicting the intent of an in-vehicle cockpit based on the timing of button operations, comprising the following steps:
[0059] Step S1: Collect multi-channel raw sensor data of the vehicle peripheral capacitive button array and real-time vehicle operating data. After preprocessing the multi-channel raw sensor data and real-time vehicle operating data, output continuous micro-operation timing signals.
[0060] Step S2: Decouple the spatiotemporal features of the continuous micro-operation timing signal and obtain the spatiotemporal joint feature vector. Cluster the spatiotemporal joint feature vector and obtain several candidate micro-operation clusters.
[0061] Step S3: Calculate the pre-simulation validity score of each candidate micro-operation cluster, and output the spatiotemporal joint feature vector of the candidate micro-operation clusters whose pre-simulation validity scores are higher than the preset validity threshold as the pre-simulation temporal cluster feature set;
[0062] Step S4: Perform latent space feature matching and inference on the pre-trained individual pre-prediction fingerprint mapping model to obtain the intention prediction result of the corresponding target button and the corresponding prediction confidence.
[0063] Step S5: When the prediction confidence level is greater than the preset trigger threshold, start the preloading operation of the corresponding vehicle peripheral function and perform online incremental update of the individual pre-recorded fingerprint mapping model.
[0064] This invention presents a vehicle cockpit intent prediction method based on key operation timing. It abandons the traditional approach of analyzing only key events triggered after they are actually pressed. During the driver's operation, it collects multi-channel raw sensor data from the vehicle's external capacitive key array in real time. After preprocessing this data with real-time vehicle operating data, it effectively eliminates invalid signals such as vibrations and environmental electromagnetic interference during vehicle operation, thus retaining reliable micro-operation timing information. This avoids noise signals interfering with subsequent feature analysis and intent judgment. After obtaining continuous micro-operation timing signals, it extracts features from these signals to obtain spatiotemporal joint feature vectors. These vectors simultaneously characterize the temporal sequence pattern and spatial distribution of micro-operation events, fully reflecting the dynamic trajectory characteristics of key pre-operation behavior. The spatiotemporal joint feature vectors are then clustered to form several candidate micro-operation clusters. Through pre-operation effectiveness scoring, these clusters are filtered to identify intent-oriented pre-operation timing clusters from scattered and disordered micro-operation signals, eliminating random touches and invalid actions.
[0065] Then, the pre-simulated temporal cluster feature set is input into the trained individual pre-simulated fingerprint mapping model for latent space feature matching. It can quickly infer the target button intention and prediction confidence by utilizing the learned driver's operating habits, realizing the pre-recognition of the operating intention of the vehicle peripheral. Compared with the traditional method of judging after button triggering, it can predict the timing much earlier, gaining a time window for preloading cockpit functions. Finally, the preloading of vehicle peripherals is realized based on the prediction confidence, realizing the function pre-response, improving driving safety and interaction efficiency. At the same time, the individual pre-simulated fingerprint mapping model can be updated online incrementally based on the actual button trigger results. On the one hand, it can realize zero-delay function response and improve the smoothness of interaction. On the other hand, it can continuously use real operation data to iteratively optimize the model, so that the system can continuously adapt to the current driver's operating habits and maintain a high prediction accuracy and reliability in the long term.
[0066] The in-vehicle peripherals applicable to this invention include adhesive flexible touch stickers, USB / Bluetooth connected extended capacitive buttons, in-vehicle aromatherapy devices with touch sensing, and AI companion robots with integrated capacitive sensing areas. All peripherals communicate with the vehicle domain controller via CAN bus, Bluetooth, or USB to uniformly upload multi-channel capacitive sensing data.
[0067] Preferably, step S1 includes the following steps:
[0068] Step S11: Collect the capacitance value change data of each channel of the vehicle peripheral capacitor key array at a fixed sampling frequency as multi-channel raw sensing data, and simultaneously collect the vehicle speed and body vibration intensity output by the vehicle CAN bus as real-time vehicle operating condition data.
[0069] Step S12: Based on real-time vehicle operating data, fit the mapping relationship between vibration disturbance and capacitance baseline drift, generate a dynamic baseline threshold, and perform point-by-point baseline correction on the capacitance value of each channel. The specific steps are as follows:
[0070] Using vehicle vibration intensity and vehicle speed as independent variables and static baseline drift of each channel of the onboard peripheral capacitive key array as dependent variable, a nonlinear mapping relationship between operating conditions and baseline drift is established.
[0071] Based on the collected real-time vehicle operating data, the instantaneous baseline drift of each channel of the vehicle peripheral capacitive key array is solved by calling the nonlinear mapping relationship, and the independent dynamic baseline threshold of each channel is adaptively generated.
[0072] The original capacitance value change data of each channel are collected point by point, and offset compensation correction is performed using the real-time dynamic baseline threshold of the corresponding channel.
[0073] Step S13: Use a sliding window mid-range filtering algorithm to remove power frequency interference and random spike noise, extract all capacitance change events that have not reached the formal button trigger threshold, and output a continuous micro-operation timing signal containing event timestamp, spatial location, and capacitance amplitude.
[0074] During vehicle operation, multi-channel raw sensor data is collected at a fixed sampling frequency. However, vibrations during vehicle operation can cause baseline drift, necessitating correction of the multi-channel raw sensor data. After collecting real-time vehicle operating data at the same sampling frequency, a nonlinear mapping relationship between vibration interference and capacitance baseline drift is fitted. The vehicle vibration intensity and vehicle speed corresponding to the real-time operating data are used as independent variables, while the static baseline drift of each channel of the capacitance key array is used as the dependent variable. By applying the nonlinear mapping relationship to the collected real-time vehicle operating data, the instantaneous baseline drift of each channel of the capacitance key array can be calculated, and an independent dynamic baseline threshold is adaptively generated for each channel, distinct from fixed static baseline parameters. Then, the original capacitance values of each channel are traversed point by point, and offset compensation correction is performed using the real-time dynamic baseline threshold to offset the baseline drift error caused by vehicle vibration and speed fluctuations. The baseline-corrected raw capacitance sensor data is then output. Finally, after removing noise interference, capacitance change events that have not yet been formally triggered are extracted, and continuous micro-operation timing signals are output to avoid noise signals interfering with candidate feature analysis and intent judgment.
[0075] Preferably, step S2 includes the following specific steps:
[0076] Step S21: Use a multi-channel temporal convolutional network to extract the temporal dimension features and spatial location features of the continuous micro-operation time-series signals, and concatenate them along the feature dimensions to obtain the spatiotemporal joint feature vector corresponding to each micro-operation event;
[0077] Step S22: Using a preset sliding time window as a unit, perform unsupervised clustering of the spatiotemporal joint feature vectors within the sliding time window using the density peak clustering algorithm to obtain several candidate micro-operation clusters. The specific steps are as follows:
[0078] Set a fixed-duration sliding time window and step size, and perform temporal slicing on the spatiotemporal joint feature vector to divide it into several independent window feature subsets;
[0079] Enumerate all spatiotemporal joint feature vectors within each window feature subset, and calculate the local density value and relative distance value of each spatiotemporal joint feature vector respectively;
[0080] Based on local density values and relative distance values, spatiotemporal joint feature vectors that simultaneously satisfy local density thresholds and relative distance thresholds are selected as cluster centers. The remaining spatiotemporal joint feature vectors are assigned to the corresponding cluster centers according to the principle of proximity, thus completing feature clustering within a single window.
[0081] Invalid clusters with fewer than the preset minimum cluster capacity threshold within a single window are removed, while valid clusters that meet the timing clustering characteristics of micro-operation pre-show are retained as candidate micro-operation clusters for the current time window.
[0082] After aligning the continuous micro-operation timing signals along the channel dimension, a multi-channel timing feature matrix is constructed with timestamps as the order and key positions as the channels. A multi-channel temporal convolutional network is used to perform convolution and pooling operations on the timing feature matrix along the time dimension to extract the temporal dimension features such as the trend of change, interval pattern, and duration of micro-operations. The multi-channel temporal convolutional network mainly consists of parallel multi-branch one-dimensional convolutional modules, dilated convolutional layers, max pooling layers, and feature concatenation layers. Each channel independently processes one key timing signal, extracts timing-dependent features by stacking convolutional kernels, and then outputs unified temporal features through a fusion layer. At the same time, the multi-channel temporal convolutional network obtains spatial position features representing the spatial distribution and relative positional relationship of keys through fully connected layers based on the key array coordinate information corresponding to each micro-operation event. The temporal dimension features and spatial position features are concatenated along the feature dimension to form a unified spatiotemporal joint feature vector.
[0083] After setting a fixed-duration sliding time window and step size, the spatiotemporal joint feature vector can be temporally sliced to obtain several window feature subsets. Each window feature subset corresponds to a short-term micro-operation temporal interval. For each window feature subset, the spatiotemporal joint feature vector is enumerated one by one, and the local density value and relative distance value are calculated. The local density represents the degree of aggregation of a single micro-operation feature in the local feature space, and the relative distance represents the minimum spatial distance between the current spatiotemporal joint feature vector and the spatiotemporal joint feature vector with higher local density. Finally, the cluster center is determined by using local density and relative distance as dual indicators. After the remaining spatiotemporal joint feature vectors are assigned according to the principle of proximity, the feature clustering within a single window is completed. Finally, the cluster capacity is filtered for the single window to obtain the final candidate micro-operation clusters. The candidate micro-operation clusters represent a set of non-trigger micro-operation events that are spatially aggregated and temporally continuous within the same short-term intention pre-playback stage, reflecting the driver's finger probing, sliding, or hovering behavior with a clear intention before pressing the button.
[0084] Preferably, the formula for calculating the pre-rehearsal effectiveness score in step S3 is:
[0085]
[0086] in To score the pre-simulation effectiveness of candidate microoperation clusters, This represents the total number of micro-operation events contained within the candidate micro-operation cluster. For the first The and the first The time interval between micro-operation events This represents the average time interval of all micro-operation events within the candidate micro-operation cluster. The predetermined standard deviation threshold for time series fluctuations. Let be the average Euclidean distance from the spatial location of all micro-operation events within the candidate micro-operation cluster to the geometric center of the cluster. The predetermined spatial dispersion standard deviation threshold, , These are the time-series weighting coefficients and the spatial-series weighting coefficients, respectively, and they satisfy... .
[0087] The pre-simulation validity score represents the credibility of the intention pre-simulation of the current candidate micro-operation cluster. It is a comprehensive score obtained by combining temporal regularity and spatial clustering, where the first item... This indicates the temporal continuity, uniformity, and regularity of a candidate micro-operation cluster. It measures whether this group of micro-operations is stable and coherent in temporal rhythm, conforming to the natural temporal characteristics of human finger rehearsal. The exponential term... This indicates how closely a single time interval resembles the average rhythm; the more stable the interval and the smaller the fluctuations, the larger this term becomes. (The second term...) The concentration of candidate micro-operation clusters in spatial location is used to determine whether the finger moves within a small range near the target button, rather than sliding or randomly touching. The pre-play validity score can determine whether this group of micro-operations belongs to the driver's real button pre-play behavior, rather than random touch, vibration interference, or unconscious sliding. The higher the score, the more likely the cluster is to be a pre-play action with real intent. Finally, candidate micro-operation clusters with pre-play validity scores higher than the preset validity threshold are taken as valid intent pre-play temporal clusters. The spatiotemporal joint feature vectors of all valid intent pre-play temporal clusters are summarized to obtain the pre-play temporal cluster feature set.
[0088] Preferably, step S4 includes the following specific steps:
[0089] Step S41: Construct an individual pre-show fingerprint mapping model that includes an encoder network and a decoder network, and pre-train it using historical pre-show time-series samples and corresponding official key labels;
[0090] Step S42: Input the pre-simulated temporal cluster feature set into the encoder network, and obtain the pre-simulated fingerprint feature vector in the latent space through the encoder network mapping;
[0091] Step S43: The decoder network performs feature reconstruction and verification on the pre-simulated fingerprint feature vector and outputs the reconstructed micro-operation timing feature vector.
[0092] Step S44: Calculate the reconstruction error between the reconstructed micro-operation temporal feature vector and the original pre-simulated temporal cluster features, and verify the validity of the pre-simulated fingerprint feature vector by combining the reconstruction error;
[0093] Step S45: Calculate the cosine similarity between the pre-simulated fingerprint feature vector that has passed the validity check and the fingerprint vector of each standard button in the latent space. Take the function corresponding to the standard button with the highest similarity as the intent prediction result, and take the normalized cosine similarity as the prediction confidence.
[0094] The individual pre-simulated fingerprint mapping model is built based on variational autoencoder and trained using historical data. The pre-simulated temporal cluster feature set is then input into the encoder network to map the pre-simulated fingerprint feature vector. The decoder network performs feature reconstruction verification on the pre-simulated fingerprint feature vector, calculates the reconstruction error between the reconstructed features and the original pre-simulated temporal cluster features, and uses the reconstruction error to verify validity, filtering out abnormal fingerprint features. Finally, the cosine similarity between the pre-simulated fingerprint feature vector and the standard key fingerprint vector is calculated to determine the intent prediction result and prediction confidence.
[0095] Preferably, the optimization objective of the individual pre-fingerprint mapping model during the pre-training phase is to maximize the evidence lower bound loss function, which is:
[0096]
[0097] in Let the total objective loss function be... This is the parameter matrix of the decoder network. Here is the parameter matrix of the encoder network. The input is the pre-simulated temporal cluster feature vector. The pre-generated fingerprint feature vector is output from the latent space. This represents the approximate posterior probability distribution corresponding to the encoder network. This represents the generation probability distribution corresponding to the decoder network. The latent space is a standard normal prior distribution. For the Kulbeck-Leibniz divergence calculation, This represents the expected global mean under the approximate posterior probability distribution of the encoder, used to reflect the overall average reconstruction effect across all samples.
[0098] The overall objective loss function is used to simultaneously constrain the encoder and decoder, enabling the model to accurately learn the temporal features of micro-operations while generating stable and generalized latent space pre-figuration fingerprints. During training, maximizing ELBO ensures that the model's output pre-figuration fingerprints closely match real user operations without overfitting. The first term in the overall objective loss function... To reconstruct the expected term, the accuracy of its feature reconstruction is a measure of the decoder's ability to pre-reconstruct the fingerprint using the latent space. Restore the original input micro-operation features The larger this value is, the more accurately the decoder can reconstruct the micro-operation features, and the more accurately the simulated fingerprint can represent the true operation intent.
[0099] And the second item The KL divergence regularization term represents the regularity of the latent space distribution and is used to constrain the latent feature distribution of the encoder output to approximate a standard normal distribution. To avoid the collapse, overfitting or abnormal distribution of the latent space, the smaller the KL divergence, the more regular the latent space distribution, the stronger the model's generalization ability, and the more stable the comparison and matching of the pre-simulated fingerprints of different drivers.
[0100] Preferably, step S5 includes the following specific steps:
[0101] Step S51: Compare the prediction confidence with the preset trigger threshold. If the prediction confidence is greater than or equal to the preset trigger threshold, send a preload command for the vehicle peripherals to the controller in the cockpit.
[0102] Step S52: Monitor the actual key trigger events of the vehicle peripheral capacitive key array in real time. When an actual key trigger that matches the intention prediction result is detected, the timing cluster features of this simulation and the actual key result are combined to form a positive sample pair; when an actual key trigger that does not match the intention prediction result is detected, a negative sample pair is formed.
[0103] Step S53: Using a streaming learning algorithm with a dynamic forgetting factor, the parameters of the individual pre-fingered fingerprint mapping model are updated online incrementally based on the generated positive or negative sample pairs.
[0104] When the prediction confidence level is greater than the preset trigger threshold, the corresponding intention prediction result can be taken as the driver's actual intention, and a preloading instruction for the vehicle peripherals is sent to the controller in the cockpit to start the resource loading and initialization operation of the corresponding function in advance. Then, the driver's actual key trigger events on the capacitive key array of the vehicle peripherals are collected. If they match the intention prediction result, a positive sample pair is formed; otherwise, a negative sample pair is formed. The streaming learning algorithm can perform online incremental updates to the individual pre-prediction fingerprint mapping model based on the sample pairs. The positive sample pairs strengthen the matching weight of the correct pre-prediction fingerprint, and the negative sample pairs suppress the matching response of invalid features. This allows the model to learn the correct intention prediction rules and the bias features of incorrect predictions at the same time. It not only strengthens the matching ability of effective pre-prediction time series clusters, but also suppresses misjudgment and false judgment, which greatly improves the accuracy and robustness of intention recognition.
[0105] Preferably, the calculation formula for the incremental update is:
[0106]
[0107] in To accumulate the number of updates, For the first The updated model parameter matrix For the first The updated model parameter matrix For the first The current pre-simulation time series cluster feature vector input during the online update of the sub-model is a single sample feature after standardization of the pre-simulation time series cluster feature set, and is a spatiotemporal feature representation of the micro-operation pre-simulation behavior. For the first The true intent label value corresponding to the online update of the model is the true value label of the formal button trigger matched subsequently by this micro-operation. It is a discrete calibration value, where the matching prediction result is a positive label and the non-matching result is a negative label. Based on the current sample pair The calculated gradient of the loss function represents the direction and magnitude of the model correction needed. For the first The dynamic forgetting factor corresponding to each update is used to retain a portion of the original model parameters, reflecting the inheritance of historical operating habits. This allows for rapid adaptation to users in the early stages, slow fine-tuning in the later stages, and avoidance of drastic fluctuations. Its expression is:
[0108]
[0109] in, This represents the midpoint of the forgetting factor decay. This is the smoothing adjustment coefficient.
[0110] By using the incremental update calculation formula, the model parameters can be slightly modified one step at a time using the latest driver operation samples without retraining the entire model. This allows the prediction intent to gradually align with the user's actual operating habits, achieving long-term adaptive learning.
[0111] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for predicting the intent of an in-vehicle cockpit based on button operation timing, characterized in that, Includes the following steps: Step S1: Collect multi-channel raw sensor data of the vehicle peripheral capacitive button array and real-time vehicle operating data. After preprocessing the multi-channel raw sensor data and real-time vehicle operating data, output continuous micro-operation timing signals. Step S2: Decouple the spatiotemporal features of the continuous micro-operation timing signal and obtain the spatiotemporal joint feature vector. Cluster the spatiotemporal joint feature vector and obtain several candidate micro-operation clusters. Step S3: Calculate the pre-simulation validity score of each candidate micro-operation cluster, and output the spatiotemporal joint feature vector of the candidate micro-operation clusters whose pre-simulation validity scores are higher than the preset validity threshold as the pre-simulation temporal cluster feature set; Step S4: Perform latent space feature matching and inference on the pre-trained individual pre-prediction fingerprint mapping model to obtain the intention prediction result of the corresponding target button and the corresponding prediction confidence. Step S5: When the prediction confidence level is greater than the preset trigger threshold, start the preloading operation of the corresponding vehicle peripheral function and perform online incremental update of the individual pre-recorded fingerprint mapping model.
2. The method for predicting in-vehicle cockpit intent based on key operation timing as described in claim 1, characterized in that, The specific steps of step S1 include: Step S11: Collect the capacitance value change data of each channel of the vehicle peripheral capacitor key array at a fixed sampling frequency as multi-channel raw sensing data, and simultaneously collect the vehicle speed and body vibration intensity output by the vehicle CAN bus as real-time vehicle operating condition data. Step S12: Fit the mapping relationship between vibration interference and capacitance baseline drift based on real-time vehicle operating data, generate dynamic baseline thresholds, and perform point-by-point baseline correction on the capacitance values of each channel. Step S13: Use a sliding window mid-range filtering algorithm to remove power frequency interference and random spike noise, extract all capacitance change events that have not reached the formal button trigger threshold, and output a continuous micro-operation timing signal containing event timestamp, spatial location, and capacitance amplitude.
3. The method for predicting in-vehicle cockpit intent based on key operation timing as described in claim 2, characterized in that, The specific steps of step S12 are as follows: Using vehicle vibration intensity and vehicle speed as independent variables and static baseline drift of each channel of the onboard peripheral capacitive key array as dependent variable, a nonlinear mapping relationship between operating conditions and baseline drift is established. Based on the collected real-time vehicle operating data, the instantaneous baseline drift of each channel of the vehicle peripheral capacitive key array is solved by calling the nonlinear mapping relationship, and the independent dynamic baseline threshold of each channel is adaptively generated. The raw capacitance value change data of each channel are collected point by point, and offset compensation correction is performed using the real-time dynamic baseline threshold of the corresponding channel.
4. The method for predicting in-vehicle cockpit intent based on key operation timing as described in claim 1, characterized in that, The specific steps of step S2 include: Step S21: Use a multi-channel temporal convolutional network to extract the temporal dimension features and spatial location features of the continuous micro-operation time-series signals, and concatenate them along the feature dimensions to obtain the spatiotemporal joint feature vector corresponding to each micro-operation event; Step S22: Using a preset sliding time window as a unit, perform unsupervised clustering of the spatiotemporal joint feature vectors within the sliding time window using the density peak clustering algorithm to obtain several candidate micro-operation clusters.
5. The method for predicting in-vehicle cockpit intent based on key operation timing according to claim 4, characterized in that, The specific steps of step S22 are as follows: Set a fixed-duration sliding time window and step size, and perform temporal slicing on the spatiotemporal joint feature vector to divide it into several independent window feature subsets; Enumerate all spatiotemporal joint feature vectors within each window feature subset, and calculate the local density value and relative distance value of each spatiotemporal joint feature vector respectively; Based on local density values and relative distance values, spatiotemporal joint feature vectors that simultaneously satisfy local density thresholds and relative distance thresholds are selected as cluster centers. The remaining spatiotemporal joint feature vectors are assigned to the corresponding cluster centers according to the principle of proximity, thus completing feature clustering within a single window. Invalid clusters with fewer than the preset minimum cluster capacity threshold within a single window are removed, while valid clusters that meet the timing clustering characteristics of micro-operation pre-show are retained as candidate micro-operation clusters for the current time window.
6. The method for predicting in-vehicle cockpit intent based on key operation timing according to claim 1, characterized in that, The formula for calculating the effectiveness score of the pre-rehearsal in step S3 is as follows: in To score the pre-simulation effectiveness of candidate microoperation clusters, This represents the total number of micro-operation events contained within the candidate micro-operation cluster. For the first The and the first The time interval between micro-operation events This represents the average time interval of all micro-operation events within the candidate micro-operation cluster. The predetermined standard deviation threshold for time series fluctuations. Let be the average Euclidean distance from the spatial location of all micro-operation events within the candidate micro-operation cluster to the geometric center of the cluster. The predetermined spatial dispersion standard deviation threshold, , These are the time-series weighting coefficients and the spatial-series weighting coefficients, respectively, and they satisfy... .
7. The method for predicting in-vehicle cockpit intent based on key operation timing as described in claim 1, characterized in that, The specific steps of step S4 include: Step S41: Construct an individual pre-show fingerprint mapping model that includes an encoder network and a decoder network, and pre-train it using historical pre-show time-series samples and corresponding official key labels; Step S42: Input the pre-simulated temporal cluster feature set into the encoder network, and obtain the pre-simulated fingerprint feature vector in the latent space through the encoder network mapping; Step S43: The decoder network performs feature reconstruction and verification on the pre-simulated fingerprint feature vector and outputs the reconstructed micro-operation timing feature vector. Step S44: Calculate the reconstruction error between the reconstructed micro-operation temporal feature vector and the original pre-simulated temporal cluster features, and verify the validity of the pre-simulated fingerprint feature vector by combining the reconstruction error; Step S45: Calculate the cosine similarity between the pre-simulated fingerprint feature vector that has passed the validity check and the fingerprint vector of each standard button in the latent space. Take the function corresponding to the standard button with the highest similarity as the intent prediction result, and take the normalized cosine similarity as the prediction confidence.
8. The method for predicting in-vehicle cockpit intent based on key operation timing according to claim 7, characterized in that, The optimization objective of the individual pre-fingerprint mapping model during the pre-training phase is to maximize the evidence lower bound loss function, which is: in Let the total objective loss function be... This is the parameter matrix of the decoder network. Here is the parameter matrix of the encoder network. The input is the pre-simulated temporal cluster feature vector. The pre-generated fingerprint feature vector is output from the latent space. This represents the approximate posterior probability distribution corresponding to the encoder network. This represents the generation probability distribution corresponding to the decoder network. The latent space is a standard normal prior distribution. For the Kulbeck-Leibniz divergence calculation, This represents the global mean expectation under the approximate posterior probability distribution of the encoder.
9. The method for predicting in-vehicle cockpit intent based on key operation timing according to claim 1, characterized in that, The specific steps of step S5 include: Step S51: Compare the prediction confidence with the preset trigger threshold. If the prediction confidence is greater than or equal to the preset trigger threshold, send a preload command for the vehicle peripherals to the controller in the cockpit. Step S52: Monitor the actual key trigger events of the vehicle peripheral capacitive key array in real time. When an actual key trigger that matches the intention prediction result is detected, the timing cluster features of this simulation and the actual key result are combined to form a positive sample pair; when an actual key trigger that does not match the intention prediction result is detected, a negative sample pair is formed. Step S53: Using a streaming learning algorithm with a dynamic forgetting factor, the parameters of the individual pre-fingered fingerprint mapping model are updated online incrementally based on the generated positive or negative sample pairs.
10. A method for predicting in-vehicle cockpit intent based on key operation timing according to claim 9, characterized in that, The formula for calculating the incremental update is: in To accumulate the number of updates, For the first The updated model parameter matrix For the first The updated model parameter matrix For the first The current pre-model time series cluster feature vector input during online model update. For the first The true intent label value corresponding to the online update of the model. Based on the current sample pair The gradient of the calculated loss function, For the first The expression for the dynamic forgetting factor corresponding to the next update is: in, This represents the midpoint of the forgetting factor decay. This is the smoothing adjustment coefficient.
