State prediction and early warning method based on mutation trend double-scale fusion

The dual-scale fusion state prediction and early warning method addresses the shortcomings of existing state prediction and early warning methods in describing short-term abrupt changes and long-term trends, achieving more accurate state transition identification and reliable early warning response, and improving the stability and lead time of early warning.

CN123158531APending Publication Date: 2026-11-24GUANGXI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611365936.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing machine learning-based state prediction and early warning methods struggle to simultaneously describe short-term mutations and long-term trends, resulting in inaccurate identification of state transition nodes, delayed prediction results, high false alarm and false negative rates, and a mismatch between the early warning threshold and the degree of trend change.

Method used

A state prediction and early warning method based on dual-scale fusion of mutation trends is adopted. By acquiring the time series of multiple state variables and performing robust preprocessing, short-scale mutation and long-scale evolution features are extracted and fused using propagation consistency and gating constraints to generate dual-scale state representations. Finally, early warning results of state risk intervals and transition time intervals are generated.

Benefits of technology

It improves the accuracy of state transition identification and the reliability of predicted response, suppresses the effects of measurement noise and isolated fluctuations, avoids key mutations being overwhelmed or local anomalies being over-amplified, and improves the stability and lead time of early warning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158531A_ABST
    Figure CN123158531A_ABST
Patent Text Reader

Abstract

This invention discloses a state prediction and early warning method based on dual-scale fusion of abrupt change trends, belonging to the fields of state monitoring, machine learning prediction, and intelligent early warning. To address the problems of false alarms, missed trend signs, and delayed early warnings in the context of noise and operating condition switching, this invention utilizes short-scale joint boundary-crossing anchoring, directed time-delay propagation confirmation, anchor point coverage for long-scale trend extraction, and dual-scale fusion constrained by propagation, trend, operating condition, and quality. Combined with phased prediction step risk and transition time calibration, it generates current alarms or early warnings, achieving rapid response to actual state transitions and reducing false alarms and missed alarms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of state monitoring, machine learning prediction and intelligent early warning, and in particular to a state prediction and early warning method based on dual-scale fusion of mutation trends. Background Technology

[0002] Equipment, production processes, and other monitored objects are typically characterized by multiple interrelated state variables. Existing machine learning-based state prediction and early warning methods mostly extract state features using fixed time windows or single time scales, making it difficult to simultaneously describe short-term abrupt changes such as instantaneous jumps, sudden increases in the rate of change, and intensified local fluctuations, as well as long-term trends such as performance degradation, parameter drift, and continuous state evolution.

[0003] Under the influence of measurement noise, operating condition switching, and data non-stationarity, ordinary prediction models are prone to misclassifying normal fluctuations as anomalous changes, and may also miss early signs of degradation due to feature smoothing. Since long-scale and short-scale features differ in sampling span, time location, numerical amplitude, and sensitivity to change, direct splicing or fixed-weight fusion may cause key anomalous changes to be submerged by long-term trends, or may over-amplify isolated local anomalies.

[0004] The aforementioned problems can lead to inaccurate identification of state transition nodes, prediction results lagging behind actual state changes, and a mismatch between early warning thresholds and the degree of trend change, resulting in high false alarm and false alarm rates, and insufficient early warning lead time.

[0005] Therefore, there is a need for a state prediction and early warning method based on dual-scale fusion of mutation trends that can overcome the shortcomings of the existing technologies. Summary of the Invention

[0006] The purpose of this invention is to provide a state prediction and early warning method based on dual-scale fusion of mutation trends, so as to identify mutation trends with state indication significance in the context of complex fluctuations, and to achieve time alignment, propagation correlation modeling and constrained adaptive fusion between short-term mutation scale and long-term evolution scale, thereby improving the reliability of state transition identification, prediction response and staged early warning.

[0007] This invention provides a state prediction and early warning method based on dual-scale fusion of mutation trends, comprising:

[0008] S1. Obtain the time series of multiple state variables and operating condition variables of the monitored object, perform robust preprocessing within the operating condition, obtain the aligned state sequence and determine the stable historical segment.

[0009] S2. Based on the aligned state sequence, extract multi-order changes and local fluctuations in a short-scale time interval, and generate candidate state transition anchors according to joint boundary crossing and persistence conditions.

[0010] S3. Based on the stable historical segment, establish a directed time-delay propagation graph. According to the directed time-delay propagation graph, perform relative phase alignment of local segments of different variables according to the candidate state transition anchor points to obtain short-scale mutation characterization and propagation consistency characterization. And confirm the state transition anchor points according to the propagation consistency characterization.

[0011] S4. Extract long-scale evolutionary representations from the long-scale time intervals covering the state transition anchors in the aligned state sequence;

[0012] S5. Based on the propagation consistency representation and the consistent relationship between short-scale changes and long-scale trends, a gating constraint is generated. Under the gating constraint, the short-scale mutation representation and the long-scale evolution representation are fused to obtain a dual-scale fused state representation.

[0013] S6. Input the dual-scale fused state representation into the multi-step state predictor to obtain the state prediction results, state transition risks and expected transition times for each future prediction step. Perform anchor point condition calibration on the state transition risks and expected transition times to form state risk intervals and transition time intervals, and generate early warning results accordingly.

[0014] Optionally, S1 includes: obtaining the time series of the state variables, the time series of the operating condition variables and the corresponding state labels as data sources from the data acquisition system of the monitored object, performing timestamp correction and resampling with a unified sampling period, and recording the original missing measurement location and the resampling introduction location to form a missing measurement mark;

[0015] The operating condition intervals are divided according to the operating condition variables. The positive lower limit of the scale is determined by the measurement resolution or the quantile of the non-zero median absolute deviation in each operating condition interval. Within each operating condition interval, the median of the state variable is used as the center. When the corresponding median absolute deviation is lower than the positive lower limit of the scale, the positive lower limit of the scale is used. Otherwise, the corresponding median absolute deviation is used as the scale parameter for robust normalization. The missing measurement ratio, the length of consecutive missing measurements, the timestamp correction amount, and the resampling interval deviation are combined into a data quality characterization.

[0016] From the alignment state sequence and the corresponding operating condition variable time series, the continuous historical segment with a stable state label and where the change in adjacent sample values ​​of each operating condition variable does not exceed the operating condition stability threshold determined by the historical sample quantile with a stable state label is determined as the stable historical segment.

[0017] Calculate the robust standardized value of the change in adjacent sample values ​​of each operating condition variable, and then take the out-of-bounds indications that exceed the operating condition change threshold determined by the quantile of the stable historical segment as a weighted average according to the effective sample ratio of each operating condition variable to obtain the operating condition switching probability.

[0018] Optionally, S2 includes: calculating the first difference between adjacent sampling times, the difference between the first differences, and the ratio of the current local dispersion to the local dispersion of the stable historical segment within the short-scale time interval, determining the positive lower limit by the measurement resolution or the quantile of the non-zero local dispersion in the stable historical segment, and using the positive lower limit as the denominator of the ratio when the local dispersion of the stable historical segment is lower than the positive lower limit.

[0019] Based on the median and median absolute deviation of each extracted quantity within the stable historical segment, robust standardization is performed with the median as the center. When the corresponding median absolute deviation is lower than the positive lower limit of the scale, the positive lower limit of the scale is used; otherwise, the corresponding median absolute deviation is used as the scale parameter. The quantiles of the robust standardization results corresponding to the stable historical segment determine each out-of-bounds threshold.

[0020] When at least two extracted quantities exceed their respective out-of-bounds thresholds and remain jointly out of bounds within a preset number of consecutive sampling points, the sampling moment that first satisfies the joint out-of-bounds threshold is generated as the candidate state transition anchor point.

[0021] Optionally, S3 includes: establishing the directed time-delay propagation graph includes: within the stable historical segment, calculating the lag correlation degree for multiple candidate time delays for variable pairs, determining the direction of the directed edge according to the time delay direction corresponding to the correlation degree peak, and determining the continuous candidate time delay group with a correlation degree not lower than the edge screening threshold determined by the permutation test quantile of the stable historical segment as the allowable time delay interval;

[0022] The sign of change is determined by multiplying the changes of the variables within the allowable time lag interval, and the reliability is determined by the excess of the correlation peak relative to the edge screening threshold, the stability of the correlation within the allowable time lag interval, and the proportion of effective samples.

[0023] Furthermore, obtaining the propagation consistency characterization and confirming the state transition anchor point includes: performing phase correction on the local segments of variables connected by each directed edge according to the allowed time delay interval; determining the directed edges that satisfy the allowed time delay and whose local change reaches the response threshold determined by the stable history segment quantile in the time neighborhood corresponding to the candidate state transition anchor point as hit directed edges; and calculating the ratio of the number of hit directed edges to the number of directed edges participating in the verification in the directed time delay propagation graph to obtain the propagation path hit rate.

[0024] The ratio of the number of directed edges whose actual change direction matches the change sign to the total number of directed edges hit is used to obtain the change direction consistency rate.

[0025] When the number of directed edges participating in the verification is zero, the propagation consistency is deemed unqualified and the corresponding candidate state transition anchor point is not confirmed. When the number of hit directed edges is zero, the change direction consistency rate is determined to be zero.

[0026] The propagation consistency representation is generated based on the propagation path hit rate, the change direction consistency rate, and the reliability weighted value of the hit directed edge. The candidate state transition anchor point that reaches the confirmation threshold determined by the stable history segment quantile is determined as the state transition anchor point.

[0027] Optionally, S4 includes: obtaining baseline and trend components from the aligned state sequence of the long-scale time interval using robust local regression or state-space decomposition;

[0028] The trend component is fitted with first-order and second-order fittings in the time sub-intervals before and after the state transition anchor point, respectively, to obtain the slope and curvature.

[0029] The duration of time during which the trend change direction remains continuous and the magnitude of the change exceeds the trend threshold determined by the quantile of the stable historical segment is defined as the duration of the trend change. The difference between the extrapolated value obtained by using only the trend component before the state transition anchor point and the trend component after the state transition anchor point is defined as the trend prediction deviation.

[0030] When the number of valid samples on one side of the state transition anchor point does not reach the number of samples required for the corresponding fitting order, fitting is performed only on the side where the number of samples meets the fitting conditions, and the slope, curvature and trend prediction deviation of the side with insufficient sample number are set as missing markers. When the number of valid samples on both sides of the state transition anchor point does not reach the number of samples required for the corresponding fitting order, the baseline component and trend component of the current moment of the long-scale time interval are used to form a backtracking representation.

[0031] The reliability of the representation is determined based on the ratio of the number of effective samples on both sides of the state transition anchor point to the number of samples required for the corresponding fitting order. The baseline component, the trend component, the slope, the curvature, the duration, the trend prediction bias, the missing marker, the backtracking representation, and the reliability of the representation are combined into the long-scale evolutionary representation.

[0032] Optionally, S5 includes: determining the short-scale gating upper limit and short-scale gain based on the propagation path hit rate, the change direction consistency rate, and the reliability weighting value of the hit directed edge;

[0033] The short-scale gain is adjusted according to the proportion of the change direction of the corresponding variable in the short-scale mutation representation and the long-scale evolution representation, and the short-scale gating upper limit is compressed according to the working condition switching probability and the data quality representation.

[0034] When the propagation consistency representation does not reach the confirmation threshold or the proportion of the change direction matching does not reach the same-direction threshold determined by the stable history segment quantile, a short-scale contribution constraint is formed to limit the short-scale fusion weight within the compressed short-scale gating upper limit. The short-scale fusion weight is increased according to the short-scale gain only when the propagation consistency representation reaches the confirmation threshold and the proportion of the change direction matching reaches the same-direction threshold. The compressed short-scale gating upper limit is preferentially used as the upper limit of the short-scale fusion weight.

