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
JP3289416B2 - Token passing method LAN data transfer method - Google Patents
[go: Go Back, main page]

JP3289416B2 - Token passing method LAN data transfer method - Google Patents

Token passing method LAN data transfer method

Info

Publication number
JP3289416B2
JP3289416B2 JP19491393A JP19491393A JP3289416B2 JP 3289416 B2 JP3289416 B2 JP 3289416B2 JP 19491393 A JP19491393 A JP 19491393A JP 19491393 A JP19491393 A JP 19491393A JP 3289416 B2 JP3289416 B2 JP 3289416B2
Authority
JP
Japan
Prior art keywords
synchronous data
data
transmission
node
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP19491393A
Other languages
Japanese (ja)
Other versions
JPH0750680A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP19491393A priority Critical patent/JP3289416B2/en
Publication of JPH0750680A publication Critical patent/JPH0750680A/en
Application granted granted Critical
Publication of JP3289416B2 publication Critical patent/JP3289416B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明はファクトリオートメー
ション用などに要求されるタイムクリティカル性(一定
の要求時間内にデータを宛先まで転送する定時性)を特
徴とするトークンパッシング方式LAN(ローカルエリ
アネットワーク)のデータ転送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a token-passing LAN (local area network) characterized by the time criticality required for factory automation and the like (the regularity of transferring data to a destination within a certain required time). Data transfer method.

【0002】[0002]

【従来の技術】たとえば特開平3−159436号公報
に示す従来例のトークンパッシング方式LANのデータ
転送方法は図5のように、同期データ(データ転送遅延
に厳しいタイムクリティカル性を必要とする音声等の高
優先度データ)の帯域管理をする管理ノード2a(帯域
管理局)とデータ転送の送り先としての送り先ノード2
b(発呼局)とデータ転送の宛先としての宛先ノード2
c(着呼局)とを結合するトークンパッシング方式LA
N1で、まず送り先ノード2bは通信アプリケーション
(LANで実現する通信適用業務ソフト)から同期デー
タ送信要求を受取ると、当該同期データの伝送帯域を要
求する帯域使用要求フレーム11を管理ノード2aに送
信する。管理ノード2aから帯域使用要求フレーム11
の受信を示す要求応答フレーム12と可能ならば帯域割
当てを示す帯域使用許可フレーム13とを受信する(以
上手順S11)。つぎに送り先ノード2bは帯域使用許
可フレーム13を受信すると、コネクション(論理的な
つながり)の設定を要求する接続要求フレーム14を宛
先ノード3cに送信する。宛先ノード3cから可能なら
ばコネクションの設定を示す肯定応答フレーム15を受
信すると、同期データフレーム20aを宛先ノード3c
に送信する(以上手順S12)。さらに送り先ノード2
bは同期データフレーム20aの送信を終了すると、帯
域使用の終了を示す帯域返却フレーム16を管理ノード
2aに送信する。管理ノード2aから帯域返却フレーム
16の受信を示す返却応答フレーム17を受信する(以
上手順S13)。
2. Description of the Related Art For example, a conventional token-passing LAN data transfer method disclosed in Japanese Unexamined Patent Publication No. 3-159436 discloses a synchronous data (a voice or the like that requires a time criticality severe in data transfer delay). Node 2a (bandwidth management station) that manages the bandwidth of (high-priority data) and the destination node 2 as the destination of data transfer
b (calling station) and destination node 2 as a data transfer destination
c (called station) and token passing method LA
In N1, the destination node 2b first receives a synchronous data transmission request from a communication application (communication application software implemented on a LAN), and transmits a bandwidth use request frame 11 requesting a transmission band for the synchronous data to the management node 2a. . Bandwidth request frame 11 from management node 2a
And a request response frame 12 indicating reception of the request and, if possible, a band use permission frame 13 indicating band allocation (step S11). Next, when receiving the bandwidth use permission frame 13, the destination node 2b transmits a connection request frame 14 for requesting connection (logical connection) setting to the destination node 3c. When the acknowledgment frame 15 indicating the connection setting is received from the destination node 3c if possible, the synchronous data frame 20a is transmitted to the destination node 3c.
(Step S12). And destination node 2
When the transmission of the synchronous data frame 20a is completed, b transmits a band return frame 16 indicating the end of the band use to the management node 2a. The return response frame 17 indicating the reception of the bandwidth return frame 16 is received from the management node 2a (the above procedure S13).

【0003】トークンパッシング方式LANは、ISO
(国際標準化機構)標準8802のトークンリング型/
トークンバス型やISO標準9314のトークンリング
型FDDI(Fiber Distributed D
ata Interface)ネットワークで、「トー
クン」と呼ばれる送信権情報が伝送路上を一方向に巡回
しており、トークンを受取ったノードが伝送路の使用権
を得る媒体アクセス制御をする。
[0003] The token passing system LAN is an ISO
(International Organization for Standardization) Token ring type of standard 8802 /
Token bus type or token ring type FDDI (Fiber Distributed D) of ISO standard 9314
In a data interface (ta Interface) network, transmission right information called a "token" circulates in one direction on a transmission line, and a node receiving the token performs media access control to obtain a right to use the transmission line.

