Method for Data Communication in an Industrial Network, Control Method, Device, Computer Program and Computer-Readable Medium
20210120065 · 2021-04-22
Inventors
- Thomas FISCHER (Erlangen, DE)
- Stephan Höme (Schwabach, DE)
- Konstantin Jung (Feucht, DE)
- Sven KERSCHBAUM (Fürth, DE)
- Marcel Kießling (Velden, Bayern, DE)
- Frank Volkmann (Nürnberg, DE)
Cpc classification
H04L43/10
ELECTRICITY
H04L65/65
ELECTRICITY
H04L65/61
ELECTRICITY
H04L67/12
ELECTRICITY
H04L47/76
ELECTRICITY
International classification
Abstract
A control method, device, computer program and a computer-readable medium and method for data communication in an industrial network, wherein a stream is created between at least two stream subscribers, where resources are reserved on at least one node point, particularly bridges and/or switches between the at least two stream subscribers, and subsequently data is transmitted between the at least two stream subscribers, via the stream, and at least one subscriber of the stream interrupts the emittance and/or reception of data via the stream and resources that are reserved on at least one node point for the at least one subscriber of the stream are released for use for a data transmission that is lower priority than the data transmission via the stream, and where the reservation of the resources being maintained for the at least one subscriber.
Claims
1. (canceled)
18. A method for data communication in an industrial network, a stream being established between at least two stream subscribers, resources being reserved, and data being subsequently transmitted between the at least two stream subscribers via the stream, the method comprising: interrupting, by at least one subscriber of the stream, at least one of (i) a transmission and (ii) reception of data via the stream; and releasing resources reserved at the at least one node point for the at least one subscriber of the stream for use for a data transfer which is assigned a lower priority than the data transfer via the stream, said reservation of the resources being maintained for the at least one subscriber.
19. The method as claimed in claim 18, wherein the at least one subscriber of the stream, after said least one subscriber has interrupted at least one of the (i) transmission and (ii) reception of data via the stream, subsequently continues at least one of (i) the transmission and (ii) reception of data via the stream utilizing the resources reserved for the least one subscriber; and wherein any data transfer with a lower priority utilizing the resources reserved for the at least one subscriber of the stream is ended.
20. The method as claimed in claim 2, wherein the at least one subscriber of the stream continues at least one of the (i) transmission and (ii) reception of data via the stream without the reservation of resources for the stream being at least one of calculated and performed anew.
21. The method as claimed in claim 18, wherein the released resources are utilized by at least one further subscriber of the network for a data transfer which is assigned a lower priority than the data transfer via the stream.
22. The method as claimed in claim 18, wherein at least one of: (i) the at least one subscriber of the stream is deactivated and, due to said deactivation of the at least one subscriber of the stream, no additional data is at least one of (i) transmitted and (ii) received via the stream and (ii) the at least one subscriber of the stream is separated from the network and, due to the separation from the network of the at least one subscriber of the stream, no additional data is at least one of (i) transmitted and (ii) received via the stream.
23. The method as claimed in claim 22, wherein at least one of (i) the at least one subscriber of the stream has been separated from the network and thereafter, is reconnected to the network and (ii) the at least one subscriber of the stream has then been deactivated and thereafter is reactivated.
24. The method as claimed in one of the preceding claim 18, wherein the at least one subscriber of the stream transmits a sleep message at least one of (i) before, (ii) after and (iii) simultaneously with the interruption of at least one of (i) the transmission and (ii) reception of data via the stream and, in reaction to the transmitted sleep message, the resources hat are reserved at the at least one node point for the at least one subscriber of the stream are released for utilization for a data transfer which is assigned a lower priority than the data transfer via the stream.
25. The method as claimed in claim 18, wherein the at least one subscriber of the stream, after said at least one subscriber has interrupted at least one of (i) the transmission and (ii) reception of data via the stream, transmits a wake-up message and, in reaction to said wake-up message, any data transfer with a lower priority using the resources reserved for the at least one subscriber of the stream is ended within a pre-determined timespan.
26. The method as claimed in claim 23, wherein at least one of (i) the at least one subscriber of the stream transmits the wake-up message after it has been reconnected to the network and (ii) the at least one subscriber of the stream transmits the wake-up message after said at least one subscriber has been reactivated.
27. The method as claimed in claim 25, wherein at least one of (i) the at least one subscriber of the stream transmits the wake-up message after it has been reconnected to the network and (ii) the at least one subscriber of the stream transmits the wake-up message after said at least one subscriber has been reactivated.
28. The method as claimed in claim 18, wherein the at least one subscriber of the stream additionally transmits keep-alive messages when said at least one subscriber at least one of (i) transmits and (ii) receives data via the stream; and wherein the at least one subscriber of the stream, ends the transmission of keep-alive messages when said least one subscriber interrupts at least one of (i) the transmission and (ii) reception of data via stream.
29. The method as claimed in claim 18, wherein the reservation of the resources for the at least one subscriber of the stream is maintained in that at least one of configuration data and configuration settings belonging to the reservation remain stored at one or more node points.
30. The method as claimed in claim 18, wherein the transfer of data via the stream occurs in an Audio/Video Bridging (AVB) or Time Sensitive Networking (TSN) network.
31. The method as claimed in claim 18, wherein the at least one subscriber of the stream comprises a component of an industrial automation system.
32. The method as claimed in claim 31, wherein component of the industrial automation system comprises at least one of (i) at least one sensor and (ii) at least one actuator or is formed thereby.
33. The method as claimed in claim 18, wherein the at least one node point comprises at least one of (i) bridges and (ii) switches arranged between the at least two stream subscribers.
34. A control method for an industrial technical process or a vehicle, wherein data is exchanged between at least two components of an automation system while performing the method as claimed in claim 18 and, based on the exchanged data, control of the industrial technical process or vehicle occurs.
35. A device comprising: at least one data point; and at least two devices forming stream subscribers which are connected to one another at least one node point; wherein the at least two device forming at least two stream subscribers comprise components of an industrial automation system; wherein the device is configured to: interrupt at least one of (i) a transmission and (ii) reception of data via a stream; and release resources reserved at the at least one node point for at least one device of the stream for use for a data transfer which is assigned a lower priority than the data transfer via the stream, said reservation of the resources being maintained for the at least one device.
36. The device as claimed in claim 35, wherein the at least one node point comprises at least one of (i) bridges and (ii) switches arranged between the at least two stream subscribers.
37. A computer program comprising program code means for performing the method as claimed in claim 18.
38. A computer-readable medium encoded with a computer program comprises instructions which, when executed by perform at least one computer, causes the at least one computer to establish a stream between at least two stream subscribers, resources being reserved, and data being subsequently transmitted between the at least two stream subscribers via the stream in an industrial network, the computer program comprising: instructions for interrupting, by at least one subscriber of the stream, at least one of (i) a transmission and (ii) reception of data via the stream; and instructions for releasing resources reserved at the at least one node point for the at least one subscriber of the stream for use for a data transfer which is assigned a lower priority than the data transfer via the stream, said reservation of the resources being maintained for the at least one subscriber.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Further features and advantages of the present invention will now be made clear with the following description of an embodiment of the method of the present invention, making reference to the accompanying drawings, in which:
[0049]
[0050]
[0051]
[0052]
[0053]
DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS
[0054]
[0055] As is apparent in
[0056] The network in the present case is a TSN network, i.e., one that satisfies one or more standards designated Time Sensitive Networking (TSN). In particular, in the present case, the node points 2 are provided by TSN-capable bridges 2. The TSN standards include, for example, Time Synchronization (IEEE 802.1AS-Rev), Frame Preemption (IEEE 802.1Qbu) and Reservation (IEEE 802.1Qca, IEEE 802.1Qcc) and other standards.
[0057] The terminal forming the transmitter in the present case an SPS 1 of an industrial automation system for a technical process (not shown further). The terminals forming the receivers are a screen 3 on which data received from the SPS 1 can be visualized for an operator, a terminal 4 that comprises one or more actuators (not shown in the drawings), which require control signals from the SPS 1 cyclically, order to act upon the industrial technical process cyclically, and an analysis device 5 that receives data from the SPS 1 and analyzes it. On the basis of the data exchanged between the SPS 1 and the device 4, a control of the industrial technical process occurs. The data is transferred from the SPS 1 to the three terminals 3, 4, 5 in the form of data frames via the Ethernet-based network.
[0058] The frame forwarding from the SPS 1 to the device 4 with the actuators thereby occurs via a protected connection, i.e., a “stream”. The data communication via a stream that is known, for instance, from the Audio/Video Bridging (AVB) and Time Sensitive Networking (TSN) standards ensures, in particular, that a preset latency time that can vary from stream to stream and depends, in particular, on the respective application, is adhered to. It is thereby ensured that the control signals arrive at the actuators of the terminal 4 within a pre-determined maximum latency time, i.e., a maximum latency period elapses between the feeding of the data into the network by the SPS 1 and the receipt of the data at the actuators. Thus, for instance, an in particular real time-critical communication between the SPS 1 and the device 4 with the actuators can be ensured.
[0059] It is the case thereby that a stream as defined, for example, by the Audio/Video Bridging (AVB) Task Group and, in particular, by the TSN Task Group in the international standard IEEE 802.1, is established by making use of a stream reservation protocol (in the present case, for example, the Stream Reservation Protocol (SRP) or the extension MSRP), whereby a stream can be obtained between a transmitter and a receiver or a stream can also be obtained between a transmitter 1 and a plurality of receivers. The first configuration recognizably corresponds to that in
[0060] For the establishment of a stream between the SPS 1 and the device 4, a reservation of resources occurs at each node point 2 that passes on data frames from the SPS 1 to the device 4.
[0061] The sequence is such that in a first step, a Talker Advertise message is output by the transmitter, i.e., the SPS 1. With this, the SPS 1 announces the stream the network and the properties of the stream are described. The SPS 1 specifies, in particular, a stream ID, a forwarding address and an item of bandwidth information for the data transfer originating from it.
[0062] The announcement of the stream is distributed to all the node points, in the present case, therefore, bridges 2 in the network, whereby each bridge 2 then holds the information of the receiving port, i.e., of the port in the direction of the SPS 1 forming the talker, via which the notification has been received and later the data also enters. The data source is also designated a talker 1. As a result, this port also has the designation talker port. The ports in the direction of the listener(s) are accordingly also designated transmitter ports or listener ports.
[0063] One or more listeners can register on the stream offered by the SPS 1. In the exemplary illustrated embodiment, only the device 4 with the actuators registers itself, where this is not to be understood as restrictive and it is naturally also possible that a plurality of listeners register themselves. A Listener Join message is sent bar the device 4 in the direction of the SPS 1.
[0064] At each of the bridges 2 that are arranged between the SPS 1 and the device 4, a reservation is performed at the port in the direction of the device 4, i.e., the listener port according to the stream description given by the SPS 1 representing the talker, provided the available resources at the respective bridge 2 are sufficient. Each node point 2 checks whether its internal resources are sufficient for the performance demanded in the context of the stream to be established (in particularly regarding data quantity and data throughput). If this is the case, the node point 2 reserves these resources for the stream to be established and passes on a positive reservation status to the subsequent bridge 2 or the last bridge to the transmitter, i.e., the SPS 1. In the exemplary illustrated embodiment, in total three node points, in the present case bridges 2, are arranged on the network path connecting the SPS 1 to the device 4 and resource reservations occurs at these three.
[0065] With the reservation, each node point 2 can ensure that it guarantees the required performance during the subsequent data transfer. This is where streams differ from unprotected connections. If insufficient resources are available, then a negative reservation status is forwarded.
[0066] The reservation starts at the bridge 2 closest to the respective receiver/listener, i.e., to the device 4 and “propagates” along the associated network path to the data source/talker, i.e., to the SPS 1.
[0067] The reservation is thereby based upon the forwarding tree also referred to as Talker Tree (T.sub.Tree) that can be established, for example, with the Rapid Spanning Tree Protocol (RSTP).
[0068] Following a successful reservation, data frames are transferred cyclically from the SPS 1 to the device 4. The device 4 transmits “keep-alive” messages to the next node point 2 on the network path from the device 4 to the SPS 1. With this, the reservation is maintained. Following expiry of the timer, unconfirmed reservations are marked and following expiry of a confirmation time (2nd timer) are deleted internally. Thereby, previously removed devices are recognized, the reservation is abolished and the resources are released again.
[0069] Data frames also pass cyclically from the SPS 1 to the two further devices 3, 5, but because they do not need data in real time, it does not pass via a protected connection, that is, via stream. Therefore, for the data transfer to the two further devices 3, 5, no resources are reserved at the node points 2 on the network path between each device 3, 5, and the SPS 1.
[0070] In
[0071] In
[0072] It can occur that one or more network subscribers are temporarily removed from the network and/or deactivated. This can be due, for example, to servicing and/or a defect that is to be remedied. Here, a communication is temporarily no longer needed since either the device no longer transmits and/or no longer receives data. In the present case, no further data is received by the device 4.
[0073] In the case that a removed or deactivated device represents a stream subscriber and the resource reservation is maintained on the associated network path, when TAS and an exclusive time window are used for the stream, the bandwidth cannot be used in any other way, leading to a hindering of the entire network. However, if the stream has been deleted, then the reserved resources would be available again. As soon as the only temporarily removed or deactivated network subscriber is reconnected or reactivated, however, a completely new configuration must take place and a repercussion-free restart cannot be guaranteed.
[0074] Indicated in
[0075] It is indicated in
[0076] In order to enable an optimum usage of network resources, in particular, also in the case that temporarily no data is transmitted to one or more stream subscribers and/or that temporarily no data is (able to be) received by it or them, in accordance with the invention, a sleep mode is provided.
[0077] Specifically, the device 4 forming a stream subscriber interrupts the transmission and/or reception of data via the stream 6, the resources that are reserved for the device 4 at all the node points, in the present case bridges 2, on the network path between the SPS 1 and the device 4, for use for a data transfer that is assigned a lower priority than the data transfer via the stream 6, are released.
[0078] The reservation of the resources for the device 4 at the three node points 2 between the SPS 1 and the device 4 is thereby maintained, despite the release for the lower priority use and during any use of the resources for a lower priority communication. The reservation therefore not abolished. Specifically, configuration settings at all three node points 2 belonging to the reservation remain stored, in the present case, the address entry in the FDB, the administration of the queue memory used for real time data and the necessary configuration of the shaper or of the TAS mechanism. When IEEE 802.1CB is applied, the filters needed for the recognition of the stream data and the history needed for the recognition of duplicates must additionally be present for storing the previously received sequence numbers in the bridges.
[0079] For the activation of the sleep mode, the device 4 can transmit the sleep property of a stream directly to the next node point 2 in an extended stream description as notification in an extended stream description, as notification in a sleep mode message, or via a central site in the management of the network components 2, the setting for the stream can be performed and/or a message can be sent to the bridge 2.
[0080] In
[0081] The released resources at the three node points 2 on the network path 8 are used in the exemplary illustrated embodiment for a transfer of data from the SPS 1 to the screen 3 and the analysis device 5, where, due to the path geometry, the latter only uses the resources of two of the three node points 2, whereas the screen 3 uses the resources of all three node points 2 (see
[0082] After, for example, servicing of the removed device 4 has been completed, the device 4 is connected to the network again, which is indicated schematically in
[0083] As soon as the device 4 is connected to the network again, the device 4 transmits a wake-up message to the three node points 2 on the network path 8 that connects the SPS 1 to the device 4.
[0084] The transmission of the wake-up message is indicated in
[0085] The device 4 then continues the reception of data from the SPS 1 via the stream 6 without the reservation of resources for the stream 6 being recalculated and/or performed anew. The reservations maintained, in accordance with the invention, at the three node points 2 during the sleep mode are thereby available again effectively immediately, in particular, after only one or a few milliseconds.
[0086] The restoration of the data communication is shown in
[0087] It should be noted that the components shown in
[0088] The method in accordance with the invention enables temporarily non-required resources reserved for a stream to be passed to a different use, so that an optimum usage of existing network resources can occur, where, at the same time, after a temporary non-use of a stream, the resources are guaranteed to be available again for the stream traffic without delay. This occurs while accepting that the lower priority communication is possibly disrupted at this moment.
[0089]
[0090] The method comprises interrupting, by at least one subscriber 4 of the stream 6, at least one of (i) a transmission and (ii) reception of data via the stream 6, as indicated in step 610.
[0091] Next, resources reserved at the at least one node point 2 are released for the at least one subscriber 4 of the stream 6 for use for a data transfer which is assigned a lower priority than the data transfer via the stream 6, as indicated in step 620. In accordance with the invention, the reservation of the resources is maintained for the at least one subscriber 4.
[0092] Although the invention has been illustrated and described in detail with the preferred exemplary embodiment, the invention is not restricted by the examples disclosed and other variations can be derived therefrom by a person skilled in the art without departing from the protective scope of the invention.
[0093] For example, it should be understood that even if the sleep mode according to the invention was described in the context of the above exemplary embodiment for a stream 6 with two stream subscribers 1, 4, this can be activated, in the event that in a network two or more streams are established of which one stream subscriber transmits and/or receives no data via the stream, for two or more streams.
[0094] It should be understood the sleep mode in accordance with the disclosed embodiments of the invention can also be used if a subscriber temporarily does not transmit and/or receive from a stream with more than two stream subscribers or if a plurality of participants also temporarily do not transmit and/or receive.
[0095] Finally, it must be clear that the at least two stream subscribers given in the context of the exemplary above-described embodiments via an SPS 1 and a device 4 with actuators are selected only by way of example and stream subscribers for which, in accordance with the disclosed embodiments of the present invention, a sleep mode is established can also be present in the form of any other desired devices.
[0096] Thus, while there have been shown, described and pointed out fundamental novel features of the invention as applied to a preferred embodiment thereof, it will be understood that various omissions and substitutions and changes in the form and details of the methods described and the devices illustrated, and in their operation, may be made by those skilled in the art without departing from the spirit of the invention. For example, it is expressly intended that all combinations of those elements and/or method steps which perform substantially the same function in substantially the same way to achieve the same results are within the scope of the invention. Moreover, it should be recognized that structures and elements and/or method steps shown and/or described in connection with any disclosed form or embodiment of the invention may be incorporated in any other disclosed or described or suggested form or embodiment as a general matter of design choice. It is the intention, therefore, to be limited only as indicated by the scope of the claims appended hereto.