[0035] When there are no candidate state transition anchors, the number of directed edges participating in the verification is zero, or the propagation consistency representations corresponding to the candidate state transition anchors do not reach the confirmation threshold, the short-scale fusion weight is determined to be zero, and the long-scale evolution representation is extracted using the current time in the long-scale time interval as the reference time.

[0036] The short-scale mutation representation and the long-scale evolution representation are weighted and fused using the short-scale fusion weight and its complementary long-scale fusion weight to obtain the dual-scale fusion state representation.

[0037] Optionally, S6 includes: training the multi-step state predictor includes: forming a training sample by combining historical dual-scale fused state representations with state values ​​or state categories, state transition markers and state transition times for multiple future prediction steps.

[0038] The multi-step state predictor is updated by weighting and summing state prediction loss, state transition risk loss, and transition time deviation loss, and the loss contribution of each training sample is weighted according to the data quality characterization. The transition time deviation loss is calculated only for training samples whose state transition markers indicate that a state transition has occurred within the corresponding prediction range and have an actual state transition time, and the transition time deviation loss is masked for the remaining training samples.

[0039] The multi-step state predictor outputs a state prediction result including a state value or state category probability, the state transition risk, and the expected transition time for each future prediction step.

[0040] Furthermore, the anchor point condition calibration includes: determining the state stage boundary based on the distribution of state prediction results in calibration samples with state stage labels, and determining a stable state stage, transitional state stage, or degenerate state stage based on the current state prediction results and the state stage boundary; maintaining calibration queues according to the determined state stages and different future prediction steps; and determining the state risk boundary by the quantile of the state transition risk distribution corresponding to the calibration sample where the state transition occurred, indicated by the actual state transition markers within the corresponding state stage and future prediction step.

[0041] A risk inconsistency score is generated based on the difference between the state transition risk of the calibration sample and the corresponding actual state transition marker. A time inconsistency score is generated only for calibration samples that have an actual state transition within the corresponding prediction range and have an actual state transition time, based on the difference between the predicted transition time and the corresponding actual state transition time.

[0042] The minimum effective sample size for risk score and the minimum effective sample size for time score are determined by the order statistics of the quantiles corresponding to the target coverage. The effective number of risk inconsistency scores and time inconsistency scores generated in the same way in the training samples is counted. When the training risk score or training time score in the corresponding state stage and future prediction step does not reach the corresponding minimum effective sample size, the same type of training scores in adjacent state stages and all state stages are merged in the same future prediction step.

[0043] When the training risk score or the merged training risk score in the corresponding state stage and the future prediction step reaches the minimum number of effective samples of the risk score, the initial risk interval is formed by the quantile of the training risk score that has reached the aforementioned quantity condition; otherwise, the state transition risk output range of the multi-step state predictor is used as the initial risk interval.

[0044] When the training time score or the merged training time score in the corresponding state stage and future prediction step reaches the minimum effective sample number of the time score, the initial time interval is formed by the quantile of the training time score that has reached the aforementioned quantity condition; otherwise, the complete prediction time range of the multi-step state predictor is used as the initial time interval.

[0045] Only samples whose propagation consistency characterization reaches the confirmation threshold and whose data quality characterization meets the queuing conditions determined by the calibration sample quality quantile are added to the corresponding calibration queue.

[0046] When the operating condition switching probability reaches the freezing threshold determined by the quantile of the operating condition switching probability of the stable historical segment, or when the change in state transition risk of the continuous prediction step reaches the model following risk threshold determined by the quantile of the change in risk of the calibration sample, the sample update of the corresponding calibration queue is frozen, and the sequential quantile of risk inconsistency fraction and the sequential quantile of time inconsistency fraction before freezing are used during the freezing period.

[0047] When both the change in the operating condition switching probability and the change in the state transition risk have not continuously reached the release threshold determined by the corresponding quantile of the calibration sample and have reached the preset release step number, the sample update of the corresponding calibration queue is restored.

[0048] When the number of valid risk inconsistency scores in the corresponding calibration queue does not reach the minimum number of valid samples for the risk score, the risk inconsistency scores in adjacent state stage calibration queues are merged according to the same future prediction step.

[0049] For the corresponding calibration queue or the merged calibration queue, the initial risk interval is used when the effective number of risk inconsistency scores does not reach the minimum effective sample number of the risk score or is frozen before the first effective risk sequential quantile is formed; otherwise, the state transition risk is corrected according to the sequential quantile of the risk inconsistency scores to form the state risk interval.

[0050] When the number of valid time inconsistency scores in the corresponding calibration queue does not reach the minimum number of valid samples for the time score, the time inconsistency scores in adjacent state stage calibration queues are merged according to the same future prediction step.

[0051] For the corresponding calibration queue or the merged calibration queue, the initial time interval is used when the number of valid time inconsistency scores does not reach the minimum number of valid samples of the time score or is frozen before the first valid time sequential quantile is formed; otherwise, the expected transition time is corrected according to the sequential quantile of the time inconsistency scores to form the transition time interval.

[0052] Furthermore, generating the early warning result based on the state risk interval and the transition time interval includes: determining a risk breach as when the lower boundary of the state risk interval crosses the state risk boundary corresponding to the current state stage and the corresponding future prediction step;

[0053] The advance warning range is limited to the time range after the current time but excluding the current time. When the number of future prediction steps for the continuous risk out-of-bounds reaches the number of steps determined by the quantile of the distribution of the number of future prediction steps for the continuous risk out-of-bounds in the calibration sample, and the transition time interval intersects with the advance warning range, an advance warning is triggered.

[0054] When the risk boundary is exceeded in the state risk interval of the future prediction step closest to the current time and the transition time interval includes the current time, only the current alarm is triggered and the early warning for the same prediction time is suppressed.

[0055] The warning level is determined based on the extent to which the state risk interval crosses the state risk boundary and the distance between the transition time interval and the current time.

[0056] The beneficial effects of this invention are:

[0057] 1. By combining robust standardized multi-order variations, local fluctuations, and persistence conditions to form candidate anchor points, and using propagation diagrams with propagation direction, allowable time delay, change sign, and reliability for phase correction and consistency verification, spurious abrupt changes caused by measurement noise and isolated fluctuations can be suppressed, while retaining short-term responses to real state transitions.

[0058] 2. By extracting trend evolution representations from the long-scale intervals that cover the anchor points, and by using propagation consistency, dual-scale change direction, working condition switching probability and data quality to jointly limit or enhance short-scale contributions, we can avoid key mutations being submerged by long-term trends and local anomalies being over-amplified, thereby improving the matching degree between dual-scale representations and actual state evolution.

[0059] 3. By maintaining calibration queues according to state stages and future prediction steps, and forming state risk intervals and transition time intervals under the conditions of propagation consistency and data quality, combined with freeze recovery, continuous boundary maintenance, and mutual exclusion rules between current alarms and early warnings, the threshold matching degree, interval coverage stability, and early warning lead time of different state stages can be improved. Attached Figure Description

[0060] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:

[0061] Figure 1 This is a flowchart of the state prediction and early warning method based on dual-scale fusion of mutation trends according to the present invention.

[0062] Figure 2 This is a flowchart of the directed time-delay propagation graph construction and state transition anchor point confirmation in S3 of the present invention. Detailed Implementation

[0063] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, illustrating only the basic structure of the invention, and therefore only show the components relevant to the invention.

[0064] refer to Figures 1-2 A state prediction and early warning method based on dual-scale fusion of mutation trends includes:

[0065] S1. Obtain the time series of multiple state variables and operating condition variables of the monitored object, perform robust preprocessing within the operating condition, obtain the aligned state sequence and determine the stable historical segment.

[0066] S2. Based on the aligned state sequence, extract multi-order changes and local fluctuations in a short-scale time interval, and generate candidate state transition anchors according to joint boundary crossing and persistence conditions.

[0067] S3. Based on the stable historical segment, establish a directed time-delay propagation graph. According to the directed time-delay propagation graph, perform relative phase alignment of local segments of different variables according to the candidate state transition anchor points to obtain short-scale mutation characterization and propagation consistency characterization. And confirm the state transition anchor points according to the propagation consistency characterization.

[0068] S4. Extract long-scale evolutionary representations from the long-scale time intervals covering the state transition anchors in the aligned state sequence;

[0069] S5. Based on the propagation consistency representation and the consistent relationship between short-scale changes and long-scale trends, a gating constraint is generated. Under the gating constraint, the short-scale mutation representation and the long-scale evolution representation are fused to obtain a dual-scale fused state representation.

[0070] S6. Input the dual-scale fused state representation into the multi-step state predictor to obtain the state prediction results, state transition risks and expected transition times for each future prediction step. Perform anchor point condition calibration on the state transition risks and expected transition times to form state risk intervals and transition time intervals, and generate early warning results accordingly.

[0071] In this specific embodiment, S1 includes:

[0072] This specific implementation takes the operating status of the rolling bearing of an industrial centrifugal pump as the monitored object. The data acquisition system organizes the original records according to the equipment identification, acquisition time, state variables, operating condition variables, and status labels. The state variables include the root mean square value of vibration, vibration kurtosis, bearing temperature, drive current, and outlet pressure. The operating condition variables include speed, flow rate, and ambient temperature. The unit of the root mean square value of vibration is mm / s, the unit of bearing temperature and ambient temperature is ℃, the unit of drive current is A, the unit of outlet pressure is MPa, the unit of speed is r / min, and the unit of flow rate is m³ / h. The status labels are stable, transitional, or degraded. The data acquisition system writes the original records into a time-series database partitioned by equipment identification and acquisition date.

[0073] The data processing server uses a uniform sampling period of 1 minute to correct the device clock and the time server clock of each original record. The difference in timestamps before and after correction is written into the timestamp correction field. Discrete state quantities are resampled in the nearest neighbor method and continuous state quantities are resampled in the piecewise linear method. If the original sampling point does not exist or the effective record interval on both sides of the resample point exceeds 3 minutes, the value is not filled but a missing measurement mark is written. The missing measurement mark distinguishes the original missing measurement position and the resampled introduction position, thus forming an aligned record with a uniform sequence number.

[0074] The server generates operating condition interval keys by combining the rotation speed in intervals of 300 r / min, the flow rate in intervals of 10% of the rated value, and the ambient temperature in intervals of 5°C. When there are fewer than 120 samples under the same operating condition interval key, it is merged with the adjacent rotation speed interval and the adjacent flow rate interval in turn. If there are still fewer than 120 samples, it is marked as a sparse operating condition and only the robust parameters of the most recent valid operating condition are used. The operating condition interval key, the number of samples, the parameter version, and the effective time are written into the operating condition parameter table.

[0075] For the The state variables are in the operating condition range The first Each valid sample value undergoes robust normalization, and the calculation relationship is as follows: as well as , Represents the dimensionless robust normalized value. This represents a sampled value with the original units of the state variable. Indicates operating condition range The median of the effective samples for this variable, with the same unit as the sampled value. Indicates parameters of the same unit scale. This represents the median of the absolute deviation within the specified operating range. This represents the positive lower limit of the same unit scale, determined by the maximum of the measurement resolution and the 5th quantile of the non-zero absolute deviation in the stable sample. Indicates the index of the state variable. Indicates a unified sampling sequence number. This represents the working condition interval index. The calculation is based on the median within the working condition, divides the same unit deviation by the scale parameter and truncates the result to the range of [-8,8], and then writes it into the aligned state sequence along with the working condition interval key.

