Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0720118B2 - Data transmission / reception method using multiple loops - Google Patents
[go: Go Back, main page]

JPH0720118B2 - Data transmission / reception method using multiple loops - Google Patents

Data transmission / reception method using multiple loops

Info

Publication number
JPH0720118B2
JPH0720118B2 JP6934385A JP6934385A JPH0720118B2 JP H0720118 B2 JPH0720118 B2 JP H0720118B2 JP 6934385 A JP6934385 A JP 6934385A JP 6934385 A JP6934385 A JP 6934385A JP H0720118 B2 JPH0720118 B2 JP H0720118B2
Authority
JP
Japan
Prior art keywords
data
node
loop
loops
buffer memory
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 - Lifetime
Application number
JP6934385A
Other languages
Japanese (ja)
Other versions
JPS61228748A (en
Inventor
慎一郎 早野
崇夫 竹内
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP6934385A priority Critical patent/JPH0720118B2/en
Publication of JPS61228748A publication Critical patent/JPS61228748A/en
Publication of JPH0720118B2 publication Critical patent/JPH0720118B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、複数ループを持つスロッテドリング方式によ
るデータ通信システムにおいて、各ループに分散されて
自ノード宛に送信されたデータを、送信元でのデータの
順番を崩すことなく受信する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial field of use) The present invention relates to a slotted ring data communication system having a plurality of loops, in which data distributed to each node and transmitted to its own node is transmitted by a transmission source. The present invention relates to a method of receiving data without breaking the order.

(従来技術) スロッテドリング方式により、大容量の通信システムを
構築する場合、第1図(C)に示すようにループの速度
の上昇をおさえるために、複数ループ構成とすることが
考えられる。その際、複数ループの各タイムスロットを
論理的に一本のループのタイムスロットとして扱うと、
複雑なループ選択アルゴリズムを用いることなく、種々
のデータで効率良く複数ループを使用することができ
る。その場合、送信側各ノードは自ノードからの情報を
論理的に一本となっているループの空きタイムスロット
に順に送り出していく。すなわち、情報は複数ループに
またがって送出される。受信側では各ループに分散され
て自ノード宛に送信されたデータを送信元でのデータの
順番を崩すことなくバッファメモリに格納し、端末ある
いは出力線に出力する必要がある。それには、複数ルー
プから同時に到着した自ノード宛タイムスロットの各々
が、当該送信ノードから何番目に送信されたものである
かを知らなければいけない。このため従来は複数ループ
に対して共通に各送信ノードごとのカウンタを設置し、
1タイムスロット時間ごとに各ループを順番に監視し、
前記カウンタにより各送信ごとに自ノード宛のタイムス
ロットの数をカウントし、そのカウント値により受信デ
ータのバッファメモリへの書き込みアドレスを決定して
いた。
(Prior Art) When constructing a large-capacity communication system by the slotted ring method, a multi-loop configuration may be considered in order to suppress an increase in loop speed as shown in FIG. 1 (C). At that time, if each time slot of multiple loops is treated as a time slot of one loop logically,
Multiple loops can be efficiently used with various data without using a complicated loop selection algorithm. In that case, each node on the transmitting side sequentially sends out the information from the own node to the vacant time slots of the loop which are logically one. That is, information is sent across multiple loops. On the receiving side, it is necessary to store the data distributed to each node and transmitted to its own node in the buffer memory without breaking the order of the data at the transmission source and to output to the terminal or the output line. To this end, it is necessary to know the number of times each of the time slots addressed to the own node, which arrives simultaneously from the plurality of loops, is transmitted from the transmission node. For this reason, conventionally, a counter for each transmitting node was installed in common for multiple loops,
Each loop is monitored in turn every 1 timeslot time,
The counter counts the number of time slots addressed to the own node for each transmission, and the count value determines the write address of the received data in the buffer memory.

従来の方式について第2図(a),(b)を参照して説
明する。従来の複数ループを用いたデータ通信方式は、
第1図(c)に示すようなループ構成をとり、各ノード
の受信部は第2図(a)のように構成されている。第2
図(a)の受信部は、ループからのデータを解析し、自
ノード宛データを取り込むデータ解析部30と、データ解
析部30から送られ、自ノード宛データを取り込んだこと
を示すデータ受信信号の個数を各送信ノードごとにフレ
ームの先頭からカウントするカウンタ群10と、各ループ
対応に各送信ノード別に設けられ、前記カウンタによっ
て計算されるアドレスに基づいて受信データを蓄えるバ
ッファメモリ20と、受信したデータを出回線へ出力する
データ出力部40からなる。
A conventional method will be described with reference to FIGS. 2 (a) and 2 (b). The conventional data communication method using multiple loops is
A loop configuration as shown in FIG. 1 (c) is adopted, and the receiving unit of each node is configured as shown in FIG. 2 (a). Second
The receiving unit in FIG. 5A analyzes the data from the loop and takes in the data addressed to the own node, and the data reception signal sent from the data analysis unit 30 and indicating that the data addressed to the own node has been taken in. A group of counters 10 for counting the number of frames from the beginning of the frame for each transmitting node, a buffer memory 20 provided for each transmitting node corresponding to each loop, and storing received data based on the address calculated by the counter, and receiving The data output unit 40 outputs the output data to the outgoing line.

