Redundant communication proxy method and system based on flow identification, and electronic equipment

By adopting a redundant communication proxy method based on stream identification in ordinary Ethernet terminal devices, the problem of low communication reliability in real-time networks is solved, the effect of improving communication reliability is achieved, and the difficulty of using is reduced.

CN119835236APending Publication Date: 2025-04-15XIAN MICROELECTRONICS TECH INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411801892.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

Ordinary Ethernet terminal devices lack redundancy capabilities, resulting in low communication reliability in real-time networks.

Method used

The redundant communication proxy method based on flow recognition is adopted. By obtaining messages and identifying key fields, the packets are classified as redundant proxy streams or exchange streams based on the flow recognition table, and redundant proxy processing is performed according to the redundant proxy configuration table, improving communication reliability.

Benefits of technology

It improves the communication reliability of ordinary terminal devices in real-time networks, enhances the ability of hybrid heterogeneous networking in real-time networks, and completes the redundant proxy mechanism through the underlying hardware, making the application layer transparent and reducing the difficulty of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835236A_ABST
    Figure CN119835236A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of redundant transmission of network data, and relates to a redundant communication proxy method and system based on flow identification and electronic equipment, and the method comprises the steps: obtaining a message, and identifying the message to obtain a key field; classifying the key fields based on a flow identification table to obtain a flow category of the message, wherein the flow category comprises a redundant agent flow and an exchange flow; and matching the redundant agent flow with a corresponding redundant agent mode based on the redundant agent configuration table to carry out redundant agent of the message, and obtaining the exchange flow after redundant agent. By designing the switching equipment with redundancy proxy capability, flow identification is carried out on messages of a common terminal system, redundancy proxy is carried out on key messages in the messages, so that the communication reliability of a common terminal in a real-time network is improved, and the method has positive significance for improving the hybrid heterogeneous networking capability of the real-time network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of redundant transmission of network data, and relates to a redundant communication agent method, system and electronic equipment based on flow identification. Background Art

[0002] Real-time networks are often used in safety-critical fields such as industrial control, automotive, and aerospace, and have extremely strict requirements on the reliability of data transmission. The commonly used multi-channel redundant communication method is to achieve redundancy on the end system. The sender sends the same message on multiple channels. After passing through the redundant transmission link formed by the switch, the receiver receives the message on multiple channels, compares it, and deletes redundant messages.

[0003] This redundancy method performs redundant design on the end system, so that it has the ability to send and receive multiple channels and process redundant messages. With the development of intelligence and networking, real-time networks have gradually developed into the backbone network in safety-critical systems, and it is necessary to realize hybrid heterogeneous networking of traditional Ethernet devices and real-time network devices. Since ordinary Ethernet terminal devices do not have redundancy capabilities, a method to improve the communication reliability of ordinary terminal devices in real-time networks is needed. Summary of the invention

[0004] The purpose of the present invention is to provide a redundant communication proxy method based on flow identification to solve the technical problem in the prior art that ordinary Ethernet terminal equipment does not have redundant capabilities and therefore has low communication reliability.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions: In a first aspect, the present application discloses a redundant communication proxy method based on flow identification, comprising: Obtain the message, identify the message to obtain key fields; classify the key fields based on the flow identification table to obtain the flow category of the message, and the flow category includes redundant proxy flow and switching flow; The redundant proxy flow is subjected to redundant proxy of the message based on the redundant proxy configuration table matching the corresponding redundant proxy mode, and the exchange flow after the redundant proxy is obtained.

[0006] Preferably, the flow identification table is used to define flow identification parameters, and the flow identification parameters select the flow ID, destination MAC address, source MAC address, VID, PCP, destination IP address and source IP address in the message.

[0007] Preferably, the redundant proxy flow is redundantly proxied based on a redundant proxy configuration table matching a corresponding manner, specifically, the redundant proxy flow is redundantly proxied based on a flow ID and a redundant proxy configuration table matching a corresponding manner.

[0008] Preferably, the redundant proxy configuration table includes three items: RSN, VID and VLID.

[0009] Preferably, the redundant proxy of the message specifically includes: redundant proxy sending and redundant proxy receiving.

