DE3507618A1 - Method for token-error correction in a token-ring telecommunications system - Google Patents

Method for token-error correction in a token-ring telecommunications system

Info

Publication number
DE3507618A1
DE3507618A1 DE19853507618 DE3507618A DE3507618A1 DE 3507618 A1 DE3507618 A1 DE 3507618A1 DE 19853507618 DE19853507618 DE 19853507618 DE 3507618 A DE3507618 A DE 3507618A DE 3507618 A1 DE3507618 A1 DE 3507618A1
Authority
DE
Germany
Prior art keywords
ring
token
collision
packet
station
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.)
Withdrawn
Application number
DE19853507618
Other languages
German (de)
Inventor
Gernot von der 8000 München Straten
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Siemens AG
Original Assignee
Siemens AG
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Siemens AG filed Critical Siemens AG
Priority to DE19853507618 priority Critical patent/DE3507618A1/en
Publication of DE3507618A1 publication Critical patent/DE3507618A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/427Loop networks with decentralised control
    • H04L12/433Loop networks with decentralised control with asynchronous transmission, e.g. token ring, register insertion

Abstract

In a single-token ring system, every transmitting station interrupts the transmission of information packets if a collision is detected, as can occur in the case of a multiple-token error, and transmits a collision packet; on reception of such a collision packet, the ring is closed again and the station accesses the ring line, in competition with other stations, with the risk of collision, after a randomly determined waiting time interval has elapsed, in that, with the ring line being opened, it transmits an information packet with a terminating free token and, if this information packet is transmitted without any collisions, removes said packet from the ring again without the terminating token. In the event of token loss, each station which wishes to transmit and which detects this accesses the ring line in the same manner, in competition with other stations, with the risk of collision.

Description

Verfahren zur Token fehler behebung in einem Token-Ring-Procedure for token error correction in a token ring

Telekommunikationssystem Für eine schnelle Übertragung von Digitalsignalen zwischen häufig wechselnden Gegenstellen (Teilnehmerstationen), beispielsweise zwischen Telekommunikations-Terminals und/oder datenverarbeitenden Einrichtungen, in einem räumlich relativ eng begrenzten Bereich finden vielfach auch als Lokale Netze (LAN) bezeichnete Telekommunikationssysteme Anwendung, in denen die zugehörigen Teilnehmerstationen nach Maßgabe einer Zugangsregelung Zugriff zu einem gemeinsamen Übertragungsmedium haben. Solche Lokale Netze werden üblicherweise nach der Art des Übertragungsmediums, nach ihrer Topologie und nach der Art des Zugriffsverfahrens voneinander unterschieden (Clark et al.: "An Introduction to Local Area Networks", Proc. IEEE 66(1978)11, 1497...1517): Gebräuchliche Übertragungsmedien von Lokalen Netzen sind zwei verdrallte Adern aufweisende geschirmte (Twisted Pair-)Kabel, Koaxialkabel oder Lichtwellenleiter; in topologischer Hinsicht unterscheidet man im Prinzip zwischen sternförmigen Systemen, typischerweise mit zentraler Vermittlung, und (ungerichteten) Bus- sowie (gerichteten) Ringsystemen, beide typischerweise mit verteilter Vermittlung.Telecommunication system For fast transmission of digital signals between frequently changing remote stations (subscriber stations), for example between Telecommunication terminals and / or data processing facilities in one Spatially relatively narrow areas are often also found as local networks (LAN) designated telecommunication systems application in which the associated subscriber stations Access to a common transmission medium in accordance with an access regulation to have. Such local area networks are usually classified according to the type of transmission medium, differentiated from one another according to their topology and the type of access method (Clark et al .: "An Introduction to Local Area Networks", Proc. IEEE 66 (1978) 11, 1497 ... 1517): Common transmission media in local area networks are two twisted ones Shielded (twisted pair) cables, coaxial cables or optical waveguides with cores; in topological terms, a distinction is made in principle between star-shaped systems, typically with central switching, and (non-directional) bus and (directional) Ring systems, both typically with distributed switching.

Aus der Vielzahl der Zugriffsverfahren sollen hier lediglich zwei Methoden erwähnt werden (Leinweber: Lokale Netzwerke (LAN)", Signal + Draht 76(1984)7/8, 119...124): Als ein bustypisches Zugriffsverfahren ist das sog. CSMA/CD-(Carrier Sense Multiple Access with Collision Detection)-Verfahren zu nennen: Bevor eine Station zu senden beginnt, horcht sie in den Bus hinein, ob dort bereits ein Übertragungsvorgang stattfindet. Zutreffendenfalls wartet sie zunächst dessen Ende ab; dann beginnt die betreffende Station zu senden, wobei sie zunächst weiter "mithört", bis sie nach einer gewissen Zeitspanne (round trip delay time) sicher ist, daß alle anderen Stationen ihr Senden bemerken konnten. Hat in gleicher Weise eine andere Station etwa gleichzeitig zu senden begonnen, so werden beide Stationen eine Kollision ihrer Digitalsignale mit denen der jeweils anderen Station feststellen, woraufhin sie ihren Sendevorgang jeweils abbrechen, um nach einer Zufallszeitspanne damit erneut zu beginnen.From the large number of access methods, only two are intended here Methods are mentioned (Leinweber: local networks (LAN) ", Signal + Draht 76 (1984) 7/8, 119 ... 124): As a typical bus access method, the so-called. CSMA / CD (Carrier Sense Multiple Access with Collision Detection) method should be mentioned: Before a station starts transmitting, it listens to the bus to see if it is already there a transfer process is taking place. If so, it will wait for it first End from; then the station in question begins to transmit, initially continuing "listens" until it is certain after a certain period of time (round trip delay time) is that all other stations could notice their sending. Did in the same way If another station starts transmitting at about the same time, both stations will detect a collision of their digital signals with those of the other station, whereupon they cancel their sending process after a random period of time to start over.

Als ein ringtypisches Zugriffsverfahren sei das im folgenden skizzierte Token-Passing-Verfahren genannt: Ein bestimmtes Signalwort ("Token"), das die Aussage "frei" oder belegt" in sich tragen kann, zirkuliert ständig im Ring. Bevor eine Station zu senden beginnt, muß sie das ("Frei"-)Token erkannt und in das "Belegt"-Token (im folgenden auch "Connector" genannt) umgewandelt haben, an das sie dann die zu sendende Nachricht an fügt. Die Nachricht, die die übrigen Stationen durchläuft und dort jeweils ganz oder teilweise kopiert werden kann, aber nur von der durch die zugehörige Adresse bestimmten Station endgültig empfangen wird, wird nach vollständigem Durchlaufen des Ringes von der sendenden Station wieder gelöscht, und zugleich wird das "Belegt"-Token wieder in das Frei"-Token umgewandelt.This is outlined below as a typical ring access method Token-Passing-Procedure called: A certain signal word ("token"), which the statement "free" or occupied "circulates constantly in the ring Station begins to send, it must recognize the ("free") token and put it in the "occupied" token (hereinafter also referred to as "Connector") to which you can then send the sending message to adds. The message that goes through the rest of the stations and can be copied there in whole or in part, but only from the through the associated address of the specific station is finally received, is after complete Passing through the ring is deleted again by the sending station, and at the same time the "occupied" token is converted back into the free "token.

Die Zugriffsverfahren sind jedoch nicht an eine bestimmte LAN-Topologie gebunden; so kann man ein Ringnetz auch als sog. Contention Ring betreiben, in dem die im Ring übertragenen Nachrichtenpakete jeweils erst nach Durchlaufen der ganzen Ringleitung bei Wiedererreichen der jeweiligen Sende-Station von der Ringleitung wieder entfernt werden und in dem eine sendewillige Station zunächst in die Ringleitung hineinhorcht, ob dort bereits ein Ubertragungsvorgang stattfindet, und zutreffendenfalls mit dem Zugriff auf die Ringleitung wartet, bis sie mit Erkennung eines Tokens die Zugriffsberechtigung erhält, zu deren Wahrnehmung sie zunächst das Token in einen Connector umwandelt und danach unter Öffnen der Ringleitung ein Nachrichtenpaket oder (auch eine Serie von jeweils durch einen Connector voneinander getrennten Nachrichtenpaketen).However, the access methods are not adapted to a specific LAN topology bound; a ring network can also be operated as a so-called contention ring, in which the message packets transmitted in the ring only after they have passed through the whole Ring line when the respective transmitting station is reached again from the ring line be removed again and in which a station willing to send is initially in the ring line listens to see whether a transfer process is already taking place there, and if so waits with access to the ring line until it recognizes a token and the Access authorization is granted, to which she must first insert the token into a Connector converts and then a message packet by opening the loop or (also a series of message packets separated from one another by a connector).