【0004】上記従来例のトークンパッシング方式LA
Nのデータ転送方法は、動的トラヒック時(同期データ
の長さや到着間隔の不定時)でも帯域使用効率を低下し
ないように、送り先ノードが同期データを受取るごとに
管理ノードを参照し伝送帯域の割当てを決定する方式
(データ転送帯域集中管理方式)を採る。
The above-mentioned conventional token passing system LA
In the data transfer method of N, the transmission node refers to the management node every time the destination node receives the synchronization data so that the band use efficiency does not decrease even in the dynamic traffic (when the length of the synchronization data or the arrival interval is undefined). A method of deciding the assignment (data transfer band centralized management method) is adopted.

【0005】[0005]

【発明が解決しようとする課題】上記のような従来のト
ークンパッシング方式LANのデータ転送方法では、送
り先ノードが同期データを受取るごとに管理ノードを参
照し伝送帯域の割当てを決定する方式を採るから、管理
ノード障害時の多重化対策のための手順の複雑化を招き
規模を増大する。また同期データ転送前後のフレーム交
信(図5の手順S11とS13)に要するオーバヘッド
が増え応答性を悪化する。また同期データ転送前のフレ
ーム交信(図5の手順S11)に伴うトークン到着待ち
で緊急性の高い同期データを迅速に転送できない。また
毎回管理ノードを参照の上要求時間内の同期データ転送
を決定するための応答時間を必要とし、要求と応答を別
々のタイミングで記述するなど、通信アプリケーション
の制御プログラムを複雑にする。さらにまた同期データ
転送前後のフレーム交信(図5の手順S11とS13)
はプロトコル(通信規約)処理を煩雑にする。特にノー
ド電源断や帯域返却フレーム紛失に伴う割当て済帯域の
未返却などの帯域使用状況監視手順を通常のデータ転送
手順に加え必要とする。従来のデータ転送方法では上記
のような問題点があった。
The above-described conventional data transfer method of the token passing LAN uses a method in which the destination node refers to the management node and determines the allocation of the transmission band every time the destination node receives the synchronous data. In addition, the procedure for multiplexing countermeasures in the event of a management node failure is complicated and the scale is increased. In addition, the overhead required for frame communication before and after the synchronous data transfer (steps S11 and S13 in FIG. 5) increases and the responsiveness deteriorates. In addition, synchronous data having high urgency cannot be transferred quickly in a token arrival wait associated with frame communication (procedure S11 in FIG. 5) before synchronous data transfer. In addition, a response time for determining synchronous data transfer within a request time by referring to the management node every time is required, and a control program of a communication application is complicated, for example, a request and a response are described at different timings. Further, frame communication before and after synchronous data transfer (steps S11 and S13 in FIG. 5)
Makes the protocol (communications protocol) processing complicated. In particular, a bandwidth use status monitoring procedure such as the non-return of the allocated bandwidth due to the node power interruption or the loss of the bandwidth return frame is required in addition to the normal data transfer procedure. The conventional data transfer method has the above problems.

【0006】この発明が解決しようとする課題は、トー
クンパッシング方式LANのデータ転送方法で管理ノー
ドを不要にし、自ノードの同期データ量を測定し他ノー
ドに通知し、自他ノードの同期データ量から当該同期デ
ータの廃棄と送信処理を決定する方式(データ転送帯域
分散管理方式)を提供することにある。
The problem to be solved by the present invention is to eliminate the need for a management node in the token-passing LAN data transfer method, measure the amount of synchronous data of the own node, notify the other nodes, and notify the other nodes of the amount of synchronous data. To provide a method (data transfer band distribution management method) for determining discard and transmission processing of the synchronous data.

【0007】[0007]

【課題を解決するための手段】この発明のトークンパッ
シング方式LANにおけるデータ転送は、上記課題を解
決するため、複数ノードを結合するトークンパッシング
方式LANにおけるデータ転送方法において、次のよう
なデータ転送帯域分散管理方式を採ることを特徴とす
る。
According to the present invention, there is provided a data transfer method in a token-passing type LAN which combines a plurality of nodes. It is characterized by adopting a distributed management system.

【0008】前記複数の各ノードは、所定のタイミング
で自ノード及び他ノードに蓄積された送信待ち同期デー
タ量を測定する。また、送信待ち同期データ量を測定す
る際、自ノード内に蓄積された送信待ち同期データ量を
他ノードに通知する同期データ量通知フレームとして、
連結型または加算型トークンフレームまたはブロードキ
ャストフレームを用いて測定する。
[0008] Each of the plurality of nodes measures, at a predetermined timing, the amount of synchronous waiting data accumulated in its own node and other nodes. Further, when measuring the amount of synchronous data waiting to be transmitted, as a synchronous data amount notification frame for notifying another node of the amount of synchronous data to be transmitted accumulated in the own node,
It is measured using a concatenated or additive token frame or broadcast frame.