[0076] The server generates a data quality characterization for each batch processed in a continuous 24-hour period. The fields include the missing proportion of each state variable, the maximum consecutive missing length, the 95th percentile of the absolute value of the timestamp correction, the median of the absolute deviation of the actual sampling interval relative to 1 minute, and the effective sample proportion. The missing proportion and the effective sample proportion are dimensionless values ​​within [0,1]. The maximum consecutive missing length is measured in the number of sampling points. The timestamp correction and the sampling interval deviation are measured in seconds. When the missing proportion of any state variable exceeds 0.20 or the maximum consecutive missing length exceeds 10 sampling points, the batch is marked as low quality and the missing locations are retained. The missing observations are not replaced by interpolation results.

[0077] Server according to Calculate the proportion of effective variables for the current sampling number. This represents the proportion of dimensionless effective variables within the range [0,1]. This indicates the number of state variables for which there is no missing measurement marker in the current sampling sequence. This indicates the total number of state variables that should be collected in the data acquisition configuration. This indicates a unified sampling sequence number. When the proportion of effective variables is less than 0.80, the aligned record is retained but it is prohibited from being used as a valid sample in a stable historical segment.

[0078] The server reads the state labels and operating condition changes point by point from the aligned state sequence and the corresponding operating condition variable time series, and then... To form stable criteria This indicates the stable sample criterion that takes either 0 or 1. This indicates that a value of 1 is assigned when the current sample has a stable state label and the proportion of valid variables is not less than 0.80, and 0 is assigned otherwise. Indicates the first The indicator is set to 1 when the change in adjacent sampled values ​​of a given operating condition variable does not exceed the operating condition stability threshold and both the current and previous values ​​are valid; and to 0 when the value exceeds the limit or is missing. This represents a finite set of indices for all operating condition variables in the data acquisition configuration. In this specific implementation, it includes three indices corresponding to rotational speed, flow rate, and ambient temperature. This represents the index of the working condition variable during the traversal of the set. Indicates a unified sampling sequence number;

[0079] The stable threshold for operating conditions is taken as the 95th quantile of the absolute change of historical samples with stable state labels in the corresponding operating condition interval. The thresholds for speed, flow rate and ambient temperature are taken using their respective original units. Historical segments with a stability criterion of 1 for a continuous length of 240 sampling points are determined as stable historical segments. When an invalid sampling point appears in the middle, the current segment ends without splicing across points. The segment identifier, start and end sampling sequence number, number of valid samples and operating condition interval key are written into the stable historical segment index.

[0080] To characterize the switching of operating conditions, the server performs the following actions: Calculation of adjacent changes in each operating condition variable , This represents the dimensionless, robust, standardized value for changes in operating conditions. Indicates the first Each operating condition variable is in the sampling sequence number The original value at that location, This represents the original value of the previous sampling sequence number. This represents the median of the absolute change within a stable historical period. This represents the positive lower limit in the same unit, determined by the maximum of the measurement resolution of the variable under this operating condition and the 5th quantile of the non-zero absolute change. This indicates the index of the operating condition variable. When the value exceeds the 99th quantile of the standardized value within the stable history period, the out-of-bounds indicator will be set to 1; otherwise, it will be set to 0.

[0081] Operating condition switching probability as calculate, This represents the probability of a change in operating condition, where a larger value within the range [0,1] indicates a higher likelihood of such a change. This represents the set of indexes of working condition variables where both the current sampling number and the previous sampling number have valid values. Indicates the number of samples within the last 60 sampling points. The number of valid samples for each working condition variable accounts for a certain percentage of the set. The dimensionless weights, determined by the proportion of valid samples of all operating condition variables, are summed to 1 when the set is not empty. Indicates the first Each operating condition variable is in the sampling sequence number Boundary crossing instructions Indicates traversing a collection index of operating condition variables, Indicates the uniform sampling sequence number; when the set When the value is empty, summation is not performed and the result is... Set to 1 and mark the source of the operating condition switching probability as a fully invalid conservative backoff. The server will store the aligned state sequence, data quality characterization, stable historical segment index and operating condition switching probability in association with the same device identifier and sampling sequence number, as input objects to be read by S2 to S6.

[0082] In this specific embodiment, S2 includes:

[0083] The short-scale analysis module reads the aligned state sequence and stable history segment index formed by S1, and uses the 12 sampling points before the current sampling number to form a short-scale time interval. It keeps null values ​​for positions marked as true for missing data and records the number of valid samples when calculating each extraction quantity. If there are fewer than 8 valid samples for a certain state variable in the short-scale time interval, it does not generate out-of-bounds results for that variable.

[0084] Regarding the first Each state variable is used to calculate the first difference in the module. Second difference , This represents the dimensionless first-order change between two adjacent sampling points. The dimensionless difference represents the first-order change. Indicates the first obtained by S1 Each state variable is in the sampling sequence number The robust normalized value at that point, This represents the robustly normalized value of the previous sampling sequence number. This represents the first-order change from the previous sampling number. Indicates the index of the state variable. Indicates the sampling sequence number;

[0085] The module uses the median absolute deviation of the normalized values ​​of state variables within a short-scale time interval as the current local dispersion, and calculates... , This represents the ratio of dimensionless local dispersion. Indicates the first The dimensionless local dispersion of a state variable within the current short-scale time interval. This represents the median of the dimensionless local dispersion within the stable historical period of the same operating condition range. This represents the maximum of the dimensionless value of the measurement resolution after conversion using the S1 scale parameter and the 5th quantile of the non-zero local dispersion of the stable history period. This represents the index of the operating condition interval, and the denominator uses a positive lower limit to avoid amplifying noise when the stable segment is approximately constant.

[0086] The module centers on the median of the first difference, second difference, and local dispersion ratio within the stable historical period, and uses the largest of the corresponding median absolute deviation and the positive lower limit of the same scale in S1 as the scale parameter to complete robust standardization. During the calculation, the corresponding median is used as the benchmark, the extraction deviation is divided by the scale parameter and truncated to the range of [-10, 10]. The out-of-bounds threshold is determined by the 99th quantile of the absolute value of various standardization results within the stable historical period of the same working condition interval. The threshold record includes variable index, extraction type, working condition interval key, threshold, number of stable samples, and parameter version.

[0087] The threshold query uses the working condition interval key, the state variable index and the extraction quantity type as a joint key. When the number of stable samples is not less than 120, the exact matching record is read. If the sample is insufficient or the joint key is not matched, the adjacent working condition merged record is searched in ascending order according to the sum of the speed interval distance, flow interval distance and ambient temperature interval distance. If there is still no valid record, the candidate anchor point determination of the variable is stopped and the threshold missing reason code is written.

[0088] For each sampling number, the module counts the number of out-of-bounds categories in the first difference absolute normalized value, the second difference absolute normalized value, and the local dispersion ratio normalized value. The joint out-of-bounds indicator is set to 1 only when at least two of the extracted values ​​exceed their respective thresholds. The indicator is required to remain at 1 for at least two out of three consecutive sampling points. When the continuity condition is met for the first time, the earliest joint out-of-bounds sampling number is determined as the candidate state transition anchor point. Within the five sampling points after the candidate anchor point has been formed, the same candidate anchor point for the same state variable is not generated repeatedly.

[0089] The candidate anchor point record includes the device identifier, candidate anchor point sampling sequence number, detection time, verifiable time, trigger state variable index, three types of extraction quantities and their thresholds, joint out-of-bounds persistence count, operating condition interval key, data quality mark, processing status and parameter version. After the candidate is generated, it first enters the waiting state and caches the arrived samples until the 6th valid sampling point after the anchor point arrives. Only then is the verifiable time written as the sampling point time and the formation of the short-scale mutation original matrix allowed. If more than 10 minutes are waited from the detection time, more than 3 consecutive sampling points are missing, or there are less than 8 valid overlapping samples before and after the anchor point, the candidate is terminated as a completion failure, the corresponding reason code is written, S3 reading is prohibited, the short-scale fusion weight corresponding to the candidate is reset to zero, and the current sampling time is output for S4 to generate the long-scale backtracking representation.

[0090] When the proportion of low-quality variables in the trigger variables exceeds 0.50, the module places the candidate records into the review queue after the samples are completed, instead of sending them to the automatic confirmation path. The data quality review module presents the original window, missing test channel and threshold version through the operation and maintenance terminal, and receives the review results within 15 minutes. When the review is passed, the processing status is changed to review passed and sent to S3. When the review is rejected, a low-quality rejection reason code is written. When the review times out, a review timeout reason code is written. The latter two final states prohibit S3 from reading, the short-scale fusion weight is reset to zero and the current sampling time is output as if there is no valid candidate path for S4 to generate long-scale backtracking representation.

[0091] When a candidate is in the pending completion or pending review state, the automatic confirmation branch remains suspended, but the module outputs the progress state identifier and the current sampling time for each current sampling number. S4 generates a long-scale evolution representation for each sample according to the current reference no-anchor rule. S5 resets the short-scale fusion weight to zero and writes the temporary fusion record determined only by the long-scale projection vector into the fusion state cache. When the candidate is completed and the review is passed, the switch to the anchor branch starts from the current sampling number corresponding to the review passed. The previously written temporary fusion record is not backfilled or rewritten. The processing status, the switched sampling number, and the no-backfill mark are written into the candidate anchor record, thereby ensuring that each sampling number still generates a fusion representation that can be continuously read by S6 during the waiting period.

[0092] The module concatenates the first difference, second difference, local dispersion ratio, and missing detection indication of the six sampling points before and after each candidate anchor point that has been completed and approved to enter S3 according to the variable index to form a short-scale mutation original matrix. It fills the missing detection position with zero value while retaining the missing detection channel, so that the zero value and the missing state can be distinguished in subsequent processing. The short-scale mutation original matrix, candidate anchor point record, and trigger variable set are stored in association according to the candidate anchor point identifier, and serve as the input for S3 to perform propagation verification and phase alignment.

[0093] In this specific embodiment, S3 includes:

[0094] The propagation graph construction module reads the stable history segment of S1 and the candidate anchor point cache of S2, forms variable pairs for any two valid state variables, examines candidate time delays for 1 to 10 sampling periods within the stable history segment, first removes paired samples that are missing for any variable or are in a low-quality batch, and then calculates the lag correlation after rank transformation for each candidate time delay to reduce the impact of a small number of extreme values ​​on the propagation relationship.

[0095] From variables Pointer variable And the candidate time delay is Relevance of time calculate, Represents the lag-rank correlation in the range [-1, 1]. This represents an operator that maps input samples to ascending ranks. Representing variables In sampling sequence number The robust normalized value at that point, Representing variables In sampling sequence number The robust normalized value at that point, Indicates the starting variable index. Indicates the index of the endpoint variable. Indicates the sampling sequence number within a stable historical period. This represents the candidate time delay within a range of 1 to 10, measured in terms of the sampling period. This indicates that the Pearson correlation operation is performed, and the normalized input is based on the median within the working condition, divided by the same unit scale parameter and truncated to the range of [-8, 8] according to S1.

