A dual-master redundant backup method and system based on industrial protocol

Through the industrial protocol dual-master redundancy backup method between the industrial firewall and the switch, the dual-master redundancy problem of the industrial firewall in transparent mode is solved, a more detailed protocol-level redundancy backup is achieved, and the performance of multi-protocol processing is reduced. consumption and failure probability, improving the stability of the switching process.

CN115442456BActive Publication Date: 2024-08-23BEIJING HUIERTE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211128846.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-16
Publication Date
2024-08-23
Estimated Expiration
2042-09-16

AI Technical Summary

Technical Problem

The existing dual-machine hot standby solution fails to effectively support dual-master redundancy of industrial protocols in transparent mode, resulting in high performance consumption and unstable failover of industrial firewalls when processing multiple protocols. Especially in industrial control sites, protocol reliability cannot be met. requirements.

Method used

By establishing a dual-master redundancy backup method based on industrial protocols between the industrial firewall and the switch, the business management interface is used to obtain configuration synchronization and session synchronization information, generate a private protocol, and send it to the industrial switch according to the status changes of the industrial firewall device. Realize differentiated forwarding of industrial protocols, reducing firewall load and switching impact.

Benefits of technology

It realizes dual-master redundant backup of industrial firewalls in transparent mode, reduces the failure probability and performance pressure of multi-protocol processing, improves the stability of the switching process and the imperceptibility of the firewall, and reduces packet loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115442456B
    Figure CN115442456B
Patent Text Reader

Abstract

The present application discloses a dual-master redundant backup method and system based on industrial protocols. First, configuration synchronization and session synchronization information are obtained and judged through the business management interface. When the information changes, a first message is generated, and a second message is generated according to the basic status of the current industrial firewall device and the change status of the monitoring interface; and a private protocol is generated based on the first message and the second message, and is sent to the industrial switch according to a preset time interval; then the industrial switch obtains the private protocol sent from the industrial firewall device, and when the judgment result is an industrial protocol, and further judges that the HET industrial layer 2 forwarding table has a corresponding table entry, it is forwarded to the corresponding industrial firewall according to the table entry. The present invention can shunt different industrial protocols to different firewalls, so that the firewall processing of industrial protocols becomes single, reducing the problems that may be caused by the firewall processing multiple protocols and reducing the performance consumption caused by processing multiple industrial protocols at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a dual-master redundant backup method and system based on an industrial protocol. Background Art

[0002] As an important product of network infrastructure, the reliability requirements of firewalls are self-evident. In order to solve the single point failure problem of firewalls, major manufacturers have launched dual-machine hot standby technical solutions to solve such problems. Dual-machine hot standby has two main working modes. One is the active-standby redundancy mode, that is, only one main firewall processes business traffic, and the other backup firewall is used for backup. When the main firewall fails, the traffic will be switched to the backup firewall. The other is the dual-active redundancy mode, that is, the two firewalls back up each other and both process traffic. When one firewall fails, all traffic will be switched to the other firewall. The deployment mode of firewalls can generally be divided into routing, bypass and transparent mode. Routing and bypass modes can achieve dual-machine hot standby through VRRP or dynamic routing. Dual-machine hot standby in transparent mode is mostly achieved through self-developed private protocols.

[0003] Currently, mainstream dual-machine hot standby solutions do not support protocol-based differentiation, and there are even fewer dual-active redundancy solutions in transparent mode. Industrial control sites have higher requirements for protocol reliability, especially the need to ensure that the transmission of industrial protocols is fault-free. Therefore, there is an urgent need for a dual-active redundancy solution based on industrial protocols in transparent mode. Summary of the invention

[0004] Based on this, the embodiment of the present application provides a dual-master redundant backup method and system based on industrial protocols, which can divert different industrial protocols to different firewalls, making the firewall processing industrial protocols unified. This reduces the problems that may be caused by the firewall processing multiple protocols and reduces the performance consumption caused by processing multiple industrial protocols at the same time.

[0005] In a first aspect, a dual-active redundant backup method based on an industrial protocol is provided, which is applied to an industrial firewall device. The method includes:

[0006] Obtaining configuration synchronization and session synchronization information of the dual-machine hot standby system through the service management interface; wherein the configuration synchronization and session synchronization information at least include Industrial Protocol and Priority fields;

[0007] Determine the currently acquired configuration synchronization and session synchronization information, and generate a first message when the information changes;

[0008] Generate a second message according to the basic status of the current industrial firewall device and the change status of the monitoring interface;

