JPH01132244A - Frame communication system - Google Patents

Frame communication system

Info

Publication number
JPH01132244A
JPH01132244A JP62289379A JP28937987A JPH01132244A JP H01132244 A JPH01132244 A JP H01132244A JP 62289379 A JP62289379 A JP 62289379A JP 28937987 A JP28937987 A JP 28937987A JP H01132244 A JPH01132244 A JP H01132244A
Authority
JP
Japan
Prior art keywords
frame
time
communication device
transmission path
transmission
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.)
Pending
Application number
JP62289379A
Other languages
Japanese (ja)
Inventor
Shunji Inada
俊司 稲田
Norihiko Sugimoto
杉本 則彦
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62289379A priority Critical patent/JPH01132244A/en
Publication of JPH01132244A publication Critical patent/JPH01132244A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To avoid influencing other frames and tokens by an abnormality such as the destruction, etc., of one frame by setting the time set value of a frame round supervising timer provided in each communication device at a time in which a frame rounds a transmitting path and returns or below. CONSTITUTION:At the time of transmitting a transmitting source address field 54 of the frame, a round time measuring timer 29 is activated, when a comparator 27 detects the round of the frame, the round time measuring timer 29 is stopped, thus, the measurement of the round time is executed, and by an ALU 31, a fixed value is subtracted and it is set in a set value register 33 as a frame disappearance detection time. When the frame disappears during a transfer, that the value of a round supervising timer 32 coincides with a frame disappearance detection time is detected by a comparator 34, the transmission of a fill is stopped and a reproducing relay state is attained. Thus, by a trouble such as the disappearance, etc., of one frame, the other frames and the tokens are not influenced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、送信権ン得るためのトークンン用いたループ
通信システムに係り、特に17レーム送信直後にトーク
ンを送信するフレーム通信方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a loop communication system using a token for obtaining a transmission right, and particularly to a frame communication system in which a token is transmitted immediately after transmitting a 17th frame.

〔従来の技術〕[Conventional technology]

近年、ローカルエリアネットワーク(LAN )が、工
場、オフィス等に普及してきており、IBEB802委
員会でもLANの通信方式の標準化?すすめている。
In recent years, local area networks (LANs) have become popular in factories, offices, etc., and the IBEB802 committee is also considering standardizing LAN communication methods. I recommend it.

この種LANの通信方式の一つとして、送信権ン得るた
めのトークンを用いる通信方式が知られている。
As one of the communication methods for this type of LAN, a communication method using tokens for obtaining transmission rights is known.

一般に、トークン乞用いる通信方式において、フレーム
送信要求のある通信装置は、伝送路上t巡回するトーク
ンを獲得し、自装置から送信すべきデータχのせたフレ
ームZ送信した後、フィルと呼ばれるアイドルデータχ
送信し、送信したフレームが伝送路ンー巡して戻ったこ
とン確認して、あるいは、通信装置内に備えられたフレ
ーム一巡監視タイマによりフレーム消滅を検出して、そ
の後、他の通信装置に利用されるトークンを送出して、
再生中継状態となるように動作する。このため、この通
信方式におけるフレーム一巡監視タイマの時間設定値は
、伝送路の伝搬遅延時間と、伝送路に接続されている複
数の通信装置の夫々における遅延時間の総和以下の値に
設定されるので、伝送路に接続された通信装置数が最大
数より少ない場合、実際のフレー−ムー巡時間よりかな
り大きな値となづていた。この通信方式は、1つのフレ
ームが一巡するまで、あるいは監視タイマの設定時間の
間、トークンが伝送路中に送られることがなく、伝送路
の使用効率の悪いものであった。
Generally, in a communication system that requires a token, a communication device that requests frame transmission acquires tokens circulating on a transmission path T, transmits a frame Z containing data χ to be transmitted from the device itself, and then sends idle data χ called fill.
After transmitting the frame, it is confirmed that the transmitted frame has returned after going around the transmission path, or the disappearance of the frame is detected by a frame cycle monitoring timer provided in the communication device, and then used for other communication devices. Send the token to be
Operates to enter regeneration relay state. Therefore, the time setting value of the frame cycle monitoring timer in this communication method is set to a value less than or equal to the sum of the propagation delay time of the transmission path and the delay time of each of the plurality of communication devices connected to the transmission path. Therefore, when the number of communication devices connected to the transmission path is less than the maximum number, the frame-to-frame travel time is considerably larger than the actual frame-to-frame travel time. In this communication method, tokens are not sent onto the transmission path until one frame completes one cycle or during the set time of the monitoring timer, resulting in poor utilization of the transmission path.