或ノードから自ノードへのデータは第2図(b)に示す
ように複数のループを論理的に1本のループとみなして
送られる。たとえば、ループ1の第1スロットには1番
目のデータを、ループ3の第1スロットには2番目のデ
ータを、ループ4の第2スロットには3番目のデータ
を、ループ2の第3スロットには4番目のデータを、ル
ープ1の第4スロットには5番目のデータを、ループ4
の第4スロットには6番目のデータを送る。第1図
(d)に示す様に各タイムスロットのデータには、送信
ノードと受信ノードをしめすアドレス(SA,DA)を付け
て送る。受信ノードにおいては、データ解析部30でルー
プ上のデータのDAを見て、自ノード宛のデータをノード
内へ取り入れる。さらに、各SA対応に設けられているカ
ウンタ群10へそのデータのSAと前記データ受信番号を送
る。カウンタ群10は1タイムスロット内に全ループを順
に監視し、フレームヘッドよりSAごとに全ループを通じ
て自ノード宛にいくつタイムスロットが来ているかを数
える。すなわちカウンタ群10では、あるタイムスロット
で、あるループからデータが来ているとすると、そのデ
ータのSAに対応しているカウンタの値を1つ進め、それ
をアドレスとして、各SA対応にあるバッファメモリ20に
該データを書き込む。この動作を1タイムスロット時間
内に、全ループについて順番におこなう。すると第2図
(a)に示すように、例えば、各ループ対応のノードA
用バッファメモリ20にはノードAから送られてきた順番
に対応した位置にデータが各々書き込まれる。例えば、
ノードAから第2図(b)に示すようにデータが送信さ
れたとすると、カウンタ群10の中のノードA用カウンタ
の初期値を0とすると、第1スロットではループ1で送
信ノードA用カウンタを1アップしてループ1のアドレ
ス1の位置にデータが書き込まれる。ループ3では、さ
らにノードA用カウンタが1アップされ、ループ3のア
ドレス2の位置にデータが書き込まれる。以上のように
してデータ1〜データ6は、それぞれが送られてきたル
ープに対応するメモリのデータの送信順に対応したアド
レス1〜アドレス6に書き込まれる。以上は或送信アド
レス1つのみについて説明したが、他の送信アドレスに
ついてもそのアドレスに対応したカウンタならびにバッ
ファメモリによって以上の動作が同様かつ並列に行われ
る。なお、第2図(a)からわかるようにループ対応の
バッファメモリにはデータが飛々に書き込まれるため、
バッファメモリの空き領域をあらかじめすべて0にして
おき、データを出回線へ出力する時には全ループのバッ
ファメモリに同一のアドレスを与え、全ループのバッフ
ァメモリの出力の論理和をとって出力する。以上の機能
をデータ出力部40に与えておけば、第2図(a)に示す
ようにデータが送信ノードから送出された順番に出回線
に出力される。
The data from a certain node to its own node is sent by treating a plurality of loops logically as one loop as shown in FIG. 2 (b). For example, the first data in the first slot of loop 1, the second data in the first slot of loop 3, the third data in the second slot of loop 4, the third slot of loop 2, etc. For the 4th slot, loop 1 for the 4th slot, the 5th data for the 4th slot, loop 4
The 6th data is sent to the 4th slot. As shown in FIG. 1 (d), the data of each time slot is sent with an address (SA, DA) indicating the transmitting node and the receiving node. In the receiving node, the data analysis unit 30 looks at the DA of the data on the loop and takes in the data addressed to the own node into the node. Further, the SA of the data and the data reception number are sent to the counter group 10 provided for each SA. The counter group 10 sequentially monitors all loops within one time slot, and counts how many time slots are addressed to its own node through all loops for each SA from the frame head. In other words, in the counter group 10, if data comes from a certain loop in a certain time slot, the counter value corresponding to the SA of the data is incremented by one, and that value is used as an address for the buffer corresponding to each SA. The data is written in the memory 20. This operation is sequentially performed for all loops within one time slot time. Then, as shown in FIG. 2A, for example, the node A corresponding to each loop is
In the buffer memory 20 for data, data is written in respective positions corresponding to the order sent from the node A. For example,
Assuming that the data is transmitted from the node A as shown in FIG. 2 (b), if the initial value of the counter for node A in the counter group 10 is set to 0, the counter for transmitting node A in loop 1 in the first slot Is incremented by 1 and data is written to the position of address 1 of loop 1. In loop 3, the counter for node A is further incremented by 1, and data is written in the address 2 position of loop 3. As described above, the data 1 to data 6 are written in the addresses 1 to 6 corresponding to the transmission order of the data in the memory corresponding to the loop to which they are respectively sent. Although only one transmission address has been described above, the above operations are similarly performed in parallel for the other transmission addresses by the counter and the buffer memory corresponding to the addresses. As can be seen from FIG. 2 (a), since the data is written in the buffer memory corresponding to the loop at random,
All empty areas of the buffer memory are set to 0 in advance, and when outputting data to the output line, the same address is given to the buffer memories of all loops, and the outputs of the buffer memories of all loops are ORed and output. If the above-mentioned functions are given to the data output section 40, the data is output to the outgoing line in the order of being sent from the transmitting node, as shown in FIG.