[0009] A private protocol is generated based on the first message and the second message, and is sent to the industrial switch according to a preset time interval.

[0010] Optionally, generating a second message according to the basic state of the current industrial firewall device and the change state of the monitoring interface includes:

[0011] If the monitoring interface status changes from up to down, the second message includes at least a corresponding value of the priority value corresponding to the reduced configuration;

[0012] If the monitoring interface status changes from down to up, the second message includes at least the priority value plus the configured corresponding value;

[0013] If the current industrial firewall device status changes from normal to faulty, the second message at least includes setting the priority value to 0;

[0014] If the current industrial firewall device status changes from failure to normal, the second message at least includes restoring the priority value to the value before the last failure.

[0015] Optionally, judging the currently acquired configuration synchronization and session synchronization information, and generating a first message when the information changes, further comprising:

[0016] Record the correspondence between Industrial Protocol and Priority, monitoring interface, lowering priority, and other configuration or device information of industrial firewall administrators.

[0017] Optionally, generating a private protocol based on the first message and the second message includes:

[0018] Generate a private protocol with Industrial Protocol and Priority fields.

[0019] In a second aspect, a dual-active redundant backup method based on an industrial protocol is provided, which is applied to an industrial switch, and the method includes:

[0020] Obtain the private protocol issued by the industrial firewall device and perform protocol judgment on the private protocol;

[0021] When the judgment result is an industrial protocol, it will determine whether there is a corresponding entry in the HET industrial layer 2 forwarding table;

[0022] When a corresponding entry exists, it is forwarded to the corresponding industrial firewall according to the entry.

[0023] Optionally, the method further comprises:

[0024] When the protocol judgment result is not an industrial protocol, or it is judged that there is no corresponding entry in the HET industrial layer 2 forwarding table;

[0025] Then, an interface is calculated based on the HASH value of the destination port and then matched with the HET industrial layer 2 forwarding table entry; and forwarded to the corresponding industrial firewall according to the table entry.

[0026] In the third aspect, a dual-active redundant backup system based on an industrial protocol is provided, the system comprising an industrial firewall device and an industrial switch:

[0027] An industrial firewall device, used for obtaining configuration synchronization and session synchronization information of a dual-machine hot standby system through a service management interface; wherein the configuration synchronization and session synchronization information at least include Industrial Protocol and Priority fields; judging the currently obtained configuration synchronization and session synchronization information, and generating a first message when the information changes; generating a second message according to the basic state of the current industrial firewall device and the change state of the monitoring interface; generating a private protocol based on the first message and the second message, and sending it to the industrial switch according to a preset time interval;

[0028] The industrial switch is used to obtain the private protocol issued by the industrial firewall device and perform protocol judgment on the private protocol; when the judgment result is an industrial protocol, it will determine whether there is a corresponding table entry in the HET industrial layer 2 forwarding table; when a corresponding table entry exists, it will be forwarded to the corresponding industrial firewall according to the table entry.

[0029] In a fourth aspect, an industrial firewall device is provided, which is applied to the dual-active redundant backup method of the first aspect, and the industrial firewall device includes:

[0030] A dual-machine hot standby module, used to obtain configuration synchronization and session synchronization information of the dual-machine hot standby system through a service management interface; wherein the configuration synchronization and session synchronization information at least include Industrial Protocol and Priority fields;

[0031] A configuration module, configured to judge the currently acquired configuration synchronization and session synchronization information, and generate a first message when the information changes;

[0032] A monitoring module, used to generate a second message according to the basic status of the current industrial firewall device and the change status of the monitoring interface;

[0033] The sending module is used to generate a private protocol based on the first message and the second message, and send it to the industrial switch according to a preset time interval.

[0034] In a fifth aspect, an industrial switch is provided, which is applied to the dual-active redundant backup method of the second aspect, and the industrial firewall device includes:

[0035] The first judgment module is used to obtain the private protocol issued by the industrial firewall device and perform protocol judgment on the private protocol;

[0036] The second judgment module is used to judge whether there is a corresponding table entry in the HET industrial layer 2 forwarding table when the judgment result is an industrial protocol;

[0037] The forwarding module is used to forward the information to the corresponding industrial firewall according to the table entry when there is a corresponding table entry.

