JPH04364626A - Private communication equipment - Google Patents

Private communication equipment

Info

Publication number
JPH04364626A
JPH04364626A JP3139361A JP13936191A JPH04364626A JP H04364626 A JPH04364626 A JP H04364626A JP 3139361 A JP3139361 A JP 3139361A JP 13936191 A JP13936191 A JP 13936191A JP H04364626 A JPH04364626 A JP H04364626A
Authority
JP
Japan
Prior art keywords
data
collision
output
detection means
terminal
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
JP3139361A
Other languages
Japanese (ja)
Inventor
Hideyuki Sakata
坂田 秀幸
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3139361A priority Critical patent/JPH04364626A/en
Publication of JPH04364626A publication Critical patent/JPH04364626A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent violation against rules by suitably preventing it that a data whose length is less than the specified length is sent to a LAN transmission line. CONSTITUTION:A collision detection circuit 5 sets an output of a D-FF 6 to an H level when two outputs or more of carrier sense circuits 1-3 reach an H level. Then when all outputs of the carrier sense circuits 1-3 reach an L level, an OR gate 4 is used to reset an output of the D-FF 6 to an L level. A reset pulse generator 8 outputs a reset pulse of a first come priority circuit 10 synchronously with the falling of the output of the OR gate 4 to reset the first come priority circuit 10. Moreover, a collision data generated by a collision data generator 9 is sent to collision display lines C1-C3 while an output of the D-FF 6 is at an H level.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、接続された複数の端末
のそれぞれから出力されたデータを、CSMA/CD(
 carrier sense multiple a
ccess/collision detection
 )方式でローカルエリアネットワーク(LAN)に送
出する構内通信機に関する。
[Industrial Application Field] The present invention provides data output from each of a plurality of connected terminals to a CSMA/CD (CSMA/CD).
carrier sense multiple a
ccess/collision detection
) method for transmitting data to a local area network (LAN).

【0002】0002

【従来の技術】まず、図3を参照して従来の構内通信機
(いわゆる、多ポートトランシーバ)における衝突監視
制御につき説明する。
2. Description of the Related Art First, collision monitoring control in a conventional local area communication device (so-called multi-port transceiver) will be explained with reference to FIG.

【0003】まず、端末AがトランシーバケーブルL1
内の送信線S1を介してデータを多ポートトランシーバ
(以下、トランシーバと称する)Dに送ると、トランシ
ーバDはそのデータをLAN伝送路に送出する。またト
ランシーバDは送信線S1を介して送られたデータを、
トランシーバケーブルL1,L2,L3内の受信線R1
,R2,R3のそれぞれを介して端末A,B,Cのそれ
ぞれに返送する。
First, terminal A connects transceiver cable L1
When data is sent to a multi-port transceiver (hereinafter referred to as a transceiver) D via a transmission line S1 within the LAN, the transceiver D sends the data to a LAN transmission line. Transceiver D also receives data sent via transmission line S1,
Receiving line R1 in transceiver cables L1, L2, L3
, R2, and R3 to terminals A, B, and C, respectively.

【0004】データの出力を行っていない端末B,Cは
、このように受信線R2,R3を介してデータが返送さ
れている場合には、他の端末がデータ送信中であるので
データの出力を行わない。そして端末B,Cは送信すべ
きデータがある場合には、端末Aの送信が終了し、受信
線R2,R3を介してのデータの返送がなくなったのち
にデータの送出を行う。従って、通常は2つ以上の端末
がデータの送出を同時に行う状態、すなわち衝突は生じ
ないシステムとなっている。
[0004] Terminals B and C, which are not outputting data, cannot output data because the other terminals are transmitting data when data is being sent back via the receiving lines R2 and R3. Do not do this. If terminals B and C have data to transmit, they transmit the data after terminal A has finished transmitting and data is no longer returned via receiving lines R2 and R3. Therefore, the system is normally in a state where two or more terminals transmit data at the same time, that is, no collision occurs.

【0005】ところで、例えば端末Aから送出されたデ
ータがトランシーバDを介して端末B,Cに到達するま
でには若干の時間(例えば0.5μs)がかかる。また
各端末A〜Cでは受信線R1〜R3を介してデータが伝
送されているか否かの検出を行っているが、この検出は
データが到来してから若干の時間(例えば1μs)を要
する。つまり、端末Aがデータの送出を開始してから端
末B,Cが端末Aがデータ送出中であることを知るまで
には若干の時間(例えば1.5μs)を要する。従って
、この期間は端末B,Cはデータの送出が可能である期
間と認識しており、データの送出を開始してしまうと衝
突が発生してしまう。
By the way, for example, it takes some time (for example, 0.5 μs) for data sent from terminal A to reach terminals B and C via transceiver D. Each of the terminals A to C detects whether or not data is being transmitted via the receiving lines R1 to R3, but this detection requires some time (for example, 1 μs) after the data arrives. That is, it takes some time (for example, 1.5 μs) after terminal A starts transmitting data until terminals B and C learn that terminal A is transmitting data. Therefore, terminals B and C recognize this period as a period in which they can send data, and if they start sending data, a collision will occur.

