METHOD FOR TRANSMITTING TIME-CRITICAL DATA, COMMUNICATION SYSTEM AND COUPLING COMMUNICATION DEVICE
Patent Information
- Application Number
- DE502021005167
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-07-28
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2041-07-28
AI Technical Summary
Industrial automation systems face challenges in transmitting time-critical data due to interruptions in communication connections and competition for network resources, leading to potential failures in maintaining a safe operating state, especially when default gateways or routers fail, and existing solutions for redundancy are complex or difficult to implement.
A method using Virtual Router Redundancy Protocol (VRRP) and Media Redundancy Protocol (MRP) to select a master coupling communication device and establish a data link layer tunnel, allowing for transparent and redundant transmission of time-critical data across network layer transit networks, enabling automatic reconfiguration and compensation for component failures without interrupting data link layer tunnels.
This approach allows for simple, automated configuration of mutually redundant tunnel endpoints, ensuring reliable and cost-effective transmission of time-critical data, even in the event of component failures, by using VRRP to select the master coupling device and provide a virtual network layer address, facilitating transparent OSI layer 2 and 3 network operations.
Description
[0001] The present invention relates to a method for transmitting time-critical data, which is particularly suitable for industrial automation systems, as well as to a communication system and a coupling communication device for carrying out the method.
[0002] Industrial automation systems typically comprise a multitude of automation devices interconnected via an industrial communication network and are used to control or regulate systems, machines, or devices within the framework of production or process automation. Due to the time-critical conditions in industrial automation systems, real-time communication protocols such as PROFINET, PROFIBUS, Real-Time Ethernet, or Time-Sensitive Networking (TSN) are predominantly used for communication between automation devices. In particular, control services or applications can be automated and distributed among currently available servers or virtual machines of an industrial automation system, depending on the load.
[0003] Interruptions in communication connections between computer units of an industrial automation system or automation devices can lead to an unwanted or unnecessary retransmission of a service request. Furthermore, messages that are not transmitted or are not transmitted in full can, for example, prevent an industrial automation system from transitioning to or remaining in a safe operating state.
[0004] In Ethernet-based communication networks, problems can arise when network resources for transmitting data streams or data frames with real-time requirements are used concurrently with transmitting data frames with large payloads without specific quality of service requirements. This can ultimately lead to data streams or data frames with real-time requirements not being transmitted according to the requested or required quality of service.
[0005] Using the Common Address Redundancy Protocol (CARP), application servers, firewalls, or routers can be implemented as highly available systems. For this purpose, at least two mutually redundant system components are provided, which can perform identical tasks and are assigned to the same subnet. The redundant system components each have a unique IP and MAC address and form a device cluster. This device cluster is also assigned an IP and MAC address, which other devices or systems use to communicate with the device cluster. One system component of the device cluster assumes a master role to perform the tasks of the device cluster, while the other system components assume a slave role. If the system component with the master role fails, a system component that was previously assigned a slave role takes over its tasks and can be reached via the IP or MAC address assigned to the device cluster.
[0006] While the failure of a section of a route can be easily compensated for through dynamic routing or the selection of an alternative route, the failure of default gateways configured in end devices is more problematic. If the default gateway is not available as the first router for the end devices, routing from an affected subnet is generally not possible. Using the Hot Standby Router Protocol (HSRP), several routers are combined into a device group that creates a logical router. The logical router is assigned an IP and MAC address, which can be used to reach a selected primary router in the device group. All other routers are secondary routers and, until further notice, cannot be reached via the IP or MAC address assigned to the logical router.The primary router signals its operational readiness to the secondary routers by sending multicast messages every 3 seconds by default. If these multicast messages are not received for an extended period, e.g., 10 seconds, a previous secondary router is selected as the new primary router and binds the IP or MAC address assigned to the logical router to its network interface.
[0007] Problems caused by the failure of a default gateway or the first router for end devices can also be resolved using the Virtual Router Redundancy Protocol (VRRP). Unlike HSRP, VRRP allows the IP address of a physically existing router to be used as the IP address of a logical router implemented by a device group.
[0008] EP 3 646 559 B1 relates to a method for checking datagrams transmitted within an industrial automation system with multiple automation cells. Datagrams to be checked are transmitted from the automation cells via a respective firewall interface to the firewall system for checking, where they are checked based on rules. The firewall system is formed by at least one virtual machine provided within a data processing system comprising multiple computer units. To transmit the datagrams to be checked, a data link tunnel is established between the respective firewall interface and the firewall system. Both datagrams to be checked and at least successfully checked datagrams are transmitted within the respective data link tunnel.
[0009] EP 3 035 606 A1 describes a method for transmitting data in a communications network comprising at least two virtual local networks, in which each data stream is assigned a data stream-specific destination device identifier. When transmitting a data stream from a source communications device assigned to a first virtual local network to a destination communications device assigned to a second local network, an identifier assigned to the data stream within the first virtual local network is converted into an identifier assigned to the data stream within the second virtual local network.
[0010] From the earlier international patent application WO 2021 / 239371 A1, a method for transmitting time-critical data is known in which datagrams are sent from a first communication device in a first subnetwork and to a second communication device in a second subnetwork via a third subnetwork. The first and third subnetworks are connected via a first switch, and the second and third subnetworks are connected via a second switch. The datagrams are forwarded from the first communication device to the first switch based on an identifier of a first virtual local network and a priority indication. The first switch encapsulates the datagrams sent by the first communication device in data frames assigned to a data stream through the third subnetwork and inserts an identifier of a second virtual local network into the data frames.
[0011] According to the earlier international patent application WO 2021 / 239371 A1, resources along a selected path are reserved in the third subnetwork based on the identifier of the second virtual local area network. The second switch extracts the datagrams encapsulated in the data frames assigned to the data stream from received data frames and forwards the extracted datagrams to the second communication device based on the identifier of the first virtual local area network and the priority information.
[0012] US 2020 / 084144 A1 describes a method in which network traffic is received at a redundant gateway device configured according to a redundant gateway protocol. Known unicast traffic received at the redundant gateway device is forwarded by the redundant gateway device to a tunnel endpoint through a tunnel configured according to a tunneling protocol. Broadcast, unknown unicast, and multicast traffic is forwarded to the tunnel endpoint through the tunnel if the redundant gateway device is a master gateway according to the redundant gateway protocol. Broadcast, unknown unicast, and multicast traffic is discarded if the redundant gateway device is a backup gateway according to the redundant gateway protocol.
[0013] EP 3 787 237 A1 discloses a method for data transmission in a redundantly operable communications network comprising at least a first and a second subnetwork, each of which comprises communication devices interconnected within a ring topology. A communication device with an activated ring control unit is provided in each subnetwork. The two subnetworks are interconnected via two coupling links, to each of which two coupling communication devices are connected. The coupling link to which a selected coupling communication device is connected is operated as an inactive standby coupling link until a fault occurs, while the other coupling link is operated as the active main coupling link.The coupling communication devices connected to the main coupling link transmit status datagrams to the selected coupling communication device, which additionally include configuration information as to whether the respective coupling communication device connected to the main coupling link includes an activatable ring control unit.
[0014] For the transparent transmission of datagrams between link layer subnetworks, in which datagrams are forwarded using switching according to OSI Layer 2, across network layer or network layer subnetworks, in which datagrams are forwarded using routing according to OSI Layer 3, not only the unadulterated transmission of original information is important. Rather, especially when using tunneling protocols, it is a requirement that data transmission via network tunnels be robust against the failure of system components.
[0015] In principle, Ethernet VPN (EVPN) according to IETF RFC8365 (see https: / / datatracker.ietf.org / doc / html / rfc8365) Mutually redundant tunnel endpoints can be implemented. However, such concepts are either very difficult to implement, particularly in public 5G mobile networks, or too complex for use in simpler automation networks.
[0016] The present invention is based on the object of creating a low-cost method for the transparent transmission of time-critical data via network layer transit networks, which enables compensation for a failure of system components, and of specifying a suitable implementation for carrying out the method.
[0017] This object is achieved according to the invention by a method having the features specified in claim 1, a communication system having the features specified in claim 11, and a coupling communication device having the features specified in claim 12. Advantageous developments of the present invention are specified in the dependent claims.
[0018] According to the inventive method for transmitting time-critical data, datagrams are sent from a first communication device in a first subnetwork and to a second communication device in a second subnetwork via a third subnetwork. The first and third subnetworks are connected via at least one first and one second router, while the second and third subnetworks are connected via at least one third router. Within the first and second subnetworks, datagrams are forwarded via switching. In contrast, datagrams within the third subnetwork are forwarded via routing.
[0019] Furthermore, according to the invention, the first subnetwork has a ring topology and comprises at least a first coupling communication device connected to the first router, and a second coupling communication device connected to the second router. The second subnetwork comprises a third coupling communication device connected to the third router and assigned a network layer address. Furthermore, the first and second coupling communication devices select a master coupling communication device from among themselves. In this case, a common virtual network layer address is assigned to both coupling communication devices or to the master coupling communication device. The first or second coupling communication device not selected as the master communication device is operated as a reserve coupling communication device. The coupling communication devices are, in particular, switches.
[0020] According to the invention, the first and second coupling communication devices select the master coupling communication device from among themselves using the Virtual Router Redundancy Protocol (VRRP). The virtual network layer address of the first and second coupling communication devices can advantageously also be provided using VRRP. In particular, information about the virtual network layer address of the first and second coupling communication devices can be disseminated in the first subnetwork using VRRP advertisements for use of the link layer tunnel.
[0021] According to the invention, a link layer tunnel is established at least between the master coupling communication device and the third coupling communication device via the first or second router, respectively, and via the third router through the third subnetwork. The datagrams sent from the first communication device to the second communication device are encapsulated within the link layer tunnel in tunnel data frames, in particular by inserting them into a payload area of the tunnel data frames. A first endpoint of the link layer tunnel is configured with the virtual network layer address of the first and second coupling communication devices. In contrast, a second endpoint of the link layer tunnel is configured with the network layer address of the third coupling communication device.The tunnel data frames in which the datagrams sent from the first communication device to the second communication device are encapsulated are VXLAN frames or frames for Layer 2 tunneling of the datagrams.
[0022] According to the invention, the first subnetwork has a ring topology, and datagrams within the first subnetwork are transmitted according to the Media Redundancy Protocol (MRP). In the event of a change in the selection or a failure of the master interconnection communication device, an MRP interconnection topology change is signaled. Signaling the MRP interconnection topology change triggers a relearning of the respective link layer address tables for all communication devices in the first subnetwork, which can in particular be switches or bridges. In this way, the configuration of the communication devices within the first subnetwork can be quickly and reliably adapted to a changed selection of the interconnection communication device operating as the master interconnection communication device.
[0023] The present invention thus enables a simple, automated configuration of mutually redundant tunnel endpoints as well as an automatic reconfiguration of affected communication devices in the first subnetwork. In this way, time-critical data can be transmitted redundantly and transparently over network-layer transit networks without the failure of a single tunnel endpoint leading to an interruption of a link-layer tunnel. By using VRRP to select the master coupling communication device and to provide a virtual network-layer address for the first and second coupling communication devices or for the master coupling communication device, a reliable and low-complexity implementation can be achieved. Furthermore, the present invention can, in principle, utilize any number of mutually redundant tunnel endpoints.The selection of the master coupling communication device and the provision of the virtual network layer address is not limited to two coupling communication devices, but can easily be extended to a higher number of mutually redundant coupling communication devices.
[0024] According to a particularly preferred embodiment of the present invention, at least the first and second coupling communication devices form a group of coupling communication devices assigned to a virtual link layer tunnel endpoint. The coupling communication devices from the same group assigned to a virtual link layer tunnel endpoint exchange information about their respective operating status with each other and use this information to monitor the master coupling communication device for failure. In the event of a failure of a previously active master coupling communication device, all reserve coupling communication devices select a new master coupling communication device from among themselves.
[0025] The first communication device can, for example, insert an identifier of a virtual local network and a priority indication into the datagrams sent to the second communication device. Advantageously, the datagrams are forwarded from the first communication device to the master coupling communication device based on the identifier of the first virtual local network and the priority indication. The master coupling communication device encapsulates the datagrams sent by the first communication device accordingly in the tunnel data frames. In contrast, the third coupling communication device extracts the datagrams encapsulated in the tunnel data frames from received tunnel data frames and forwards the extracted datagrams to the second communication device based on the identifier of the virtual local network and the priority indication.Thus, identifiers of virtual local networks and priority information for the transmission of datagrams, in particular datagrams in OSI layer 2 networks, can also be used transparently in connection with the use of overlaid OSI layer 3 transit networks.
[0026] The first and second subnetworks can, in particular, be assigned to PROFINET cells, while the third subnetwork can be an IP-based transit network. The datagrams are PROFINET frames. Since the method described above for configuring the tunnel endpoints can also be easily implemented for tunnel endpoints in mobile networks, the second subnetwork can comprise a mobile network, in particular a 5G mobile network, while the third subnetwork can be an IP-based transit network.
[0027] Preferably, the MRP interconnection topology change is signaled using an MRP_InTopologyChange frame, and the link layer address tables are each configured as a forwarding database. In this case, the signaling of the MRP interconnection topology change triggers a relearning of the respective forwarding databases for all communication devices in the first subnetwork. According to a further advantageous embodiment of the present invention, the signaling of the MRP interconnection topology change triggers a relearning of at least one link layer address assigned to the first endpoint of the link layer tunnel for routers along the link layer tunnel.
[0028] The communication system according to the invention is provided for carrying out a method according to the preceding embodiments and has a first subnetwork comprising at least a first communication device, a first coupling communication device, and a second coupling communication device. Furthermore, the communication system has a second subnetwork comprising at least a second communication device and a third coupling communication device. Furthermore, a third subnetwork is provided, comprising at least a first router, a second router, and a third router. The first and third subnetworks are connected via at least the first and second routers, while the second and third subnetworks are connected via at least the third router.
[0029] The communication devices and coupling communication devices of the communication system according to the invention are designed to forward datagrams within the first and second subnetworks, respectively, by means of switching. In contrast, the routers of the communication system according to the invention are designed to forward datagrams within the third subnetwork by means of routing. Furthermore, the first subnetwork of the communication system according to the invention has a ring topology, and the first coupling communication device is connected to the first router, while the second coupling communication device is connected to the second router. Furthermore, the third coupling communication device is connected to the third router and has an assigned network layer address. The first subnetwork is designed to transmit datagrams within the first subnetwork according to the Media Redundancy Protocol (MRP).
[0030] The first and second coupling communication devices of the communication system according to the invention are configured to select a master coupling communication device from among themselves using the Virtual Router Redundancy Protocol (VRRP) and to be assigned a common virtual network layer address. Furthermore, the first and second coupling communication devices are configured such that the first or second coupling communication device not selected as the master communication device is operated as a backup coupling communication device.Furthermore, the first and second coupling communication devices of the communication system according to the invention are designed such that, in the event of a changed selection or a failure of the master coupling communication device, an MRP interconnection topology change is signaled and that, by signaling the MRP interconnection topology change, a re-learning of their respective link layer address tables is triggered in communication devices of the first subnetwork.
[0031] The coupling communication devices of the communication system according to the invention are designed such that a link layer tunnel is established between the master coupling communication device and the third coupling communication device via the first or second router and via the third router through the third subnetwork, and such that datagrams sent from the first communication device to the second communication device are encapsulated in tunnel data frames within the link layer tunnel. The tunnel data frames, in which the datagrams sent from the first communication device to the second communication device are each encapsulated, are VXLAN frames or frames for Layer 2 tunneling of the datagrams. Furthermore, the coupling communication devices are designed such that a first endpoint of the link layer tunnel is configured with the virtual network layer address of the first and second coupling communication devices.Furthermore, the coupling communication devices are designed such that a second endpoint of the link layer tunnel is configured with the network layer address of the third coupling communication device.
[0032] The coupling communication device according to the invention is intended to carry out a method according to the preceding embodiments and is designed analogously to the coupling communication devices of the communication system according to the invention.
[0033] The present invention will be explained in more detail below using an exemplary embodiment. Figure 1a communication system comprising several subnetworks for transmitting time-critical data with several link layer tunnels, Figure 2the communication system according to Figure 1 after switching endpoints of the link layer tunnel, Figure 3 a schematic representation of a within the communication system according to Figure 1between communication devices of different subnetworks exchanged datagram before encapsulation in a tunnel data frame, Figure 4 a schematic representation of a tunnel data frame in which the datagram is encapsulated according to Figure 3 is encapsulated.
[0034] The Figure 1The communication system shown for an industrial automation system is divided into four subnetworks 1-4. Within a first subnetwork 1 and a second subnetwork 2, datagrams 100 are forwarded by switching. For this purpose, the first subnetwork 1 and the second subnetwork 2 each comprise several bridges or switches 101-102, 104, 201-204 as communication devices forwarding datagrams, as well as automation devices 103, 105, such as programmable logic controllers, with bridge or switch functions. The switches 101-102, 104, 201-204 each comprise several ports and are used in particular for connecting programmable logic controllers 103, 105, 221, operator control and monitoring stations, I / O controllers, or I / O modules, which also represent communication devices or communication terminals.
[0035] Programmable logic controllers 103, 105, 221 typically each comprise a communications module, a central processing unit, and at least one input / output unit. Input / output units can also be configured as decentralized peripheral modules located remotely from a programmable logic controller. A programmable logic controller 103, 105, 221 can be connected to a switch or router or additionally to a fieldbus via the communications module. The input / output unit is used to exchange control and measurement variables between a programmable logic controller 103, 105, 221 and a machine or device 131, 151, 222 controlled by the respective programmable logic controller 103, 105, 221. The central processing unit is provided in particular for determining suitable control variables from acquired measurement variables.The above components of a programmable logic controller 103, 105, 221 are connected to each other, for example, via a backplane bus system.
[0036] I / O modules can also be provided for exchanging control and measurement variables with connected machines or devices. I / O modules can be controlled, in particular, using an I / O controller per automation cell. Alternatively, I / O modules can also be controlled by a remote programmable logic controller.
[0037] Within a third subnetwork 3, which in the present embodiment is an overlaid, IP-based transit network, datagrams 200 are forwarded via routing. For this purpose, the third subnetwork 3 comprises several routers 301-304. The first subnetwork 1 and the third subnetwork 3 are connected via at least one first router 301 and one second router 302, while the second subnetwork 2 and the third subnetwork 3 are connected via at least one third router 303.
[0038] To connect the first subnetwork 1 to the third subnetwork 3, the first subnetwork 1 comprises at least a first coupling communication device 101, which is connected to the first router 301, and a second coupling communication device 102, which is connected to the second router 302. The two coupling communication devices 101-102 are redundant to one another. In the present exemplary embodiment, the second subnetwork 2, in contrast, comprises only one coupling communication device 201, which is connected to the third router 303 and a third coupling communication device of the communication system according to Figure 1 represents.
[0039] In the present exemplary embodiment, both the first subnetwork 1 and the second subnetwork 2 have a ring topology and thus provide a basis for the application of ring redundancy protocols, such as Media Redundancy Protocol (MRP) or High Availability Seamless Redundancy Protocol (HSR). Datagrams 100 are preferably transmitted accordingly within the first subnetwork 1 and the second subnetwork 2, respectively. In particular, the first subnetwork 1 and the second subnetwork 2 can be assigned to PROFINET cells. In this case, the datagrams 100 are PROFINET frames.
[0040] In principle, the first subnetwork 1 or the second subnetwork 2 can also have a tree topology, thus providing a basis for the application of spanning tree protocols such as Spanning Tree Protocol (STP), Multiple Spanning Tree Protocol (MSTP), or Rapid Spanning Tree Protocol (RSTP). Such spanning tree protocols also offer redundancy functions and enable compensation for the failure of individual transmission paths or links.
[0041] In addition, the communication system comprises a fourth subnetwork 4, which is coupled to the third subnetwork 3 in a similar manner to the second subnetwork 2 and comprises a mobile radio network, in particular a 5G mobile radio network, with a plurality of base stations 401-404. The fourth subnetwork 4 and the third subnetwork 3 are connected via at least one fourth router 304. For example, a mobile radio modem 405, to which an automation device 451, for example an operator control and monitoring station, is connected, can be connected to these base stations 401-404. The mobile radio modem 451 represents a fourth coupling communication device for connecting the operator control and monitoring station 451 to the higher-level third subnetwork 3.
[0042] An operator control and monitoring station 451 is used to visualize process data or measurement and control variables that are processed or acquired by programmable logic controllers, input / output units, or sensors. In particular, an operator control and monitoring station 451 is used to display values of a control loop and to change control parameters. Operator control and monitoring stations 451 comprise at least a graphical user interface, an input device, a processor unit, and a communications module.
[0043] In the communication system, datagrams 100 are exchanged, i.e., sent and received bidirectionally, between a first communication device in the first subnetwork 1 and a second communication device in the second subnetwork 2 via the superimposed third subnetwork 3. For example, the programmable logic controllers 103, 105 in the first subnetwork 1 can represent a first communication device, while the programmable logic controller 221 in the second subnetwork 2 can represent a second communication device.
[0044] The first coupling communication device 101 and the second coupling communication device 102 are each configured to select a master coupling communication device together with the other coupling communication device and to be assigned a common virtual network layer address (address for OSI layer 3). Furthermore, both coupling communication devices 101, 102 are configured to operate the first or second coupling communication device not selected as the master communication device as a backup coupling communication device. Figure 1 the first coupling communication device 101 is selected as the master communication device.
[0045] According to the method according to the invention, the two mutually redundant coupling communication devices 101, 102 select the master coupling communication device from among themselves using the Virtual Router Redundancy Protocol (VRRP). Accordingly, the virtual network layer address of the two mutually redundant coupling communication devices 101, 102 is also provided using VRRP. Furthermore, in the first subnetwork 1, information about the virtual network layer address of the two mutually redundant coupling communication devices 101, 102 is disseminated using VRRP advertisements 110 for the use of the link layer tunnel 10.
[0046] A link layer tunnel 10 is established between the master coupling communication device 101 or 102 and the third coupling communication device 201 via the first router 301 or via the second router 302, as well as via the third router 303 through the third subnetwork 3. Datagrams 100 sent from the first communication device 103, 105 to the second communication device 221 are encapsulated within the link layer tunnel 10 in tunnel data frames 200. The same applies in the reverse direction.
[0047] The master coupling communication device encapsulates the datagrams 100 sent from the first communication device to the second communication device by inserting them into a payload area of the tunnel data frames 200. Preferably, the tunnel data frames 200, in which the datagrams 200 sent from the first communication device to the second communication device are encapsulated, are VXLAN frames or frames for Layer 2 tunneling of the datagrams.
[0048] In the present exemplary embodiment, a further link layer tunnel 20 is also established between the master coupling communication device 101 or 102 and the fourth coupling communication device 405 via the first router 301 or via the second router 302, as well as via the fourth router 304 through the third subnetwork 3. Datagrams 100 sent from the first communication device 103, 105 to the operator control and monitoring station 451 are encapsulated in tunnel data frames 200 within the further link layer tunnel 20. Otherwise, data is transmitted via the further link layer tunnel 20, and the further link layer tunnel 20 is configured and set up analogously to the use of the link layer tunnel 10. Accordingly, the following explanations regarding the link layer tunnel 10 also apply analogously to the further link layer tunnel 20.
[0049] The two mutually redundant coupling communication devices 101, 102 are each configured such that a first endpoint of the link layer tunnel 100 is configured with the virtual network layer address of the first and second coupling communication devices or the master coupling communication device, while a second endpoint of the link layer tunnel 100 is configured with a network layer address of the third coupling communication device 201. The first endpoint is assigned to the first subnetwork 1, and the second endpoint is assigned to the second subnetwork 2.
[0050] The mutually redundant coupling communication devices 101, 102 form a group of coupling communication devices assigned to a virtual link layer tunnel endpoint. The coupling communication devices from the same group assigned to a virtual link layer tunnel endpoint exchange information about their respective operating status and use this information to monitor the respective master coupling communication device for failure. In the event of a failure of a previously active master coupling communication device, all reserve coupling communication devices generally select a new master coupling communication device from among themselves. If, for example, the first coupling communication device 101 fails as the active master coupling communication device, the second coupling communication device 102 takes over its role as the master coupling communication device. Accordingly Figure 2In this case, the link layer tunnel 10 is established via the second router 302 and the third router 303. Similarly, the further link layer tunnel 20 is established via the second router 302 and the fourth router 304.
[0051] The datagrams 100 are transmitted within the first subnetwork 1 according to the Media Redundancy Protocol (MRP). Thus, an MRP interconnection topology change can be signaled in the event of a changed selection or a failure of the master coupling communication device. An MRP interconnection topology change can be signaled, for example, using an MRP_InTopologyChange frame. Signaling the MRP interconnection topology change advantageously triggers a relearning of the respective link layer address tables or forwarding database (FDB) in communication devices 101-105 of the first subnetwork 1. Preferably, all communication devices 101-105 of the first subnetwork 1 relearn their respective forwarding databases in the event of an MRP interconnection topology change.Similarly, signaling the MRP interconnection topology change at routers 301-304 along a link layer tunnel 10, 20 triggers a relearning of a link layer address assigned to the first endpoint of the link layer tunnel 10, 20.
[0052] The first communication device, for example one of the programmable logic controllers 103, 105, adds in the present embodiment accordingly Figure 3into the datagrams 100 that are sent to the second communication device, for example, the programmable logic controller 221, an identifier 12 of a first VLAN, for example, VID=0, and a priority indication 13, for example, PCP=6. In this way, high-priority control data is identified in PROFINET cells that comprise the first subnetwork 1 or the second subnetwork 2, which are transmitted cyclically in the PROFINET cells within predetermined or reserved time windows. For this purpose, in the present exemplary embodiment, all communication devices 101-105, 201-204, 221 in the PROFINET cells are operated in a clock-synchronized manner. Based on the identifier 12 of the first virtual local area network and the priority indication 12, the datagrams are forwarded from the first communication device to the master coupling communication device.The datagrams 100 comprise an address area 11 and a payload area 14 and, in the present embodiment, basically correspond to Ethernet frames in terms of their structure.
[0053] The master coupling communication device encapsulates the datagrams 100 sent by the first communication device according to Figure 4by inserting them into a payload area 24 of the tunnel data frame 200. The payload area 24 of the tunnel data frame 200 includes, in particular, the identifier 12 of the first VLAN and the priority information 13 for forwarding within the first or second subnetwork. Furthermore, the tunnel data frames 200 include an address range 21 and correspond to Ethernet frames in terms of their structure. In addition, an identifier 22 of a second VLAN used for forwarding through the link layer tunnel 10, for example, VID'=1, and a priority information 23, for example, PCP'=6, can be inserted into the tunnel data frames 200.
[0054] The third coupling communication device 201 extracts the datagrams 100 encapsulated in the tunnel data frames 200 from received tunnel data frames 200 and forwards the extracted datagrams 100 to the second communication device based on the virtual local network identifier 12 and the priority information 13. Similarly, the fourth coupling communication device 405 extracts datagrams 100 intended for the operating and monitoring station 451 from tunnel data frames 200 and forwards the datagrams 100 to the operating and monitoring station 451.
Claims
1. Method for transmitting time-critical data, in which - datagrams (100) are transmitted from a first communication device (103, 105) in a first subnet (1) and to a second communication device (221) in a second subnet (2) via a third subnet (3), - the first and the third subnet are connected via at least a first and a second router (301) and the second and the third subnet are connected via at least a third router (302), - datagrams are forwarded within the first and the second subnet in each case by way of switching, - datagrams are forwarded within the third subnet by way of routing, - the first subnet has a ring topology and comprises at least a first coupling communication device (101) that is connected to the first router, and a second coupling communication device (102) that is connected to the second router, wherein datagrams are transmitted within the first subnet in accordance with the Media Redundancy Protocol, MRP, - the second subnet comprises a third coupling communication device (201) that is connected to the third router and to which a network layer address is assigned, - the first and second coupling communication device select a master coupling communication device among one another by way of the Virtual Router Redundancy Protocol, VRRP, wherein a common virtual network layer address is assigned to both coupling communication devices and the first or second coupling communication device not selected as master communication device is operated as reserve coupling communication device, - in the event of a changed selection or in the event of failure of the master coupling communication device, an MRP interconnection topology change is signalled, - as a result of signalling of the MRP interconnection topology change, in communication devices of the first subnet, relearning of their respective data link layer address tables is triggered, - a data link layer tunnel (10) is set up through the third subnet via the first or second router and via the third router at least between the master coupling communication device and the third coupling communication device, wherein the datagrams transmitted from the first communication device to the second communication device are encapsulated in tunnel data frames (200) within the data link layer tunnel, and the tunnel data frames in which the datagrams transmitted from the first communication device to the second communication device are each encapsulated are VXLAN frames or Layer 2 Tunnelling frames of the datagrams, - a first endpoint of the data link layer tunnel is configured with the virtual network layer address of the first and second coupling communication device, - a second endpoint of the data link layer tunnel is configured with the network layer address of the third coupling communication device.
2. Method according to Claim 1, in which the virtual network layer address of the first and second coupling communication device is provided by way of VRRP.
3. Method according to either of Claims 1 and 2, in which information about the virtual network layer address of the first and second coupling communication device is broadcast in the first subnet by way of VRRP advertisements in order to use the data link layer tunnel.
4. Method according to one of Claims 1 to 3, in which at least the first and second coupling communication device form a group of coupling communication devices that are assigned to a virtual data link layer tunnel endpoint, in which the coupling communication devices from the same group assigned to a virtual data link layer tunnel endpoint share information among one another about their respective operating state and monitor the master coupling communication device for failure based on this information and in which, in the event of failure of a previously active master coupling communication device, all reserve coupling communication devices select a new master coupling communication device among one another.
5. Method according to one of Claims 1 to 4, in which the master coupling communication device (101, 102) encapsulates the datagrams (100) transmitted from the first communication device (103, 105) to the second communication device (221) in each case by inserting them into a payload data field (24) of the tunnel data frames (200).
6. Method according to one of Claims 1 to 5, in which the first communication device (103, 105) inserts an identifier (12) of a virtual local area network and a priority indication (13) into the datagrams (100) transmitted to the second communication device (221), in which the datagrams are forwarded from the first communication device to the master coupling communication device based on the identifier of the first virtual local area network and the priority indication, in which the master coupling communication device encapsulates the datagrams transmitted by the first communication device in each case in the tunnel data frames (200) and in which the third coupling communication device extracts the datagrams that are encapsulated in the tunnel data frames from received tunnel data frames and forwards the extracted datagrams to the second communication device based on the identifier of the virtual local area network and the priority indication.
7. Method according to one of Claims 1 to 6, in which the first and the second subnet are assigned to PROFINET cells, in which the third subnet is an IP-based transit network and in which the datagrams are PROFINET frames.
8. Method according to one of Claims 1 to 7, in which the second subnet comprises a mobile radio network, in particular a 5G mobile radio network, and in which the third subnet is an IP-based transit network.
9. Method according to one of Claims 1 to 8, in which the MRP interconnection topology change is signalled by way of an MRP_InTopologyChange frame, in which the data link layer address tables are each designed in the form of a forwarding database, and in which, as a result of signalling of the MRP interconnection topology change, in all communication devices of the first subnet, relearning of their respective forwarding database is triggered.
10. Method according to one of Claims 1 to 9, in which, as a result of signalling of the MRP interconnection topology change, in routers along the data link layer tunnel, relearning of at least one data link layer address assigned to the first endpoint of the data link layer tunnel is triggered.
11. Communication system for performing a method according to one of Claims 1 to 10, including - a first subnet (1) that comprises at least a first communication device (103, 105), a first coupling communication device (101) and a second coupling communication device (102), - a second subnet (2) that comprises at least a second communication device (221) and a third coupling communication device (201), - a third subnet (3) that comprises at least a first router (301), a second router (302) and a third router (303), wherein the first and the third subnet are connected via at least the first and the second router and the second and the third subnet are connected via at least the third router, - wherein the communication devices and coupling communication devices are designed to forward datagrams within the first and the second subnet in each case by way of switching, - wherein the routers are designed to forward datagrams within the third subnet by way of routing, - wherein the first subnet has a ring topology, the first coupling communication device is connected to the first router and the second coupling communication device is connected to the second router, - wherein the third subnet is designed such that datagrams are transmitted within the first subnet in accordance with the Media Redundancy Protocol, MRP, - wherein the third coupling communication device is connected to the third router and has an assigned network layer address, - wherein the first and second coupling communication device are designed to select a master coupling communication device among one another by way of the Virtual Router Redundancy Protocol, VRRP, and to be assigned to a common virtual network layer address, - wherein the first and second coupling communication device are designed such that the first or second coupling communication device not selected as master communication device is operated as reserve coupling communication device, - wherein the coupling communication devices are designed such that, in the event of a changed selection or in the event of failure of the master coupling communication device, an MRP interconnection topology change is signalled, - wherein the first subnet is designed such that, as a result of signalling of the MRP interconnection topology change, in communication devices of the first subnet, relearning of their respective data link layer address tables is triggered, - wherein the coupling communication devices are designed such that a data link layer tunnel (10) is set up through the third subnet via the first or second router and via the third router between the master coupling communication device and the third coupling communication device and that datagrams transmitted from the first communication device to the second communication device are encapsulated in tunnel data frames (200) within the data link layer tunnel, wherein the tunnel data frames in which the datagrams transmitted from the first communication device to the second communication device are each encapsulated are VXLAN frames or Layer 2 Tunnelling frames of the datagrams, - wherein the coupling communication devices are designed such that a first endpoint of the data link layer tunnel is configured with the virtual network layer address of the first and second coupling communication device, - wherein the coupling communication devices are designed such that a second endpoint of the data link layer tunnel is configured with the network layer address of the third coupling communication device.
12. Coupling communication device for performing a method according to one of Claims 1 to 10, wherein the coupling communication device is designed - to forward datagrams within a first subnet comprising the coupling communication device by way of switching, wherein the subnet has a ring topology, - to transmit datagrams within the first subnet in accordance with the Media Redundancy Protocol, MRP, - to be connected to a first router of a third subnet as first coupling communication device or to be connected to a second router of the third subnet as second coupling communication device, - to select, together with the first or second coupling communication device, a master coupling communication device among one another by way of the Virtual Router Redundancy Protocol, VRRP, and to be assigned to a common virtual network layer address, - such that the first or second coupling communication device not selected as master communication device is operated as reserve coupling communication device, - such that, in the event of a changed selection or in the event of failure of the master coupling communication device, an MRP interconnection topology change is signalled, - such that, as a result of signalling of the MRP interconnection topology change, in communication devices of the first subnet, relearning of their respective data link layer address tables is triggered, - such that a data link layer tunnel is set up through the third subnet via the first or second router and via a third router of the third subnet between the master coupling communication device and a third coupling communication device of a second subnet and that datagrams transmitted from a first communication device of the first subnet to a second communication device of the second subnet are encapsulated in tunnel data frames within the data link layer tunnel, wherein the tunnel data frames in which the datagrams transmitted from the first communication device to the second communication device are each encapsulated are VXLAN frames or Layer 2 Tunnelling frames of the datagrams, - such that a first endpoint of the data link layer tunnel is configured with the virtual network layer address of the first and second coupling communication device, - such that a second endpoint of the data link layer tunnel is configured with a network layer address of the third coupling communication device.