[0096] The module performs 500 block permutation tests on each variable pair. Each time, the endpoint variable is randomly rearranged in blocks of 12 sampling points. The edge screening threshold is obtained from the 99th quantile of the absolute value of the permutation correlation. Adjacent candidate time delays with an absolute value of true correlation not lower than the threshold are merged into a continuous candidate time delay group. The candidate time delay group containing the absolute correlation peak and covering at least two adjacent time delays is determined as the allowable time delay interval. When the peak is located in the positive time delay, a directed edge is established from the variable that changes first to the variable that changes later. For the reverse edge with the same peak time delay, only the one with the highest absolute correlation value is retained.

[0097] For the retained directed edges, the module calculates the median of the product of the first difference of the starting variable and the first difference of the ending variable after time delay alignment within the allowed time delay interval. If the median of the product is greater than zero, the change sign is set to the same direction; if it is less than zero, it is set to the opposite direction; and if it is equal to zero, the edge is deleted. Calculate reliability, Indicates the reliability of directed edges within [0,1]. This represents the dimensionless value after normalizing the absolute value of the peak correlation degree exceeding the edge filtering threshold to the interval of 1. This represents the ratio of the minimum to the maximum absolute value of the correlation degree within the allowable time delay interval, and is a dimensionless stability. This represents the dimensionless proportion of the number of valid paired samples to the theoretically paired samples. The coefficients 0.5, 0.3, and 0.2 are derived from maximizing repeatability on samples reserved from stable historical periods. Figure 1 The probability is certain and the sum of them is 1;

[0098] The directed time-delay propagation graph uses state variable indices as nodes and start variable indices, end variable indices, lower allowable time delay limit, upper allowable time delay limit, peak time delay, change sign, edge filtering threshold, reliability, and parameter version as edge fields. When at least 120 valid samples are added to the stable historical segment or the operating condition parameter version changes, the propagation graph for the corresponding operating condition interval is reconstructed. If the reconstruction result fails the validation with a sample consistency rate of 0.80, the previous valid version is used, and the current graph is marked as pending update. If the graph is being constructed for the first time or no previous valid version exists under the new operating condition, the propagation graph is restructured. The state is marked as unavailable and the mapping verification failure reason code and parameter version are written. All current candidate anchor points are terminated as unqualified for propagation verification. The number of directed edges participating in the verification is treated as zero. The current sampling time corresponding to each candidate is output to trigger S4 current reference no anchor point representation and S5 short-scale fusion weight reset zero path. After that, the mapping is rebuilt only when no less than 120 valid samples are added in this stable historical segment or the working condition parameter version changes again. After the reconstruction result passes the consistency rate verification, it is automatically confirmed from the next sampling sequence number of the passing time without backfilling the previous fusion cache.

[0099] For each candidate anchor point, the module performs relative phase alignment on local segments of the starting variable and the ending variable based on the allowable time delay interval of each directed edge in the propagation graph. Within the allowable interval, the time delay that maximizes the absolute value of the local first-order difference correlation is selected as the correction time delay. The starting variable segment is shifted to the time reference of the ending variable. The portion of the corrected segment that exceeds the range of 6 sampling points before and after the candidate anchor point is discarded and the effective overlap length is recorded.

[0100] The module determines the response threshold by the 95th quantile of the absolute value of the local change of each edge after the same phase correction within the stable history segment. Edges that simultaneously meet the following conditions in the time neighborhood of the candidate anchor point are identified as hit directed edges: the correction time delay falls within the allowable time delay interval, the effective overlap length between the start and end segments is not less than 6 sampling points, and the local change of the end variable reaches the response threshold. Edges that do not meet the conditions retain the reason code for missing.

[0101] propagation path hit rate calculate, This indicates that the higher the value within the range [0,1], the greater the coverage of the propagation path and the higher the hit rate. This indicates the number of directed edges that are hit. This represents the number of directed edges in the propagation graph where all variables are valid and participate in the current candidate anchor point validation, with the consistency rate of change direction calculated as follows: calculate, This represents the consistency rate of change direction within the range [0,1], where a larger value indicates a more consistent direction of change. This indicates the number of edges whose actual change direction matches the change sign of the edge field. The 1 in the denominator is used to give a definite result when the number of edges hit is zero.

[0102] Hit edge reliability weighted by calculate, This represents the average reliability of hit directed edges within the range [0,1]. This represents a set of directed edges that are hit. Indicates the edge hit The dimensionless reliability recorded in the propagation diagram, Represents a directed edge index, propagating consistent representation according to calculate, The larger the value in the range [0,1], the more consistent the propagation evidence. 0.40, 0.35 and 0.25 represent the dimensionless weights that maximize the confirmation accuracy on the pseudo-anchor points and labeled transfer anchor points in the stable historical period, and their sum is 1.

[0103] When the number of directed edges participating in the verification is zero, the module will determine the propagation consistency as unqualified and refuse to confirm the candidate anchor point. When the number of hit directed edges is zero, the weighted values ​​of the change direction consistency rate and the hit edge reliability are both set to zero. When the number of participating edges is greater than zero and the propagation consistency characterization reaches the confirmation threshold, the state transition anchor point is confirmed. In this specific implementation, the confirmation threshold is the maximum value of the 99th quantile of the propagation consistency characterization of the pseudo anchor point in the stable historical segment of the same working condition and 0.72.

[0104] The module uses the first difference, second difference, local dispersion ratio, phase-corrected change amplitude, hit edge mask and edge reliability of 6 sampling points before and after the anchor point to form a short-scale mutation characterization by splicing them according to variable index and edge index. It also writes the propagation path hit rate, change direction consistency rate, hit edge reliability weighted value, propagation consistency characterization, confirmation threshold and rejection reason code into the propagation verification record.

[0105] When multiple confirmation anchor points exist for the same device, the module maintains streaming time clusters according to the anchor point sampling sequence number. The first confirmation anchor point establishes an open time cluster. If the interval between adjacent anchor point sampling sequence numbers does not exceed 5 sampling points, they are grouped into the same cluster, and the latest anchor point sampling sequence number within the cluster is updated. If the interval exceeds 5 sampling points, a subsequent time cluster is established. A time cluster is only closed when the current sampling sequence number has exceeded the latest anchor point sampling sequence number within the cluster by 5 sampling points, and all candidates in S2 whose anchor point sampling sequence number is no later than the latest anchor point sampling sequence number plus 5 have entered the final state of confirmation, rejection, completion failure, or review timeout. During the open period of a time cluster, no provisional master anchor points are sent to S4 and S5. S4 generates long-scale representations according to the current reference anchorless path, and S5 resets the short-scale fusion weight to zero. When a time cluster is closed, the module... The internal confirmation anchor points are compared sequentially in descending order of propagation consistency representation, descending order of average reliability of hit directed edges, descending order of effective variable proportion in data quality representation, ascending order of anchor point sampling sequence number, and ascending order of anchor point identifier dictionary order. The anchor point at the top of the sorted list is uniquely locked as the primary anchor point, and a unique sending key is established using the device identifier and time cluster identifier. The primary anchor point and its short-scale mutation representation are sent only once to S4 and S5. The start and end sampling sequence numbers of the time cluster, the closing sampling sequence number, the primary anchor point identifier, and the sent mark are recorded. Unselected anchor points are marked as lateral evidence within the same cluster and are not generated as independent fusion records. Late records that arrive after the time cluster is closed and whose anchor point sampling sequence number falls into the closed cluster are only saved as late lateral evidence. The locked primary anchor point must not be changed or resent. This ensures that at most one anchor point in each time cluster enters the fusion branch.

[0106] In this specific embodiment, S4 includes:

[0107] The long-scale analysis module reads the aligned state sequence of S1 and the state transition anchor point confirmed by S3. It forms a long-scale time interval covering the anchor point with 180 sampling points before the anchor point and 60 sampling points after the anchor point. When not all samples after the anchor point have been obtained, it uses the current time as the right boundary and records the number of valid samples of each state variable before and after the anchor point.

[0108] For each state variable, the module uses robust local regression to decompose and align the state sequence. The local regression window is 20% of the length of the long-scale time interval. Two rounds of residual reweighting are completed with cubic weights. The regression output is used as the baseline component. The original robust normalized value is subtracted from the baseline component and then smoothed by moving the median by 30 sampling points to obtain the trend component. The normalized value used has been based on the median in the working condition according to S1, with the same unit deviation divided by the scale parameter and truncated to the range of [-8,8]. Both the baseline component and the trend component are dimensionless values. Missing locations only participate in the neighborhood weight normalization and are not used as zero value inputs.

[0109] The module fits the trend component using 60 valid sampling points before the anchor point and up to 60 valid sampling points after the anchor point, respectively. Indicates the first Local trends of individual state variables Indicates the relative sequence number of the anchor point The dimensionless fitting trend at the location. Indicates the dimensionless intercept. This represents the dimensionless slope for each sampling period. This represents the dimensionless second-order coefficients squared over each sampling period. This represents the integer sampling period with the anchor point as the zero point. The index represents the state variable. The first-order fitting sets the second-order coefficients to zero. The second-order fitting uses Huber loss to reduce the influence of local outliers.

[0110] The first-order slopes on both sides of the anchor point are respectively taken as the slopes of the corresponding first-order fitting, and the curvature is taken as twice the second-order coefficients in the second-order fitting. The module determines the trend threshold by the 95th quantile of the absolute value of the trend change in the same working condition in the stable historical period. Starting from the anchor point, the trend change direction is continuously maintained and the change amplitude of each sampling point exceeds the trend threshold for a continuous length. This length is multiplied by 1 minute to obtain the duration in minutes. The statistics end when the direction reverses or the amplitude falls below the threshold.

[0111] The module only uses the second-order fit prior to the anchor point for backward extrapolation, and follows... Calculate the trend prediction bias. Indicates the first The nth state variable after the anchor point Dimensionless trend prediction bias for each sampling period Indicates the actual trend component. This represents the dimensionless trend value obtained by extrapolating the fitting coefficients before the anchor point. Indicates the index of the state variable. This indicates the sampling period after the anchor point. The module stores the median, maximum absolute value, and sign consistency rate of the sampling period deviation after the first 12 anchor points.

[0112] First-order fitting requires at least 3 valid samples, and second-order fitting requires at least 5 valid samples. When the number of valid samples on one side of the anchor point does not reach the number of samples required for the corresponding fitting order, fitting is performed only on the side that meets the conditions, and the slope, curvature, and trend prediction deviation of the side with insufficient samples are set as missing markers. When the number of valid samples on both sides of the state transition anchor point does not reach the number of samples required for the corresponding fitting order, the baseline component, trend component, and the direction of the most recent valid change at the current moment in the long-scale time interval are used to form a backtracking representation.

[0113] Characterization reliability according to calculate, Indicates the first The reliability of long-scale representation of a state variable in the range [0,1] This represents the number of valid samples used for second-order fitting before the anchor point. This indicates the number of effective samples used for second-order fitting after the anchor point. The value 5 indicates the minimum number of effective samples required for second-order fitting. This represents the state variable index. In real-time scenarios, samples after anchor points that have not yet been reached are not counted as missing tests, thus gradually increasing the reliability as data arrives.

[0114] The long-scale parameter table stores the local regression window ratio, moving median window length, trend threshold, minimum number of fitted samples, and parameter version by working condition interval key. The parameters are jointly calibrated by 240 points of no-transition windows and manually confirmed transition windows extracted from the stable historical period. The selection rule is to have the minimum median trend residual and a transition direction identification accuracy of not less than 0.85. The version is updated when no less than 30 confirmed transition anchor points are added.

[0115] The trend threshold record uses the state variable index and the operating condition interval key as the query key. The value fields include the dimensionless trend threshold, the number of stable samples, the 95th quantile order, and the effective time. When the query does not find the target, adjacent operating condition intervals are merged first. If there are still fewer than 120 stable samples after merging, the 99th quantile of all stable historical segments of the state variable is used and the threshold source is marked as global rollback.