【0006】トランシーバDは先着優先回路を有してお
り、先に到来したデータを送出している端末のデータを
選択し、他の端末のデータは遮断するものとなっている
ため、破壊されたデータをLAN伝送路に送出してしま
うことはない。また衝突の発生を監視しており、以上の
ように衝突が発生した場合にはトランシーバケーブルL
1,L2,L3内の衝突表示線C1,C2,C3を介し
て衝突データを送出し、各端末A〜Cにデータ送出を停
止させるものとなっており、衝突の解消を行うことがで
きるものとなっている。
[0006] Transceiver D has a first-come, first-served priority circuit that selects the data of the terminal that is transmitting the data that arrived first, and blocks the data of other terminals, so it is not destroyed. Data is never sent to the LAN transmission line. In addition, we monitor the occurrence of collisions, and if a collision occurs as described above, the transceiver cable
1, L2, and L3 through collision display lines C1, C2, and C3, each terminal A to C is configured to stop sending data, and is capable of resolving the collision. It becomes.

【0007】ところが、LANにおいては少なくとも規
定長(例えば96ビット)のデータを連続して送出する
ことが規定されており、各端末A〜Cは衝突データを受
けた後でも規定長の出力が終了するまではデータを出力
し続ける。このとき、先にデータ出力を開始した端末の
データ出力が先に終了する。このように一方の端末のデ
ータ出力が終了すると、トランシーバ5では衝突が解消
されたと判断し、衝突データの送出を停止するとともに
、先着優先回路をリセットして以降のデータ送出に備え
る。しかしこのとき、後にデータ出力を開始した端末の
データ出力は継続中であるため、先着優先回路ではこの
データが選択され、LAN伝送路へと送出される。ここ
で後にデータ出力を開始した端末が出力するデータ量は
先にデータ出力を開始した端末と同量であるから、後に
データ出力を開始した端末が出力するデータの残量は、
出力開始時間の差分に対応するデータ量である。つまり
、規定長に満たないデータ量のデータがLAN伝送路に
送出されてしまうことになる。
However, in a LAN, it is specified that data of at least a specified length (for example, 96 bits) is to be transmitted continuously, and each terminal A to C does not finish outputting the specified length even after receiving the conflicting data. Data will continue to be output until At this time, the data output of the terminal that started data output first ends first. When the data output from one terminal is completed in this manner, the transceiver 5 determines that the collision has been resolved, stops transmitting the collision data, and resets the first-come, first-served priority circuit to prepare for subsequent data transmission. However, at this time, since the terminal that started data output later is still outputting data, the first-come-first-served priority circuit selects this data and sends it out to the LAN transmission line. Here, the amount of data output by the terminal that started data output later is the same amount as the terminal that started data output first, so the remaining amount of data output by the terminal that started data output later is
This is the amount of data corresponding to the difference in output start time. In other words, data whose amount is less than the specified length will be sent to the LAN transmission path.

【0008】[0008]

【発明が解決しようとする課題】以上のように従来の構
内通信機では、2つの端末が同時にデータの出力を行っ
ていることをもって衝突としているため、一方の端末の
データ出力が終了したのちに規定の長さに満たないデー
タをLAN伝送路に送出してしまい、規定に違反してし
まうという不具合があった。
[Problem to be Solved by the Invention] As described above, in conventional local communication equipment, since two terminals outputting data at the same time is regarded as a collision, the problem occurs when one terminal finishes outputting data. There was a problem in that data that was less than the specified length was sent to the LAN transmission line, violating the regulations.

【0009】本発明はこのような事情を考慮してなされ
たものであり、その目的とするところは、規定の長さに
満たないデータをLAN伝送路に送出することを適確に
防止し、規定に違反することを防止できる構内通信機を
提供することにある。
[0009] The present invention has been made in consideration of such circumstances, and its purpose is to appropriately prevent data shorter than a specified length from being sent to a LAN transmission line, The purpose of the present invention is to provide a local communication device that can prevent violations of regulations.

【0010】0010