[0010] Preferably, the redundant proxy sending comprises: The switch connected to the sending end system calculates the RSN of the redundant proxy flow based on the redundant proxy table; Add a 2B RSN field at the end of the valid data segment of the redundant proxy flow, and replace the VID or VLID field in the redundant proxy flow according to the redundant proxy configuration table to complete the message data reorganization; After the message data is reassembled, the redundant proxy flow is redundantly transmitted on multiple switch ports.

[0011] Preferably, the redundant proxy receiving comprises: The switch connected to the receiving end system performs first-come, first-served arbitration based on the RSN of the received redundant proxy flows; The redundant proxy flow compares its own RSN with the current RSN in the redundant proxy configuration table. If they are the same, it means that a redundant proxy flow with the same RSN has arrived at the switch, so the redundant proxy flow is discarded; If they are not the same, it means that this redundant proxy flow is the first message to arrive at the switch, and its own RSN is written into the redundant proxy configuration table; and the redundant proxy flow is forwarded to the end system based on the VID or VLID in the redundant proxy configuration table to obtain the exchange flow after the redundant proxy.

[0012] In a second aspect, the present application discloses a redundant communication agent system based on flow identification, comprising: Obtain a classification unit, obtain a message, identify the message to obtain key fields; classify the key fields based on the flow identification table to obtain the flow category of the message, and the flow category includes redundant proxy flow and switching flow; The redundant proxy unit is used to perform redundant proxy of messages on the redundant proxy flow based on matching the corresponding redundant proxy mode in the redundant proxy configuration table to obtain the exchange flow after redundant proxy.

[0013] In a third aspect, the present application discloses an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned redundant communication agent methods based on flow identification when executing the computer program.

[0014] In a fourth aspect, the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned redundant communication agent methods based on flow identification are implemented.

[0015] Compared with the prior art, the present invention has the following beneficial effects: 1) By designing switching equipment with redundant proxy capabilities, the messages of ordinary end systems are identified, and redundant proxy is performed for key messages, thereby improving the communication reliability of ordinary terminals in real-time networks, which has a positive significance for improving the hybrid heterogeneous networking capabilities of real-time networks; 2) The present invention can enhance the communication reliability of common Ethernet nodes in real-time networks; 3) The redundant proxy mechanism in the present invention is implemented by the underlying hardware, which is transparent to the application layer and reduces the difficulty of use. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 is a flow chart of the method of the present invention; Figure 2 It is a schematic diagram of the message flow identification process of the present invention; Figure 3 It is intended to represent the flow identification of the present invention; Figure 4 It is a schematic diagram of the redundant proxy sending process of the present invention; Figure 5 It is a schematic diagram of the redundant proxy receiving process of the present invention; Figure 6 It is a schematic diagram of the network topology structure of the present invention; Figure 7 It is a schematic diagram of redundant proxy (sending) of the present invention; Figure 8 Schematic diagram of redundant agent (receiving) of the present invention. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0019] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0021] In the description of the embodiments of the present invention, it should be noted that if the terms "upper", "lower", "horizontal", "inner", etc. indicate an orientation or positional relationship based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the product of the invention is usually placed when in use, it is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0022] In addition, if the term "horizontal" appears, it does not mean that the component must be absolutely horizontal, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", which does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0023] In the description of the embodiments of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0024] The present invention is further described in detail below in conjunction with the accompanying drawings: See also Figure 1The present invention discloses a redundant communication proxy method based on flow identification. By designing a switching device with redundant proxy capability, the flow identification is performed on the messages of the common terminal system, and the redundant proxy is performed on the key messages, thereby improving the communication reliability of the common terminal in the real-time network, which has a positive significance for improving the hybrid heterogeneous networking capability of the real-time network. Specifically including: S1: Obtain a message, identify the message and obtain key fields; classify the key fields based on the flow identification table to obtain the flow category of the message, which includes redundant proxy flow and switching flow; S2: Perform redundant proxy on the message based on the redundant proxy configuration table and the corresponding redundant proxy mode to obtain the exchange flow after the redundant proxy.