[0116] For the duration, the module compares the sign and magnitude of adjacent changes in the trend component point by point. Only sampling points with consecutive and consistent direction signs and magnitudes that are strictly greater than the trend threshold are accumulated. The module terminates immediately when it encounters a missing sampling point, a zero direction, or a magnitude that is not greater than the threshold. The accumulated number of sampling points is multiplied by the uniform sampling period to obtain the duration and written into the corresponding state variable field.

[0117] The module updates the fitting results after the anchor point as each new sampling point arrives. The representation version of the same anchor point increases with the number of effective samples. After reaching 60 samples after the anchor point, the final version is sealed. The backtracking representation is replaced by the new fitting result when it recovers to the minimum number of fitting samples on either side, but the original backtracking mark and replacement time are retained for S5 to identify.

[0118] When S2 outputs a status indicating no valid candidates, completion failure, review rejection, or review timeout, or when S3 outputs a status indicating all candidates are unconfirmed, the module uses the current sampling time output by S2 as the current reference time. It uses only the 180 most recent sampling points reached up to that time to form a long-scale time interval, and generates a current reference long-scale representation according to the same local regression, trend fitting, threshold, and insufficient sample rules. The type field of this representation is written as "current reference has no anchor point," and the anchor point identifier is written as a deterministic placeholder identifier generated by the device identifier, reference sampling sequence number, and this type field. The version is updated when each new sampling point arrives, so that S5 can uniquely read it using this placeholder identifier.

[0119] The module sequentially concatenates the current baseline component, current trend component, slope before and after the anchor point, curvature before and after the anchor point, duration normalized after 240 minutes, trend prediction deviation statistics, missing markers, backtracking representation, and representation reliability according to the state variable index, forming a long-scale evolution representation. At the same time, it records the start and end numbers of the long-scale time interval used, anchor point identifier, representation type, reference sampling number, decomposition parameter version, and update time, and writes the representation into the long-scale feature library for S5 to read.

[0120] In this specific embodiment, S5 includes:

[0121] The dual-scale fusion module reads the short-scale mutation representation and propagation verification record of S3 and the long-scale evolution representation of S4 according to the same device identifier and state transition anchor point identifier, and reads the data quality representation and working condition switching probability of S1. First, it standardizes the two types of representations according to the median and median absolute deviation of each field in the training sample, fills the missing fields with zero values ​​and retains the missing mask.

[0122] The module calculates the short-scale gating upper limit based on a weighted average of propagation path hit rate, change direction consistency rate, and hit edge reliability. , This represents the upper limit of short-scale gating within [0,1]. This represents the propagation path hit rate obtained by S3. This represents the consistency rate of change direction obtained from S3. This represents the weighted value of the hit edge reliability obtained by S3. The coefficients 0.25, 0.35, 0.25, and 0.15 are determined by grid search on the training set and the highest harmonic mean of warning accuracy and recall on the hold-out set. This represents a truncation operator that restricts the result to a given closed interval;

[0123] Short-scale gain calculate, This represents the short-scale gain within the range [0,1], where the value increases with stronger propagation evidence. This represents the propagation consistency characterization obtained from S3. Indicates the hit rate of the propagation path. This represents the weighted value of the reliability of the hit edge, with coefficients of 0.5, 0.3, and 0.2 being dimensionless weights whose sum is 1;

[0124] The module compares the first-order change directions of each state variable in the short-scale catastrophe representation at six sampling points before and after the anchor point with the slope direction of the corresponding variable after the anchor point in the long-scale evolution representation, and calculates the slope direction on variables in both valid models. , The value within [0,1] indicates that a larger value represents a more consistent direction of change across both scales, reflecting a more proportional relationship. This indicates the number of valid variables with the same direction sign. This indicates the number of valid variables participating in the comparison. When the number of variables participating in the comparison is zero, this proportion is set to zero. The short-scale gain after direction correction is the product of the original short-scale gain and this proportion.

[0125] The module uses the average missing measurement ratio, the maximum consecutive missing measurement length (after truncation and normalization over 10 sampling points), and the sampling interval deviation (after truncation and normalization over 60 seconds) from the S1 data quality characterization as quality penalty items, and applies them accordingly. The mass compression coefficient is obtained. This represents a dimensionless coefficient within the range [0,1], where a larger value indicates better data quality. This represents the average missing percentage within the range [0,1]. This represents the normalized value of the consecutive missing lengths within the range [0,1]. represents the normalized value of the sampling interval deviation within [0,1], and 0.5, 0.3, and 0.2 represent the penalty weights determined on the calibration samples;

[0126] The compressed short-scale gating upper limit is based on calculate, This represents the upper limit of the compressed short-scale gating within [0,1]. This represents the upper limit of short-scale gating before compression. Indicates the mass compression factor. S1 represents the probability of switching conditions within [0,1], and the larger the value, the higher the probability of switching conditions. As the quality decreases or the switching conditions are enhanced, the two multiplicative factors decrease, and the upper limit of the short-scale contribution decreases accordingly.

[0127] The confirmation threshold is the same as the confirmation threshold in the version of the working condition parameter corresponding to S3. The same direction threshold is the 95th quantile of the proportion of pseudo anchor point change direction matching in the stable historical period. In this specific implementation, it is not less than 0.70. When the propagation consistency characterization does not reach the confirmation threshold or the proportion of change direction matching does not reach the same direction threshold, the short-scale fusion weight is limited to the product of the propagation consistency characterization not exceeding the upper limit of the compressed gating and 0.25. Only when both conditions are met is the short-scale gain after direction correction added to the basic weight 0.20, and the upper limit of the compressed gating is still used as the priority upper limit.

[0128] Short-scale fusion weights are first sorted by Enhanced candidate values ​​are generated and used only when the propagation consistency characterization reaches the confirmation threshold and the proportion of changes in the same direction reaches the same-direction threshold; otherwise, they are used as is. Forming restricted candidate values, This represents the short-scale weight candidate values ​​within [0,1]. Indicates short-scale gain. Indicates a proportion that matches the direction of change. This indicates a consistent representation of propagation. This indicates a truncation operator that restricts the result to a given closed interval. The final short-scale fusion weights are truncated to the candidate values ​​using the compressed short-scale gating upper limit. The base weights of 0.20 and the constraint coefficients of 0.25 are determined by the training set.

[0129] The module generates gating constraint records accordingly. The construction rule is to establish a unique key based on the device identifier and sampling sequence number, and use the main anchor point identifier selected by S3 as the record field. At the same time, it writes whether the propagation consistency meets the standard, whether the change direction is the same, the upper limit of the gating after compression, the candidate weight value, the final short-scale fusion weight, the long-scale fusion weight, and the constraint reason code. When the unique key is repeated, only the record in which the parameter version and the long-scale representation version are the latest is retained. This record directly controls the fusion ratio of the projection vectors of the subsequent two scales.

[0130] When there are no candidate state transition anchors, candidate completion fails, candidate verification is rejected or times out, the number of directed edges participating in the verification is zero, or the propagation consistency representation of all candidate anchors fails to reach the confirmation threshold, the module directly sets the short-scale fusion weight to zero, determines the short-scale mutation representation input vector as an all-zero vector and sets all corresponding missing masks to 1, and skips the short-scale linear projection; at the same time, it reads the current reference long-scale representation and its deterministic placeholder anchor identifier generated by S4 according to the device identifier, the current reference no-anchor type and the reference sampling sequence number, so that the fusion result is uniquely determined by the long-scale projection vector, avoiding local fluctuations that have not been propagated and confirmed from entering the fusion result;

[0131] To unify the feature dimensions of the two scales, the module uses the linear projection matrix jointly learned during the training phase to project the short-scale mutation representation and the long-scale evolution representation into 32-dimensional vectors. The projection matrix is ​​stored with the model version identifier and updated together with the S6 predictor. The projection input also includes their respective missing masks. During training, the L2 regularization constraint is applied to the projection matrix and it is confirmed on the reserved samples that the 99th percentile of the absolute value of each dimension output does not exceed 8.

[0132] Dual-scale fusion state characterization calculate, Indicates the sampling sequence number 32-dimensional dual-scale fusion state representation at the location. Indicates the short-scale fusion weights. Represents a short-scale linear projection matrix. The input vector represents the short-scale mutation representation and its missing mask. Represents a long-scale linear projection matrix. The input vector represents the long-scale evolutionary representation and its missing mask. This represents the long-scale fusion weights that complement the short-scale fusion weights. Indicates the current sampling sequence number;

[0133] The module writes the dual-scale fusion state representation, short-scale fusion weight, long-scale fusion weight, confirmation threshold, unidirectional threshold, quality compression coefficient, operating condition switching probability, projection matrix version, and main anchor point identifier into the fusion state cache. The cache uses the device identifier and sampling sequence number as unique keys, and only one fusion vector is retained for the same sampling sequence number. The fusion state cache is arranged according to the sampling sequence number and retains the most recent 240 sampling points as continuous inputs to the S6 multi-step state predictor.

[0134] In this specific embodiment, S6 includes:

[0135] The prediction server reads 30 consecutive dual-scale fused state representations from the S5 fused state cache as an input sequence. It adopts a multi-step state predictor containing two layers of gated loop units and three output heads. The hidden dimension of the two layers of gated loop units is 64. The state output head outputs the normalized predicted values ​​of state variables such as bearing temperature and vibration root mean square value, as well as the probability of stable, transitional and degenerate state categories for the next 12 prediction steps. The risk output head outputs the probability of state transition occurring in each prediction step. The time output head outputs the expected number of minutes of transition relative to the current time.

[0136] When a device is first launched, a model version or fusion status cache version is switched, or an upstream gap occurs, if 30 consecutive valid fusion records with the same sampling sequence number cannot be obtained under the same device, model version, and fusion status cache version, the prediction server does not fill the input with zero values, duplicate old values, or records spanning gaps. Instead, it outputs a prediction warm-up or insufficient input status, records the number of available consecutive records, the first gap position, the reason code, the model version, and the cache version, and suspends multi-step prediction, calibration queuing, and new warning triggering for this cycle. If there is no active alarm, no new alarm is created. If there is an active alarm, the original status is maintained, and this cycle is not included in the valid prediction cycle required for automatic cancellation. If there are still no valid results after 10 consecutive prediction cycles, the active alarm is changed to pending confirmation according to the rules described later. S5 continues to write new fusion records according to the sampling sequence number until 30 consecutive records are formed again under the same version. Then, the formal prediction is resumed from the prediction start time corresponding to the first complete sequence, and the recovery time is recorded. Records before the gap are not reused to generate cross-gap inputs.

[0137] The training samples are input with 30 consecutive historical dual-scale fused state representations, labeled with the state values ​​or state categories of the next 12 sampling points, the state transition marker for each future prediction step, and the actual first state transition time. For any prediction step from the 1st to the 12th future prediction steps, when a stage change from stability to transition or from transition to degradation has occurred from the first sampling point after the current time to the end of the prediction step, the state transition marker for that prediction step is set to 1. Therefore, subsequent prediction steps after the first transition continue to take 1, and prediction steps before the first transition has occurred take 0. All 12 prediction steps of samples without state transition retain the risk label 0. The actual transition time is uniformly taken as the sampling time corresponding to the first stage change. The training set, calibration set, and validation set are divided into 6:2:2 according to the continuous time period of the device to avoid leakage between adjacent windows.