【0009】同期データの送信要求が発生した場合、前
記送信待ち同期データ量に基づいて、前記送信要求の発
生した同期データの送信が、前記送信要求の発生した同
期データの送信に要求される要求時間内に完了するか否
かを判定し、前記要求時間内に完了しない場合、前記送
信要求の発生した同期データを廃棄する一方、前記要求
時間内に完了する場合、前記送信要求の発生した同期デ
ータを前記送信待ち同期データとして自ノードに蓄積す
る。また、同期データの送信要求が発生した場合、前記
送信要求の発生した同期データの送信が、前記要求時間
内に完了しない場合、送信要求の発生元に対して拒絶応
答を返し、前記要求時間内に完了する場合、送信要求の
発生元に対して肯定応答を返す。また、同期データ毎に
前記要求時間の異なる送信要求が発生した場合、前記送
信待ち同期データ量に基づいて、前記送信要求の発生し
た同期データの送信が、前記要求時間内に完了しない前
記送信要求の発生した同期データについては廃棄し、前
記要求時間内に完了する前記送信要求の発生した同期デ
ータについては前記送信待ち同期データとして自ノード
に蓄積する。
When a synchronous data transmission request is issued, transmission of the synchronous data for which the transmission request has been generated is based on the synchronous data amount waiting to be transmitted. It is determined whether or not the synchronization is completed within the required time, and if the completion is not completed within the required time, the synchronization data for which the transmission request is generated is discarded. The data is stored in the own node as the transmission waiting synchronization data. Further, when a transmission request for synchronous data occurs, if the transmission of the synchronous data for which the transmission request has occurred is not completed within the request time, a rejection response is returned to the source of the transmission request, and If the transmission is completed, an acknowledgment is returned to the source of the transmission request. Further, when a transmission request having the different request time is generated for each synchronization data, the transmission of the synchronization data for which the transmission request has occurred is not completed within the request time based on the transmission waiting synchronization data amount. The synchronous data for which the transmission request is completed is discarded, and the synchronous data for which the transmission request is completed within the request time is stored in the own node as the transmission waiting synchronous data.

【0010】自ノードにトークンが到着した際、自ノー
ド内に蓄積された前記送信待ち同期データを送信する。
また、自ノードにトークンが到着した際、自ノード内に
蓄積された前記送信待ち同期データのうち、前記要求時
間を満たさない前記送信待ち同期データを廃棄する。
[0010] When the token arrives at the own node, the transmission-waiting synchronous data stored in the own node is transmitted.
In addition, when the token arrives at the own node, the transmission-waiting synchronous data that does not satisfy the request time is discarded from the transmission-waiting synchronous data accumulated in the own node.

【0011】[0011]

【作用】この発明のトークンパッシング方式LANのデ
ータ転送方法は上記手順で、各ノードが適当なタイミン
グで、まず自ノードの同期データ量を測定し、同期デー
タ量情報をトークン情報またはブロードキャスト制御情
報に相乗りし連結型もしくはトークンフレームまたはブ
ロードキャストフレームを形成し、他ノードに送信す
る。他ノードから同じに同期データ量情報を受信する
(以上同期データ量通知手順)。つぎに自他ノードの同
期データ量から当該同期データの送信経過時間を予測
し、通信アプリケーションの送信要求を当該同期データ
に対し指定できる異なる要求時間内に終了できるならば
肯定応答、できないならば拒絶応答を直ちに返す(以上
同期データ廃棄処理手順)。各ノードがトークン到着時
で、さらに上記廃棄処理手順で廃棄処理をしない同期デ
ータの送信処理をし、同期データフレームを形成し、他
ノードに送信する。ここで通信アプリケーションからの
送信待ち同期データに対し指定できる異なる要求時間を
経過する当該同期データは廃棄する(以上同期データ送
信処理手順)。
According to the data transfer method of the token passing system LAN of the present invention, in the above procedure, each node first measures the synchronous data amount of its own node at an appropriate timing, and converts the synchronous data amount information into token information or broadcast control information. It forms a concatenated or token frame or broadcast frame and transmits it to another node. The same synchronous data amount information is received from another node (the above-mentioned synchronous data amount notification procedure). Next, the transmission elapsed time of the synchronous data is predicted from the amount of synchronous data of the self-other node, and if the transmission request of the communication application can be completed within a different request time that can be specified for the synchronous data, an acknowledgment is returned; Return the response immediately (the above-mentioned synchronous data discarding procedure). When each node arrives at the token, the node further performs synchronous data transmission processing not to be discarded in the above-described discarding procedure, forms a synchronous data frame, and transmits it to another node. Here, the synchronous data having passed a different request time which can be specified for the synchronous data waiting for transmission from the communication application is discarded (the synchronous data transmission processing procedure).