mit einem das (letzte) Nachrichtenpaket abschließenden Token aussendet, während bei freier Ringleitung die sendewillige Station in kollisionsbehafteter Konkurrenz zu anderen Stationen Zugriff auf die Ringleitung zumindest dann nimmt, wenn sie ein etwa früher ausgesendetes und mit einem Token abgeschlossenes Nachrichtenpaket wieder von der Ringleitung entfernt hat (Tanenbaum: Computer Networks", Prentice Hall, 1981, S.311).sends out a token that concludes the (last) message packet, while when the ring line is free, the station willing to transmit is in a collision-prone one Competition with other stations takes access to the loop at least then, if they received a message packet that was sent out earlier and terminated with a token removed from the loop again (Tanenbaum: Computer Networks ", Prentice Hall, 1981, p.311).

Um indessen auf das zuvor skizzierte Token-Passing-System zurückzukommen, so ist in einem solchen auch Single-Token-Ring genannten System u.a. dafür Sorge zu tragen, daß Systemfehler, wie sie in Form einer Duplizierung des Tokens oder auch in Form eines Tokenverlustes auftreten, behoben werden können.However, to come back to the token passing system outlined above, so in such a system, also known as a single token ring, care must be taken among other things to bear that system errors such as those in the form of a duplication of the token or also occur in the form of a token loss, can be resolved.

Hierzu ist es bekannt, unter den an sich gleichberechtigten Ringstationen eine davon abgehobene sog. Monitorstation für ein erstmaliges Generieren des Tokens und für ein Eingreifen im Fehlerfall vorzusehen, die ein Nichtauftreten eines (freien oder belegten) Tokens während einer der Summe aus Ringumlaufzeit und maximaler Nachrichtenpaketdauer entsprechenden Überwachungszeitspanne feststellt und daraufhin den Ring durch Aussenden einer hinreichend langen Folge von Leerzeichen säubert und anschließend ein Frei-Token aussendet; in gleicher Weise wird die Monitorstation auch tätig, wenn eine gerade sendende Station anhand der Herkunftsadresse einer empfangenen Nachricht oder bei Nichtempfang eines Belegt-Tokens während der genannten Überwachungszeitspanne eine Störung festgestellt und die Nachrichtenaussendung abgebrochen hat, ohne ein Frei-Token zu generieren (Bux et al: A LOCAL-AREA COMMUNICATION NETWORK BASED ON A RELIABLE TOKEN-RING SYSTEM", IFIP TC-6-Symposium on Local Computer Networks, Florenz 1982, S.69...82; Spaniol: Konzept und Bewertungsmethoden für lokale Rechnernetze", Informatik-Spektrum 5(1982)3, 152...170).For this purpose, it is known among the ring stations with equal rights a so-called monitor station, detached from it, for generating the token for the first time and to provide for intervention in the event of a fault that does not occur of a (free or occupied) token during one of the sum of the ring cycle time and determines the maximum message packet duration corresponding monitoring period and then the ring by sending out a sufficiently long sequence of spaces cleans and then sends out a free token; in the same way is the monitor station also active when a station that is currently sending a received message or if a busy token is not received during said Monitoring period, a malfunction was detected and the message transmission aborted without generating a free token (Bux et al: A LOCAL-AREA COMMUNICATION NETWORK BASED ON A RELIABLE TOKEN-RING SYSTEM ", IFIP TC-6 Symposium on Local Computer Networks, Florence 1982, pp. 69 ... 82; Spaniol: Concept and evaluation methods for local computer networks ", Informatik-Spektrum 5 (1982) 3, 152 ... 170).

Durch eine solche Monitorstation wird allerdings das Prinzip der Gleichberechtigung aller Ringstationen verletzt, was zur Folge hat, daß das Funktionieren des Ringsystems trotz prinzipeller Gleichberechtigung aller Ringstationen letztlich doch vom Funktionieren einer übergeordneten und insoweit also zentralen Station abhängt.With such a monitoring station, however, the principle of equality becomes all ring stations violated, which has the consequence that the functioning of the ring system Despite the principle of equal rights for all ring stations, ultimately from functioning depends on a higher-level and therefore central station.

Die Erfindung stellt sich nun die Aufgabe, eine Möglichkeit zu einer Tokenfehlerbeseitigung in einem Single-Token-Ring anzugeben, die keiner Mitwirkung einer den übrigen Ringstationen übergeordneten Monitorstation bedarf.The invention now has the task of providing a possibility of a Specify token debugging in a single token ring that has no involvement requires a monitor station that is superordinate to the other ring stations.

Die Erfindung betrifft ein Verfahren zur Tokenfehlerbehebung in einem Token-Ring-Telekommunikationssystem, in dem bei fehlerfreiem Betrieb gerade ein ("Frei"-oder "Belegt"-)Token ständig im Ring zirkuliert; dieses Verfahren ist erfindungsgemäß dadurch gekennzeichnet, daß jede sendende Station, die anhand der Absenderadressen der bei ihr über die Ringleitung ankommenden und dabei von der Ringleitung entfernten Nachrichtenpakete eine etwaige Kollision feststellt oder die über die Ringleitung ein eine Kollision anzeigendes Kollisionspaket empfängt, unter Abbruch der etwa noch laufenden Nachrichtenpaketaussendung ein solches Kollisionspaket aussendet sowie bei Empfang eines solchen Kollisionspakets die Entfernung ankommender Pakete beendet und nach einer Wartezeitspanne in kollisionsbehafteter Konkurrenz zu anderen Stationen auf die Ringleitung zugreift, indem sie unter Öffnen der Ringleitung ein Nachrichtenpaket oder auch eine Serie von jeweils durch einen Connector voneinander getrennten Nachrichtenpaketen mit einem das (letzte) Nachrichtenpaket abschließenden Token aussendet, wobei sie bei kollisionsfreier Übertragung der (des) ausgesendeten Nachrichtenpakete(s) diese(s) durch entsprechendes Offenhalten und Wiederschließen der Ringleitung ohne das abschließende Token vom Ring wieder entfernt.The invention relates to a method for token error recovery in one Token ring telecommunication system, in which with error-free operation a ("free" or "occupied") token is constantly circulating in the ring; This method is characterized according to the invention that each transmitting station, based on the the sender addresses of those arriving via the ring line and from the message packets removed from the ring line detects a possible collision or which receives a collision packet via the ring line indicating a collision, such a collision packet is aborted if the transmission of the message packet that is still in progress is interrupted sends out and when such a collision packet is received, the distance of incoming ones Packets terminated and after a waiting period in collision-prone competition to other stations accesses the loop by opening the loop a message packet or a series of each through a connector from each other separated message packets with a (last) message packet terminating Sends out tokens, with collision-free transmission of the (des) sent out Message package (s) this (s) by holding it open and closing it again removed from the ring line without the final token from the ring.

Die Erfindung bringt den Vorteil mit sich, das Prinzip der Gleichberechtigung aller Ringstationen auch bei der Behebung von Mehrfachtokenfehlern beibehalten und auf die Mitwirkung einer übergeordneten Monitorstation verzichten zu können. In gleicher Weise kann auch ein Token-Verlust Rechnung getragen werden, indem gemäß weiterer Erfindung jede sendewillige Station, die das Nichtauftreten eines ("Frei"- oder Belegt"-)Tokens während einer der Summe aus Ringumlaufzeit und maximaler Nachrichtenpaketdauer entsprechenden Uberwachungszeitspanne feststellt, in kollisionsbehafteter Konkurrenz zu anderen Stationen auf die Ringleitung zugreift, indem sie unter Öffnen der Ringleitung ein Nachrichtenpaket oder auch eine Serie von jeweils durch einen Connector voneinander getrennten Nachrichtenpaketen mit einem das (letzte) Nachrichtenpaket abschließenden Token aussendet, wobei sie bei kollisionsfreier Übertragung der (des) Nachrichtenpakete(s) ausgesendeten Nachrichtenpakete(s) diese(s) durch entsprechendes Offenhalten und Wiederschließen der Ringleitung ohne das abschließende Token vom Ring wieder entfernt.The invention has the advantage of the principle of equality of all ring stations, even when eliminating multiple token errors, and to be able to do without the involvement of a higher-level monitor station. In in the same way, a token loss can also be taken into account, according to further invention any station willing to send, which the non-occurrence of a ("free" - or occupied "-) tokens during one of the sum of the ring cycle time and the maximum message packet duration determines the corresponding monitoring period, in collision-prone Competition with other stations accesses the ring line by opening it the ring line a message packet or a series of each through one Connector separate message packets with one the (last) message packet sends out the final token, with collision-free transmission of the (des) Message packet (s) sent out message packet (s) this (s) by corresponding Keeping the loop open and closing it again without the final token from Ring removed again.

