Industrial plc data backup management method and system integrating history database
By constructing a version-operating condition matching dataset, performing time-series feature extraction and response mapping analysis, filtering transitional versions and planning transitional paths, the problem of version mismatch and operating condition in industrial PLC data backup management was solved, and stable and safe version switching of the PLC system was achieved.
Patent Information
- Application Number
- CN202611291100.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-24
- Publication Date
- 2026-11-20
AI Technical Summary
In existing technologies, industrial PLC data backup management suffers from semantic separation between version and operating condition data, making precise binding impossible. This leads to a mismatch between the version and operating condition during version rollback operations, which can easily cause production failures and control malfunctions.
A version-operating condition pairing dataset is constructed. By acquiring version information, control data, and operating condition feature matrices, time-series feature extraction and response mapping relationship analysis are performed to filter out steady-state operating condition information and transition versions, plan target transition paths, and achieve stability and security of PLC system version switching.
It enables the orderly operation of the PLC system version rollback process, improves the traceability and stability of data backup management, avoids sudden changes in operating conditions and safety risks, and ensures the continuity and reliability of production.
Smart Images

Figure CN123137178A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial data backup technology, and more specifically to an industrial PLC data backup management method and system that integrates a historical database. Background Technology
[0002] In industrial automation systems, Programmable Logic Controllers (PLCs) are the core control units, widely used in manufacturing execution, distributed control, and production line equipment control. They can collect, process, and feedback field signals in real time. With the advancement of industrial digitalization and intelligent manufacturing, PLC operating data has become a key data asset for production traceability, fault diagnosis, and optimization decision-making. The industry often uses historical databases to perform periodic or real-time backups of PLC data to ensure long-term data retention and traceability. However, in actual deployments, due to factors such as heterogeneous PLC data structures, complex communication methods, and inconsistent database storage models, data backups have significant shortcomings in terms of consistency, operational efficiency, and usability.
[0003] Currently, in industrial automation data backup and recovery scenarios, existing technologies only focus on verifying the integrity of backup files and recording timestamp versions. They have not yet established a semantic association and quantitative mapping system between discrete control versions and continuous operating condition data. Version updates only retain timestamps, failing to accurately bind with continuously running database data. When performing data recovery and version rollback operations, the compatibility between the version and the actual operating conditions cannot be determined based on historical operating characteristics. This fragmented data semantics results in a lack of feature identification and risk prediction capabilities for related operations, easily leading to version-operating condition mismatches, ultimately causing production failures and control malfunctions.
[0004] In other words, the existing technology for integrating historical databases for industrial PLC data backup management is ineffective. Summary of the Invention
[0005] The purpose of this invention is to provide an industrial PLC data backup management method and system with integrated historical database, which solves the technical problem that the data backup management effect of industrial PLCs with integrated historical database is poor in the prior art.
[0006] In a first aspect, one embodiment of the present invention provides an industrial PLC data backup management method integrating a historical database, the method comprising: Obtain the version-operating condition pairing dataset, which includes version information, corresponding control data, and associated operating condition feature matrix. The version information includes multiple control versions that correspond one-to-one with various PLC operating conditions. The control data includes multiple control parameters of the PLC under different control versions and the parameter value of each control parameter. The operating condition feature matrix includes multiple operating condition variables of the PLC under different operating periods and the time-series monitoring value of each operating condition variable. Based on the version-operating condition paired dataset, time-series features are extracted from the operating condition feature matrix to obtain the operating condition feature vector. The control data and the operating condition feature vector are then analyzed to obtain the corresponding response mapping relationship. The response mapping relationship is used to characterize the degree of influence of changes in control parameters on the steady-state operating value of the operating condition variable. Extract steady-state operating condition information that characterizes version characteristics, and based on response mapping relationship and steady-state operating condition information, filter multiple transition versions that are associated with source version and target version from multiple control versions. Among them, steady-state operating condition information is used to characterize the stability of PLC operation after version switching, and transition version is used to characterize the intermediate control version that has not triggered abnormal operating condition alarms through historical operation data verification during the iteration process from source version to target version. Based on the steady-state operating condition information of each transition version, a target transition path containing multiple transition versions is determined, and the PLC system is switched from the source version to the target version based on the target transition path.
[0007] In one embodiment, the step of obtaining the version-condition pairing dataset includes: Get a version snapshot that includes version identifier information and change timestamps; The multiple preset control parameters and the parameter values of each control parameter are assembled into control data according to preset dimensions; Based on the change timestamp, extract the operating condition variable data within the preset time window and construct the corresponding operating condition feature matrix. The operating condition variable data includes operating condition variables and time-series monitoring values. By associating version identification information, control data, and operating condition feature matrix, a version-operating condition pairing dataset is obtained.
[0008] In one embodiment, the step of obtaining the response mapping relationship includes: A time-series fluctuation analysis is performed on each operating segment corresponding to the operating condition feature matrix to extract the steady-state operating interval. The steady-state operating interval is used to characterize the continuous period when the production operating condition is in a stable evolution state. Based on the version-operating condition pairing dataset, the change in the parameter values of control parameters between adjacent control versions and the mean offset of the time-series monitoring values of the corresponding operating condition variables in the steady-state operating range are obtained, and the response gain is calculated based on the change and the mean offset. Based on the response gain, a response mapping relationship between control parameters and operating condition variables is constructed.
[0009] In one embodiment, the step of filtering multiple transitional versions of the associated source and target versions from multiple control versions based on response mapping relationships and steady-state operating condition information includes: Based on the time sequence number of the version information, determine multiple candidate versions whose time sequence number is between the source version and the target version from multiple control versions; The high-impact control parameters are determined based on the response mapping relationship, and the first similarity between each candidate version and the source version on the high-impact control parameters, as well as the second similarity between each candidate version and the target version on the high-impact control parameters, are calculated. Based on steady-state operating condition information, the steady-state fluctuation index, safety margin index, and control response index corresponding to each candidate version are calculated. Among them, the steady-state fluctuation index represents the degree of dispersion of the operating condition variables of the candidate version from their steady-state mean within the steady-state operating range; the safety margin index represents the safe distance between the operating condition variables of the candidate version and their corresponding process safety threshold; and the control response index represents the degree of matching between the control data of the candidate version and the dynamic response characteristics of the operating condition variables. The steady-state fluctuation index, safety margin index, and control response index are normalized to obtain the steady-state normalized value, safety normalized value, and response normalized value. The steady-state normalized value, safety normalized value, and response normalized value are then weighted and fused to obtain the comprehensive stability score of each candidate version. Based on preset screening criteria, multiple transitional versions are determined from multiple candidate versions. The preset screening criteria include: both the first similarity and the second similarity are greater than preset similarity thresholds, and the overall stability score is greater than preset stability thresholds.
[0010] In one embodiment, the step of determining a target transition path containing multiple transition versions based on the steady-state operating condition information of each transition version includes: Based on the source version, target version, and multiple transition versions, a version connection network is constructed using preset path topology rules, and multiple initial candidate paths connecting the source version and the target version are searched in the version connection network. Obtain the steady-state operating condition information of each transition version in each initial candidate path, and aggregate the steady-state operating condition information of each transition version to obtain the path comprehensive stability value corresponding to the initial candidate path. From multiple initial candidate paths, the initial candidate path whose overall stability value meets the preset optimal conditions is determined as the target transition path.
[0011] In one embodiment, the steps of calculating the steady-state fluctuation index, safety margin index, and control response index corresponding to each candidate version based on steady-state operating condition information include: Calculate the fluctuation dispersion of each operating condition variable in the steady-state operating range in the steady-state operating condition information of the candidate version to obtain the steady-state fluctuation index; The safety margin index is obtained by calculating the safe distance between the steady-state mean of each operating condition variable in the steady-state operating condition information of the candidate version and the preset process safety boundary. Based on the response mapping relationship, the difference in response characteristics between the candidate version and the source version in terms of the degree of influence of high-impact control parameters on operating condition variables is calculated, and the control response index is obtained.
[0012] In one embodiment, the step of extracting time-series features from the operating condition feature matrix based on a version-operating condition paired dataset to obtain an operating condition feature vector includes: Obtain the operating condition feature matrix corresponding to each control version from the version-operating condition pairing dataset; For each operating segment in the operating condition feature matrix, extract the time-series monitoring value sequence of each operating condition variable within the operating segment; Multiple time series segments are obtained by truncating the time series monitoring value sequence through a sliding window with a preset time window length; Calculate the statistical characteristic value and trend characteristic value for each time segment. The statistical characteristic value shall include at least the mean, variance and range, and the trend characteristic value shall include at least the rate of change and the frequency of fluctuation. By fusing statistical characteristic values and trend characteristic values, the operating condition characteristic vector of the operating condition variable is obtained.
[0013] In one embodiment, the method further includes: During the process of switching the PLC system from the source version to the target version, operating condition data is collected in real time, and a comprehensive fluctuation index is calculated based on the operating condition data. In response to the overall volatility index exceeding the preset first volatility threshold, the issuance of control parameters is suspended, and the control parameters are maintained until the overall volatility index falls back to within the first volatility threshold. When the cumulative number of times the comprehensive fluctuation index exceeds the first fluctuation threshold reaches the preset termination condition, the switching operation is terminated, and the control parameters of the PLC system are restored to the values corresponding to the original version.
[0014] Secondly, another embodiment of the present invention provides an industrial PLC data backup management system integrating a historical database, the system comprising: The acquisition module is used to acquire the version-operating condition pairing dataset. The version-operating condition pairing dataset includes version information, corresponding control data, and associated operating condition feature matrix. The version information includes multiple control versions that correspond one-to-one with various PLC operating conditions. The control data includes multiple control parameters of the PLC under different control versions and the parameter value of each control parameter. The operating condition feature matrix includes multiple operating condition variables of the PLC under different operating periods and the time-series monitoring value of each operating condition variable. The feature extraction module is used to extract time-series features from the working condition feature matrix based on the version-working condition paired dataset, and obtain the working condition feature vector. The analysis module is used to analyze control data and operating condition feature vectors to obtain the corresponding response mapping relationship. The response mapping relationship is used to characterize the degree of influence of changes in control parameters on the steady-state operating value of the operating condition variable. The filtering module is used to extract steady-state operating condition information that characterizes the version characteristics, and to filter multiple transition versions that are associated with the source version and the target version from multiple control versions based on the response mapping relationship and the steady-state operating condition information. The steady-state operating condition information is used to characterize the stability of the PLC operation after the version switch, and the transition version is used to characterize the intermediate control version that has not triggered abnormal operating condition alarms after being verified by historical operating data during the iteration process from the source version to the target version. The switching module is used to determine the target transition path containing multiple transition versions based on the steady-state operating condition information of each transition version, and to switch the PLC system from the source version to the target version based on the target transition path.
[0015] Thirdly, in another embodiment of the present invention, an electronic device is provided, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method described in the first aspect.
[0016] Fourthly, in another embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the method described in the first aspect.
[0017] The present invention has the following beneficial effects: This invention constructs a version-operating condition pairing dataset, integrating version information, control data, and operating condition feature matrices to form a standardized data system, providing reliable support for subsequent analysis and calculations. By extracting time-series features and establishing a response mapping relationship between control parameters and operating condition feature vectors, the impact of parameter changes on operating conditions can be quantified. Transitional version selection is completed by combining steady-state operating condition information; all selected intermediate versions have been verified through actual operation, effectively avoiding problems such as abnormal alarms during the switching process. Based on the steady-state characteristics of each version, a target transition path is planned, and PLC version switching is completed step by step, achieving coordinated cooperation between version iteration and stable operating condition control. This overcomes the shortcomings of traditional version switching methods, such as sudden changes in operating conditions, poor stability, and high safety risks, ensuring the orderly operation of the PLC system version rollback process, thereby improving the data backup management effect of industrial PLCs with integrated historical databases. Attached Figure Description
[0018] Figure 1 This is a flowchart illustrating the industrial PLC data backup management method with integrated historical database provided in an embodiment of the present invention. Figure 2 This is a schematic diagram of the structure of the industrial PLC data backup management system with integrated historical database provided in an embodiment of the present invention. Detailed Implementation
[0019] The specific solution of the industrial PLC data backup management method with integrated historical database provided by the present invention will be described in detail below with reference to the accompanying drawings.
[0020] This invention proposes an industrial PLC data backup management method integrating a historical database. Please refer to [link / reference]. Figure 1 The diagram illustrates a schematic flowchart of an industrial PLC data backup management method integrating a historical database, according to an embodiment of the present invention. The method includes the following steps: Step S1: Obtain the version-operating condition pairing dataset, which includes version information, corresponding control data, and associated operating condition feature matrix. The version information includes multiple control versions that correspond one-to-one with various PLC operating conditions. The control data includes multiple control parameters of the PLC under different control versions and the parameter value of each control parameter. The operating condition feature matrix includes multiple operating condition variables of the PLC under different operating periods and the time-series monitoring value of each operating condition variable.
[0021] The version-operating condition paired dataset refers to a standardized dataset that strictly aligns and binds the PLC control version with the operating condition data generated during the operation of that version according to timestamps. For example, each dataset corresponds to a complete record of stable operation after a PLC version change (program modification, parameter adjustment, firmware upgrade), and is the basic data unit for realizing bidirectional traceability between version and operating condition and building a smooth rollback path.
[0022] Version information refers to descriptive information used to uniquely identify and distinguish different PLC control states. Version information includes version identity (Version ID), change timestamp, change source, version type, etc.; multiple control versions correspond one-to-one with various PLC operating conditions, indicating that each stable production operating condition is matched with a unique control version, achieving a precise mapping of one operating condition to one version.
[0023] Control data is a set of core parameters used to characterize the PLC control strategy. For example, control data includes control parameters and corresponding parameter values under different control versions, such as proportional-integral-differential (PID) coefficients, speed / temperature / pressure setpoints, and operating mode codes. It is the core carrier of differences between versions and also the object that needs to be smoothly adjusted during the rollback process.
[0024] Control parameters refer to configurable parameters that are read from the PLC's designated address area and directly determine the control behavior.
[0025] It should be noted that, in the embodiments of the present invention, the differences between different control versions are mainly reflected in the changes in the values of control parameters, and the changes in parameters will directly trigger the response of operating condition variables.
[0026] The operating condition feature matrix includes multiple running segments that correspond one-to-one with various PLC operating conditions. It indicates that the matrix is divided into segments according to the stable running segments, with each segment corresponding to a certain operating condition. This matrix is used to extract the steady-state segment, calculate the operating condition deviation, and evaluate stability and safety margin.
[0027] For example, the operating condition feature matrix refers to a set of operating condition monitoring data stored in a structured form in the form of a time series, where columns represent operating condition variables and rows represent sampling times.
[0028] Operating condition variables refer to process monitoring variables that reflect the actual production status of an industrial site. Examples include temperature, pressure, flow rate, current, speed, and vibration amplitude. These variables are used to extract steady-state segments of the operating condition, calculate operating condition deviations between versions, and assess the safety risks and stability of rollback nodes.
[0029] Time-series monitoring values refer to the time-series numerical sequences of operating condition variables continuously collected in historical databases, including real-time data collected from industrial historical databases. These values are used to calculate variance, steady-state mean, fluctuation indicators, and response gain, supporting all subsequent quantitative calculations and path generation.
[0030] It should be noted that, in the embodiments of this invention, by constructing a version-operating condition pairing dataset, discrete PLC control versions are deeply associated and bound with continuous field operating condition data, effectively solving the technical problem of semantic separation and inaccurate matching between control versions and operating conditions in traditional backup schemes. The version snapshot, control parameter feature vector, and operating condition feature matrix form a one-to-one spatiotemporal correlation, providing unified data support for subsequent extraction of steady-state operating conditions and calculation of control parameter-operating condition response gain.
[0031] Furthermore, the step of obtaining the version-operating condition pairing dataset includes: Get a version snapshot that includes version identifier information and change timestamps.
[0032] Among them, the version snapshot refers to the full set of version feature data actively captured by the system after the PLC program undergoes version changes (including logic modifications, parameter adjustments, firmware upgrades, etc.) and runs continuously for a preset stable period. It contains version identification information and change timestamps and is the only data archive unit that represents the PLC control version.
[0033] Version identification information refers to the identification data used to uniquely distinguish different PLC control versions. It mainly includes version ID, change source, version description, etc., which can realize quick retrieval, location and bidirectional traceability of backup versions.
[0034] The change timestamp refers to the precise time point at which a PLC version change is completed and enters a stable operating state. It is used to achieve time alignment and spatiotemporal association binding between version data and operating condition data, and is the only benchmark for version-operating condition pairing.
[0035] Multiple preset control parameters and their values are assembled into control data according to preset dimensions.
[0036] For example, multiple pre-selected control parameters and their corresponding values are structurally assembled according to pre-defined dimensions to form a unified, quantifiable, and version-comparable control data set. The pre-defined dimensions are determined based on the PLC control strategy, process control objectives, and data traceability requirements. Control parameters include PID coefficients, setpoints, operating mode codes, and other parameters directly related to the control logic. The structured control data can characterize the features of the current version of the control strategy, providing a standardized data foundation for subsequent processing such as control parameter-condition response mapping modeling.
[0037] Based on the change timestamp, the operating condition variable data within the preset time window is extracted, and the corresponding operating condition feature matrix is constructed. The operating condition variable data includes operating condition variables and time-series monitoring values.
[0038] Among them, the historical database refers to a dedicated database in industrial automation systems that stores real-time operating data of PLCs and data collected by sensors over a long period of time, providing the ability to query and archive time-series data.
[0039] The time window refers to the data extraction time range preset according to the process response characteristics, centered on the change timestamp, covering the transition state before the version change and the steady state after the change, to ensure that the operating condition data is complete and valid.
[0040] Operating condition variable data refers to process data monitored in real time at the production site, including operating condition variables (temperature, pressure, flow rate, current, vibration, etc.) and time-series monitoring values (values recorded according to the sampling time).
[0041] By associating version identification information, control data, and operating condition feature matrix, a version-operating condition pairing dataset is obtained.
[0042] For example, taking the PLC control of an automotive parts stamping production line as an example, after the stamping machine PLC completes the adjustment of parameters such as pressure setting, holding time, and running speed due to mold replacement, the system automatically captures a version snapshot after determining stable operation, recording key information such as version ID and change timestamp; the control parameters such as pressure, holding time, and running speed and their values are assembled into a control data vector according to preset dimensions, and the corresponding time period's operating condition data is extracted from the historical database based on the change timestamp to construct an operating condition feature matrix; the version identifier, control data vector, and operating condition feature matrix are associated and bound to form complete version-operating condition pairing data, which is then uniformly stored in the historical database for management.
[0043] It should be noted that, in the embodiments of the present invention, by binding the version with the operating condition and using the change timestamp as a unified time reference, the problem of time misalignment and semantic fragmentation between discrete control versions and continuous operating condition data is effectively solved, and the version and corresponding operating condition are accurately traceable. The control data and the operating condition feature matrix are both in a standardized and structured form, which can support the quantitative calculation of indicators such as version deviation, response gain, and operating condition stability, and improve the traceability of PLC backup and rollback.
[0044] Step S2: Based on the version-operating condition paired dataset, extract time-series features from the operating condition feature matrix to obtain the operating condition feature vector. Analyze the control data and the operating condition feature vector to obtain the corresponding response mapping relationship. The response mapping relationship is used to characterize the degree of influence of changes in control parameters on the steady-state operating value of the operating condition variable.
[0045] Among them, time-series feature extraction refers to using the sliding window variance analysis method to extract the transitional state data after version change from the operating condition feature matrix, select the steady-state segment of the operating condition that can truly reflect the effect of version control, retain stable operating data, and avoid the introduction of invalid biases in the transitional state that may interfere with subsequent quantitative analysis.
[0046] The response mapping relationship refers to the response gain matrix constructed based on the quantitative correlation between changes in control parameters and changes in operating condition feature vectors. It is used to quantitatively characterize the degree of influence of each control parameter on the operating condition and to screen out the high-impact control parameters that have the most significant impact on the production status.
[0047] Response gain refers to the ratio of the absolute value of the steady-state mean change of the operating condition characteristic vector to the absolute value of the change of the control parameter. It is used to quantify the transmission strength of the change of control parameter to the change of the operating condition characteristic vector and is a calculation index for constructing response mapping relationships.
[0048] For example, for each control parameter and operating condition feature vector, the absolute value of the steady-state mean change of the operating condition feature vector is calculated, and the ratio of the absolute value of the change of the control parameter plus a minimum positive number is obtained to obtain the response gain; wherein, the minimum positive number is used to avoid the denominator being zero and to ensure that the calculation is valid.
[0049] Furthermore, the step of obtaining the response mapping relationship includes: A time-series fluctuation analysis is performed on each operating segment corresponding to the operating condition feature matrix to extract the steady-state operating interval. The steady-state operating interval is used to characterize the continuous period when the production operating condition is in a stable evolution state.
[0050] Among them, time series fluctuation analysis refers to using the sliding window variance analysis method to calculate the degree of fluctuation of each variable in the operating condition feature matrix segment by segment, identify the stationarity of the data, and distinguish between transition state and steady state data.
[0051] The steady-state operating range refers to the continuous period with the smallest comprehensive fluctuation index in time-series fluctuation analysis. It represents the production period after the PLC version change and the stable effectiveness of the control strategy, and is used to eliminate transient interference data.
[0052] Based on the version-operating condition paired dataset, the change in the parameter values of control parameters between adjacent control versions and the mean offset of the time-series monitoring values of the corresponding operating condition variables within the steady-state operating range are obtained, and the response gain is calculated based on the change and the mean offset.
[0053] Among them, the parameter value change refers to the difference in value of the same control parameter between two adjacent PLC control versions, reflecting the parameter adjustment range of version iteration.
[0054] The mean offset of the time-series monitoring value of the operating condition variable refers to the difference in the mean of the same operating condition variable between adjacent versions within the steady-state operating range, representing the actual change in operating condition caused by parameter adjustment.
[0055] Based on the response gain, a response mapping relationship between control parameters and operating condition variables is constructed.
[0056] For example, a response mapping relationship is constructed based on response gain to quantitatively characterize the degree and transmission strength of the influence of numerical changes in control parameters on the time-series monitoring values of operating condition variables. The response gain is obtained by calculating the ratio of the absolute value of the change in the steady-state mean of the operating condition feature vector to the absolute value of the change in the control parameter, objectively reflecting the actual magnitude of the impact of a single control parameter change on each operating condition feature vector. By constructing a response mapping relationship matrix with the response gain as the core element, a many-to-many quantitative correlation model between control parameters and operating condition feature vectors can be established, thereby distinguishing between high-impact parameters and secondary parameters. This provides a reliable weighting basis for subsequent data processing, achieving a deep semantic association between discrete control versions and continuous operating condition data, and improving the safety and accuracy of version rollback.
[0057] Furthermore, the step of extracting time-series features from the working condition feature matrix based on the version-working condition paired dataset to obtain the working condition feature vector includes: Obtain the operating condition feature matrix corresponding to each control version from the version-operating condition pairing dataset.
[0058] For example, the operating condition feature matrix corresponding to each PLC control version is retrieved and obtained from the pre-built version-operating condition pairing dataset. The operating condition feature matrix is a set of time series data that has been standardized and preprocessed. It represents various operating condition variables such as temperature, pressure, flow rate, and current in column form and each sampling time in row form. This provides a standardized, unified, and directly usable data foundation for subsequent time series feature extraction, steady-state segment identification, and quantitative calculation of operating condition deviation between versions.
[0059] For each operating segment in the operating condition feature matrix, extract the time-series monitoring value sequence of each operating condition variable within the operating segment.
[0060] The runtime segment refers to a continuous sampling time interval in the operating condition feature matrix, covering the transitional and steady-state operation processes after version change.
[0061] The time-series monitoring value sequence of operating condition variables refers to the continuous numerical sequence of a single operating condition variable (such as temperature) collected at a fixed sampling period within a single operating segment.
[0062] Multiple time series segments are obtained by extracting the time series monitoring value sequence through a sliding window with a preset time window length.
[0063] In this context, "truncation" refers to dividing a long time series into multiple short time series segments using a fixed-length time window and a single-step sliding method, for use in local feature analysis.
[0064] Calculate the statistical characteristic value and trend characteristic value for each time series segment. The statistical characteristic value includes at least the mean, variance, and range, and the trend characteristic value includes at least the rate of change and the frequency of fluctuation.
[0065] Among them, statistical characteristic values refer to indicators that describe the central tendency and dispersion of time series segments, including mean, variance, and range.
[0066] Trend characteristic values refer to indicators that describe the direction of change and fluctuation patterns of time series segments, including rate of change and fluctuation frequency.
[0067] By fusing statistical characteristic values and trend characteristic values, the operating condition characteristic vector of the operating condition variable is obtained.
[0068] Feature fusion refers to combining statistical features and trend features according to rules to generate a comprehensive working condition feature vector that can fully represent the working condition status during that period.
[0069] It should be noted that, in the embodiments of the present invention, by using sliding window slicing and multi-dimensional feature calculation, the steady-state segment of the operating condition can be located, and the operating condition status can be comprehensively characterized by the fusion of statistical features and trend features. Compared with a single mean or variance index, this method reflects the operating characteristics of the operating condition more completely, and improves the accuracy and reliability of the version-operating condition correlation.
[0070] Step S3: Extract steady-state operating condition information that characterizes the version characteristics, and based on the response mapping relationship and steady-state operating condition information, filter multiple transition versions that are associated with the source version and the target version from multiple control versions. The steady-state operating condition information is used to characterize the stability of the PLC operation after the version switch, and the transition version is used to characterize the intermediate control version that has not triggered abnormal operating condition alarms through historical operation data verification during the iteration process from the source version to the target version.
[0071] Among them, steady-state operating condition information is used to characterize the stability of PLC operation after switching from the first version to the second version. The first version and the second version are any two different control versions among multiple control versions.
[0072] Steady-state operating condition information refers to stable operating state data extracted from operating condition segments after a PLC version change using the sliding window variance analysis method, which can truly reflect the inherent characteristics of the control strategy of that version; it is used to quantitatively characterize the degree to which the PLC system enters stable operation after any two version switches.
[0073] Control version refers to a version unit generated by the system actively capturing snapshots after the PLC program has undergone changes such as logic modification, parameter adjustment, and firmware upgrade, and has been verified through a stable period. It includes version ID, change timestamp, and control parameter feature vector.
[0074] The source version refers to the initial control version that the system is currently running when a version rollback operation is performed. As the starting point of the rollback process, the system gradually switches from this version to the target version through intermediate transition versions.
[0075] The target version refers to the historical backup control version specified by the user and expected to be the final rollback destination. As the endpoint of the rollback process, it is usually a secure version that has been verified in actual field operation and is stable and reliable.
[0076] Transitional versions refer to intermediate control versions whose timing numbers are between the source version and the target version, which have been verified in field operation to meet the requirements for continuous and stable operation, and have no records of control failures, interlock shutdowns, or abnormal alarms. They are used to avoid drastic fluctuations in operating conditions caused by direct switching across versions and to ensure a smooth and safe rollback process.
[0077] Furthermore, the step of filtering multiple transitional versions of the associated source and target versions from multiple control versions based on response mapping relationships and steady-state operating condition information includes: Based on the timing number of the version information, multiple candidate versions with timing numbers between the source version and the target version are determined from multiple control versions.
[0078] The version information sequence number refers to a unique consecutive number assigned according to the order in which the PLC control version changes. The smaller the number, the older the version, and the larger the number, the newer the version. This can quickly determine the chronological relationship between versions and serve as a basis for screening intermediate candidate versions.
[0079] Candidate versions refer to historical valid versions whose timing numbers are between the source version and the target version and can be used as a rollback transition springboard. Such versions must meet the preset stable running time conditions and have no records of control failures, interlock shutdowns, or abnormal alarms. They constitute the alternative set of transition versions.
[0080] The high-impact control parameters are determined based on the response mapping relationship, and the first similarity between each candidate version and the source version on the high-impact control parameters, as well as the second similarity between each candidate version and the target version on the high-impact control parameters, are calculated.
[0081] Among them, high-impact control parameters refer to control parameters that contribute the most to changes in operating condition variables and play a dominant role, such as PID parameters and key setpoints. By focusing on core parameters for matching calculations, the interference of secondary parameters can be effectively eliminated, improving the accuracy and execution efficiency of version rollback.
[0082] The first similarity is used to characterize the degree of similarity between the candidate version and the source version in terms of the weighted parameters of high-impact control parameters. The closer its value is to 1, the higher the consistency of the parameters between the two, and the smaller the operating condition fluctuation caused when switching from the source version to the candidate version.
[0083] The second similarity is used to characterize the degree of closeness between the candidate version and the target version in terms of the weighted parameters of the high-impact control parameters, in order to ensure that the candidate version is between the source version and the target version and achieve a smooth transition during the version rollback process.
[0084] Based on steady-state operating condition information, the steady-state fluctuation index, safety margin index, and control response index corresponding to each candidate version are calculated. Among them, the steady-state fluctuation index represents the degree of dispersion of the operating condition variables of the candidate version from their steady-state mean within the steady-state operating range; the safety margin index represents the safe distance between the operating condition variables of the candidate version and their corresponding process safety threshold; and the control response index represents the degree of matching between the control data of the candidate version and the dynamic response characteristics of the operating condition variables.
[0085] The steady-state fluctuation index is used to characterize the dispersion and fluctuation level of operating variables relative to their own mean when a candidate version is in a steady-state operation phase. The smaller the value of this index, the more stable the operating state of the corresponding version, and it is a direct basis for judging the stability of the operating conditions.
[0086] The safety margin index is used to measure the degree of deviation between the operating conditions of the candidate version and the process safety thresholds and interlock triggering conditions. The larger the index value, the further the operating conditions are from the alarm and shutdown limits, and the higher the operational safety. It is a core safety evaluation index in industrial production scenarios.
[0087] Control response metrics are used to characterize the degree of matching between the control logic and operating condition response characteristics of the candidate version and the source version. They can reflect whether the impact of parameter changes on operating conditions between different versions tends to be consistent, thereby ensuring that the state of the version switching process is controllable and avoiding sudden changes in operating conditions.
[0088] The steady-state fluctuation index, safety margin index, and control response index are normalized to obtain steady-state normalized value, safety normalized value, and response normalized value. The steady-state normalized value, safety normalized value, and response normalized value are then weighted and fused to obtain the comprehensive stability score of each candidate version.
[0089] The steady-state normalized value refers to the quantified value obtained after dimensionless and interval-unified processing of the steady-state fluctuation index. The steady-state fluctuation index is used to characterize the fluctuation and stability of equipment during long-term operation. Normalization can eliminate differences in data units and magnitudes, and intuitively reflect the continuous operational stability of each candidate version.
[0090] The safety normalization value refers to the quantified value obtained after normalizing the safety margin index. The safety margin index reflects the redundancy capability and fault tolerance space of the system's safety interlocks. After normalization, a unified evaluation standard can be established to objectively assess the operational safety assurance level of each candidate version.
[0091] The normalized response value refers to the quantified value obtained after normalizing the control response index. The control response index is used to measure the response speed, regulation accuracy, and tracking performance of a control system. Normalization can eliminate data bias, thereby evaluating the dynamic control capability of each candidate version.
[0092] The comprehensive stability score is a comprehensive evaluation score obtained by weighting and integrating steady-state fluctuation indicators, safety margin indicators, and control response indicators. The higher the score, the more stable the operation and the higher the overall security of the corresponding version when it is used as a rollback transition node.
[0093] Based on preset screening criteria, multiple transitional versions are determined from multiple candidate versions. The preset screening criteria include: both the first similarity and the second similarity are greater than preset similarity thresholds, and the overall stability score is greater than preset stability thresholds.
[0094] The preset screening criteria are a judgment rule that simultaneously constrains parameter similarity and operational stability, which can ensure that the selected candidate versions not only have high parameter matching degree, but also stable operation status, thereby avoiding operational risks during version rollback.
[0095] Furthermore, the step of calculating the steady-state fluctuation index, safety margin index, and control response index corresponding to each candidate version based on steady-state operating condition information includes: The fluctuation dispersion of each operating condition variable in the steady-state operating range of the candidate version's steady-state operating condition information is calculated to obtain the steady-state fluctuation index.
[0096] Among them, volatility dispersion refers to the degree of data dispersion of operating condition variables within the steady state range, measured by standard deviation / variance. The larger the value, the more unstable the operating condition.
[0097] The safety margin index is obtained by calculating the safe distance between the steady-state mean of each operating condition variable in the steady-state operating condition information of the candidate version and the preset process safety boundary.
[0098] Among them, the preset process safety boundary is the interlock trigger upper and lower limit threshold of the PLC system, which defines the safe operating range of the process. When the operating data exceeds the range, the system will automatically trigger an alarm or shutdown protection.
[0099] The safety distance is the absolute difference between the steady-state mean of the operating condition variable and the process safety boundary threshold. It is used to intuitively reflect the degree of deviation between the current operating condition and the dangerous limit.
[0100] Based on the response mapping relationship, the difference in response characteristics between the candidate version and the source version in terms of the degree of influence of high-impact control parameters on operating condition variables is calculated, and the control response index is obtained.
[0101] Among them, the difference in response characteristics is used to characterize the degree of deviation between the candidate version and the source version in terms of the influence of control parameters on operating condition variables, which can effectively evaluate the continuity and consistency of control logic in different versions.
[0102] For example, based on the mapping matrix between control parameters and operating condition variables, the historical average response gain of each high-impact control parameter to each operating condition variable in both the candidate and source versions is obtained; the ratio of the absolute value of the difference in response gain between the two versions to the sum of the absolute values of their response gains is calculated; the average of the ratios calculated for all combinations of high-impact control parameters and operating condition variables is taken, and this average value is the control response index. The smaller the value of this index, the more consistent the control path response characteristics of the candidate and source versions are, and the better the controllability of the transition from the source version to the candidate version.
[0103] Step S4: Based on the steady-state operating condition information of each transition version, determine the target transition path that includes multiple transition versions, and switch the PLC system from the source version to the target version based on the target transition path.
[0104] The target transition path is a smooth rollback path that starts from the source version, ends at the target version, inserts secure intermediate nodes selected through parameter matching and multi-dimensional stability assessment, and arranges them in chronological order. This path includes a complete sequence of version nodes and the corresponding adaptation transition time between each node.
[0105] Furthermore, the step of determining a target transition path containing multiple transition versions based on the steady-state operating condition information of each transition version includes: Based on the source version, target version, and multiple transition versions, a version connection network is constructed using preset path topology rules, and multiple initial candidate paths connecting the source version and the target version are searched within the version connection network.
[0106] Among them, the path topology rule refers to filtering valid versions based on version time sequence number, retaining versions that meet stable operation requirements and have no abnormal records, and sorting them by combining parameter similarity and operational stability, in order to standardize the legal connection relationship between versions.
[0107] Version connection network refers to a directed version topology graph constructed by using source version, target version and transition version as network nodes and the safe switching relationship between versions as connection edges.
[0108] The initial candidate path refers to all feasible paths in the version connection network that can connect the source version and the target version. A single path consists of multiple transition versions arranged in sequence.
[0109] Obtain the steady-state operating condition information of each transition version in each initial candidate path, and aggregate the steady-state operating condition information of each transition version to obtain the path comprehensive stability value corresponding to the initial candidate path.
[0110] Among them, aggregation calculation refers to the weighted fusion of steady-state operating condition indicators of all transition versions on the path to obtain the overall stability level of the entire path.
[0111] The overall stability value of a path refers to a quantitative score of the overall safety, stability, and controllability of a candidate path. The higher the value, the safer the path.
[0112] From multiple initial candidate paths, the initial candidate path whose overall stability value meets the preset optimal conditions is determined as the target transition path.
[0113] Among them, the optimal condition is to use the maximum comprehensive stability value of the path as the criterion to select the version rollback path with the most stable operation and the lowest risk.
[0114] Furthermore, the method also includes: During the process of switching the PLC system from the source version to the target version, operating condition data is collected in real time, and a comprehensive fluctuation index is calculated based on the operating condition data.
[0115] Among them, operating condition data refers to key variables in the production process collected in real time on site, including monitoring data from various continuous sensors such as temperature, pressure, flow rate, current, and vibration.
[0116] The comprehensive fluctuation index is a quantitative indicator obtained by averaging the real-time fluctuation value of the operating condition with the historical steady-state fluctuation limit of the corresponding version. It is used to determine whether the current operating condition is experiencing severe fluctuations.
[0117] In response to the overall volatility index exceeding the preset first volatility threshold, the issuance of control parameters is suspended, and the control parameters are maintained until the overall volatility index falls back below the first volatility threshold.
[0118] The first fluctuation threshold (which can be set to 1.5 based on experience) refers to a pre-set safety threshold used to determine whether the operating conditions exceed the acceptable fluctuation range.
[0119] Control parameter delivery refers to the execution action of writing new control parameters to the PLC node by node according to the target transition path.
[0120] When the cumulative number of times the comprehensive fluctuation index exceeds the first fluctuation threshold reaches the preset termination condition, the switching operation is terminated, and the control parameters of the PLC system are restored to the values corresponding to the original version.
[0121] For example, the termination condition (e.g., 3 consecutive overruns) refers to the preset maximum number of pauses, which triggers the rollback and prevents further progress.
[0122] Restoring to the source version values means abandoning this switch and restoring all control parameters to their original values before the rollback began, ensuring production safety.
[0123] For example, when operating condition fluctuations exceed a threshold, execution is automatically paused to prevent further escalation of the anomaly. The system can autonomously perform operations such as pausing and standby recovery, improving the level of automation and reliability. If multiple anomalies occur, a forced termination and rollback to the source version will be implemented, effectively preventing system loss of control and malicious shutdowns. Simultaneously, the system will archive all anomalies and operational events into a historical database, forming a complete and traceable data record to facilitate subsequent fault analysis.
[0124] In summary, this invention constructs a version-operating condition pairing dataset, integrating version information, control data, and operating condition feature matrices to form a standardized data system, providing reliable support for subsequent analysis and calculations. By extracting time-series features and establishing a response mapping relationship between control parameters and operating condition feature vectors, the impact of parameter changes on operating conditions can be quantified. Transitional version selection is completed by combining steady-state operating condition information; all selected intermediate versions have been verified through actual operation, effectively avoiding problems such as abnormal alarms during the switching process. Based on the steady-state characteristics of each version, a target transition path is planned, and PLC version switching is completed step by step, achieving coordinated cooperation between version iteration and stable operating condition control. This overcomes the shortcomings of traditional version switching methods, such as sudden changes in operating conditions, poor stability, and high safety risks, ensuring the orderly operation of the PLC system version rollback process, thereby improving the data backup management effect of industrial PLCs with integrated historical databases.
[0125] This invention proposes an industrial PLC data backup and management system integrating a historical database. Please refer to [link / reference]. Figure 2 This illustration shows a structural diagram of an industrial PLC data backup management system 200 with an integrated historical database provided in an embodiment of the present invention. The system includes: The acquisition module 201 is used to acquire the version-operating condition pairing dataset, wherein the version-operating condition pairing dataset includes version information, corresponding control data and associated operating condition feature matrix. The version information includes multiple control versions that correspond one-to-one with multiple PLC operating conditions. The control data includes multiple control parameters of the PLC under different control versions and the parameter value of each control parameter. The operating condition feature matrix includes multiple operating condition variables of the PLC under different operating periods and the timing monitoring value of each operating condition variable. Feature extraction module 202 is used to extract time-series features from the working condition feature matrix based on the version-working condition pairing dataset to obtain the working condition feature vector; Analysis module 203 is used to analyze control data and operating condition feature vectors to obtain corresponding response mapping relationships. The response mapping relationship is used to characterize the degree of influence of changes in control parameters on the steady-state operating values of operating condition variables. The filtering module 204 is used to extract steady-state operating condition information that characterizes the version characteristics, and to filter multiple transition versions that are associated with the source version and the target version from multiple control versions based on the response mapping relationship and the steady-state operating condition information. The steady-state operating condition information is used to characterize the stability of the PLC operation after the version switch, and the transition version is used to characterize the intermediate control version that has not triggered abnormal operating condition alarms after being verified by historical operating data during the iteration process from the source version to the target version. The switching module 205 is used to determine the target transition path containing multiple transition versions based on the steady-state operating condition information of each transition version, and to switch the PLC system from the source version to the target version based on the target transition path.
[0126] It should be noted that the system provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer equipment can be divided into different functional modules to complete all or part of the functions described above. In addition, the industrial PLC data backup management system with integrated historical database provided in the above embodiments and the industrial PLC data backup management method with integrated historical database are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
Claims
1. A method for industrial PLC data backup management integrating a historical database, characterized in that, The method includes: Obtain a version-operating condition pairing dataset, wherein the version-operating condition pairing dataset includes version information, corresponding control data, and associated operating condition feature matrix. The version information includes multiple control versions that correspond one-to-one with various PLC operating conditions. The control data includes multiple control parameters of the PLC under different control versions and the parameter value of each control parameter. The operating condition feature matrix includes multiple operating condition variables of the PLC under different operating periods and the time-series monitoring value of each operating condition variable. Based on the version-operating condition paired dataset, time-series features are extracted from the operating condition feature matrix to obtain the operating condition feature vector. The control data and the operating condition feature vector are analyzed to obtain the corresponding response mapping relationship. The response mapping relationship is used to characterize the degree of influence of changes in control parameters on the steady-state operating value of the operating condition variable. Extract steady-state operating condition information that characterizes version characteristics, and based on the response mapping relationship and the steady-state operating condition information, filter multiple transitional versions that are associated with the source version and the target version from the multiple control versions. The steady-state operating condition information is used to characterize the stability of PLC operation after version switching, and the transitional version is used to characterize the intermediate control version that has not triggered abnormal operating condition alarms after historical operation data verification during the iteration process from the source version to the target version. Based on the steady-state operating condition information of each transition version, a target transition path containing multiple transition versions is determined, and the PLC system is switched from the source version to the target version based on the target transition path.
2. The industrial PLC data backup management method integrating a historical database according to claim 1, characterized in that, The steps for obtaining the version-operating condition paired dataset include: Get a version snapshot that includes version identifier information and change timestamps; The control data is assembled from multiple preset control parameters and the parameter values of each control parameter according to preset dimensions. Based on the change timestamp, extract the operating condition variable data within a preset time window and construct the corresponding operating condition feature matrix, wherein the operating condition variable data includes the operating condition variables and time-series monitoring values; The version identification information, the control data, and the operating condition feature matrix are associated to obtain a version-operating condition pairing dataset.
3. The industrial PLC data backup management method integrating a historical database according to claim 1, characterized in that, The steps for obtaining the response mapping relationship include: A time-series fluctuation analysis is performed on each operating segment corresponding to the operating condition feature matrix to extract the steady-state operating interval, wherein the steady-state operating interval is used to characterize the continuous period when the production operating condition is in a stable evolution state; Based on the version-operating condition pairing dataset, the change in the parameter values of the control parameters between adjacent control versions and the mean offset of the time-series monitoring values of the corresponding operating condition variables within the steady-state operating range are obtained, and the response gain is calculated based on the change and the mean offset. Based on the response gain, a response mapping relationship between control parameters and operating condition variables is constructed.
4. The industrial PLC data backup management method integrating a historical database according to claim 1, characterized in that, The step of filtering multiple transitional versions of the associated source version and target version from the multiple control versions based on the response mapping relationship and the steady-state operating condition information includes: Based on the timing number of the version information, determine multiple candidate versions whose timing numbers are located between the source version and the target version from the multiple control versions; Based on the response mapping relationship, high-impact control parameters are determined, and a first similarity between each candidate version and the source version on the high-impact control parameters is calculated, as well as a second similarity between each candidate version and the target version on the high-impact control parameters. Based on the steady-state operating condition information, the steady-state fluctuation index, safety margin index, and control response index corresponding to each candidate version are calculated; wherein, the steady-state fluctuation index characterizes the degree of dispersion of the operating condition variables of the candidate version from their steady-state mean within the steady-state operating range, the safety margin index characterizes the safety distance between the operating condition variables of the candidate version and their corresponding process safety threshold, and the control response index characterizes the degree of matching between the control data of the candidate version and the dynamic response characteristics of the operating condition variables; The steady-state fluctuation index, the safety margin index, and the control response index are normalized to obtain steady-state normalized value, safety normalized value, and response normalized value. The steady-state normalized value, the safety normalized value, and the response normalized value are then weighted and fused to obtain the comprehensive stability score of each candidate version. Based on preset screening criteria, multiple transitional versions are determined from the multiple candidate versions. The preset screening criteria include: the first similarity and the second similarity are both greater than a preset similarity threshold, and the comprehensive stability score is greater than a preset stability threshold.
5. The industrial PLC data backup management method integrating a historical database according to claim 1, characterized in that, The step of determining a target transition path containing multiple transition versions based on the steady-state operating condition information of each transition version includes: Based on the source version, the target version, and the multiple transition versions, a version connection network is constructed using preset path topology rules, and multiple initial candidate paths connecting the source version and the target version are searched in the version connection network. Obtain the steady-state operating condition information of each transition version in each initial candidate path, and perform aggregate calculation on the steady-state operating condition information of each transition version to obtain the path comprehensive stability value corresponding to the initial candidate path; From the plurality of initial candidate paths, the initial candidate path whose comprehensive stability value satisfies the preset optimal condition is determined as the target transition path.
6. The industrial PLC data backup management method integrating a historical database according to claim 4, characterized in that, The step of calculating the steady-state fluctuation index, safety margin index, and control response index corresponding to each candidate version based on the steady-state operating condition information includes: Calculate the fluctuation dispersion of each operating condition variable in the steady-state operating range of the candidate version's steady-state operating condition information to obtain the steady-state fluctuation index; The safety margin index is obtained by calculating the safe distance between the steady-state mean of each operating condition variable in the steady-state operating condition information of the candidate version and the preset process safety boundary. Based on the response mapping relationship, the difference in response characteristics between the candidate version and the source version in terms of the degree of influence of high-impact control parameters on operating condition variables is calculated, and the control response index is obtained.
7. The industrial PLC data backup management method integrating a historical database according to claim 1, characterized in that, The step of extracting time-series features from the working condition feature matrix based on the version-working condition paired dataset to obtain the working condition feature vector includes: Obtain the operating condition feature matrix corresponding to each control version from the version-operating condition pairing dataset; For each operating segment in the operating condition feature matrix, extract the time-series monitoring value sequence of each operating condition variable within the operating segment; The time-series monitoring value sequence is truncated by a sliding window with a preset time window length to obtain multiple time-series segments; Calculate the statistical characteristic value and trend characteristic value for each time segment, wherein the statistical characteristic value includes at least the mean, variance and range, and the trend characteristic value includes at least the rate of change and the frequency of fluctuation. The statistical feature values and the trend feature values are fused to obtain the operating condition feature vector of the operating condition variable.
8. The industrial PLC data backup management method integrating a historical database according to claim 1, characterized in that, The method further includes: During the process of switching the PLC system from the source version to the target version, operating condition data is collected in real time, and a comprehensive fluctuation index is calculated based on the operating condition data. In response to the comprehensive volatility index exceeding a preset first volatility threshold, the issuance of control parameters is paused, and the control parameters are maintained until the comprehensive volatility index falls back to within the first volatility threshold. In response to the cumulative number of times the comprehensive fluctuation index exceeds the first fluctuation threshold reaching a preset termination condition, the switching operation is terminated, and the control parameters of the PLC system are restored to the values corresponding to the source version.
9. An industrial PLC data backup management system integrating a historical database, characterized in that, The system includes: The acquisition module is used to acquire a version-operating condition pairing dataset, wherein the version-operating condition pairing dataset includes version information, corresponding control data, and associated operating condition feature matrix. The version information includes multiple control versions that correspond one-to-one with various PLC operating conditions. The control data includes multiple control parameters of the PLC under different control versions and the parameter value of each control parameter. The operating condition feature matrix includes multiple operating condition variables of the PLC under different operating periods and the time-series monitoring value of each operating condition variable. The feature extraction module is used to extract time-series features from the working condition feature matrix based on the version-working condition pairing dataset to obtain the working condition feature vector. The analysis module is used to analyze the control data and the operating condition feature vector to obtain the corresponding response mapping relationship, wherein the response mapping relationship is used to characterize the degree of influence of the control parameter change on the steady-state operating value of the operating condition variable; The filtering module is used to extract steady-state operating condition information that characterizes version characteristics, and to filter multiple transition versions associated with the source version and the target version from the multiple control versions according to the response mapping relationship and the steady-state operating condition information. The steady-state operating condition information is used to characterize the stability of PLC operation after version switching, and the transition version is used to characterize the intermediate control version that has not triggered abnormal operating condition alarms after verification by historical operating data during the iteration process of switching from the source version to the target version. The switching module is used to determine a target transition path containing multiple transition versions based on the steady-state operating condition information of each transition version, and to switch the PLC system from the source version to the target version based on the target transition path.
10. The industrial PLC data backup management system integrating a historical database according to claim 9, characterized in that, The acquisition module includes: The `get` submodule is used to retrieve a version snapshot that includes version identifier information and change timestamps. An assembly submodule is used to assemble multiple preset control parameters and the parameter values of each control parameter into the control data according to preset dimensions; A submodule is constructed to extract working condition variable data within a preset time window based on the change timestamp and construct a corresponding working condition feature matrix, wherein the working condition variable data includes the working condition variables and time-series monitoring values; The association submodule is used to associate the version identification information, the control data, and the operating condition feature matrix to obtain a version-operating condition pairing dataset.
