JPS6395750A - Data transmission control system - Google Patents

Data transmission control system

Info

Publication number
JPS6395750A
JPS6395750A JP24135486A JP24135486A JPS6395750A JP S6395750 A JPS6395750 A JP S6395750A JP 24135486 A JP24135486 A JP 24135486A JP 24135486 A JP24135486 A JP 24135486A JP S6395750 A JPS6395750 A JP S6395750A
Authority
JP
Japan
Prior art keywords
transmission
data
node
station
token
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
JP24135486A
Other languages
Japanese (ja)
Inventor
Hidehiko Okada
岡田 秀比古
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 JP24135486A priority Critical patent/JPS6395750A/en
Publication of JPS6395750A publication Critical patent/JPS6395750A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To effectively use a transmission line by applying CSMA/CD system transmission control in case of small quantity data and allowing a transmission/ reception station of lots of data to set and change the control system from the CSMA/CD system to the token system in sending lots of data. CONSTITUTION:Normally, nodes stations 1-3 use the transmission line impartially by the CSMA/CD system (Carrier Sense Mulitple Access with Collision Detection) system. When a node station desires to send lots of data, the station requests the setting change of the CSMA/CD system to the token system for the line to all node stations. Then all node stations connected to the transmission line 5 use the line 5 as the token system. In using the line 5 by the token system, since the transmission right is given to all the node stations in order, the node station sending lots of data and the node station sending a small amount of data use impartially the line 5. Since the collision by the acquisition of the transmission right of the line 5 is eliminated, the line 5 is used effectively.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ伝送制御方式に係り、特に複数台のノー
ド局間でC3MA/CD方式によるデータ伝送を行う場
合に好適なデータ伝送制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmission control system, and particularly to a data transmission control system suitable for performing data transmission between a plurality of node stations using the C3MA/CD system. .

〔従来の技術〕[Conventional technology]

従来、複数台のノード局が接続されたローカル・ネット
ワーク等で用いられている代表的なデータ伝送制御方式
に、CS M A / CD (CarrierSen
se Multiple Access wjth C
o11ision Detection)方式とトーク
ン方式がある。
Conventionally, CSMA/CD (Carrier Sen.
se Multiple Access wjth C
There are two methods: o11ision Detection) method and token method.

CS MA/CD方式では、伝送路に接続された全ての
ノード局は対等の送信権を持っている。データを送出し
ようとするノード局は、他のノード局が伝送路を使用し
ているかどうか調べ、伝送路が空いていればデータを送
出し、空いていなければ空くのを待つ。したがって、C
SMA/CD方式の場合、同時に複数のノード局がデー
タを送出すると衝突が起こる。衝突が検出されると、各
ノード局は適当な時間だけ待ってデータの再送を行う必
要がある。
In the CS MA/CD system, all node stations connected to a transmission path have equal transmission rights. A node station that wants to send data checks whether another node station is using the transmission line, and if the transmission line is free, it sends the data, and if it is not free, it waits until it becomes free. Therefore, C
In the case of the SMA/CD system, collision occurs when multiple node stations send data at the same time. When a collision is detected, each node must wait an appropriate amount of time before retransmitting data.

一方、トークン方式では、いずれのノード局もデータを
送出していない状態ではトークンと呼ばれる特別なビッ
トパターンが伝送路を巡回している。データを送出しよ
うとするノード局は該トークンを捕え、そのビットパタ
ーンをコネクタ・パターンに置き換えることで送信権を
得、データ伝送を終了すると1元のビットパターンに復
元して送信権を手放す。したがって、トークン方式の場
合、あるノード局がトークンを捕えると、他のノード局
はトークンが復元されるまでデータを送出できないため
、衝突は起こらない。
On the other hand, in the token system, when no node is transmitting data, a special bit pattern called a token circulates on the transmission path. A node station that wants to send data captures the token and replaces the bit pattern with a connector pattern to obtain the right to transmit. When data transmission is completed, the node station restores the original bit pattern to the original bit pattern and releases the right to transmit. Therefore, in the case of the token system, if one node captures the token, no collision occurs because other nodes cannot send data until the token is recovered.