【課題を解決するための手段】第1の発明は、複数の通
信端末のそれぞれに対応して設けられ、対応する通信端
末のデータ出力の有無を検出する例えばキャリアセンス
回路などのデータ入力検出手段と、この出力検出手段の
それぞれの検出結果に基づいて衝突の発生を検出する例
えば衝突検出回路などの衝突検出手段と、前記データ入
力検出手段のそれぞれの検出結果に基づいて前記複数の
通信端末の全てがデータ未出力であることを検出する例
えばORゲートなどの未出力検出手段とを備え、前記衝
突検出手段により衝突の検出がなされたのち、前記未出
力検出手段により前記複数の通信端末の全てがデータ未
出力であることが検出されたことに応じて、リセットが
なされるまでは前記複数の通信端末のうちの最初にデー
タ出力を行ったものの出力データのみを前記ローカルエ
リアネットワークに送出するデータとして選択し、他の
通信端末の出力データは遮断する例えば先着優先回路な
どの先着データ選択手段のリセットを行うようにした。
[Means for Solving the Problems] A first invention provides a data input detection means, such as a carrier sense circuit, which is provided corresponding to each of a plurality of communication terminals and detects the presence or absence of data output from the corresponding communication terminal. a collision detection means, such as a collision detection circuit, which detects the occurrence of a collision based on the detection results of each of the output detection means; and a collision detection means of the plurality of communication terminals based on the detection results of each of the data input detection means. and non-output detection means such as an OR gate for detecting that all of the communication terminals have not output data, and after the collision detection means detects a collision, the non-output detection means detects that all of the plurality of communication terminals have not output data. In response to the detection that data has not been output yet, only the output data of the first one of the plurality of communication terminals to output data is sent to the local area network until a reset is performed. For example, a first-come-first-served priority circuit or other first-come-first-served data selection means is reset to select a first-come-first-served basis and block output data from other communication terminals.

【0011】第2の発明は上記第1の発明に加えて、前
記衝突検出手段により衝突の検出がなされたのち、前記
未出力検出手段により複数の通信端末の全てがデータ未
出力であることが検出されるまでの間、衝突が発生中で
ある旨を知らせるための例えば衝突データなどの所定の
情報を前記複数の通信端末に対して与えるようにした。
[0011] In addition to the first invention, a second invention is characterized in that after the collision is detected by the collision detection means, the non-output detection means detects that all of the plurality of communication terminals are not outputting data. Until the collision is detected, predetermined information such as collision data is provided to the plurality of communication terminals to notify that a collision is occurring.

【0012】0012

【作用】第1の発明によれば、リセットがなされるまで
は前記複数の通信端末のうちの最初にデータ出力を行っ
たものの出力データのみを前記ローカルエリアネットワ
ークに送出するデータとして選択し、他の通信端末の出
力データは遮断する例えば先着優先回路などの先着デー
タ選択手段のリセットが、衝突検出手段により衝突の検
出がなされたのち、前記未出力検出手段により前記複数
の通信端末の全てがデータ未出力であることが検出され
たことに応じてなされる。
[Operation] According to the first invention, until a reset is performed, only the output data of the first one of the plurality of communication terminals to output data is selected as the data to be sent to the local area network, and the other For example, after the first-arrival data selection means such as the first-come-first-served priority circuit is reset, and the collision detection means detects a collision, the output data of all the communication terminals are cut off by the non-output detection means. This is done in response to detection that no output has been made.

【0013】従って、実際に衝突が発生している期間に
は拘らずに、衝突発生時にデータ出力を行っていた端末
のデータ出力が全て終了してから先着データ選択手段の
リセットがなされて先着の待受状態となる。
Therefore, regardless of the period during which the collision actually occurs, the first-arrival data selection means is reset after all data output from the terminal that was outputting data at the time of the collision is completed, and the first-arrival data selection means is reset. The device enters standby mode.

【0014】第2の発明によればさらに、前記衝突検出
手段により衝突の検出がなされたのち、前記未出力検出
手段により複数の通信端末の全てがデータ未出力である
ことが検出されるまでの間、衝突が発生中である旨を知
らせるための例えば衝突データなどの所定の情報を前記
複数の通信端末に対して与えられる。従って、実際に衝
突が発生している期間以外でも、衝突発生時にデータ出
力を行っていた端末のデータ出力が継続している間は衝
突中であるとして扱われる。
According to the second aspect of the present invention, after the collision is detected by the collision detection means, until the non-output detection means detects that all of the plurality of communication terminals are not outputting data. During this time, predetermined information such as collision data is provided to the plurality of communication terminals to notify that a collision is occurring. Therefore, even when a collision is not actually occurring, as long as the terminal that was outputting data at the time of the collision continues to output data, it is treated as a collision.

【0015】[0015]

【実施例】以下、図面を参照して本発明の一実施例につ
き説明する。図1は本実施例に係る構内通信機(多ポー
トトランシーバ)の構成を示すブロック図である。なお
ここでは、図3に示すように3つの端末A〜Cが接続さ
れるトランシーバを例示し、トランシーバと端末および
LAN伝送路との接続状態は図3に準ずる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a local area communication device (multiport transceiver) according to this embodiment. Here, as shown in FIG. 3, a transceiver to which three terminals A to C are connected is illustrated, and the connection state between the transceiver, the terminals, and the LAN transmission path is similar to that in FIG. 3.