[0025] In some embodiments, see Figure 3 The flow identification table is used to define flow identification parameters, and the flow identification parameters select the flow ID, destination MAC address, source MAC address, VID, PCP, destination IP address and source IP address in the message.

[0026] In some embodiments, the redundant proxy flow is redundantly proxied based on a corresponding manner matching a redundant proxy configuration table. Specifically, the redundant proxy flow is redundantly proxied based on a flow ID in a corresponding manner matching a redundant proxy configuration table.

[0027] In some embodiments, referring to Table 1, the redundant proxy configuration table includes three items: RSN, VID and VLID.

[0028] The RSN is a redundant sequence number (RSN) which is used to number the message that needs to be redundant. VID, or VLAN ID, is a digital identifier used to distinguish different VLANs. In a switch, each port can be configured to belong to one or more VLANs, and VID is used to identify these VLANs. When a message is transmitted in a switch, VID is added to the header of the message to indicate which VLAN the message belongs to; VLID (Virtual LAN IDentifier) ​​generally refers to an identifier used in a virtual local area network (VLAN) environment. Although "VID" is more commonly used to refer to a VLAN ID, in some contexts or in the documentation of a specific vendor, VLID may also be used to mean the same thing.

[0029] Table 1 Redundant proxy configuration table

[0030] In some embodiments, the redundant proxy of the message specifically includes: redundant proxy sending and redundant proxy receiving.

[0031] Further preferably, the redundant proxy sending comprises: The switch connected to the sending end system calculates the RSN of the redundant proxy flow based on the redundant proxy table; Add a 2B RSN field at the end of the valid data segment of the redundant proxy flow, and replace the VID or VLID field in the redundant proxy flow according to the redundant proxy configuration table to complete the message data reorganization; After the message data is reassembled, the redundant proxy flow is redundantly transmitted on multiple switch ports.

[0032] Further preferably, the redundant proxy receiving comprises: The switch connected to the receiving end system performs first-come, first-served arbitration based on the RSN of the received redundant proxy flows; The redundant proxy flow compares its own RSN with the current RSN in the redundant proxy configuration table. If they are the same, it means that a redundant proxy flow with the same RSN has arrived at the switch, so the redundant proxy flow is discarded; If they are not the same, it means that this redundant proxy flow is the first message to arrive at the switch, and its own RSN is written into the redundant proxy configuration table; and the redundant proxy flow is forwarded to the end system based on the VID or VLID in the redundant proxy configuration table to obtain the exchange flow after the redundant proxy.

[0033] In some embodiments, a redundant communication proxy method based on flow identification includes the following steps: 1) Key data flow identification method like Figure 2 As shown, when receiving a message, the switching device identifies the key fields in the message, and queries which flow the message belongs to based on the flow identification table, and determines whether the message needs to be processed by redundant proxy based on the configuration of the flow. If redundant proxy is required, it is a redundant proxy flow and enters the redundant proxy module for processing first. If not, it is a switching flow and directly enters the switching processing module; The flow identification table defines flow identification parameters, which select common fields with characteristics such as destination MAC address, source MAC address, VID, PCP, destination IP address, source IP address, etc. in the message, and use these parameters or some of them to define different flows, such as Figure 3 As shown, based on the destination MAC, source MAC, PCP, VID, destination IP, and source IP fields of the message, it can be identified that the flow ID of the message is 1.

[0034] 2) Stream-based redundancy processing There is a redundant proxy configuration table inside the switch. After the message completes flow identification, the redundant proxy of the message is performed based on the redundant proxy mode corresponding to the flow ID in the configuration table. The redundant proxy configuration table includes three items: RSN, VID and VLID, as shown in Table 1 Table 1 Redundant proxy configuration table

[0035] The redundant sequence number (RSN) is used to number the messages that need to be redundant. Each flow ID maintains its own RSN. The RSN is a 0-N cycle with an initial value of 0. The RSNs of multiple redundant messages remain consistent. Different messages are numbered cyclically and cumulatively based on the order in which they are sent.

[0036] VID defines the VLAN number of the message. Different VLANs correspond to different transmission ports of the switch. When redundant transmission is required, the VID number can be replaced according to the redundant proxy configuration table so that the message can be transmitted on the switch port corresponding to the VLAN.