[0138] For the training samples, training objectives are... calculate, Indicates the first The dimensionless total loss of each training sample. This indicates the index of the training sample within the current batch. This represents the dimensionless sample quality weights within [0.2,1] calculated using the S1 data quality characterization. This represents the dimensionless state prediction loss, calculated as the weighted arithmetic mean of the Huber loss for each normalized state value and the cross-entropy of the state categories across the 12 prediction steps for this sample. This represents the dimensionless arithmetic average risk loss obtained by calculating the binary cross-entropy for each of the 12 prediction steps of the sample, based on the aforementioned cumulative state transition markers. The module establishes a time-based loss mask for each future prediction step, only if the cumulative state transition marker for that prediction step is 1, the actual first state transition time is valid, and the actual first transition minute is not greater than the index of that prediction step. corresponding When the value is mined, the corresponding mask is set to 1; otherwise, it is set to 0. Indicates the first The forecast step divides the expected number of transfer minutes and the actual number of minutes of the first transfer by 1 / 2. After mining, the dimensionless smoothed absolute error is calculated only for the prediction steps with a mask of 1, and the arithmetic mean is taken for these prediction steps. When all masks are zero, the error is... Set to zero; This represents a dimensionless sample-level mask where the loss mask at at least one stepwise time step is 1, and 0 when all stepswise time steps are 0. When the sample-level mask is 0, the training sample is shielded from the transition time step error loss. , and These represent the dimensionless state prediction loss weights, risk loss weights, and time-step loss weights, respectively; the batch training objective is based on all valid samples in the current batch. Calculate the arithmetic mean; all three component losses are calculated at the sample level before being randomized. Unified aggregation; the three weights are searched for non-negative combinations that sum to 1 at intervals of 0.05 on the training set, and the highest comprehensive index formed by the equal weights of the state category macro-average harmonic index, the area under the risk curve, and the normalized time absolute error on the validation set is selected as the rule. In this specific implementation, the values ​​are 0.50, 0.30, and 0.20 respectively.

[0139] Sample quality weights are determined by Sure, This represents the weight of the loss contribution of the training samples. This indicates the average missing test rate within the sample window. This represents the maximum consecutive missing length after being truncated and normalized using 10 sampling points. The value represents the sampling interval bias after being truncated and normalized by 60 seconds. All three quality quantities are dimensionless. 0.2 represents the minimum weight that low-quality samples are still retained. The three dimensionless penalty coefficients are searched for non-negative combinations with a sum of 1 at intervals of 0.1 on the training set. On the validation set, the selection rule is that the recall rate of low-quality samples is not less than 0.80 and the total loss is the lowest. In this specific implementation, the values ​​are 0.6, 0.2 and 0.2 respectively. The minimum weight of 0.2 is determined by the maximum retention lower limit on the validation set where high-missing samples still maintain an effective gradient and the total loss does not increase by more than 10%. The training server uses the Adam optimizer, a batch size of 64 and an initial learning rate of 0.001. Training stops and the model version with the lowest validation loss is saved when the total loss on the validation set does not decrease for 10 consecutive rounds.

[0140] During runtime, the predictor generates a state prediction result, state transition risk, and expected transition time for each future prediction step. The sum of the state category probabilities is 1. The state transition risk is limited to [0,1] and the larger the value, the higher the transition risk. The expected transition point value is limited to the range of 1 minute to 12 minutes after the current time. The output record is written to the prediction result table according to the device identifier, prediction start time, future prediction step, model version, and fused state cache version.

[0141] Status value output by calculate, Indicates future prediction steps State value prediction vector, The weight matrix represents the state value output header. This represents the 64-dimensional hidden vector output by the second-layer gated recurrent unit and expanded by the future prediction step encoding. This represents the state value output head bias vector. The index represents the future prediction step from 1 to 12. The weight matrix and bias vector are derived from the trained and validated model version.

[0142] State category probability by calculate, Indicates future prediction steps The probability vectors corresponding to the three categories of stability, transition, and degradation. This represents the category output header weight matrix. This represents the hidden vector corresponding to the future prediction step. This represents the category output head bias vector. This represents the index of the future prediction step, where all components of the probability vector are within [0,1] and their sum is 1;

[0143] State transition risk calculate, This indicates the time from the first sampling point after the current moment to the next prediction step. The cumulative probability within the range [0,1] up to the point where the first state transition has occurred, with a larger value indicating a higher cumulative transition risk. Indicates 1 to Candidate future prediction step index, This represents the risk output head weight vector. Indicates candidate future prediction steps The corresponding hidden vector, This indicates the risk output head bias. Represents the index of the future prediction step, and the prefix maximum operation makes Follow The parameters are updated in reverse order of risk loss for the same cumulative labeling caliber, while the increase does not lead to a decrease.

[0144] Estimated transfer minutes based on calculate, Indicates future prediction steps Relative to the current time and located in [1, The estimated number of minutes for the first transfer within the range of ]min. This indicates the output head weight vector at time step. This represents the hidden vector corresponding to the future prediction step. This indicates the output head offset at any given time. This represents the index of future prediction steps from 1 to 12, with values ​​1 and 12. Map the dimensionless network output to the reachable time range covered by the cumulative labels of that prediction step;

[0145] The anchor point condition calibration module uses calibration samples labeled with state stages to calculate the boundary values ​​that minimize the sum of misclassification rates between the stable segment and the transition segment, and between the transition segment and the degradation segment, for the normalized predicted bearing temperature, normalized predicted root mean square vibration value, and degradation state probability of the first prediction step in the future state output head. It then constructs a state stage boundary table by combining the stable-to-transition boundary and the transition-to-degradation boundary for each variable. During runtime, the first prediction step in the future... The three predicted variables with the same name are queried one by one in the boundary table with the same model version. When any predicted variable reaches or exceeds its transition to the degradation boundary, it is determined to be in the degradation state stage. Otherwise, when any predicted variable reaches or exceeds its stability to the transition boundary, it is determined to be in the transition state stage. The rest are determined to be in the stable state stage. Boundary equivalence is processed in the order of degradation first, transition first, and transition first, stability. The determined stage identifier is used as the joint query key for the subsequent calibration queue and state risk boundary. Only when the boundary table is missing, there are insufficient effective samples, or the model version is mismatched, it is backed up to the highest probability class of the state class probability vector of the first prediction step in the future. When the highest probabilities are tied, they are determined in the order of degradation, transition, and stability. The backed-up reason code, the model version used, the fused state cache version, and the prediction start time are recorded. The boundary table records the state variable name, two-level boundary values, model version, number of effective samples, and effective time.

[0146] The calibration module maintains separate calibration queues according to state stage, future prediction step, and model version. These three elements, along with the device identifier, constitute the queue key. Each queue records the predicted risk, actual state transition marker, expected transition time, actual transition time, propagation consistency characterization, data quality characterization, enqueue time, and model version. Determine the state risk boundary. Representing state phase and future prediction steps The corresponding risk boundary of the state within [0,1] This represents the operator that takes the 10th quantile of the input set. Indicates calibration sample Future prediction steps State transition risk, Indicates the actual state transition marker, Indicates the sample state stage. Indicates the current state stage. Indicates the calibration sample index. This represents the index of future prediction steps from 1 to 12. Each state stage and future prediction step combination requires at least 20 actual transition positive examples. If there are insufficient positive examples, adjacent state stages under the same model version are merged sequentially, and then all state stages of the same future prediction step are merged. If there are still insufficient positive examples, all stage positive example boundaries of the same model version and the same future prediction step in the training set are read. If there are still fewer than 20 positive examples in the training set or the training set is empty, a conservative fixed boundary of 0.50 is determined by ensuring that the false alarm rate does not exceed 0.10 using a validated set, and the number of positive examples, boundary sources, and fallback levels are recorded. Within the same state stage, the module sorts the state stages in ascending order of future prediction steps. The effective boundary is corrected to the first to the second step. The minimum value in the original boundary is used to ensure that the state risk boundary adopted downstream does not change. The risk level increases, and when the lower boundary of the risk range crosses the modified boundary, the risk out-of-bounds condition is determined to be met.

[0147] Risk inconsistency score calculate, Indicates calibration sample Future prediction steps Risk inconsistency score within [0,1], This indicates that the sample is up to the next prediction step. The cumulative state transition risk, This represents the cumulative actual state transition flag determined using the same criteria as the training phase; that is, it is set to 1 if the first state transition has occurred up to this prediction step, and 0 otherwise. Indicates the calibration sample index. Represents future prediction steps from 1 to 12, with time inconsistencies scored as follows: calculate, This represents the time inconsistency score in minutes. This indicates the number of minutes between the expected transfer time and the predicted start time. This represents the number of minutes between the actual first transfer time and the predicted start time. The time inconsistency score is calculated only for the corresponding prediction steps with a cumulative transfer mark of 1 and an actual first transfer time that is valid.

[0148] The target coverage is set to 0.90. The calibration module uses ascending-order statistics for both risk scores and time scores, with the quantile order taken as follows: And limited to no more than , Indicates the order position corresponding to the target coverage. This represents the number of valid samples in the corresponding score set. The minimum number of valid samples for risk scores is set to 30, and the minimum number of valid samples for time scores is set to 20. Both numbers are higher than the theoretical lower limit required to form the 0.90 target coverage quantile order and are determined through the calibration set coverage stability test.

[0149] The calibration module statistically analyzes the risk inconsistency score and time inconsistency score generated by the same formula in the training samples. When the training score in the current state stage and the future prediction step is insufficient for the corresponding minimum number of effective samples, it first merges the state stages adjacent to the current stage, and then merges all state stages in the same future prediction step. After reaching the required quantity, it takes the corresponding order statistics to form the initial risk radius or initial time radius. The initial risk interval is formed by adding or subtracting the initial risk radius from the risk output and truncating it to [0,1]. The initial time interval for the future prediction step is calculated by adding or subtracting the initial time radius from the expected transition point value and truncating it to [0, ..., ] relative to the current time. The calibration time range is formed by setting the future prediction step index to 1. The lower boundary of the initial interval of the formed time is fixed to 0min and its upper boundary is retained so that the interval covers the current time boundary. 0min represents the current time and is only used for interval expansion to cover the current alarm.