(従来技術の問題点) 以上説明した従来のデータの送受信方式においては、バ
ッファメモリは各ループ対応に設けられるため各々ルー
プ1本分の速度で動作すればよいが、カウンタは全ノー
ド共通にあり、1タイムスロット時間内に全ループを監
視しなければならず、全ループより自ノード宛データが
一度にくると、カウンタはループ速度のループ本数倍で
動作しなければならない。ところが、ループ上には多数
の回線のデータが集まってくるので、ループの速度は個
々の回線の速度よりはるかに高く、ループを多数設置し
たときの速度に耐えられるカウンタを実現するのが困難
であり、カウンタの動作速度が全ループの伝送容量に制
限を与えていた。
(Problems of Prior Art) In the conventional data transmission / reception system described above, since the buffer memory is provided for each loop, it is sufficient to operate at the speed of one loop, but the counter is common to all nodes. All loops must be monitored within one time slot time, and when data destined for the own node arrives at once from all loops, the counter must operate at the number of loops times the loop speed. However, since the data of many lines are collected on the loop, the speed of the loop is much higher than the speed of each line, and it is difficult to realize a counter that can withstand the speed when many loops are installed. Yes, the operating speed of the counter limited the transmission capacity of all loops.

(発明の目的) 本発明の目的は、受信したデータを送信ノードから送出
された順番に出回線に出力する装置全体の動作速度を、
ループが複数存在する時にもループ対応の速度以下に落
とすことにある。
(Object of the Invention) An object of the present invention is to determine the operating speed of the entire device that outputs received data to an outgoing line in the order in which they are sent from a transmitting node,
Even when there are multiple loops, it is necessary to reduce the speed below the speed corresponding to the loop.