[0038] In the technical solution provided by the embodiment of the present application, the industrial firewall device obtains the configuration synchronization and session synchronization information of the dual-machine hot standby system through the business management interface; judges the currently obtained configuration synchronization and session synchronization information, and generates a first message when the information changes; generates a second message based on the basic status of the current industrial firewall device and the change status of the monitoring interface; generates a private protocol based on the first message and the second message, and sends it to the industrial switch according to a preset time interval; then the industrial switch obtains the private protocol sent from the industrial firewall device, and performs a protocol judgment on the private protocol; when the judgment result is an industrial protocol, it will judge whether there is a corresponding table entry in the HET industrial layer 2 forwarding table; when there is a corresponding table entry, it will be forwarded to the corresponding industrial firewall according to the table entry. It can be seen that the beneficial effects of the present invention are:

[0039] 1. Solved the problem of dual-master redundant backup of industrial firewalls according to industrial protocols in transparent mode;

[0040] 2. It realizes dual-active redundant backup at the protocol level, with finer and more accurate granularity, which reduces the probability of failure of industrial firewalls in processing multiple protocols, and also reduces the performance pressure caused by industrial firewalls in processing multiple industrial protocols;

[0041] 3. The active-standby switching of the two machines is realized through the industrial switch. The switching process only modifies the HET layer 2 forwarding table and the firewall is not aware of it. This greatly reduces the packet loss during the switching process and the impact of the switching on the firewall. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0043] Figure 1 A flowchart of dual-active redundant backup steps based on an industrial protocol provided in an embodiment of the present application;

[0044] Figure 2 A flowchart of dual-active redundant backup steps based on an industrial protocol provided in an embodiment of the present application;

[0045] Figure 3 A schematic diagram of the processing flow of the industrial firewall provided in the embodiment of the present application;

[0046] Figure 4 A schematic diagram of the processing flow of an industrial switch provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] In the description of the present invention, unless otherwise specified, "plurality" means two or more than two. The terms "first", "second", "third", "fourth", etc. in the specification and claims of the present invention and the above-mentioned drawings are intended to distinguish the objects referred to. For schemes with a sequential flow, this terminology does not have to be understood as describing a specific order or sequence. For schemes with device structures, this terminology does not distinguish between importance, positional relationships, etc.

[0049] In addition, the terms "comprises", "has" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus that includes a series of steps or units is not necessarily limited to those steps or units that have been explicitly listed, but may also include other steps or units that are not explicitly listed but are inherent to these processes, methods, products or apparatuses, or steps or units that are added based on further optimization schemes conceived by the present invention.

[0050] The present invention is applicable to industrial firewall systems that need to support dual-active redundancy in transparent mode. The present invention mainly includes two hardware systems, one is an industrial switch that can identify industrial protocols, and the other is an industrial firewall that can process industrial traffic. For details, please refer to Figure 1 , which shows a flowchart of a dual-active redundant backup method based on an industrial protocol provided by an embodiment of the present application, which is applied to an industrial firewall device. The method may include the following steps:

[0051] Step 101: Acquire configuration synchronization and session synchronization information of a dual-machine hot standby system through a service management interface.

[0052] The configuration synchronization and session synchronization information at least includes the Industrial Protocol and Priority fields.

[0053] Step 102: judge the currently acquired configuration synchronization and session synchronization information, and generate a first message when the information changes.

[0054] In an embodiment of the present application, the corresponding relationship between Industrial Protocol and Priority, monitoring interface, lowering of priority, and other configuration or equipment information of the industrial firewall administrator are recorded.

[0055] Step 103: Generate a second message according to the basic status of the current industrial firewall device and the change status of the monitoring interface.

[0056] In an embodiment of the present application, if the monitoring interface status changes from up to down, the second message at least includes the priority value corresponding to the reduction of the configured value; if the monitoring interface status changes from down to up, the second message at least includes the priority value corresponding to the addition of the configured value; if the current industrial firewall device status changes from normal to faulty, the second message at least includes setting the priority value to 0; if the current industrial firewall device status changes from faulty to normal, the second message at least includes restoring the priority value to the value before the last fault.

[0057] Step 104: Generate a private protocol based on the first message and the second message, and send it to the industrial switch according to a preset time interval.

[0058] In this step, the record in step 102 is read and a private protocol carrying the Industrial Protocol and Priority fields is generated and sent to the industrial switch every N seconds. If a notification is received from the monitoring module, the priority value is immediately updated according to the notification content and a new priority value is sent at the next interval.

[0059] Please refer to Figure 2 , which shows a flowchart of a dual-active redundant backup method based on an industrial protocol provided by an embodiment of the present application, applied to an industrial switch, the method may include the following steps:

