Abnormal behavior recognition recovery method and system for industrial computer

By using dual-end consistency monitoring of the industrial control computer and anomaly detection of the PLC program variable diagram, a chain monitoring topology is formed, which solves the problem of inaccurate anomaly location of the industrial control computer and achieves efficient fault recovery and protection for normal operation.

CN123177404APending Publication Date: 2026-11-27SHENZHEN SHUOKESI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611272972.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

When an industrial control computer malfunctions, it is difficult to accurately locate and specifically restore the fault, which can easily lead to an expanded reset range during fault recovery and affect the normal operation of the computer.

Method used

By collecting parameters from the industrial control computer host and the controlled equipment, dual-end consistency monitoring and anomaly detection based on the PLC program variable diagram are performed to form a chain monitoring topology and perform local reset management to restore normal operation.

Benefits of technology

It improves the accuracy of anomaly location and recovery, and reduces the impact on normal operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177404A_ABST
    Figure CN123177404A_ABST
Patent Text Reader

Abstract

The application discloses an abnormal behavior identification recovery method and system for an industrial computer, and relates to the technical field of industrial computers, and comprises the following steps: continuously collecting first running parameters and second execution response parameters of an industrial computer host, inputting the first running parameters and the second execution response parameters into first data terminals and second data terminals respectively, performing consistency docking monitoring, and obtaining abnormal identification information; if there is abnormal identification information and an abnormal event is triggered, performing variable calibration based on a program variable graph of a PLC program control logic, obtaining an abnormal category list; a plurality of processors in the industrial computer are sequentially connected in series through communication lines to form a chain monitoring topology, an abnormal context label is determined by analyzing the abnormal category list, and local reset and monitoring management of a target processor are performed until a normal operating state is restored. The application solves the technical problem that, in the prior art, after an abnormality of an industrial computer occurs, it is difficult to accurately locate and recover accordingly, and achieves the technical effects of improving the accuracy and pertinence of abnormality positioning and recovery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial control computer technology, and more specifically to a method and system for identifying and recovering abnormal behavior of industrial control computers. Background Technology

[0002] As the core control equipment in industrial control systems, the operating status of industrial PCs directly affects the stable operation of the controlled equipment. During long-term continuous operation, factors such as hardware performance degradation, program malfunctions, or external interference may cause abnormal operating parameters or control responses in industrial PCs. However, monitoring only the operating status of the industrial PC itself makes it difficult to accurately determine the source and scope of the abnormality in conjunction with the actual execution response of the controlled equipment. This makes it difficult to further pinpoint the specific program variables and corresponding processors after an abnormality occurs. Fault recovery often lacks specificity, easily expanding the reset scope and affecting the normal operation of the system. Summary of the Invention

[0003] This application provides a method and system for identifying and recovering abnormal behavior of industrial control computers, which is intended to address the technical problem in the prior art that it is difficult to accurately locate and specifically recover from abnormal behavior of industrial control computers.

[0004] In view of the above problems, this application provides a method and system for identifying and recovering abnormal behavior of industrial control computers.

[0005] The first aspect of this application provides a method for identifying and recovering abnormal behavior of an industrial control computer, the method comprising: By continuously collecting the first operating parameters of the industrial control computer host and the second execution response parameters of the controlled device, and inputting them into the first and second data terminals of the data channel respectively, consistency monitoring is performed based on the intermediate check quantity configured by the mid-level node to obtain anomaly identification information. If anomaly identification information exists and an anomaly event is triggered, variable verification is performed based on the program variable diagram of the industrial control computer PLC program control logic to obtain an anomaly category list. Multiple processors in the industrial control computer are connected in series through communication lines to form a chain monitoring topology. By parsing the anomaly category list to determine the anomaly context label, the chain monitoring topology is triggered to perform partial reset and monitoring management of the target processor until normal operation is restored.

[0006] A second aspect of this application provides an abnormal behavior identification and recovery system for industrial control computers, the system comprising: The monitoring module continuously collects the first operating parameters of the industrial control computer host and the second execution response parameters of the controlled equipment, inputting them to the first and second data terminals of the data channel respectively. Consistency monitoring is performed based on the intermediate check value configured at the mid-level node to obtain anomaly identification information. The variable verification module, if anomaly identification information exists and an anomaly event is triggered, performs variable verification based on the program variable diagram of the industrial control computer's PLC program control logic to obtain a list of anomaly categories. The monitoring and management module connects multiple processors in the industrial control computer sequentially through communication lines to form a chain-like monitoring topology. By parsing the anomaly category list, it determines the anomaly context label, triggers a partial reset and monitoring management of the target processor by the chain-like monitoring topology, until normal operation is restored.

[0007] One or more technical solutions provided in this application have at least the following technical effects or advantages: This application continuously collects the first operating parameters of the industrial control computer host and the second execution response parameters of the controlled device, inputting them to the first and second data terminals of the data channel respectively. Consistency monitoring is performed based on the intermediate check value configured at the midpoint node to obtain anomaly identification information. If anomaly identification information exists and an anomaly event is triggered, variable verification is performed based on the program variable diagram of the industrial control computer's PLC program control logic to obtain an anomaly category list. Multiple processors in the industrial control computer are sequentially connected in series via communication lines to form a chain-like monitoring topology. By parsing the anomaly category list, the anomaly context label is determined, triggering a partial reset and monitoring management of the target processor by the chain-like monitoring topology until normal operation is restored. This invention solves the technical problem in the prior art of accurately locating and specifically restoring anomalies in industrial control computers. Through dual-end consistency anomaly monitoring, anomaly verification based on the PLC program variable diagram, and partial reset management of the chain-like monitoring topology, it achieves the technical effect of improving the accuracy and specificity of anomaly location and recovery, and reducing the impact of anomaly recovery on normal operation. Attached Figure Description

[0008] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0009] Figure 1 A schematic flowchart of an abnormal behavior identification and recovery method for an industrial control computer provided in an embodiment of this application; Figure 2 A graph showing the screening results of program variable node deviation rate in the abnormal behavior identification and recovery method for industrial control computers provided in the embodiments of this application; Figure 3 This is a schematic diagram of the structure of an abnormal behavior identification and recovery system for an industrial control computer provided in an embodiment of this application.

[0010] Explanation of reference numerals in the attached diagram: Monitoring module 11, Variable verification module 12, Monitoring and management module 13. Detailed Implementation

[0011] This application provides a method and system for identifying and recovering abnormal behavior in industrial control computers. It addresses the technical problem of difficulty in accurately locating and specifically recovering abnormalities in existing technologies. By using dual-end consistent abnormality monitoring, abnormality verification based on PLC program variable diagrams, and local reset management of chain monitoring topology, it achieves the technical effect of improving the accuracy and specificity of abnormality location and recovery, and reducing the impact of abnormality recovery on normal operation.