なお、CSMA/CD方式やトークン方式については、
日経データプロ・FDP (日経マグロウヒル礼 19
85年2月)に“ローカル・ネットワークの現状”とし
て論じられている。
Regarding the CSMA/CD method and token method,
Nikkei Data Pro/FDP (Nikkei McGraw-Hill 19
(February 1985), it was discussed as ``Current Status of Local Networks''.

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

CS MA/CD方式は、伝送路の利用率が低い場合は
他のノード局との衝突もなく、即座にデータ伝送を行う
ことができる。しかし、あるノード局の大量のデータ伝
送により伝送路の利用率が上がると、ノード局間の伝送
路の送信権の争奪により衝突が増大するため、当該ノー
ド局のデータ伝送及び当該ノード局以外の少量のデータ
伝送をすることが出来なくなり、伝送路を有効に使用す
ることができない。一方、トークン方式では、csMA
/CD方式のような衝突は起らないが、あるノード局が
送信権を得ると、他のノード局はトークンが復元される
までデータ伝送できない。
The CS MA/CD method can perform data transmission immediately without collision with other node stations when the utilization rate of the transmission path is low. However, when the utilization rate of a transmission path increases due to a large amount of data transmission by a certain node station, collisions increase due to competition for transmission rights on the transmission path between node stations. It becomes impossible to transmit small amounts of data, and the transmission path cannot be used effectively. On the other hand, in the token method, csMA
Unlike the /CD system, collisions do not occur, but once a node obtains the right to transmit, other nodes cannot transmit data until the token is restored.

本発明の目的は、全てのノード局で送信権が対等である
CSMA/CD方式によるデータ伝送を前提とし、大量
のデータ等を伝送する場合に伝送路を有効に使用するデ
ータ伝送制御方式を提供することにある。
An object of the present invention is to provide a data transmission control method that effectively uses transmission paths when transmitting large amounts of data, assuming data transmission using the CSMA/CD method in which transmission rights are equal among all node stations. It's about doing.

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

上記目的は、伝送路に接続された各ノード局にCS M
A/CD伝送制御部とトークン伝送制御部を備え、例え
ば少量のデータを伝送する場合はCSMA/CD方式で
伝送し、大量のデータを伝送する場合はトークン方式で
伝送することにより達成される。
The above purpose is to provide CS M to each node station connected to the transmission path.
It is equipped with an A/CD transmission control section and a token transmission control section, and for example, when transmitting a small amount of data, it is transmitted using the CSMA/CD method, and when transmitting a large amount of data, it is achieved by transmitting using the token method.

〔作 用〕[For production]

通常、各ノード局はCSMA/CD方式により伝送路を
対等に使用している。あるノード局で大量のデータを送
信したい場合、該ノード局は伝送路をCSMA/CD方
式からトークン方式に設定変更する旨の指示を全ノード
局に対して行う。以後、伝送路に接続された全てのノー
ド局は、伝送路をトークン方式で使用する。伝送路をト
ークン方式で使用すると、全ノード局は送信権が順番に
回って来るので大量データを伝送するノード局も少量の
データを伝送するノード局も平等に伝送路を使用するこ
とが出来る。又、伝送路の送信権の争奪による衝突がな
くなるため、伝送路を有効に使用することが出来る。
Normally, each node station uses the transmission path equally according to the CSMA/CD method. When a certain node station wants to transmit a large amount of data, the node station instructs all node stations to change the setting of the transmission path from the CSMA/CD system to the token system. Thereafter, all node stations connected to the transmission path use the transmission path in a token manner. When a transmission line is used in a token system, the transmission right is passed to all node stations in turn, so both node stations transmitting large amounts of data and node stations transmitting small amounts of data can equally use the transmission line. Furthermore, since there is no conflict due to contention for the right to transmit on the transmission line, the transmission line can be used effectively.

前記設定変更の指示を出したノード局は、大量のデータ
を伝送後、トークン方式を設定解除する旨の指示を全ノ
ード局に対して行う。以後、伝送路に接続された全ての
ノード局は、再び伝送路をCSMA/CD方式で使用す
る。これにより、全てのノード局の送信権は対等になり
、伝送路の利用率が低くなった場合、ノード局の衝突も
なく。
After transmitting a large amount of data, the node station that issued the instruction to change the settings issues an instruction to all node stations to cancel the settings for the token system. Thereafter, all node stations connected to the transmission line use the transmission line again in the CSMA/CD system. As a result, all node stations have equal transmission rights, and there is no collision between node stations even if the utilization rate of the transmission path becomes low.

高速なデータ伝送が可能になる。High-speed data transmission becomes possible.

〔実施例〕〔Example〕

以下1本発明の一実施例について図面により詳細に説明
する。
EMBODIMENT OF THE INVENTION Below, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例のネットワークシステムを示
す。ノード局1,2,3,4はそれぞれ伝送路5に接続
されている。ノード局1は、他ノノード局2〜4と、送
受信を行う送受信部11とCSMA/CD方式の伝送制
御を行うCSMA/CD伝送制御部111と、トークン
方式の伝送制御を行うトークン伝送制御部112と送受
信データを格納するバッファ12と送信データ長がある
一定の長さより長い場合にそのフラグを格納するデータ
長レジスタ14と、自局アドレスを格納している自局ア
ドレスレジスタ13からなる。他のノード局2〜4につ
いても同様である。自局アドレスレジスタ13の内容は
データ伝送に先立って予めセットしている。送信時、ノ
ード局1はデータ伝送に先立って、送信データをバッフ
ァ12に格納すると共に、送信データ長を調べ、ある一
定の長さより長い場合はデータ長レジスタ14にIt 
I Itをセットし、ある一定の長さより短いが等しい
場合は“O”をセラ)−する。
FIG. 1 shows a network system according to an embodiment of the present invention. Node stations 1, 2, 3, and 4 are each connected to a transmission line 5. The node station 1 includes a transmitting/receiving unit 11 that performs transmission and reception with other node stations 2 to 4, a CSMA/CD transmission control unit 111 that performs CSMA/CD transmission control, and a token transmission control unit 112 that performs token system transmission control. , a buffer 12 for storing transmitted and received data, a data length register 14 for storing a flag when the transmitted data length is longer than a certain length, and a local address register 13 for storing the local address. The same applies to the other node stations 2 to 4. The contents of the local station address register 13 are set in advance prior to data transmission. At the time of transmission, the node station 1 stores the transmission data in the buffer 12 prior to data transmission, checks the transmission data length, and if it is longer than a certain length, sets It in the data length register 14.
Set I It, and if the length is shorter than a certain value but equal, set "O".