[0060] Step 201, obtaining a private protocol issued by an industrial firewall device, and performing protocol determination on the private protocol.

[0061] Step 202: When the judgment result is an industrial protocol, it is determined whether there is a corresponding entry in the HET industrial layer 2 forwarding table.

[0062] Step 203: When a corresponding entry exists, forward it to the corresponding industrial firewall according to the entry.

[0063] In an embodiment of the present application, when the protocol judgment result is not an industrial protocol, or it is judged that there is no corresponding entry in the HET industrial layer 2 forwarding table; then an interface is calculated based on the HASH value of the destination port and the HET industrial layer 2 forwarding table entry is matched; and forwarded to the corresponding industrial firewall according to the entry.

[0064] In summary, the industrial switch has added a HET Layer 2 forwarding table entry, which expands the MAC forwarding table, adds the Priority and Industrial Protocol fields, and redefines the Type field, so that the industrial switch can use different firewalls to load different protocols of the same source and destination IP.

[0065] The private protocol carrying the Industrial Protocol and Priority fields is sent to the industrial switch every N seconds, so that the industrial switch can interact with the industrial firewall in real time to update its own HET Layer 2 forwarding table, so that the active / standby switching can be performed in time without the industrial firewall being aware of it.

[0066] The non-industrial protocol on the industrial switch is transmitted to an output interface through the HASH algorithm, realizing dual-active redundant backup of the non-industrial protocol.

[0067] The embodiment of the present application also provides a dual-active redundant backup system based on an industrial protocol. The system includes:

[0068] An industrial firewall device is used to obtain configuration synchronization and session synchronization information of a dual-machine hot standby system through a service management interface; wherein the configuration synchronization and session synchronization information at least include Industrial Protocol and Priority fields; judge the currently obtained configuration synchronization and session synchronization information, and generate a first message when the information changes; generate a second message according to the basic state of the current industrial firewall device and the change state of the monitoring interface; generate a private protocol based on the first message and the second message, and send it to the industrial switch according to a preset time interval;

[0069] The industrial switch is used to obtain the private protocol issued by the industrial firewall device and perform protocol judgment on the private protocol; when the judgment result is an industrial protocol, it will determine whether there is a corresponding table entry in the HET industrial layer 2 forwarding table; when a corresponding table entry exists, it will be forwarded to the corresponding industrial firewall according to the table entry.

[0070] Specifically, if Figure 3 , which shows a processing flow diagram of the industrial firewall provided by the present application. The industrial firewall of the present application includes:

[0071] A dual-machine hot standby module, used to obtain configuration synchronization and session synchronization information of the dual-machine hot standby system through a service management interface; wherein the configuration synchronization and session synchronization information at least include Industrial Protocol and Priority fields;

[0072] A configuration module, configured to judge the currently acquired configuration synchronization and session synchronization information, and generate a first message when the information changes;

[0073] A monitoring module, used to generate a second message according to the basic status of the current industrial firewall device and the change status of the monitoring interface;

[0074] The sending module is used to generate a private protocol based on the first message and the second message, and send it to the industrial switch according to a preset time interval.

[0075] Specifically, the industrial firewall of the present invention is divided into four modules to realize this function, namely, dual-machine hot standby module, configuration module, monitoring module, and issuing module. The dual-machine hot standby module is consistent with the traditional dual-machine hot standby function. It mainly realizes the basic functions of dual-machine hot standby such as configuration synchronization and session synchronization through a direct line (or management port). The configuration module records the corresponding relationship between IndustrialProtocol and Priority, the monitoring interface, the reduction of priority, and other configuration or device information of the industrial firewall administrator, and notifies the issuing module in real time when the configuration changes. The monitoring module monitors the basic status of the industrial firewall and the monitoring interface in the configuration module in real time. When the firewall fails or the monitoring interface status changes, the issuing module is notified in time. If the monitoring interface status changes from up to down, the issuing module is notified that the priority value correspondingly reduces the corresponding value of the configuration, and from down to up, the issuing module is notified to add the corresponding value of the configuration. If the industrial firewall status changes from normal to failure, the issuing module is notified to set the priority value to 0. If the status of the industrial firewall changes from failure to normal, the value before the last failure is restored. The sending module will read the records of the configuration module and generate a private protocol carrying the IndustrialProtocol and Priority fields, and send it to the industrial switch every N seconds. If a notification is received from the monitoring module, the priority value will be updated immediately according to the notification content, and a new priority value will be sent at the next interval.