[0012] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0013] It should be noted that any variation of the terms "comprising" and "having" is intended to cover non-exclusive inclusion, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or modules that are not explicitly listed or that are inherent to such processes, methods, products, or devices.

[0014] Example 1, as Figure 1 As shown, this application provides a method for identifying and recovering abnormal behavior of an industrial control computer, the method comprising: Step S100: By continuously collecting the first operating parameters of the industrial control computer host and the second execution response parameters of the controlled device, and inputting them into the first data terminal and the second data terminal of the data channel respectively, consistency docking monitoring is performed based on the intermediate detection quantity configured by the mid-level node to obtain anomaly identification information.

[0015] In this embodiment, a dual-end data channel is constructed between the industrial control computer host and the controlled device. The continuously collected first operating parameters and second execution response parameters are input to the first data terminal and the second data terminal, respectively. The first operating parameters include CPU utilization, memory usage, temperature, and PLC load rate. Based on the first data terminal, the first operating parameters are positively predicted, and based on the second data terminal, the second execution response parameters are negatively inferred. Then, at the midpoint of the data channel, a pre-configured intermediate detection quantity is used as the judgment benchmark to monitor the consistency between the positive prediction result and the negative inference result. Based on the connection status of the dual-end information, it is determined whether there is an abnormal correlation between the operation of the industrial control computer and the execution response of the controlled device, thereby obtaining anomaly identification information.

[0016] Furthermore, in the method provided in the application embodiments, obtaining the anomaly identification information further includes: A data channel is established using an industrial control computer host as the first data terminal and the controlled device as the second data terminal. First operating parameters are continuously collected from the industrial control computer host, including CPU utilization, memory usage, temperature, and PLC load rate. Second execution response parameters are continuously collected from the controlled device. The first operating parameters are input into the first data terminal for forward prediction, and the second execution response parameters are input into the second data terminal for reverse reasoning to determine anomaly identification information.

[0017] In this embodiment, a data channel is first established using an industrial control computer (ICC) host as the first data terminal and the controlled device as the second data terminal. Specifically, a first data terminal is set up on the ICC host side, and a second data terminal is set up on the controlled device side, with the same sampling period configured for both. The first and second data terminals collect data according to the sampling period, and a corresponding sampling timestamp is added to the collected data after each collection. The data collected by the first data terminal forms a first data sequence according to the sampling time order, and the data collected by the second data terminal forms a second data sequence according to the sampling time order. Then, the first data sequence and the second data sequence are matched according to the sampling timestamp, and data within the same sampling period are identified as a set of corresponding data. Thus, ICC host-side data and controlled device-side data associated with sampling timestamps are sequentially formed in the data channel, and the corresponding data are continuously updated according to the sampling period.

[0018] The industrial control computer continuously collects first operating parameters, including CPU utilization, memory usage, temperature, and PLC load rate. At each sampling time, these parameters are read and grouped into a first operating parameter set for that sampling time in a fixed order. CPU utilization is the actual percentage of CPU usage within the current sampling period; memory usage is the ratio of currently used memory to total memory capacity; temperature is the current output temperature value from the industrial control computer's temperature sensor; and PLC load rate is the task execution load of the PLC program within the current operating period. After each data collection, the CPU utilization, memory usage, temperature, PLC load rate, and corresponding sampling timestamp are written to the first data terminal, and this process is repeated for subsequent sampling periods. Simultaneously, the controlled equipment continuously collects second execution response parameters. At the same sampling time as the first operating parameters, the execution response value generated by the controlled equipment in response to the current control process is read, and the execution response value and sampling timestamp are written to the second data terminal. A correspondence is then established between the sampling timestamp and the corresponding first operating parameter set.

[0019] Subsequently, the first operating parameters are input into the first data terminal to perform forward prediction. Specifically, multiple sets of first operating parameters and corresponding second execution response parameters generated during the normal operation of the industrial control computer and the controlled equipment are pre-saved, and corresponding data groups are formed according to the same sampling time. After obtaining the first operating parameters at the current sampling time, the differences between the current CPU utilization, memory usage, temperature, and PLC load rate indicators and the same parameters in each corresponding data group are calculated, and the absolute values ​​of the differences of each parameter are added to obtain the comprehensive difference of the corresponding data group. The comprehensive differences of each corresponding data group are compared, and the corresponding data group with the smallest comprehensive difference is selected. The second execution response parameter in the corresponding data group is read and used as the forward prediction value corresponding to the current first operating parameter. The current sampling timestamp, the first operating parameters, and the forward prediction value are combined to form forward prediction information. Simultaneously, the second execution response parameter is input into the second data terminal to perform reverse inference. That is, the difference between the second execution response parameter at the current sampling time and the second execution response parameter in each corresponding data group is calculated. The corresponding data group with the smallest absolute value of the difference of the second execution response parameter is selected. Then, the CPU utilization rate, memory occupancy rate, temperature and PLC load rate indicators in the corresponding data group are read and used as the reverse inference values ​​of CPU utilization rate, memory occupancy rate, temperature and PLC load rate corresponding to the current second execution response parameter, respectively. The current sampling timestamp, the second execution response parameter and each reverse inference value are combined to form reverse inference information.

[0020] Finally, the forward prediction information and backward inference information are correlated based on the same sampling timestamp, and anomaly identification information is determined accordingly. First, the difference between the forward prediction value in the forward prediction information and the second execution response parameter actually collected by the second data terminal is calculated to obtain the residual of the second execution response parameter. Then, the backward inference values ​​of CPU utilization, memory occupancy, temperature, and PLC load rate in the backward inference information are respectively compared with the CPU utilization, memory occupancy, temperature, and PLC load rate indicators actually collected by the first data terminal to obtain the corresponding first operating parameter residuals. Based on the corresponding data groups formed during normal operation, the maximum residuals of the second execution response parameter and the indicators of CPU utilization, memory occupancy, temperature, and PLC load rate under the normal correspondence are statistically analyzed, and each maximum residual is set as the intermediate check value of the corresponding parameter. The residuals of the second execution response parameters and each of the first operating parameters obtained at the current sampling time are compared with the corresponding intermediate check values. When none of the residuals exceed the corresponding intermediate check values, the forward prediction information and the backward inference information are determined to be consistent. When any residual exceeds the corresponding intermediate check value, the parameter that exceeds the intermediate check value, the actual collected value of the parameter, the corresponding forward prediction value or backward inference value, the residual value, and the sampling timestamp are recorded together as anomaly identification information, thereby completing the anomaly identification of the current sampling period.