【0016】図中、1,2,3はキャリアセンス回路で
ある。このキャリアセンス回路1〜3は、送信線S1〜
S3を介してデータが到来しているか否かをそれぞれ検
出する。キャリアセンス回路1〜3は、データの到来を
検出しているときにはHレベルを出力する。キャリアセ
ンス回路1〜3の出力はORゲート4および衝突検出回
路5に入力される。
In the figure, 1, 2, and 3 are carrier sense circuits. These carrier sense circuits 1 to 3 include transmission lines S1 to
Whether or not data has arrived is detected via S3. The carrier sense circuits 1 to 3 output an H level when detecting the arrival of data. The outputs of carrier sense circuits 1 to 3 are input to OR gate 4 and collision detection circuit 5.

【0017】衝突検出回路5は、キャリアセンス回路1
〜3の検出結果に基づき、衝突の発生を検出する。衝突
検出回路5は、衝突を検出した場合にはHレベルを出力
する。
Collision detection circuit 5 includes carrier sense circuit 1
Based on the detection results of steps 3 to 3, the occurrence of a collision is detected. The collision detection circuit 5 outputs an H level when a collision is detected.

【0018】6はD−フリップフロップ回路(以下、D
−FFと称する)である。このD−FF6のデータ入力
端子にはHレベルが接続されている。またクロック端子
には衝突検出回路5の出力が、さらにリセット端子には
ORゲート4の出力がそれぞれ入力される。そしてD−
FF6の出力は、ANDゲート7の一方の入力端に入力
される。
6 is a D-flip-flop circuit (hereinafter referred to as D
-FF). The H level is connected to the data input terminal of this D-FF6. Further, the output of the collision detection circuit 5 is input to the clock terminal, and the output of the OR gate 4 is input to the reset terminal. And D-
The output of FF6 is input to one input terminal of AND gate 7.

【0019】ANDゲート7の他方の入力端には、衝突
データ発生器9の出力が入力される。衝突データ発生器
9は所定パターンの衝突データを出力するものであり、
ANDゲート7はこの衝突データ発生器9から出力され
た衝突データの出力をD−FF6の出力に応じてオン/
オフする。ANDゲート7の出力は、衝突表示線C1〜
C3に送出される。
The output of the collision data generator 9 is input to the other input terminal of the AND gate 7. The collision data generator 9 outputs a predetermined pattern of collision data,
The AND gate 7 turns on/off the output of the collision data output from the collision data generator 9 according to the output of the D-FF 6.
Turn off. The output of the AND gate 7 is the collision display line C1~
Sent to C3.

【0020】リセットパルス発生器8は、ORゲート4
の出力の立下りに同期して所定のリセットパルスを発生
する。リセットパルス発生器8の出力は、先着優先回路
10に入力される。
The reset pulse generator 8 is connected to the OR gate 4
A predetermined reset pulse is generated in synchronization with the fall of the output. The output of the reset pulse generator 8 is input to a first-come, first-served priority circuit 10.

【0021】先着優先回路10は、送信線S1〜S3の
うちの最初にデータが到来したものを選択し、この選択
した送信線を介して伝送されたデータのみをデータ送出
部11へと与えるとともに、受信線R1〜R3へと送出
する。なおその他の送信線を介して伝送されたデータは
遮断する。先着優先回路10は、送信線S1〜S3のう
ちの1つを選択している状態から先着の待受を行う状態
への動作リセットはリセットパルス発生器8で発生され
たリセットパルスによって行う。データ送出部11は、
先着優先回路10から出力されたデータのLAN伝送路
への送出処理を行う。次に以上のように構成されたトラ
ンシーバの動作を図2に示すタイムチャートを参照して
説明する。
The first-come-first-served priority circuit 10 selects the transmission line S1 to S3 on which data arrives first, and supplies only the data transmitted via the selected transmission line to the data transmission section 11. , to the receiving lines R1 to R3. Note that data transmitted via other transmission lines will be blocked. The first-come-first-served priority circuit 10 uses a reset pulse generated by the reset pulse generator 8 to reset the operation from the state in which one of the transmission lines S1 to S3 is selected to the state in which it waits for the first-come-first-served line. The data sending unit 11 is
The data output from the first-come, first-served priority circuit 10 is sent to the LAN transmission line. Next, the operation of the transceiver configured as above will be explained with reference to the time chart shown in FIG.

【0022】まず、端末Aがデータの出力を開始し(図
2中のT1時点)、送信線S1を介してデータが到来す
ると、先着優先回路10は送信線S1を選択し、送信線
S1を介して伝送されるデータをデータ送出部11へと
与える。これによりデータ送出部11からLAN伝送路
へは端末Aから出力されたデータが送出される。
First, when terminal A starts outputting data (at time T1 in FIG. 2) and data arrives via transmission line S1, first-come-first-served priority circuit 10 selects transmission line S1 and The data transmitted via the data transmitter 11 is given to the data transmitter 11. As a result, the data output from terminal A is sent from the data sending section 11 to the LAN transmission path.