Weitere Besonderheiten der Erfindung werden aus der nachfolgenden näheren Erläuterung eines Ausführungsbeispiels eines Single-Token-Ring-Telekommunikationssystems gemäß der Erfindung anhand der Zeichnungen ersichtlich. Dabei zeigt FIG 1 ein Ausführungsbeispiel eines solchen Single-Token-Ringsystems; FIG 2 ff. verdeutlichen bestimmte Betriebssituationen in einem solchen Telekommunikationssystem.Further particularities of the invention will become apparent from the following detailed explanation of an embodiment of a single token ring telecommunication system according to the invention with reference to the drawings. 1 shows an exemplary embodiment such a single token ring system; 2 ff. Illustrate certain operating situations in such a telecommunication system.

Die Zeichnung FIG 1 zeigt schematisch in einem zum Verständnis der Erfindung erforderlichen Umfang ein Telekommunikationssystem mit einem durch eine Ringleitung R gegebenen Übertragungsmedium, zu dem eine Mehrzahl von Teilnehmerstationen T Zugriff hat. Die Teilnehmerstationen T sind dazu jeweils mittels einer Anschlußeinrichtung (Ringinterface) J an die Ringleitung R angeschlossen, wobei die Anschlußeinrichtung J zum einen den zu ihr hinführenden Ringleitungsabschnitt ständig mit dem Eingang E der betreffenden Station T verbindet und zum anderen je nach dem jeweiligen Schaltzustand eines Schalters S entweder die Ringleitung R an dieser Stelle über ein l-Bit-Verzögerungsglied V schließt oder aber die Ringleitung R unterbricht und stattdessen den Ausgang A der betreffenden Station T mit dem weiterführenden Ringabschnitt verbindet. Eine solche Anschlußeinrichtung J hält normalerweise den Ring R über ihren Schalter S geschlossen, so daß von anderen Stationen T stammende Nachrichtenpakete im Ring R weiterübertragen werden; zugleich ermöglicht die Anschlußschaltung J der ihr zugehörigen Station T ein Abhören der Ringleitung R.The drawing FIG 1 shows schematically in an understanding of the Invention required scope a telecommunication system with a by a Ring line R given transmission medium to which a plurality of subscriber stations T has access. The subscriber stations T are for this purpose each by means of a connection device (Ring interface) J connected to the ring line R, the connection device J on the one hand, the ring line section leading to it constantly with the input E connects the relevant station T and on the other hand depending on the respective switching state a switch S either the ring line R at this point above an 1-bit delay element V closes or the ring line R interrupts and instead the output A of the relevant station T with the continuing ring section connects. Such a connector J normally holds the ring R over their switch S closed, so that from other stations T originating message packets be transmitted in the ring R; at the same time, the connection circuit J allows the its associated station T a wiretapping of the ring line R.

Werden von der zugehörigen Station T selbst Nachrichtenpakete abgesendet, so wird der Ringschalter S der betreffenden Anschlußschaltung J umgeschaltet, so daß der Ring R an dieser Stelle unterbrochen wird; der Ring bleibt so lange unterbrochen, bis das (die) ausgesendete(n) Paket(e) vollständig den Ring R durchlaufen hat (haben) und somit auf dem Ring nicht mehr erscheint (e-rscheinen).If the associated station T itself sends message packets, the ring switch S of the relevant connection circuit J is switched over, see above that the ring R is interrupted at this point; the ring remains interrupted until the packet (s) sent out has (have) completely traversed the ring R and thus no longer appears on the ring (e-r-appear).

Im Fehlerfall ist, wie in vergleichbaren Fällen üblich, sicherzustellen, daß der Ring geschlossen bleibt bzw.In the event of an error, as usual in comparable cases, it must be ensured that that the ring remains closed or

geschlossen wird, was hier jedoch nicht weiter verfolgt werden soll, da dies zum Verständnis der Erfindung nicht erforderlich ist.is closed, which is not to be pursued further here, since this is not necessary to understand the invention.

Von einer Station T abgesendete Nachrichtenpakete mögen, wie dies auch in FIG 1 angedeutet ist, dem Stationsausgang A bitseriell von einem Speicher WS her zugeführt werden, in dem zur Sendung anstehende Nachrichtenpakete eine Warteschlange bilden können; Kopien der jeweils abgesendeten Pakete bleiben zunächst noch im Warteschlangenspeicher oder, wie dies auch in FIG 1 angedeutet ist, in einem damit verbundenen gesonderten Speicher MS gespeichert, bis sicher ist, daß sie fehlerfrei übertragen worden sind.Message packets sent from a station T like this is also indicated in Figure 1, the station output A bit-serial from a memory WS are fed forth, in which message packets pending for transmission are in a queue can form; Copies of the packages sent in each case remain in the queue memory for the time being or, as is also indicated in FIG. 1, in a separate one associated therewith Memory MS stored until it is certain that they have been transmitted without errors.

Wie aus FIG 1 weiter ersichtlich ist, möge jede Station T ein mit dem Stationseingang E verbundenes Empfangs-Pufferregister PR aufweisen, das zur Zwischenspeicherung von Nachrichtenpaketen dient, die über die Ringleitung R empfangen werden, wobei indessen von allen empfangenen Paketen nur die Pakete, deren Empfängeradresse mit der Ringadresse der gerade betrachteten Station übereinstimmt, nicht verworfen werden. In FIG 1 ist dazu angedeutet, daß an den die Empfängeradresse eines Nachrichtenpakets aufnehmenden Teil des Pufferregisters PR ein Adressendetektor AD angeschlossen ist, der die verdrahtet oder in anderer Form gespeicherte Adresse der betreffenden Station T mit der im jeweils empfangenen Nachrichtenpaket enthaltenen Empfängeradresse vergleicht und nur bei Übereinstimmung den Ausgang des Pufferregisters PR entriegelt.As can also be seen from FIG. 1, may each station T a with have the station input E connected receive buffer register PR, which for Intermediate storage of message packets that are received via the ring line R is used are, however, of all received packets only the packets, their recipient address matches the ring address of the station currently being viewed, not discarded will. In Figure 1 it is indicated that the recipient address of a message packet an address detector AD is connected to the receiving part of the buffer register PR, the wired or otherwise stored address of the relevant station T compares with the recipient address contained in the respective received message packet and only unlocks the output of the buffer register PR if they match.

Gleichzeitig mit der Aufnahme eines bei der gerade betrachteten Station T ankommenden Nachrichtenpakets in deren Pufferregister PR wird das betreffende Nachrichtenpaket auch von der zugehörigen Anschlußeinrichtung J im Ring R weiterübertragen, sofern die gerade betrachtete Station nicht selbst Absender des Paketes war. War die gerade betrachtete Station T dagegen der Absender eines in dieser Station T gerade emfangenen Paketes, so wird das Paket in der Anschlußeinrichtung J vom Ring R, den es dann gerade vollständig durchlaufen hat, wieder entfernt; dies geschieht dadurch, daß die Anschlußeinrichtung J mit Hilfe ihres Umschalters S den Ring R solange unterbrochen hält, bis alle von der gerade betrachteten Station T abgesendeten Nachrichtenpakete von der Station T wieder empfangen worden sind. Hierzu kann, wie dies auch in FIG 1 angedeutet ist, ein Paketvergleicher PV jedes im Pufferregister PR empfangene Nachrichtenpaket mit dem jeweils frühestausgesendeten und im Speicher MS noch gespeicherten Nachrichtenpaket vergleichen, um es bei Übereinstimmung zu löschen; ist der Speicher MS leer, - was ggf. auch durch einen den jeweiligen Speicherinhalt anzeigenden Vorwärts-Rückwärts-Zähler angezeigt werden kann, - so sind alle von der betrachteten Station T gerade ausgesendeten Nachrichtenpakete nach vollständigem Durchlaufen des Ringes R wieder vom Ring R entfernt, und in der Anschlußeinrichtung J kann der Schalter S wieder den Ring R schließen.Simultaneously with the recording of one at the station just viewed T incoming message packets in their buffer register PR is the relevant The message packet is also forwarded from the associated connection device J in the ring R, provided that the station you are looking at was not the sender of the package itself. Was the station T currently under consideration, on the other hand, is the sender of one in this station T just received packet, the packet is in the connection device J from the ring R, which it has just passed through completely, is removed again; this happens in that the connection device J with the help of its switch S the ring R Holds interrupted until all of the station T currently being viewed has been sent Message packets from the station T have been received again. To do this, how this is also indicated in FIG. 1, a packet comparator PV each in the buffer register PR received message packet with the earliest one sent and compare the message packet still stored in the memory MS in order to find it in the event of a match to delete; the memory MS is empty, - what if necessary also by one of the respective Up / down counter indicating memory content can be displayed, - so are all the message packets just sent out by the station T in question after completely passing through the ring R again removed from the ring R, and in the Connection device J, the switch S can close the ring R again.