[0021] Furthermore, the method provided in the application embodiments also includes: The median node of the data channel is configured with an intermediate check quantity; at the median node, consistency docking based on the intermediate check quantity is performed on the forward prediction information and the backward inference information. If the docking is successful, a normal operation instruction is generated; if the docking is abnormal, an anomaly identification information is generated, in which the anomaly event identifier in the anomaly identification information has a residual window.

[0022] In this embodiment, an intermediate check quantifier is first configured on the median node of the data channel. Specifically, the forward prediction information output from the first data terminal and the backward inference information output from the second data terminal are transmitted to the median node of the data channel according to the sampling timestamp, and corresponding data groups are formed according to the same sampling timestamp. In the median node, parameter values ​​with the same parameter identifier are extracted from the forward prediction information and backward inference information respectively. The difference between the corresponding parameter values ​​of each group is calculated and the absolute value is taken to obtain the residual value of the corresponding parameter. The intermediate check quantifier is set according to the parameter identifier, that is, each group of parameters participating in the comparison corresponds to an intermediate check quantifier. The intermediate check quantifier is determined by the forward prediction information and backward inference information continuously collected under normal operating conditions. The residual value of the corresponding parameter in each sampling period under normal operating conditions is calculated, and the upper limit of the residual value formed by each parameter under normal operating conditions is determined as the intermediate check quantifier of the corresponding parameter. After the configuration is completed, the correspondence between parameter identifier, intermediate check quantifier and current residual value is established in the median node, and new forward prediction information and backward inference information are continuously received according to the sampling period.

[0023] At the median node, consistency matching based on intermediate check quantification is performed between forward prediction information and backward inference information. Specifically, the median node reads the forward prediction information and backward inference information corresponding to the same sampling timestamp, obtains the corresponding parameter values ​​sequentially according to the parameter identifier, calculates the residual value between the corresponding parameter values, and then compares the obtained residual value with the intermediate check quantification corresponding to the parameter item by item. When the residual value is less than or equal to the corresponding intermediate check quantification, the consistency check result of the parameter is recorded as normal; when the residual value is greater than the corresponding intermediate check quantification, the consistency check result of the parameter is recorded as abnormal. After completing the consistency check of all parameters in the current sampling period, if the consistency check results of all parameters are normal, the consistency matching is determined to be successful, a normal operation instruction is generated, and the current sampling timestamp and normal operation status identifier are written into the normal operation instruction; then, the next sampling period begins, and the same order is used to perform parameter matching, residual calculation, and intermediate check quantification comparison on the newly obtained forward prediction information and backward inference information.

[0024] If at least one parameter's residual value is greater than the corresponding intermediate check value within the current sampling period, an anomaly is identified in the consistency docking process, and anomaly identification information is generated. This information includes the parameter identifier of the anomaly, the corresponding parameter value in the forward prediction information, the corresponding parameter value in the backward inference information, the residual value, the intermediate check value, and the corresponding sampling timestamp. For anomaly identification information generated during continuous sampling, each anomaly sampling period is recorded sequentially according to the sampling timestamp. When a parameter first shows a residual value greater than the corresponding intermediate check value, that sampling time is recorded as the start time of the anomaly event. The residual value of that parameter is calculated again in subsequent sampling periods. When the residual value becomes less than or equal to the corresponding intermediate check value again, the previous anomaly sampling time is recorded as the end time of the anomaly event, and the time interval from the start time to the end time is defined as the residual window. The residual window is then written into the anomaly event identifier in the anomaly identification information, establishing a correlation between the anomaly event and its corresponding continuous anomaly time interval.

[0025] Furthermore, the method provided in the application embodiments also includes: When a connection error occurs, an abnormal event is triggered based on the type of error. If the error is a two-way error, it is considered an abnormal event confirmation. If the error is a forward prediction error but a reverse reasoning error is normal, it is considered a false alarm from the industrial control computer and no abnormal event is triggered. If the forward prediction error is normal but the reverse reasoning error is abnormal, it is considered a hidden fault in the industrial control computer, an abnormal event is triggered, and the fault type is marked as hidden hardware degradation.

[0026] In this embodiment, after the forward prediction information and backward inference information complete consistency docking at the median node and are determined to be docking anomaly, the consistency verification results of the forward prediction side and the backward inference side within the current sampling period are read respectively. The verification result of the forward prediction side is recorded as the forward prediction state, and the verification result of the backward inference side is recorded as the backward inference state. The forward prediction state is determined based on the comparison result of the residual value corresponding to the forward prediction information and the intermediate verification quantity. When the residual value is greater than the corresponding intermediate verification quantity, it is recorded as forward prediction anomaly; when the residual value is less than or equal to the corresponding intermediate verification quantity, it is recorded as forward prediction normal. The backward inference state is determined in the same way. When the residual value corresponding to the backward inference information is greater than the corresponding intermediate verification quantity, it is recorded as backward inference anomaly; when the residual value is less than or equal to the corresponding intermediate verification quantity, it is recorded as backward inference normal. The forward prediction state and the backward inference state under the same sampling timestamp are combined. When both the forward prediction state and the backward inference state are abnormal, the current docking abnormality is determined as a two-end abnormality, and the abnormal event is confirmed. The abnormal event confirmation identifier and the current sampling timestamp are recorded in the corresponding abnormal identification information, so that the two-end abnormality is entered into the abnormal event record.

[0027] When the forward prediction state is abnormal while the reverse inference state is normal, the abnormal parameters and their residual values ​​corresponding to the forward prediction information within the current sampling period are read, and the verification result of the reverse inference state being normal is retained. This state combination is determined as forward prediction abnormal and reverse inference normal. Since the reverse inference information does not form an abnormal verification result within the same sampling period, this docking anomaly is judged as an industrial control computer false alarm, and an industrial control computer false alarm identifier is written into the anomaly identification information. No abnormal event trigger identifier is generated. In subsequent sampling periods, the forward prediction state and reverse inference state are calculated separately according to the same intermediate verification quantity, and the anomaly type is re-determined based on the new state combination. Therefore, when an anomaly occurs solely on the forward prediction side and the reverse inference side remains normal, only the determination result of the current industrial control computer false alarm is retained, and no abnormal event is triggered.