最初に一般的なC,S M A / CD方式の伝送制
御の概要と大量データの伝送等の伝送路の利用率が高い
場合の問題点について説明する。
First, an overview of the transmission control of the general C, SMA/CD system and problems when the utilization rate of the transmission path is high, such as when transmitting a large amount of data, will be explained.

第2図はノード局1の送受信データ6、同様にノード局
2〜4の送受信データ7〜9を表し1本例は局1から局
2へ少量データ15を伝送する場合のタイミングチャー
トを示している。この場合、他のノード局のデータ伝送
と衝突することなく。
FIG. 2 shows transmission and reception data 6 of node station 1, and similarly transmission and reception data 7 to 9 of node stations 2 to 4. This example shows a timing chart when a small amount of data 15 is transmitted from station 1 to station 2. There is. In this case, without colliding with data transmissions of other node stations.

正常にデータ伝送が行われる。Data transmission occurs normally.

ノード局1の送受信部11は他のノード局2〜4が伝送
路5を使用していないか搬送波をセンスして確認する。
The transmitting/receiving unit 11 of the node station 1 senses the carrier wave to check whether other node stations 2 to 4 are using the transmission path 5.

他のノード局2〜4が伝送路5を使用していると、伝送
路5が空くまで待つ。他のノード局2〜・4が伝送路5
を使用していなければ、送受信部11.は、自分で生成
したプリアンプル(以下、Pと称す)16とバッファ1
2から読み出した送信先のアドレス(以下、Aと称す)
17とデータ(以下、Dと称す)18を送信データ15
として伝送路5へ送信する。PI3.A17とDl、8
の長さはノード局1−・4間で規定されているものとす
る。
If other node stations 2 to 4 are using the transmission line 5, the system waits until the transmission line 5 becomes free. Other node stations 2 to 4 are transmission path 5
If the transmitting/receiving section 11. is the preamble (hereinafter referred to as P) 16 and buffer 1 that I generated myself.
Destination address read from 2 (hereinafter referred to as A)
17 and data (hereinafter referred to as D) 18 are transmitted data 15
It is transmitted to the transmission path 5 as PI3. A17 and Dl, 8
It is assumed that the length of is specified between node stations 1-4.

ノード局2〜4はノード局J、からの送信データ15を
各局の送受信部で受信し、A7が自局のアドレスの場合
、自局宛のデータとしてD 1.8のバッファに取込む
、A】7が自局のアドレスでない場合、ノード局1から
の送信データ】5を捨てる。
Node stations 2 to 4 receive the transmission data 15 from node station J in their transmitting/receiving units, and if A7 is the address of their own station, take it into the buffer of D1.8 as data addressed to their own station, A. If ]7 is not the address of the local station, the transmission data ]5 from node station 1 is discarded.

本例では、ノード局1からノード局2へ送信データ15
を伝送するので、A17にはノード局2のアドレスが入
っている。したがって、ノード局2は送受信部2】でノ
ード局】7の送信データ15を受信し、A17が自局の
アドレスなので自局宛データとしてDl8をバッファ2
2に格納する。ノード局3,4でも同様にノード局1の
送信データ15を受信するが、A7の自局宛のアドレス
でないので5ノ一ド局1の送信データ15を捨てる。
In this example, data 15 is transmitted from node station 1 to node station 2.
Since the address of the node station 2 is transmitted, A17 contains the address of the node station 2. Therefore, the node station 2 receives the transmission data 15 of the node station ]7 at the transmitter/receiver unit [2], and since A17 is its own address, Dl8 is sent to the buffer 2 as the data addressed to the own station.
Store in 2. Node stations 3 and 4 similarly receive transmission data 15 from node station 1, but since the address A7 is not addressed to their own station, they discard transmission data 15 from node station 1.