Bevor es allerdings zu einem Absenden von Nachrichtenpaketen durch eine Station T kommt, muß diese zunächst einmal mit der Erkennung des ("Frei"-)Tokens die Zugriffsberechtigung erhalten haben. In FIG 1 ist hierzu angedeutet, daß bei Sendewilligkeit der Station T der eine Eingang eines UND-Gliedes OA aktiviert wird, dessen anderer Eingang an denjenigen Teil des Pufferregisters PR angeschlossen ist, der gegebenenfalls ein empfangenes Token aufnimmt. Bei Empfang eines solchen Tokens wird dann die Koinzidenzbedingung des UND-Gliedes OA erfüllt, womit die gerade betrachtete Station T die Berechtigung zum Zugriff auf die Ringleitung R erhält.However, before sending message packets through When a station T arrives, it must first recognize the ("free") token have received the access authorization. In FIG 1 it is indicated in this regard that at Willing of station T to send an input of an AND element OA is activated, the other input of which is connected to that part of the buffer register PR, which, if necessary, accepts a received token. Upon receipt of such a token the coincidence condition of the AND element OA is then fulfilled, with which the just considered Station T is authorized to access the ring line R.

Zur Wahrnehmung der Zugriffsberechtigung wird in der Station T zunächst das (Frei"-)Token in einen Connector ("Belegt"-Token) umgewandelt; in FIG 1 ist dazu angedeutet, daß vom UND-Glied OA her ein monostabiles Kippglied BK angelassen wird, dessen Arbeitszeitspanne einer Bitzeitspanne entsprechen möge und das für diese Zeitspanne über ein ODER-Glied SO den Ringschalter S der zur Station T gehörenden Anschlußeinrichtung J umschaltet und zugleich einen Connector-Bitgenerator CG entriegelt, so dass anstelle des letzten Bits des - im übrigen bisher über den Ringschalter S im Ring R weiterübertragenen - Tokens ein invertiertes Bit übertragen und damit anstelle des Tokens ein Connector weiterübertragen wird.To exercise the access authorization is in the station T first the (free ") token is converted into a connector (" occupied "token); indicated that a monostable flip-flop BK started from the AND element OA whose working time span may correspond to a bit time span and that for this period of time via an OR gate SO the ring switch S belonging to the station T. Switches connection device J and at the same time unlocks a connector bit generator CG, so that instead of the last bit of the - by the way so far above the ring switch S in the ring R transmitted - tokens transmit an inverted bit and so a connector is transmitted instead of the token.

Danach wird unter Beibehaltung der vom Ringschalter S bewirkten Unterbrechung der Ringleitung R ein Nachrichtenpaket - oder auch eine Serie von jeweils durch einen Connector voneinander getrennten Nachrichtenpaketen -abgesendet. In FIG 1 ist hierzu angedeutet, daß vom Ausgang des monostabilen Kippgliedes BK her über ein ODER-Glied ZO ein bistabiles Kippglied SK aktiviert wird, das von seinem Ausgang her den Ausgang des Warteschlangenspeichers WS dementsprechend entriegelt und zugleich über das NAND-Glied SO den Ringschalter S in seinem Umschaltzustand hält, in welchem er den Stationsausgang A mit dem abgehenden Ringleitungsabschnitt verbindet.Then the interruption caused by the ring switch S is maintained the ring line R a message packet - or a series of each through message packets that are separate from each other via a connector. In FIG 1 this is indicated that from the output of the monostable flip-flop BK over an OR gate ZO a bistable flip-flop SK is activated, which is from its output accordingly unlocked the output of the queue memory WS and at the same time via the NAND gate SO holds the ring switch S in its switching state, in which it connects the station exit A with the outgoing ring line section.

Nach der zuvor bereits erläuterten Entfernung der von der gerade betrachteten Station T ausgesendeten Nachrichtenpakete von dem von diesen vollständig durchlaufenen Ring R möge von der Station T schließlich wieder das "Frei"-Token in den Ring R eingegeben werden. In FIG 1 ist hierzu angedeutet, daß ein eingangsseitig an entsprechende Speicherzellen des Speichers MS angeschlossenes NAND-Glied TO ggf. feststellt, daß im Speicher MS kein Nachrichtenpaket mehr enthalten ist, und daraufhin ein Ausgangssignal abgibt, durch welches ein monostabiles Kippglied TK angelassen wird, dessen Arbeitszeitspanne der Ringumlaufzeit LR entsprechen möge und das für diese Zeitspanne über das ODER-Glied SO den Ringschalter S der zur Station T gehörenden Anschlußeinrichtung J umschaltet bzw. im Umschaltzustand hält und zugleich einen zum Stationsausgang A führenden Token-Generator TG entriegelt, so daß ein vom Token-Generator TG generiertes ("Frei"-)Token in den Ring R eingespeist wird.After the previously explained removal of the one just viewed Station T sent out message packets from the one completely traversed by them Ring R may finally put the "free" token back into ring R from station T can be entered. In FIG 1 it is indicated for this purpose that a corresponding input side Memory cells of the memory MS connected NAND gate TO possibly determines that the memory MS no longer contains a message packet, and thereupon an output signal releases, through which a monostable flip-flop TK is started, its working period may correspond to the circular cycle time LR and this for this period of time via the OR element SO the ring switch S belonging to the station T. Connection device J toggles or holds in the toggle state and at the same time one to the station exit A leading token generator TG unlocked, so that a generated by the token generator TG ("Free") token is fed into the ring R.

Von weiter ins Einzelne gehende Erläuterungen der im vorstehenden umrissenen prinzipiellen Arbeitsweise des in FIG 1 skizzierten Telekommunikationssystems, wie sie bei einem Absenden von Nachrichtenpaketen durch gerade eine Station T gegeben ist, kann hier abgesehen werden, da dies zum Verständnis der Erfindung nicht erforderlich ist; die Erfindung geht vielmehr insoweit bereits von bekannten Arbeitsprinzipien eines Single-Token-Rings aus. Nachdem diese Prinzipien im vorstehenden anhand eines mit in jeder Station T vorgesehenen speziellen Schaltkreisen realisierten Ausführungsbeispiels erläutert wurden, sei jedoch bemerkt, daß eine Realisierung des insoweit an sich bekannten Ringzugangsprotokolls ebenso auch mit Hilfe von in den Stationen vorgesehenen Mikroprozessoren möglich ist.From further detailed explanations of the above Outlined basic mode of operation of the telecommunications system outlined in FIG. 1, as given by a station T when message packets are sent is, can be disregarded here, since this is not necessary for an understanding of the invention is; Rather, the invention is based on known working principles of a single token ring. After these principles are based on a with special circuits provided in each station T realized embodiment have been explained, it should be noted, however, that a realization of the so far per se known ring access protocol also with the help of provided in the stations Microprocessors is possible.

Es sei nun angenommen, daß es in einem solchen Ringsystem, wie es im vorstehenden in seiner Arbeitsweise bei fehlerfreiem Betrieb skizziert wurde, fehlerhafterweise zu einem Fehlerzustand Mehrfachtoken" gekommen ist, in dem mehr als ein Token im Ring zirkuliert.It is now assumed that in such a ring system as was outlined above in its mode of operation with fault-free operation, erroneously an error status "multiple token" has occurred in which more as a token circulates in the ring.

In einem solchen Fall können nach dem Token-Passing-Protokoll alle Stationen T, die ein solches Token erkennen und aufgreifen, auf die Ringleitung zugreifen und mit dem Aussenden eines Nachrichtenpakets beginnen.In such a case, all Stations T, which recognize and pick up such a token, on the ring line and start sending a message packet.

An dieser Stelle sei ein Blick auf die Zeichnungen FIG 2 bis FIG 7 geworfen, die in einer im Vergleich zur Darstellung in FIG 1 etwas vereinfachten Darstellung eines Ringsystems bestimmte Betriebssituation verdeutlichen, wie sie sich in einem solchen Telekommunikationssystem ergeben können.At this point, take a look at the drawings of FIG. 2 to FIG. 7 thrown, which is somewhat simplified in comparison to the illustration in FIG Representation of a ring system clarify certain operational situations, how they can arise in such a telecommunication system.

Dabei zeigt FIG 2, wie ein von einer Station Ts abgesandtes einzelnes Nachrichtenpaket Ps von - bezogen auf die Ringumlaufzeit - mittlerer Länge in einem bestimmten Augenblick den Ring R belegt.Here, FIG 2 shows how an individual sent by a station Ts Message packet Ps of - based on the ring cycle time - of medium length in one occupies the ring R at a certain moment.