このトークンを用いる通信方式において、伝送路の使用
効率の向上ン図ることのできる従来技術として、例えば
、“エンハンスメント トウ ザトークンリング プロ
トコル:アーリー トークン IJ 17−ズエヌ、シ
ー、ストロール、ノベンバー、17.1986  アイ
 イー イーイー 802,5/86/22(“Enh
ancementto  th ’l”oken−H+
ing Protocol : EarjyToken
 Kelease ” N、C,8trole、  N
ov。
In the communication system using this token, as a conventional technique that can improve the efficiency of using the transmission path, for example, "Enhancement to the Token Ring Protocol: Early Token IJ 17-ZN, C., Stroll, November, 17.1986 Ai Ei Ei 802, 5/86/22 (“Enh
ance to th'l"oken-H+
ing Protocol: EarjyToken
Kelease ” N, C, 8trole, N
ov.

17.1986  IEEE  802,5/86/2
2)等に記載された技術が知られている。
17.1986 IEEE 802,5/86/2
2) etc. are known.

この従来技術において、フレーム送信要求のある通信装
置は、伝送路上ン巡回するトークンを獲得した後、自装
置から送信すべきデータをのせたフレームχ送信し、こ
のフレーム送信直後にトークン乞送信し、更にアイドル
データであるフィル乞送信し続け、送信したフレームが
伝送路を一巡して戻ってきたことを確認して、あるいは
、通信装置内に備えられたフレーム一巡監視タイマによ
り、フレームの消滅ン検出して、フィルの送信ヲ停止し
、再生中継状態となるように動作する。
In this prior art, a communication device that requests frame transmission acquires a token that circulates on a transmission path, then transmits a frame χ carrying data to be transmitted from the own device, immediately after transmitting this frame, transmits a request for a token, In addition, it is possible to continue transmitting idle data, confirming that the transmitted frame has gone around the transmission path and returning, or detecting frame disappearance by using a frame cycle monitoring timer installed in the communication device. Then, the transmission of the fill is stopped and a reproducing/relaying state is entered.

このような通信方式において、フレーム一巡監視タイマ
の時間設定値χ、前述したトークンを用いる通信方式の
場合と同様に、伝送路の伝搬遅延時間と通信装置の遅延
時間の総和以下に設定すると、伝送路上のフレームとト
ークンが全て消滅してしまうという問題点χ生じる。
In such a communication method, if the time setting value χ of the frame cycle monitoring timer is set to less than the sum of the propagation delay time of the transmission path and the delay time of the communication device, as in the case of the communication method using tokens described above, the transmission will be delayed. A problem arises in that all frames and tokens on the road disappear.

以下、この徨従来技術による通信方式を図面により説明
する。
The communication system according to this prior art will be explained below with reference to the drawings.

第2図はループ通信システJの一構成例ン示すブロック
図、第3図は従来技術によるフレーム送受信動作ン説明
するタイミング図である。@2図において、1は端末装
置、2は通信装置A〜D。
FIG. 2 is a block diagram showing an example of the configuration of the loop communication system J, and FIG. 3 is a timing diagram illustrating frame transmission and reception operations according to the prior art. @2 In the figure, 1 is a terminal device, and 2 is communication devices A to D.

3は伝送路、4はバスである。3 is a transmission line, and 4 is a bus.