[0028] When the forward prediction state is normal and the reverse inference state is abnormal, the state combination under the same sampling timestamp is determined as forward prediction normal and reverse inference abnormal, and this docking abnormality is judged as a hidden fault of the industrial control computer. After determining the hidden fault of the industrial control computer, an abnormal event triggering identifier is generated in the corresponding abnormal identification information, and the fault type field is written into the hidden hardware degradation. At the same time, the parameter identifier, corresponding residual value and sampling timestamp of the reverse inference abnormality are recorded. For records that maintain forward prediction normal and reverse inference abnormal in continuous sampling periods, the continuous abnormal sampling records are associated according to the start time and end time of the aforementioned residual window, so that the triggered abnormal event corresponds to the hidden hardware degradation fault type and the corresponding residual window.

[0029] Step S200: If abnormal identification information exists and an abnormal event is triggered, variable verification is performed based on the program variable diagram of the PLC program control logic of the industrial control computer to obtain a list of abnormal categories.

[0030] In this embodiment, if an anomaly identification information exists and an anomaly event is triggered, the control logic of the industrial control computer PLC program is parsed, each program variable is used as a directed graph node, and directed edges are established based on the data flow dependencies between program variables. The directed edges correspond to the relationship between the source variables and the target variable's current value determined by the control logic operation, thereby constructing a program variable graph based on the industrial control computer PLC program control logic. Based on the program variable graph, the program variable nodes and the data flow dependencies between nodes are used as the basis for variable verification. The program variables corresponding to the anomaly event are verified, and the anomaly category is determined based on the variable verification results. An anomaly category list is then compiled.

[0031] Furthermore, in the method provided in the application embodiments, based on the program variable diagram of the PLC program control logic as a reference, variable verification is performed to obtain an anomaly category list, which also includes: By analyzing the control logic of the PLC program, a program variable graph is constructed. Each program variable is used as a directed graph node, and the data flow dependency between program variables is used as a directed edge. The directed edge represents that the current value of the target variable is determined by the current value of the source variable through control logic operation. If there is an anomaly identification information and an anomaly event is triggered, variable verification is performed according to the program variable graph to obtain a list of anomaly categories.

[0032] In this embodiment, the PLC program of the industrial control computer is read, and each control logic operation is parsed sequentially according to the execution order of the control logic in the PLC program. The program variables involved in reading the current value and the program variables receiving the operation results in each control logic operation are extracted. The parsed program variables are then established as directed graph nodes in the program variable graph. For any control logic operation, if the control logic operation reads the current value of program variable A and obtains the current value of program variable B through the control logic operation, then program variable A is determined as the source variable, and program variable B is determined as the target variable. A directed edge is established between the directed graph node corresponding to program variable A and the directed graph node corresponding to program variable B, such that the directed edge corresponds to the data flow dependency relationship between program variable A and program variable B. If the current value of the same target variable needs to be read from the current values ​​of multiple program variables and jointly determined by control logic operations, then each program variable involved in the operation is determined as a source variable, and the directed graph nodes corresponding to each source variable are used to access the target variable. Directed edges are established for the corresponding directed graph nodes to record the data flow dependencies of each source variable on the target variable. If the current value of a program variable participates in determining the current values ​​of multiple target variables through different control logic operations, then the directed graph node corresponding to the program variable establishes directed edges to the directed graph nodes corresponding to each target variable. The control logic in the PLC program is parsed line by line in the above manner. For program variables with established directed graph nodes, the corresponding nodes are directly called. For program variables without established directed graph nodes, new directed graph nodes are established. Directed edges are continuously added according to the direction of the current value transmission from the source variable to the target variable in each control logic operation until all program variables in the PLC program and the data flow dependencies between program variables are parsed. The program variable graph is composed of all the directed graph nodes corresponding to the program variables and the directed edges established between the directed graph nodes according to the data flow dependencies. Each directed edge represents that the current value of the target variable it points to is determined by the current value of the source variable corresponding to the starting end of the directed edge through the control logic operation in the PLC program.

[0033] If an anomaly identification information exists and an anomaly event is triggered, then each variable node in the program variable graph is taken as the monitoring target. The variable monitoring value of the corresponding program variable is read, and according to the data flow dependency relationship represented by the directed edge in the program variable graph, the variable monitoring value of the source variable is substituted into the corresponding PLC control logic for calculation and deduction along the direction of the directed edge to obtain the deduced value corresponding to the target variable. Subsequently, using the variable node as the corresponding benchmark, the variable monitoring value of each target variable is mapped to its deduced value, and the deviation rate between the variable monitoring value and the deduced value is calculated. The obtained deviation rate is compared with the preset deviation rate, and variable nodes with deviation rates exceeding the preset deviation rate are filtered out. The corresponding program variables are marked as abnormal program variables, and then a variable verification result is formed based on the marked abnormal program variables, and an anomaly category list is obtained accordingly.

[0034] Furthermore, in the method provided in the application embodiments, performing variable verification according to the program variable graph further includes: Using each variable node in the program variable graph as the monitoring target, read the variable monitoring value; perform control logic operation deduction on the variable monitoring value along the directed edge direction of the program variable graph to obtain the deduced value; perform a mapping and deviation measurement based on the variable node on the variable monitoring value and the deduced value, filter variable nodes with deviation rate exceeding the preset deviation rate, and mark them as abnormal program variables.

[0035] In this embodiment, each variable node in the program variable graph is used as the monitoring target. According to the program variable identifier corresponding to the variable node, the current value of each program variable is read sequentially within the same PLC scan cycle, and the read current value is recorded as the variable monitoring value of the corresponding variable node. During reading, the variable node identifier, variable monitoring value and the current PLC scan cycle number are stored accordingly. If the same program variable is connected to multiple directed edges at the same time, the current value of the program variable is read only once, and the variable monitoring value is associated with each directed edge connected to the variable node. After reading all variable nodes, the variable monitoring values ​​are arranged according to the node connection relationship in the program variable graph, so that the source variable node, which is the starting end of the directed edge, saves the source variable monitoring value, and the target variable node, which is the ending end of the directed edge, saves the target variable monitoring value, thereby obtaining the set of variable monitoring values ​​corresponding to the current PLC scan cycle.

[0036] Next, following the directed edges in the program variable graph, control logic operations are performed on the monitored variable values ​​to deduce the deduced values. Specifically, directed edges are read one by one from the source variable node to the target variable node, and the monitored variable value of the source variable node corresponding to the starting end of the directed edge and the corresponding PLC control logic operation are obtained. The monitored source variable value is substituted into the control logic operation for calculation, and the calculation result is used as the deduced value of the target variable node. When a target variable node has a data flow dependency relationship with only one source variable node, the monitored source variable value and the corresponding control logic operation are directly used. Logical operations calculate the derived value of the target variable node; when a target variable node receives data from multiple source variable nodes simultaneously, the variable monitoring value of each source variable node is read, and the calculation is performed according to the original control logic operation order in which multiple source variables participate in the PLC program. The final calculation result is recorded as the derived value of the target variable node; when the current level target variable node continues to serve as the source variable node of the next level directed edge, its corresponding variable monitoring value is calculated according to the control logic associated with the next level directed edge, and the derived value calculation of each target variable node is completed sequentially according to the direction of the directed edge in the program variable graph.