Die in FIG 2 skizzierte Betriebssituation kann sich ergeben, wenn die gerade sendende Station Ts zuvor mit dem Zugriff auf die Ringleitung R gewartet hatte, bis sie das - wie in FIG 3 skizziert - allein im Ring zirkulierende ("Frei"-)Token erkannt und aufgegriffen hatte.The operating situation outlined in FIG. 2 can arise when the station Ts that is currently transmitting has previously waited to access the ring line R. until it had the ("free") token circulating in the ring alone - as sketched in FIG. 3 recognized and picked up.

In FIG 4 und FIG 5 sind nun zwei Betriebssituationen skizziert, wie sie sich ergeben können, wenn es fehlerhafteweise zu einer Token--Duplizierung gekommen ist und dann zwei sendewillige Stationen Ts und Tt etwa gleichzeitig jeweils ein Frei-Token erkennen und aufgreifen und damit auf die Ringleitung R zugreifen: Gemäß FIG 4 beginnt die Station Tt ihr Paket abzusenden, während das von der Station Ts bereits vollständig abgesandte Paket Ps sich im Ring R befindet; gemäß FIG 5 senden beide Stationen Ts und Tt praktisch gleichzeitig ihre Pakete Ps, Pt ab.In FIG. 4 and FIG. 5, two operating situations are now outlined, such as they can arise if token duplication occurs incorrectly is and then two stations willing to send Ts and Tt each one at about the same time Recognize and pick up free tokens and thus access ring line R: According to 4, the station Tt begins to send its package, while that of the station Ts package Ps that has already been completely sent is in ring R; Send according to FIG 5 Both stations Ts and Tt deliver their packets Ps, Pt practically at the same time.

Beide Sendesituationen führen zu einer Kollision, unabhängig davon, ob dabei -, was von der Lage der jeweiligen Empfänger und der jeweiligen Paketlänge abhängt, - die Pakete von den vorgesehenen Empfängern ganz, teilweise oder überhaupt nicht empfangen werden.Both transmission situations lead to a collision, regardless of whether - what about the location of the respective recipient and the respective package length - the packages from the intended recipients in whole, in part or at all cannot be received.

Ebenso führen auch die in FIG 6 und FIG 7 skizzierten Betriebssituationen, wie sie sich bei einem etwa gleichzeitigen Zugriff dreier Stationen Ts, Tt, Tu auf den Ring R ergeben können, zu Kollisionen.Likewise, the operating situations outlined in FIG. 6 and FIG. how it appears when three stations Ts, Tt, Tu are accessed at approximately the same time the ring R can result in collisions.

Es sei hier bemerkt, daß eine Kollision dann gegeben ist, wenn eine Station (z.B. die Station Tt in FIG 4 bis FIG 7), die ein Paket (Pt in FIG 4 bis FIG 7) abgesendet hat oder auch noch absendet, danach ein davon verschiedenes Paket (Ps in FIG 4 und FIG 5; Pu in FIG 6 und FIG 7) eines anderen Absenders (Ts in FIG 4 und FIG 5; Tu in FIG 6 und FIG 7) empfängt, ohne zuvor ihr eigenes Paket empfangen zu haben.It should be noted here that a collision occurs when one Station (e.g. station Tt in FIG 4 to FIG 7), which is a packet (Pt in FIG 4 to FIG 7) has sent or is still sending, then one of them different packet (Ps in FIG 4 and FIG 5; Pu in FIG 6 and FIG 7) of another Sender (Ts in FIG 4 and FIG 5; Tu in FIG 6 and FIG 7) receives without her beforehand to have received my own package.

In den in FIG 4 und FIG 5 skizzierten Betriebssituationen kann nun jede der beiden gleichzeitig sendenden Stationen Ts und Tt die Kollision anhand eines zumindest teilweisen, wenigstens die Absenderadressen erfassenden Vergleichs der bei ihr über die Ringleitung R ankommenden - und dabei von der Ringleitung entfernten - Nachrichtenpakete mit entsprechenden Kopien der zuvor ausgesendeten Nachrichtenpakete feststellen. In FIG 1 ist dazu angedeutet, daß mit dem Ausgang des Paketvergeichers PV der Sperreingang eines Sperrgliedes KU verbunden ist, das mit zwei weiteren Eingängen jeweils über ein ODER-Glied VOe, VOs mit den beiderseitigen Eingängen des Paketvergleichers PV verbunden ist. Über die beiden ODER-Glieder VOe, VOs ist das Sperrglied KU für den Koinzidenzfall vorbereitet, sobald an beiden Eingängen des Paketvergleichers PV jeweils ein Paket ansteht; stimmen beide Pakete nicht miteinander überein, so ist die Koinzidenzbedingung für das Sperrglied KU erfüllt.In the operating situations outlined in FIG. 4 and FIG each of the two simultaneously transmitting stations Ts and Tt based on the collision an at least partial comparison that includes at least the sender addresses the one arriving at her via the ring line R - and removed from the ring line - Message packets with corresponding copies of the previously sent message packets determine. In FIG 1 it is indicated that with the output of the packet comparator PV is connected to the blocking input of a blocking element KU, which is connected to two further inputs each via an OR element VOe, VOs with the two-sided inputs of the packet comparator PV is connected. The blocking element KU for is via the two OR elements VOe, VOs the coincidence case is prepared as soon as at both inputs of the packet comparator PV one package is pending at a time; if both packages do not match, see above the coincidence condition for the locking element KU is met.

Sobald eine Station erkennt, daß ein Kollision gegeben ist, unterbricht sie ihre Paketaussendung. In FIG 1 ist hierzu angedeutet, daß bei Erfüllung der Koinzidenzbedingung für das Sperrglied KU von dessen Ausgang her über ein ODER-Glied KO das bistabile Kippglied SK rückgesetzt wird, womit der Ausgang des Warteschlangenspeichers WS gesperrt wird.As soon as a station recognizes that a collision has occurred, interrupts they send their parcels. In Figure 1 is indicated in this respect that when meeting the Coincidence condition for the blocking element KU from its output via an OR element KO the bistable flip-flop SK is reset, with which the output of the queue memory WS is blocked.

Wenn genau zwei Stationen an einer Kollision beteiligt sind, dann erkennen so notwendigerweise beide Stationen die Kollision der abgesendeten Pakete. Sind jedoch drei oder mehr Stationen an der Kollision beteiligt, so ist dies nicht unbedingt der Fall, wie FIG 6 erkennen läßt.If exactly two stations are involved in a collision, then In this way, both stations necessarily recognize the collision of the sent packets. However, if three or more stations are involved in the collision, this is not the case absolutely the case, as FIG. 6 shows.

Um dem nun zu begegnen, sendet jede Station,die eine Kollision erkennt, ein Kollisionspaket K (in FIG 7) ab, das sich von jedem anderen Nachrichtenpaket sowie von Token und Connector unterscheidet, und hält mittels ihres Ringschalters S (in FIG 1) den Ring R solange unterbrochen, bis sie ein Kollisionspaket empfangen und vom Ring entfernt hat. In FIG 1 ist dazu angedeutet, daß gleichzeitig mit der Rücksetzung des bistabilen Kippgliedes SK ein bistabiles Kippglied KK aktiviert wird, so daß über das NAND-Glied SO der Ringschalter S weiterhin in seinem Umschaltzustand verbleibt, und daß außerdem ein Kollisionspaketgenerator KG entriegelt wird, so daß über den Ausgang A der betreffenden Station T und deren Ringschalter S ein Kollisionspaket in den Ring R eingespeist wird.To counter this, every station that detects a collision sends a collision packet K (in FIG. 7), which differs from every other message packet as well as tokens and connectors, and holds by means of their ring switch S (in Figure 1) the ring R interrupted until they receive a collision packet and removed it from the ring. In Figure 1 it is indicated that at the same time with the Resetting the bistable flip-flop SK activates a bistable flip-flop KK so that the ring switch S continues to be in its toggle state via the NAND gate SO remains, and that a collision packet generator KG is also unlocked, so that via the output A of the relevant station T and its ring switch S a collision packet is fed into the ring R.

In FIG 7 ist eine solche Betriebssituation für die beiden Stationen Ts und Tt skizziert, die dementsprechend jeweils gerade ein Kollisionspaket Ks bzw. Kt aussenden.Such an operating situation for the two stations is shown in FIG Ts and Tt are sketched, which accordingly each have a collision packet Ks or Send out Kt.

Die Station Tu hat in der in FIG 7 skizzierten Betriebssituation bislang nicht erkannt, daß eine Kollision stattgefunden hat; man erkennt aber aus der Zeichnung FIG 7, daß die Station Tu demnächst das von der Station Ts ausgesendete Kollisionspaket Ks empfangen wird.In the operating situation outlined in FIG. 7, the station Tu has up to now not recognized that a collision has occurred; but one recognizes from the drawing 7 shows that the station Tu will soon receive the collision packet sent out by the station Ts Ks is received.