【0012】[0012]

【実施例】この発明を示す一実施例のトークンパッシン
グ方式LANのデータ転送方法は図1のように、データ
転送の送り先または宛先としての複数ノード2を結合す
るトークンパッシング方式LAN1で、まず各ノード
(たとえばAノード2)は適当なタイミングで、自ノー
ド内に蓄積する同期データ量(同期データすべての送信
に必要な時間を表す数値で、たとえば同期データ数もし
くは総オクテット数またはこれらの組合せなど)を測定
し格納する同期データ量通知フレーム10を他ノード
(たとえばBとCノード2)に送信する。BとCノード
2から同じに同期データ量通知フレーム10を受信する
(以上同期データ量通知手順S1)。つぎにAノード2
は適当なタイミングで、自他ノードの同期データ量を用
い通信アプリケーションの送信要求に対し、当該同期デ
ータを送信できるまでの経過時間を予測する。予測経過
時間と同期データLAN転送時の遅延時間との和が当該
同期データに対する要求時間を越えれば、当該同期デー
タの廃棄処理をする(以上同期データ廃棄処理手順S
2)。さらにAノード2はトークン到着時で、廃棄処理
をしない同期データの送信処理をし格納する同期データ
フレーム20をBとCノード2に送信する(以上同期デ
ータ送信処理手順S3)。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A token-passing LAN according to an embodiment of the present invention, as shown in FIG. 1, employs a token-passing LAN 1 that connects a plurality of nodes 2 as data transmission destinations or destinations. (For example, A node 2) stores the synchronous data amount (a numerical value representing the time required for transmitting all the synchronous data, for example, the number of synchronous data or the total number of octets or a combination thereof) at an appropriate timing. Is transmitted to another node (for example, the B and C nodes 2). The synchronous data amount notification frame 10 is received from the B and C nodes 2 in the same manner (the synchronous data amount notification procedure S1). Next, A node 2
Predicts, at an appropriate timing, the elapsed time until the synchronous data can be transmitted in response to the transmission request of the communication application by using the synchronous data amount of the own and other nodes. If the sum of the estimated elapsed time and the delay time during the synchronous data LAN transfer exceeds the required time for the synchronous data, the synchronous data is discarded (the synchronous data discarding procedure S
2). Further, when the token arrives, the A node 2 transmits the synchronous data frame 20 for storing and storing the synchronous data without discarding processing to the B and C nodes 2 (the synchronous data transmitting processing procedure S3).

【0013】上記実施例のトークンパッシング方式LA
Nのデータ転送方法は、自ノードの同期データ量を測定
し他ノードに通知し、自他ノードの同期データ量から当
該同期データの廃棄と送信処理を決定する方式(データ
転送帯域分散管理方式)を採る。
The token passing system LA of the above embodiment
The data transfer method of N is a method of measuring the amount of synchronous data of the own node, notifying the other nodes, and determining the discarding and transmission processing of the synchronous data from the amount of synchronous data of the own node and other nodes (data transfer bandwidth distribution management method). Take.