【0023】またT1時点においては、キャリアセンス
回路1からの出力はHレベルとなる。このようにキャリ
アセンス回路1の出力がHレベルとなると、ORゲート
4の出力もHレベルとなる。衝突検出回路5も一つの入
力がHレベルとなるが、衝突検出回路5は2つ以上の入
力がHレベルとなったことをもって衝突の発生を検出す
るものとなっており、その出力は変化しない。
Further, at time T1, the output from the carrier sense circuit 1 becomes H level. When the output of the carrier sense circuit 1 becomes H level in this way, the output of the OR gate 4 also becomes H level. Although one input of the collision detection circuit 5 also becomes H level, the collision detection circuit 5 detects the occurrence of a collision when two or more inputs become H level, and its output does not change. .

【0024】この状態において、端末Aがデータの送出
を開始してから端末B,Cが端末Aがデータ送出中であ
ることを知ることができる前の時点(図2中のT2時点
)に端末Bがデータの出力を開始すると、キャリアセン
ス回路2の出力がHレベルとなる。これにより衝突検出
回路5は2つの入力がHレベルとなるから、衝突の発生
と認識して出力をHレベルとする。衝突検出回路5の出
力がHレベルとなると、D−FF6の出力もHレベルと
なる。これにより、ANDゲート7が開状態となり、衝
突データ発生器9から発生された衝突データが衝突表示
線C1〜C3へと送出され、端末A〜Cに衝突の発生が
通知される。なお先着優先回路10は送信線S1を選択
し続け、送信線S2を介して到来したデータは遮断され
る。つまり、LAN伝送路には端末Aから出力されたデ
ータが引き続き送出される。
In this state, after terminal A starts sending data and before terminals B and C can know that terminal A is sending data (time T2 in FIG. 2), terminal When B starts outputting data, the output of the carrier sense circuit 2 becomes H level. As a result, the two inputs of the collision detection circuit 5 become H level, so the collision detection circuit 5 recognizes that a collision has occurred and outputs an H level. When the output of the collision detection circuit 5 becomes H level, the output of the D-FF 6 also becomes H level. As a result, the AND gate 7 is opened, the collision data generated from the collision data generator 9 is sent to the collision display lines C1 to C3, and the terminals A to C are notified of the occurrence of a collision. Note that the first-come-first-served priority circuit 10 continues to select the transmission line S1, and data arriving via the transmission line S2 is blocked. In other words, the data output from terminal A continues to be sent to the LAN transmission path.