(発明の構成) 本発明は、複数ループを論理的に一本のループとみなし
てデータを送受信する際に、データの送受信装置のすべ
ての部分がループ対応の速度以下で動作できるように、
従来高速部にあって、ループからのデータの記憶アドレ
スを複数ループに対応した速度で発生していたカウンタ
にかわって、各ループからのデータを出回線に出力する
所でデータの順番を認識して、各ループ対応の受信バッ
ファメモリからデータを選んで出回線に出力する低速の
セレクタを置き、データを送受信するものである。すな
わち本発明は、複数ノード間を複数ループによって結
び、各ループ上に一定時間周期のフレームを設け、該フ
レームを複数のタイムスロットに分割し、全ループのフ
レーム、タイムスロットの位相を同期させ、各ノードは
送信すべきデータを前記複数ループ上の任意の空きタイ
ムスロットを用いて送信することにより、ノード間で通
信を行うスロッテドリンク方式のデータ通信システムに
おける複数ループを用いたデータ送受信方法において、 各ノードにはループ対応に、相手ノードごとに設置され
た受信タイムスロット数カウンタと受信バッファメモリ
を設け、さらに各ノードには前記受信バッファメモリか
ら出回線へ出力するデータを選択するセレクタを設け、 各ノードは、送信すべきデータをタイムスロット単位に
分割し、分割したデータには送信ノード番号、受信ノー
ド番号を付与して、各ループの空きタイムスロットにル
ープの順位にしたがって自ノードから送信すべき情報を
送出し、かつ、各ノードは、ループ上を流れている自ノ
ード宛データを取り込み、前記ループ対応に相手ノード
ごとに設置された前記受信タイムスロット数カウンタ
は、当該相手ノードから当該ループを通じて送られてく
る自ノード宛データを数え、該受信タイムスロット数カ
ウンタの値をアドレスとして該データ、および該データ
の送られたタイムスロット番号を当該相手ノードに対応
する前記受信バッファメモリへ記憶し、 さらに、各ノードは、相手ノードごとに前記受信バッフ
ァメモリのアドレスの順番に、当該相手ノードに対応す
る各ループの前記受信バッファメモリに受信データと共
に記憶されたタイムスロット番号を読み出し、前記セレ
クタにより、該タイムスロット番号の中で最も小さいも
のに対応するデータ、あるいは最も小さいタイムスロッ
ト番号に対応するデータが複数存在する場合には、該デ
ータの中で予め定められた優先順位が最も高いループの
データを決定し、当該データを前記受信バッファメモリ
から読み出し、出回線へ出力することを特徴とする、複
数ループを用いたデータ送受信方法である。
(Structure of the Invention) The present invention, when multiple loops are logically regarded as one loop to transmit and receive data, so that all parts of the data transmitting and receiving device can operate at a speed corresponding to the loop or less,
In the conventional high-speed section, instead of the counter that generated the storage address of the data from the loop at a speed corresponding to multiple loops, the order of the data is recognized at the place where the data from each loop is output to the output line. Then, a low-speed selector that selects data from the reception buffer memory corresponding to each loop and outputs it to the outgoing line is placed, and the data is transmitted and received. That is, the present invention connects a plurality of nodes by a plurality of loops, provides a frame of a constant time period on each loop, divides the frame into a plurality of time slots, synchronizes the frames of all loops, the phases of the time slots, Each node transmits data to be transmitted by using any free time slot on the plurality of loops, in a data transmission / reception method using a plurality of loops in a slotted link type data communication system for communicating between nodes, For each loop, each node is provided with a reception time slot number counter and a reception buffer memory installed for each partner node, and each node is provided with a selector for selecting data to be output from the reception buffer memory to the outgoing line. Each node divides the data to be transmitted in time slot units, and The data is assigned a sending node number and a receiving node number, and the information to be sent from its own node is sent to the empty time slots of each loop according to the order of the loop, and each node flows on the loop. The reception time slot number counter installed in each partner node corresponding to the loop counts the data addressed to the own node sent from the partner node through the loop, and the reception time slot number The value of the counter is used as an address and the data and the time slot number to which the data is sent are stored in the reception buffer memory corresponding to the partner node. Further, each node stores the address of the reception buffer memory for each partner node. In this order, the received data is stored in the receive buffer memory of each loop corresponding to the target node. The time slot number stored together with the data is read out, and if there is a plurality of data corresponding to the smallest time slot number among the time slot numbers or a plurality of data corresponding to the smallest time slot number, Among them, the data transmission / reception method using a plurality of loops is characterized in that the data of the loop having the highest predetermined priority is determined, the data is read from the reception buffer memory, and is output to the outgoing line.

(本発明の作用・原理) 先に述べたように、複数ループを用いたデータ送受信方
式においては、複数ループに渡ってデータが送信されて
くる。よって同一タイムスロット内において複数ループ
から一度にデータが来た時に、データを受信するノード
では、相手ノードから送出されたデータの順序をくずす
ことなく出回線に出力しなければならない。そのために
本発明では、データを受信したループ上のタイムスロッ
ト番号をデータと共に記憶しておく。そしてデータの順
序の管理はループ側より一般に速度の遅い出回線側で行
うことにより高速動作となることをさける。すなわち、
データと共に記憶しておいたタイムスロット番号を用
い、タイムスロット番号が同一のものが多数ある時は、
予め定められている順位の高いループから送られたデー
タを出力することによって相手ノードより送出された順
序をくずすことなく出回線に出力する。
(Operation / Principle of the Present Invention) As described above, in the data transmission / reception method using a plurality of loops, data is transmitted over the plurality of loops. Therefore, when data arrives from a plurality of loops at the same time in the same time slot, the node receiving the data must output the data sent from the partner node to the outgoing line without breaking the order. Therefore, in the present invention, the time slot number on the loop where the data is received is stored together with the data. Then, the order of data is managed on the outgoing line side, which is generally slower than the loop side, to avoid high speed operation. That is,
If there are many timeslot numbers with the same timeslot number that was stored with the data,
By outputting the data sent from the loop having a higher predetermined order, the data sent from the partner node is output to the outgoing line without breaking the order.

(実施例) 以下、図面を参照しながら本発明の実施例を説明する。Embodiments Embodiments of the present invention will be described below with reference to the drawings.

