Ship lock industrial control system gate opening and closing abnormal operation instruction identification and early warning method
By analyzing and configuring early warning rules to identify abnormal operation instructions, the problem of identification and monitoring of the ship lock industrial control system in the face of safety risks is solved, transparent and safe monitoring of the opening and closing of the gate operations is achieved, and the risk of safety accidents is reduced.
Patent Information
- Application Number
- CN202410839569.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-15
AI Technical Summary
The existing ship lock industrial control system has security risks in the face of malicious code utilization, specialized attacks on device damage and security accidents, and misoperation of internal security operations. It lacks effective abnormal command detection and monitoring mechanisms.
By acquiring and parsing industrial control protocol message data, we can configure early warning rules based on actual switching gate safety scenarios, identify and provide early warning of possible abnormal operation control instructions, and ensure the transparency and safety of system operations.
It realizes the identification and early warning of safety risks in the scenario of opening and closing the ship lock industrial control system, ensuring transparent visual monitoring and safety protection of process operations, and reducing the occurrence of safety accidents.
Smart Images

Figure CN118778601A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of industrial control, and in particular to a method for identifying and warning abnormal operation instructions for opening and closing gates of a ship lock industrial control system. Background Art
[0002] At present, the construction of the network security system of the ship lock industrial control system adopts the security protection concept with the security protection 2.0 as the core and the access control mainly based on logical isolation and industrial firewall as the means. Although these designs can effectively protect some security risks, they still have certain shortcomings for some malicious codes that use the industrial control system's own mechanism and protocol instructions, maliciously manipulate production facilities, cause professional attacks that damage equipment and safety accidents, and some internal security operations and inspection personnel's misoperation and illegal operations. Therefore, based on the transparent identification and monitoring analysis of process parameters and process operations in the process flow of the ship lock industrial control system, it is an urgent problem to establish a set of abnormal instruction detection rules that meet the actual production needs of the ship lock, and realize the transparent visual monitoring and supervision of the ship lock system operation. Safety protection solutions are currently needed to be realized and solved. Summary of the invention
[0003] The purpose of the present invention is to overcome the above-mentioned shortcomings and provide a method for identifying and warning of abnormal operation instructions for opening and closing gates of a ship lock industrial control system. The method can identify and warn of some safety risks existing in the opening and closing gates scenario of the ship lock industrial control system. By combining the actual opening and closing gate safety scenario conditions, the message protocol process operation instruction abnormality identification rules are configured, and the identification and warning of abnormal operation control instructions in the industrial control system are realized according to the rules.
[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is: a method for identifying and warning abnormal operation instructions of the gate opening and closing of the ship lock industrial control system, which comprises the following steps: Step 1: Obtaining industrial control protocol message data: monitoring the ship lock industrial control system, and capturing the communication message data transmitted during the network communication of the ship lock industrial control system through a data collector; Step 2: Analysis of industrial control protocol message data: According to the point configuration information of the actual PLC controller device, the collected industrial control protocol message data is analyzed to determine the device communication link information, message protocol information, process parameter measurement data information, and process operation instruction information corresponding to the industrial control protocol message, and the analyzed data is stored and updated in real time; Step 3: Configure the warning rules for opening and closing the gate: Configure the warning rules based on the point configuration information of the actual PLC controller equipment and the safety conditions of the actual production process of opening and closing the gate of the ship lock industrial control system; Step 4: Early warning rule identification, proofreading and alarm: After obtaining the parsed equipment information, process parameter measurement data information and process operation instruction information from the above industrial control messages, the parsed equipment process parameter information is stored and updated in real time. If the relevant switch gate instruction is subsequently parsed from the read holding register function instruction message, the stored process parameter conditions are queried and compared with the conditions in the early warning rules one by one. When the comparison and verification results meet the conditions, an alarm is triggered and displayed.
[0005] Preferably, in step 2, the device communication link information includes source IP, source MAC, source port, destination IP, destination MAC, and destination port, wherein the source MAC and destination MAC information are parsed at the data link layer in the network seven-layer protocol, the source IP and destination IP are parsed at the network layer in the network seven-layer protocol, and the source port and destination port are parsed at the transport layer in the network seven-layer protocol.
[0006] Preferably, in step 2, the message protocol information includes a message protocol type, a message protocol version, and a protocol function code, and the message protocol information is parsed at the application layer in the network seven-layer protocol.
[0007] Preferably, in step 2, the process parameter measurement data information includes the process parameter name, the process parameter data type, and the process parameter analysis value. The process parameter measurement data information is analyzed at the application layer in the network seven-layer protocol, and needs to be analyzed according to the corresponding structure of the industrial control protocol data part. The specific process parameter information that needs to be analyzed includes gate fault status (divided into B1, B2, B3, and C type faults), gate operation status (status is divided into overflow, open gate operation, waiting position, closed gate operation, open limit position, closed limit position, open end position, closed end position), emergency valve closing instruction (hardware valve closing, software valve closing), upstream and downstream water level difference, hardware lock, control mode (maintenance, on-site, centralized control), operation status (operation, pause, inching), and shutdown instruction.
[0008] Preferably, in step 2, the process operation instruction information includes the process operation instruction name, the process operation instruction data type, and the process operation instruction parsed value. The process operation information is also parsed at the application layer in the network seven-layer protocol in the same way as the process parameter measurement data parsing method. The specific operation instruction information that needs to be parsed includes opening the gate and closing the gate.
[0009] Preferably, in step 3, the warning rules are as follows: When the gate opening and closing instruction is identified from the message of the read holding register function instruction, the above-mentioned stored process parameter measurement data value is queried to determine whether the process parameter measurement value meets the following conditions: (1) The gate has one or more of the following faults: B1, B2, B3, or C, such as the water level gauge power supply switch is not closed and alarms (B1), the DC power supply of sensor 1-2 is not closed (B2), the solenoid valve control relay 2K4 is faulty (B3), and the gate closing relays 1 and 2 are simultaneously faulty (C); (2) The gate head does not meet the limit condition. The limit condition refers to a state condition of the gate before opening the gate. For example, when the gate is executed, the gate should be in the closed end position or the closed limit position. Similarly, when the gate is closed, the gate should be in the open end position or the open limit position. (3) There is an emergency valve closing instruction at the gate head. Emergency valve closing is divided into software valve closing and hardware valve closing. Hardware emergency valve closing refers to the emergency valve closing button. The hardware emergency valve closing occurs when a special situation occurs and needs to be handled. The software emergency valve closing is an automatic emergency valve closing caused by a system failure. In these two states, the gate opening and closing operations cannot be performed; (4) The gate head is in the waiting position condition. The waiting position condition means that the openings of the two gates should be consistent when the gates are in operation. If they are inconsistent, one gate will wait for the other gate. At this time, it is in the waiting position condition. If it is in the waiting position condition, the gate cannot be closed; (5) The upstream and downstream water levels are not in a horizontal state. When the upstream and downstream water level difference is between -0.4m and 0.5m, it is considered that the current upstream and downstream water levels are in a horizontal state. On the contrary, if the upstream and downstream water levels are not in a horizontal state, the upstream and downstream water levels will flow too fast when the gate is opened, posing a danger to ships in the lock chamber. (6) The lockhead is not in the locked condition. Hardware locking means that the upper and lower gates and valves are in the closed position. During the operation of the ship lock, only the middle gate between the adjacent gates can be operated. The gates and valves of the upper and lower gates should be in the closed position. Otherwise, the water flow in the middle gate will change, affecting the safety of ships in the lockhead. (7) The lock head control mode is not in any of the three modes. There are three control modes for the ship lock system: centralized control, on-site control, and maintenance. When it is detected that it is not in any of the three control modes, there may be illegal control by a third party; (8) The gate is in the pause state. There are three operating modes: run, pause, and inching. The gate opening and closing operations cannot be performed in the pause state. (9) The gate is in the shutdown command state. The shutdown command is generally issued when a system failure or special situation occurs and needs to be confirmed and processed. The gate can only be opened and closed after the confirmation and processing are completed and the shutdown command is released.
[0010] Preferably, in the condition (1), the fault levels are divided into the following categories: Class A faults only provide an alarm and do not affect system operation; B1 faults prohibit the operation of equipment (components) associated with the fault; when the gate or valve associated with the fault is in operation, it enters the protective operation state. When the operation is completed, the fault must be eliminated, otherwise the gate or valve associated with the fault is prohibited from starting up next time; when a B1 fault occurs in the gate area on one side, it is prohibited to start the gate on both sides next time; B2 faults prohibit the operation of gates and valves associated with the fault; if gates and valves associated with the fault are in operation, they must be stopped immediately; if a B2 fault occurs in the gate area on one side, the gates on both sides are prohibited from operating; B3 faults prohibit the operation of the gate or valve under fault detection; if the gate or valve associated with the fault is in operation, the operation shall be stopped immediately; if a B3 fault occurs at one side of the local station, the gate is prohibited from operating on both sides; In case of a Class C fault, the operation of the gates and valves on both sides is stopped and the current control command is cleared; in the local and centralized control modes, the emergency valve closing will be automatically executed if the valve is not completely closed; in the maintenance mode, the operation and control of other gates and valves other than the valve closing are prohibited; When one or more of the above B1, B2, B3, and C faults occur in the gate, the fault status must be confirmed and eliminated in time before the gate opening and closing operations can be performed later.
[0011] Beneficial effects of the present invention: 1. The present invention can identify and warn of some safety risks that exist in the gate opening and closing scenarios of the ship lock industrial control system. By combining the actual gate opening and closing safety scenario conditions, the message protocol process operation instruction abnormality identification rules are configured, and the abnormal operation control instructions in the industrial control system are identified and warned according to the rules.
[0012] 2. The present invention collects the original industrial control network communication message data in real time and parses the collected original message data to determine the source IP, source MAC, source port, destination IP, destination MAC, destination port and the protocol type and function code used by the message, as well as the gate / valve status and gate / valve switch operation control instructions during the operation of the lock contained in the message; it can realize real-time monitoring of some key process parameter measurement data information and process operation instruction data information in the industrial control system. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is a schematic diagram of the method flow corresponding to Example 2; Figure 2 is a schematic diagram of the method flow corresponding to Example 3; Figure 3 Schematic diagram of the system architecture corresponding to Example 4. DETAILED DESCRIPTION
[0014] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0015] Embodiment 1: A method for identifying and warning abnormal operation instructions for opening and closing gates of a ship lock industrial control system, comprising the following steps: Step 1: Obtaining industrial control protocol message data: monitoring the ship lock industrial control system, and capturing the communication message data transmitted during the network communication of the ship lock industrial control system through a data collector; Step 2: Analysis of industrial control protocol message data: According to the point configuration information of the actual PLC controller device, the collected industrial control protocol message data is analyzed to determine the device communication link information, message protocol information, process parameter measurement data information, and process operation instruction information corresponding to the industrial control protocol message, and the analyzed data is stored and updated in real time; The device communication link information includes source IP, source MAC, source port, destination IP, destination MAC, and destination port, wherein the source MAC and destination MAC information are parsed at the data link layer in the network seven-layer protocol, the source IP and destination IP are parsed at the network layer in the network seven-layer protocol, and the source port and destination port are parsed at the transport layer in the network seven-layer protocol.
[0016] The message protocol information includes a message protocol type, a message protocol version, and a protocol function code. The message protocol information is parsed at the application layer in the seven-layer network protocol.
[0017] The process parameter measurement data information includes the process parameter name, the process parameter data type, and the process parameter analysis value. The process parameter measurement data information is analyzed at the application layer in the network seven-layer protocol. It needs to be analyzed according to the corresponding structure of the industrial control protocol data part. The specific process parameter information that needs to be analyzed includes gate fault status (divided into B1, B2, B3, and C type faults), gate operation status (status is divided into overflow, open gate operation, waiting position, closed gate operation, open limit position, closed limit position, open end position, closed end position), emergency valve closing instruction (hardware valve closing, software valve closing), upstream and downstream water level difference, hardware lock, control mode (maintenance, on-site, centralized control), operation status (operation, pause, inching), and shutdown instruction.
[0018] The process operation instruction information includes the process operation instruction name, the process operation instruction data type, and the process operation instruction parsed value. The process operation information is also parsed at the application layer in the network seven-layer protocol, in the same way as the process parameter measurement data parsing method. The specific operation instruction information that needs to be parsed includes opening the gate and closing the gate.
[0019] Step 3: Configure the warning rules for opening and closing the gate: According to the point configuration information of the actual PLC controller equipment, the warning rules are configured in combination with the safety conditions of the actual production process of opening and closing the gate of the ship lock industrial control system; the warning rules are as follows: When the gate opening and closing instruction is identified from the message of the read holding register function instruction, the above-mentioned stored process parameter measurement data value is queried to determine whether the process parameter measurement value meets the following conditions: (1) The gate has one or more of the following faults: B1, B2, B3, or C, such as the water level meter power supply switch is not closed and alarms (B1), the DC power supply of sensor 1-2 is not closed (B2), the solenoid valve control relay 2K4 is faulty (B3), and the gate closing relays 1 and 2 are simultaneously faulty (C). The fault levels are divided into the following categories: Class A faults only provide an alarm and do not affect system operation; B1 faults prohibit the operation of equipment (components) associated with the fault; when the gate or valve associated with the fault is in operation, it enters the protective operation state. When the operation is completed, the fault must be eliminated, otherwise the gate or valve associated with the fault is prohibited from starting up next time; when a B1 fault occurs in the gate area on one side, it is prohibited to start the gate on both sides next time; B2 faults prohibit the operation of gates and valves associated with the fault; if gates and valves associated with the fault are in operation, they must be stopped immediately; if a B2 fault occurs in the gate area on one side, the gates on both sides are prohibited from operating; B3 faults prohibit the operation of the gate or valve under fault detection; if the gate or valve associated with the fault is in operation, the operation shall be stopped immediately; if a B3 fault occurs at one side of the local station, the gate is prohibited from operating on both sides; In case of a Class C fault, the operation of the gates and valves on both sides is stopped and the current control command is cleared; in the local and centralized control modes, the emergency valve closing will be automatically executed if the valve is not completely closed; in the maintenance mode, the operation and control of other gates and valves other than the valve closing are prohibited; When one or more of the above B1, B2, B3, and C faults occur in the gate, the fault status must be confirmed and eliminated in time before the gate opening and closing operations can be performed later.
[0020] (2) The gate head does not meet the limit condition. The limit condition refers to a state condition of the gate before opening the gate. For example, when the gate is executed, the gate should be in the closed end position or the closed limit position. Similarly, when the gate is closed, the gate should be in the open end position or the open limit position. (3) There is an emergency valve closing instruction at the gate head. Emergency valve closing is divided into software valve closing and hardware valve closing. Hardware emergency valve closing refers to the emergency valve closing button. The hardware emergency valve closing occurs when a special situation occurs and needs to be handled. The software emergency valve closing is an automatic emergency valve closing caused by a system failure. In these two states, the gate opening and closing operations cannot be performed; (4) The gate head is in the waiting position condition. The waiting position condition means that the openings of the two gates should be consistent when the gates are in operation. If they are inconsistent, one gate will wait for the other gate. At this time, it is in the waiting position condition. If it is in the waiting position condition, the gate cannot be closed; (5) The upstream and downstream water levels are not in a horizontal state. When the upstream and downstream water level difference is between -0.4m and 0.5m, it is considered that the current upstream and downstream water levels are in a horizontal state. On the contrary, if the upstream and downstream water levels are not in a horizontal state, the upstream and downstream water levels will flow too fast when the gate is opened, posing a danger to ships in the lock chamber. (6) The lockhead is not in the locked condition. Hardware locking means that the upper and lower gates and valves are in the closed position. During the operation of the ship lock, only the middle gate between the adjacent gates can be operated. The gates and valves of the upper and lower gates should be in the closed position. Otherwise, the water flow in the middle gate will change, affecting the safety of ships in the lockhead. (7) The lock head control mode is not in any of the three modes. There are three control modes for the ship lock system: centralized control, on-site control, and maintenance. When it is detected that it is not in any of the three control modes, there may be illegal control by a third party; (8) The gate is in the pause state. There are three operating modes: run, pause, and inching. The gate opening and closing operations cannot be performed in the pause state. (9) The gate is in the shutdown command state. The shutdown command is generally issued when a system failure or special situation occurs and needs to be confirmed and processed. The gate can only be opened and closed after the confirmation and processing are completed and the shutdown command is released.
[0021] Step 4: Early warning rule identification, proofreading and alarm: After obtaining the parsed equipment information, process parameter measurement data information and process operation instruction information from the above industrial control messages, the parsed equipment process parameter information is stored and updated in real time. If the relevant switch gate instruction is subsequently parsed from the read holding register function instruction message, the stored process parameter conditions are queried and compared with the conditions in the early warning rules one by one. When the comparison and verification results meet the conditions, an alarm is triggered and displayed.
[0022] Embodiment 2: Figure 1 The invention shows a key process embodiment of the method for identifying and warning abnormal operation instructions for opening and closing gates of a ship lock industrial control system.
[0023] In this optional embodiment, the method for identifying and warning abnormal operation instructions for opening and closing gates of the ship lock industrial control system includes: Step S101, monitoring the ship lock industrial control system, and capturing the industrial control protocol messages transmitted during the network communication process of the ship lock industrial control system; Step S102, parsing the protocol message to determine the device communication link information, protocol information, process parameter measurement data information, and process operation instruction information corresponding to the protocol message; the device communication link information includes source source IP, source MAC, source port, destination IP, destination MAC, and destination port; the message protocol information includes message protocol type information, message protocol version information, and protocol function type; the process parameter measurement data information includes process parameter name, process data type, process parameter value, etc.; the process operation instruction information includes process operation instruction name, process operation control instruction data type, and process operation instruction value; Step S103, the protocol information, equipment information, process parameter information and process operation information parsed from the protocol message are combined with the actual production process flow of the ship lock gate opening and closing to formulate and configure warning rules. The main rules are: when there are B1, B2, B3, and C faults at the gate head, an identification warning is performed when a gate opening and closing instruction is detected; when the gate head does not meet the limit conditions, an identification warning is performed when a gate opening and closing instruction is detected; when there is an emergency valve closing instruction at the gate head, an identification warning is performed when a gate opening and closing instruction is detected; when the gate head is in a waiting position condition, an identification warning is performed when a gate closing instruction is detected; when the water level at the gate head is not in a horizontal state, an identification warning is performed when a gate opening instruction is detected; when the gate head is not in a locked condition state, an identification warning is performed when a gate opening and closing instruction is detected; when the gate head is in a non-maintenance control mode (maintenance, on-site, centralized control), an identification warning is performed when a gate opening and closing instruction is detected; when the gate head is in a paused state, an identification warning is performed when a gate opening and closing instruction is detected; when the gate head is in a shutdown state, an identification warning is performed when a gate opening and closing instruction is detected; Step S104, compare the protocol information, equipment information, process parameter measurement data information, process operation instruction information and switch gate warning configuration rules obtained by parsing the message, and if the warning rules are met, the warning information notification is displayed.
[0024] Embodiment 3: Figure 2 A detailed process embodiment of the method for identifying and warning abnormal operation instructions for opening and closing gates of a ship lock industrial control system of the present invention is shown.
[0025] In this optional embodiment, the method for identifying and warning abnormal operation instructions for opening and closing gates of the ship lock industrial control system includes: Step S201, capturing and acquiring protocol messages, for monitoring the ship lock industrial control system, capturing all the industrial control protocol messages transmitted during the network communication process of the ship lock industrial control system; Step S202, protocol message information parsing, for analyzing the protocol message to determine the device communication link information, protocol information, process parameter measurement data information, and process operation instruction information corresponding to the protocol message; Step S203, gate opening and closing warning rule configuration, the rule configuration needs to be combined with the actual ship lock gate opening and closing production process safety conditions, such as when opening and closing the gate, the equipment fault status level, gate head water level, shutdown status, maintenance control mode, locking status, limit conditions, emergency valve closing instructions, pause status and other conditions are used to configure the warning rules.
[0026] Step S204, early warning rule recognition, proofreading and alarm, compare the switch gate abnormal operation control instruction recognition rule library, and substitute the process parameter measurement data into the process parameter measurement data logic rule expression, and obtain the abnormal operation control instruction recognition rule analysis result according to the process parameter measurement data logic rule execution result, so as to realize the recognition and early warning of abnormal operation control instructions of the industrial control system.
[0027] Embodiment 4: Figure 3 The present invention shows a system architecture embodiment of the method for identifying and warning abnormal operation instructions of the ship lock industrial control system. The system includes: Data collector: The data collector can be used to collect real-time communication message data in the lock industrial control system. The data collector can be connected to the lock system by using the switch mirror port access method, and at the same time, it can achieve non-intrusion and non-interference to the lock system.
[0028] Identification and early warning system, the identification and early warning system can parse the collected communication message information, parse and identify the source IP, source MAC, source port, destination IP, destination MAC, destination port, protocol, function code, process parameters, process operation instructions, etc. in the message. At the same time, it can also realize the early warning function of abnormal instructions. According to the preconditions of the actual ship lock opening and closing gate instructions, the corresponding early warning rules are formulated in the system. When the system parses the switch instruction from the message, it will detect the state value of the process parameters of the current ship lock system according to the early warning rules to determine whether it meets the early warning rules. If it meets the rules, an early warning reminder will be issued.
[0029] Database server: Database server is mainly used for data storage services. The stored information mainly includes original network messages and parsed message information, equipment asset information, warning rule information, etc.
[0030] Display: The display mainly plays a visual role. Warning rules can be configured and warning information can be displayed on the display interface.
[0031] The above embodiments are only preferred technical solutions of the present invention and should not be regarded as limiting the present invention. The protection scope of the present invention shall be the technical solutions recorded in the claims, including equivalent replacement solutions of the technical features in the technical solutions recorded in the claims. That is, equivalent replacement improvements within this scope are also within the protection scope of the present invention.
Claims
1. A method for identifying and warning abnormal operation instructions for opening and closing gates in a ship lock industrial control system. Features: It includes the following steps: Step 1: Obtaining industrial control protocol message data: monitoring the ship lock industrial control system, and capturing the communication message data transmitted during the network communication of the ship lock industrial control system through a data collector; Step 2: Analysis of industrial control protocol message data: According to the point configuration information of the actual PLC controller device, the collected industrial control protocol message data is analyzed to determine the device communication link information, message protocol information, process parameter measurement data information, and process operation instruction information corresponding to the industrial control protocol message, and the analyzed data is stored and updated in real time; Step 3: Configure the warning rules for opening and closing the gate: Configure the warning rules based on the point configuration information of the actual PLC controller equipment and the safety conditions of the actual production process of opening and closing the gate of the ship lock industrial control system; Step 4: Early warning rule identification, proofreading and alarm: After obtaining the parsed equipment information, process parameter measurement data information and process operation instruction information from the above industrial control messages, the parsed equipment process parameter information is stored and updated in real time. If the relevant switch gate instruction is subsequently parsed from the read holding register function instruction message, the stored process parameter conditions are queried and compared with the conditions in the early warning rules one by one. When the comparison and verification results meet the conditions, an alarm is triggered and displayed.
2. According to the method for identifying and warning abnormal operation instructions of the ship lock industrial control system opening and closing gates according to claim 1, Features: In step 2, the device communication link information includes source IP, source MAC, source port, destination IP, destination MAC, and destination port, wherein the source MAC and destination MAC information are parsed at the data link layer in the network layer 7 protocol, the source IP and destination IP are parsed at the network layer in the network layer 7 protocol, and the source port and destination port are parsed at the transport layer in the network layer 7 protocol.
3. According to claim 1, the method for identifying and warning abnormal operation instructions of the ship lock industrial control system for opening and closing the gate, Features: In step 2, the message protocol information includes the message protocol type, the message protocol version, and the protocol function code, and the message protocol information is parsed at the application layer in the seven-layer network protocol.
4. The method for identifying and warning abnormal operation instructions of the ship lock industrial control system for opening and closing gates according to claim 3, Features: In step 2, the process parameter measurement data information includes the process parameter name, the process parameter data type, and the process parameter analysis value. The process parameter measurement data information is analyzed at the application layer in the network seven-layer protocol. It needs to be analyzed according to the corresponding structure of the industrial control protocol data part. The specific process parameter information that needs to be analyzed includes gate fault status (divided into B1, B2, B3, and C type faults), gate operation status (status is divided into overflow, open gate operation, waiting position, closed gate operation, open limit position, closed limit position, open end position, closed end position), emergency valve closing instruction (hardware valve closing, software valve closing), upstream and downstream water level difference, hardware lock, control mode (maintenance, on-site, centralized control), operation status (operation, pause, inching), and shutdown instruction.
5. According to claim 4, the method for identifying and warning abnormal operation instructions of the ship lock industrial control system for opening and closing the gate, Features: In step 2, the process operation instruction information includes the process operation instruction name, the process operation instruction data type, and the process operation instruction parsed value. The process operation information is also parsed at the application layer in the network seven-layer protocol in the same way as the process parameter measurement data parsing method. The specific operation instruction information that needs to be parsed includes opening the gate and closing the gate.
6. The method for identifying and warning abnormal operation instructions of the ship lock industrial control system for opening and closing gates according to claim 1, Features: In step 3, the warning rules are as follows: When the gate opening and closing instruction is identified from the message of the read holding register function instruction, the above-mentioned stored process parameter measurement data value is queried to determine whether the process parameter measurement value meets the following conditions: (1) The gate has one or more of the following faults: B1, B2, B3, or C, such as the water level gauge power supply switch is not closed and alarms (B1), the DC power supply of sensor 1-2 is not closed (B2), the solenoid valve control relay 2K4 is faulty (B3), and the gate closing relays 1 and 2 are simultaneously faulty (C); (2) The gate head does not meet the limit condition. The limit condition refers to a state condition of the gate before opening the gate. For example, when the gate is executed, the gate should be in the closed end position or the closed limit position. Similarly, when the gate is closed, the gate should be in the open end position or the open limit position. (3) There is an emergency valve closing instruction at the gate head. Emergency valve closing is divided into software valve closing and hardware valve closing. Hardware emergency valve closing refers to the emergency valve closing button. The hardware emergency valve closing occurs when a special situation occurs and needs to be handled. The software emergency valve closing is an automatic emergency valve closing caused by a system failure. In these two states, the gate opening and closing operations cannot be performed; (4) The gate head is in the waiting position condition. The waiting position condition means that the openings of the two gates should be consistent when the gates are in operation. If they are inconsistent, one gate will wait for the other gate. At this time, it is in the waiting position condition. If it is in the waiting position condition, the gate cannot be closed; (5) The upstream and downstream water levels are not in a horizontal state. When the upstream and downstream water level difference is between -0.4m and 0.5m, it is considered that the current upstream and downstream water levels are in a horizontal state. On the contrary, if the upstream and downstream water levels are not in a horizontal state, the upstream and downstream water levels will flow too fast when the gate is opened, posing a danger to ships in the lock chamber. (6) The lockhead is not in the locked condition. Hardware locking means that the upper and lower gates and valves are in the closed position. During the operation of the ship lock, only the middle gate between the adjacent gates can be operated. The gates and valves of the upper and lower gates should be in the closed position. Otherwise, the water flow in the middle gate will change, affecting the safety of ships in the lockhead. (7) The lock head control mode is not in any of the three modes. There are three control modes for the ship lock system: centralized control, on-site control, and maintenance. When it is detected that it is not in any of the three control modes, there may be illegal control by a third party; (8) The gate is in the pause state. There are three operating modes: run, pause, and inching. The gate opening and closing operations cannot be performed in the pause state. (9) The gate is in the shutdown command state. The shutdown command is generally issued when a system failure or special situation occurs and needs to be confirmed and processed. The gate can only be opened and closed after the confirmation and processing are completed and the shutdown command is released.
7. The method for identifying and warning abnormal operation instructions of the ship lock industrial control system for opening and closing gates according to claim 6, Features: In condition (1), the fault levels are classified into the following categories: Class A faults only provide an alarm and do not affect system operation; B1 faults prohibit the operation of equipment (components) associated with the fault; when the gate or valve associated with the fault is in operation, it enters the protective operation state. When the operation is completed, the fault must be eliminated, otherwise the gate or valve associated with the fault is prohibited from starting up next time; when a B1 fault occurs in the gate area on one side, it is prohibited to start the gate on both sides next time; B2 faults prohibit the operation of gates and valves associated with the fault; if gates and valves associated with the fault are in operation, they must be stopped immediately; if a B2 fault occurs in the gate area on one side, the gates on both sides are prohibited from operating; B3 faults prohibit the operation of the gate or valve under fault detection; if the gate or valve associated with the fault is in operation, the operation shall be stopped immediately; if a B3 fault occurs at one side of the local station, the gate is prohibited from operating on both sides; In case of a Class C fault, the operation of the gates and valves on both sides is stopped and the current control command is cleared; in the local and centralized control modes, the emergency valve closing will be automatically executed if the valve is not completely closed; in the maintenance mode, the operation and control of other gates and valves other than the valve closing are prohibited; When one or more of the above B1, B2, B3, and C faults occur in the gate, the fault status must be confirmed and eliminated in time before the gate opening and closing operations can be performed later.