【0014】同期データ量通知手順S1は図2のよう
に、同期データ量情報をトークン情報に相乗りする連結
型トークンフレーム(図2(a))もしくは加算型トー
クンフレーム(図2(b))またはブロードキャスト
(一斉同報)制御情報(ヘッダ)に相乗りするブロード
キャストフレーム(図2(c))をそれぞれ形成し、各
ノード間で同期データ量情報の通知転送をする。ここで
トークンフレームはトークンパッシング方式LANの媒
体アクセス制御上必須の管理用フレームであるのに対
し、ブロードキャストフレームは全ノードを宛先とする
データ転送用フレームである。各ノードは自ノードにト
ークンフレームを受信すると、図2(a)の連結型フォ
ーマットの場合、第1〜Nノード内(Nはノード最大
数)同期データ数の連結サブフィールド中自ノード対応
のサブフィールドに自ノード内同期データ数を書込み、
同期データ量情報として他ノードに送信する。一方他ノ
ード対応のサブフィールドから他ノード内同期データ数
を読出し、ノード対応の記憶領域に格納する(自ノード
内同期データ数は自ノード内の同期データ待ち数から分
かる)。図2(b)の加算型フォーマットの場合、同期
データ数累計フィールドから読出す数値と自ノード内同
期データ数とを加算し、当該同期データ数累計フィール
ドに書込み、同期データ量情報として他ノードに送信す
る。一方今回自ノードが書込む前に当該同期データ数累
計フィールドから読出す数値と前回自ノードが当該同期
データ数累計フィールドに書込んだ数値との差を他ノー
ド内同期データ数累計として他ノード内同期データ数の
記憶領域に格納する。また各ノードは適当な送信契機
(たとえばトークン解放前で適当な回数のトークン巡回
時)ごとに図2(c)のブロードキャストフレームフォ
ーマットの場合のように、自ノードのノード番号と送信
待ち同期データ数をそれぞれのフィールドに格納し、同
期データ量情報として他ノードに送信する。一方他ノー
ドからブロードキャストフレームを受信すると、当該フ
ィールドから読出す送信待ち同期データ数をノード番号
フィールドで識別し、ノード対応の記憶領域に格納す
る。なお送信待ち同期データ数の代わりに、同期データ
総オクテット数などの他の同期データ量を用いてもよ
い。
As shown in FIG. 2, the synchronous data amount notifying procedure S1 is performed by connecting a synchronous token frame (FIG. 2 (a)) or an additive token frame (FIG. 2 (b)) in which the synchronous data amount information is piggybacked on the token information. A broadcast frame (FIG. 2 (c)) is formed to be superimposed on the broadcast (broadcast) control information (header), and the notification of the synchronous data amount information is transferred between the nodes. Here, the token frame is a management frame indispensable for medium access control of the token passing LAN, whereas the broadcast frame is a data transfer frame addressed to all nodes. When each node receives the token frame at its own node, in the case of the concatenated format of FIG. 2A, the sub-node corresponding to its own node in the concatenation subfield of the number of synchronous data in the first to Nth nodes (N is the maximum number of nodes) Write the number of synchronization data in the local node to the field,
It is transmitted to other nodes as synchronous data amount information. On the other hand, the number of synchronous data in the other node is read from the subfield corresponding to the other node and stored in the storage area corresponding to the node (the number of synchronous data in the own node can be determined from the number of synchronous data waiting in the own node). In the case of the addition type format shown in FIG. 2B, the value read from the synchronous data number total field and the number of synchronous data in the own node are added, and the result is written into the synchronous data number cumulative field, and is transmitted to another node as synchronous data amount information. Send. On the other hand, the difference between the numerical value read from the synchronous data total field before writing by the own node this time and the numerical value previously written by the own node in the synchronous data total field is regarded as the synchronous data total in the other node. It is stored in the storage area for the number of synchronous data. Also, each node transmits the node number of its own node and the number of synchronous data waiting to be transmitted at appropriate transmission triggers (for example, when the token is circulated an appropriate number of times before releasing the token), as in the case of the broadcast frame format in FIG. Is stored in each field, and transmitted to another node as synchronous data amount information. On the other hand, when a broadcast frame is received from another node, the number of synchronous data waiting for transmission to be read from the field is identified by the node number field and stored in the storage area corresponding to the node. Note that, instead of the number of synchronous data waiting to be transmitted, another synchronous data amount such as the total number of synchronous data octets may be used.

【0015】同期データ廃棄処理手順S2は図3のよう
に、まず各ノードは通信アプリケーションから同期デー
タ送信要求を受取る(手順S101)。つぎにiノード
内送信待ち同期データ数(Qi)の累計(ΣiQi、i
=1〜N)と同期データLAN転送時の平均遅延時間
(d)との積と当該同期データに対する要求時間(T)
との大小を比較し、当該同期データの送信がT内に終了
できるかを判定する(手順S102)。さらにT内に終
了できるならば、当該同期データを同期データキュー
(待ち行列)に追加し、通信アプリケーションの送信要
求に対し肯定応答を返す。T内に終了できないならば、
当該同期データを廃棄し、拒絶応答を返す(以上手順S
103、S104)。
As shown in FIG. 3, in the synchronous data discarding procedure S2, each node first receives a synchronous data transmission request from the communication application (procedure S101). Next, the cumulative total (Qi, iQi, i)
= 1 to N) and the average delay time (d) during synchronous data LAN transfer, and the required time (T) for the synchronous data
It is determined whether the transmission of the synchronous data can be completed within T (step S102). If it can be completed within T, the synchronous data is added to a synchronous data queue (queue), and an acknowledgment is returned to the transmission request of the communication application. If you can't finish within T
The synchronous data is discarded, and a rejection response is returned (step S
103, S104).