第2図(示すループ通信システムは、伝送路3K、通信
架f12として4台の通信装置A〜Dがループ状に接続
され、各通信製@2TICバス4を介して端末装fil
が接続されて構成されている。
FIG. 2 (The loop communication system shown in FIG.
are connected and configured.

いま、第2図に示す通信システムにおいて、各通信装置
A−Dにフレーム送信要求が発生し、最初に通信装置A
がトークンを獲得したものとして、第2図のシステムの
動作ン第3図により説明する。
Now, in the communication system shown in FIG. 2, a frame transmission request is generated in each communication device A to D, and communication device A first
The operation of the system shown in FIG. 2 will be explained with reference to FIG. 3, assuming that the user has acquired a token.

通信装置Aは、トークンを獲得してフレームFa’4送
信し、その直後にトークン馨送出する。
Communication device A acquires a token, transmits frame Fa'4, and immediately thereafter transmits the token.

伝送路3の下流に接続されている通信装置Bは、通信装
置Aが送信したトークンン獲得して、フレームFb′?
il−送信し、引続きトークンビ送信する。
Communication device B connected downstream of transmission path 3 acquires the token transmitted by communication device A, and obtains the frame Fb'?
il-transmit, then tokenbi-transmit.

このような動作は、通信装置C,Dによっても同様に行
われることになるので1通信装置Aが送信したフレーム
Faが通信装置Aに、伝送路3を一巡して戻ったとき、
伝送路3上には、複数のフレームF a % F dが
連続し、その後にトークンが続いていることになる。こ
のように、この通信システムは、伝送路3を極めて効率
的に使用することが可能である。
Such an operation will be performed in the same way by communication devices C and D, so when frame Fa transmitted by communication device A returns to communication device A after going around the transmission path 3,
On the transmission path 3, a plurality of consecutive frames F a % F d are followed by tokens. In this way, this communication system can use the transmission path 3 extremely efficiently.

通信装置Aは、フレームFaが戻ってくるまでフィルの
送信を続げ、フレームPaがノイズ等により消滅して検
出できない場合、フレーム一巡監視タイマによりフレー
ムPaの消滅を検出して再生中継状態になる。ところが
、このフレーム一巡監視タイマの時間設定値が、前述し
たように、フレームの一巡時間より大きいと、フレーム
Faに続くフレームFbは、通信装置人により破壊され
てしまう。第2図に示す通信システムは、前述と同様な
ことが、通信装置B、C,Dにおいても発生し、結局伝
送路上の7レームとトークンが全て消滅してしまうこと
になる。
Communication device A continues transmitting fills until frame Fa returns. If frame Pa disappears due to noise or the like and cannot be detected, communication device A detects the disappearance of frame Pa using a frame cycle monitoring timer and enters a regenerative relay state. . However, if the time setting value of this frame cycle monitoring timer is larger than the frame cycle time as described above, the frame Fb following frame Fa will be destroyed by the communication device operator. In the communication system shown in FIG. 2, the same thing as described above occurs in communication devices B, C, and D, and all seven frames and tokens on the transmission path end up disappearing.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前記従来技術は、前述したように、フレームの一巡ン監
視するフレーム一巡監視タイマの時間設定値が、実際の
フレーム−逐時間より長いため、伝送路上のフレームと
トークンが全て消滅してしまい1通信が不能になるとい
う問題点乞有する。
As mentioned above, in the conventional technology, the time setting value of the frame cycle monitoring timer that monitors frames cycle by cycle is longer than the actual frame-by-frame time, so all frames and tokens on the transmission path disappear, resulting in one communication. There is a problem that it becomes impossible.

通常、第2図に示すような通信システムにおいて、伝送
路上に接続されている通信装置は、数十台から数百台に
達し、その影響はきわめて大きいものとなる。
Normally, in a communication system as shown in FIG. 2, the number of communication devices connected to the transmission path reaches from several tens to several hundreds, and the influence thereof is extremely large.

本発明の目的は、前述した従来技術の問題点を解決し、
1個のフレームの破壊等の異常によって、他のフレーム
やトークンに影響を与えることのないフレーム通信方式
χ提供することにある。
The purpose of the present invention is to solve the problems of the prior art described above,
To provide a frame communication system χ in which an abnormality such as destruction of one frame does not affect other frames or tokens.

〔問題点ン解決するための手段〕[Means for solving problems]

本発明によれば、前記目的は、各通信装置内に備えられ
るフレーム一巡監視タイマの時間設定値Y、フレームが
伝送路?一巡して戻る時間以下に設定することにより達
成される。
According to the present invention, the purpose is to determine whether the frame is on a transmission path or not, based on the time setting value Y of a frame cycle monitoring timer provided in each communication device. This is achieved by setting the time to be shorter than the time it takes to return once.

〔作 用〕[For production]

フレーム一巡監視タイマの時間設定値は、伝送路に接続
されている全通信装置の遅延時間と伝送路の伝搬遅延時
間の総和以下に設定される。これにより、あるフレーム
が伝送途中で消滅しても。
The time setting value of the frame cycle monitoring timer is set to be less than or equal to the sum of the delay times of all communication devices connected to the transmission path and the propagation delay time of the transmission path. This allows even if a certain frame disappears during transmission.

この消滅したフレーム乞送信した通信装置が、他のフレ
ームやトークンχ破壊することがなくなる。
The communication device that transmitted this erased frame no longer destroys other frames or tokens.

〔実施例〕〔Example〕

以下、本発明によるフレーム通信方式の一実施例を図面
により詳細に説明する。
Hereinafter, one embodiment of the frame communication method according to the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例に用いる通信装置の構成例を示
すブロック図、第4図は本発明の一実施例におけるフレ
ーム送受信動作を説明するタイミング図、第5図1a)
 * tbs stフレーム及びトークンのフォーマッ
トχ説明する図、第6図は一巡時間計測タイマの動作タ
イミング図である。第1図&Cおいて、10はレシーバ
、11.14.23はシフトレジスタ、12は受信FI
FO回路、13は受信パンツアメモリ、15.22に一
!選択回路、16はドライバ、17は送信パックアメモ
リ、18は送信FIFO回路、19はフィル生成回路、
20はデリミタ生成回路、21はトークン生成回路、2
4はトークン検出回路、25はデリミタ検出回路、26
はアドレス抽出回路、2La4sz比較器、28は自局
アドレス設定レジスタ、21”!一巡待時間計測タイマ
30は一定値設定レジスタ、31はALU、32は一巡
監視タイマ、33は設定値レジスタ、35は送信制御部
である。
FIG. 1 is a block diagram showing an example of the configuration of a communication device used in an embodiment of the present invention, FIG. 4 is a timing diagram illustrating frame transmission and reception operations in an embodiment of the present invention, and FIG. 5 is a)
*tbs st frame and token format χ FIG. 6 is an operation timing chart of the one-round time measurement timer. In Figure 1&C, 10 is a receiver, 11.14.23 is a shift register, and 12 is a reception FI.
FO circuit, 13 is receiving panzer memory, 15.22! A selection circuit, 16 a driver, 17 a transmission packer memory, 18 a transmission FIFO circuit, 19 a fill generation circuit,
20 is a delimiter generation circuit, 21 is a token generation circuit, 2
4 is a token detection circuit, 25 is a delimiter detection circuit, 26
is an address extraction circuit, 2La4sz comparator, 28 is a local station address setting register, 21"! One round waiting time measurement timer 30 is a fixed value setting register, 31 is an ALU, 32 is one round monitoring timer, 33 is a set value register, 35 is This is a transmission control section.