このようにして、ノード局1からノード局2ヘデータを
伝送を行う。ノード局2からノード局1への応答も同様
にして行う。
In this way, data is transmitted from the node station 1 to the node station 2. A response from the node station 2 to the node station 1 is also made in the same manner.

一般にC3MAlCD方式では、ノード局1〜4は伝送
路5が空いているといつでも送信を開始することができ
、そのため複数ノード局間の送信の開始時に衝突の起こ
る可能性がある。第1図において、ノード局】が送信開
始時、ノード局2も同時に送信を開始し、衝突するケー
スについて第73図を用いて説明する。なお、この間ノ
ード局3゜4は伝送路5を使用しないものとする。
Generally, in the C3MAlCD system, the node stations 1 to 4 can start transmission whenever the transmission path 5 is free, and therefore there is a possibility that a collision will occur when starting transmission between multiple node stations. In FIG. 1, when node station 2 starts transmitting, node station 2 also starts transmitting at the same time, and a case will be described with reference to FIG. 73, where a collision occurs. It is assumed that the node stations 3 and 4 do not use the transmission line 5 during this time.

ノード局1−は伝送路5が空いているので、送受信部】
、】−よりP31の送信を開始する。ノード局2も同様
に伝送路5が空いているので、送受信部21よりP4〕
−の送信を開始する。送受信部11はP31の送信中に
も伝送路5から受信を行っており、P:31−の送信中
に受信するデータと送信中のP31とを比較している。
Since the transmission line 5 of the node station 1- is vacant, the transmitting/receiving section]
, ] - starts transmitting P31. Similarly, since the transmission path 5 of the node station 2 is vacant, the transmitter/receiver 21 transmits P4]
- starts sending. The transmitting/receiving unit 11 receives data from the transmission path 5 even during the transmission of P31, and compares the data received during the transmission of P:31- with the data of the P31 being transmitted.

このため、送受信部11は自ノード局1が送信中のP;
31とノード局2のP41が重なると、送信中のP3J
と受信データが不一致となり衝突を検知する。衝突を検
知すると送受信部1−1はP31.の送信を停止する。
For this reason, the transmitting/receiving unit 11 receives P;
31 and P41 of node station 2 overlap, P3J being transmitted
and the received data do not match, and a collision is detected. When a collision is detected, the transmitter/receiver 1-1 transmits P31. Stop sending.

ノードj6’y 2もノード局1と同様に検知し、P4
1の送信を停+1−する。前記P31,41は全ての局
に到達する時間を充分考慮されている。又、衝突検知後
のP31,41の停止のタイミングは全ての局で取り決
められている。
Node j6'y 2 is also detected in the same way as node station 1, and P4
Stop sending 1+1-. The above P31 and P41 take into consideration the time required to reach all stations. Furthermore, the timing of stopping P31 and P41 after a collision is detected is determined by all stations.

ノード局1の送受信部1】は衝突を検知すると、送受信
部内にある乱数テーブルから再送する為の待ち時間Tl
32を求め、送信停止からTl  32後に送信データ
33の再送を試みる。本例では、T132の方がT23
4より小さいので、ノー・ド局1−の方が先に再送に成
功する。ノード局2は送信停止T242後に再送するが
、ツードル)1が使用中の為、ノード局の送信後となる
When the transmitting/receiving unit 1 of the node station 1 detects a collision, it determines the waiting time Tl for retransmission from the random number table in the transmitting/receiving unit.
32, and attempts to retransmit the transmission data 33 after Tl 32 from the stop of transmission. In this example, T132 is better than T23.
Since it is smaller than 4, node 1- succeeds in retransmission first. The node station 2 retransmits after the transmission is stopped T242, but since TUDOL1 is in use, it will be after the node station transmits.

以上が一般的なCS MA/CD方式の伝送制御方式で
あり、伝送路5の利用率が高くなると衝突が頻発するた
め伝送路を有効に使用出来ない。このため2本発明では
、例えば大量データの送信のケースの場合の伝送制御方
式をCSMA/CD方式からトークン方式に変更する。
The above is a general CSMA/CD transmission control system, and when the utilization rate of the transmission path 5 becomes high, collisions occur frequently and the transmission path cannot be used effectively. For this reason, in the second aspect of the invention, the transmission control method in the case of transmitting a large amount of data, for example, is changed from the CSMA/CD method to the token method.