【0016】同期データ送信処理手順S3は図4のよう
に、まず各ノードはLANからトークンフレームを受取
り、自ノード内で送信待ち状態にある同期データの有無
を判定する(以上手順S201、S202)。つぎに手
順S202で送信待ち同期データがあれば、現在時刻
(t)と同期データLAN転送時の平均遅延時間(d)
との和から当該同期データを通信アプリケーションから
渡された時刻(a)を引き、この差と当該同期データに
対する要求時間(T)との大小を比較し、当該同期デー
タの送信がT内に終了できるかを判定する。T内に終了
できるとき、当該同期データをLANに送信する。T内
に終了できないとき、当該同期データを廃棄し、通信ア
プリケーションに廃棄通知する(以上手順S203〜S
205)。さらに自ノード内で送信待ち状態にある同期
データの有無を判定する(手順S206)、なければ非
同期データの送信処理をし、トークンを解放する(手順
S208、S209)。あれば自ノードがトークンフレ
ームを受取ってからの経過時間とトークン保持時間(ト
ークンパッシング方式LANプロトコルで規定)との大
小を比較し判定する。経過時間がトークン保持時間を越
えていれば、トークンを解放する。越えていなければ、
手順S203の判定処理手順を繰り返す(以上手順S2
07、S209)。一方手順S202で送信待ち同期デ
ータがなければ、自ノード内で送信待ち状態にある非同
期データ(データ転送遅延に厳しくないタイムクリティ
カル性を不要とするファイル転送等の低優先度データ)
の送信処理をし、トークンを解放する(手順S208、
S209)。
As shown in FIG. 4, in the synchronous data transmission processing procedure S3, each node first receives a token frame from the LAN and determines whether or not there is synchronous data in its own node in a transmission waiting state (the above steps S201 and S202). . Next, if there is synchronous data waiting to be transmitted in step S202, the current time (t) and the average delay time (d) during synchronous data LAN transfer
The time (a) at which the synchronous data is passed from the communication application is subtracted from the sum of the two, and the difference between the difference and the required time (T) for the synchronous data is compared. The transmission of the synchronous data ends within T Determine if you can. When the synchronization can be completed within T, the synchronization data is transmitted to the LAN. If the process cannot be completed within T, the synchronous data is discarded, and the communication application is notified of the discard (see steps S203 to S203).
205). Further, it is determined whether or not there is synchronous data in the transmission waiting state in the own node (step S206). If not, the asynchronous data is transmitted and the token is released (steps S208 and S209). If there is, the node compares the elapsed time from the reception of the token frame with the token holding time (defined by the token passing LAN protocol) and makes a determination. If the elapsed time exceeds the token holding time, the token is released. If not,
The determination processing procedure of step S203 is repeated (step S2
07, S209). On the other hand, if there is no transmission waiting synchronous data in step S202, the asynchronous data in the transmission waiting state in its own node (low-priority data such as file transfer that does not require time criticality that is not severe in data transfer delay)
To release the token (step S208,
S209).

【0017】同期データ廃棄と送信処理手順S2とS3
で、通信アプリケーションは各ノードに対し、各同期デ
ータの送信要求に付随して当該同期データに対する要求
時間(T)を渡す。同期データごとに異なる要求時間を
指定しても、各ノードは通信アプリケーションから渡さ
れた要求時刻と要求時間を保持し、適当なタイミングで
当該同期データを要求時間内に送信し、できなければ廃
棄する。
Synchronous data discard and transmission processing procedures S2 and S3
Then, the communication application gives each node a request time (T) for the synchronous data accompanying the transmission request of the synchronous data. Even if a different request time is specified for each synchronous data, each node retains the request time and request time passed from the communication application, transmits the synchronous data within the required time at an appropriate timing, and discards if it cannot be performed. I do.

【0018】[0018]

【発明の効果】上記のようなこの発明のトークンパッシ
ング方式LANのデータ転送方法では、自ノードの同期
データ量を測定し他ノードに通知し、自他ノードの同期
データ量から当該同期データの廃棄と送信処理を決定す
る方式を採るから、従来の送信元ノードが同期データを
受取るごとに管理ノードを参照し伝送帯域の割当てを決
定する方式に比べ、耐障害性があり容易に実装できる。
またLANの利用効率が上がり同期データLAN転送時
の遅延を減少できる。また同期データ量情報をトークン
情報やブロードキャスト制御情報に相乗りさせ同期デー
タ量通知に伴うLAN帯域の使用を最小限に抑え、IS
O8802や9314標準LAN準拠の市販LAN制御
LSIで容易に設計できる。また通信アプリケーション
の同期データ送信要求に直ちに応答し、同期的に記述で
きるなど通信アプリケーションの制御プログラムを容易
にする。さらにまた通信アプリケーションから同期デー
タごとに異なる要求時間を指定しLAN上のシステム構
築を柔軟にできる効果がある。
According to the data transfer method of the token passing system LAN of the present invention as described above, the synchronous data amount of the own node is measured and notified to other nodes, and the synchronous data is discarded based on the synchronous data amount of the own and other nodes. And a method for determining the transmission processing, so that it is more fault-tolerant and can be easily implemented as compared with the conventional method in which the transmission source node refers to the management node and determines the allocation of the transmission band every time the synchronization data is received.
Further, the efficiency of use of the LAN is improved, and the delay in transferring the synchronous data to the LAN can be reduced. Also, by synchronizing the synchronous data amount information with the token information and the broadcast control information, the use of the LAN band accompanying the synchronous data amount notification is minimized.
It can be easily designed with a commercially available LAN control LSI conforming to O8802 or 9314 standard LAN. In addition, the present invention facilitates a control program of a communication application, for example, by immediately responding to a synchronous data transmission request of the communication application and describing it synchronously. Furthermore, there is an effect that a different request time is designated for each synchronous data from the communication application, and the system construction on the LAN can be flexibly performed.

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