[0150] When the training risk score is still less than 30 after merging all states, use [0,1] as the initial risk interval. If the training time score for the future prediction step is still less than 20 after merging all state stages, then relative to the current time [0, The initial time interval for this prediction step is set as min. The backoff interval, merging level, number of effective samples, and quantile order used are all written into the calibration parameter record.

[0151] Only when the propagation consistency characterization reaches the S3 confirmation threshold and the average missing detection ratio in the data quality characterization is not higher than the 90th quantile of that ratio in the calibration sample and the maximum consecutive missing detection length is not higher than the corresponding 90th quantile, will the sample that has obtained the true label after the prediction be added to the corresponding state stage and future prediction step calibration queue. The queue retains the most recent 500 valid risk scores and the most recent 300 valid time point scores in a first-in-first-out manner.

[0152] When the probability of switching operating conditions reaches the freezing threshold determined by the 99th quantile of the probability of switching operating conditions in the stable historical period, or when the change in state transition risk of any consecutive prediction step reaches the model following risk threshold determined by the 99th quantile of the change in calibration sample risk, the calibration module freezes the sample updates of all calibration queues of the corresponding device, and uses the last valid sequential quantile of risk inconsistency score and sequential quantile of time inconsistency score before freezing, and freezes the event record trigger amount, threshold, prediction step and model version.

[0153] When the probability of switching operating conditions and the change in state transition risk in continuous prediction steps are both lower than the release threshold determined by the 90th quantile of their respective calibration samples and remain so for 5 consecutive prediction cycles, the calibration module resumes queue updates. Before release, it verifies that the model version is consistent with the queue version. When switching models, all running queues of the old version and their confirmed scores are sealed as read-only history records. The scores of the old version are not included in the number of effective samples and the sequential quantile of the new version. The records of unconfirmed labels of the old version are cleared. An empty running queue is created for the new version and starts from the corresponding initial training interval. The sequential quantile of the new version is only activated after the new version queue reaches the minimum number of effective samples of 30 risks or 20 time points. At the same time, the time of version switching, the sealed queue identifier, and the time when the new version takes effect are recorded.

[0154] For running calibration queues, when the number of risk scores is less than 30, adjacent state stage queues of the same future prediction step are merged sequentially. If the number of scores after merging is still less than 30, or if a freeze occurs before the first effective risk sequential quantile is formed, the initial risk interval is used; otherwise, the current risk score sequential quantile is calculated. and form , Indicates future prediction steps The dimensionless risk score sequential quantile, This indicates the state risk range for that prediction step. Indicates the risk of state transition. Indicates the index of future prediction steps;

[0155] When there are fewer than 20 time-segments, adjacent state stage queues of the same future prediction step are merged sequentially. If the number of merged queues is still less than 20, or if a freeze occurs before the first valid time-sequential quantile is formed, the initial time interval is used; otherwise, the time-segment sequential quantile is calculated: when the future prediction step index is 1, it is calculated as follows: Form the runtime transition time interval; when the future prediction step index is 2 to 12, according to... This forms the time interval for the operation transfer. Represents future forecast steps in min. Sequential quantiles of fractions at time points This represents the transition time interval, expressed in minus time, relative to the current time. Indicates the estimated transfer time in minutes. This represents the future prediction step index from 1 to 12. The values ​​0, 1, 2, and 12 define the current time boundary and the range of prediction steps applicable to the segment.

[0156] Regardless of whether the initial training interval or the running queue interval is used, the module performs step consistency correction in ascending order of prediction steps after all 12 future prediction steps have completed the initial calibration: The lower boundary of the step state risk interval is taken from the 1st to the 2nd step. The maximum value in the initial lower boundary at step 1, the th The upper boundary of the step state risk interval is taken from the 1st to the 2nd step. The maximum value in the initial upper boundary is used, and if it is less than the corrected lower boundary, it is raised to that lower boundary, so that neither the corrected upper nor lower boundary changes with the initial upper boundary. The risk increases while decreasing, and each interval still satisfies that the lower boundary is no greater than the upper boundary; the module writes the cumulative risk before and after the correction, the state risk boundary and the upper and lower boundaries of the interval, the correction method version and the step correction reason code into the prediction result table. For subsequent risk out-of-bounds, continuous segments, hold steps and warning levels, only the corrected cumulative risk, boundary and state risk interval are read.

[0157] Early warning module Calculate the extent of risk exceeding the limit. Indicates future prediction steps The dimensionless risk of exceeding the limit at that location Indicates the lower boundary of the state risk interval. Indicates the current state stage and future prediction steps The corresponding state risk boundary, Indicates the current state stage. This indicates the future prediction step index; a risk exceeding the limit is considered a risk exceeding the limit when the risk exceeds the limit by more than zero.

[0158] The early warning module limits the early warning lead time range to 1 to 10 minutes after the current time, excluding the current time. The number of steps is taken as the 95th quantile of the distribution of continuous risk out-of-bounds steps under the aforementioned cumulative transfer risk calibrator. In this specific implementation, this is 3 future prediction steps. The module uses the cumulative state transfer risk up to the prediction step and the state risk boundary of the same calibrator to determine the risk out-of-bounds for each future prediction step. Adjacent risk out-of-bounds steps are grouped into maximal continuous segments according to the future prediction step index. Only continuous segments with a length of not less than 3 steps are retained. For each retained segment, the intersection of the transfer time interval of the starting prediction step of the segment and the early warning lead time range is uniquely used. When the selected transfer time interval intersects with the early warning lead time range, an early warning is triggered. When the intersection is empty, the segment does not trigger an early warning. When there are multiple triggerable continuous segments, the continuous segment with the smallest lower boundary of the transfer time interval is selected first. If the lower boundaries are the same, the continuous segment with the smallest starting prediction step index is selected. The selected starting prediction step, the continuous segment termination prediction step, and the transfer time interval of the starting prediction step are determined as the prediction step and target time basis for the early warning.

[0159] When the risk of the first prediction step in the future closest to the current time exceeds the limit and the lower boundary of its transition time interval is equal to 0 minutes, that is, when the converted absolute time includes the current time, the early warning module only triggers the current alarm and constructs the current alarm deduplication key according to the device identifier, the current alarm type and the target state stage, establishes the active alarm state and suppresses the early warning of the same prediction time. The same deduplication key will not be sent repeatedly before the active alarm is cleared.

[0160] After an activity alarm is established, the early warning module rereads the risk out-of-bounds result and transfer time interval of the first prediction step in each effective prediction cycle. When the risk out-of-bounds disappears or the transfer time interval is converted and no longer includes the current time, and the candidate condition for cancellation is maintained for 3 consecutive effective prediction cycles, the current alarm is automatically cancelled. The equipment maintenance terminal can also submit the equipment identifier, alarm deduplication key, operator identifier, and maintenance completion reason code through the authenticated maintenance completion interface to immediately cancel the alarm. The priority of manual maintenance completion events is higher than that of automatic continuous judgment. When the prediction result is missing or the maintenance terminal is disconnected, the 3 effective prediction cycles are not accumulated and the alarm is not automatically cancelled. When there are no effective results for 10 consecutive prediction cycles, the alarm status is changed to pending confirmation and repeated sending is suppressed locally. When the alarm is cancelled, the original activity alarm record is sealed, the cancellation time, cancellation source, cancellation reason code, and the last model version are written, and the activity deduplication key mapping is cleared so that a new current alarm can be established and sent when the triggering condition is met again.

[0161] The warning level is determined by the risk overshoot of the selected warning prediction step and the distance between the selected transfer time interval and the current time. The current alarm uses the first prediction step of the future, and the early warning uses the starting prediction step of the selected continuous segment. When the lower boundary of the risk interval exceeds the state risk boundary by less than 0.10 and the lower boundary of the selected transfer time interval is more than 6 minutes away from the current time, it is recorded as Level 1. When the overshoot reaches 0.10 but less than 0.25 or the distance is 3 to 6 minutes, it is recorded as Level 2. When the overshoot reaches 0.25 or the distance is less than 3 minutes, it is recorded as Level 3. When multiple conditions are met at the same time, the result with the largest level value is adopted. The module writes the warning type, warning level, state risk interval, selected transfer time interval, state stage, selected future prediction step, start and end prediction steps of the continuous segment, anchor point identifier, model version and trigger reason into the warning result table and sends it to the equipment operation and maintenance terminal.

[0162] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

[0163] Compared with existing technologies, this invention does not simply extract features within a single time window and then directly perform state prediction, nor does it simply concatenate short-term anomaly features with long-term trend features. Instead, it constructs a chain-like algorithm structure of "short-scale candidate anchor point identification - propagation consistency confirmation - long-scale trend extraction - gating fusion - multi-step prediction and phased calibration early warning." This structure addresses the problems of misjudgment of sudden changes, trend omissions, and early warning lags caused by noise interference, operating condition switching, and non-stationarity of state evolution. First, candidate state transition anchor points are screened out at a short scale through multi-order changes, local fluctuations, and persistence conditions. Then, a directed time-delay propagation graph is used to jointly verify the propagation direction, time-delay relationship, change sign, and reliability between variables. Propagation consistency is used to confirm the candidate anchor points a second time, thereby distinguishing isolated fluctuations, occasional noise, and operating condition disturbances from true state transitions, improving the accuracy of sudden change identification and the reliability of state transition location.

[0164] Building upon this foundation, this invention further extracts long-scale evolutionary representations centered on confirmed state transition anchor points. By constraining the dual-scale fusion weights through propagation consistency, the consistency between short-scale and long-scale change directions, the probability of condition switching, and data quality, the short-scale mutation information and long-scale trend information are no longer in a fixed ratio or statically spliced ​​relationship. Instead, they can adaptively adjust according to anchor point credibility, condition changes, and data quality, structurally avoiding the problem of key mutations being submerged by long-term trends or local anomalies being over-amplified. Simultaneously, this invention combines multi-step state prediction results with anchor point condition calibration, maintaining calibration queues according to state stages and future prediction steps. It also dynamically corrects the state risk interval and transition time interval based on risk inconsistency scores and time inconsistency scores, thereby making the early warning threshold more closely match the actual state evolution process, further improving the early warning's predictability, stability, and practicality.

Claims

1. A state prediction and early warning method based on dual-scale fusion of abrupt change trends, characterized in that, include: S1. Obtain the time series of multiple state variables and operating condition variables of the monitored object, perform robust preprocessing within the operating condition, obtain the aligned state sequence and determine the stable historical segment. S2. Based on the aligned state sequence, extract multi-order changes and local fluctuations in a short-scale time interval, and generate candidate state transition anchors based on joint boundary crossing and persistence conditions. S3. Based on the stable historical segment, establish a directed time-delay propagation graph. According to the directed time-delay propagation graph, perform relative phase alignment of local segments of different variables according to candidate state transition anchor points to obtain short-scale mutation characterization and propagation consistency characterization. Confirm the state transition anchor points according to the propagation consistency characterization. S4. Extract long-scale evolutionary representations from the long-scale time intervals covering state transition anchors in the aligned state sequence; S5. Based on the consistent propagation representation and the consistent relationship between short-scale changes and long-scale trends, gating constraints are generated. Under the gating constraints, short-scale mutation representation and long-scale evolution representation are fused to obtain a dual-scale fused state representation. S6. Input the dual-scale fused state representation into the multi-step state predictor to obtain the state prediction results, state transition risks and expected transition times for each future prediction step. Perform anchor point condition calibration on the state transition risks and expected transition times to form state risk intervals and transition time intervals, and generate early warning results accordingly.

2. The state prediction and early warning method based on dual-scale fusion of abrupt change trends according to claim 1, characterized in that, S1 includes: The time series of state variables, time series of operating condition variables and corresponding state labels are obtained from the data acquisition system of the monitored object as the data source. Timestamp correction and resampling are performed with a unified sampling period. The original missing measurement location and the resampling introduction location are recorded to form a missing measurement mark. Operating condition intervals are divided according to operating condition variables. A positive lower limit of scale is determined by the measurement resolution or the quantile of the non-zero median absolute deviation in each operating condition interval. Within each operating condition interval, the median of the state variable is used as the center. If the corresponding median absolute deviation is lower than the positive lower limit of scale, the positive lower limit of scale is used; otherwise, the corresponding median absolute deviation is used as the scale parameter for robust normalization. The missing measurement ratio, consecutive missing measurement length, timestamp correction amount, and resampling interval deviation are combined to form a data quality characterization. From the aligned state sequence and the time series of the corresponding operating condition variables, the continuous historical segment with a stable state label and where the change in adjacent sample values ​​of each operating condition variable does not exceed the operating condition stability threshold determined by the quantile of historical samples with stable state labels is determined as the stable historical segment. Robust standardized values ​​of the change in adjacent sample values ​​of each operating condition variable are calculated. The out-of-bounds indications that exceed the operating condition change threshold determined by the quantile of the stable historical segment are weighted and averaged according to the effective sample ratio of each operating condition variable to obtain the operating condition switching probability.

3. The state prediction and early warning method based on dual-scale fusion of mutation trends according to claim 2, characterized in that, S2 includes: Within the short-scale time interval, the first difference between adjacent sampling times, the difference between the first difference, and the ratio of the current local dispersion to the local dispersion of the stable historical segment are calculated respectively. A positive lower limit is determined by the measurement resolution or the quantile of the non-zero local dispersion in the stable historical segment. When the local dispersion of the stable historical segment is lower than the positive lower limit, the positive lower limit is used as the denominator of the ratio. Based on the median and median absolute deviation of each extracted quantity in the stable historical segment, robust standardization is performed with the median as the center. If the corresponding median absolute deviation is lower than the positive lower limit of the scale, the positive lower limit of the scale is used; otherwise, the corresponding median absolute deviation is used as the scale parameter. Each out-of-bounds threshold is determined by the quantile of the robust standardization result corresponding to the stable historical segment. When at least two extracted quantities exceed their respective out-of-bounds thresholds and maintain joint out-of-bounds within a preset number of consecutive sampling points, the sampling time that first satisfies the joint out-of-bounds condition is generated as the candidate state transition anchor point.

4. The state prediction and early warning method based on dual-scale fusion of mutation trends according to claim 3, characterized in that, Step S3, establishing the directed time-delay propagation graph, includes: within the stable historical period, calculating the lag correlation degree for multiple candidate time delays for variable pairs; determining the directed edge direction based on the time delay direction corresponding to the correlation degree peak; determining the allowable time delay interval as a continuous candidate time delay group whose correlation degree is not lower than the edge screening threshold determined by the permutation test quantile of the stable historical period; determining the sign of change based on the product of the change directions of the variable pairs within the allowable time delay interval; and determining the reliability based on the excess of the correlation degree peak relative to the edge screening threshold, the stability of the correlation degree within the allowable time delay interval, and the proportion of effective samples.

5. The state prediction and early warning method based on dual-scale fusion of mutation trends according to claim 4, characterized in that, Step S3, obtaining the propagation consistency characterization and confirming the state transition anchor point, includes: performing phase correction on the local segments of variables connected by each directed edge according to the allowed time delay interval; identifying directed edges that satisfy the allowed time delay and whose local change reaches the response threshold determined by the quantile of the stable history segment within the time neighborhood corresponding to the candidate state transition anchor point as hit directed edges; calculating the ratio of the number of hit directed edges to the number of directed edges participating in the verification in the directed time delay propagation graph to obtain the propagation path hit rate; and calculating the relationship between the actual change direction and the change sign in the hit directed edges. The change direction consistency rate is obtained by taking the ratio of the number of directed edges of the symbol to the number of hit directed edges. When the number of directed edges participating in the verification is zero, the propagation consistency is determined to be unqualified and the corresponding candidate state transition anchor point is not confirmed. When the number of hit directed edges is zero, the change direction consistency rate is determined to be zero. The propagation consistency characterization is generated based on the propagation path hit rate, the change direction consistency rate and the reliability weighted value of the hit directed edges. The candidate state transition anchor point whose propagation consistency characterization reaches the confirmation threshold determined by the stable history segment quantile is determined as the state transition anchor point.

6. The state prediction and early warning method based on dual-scale fusion of mutation trends according to claim 5, characterized in that, S4 includes: obtaining baseline and trend components from the aligned state sequence of the long-scale time interval using robust local regression or state-space decomposition; performing first-order and second-order fitting on the trend components in the time sub-intervals before and after the state transition anchor point to obtain slope and curvature, respectively; determining the duration of time during which the trend change direction remains continuous and the change amplitude exceeds the trend threshold determined by the stable historical segment quantile as the duration; and determining the difference between the extrapolated value obtained using only the trend component before the state transition anchor point and the trend component after the state transition anchor point as the trend prediction bias; when the number of effective samples on one side of the state transition anchor point does not reach the number of samples required for the corresponding fitting order... Fitting is performed only on the side where the number of samples meets the fitting condition, and the slope, curvature, and trend prediction deviation of the side with insufficient sample number are set as missing markers. When the number of effective samples on both sides of the state transition anchor point does not reach the number of samples required for the corresponding fitting order, a regression representation is formed using the baseline component and trend component at the current moment of the long-scale time interval. The representation reliability is determined according to the ratio of the number of effective samples on both sides of the state transition anchor point to the number of samples required for the corresponding fitting order. The baseline component, the trend component, the slope, the curvature, the duration, the trend prediction deviation, the missing marker, the regression representation, and the representation reliability are combined into the long-scale evolution representation.

7. The state prediction and early warning method based on dual-scale fusion of mutation trends according to claim 6, characterized in that, S5 includes: The short-scale gating upper limit and short-scale gain are determined based on the propagation path hit rate, the change direction consistency rate, and the reliability weighting value of the directed edge hit. The short-scale gain is adjusted according to the proportion of the change direction of the corresponding variable in the short-scale mutation representation and the long-scale evolution representation, and the short-scale gating upper limit is compressed according to the working condition switching probability and the data quality representation. When the propagation consistency representation does not reach the confirmation threshold or the proportion of the change direction matching does not reach the same-direction threshold determined by the stable history segment quantile, a short-scale contribution constraint is formed to limit the short-scale fusion weight within the compressed short-scale gating upper limit. The short-scale fusion weight is increased according to the short-scale gain only when the propagation consistency representation reaches the confirmation threshold and the proportion of the change direction matching reaches the same-direction threshold. The compressed short-scale gating upper limit is preferentially used as the upper limit of the short-scale fusion weight. When there are no candidate state transition anchors, the number of directed edges participating in the verification is zero, or the propagation consistency representations corresponding to the candidate state transition anchors do not reach the confirmation threshold, the short-scale fusion weight is determined to be zero, and the long-scale evolution representation is extracted using the current time in the long-scale time interval as a reference time; the short-scale mutation representation and the long-scale evolution representation are weighted and fused using the short-scale fusion weight and its complementary long-scale fusion weight to obtain the dual-scale fused state representation.

8. The state prediction and early warning method based on dual-scale fusion of mutation trends according to claim 7, characterized in that, The training of the multi-step state predictor in step S6 includes: forming training samples by combining historical dual-scale fused state representations with state values ​​or state categories, state transition markers, and state transition times for multiple future prediction steps; updating the multi-step state predictor using a weighted sum of state prediction loss, state transition risk loss, and transition time deviation loss, and weighting the loss contribution of each training sample according to the data quality representation, wherein the transition time deviation loss is calculated only for training samples whose state transition markers indicate that a state transition has occurred within the corresponding prediction range and have actual state transition times, and the transition time deviation loss is masked for the remaining training samples; the multi-step state predictor outputs a state prediction result including the state value or state category probability, the state transition risk, and the expected transition time for each future prediction step.

9. The state prediction and early warning method based on dual-scale fusion of mutation trends according to claim 8, characterized in that, The anchor point condition calibration in step S6 includes: determining the state stage boundary based on the distribution of state prediction results in calibration samples with state stage labels; determining a stable state stage, transitional state stage, or degenerate state stage based on the current state prediction result and the state stage boundary; maintaining calibration queues according to the determined state stages and different future prediction steps; and determining the state risk boundary by the quantile of the state transition risk distribution corresponding to the calibration sample where a state transition has occurred, indicated by the actual state transition marker within the corresponding state stage and future prediction step; generating a risk inconsistency score based on the difference between the state transition risk of the calibration sample and the corresponding actual state transition marker; and only addressing inconsistencies that occur within the corresponding prediction range. For calibration samples that undergo state transition and have actual state transition times, a time inconsistency score is generated based on the difference between the expected transition time and the corresponding actual state transition time. The minimum effective sample size for risk scores and time scores is determined using the order statistic of the quantiles corresponding to the target coverage. The effective number of risk inconsistency scores and time inconsistency scores generated in the same manner in the training samples is counted. If the training risk score or training time score within the corresponding state stage and future prediction step does not reach the corresponding minimum effective sample size, similar training scores from adjacent state stages and all state stages are merged sequentially according to the same future prediction step. When the training risk score or training time score within the corresponding state stage and future prediction step... When the training risk score or the merged training risk score reaches the minimum effective sample size for the risk score, an initial risk interval is formed by the quantiles of the training risk scores that meet the aforementioned quantity condition; otherwise, the state transition risk output range of the multi-step state predictor is used as the initial risk interval. When the training time score or the merged training time score within the corresponding state stage and future prediction step reaches the minimum effective sample size for the time score, an initial time interval is formed by the quantiles of the training time scores that meet the aforementioned quantity condition; otherwise, the complete prediction time range of the multi-step state predictor is used as the initial time interval. Only when the propagation consistency representation reaches the confirmation threshold and the data quality representation... Samples that meet the queuing criteria determined by the quality quantiles of the calibration samples are added to the corresponding calibration queue. When the operating condition switching probability reaches the freeze threshold determined by the stable historical segment operating condition switching probability quantiles, or when the change in state transition risk of consecutive prediction steps reaches the model following risk threshold determined by the risk change quantiles of the calibration samples, the sample updates of the corresponding calibration queue are frozen, and the sequential quantiles of risk inconsistency scores and time inconsistency scores before the freeze are used during the freeze period. When both the operating condition switching probability and the change in state transition risk have not reached the release threshold determined by the corresponding quantity quantiles of the calibration samples for consecutive steps and a preset release step number has been reached, the sample updates of the corresponding calibration queue are restored.When the number of valid risk inconsistency scores in the corresponding calibration queue does not reach the minimum valid sample size of the risk score, the risk inconsistency scores in adjacent state stage calibration queues are merged according to the same future prediction step. For the corresponding calibration queue or the merged calibration queue, the initial risk interval is used when the number of valid risk inconsistency scores does not reach the minimum valid sample size of the risk score or is frozen before the first valid sequential quantile of risk is formed; otherwise, the state transition risk is corrected according to the sequential quantile of the risk inconsistency scores to form the state risk interval. When the number of valid time inconsistency scores in the corresponding calibration queue does not reach the minimum valid sample size of the time score, the time inconsistency scores in adjacent state stage calibration queues are merged according to the same future prediction step. For the corresponding calibration queue or the merged calibration queue, the initial time interval is used when the number of valid time inconsistency scores does not reach the minimum valid sample size of the time score or is frozen before the first valid sequential quantile of time is formed; otherwise, the expected transition time is corrected according to the sequential quantile of the time inconsistency scores to form the transition time interval.

10. The state prediction and early warning method based on dual-scale fusion of mutation trends according to claim 9, characterized in that, Step S6, generating the early warning result based on the state risk interval and the transition time interval, includes: determining a risk breach as the lower boundary of the state risk interval crossing the state risk boundary corresponding to the current state stage and the corresponding future prediction step; limiting the early warning lead time range to a time range after the current time but excluding the current time; triggering an early warning when the number of consecutive future prediction steps for the risk breach reaches the number of steps determined by the quantile of the distribution of consecutive future prediction steps for the risk breach in the calibration sample, and the transition time interval intersects with the early warning lead time range; triggering an early warning only when the risk breach occurs in the state risk interval of the future prediction step closest to the current time and the transition time interval includes the current time, and suppressing early warnings for the same prediction time; determining the early warning level based on the magnitude by which the state risk interval crosses the state risk boundary and the distance between the transition time interval and the current time.