1−−クン方式では、ゴーアヘッドと呼ばれるトークン
(特定ビットパターン)を含んだ送信データにより指示
されたノード局のみが順次の送信権を得ることが出来る
。本例ではノード局1〜4のアドレスをそれぞれ1〜4
とし、トークン方式の送信権はノード局1→ノード局2
→ノード局3→ノード局4→ノード局1→・・・と遷移
することにする。ノード局1〜4は少量のデータ伝送の
場合は、前記C3MA/CD方式のデータ伝送を行う。
In the 1--Kun system, only node stations designated by transmission data containing a token (specific bit pattern) called a go-ahead can obtain successive transmission rights. In this example, the addresses of node stations 1 to 4 are 1 to 4, respectively.
Then, the token-based transmission right goes from node station 1 to node station 2.
→Node station 3→Node station 4→Node station 1→... When transmitting a small amount of data, the node stations 1 to 4 perform data transmission using the C3MA/CD method.

しかし、大量データの送信の場合は、ノード局1〜4は
伝送路5の伝送制御方式をCSMA/CD方式からトー
クン方式に変更し、大量データを伝送する。
However, in the case of transmitting a large amount of data, the node stations 1 to 4 change the transmission control method of the transmission path 5 from the CSMA/CD method to the token method, and transmit the large amount of data.

以下に伝送路5の伝送制御方式をCSMA/CD方式か
らトークン方式に設定変更する動作について説明する。
The operation of changing the setting of the transmission control method of the transmission path 5 from the CSMA/CD method to the token method will be described below.

第4図はこの場合のタイミングチャートで、ノード局1
〜4の送受信データを36〜39で表し、ノード局1か
らノード局4の送信データを50〜90で表している。
Figure 4 is a timing chart in this case, where node station 1
The transmitted and received data from node station 1 to node station 4 are represented by 36 to 39, and the transmitted data from node station 1 to node station 4 are represented by 50 to 90.

送信データ50はゴーアヘッドと呼ばれるトークン(以
下、Gと称す)51.伝送制御方式をCSMA/CD方
式からトークン方式に変更するための指示ビット(以下
、工と称す)52、自局アドレス(以下、Fと称す)5
3、送信先アドレス(以下、Tと称す)54、D55か
ら成る。なお。
The transmission data 50 is a token called go-ahead (hereinafter referred to as G) 51. Instruction bit (hereinafter referred to as "F") 52 for changing the transmission control method from the CSMA/CD method to the token method, own station address (hereinafter referred to as "F") 5
3, destination address (hereinafter referred to as T) 54, and D55. In addition.

G51.I52.F1a、T54.D55の長さ及び送
信開始のタイミングは、ノード局1〜4間で取り決めら
れているものとする。送信データ60〜90も同様であ
るので説明は省略する。
G51. I52. F1a, T54. It is assumed that the length of D55 and the timing of starting transmission are agreed upon between the node stations 1 to 4. The transmission data 60 to 90 are also similar, so the explanation will be omitted.

I52の値は、伝送路5の伝送制御方式をCSMA/C
D方式からトークン方式に変更する場合はOから1にセ
ットされ、トークン方式からCSMA/CD方式に変更
する場合は1から0にリセットされる。I52.T53
.F54.D55はバッファ12の中に格納されている
The value of I52 specifies the transmission control method of transmission path 5 as CSMA/C.
When changing from the D method to the token method, it is set from O to 1, and when changing from the token method to the CSMA/CD method, it is reset from 1 to 0. I52. T53
.. F54. D55 is stored in the buffer 12.

第4図は、ノード局1からノード局3へ大量データをブ
ロック分割して送信を行う場合であり、この時、他のノ
ード局2〜4の送信データは少量の場合である。又、本
例では、ノード局1の送信時、他のノード局2〜4が使
用せず、又、衝突がないケースであり、衝突がある場合
は、前記再送処理を行うものとする。
FIG. 4 shows a case where a large amount of data is divided into blocks and transmitted from the node station 1 to the node station 3, and at this time, the data transmitted from the other node stations 2 to 4 is a small amount. Further, in this example, when the node station 1 transmits, the other node stations 2 to 4 do not use it and there is no collision. If there is a collision, the retransmission process described above is performed.