第1図(a),(b),(c),(d)は本発明の複数
ループを用いたデータ送受信方式の1実施例を示す概略
図である。本実施例の複数ループを用いたデータ送受信
方式は、第1図(c)に示すようにデータを複数のデー
タ伝送路120に送出する機能と、複数のデータ伝送路120
からデータを受信する機能を持つノード110,130と、ノ
ード110,130を結びループを形成しているデータ伝送路1
20からなる。さらに、ノード110,130の受信部は第1図
(a)に示すように構成される。すなわち、各ループ対
応に設けられ、ループ上の各タイムスロットからDA,SA
を抽出し、自ノード宛データをSA別に受信バッファメモ
リ160へ出力するデータ解析部140と、受信バッファメモ
リ160を先頭から順番に読み書きするために各ループ対
応、各SA対応に設けられたカウンタ150と、やはりルー
プ対応、各SA対応に設けられ受信したデータを出回線へ
出力するために一時記憶し、また同時にデータの送信さ
れてきたタイムスロット番号記憶しておく受信バッファ
メモリ160と、出回線へデータを出力する時にタイムス
ロット番号の最も若いデータあるいは最も若いタイムス
ロット番号のデータが多数あるときには、予め定められ
た順位の高いループからのデータから順番に出回線に出
力するセレクタ170からなる。
FIGS. 1 (a), (b), (c) and (d) are schematic diagrams showing one embodiment of a data transmission / reception system using a plurality of loops of the present invention. The data transmission / reception method using a plurality of loops according to this embodiment has a function of sending data to a plurality of data transmission lines 120 and a plurality of data transmission lines 120 as shown in FIG.
Data transmission line 1 that forms a loop by connecting the nodes 110 and 130 that have the function of receiving data from the
It consists of 20. Further, the receiving units of the nodes 110 and 130 are configured as shown in FIG. In other words, it is provided for each loop and DA, SA
And a data analysis unit 140 that outputs the data addressed to its own node to the reception buffer memory 160 for each SA, and a counter 150 that is provided for each loop and SA for sequentially reading and writing the reception buffer memory 160 from the beginning. Also, a receiving buffer memory 160, which is also provided for loop and SA support, temporarily stores the received data for outputting to the output line, and at the same time, stores the time slot number to which the data has been transmitted, and the output line. When data is output to the terminal, when there is the smallest data of the time slot number or the large number of data of the smallest time slot number, the selector 170 is configured to sequentially output the data from the loop having a predetermined higher order to the output line.

なお、第1図(a)には或SAに対応したカウンタ150、
バッファメモリ160のみを示している。他のSAに対応し
たカウンタ150、バッファメモリ160は第1図(a)に示
したカウンタ150、バッファメモリ160と同様にデータ解
析部140につながっている。
In addition, in FIG. 1 (a), a counter 150 corresponding to a certain SA,
Only the buffer memory 160 is shown. The counter 150 and the buffer memory 160 corresponding to other SAs are connected to the data analysis unit 140 like the counter 150 and the buffer memory 160 shown in FIG.

