JP2004048398A - Lan interface device - Google Patents
Lan interface device Download PDFInfo
- Publication number
- JP2004048398A JP2004048398A JP2002203361A JP2002203361A JP2004048398A JP 2004048398 A JP2004048398 A JP 2004048398A JP 2002203361 A JP2002203361 A JP 2002203361A JP 2002203361 A JP2002203361 A JP 2002203361A JP 2004048398 A JP2004048398 A JP 2004048398A
- Authority
- JP
- Japan
- Prior art keywords
- transmission
- data
- priority signal
- lan interface
- interface device
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、LANインタフェース装置、特に、CSMA/CD(Carrier Sense Multiple Access/Collision Detection)方式を採用したLANにおけるデータ衝突時の伝送制御に好適なLANインタフェース装置に関する。
【0002】
【従来の技術】
複数のノードがバス接続されているLANシステムにおいて、データ伝送のための一方式としてCSMA/CDが知られている。CSMA/CD方式では、複数のノードが同時にデータを送信すると、伝送路上でデータが衝突する。この場合、通常は、衝突した各ノードはデータの送出を中止し、ランダムな時間経過後に再度データの送信を試みている。その結果、再びデータの衝突が発生する場合は、データの送信を何度か繰り返す(従来技術1)。
【0003】
しかし、この従来技術1では、各ノードから送信されるデータのタイミングがランダムであることから、衝突が無く1回でデータの送受ができるノードや、何度も衝突を繰り返してデータの送受が確立できないノードがあるという不公平が発生するという問題がある。
【0004】
この種の問題の解決を図った技術の一例が、特開平7−307759に「網間接続装置」(従来技術2)として記載されている。この装置は、他の通信ノードが送信した通信パケットが有ることをセンスした後の送信タイミング、およびデータ衝突検出後の再送タイミングを取る場合の送信遅延時間を簡単なメンバシップ関数を用いて最適な値に設定するというものである。送信遅延時間を決定する要素としては、前回データパケットを送信したから現在までの待機時間と、単位時間当りの衝突回数が採用される。
【0005】
【発明が解決しようとする課題】
しかしながら、上述した従来技術2では、知識ベースの有するメンバーシップ関数を用いてファジー推論して送信遅延時間を決定するため、従来技術1が有する上述の問題を緩和するが、データの衝突が発生した場合に再送を繰り返すことには変わりはないので、根本的な問題の解消にはならない。
【0006】
そこで、本発明の目的は、連続衝突回数を制限してデータ衝突の繰返しによる伝送効率の低下を防ぐことができるLANインタフェース装置を提供することにある。
【0007】
【課題を解決するための手段】
本発明のLANインタフェース装置は、同一LAN伝送路を介した端末装置間の通信をCSMA/CD方式で制御するLANインタフェース装置において、端末装置からの送信データがLAN伝送路上で衝突した場合には、その連続衝突回数を計数し、計数回数が予め定めた回数に達すると、優先信号を送出することにより他の端末装置からのデータ送信を阻止するようにしたことを特徴とするものである。
【0008】
より詳しくは、本発明のLANインタフェース装置(図1のノード装置1〜4)は、同一LAN伝送路を介した端末装置(図1の100,200,300,400)間の通信をCSMA/CD方式で制御する端末装置と1対1対応のLANインタフェース装置において、端末装置からの送信データを伝送路に送出するための送信部(図1の11)と、伝送路上で送信データが衝突したことを検出する衝突検出部(図1の13)と、自LANインタフェース装置から送出した送信データの衝突の連続回数をカウントする衝突カウント部(図1の14)と、カウントが予め定めた衝突回数に達した場合には再送信データに優先信号を重畳する優先信号重畳部(図1の15)と、他のLANインタフェース装置からの優先信号を検出すると送信部の送信データの送出を禁止する優先信号検出部(図1の16)と、優先信号が重畳されている受信データから優先信号を除去する優先信号除去部(図1の17)と、優先信号が除去された自LANインタフェース装置宛の受信データを端末装置へ出力する受信部(図1の12)とから構成されることを特徴とする。
【0009】
このように、本発明では、伝送路上においてノード装置間の送信データが衝突した場合に連続衝突回数をカウントし、予め定められた衝突回数に達した場合には、優先して伝送路上にデータを再送信し、他のノード装置において優先信号を検出すると送信データの伝送路への送出を禁止する構成としたため、衝突した各ノード装置がランダムな時間だけ待機した後、データを出力するような従来の方法で発生するデータ衝突の多数回の繰り返しが無くなり、データの衝突が繰り返されることによる伝送効率の低下を防ぐことができるようになる。
【0010】
【発明の実施の形態】
次に、本発明の実施例について図面を参照して詳細に説明する。
【0011】
【実施例の構成】
図1は、本発明のLANインタフェース装置の一実施例を示すブロック図である。図1参照すると、このLANインタフェース装置は、LAN伝送路と端末装置の間に介在するノード装置として具現化されている。図1では、4つの同構成のノード装置1,2,3,4が、1対1対応の端末装置100,200,300,400を伝送路Xに接続している。
【0012】
この実施例におけるノード装置1〜4は、ネットワーク上の分岐ポイントとしてではなく、中継ポイントとして位置付けられる。従って、ノード装置1〜4を端末装置100〜400に内蔵させることも可能であるが、このような外置きのノード装置1〜4は、ノード装置1〜4の機能を備えていない既存の端末装置100〜400を伝送路Xに接続する場合に意義がある。
【0013】
図1において、ノード装置1は、送信部11,受信部12,衝突検出部13,衝突カウント部14,優先信号重畳部15,優先信号検出部16および優先信号除去部17で構成されている。
【0014】
送信部11は、端末装置100において送信するべきデータが有る場合、または再送信データが有る場合に、送信許可信号11cに応答して端末装置100から送信データ100aが送られてくると、送信データ11aとして優先信号重畳部15に送出する。但し、送信許可信号11cは、受信部12からの受信通知信号12b、または優先信号検出部16からの送信禁止信号16a、または他のノード装置2〜4からの送信データに対する衝突検出信号13aが入力が入力している場合には、送信許可信号11cを端末装置100への送出は阻止される。
【0015】
送信データ11aは、優先信号重畳部15から送信データ15aとして伝送路Xへ送出されるが、この送信データ15aが伝送路X上で他の送信データと衝突した場合には、衝突検出部13から衝突検出信号13aが送信部11に入力する。送信部11は、衝突検出信号13aの入力に応答して、上述のように、再送信データのために送信許可信号11cを端末装置100に出力する。
【0016】
自ノード装置1から送出した送信データの連続衝突が所定回数に達すると、衝突カウント部14から優先通知信号14aが送信部11に入力する。この場合には、送信部11が送信許可信号11cを端末装置100に出力するタイミングを少しだけ遅延させる。これは、後述のように、優先信号重畳部15において、送信データに優先信号を重畳するための準備が必要となるからである。
【0017】
衝突検出部13は、伝送路X上で発生したデータの衝突を検出すると、送信部11と衝突カウント部14に衝突検出信号13aを出力する。その衝突は、ノード装置1が送出した送信データ15aについてのものに限られず、他のノード装置2〜4からの送信データについて発生したものをも含む。
【0018】
衝突カウント部14は、送信通知信号11bと衝突検出信号13aの両方が入力することにより、送信データ15aの連続衝突検出回数をカウントする。送信通知信号11bおよび衝突検出信号13aの入力により、衝突検出信号13aはノード装置1からの送信データ15aについてのものであったことを認識するからである。また、送信通知信号11bのみが入力した場合は、データ送信時に衝突が発生していないことになるので、衝突検出回数を0にリセットする。
【0019】
衝突カウント部14において連続衝突回数が予め定められた回数に達した場合、ノード装置1の送信データをノード装置2〜4からの送信データに優先して伝送路X上に送出させるために、送信部11と優先信号重畳部15に対して優先通知信号14aを出力する。
【0020】
優先信号重畳部15は、優先通知信号14aの入力がない場合には、送信データ11aをそのまま送信データ15aとし、優先通知信号14aの入力がある場合には、送信データ11aに優先信号を重畳させたものを送信データ15aとする。優先信号は、例えば、一定の直流バイアス電圧とすることができる。
【0021】
優先信号検出部16は、ノード装置1が優先ではないときに、ノード装置2〜4のいずれかが優先信号を重畳した送信データを伝送路X上に送出した場合、優先信号を検出して、送信部11に送信禁止信号16aを出力する。
【0022】
優先信号除去部17は、ノード装置1〜4のいずれかが優先信号を重畳した送信データを伝送路X上に送出している場合、その送信データから優先信号を除去し、受信データ17aとして受信部12に出力する。なお、優先信号が重畳されていないときは、伝送路X上のデータをそのまま受信データ17aとして受信部12に出力する。
【0023】
受信部12は、受信データ17aが入力すると、それがノード装置1宛てのものかを判断する。その結果、受信データ17aがノード装置1宛てのものである場合には受信データ12aとして端末装置100へ出力するとともに、受信通知信号11bを送信部11へ出力する。また、受信データ17aがノード装置1宛てのものでない場合には、受信データ17aを破棄する。
【0024】
【実施例の動作】
次に、以上のように構成された本実施例の動作について説明する。
【0025】
LANの伝送路Xに接続されたノード装置1〜4は、それぞれ端末装置100〜400からのデータを相互に送受信することができる。ここでは、ノード装置1が端末装置100からの送信データ100aを送信データ15aとして伝送路Xへ送信し、また受信するものとする。
【0026】
[送信動作]
先ず、送信動作について、図2に示すフローチャートと、図3に示すタイムチャートを参照しながら説明する。
【0027】
送信部11は、端末装置100から送信要求が有るか否かをチェックする(図2のステップA1)。その結果、送信要求が有る場合は(ステップA1でYES)、更に、受信通知信号12bまたは送信禁止信号16aの入力が無いことを確認の上で(ステップA4でNO)、送信許可信号11cを端末装置100に出力する(ステップA7)。ノード装置1が受信中であったり、他のノード装置2〜4に送信の優先権が有る場合には、ノード装置1からのデータ送信を阻止しなければならないからである。
【0028】
ステップA1で送信要求が無い場合でも(ステップA1でNO)、衝突検出信号13aの入力が有り(ステップA2でYES)、かつ、それがノード装置1からの送信データに対するものである場合は(ステップA3でYES)、受信通知信号12bまたは送信禁止信号16aの入力が無いことを確認の上で(ステップA4でNO)、送信データの再送信のため、送信許可信号11cを端末装置100に出力する(ステップA7)。
【0029】
いずれにせよ、送信許可信号11cを出力するときに、優先通知信号14aが入力していれば(ステップA5でYES)、送信許可信号11cを遅延させる(ステップA6)。
【0030】
一方、衝突検出信号13aの入力が有り(ステップA2でYES)、かつ、それがノード装置2〜4からの送信データに対するものである場合は(ステップA3でNO)、送信許可信号11cは出力されず、ノード装置1からのデータ送信は阻止される。これは、既に伝送路Xにおいてデータの衝突が発生しているからである。
【0031】
いま、端末装置100では、5つの送信データであるデータ1〜データ5を送信しようとしているとする。送信許可信号11cを受けた端末装置100から送信データ100a(データ1)がノード装置1に入力すると、送信部11は送信データ11aを優先信号重畳部15に出力するとともに、送信通知信号11bを衝突カウント部14に出力する(ステップA8)。このとき、優先信号重畳部15に優先通知信号14aが入力していなければ(ステップA9でNO)、優先信号重畳部15は送信データ11aをそのまま送信データ15aとして伝送路Xへ送出する(ステップA10)。
【0032】
ノード装置1〜4から伝送路Xに対しては、送信データが非同期に送出されてくるので、複数のノード装置が同時にデータの送信を行った場合には、伝送路X上でデータの衝突が起きる。伝送路Xにおいてデータの衝突が発生すると(ステップA11でYES)、衝突検出部13はデータの衝突が発生したことを検出して衝突検出信号13aを衝突カウント部14および送信部11に出力する(ステップA12)。ノード装置2〜4のデータ送信による送信部11への衝突検出信号13aの入力による効果は、前述したように、データの送信を一時中止することである(ステップA3でNO)。
【0033】
衝突カウント部14には、送信通知信号11bが既に入力しているので(ステップA8)、衝突検出信号13aが入力すると、衝突検出回数をカウントする(ステップA13)。これは、送信通知信号11bの入力により、衝突検出信号13aがノード装置1からの送信データ15aについてのものであることが確認できたからであり、送信通知信号11bの入力がない状態では、衝突検出信号13aが入力しても衝突検出回数をカウントすることはない。
【0034】
一方、衝突カウント部14は、送信通知信号11bが入力している状態で(ステップA8)、衝突検出信号13aが入力しない場合には、データ送信時に衝突が発生していないことになるので、衝突カウント部14の検出回数を0にリセットする(ステップA16)。これは、衝突検出回数が所定の回数だけ連続してカウントされたときにのみ優先通知信号14aを出力することとし、衝突検出信号13aを受けた送信部11がデータを再送信した結果、正常に送信できて衝突が連続しない場合には優先的な取扱をしないようにしたからである。
【0035】
衝突カウント部14において連続衝突回数があらかじめ定められた回数に達した場合(ステップA14でYES)、ノード装置1の送信データを優先的に伝送路X上に送出させるために、衝突カウント部14送信部11と優先信号重畳部15に対して優先通知信号14aを出力する(ステップA15)。優先通知信号14aが存在する場合の特別な処理はステップA6およびステップA17である。
【0036】
ステップA6は、送信部11が優先通知信号14aを受け取った場合に(ステップA5でYES)実行される。送信部11は、端末装置100に送信許可信号11cを出力する場合に、前述のように、そのタイミングを少しだけ遅延させ、優先信号重畳部15における送信データへの優先信号の重畳処理に便宜を与える。
【0037】
ステップA17は、優先信号重畳部15が優先通知信号14aを受け取った場合に(ステップA9でYES)実行される。優先信号重畳部15は、送信部11からの送信データ11aに優先データであることを示す、一定の直流バイアス電圧を優先信号として重畳する。その上で、送信データ15aとしてを伝送路Xに送出する(ステップA10)。
【0038】
図3は、ノード装置1が端末装置100からの送信データ100aを送信データ15aとして伝送路Xへ送出する場合のタイムチャートの例を示す。この例では、端末装置100は5つの送信データ100aとして、データ1〜データ5を伝送路Xへ送信しようとしており、衝突カウント部14に設定される連続衝突回数は5回としている。
【0039】
図3において、タイミングT1で送信部11から端末装置100へ出力された送信要求信号11cに応答して、端末装置100からデータ1が送信データ15aとしてノード装置1経由で伝送路Xへ送出されたところ、衝突検出信号13aが発生している。そこで、ノード装置1は再び端末装置100へ送信要求信号11cを出力して、端末装置100から再送信されてきたデータ1を伝送路Xへ送出することを繰り返したが(タイミングT2〜T5)、その都度、衝突検出信号13aが発生し、ついには優先通知信号14aが出力されるに到っている(タイミングT5)。
【0040】
この場合、送信部11は、上述のように、少し遅らせた送信許可信号11cを端末装置100aに出力する(タイミングT6)。また、送信データ15aは、データ1に一定の直流バイアス電圧が重畳されたものとなっている。この直流バイアス電圧は優先信号として機能する。
【0041】
優先信号が重畳された送信データ15aは、ノード装置2〜4からの送信データより優先的に取り扱われる。図3ではタイミングT6以後は衝突検出信号13aが発生していない。従って、当初予定していたデータ2〜データ5をタイミングT7〜T10において送信できるようになったことが示されている。
【0042】
[受信動作]
次に、受信動作について、図4に示すフローチャートと、図5に示すタイムチャートを参照しながら説明する。
【0043】
伝送路X上のデータに優先信号が重畳されていない場合(図4のステップB1でNO)、優先信号除去部17は、そのデータをそのまま受信データ17aとして受信部12に出力する(ステップB2)。受信部12は、受信データ17aがノード装置1宛のデータであるときは(ステップB3でYES)、受信データ12aとして端末装置100に出力するとともに、受信通知信号12bを送信部11に出力する(ステップB4)。受信通知信号12bを受けた送信部11は送信を差し控える。なお、受信データ17aがノード装置1宛のデータでないときは(ステップB3でNO)、受信部12は受信データ17aを破棄する(ステップB5)。
【0044】
一方、伝送路X上のデータに優先信号が重畳されている場合(ステップB1でYES)、優先信号除去部17は、一定の直流バイアス電圧である優先信号を除去し(ステップB6)、その後の受信信号17aを受信部12に出力する(ステップB2)。また、優先信号検出部16は、ノード装置1が優先ではないときには(ステップB7でNO)、優先信号を検出して送信部11に送信禁止信号16aを出力する(ステップB8)。これにより、送信部11は送信を見合わせる。なお、ノード装置1が優先でないことは、優先信号検出部16がノード装置2〜4からの送信データ15aに優先信号を検出することによって判明する。
【0045】
図5は、優先信号が重畳された他ノード宛の5つの送信データ(データa〜データe)と、優先信号が重畳された自ノード宛の5つの送信データ(データf〜データj)を優先でないノード装置1が受信した場合のタイムチャートを示す。データa〜データeと、データf〜データjのいずれにも優先信号が重畳されており、かつノード装置1は優先でないとされているため、いずれのデータ群に対しても送信禁止信号16aが優先信号検出部16から出力されている。
【0046】
また、送信データ17aから優先信号を除去したデータa〜データeおよびデータf〜データjが優先信号除去部17から出力されている。しかし、データa〜データeはノード装置1宛でないため受信部12で破棄され、ノード装置1宛のデータf〜データjのみが受信データ12として端末装置100aへ出力されている。
【0047】
なお、以上に説明したデータ送信方法およびデータ受信方法は、ノード装置を構成するコンピュータにおいてプログラムを実行させることによっても行うことができる。そのプログラムは、コンピュータを制御して、図2および図4に示した処理と同様な処理を行わせる。
【0048】
【発明の効果】
本発明は、伝送路上においてノード装置間の送信データが衝突した場合に連続衝突回数をカウントし、予め定められた衝突回数に達した場合には、優先して伝送路上にデータを再送信し、他のノード装置において優先信号を検出すると送信データの伝送路への送出を禁止する構成とした。このため、本発明によれば、衝突した各ノード装置がランダムな時間だけ待機した後、データを出力するような従来の方法で発生するデータ衝突の多数回の繰り返しが無くなり、データの衝突が繰り返されることによる伝送効率の低下を防ぐことができるようになる。
【図面の簡単な説明】
【図1】本発明のLANインタフェース装置の一実施例を示すブロック図
【図2】図1に示した実施例の送信動作を示すフローチャート
【図3】図1に示した実施例の送信動作の一例を示すタイムチャート
【図4】図1に示した実施例の受信動作を示すフローチャート
【図5】図1に示した実施例の受信動作の一例を示すタイムチャート
【符号の説明】
1〜4 ノード装置
11 送信部
12 受信部
13 衝突検出部
14 衝突カウント部
15 優先信号重畳部
16 優先信号検出部
17 優先信号除去部
100 端末装置
200 端末装置
300 端末装置
400 端末装置
X 伝送路[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a LAN interface device, and more particularly to a LAN interface device suitable for transmission control at the time of data collision in a LAN employing a CSMA / CD (Carrier Sense Multiple Access / Collision Detection) system.
[0002]
[Prior art]
In a LAN system in which a plurality of nodes are connected by a bus, CSMA / CD is known as one method for data transmission. In the CSMA / CD system, when a plurality of nodes transmit data at the same time, the data collide on a transmission path. In this case, usually, the colliding nodes stop sending data and try to send data again after a random time has elapsed. As a result, if data collision occurs again, data transmission is repeated several times (prior art 1).
[0003]
However, in the
[0004]
An example of a technique for solving this kind of problem is described in Japanese Patent Application Laid-Open No. 7-307759 as "inter-network connection apparatus" (prior art 2). This device optimizes the transmission timing after sensing that there is a communication packet transmitted by another communication node and the transmission delay time when taking the retransmission timing after detecting data collision using a simple membership function. It is set to a value. As the factors for determining the transmission delay time, the standby time from the previous transmission of the data packet to the present and the number of collisions per unit time are employed.
[0005]
[Problems to be solved by the invention]
However, in the above-described
[0006]
Therefore, an object of the present invention is to provide a LAN interface device that can limit the number of continuous collisions and prevent a decrease in transmission efficiency due to repetition of data collision.
[0007]
[Means for Solving the Problems]
The LAN interface device according to the present invention is a LAN interface device for controlling communication between terminal devices via the same LAN transmission line by the CSMA / CD method. When transmission data from the terminal device collides on the LAN transmission line, The number of continuous collisions is counted, and when the counted number reaches a predetermined number, a priority signal is transmitted to prevent data transmission from another terminal device.
[0008]
More specifically, the LAN interface devices (
[0009]
As described above, in the present invention, the number of continuous collisions is counted when transmission data between the node devices collides on the transmission path, and when the number of collisions reaches a predetermined number, the data is preferentially transmitted on the transmission path. Since the transmission is re-transmitted and the transmission of transmission data to the transmission path is prohibited when a priority signal is detected in another node device, a data output is performed after each of the conflicting node devices waits for a random time. This eliminates the multiple repetitions of data collisions that occur in the method described above, thereby preventing a reduction in transmission efficiency due to repeated data collisions.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, embodiments of the present invention will be described in detail with reference to the drawings.
[0011]
[Configuration of the embodiment]
FIG. 1 is a block diagram showing one embodiment of the LAN interface device of the present invention. Referring to FIG. 1, the LAN interface device is embodied as a node device interposed between a LAN transmission line and a terminal device. In FIG. 1, four
[0012]
The
[0013]
In FIG. 1, the
[0014]
When there is data to be transmitted in the
[0015]
The transmission data 11a is transmitted from the priority
[0016]
When the continuous collision of the transmission data transmitted from the
[0017]
When detecting a collision of data generated on the transmission path X, the collision detection unit 13 outputs a
[0018]
The
[0019]
When the number of continuous collisions reaches a predetermined number in the
[0020]
When there is no input of the priority notification signal 14a, the priority
[0021]
The priority
[0022]
When any one of the
[0023]
When receiving
[0024]
[Operation of the embodiment]
Next, the operation of the present embodiment configured as described above will be described.
[0025]
The
[0026]
[Sending operation]
First, the transmission operation will be described with reference to the flowchart shown in FIG. 2 and the time chart shown in FIG.
[0027]
The transmitting unit 11 checks whether there is a transmission request from the terminal device 100 (Step A1 in FIG. 2). As a result, if there is a transmission request (YES in step A1), it is further confirmed that there is no input of the reception notification signal 12b or the
[0028]
Even if there is no transmission request in step A1 (NO in step A1), if the
[0029]
In any case, when the
[0030]
On the other hand, if there is an input of
[0031]
Now, it is assumed that the
[0032]
Since transmission data is asynchronously transmitted from the
[0033]
Since the
[0034]
On the other hand, if the
[0035]
When the number of continuous collisions reaches a predetermined number in the collision counting unit 14 (YES in step A14), the transmission of the
[0036]
Step A6 is executed when the transmission unit 11 receives the priority notification signal 14a (YES in step A5). When outputting the
[0037]
Step A17 is executed when the priority
[0038]
FIG. 3 shows an example of a time chart when the
[0039]
In FIG. 3, in response to the
[0040]
In this case, the transmission unit 11 outputs the
[0041]
The
[0042]
[Reception operation]
Next, the reception operation will be described with reference to the flowchart shown in FIG. 4 and the time chart shown in FIG.
[0043]
When the priority signal is not superimposed on the data on the transmission path X (NO in step B1 in FIG. 4), the priority
[0044]
On the other hand, when the priority signal is superimposed on the data on the transmission path X (YES in step B1), the priority
[0045]
FIG. 5 shows a case where five transmission data (data a to data e) destined for another node on which the priority signal is superimposed and five transmission data (data f to data j) destined for the own node on which the priority signal is superimposed. 3 shows a time chart when the
[0046]
Further, data a to data e and data f to data j obtained by removing the priority signal from the
[0047]
The data transmission method and the data reception method described above can also be performed by causing a computer constituting a node device to execute a program. The program controls the computer to perform the same processing as the processing shown in FIGS.
[0048]
【The invention's effect】
The present invention counts the number of continuous collisions when transmission data between node devices collides on a transmission path, and when a predetermined number of collisions is reached, preferentially retransmits data on the transmission path, When another node device detects a priority signal, transmission of transmission data to the transmission path is prohibited. Therefore, according to the present invention, after each of the colliding node devices waits for a random time, the data collision that occurs in a conventional method such as outputting data is not repeated many times, and the data collision is repeated. , It is possible to prevent the transmission efficiency from being degraded.
[Brief description of the drawings]
1 is a block diagram showing an embodiment of a LAN interface device according to the present invention; FIG. 2 is a flowchart showing a transmission operation of the embodiment shown in FIG. 1; FIG. 3 is a flowchart showing a transmission operation of the embodiment shown in FIG. FIG. 4 is a flowchart showing a receiving operation of the embodiment shown in FIG. 1; FIG. 5 is a time chart showing an example of a receiving operation of the embodiment shown in FIG. 1;
1-4 Node device 11 Transmitting
Claims (6)
前記端末装置からの送信データを前記伝送路に送出するための送信部と、
前記伝送路上で送信データが衝突したことを検出する衝突検出部と、
自LANインタフェース装置から送出した送信データの前記衝突の連続回数をカウントする衝突カウント部と、
前記カウントが予め定めた衝突回数に達した場合には再送信データに優先信号を重畳する優先信号重畳部と、
他のLANインタフェース装置からの前記優先信号を検出すると前記送信部の送信データの送出を禁止する優先信号検出部と、
前記優先信号が重畳されている受信データから優先信号を除去する優先信号除去部と、
前記優先信号が除去された自LANインタフェース装置宛の受信データを前記端末装置へ出力する受信部とから構成されることを特徴とするLANインタフェース装置。In a LAN interface device corresponding to the terminal device for controlling communication between terminal devices via the same LAN transmission line by the CSMA / CD method,
A transmission unit for transmitting transmission data from the terminal device to the transmission path,
A collision detection unit that detects that transmission data has collided on the transmission path,
A collision counting unit for counting the number of consecutive collisions of transmission data transmitted from the own LAN interface device;
A priority signal superimposing unit that superimposes a priority signal on retransmission data when the count reaches a predetermined number of collisions,
A priority signal detection unit for prohibiting transmission of transmission data of the transmission unit when detecting the priority signal from another LAN interface device;
A priority signal removing unit that removes a priority signal from the received data on which the priority signal is superimposed,
A receiving unit for outputting, to the terminal device, reception data addressed to the own LAN interface device from which the priority signal has been removed.
前記端末装置からの送信データを前記LAN伝送路に送出する手順と、
前記伝送路上で送信データが衝突したことを検出する手順と、
自LANインタフェース装置から送出した送信データの前記衝突の連続回数をカウントする手順と、
前記カウントが予め定めた衝突回数に達した場合には再送信データに優先信号を重畳する手順と、
他のLANインタフェース装置からの前記優先信号を検出すると前記送信データの送出を禁止する手順と、
前記優先信号が重畳されている受信データから優先信号を除去する手順と、
前記優先信号が除去された自LANインタフェース装置宛の受信データを前記端末装置へ出力する手順とを有することを特徴とするLANインタフェース方法。A LAN interface method for controlling communication between terminal devices via the same LAN transmission line by a CSMA / CD method,
Transmitting the transmission data from the terminal device to the LAN transmission path;
A procedure for detecting that transmission data has collided on the transmission path,
A step of counting the number of continuous collisions of transmission data transmitted from the own LAN interface device;
When the count reaches a predetermined number of collisions, a procedure for superimposing a priority signal on retransmission data,
Prohibiting transmission of the transmission data upon detecting the priority signal from another LAN interface device;
Removing the priority signal from the received data on which the priority signal is superimposed,
Outputting to the terminal device the received data addressed to the own LAN interface device from which the priority signal has been removed.
前記端末装置からの送信データを前記LAN伝送路に送出する機能と、
前記伝送路上で送信データが衝突したことを検出する機能と、
自LANインタフェース装置から送出した送信データの前記衝突の連続回数をカウントする機能と、
前記カウントが予め定めた衝突回数に達した場合には再送信データに優先信号を重畳する機能と、
他のLANインタフェース装置からの前記優先信号を検出すると前記送信データの送出を禁止する機能と、
前記優先信号が重畳されている受信データから優先信号を除去する機能と、
前記優先信号が除去された自LANインタフェース装置宛の受信データを前記端末装置へ出力する機能とを前記コンピュータに行わせることを特徴とするプログラム。A program executed by a computer constituting a LAN interface device for controlling communication between terminal devices via the same LAN transmission line by a CSMA / CD method,
A function of transmitting transmission data from the terminal device to the LAN transmission path;
A function of detecting that transmission data has collided on the transmission path,
A function of counting the number of continuous collisions of transmission data transmitted from the own LAN interface device;
A function of superimposing a priority signal on retransmission data when the count reaches a predetermined number of collisions,
A function of prohibiting transmission of the transmission data upon detecting the priority signal from another LAN interface device;
A function of removing the priority signal from the reception data on which the priority signal is superimposed,
A program for causing the computer to perform a function of outputting to the terminal device reception data addressed to the own LAN interface device from which the priority signal has been removed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002203361A JP2004048398A (en) | 2002-07-12 | 2002-07-12 | Lan interface device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002203361A JP2004048398A (en) | 2002-07-12 | 2002-07-12 | Lan interface device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004048398A true JP2004048398A (en) | 2004-02-12 |
Family
ID=31709241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002203361A Pending JP2004048398A (en) | 2002-07-12 | 2002-07-12 | Lan interface device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004048398A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006033391A (en) * | 2004-07-15 | 2006-02-02 | Auto Network Gijutsu Kenkyusho:Kk | Device and method for communication |
KR100884620B1 (en) | 2007-05-02 | 2009-02-23 | 충북대학교 산학협력단 | A Signal collision prevention circuit |
-
2002
- 2002-07-12 JP JP2002203361A patent/JP2004048398A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006033391A (en) * | 2004-07-15 | 2006-02-02 | Auto Network Gijutsu Kenkyusho:Kk | Device and method for communication |
JP4574256B2 (en) * | 2004-07-15 | 2010-11-04 | 株式会社オートネットワーク技術研究所 | Communication apparatus and communication method |
KR100884620B1 (en) | 2007-05-02 | 2009-02-23 | 충북대학교 산학협력단 | A Signal collision prevention circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5353287A (en) | Local area network with message priority | |
US6996074B2 (en) | Receiver-initiated multiple access for ad-hoc networks (RIMA) | |
EP0344212A1 (en) | Random multiple-access communication system | |
EP0877511B1 (en) | System and method for improving CSMA/CD network performance during a collision | |
US5717889A (en) | Collison reduction algorithm for an ethernet backoff protocol | |
KR100281138B1 (en) | How to improve fairness in network use | |
JP2004048398A (en) | Lan interface device | |
US20040233927A1 (en) | Method of controlling communications | |
JPH11261609A (en) | Data preferential transmission method/device in csma/cd system | |
JPH1056470A (en) | Network communication control equipment | |
KR20010039385A (en) | Backoff algorithm in consideration of the communication priority and collision protection protocol using thereof | |
JP3030831B2 (en) | Interrupt reset type packet communication method | |
JPH04361447A (en) | Inter-network connector and its control method | |
JP3087695B2 (en) | COMMUNICATION TERMINAL, COMMUNICATION SYSTEM USING THE SAME, AND RECORDING MEDIUM CONTAINING COMMUNICATION CONTROL PROGRAM BY THE SYSTEM | |
JP3154626B2 (en) | Serial transmission device | |
JPS62126735A (en) | Emergency communication system | |
JP2004222019A (en) | Semiconductor device | |
JP4033108B2 (en) | CSMA data communication method and broadcast transmission node device and slave node device using the same method | |
JP3010254B2 (en) | Switching hub | |
JPS61208942A (en) | Network access method | |
JP2742158B2 (en) | Traffic control method | |
JPH01119146A (en) | Local area network of csma/cd system | |
JPH04117040A (en) | Communication controller | |
Ma et al. | Prioritized protocols for multi-bus local area networks | |
JPS59107666A (en) | Multi-access communicating device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050609 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070413 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070424 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070625 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070719 |