本発明による通信方式を用いた通信システムは、従来技
術の場合と同様圧、第2図に示すよ5&C構成され、通
信装置2は、第1図に示すように構成される。
A communication system using the communication method according to the present invention has a 5&C configuration as shown in FIG. 2, as in the case of the prior art, and the communication device 2 is configured as shown in FIG.

第1図に示す通信製!1k−2は、送信要求が発生した
場合、送信バッファメモリ17内(送信データ音セット
した状態で、トークンの受信ン待つ。
Made by Tsushin shown in Figure 1! When a transmission request occurs, 1k-2 waits for a token to be received in the transmission buffer memory 17 (with the transmission data sound set).

この状態で、トークンが伝送路3の上流側から到来シ、
レシーバ10.フットレジスタ11ン介してトークン検
出回路24により検出されると、送信制御回路35は、
これにより起動され送信動作を開始する。送信制御回路
35は、送信バッファメモリ17内圧格納されている送
信データケ、送信FIFO回路18乞介して取り出し、
デリミタ生成回路20からのデリミタを組合わせて、選
択回路22によりフレームの形態忙整え、シフトレジス
タ23.選択回路15.ドライバ16を介して伝送路3
にフレームン送信し、その直後に、トークン生成回路2
1で生成したトークン及びフィル生成回路19で生成し
たフィルを送信する。
In this state, when a token arrives from the upstream side of transmission path 3,
Receiver 10. When detected by the token detection circuit 24 via the foot register 11, the transmission control circuit 35
This activates it and starts the transmission operation. The transmission control circuit 35 takes out the transmission data stored in the transmission buffer memory 17 through the transmission FIFO circuit 18,
The delimiters from the delimiter generation circuit 20 are combined, the selection circuit 22 arranges the frame format, and the shift register 23 . Selection circuit 15. Transmission line 3 via driver 16
Immediately after, the token generation circuit 2
The token generated in step 1 and the fill generated by the fill generation circuit 19 are transmitted.

このフレームとトークンのフォーマットを第5図1ad
、 lb)に示す。
The format of this frame and token is shown in Figure 5 1ad.
, lb).