次に、本実施例の複数ループを用いたデータ送受信方式
の動作を第1図(a),(b),(c)を参照して説明
する。第1図(b)に示す様に、データをタイムスロッ
ト6個に分割し、スロッテドリング方式を用いて、ノー
ド110からノード130宛にデータ1〜データ6として送出
したとする。各データには第1図(d)に示すようにD
A,SAが付加されている。このときデータは従来例と同様
に複数のデータ伝送路120を論理的に1本とみなしてデ
ータ1からデータ6の順番に送出される。送出されたデ
ータはフレームヘッドから順番にノード130に入ってく
る。ノード130では、各ループ対応に設置したデータ解
析部140により、ループから入って来たデータのSA,DAを
解析し、DAがノード130を示していれば該データをそのS
Aに対応するバッファメモリ160へ出力する。バッファメ
モリ160ではデータ解析部140よりデータが出力される
と、該バッファメモリ160に対応しているカウンタ150の
値が示すアドレスへデータとデータの送られてきたタイ
ムスロット番号を書き込み、該カウンタ150の値を1つ
進める。これらの動作はすべて各ループで独立に行われ
るため、カウンタ150の動作はループ対応の動作速度で
よい。以上のようにして1フレーム中にノード130へ送
出されたデータは全てSAごとに分けられて、第1図
(a)に示すように、該ループから送られてきた順にル
ープ対応に置かれたバッファメモリ160へ書き込まれ
る。また、バッファメモリ160の中のデータには、全て
そのデータが送られてきたタイムスロット番号が付与さ
れている。次にバッファメモリ160の中に記憶されたデ
ータを出回線へ出力するには、ノードから送出された順
序をくずさないように出力する必要がある。ところで、
ノードからデータを複数のデータ伝送路120に送出する
時には、複数のデータ伝送路を論理的に一本とみなして
データを送出しているので、データは必ずタイムスロッ
ト番号の若いものから、また同一タイムスロットでは順
位の高いループのタイムスロットから並んでいる。よっ
てループ対応に設けられたバッファメモリ160の中のデ
ータでもノードから送出された順序関係は保たれてい
る。したがってセレクタ170は、各ループ対応に設けら
れたバッファメモリ160の中のカウンタ150の値をアドレ
スとするデータの中でもっとも該データの送られたタイ
ムスロット番号の若いものから、またもっとも若いタイ
ムスロットで送られたデータが多数のループに存在する
ならば、ループにつけた優先順位の高いものから順番に
出力していく。またデータを出回線に出力するごとにそ
のループに対応してカウンタ150を1つ進め、次のデー
タに対応するタイムスロット番号を読み出して、次に他
のタイムスロット番号と比較できるようにする。
Next, the operation of the data transmission / reception method using a plurality of loops of this embodiment will be described with reference to FIGS. 1 (a), (b), and (c). As shown in FIG. 1 (b), it is assumed that the data is divided into 6 time slots and sent from the node 110 to the node 130 as data 1 to data 6 by using the slotted ring method. As shown in Fig. 1 (d), each data has D
A and SA are added. At this time, the data is sent in the order of data 1 to data 6 by regarding the plurality of data transmission paths 120 as one logically as in the conventional example. The transmitted data sequentially enters the node 130 from the frame head. In the node 130, the data analysis unit 140 installed corresponding to each loop analyzes SA and DA of the data coming from the loop, and if the DA indicates the node 130, the data is converted into the S
Output to the buffer memory 160 corresponding to A. When data is output from the data analysis unit 140 in the buffer memory 160, the data and the time slot number to which the data is sent are written to the address indicated by the value of the counter 150 corresponding to the buffer memory 160, and the counter 150 Advances the value of by one. Since all of these operations are performed independently in each loop, the operation of the counter 150 may be performed at a loop-compatible operation speed. As described above, all the data transmitted to the node 130 in one frame is divided for each SA, and as shown in FIG. It is written in the buffer memory 160. Further, the data in the buffer memory 160 are all given the time slot number to which the data was sent. Next, in order to output the data stored in the buffer memory 160 to the outgoing line, it is necessary to output the data sent from the node without breaking the order. by the way,
When sending data from a node to a plurality of data transmission paths 120, since the data transmission paths are logically regarded as one and the data is sent, the data must always have the same time slot number and be the same. In the time slot, the time slots of the loop with the highest rank are listed first. Therefore, even in the data in the buffer memory 160 provided for the loop, the order relation sent from the nodes is maintained. Therefore, the selector 170 selects from the data having the smallest time slot number to which the data is sent among the data having the value of the counter 150 in the buffer memory 160 provided for each loop as an address and the youngest time slot. If the data sent by is present in many loops, the loops with the highest priority will be output in order. Also, every time data is output to the outgoing line, the counter 150 is incremented by 1 corresponding to the loop, the time slot number corresponding to the next data is read out, and then it can be compared with other time slot numbers.

例えば、第1図(b)に示した様にデータ1〜データ6
が当該ノードにあてて送られてきたとする、するとデー
タ1〜データ6は第1図(a)のバッファメモリ160に
記された様に、アドレスの先頭からデータの送られてき
た順番に記憶される。このデータ1〜データ6を出回線
へ出力する時には、まず、全ループのカウンタ150をリ
セツトする。そしてカウンタ150の示すアドレス、すな
わち全ループの受信バッファメモリ160の0番地に記憶
されているデータのタイムスロット番号を比較する。す
るとループ1とループ3に一番早いタイムスロット1で
送られてきたデータがあることがわかる。この場合同じ
タイムスロットで送られてきたデータが2つあるので順
位の高いループ1のデータを先に出回線に出力し、ルー
プ1のカウンタ150を1つ進める。次に出力するデータ
を決定するために、また同様の比較動作を行い、1番早
いタイムスロットで送られてきたものが、ループ3のデ
ータ2であるので、これを出回線に出力し、ループ3の
カウンタ150の値を1つ進める。以上の動作を繰り返し
行うことにより、第1図(a)の出力に示すようにデー
タ1〜データ6が順に出回線に出力される。
For example, as shown in FIG. 1 (b), data 1 to data 6
Is sent to the relevant node, data 1 to data 6 are stored in the order in which the data was sent from the beginning of the address, as described in the buffer memory 160 in FIG. 1 (a). It When outputting the data 1 to 6 to the outgoing line, first, the counter 150 of all loops is reset. Then, the address indicated by the counter 150, that is, the time slot number of the data stored in the address 0 of the reception buffer memory 160 of all the loops is compared. Then, it can be seen that there is data sent in the earliest time slot 1 in loop 1 and loop 3. In this case, since there are two pieces of data sent in the same time slot, the data of loop 1 having a higher rank is output to the outgoing line first, and the counter 150 of loop 1 is incremented by one. In order to determine the data to be output next, the same comparison operation is performed, and the data sent in the earliest time slot is the data 2 of loop 3, so this is output to the output line and the loop is output. The value of the counter 150 of 3 is incremented by 1. By repeating the above operation, data 1 to data 6 are sequentially output to the outgoing line as shown in the output of FIG.

なお同じタイムスロット番号で多数のデータが送られて
きた時、一番順位の高いループのデータを出力するとい
う機能は、データセレクタ170の中にプライオリティエ
ンコーダなどを入れることにより実現できる。以上述べ
たデータセレクタ170の動作速度は、出回線の速度が多
数の回線からのデータが流れているループの速度より遅
いため、出回線の出力速度に見あった速度でよい。
Note that the function of outputting the data of the loop with the highest rank when a large number of data are sent with the same time slot number can be realized by inserting a priority encoder or the like in the data selector 170. The operation speed of the data selector 170 described above may be a speed matching the output speed of the outgoing line, because the speed of the outgoing line is slower than the speed of the loop in which data from many lines are flowing.

(発明の効果) 以上説明したように、本発明によれば、複数ループから
同時に到着した高速データを一旦ループ対応の受信バッ
ファメモリ160に記憶し、低速の出回線側のセレクタ170
でデータの順序を判断して出回線へ出力することによ
り、セレクタ170を低速の出回線に対応した速度で動作
させ、バッファメモリ160、カウンタ150もループ対応の
速度で動作させればよいことから、ノード全体から複数
ループに対応して動作する高速動作部をのぞくことがで
きる。
(Effects of the Invention) As described above, according to the present invention, high-speed data arriving simultaneously from a plurality of loops is temporarily stored in the loop-capable reception buffer memory 160, and the low-speed outgoing line selector 170 is stored.
By determining the order of the data with and outputting to the outgoing line, the selector 170 can be operated at a speed corresponding to the low-speed outgoing line, and the buffer memory 160 and the counter 150 can also be operated at the speed corresponding to the loop. , It is possible to exclude high-speed operation units that operate corresponding to multiple loops from the entire node.

【図面の簡単な説明】[Brief description of drawings]

第1図(a),(b),(c),(d)は本発明の複数
ループを用いたデータ送受信方式の1実施例の概略図、
第2図(a),(b)は従来の複数ループを用いたデー
タ送受信方式を示す概略図である。
FIGS. 1 (a), (b), (c) and (d) are schematic diagrams of one embodiment of a data transmission / reception system using a plurality of loops of the present invention,
2A and 2B are schematic diagrams showing a conventional data transmission / reception method using a plurality of loops.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数ノード間を複数ループによって結び、
各ループ上に一定時間周期のフレームを設け、該フレー
ムを複数のタイムスロットに分割し、全ループのフレー
ム、タイムスロットの位相を同期させ、各ノードは送信
すべきデータを前記複数ループ上の任意の空きタイムス
ロットを用いて送信することにより、ノード間で通信を
行うスロッテドリンク方式のデータ通信システムにおけ
る複数ループを用いたデータ送受信方法において、 各ノードにはループ対応に、相手ノードごとに設置され
た受信タイムスロット数カウンタと受信バッファメモリ
を設け、さらに各ノードには前記受信バッファメモリか
ら出回線へ出力するデータを選択するセレクタを設け、 各ノードは、送信すべきデータをタイムスロット単位に
分割し、分割したデータには送信ノード番号、受信ノー
ド番号を付与して、各ループの空きタイムスロットにル
ープの順位にしたがって自ノードから送信すべき情報を
送出し、かつ、各ノードは、ループ上を流れている自ノ
ード宛データを取り込み、前記ループ対応に相手ノード
ごとに設置された前記受信タイムスロット数カウンタ
は、当該相手ノードから当該ループを通じて送られてく
る自ノード宛データを数え、該受信タイムスロット数カ
ウンタの値をアドレスとして該データ、および該データ
の送られたタイムスロット番号を当該相手ノードに対応
する前記受信バッファメモリへ記憶し、 さらに、各ノードは、相手ノードごとに前記受信バッフ
ァメモリのアドレスの順番に、当該相手ノードに対応す
る各ループの前記受信バッファメモリに受信データと共
に記憶されたタイムスロット番号を読み出し、前記セレ
クタにより、該タイムスロット番号の中で最も小さいも
のに対応するデータ、あるいは最も小さいタイムスロッ
ト番号に対応するデータが複数存在する場合には、該デ
ータの中で予め定められた優先順位が最も高いループの
データを決定し、当該データを前記受信バッファメモリ
から読み出し、出回線へ出力することを特徴とする、複
数ループを用いたデータ送受信方法。
1. A plurality of nodes are connected by a plurality of loops,
A frame with a constant time period is provided on each loop, the frame is divided into a plurality of time slots, the frames of all the loops and the phases of the time slots are synchronized, and each node transmits data to be transmitted on the plurality of loops arbitrarily. In a data transmission / reception method using multiple loops in a slotted drink type data communication system in which communication is performed between nodes by transmitting using the empty time slots of A reception time slot number counter and a reception buffer memory are further provided, and each node is provided with a selector for selecting data to be output from the reception buffer memory to the outgoing line. Each node divides the data to be transmitted into time slot units. Then, add the sending node number and the receiving node number to the divided data, Information that should be sent from the self node is sent to the empty time slot of the loop according to the order of the loop, and each node takes in the data addressed to the self node that is flowing on the loop, and is set for each partner node in response to the loop. The received time slot number counter counts the data addressed to its own node sent from the partner node through the loop, and uses the value of the received time slot counter as an address to send the data and the time when the data was sent. The slot number is stored in the reception buffer memory corresponding to the partner node, and each node has the reception buffer memory of each loop corresponding to the partner node in the order of the address of the reception buffer memory for each partner node. The time slot number stored together with the received data in the If there is a plurality of data corresponding to the smallest one among the timeslot numbers, or a plurality of data corresponding to the smallest timeslot number, the predetermined priority is the highest among the data. A data transmission / reception method using a plurality of loops, wherein data of a loop is determined, the data is read from the reception buffer memory, and is output to an outgoing line.
JP6934385A 1985-04-02 1985-04-02 Data transmission / reception method using multiple loops Expired - Lifetime JPH0720118B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6934385A JPH0720118B2 (en) 1985-04-02 1985-04-02 Data transmission / reception method using multiple loops

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6934385A JPH0720118B2 (en) 1985-04-02 1985-04-02 Data transmission / reception method using multiple loops

Publications (2)

Publication Number Publication Date
JPS61228748A JPS61228748A (en) 1986-10-11
JPH0720118B2 true JPH0720118B2 (en) 1995-03-06

Family

ID=13399804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6934385A Expired - Lifetime JPH0720118B2 (en) 1985-04-02 1985-04-02 Data transmission / reception method using multiple loops

Country Status (1)

Country Link
JP (1) JPH0720118B2 (en)

Also Published As

Publication number Publication date
JPS61228748A (en) 1986-10-11

Similar Documents

Publication Publication Date Title
US4683564A (en) Matrix switch system
US6700894B1 (en) Method and apparatus for shared buffer packet switching
US5884101A (en) Apparatus for detecting data buffer faults
US3731002A (en) Interconnected loop data block transmission system
JPS5910118B2 (en) time division digital switching network
HU180481B (en) Digital switching network of distributed control
US20070110052A1 (en) System and method for the static routing of data packet streams in an interconnect network
JPH0720118B2 (en) Data transmission / reception method using multiple loops
US3859465A (en) Data transmission system with multiple access for the connected users
JP2540486B2 (en) Data transmission / reception method using multiple loops
KR100226540B1 (en) Address generation circuit of ATM switch
CA2056827C (en) Modular communication system with allocatable bandwidth
JPH0226920B2 (en)
JP2672407B2 (en) Packet information counter
JPH0771096B2 (en) Data transmission / reception method using multiple loops
JPH0720116B2 (en) Data transmission / reception method using multiple loops
JPH02130052A (en) Packet data control processing system for transmission loop
US6831920B1 (en) Memory vacancy management apparatus and line interface unit
JPH0720117B2 (en) Method and apparatus for allocating transmission information to time slots
JP2702171B2 (en) Frame conversion circuit
JP3631950B2 (en) Communication device
JPH01270431A (en) High-speed packet exchange switch
SU1564637A1 (en) Multichannel device for information exchange
KR0171005B1 (en) Node buffer control apparatus of high speed packet router
GB2286318A (en) Modular communication system with allocatable bandwidth