ノード局1の送信データ50の送信前の伝送路5の伝送
制御方式はC3MAlCD方式の場合であり、ノード局
1へ送信権が回って来たときに大量のデータ送信のため
、以下、トークン方式の伝送制御方式に従いデータ伝送
を行う。送受信部11は伝送路5が空いていると、G5
1とデータ長レジスタ14から読み出した値1′1”を
I52にセラ1−シ、バッファ12から読み出したF1
aとT54とD55を送信データ50として伝送路5に
送信する。この際、送受信部11は、前記データ長レジ
スタ14に読み出した内容が“1”の場合は、伝送制御
をCSMA/CD制御部111からトークン制御部11
2に切替え、トークン方式で伝送をする。データ長レジ
スタ14の内容が“0″の場合は、従来通り、C3MA
/CD制御部111の伝送制御であるC5MA/CD方
式で伝送する。又、送受信部11は、バッファ12から
読み出すデータがなくなるまで、前記送信を行い、バッ
ファ12の送信データがなくなると、■52を410 
I+にセットした送信データ50を送信する。
The transmission control method of the transmission path 5 before the transmission of the transmission data 50 of the node station 1 is the C3MAlCD method, and since a large amount of data is transmitted when the transmission right is handed over to the node station 1, the token method will be used hereinafter. Data transmission is performed according to the transmission control method. When the transmission path 5 is empty, the transmitter/receiver 11 transmits G5.
1 and the value 1'1'' read from the data length register 14 to I52, and F1 read from the buffer 12.
a, T54, and D55 are transmitted to the transmission path 5 as transmission data 50. At this time, if the content read into the data length register 14 is "1", the transmitter/receiver 11 transfers transmission control from the CSMA/CD controller 111 to the token controller 11.
2, and transmit using the token method. If the content of the data length register 14 is “0”, the C3MA
The data is transmitted using the C5MA/CD method, which is the transmission control of the /CD control unit 111. Further, the transmitter/receiver 11 performs the above-mentioned transmission until there is no more data to read from the buffer 12, and when there is no more data to be read from the buffer 12,
Send the transmission data 50 set to I+.

ノード局2〜4はI52を受信すると、それまで伝送路
5をC3MA/CD方式の制御により送信権を争奪して
いたのを停止し、トークン方式の伝送制御方式に切替え
る。又、ノード局2〜4は。
When the node stations 2 to 4 receive I52, they stop competing for the transmission right by controlling the transmission line 5 using the C3MA/CD method, and switch to the token-based transmission control method. Also, the node stations 2 to 4.

前記ノード局1の大量データ送信終了の旨、■52を“
0”にしたデータを送って来た場合、伝送制御方式をト
ークン方式からCS MA/CD方式に切替える。本例
ではノード局1からノード3へ伝送するためF1aは1
にT54は3にセットされている。このため送信権は前
記トークン方式のスケジュールでF1aで次のノード局
、つまりノード局2のみが使用可能となる。この結果、
ノード局2は送信権を得ることが出来たので伝送路5が
空き次第直ちに送信を開始することが出来る。
The message “52” indicates that the node station 1 has finished transmitting large amounts of data.
0", the transmission control method is switched from the token method to the CS MA/CD method. In this example, F1a is set to 1 in order to transmit from node 1 to node 3.
In this case, T54 is set to 3. Therefore, the transmission right can only be used by the next node station, that is, node station 2, at F1a according to the token-based schedule. As a result,
Since the node station 2 has been able to obtain the transmission right, it can start transmitting immediately as soon as the transmission path 5 becomes vacant.

ノード局2の送受信部21は伝送路5の無伝送状態を検
知すると、G61とバッファ22から読み出したI62
とF1aとT64とD65を伝送路5へ送信する。
When the transmitting/receiving unit 21 of the node station 2 detects a non-transmission state on the transmission line 5, it transmits G61 and I62 read from the buffer 22.
, F1a, T64, and D65 are transmitted to the transmission path 5.

ノード局2は送信データ50の送信に先立ち前記ノード
局1の送信データ50の1にセットされたI52を受信
した時、I62をI52と同様の値】−にセラ1−シバ
ラノア22へ格納する。ノード局3.4も前記同様自分
が送信権が回って来たらI72.82を1にセットした
送信データ70゜80を送信する。
When the node station 2 receives I52 set to 1 in the transmission data 50 of the node station 1 prior to transmitting the transmission data 50, it stores I62 to the same value as I52 in the cellar 1-shibaranoa 22. Similarly to the above, when node station 3.4 receives the transmission right, it transmits transmission data 70.80 with I72.82 set to 1.

以上のようにして大量データと少量データの送受信及び
送信権の移動が行われる。ノード局J−からノード局3
への大量のデータの送信が未だある場合は、前記送信デ
・−夕50の送信と同様の処理をするが、ノード局1か
らノード局:3への大量のデータの送信が終った場合は
、以下の処理を行う。
As described above, transmission and reception of large amounts of data and small amounts of data and transfer of transmission rights are performed. From node station J- to node station 3
If there is still a large amount of data to be sent to the node station, the same process as for sending the transmission data 50 is performed, but if the large amount of data has been sent from the node station 1 to the node station 3, , performs the following processing.

