Rapid switching system in case of industrial engine failure based on firewall transparent mode
By using the first industrial switch and the second industrial switch in the industrial firewall transparent mode to automatically monitor and switch traffic routes, the problem of being unable to automatically sense and switch when the industrial engine fails is solved, achieving rapid recovery and production safety.
Patent Information
- Application Number
- CN202410900608.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-05
AI Technical Summary
Industrial firewalls cannot proactively determine their own industrial engine failures, causing operation and maintenance personnel to need to manually recover, which prolongs business recovery time, increases operation and maintenance costs, and may affect production safety.
Design a system based on firewall transparent mode that automatically monitors the status of the industrial engine through the first industrial switch and the second industrial switch. If there is a fault, it automatically switches the traffic route to bypass the fault point and achieve rapid recovery.
It realizes rapid switching and recovery when industrial engine fails, reduces operation and maintenance costs, and ensures the continuity and safety of production.
Smart Images

Figure CN118748612A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial production, and in particular to a fast switching system when an industrial engine fails based on a firewall transparent mode. Background Art
[0002] The industrial engine of an industrial firewall is one of the key components of the network security of an industrial control system. It protects the system from unauthorized access and malicious attacks by monitoring and managing the network traffic of the industrial control system. These engines can perform a variety of security measures according to pre-set security policies, including traffic filtering, access control, and other defensive measures against potential threats. By implementing access control lists, detecting and blocking potential malicious traffic, or limiting access to critical systems, the industrial engine can effectively ensure the security of the system. The spanning tree protocol is a protocol used to prevent loops and determine the best path in a network. It ensures that there is only one active path in a network topology, thereby preventing data packets from looping infinitely in the network. The spanning tree protocol achieves this goal by establishing a tree structure between switches and disabling some links. In the spanning tree protocol, each port on the switch has a priority setting that determines the role and status of the port in the spanning tree calculation. The smaller the port priority, the higher the priority.
[0003] At present, industrial firewalls are usually unable to proactively determine whether their own industrial engines have failed, and must rely on operation and maintenance personnel to observe abnormalities in business processes or interruptions in business traffic, and to troubleshoot and locate problems one by one. Once a fault is found, the operation and maintenance personnel need to manually restore or temporarily bypass the industrial firewall with the industrial engine failure, which will obviously prolong the business recovery time. This passive and inefficient method increases the cost of operation and maintenance. However, in industrial sites, the interruption of the life and business of on-site operators is absolutely not allowed, because it may cause production stagnation, production line failure, and even pose a threat to safety, which will have a serious impact on the production and operation of the enterprise. Summary of the invention
[0004] To this end, the present invention provides a fast switching system when an industrial engine fails based on a firewall transparent mode to solve the above-mentioned problems in the prior art.
[0005] In order to achieve the above object, the present invention provides the following technical solutions:
[0006] According to a first aspect of the present invention, a fast switching system when an industrial engine fails based on a firewall transparent mode includes a first industrial switch and a second industrial switch, wherein the first industrial switch and the second industrial switch can support the configuration of industrial engine monitoring ports for industrial protocol transceiver, the first industrial switch generates a first signal transceiver port and a second signal transceiver port through configuration, the second industrial switch generates a third signal transceiver port and a fourth signal transceiver port through configuration, the first signal transceiver port of the first industrial switch is signal-connected to the third signal transceiver port of the second industrial switch, the second signal transceiver port of the first industrial switch is signal-connected to the fourth signal transceiver port of the second industrial switch, and an industrial firewall is provided between the first signal transceiver port of the first industrial switch and the third signal transceiver port of the second industrial switch;
[0007] Specifically: the first industrial switch and the second industrial switch both have the spanning tree protocol enabled. The first industrial switch is set as the root bridge, and the second industrial switch is set as the backup bridge. The spanning tree port priorities of the first signal transceiver port of the first industrial switch and the third signal transceiver port of the second industrial switch are high, and the default is medium. The third signal transceiver port of the second industrial switch is set to a blocking state because its priority is lower than that of the fourth signal transceiver port. Traffic is forwarded through the fourth signal transceiver port and the industrial firewall.
[0008] If the industrial engine status is normal, no change is made. If the industrial engine status is failed, the first industrial switch and the second industrial switch will automatically modify the spanning tree port priority of the first signal transceiver port and the third signal transceiver port to high, and the spanning tree port priority of the second signal transceiver port and the fourth signal transceiver port to high. The default is medium, and the status of the fourth signal transceiver port of the second industrial switch changes from forwarding to blocking, and the blocking status of the third signal transceiver port changes to forwarding.
[0009] Furthermore, the second signal transceiver port of the first industrial switch and the fourth signal transceiver port of the second industrial switch are industrial engine monitoring ports, the first industrial switch acts as the MOD second industrial switch US client, and the second industrial switch acts as the MOD second industrial switch US server.
[0010] Furthermore, the first industrial switch will use the second signal transceiver port to send a MOD second industrial switch US query request to the second industrial switch at a certain time interval, recorded as N seconds. The second industrial switch that receives the instruction will immediately reply a MOD second industrial switch US response to the first industrial switch from the fourth signal transceiver port.
[0011] Furthermore, if the first industrial switch does not receive a response from the second industrial switch within 3N, the industrial protocol engine state is set to failure; and if a response is received from the second industrial switch within this period, the industrial protocol engine state is set to normal.
[0012] Furthermore, if the second industrial switch does not receive a query request from the first industrial switch MOD second industrial switch US within 3N, the industrial protocol engine status will also be set to failure. If a query request from the first industrial switch MOD second industrial switch US is received during this period, the industrial engine status will be set to normal.
[0013] Furthermore, the industrial firewall is in a transparent mode. In this mode, messages related to the transparent transmission of the spanning tree protocol do not participate in the spanning tree protocol calculation.
[0014] Furthermore, the first industrial switch is set as a root bridge during switching and recovery when an industrial engine fails, and the second industrial switch is set as a backup bridge.
[0015] The present invention has the following advantages: in the transparent mode of the industrial firewall, the first industrial switch sends a query request of the MOD second industrial switch US to the second industrial switch at a certain time interval, and detects whether the state of the industrial protocol engine is in a normal state according to the query request and response of the MOD second industrial switch US between the second industrial switch and the first industrial switch, thereby realizing automatic monitoring of the industrial engine state of the industrial firewall. When the industrial protocol engine state fails, the second signal transceiver port is automatically converted to the first signal transceiver port for traffic transmission, and the fault point is automatically skipped to realize rapid switching and network recovery when the industrial engine fails. When the fault is restored, the first signal transceiver port transmits traffic again and is converted to the second signal transceiver port, which can realize the problem of automatic recovery of traffic to the industrial firewall when the industrial engine fault of the industrial firewall is restored. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 The present invention provides a process flow chart for successfully switching the industrial engine status of the system based on a rapid industrial engine failure in firewall transparent mode.
[0017] Figure 2 The present invention provides a processing flow chart for quickly switching the industrial engine status of the system to failure when the industrial engine fails in the firewall transparent mode.
[0018] Figure 3 A schematic diagram of the structure of a fast switching system when an industrial engine fails in firewall transparent mode provided by the present invention. DETAILED DESCRIPTION
[0019] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] Example 1
[0021] like Figures 1 to 3 As shown, in an embodiment of the first aspect of the present invention, a fast switching system in case of industrial engine failure based on firewall transparent mode includes a first industrial switch and a second industrial switch. The first industrial switch and the second industrial switch can support the configuration of industrial engine monitoring ports for industrial protocol transceiver. The first industrial switch generates a first signal transceiver port and a second signal transceiver port through configuration. The second industrial switch generates a third signal transceiver port and a fourth signal transceiver port through configuration. The first signal transceiver port of the first industrial switch is signal-connected to the third signal transceiver port of the second industrial switch. The second signal transceiver port of the first industrial switch is signal-connected to the fourth signal transceiver port of the second industrial switch. An industrial firewall is arranged between the first signal transceiver port of the first industrial switch and the third signal transceiver port of the second industrial switch.
[0022] In the above embodiment, it should be noted that the industrial firewall is in transparent mode. In this mode, the relevant messages of the transparent spanning tree protocol do not participate in the spanning tree protocol calculation. In the switching and recovery device when the industrial engine fails, the spanning tree protocol is enabled through the first industrial switch and the second industrial switch. The first industrial switch is set as the root bridge, and the second industrial switch is set as the backup bridge. In order to achieve this configuration, the spanning tree port priority of the first signal transceiver port of the first industrial switch and the third signal transceiver port of the second industrial switch is modified to high level, and the default is medium. According to the spanning tree algorithm calculation, the third signal transceiver port of the second industrial switch will be set to a blocked state because its priority is lower than that of the fourth signal transceiver port. The traffic is forwarded through the fourth signal transceiver port and the industrial firewall. When the industrial engine status is detected to be normal, no changes are made.
[0023] The technical effect achieved by the above embodiment is: solving the problem that the industrial engine of the industrial firewall cannot automatically sense when it fails, and realizing automatic monitoring of the industrial engine status of the industrial firewall.
[0024] Example 2
[0025] like Figures 1 to 3As shown, a fast switching system when an industrial engine fails based on a firewall transparent mode includes all the contents of Example 1. In addition, the second signal transceiver port of the first industrial switch and the fourth signal transceiver port of the second industrial switch are industrial engine monitoring ports. The first industrial switch acts as a MOD second industrial switch US client, and the second industrial switch acts as a MOD second industrial switch US server. The first industrial switch uses the second signal transceiver port to send a MOD second industrial switch US query request to the second industrial switch at a certain time interval, recorded as N seconds. The second industrial switch that receives the instruction will immediately reply a MOD second industrial switch US response to the first industrial switch from the fourth signal transceiver port;
[0026] In the above embodiment, it should be noted that, if the industrial engine status is monitored as failed, the first industrial switch and the second industrial switch will automatically modify the spanning tree port priority of the first signal transceiver port and the third signal transceiver port to medium, and the spanning tree port priority of the second signal transceiver port and the fourth signal transceiver port to high, which is medium by default, so that the spanning tree is recalculated, and the status of the fourth signal transceiver port of the second industrial switch is changed from forwarding to blocking, and the blocking status of the third signal transceiver port is changed to forwarding. Therefore, the traffic will be forwarded from the first signal transceiver port and the third signal transceiver port of the first industrial switch and the second industrial switch, bypassing the industrial firewall of the industrial engine failure. When the industrial engine monitoring port configured by the industrial switch is in a blocking state, it will not forward other business traffic, but can still send and receive query requests and responses of the MOD second industrial switch US of the opposite switch;
[0027] The technical effect achieved by the above embodiments is: solving the problem that the industrial firewall cannot switch to skip the fault point when the industrial engine fails, and realizing the rapid switching and network recovery when the industrial engine fails.
[0028] Example 3
[0029] like Figures 1 to 3As shown, a fast switching system when an industrial engine fails based on a firewall transparent mode includes all the contents of Example 2. In addition, if the first industrial switch does not receive a response from the second industrial switch within 3N, the industrial protocol engine state is set to failure; if a response is received from the second industrial switch during this period, the industrial protocol engine state is set to normal. If the second industrial switch does not receive a query request from the first industrial switch MOD second industrial switch US within 3N, the industrial protocol engine state is also set to failure. If a query request from the first industrial switch MOD second industrial switch US is received during this period, the industrial engine state is set to normal. The industrial firewall is in transparent mode. In this mode, the relevant messages of the transparent transmission spanning tree protocol do not participate in the spanning tree protocol calculation. The first industrial switch is set to the root bridge during switching and recovery when the industrial engine fails, and the second industrial switch is set to the backup bridge.
[0030] In the above embodiment, it should be noted that when the industrial engine of the industrial firewall recovers from a failed state to a normal state, the first industrial switch and the second industrial switch will automatically configure the priority of the first signal transceiver port and the third signal transceiver port to a high level, and the priority of the second signal transceiver port and the fourth signal transceiver port to a medium level. At this time, the spanning tree is triggered to be recalculated, and the fourth signal transceiver port of the second industrial switch changes from a blocking state to a forwarding state, and the third signal transceiver port changes from a forwarding state to a blocking state. The traffic is forwarded from the second signal transceiver port and the fourth signal transceiver port of the first industrial switch and the second industrial switch through the industrial firewall, thereby achieving the switching of the industrial engine state from failure to normal.
[0031] The technical effect achieved by the above embodiment is: solving the problem that the traffic cannot be automatically restored to the industrial firewall when the industrial engine of the industrial firewall recovers from a failure, and realizing that when the industrial engine is restored, the initial networking can be quickly restored.
[0032] Working principle: The industrial firewall is in transparent mode. In this mode, the related messages of the transparent spanning tree protocol do not participate in the spanning tree protocol calculation. In the switching and recovery device when the industrial engine fails, the spanning tree protocol is enabled through the first industrial switch and the second industrial switch. The first industrial switch is set as the root bridge, and the second industrial switch is set as the backup bridge. In order to achieve this configuration, the spanning tree port priority of the first signal transceiver port of the first industrial switch and the third signal transceiver port of the second industrial switch is modified to high level, and the default is medium. According to the spanning tree algorithm calculation, the third signal transceiver port of the second industrial switch will be set to a blocking state because its priority is lower than the fourth signal transceiver port. The traffic is forwarded through the fourth signal transceiver port and through the industrial firewall. When the industrial engine status is detected to be normal, no changes are made. However, if the industrial engine status is detected to be failed, the first industrial switch and the second industrial switch will automatically modify the spanning tree port priority of the first signal transceiver port and the third signal transceiver port to medium level, and the spanning tree port priority of the second signal transceiver port and the fourth signal transceiver port to high level, and the default is medium, so that the generation The spanning tree is recalculated, and the state of the fourth signal transceiver port of the second industrial switch changes from forwarding to blocking, and the blocking state of the third signal transceiver port changes to forwarding. Therefore, the traffic will be forwarded from the first and third signal transceiver ports of the first and second industrial switches, bypassing the industrial firewall with industrial engine failure. When the industrial engine monitoring port configured by the industrial switch is in a blocking state, it will not forward other business traffic, but it can still send and receive the query request and response of the MOD second industrial switch US of the opposite switch. When the industrial engine of the industrial firewall recovers from the failed state to the normal state, the first and second industrial switches will automatically configure the priority of the first and third signal transceiver ports to high level, and the priority of the second and fourth signal transceiver ports to medium level. At this time, the spanning tree is triggered to be recalculated, and the fourth signal transceiver port of the second industrial switch changes from blocking state to forwarding, and the third signal transceiver port changes from forwarding state to blocking. The traffic is forwarded from the second and fourth signal transceiver ports of the first and second industrial switches through the industrial firewall, achieving the switching of the industrial engine state from failure to normal.
Claims
1. A fast switching system for industrial engine failure based on firewall transparent mode, characterized in that: It includes a first industrial switch and a second industrial switch, wherein the first industrial switch and the second industrial switch can support the configuration of industrial engine monitoring ports for industrial protocol transceiver, the first industrial switch generates a first signal transceiver port and a second signal transceiver port through configuration, the second industrial switch generates a third signal transceiver port and a fourth signal transceiver port through configuration, the first signal transceiver port of the first industrial switch is signal-connected to the third signal transceiver port of the second industrial switch, the second signal transceiver port of the first industrial switch is signal-connected to the fourth signal transceiver port of the second industrial switch, and an industrial firewall is provided between the first signal transceiver port of the first industrial switch and the third signal transceiver port of the second industrial switch; Specifically: the first industrial switch and the second industrial switch both have the spanning tree protocol enabled. The first industrial switch is set as the root bridge, and the second industrial switch is set as the backup bridge. The spanning tree port priorities of the first signal transceiver port of the first industrial switch and the third signal transceiver port of the second industrial switch are high, and the default is medium. The third signal transceiver port of the second industrial switch is set to a blocking state because its priority is lower than that of the fourth signal transceiver port. Traffic is forwarded through the fourth signal transceiver port and the industrial firewall. If the industrial engine status is normal, no change is made. If the industrial engine status is failed, the first industrial switch and the second industrial switch will automatically modify the spanning tree port priority of the first signal transceiver port and the third signal transceiver port to high, and the spanning tree port priority of the second signal transceiver port and the fourth signal transceiver port to high. The default is medium, and the status of the fourth signal transceiver port of the second industrial switch changes from forwarding to blocking, and the blocking status of the third signal transceiver port changes to forwarding.
2. According to claim 1, a fast switching system for industrial engine failure based on firewall transparent mode is characterized in that: The second signal transceiver port of the first industrial switch and the fourth signal transceiver port of the second industrial switch are industrial engine monitoring ports. The first industrial switch acts as a MOD second industrial switch US client, and the second industrial switch acts as a MOD second industrial switch US server.
3. According to claim 1, a fast switching system for industrial engine failure based on firewall transparent mode is characterized in that: The first industrial switch will use the second signal transceiver port to send a MOD second industrial switch US query request to the second industrial switch at a certain time interval, recorded as N seconds. The second industrial switch that receives the instruction will immediately reply a MOD second industrial switch US response to the first industrial switch from the fourth signal transceiver port.
4. According to claim 1, a fast switching system for industrial engine failure based on firewall transparent mode is characterized in that: If the first industrial switch does not receive a response from the second industrial switch within 3N, the industrial protocol engine state is set to failure; if a response is received from the second industrial switch within this period, the industrial protocol engine state is set to normal.
5. According to claim 1, a fast switching system for industrial engine failure based on firewall transparent mode is characterized in that: If the second industrial switch does not receive a query request from the first industrial switch within 3N, the industrial protocol engine status will also be set to failure. If a query request from the first industrial switch within this period is received, the industrial engine status will be set to normal.
6. According to claim 1, a fast switching system for industrial engine failure based on firewall transparent mode is characterized in that: The industrial firewall is in a transparent mode. In this mode, messages related to the transparently transmitted spanning tree protocol do not participate in the spanning tree protocol calculation.
7. According to claim 1, a fast switching system for industrial engine failure based on firewall transparent mode is characterized in that: The first industrial switch is set as a root bridge during switching and recovery when an industrial engine fails, and the second industrial switch is set as a backup bridge.
Citation Information
Patent Citations
Industrial Ethernet data distribution and link redundancy design
CN103095540A
Method and system for firewall automatic bypass based on switches
CN106209425A
System, method and device for transferring data of MODBUS / TCP protocol in TSN and equipment
CN112087461A
Spanning tree protocol traffic handling system
US20200119974A1
Communications system and method for maintaining topology in a VLAN environment
US8873431B1