[0037] VLID, or virtual link number, is usually used to statically configure the transmission path of strong real-time data streams in real-time networks such as TTE and TSN. For this type of message data, the VLID number can be replaced according to the redundant proxy configuration table, and redundant transmission can be performed on the switching port corresponding to the VLID.

[0038] See also Figure 4 , redundant agent sends include: For a flow, the first-hop switch connected to the sending system usually acts as a redundant sending agent. After the switch calculates the RSN of the message based on the redundant proxy table, it adds a 2B RSN field to the end of the valid data segment of the message, and replaces the VID or VLID field in the message according to the configuration of the redundant proxy table to complete the message data reorganization, and then performs redundant transmission on multiple switch ports.

[0039] See also Figure 5 , redundant agent reception includes: For a certain flow, the switch connected to the receiving end system acts as a redundant receiving agent for it. The switch performs first-come-first-served arbitration based on the RSN of the message. The message compares its own RSN with the current RSN in the redundant proxy table. If they are the same, it means that a redundant message with the same RSN has arrived at the switch, and the message is discarded. If they are not the same, it means that the message is the first message to arrive at the switch, and the RSN of the message is written into the redundant proxy table, and the message is forwarded to the end system based on the VID or VLID in the redundant proxy table.

[0040] [Example] A detailed implementation scheme is designed according to the content of the present invention, and a network with two common Ethernet end systems and three redundant proxy switches is constructed, and this is used as an example to illustrate the flow-based redundant proxy method.

[0041] like Figure 6 As shown, end system ES_1 is the message sender, end system ES_2 is the message receiver, ES_1 and ES_2 are both common Ethernet end systems without redundancy. Switches SW_1 and SW_2 are redundancy agents for the end systems, and switch SW_3 only performs message switching.

[0042] The MAC address of ES_1 is AA and the IP address is 192.168.0.1. The MAC address of ES_2 is BB and the IP address is 192.168.0.2.

[0043] The flow identification relationship of SW_1 is shown in Table 2, and the relationship between redundant agents and VID corresponding ports is shown in Table 3: Table 2 SW_1 flow identification

[0044] Table 3 SW_1 redundant proxy and VID port mapping relationship

[0045] The flow identification relationship of SW_2 is shown in Table 4, and the relationship between redundant agents and VID corresponding ports is shown in Table 5: Table 4 SW_2 flow identification table

[0046] Table 5 SW_2 redundant proxy and VID port mapping relationship

[0047] End system ES_1 generates and sends a message, which carries key information such as Figure 7 As shown, SW_1 receives the message from the P1 port, identifies the message based on the flow identification table, determines that the flow ID of the message is 1, and then queries the redundant proxy table to know that the current RSN of the flow with ID 1 is N, the PCP is 7, and the VIDs are 1 and 2. The RSN number of the message is calculated to be N+1, and the RSN, PCP and VID fields are filled into the message to generate a new message. According to the mapping relationship between the VID and the switching port, the message with VID 1 is forwarded from P2, and the message with VID 2 is forwarded from P3.

[0048] Switch SW_3 does not perform redundant proxying. It receives messages from port 1 and forwards them from P2.

[0049] Switch SW_2 receives redundant messages from P2 and P3, such as Figure 8 As shown, based on the flow identification table, the message identification is performed to determine that the flow ID of the message is 1, and then the redundant proxy table is queried to know that the current RSN of the flow with ID 1 is N-1, and the RSN carried by the message is N, which meets the cumulative requirement of RSN. Therefore, based on the first-come-first-served principle, the first-arrived message is retained, the later-arrived message is deleted, and the additional fields such as RSN, VLAN, PCP in the message are removed to restore it to a normal Ethernet message. According to the mapping relationship between VID and the switching port, the message is sent from port 1 to end system ES_2.

[0050] Since then, redundant message transmission has been realized between end system ES_1 and end system ES_2, with SW_1 acting as the agent for redundant message generation and multi-port sending, SW_2 acting as the agent for multi-port reception and redundant message elimination, and SW_3 providing redundant paths.