フレーム5は、第5図1alに示すように、フレームの
区切りχ示す開始デリミタ51と終了デリミタ57、ア
クセス制御フィールド52、宛先通信装置のアドレスを
示す宛先アドレスフィールド53、送信元の通信装置の
アドレスを示す送信元アト0レスフイールド54、情報
フィールド55及びフレームチエツクシーケンスフィー
ルド56により構成される。また、トークン6は、第5
図1b)に示すように、フレーム5と同様な開始デリミ
タ51と終了デリミタ57Y:有し、さらに、トークン
であることを示す制御フィールド52Y有して構成され
ている。
As shown in FIG. 5 1al, the frame 5 includes a start delimiter 51 and an end delimiter 57 indicating the frame delimiter χ, an access control field 52, a destination address field 53 indicating the address of the destination communication device, and an address of the source communication device. It consists of a source address field 54, an information field 55, and a frame check sequence field 56. Also, token 6 is the fifth
As shown in FIG. 1b), it has a start delimiter 51 and an end delimiter 57Y similar to frame 5, and further includes a control field 52Y indicating that it is a token.

通信装置2は、前述のようにして送信したフレームが伝
送路を一巡して戻ったことを検出するか、71ノーム消
滅χ検出するとフィル送信χ停止し、上流側伝送路から
レフ−パー10Y介して受信した信号tシフトレジスタ
14、選択回路15、ドライバ16を介して下流側伝送
路に送出する再生中継状態となる。次に、この場合の動
作ン説明する。
When the communication device 2 detects that the frame transmitted as described above has gone around the transmission path and returned, or when it detects the disappearance of the 71 norm χ, it stops the fill transmission χ and transmits the frame from the upstream transmission path via the reflector 10Y. A regenerative relay state is entered in which the received signal t is transmitted to the downstream transmission path via the shift register 14, selection circuit 15, and driver 16. Next, the operation in this case will be explained.

通信装置2は、前述した自装置からのデータ送信のため
のフレーム送信後、上流側の伝送路3からレシーバ−1
0,シフトレジスタ11ン介して受信される受信フレー
ムの送信元アドレスフィールド54ンアドレス抽出回路
26で抽出し、予め端末装置1により設定されている自
局アドレス設定レジスタ28内のアドレスと、抽出され
た送信元アドレスとン比較器27で比較し、一致が得ら
れたとき、フレームの一巡χ検出する。また1通信装置
2は、前述のフレーム送信時、フレーム5の終了デリミ
タ57の送信時に、一巡監視タイマ31’起勧している
ので、この一巡監視タイマ32の値と、フレーム消滅検
出時間が設定されている設定値レジスタ33の値が一致
したとき、フレームの消滅ン検出する。
After transmitting a frame for data transmission from the communication device 2 described above, the communication device 2 transmits a frame from the upstream transmission path 3 to the receiver 1.
0, the source address field 54 of the received frame received through the shift register 11 is extracted by the address extracting circuit 26, and the address in the local address setting register 28 set in advance by the terminal device 1 and the extracted address are A comparator 27 compares the received source address with the received source address, and when a match is found, one round of the frame is detected. Also, since the first communication device 2 activates the one-cycle monitoring timer 31' when transmitting the end delimiter 57 of the frame 5 as described above, the value of this one-cycle monitoring timer 32 and the frame extinction detection time are set. When the values in the set value register 33 match, erasure of the frame is detected.

フレーム消滅の検出時間は、予めシステム内の通信装置
の数、伝送路長から算出し初期設定しておく方法がある
が、この方法は、通信装置の数が変更になった場合に、
実際のフレームの一巡時間より、設定時間が長くなり、
消滅したフレームの後に続く他のフレームやトークンが
破壊されることがある。
There is a method of calculating and initializing the frame erasure detection time in advance from the number of communication devices in the system and the transmission path length, but this method does not work when the number of communication devices changes.
The setting time will be longer than the actual frame cycle time.
Other frames and tokens following the destroyed frame may be destroyed.

そこで、本発明の実施例では、フレームの一巡時間を計
測し、設定値レジスタ33にフレーム消滅検出時間χ設
定することとする。すなわち、フレームの一巡時間の計
測は、フレームの送信動作釦おいて、フレームの送信元
アドレスフィールド54の送信時に、−逐時間計測タイ
マ29’Y起勧し、フレームの一巡を比較器27が検出
したときに、−遅時間計測タイマ29を停止させること
により行う。
Therefore, in the embodiment of the present invention, the time for one round of frames is measured, and the frame extinction detection time χ is set in the set value register 33. That is, to measure the frame cycle time, when the frame transmission operation button is pressed and the frame transmission source address field 54 is transmitted, the sequential measurement timer 29'Y is activated, and the comparator 27 detects the frame cycle. This is done by stopping the - slow time measurement timer 29 when this occurs.