【図1】この発明を示す一実施例のトークンパッシング
方式LANのデータ転送方法のシーケンス図。
FIG. 1 is a sequence diagram of a data transfer method for a token passing LAN according to an embodiment of the present invention.

【図2】同期データ量情報をトークン情報とブロードキ
ャスト制御情報に相乗りする連結型/加算型トークンフ
レームとブロードキャストフレームを示すフォーマット
図。
FIG. 2 is a format diagram showing a concatenated / additional token frame and a broadcast frame that piggyback synchronous data amount information on token information and broadcast control information.

【図3】図1に示す同期データ廃棄処理手順を示すフロ
ー図。
FIG. 3 is a flowchart showing a synchronous data discarding process procedure shown in FIG. 1;

【図4】図1に示す同期データ送信処理手順を示すフロ
ー図。
FIG. 4 is a flowchart showing a synchronous data transmission processing procedure shown in FIG. 1;

【図5】従来例のトークンパッシング方式LANのデー
タ転送方法のシーケンス図。
FIG. 5 is a sequence diagram of a data transfer method of a conventional token passing LAN.

【符号の説明】 1 LAN 2 ノード 10 同期データ量通知フレーム 20 同期データフレーム なお図中、同一符号は同一または相当部分を示す。[Description of References] 1 LAN 2 Node 10 Synchronous data amount notification frame 20 Synchronous data frame In the drawings, the same reference numerals indicate the same or corresponding parts.

