Security protection platform and method for industrial platform software and DCS system
By designing communication checksum write value verification between OPC client and OPC server in the DCS system, monitoring the operating status of the equipment in real time and handling abnormalities automatically, the stability and reliability problems in the integration of DCS system and industrial platform software are solved, and the stability and reliability problems are realized. The security guarantee for field equipment and software platforms is provided.
Patent Information
- Application Number
- CN202411028187.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-30
AI Technical Summary
The existing DCS system faces problems such as write value exceptions, network exceptions and server exceptions during the integration process with industrial platform software, resulting in reduced system stability and reliability.
A security protection platform was designed to monitor the operating status data of the equipment in real time through communication checks and write value verification between the OPC client and the OPC server, issue alarms and automatically handle abnormal situations, and apply the functions of industrial platform software. Carry out regular round patrol inspections and secondary automated tests.
Effectively avoid the impact of loss and errors in data transmission on field equipment, ensure the stability and reliability of software functions, realize real-time monitoring and automatic processing of the operating status of on-site instruments and actuators, and ensure the independence of the software platform. Functional application.
Smart Images

Figure CN118550266B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a security protection platform and method for industrial platform software and DCS systems. Background Art
[0002] In the field of industrial automation, distributed control systems (DCS) are a mature technology that serves as an intermediate bridge between industrial platform software and equipment layer control and information collection. They are widely used in process industries to achieve precise control and monitoring of production processes. The DCS system centrally manages production equipment through highly integrated control units and communication networks, optimizes production processes, and improves efficiency and safety.
[0003] However, with the growing demand for industrial automation and the rapid development of technology, the existing DCS system faces a series of challenges, especially in terms of integration with industrial platform software. Industrial platform software usually interacts with DCS through the OPC (OLE for Process Control, Object Linking and Embedding Process Control) communication protocol. During the data transmission process, abnormalities such as write value abnormalities, network abnormalities, and server abnormalities may occur, thereby reducing the stability and reliability of the system. Summary of the invention
[0004] The embodiments of the present application provide a security protection platform for industrial platform software and DCS systems. In order to have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a general review, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a preface to the detailed description that follows.
[0005] In a first aspect, an embodiment of the present application provides a security protection platform for industrial platform software and DCS systems, the platform comprising:
[0006] OPC client, OPC server working with DCS system and DCS system;
[0007] The OPC server communicates with the OPC client and the DCS system. The OPC client is the client of the industrial platform software.
[0008] DCS system, used to generate equipment operation status data using collected equipment information;
[0009] The OPC client is used to perform communication verification when establishing a connection with the OPC server. If the verification passes, it sends a data read request to the OPC server;
[0010] The OPC server is used to obtain the equipment operation status data from the DCS system according to the received data reading request, and forward the equipment operation status data to the OPC client;
[0011] The OPC client is also used to perform write value verification and read and write monitoring on the received equipment operation status data, and when the monitoring results indicate that the equipment is abnormal, it will issue an alarm and control the data transmission path;
[0012] The OPC client is also used to perform regular inspections on the functional applications of the industrial platform software, and when the inspection results indicate that the target function is abnormal, perform secondary automated testing on the target function, and use preset strategies to process the target function based on the test results.
[0013] Optionally, the OPC client and OPC server include redundant configurations, including component redundancy and link redundancy. Component redundancy is to configure two main components and backup components with the same functions, and the status of the main component and the backup component is in hot standby state, so that the backup component can process business after the main component fails; link redundancy is to configure multiple physical links between two nodes to ensure that at least one link can work normally, so as to prevent communication interruption caused by single point failure.
[0014] Optionally, perform communication verification when establishing a connection with the OPC server, including:
[0015] Send heartbeat packets to the OPC server regularly to detect whether the network connection is normal. The heartbeat packets are messages that do not carry actual data information.
[0016] When a response message is received from the OPC server within a preset period, it is determined that the connection status with the OPC server is normal; or when no response message is received from the OPC server within the preset period, it is determined that the connection status with the OPC server is abnormal.
[0017] Optionally, write value verification and read / write monitoring are performed on the received device operation status data, including:
[0018] Record the data transmission links between the modules and functions of the industrial platform software and the changes of the equipment operation status data during the transmission process;
[0019] The data transmission link is used as the link relationship of the equipment operation status data;
[0020] Based on the changes of the equipment operation status data during the transmission process, determine the data occupancy and usage of the equipment operation status data;
[0021] When data occupancy and usage are abnormal, determine the associated functions or source components with the abnormality based on the link relationship;
[0022] Read and write monitoring of received equipment operation status data.
[0023] Optionally, read and write monitoring of the received device operation status data is performed, including:
[0024] Obtaining parameter values of each first variable in the equipment operation status data;
[0025] Comparing the parameter value of each first variable with the normal operating domain of each first variable;
[0026] Performing difference analysis on the parameter value of each first variable and the historical parameter value of each first variable in the previous historical period to obtain the change rate of each first variable; comparing the change rate of each first variable with the overspeed threshold value preset for each first variable;
[0027] Determine whether the parameter value of each first variable is missing;
[0028] When the parameter values of the first variables represent the same measurement position quantity value, calculating the deviation between the parameter values of the first variables;
[0029] Determine whether the equipment operation status data carries abnormal signals;
[0030] When the parameter value of each first variable is outside the normal operating domain of each first variable, or the change rate of each first variable is greater than the overspeed threshold of each first variable, or the parameter value of each first variable is missing, or the deviation between the parameter values of each first variable is greater than the preset deviation or carries an abnormal signal, the equipment operation status data is marked in the database, and the corresponding function on the link using the equipment operation status data is removed from the industrial platform software, and a pop-up alarm is issued;
[0031] When data to be written is detected, a pre-write credibility assessment is performed on the data to be written.
[0032] Optionally, a pre-write credibility assessment is performed on the data to be written, including:
[0033] Obtain the parameter value of each second variable in the data to be written;
[0034] The parameter value of each second variable is compared with the normal operating domain of each second variable preset, and when the parameter value of each second variable is outside the normal operating domain of each second variable preset, an over-limit abnormal state alarm is output, and the transmission of the data to be written is controlled to stop, and the target function corresponding to the data to be written is cut off, and a secondary automated test is performed on the target function;
[0035] Performing difference analysis on the parameter value of each second variable and the historical parameter value of each second variable in the previous historical period to obtain the change rate of each second variable; comparing the change rate of each second variable with the overspeed threshold value preset for each second variable, when the change rate of each second variable is greater than the overspeed threshold value preset for each second variable, outputting an overspeed abnormal state alarm, controlling the data to be written to stop transmitting, cutting off the target function corresponding to the data to be written, and performing a secondary automated test on the target function;
[0036] When each second variable in the data to be written is a preset actuator variable, the feedback value of the field equipment collected by the DCS system is read in real time; the feedback value of the field equipment is compared with the data to be written, and when the difference between the feedback value of the field equipment and the data to be written exceeds the preset execution deviation threshold within a preset plurality of cycles, an execution deviation abnormal state alarm is output, and the target function corresponding to the data to be written is cut off, and a prompt message is generated and sent to the relevant client to prompt the site to conduct an inspection;
[0037] Read the self-test signal of the field equipment collected by the DCS system. When the self-test signal indicates an abnormal state of the equipment, cut off the target function corresponding to the data to be written, and generate a prompt message to send to the relevant client to prompt the site to conduct an inspection.
[0038] Optionally, conduct regular inspections of the functional applications of the industrial platform software, including:
[0039] Count the time between the current time and the last historical patrol inspection time;
[0040] When the duration is equal to the preset patrol duration, simulate the user's operation mode and generate operation instructions;
[0041] Check and verify the functional application of industrial platform software based on operating instructions.
[0042] Optionally, the change of the equipment operation status data during the transmission process includes the transmission path;
[0043] Based on the changes in the equipment operation status data during the transmission process, the data occupancy and usage of the equipment operation status data are determined, including:
[0044] According to the transmission path, determine the data table involved in each path node of the equipment operation status data during the transmission process;
[0045] For each data table involved in each path node, the size of each data table and the size of the index are calculated to obtain the data occupancy of the equipment operation status data;
[0046] For the data tables involved on each path node, the access mode of each data table including the access frequency and query type is analyzed to obtain the usage of the equipment operation status data.
[0047] Optionally, calculate the size of each data table and index, including:
[0048] Count the number of data rows in each data table;
[0049] Get the field data type and length of each row of data in each data table;
[0050] Based on the field data type and length of each row of data in each data table, calculate the average row size of each row of data in each data table;
[0051] The size of each data table is obtained by multiplying the number of data rows in each data table by the average size of each row of data in each data table.
[0052] Calculate the index size of each row of data in each data table based on the field data type and length of each row of data in each data table;
[0053] The size of each data table index is obtained by multiplying the number of index rows of each data table by the index size of each row of data in each data table.
[0054] In a second aspect, an embodiment of the present application provides a security protection method for industrial platform software and a DCS system, the method comprising:
[0055] The DCS system uses the collected equipment information to generate equipment operation status data;
[0056] When the OPC client establishes a connection with the OPC server, a communication check is performed. If the check passes, a data read request is sent to the OPC server.
[0057] The OPC server obtains the equipment operation status data from the DCS system according to the received data reading request, and forwards the equipment operation status data to the OPC client;
[0058] The OPC client performs write value verification and read and write monitoring on the received equipment operation status data, and when the monitoring results indicate that the equipment is abnormal, it issues an alarm and controls the data transmission path;
[0059] The OPC client performs regular inspections on the functional applications of the industrial platform software, and when the inspection results indicate that the target function is abnormal, it performs a secondary automated test on the target function and uses a preset strategy to process the target function based on the test results.
[0060] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0061] In the security protection platform for industrial platform software and DCS system provided in the embodiment of the present application, on the one hand, when the OPC client establishes a connection with the OPC server, a communication check is performed, and the OPC client performs a write value check on the received equipment operation status data. The communication check and the write value check can ensure the secure interaction between the two ends, and can effectively avoid the impact on the field equipment level caused by the loss and errors of data in the transmission process; on the other hand, the OPC client of the present application performs read and write monitoring on the received equipment operation status data, and the read and write monitoring can monitor the operation status of field instruments and actuators in real time. When abnormal equipment or values are found, the system can immediately issue an alarm and automatically take corresponding measures to deal with it, thereby ensuring that the software function will not output errors due to reading erroneous data; on the other hand, the OPC client of the present application also performs regular patrol inspections and secondary automated testing on the functional applications of the industrial platform software, which can realize the protection of independent functional applications of the software platform.
[0062] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0064] Figure 1 It is a system schematic diagram of a security protection platform for industrial platform software and DCS system provided in an embodiment of the present application;
[0065] Figure 2 This is a schematic diagram of a redundant configuration provided by an embodiment of the present application;
[0066] Figure 3 This is a monitoring schematic diagram of a heartbeat monitoring provided by an embodiment of the present application;
[0067] Figure 4 This is a schematic diagram of an automated inspection process provided by an embodiment of the present application;
[0068] Figure 5 It is a flow chart of a security protection method for industrial platform software and DCS system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] The following description and the accompanying drawings sufficiently illustrate specific embodiments of the present application to enable those skilled in the art to practice them.
[0070] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0071] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of systems and methods consistent with some aspects of the present application as detailed in the attached claims.
[0072] In the description of the present application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0073] So far, with the continuous growth of industrial automation demand and the rapid development of technology, the existing DCS system faces a series of challenges, especially in terms of integration with industrial platform software. Industrial platform software usually interacts with DCS through the OPC (OLE for Process Control, Object Linking and Embedding Process Control) communication protocol. During the data transmission process, abnormal phenomena such as write value abnormality, network abnormality, and server abnormality may occur, thereby reducing the stability and reliability of the system. In the security protection platform for industrial platform software and DCS system provided in the embodiment of the present application, on the one hand, when the OPC client establishes a connection with the OPC server, a communication check is performed, and the OPC client performs a write value check on the received equipment operation status data. The communication check and the write value check can ensure the secure interaction between the two ends, and can effectively avoid the impact on the field equipment level caused by the loss and errors of data in the transmission process; on the other hand, the OPC client of the present application performs read and write monitoring on the received equipment operation status data, and the read and write monitoring can monitor the operation status of field instruments and actuators in real time. When abnormal equipment or values are found, the system can immediately issue an alarm and automatically take corresponding measures to deal with it, thereby ensuring that the software function will not output errors due to reading erroneous data; on the other hand, the OPC client of the present application also performs regular patrol inspections and secondary automated tests on the functional applications of the industrial platform software, which can realize the protection of independent functional applications of the software platform. The following uses an exemplary embodiment for detailed description.
[0074] See also Figure 1 , Figure 1 : is a system structure diagram of a security protection platform for industrial platform software and DCS system provided in an embodiment of the present application, the platform includes:
[0075] OPC client, OPC server working with DCS system and DCS system; OPC server communicates with OPC client and DCS system, and OPC client is the client of industrial platform software.
[0076] In an embodiment of the present application, a DCS system is used to generate equipment operating status data using collected equipment information; an OPC client is used to perform communication verification when establishing a connection with an OPC server, and send a data read request to the OPC server when the verification passes; the OPC server is used to obtain equipment operating status data from the DCS system according to the received data read request, and forward the equipment operating status data to the OPC client; the OPC client is also used to perform write value verification and read and write monitoring on the received equipment operating status data, and when the monitoring results indicate that the equipment is abnormal, issue an alarm and control the data transmission path; the OPC client is also used to perform regular patrol inspections on the functional applications of the industrial platform software, and when the inspection results indicate that the target function is abnormal, perform secondary automated testing on the target function, and process the target function using a preset strategy based on the test results.
[0077] Among them, the Distributed Control System (DCS) is a control system used for industrial process automation. It distributes control functions throughout the plant or process, rather than concentrating them in a single control room. The DCS system monitors, controls, and manages industrial processes through a highly integrated network structure. The OPC server is a software component that implements the OPC data access specification, allowing other applications to access and control industrial equipment or systems over the network. The OPC client refers to any software application that uses the OPC protocol to access OPC server data.
[0078] Specifically, the OPC client and the OPC server include redundant configurations, which include component redundancy and link redundancy. Component redundancy is to configure two main components and a backup component with the same functions. The main component and the backup component are in a hot standby state so that the backup component can process business after the main component fails. Link redundancy is to configure multiple physical links between two nodes to ensure that at least one link can work normally, thereby preventing communication interruption caused by a single point failure.
[0079] For example Figure 2 As shown, the redundant configuration includes OPC client A, OPC client B, OPC server A, and OPC server B. In the event of a failure in a client or server, a spare client or server can be used.
[0080] In some embodiments, the specific process of performing communication verification when establishing a connection with an OPC server includes: regularly sending heartbeat packets to the OPC server to detect whether the status of the network connection is normal, and the heartbeat packet is a message that does not carry actual data information; when a response message is received from the OPC server within a preset period, it is determined that the connection status with the OPC server is normal; or, when no response message is received from the OPC server within the preset period, it is determined that the connection status with the OPC server is abnormal.
[0081] Among them, the heartbeat packet is a special network communication message used to detect and maintain the status of the network connection. The heartbeat packet does not contain actual data information, and its main purpose is to confirm the availability of the network connection. The response message comes from the reply message of the OPC server, usually sent after receiving the heartbeat packet, indicating that the server is still online and responds to the client's detection. The preset period is the time interval between the client sending the heartbeat packet and waiting for the response. This period is pre-set and used to regularly detect the network connection status. Connection status normal / abnormal: The status of the network connection is judged based on whether the response message is received within the preset period. If a response is received, the connection is considered normal; if no response is received, the connection is considered abnormal.
[0082] For example, the industrial platform software sets a preset cycle, such as sending a heartbeat packet every 5 seconds. Every 5 seconds, the industrial platform software generates a heartbeat packet and sends it to the OPC server. After sending the heartbeat packet, the industrial platform software enters a waiting state and listens for a response message from the OPC server. If a response message from the OPC server is received within the next 5-second cycle, the system records the connection status as "normal". If no response message is received within the 5-second cycle, the system records the connection status as "abnormal".
[0083] For example Figure 3 As shown in the figure, communication heartbeat verification is an important mechanism to determine the stability of network connection. In network communication, due to various reasons, such as network fluctuations, equipment failures, etc., connection interruption or data transmission problems may occur. Figure 3 The images in the communication can determine whether the communication is normal, the communication is interrupted, the communication is restored, and the communication is delayed. The advantage of the communication heartbeat check is that it can detect and handle connection problems in a timely manner. The platform and DCS will actively cut off the function application to avoid problems caused by data loss or transmission errors. At the same time, it can also monitor the stability and reliability of the network, providing an important reference for network management and optimization.
[0084] Furthermore, if an abnormal connection status is detected, the industrial platform software can take the following measures: Retry to send the heartbeat packet. Trigger the alarm system to notify maintenance personnel to check the network or OPC server status. Try to switch to a backup communication link or server (if there is configuration redundancy).
[0085] In some embodiments, the specific process of performing write value verification and read-write monitoring on the received device operation status data includes: recording the data transmission link between the various modules and functions of the industrial platform software and the changes of the device operation status data during the transmission process; using the data transmission link as the link relationship of the device operation status data; based on the changes of the device operation status data during the transmission process, determining the data occupancy and usage of the device operation status data; when the data occupancy and usage are abnormal, determining the abnormal associated functions or source components based on the link relationship; and performing read-write monitoring on the received device operation status data.
[0086] Among them, the changes of the equipment operation status data during the transmission process include the transmission path.
[0087] In an embodiment of the present application, the specific process of determining the data occupancy and usage of the device operation status data based on the changes of the device operation status data during the transmission process includes: determining, according to the transmission path, the data table involved in the device operation status data on each path node during the transmission process; for each data table involved on each path node, calculating the size of each data table and the size of the index to obtain the data occupancy of the device operation status data; for each data table involved on each path node, analyzing the access mode of each data table including the access frequency and query type to obtain the usage of the device operation status data.
[0088] In an embodiment of the present application, the specific process of calculating the size of each data table and the size of the index includes: counting the number of data rows in each data table; obtaining the field data type and length of each row of data in each data table; calculating the average size of each row of data in each data table based on the field data type and length of each row of data in each data table; multiplying the number of data rows in each data table by the average size of each row of data in each data table to obtain the size of each data table; calculating the size of each row of index for each row of data in each data table based on the field data type and length of each row of data in each data table; multiplying the number of index rows in each data table by the size of each row of index for each row of data in each data table to obtain the size of each data table index.
[0089] In an embodiment of the present application, the specific process of reading and writing monitoring the received equipment operation status data includes: obtaining the parameter value of each first variable in the equipment operation status data; comparing the parameter value of each first variable with the normal operating domain of each first variable preset; performing difference analysis on the parameter value of each first variable and the historical parameter value of each first variable in the previous historical cycle to obtain the change rate of each first variable; comparing the change rate of each first variable with the overspeed threshold of each first variable preset; judging whether the parameter value of each first variable is missing; when the parameter value of each first variable represents the quantity value of the same measurement position, calculating each first variable deviation between parameter values; determine whether the equipment operation status data carries an abnormal signal; when the parameter value of each first variable is outside the normal operating domain of each first variable or the change rate of each first variable is greater than the overspeed threshold of each first variable or the parameter value of each first variable is missing or the deviation between the parameter values of each first variable is greater than the preset deviation or carries an abnormal signal, mark the equipment operation status data in the database, and remove the corresponding function on the link using the equipment operation status data from the industrial platform software, and pop-up alarm; when data to be written is monitored, perform pre-write credibility assessment on the data to be written.
[0090] Specifically, the specific process of pre-write credibility assessment of the data to be written includes: obtaining the parameter value of each second variable in the data to be written; comparing the parameter value of each second variable with the normal operating domain of each second variable preset, when the parameter value of each second variable is outside the normal operating domain of each second variable preset, outputting an over-limit abnormal state alarm, and controlling the data to be written to stop transmission, and cutting off the target function corresponding to the data to be written, and performing a secondary automated test on the target function; performing a difference analysis on the parameter value of each second variable and the historical parameter value of each second variable in the previous historical cycle to obtain the change rate of each second variable; comparing the change rate of each second variable with the overspeed threshold value of each second variable preset, when the change rate of each second variable is greater than the overspeed threshold value of each second variable preset, outputting an overspeed abnormal state alarm, and The steps of controlling the data to be written to stop transmitting, cutting off the target function corresponding to the data to be written, and performing a secondary automated test on the target function; when each second variable in the data to be written is a preset actuator variable, reading the feedback value of the field equipment collected by the DCS system in real time; comparing the feedback value of the field equipment with the data to be written, when the difference between the feedback value of the field equipment and the data to be written exceeds the preset execution deviation threshold within a preset plurality of cycles, outputting an execution deviation abnormal state alarm, cutting off the target function corresponding to the data to be written, and generating a prompt message to send to the relevant client to prompt the site to conduct an inspection; reading the self-test signal of the field equipment collected by the DCS system, when the self-test signal indicates that the equipment is in an abnormal state, cutting off the target function corresponding to the data to be written, and generating a prompt message to send to the relevant client to prompt the site to conduct an inspection.
[0091] In an embodiment of the present application, the specific process of performing regular patrol inspections on the functional applications of the industrial platform software includes: counting the time between the current moment and the last historical patrol inspection moment; when the time is equal to the preset patrol duration, simulating the user operation method and generating operation instructions; and inspecting and verifying the data of the functional applications of the industrial platform software based on the operation instructions.
[0092] For example Figure 4As shown in the figure, a flowchart of automatic functional inspection is provided, which can automatically conduct comprehensive and detailed functional inspection on the software system to ensure the stability and reliability of the software system. It can easily automatically detect various functions of the software system, including UI, network communication, data calculation and other aspects. By simulating user operations, the software system is comprehensively tested, and a detailed test report can be automatically generated to help users quickly discover and locate problems in the software system. Compared with traditional manual inspections, automatic functional inspections have higher efficiency and accuracy. It can complete a large amount of testing work in a short time, avoiding omissions and errors that are prone to manual testing. It provides users with efficient and accurate automated testing tools to help users better ensure the security and reliability of software systems.
[0093] In the security protection platform for industrial platform software and DCS system provided in the embodiment of the present application, on the one hand, when the OPC client establishes a connection with the OPC server, a communication check is performed, and the OPC client performs a write value check on the received equipment operation status data. The communication check and the write value check can ensure the secure interaction between the two ends, and can effectively avoid the impact on the field equipment level caused by the loss and errors of data in the transmission process; on the other hand, the OPC client of the present application performs read and write monitoring on the received equipment operation status data, and the read and write monitoring can monitor the operation status of field instruments and actuators in real time. When abnormal equipment or values are found, the system can immediately issue an alarm and automatically take corresponding measures to deal with it, thereby ensuring that the software function will not output errors due to reading erroneous data; on the other hand, the OPC client of the present application also performs regular patrol inspections and secondary automated testing on the functional applications of the industrial platform software, which can realize the protection of independent functional applications of the software platform.
[0094] See also Figure 5 , which is a flowchart of a security protection method for industrial platform software and DCS system provided in the present application embodiment. Figure 5 As shown, the detection method of the embodiment of the present application may include the following steps:
[0095] S101, the DCS system generates equipment operation status data using the collected equipment information;
[0096] The collected equipment information refers to the data collected by the DCS system from field equipment (such as sensors, actuators, instruments, etc.) through its control nodes. These data may include parameters such as temperature, pressure, flow, speed, etc.
[0097] In some embodiments, various devices in the factory (such as temperature sensors, pressure sensors, flow meters, valves, etc.) are connected to the control nodes of the DCS system through appropriate interfaces. The control nodes of the DCS system periodically read data from these devices. For example, the temperature sensor sends the current temperature reading once a second. The collected data is transmitted to the central control room or data processing center through the communication network of the DCS system. In the central control room, the DCS system software receives and processes the data. The processing process may include data cleaning, format conversion, numerical calculation, etc. Based on the collected equipment information, the DCS system generates equipment operation status data. For example: If the temperature sensor reading continues to exceed the set threshold, the system will generate a high temperature alarm state. If the flow meter reading suddenly drops, the system will generate an abnormal flow state.
[0098] S102, the OPC client performs a communication check when establishing a connection with the OPC server, and sends a data read request to the OPC server if the check passes;
[0099] In some embodiments, the specific process of performing communication verification when the OPC client establishes a connection with the OPC server includes: regularly sending heartbeat packets to the OPC server to detect whether the status of the network connection is normal, and the heartbeat packet is a message that does not carry actual data information; when a response message is received from the OPC server within a preset period, it is determined that the connection status with the OPC server is normal; or, when no response message is received from the OPC server within the preset period, it is determined that the connection status with the OPC server is abnormal.
[0100] S103, the OPC server obtains the device operation status data from the DCS system according to the received data reading request, and forwards the device operation status data to the OPC client;
[0101] S104, the OPC client performs write value verification and read and write monitoring on the received equipment operation status data, and when the monitoring result indicates that the equipment is abnormal, an alarm is issued and the data transmission path is controlled;
[0102] In an embodiment of the present application, the specific process of performing write value verification and read-write monitoring on the received device operation status data includes: recording the data transmission link between the various modules and functions of the industrial platform software and the changes of the device operation status data during the transmission process; using the data transmission link as the link relationship of the device operation status data; based on the changes of the device operation status data during the transmission process, determining the data occupancy and usage of the device operation status data; when the data occupancy and usage are abnormal, determining the abnormal associated functions or source components based on the link relationship; and performing read-write monitoring on the received device operation status data.
[0103] Specifically, the specific process of reading and writing monitoring the received equipment operation status data includes: obtaining the parameter value of each first variable in the equipment operation status data; comparing the parameter value of each first variable with the normal operating domain of each first variable preset; performing difference analysis on the parameter value of each first variable and the historical parameter value of each first variable in the previous historical cycle to obtain the change rate of each first variable; comparing the change rate of each first variable with the overspeed threshold of each first variable preset; judging whether the parameter value of each first variable is missing; and when the parameter value of each first variable represents the quantity value of the same measurement position, calculating the parameter value of each first variable. The deviation between the numerical values; determine whether the equipment operation status data carries an abnormal signal; when the parameter value of each first variable is outside the normal operating domain of each first variable or the change rate of each first variable is greater than the overspeed threshold of each first variable or the parameter value of each first variable is missing or the deviation between the parameter values of each first variable is greater than the preset deviation or carries an abnormal signal, mark the equipment operation status data in the database, and remove the corresponding functions on the link using the equipment operation status data from the industrial platform software, and pop-up alarm; when data to be written is monitored, perform a pre-write credibility assessment on the data to be written.
[0104] Specifically, the specific process of pre-write credibility assessment of the data to be written includes: obtaining the parameter value of each second variable in the data to be written; comparing the parameter value of each second variable with the normal operating domain of each second variable preset, when the parameter value of each second variable is outside the normal operating domain of each second variable preset, outputting an over-limit abnormal state alarm, and controlling the data to be written to stop transmission, and cutting off the target function corresponding to the data to be written, and performing a secondary automated test on the target function; performing a difference analysis on the parameter value of each second variable and the historical parameter value of each second variable in the previous historical cycle to obtain the change rate of each second variable; comparing the change rate of each second variable with the overspeed threshold value of each second variable preset, when the change rate of each second variable is greater than the overspeed threshold value of each second variable preset, outputting an overspeed abnormal state alarm, and The steps of controlling the data to be written to stop transmitting, cutting off the target function corresponding to the data to be written, and performing a secondary automated test on the target function; when each second variable in the data to be written is a preset actuator variable, reading the feedback value of the field equipment collected by the DCS system in real time; comparing the feedback value of the field equipment with the data to be written, when the difference between the feedback value of the field equipment and the data to be written exceeds the preset execution deviation threshold within a preset plurality of cycles, outputting an execution deviation abnormal state alarm, cutting off the target function corresponding to the data to be written, and generating a prompt message to send to the relevant client to prompt the site to conduct an inspection; reading the self-test signal of the field equipment collected by the DCS system, when the self-test signal indicates that the equipment is in an abnormal state, cutting off the target function corresponding to the data to be written, and generating a prompt message to send to the relevant client to prompt the site to conduct an inspection.
[0105] S105, the OPC client performs regular rounds of inspections on the functional applications of the industrial platform software, and when the inspection results indicate that the target function is abnormal, performs a secondary automated test on the target function, and processes the target function using a preset strategy based on the test results.
[0106] In the security protection platform for industrial platform software and DCS system provided in the embodiment of the present application, on the one hand, when the OPC client establishes a connection with the OPC server, a communication check is performed, and the OPC client performs a write value check on the received equipment operation status data. The communication check and the write value check can ensure the secure interaction between the two ends, and can effectively avoid the impact on the field equipment level caused by the loss and errors of data in the transmission process; on the other hand, the OPC client of the present application performs read and write monitoring on the received equipment operation status data, and the read and write monitoring can monitor the operation status of field instruments and actuators in real time. When abnormal equipment or values are found, the system can immediately issue an alarm and automatically take corresponding measures to deal with it, thereby ensuring that the software function will not output errors due to reading erroneous data; on the other hand, the OPC client of the present application also performs regular patrol inspections and secondary automated testing on the functional applications of the industrial platform software, which can realize the protection of independent functional applications of the software platform.
[0107] The present application also provides a computer-readable medium having program instructions stored thereon, which, when executed by a processor, implements the security protection methods for industrial platform software and DCS systems provided by the above-mentioned various method embodiments.
[0108] The present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the security protection methods for industrial platform software and DCS systems of the above-mentioned various method embodiments.
[0109] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program for the security protection of the industrial platform software and the DCS system can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium for the security protection of the industrial platform software and the DCS system can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0110] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A security protection platform for industrial platform software and DCS system, characterized in that: The platform includes: an OPC client, an OPC server working in cooperation with a DCS system, and a DCS system; The OPC server is connected to the OPC client and the DCS system in communication, and the OPC client is a client of the industrial platform software; wherein, The DCS system is used to generate equipment operation status data using the collected equipment information; The OPC client is used to perform communication verification when establishing a connection with the OPC server, and send a data reading request to the OPC server when the verification passes; The OPC server is used to obtain the device operation status data from the DCS system according to the received data reading request, and forward the device operation status data to the OPC client; The OPC client is also used to perform write value verification and read and write monitoring on the received equipment operation status data, and when the monitoring result indicates that the equipment is abnormal, it issues an alarm and controls the data transmission path; wherein, The step of performing write value verification and read-write monitoring on the received device operation status data includes: Record the data transmission links of the device operation status data between various modules and functions of the industrial platform software and the changes of the device operation status data during the transmission process; Using the data transfer link as a link relationship of the device operation status data; Determine the data occupancy and usage of the device operation status data based on changes in the device operation status data during the transmission process; When the data occupancy and usage are abnormal, determine the associated function or source component with the abnormality based on the link relationship; Read and write monitoring of the received equipment operation status data; Changes in the equipment operation status data during the transmission process include the transmission path; The determining of data occupancy and usage of the device operation status data based on changes in the device operation status data during the transmission process includes: According to the transmission path, determining a data table involved in each path node of the device operation status data during the transmission process; For each data table involved in each path node, the size of each data table and the size of the index are calculated to obtain the data occupancy of the device operation status data; For each data table involved in each path node, the access mode of each data table including the access frequency and the query type is analyzed to obtain the usage of the device operation status data; The OPC client is also used to perform regular inspections on the functional applications of the industrial platform software, and when the inspection results indicate that the target function is abnormal, perform secondary automated testing on the target function, and process the target function using a preset strategy based on the test results.
2. The platform according to claim 1, characterized in that The OPC client and the OPC server include redundant configurations, which include component redundancy and link redundancy. The component redundancy is to configure two main components and a backup component with the same functions, and the status of the main component and the backup component is in a hot standby state so that the backup component can perform business processing after the main component fails; the link redundancy is to configure multiple physical links between two nodes to ensure that at least one link can work normally, thereby preventing communication interruption caused by a single point failure.
3. The platform according to claim 1, characterized in that: The communication verification is performed when establishing a connection with the OPC server, including: Periodically sending heartbeat packets to the OPC server to detect whether the network connection is normal, wherein the heartbeat packets are messages that do not carry actual data information; When a response message is received from the OPC server within a preset period, it is determined that the connection status with the OPC server is normal; or, When no response message is received from the OPC server within a preset period, it is determined that the connection status with the OPC server is abnormal.
4. The platform according to claim 1, characterized in that: The reading and writing monitoring of the received equipment operation status data includes: Obtaining parameter values of each first variable in the device operation status data; Comparing the parameter value of each first variable with a preset normal operating domain of each first variable; Performing difference analysis on the parameter value of each first variable and the historical parameter value of each first variable in the previous historical period to obtain the change rate of each first variable; comparing the change rate of each first variable with the overspeed threshold value preset for each first variable; Determine whether the parameter value of each first variable is missing; When the parameter values of the first variables represent the same measurement position quantity value, calculating the deviation between the parameter values of the first variables; Determining that the device operation status data carries an abnormal signal; When the parameter value of each first variable is outside the normal operating domain of each first variable, or the change rate of each first variable is greater than the overspeed threshold of each first variable, or the parameter value of each first variable is missing, or the deviation between the parameter values of each first variable is greater than the preset deviation or carries an abnormal signal, the device operation status data is marked in the database, and the corresponding function on the link using the device operation status data is removed from the industrial platform software, and a pop-up alarm is issued; When data to be written is detected, a pre-write credibility assessment is performed on the data to be written.
5. The platform according to claim 4, characterized in that The pre-write credibility assessment of the to-be-written data includes: Obtaining parameter values of each second variable in the data to be written; The parameter value of each second variable is compared with the normal operating domain of each second variable preset, and when the parameter value of each second variable is outside the normal operating domain of each second variable preset, an over-limit abnormal state alarm is output, and the transmission of the data to be written is controlled to stop, and the target function corresponding to the data to be written is cut off, and a secondary automated test is performed on the target function; Performing difference analysis on the parameter value of each second variable and the historical parameter value of each second variable in the previous historical period to obtain the change rate of each second variable; comparing the change rate of each second variable with the overspeed threshold value preset for each second variable, when the change rate of each second variable is greater than the overspeed threshold value preset for each second variable, outputting an overspeed abnormal state alarm, controlling the data to be written to stop transmitting, cutting off the target function corresponding to the data to be written, and performing a secondary automated test on the target function; When each second variable in the data to be written is a preset actuator variable, the feedback value of the field device collected by the DCS system is read in real time; the feedback value of the field device is compared with the data to be written, and when the difference between the feedback value of the field device and the data to be written exceeds a preset execution deviation threshold within a preset plurality of cycles, an execution deviation abnormal state alarm is output, the target function corresponding to the data to be written is cut off, and a prompt message is generated and sent to the relevant client to prompt the site to conduct an inspection; The self-test signal of the field equipment collected by the DCS system is read. When the self-test signal indicates that the equipment is in an abnormal state, the target function corresponding to the data to be written is cut off, and a prompt message is generated and sent to the relevant client to prompt the site to conduct an inspection.
6. The platform according to claim 1, characterized in that: The periodic inspection of the functional application of the industrial platform software includes: Count the time between the current time and the last historical patrol inspection time; When the duration is equal to the preset patrol duration, simulating the user operation mode to generate an operation instruction; Based on the operating instructions, the functional application of the industrial platform software is checked and data is verified.
7. The platform according to claim 1, characterized in that The calculation of the size of each data table and the size of each index includes: Counting the number of data rows in each data table; Get the field data type and length of each row of data in each data table; Calculate the average size of each row of data in each data table based on the field data type and length of each row of data in each data table; The size of each data table is obtained by multiplying the number of data rows in each data table by the average size of each row of data in each data table; Calculate the index size of each row of data in each data table based on the field data type and length of each row of data in each data table; The size of each data table index is obtained by multiplying the number of index rows of each data table by the size of each row of index of each row of data in each data table.
8. A security protection method for industrial platform software and DCS system implemented by the platform as described in claims 1-7, characterized in that: The method comprises: The DCS system uses the collected equipment information to generate equipment operation status data; The OPC client performs a communication check when establishing a connection with the OPC server, and sends a data read request to the OPC server if the check passes; The OPC server obtains the device operation status data from the DCS system according to the received data reading request, and forwards the device operation status data to the OPC client; The OPC client performs write value verification and read-write monitoring on the received equipment operation status data, and when the monitoring results indicate that the equipment is abnormal, it issues an alarm and controls the data transmission path; The step of performing write value verification and read-write monitoring on the received device operation status data includes: Record the data transmission links of the device operation status data between various modules and functions of the industrial platform software and the changes of the device operation status data during the transmission process; Using the data transfer link as a link relationship of the device operation status data; Determine the data occupancy and usage of the device operation status data based on changes in the device operation status data during the transmission process; When the data occupancy and usage are abnormal, determine the associated function or source component with the abnormality based on the link relationship; Read and write monitoring of the received equipment operation status data; Changes in the equipment operation status data during the transmission process include the transmission path; The determining of data occupancy and usage of the device operation status data based on changes in the device operation status data during the transmission process includes: According to the transmission path, determining a data table involved in each path node of the device operation status data during the transmission process; For each data table involved in each path node, the size of each data table and the size of the index are calculated to obtain the data occupancy of the device operation status data; For each data table involved in each path node, the access mode of each data table including the access frequency and the query type is analyzed to obtain the usage of the device operation status data; The OPC client performs regular rounds of inspections on the functional applications of the industrial platform software, and when the inspection results indicate that there is an abnormality in the target function, performs a secondary automated test on the target function, and processes the target function using a preset strategy based on the test results.
Citation Information
Patent Citations
Computer resource centralized remote real-time monitoring system and method
CN104009883A
System and method for monitoring industrial field equipment
CN106774132A
Automatic operation and maintenance system and method based on relational database indexes
CN110968652A
Semi-physical simulation platform and method suitable for industrial control safety test
CN111679590A
Roller type vertical mill self-adaptive predictive control system based on rolling time domain estimation
CN113198591A
