Machine learning based iot big data analytics method
By using a dual-path fast and slow network structure and data property determination, the problem of distinguishing between gradual distribution offset and sudden abnormal offset in IoT big data flow scenarios is solved. This enables adaptive model updates and isolation of abnormal data, reducing false alarm rate and false negative rate, and providing industrial-grade real-time deployment capability.
Patent Information
- Application Number
- CN202611271507.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-27
AI Technical Summary
Existing single-path network structures cannot accurately distinguish between gradual distribution shifts and sudden abnormal shifts in unlabeled IoT big data stream scenarios, resulting in model contamination or high false alarm rates. It is difficult to distinguish between concept drift and zero-day anomalies in real time and accurately without manual annotation.
A dual-path fast and slow network structure is adopted. The original data is processed by sliding window segmentation and normalization, and then input into the fast and slow networks for encoding. Cosine similarity and information entropy gradient are calculated. The data properties are determined by combining the entropy gradient index, and a differentiated model update strategy is executed based on the determination results to lock or isolate abnormal data.
It enables real-time and accurate differentiation between concept drift and zero-day anomalies without the need for manual labeling, reducing false alarm and false negative rates, and is feasible for industrial-grade real-time deployment while reducing communication bandwidth overhead.
Smart Images

Figure CN123179202A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of IoT big data analytics technology, specifically to an IoT big data analytics method based on machine learning. Background Technology
[0002] In application scenarios such as Industrial Internet of Things, smart cities, and intelligent manufacturing, massive sensor nodes continuously generate high-frequency, high-dimensional, and unlabeled time-series big data streams. In order to perform real-time analysis and anomaly detection on this type of data, the industry generally adopts unsupervised or semi-supervised machine learning methods such as statistical models, autoencoder models based on reconstruction errors, and adaptive update models based on online learning. Without manual labeling, these methods continuously consume data streams and dynamically adjust their own parameters to adapt to the evolution of data distribution.
[0003] The data stream of the Internet of Things has significant non-stationarity: on the one hand, there is a concept drift phenomenon in which the normal statistical distribution of data gradually and reasonably changes due to seasonal changes, equipment wear and tear, and adjustments in operating conditions;
[0004] On the other hand, there are zero-day anomalies caused by sudden failures, sensor damage, or cyberattacks that have never appeared in historical data before.
[0005] The closest existing technical solution to this invention is an anomaly detection method based on a single-path adaptive online learning model combined with a fixed or adaptive threshold. This method inputs preprocessed data into a single network structure to obtain reconstruction error or prediction residuals, and compares these residuals with a preset threshold. If the residual exceeds the threshold, it is considered an anomaly; otherwise, it is considered normal, and this batch of data is used for online model parameter updates. This solution employs a structure where a single feature extraction network module, residual calculation module, threshold comparison and determination module, and model online update module are executed sequentially according to the data flow. It lacks a fast and slow dual-path parallel structure and an explicit mechanism to distinguish between gradual distribution shifts and sudden anomaly shifts—two different types of data changes. This results in these two types of changes exhibiting similar residual values, making it difficult for the threshold determination module to accurately identify the true nature of the data changes, easily leading to model contamination or high false alarm rates. Summary of the Invention
[0006] The technical problem this invention aims to solve is that in real, complex, and unlabeled IoT big data stream scenarios, existing single-path network structures cannot distinguish between gradual distribution shifts and sudden abnormal shifts at the structural level. This makes it difficult for the threshold determination module to accurately identify the true nature of data changes. If the model's adaptive speed is set too fast, it is easy to treat the data generated by zero-day anomalies as normal drifts and absorb them into the model parameter update process, resulting in model pollution. This causes the model's sensitivity to such anomalies to continuously decrease, which in turn leads to missed reports or even model failure.
[0007] If the model's adaptive speed is set too slow to avoid the aforementioned contamination, the model will struggle to keep up with reasonable drifts such as equipment aging and seasonal changes, thus misjudging normal gradual changes as anomalies, generating more false alarms, and reducing the actual availability of the system. Therefore, the technical problem to be solved by this invention is how to distinguish between concept drift and zero-day anomalies in real time and accurately without manual annotation, and to implement appropriate model update strategies for each.
[0008] To address the aforementioned technical problems, this invention provides an IoT big data analysis method based on machine learning, comprising: performing sliding window segmentation and normalization on the raw time-series data stream collected by IoT sensors to obtain short-cycle time-series segments; and simultaneously aggregating the raw data with a time span greater than the time span corresponding to the short-cycle time-series segments to obtain long-cycle aggregated data.
[0009] The short-period time series segment is input into a fast network for encoding to obtain the short-period feature latent vector at the current time. The long-period aggregated data is input into a slow network for encoding to obtain the long-period feature latent vector at the current time. The parameters of the slow network are indirectly updated by using momentum smoothing with an exponential moving average on the parameters of the fast network.
[0010] Calculate the cosine similarity between the short-period feature latent vector and the long-period feature latent vector at the current time as a measure of homogeneity. After normalizing the short-period feature latent vector, calculate the information entropy. Then, calculate the difference between the information entropy at the current time and the information entropy at the previous time to obtain the entropy gradient index.
[0011] Based on the sameness measure and the entropy gradient index, the nature of the data change at the current moment is determined to be one of three categories: normal fluctuation, concept drift, or zero-day anomaly.
[0012] When concept drift is detected, online learning update is triggered, the fast network is controlled to perform backpropagation update based on contrast loss, and the parameters of the slow network are updated with momentum at the same time.
[0013] When a zero-day anomaly is detected, the current parameters of the fast network and the slow network are locked, parameter update operations are prohibited within the set observation window period, the corresponding original sensor data is stored in the anomaly isolation buffer and an alarm is triggered.
[0014] When the fluctuation is determined to be normal, the current model parameters remain unchanged.
[0015] Compared with the prior art, the beneficial effects of the present invention by adopting the above technical solution are as follows:
[0016] 1. This invention, without the need for manual annotation, separates and represents short-period mutation features and long-period stable features at the structural level through a fast and slow dual-path network, and constructs a joint judgment criterion by combining the same-direction measure and entropy gradient, so as to distinguish between concept drift and zero-day anomaly in real time and accurately, thus solving the problem that existing single-path models are unable to distinguish between the two.
[0017] 2. This invention triggers online learning updates for data identified as concept drift, enabling the model to adaptively follow reasonable evolutions such as equipment aging and seasonal environmental changes, thereby reducing the false alarm rate;
[0018] 3. This invention immediately locks the model parameters and isolates and alarms the data that is determined to be zero-day anomalies, thereby preventing abnormal data from polluting the model parameters, preventing model collapse, and reducing the false negative rate;
[0019] 4. The computational complexity of the fast network and decoupling metric of this invention is low, and it can be deployed at the edge and the slow network can be deployed at the cloud. Only lightweight feature latent vectors need to be transmitted between the cloud and the edge instead of the original high-frequency data, which reduces the communication bandwidth overhead and has the feasibility of industrial-grade real-time deployment. Attached Figure Description
[0020] Figure 1 This is a schematic diagram of the overall system in an embodiment of the present invention;
[0021] Figure 2 This is a schematic diagram of the core algorithm flow in an embodiment of the present invention;
[0022] Figure 3 This is a schematic diagram of the cloud-edge collaborative deployment architecture in an embodiment of the present invention. Detailed Implementation
[0023] The following is in conjunction with the appendix Figure 1-3 The specific embodiments of the present invention will be further described below. It should be noted that the description of these embodiments is for the purpose of helping to understand the present invention, but does not constitute a limitation of the present invention.
[0024] The technical solution of the present invention will be further described below with reference to specific embodiments. These embodiments are not intended to limit the scope of protection of the present invention.
[0025] I. System Overall Architecture
[0026] The IoT big data analysis method provided by this invention has a core execution entity of a dual-path fast and slow network system. Logically, this system consists of a data preprocessing module, a fast network coding module, a slow network coding module, a memory module, a drift-anomaly online decoupling measurement module, and a dynamic routing and elastic anti-pollution update module. The data preprocessing module performs sliding window segmentation and normalization processing on the raw time-series data stream continuously generated by multiple sensor nodes to obtain short-cycle time-series segments, and performs aggregation processing on data with a longer time span to obtain long-cycle aggregated data.
[0027] The fast network coding module and the slow network coding module are set up in parallel, taking short-period time series segments and long-period aggregated data as inputs respectively, and outputting short-period feature latent vectors and long-period feature latent vectors at the corresponding time points.
[0028] The memory module is used to store the latent feature vectors of historical moments, which are then used for the calculation of contrastive loss and decoupling metric.
[0029] The drift-anomaly online decoupling measurement module integrates the current time and historical latent vectors to calculate the same directionality measurement value and entropy gradient index, and outputs the three-class classification result accordingly.
[0030] The dynamic routing and elastic anti-pollution update module performs differentiated processing based on the judgment results, such as online learning and updating, maintaining the status quo, or parameter locking and isolation alarm.
[0031] II. Specific Implementation Methods of Data Preprocessing and Dual-Path Network Coding
[0032] In the data preprocessing stage, the raw time-series data stream collected by IoT sensors is divided into sliding window segments according to a preset window length to obtain short-period time-series segments with a length of several sampling points. These segments are then normalized and used as input to the fast network.
[0033] Meanwhile, the original data over a longer time span is aggregated (e.g., the moving average is calculated according to a preset step size) to obtain long-period aggregated data, which is then used as input to the slow network.
[0034] Fast networks employ a temporal coding structure, taking short-period time segments as input to capture the short-period abrupt dynamic features of the data. Their network parameters are denoted as... The update frequency is relatively high, typically triggering a parameter update once every short-period time segment arrives. The slow network employs a spatial topology and long-period coding structure to model the spatial topological relationships and long-period periodic patterns among multiple sensor nodes. It uses long-period aggregated data as input, and its network parameters are denoted as... Unlike fast networks, slow networks do not update their parameters directly through independent backpropagation. Instead, they are updated using momentum smoothing via an exponential moving average based on the current parameters of the fast network. The update formula is as follows:
[0035] ;
[0036] in, Indicates the current parameters of the slow network;
[0037] Indicates the current parameters of the fast network;
[0038] For values to be in the interval The momentum coefficient within the network is used to control the smoothness of parameter updates in slow networks. The closer the value is The slower the network parameters change, the better it can maintain long-term stability. In one specific embodiment, Possible values .
[0039] The fast network parameters are updated based on the backpropagation process performed using the self-supervised loss. Specifically, this is done using the short-period latent feature vectors output by the fast network at the current time. Compared with the long-period latent feature vector output by the slow network For positive sample pairs, the historical feature latent vectors stored in the memory are used as negative samples. The contrastive loss is calculated using the following formula:
[0040] ;
[0041] in, Cosine similarity between two vectors;
[0042] This indicates the number of samples obtained from the memory bank. Negative sample feature latent vectors;
[0043] This represents the total number of negative samples;
[0044] This is a temperature coefficient used to adjust the smoothness of the similarity distribution; in a specific embodiment, it can take the value of [value missing]. Based on this contrastive loss, fast network parameters are... Perform backpropagation update, and calculate the current time step. and The data is then written to a memory bank, which uses a first-in, first-out (FIFO) strategy to discard the oldest stored historical vectors to maintain a constant storage capacity. In one specific embodiment, the memory bank capacity can be set to the storage capacity. The feature latent vectors of each historical moment.
[0045] III. Specific Implementation Methods of Drift-Anomaly Online Decoupling Measurement
[0046] This invention defines the boundary for determining drift and anomalies in the geometric space of the latent vectors. First, it calculates the cosine similarity between the latent vectors output by the fast and slow networks at the current time, using it as a measure of homogeneity. The calculation formula is as follows:
[0047] ;
[0048] in, This represents the current measure of directionality, with a value ranging from [value range missing]. The closer the value is This means that the more consistent the output directions of the fast and slow networks are, the closer their values will be. A negative value indicates that the two directions tend to be orthogonal or opposite;
[0049] This represents the dot product of two vectors;
[0050] This represents the Euclidean norm of a vector.
[0051] Secondly, after normalizing the latent vector output by the fast network, its information entropy is calculated, and the difference between this entropy and the information entropy at the previous time step is taken to obtain the entropy gradient index. The calculation formula is as follows:
[0052] ;
[0053] ;
[0054] in, This represents the information entropy of the latent vector output by the fast network at the current moment;
[0055] This represents the normalized latent vector. The probability values corresponding to the dimensional components;
[0056] This represents the total number of dimensions of the latent vectors;
[0057] It represents the first-order difference of the information entropy at the current moment relative to the previous moment, i.e., the entropy gradient. The larger its absolute value, the more drastic the abrupt change in the distribution of the latent vector.
[0058] Furthermore, the homogeneity metric and entropy gradient are combined into a unified decoupling decision score, calculated as follows:
[0059] ;
[0060] in, This represents the decoupling determination score at the current moment; the larger the value, the more anomalous the nature of the data change.
[0061] , These are weighting coefficients used to balance the contribution ratios of the same-direction offset component and the entropy gradient abrupt change component to the final judgment result. They can be determined through validation set optimization based on the actual business scenario. In a specific embodiment... Possible values , Possible values .
[0062] Finally, the same directionality measure and entropy gradient index Each value is compared with a preset threshold, and a three-class classification is performed. The classification rule is as follows:
[0063] ;
[0064] in, This indicates the final category determining the nature of the data change at the current moment;
[0065] The threshold for determining drift;
[0066] This is the threshold for anomaly detection;
[0067] This is the entropy gradient tolerance threshold;
[0068] All three are configurable threshold parameters, and Greater than In one specific embodiment, Possible values , Possible values , Possible values When the latent vector of the sensor slowly shifts along approximately the same direction due to equipment aging and the information entropy curve transitions smoothly, the unidirectionality metric remains at a high level and the entropy gradient index is small, thus satisfying the concept drift judgment condition.
[0069] When the system experiences a sudden failure or network attack, the latent vector suddenly deviates from its original trajectory at a certain moment and exhibits an approximately orthogonal jump. The information entropy curve shows a spike pulse, the unidirectionality metric value decreases significantly and the entropy gradient index increases significantly, thus meeting the zero-day anomaly judgment condition.
[0070] Any other situation that does not meet any of the above conditions is considered a normal fluctuation.
[0071] IV. Specific Implementation Methods of Dynamic Routing and Elastic Anti-Pollution Updates
[0072] The dynamic routing and resilient anti-pollution update module receives the above-mentioned judgment categories. Subsequently, differentiated processing is performed according to different categories. When the category is determined to be normal fluctuation, the current model parameters remain unchanged, and only the latent vector of the feature corresponding to the current data window is normally included in the memory bank update process without triggering additional parameter updates or alarm operations. When the category is determined to be concept drift, the online learning update branch is triggered, allowing the fast network to continue to perform backpropagation updates based on the aforementioned contrast loss, and the slow network parameters are updated with momentum based on the aforementioned momentum update formula, so that the model gradually adapts to the new data distribution environment. When the category is determined to be zero-day anomaly, the current fast network parameters and slow network parameters are immediately locked, and any parameter backpropagation update operations are prohibited in the current round and subsequent observation window periods to prevent abnormal data from polluting the model parameters.
[0073] At the same time, the original sensor data corresponding to the time window is stored in an independently set anomaly isolation cache area, and the corresponding timestamp information and the sensor node identifiers involved are marked for subsequent manual review or as a source of training samples for new fault types.
[0074] In addition, based on the decoupling decision score The numerical value of the decoupling judgment score is used to divide the alarm level into at least two levels arranged from low to high. The larger the value of the decoupling judgment score, the higher the corresponding alarm level. The alarm level, the timestamp of the abnormal occurrence, the identifier of the involved sensor node, and the judgment basis information (including the same direction measurement value and the entropy gradient index) are output to the operation and maintenance monitoring platform.
[0075] The observation window period is continuously set by the parameter locking state. The observation window period is measured in terms of the number of data windows, and in a specific embodiment, it can be set to continuous. Within each data window period, the system continuously performs the aforementioned decoupling metric determination on newly arriving data streams.
[0076] If, within the observation window period, the determination results of newly arriving data streams are consistently either normal fluctuations or concept drift, then the parameter locking state will be automatically released after the observation window period ends, and the normal dynamic routing determination process will be restored.
[0077] If the observation window period continues to be determined as zero-day anomaly, the parameter will remain locked and the alarm level will be increased, awaiting manual intervention.
[0078] V. Specific Implementation Methods for Cloud-Edge Collaborative Deployment
[0079] The system of this invention is physically deployed in three layers from bottom to top: the device layer, the edge layer, and the cloud layer. The device layer consists of multiple IoT sensor nodes that continuously generate raw data. The edge layer deploys a fast network coding module, a drift-anomaly online decoupling measurement module, and a dynamic routing decision module to process the high-frequency data uploaded from the device layer locally. Only the calculated short-period feature latent vectors and judgment results are uploaded to the cloud layer, instead of the raw high-frequency data. The cloud layer (covering cloud and fog deployment forms) deploys a slow network coding module, a memory module, and an anomaly isolation cache area, which is responsible for long-period pattern modeling, momentum aggregation and updating of model parameters, and centralized management of multi-dimensional alarm information. The edge layer only needs to transmit low-dimensional feature latent vectors to the cloud layer instead of the raw time-series data, which can reduce communication bandwidth overhead.
[0080] VI. Alternative Implementation Methods
[0081] Without changing the overall architecture of the dual-path fast and slow network, the combination of homogeneity metric and entropy gradient in the decoupling metric module can be replaced by a time-decay-weighted Mahalanobis distance metric. That is, by maintaining the mean and covariance matrix of historical latent vectors in the memory bank, the Mahalanobis distance of the current latent vector relative to the historical distribution is calculated, and the first-order difference of this distance is combined to distinguish between gradual shift and sudden shift. This can also achieve the purpose of decoupling and judging drift and anomalies, which is an equivalent implementation of the decoupling metric method of this invention.
[0082] Without changing the principle of division of labor between the fast and slow networks, the update method of the slow network parameters can be changed from momentum smoothing update of the fast network parameters to setting a long-period time-series coding structure for the slow network independently, and performing backpropagation update on the slow network parameters directly at a much lower update frequency than the fast network. This can also achieve the technical effect of the slow network capturing long-period stable patterns and forming a fast-slow complementarity with the fast network. This is an equivalent implementation of the dual-network collaborative mechanism of the present invention. VII. Specific Implementation Methods
[0084] In one specific embodiment, the industrial equipment vibration sensor continuously generates time-series data at a fixed sampling frequency, and the data preprocessing module takes data of length [missing information]. The original data is segmented and normalized by a window of sampling points to obtain short-period time segments that are input into the fast network;
[0085] Meanwhile, the original data is aggregated over a longer time span to obtain long-period aggregated data, which is then input into the slow network. The fast network and the slow network output the short-period feature latent vector and the long-period feature latent vector at the current moment, respectively. The decoupled measurement module calculates the same-direction measurement value and the entropy gradient index, and combines them with the aforementioned threshold parameters to complete the three-class classification. When the statistical characteristics of the vibration signal of the equipment change slowly due to long-term operation, the judgment result is stable as concept drift. The system continuously performs online learning and updates to follow this reasonable change.
[0086] When a sudden mechanical failure of the equipment causes a drastic change in the vibration signal, the result is determined to be a zero-day anomaly. The system immediately locks the model parameters, isolates the abnormal data, and triggers an alarm of the corresponding level to prevent the abnormal data from being mistakenly absorbed into the model parameter update process. This allows for stable and reliable monitoring of the equipment status without the need for manual annotation.
[0087] Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make possible changes and modifications without departing from the spirit and scope of the present invention. Therefore, any modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope defined by the claims of the present invention.
Claims
1. A machine learning-based IoT big data analysis method, characterized in that, include: The raw time-series data stream collected by IoT sensors is segmented and normalized using a sliding window to obtain short-cycle time-series segments. At the same time, the raw data with a time span greater than the time span corresponding to the short-cycle time-series segments are aggregated to obtain long-cycle aggregated data. The short-period time series segment is input into a fast network for encoding to obtain the short-period feature latent vector at the current time. The long-period aggregated data is input into a slow network for encoding to obtain the long-period feature latent vector at the current time. The parameters of the slow network are indirectly updated by using momentum smoothing with an exponential moving average on the parameters of the fast network. Calculate the cosine similarity between the short-period feature latent vector and the long-period feature latent vector at the current time as a measure of homogeneity. After normalizing the short-period feature latent vector, calculate the information entropy. Then, calculate the difference between the information entropy at the current time and the information entropy at the previous time to obtain the entropy gradient index. Based on the same-direction metric and the entropy gradient index, and according to the asymmetric judgment boundary formed by the drift judgment threshold being greater than the anomaly judgment threshold, the nature of the data change at the current moment is judged as one of the three categories: normal fluctuation, concept drift, and zero-day anomaly. Among them, when the same-direction metric is greater than or equal to the drift judgment threshold and the absolute value of the entropy gradient index is less than or equal to the entropy gradient tolerance threshold, it is judged as concept drift. When the sameness metric value is less than the anomaly determination threshold and the absolute value of the entropy gradient index is greater than the entropy gradient tolerance threshold, it is determined to be a zero-day anomaly. Apart from the two situations mentioned above, it is considered a normal fluctuation; The drift determination threshold is greater than the anomaly determination threshold; When concept drift is detected, online learning update is triggered, the fast network is controlled to perform backpropagation update based on contrast loss, and the parameters of the slow network are updated with momentum at the same time. When a zero-day anomaly is detected, the current parameters of the fast network and the slow network are locked, parameter update operations are prohibited within the set observation window period, the corresponding original sensor data is stored in the anomaly isolation buffer, and an alarm is triggered. When the fluctuation is determined to be normal, the current model parameters remain unchanged.
2. The method according to claim 1, characterized in that, Also includes: The decoupling determination score is obtained by weighted summation of the homogeneity metric and the entropy gradient index. The decoupling determination score increases as the homogeneity metric decreases and as the absolute value of the entropy gradient index increases, and is used to characterize the degree to which the nature of the data change at the current moment tends to be abnormal.
3. The method according to claim 1, characterized in that, The parameters of the fast network are updated by backpropagation based on the contrastive loss as follows: the short-period feature latent vector output by the fast network at the current time and the long-period feature latent vector output by the slow network are used as positive sample pairs, and the historical feature latent vectors stored in the memory are used as negative samples. The contrastive loss is calculated, and the parameters of the fast network are updated by backpropagation based on the contrastive loss. The memory bank maintains a constant storage capacity according to a first-in, first-out (FIFO) strategy.
4. The method according to claim 1, characterized in that, Also includes: Within the observation window period, the step of determining the nature of the data change at the current moment is continuously performed on newly arriving data streams; If, within the observation window period, the determination result of the newly arriving data stream is continuously either normal fluctuation or concept drift, then the parameter locking state of the fast network and the slow network is released after the observation window period ends. If the zero-day anomaly is continuously determined within the observation window period, the parameter is kept locked and the alarm level is increased.
5. The method according to claim 2, characterized in that, The steps for triggering the alarm include: dividing the alarm level into at least two levels arranged from low to high based on the value of the decoupling judgment score, wherein the larger the value of the decoupling judgment score, the higher the corresponding alarm level; and outputting the alarm level, the timestamp of the abnormal occurrence, the identifier of the involved sensor node, and the judgment basis information, wherein the judgment basis information includes the sameness measurement value and the entropy gradient index.
6. The method according to claim 1, characterized in that, The fast network is a time-series coding network used to capture the short-cycle mutation dynamic features in the short-cycle time-series segments; The slow network is a spatial topology and long-period coding network used to model the spatial topological relationships and long-period periodic patterns between multiple sensor nodes.
7. The method according to claim 1, characterized in that, The fast network and the step of determining the nature of data changes at the current moment are deployed on the edge side, while the slow network is deployed on the cloud side. Only the short-period feature latent vector, the long-period feature latent vector, and the determination result are transmitted between the edge side and the cloud side.
8. A machine learning-based IoT big data analysis system, characterized in that, include: The data preprocessing module is used to perform sliding window segmentation and normalization on the raw time-series data stream collected by IoT sensors to obtain short-cycle time-series segments, and to aggregate data with a longer time span to obtain long-cycle aggregated data. A fast network encoding module is used to encode the short-period time segment into a short-period feature latent vector at the current time. The slow network coding module is used to encode the long-period aggregated data into a long-period feature latent vector at the current moment. The parameters of the slow network coding module are indirectly updated by using momentum smoothing with an exponential moving average on the parameters of the fast network coding module. The drift-anomaly online decoupling measurement module is used to calculate the cosine similarity between the short-period feature latent vector and the long-period feature latent vector as the same directionality measure. After normalizing the short-period feature latent vector, the information entropy is calculated and the entropy gradient index is obtained. Based on the same directionality measure and the entropy gradient index, the nature of the data change at the current moment is determined to be one of the three categories: normal fluctuation, concept drift, and zero-day anomaly. The dynamic routing and resilient anti-pollution update module is used to trigger online learning updates when concept drift is determined, control the fast network coding module to perform backpropagation updates based on contrastive loss and synchronously drive the parameters of the slow network coding module to perform momentum updates. When a zero-day anomaly is detected, the current parameters of the fast network coding module and the slow network coding module are locked. Parameter update operations are prohibited within the set observation window period. The corresponding original sensor data is stored in the anomaly isolation buffer and an alarm is triggered. If the fluctuation is determined to be normal, the current model parameters remain unchanged.
9. The system according to claim 8, characterized in that, The fast network coding module and the drift-anomaly online decoupling measurement module are deployed on the edge side, and the slow network coding module is deployed on the cloud side. Only the short-period feature latent vector, the long-period feature latent vector, and the judgment result are transmitted between the edge side and the cloud side.
10. The system according to claim 8, characterized in that, It also includes a memory module for storing the short-period feature latent vectors and the long-period feature latent vectors at historical moments, and maintaining a constant storage capacity according to a first-in-first-out strategy, for use in the parameter update of the fast network coding module and the judgment process of the drift-anomaly online decoupling measurement module.