[0051] According to the above scheme, the redundant proxy control logic design is described in Verilog HDL language, and logic synthesis and layout routing are completed; the scheme is used in the redundant module of the time-sensitive network switch, and the network is networked for functional testing. The test results show that the present invention has good feasibility, and the use of redundant agents can improve the reliability of ordinary Ethernet messages, and the functions meet expectations.

[0052] The present application also discloses a redundant communication agent system based on flow identification, comprising: The acquisition classification unit is used to acquire the message, identify the message to obtain the key field; classify the key field based on the flow identification table to obtain the flow category of the message, and the flow category includes redundant proxy flow and switching flow; The redundant proxy unit is used to perform redundant proxy of messages on the redundant proxy flow based on matching the corresponding redundant proxy mode in the redundant proxy configuration table to obtain the exchange flow after redundant proxy.

[0053] The present application also discloses an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the above-mentioned redundant communication agent methods based on flow identification when executing the computer program.

[0054] The present application also discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned redundant communication agent methods based on flow identification are implemented.

[0055] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0056] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0057] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0058] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0059] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A redundant communication proxy method based on flow identification, characterized in that: include: Get the message, identify the message and get the key fields; Based on the flow identification table, the key fields are classified to obtain the flow category of the message, which includes redundant proxy flow and switching flow. The redundant proxy flow is subjected to redundant proxy of the message based on the redundant proxy configuration table matching the corresponding redundant proxy mode, and the exchange flow after the redundant proxy is obtained.

2. A redundant communication proxy method based on flow identification according to claim 1, characterized in that: The flow identification table is used to define flow identification parameters, and the flow identification parameters select the flow ID, destination MAC address, source MAC address, VID, PCP, destination IP address and source IP address in the message.

3. A redundant communication proxy method based on flow identification according to claim 2, characterized in that: The redundant proxy flow is redundantly proxied in a corresponding manner based on the redundant proxy configuration table. Specifically, the redundant proxy flow is redundantly proxied in a corresponding manner based on the flow ID in the redundant proxy configuration table.

4. A redundant communication proxy method based on flow identification according to claim 1, characterized in that: The redundant proxy configuration table includes three items: RSN, VID and VLID.

5. A redundant communication proxy method based on flow identification according to claim 1, characterized in that: The redundant proxy of the message specifically includes: redundant proxy sending and redundant proxy receiving.

6. A redundant communication proxy method based on flow identification according to claim 5, characterized in that: The redundant proxy sending includes: The switch connected to the sending end system calculates the RSN of the redundant proxy flow based on the redundant proxy table; Add a 2B RSN field at the end of the valid data segment of the redundant proxy flow, and replace the VID or VLID field in the redundant proxy flow according to the redundant proxy configuration table to complete the message data reorganization; After the message data is reassembled, the redundant proxy flow is redundantly transmitted on multiple switch ports.

7. A redundant communication proxy method based on flow identification according to claim 5, characterized in that: The redundant proxy receiving comprises: The switch connected to the receiving end system performs first-come, first-served arbitration based on the RSN of the received redundant proxy flows; The redundant proxy flow compares its own RSN with the current RSN in the redundant proxy configuration table. If they are the same, it means that a redundant proxy flow with the same RSN has arrived at the switch, so the redundant proxy flow is discarded; If they are not the same, it means that this redundant proxy flow is the first message to arrive at the switch, and its own RSN is written into the redundant proxy configuration table; and the redundant proxy flow is forwarded to the end system based on the VID or VLID in the redundant proxy configuration table to obtain the exchange flow after the redundant proxy.

8. A redundant communication agent system based on flow identification, characterized in that: include: Get the classification unit, get the message, identify the message and get the key fields; Based on the flow identification table, the key fields are classified to obtain the flow category of the message, which includes redundant proxy flow and switching flow. The redundant proxy unit is used to perform redundant proxy of messages on the redundant proxy flow based on matching the corresponding redundant proxy mode in the redundant proxy configuration table to obtain the exchange flow after redundant proxy.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the redundant communication agent method based on flow identification according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the redundant communication agent method based on flow identification according to any one of claims 1 to 7.