[0076] like Figure 4 , which shows a processing flow diagram of an industrial switch provided by the present application, which includes:

[0077] The first judgment module is used to obtain the private protocol issued by the industrial firewall device and perform protocol judgment on the private protocol;

[0078] The second judgment module is used to judge whether there is a corresponding table entry in the HET industrial layer 2 forwarding table when the judgment result is an industrial protocol;

[0079] The forwarding module is used to forward the information to the corresponding industrial firewall according to the table entry when there is a corresponding table entry.

[0080] Specifically, the industrial switch in the present invention has an industrial protocol identification module added compared to the traditional switch, which can distinguish industrial protocols according to the built-in industrial engine, and a new HET industrial layer 2 forwarding table is added. The table entry is an extension of the MAC address forwarding table. Compared with the traditional MAC forwarding table, it has two columns, Priority and Industrial Protocol, and redefines the Type column. The industrial firewall sends the Industrial Protocol and Priority fields to the industrial switch, and then the industrial switch will copy the corresponding relationship between MAC and Interface in the MAC forwarding table according to the number of industrial protocols to ensure that each industrial protocol has a corresponding MAC and Interface. The Type field is generated based on the comparison of the priority field. The Type type of the same protocol with a large priority is Active, and the small one is Standby. If the values ​​are equal, the interface value is continued to be compared. The large Type type is Active, and the small one is Standby. If the interface in the table entry is down or a message with a priority value of 0 is received, the Type type is fault. The industrial switch will only match the table entry with the Type type of Active, and the HET industrial layer 2 forwarding table is updated in real time.

[0081] Table 1 MAC forwarding table

[0082] Interface Mac-Address Type Timeout ge0 / 0 / 0 A Dynamic 1800 ge0 / 0 / 1 A Dynamic 1800

[0083] Table 2 HET industrial layer 2 forwarding table

[0084]

[0085] When forwarding traffic, the industrial switch will first determine whether the traffic entering the industrial switch is industrial traffic. If it is industrial traffic, it will be forwarded according to the HET industrial Layer 2 forwarding table entry. If it is not an industrial protocol or the corresponding HET industrial Layer 2 forwarding table entry is not found, HASH is performed according to the destination port of the protocol. After calculating an interface, it will be forwarded according to the HET Layer 2 forwarding table entry corresponding to the interface.

[0086] The dual-master redundant backup system based on industrial protocol provided in the embodiment of the present application is used to implement the above-mentioned dual-master redundant backup method based on industrial protocol. For the specific definition of the dual-master redundant backup system based on industrial protocol, please refer to the definition of the dual-master redundant backup method based on industrial protocol in the above text, which will not be repeated here. Each part of the above-mentioned dual-master redundant backup system based on industrial protocol can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the device in hardware form, or can be stored in the memory in the device in software form, so that the processor can call and execute the operations corresponding to the above-mentioned modules.

[0087] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0088] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. A dual-active redundant backup method based on industrial protocols, applied to industrial firewall equipment, It is characterized in that The method comprises: Obtaining configuration synchronization and session synchronization information of the dual-machine hot standby system through the service management interface; wherein the configuration synchronization and session synchronization information at least include Industrial Protocol and Priority fields; Determine the currently acquired configuration synchronization and session synchronization information, and generate a first message when the information changes; Generate a second message according to the basic status of the current industrial firewall device and the change status of the monitoring interface; Generate a private protocol based on the first message and the second message, and send it to the industrial switch according to a preset time interval; Among them, the industrial switch has added a HET second-layer forwarding table entry, so that the industrial switch can use different firewalls to carry out load for different protocols of the same source and destination IP, so that the active-standby switching can be performed in time without the industrial firewall being aware of it.

2. The method according to claim 1, It is characterized in that The generating of the second message according to the basic status of the current industrial firewall device and the change status of the monitoring interface includes: If the monitoring interface status changes from up to down, the second message includes at least a corresponding value of the priority value corresponding to the reduced configuration; If the monitoring interface status changes from down to up, the second message includes at least the priority value plus the configured corresponding value; If the current industrial firewall device status changes from normal to faulty, the second message at least includes setting the priority value to 0; If the current industrial firewall device status changes from failure to normal, the second message at least includes restoring the priority value to the value before the last failure.

3. The method according to claim 1, It is characterized in that The step of judging the currently acquired configuration synchronization and session synchronization information and generating a first message when the information changes further includes: Record the correspondence between Industrial Protocol and Priority, monitor the interface, and reduce the configuration or device information of the industrial firewall administrator.