【0025】端末Aおよび端末Bは、衝突表示線C1〜
C3を介して伝送された衝突データにより衝突が生じた
ことを知り、規定長の伝送終了後にデータの出力を停止
する。ここで端末Aの方が先にデータの出力を開始して
いるから、端末Aが先にデータの出力を停止する(図2
中のT3時点)。これにより、キャリアセンス回路1の
出力がLレベルとなる。キャリアセンス回路1の出力が
Lレベルとなると、衝突検出回路5は1つの入力だけが
Hレベルとなるため、出力をLレベルとする。しかし、
ORゲート4の出力はHレベルのままであり、D−FF
6のリセット端子への入力はHレベルのままである。こ
のため、D−FF6の出力はHレベルのまま保たれ、衝
突表示線C1〜C3への衝突データの送出が継続される
。またリセットパルス発生器8はORゲート4の出力の
立下りに同期してリセットパルスを発生するものである
から、このT3時点においてはリセットパルスを発生し
ない。従って、先着優先回路10は端末Aのデータ出力
が停止しているにも拘らずに送信線S1を選択し続ける
[0025] Terminal A and terminal B have collision display lines C1 to
It is informed that a collision has occurred based on the collision data transmitted via C3, and data output is stopped after the specified length of transmission is completed. Since terminal A has started outputting data first, terminal A stops outputting data first (Figure 2
(T3 time point in the middle). As a result, the output of the carrier sense circuit 1 becomes L level. When the output of the carrier sense circuit 1 becomes L level, only one input of the collision detection circuit 5 becomes H level, so that the output becomes L level. but,
The output of OR gate 4 remains at H level, and D-FF
The input to the reset terminal No. 6 remains at H level. Therefore, the output of the D-FF6 is maintained at the H level, and the collision data continues to be sent to the collision display lines C1 to C3. Furthermore, since the reset pulse generator 8 generates a reset pulse in synchronization with the fall of the output of the OR gate 4, it does not generate a reset pulse at this time point T3. Therefore, the first-come-first-served priority circuit 10 continues to select the transmission line S1 even though the data output of the terminal A has stopped.

【0026】そして端末Bがデータの出力を停止すると
(図2中のT4時点)、キャリアセンス回路2の出力が
Lレベルとなる。ORゲート4の全ての入力がLレベル
となり、その出力はLレベルとなる。これにより、D−
FF6はリセットされ、出力はLレベルとなる。D−F
F6の出力がLレベルとなると、ANDゲート7が閉じ
、衝突表示線C1〜C3への衝突データの送出が停止さ
れる。またリセットパルス発生器8は、ORゲート4の
出力の立下りを捉えてリセットパルスPを発生する。 このリセットパルスPにより先着優先回路10はリセッ
トがなされ、送信線S1の選択を終了して先着待受けの
状態に入る。
When terminal B stops outputting data (at time T4 in FIG. 2), the output of carrier sense circuit 2 becomes L level. All inputs of the OR gate 4 become L level, and its output becomes L level. As a result, D-
FF6 is reset and the output becomes L level. D-F
When the output of F6 becomes L level, AND gate 7 is closed and sending of collision data to collision display lines C1 to C3 is stopped. Further, the reset pulse generator 8 generates a reset pulse P by capturing the fall of the output of the OR gate 4. The first-come-first-served priority circuit 10 is reset by this reset pulse P, ends the selection of the transmission line S1, and enters a first-come-first-served standby state.

【0027】なおここでは、端末Aが先に、また端末B
が後にデータ出力を開始したケースを挙げて説明したが
、先にデータ出力を開始する端末および後にデータ出力
を開始する端末がどれであっても同様に動作する。また
3つの端末A〜Cの全てがデータ出力を行っての衝突の
際にも同様に動作する。
[0027] Here, terminal A comes first, then terminal B
Although the explanation has been given using the case where the terminal starts outputting data later, the same operation applies regardless of the terminal that starts outputting data first and the terminal that starts outputting data later. Further, the same operation occurs even in the event of a collision in which all three terminals A to C output data.

【0028】以上のように本実施例によれば、衝突が発
生した場合、その後各キャリアセンス回路1〜3の出力
が全てLレベルとなるまで、すなわち各端末A〜Cのデ
ータ出力が全て停止状態となるまでは先着優先回路10
のリセットがなされず、先着優先回路10では一番最初
にデータ出力を開始した端末に対応する送信線を選択し
た状態に保たれる。そして各キャリアセンス回路1〜3
の出力が全てLレベルとなる、すなわち各端末A〜Cの
データ出力が全て停止状態となったことをもって先着優
先回路10のリセットがなされる。
As described above, according to this embodiment, when a collision occurs, all data outputs from terminals A to C are stopped until the outputs of carrier sense circuits 1 to 3 are all at L level, that is, all data outputs from terminals A to C are stopped. First-come-first-served priority circuit 10 until the status is reached.
is not reset, and the first-come, first-served priority circuit 10 maintains a state in which the transmission line corresponding to the terminal that first started data output is selected. And each carrier sense circuit 1 to 3
The first-come-first-served priority circuit 10 is reset when all the outputs of the terminals become L level, that is, when all the data outputs of the terminals A to C are stopped.

【0029】かくして、後にデータ出力を開始した端末
から出力されたデータは完全に遮断され、LAN伝送路
へは送出されない。従って、規定長に満たないデータが
LAN伝送路に送出されることがない。
[0029] Thus, data output from a terminal that later starts data output is completely blocked and is not sent to the LAN transmission path. Therefore, data less than the specified length will not be sent to the LAN transmission path.

【0030】また端末Aのデータ出力が終了したT3時
点から端末Bのデータ出力が終了するT4時点までの間
には、端末Aのデータ出力が終了しているにも拘らずに
先着優先回路10が端末Aの出力データを選択している
ため、この期間には各端末A〜Cへの返送データはない
。このため、端末Cは端末Bがデータ出力中であること
を知ることができず、再び衝突が生ずるおそれがあるが
、上記実施例では衝突解消後も端末Bのデータ出力が終
了するまでは衝突データを送出しているため、この衝突
データによって端末Cは衝突発生中であると認識するこ
とができ、再度の衝突の発生を防止できる。
Furthermore, between the time T3 when the data output of terminal A ends and the time T4 when the data output of terminal B ends, the first-come-first-served priority circuit 10 Since terminal A has selected the output data of terminal A, there is no data to be returned to terminals A to C during this period. Therefore, terminal C cannot know that terminal B is outputting data, and there is a risk that a collision will occur again. Since data is being sent, this collision data allows terminal C to recognize that a collision is occurring, and prevents another collision from occurring.

【0031】なお本発明は上記実施例に限定されるもの
ではない。例えば上記実施例では、3つの端末が接続さ
れたトランシーバを例示したが、接続される端末の数が
2つ以上であるトランシーバであれば本発明の適用が可
能である。
Note that the present invention is not limited to the above embodiments. For example, in the above embodiment, a transceiver to which three terminals are connected is illustrated, but the present invention can be applied to any transceiver to which two or more terminals are connected.

【0032】また上記実施例では、衝突発生後、全ての
端末のデータ出力が停止状態となるまで衝突データを送
出するようにしているが、衝突データを送出する期間は
従来と同様に実際に衝突が発生している期間だけとして
も良い。なぜならば、後からデータ出力を開始した端末
のデータ出力が継続している状態であっても先着優先回
路は先にデータ出力を開始した端末を選択しているから
、さらに別の端末がデータ出力を開始して衝突が発生し
たとしても、LAN伝送路に規定長に満たないデータが
出力されることは防止できるからである。ただし、最後
にデータ出力を開始した端末が規定長のデータを出力す
るまでは正常なデータの送出動作を行うことができない
ために効率が低下するため、上記実施例に示した構成と
することが好ましい。このほか、本発明の要旨を逸脱し
ない範囲で種々の変形実施が可能である。
Furthermore, in the above embodiment, after a collision occurs, the collision data is transmitted until the data output of all terminals is stopped, but the period for transmitting the collision data is the same as before. It is also possible to do this only during the period in which this is occurring. This is because even if the terminal that started data output later continues to output data, the first-come, first-served priority circuit selects the terminal that started outputting data first, so another terminal starts outputting data. This is because even if a collision occurs after starting the process, it is possible to prevent data shorter than the specified length from being output to the LAN transmission path. However, the efficiency decreases because the terminal that last started data output cannot perform a normal data transmission operation until it outputs data of the specified length, so the configuration shown in the above embodiment cannot be used. preferable. In addition, various modifications can be made without departing from the gist of the present invention.

【0033】[0033]

【発明の効果】第1の発明は、複数の通信端末のそれぞ
れに対応して設けられ、対応する通信端末のデータ出力
の有無を検出する例えばキャリアセンス回路などのデー
タ入力検出手段と、この出力検出手段のそれぞれの検出
結果に基づいて衝突の発生を検出する例えば衝突検出回
路などの衝突検出手段と、前記データ入力検出手段のそ
れぞれの検出結果に基づいて前記複数の通信端末の全て
がデータ未出力であることを検出する例えばORゲート
などの未出力検出手段とを備え、前記衝突検出手段によ
り衝突の検出がなされたのち、前記未出力検出手段によ
り前記複数の通信端末の全てがデータ未出力であること
が検出されたことに応じて、リセットがなされるまでは
前記複数の通信端末のうちの最初にデータ出力を行った
ものの出力データのみを前記ローカルエリアネットワー
クに送出するデータとして選択し、他の通信端末の出力
データは遮断する例えば先着優先回路などの先着データ
選択手段のリセットを行うようにした。
Effects of the Invention The first invention provides data input detection means, such as a carrier sense circuit, which is provided corresponding to each of a plurality of communication terminals and detects the presence or absence of data output of the corresponding communication terminal, and Collision detection means such as a collision detection circuit detects the occurrence of a collision based on the respective detection results of the detection means, and all of the plurality of communication terminals detect the occurrence of data based on the detection results of the data input detection means. and a non-output detection means such as an OR gate for detecting an output, and after the collision detection means detects a collision, the non-output detection means detects that all of the plurality of communication terminals have not output data. In response to the detection, until a reset is performed, only the output data of the first one of the plurality of communication terminals to output data is selected as the data to be sent to the local area network; For example, first-come-first-served data selection means such as a first-come first-served priority circuit is reset to block output data from other communication terminals.

【0034】第2の発明は上記第1の発明に加えて、前
記衝突検出手段により衝突の検出がなされたのち、前記
未出力検出手段により複数の通信端末の全てがデータ未
出力であることが検出されるまでの間、衝突が発生中で
ある旨を知らせるための例えば衝突データなどの所定の
情報を前記複数の通信端末に対して与えるようにした。 これらにより、規定の長さに満たないデータをLAN伝
送路に送出することを適確に防止し、規定に違反するこ
とを防止できる構内通信機となる。
[0034] In addition to the first invention, a second invention is characterized in that after the collision detection means detects a collision, the non-output detection means detects that all of the plurality of communication terminals are not outputting data. Until the collision is detected, predetermined information such as collision data is provided to the plurality of communication terminals to notify that a collision is occurring. These provide a local communication device that can accurately prevent data that is less than the specified length from being sent to the LAN transmission path and prevent violations of the regulations.

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

【図1】  本発明の一実施例に係る構内通信機(多ポ
ートトランシーバ)の構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a local area communication device (multi-port transceiver) according to an embodiment of the present invention.

【図2】  図1中の各部の動作タイミングを示すタイ
ムチャート。
FIG. 2 is a time chart showing the operation timing of each part in FIG. 1;

【図3】  従来技術を説明する図。FIG. 3 is a diagram explaining the prior art.

【符号の説明】[Explanation of symbols]

1,2,3…キャリアセンス回路、4…ORゲート、5
…衝突検出回路、6…Dフリップフロップ(D−FF)
、7…ANDゲート、8…リセットパルス発生器、9…
衝突データ発生器、10…先着優先回路、11…データ
送出部、S1,S2,S3…送信線、R1,R2,R3
…受信線、C1,C2,C3…衝突表示線。
1, 2, 3...Carrier sense circuit, 4...OR gate, 5
...Collision detection circuit, 6...D flip-flop (D-FF)
, 7...AND gate, 8...Reset pulse generator, 9...
Collision data generator, 10... First-come-first-served priority circuit, 11... Data sending section, S1, S2, S3... Transmission line, R1, R2, R3
...Reception line, C1, C2, C3...Collision display line.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  接続された複数の通信端末から出力さ
れたデータをローカルエリアネットワークに送出する構
内通信機であり、リセットがなされるまでは前記複数の
通信端末のうちの最初にデータ出力を行ったものの出力
データのみを前記ローカルエリアネットワークに送出す
るデータとして選択し、他の通信端末の出力データは遮
断する先着データ選択手段を有したものにおいて、前記
複数の通信端末のそれぞれに対応して設けられ、対応す
る通信端末から出力されるデータの入力の有無を検出す
るデータ入力検出手段と、このデータ入力検出手段のそ
れぞれの検出結果に基づいて衝突の発生を検出する衝突
検出手段と、前記データ入力検出手段のそれぞれの検出
結果に基づいて前記複数の通信端末の全てがデータ未出
力であり、データ入力が全く無いことを検出する未入力
検出手段と、前記衝突検出手段により衝突の検出がなさ
れたのち、前記未入力検出手段によりデータ入力が全く
無いことが検出されたことに応じて前記先着データ選択
手段のリセットを行うリセット手段とを具備したことを
特徴とする構内通信機。
Claim 1: A local area communication device that sends data output from a plurality of connected communication terminals to a local area network, and until a reset is performed, data is output to the first of the plurality of communication terminals. a first-arrival data selection means that selects only the output data of one communication terminal as the data to be sent to the local area network and blocks the output data of other communication terminals, the first-arrival data selection means is provided corresponding to each of the plurality of communication terminals; data input detection means for detecting the presence or absence of data input and output from a corresponding communication terminal; collision detection means for detecting the occurrence of a collision based on the respective detection results of the data input detection means; Non-input detection means detects that all of the plurality of communication terminals have not outputted data and there is no data input based on the detection results of each of the input detection means, and a collision is detected by the collision detection means. and a reset means for resetting the first-arrival data selection means in response to the fact that the non-input detection means detects that no data has been inputted.
【請求項2】  衝突検出手段により衝突の検出がなさ
れたのち、未出力検出手段により複数の通信端末の全て
がデータ未出力であることが検出されるまでの間、衝突
が発生中である旨を知らせるための所定の情報を前記複
数の通信端末に対して与える衝突通知手段を有すること
を特徴とする請求項1に記載の構内通信機。
[Claim 2] After the collision is detected by the collision detection means, until the non-output detection means detects that all of the plurality of communication terminals have not outputted data, the information indicating that a collision is occurring is detected. 2. The local area communication device according to claim 1, further comprising collision notification means for providing predetermined information to the plurality of communication terminals to notify the plurality of communication terminals.
JP3139361A 1991-06-12 1991-06-12 Private communication equipment Pending JPH04364626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3139361A JPH04364626A (en) 1991-06-12 1991-06-12 Private communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3139361A JPH04364626A (en) 1991-06-12 1991-06-12 Private communication equipment

Publications (1)

Publication Number Publication Date
JPH04364626A true JPH04364626A (en) 1992-12-17

Family

ID=15243541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3139361A Pending JPH04364626A (en) 1991-06-12 1991-06-12 Private communication equipment

Country Status (1)

Country Link
JP (1) JPH04364626A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06350437A (en) * 1993-06-04 1994-12-22 Nec Corp Signal collision detecting circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06350437A (en) * 1993-06-04 1994-12-22 Nec Corp Signal collision detecting circuit

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
EP0319998B1 (en) System for carrying out connection management control of ring network
JPH09181737A (en) Communication method for small scale network
US5265094A (en) Channel accessing process for a local transmission network configured as a bus system
US5065153A (en) Contention control system
KR100391024B1 (en) Two-pin distributed ethernet bus architecture
CN113271238B (en) Link detection method of EPA system, EPA device and computer medium
US5982781A (en) Process for information transmission in a bus system having several participants
JPH04364626A (en) Private communication equipment
US6108352A (en) Circuit and method for synchronizing outputs of two simultaneously transmitting devices in a multiplexed communication system
JPS60236340A (en) Communication system
JPH036944A (en) Control bus line collision prevention device
EP0216379B1 (en) Communication method and equipment therefor
JP3161359B2 (en) Network arbitration circuit
JPS60152153A (en) Bi-directional repeater
JP3154626B2 (en) Serial transmission device
KR100267344B1 (en) Apparatus and method for collision protecting of transmitting data in hdlc bus structured switching system
JPH0323028B2 (en)
JPH04311125A (en) Transmission line failure detecting circuit
JP3043192B2 (en) Token simultaneous acquisition prevention method
JPH03165138A (en) Data transmitter
JPS62122435A (en) Network access system
JPH0832605A (en) Ethernet communication system
JPH05327737A (en) Communicative abnormality monitoring device
JPH02226829A (en) Duplex communication system