[0037] Finally, the monitored variable values ​​and the projected values ​​are mapped and the deviation is measured based on variable nodes. Variable nodes with deviation rates exceeding a preset deviation rate are filtered and marked as abnormal program variables. In this process, according to the variable node identifier, a correspondence is established between the monitored variable values ​​and the projected values ​​of the same target variable node, and the deviation between them is calculated one by one. In one specific embodiment, the monitored variable value is first subtracted from the projected value and the absolute value is taken to obtain the absolute deviation value, i.e., Di = |Mi−Pi|, where Mi is the monitored variable value of the i-th variable node and Pi is the projected value of the i-th variable node. Then, the absolute deviation value is calculated as the ratio of the absolute value of the projected value to obtain the deviation rate Ri = Di / |Pi| × 100%. When the projected value is 0, the preset deviation rate is used. A non-zero baseline value is used to replace the denominator for deviation rate calculation. Then, the deviation rate corresponding to each variable node is compared with a preset deviation rate. When Ri is greater than the preset deviation rate, the i-th variable node is identified as a variable node with an excessive deviation rate, and the corresponding program variable is marked as an abnormal program variable. Simultaneously, the corresponding variable node identifier, variable monitoring value, inferred value, and deviation rate are recorded. When Ri is less than or equal to the preset deviation rate, the corresponding program variable is not marked as an abnormal program variable. The deviation measurement and filtering of each variable node in the program variable diagram are completed in the same way. Figure 2As shown, taking the 12 variable nodes V01 to V12 in the program variable diagram as an example, with the preset deviation rate set to 10%, the deviation rates of V01 to V12 obtained according to the above deviation rate calculation method are 2.1%, 3.5%, 4.2%, 5.8%, 6.3%, 13.7%, 15.2%, 12.4%, 5.1%, 4.6%, 3.3%, and 2.8%, respectively. Comparing the deviation rate of each variable node with the preset deviation rate of 10%, the deviation rates corresponding to V06, V07, and V08 are 13.7%, 15.2%, and 12.4%, respectively, all exceeding the preset deviation rate. Therefore, V06, V07, and V08 are identified as variable nodes with excessive deviation rates, and their corresponding program variables are marked as abnormal program variables. The deviation rates corresponding to V01 to V05 and V09 to V12 are all less than or equal to the preset deviation rate, therefore they are not marked as abnormal program variables. Thus, we obtain... Figure 2 The variable node deviation rate screening results are shown. After verifying all variable nodes, each abnormal program variable is summarized according to its corresponding variable node identifier, and classified according to its node position in the program variable diagram and its corresponding control logic relationship. The classification results are written into the abnormal category list in sequence to obtain the abnormal category list corresponding to this abnormal event.

[0038] Furthermore, in the method provided in the application embodiments, after performing variable verification, it further includes: The time-series intersection of the marked timestamp of the abnormal program variable and the residual window is determined, wherein the residual window represents the abnormal fluctuation range of the industrial control computer host operating parameters in the time dimension; when the marked timestamp falls within the time interval of the residual window, the variable is confirmed to be caused by an attack and output to the list of manipulated variables; when the marked timestamp does not fall within the time interval of the residual window, the variable is marked as pending investigation and is not included in the list of manipulated variables; if there is no abnormal long-term variable, the abnormal event is marked as environmental interference.

[0039] In this embodiment, a temporal intersection determination is performed on the timestamp of the abnormal program variable and the residual window. The residual window represents the abnormal fluctuation range of the industrial control computer host operating parameters in the time dimension. During the variable verification process, when the deviation rate of a certain variable node exceeds the preset deviation rate and is marked as an abnormal program variable, the abnormal sampling time corresponding to the abnormal program variable is recorded as the timestamp. At the same time, the start time and end time of the residual window corresponding to the current abnormal event are read, and the timestamp and the residual window are compared according to the chronological order. When the timestamp is greater than or equal to the start time of the residual window and less than or equal to the end time of the residual window, it is determined that the timestamp falls into the residual window. When the timestamp is less than the start time of the residual window or greater than the end time of the residual window, it is determined that the timestamp does not fall into the residual window. Each abnormal program variable is processed sequentially according to the same time comparison method, so that each abnormal program variable forms a corresponding temporal intersection determination result.

[0040] When the timestamp of an abnormal program variable falls within the time interval of the residual window, the temporal intersection judgment result corresponding to the abnormal program variable is recorded as true, and the variable is confirmed to be caused by an attack. After confirmation, the program variable identifier, variable node identifier and timestamp corresponding to the abnormal program variable are read, and the abnormal program variable is written into the manipulated variable list, so that the abnormal program variable and the residual window corresponding to the current abnormal event are time-related. If there are multiple timestamps of abnormal program variables in the same residual window, the comparison is performed one by one according to the order of the timestamps, and all abnormal program variables falling within the time interval of the residual window are written into the manipulated variable list in sequence, thereby forming the manipulated variable record corresponding to the current abnormal event.

[0041] When the timestamp of an abnormal program variable does not fall within the time interval of the residual window (i.e., the timestamp is earlier than the start time or later than the end time of the residual window), the time intersection judgment result corresponding to the abnormal program variable is recorded as invalid, and the variable is marked as pending investigation. Subsequently, the program variable identifier, variable node identifier, and timestamp corresponding to the abnormal program variable are retained, but the abnormal program variable is not written into the manipulated variable list when generating the manipulated variable list. For subsequent abnormal program variables, the same judgment is performed according to the time relationship between their timestamps and the start and end times of the residual window, so that abnormal program variables that fall into the residual window and abnormal program variables that do not fall into the residual window form manipulated variable status and pending investigation status, respectively.

[0042] After determining the temporal intersection of the timestamps of each abnormal program variable and the residual window, the determination result of the variable corresponding to the current abnormal event is read. If there is no abnormal long-term variable, the current abnormal event is marked as environmental interference, and an environmental interference identifier is written into the abnormal identification information corresponding to the abnormal event. At the same time, the residual window and the time of occurrence of the abnormal event are retained, so that the environmental interference identifier and the current abnormal event are associated. After the marking of the abnormal event is completed, the process of determining the temporal intersection of the abnormal program variables corresponding to the subsequent abnormal events is entered.

[0043] Step S300: Connect multiple processors in the industrial control computer in series via communication lines to form a chain monitoring topology. Determine the exception context label by parsing the exception category list, trigger the chain monitoring topology to perform partial reset and monitoring management of the target processor until normal operation is restored.

[0044] In this embodiment, multiple processors in the industrial control computer are connected in series according to their processor level via two communication lines to form a chain monitoring topology. The input / output port of the i-th level processor is connected to the reset pin of the (i+1)-th level processor, making the i-th level processor an external monitoring timer for the (i+1)-th level processor. The cascading monitoring relationship between adjacent processors is established in the same way until all processors are connected in series. For the last level processor in the chain monitoring topology, its reset pin is connected to the trigger terminal of the external monitoring timer chip, thereby forming a chain monitoring topology in which the preceding level processor monitors the following level processor, and the last level processor is connected to the external monitoring timer chip. After establishing the chain monitoring topology, the list of anomaly categories is parsed. Based on the abnormal program variables recorded in the list, the control domain to which the corresponding variable belongs is determined. The execution processor number is extracted based on the correspondence between the control domain and the tasks executed by each processor in the industrial control computer. The control domain and the execution processor number are combined into an anomaly context label, which is then passed to the isolation layer. The isolation layer reads the execution processor number from the anomaly context label and locates the corresponding target processor in the chain monitoring topology based on the execution processor number. Subsequently, the chain monitoring topology is triggered to perform a partial reset and monitoring management on the target processor based on the anomaly context label. During the process, the operating status of the target processor is continuously confirmed until the target processor returns to normal operating status.

[0045] Furthermore, the method provided in the application embodiment, which determines the exception context label by parsing the exception category list and triggers the chained monitoring topology to perform local reset and monitoring management of the target processor, also includes: Multiple processors in the industrial control computer are connected in series via two communication lines to form a chain-like monitoring topology. The input / output ports of the i-th level processor are connected to the reset pin of the (i+1)-th level processor, and the i-th level processor acts as an external monitoring timer for the (i+1)-th level processor. The reset pin of the last level processor is connected to the trigger terminal of an external monitoring timer chip. After parsing, the list of exception categories extracts the control domain to which the variable belongs and the corresponding execution processor number, which is then passed to the isolation layer as an exception context label. Based on the exception context label, the isolation layer triggers a partial reset and monitoring management of the chain-like monitoring topology until normal operation is restored.

[0046] In this embodiment, multiple processors in the industrial control computer are first arranged in a preset order, and the connection between adjacent processors is established sequentially through two communication lines. The input / output port of the i-th level processor is connected to the reset pin of the (i+1)-th level processor, and the i-th level processor forms an external monitoring timing relationship with the (i+1)-th level processor. After the connection between the i-th level processor and the (i+1)-th level processor is completed, the (i+1)-th level processor and the (i+2)-th level processor are connected in the same way, so that each processor is connected in series along the processor level until the connection of the last level processor is completed. The reset pin of the last level processor is connected to the trigger terminal of the external monitoring timer chip, thereby forming a continuous chain monitoring topology of each level processor and the external monitoring timer chip according to the successive levels. The corresponding relationship between the input / output port of the previous level processor and the reset pin of the next level processor is maintained between adjacent processors. The i-th level processor serves as the external monitoring timer of the (i+1)-th level processor.

[0047] After forming a chain-like monitoring topology, the abnormal program variables recorded in the abnormal category list are read, and the control domain to which the variable belongs is determined according to the variable identifier corresponding to the abnormal program variable. Then, the corresponding execution processor number is obtained according to the processor execution relationship corresponding to the control domain. The control domain to which the variable belongs is associated with the corresponding execution processor number to form an abnormal context label corresponding to the abnormal program variable. When the abnormal category list contains multiple abnormal program variables, the control domain to which the abnormal program variables belong and the corresponding execution processor number are extracted one by one according to the recording order of the abnormal program variables in the abnormal category list, and the corresponding abnormal context label is formed for each. Then, the abnormal context label is passed to the isolation layer, so that the isolation layer receives the abnormal context label containing the control domain to which the variable belongs and the execution processor number.

[0048] After receiving the exception context tag, the isolation layer locates the corresponding target processor in the chain monitoring topology based on the execution processor number in the exception context tag, and writes the exception context tag into the hardware register of the corresponding level processor for latching. After latching, the target processor is triggered to reset and restart individually through the corresponding reset pin, while keeping the other processors in the chain monitoring topology in the current running state and monitoring the running state of the target processor after the reset. When the target processor returns to normal operation after individual reset and restart, the reset process ends. When the target processor reset and restart is ineffective, the reset invalid signal is passed down the communication line of the chain monitoring topology to the next level processor until it reaches the last level processor, which triggers the external monitoring timer chip to perform a hardware reset of the entire machine, so that the industrial control computer returns to normal operation.

[0049] Furthermore, in the method provided in the application embodiments, triggering the partial reset and monitoring management of the chain-like monitoring topology also includes: After locating the abnormal context label in the chain monitoring topology, it is written into the hardware register of the corresponding level processor for latching. After latching, the target processor is individually reset and restarted via the reset pin, while the other processors maintain their current running state. If the target processor reset and restart is ineffective, the reset invalid signal is transmitted down the communication line of the chain monitoring topology to the last level processor, triggering the external monitoring timer chip to perform a whole-machine hardware reset.

[0050] In this embodiment, after receiving the exception context label, the isolation layer reads the execution processor number contained therein and matches the execution processor number with the numbers of each level of processors in the chain monitoring topology one by one to determine the processor level that matches the execution processor number, and identifies the processor level as the target processor. After completing the target processor location, the exception context label is written into the hardware register corresponding to the target processor. The hardware register latches the written exception context label so that the control field and execution processor number in the exception context label remain corresponding during the subsequent reset process, and the execution processor number latched in the hardware register is used as the basis for resetting and locating the target processor.

[0051] After the hardware register completes the exception context tag latch, the preceding processor connected to the target processor's reset pin is determined based on the target processor's level in the chained monitoring topology. The preceding processor then outputs a reset signal to the target processor's reset pin through its input / output port. Upon receiving the reset signal, the target processor's reset pin performs a separate reset and restarts after the reset is complete. During this process, it does not output reset signals to the reset pins of other processors in the chained monitoring topology, allowing the other processors to maintain their current operating state. After the target processor restarts, its operating state is read and compared with its normal operating state. When the operating state returns to the normal operating state, the partial reset for that target processor ends. If the target processor fails to return to its normal operating state after restarting, this separate reset and restart is recorded as an invalid reset and restart.

[0052] When a separate reset and restart of the target processor is determined to be invalid, a reset invalid signal is generated by the level where the target processor is located and written into the communication line of the chain monitoring topology. This signal is then passed to the next level processor according to the processor hierarchy. Upon receiving the reset invalid signal, the next level processor continues to pass it through the communication line to the next level processor after that, and so on, until it reaches the final level processor. Upon receiving the reset invalid signal, the final level processor triggers the external monitoring timer chip through its connection with the external monitoring timer chip. The external monitoring timer chip then outputs a hardware reset signal for the entire machine, causing each level processor in the industrial control computer to perform a hardware reset and restart after the hardware reset is completed.

[0053] In summary, the embodiments of this application have at least the following technical effects: This application continuously collects the first operating parameters of the industrial control computer host and the second execution response parameters of the controlled device, inputting them to the first and second data terminals of the data channel respectively. Consistency monitoring is performed based on the intermediate check value configured at the midpoint node to obtain anomaly identification information. If anomaly identification information exists and an anomaly event is triggered, variable verification is performed based on the program variable diagram of the industrial control computer's PLC program control logic to obtain an anomaly category list. Multiple processors in the industrial control computer are sequentially connected in series via communication lines to form a chain-like monitoring topology. By parsing the anomaly category list, the anomaly context label is determined, triggering a partial reset and monitoring management of the target processor by the chain-like monitoring topology until normal operation is restored. This invention solves the technical problem in the prior art of accurately locating and specifically restoring anomalies in industrial control computers. Through dual-end consistency anomaly monitoring, anomaly verification based on the PLC program variable diagram, and partial reset management of the chain-like monitoring topology, it achieves the technical effect of improving the accuracy and specificity of anomaly location and recovery, and reducing the impact of anomaly recovery on normal operation.

[0054] Example 2, based on the same inventive concept as the abnormal behavior identification and recovery method for industrial control computers in the foregoing examples, such as... Figure 3 As shown, this application provides an abnormal behavior identification and recovery system for industrial control computers. The system and method embodiments in this application are based on the same inventive concept. The system includes: The monitoring module 11 is used to continuously collect the first operating parameters of the industrial control computer host and the second execution response parameters of the controlled equipment, respectively inputting them to the first and second data terminals of the data channel, and performing consistency monitoring based on the intermediate check quantity configured by the mid-level node to obtain anomaly identification information; the variable verification module 12 is used to perform variable verification based on the program variable diagram of the industrial control computer PLC program control logic if anomaly identification information exists and an anomaly event is triggered, to obtain an anomaly category list; the monitoring and management module 13 is used to connect multiple processors in the industrial control computer in series through communication lines to form a chain monitoring topology, determine the anomaly context label by parsing the anomaly category list, trigger the chain monitoring topology to perform partial reset and monitoring management of the target processor until the normal operating state is restored.

[0055] Furthermore, the system is also used to implement the following functions: A data channel is established using an industrial control computer host as the first data terminal and the controlled device as the second data terminal. First operating parameters are continuously collected from the industrial control computer host, including CPU utilization, memory usage, temperature, and PLC load rate. Second execution response parameters are continuously collected from the controlled device. The first operating parameters are input into the first data terminal for forward prediction, and the second execution response parameters are input into the second data terminal for reverse reasoning to determine anomaly identification information.

[0056] Furthermore, the system is also used to implement the following functions: The median node of the data channel is configured with an intermediate check quantity; at the median node, consistency docking based on the intermediate check quantity is performed on the forward prediction information and the backward inference information. If the docking is successful, a normal operation instruction is generated; if the docking is abnormal, an anomaly identification information is generated, in which the anomaly event identifier in the anomaly identification information has a residual window.

[0057] Furthermore, the system is also used to implement the following functions: When a connection error occurs, an abnormal event is triggered based on the type of error. If the error is a two-way error, it is considered an abnormal event confirmation. If the error is a forward prediction error but a reverse reasoning error is normal, it is considered a false alarm from the industrial control computer and no abnormal event is triggered. If the forward prediction error is normal but the reverse reasoning error is abnormal, it is considered a hidden fault in the industrial control computer, an abnormal event is triggered, and the fault type is marked as hidden hardware degradation.

[0058] Furthermore, the system is also used to implement the following functions: By analyzing the control logic of the PLC program, a program variable graph is constructed. Each program variable is used as a directed graph node, and the data flow dependency between program variables is used as a directed edge. The directed edge represents that the current value of the target variable is determined by the current value of the source variable through control logic operation. If there is an anomaly identification information and an anomaly event is triggered, variable verification is performed according to the program variable graph to obtain a list of anomaly categories.

[0059] Furthermore, the system is also used to implement the following functions: Using each variable node in the program variable graph as the monitoring target, read the variable monitoring value; perform control logic operation deduction on the variable monitoring value along the directed edge direction of the program variable graph to obtain the deduced value; perform a mapping and deviation measurement based on the variable node on the variable monitoring value and the deduced value, filter variable nodes with deviation rate exceeding the preset deviation rate, and mark them as abnormal program variables.

[0060] Furthermore, the system is also used to implement the following functions: The time-series intersection of the marked timestamp of the abnormal program variable and the residual window is determined, wherein the residual window represents the abnormal fluctuation range of the industrial control computer host operating parameters in the time dimension; when the marked timestamp falls within the time interval of the residual window, the variable is confirmed to be caused by an attack and output to the list of manipulated variables; when the marked timestamp does not fall within the time interval of the residual window, the variable is marked as pending investigation and is not included in the list of manipulated variables; if there is no abnormal long-term variable, the abnormal event is marked as environmental interference.

[0061] Furthermore, the system is also used to implement the following functions: Multiple processors in the industrial control computer are connected in series via two communication lines to form a chain-like monitoring topology. The input / output ports of the i-th level processor are connected to the reset pin of the (i+1)-th level processor, and the i-th level processor acts as an external monitoring timer for the (i+1)-th level processor. The reset pin of the last level processor is connected to the trigger terminal of an external monitoring timer chip. After parsing, the list of exception categories extracts the control domain to which the variable belongs and the corresponding execution processor number, which is then passed to the isolation layer as an exception context label. Based on the exception context label, the isolation layer triggers a partial reset and monitoring management of the chain-like monitoring topology until normal operation is restored.

[0062] Furthermore, the system is also used to implement the following functions: After locating the abnormal context label in the chain monitoring topology, it is written into the hardware register of the corresponding level processor for latching. After latching, the target processor is individually reset and restarted via the reset pin, while the other processors maintain their current running state. If the target processor reset and restart is ineffective, the reset invalid signal is transmitted down the communication line of the chain monitoring topology to the last level processor, triggering the external monitoring timer chip to perform a whole-machine hardware reset.

[0063] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, the above description focuses on specific embodiments of this specification. The processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired results. In some implementations, multitasking and parallel processing are possible or may be advantageous.

[0064] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the present invention. Any modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the scope of the present invention.

Claims

1. A method for identifying and recovering abnormal behavior in industrial control computers, characterized in that, The method includes: By continuously collecting the first operating parameters of the industrial control computer host and the second execution response parameters of the controlled device, and inputting them into the first data terminal and the second data terminal of the data channel respectively, consistency docking monitoring is performed based on the intermediate detection quantity configured by the mid-level node to obtain anomaly identification information. If abnormal identification information exists and an abnormal event is triggered, variable verification is performed based on the program variable diagram of the PLC program control logic of the industrial control computer to obtain a list of abnormal categories. Multiple processors in an industrial control computer are connected in series via communication lines to form a chain monitoring topology. By parsing the list of abnormal categories to determine the abnormal context label, the chain monitoring topology is triggered to perform a partial reset and monitoring management of the target processor until normal operation is restored.

2. The abnormal behavior identification and recovery method for industrial control computers as described in claim 1, characterized in that, Obtain anomaly identification information, including: A data channel is established with the industrial control computer host as the first data terminal and the controlled equipment as the second data terminal; The industrial control computer host continuously collects first operating parameters, wherein the first operating parameters include CPU utilization, memory usage, temperature and PLC load rate indicators; The second execution response parameters are continuously collected from the controlled equipment; The first operating parameters are input into the first data terminal to perform forward prediction, and the second execution response parameters are input into the second data terminal to perform reverse inference to determine anomaly identification information.

3. The abnormal behavior identification and recovery method for industrial control computers as described in claim 2, characterized in that, The middle node of the data channel is configured with an intermediate detection quantity; At the median node, a consistency check based on intermediate detection quantity is performed between the forward prediction information and the backward inference information. If the check is successful, a normal operation instruction is generated. If the connection fails, an anomaly identification information is generated, in which the anomaly event identifier has a residual window.

4. The abnormal behavior identification and recovery method for industrial control computers as described in claim 3, characterized in that, When an interface failure occurs, an exception event is triggered based on the exception type. If the abnormal situation occurs on both ends, it is determined to be an abnormal event confirmation; If the positive prediction is abnormal but the reverse reasoning is normal, it is determined to be a false alarm from the industrial control computer and no abnormal event is triggered. If the forward prediction is normal but the reverse reasoning is abnormal, it is determined to be a hidden fault in the industrial control computer, triggering an abnormal event and marking the fault type as hidden hardware degradation.

5. The abnormal behavior identification and recovery method for industrial control computers as described in claim 3, characterized in that, Based on the program variable diagram of the PLC program control logic of the industrial control computer, variable checks are performed to obtain a list of anomaly categories, including: By analyzing the control logic of the PLC program of the industrial control computer, a program variable graph is constructed. Each program variable is used as a directed graph node, and the data flow dependency relationship between program variables is used as a directed edge. The directed edge represents that the current value of the target variable is determined by the current value of the source variable through the control logic operation. If an anomaly identification information exists and an anomaly event is triggered, variable checks are performed according to the program variable graph to obtain a list of anomaly categories.

6. The abnormal behavior identification and recovery method for industrial control computers as described in claim 5, characterized in that, Perform variable checks based on the program variable graph, including: Using each variable node in the program variable graph as the monitoring target, read the variable monitoring values; Along the directed edge direction of the program variable graph, control logic operations are performed on the monitored variable values ​​to deduce the deduced values; The monitored variable values ​​and the inferred values ​​are mapped and the deviation is measured based on variable nodes. Variable nodes with a deviation rate exceeding a preset deviation rate are filtered out and marked as abnormal program variables.

7. The abnormal behavior identification and recovery method for industrial control computers as described in claim 6, characterized in that, After performing variable checks, the following is included: The time-series intersection of the timestamp of the abnormal program variable and the residual window is determined, wherein the residual window represents the abnormal fluctuation range of the industrial control computer host operating parameters in the time dimension; When the marked timestamp falls within the time interval of the residual window, the variable is confirmed to be caused by an attack and output to the list of manipulated variables; When the timestamp is not within the time interval of the residual window, the variable is marked as pending investigation and is not included in the list of manipulated variables. If no abnormal long-length variable exists, mark the abnormal event as an environmental disturbance.

8. The abnormal behavior identification and recovery method for industrial control computers as described in claim 1, characterized in that, By parsing the list of exception categories to determine the exception context label, a chained monitoring topology is triggered to perform partial reset and monitoring management of the target processor, including: Multiple processors in the industrial control computer are connected in series through two communication lines to form a chain monitoring topology. The input / output port of the i-th level processor is connected to the reset pin of the (i+1)-th level processor. The i-th level processor serves as the external monitoring timer for the (i+1)-th level processor. The reset pin of the last level processor is connected to the trigger terminal of the external monitoring timer chip. After parsing, the list of exception categories is used to extract the control domain to which the variable belongs and the corresponding execution processor number, which is then passed to the isolation layer as an exception context label. Based on the abnormal context label, the isolation layer triggers a partial reset and monitoring management of the chain monitoring topology until normal operation is restored.

9. The abnormal behavior identification and recovery method for industrial control computers as described in claim 8, characterized in that, Triggering partial reset and monitoring management of the chained monitoring topology includes: After locating the abnormal context label in the chained monitoring topology, it is written into the hardware register of the corresponding level processor for latching. After latching is completed, the target processor is individually reset and restarted via the reset pin, while the other processors maintain their current running state; If the target processor fails to reset and restart, the reset failure signal is transmitted down the communication line of the chain monitoring topology to the last-level processor, triggering the external monitoring timer chip to perform a hardware reset of the entire machine.

10. An abnormal behavior identification and recovery system for industrial control computers, characterized in that, The system is used to execute the abnormal behavior identification and recovery method for industrial control computers as described in any one of claims 1-9, and the system includes: The monitoring module is used to continuously collect the first operating parameters of the industrial control computer host and the second execution response parameters of the controlled equipment, respectively inputting them to the first data terminal and the second data terminal of the data channel, and performing consistency monitoring based on the intermediate detection quantity configured by the mid-level node to obtain anomaly identification information. The variable verification module is used to perform variable verification based on the program variable diagram of the PLC program control logic of the industrial control computer if abnormal identification information exists and an abnormal event is triggered, and to obtain a list of abnormal categories. The monitoring and management module is used to connect multiple processors in the industrial control computer in series via communication lines to form a chain monitoring topology. By parsing the list of abnormal categories, it determines the abnormal context label and triggers the chain monitoring topology to perform partial reset and monitoring management of the target processor until it returns to normal operation.