ノード局4からノード局1の送信が終わり、ノード局1
に送信権が回って来ると、送受信部11はG 91と0
にリセットしたT92と1?93とT94とD95から
なる送信データ90を伝送路5に送信する、送受信部】
−1,は送信データ90の送信データに先立って、バッ
ファ1−2から送信するデータの長さを読み取り、送信
データがないため、伝送路5の伝送制御方式をトークン
方式からCSMA/CD方式に変更するためI52を0
にリセットし、バッファJ2に格納している。ノード局
)2〜4は0にリセッ1−されたI92を受信すると。
After the transmission from node station 4 to node station 1 is completed, node station 1
When the transmission right comes to , the transmitter/receiver 11 sends G91 and
A transmitting/receiving unit that transmits the transmission data 90 consisting of T92, 1?93, T94, and D95 reset to the transmission path 5]
-1, reads the length of the data to be transmitted from the buffer 1-2 prior to the transmission data of the transmission data 90, and changes the transmission control method of the transmission path 5 from the token method to the CSMA/CD method because there is no data to be transmitted. Set I52 to 0 to change
is reset and stored in buffer J2. Node stations) 2 to 4 receive I92 which has been reset to 0.

それまで伝送路5を1−m−クン方式に制御により送信
権を遷移していたのを停出し、送信データ50を受信前
と同様のCS M A / CD方式の伝送制御方式に
より、伝送路5の送信権を争奪する状態に戻る。
Until then, the transmission right had been transferred by controlling the transmission line 5 to the 1-m-kun system, but the transmission right was changed to the 1-m-kun system, but the transmission right was transferred to the transmission line using the same CSMA/CD transmission control system as before receiving the transmission data 50. The situation returns to the state where the transmission right of No. 5 is contested.

以上のようにして、送信権を指示された局が送信できな
い場合でも、その次の局が自動的に送信するので、送信
権の移行を継続することが出来る。
As described above, even if the station to which the transmission right has been designated is unable to transmit, the next station automatically transmits, so that the transfer of the transmission right can be continued.

以−に1本発明の一実施例について説明したが、他の実
施例としては、以下が考えられる。前記実施例は伝送路
5の伝送制御方式を大量データを送信するノード局自身
が設定及び解除しているが、伝送路5に接続されている
全ての局が伝送路5の利用率を監視し、一定の値を越え
た場合に前記工52〜92をセットし、伝送路5の伝送
制御方式をCS MAlCD方式から1〜−クン方式に
設定変更する。又、伝送路5の利用率が一定の値を下回
った場合、前記丁52−92をリセットシ、伝送路5の
伝送制御方式をトークン方式からCSMA/CD方式に
設定変更する。
Although one embodiment of the present invention has been described above, the following may be considered as other embodiments. In the above embodiment, the transmission control method of the transmission path 5 is set and canceled by the node station itself that transmits a large amount of data, but all stations connected to the transmission path 5 monitor the utilization rate of the transmission path 5. , when a certain value is exceeded, the above-mentioned steps 52 to 92 are set, and the transmission control method of the transmission line 5 is changed from the CS MAlCD method to the 1 to -kun method. Further, when the utilization rate of the transmission line 5 falls below a certain value, the above-mentioned switch 52-92 is reset and the transmission control method of the transmission line 5 is changed from the token method to the CSMA/CD method.

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

以上の説明から明らかなように1本発明によれば、少量
データの場合、CS MAlCD方式の伝送制御を行う
ので高速にデータ伝送が行うことが出来る。又、大量の
データ等を送信する場合は、大量のデータの送受信局が
伝送路の伝送制御方式をCSMA/CD方式からトーク
ン方式に設定変更するので、ノード局間の送信の衝突が
なくなり。
As is clear from the above description, according to the present invention, in the case of a small amount of data, data transmission can be performed at high speed since transmission control is performed using the CS MAlCD method. Furthermore, when transmitting a large amount of data, the transmitting/receiving station of the large amount of data changes the setting of the transmission control method of the transmission path from the CSMA/CD method to the token method, thereby eliminating transmission collisions between node stations.

伝送路を有効に使用することが出来、さらに、伝送路に
接続されている局の送信権が均等にサービスされるため
、サービスの沈みこみがなくなる効果がある。
The transmission path can be used effectively, and since the transmission rights of stations connected to the transmission path are equally served, there is an effect that there is no drop in service.

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