4. The method according to claim 1, It is characterized in that Generating a private protocol based on the first message and the second message includes: Generate a private protocol with Industrial Protocol and Priority fields.

5. A dual-active redundant backup method based on industrial protocols, applied to industrial switches, It is characterized in that The method comprises: Obtain the private protocol issued by the industrial firewall device. The firewall implements dual-active redundant backup at the protocol level. The private protocol carrying the IndustrialProtocol and Priority fields is sent to the industrial switch every N seconds, so that the industrial switch can interact with the industrial firewall in real time to update its own HET Layer 2 forwarding table, so that the active-standby switch can be performed in time without the industrial firewall being aware of it. When forwarding traffic, the industrial switch will first determine whether the traffic entering the industrial switch is industrial traffic. If it is industrial traffic, it will be forwarded according to the HET industrial Layer 2 forwarding table entry. If it is not an industrial protocol or the corresponding HET industrial Layer 2 forwarding table entry is not found, HASH is performed according to the destination port of the protocol. After calculating an interface, it will be forwarded according to the HET Layer 2 forwarding table entry corresponding to the interface.

6. A dual-active redundant backup system based on industrial protocols, It is characterized in that The system includes industrial firewall equipment and industrial switches: An industrial firewall device, used for obtaining configuration synchronization and session synchronization information of a dual-machine hot standby system through a service management interface; wherein the configuration synchronization and session synchronization information at least include Industrial Protocol and Priority fields; judging the currently obtained configuration synchronization and session synchronization information, and generating a first message when the information changes; generating a second message according to the basic state of the current industrial firewall device and the change state of the monitoring interface; generating a private protocol based on the first message and the second message, and sending it to the industrial switch according to a preset time interval; The industrial switch is used to obtain the private protocol issued by the industrial firewall device. The firewall implements dual-active redundant backup at the protocol level. The private protocol carrying the IndustrialProtocol and Priority fields is sent to the industrial switch every N seconds, so that the industrial switch can interact with the industrial firewall in real time to update its own HET Layer 2 forwarding table, so that the active-standby switching can be performed in time without the industrial firewall being aware of it. When forwarding traffic, the industrial switch will first determine whether the traffic entering the industrial switch is industrial traffic. If it is industrial traffic, it will be forwarded according to the HET industrial Layer 2 forwarding table items. If it is not an industrial protocol or the corresponding HET industrial Layer 2 forwarding table item is not found, HASH is performed according to the destination port of the protocol. After calculating an interface, it is forwarded according to the HET Layer 2 forwarding table item corresponding to the interface.

7. An industrial firewall device, applied to the dual-active redundant backup method according to any one of claims 1 to 4 above, It is characterized in that The industrial firewall device comprises: A dual-machine hot standby module, used to obtain configuration synchronization and session synchronization information of the dual-machine hot standby system through a service management interface; wherein the configuration synchronization and session synchronization information at least include Industrial Protocol and Priority fields; A configuration module, configured to judge the currently acquired configuration synchronization and session synchronization information, and generate a first message when the information changes; A monitoring module, used to generate a second message according to the basic status of the current industrial firewall device and the change status of the monitoring interface; A sending module, used to generate a private protocol based on the first message and the second message, and send it to the industrial switch according to a preset time interval; Among them, the industrial switch has added a HET second-layer forwarding table entry, so that the industrial switch can use different firewalls to carry out load for different protocols of the same source and destination IP, so that the active-standby switching can be performed in time without the industrial firewall being aware of it.

8. An industrial switch, applied to the dual-active redundant backup method of claim 5, It is characterized in that The industrial switch comprises: The first judgment module is used to obtain the private protocol issued by the industrial firewall device; the firewall implements dual-active redundant backup at the protocol level, and sends the private protocol carrying the IndustrialProtocol and Priority fields to the industrial switch every N seconds, so that the industrial switch can interact with the industrial firewall in real time to update its own HET layer 2 forwarding table, so that the active-standby switching can be carried out in time without the industrial firewall being aware of it; when forwarding traffic, the industrial switch will determine whether the traffic entering the industrial switch is industrial traffic; The forwarding module is used for industrial traffic, which will be forwarded according to the HET industrial layer 2 forwarding table entries. If it is not an industrial protocol, or the corresponding HET industrial layer 2 forwarding table entry is not found, HASH is performed according to the destination port of the protocol, and after an interface is calculated, it is forwarded according to the HET layer 2 forwarding table entry corresponding to the interface.