Eine Station, die, wie im Beispiel der FIG 7 die Station Tu, mindestens ein Paket ganz oder teilweise auf dem Ring hat, aber bisher kein eigenes Kollisionspaket abgesendet hatte, weil sie eine Kollision nicht erkennen konnte, bricht ebenfalls einen etwa noch laufenden Sendevorgang ab, sobald sie ein Kollisionspaket empfängt. Danach gibt sie ihrerseits ein Kollisionspaket zur nächsten Station im Ring R weiter. In der Zeichnung FIG 1 ist hierzu angedeutet, daß mit dem Pufferregister PR ein Kollisionspaketdetektor KD verbunden ist, der beim Empfang eines Kollisionspakets anspricht und dabei ein Ausgangssignal abgibt, welches über das ODER-Glied KO die gleichen Vorgänge auslöst, wie sie in der oben erläuterten Weise auch durch ein Ausgangssignal des Sperrgliedes KU ausgelöst werden. Nach einer solchen Weitergabe eines empfangenen Kollisionspaketes wird von der betreffenden Station T der Ring R wieder geschlossen; in FIG 1 ist hierzu angedeutet, daß nach einer für die Kollisionswortweitergabe erforderlichen Zeitspanne durch ein entsprechend bemessenes, vom Kollisionspaketdetektor KD angelassenes Zeitglied KL das bistabile Kippglied KK rückgestellt wird.A station, as in the example of FIG 7, the station Tu, at least has a package wholly or partially on the ring, but has not yet had its own collision package had sent because it could not detect a collision, also breaks a transmission process that is still running as soon as it receives a collision packet. It then for its part forwards a collision packet to the next station in ring R. In the drawing FIG 1 is indicated in this regard that a collision packet detector with the buffer register PR KD is connected, which responds when receiving a collision packet and thereby a Emits an output signal which triggers the same processes via the OR element KO, as in the manner explained above also by an output signal of the blocking element KU are triggered. After such a transfer of a received collision packet the ring R is closed again by the station T concerned; in FIG 1 is this indicated that after a required for the collision word forwarding Period of time by an appropriately dimensioned, started by the collision packet detector KD Timing element KL, the bistable flip-flop KK is reset.

Hatte die betreffende Station T zuvor schon selbst eine Kollision festgestellt und dementsprechend schon selbst ein Kollisionspaket ausgesendet, so wird bei Empfang eines Kollisionspaketes dieses lediglich vom Ring R entfernt, woraufhin der Ring mittels des zugehörigen Ringschalters wieder geschlossen und damit die Entfernung ankommender Pakete beendet wird. In FIG 1 ist hierzu angedeutet, daß in einer solchen Betriebssituation die Koinzidenzbedingung für ein UND-Glied KKU erfüllt wird, dessen einer Eingang über ein bistabiles Kippglied KS mit dem Ausgang des Sperrgliedes KU verbunden ist und das ausgangsseitig ebenfalls zu dem Rückstelleingang des bistabilen Kippgliedes KK führt.The station T in question already had a collision itself detected and accordingly already sent out a collision packet, so If a collision packet is received, it is only removed from ring R, whereupon the ring is closed again by means of the associated ring switch and thus the Incoming packet removal is terminated. In FIG 1 it is indicated for this purpose that in such an operating situation the coincidence condition for an AND element KKU is met, one input of which is connected to the output via a bistable flip-flop KS of the blocking element KU is connected and the output side also to the reset input of the bistable flip-flop KK leads.

Der Vollständigkeit halber sei bemerkt, daß in allen Stationen, in denen der Ring R (in FIG 1) über den jeweils zugehörigen Ringschalter geschlossen ist, ein Kollisionspaket wie jedes andere Paket unverändert weiterübertragen wird.For the sake of completeness, it should be noted that in all stations, in which the ring R (in Figure 1) closed via the respective associated ring switch is, a collision packet is retransmitted unchanged like any other packet.

Jede von einer Kollision betroffene Station greift nach einer zufallsbestimmten Wartezeitspanne in kollisionsbehafteter Konkurrenz zu anderen Stationen auf die Ringleitung R zu, indem sie unter Öffnen der Ringleitung R ein Nachrichtenpaket oder auch eine Serie von jeweils durch einen Connector voneinander getrennten Nachrichtenpaketen mit einem das (letzte) Nachrichtenpaket abschliessenden Token aussendet. Hierzu kann die jeweilige Station eine z.B. mit Hilfe eines Zufallszahlengenerators, eines von einem Impulsgenerator mit einer der Ringumlaufzeit entsprechenden Impulsperiode mit Zählimpulsen beaufschlagten Impulszählers und eines Zufallszahl und Zählerstand miteinander vergleichenden Vergleichers oder auch mit Hilfe eines Mikroprozessors realisierte, in ihrer Länge zufallsbestimmte Wartezeitschleife VS durchlaufen, wonach über das ODER-Glied ZO (in FIG 1) der betreffenden Station T (in FIG 1) erneut das bistabile Kippglied SK aktiviert wird, so daß die betreffende Station T erneut in einer den oben bereits erläuterten Vorgängen entsprechenden Weise mit der Nachrichtenpaketaussendung beginnt.Each station affected by a collision reaches for a random one Waiting period in collision-prone competition with other stations on the Ring line R by opening the ring line R by sending a message packet or a series of message packets separated from one another by a connector sends out with a token that concludes the (last) message packet. For this the respective station can e.g. with the help of a random number generator, a from a pulse generator with a pulse period corresponding to the ring cycle time with counting pulses applied pulse counter and a random number and counter reading comparing comparators or with the help of a microprocessor implemented, randomly determined in length waiting time loop VS, after which Via the OR gate ZO (in FIG. 1) of the relevant station T (in FIG. 1) again the bistable flip-flop SK is activated, so that the station in question T again in in a manner corresponding to the processes already explained above with the transmission of the message packet begins.