この−遅時間計測タイマ29の起動、停止動作乞第6図
に示すタイミ1グ図により説明する。
The starting and stopping operations of the slow time measuring timer 29 will be explained with reference to the timing diagram shown in FIG.

送信制御部35は、トークン検出回路24からのトーク
ン検出信号により、前述のようにフレームの送信を開始
し、そのフレームの送信元アドレスフィールド54を送
信したとき、−遅時間計測タイマ29に対して起動ン指
令する。これにより、−術時間計測タイマ29は、経過
時間の計測を開始する。前述で送信したフレームが伝送
路χ一巡して受信され、アドレス抽出回路26で抽出さ
れたアドレスが、予め自局アドレス設定レジスタ28に
設定されたアドレスと一致することが、比較器27によ
り検出されると、この検出信号により、−遅時間計測タ
イマ29は、時間計測動作ン停止する。この計測された
。フレームの一巡時間は、ALU31により、予め一定
値設定レジスタに設定しである一定値が減算され、この
減算され。
The transmission control unit 35 starts transmitting a frame as described above in response to the token detection signal from the token detection circuit 24, and when transmitting the source address field 54 of the frame, - to the delay time measurement timer 29. Give a start-up command. As a result, the surgical time measurement timer 29 starts measuring the elapsed time. The frame transmitted above is received after going around the transmission path χ, and the comparator 27 detects that the address extracted by the address extraction circuit 26 matches the address set in advance in the local address setting register 28. Then, this detection signal causes the slow time measurement timer 29 to stop its time measurement operation. This was measured. The ALU 31 subtracts a certain value set in advance in a constant value setting register from the frame cycle time.

た結果が、フレーム消滅検出時間として、設定値レジス
タ33に設定される。一定値設定レジスタ30に予め設
定される一定値は、設定値レジスタ33に設定するフレ
ーム消滅検出時間が、フレームyx送信してから、フレ
ームの情報フィールド55から終了デリミタ570間が
一巡して戻ってくる時間となるように設定することが望
ましい。
The result is set in the setting value register 33 as the frame erasure detection time. The constant value set in advance in the constant value setting register 30 is determined by the frame erasure detection time set in the setting value register 33 after the frame yx is transmitted and then the period from the information field 55 of the frame to the end delimiter 570 goes around and returns. It is desirable to set the time so that the

このようにして算出したフレーム消滅検出時間ン設定値
レジスタ33に設定した場合のフレームの送受信動作ン
第4図により説明する。
The frame transmitting/receiving operation when the frame erasure detection time calculated in this way is set in the setting value register 33 will be explained with reference to FIG.

本発明が適用される第2図に示すような通信システムに
おいて、各通信装置A−DKフレーム送信要求が発生し
、最初に通信装置Aがトークン乞獲得したものとする。
In a communication system as shown in FIG. 2 to which the present invention is applied, it is assumed that each communication device A-DK frame transmission request is generated and the communication device A obtains a token first.

通信装置Aは、このトークンの獲得にエリ、自装置から
送信するデータ乞のせたフレームFay!/送信し、そ
のフレームFa。
In order to acquire this token, communication device A sends a data request frame Fay! from its own device. /transmits that frame Fa.

後にトークン及びフィルを送信する。そして、通信装置
Faは、送出したフレームFaの終了デリミタ57の送
出時に、一巡監視タイマ32ケ起動しておく。他の通信
装置B−Dは、前述した通信装置人と全く同様に動作し
、伝送路3の上流側に接続されている端末装置からのト
ークンン獲得して、フレームの送信ン行う。通信装置A
は、その後、自装置から送信したフレームPaが一巡し
て戻るのン監視するが、フレームFaが伝送中に消滅す
ると、一巡監視タイマ32の値が、設定値レジスタ33
に設定されているフレーム消滅検出時間と一致したこと
ン検出する比較器34の一致出力により、フレームの消
滅ン検出し、フィルの送信ン停止し再生中継状態となる
。設定値レジスタ33に設定されているフレーム消滅検
出時間は、前述したように、実際の7レ一ムー巡時間よ
り小さく設定されているので、フレームFaに続く、他
の通信装置B−Dから送られるフレームFb。
Then send the token and fill. Then, when the communication device Fa sends the end delimiter 57 of the sent frame Fa, the communication device Fa activates the one-cycle monitoring timer 32. The other communication devices BD operate in exactly the same manner as the communication device described above, acquire tokens from terminal devices connected upstream of the transmission path 3, and transmit frames. Communication device A
Thereafter, the device monitors the frame Pa transmitted from its own device as it goes around and returns, but if the frame Fa disappears during transmission, the value of the one-round monitoring timer 32 changes to the setting value register 33.
According to the coincidence output of the comparator 34, which detects when the frame erasure detection time coincides with the frame erasure detection time set in , frame erasure is detected, the transmission of the fill is stopped, and a reproducing relay state is entered. As mentioned above, the frame erasure detection time set in the setting value register 33 is set to be smaller than the actual 7-frame cycle time, so the frame erasure detection time set in the setting value register 33 is set to be smaller than the actual 7-frame cycle time. frame Fb.