フロントページの続き (72)発明者 小高 一紀 鎌倉市大船五丁目1番1号 三菱電機株 式会社 通信システム研究所内 (72)発明者 厚井 裕司 鎌倉市大船五丁目1番1号 三菱電機株 式会社 通信システム研究所内 (72)発明者 井手口 哲夫 東京都千代田区丸の内二丁目2番3号 三菱電機株式会社内 (56)参考文献 特開 平1−99344(JP,A) 特開 平3−159436(JP,A) 特開 平4−324731(JP,A) 特開 平5−145564(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/42 Continued on the front page (72) Inventor Kazuki Odaka 5-1-1, Ofuna, Kamakura City Mitsubishi Electric Corporation Communication Systems Laboratory (72) Inventor Yuji Atsui 5-1-1, Ofuna, Kamakura City Mitsubishi Electric Corporation (72) Inventor Tetsuo Ideguchi 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Inside Mitsubishi Electric Corporation (56) References JP-A-1-99344 (JP, A) JP-A-3-159436 (JP, A) JP-A-4-324473 (JP, A) JP-A-5-145564 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04L 12/42

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数ノードを接続するトークンパッシン
グ方式LANにおけるデータ転送方法において、 前記複数の各ノードは、 所定のタイミングで自ノード及び他ノードに蓄積された
送信待ち同期データ量を測定し、 同期データの送信要求が発生した場合、 前記送信待ち同期データ量に基づいて、前記送信要求の
発生した同期データの送信が、前記送信要求の発生した
同期データの送信に要求される要求時間内に完了するか
否かを判定し、 前記要求時間内に完了しない場合、前記送信要求の発生
した同期データを廃棄する一方、前記要求時間内に完了
する場合、前記送信要求の発生した同期データを前記送
信待ち同期データとして自ノードに蓄積し、 自ノードにトークンが到着した際、自ノード内に蓄積さ
れた前記送信待ち同期データを送信する ことを特徴とす
るデータ転送方法。
Claims: 1. A token passing machine for connecting a plurality of nodes.
In the data transfer method in the switching system LAN , each of the plurality of nodes is stored in its own node and another node at a predetermined timing.
The transmission synchronization data amount is measured, and when a transmission request of the synchronization data is generated , the transmission request
The transmission of the generated synchronous data is performed when the transmission request is generated.
Completion within the required time required to send synchronous data
Determines whether, if not completed within the required time, generation of the transmission request
Synchronized data is discarded and completed within the required time
The synchronous data for which the transmission request has occurred,
It is stored in the local node as waiting synchronization data.When the token arrives at the local node, it is stored in the local node.
A data transmission method for transmitting the synchronous data to be transmitted .
【請求項2】 前記送信待ち同期データ量を測定する
際、自ノード内に蓄積された送信待ち同期データ量を他
ノードに通知する同期データ量通知フレームとして、連
結型または加算型トークンフレームを用いて測定する
とを特徴とする請求項1記載のデータ転送方法。
2. A method for measuring an amount of synchronous data waiting for transmission.
The amount of synchronous data waiting to be transmitted
As a synchronous data amount notification frame to notify the node,
The method of data transfer according to claim 1, wherein the this <br/> be measured using a sintered type or addition-type token frame.
【請求項3】 前記送信待ち同期データ量を測定する
際、自ノード内に蓄積された送信待ち同期データ量を他
ノードに通知する同期データ量通知フレームとして、ブ
ロードキャストフレームを用いて測定することを特徴と
する請求項1記載のデータ転送方法。
3. The amount of synchronous data waiting to be transmitted is measured.
The amount of synchronous data waiting to be transmitted
The synchronous data amount notification frame notified to the node
2. The data transfer method according to claim 1, wherein the measurement is performed using a load cast frame .
【請求項4】 同期データの送信要求が発生した場合、
前記送信要求の発生した同期データの送信が、前記要求
時間内に完了しない場合、送信要求の発生元に対して拒
絶応答を返し、前記要求時間内に完了する場合、送信要
求の発生元に対して肯定応答を返すことを特徴とする請
求項1記載のデータ転送方法。
4. When a synchronous data transmission request is issued,
The transmission of the synchronous data in which the transmission request has occurred
If not completed in time, the sender of the transmission request will be rejected.
If a response is returned within a specified time
2. The data transfer method according to claim 1, wherein an acknowledgment is returned to the source of the request.
【請求項5】 自ノードにトークンが到着した際、自ノ
ード内に蓄積された 前記送信待ち同期データのうち、前
記要求時間を満たさない前記送信待ち同期データを廃棄
することを特徴とする請求項1記載のデータ転送方法。
5. When a token arrives at its own node, its own
Of the synchronous data waiting for transmission stored in the
Discard the synchronous data waiting to be transmitted that does not satisfy the required time
2. The data transfer method according to claim 1, wherein:
【請求項6】 同期データ毎に前記要求時間の異なる送
信要求が発生した場合、前記送信待ち同期データ量に基
づいて、前記送信要求の発生した同期データの送信が、
前記要求時間内に完了しない前記送信要求の発生した同
期データについては廃棄し、前記要求時間内に完了する
前記送信要求の発生した同期データについては前記送信
待ち同期データとして自ノードに蓄積することを特徴と
する請求項1記載のデータ転送方法。
6. The transmission of the request time different for each synchronous data.
When a communication request is generated, the
The transmission of the synchronous data in which the transmission request has occurred
The transmission request that is not completed within the request time
Term data is discarded and completed within the required time
For the synchronous data for which the transmission request has occurred, the transmission
2. The data transfer method according to claim 1, wherein the data is stored in the own node as waiting synchronization data .
JP19491393A 1993-08-05 1993-08-05 Token passing method LAN data transfer method Expired - Fee Related JP3289416B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19491393A JP3289416B2 (en) 1993-08-05 1993-08-05 Token passing method LAN data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19491393A JP3289416B2 (en) 1993-08-05 1993-08-05 Token passing method LAN data transfer method

Publications (2)

Publication Number Publication Date
JPH0750680A JPH0750680A (en) 1995-02-21
JP3289416B2 true JP3289416B2 (en) 2002-06-04

Family

ID=16332429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19491393A Expired - Fee Related JP3289416B2 (en) 1993-08-05 1993-08-05 Token passing method LAN data transfer method

Country Status (1)

Country Link
JP (1) JP3289416B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220140992A1 (en) * 2019-03-15 2022-05-05 Kabushiki Kaisha Toshiba Transmission device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8180730B2 (en) * 2008-11-25 2012-05-15 International Business Machines Corporation Arbitration token for managing data integrity and data accuracy of information services that utilize distributed data replicas

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220140992A1 (en) * 2019-03-15 2022-05-05 Kabushiki Kaisha Toshiba Transmission device
US11646865B2 (en) * 2019-03-15 2023-05-09 Kabushiki Kaisha Toshiba Transmission device

Also Published As

Publication number Publication date
JPH0750680A (en) 1995-02-21

Similar Documents

Publication Publication Date Title
JP2577539B2 (en) bridge
JP2753294B2 (en) Packet congestion control method and packet switching device
EP0258604B1 (en) A method of transmitting a token in a communication ring
US4964113A (en) Multi-frame transmission control for token ring networks
EP0832530A1 (en) Media access control for isochronous data packets in carrier sensing multiple access systems
JPH0824303B2 (en) Bandwidth allocation method in communication network
JPH0439941B2 (en)
HUT76610A (en) Expandable telecommunications system
JPS611146A (en) Information communication equipment
EP1302011A1 (en) Media access control for isochronous data packets in carrier sensing multiple access systems
JP3379759B2 (en) Cell relay transmission mechanism
Scharbarg et al. CAN-Ethernet architectures for real-time applications
JP5237438B2 (en) A subscriber node of a communication system with a functionally distinct transmission event memory
JP3289416B2 (en) Token passing method LAN data transfer method
JPS61140253A (en) Packet transfer system
JP3034405B2 (en) Local area network device
JP4909350B2 (en) Message transmission method
JP3034406B2 (en) Local area network device
JPH04328929A (en) Method and device for transmitting signalling information in lan system
JPH07226756A (en) Token passing data transfer device
JP2679251B2 (en) Reset type communication method
JP3001493B2 (en) Burst circuit switching equipment
JP2785147B2 (en) Restriction method for each route
JPH01225259A (en) Traffic supervising system
JP2928882B1 (en) Local area network bandwidth control

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees