DE102010000995B3 - Increasing the real-time capability of Ethernet networks - Google Patents
Increasing the real-time capability of Ethernet networks Download PDFInfo
- Publication number
- DE102010000995B3 DE102010000995B3 DE102010000995A DE102010000995A DE102010000995B3 DE 102010000995 B3 DE102010000995 B3 DE 102010000995B3 DE 102010000995 A DE102010000995 A DE 102010000995A DE 102010000995 A DE102010000995 A DE 102010000995A DE 102010000995 B3 DE102010000995 B3 DE 102010000995B3
- Authority
- DE
- Germany
- Prior art keywords
- ethernet
- packet
- network
- networks
- packets
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
- H04L12/4645—Details on frame tagging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
- H04L69/324—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Die Erfindung betrifft ein Verfahren zum Übertragen zumindest eines Ethernetpaketes zwischen einem Sender und einem Empfänger, eine Vorrichtung zur Durchführung eines erfindungsgemäßen Verfahrens sowie ein Netzwerkgerät mit einer derartigen Vorrichtung. Um unter Verwendung von IEEE802.3-konformen Netzwerkkomponenten ein hohes Maß an Echtzeitfähigkeit und Deterministik zu erreichen, wird vorgeschlagen, das jeweilige Ethernetpaket am Sender in eine Anzahl von Ethernetzellen genannte Ethernetpakete zu segmentieren und am Empfänger wieder zusammenzufügen. Durch die Segmentierung der Ethernetpakete in Ethernetzellen – natürlich mit einer Länge deutlich kleiner als die maximale Paketgröße – werden hochpriore Echtzeitpakete deutlich kürzer verzögert als durch lange, unsegmentierte Ethernetpakete.The invention relates to a method for transmitting at least one Ethernet packet between a transmitter and a receiver, a device for carrying out a method according to the invention and a network device with such a device. In order to achieve a high level of real-time capability and deterministic using IEEE802.3-compliant network components, it is proposed to segment the respective Ethernet packet at the transmitter into a number of Ethernet packets called Ethernet networks and to reassemble them at the receiver. By segmenting the Ethernet packets in Ethernet networks - of course, with a length significantly smaller than the maximum packet size - high-priority real-time packets are delayed significantly shorter than by long, unsegmented Ethernet packets.
Description
Die Erfindung betrifft ein Verfahren zum Übertragen zumindest eines Ethernetpaketes zwischen einem Sender und einem Empfänger, eine Vorrichtung zur Durchführung eines erfindungsgemäßen Verfahrens sowie ein Netzwerkgerät mit einer derartigen Vorrichtung.The invention relates to a method for transmitting at least one Ethernet packet between a transmitter and a receiver, a device for carrying out a method according to the invention and a network device with such a device.
Ein derartiges Verfahren bzw. derartige Vorrichtungen kommen insbesondere auf dem Gebiet der industriellen Kommunikation, z. B. in Fertigungsanlagen, zum Einsatz, bei der zunehmend ethernet-basierte Kommunikationsprotokolle verwendet werden. Die Umstellung von bisherigen Feldbussen (z. B. Profibus, Interbus) auf Ethernet als Feldbus wird aber dadurch erschwert, dass ein normkonformes Ethernet nach IEEE802.3 in vielen Fällen die Anforderungen an die Deterministik und Echtzeitfähigkeit nicht erreicht. Der Grund für das schlechte deterministische Verhalten von Ethernet nach IEEE802.3 ist die stark schwankende Paketgröße zwischen 64 Bytes und 1522 Bytes (mit VLAN-Tag, jeweils ohne Präambel und SFD, „Start Frame Delimiter”), wobei das Hauptproblem bezüglich der Echtzeitfähigkeit die maximale Paketgröße von ca. 1500 Bytes ist. Wurde der Sendevorgang für ein Paket angestoßen, so kann er nicht mehr unterbrochen werden. Die langen Ethernetpakete blockieren daher einen Übertragungskanal für relativ lange Zeit und verzögern dadurch auch hochpriore Pakete. So belegt ein Ethernetpaket das Übertragungsmedium bei einer Übertragungsrate von 100 Mbit/s für ca. 125 μs. Kurz danach zum Senden bereite Pakete, auch mit einer höheren Priorität, werden daher solange verzögert, bis das alte Paket vollständig gesendet wurde.Such a method or such devices are particularly useful in the field of industrial communication, for. As in manufacturing plants, are used in the increasingly Ethernet-based communication protocols. The conversion from previous fieldbuses (eg Profibus, Interbus) to Ethernet as fieldbus is made more difficult by the fact that a standard compliant Ethernet according to IEEE802.3 does not meet the requirements for deterministic and real-time capability in many cases. The reason for the poor deterministic behavior of Ethernet according to IEEE802.3 is the strongly fluctuating packet size between 64 bytes and 1522 bytes (with VLAN tag, each without preamble and SFD, "Start Frame Delimiter"), the main problem with regard to the real-time capability maximum packet size is about 1500 bytes. If the send process for a package has been triggered, it can no longer be interrupted. The long Ethernet packets therefore block a transmission channel for a relatively long time and thereby also delay high-priority packets. For example, an Ethernet packet occupies the transmission medium at a transmission rate of 100 Mbit / s for approx. 125 μs. Packets that are ready to send sooner, even with a higher priority, are therefore delayed until the old packet has been completely sent.
Das Problem wird dadurch weiter verschärft, dass die Verzögerung nicht nur am Netzwerkteilnehmer (Netzwerkgerät, Endgerät), sondern auch an jedem Netzwerkknoten (z. B. Switch) auftritt. Gerade bei der installationsfreundlichen Linientopologie ergeben sich dadurch hohe maximale Verzögerungszeiten, bei 100 Geräten in Reihe z. B. 12,5 ms. Die Übertragungsdauer für ein Paket kann dann zwischen 0 und 12,5 ms schwanken, für viele Echtzeitanwendungen zu viel.The problem is aggravated by the fact that the delay occurs not only at the network user (network device, terminal) but also at each network node (eg switch). Especially with the installation-friendly line topology, this results in high maximum delay times, with 100 devices in series z. B. 12.5 ms. The transmission time for a packet can then fluctuate between 0 and 12.5 ms, too much for many real-time applications.
Bei Anwendungen, bei welchen die Deterministik und Echtzeitfähigkeit von IEEE802.3-basierten industriellen Netzwerkprotokollen (wie Ethernet-IP, PROFINET IRT) nicht ausreicht, wurden ethernet-basierte Netzwerkprotokolle definiert, welche nicht mehr kompatibel zu IEEE802.3 sind und damit auch für die Netzwerkkomponenten (Switches) spezielle Komponenten benötigen. Die dafür notwendigen Geräte sind bei weitem nicht so leistungsfähig und flexibel wie Standardkomponenten gemäß IEEE802.3; außerdem sind diese Komponenten teurer, und es wird meist zusätzlich eine spezielle Netzwerkkonfiguration und Netzwerkprojektierung benötigt. Diese Nachteile behindern die Verbreitung von Ethernet in Anwendungen mit hohen Anforderungen an Deterministik und Echtzeitfähigkeit. Die Deterministik erreichen die echtzeitfähigen Protokolle heute durch eine hochgenaue Zeitsynchronisation aller Teilnehmer. Entweder wird durch die Zeitsynchronisation ein Zeitmultiplex realisiert (PROFINET IRT, Zeitphasen für die Echtzeitprotokolle und für die anderen Protokolle) oder es werden Zeitstempel in die Protokolle eingebaut (Ethernet-IP, Ethercat). Das Ethernet-Protokoll an sich bleibt jedoch unverändert. Diese proprietären Varianten von Ethernet (PROFINET IRT, Ethercat, Ethernet Powerlink ...), die sich damit behelfen, dass der zeitliche Zugang der Netzwerkteilnehmer auf das Übertragungsmedium geplant wird, benötigen also eine spezielle Hardware in den Netzwerkknoten und Netzwerkteilnehmern und verwenden ein Protokoll, welches inkompatibel zu IEEE802.3 ist.For applications in which the deterministic and real-time capability of IEEE802.3-based industrial network protocols (such as Ethernet-IP, PROFINET IRT) is not sufficient, Ethernet-based network protocols have been defined which are no longer compatible with IEEE802.3 and therefore also for the Network components (switches) need special components. The necessary devices are far from as powerful and flexible as standard components according to IEEE802.3; In addition, these components are more expensive, and it usually requires in addition a special network configuration and network configuration. These disadvantages hinder the spread of Ethernet in applications with high demands on determinism and real-time capability. The deterministic reach the real-time capable protocols today by a highly accurate time synchronization of all participants. Either a time division multiplex is realized by the time synchronization (PROFINET IRT, time phases for the real time protocols and for the other protocols) or time stamps are built into the protocols (Ethernet IP, EtherCAT). The Ethernet protocol itself remains unchanged. These proprietary variants of Ethernet (PROFINET IRT, Ethercat, Ethernet Powerlink ...), which ensure that the temporal access of the network participants to the transmission medium is planned, thus require special hardware in the network nodes and network participants and use a protocol, which is incompatible with IEEE802.3.
Aus
Aus
Der Erfindung liegt die Aufgabe zugrunde, unter Verwendung von IEEE802.3-konformen Netzwerkkomponenten ein hohes Maß an Echtzeitfähigkeit und Deterministik zu erreichen.The invention has for its object to achieve a high degree of real-time capability and deterministic using IEEE802.3-compliant network components.
Diese Aufgabe wird bei einem Verfahren der eingangs genannten Art dadurch gelöst, dass das jeweilige Ethernetpaket am Sender in eine Anzahl von Ethernetzellen genannte Ethernetpakete mittels einer Ethernetzellen-Einheit segmentiert wird,
- – wobei die MAC-Adressen und ein ggf. vorhandener VLAN-Tag des Ethernetpaketes für die Ethernetzellen übernommen werden,
- – wobei ein EtherType-Parameter und die Nutzdaten des Ethernetpaketes in die Datenbereiche der Ethernetzellen der Reihe nach eingetragen werden,
- – wobei sich die Anzahl von Ethernetzellen aus der Menge der Nutzdaten und der Größe der Datenbereiche ergibt,
- – wobei die Ethernetzellen dem jeweiligen Ethernetpaket zuordenbar gekennzeichnet werden,
- – wobei in jeder Ethernetzelle die Anzahl der in den jeweiligen Datenbereichen mit Nutzdaten belegten Bytes vermerkt wird und
- – wobei jede Ethernetzelle durch einen EtherType-Parameter als Ethernetzelle ausgewiesen wird,
- - whereby the MAC addresses and a possibly existing VLAN tag of the Ethernet packet for the Ethernet networks are adopted,
- In which an EtherType parameter and the user data of the Ethernet packet are entered in the data areas of the Ethernet networks in sequence,
- - where the number of Ethernet networks results from the amount of user data and the size of the data areas,
- In which the Ethernet networks are identified as being assignable to the respective Ethernet packet,
- - In each Ethernet network, the number of bytes occupied in the respective data areas with user data bytes is noted, and
- Where each Ethernet network is identified by an EtherType parameter as the Ethernet network,
Die Aufgabe wird weiter gelöst durch eine derartige Ethernetzellen-Einheit sowie ein Netzwerkgerät mit den in Anspruch 6 bzw. Anspruch 7 angegebenen Merkmalen.The object is further achieved by such an Ethernet cell unit and a network device having the features specified in claim 6 or claim 7.
Durch die Segmentierung der Ethernetpakete in Ethernetzellennatürlich mit einer Länge deutlich kleiner als die maximale Paketgröße – wird der eigentliche Grund des Problems, die langen Ethernetpakete, beseitigt. Diese kurzen Ethernetzellen können jetzt von einem normalen IEEE802.3-konformen Netzwerk verarbeitet werden; aufgrund der jetzt geringen Paketlänge werden hochpriore Echtzeitpakete deutlich kürzer verzögert. Zudem benötigt das Verfahren im Gegensatz zu heutigen ethernet-basierten Echtzeitprotokollen kein spezielles Netzwerkmanagement, sondern nur eine geringfügige Modifikation der Endgeräte.By segmenting the Ethernet packets into Ethernet networks, of course, with a length significantly smaller than the maximum packet size, the root cause of the problem, the long Ethernet packets, is eliminated. These short Ethernet networks can now be processed by a standard IEEE802.3 compliant network; Due to the now small packet length, high-priority real-time packets are delayed much shorter. In addition, in contrast to today's ethernet-based real-time protocols, the method does not require any special network management, but only a minor modification of the terminals.
Maßgeblich für den Prozess der Segmentierung und des Zusammenfügens ist eine eindeutige Kennung für die Kommunikationsbeziehung zwischen dem Sender und dem Empfänger, die in Ethernet schon durch die Source- und Destination-MAC-Adresse bereitgestellt wird. Um ein Echtzeitverhalten zu erreichen, müssen mindestens zwei Prioritätsklassen bereitgestellt werden, eine für nieder- und eine für hochpriore Telegramme. Für die Prioritätsklassen werden die Prioritätsbits im VLAN-Tag benutzt (IEEE802.1Q).Decisive for the process of segmentation and assembly is a unique identifier for the communication relationship between the sender and the receiver already provided in Ethernet by the source and destination MAC address. To achieve real-time behavior, at least two priority classes must be provided, one for low and one for high-priority telegrams. For the priority classes, the priority bits in the VLAN tag are used (IEEE802.1Q).
Die Ethernetzelle enthält Informationen über die Lage der Zelle im Paket – z. B. erste, letzte oder dazwischen; es gibt aber auch andere Segmentierungsverfahren – so dass die Ethernetzellen-Einheit am Empfänger weiß, wann die Übertragung des Paketes vollständig ist. Zudem ist eine Information über die Anzahl der Bytes im Datenbereich vorhanden, die mit Nutzdaten belegt sind, da dieser (bei der letzten Zelle) nicht voll belegt sein muss und die übrigen Bytes z. B. mit „0” aufgefüllt werden.The Ethernet cell contains information about the location of the cell in the package - eg. Eg first, last or in between; however, there are also other segmentation methods - so that the Ethernet network unit at the receiver knows when the transmission of the packet is complete. In addition, there is information about the number of bytes in the data area, which are occupied by user data, as this (in the last cell) must not be fully occupied and the remaining bytes z. B. be filled with "0".
Das Verfahren zum Segmentieren und Zusammenfügen ist so konstruiert, dass die Weiterleitung der Pakete (bzw. der Zellen) über in normales IEEE802.3-konformes Netzwerk möglich ist, so dass für das Netzwerk handelsübliche IEEE802.3-konforme Netzwerkkomponenten verwendet werden können. Dies bedeutet für den Anwender deutlich niedrigere Kosten und eine deutlich höhere mögliche Bandbreite. Aktuelle Echtzeitimplementierungen von Ethernet (PROFINET IRT, Ethercat, Ethernet Powerlink ...) sind zumeist auf eine Bandbreite von 100 Mbit beschränkt, der Ethernetstandard bietet inzwischen aber auch kostengünstig Bandbreiten von 1 Gbit oder 10 Gbit an. Die jetzt mögliche Verwendung von Netzwerkkomponenten mit hoher Bandbreite von 1 Gbit oder gar 10 Gbit ermöglicht eine Echtzeitfähigkeit, welche besser als die der heutigen speziellen Implementierungen ist.The segmentation and merging process is designed to allow the forwarding of the packets (or cells) over a normal IEEE802.3-compliant network so that commercial IEEE802.3-compliant network components can be used for the network. This means significantly lower costs and a significantly higher bandwidth for the user. Current real-time implementations of Ethernet (PROFINET IRT, Ethercat, Ethernet Powerlink ...) are mostly limited to a bandwidth of 100 Mbit, but the Ethernet standard now also offers low-cost bandwidths of 1 Gbit or 10 Gbit. The potential use of high-bandwidth 1Gb or even 10Gbps network components enables real-time capability that is better than today's specialized implementations.
Das Verfahren ist so konstruiert, dass keine spezielle Echtzeitkonfiguration des Netzwerkes notwendig ist. Für den Anwender zeigt sich das Netzwerk als ein IEEE802.3-konformes Standard-Ethernetnetzwerk. Durch diesen IEEE802.3-konformen Aufbau des Netzwerkes sind auch alle anderen Mechanismen und Protokolle von Standard-Ethernet, z. B. Redundanz und Netzwerkmanagement, nutzbar. Der Anwender kann Echtzeitkommunikation auch applikativ ohne explizites Echtzeitprotokoll nutzen. Er muss nur dafür sorgen, dass seine Echtzeittelegramme mit einer hohen Priorität versendet werden. Dadurch kann er die Beschränkungen der gängigen Echtzeitprotokolle in Hinblick auf die Verbindungsmöglichkeiten (z. B. Master/Slave bei PROFINET) umgehen.The method is designed so that no special real-time configuration of the network is necessary. For the user, the network presents itself as an IEEE802.3 compliant standard Ethernet network. Due to this IEEE802.3-compliant structure of the network, all other mechanisms and protocols of standard Ethernet, eg. B. redundancy and network management, usable. The user can also use real-time communication applicatively without an explicit real-time protocol. He just has to make sure that his real-time telegrams are sent with a high priority. This allows the user to avoid the limitations of common real-time protocols with regard to the connection options (eg master / slave with PROFINET).
In einer vorteilhaften Form der Ausgestaltung wird auch die FCS des Ethernetpaketes in die Datenbereiche der Ethernetzellen eingetragen. Auf diese Weise kann die Ethernetzellen-Einheit am Empfänger wieder das originale Paket rekonstruieren – inklusive „Frame Check Sequence” mit der 4 Byte langen CRC, „Cyclic Redundancy Check”. Übertragungsfehler und Segmentierungs-/Zusammenfügungsfehler werden durch die veränderte CRC des Originalpaketes offenbart, und es greifen die Ethernet-Standardmechanismen. (Die einzelnen Ethernetzellen weisen natürlich – standard-konform – ebenfalls eine FCS bzw. CRC auf.)In an advantageous embodiment of the embodiment, the FCS of the Ethernet packet is also entered into the data areas of the Ethernet networks. In this way, the Ethernetzellen unit at the receiver can reconstruct the original package again - including "Frame Check Sequence" with the 4-byte CRC, "Cyclic Redundancy Check". Transmission errors and segmentation / assembly errors are revealed by the changed CRC of the original packet, and the standard Ethernet mechanisms are used. (Of course, the individual Ethernet networks also have an FCS or CRC - in compliance with the standard).)
In einer weiteren vorteilhaften Ausführungsform werden die Kennzeichnung für die Zuordnung zum jeweiligen Ethernetpaket sowie die Anzahl der mit Nutzdaten belegten Bytes durch verschiedene EtherType-Parameter dargestellt. Auf diese Weise können die Informationen bereitgestellt werden, ohne dass hierfür Speicherplatz im ohnehin kleinen Datenbereich benötigt wird.In a further advantageous embodiment, the identifier for the assignment to the respective Ethernet packet and the number of bytes occupied by user data are represented by different EtherType parameters. In this way, the information can be provided without the need for storage space in the already small data area.
In einer weiteren vorteilhaften Ausführungsform werden die Kennzeichnung als für die Zuordnung zum jeweiligen Ethernetpaket sowie die Anzahl der mit Nutzdaten belegten Bytes in einer Variablen im Datenbereich der jeweiligen Ethernetzelle gespeichert. Bei dieser alternativen Ausgestaltung wird zwar 1 Byte des Datenbereichs mit der Variablen belegt, dafür genügt ein EtherType-Parameter zur Kennzeichnung des Ethernetpaketes als Ethernetzelle. Der Parameter kann z. B. als Segmentation/Reassembly-Status (SRS) bezeichnet werden und wird beispielsweise im ersten Byte des Datenbereiches der Ethernetzellen abgelegt.In a further advantageous embodiment, the identification as for the assignment to the respective Ethernet packet and the number of bytes occupied by user data are stored in a variable in the data area of the respective Ethernet network. Although in this alternative embodiment, 1 byte of the data area is occupied by the variable, an EtherType parameter is sufficient for the identification of the Ethernet packet as Ethernet network. The parameter can be z. Example, as segmentation / reassembly status (SRS) and is stored, for example, in the first byte of the data area of the Ethernet networks.
In einer weiteren vorteilhaften Ausführungsform werden die Ethernetpakete in Ethernetzellen mit minimal erlaubter Länge segmentiert. Durch diese Verkürzung auf 64 Bytes (ohne Präambel und SFD) ergibt sich jetzt nur noch eine Verzögerung von ca. 6 μs bei einer Übertragungsrate von 100 Mbit/s (im Vergleich zu 125 μs bei einem maximalen Ethernetpaket). Selbst bei 100 Teilnehmern in einer Linie ergeben sich so nur noch 0,6 ms (statt 12,5 ms). Bei höheren Übertragungsraten verringern sich diese Verzögerungszeiten natürlich noch einmal deutlich.In a further advantageous embodiment, the Ethernet packets are segmented in Ethernet networks with a minimum allowable length. Due to this shortening to 64 bytes (without preamble and SFD), there is now only a delay of approx. 6 μs with a transmission rate of 100 Mbit / s (compared to 125 μs with a maximum Ethernet packet). Even with 100 participants in one line, this results in only 0.6 ms (instead of 12.5 ms). Of course, with higher transmission rates, these delay times are significantly reduced again.
In einer vorteilhaften Form der Ausgestaltung ist bei einem erfindungsgemäßen Netzwerkgerät die erfindungsgemäße Ethernetzellen-Einheit zwischen PHY-Layer und MAC-Layer angeordnet. Der Vorgang der Segmentierung in kurze Ethernetzellen und des Zusammenfügens des ursprünglichen Ethernetpakets passiert logisch zwischen dem PHY- und dem MAC-Layer. Der MAC-Layer stellt in Senderichtung für jede Prioritätsklasse einen Sendedatenstrom zur Verfügung. Bei mindestens zwei Prioritätsklassen kann ein hochpriores Datenpaket ein bereits im Senden befindliches niederpriores Datenpaket überholen. In Empfangsrichtung empfängt die Ethernetzellen-Einheit die Ethernetzellen und merkt sich die schon empfangenen Bestandteile des Datenpaketes (des segmentierten Ethernetpaketes) in der Speichereinheit („Connection RAM”). Ist ein Datenpaket vollständig empfangen (d. h. alle Ethernetzellen des originalen Ethernetpaketes), so wird es an den MAC-Layer weitergeleitet.In an advantageous embodiment of the invention, in a network device according to the invention the Ethernet network unit according to the invention is arranged between PHY layer and MAC layer. The process of segmenting into short Ethernet networks and merging the original Ethernet packet logically happens between the PHY and MAC layers. The MAC layer provides a send data stream for each priority class in the send direction. With at least two priority classes, a high-priority data packet can overtake a lower-priority data packet already in transmission. In the receive direction, the Ethernet cell unit receives the Ethernet networks and remembers the already received components of the data packet (the segmented Ethernet packet) in the memory unit ("Connection RAM"). When a data packet is completely received (i.e., all the Ethernet networks of the original Ethernet packet), it is forwarded to the MAC layer.
Im Folgenden wird die Erfindung anhand des in der Figur dargestellten Ausführungsbeispiels näher beschrieben und erläutert. Die Figur zeigt:In the following, the invention will be described and explained in more detail with reference to the embodiment shown in the figure. The figure shows:
eine schematische Darstellung einer Ethernetzellen-Einheit in einer Netzwerkschnittstelle.a schematic representation of an Ethernet cell unit in a network interface.
Die Figur zeigt die Integration einer Ethernetzellen-Einheit
In Senderichtung stellt der MAC-Layer
In Empfangsrichtung empfängt die Empfängereinheit
Aufgrund der jetzt deutlich kürzeren Pakete im Netzwerk von z. B. der Mindestgröße für Ethernetframes von 64 Bytes (ohne Präambel und SFD) ergibt sich jetzt nur noch eine Verzögerung von ca. 6 μs/Knoten, also selbst bei 100 Teilnehmern in einer Linie nur 600 μs. Bis auf die Ethernetzellen-Einheiten
Die Ethernetzelle für sich ist ein vollständig IEEE802.3-konformes Paket mit einem festgelegten EtherType, welcher es als Ethernetzelle kennzeichnet. Die Nutzdaten enthalten den Segmentation/Reassembly-Status (SRS) und einen Teil der segmentierten Nutzdaten. Der SRS kann alternativ auch durch verschiedene EtherTypes realisiert werden. Für den Segmentation- und Reassembly-Prozess maßgeblich ist eine eindeutige Kennung für die Kommunikationsbeziehung zwischen dem Sender und dem Empfänger, die in Ethernet schon durch die Source- und Destination-MAC-Adressen bereitgestellt wird. Um ein Echtzeitverhalten zu erreichen, müssen mindestens zwei Prioritätsklassen bereitgestellt werden, eine für nieder- und eine für hochpriore Telegramme. Für die Prioritätsklassen werden die Prioritätsbits im VLAN-Tag benutzt (IEEE802.1Q). Ethernettelegramme(-pakete), die keinen VLAN-Tag aufweisen, werden von der Sendeeinheit
Nachfolgend wird die Aufteilung eines Ethernet-Datenpakets mit 200 Bytes auf Ethernetzellen mit 64 Bytes erläutert. Die gewählte Segmentierung und der Aufbau des SRS sind nur exemplarisch. Das Ethernetpaket mit 200 Bytes Nutzdaten enthält zudem für die MAC-Quell- und Zieladressen je 6 Bytes, für den VLAN-Tag 4 Bytes, für den EtherType-Parameter 2 Bytes und nach den Nutzdaten weitere 4 Bytes für die Frame Check Sequence, FCS, bzw. die CRC, also insgesamt 222 Bytes. Diese neben den Nutzdaten für die Übertragung notwendigen Bytes sind natürlich auch bei den Ethernetzellen vorhanden, so dass bei einer einheitlichen Länge von 64 Bytes noch 42 Bytes für die Datenbereiche übrig bleiben, von denen 1 Byte von dem SRS belegt wird.The following section explains how to divide an Ethernet data packet of 200 bytes onto 64-byte Ethernet networks. The chosen segmentation and the structure of the SRS are only examples. The Ethernet packet with 200 bytes of user data also contains 6 bytes for the MAC source and destination addresses, 4 bytes for the VLAN tag, 2 bytes for the EtherType parameter, and 4 bytes for the frame check sequence, FCS, after the user data. or the CRC, ie a total of 222 bytes. These bytes, which are required in addition to the user data for the transmission, are naturally also present in the Ethernet networks, so that with a uniform length of 64 bytes, 42 bytes remain for the data areas, of which 1 byte is occupied by the SRS.
Der SRS enthält jetzt die Information über die Lage der Ethernetzelle im Paket („First”, „Body”, „Last”) und die Anzahl der Bytes, welche im Datenbereich übertragen werden. Dies ist notwendig, da der Datenbereich auch weniger als 41 Bytes enthalten kann und dann die restlichen Bytes mit „0” aufgefüllt werden („Padding”). In sechs Ethernetzellen werden die Nutzdaten, der EtherType-Parameter und die CRC des Originalpaketes verpackt (206 Bytes). Da die Datenbereiche von fünf Ethernetzellen minimaler Größe nur 205 Bytes aufnehmen können, transportiert die letzte Ethernetzelle daher nur 1 Byte anstatt 41 Bytes wie die vorangegangenen Zellen. Alternativ könnte auch die fünfte Ethernetzelle um ein Byte länger gemacht werden, da es für die erfindungsgemäße Lösung nicht notwendig ist, dass die Ethernetzellen eine einheitliche Länge mit einer Festanzahl von beispielsweise 64 Bytes haben. Die Zellen könnten z. B. zwischen 64 und 80 Bytes lang sein, womit sich immer noch eine hinreichend geringe Verzögerung für hochpriore Ethernettelegramme ergäbe.The SRS now contains the information about the location of the Ethernet network in the packet ("First", "Body", "Last") and the number of bytes that are transmitted in the data area. This is necessary because the data area can also contain less than 41 bytes and then the remaining bytes are padded with "0" ("Padding"). The user data, the EtherType parameter and the CRC of the original package are packed in six Ethernet networks (206 bytes). Because the data areas of five minimum-sized Ethernet networks can hold only 205 bytes, the last Ethernet network will therefore carry only 1 byte instead of 41 bytes as the previous cells. Alternatively, the fifth Ethernet network could also be made longer by one byte, since it is not necessary for the inventive solution that the Ethernet networks have a uniform length with a fixed number of, for example, 64 bytes. The cells could z. B. be between 64 and 80 bytes long, which would still be a sufficiently low delay for high-priority Ethernettelegramme.
Die Eintragung der zu segmentierenden Daten des Ethernetpaketes in die Datenbereiche der Ethernetzellen erfolgt sinnvollerweise in der Reihenfolge ihres „Auftretens”, d. h. in den 41 Bytes großen Datenbereich der ersten Ethernetzelle werden der EtherType-Parameter (2 Bytes) und noch 39 Bytes Nutzdaten des Ethernetpaketes eingetragen und in die folgenden drei Ethernetzellen je 41 Bytes Nutzdaten. Die fünfte Ethernetzelle transportiert wahlweise die verbleibenden 38 Bytes Nutzdaten sowie noch 3 Bytes der FCS des Ethernetpaketes – die minimale Paketgröße wird also beibehalten – oder zusätzlich zu den Nutzdaten die vollen 4 Bytes der FCS – die Paketgröße wird also um 1 Byte auf 65 Bytes vergrößert. Im ersten Fall benötigt man natürlich noch – wie oben schon beschrieben – eine sechste Zelle, die das letzte Byte der FCS transportiert, wobei der restliche Datenbereich mit Nullen aufgefüllt wird. Mit diesem Verfahren kann die Ethernetzellen-Einheit
Das originale Ethernetpaket mit den 200 Bytes benötigt zum Senden insgesamt 222 Bytes. Es wird durch die Segmentierung in entweder fünf Ethernetzellen mit jeweils 64 Bytes für die ersten vier Zellen und 65 Bytes für die fünfte Zelle oder in sechs Zellen mit jeweils 64 Bytes aufgeteilt, insgesamt werden jetzt also 321 Bytes bzw. 384 Bytes gesendet. Die um ca. 50 höhere Datenmenge stellt aufgrund der hohen zur Verfügung stehenden Übertragungskapazität von 100 Mbit (oder gar bis zu 10 Gbit) heute kein Problem mehr dar. Die heute auf Zeitmultiplex basierenden echtzeitfähigen Ethernetvarianten erreichen durch die nicht vollständig mögliche Ausnutzung der Zeitschlitze auch nicht die theoretisch mögliche Übertragungskapazität. Da aktuelle Echtzeitimplementierungen von Ethernet zumeist auf eine Bandbreite von 100 Mbit beschränkt ist, ergibt sich durch die jetzt mögliche Verwendung von Netzwerkkomponenten mit höherer Bandbreite eine Echtzeitfähigkeit, welche oft besser als die der heutigen speziellen Implementierungen ist.The original 200-byte Ethernet packet requires a total of 222 bytes to send. It is divided by segmentation into either five 64-byte Ethernet cells for the first four cells and 65 bytes for the fifth cell or six cells of 64 bytes each, for a total of 321 bytes and 384 bytes, respectively. Due to the high available transmission capacity of 100 Mbit (or even up to 10 Gbit), the approximately 50 higher data volume is no longer a problem today. The real-time capable Ethernet variants based on time division multiplex do not even reach the full potential of the time slots the theoretically possible transmission capacity. Since current real-time implementations of Ethernet are mostly limited to a bandwidth of 100 Mbit, the now possible use of higher bandwidth network components results in real-time capability, which is often better than today's special implementations.
Zusammenfassend betrifft die Erfindung ein Verfahren zum Übertragen zumindest eines Ethernetpaketes zwischen einem Sender und einem Empfänger, eine Vorrichtung zur Durchführung eines erfindungsgemäßen Verfahrens sowie ein Netzwerkgerät mit einer derartigen Vorrichtung. Um unter Verwendung von IEEE802.3-konformen Netzwerkkomponenten ein hohes Maß an Echtzeitfähigkeit und Deterministik zu erreichen, wird vorgeschlagen, das jeweilige Ethernetpaket am Sender in eine Anzahl von Ethernetzellen genannte Ethernetpakete zu segmentieren und am Empfänger wieder zusammenzufügen. Durch die Segmentierung der Ethernetpakete in Ethernetzellen – natürlich mit einer Länge deutlich kleiner als die maximale Paketgröße – werden hochpriore Echtzeitpakete deutlich kürzer verzögert als durch lange, unsegmentierte Ethernetpakete.In summary, the invention relates to a method for transmitting at least one Ethernet packet between a transmitter and a receiver, a device for carrying out a method according to the invention and a network device with such a device. In order to achieve a high level of real-time capability and deterministic using IEEE802.3-compliant network components, it is proposed to segment the respective Ethernet packet at the transmitter into a number of Ethernet packets called Ethernet networks and to reassemble them at the receiver. By segmenting the Ethernet packets in Ethernet networks - of course, with a length significantly smaller than the maximum packet size - high-priority real-time packets are delayed significantly shorter than by long, unsegmented Ethernet packets.
Claims (8)
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102010000995A DE102010000995B3 (en) | 2010-01-19 | 2010-01-19 | Increasing the real-time capability of Ethernet networks |
EP10799056A EP2526654A1 (en) | 2010-01-19 | 2010-12-29 | Increasing the real-time capability of ethernet networks |
RU2012135470/08A RU2012135470A (en) | 2010-01-19 | 2010-12-29 | INCREASING THE CAPABILITY OF REAL-TIME ETHERNET NETWORKS |
PCT/EP2010/070839 WO2011088956A1 (en) | 2010-01-19 | 2010-12-29 | Increasing the real-time capability of ethernet networks |
CN2010800619098A CN102714612A (en) | 2010-01-19 | 2010-12-29 | Increasing the real-time capability of Ethernet networks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102010000995A DE102010000995B3 (en) | 2010-01-19 | 2010-01-19 | Increasing the real-time capability of Ethernet networks |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102010000995B3 true DE102010000995B3 (en) | 2011-06-16 |
Family
ID=43533070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE102010000995A Expired - Fee Related DE102010000995B3 (en) | 2010-01-19 | 2010-01-19 | Increasing the real-time capability of Ethernet networks |
Country Status (5)
Country | Link |
---|---|
EP (1) | EP2526654A1 (en) |
CN (1) | CN102714612A (en) |
DE (1) | DE102010000995B3 (en) |
RU (1) | RU2012135470A (en) |
WO (1) | WO2011088956A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112202574A (en) * | 2020-10-13 | 2021-01-08 | 中车大连电力牵引研发中心有限公司 | Multi-port hard real-time Ethernet switching device and method |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717189A (en) * | 2013-12-16 | 2015-06-17 | 中兴通讯股份有限公司 | Network data package sending method and device |
CN104410585A (en) * | 2014-09-12 | 2015-03-11 | 云南电网公司 | Ethernet information real-time transmission method and device |
US9705700B2 (en) * | 2014-10-21 | 2017-07-11 | Cisco Technology, Inc. | Sparse graph coding scheduling for deterministic Ethernet |
CN112399381B (en) * | 2020-10-29 | 2023-09-15 | 华人运通(江苏)技术有限公司 | Data transmission method and vehicle-mounted Ethernet transmission system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7080012B2 (en) * | 2001-01-19 | 2006-07-18 | Paradyne Corporation | Dynamic time division multiplexing of voice signals into Ethernet data streams over a WAN circuit |
US7224703B2 (en) * | 2001-12-12 | 2007-05-29 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for segmenting a data packet |
US20080056295A1 (en) * | 2006-09-01 | 2008-03-06 | Dne Technologies, Inc. | Internet protocol quality of service apparatus and method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1228945C (en) * | 2002-11-14 | 2005-11-23 | 北京润光泰力科技发展有限公司 | Method and system for transmitting Ethernet data using multiple E1 lines |
WO2006111788A1 (en) * | 2005-04-21 | 2006-10-26 | Intel Corporation | Interrupting transmission of low priority ethernet packets |
CN101364932B (en) * | 2007-08-07 | 2011-12-07 | 创锐讯通讯科技(上海)有限公司 | Data segment transmission method for packet-switching network |
-
2010
- 2010-01-19 DE DE102010000995A patent/DE102010000995B3/en not_active Expired - Fee Related
- 2010-12-29 EP EP10799056A patent/EP2526654A1/en not_active Withdrawn
- 2010-12-29 CN CN2010800619098A patent/CN102714612A/en active Pending
- 2010-12-29 RU RU2012135470/08A patent/RU2012135470A/en not_active Application Discontinuation
- 2010-12-29 WO PCT/EP2010/070839 patent/WO2011088956A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7080012B2 (en) * | 2001-01-19 | 2006-07-18 | Paradyne Corporation | Dynamic time division multiplexing of voice signals into Ethernet data streams over a WAN circuit |
US7224703B2 (en) * | 2001-12-12 | 2007-05-29 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for segmenting a data packet |
US20080056295A1 (en) * | 2006-09-01 | 2008-03-06 | Dne Technologies, Inc. | Internet protocol quality of service apparatus and method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112202574A (en) * | 2020-10-13 | 2021-01-08 | 中车大连电力牵引研发中心有限公司 | Multi-port hard real-time Ethernet switching device and method |
Also Published As
Publication number | Publication date |
---|---|
WO2011088956A1 (en) | 2011-07-28 |
RU2012135470A (en) | 2014-02-27 |
CN102714612A (en) | 2012-10-03 |
EP2526654A1 (en) | 2012-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3695577B1 (en) | Method for communicating data in a time sensitive network, control method and device | |
EP1554839B1 (en) | Method and node for using in parallel a communication network for real-time applications and non real-time applications | |
EP0885505B1 (en) | Method of transmitting a data packet using ethernet from a first device to at least one other device | |
EP3248362B1 (en) | Data transmission in a communications network | |
DE60018723T2 (en) | Address scheme for an IP-based radio access network | |
DE102010000995B3 (en) | Increasing the real-time capability of Ethernet networks | |
WO2021037837A1 (en) | Transmission of data packets | |
WO2016110326A1 (en) | Method and apparatus for transmitting data in a data network using at least two different transmission modes with fragmentation | |
DE102011015966B4 (en) | automation system | |
EP2538618A1 (en) | Method for transferring data packets | |
EP3151492B1 (en) | Method for data communication with reduced overhead in a real-time ethernet data network | |
WO2004077771A1 (en) | Synchronous multi-cluster network architecture | |
EP3917089A1 (en) | Method for operating a communication system for transferring time-critical data and switch | |
EP3758310A1 (en) | Method for data communication, network control device, network, computer program and computer readable medium | |
EP3854035B1 (en) | Data transmission method and automation communication network | |
EP3716537A1 (en) | Method for data communication, network nodes, computer program and computer readable medium | |
EP3697034A1 (en) | Method for data transmission, device, computer program and computer readable medium | |
EP1135958B1 (en) | Method for configuring a network termination unit | |
EP1133891A1 (en) | Method for aligning of packet loss priority information | |
EP3644555A1 (en) | Method for communicating data, in particular in an industrial network, control method, device, computer program and computer-readable medium | |
EP1317101B1 (en) | Method for allocating authorisations to send | |
EP3700130A1 (en) | Method for data transmission, device, computer program and computer readable medium | |
DE102011076291A1 (en) | Method for transmitting data packets between control devices in Ethernet in e.g. manufacturing industry during control process, involves transmitting data over path provided for other data, which is highly prioritized than former data | |
DE19908685A1 (en) | Method of controlling processes in networks with one or more terminals from a central node | |
EP1198930A1 (en) | Method of determining cell loss priority information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R020 | Patent grant now final |
Effective date: 20110917 |
|
R119 | Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal fee |