Fc、Fd及びトークンは、通信装置Aで破壊されるこ
となく再生中継される。
Fc, Fd, and the token are reproduced and relayed by communication device A without being destroyed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、ループ通信シス
テムにおいて、1つのフレームの消滅等の障害によって
、他のフレームやトークンが影響を受けることがなくな
るため、システムの信頼性の向上を図ることができると
ともに、システムのスループットの向上ン図ることがで
きる。
As explained above, according to the present invention, in a loop communication system, a failure such as disappearance of one frame will not affect other frames or tokens, so that the reliability of the system can be improved. At the same time, the throughput of the system can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例に用いる通信装置の構成例を示
すブロック図、第2図はループ通信システムの一構成例
を示すブロック図、第3図は従来技術によるフレーム送
受信動作ン説明するタイミング図、第4図は本発明の一
実施例におけるフレーム送受信動作ン説明するタイミン
グ図、第5図1al 、 Ibl 慣フレーム及びトー
クンのフォーマツトン説明する図、第6図は一巡時間計
測タイマの動作タイミング図である。 1・・・・・・端末装置、2・・・・・・通信装置、3
・・・・・・伝送路、4・・・・・・バス、5・・・・
・・フレーム、6・・・・・・トークン、10・・・・
・・レシーバ、11,14.23・・・・・・シフトレ
ジスタ、12・・・・・・受信FIFO回路、13・・
・・・・受信バッファメモリ、15.22・・・・・・
選択回路、16・・・・・・ドライバ、17・・・・・
・送信バッファメモリ、18・・・・・・送信FLFO
回路、19・・・・・・フィル生成回路、20・・・・
・・デリミタ生成回路、21・・・・・・トークン生成
回路、24・・・・・・トークン検出回路、25・・・
・・・デリミタ検出回路、26・・・・・・アドレス抽
出回路、27.34・・・・・・比較器、28・・・・
・・自局アドレス設定レジスタ、29・・・・・・−遅
時間計測タイマ、30・・・・・・一定値設定レジスタ
、31・・・・・・ALU、32・・・・・・一巡監視
タイマ、33・・・・・・設定値レジスタ、35・・・
・・・送信制御部。 12!1 ! 3二送j乏ζ、定曖ト 4:lNlス く     −00 Q       CQ        (J     
   Q第5図 (Q) (b)
FIG. 1 is a block diagram showing an example of the configuration of a communication device used in an embodiment of the present invention, FIG. 2 is a block diagram showing an example of the configuration of a loop communication system, and FIG. 3 explains frame transmission and reception operations according to the prior art. 4 is a timing diagram explaining the frame transmission/reception operation in an embodiment of the present invention; FIG. 5 is a diagram explaining the format of frames and tokens; FIG. 6 is the operation of the one-cycle time measurement timer. FIG. 1...Terminal device, 2...Communication device, 3
...Transmission line, 4...Bus, 5...
...Frame, 6...Token, 10...
...Receiver, 11, 14.23...Shift register, 12...Reception FIFO circuit, 13...
...Receive buffer memory, 15.22...
Selection circuit, 16... Driver, 17...
・Transmission buffer memory, 18...Transmission FLFO
Circuit, 19...Fill generation circuit, 20...
... Delimiter generation circuit, 21 ... Token generation circuit, 24 ... Token detection circuit, 25 ...
... Delimiter detection circuit, 26 ... Address extraction circuit, 27.34 ... Comparator, 28 ...
... Own station address setting register, 29 ... - slow time measurement timer, 30 .... constant value setting register, 31 ..... ALU, 32 ..... round Monitoring timer, 33... Setting value register, 35...
...Transmission control section. 12!1! 3 2nd j deficiency
QFigure 5 (Q) (b)

Claims (1)

【特許請求の範囲】 1、複数の通信装置をループ状伝送路に接続し、フレー
ムの送信権であるトークンを獲得した通信装置のみがフ
レームを送信し、フレーム送信直後にトークンを送信す
るループ通信システムにおいて、前記通信装置は、自装
置が送信したフレームが伝送路を一巡することを監視す
るフレーム一巡監視タイマを備え、該タイマの設定値は
、フレーム一巡時間以下に設定されることを特徴とする
フレーム通信方式。 2、前記フレーム一巡監視タイマの設定値は、前記ルー
プ状伝送路の伝搬遅延時間と、伝送路に接続された通信
装置における遅延時間の和以下に設定されることを特徴
とする特許請求の範囲第1項記載のフレーム通信方式。 3、前記通信装置は、自装置が送信したフレームが伝送
路を一巡するに要する時間を計測する手段を備え、前記
フレーム一巡監視タイマの設定値を、前記計測した時間
以下に設定することを特徴とする特許請求の範囲第1項
記載のフレーム通信方式。
[Claims] 1. Loop communication in which a plurality of communication devices are connected to a loop-shaped transmission path, and only the communication device that has acquired a token, which is the right to transmit a frame, transmits a frame, and the token is transmitted immediately after transmitting the frame. In the system, the communication device is equipped with a frame cycle monitoring timer that monitors whether the frame transmitted by the communication device makes one cycle on the transmission path, and the set value of the timer is set to a frame cycle time or less. frame communication method. 2. The set value of the frame cycle monitoring timer is set to be less than or equal to the sum of the propagation delay time of the loop-shaped transmission path and the delay time of a communication device connected to the transmission path. The frame communication method described in Section 1. 3. The communication device is equipped with a means for measuring the time required for a frame transmitted by the communication device to travel around the transmission path, and sets a set value of the frame round monitoring timer to be equal to or less than the measured time. A frame communication method according to claim 1.
JP62289379A 1987-11-18 1987-11-18 Frame communication system Pending JPH01132244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62289379A JPH01132244A (en) 1987-11-18 1987-11-18 Frame communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62289379A JPH01132244A (en) 1987-11-18 1987-11-18 Frame communication system

Publications (1)

Publication Number Publication Date
JPH01132244A true JPH01132244A (en) 1989-05-24

Family

ID=17742450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62289379A Pending JPH01132244A (en) 1987-11-18 1987-11-18 Frame communication system

Country Status (1)

Country Link
JP (1) JPH01132244A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010051038A (en) * 2009-12-03 2010-03-04 Mitsubishi Electric Corp Communication node, and ring establishment confirmation method of communicating system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59158161A (en) * 1983-02-14 1984-09-07 プライム・コンピュータ・インコーポレイテッド Method and device for detecting and reproducing erased tokenin data communication network based on token
JPS59202755A (en) * 1983-05-02 1984-11-16 Shinko Electric Co Ltd Loop type data transmitting system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59158161A (en) * 1983-02-14 1984-09-07 プライム・コンピュータ・インコーポレイテッド Method and device for detecting and reproducing erased tokenin data communication network based on token
JPS59202755A (en) * 1983-05-02 1984-11-16 Shinko Electric Co Ltd Loop type data transmitting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010051038A (en) * 2009-12-03 2010-03-04 Mitsubishi Electric Corp Communication node, and ring establishment confirmation method of communicating system

Similar Documents

Publication Publication Date Title
US4787083A (en) Bus-method communication network system capable of seizing transmission right by using timer means at each station
US4494233A (en) Method and apparatus for the detection and regeneration of a lost token in a token based data communications network
GB2201566A (en) Data transmission
JPH0666806B2 (en) Token ring transmission method
JPH11313094A (en) Supervisory system of ring type network
JPH01132244A (en) Frame communication system
JPS60246148A (en) Data transmission control system
JPH05244160A (en) Bridge device having frame deleting function
US6178177B1 (en) Data-processing network having non-deterministic access, but having deterministic access time
JP2944837B2 (en) Transmission method
JP3108480B2 (en) Interrupt processing method for multiplex transmission system
JP3189571B2 (en) Data processing device
JP2740961B2 (en) Data communication control method and device
JP3713934B2 (en) Token pass data transfer system
JP2714624B2 (en) Data transmission equipment
JP2733950B2 (en) Token ring controller
JPH07177166A (en) Packet transmission system for token passing system
JPS61230447A (en) Test system of loop network
JPS61253950A (en) Network control system
JPH10164105A (en) Equipment and method for communication
JPS6021651A (en) Network system
JPS60117845A (en) Data transmission system
JPH07297852A (en) Network equipment
JPS60117846A (en) Data transmission system
JPH0144063B2 (en)