第]−図は本発明の一実施例のネットワークシステムを
示す図、第2図はCS MAlCD方式による衝突がな
い場合の伝送制御を説明するタイミングチャート、第:
3図はCSMA/CD方式による衝突が起きた場合のタ
イミングチャード、第4図はCSMA/CD方式から1
・−クン方式に変更する場合の伝送制御を説明するタイ
ミングチャートである。 ]〜4・・・ノード局、 5・・・伝送路、11.2F
・・・送受信部、 12.22・・・バッファ、  1
3.23・・・自局アドレスレジスタ、14.24・・
・データ長レジスタ、 111.211・・・CSMAlCD伝送制御部、11
2.212・・・トークン伝送制御部。
Fig. 2 is a diagram showing a network system according to an embodiment of the present invention, Fig. 2 is a timing chart illustrating transmission control when there is no collision according to the CS MAlCD method, Fig.
Figure 3 is a timing chart when a collision occurs using the CSMA/CD method, and Figure 4 is a timing chart from the CSMA/CD method.
- It is a timing chart explaining transmission control when changing to a mode. ]~4... Node station, 5... Transmission line, 11.2F
...Transmission/reception unit, 12.22...Buffer, 1
3.23... Own station address register, 14.24...
・Data length register, 111.211...CSMA1CD transmission control section, 11
2.212...Token transmission control unit.

Claims (1)

【特許請求の範囲】[Claims] (1)複数台のノード局が伝送路を介して接続されたネ
ットワークシステムにおいて、各ノード局にCSMA/
CD制御部とトークン制御部を設け、通常は各ノード局
がCSMA/CD方式で伝送路を使用し、あるノード局
が伝送路をCSMA/CD方式からトークン方式に設定
変更する旨の指示を他のノード局に対して行うと、以後
、前記ノード局からトークン方式の設定解除の指示があ
るまで、各ノード局はトークン方式で伝送路を使用する
ことを特徴とするデータ伝送制御方式。
(1) In a network system in which multiple node stations are connected via transmission paths, each node station has CSMA/
A CD control unit and a token control unit are provided, and normally each node station uses the transmission path in the CSMA/CD method, and a certain node station receives an instruction to change the setting of the transmission path from the CSMA/CD method to the token method. 1. A data transmission control system characterized in that when the data transmission control method is performed for a node station, each node station thereafter uses a transmission path in a token system until an instruction is given from the node station to cancel the setting of the token system.
JP24135486A 1986-10-13 1986-10-13 Data transmission control system Pending JPS6395750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24135486A JPS6395750A (en) 1986-10-13 1986-10-13 Data transmission control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24135486A JPS6395750A (en) 1986-10-13 1986-10-13 Data transmission control system

Publications (1)

Publication Number Publication Date
JPS6395750A true JPS6395750A (en) 1988-04-26

Family

ID=17073049

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24135486A Pending JPS6395750A (en) 1986-10-13 1986-10-13 Data transmission control system

Country Status (1)

Country Link
JP (1) JPS6395750A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2281679B (en) * 1992-04-13 1996-02-14 Honda Motor Co Ltd Data transmission system for vehicle
US6501764B1 (en) 1998-03-11 2002-12-31 Fujitsu Limited Method of and apparatus for realizing priority data transmissions for CSMA/CD system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2281679B (en) * 1992-04-13 1996-02-14 Honda Motor Co Ltd Data transmission system for vehicle
US6501764B1 (en) 1998-03-11 2002-12-31 Fujitsu Limited Method of and apparatus for realizing priority data transmissions for CSMA/CD system

Similar Documents

Publication Publication Date Title
EP0306963B1 (en) Network system using token-passing bus acces method
US5121382A (en) Station-to-station full duplex communication in a communications network
US4715030A (en) Local area network bridge
US5940399A (en) Methods of collision control in CSMA local area network
EP0833479B1 (en) Contention resolution process for data networks
JP2523882B2 (en) Data transmission equipment
JPH09168018A (en) Transmission method of digital data, transmitter and transmission system
JPS6395750A (en) Data transmission control system
EP0616450A2 (en) Communication control device
JP2835137B2 (en) Response system in wireless broadcast system
JPH03268534A (en) Transmission priority classifying system for csma/cd type network
Cisco LLC2 and SDLC Commands
JPH0292043A (en) Data reception system
JP3247637B2 (en) Transmission system and communication method thereof
JPH0720109B2 (en) Network system using token passing bus method
JPH0145654B2 (en)
CA1226639A (en) Prioritized unidirectional distribution bus accessing system
JPH0687559B2 (en) Bus type LAN
JPH0365702B2 (en)
JP3229096B2 (en) Communication device and method, and computer system using them
JPH077954B2 (en) Control device
JPH07162442A (en) Lan repeating device
JPH0514384A (en) Data transmission system
JPS61186045A (en) Access system in network system
JPH02222240A (en) Transmission method for hierarchical system