Dabei wird die Wartezeitspanne w zweckmäßigerweise in Abhängigkeit von der Anzahl z der Kollisionen bestimmt, die das erste Paket einer Folge von von der betreffenden Station abgesendeten Paketen, die sich im Zeitpunkt der Kollisionserkennnung auf dem Ring befanden, etwa bereits erfahren hat. Diese Kollisionszahl z kann, wie dies auch in FIG 1 angedeutet ist, mit Hilfe eines Kollisionszählers KZ ermittelt werden, der vom ODER-Glied KO mit Zählimpulsen beaufschlagt wird und der jeweils vom Ausgang des Paketvergleichers PV auf Null zurückgesetzt wird. Die Wartezeitspanne w wird dann zweckmäßigerweise mit ( v für z<lb N w= ( ( 2L R für z Wlb N bemessen, worin LR die Ringumlaufzeit, i die laufende Nummer (Position) der gerade betrachteten Station im Ring und N die Anzahl der Stationen im Ring sind und worin v eine Zufallsvariable ist, die gleichverteilt Werte aus dem Werteintervail 0, 22 2Z LR| annimmt.The waiting period w is expediently dependent on this determined by the number z of collisions that the first packet of a sequence of from the station in question sent packets that were at the time of the collision detection was on the ring, has already learned about. This collision number z can, like this is also indicated in FIG. 1, determined with the aid of a collision counter KZ which is acted upon by the OR element KO with counting pulses and the respectively is reset to zero by the output of the packet comparator PV. The waiting period w is then expediently with (v for z <lb N w = ((2L R for z Wlb N measured, where LR is the cycle time, i is the serial number (position) of the currently considered Station in the ring and N is the number of stations in the ring and where v is a random variable is, the uniformly distributed values from the value interval 0, 22 2Z LR | accepts.

Solange ein von der gerade betrachteten Station (ggf.As long as one of the station you are currently viewing (possibly

erneut) auszusendendes Paket weniger als lb N Kollisionen erfahren hat, d.h. der Zähler KZ eine kleinere Kollision zahl z anzeigt, wird die Wartezeit gleichverteilt aus dem Intervall 10, 2Z LRl bestimmt. Bei größerer Kollisicnszahl z ist der betreffenden Station eine ihrer laufenden Nummer (Position) im Ring R entsprechende feste Wartezeitspanne zugewiesen, die dem Produkt der Stationsnummer i und dem Doppelten der Ringumlaufzeit LR entspricht. Aue diese Weise wird erreicht, daß die Wartezeitspanne selbst bei einem Zusammentreffen ungünstiger Umstände nicht beliebig groß werden kann.again) the packet to be sent experienced fewer than lb N collisions has, i.e. the counter KZ shows a smaller collision number z, the waiting time becomes determined equally distributed from the interval 10, 2Z LR1. With a larger number of packages z is one of its serial numbers (position) in ring R for the station concerned corresponding fixed waiting period assigned to the product of the station number i and twice the ring cycle time LR. Aue this way is achieved that the waiting period is not even when unfavorable circumstances coincide can be any size.

Abgeschlossen wird das (letzte) Nachrichtenpaket durch ein ("Frei"-)Token, das in einer dem oben bereits erläuterten Generierungsvorgang entsprechenden Weise generiert werden kann, ohne daß hier erneut darauf eingegangen werden muß.The (last) message packet is concluded by a ("free") token, this in a manner corresponding to the generation process already explained above can be generated without having to go into it again here.

Bei kollisionsfreier Übertragung wird jedes so von einer Station T ausgesendete Nachrichtenpaket nach Durchlaufen des Rings R an eben dieser Station T vermittels ihres den Ring R unterbrechenden Ringschalters R vom Ring wieder entfernt, jedoch ohne das abschließende ("Frei"-)Token; dieses verbleibt vielmehr im Ring. Dies wird durch entsprechences Wiederschließen des Rings R vermittels des Ringschalters S erreicht, wobei durch rechtzeitiges Rückschalten des Ringschalters S das bereits generierte Token gleich im Ring R verbleiben oder aber ein solches Token unter erneutem Umschalten des Ringschalters S in der beschriebenen Weise noch einmal generiert werden kann. Damit zirkuliert nunmehr gerade wieder ein Token im Ring R; der Mehrfachtoken-Fehler ist somit behoben.In the case of collision-free transmission, each station T sent message packet after passing through the ring R at this very station T removed from the ring again by means of her ring switch R which interrupts the ring R, but without the final ("free") token; rather, it remains in the ring. This is done by closing the ring R again by means of the ring switch S reached, whereby by timely switching back the ring switch S that already generated tokens remain in the ring R or such a token under renewed Switch of the ring switch S can be generated again in the manner described. A token is now circulating in ring R again; the multiple token error is thus resolved.

In einer den im vorstehenden erläuterten Vorgängen einer Behebung von Mehrfachtoken-Fehlern ensprechenden Weise kann auch ein Tokenverlust behoben werden, indem jede sendewillige Station T (in FIG 1), die das Nichtauftreten eines ("Frei"- oder "Belegt"-)Tokens während einer der Summe aus Ringumlaufzeit und maximaler Nachrichtenpaketlänge entsprechenden Überwachungszeitspanne feststellt, in kollisionsbehafteter Konkurrenz zu anderen Stationen auf die Ringleitung R zugreift.In one of the procedures of a remedy explained above Corresponding to multiple token errors, a token loss can also be corrected be by each station willing to send T (in Figure 1), the non-occurrence of a ("Free" - or "Occupied" -) tokens during one of the sum of the ring cycle time and the maximum Message packet length determines the corresponding monitoring period in collision-prone Competition with other stations on the ring line R accesses.

In FIG 1 ist hierzu angedeutet, daß an einen gegebenenfalls ein empfangenes Token aufnehmenden Teil des Pufferregisters PR ein Tokendetektor TD angeschlossen ist, der bei Empfang eines ("Frei"- oder "Belegt"-) Tokens dies anzeigendes Ausgangssignal abgibt und dem ein monostabiles Kippglied VK nachgeschaltet ist, das durch jedes Ausgangssignal des Tokendetektors TD von neuem angelassen werden und danach für eine bestimmte, der Summe aus Ringumlaufzeit und maximaler Nachrichtenpaket dauer entsprechende Zeitspanne in seinem Arbeitszustand verbleiben möge.In FIG 1 it is indicated for this purpose that a possibly received Token-receiving part of the buffer register PR is connected to a token detector TD is the output signal indicating this on receipt of a ("free" or "occupied") token releases and which is followed by a monostable flip-flop VK, which by each Output signal of the token detector TD are started again and then for a certain, the sum of the ring cycle time and the maximum message packet duration corresponding period of time may remain in his working state.

Gelangt das monostabile Kippglied VK in seinen Ruhezustand, d.h. ist innerhalb der genannten (Überwachungs-)Zeitspanne kein Frei- oder Belegt-Token aufgetreten, so greift die sendewillige Station T in kollisionsbehafteter Konkurrenz zu anderen etwa sendewilligen Stationen auf die Ringleitung R zu, indem sie unter Öffnen der Ringleitung ein Nachrichtenpaket oder auch eine Serie von jeweils durch einen Connector voneinander getrennten Nachrichtenpaketen mit einem das (letzte) Nachrichtenpaket abschließenden Token aussendet. In FIG 1 ist hierzu angedeutet, daß dazu vom monostabilen Kippglied VK her über das ODER-Glied ZO wiederum das bistabile Kippglied SK aktiviert wird, so daß die betreffende Station T in einer den oben bereits erläuterten Vorgängen entsprechenden Weise mit der Nachrichtenpaketaussendung beginnt. Abgeschlossen wird diese Nachrichtenpaketaussendung wiederum, entsprechend den bereits erläuterten Vorgängen, durch ein "Frei"-Token, das bei kollisionsfreier Nachrichtenpaketübertragung schließlich wiederum, entsprechend den bereits erläuterten Vorgängen, im Ring R verbleibt. Damit zirkuliert dann wieder gerade ein Token im Ring, womit auch der Tokenverlust-Fehler behoben ist.If the monostable flip-flop VK is in its rest state, i.e. is no free or occupied token occurred within the specified (monitoring) period, so the station T willing to transmit intervenes in collision-prone competition with others about stations willing to send to the ring line R by opening the Ring line a message packet or a series of each through a connector separate message packets with one the (last) message packet final Sends out token. In FIG. 1 it is indicated in this regard that for this purpose the monostable flip-flop element VK again the bistable flip-flop SK is activated via the OR element ZO, so that the relevant station T in one of the processes already explained above starts sending the message packet accordingly. Is completed this message packet transmission in turn, corresponding to those already explained Operations, by a "free" token, which is used in the case of collision-free message packet transmission finally again, in accordance with the processes already explained, in ring R. remains. This means that a token is circulating in the ring again, with which the Token loss bug is fixed.

Nachdem im vorstehenden die Erfindung anhand eines Ausführungsbeispiels erläutert wurde, das mit in jeder Station T vorgesehenen speziellen Schaltkreisen realisiert ist, sei abschließend noch bemerkt, daß ebenso auch eine Realisierung mit Hilfe von in den Stationen vorgesehenen Mikroprozessoren möglich ist.After in the above the invention using an exemplary embodiment was explained, that with special circuits provided in each station T. is realized, it should finally be noted that there is also a realization is possible with the help of microprocessors provided in the stations.

Claims (3)

Patentansprüche Verfahren zur Tokenfehlerbehebung in einem Token-Ring-Telekommunikationssystem, in dem bei fehlerfreiem Betrieb gerade ein ("Frei"- oder Belegt"-)Token ständig im Ring zirkuliert, dadurch gekennzeichnet daß jede sendende Station (T), die anhand der Absenderadressen der bei ihr über die Ringleitung (R) ankommenden und dabei von der Ringleitung (R) entfernten Nachrichtenpakete eine etwaige Kollision feststellt oder die über die Ringleitung (R) ein eine Kollision anzeigendes Kollisionspaket empfängt, unter Abbruch der etwa noch laufenden Nachrichtenpaketaussendung ein solches Kollisionspaket aussendet sowie bei Empfang eines solchen Kollisionspakets die Entfernung ankommender Pakete beendet und nach einer Wartezeitspanne in kollisionsbehafteter Konkurrenz zu anderen Stationen (T) auf die Ringleitung (R) zugreift, indem sie unter Öffnen der Ringleitung (R) ein Nachrichtenpaket oder auch eine Serie von jeweils durch einen Connector voneinander getrennten Nachrichtenpaketen mit einem das (letzte) Nachrichtenpaket abschließenden Token aussendet, wobei sie bei kollisionsfreier Übertragung der (des) ausgesendeten Nachrichtenpakete(s) diese(s) durch entsprechendes Offenhalten und Wiederschließen der Ringleitung (R) ohne das abschließende Token (To) vom Ring wieder entfernt.Claims method for token troubleshooting in a token ring telecommunication system, in which one ("free" - or occupied "-) token is always present in case of error-free operation circulates in the ring, characterized in that each transmitting station (T) based on the sender addresses of the ones arriving via the ring line (R) and at the same time message packets removed from the ring line (R) detects a possible collision or via the ring line (R) a collision packet indicating a collision receives, with the interruption of the still ongoing message packet transmission such Sends a collision packet and, on receipt of such a collision packet, the distance incoming packets terminated and after a waiting period in collision-prone Competition with other stations (T) accesses the ring line (R) by by opening the ring line (R) a message packet or a series of each message packets separated from each other by a connector with the (last) Message packet sends out the final token, whereby it is collision-free Transmission of the sent out message packet (s) this (s) by appropriate Keeping the ring line (R) open and closing it again without the final token (To) removed from the ring again. 2. Verfahren zur Tokenfehlerbehebung in einem Token-Ring-Telekommunikationssystem, in dem bei fehlerfreiem Betrieb gerade ein ("Frei"- oder Belegt-)Token ständig im Ring zirkuliert, insbesondere nach Anspruch 1, d a d u r ch g e k e n n z e i c h n e t daß jede sendewillige Station (T), die das Nichtauftreten eines ("Frei"- oder "Belegt"-)Tokens während einer der Summe aus Ringumlaufzeit und maximaler Nachrichtenpaketlänge entsprechenden Überwachungszeitspanne feststellt, in kollisionsbehafteter Konkurrenz zu anderen Stationen (T) auf die Ringleitung (R) zugreift, indem sie unter Öffnen der Ringleitung (R) ein Nachrichtenpaket oder auch eine Serie von jeweils durch einen Connector voneinander getrennten Nachrichtenpaketen mit einem das (letzte) Nachrichtenpaket abschließenden Token aussendet, wobei sie bei kollisions frei er Übertragung der (des) ausgesendeten Nachrichtenpakete(s) diese(s) durch entsprechendes Offenhalten und Wiederschließen der Ringleitung (R) ohne das abschließende Token (To) vom Ring wieder entfernt. 2. Procedure for token troubleshooting in a token ring telecommunications system, in which, with error-free operation, a ("free" or occupied) token is constantly in the Ring circulates, in particular according to claim 1, d u r ch g e k e n n n z e i c n e t that every station (T) willing to send, which does not occur one ("Free" - or "Occupied" -) tokens during one of the sum of the ring cycle time and the maximum Message packet length determines the corresponding monitoring period in collision-prone Competition with other stations (T) accesses the ring line (R) by by opening the ring line (R) a message packet or a series of each message packets separated from each other by a connector with the (last) Sends out the final token of the message packet, whereby it is collision-free Transmission of the sent out message packet (s) this (s) by appropriate Keeping the ring line (R) open and closing it again without the final token (To) removed from the ring again. 3. Telekommunikationssystem nach Anspruch 1, dadurch gekennzeichnet, daß die Wartezeitspanne w mit ( v für z<lb N W = ( ( 2LRi für z # 1b N bemessen ist, worin LR die Ringumlaufzeit, i die laufende Nummer der Station im Ring und N die Anzahl der Stationen im Ring sind und worin v eine gleichverteilt Werte aus dem Werteintervall |0,2z LR | annehmende Zufallsvariable ist.3. Telecommunication system according to claim 1, characterized in that that the waiting period w is measured with (v for z <lb N W = ((2LRi for z # 1b N is where LR is the cycle time, i is the serial number of the station in the ring and N are the number of stations in the ring and where v is an evenly distributed value the value interval | 0,2z LR | assuming random variable.
DE19853507618 1985-03-04 1985-03-04 Method for token-error correction in a token-ring telecommunications system Withdrawn DE3507618A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE19853507618 DE3507618A1 (en) 1985-03-04 1985-03-04 Method for token-error correction in a token-ring telecommunications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE19853507618 DE3507618A1 (en) 1985-03-04 1985-03-04 Method for token-error correction in a token-ring telecommunications system

Publications (1)

Publication Number Publication Date
DE3507618A1 true DE3507618A1 (en) 1986-09-04

Family

ID=6264156

Family Applications (1)

Application Number Title Priority Date Filing Date
DE19853507618 Withdrawn DE3507618A1 (en) 1985-03-04 1985-03-04 Method for token-error correction in a token-ring telecommunications system

Country Status (1)

Country Link
DE (1) DE3507618A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1988007793A1 (en) * 1987-03-23 1988-10-06 Amp Incorporated Lan communication system and medium adapter for use therewith
EP0354809A2 (en) * 1988-08-12 1990-02-14 Digital Equipment Corporation Frame removal mechanism for token ring networks
WO1991003898A1 (en) * 1989-08-29 1991-03-21 Digital Equipment Corporation No-owner frame and multiple token removal for token ring networks
US5257264A (en) * 1989-08-29 1993-10-26 Digital Equipment Corporation Automatically deactivated no-owner frame removal mechanism for token ring networks
EP0580938A2 (en) * 1992-06-26 1994-02-02 Yokogawa Electric Corporation Duplex communication control device
US5331636A (en) * 1988-08-12 1994-07-19 Digital Equipment Corporation Frame removal mechanism using count of frames and delimiter frame for token ring networks
US5377190A (en) * 1991-03-28 1994-12-27 Digital Equipment Corporation Frame removal mechanism using frame count for token ring networks

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4803485A (en) * 1987-03-23 1989-02-07 Amp Incorporated Lan communication system and medium adapter for use therewith
WO1988007793A1 (en) * 1987-03-23 1988-10-06 Amp Incorporated Lan communication system and medium adapter for use therewith
US5331636A (en) * 1988-08-12 1994-07-19 Digital Equipment Corporation Frame removal mechanism using count of frames and delimiter frame for token ring networks
EP0354809A2 (en) * 1988-08-12 1990-02-14 Digital Equipment Corporation Frame removal mechanism for token ring networks
EP0354809A3 (en) * 1988-08-12 1992-03-18 Digital Equipment Corporation Frame removal mechanism for token ring networks
AU639172B2 (en) * 1988-08-12 1993-07-15 Digital Equipment Corporation Frame removal mechanism for token ring networks
EP0691767A3 (en) * 1988-08-12 1997-01-08 Digital Equipment Corp Frame removal mechanism for token ring networks
US5481538A (en) * 1988-08-12 1996-01-02 Digital Equipment Corp. Frame removal mechanism for token ring networks using one or more start strip delimiter frames or circulation time interval
US5477540A (en) * 1988-08-12 1995-12-19 Digital Equipment Corp., Patent Law Group Frame removal mechanism using end delimiter frames for token ring networks
WO1991003898A1 (en) * 1989-08-29 1991-03-21 Digital Equipment Corporation No-owner frame and multiple token removal for token ring networks
US5280478A (en) * 1989-08-29 1994-01-18 Digital Equipment Corporation No-owner frame and multiple token removal mechanism for token ring networks
US5257264A (en) * 1989-08-29 1993-10-26 Digital Equipment Corporation Automatically deactivated no-owner frame removal mechanism for token ring networks
US5377190A (en) * 1991-03-28 1994-12-27 Digital Equipment Corporation Frame removal mechanism using frame count for token ring networks
EP0580938A3 (en) * 1992-06-26 1994-10-12 Yokogawa Electric Corp Duplex communication control device.
EP0580938A2 (en) * 1992-06-26 1994-02-02 Yokogawa Electric Corporation Duplex communication control device

Similar Documents

Publication Publication Date Title
DE2801608C3 (en) Method for confirming the establishment of a permissible data transmission connection
EP0403763B1 (en) Method and system to interconnect computers or computer networks
DE69636547T2 (en) Integrated repeater
EP1100230B1 (en) Data transmission system for aircrafts
CH615286A5 (en)
EP3155763B1 (en) Redundant transmission of data telegrams in communication networks having ring topology
DE2251716C3 (en) Method for data transmission from terminals to a central station within a series loop and circuit arrangements for this
EP0351014B1 (en) Switching network for a switching system
EP0701346A2 (en) Method for consistent data transmission
EP2961106B1 (en) Network, head subscriber and data transmission method
EP0570338B1 (en) Method and apparatus for monitoring access and access protection in communication networks
EP0443003B1 (en) Channel access process for a local transmission system configured as a bus system
DE3507618A1 (en) Method for token-error correction in a token-ring telecommunications system
DE69921360T2 (en) DISTRIBUTION OF MESSAGES THROUGH FLUTES
DE60031519T2 (en) COMMUNICATION NETWORK
DE3507582A1 (en) Telecommunications system having a plurality of subscriber stations which access a transmission medium with a ring structure
DE4218499C2 (en) Fault detection device for a transmission system
EP1121785B1 (en) Network and coupling device for connecting two segments in such a network
EP0973301A2 (en) Local area network with a master node for deleting rotating messages
DE10037969C2 (en) Process for the detection of flexible networking of modules with any network topology and for the exchange of information between such modules
DE3507604A1 (en) Telecommunications system having a plurality of subscriber stations which access a transmission medium with a ring structure
EP1116360B1 (en) Network and coupling device for connecting two segments in such a network
EP0963078B1 (en) Method for half-duplex transmission of an added sum-frame
EP0214475B1 (en) Circuit arrangement for the transmission of data signals between control devices interconnected by a loop system
EP0905623A2 (en) Method of exchanging data packets in a safe multicomputer system

Legal Events

Date Code Title Description
8141 Disposal/no request for examination