JPH065840B2 - Data bus priority transmission control method - Google Patents
Data bus priority transmission control methodInfo
- Publication number
- JPH065840B2 JPH065840B2 JP62210407A JP21040787A JPH065840B2 JP H065840 B2 JPH065840 B2 JP H065840B2 JP 62210407 A JP62210407 A JP 62210407A JP 21040787 A JP21040787 A JP 21040787A JP H065840 B2 JPH065840 B2 JP H065840B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- preamble
- transmission
- priority
- transmitted
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、直線状データバス方式のデータ優先伝送制御
方式に利用する。特に、プライオリティ・エサーネット
方式(以下、Priority Ethernet方式という。)のデー
タ優先伝送制御方式に利用する。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention is used for a data priority transmission control system of a linear data bus system. Especially, it is used for data priority transmission control method of priority Ethernet method (hereinafter referred to as Priority Ethernet method).
本発明はPriority Ethernet方式によるデータバス優先
伝送制御方式において、 パケット内にプリアンブル長を示す値を書込むフィール
ドを設け、パケット送信に成功したノードは送信成功時
のプリアンブル長を示す値をこのフィールドに書込んで
パケットを送信し、複数のノードが同時に送信した場合
には、送信を成功したパケット内のプリアンブル長を示
す値に基づいて次の優先順位のパケットを判断し、最初
のパケット送信終了後に次の優先順位のパケットを送信
しそれ以下の優先順位のパケットの送信を一時保留する
ことにより、 優先度の高いパケット順に送信が成功し、かつ伝送効率
が向上するようにしたものである。The present invention provides a field for writing a value indicating a preamble length in a packet in a data bus priority transmission control method based on the Priority Ethernet method, and a node which succeeds in packet transmission has a value indicating a preamble length at the time of successful transmission in this field. If multiple nodes send at the same time by writing and sending a packet, the packet with the next priority is judged based on the value indicating the preamble length in the successfully sent packet, and after the first packet has been sent By transmitting the packet of the next priority and temporarily suspending the transmission of the packets of the lower priority, the transmission is successful in the order of the highest priority packets, and the transmission efficiency is improved.
第5図は従来例のデータバス優先伝送制御装置の送信パ
ケットのフレームフォーマットである。第6図は従来例
のデータバス優先伝送制御装置のパケット送信タイミン
グを示す図である。FIG. 5 shows a frame format of a transmission packet of the conventional data bus priority transmission control device. FIG. 6 is a diagram showing packet transmission timing of a conventional data bus priority transmission control device.
従来、データバス優先伝送制御装置は、直線状のバスに
分岐接続された複数個のノードを備えたデータバス装置
において次に示すようなPriorityEthernet方式の伝送制
御アルゴリズムによってパケットの優先伝送を可能とし
ていた。Conventionally, the data bus priority transmission control device has enabled the priority transmission of packets by the following priority Ethernet type transmission control algorithm in the data bus device having a plurality of nodes branched and connected to a linear bus. .
…第5図に示すように、各パケットの先頭にそのノー
ドの優先度が高ければ高いほど長いプリアンブルを付加
する。最低位の優先レベルのノードのパケットにはプリ
アンブルを付加しなくてもよい。As shown in FIG. 5, a longer preamble is added to the beginning of each packet as the priority of the node increases. The preamble may not be added to the packet of the node of the lowest priority level.
…バスが空き状態のときプリアンブルの送信を開始
し、ビジー状態のときはバスが空き状態になるまでプリ
アンブルの送信は保留する。... When the bus is empty, the preamble transmission starts. When the bus is busy, the preamble transmission is suspended until the bus becomes empty.
…プリアンブルの送信を開始してから所定の時間(往
復伝搬時間)以内に他のノードの送信するプリアンブル
との衝突が発生しないときには、プリアンブルの送信を
中断してパケットの内容を送信する。If the collision with the preamble transmitted by another node does not occur within a predetermined time (round-trip propagation time) after the transmission of the preamble is started, the transmission of the preamble is interrupted and the packet content is transmitted.
…プリアンブルの送信を開始してから所定の時間以内
に衝突が発生したときには、衝突が発生した時点からパ
ケットに付加されたプリアンブルの長さを限度にプリア
ンブルを送信することができる。If a collision occurs within a predetermined time after starting the transmission of the preamble, the preamble can be transmitted within the length of the preamble added to the packet from the time when the collision occurs.
…プリアンブルを送信中に衝突が検出されなくなった
ときには、ただちにプリアンブルの送信を中断しパケッ
トの内容を送信する。... When the collision is not detected while transmitting the preamble, the transmission of the preamble is immediately stopped and the contents of the packet are transmitted.
…パケットに付加されたプリアンブルを送出し終わる
まで衝突が検出されたときには、このノードは送信権を
失いランダム遅延時間の後に項目にもどりバスの空き
状態をチェックする。... When a collision is detected until the transmission of the preamble attached to the packet is completed, this node loses the transmission right and returns to the item after a random delay time to check the bus availability.
以上の伝送制御アルゴリズムによる優先伝送の例を具体
的に示したのが第6図であり、優先度0、1、2(数が
大きいものほど優先度が高い)のパケットの送信が同時
になされた場合に優先度0および優先度1のパケットは
途中で送信中止となり、優先度2のパケットの送信が成
功することになる。FIG. 6 specifically shows an example of the priority transmission by the above transmission control algorithm, and packets of priority 0, 1, 2 (the higher the number, the higher the priority) were transmitted at the same time. In this case, the transmission of the packets of priority 0 and priority 1 is stopped midway, and the transmission of the packet of priority 2 is successful.
しかし、このような従来例のデータバス優先伝送制御方
式では、送信を中止したパケットは、ランダム遅延時間
の後に再び送信を試みるので、送信を中止したパケット
のうち優先度の低いパケットが優先度の高いパケットよ
り先に送信に成功する場合がある問題点があった。However, in such a data bus priority transmission control method of the conventional example, a packet whose transmission has been stopped tries to be transmitted again after a random delay time, and therefore a packet with a low priority among the packets whose transmission has been stopped has the priority. There is a problem that the transmission may be successful before the high packet.
また、優先度iのパケット送信が成功したときに、送信
を中止していた優先度(i−1)以下の全てのパケット
は再び優先度に応じたプリアンブルを送信するために、
優先度(i−1)のパケットは優先度(i−1)の長さ
のプリアンブルの送信の後でなければ、プリアンブルに
続くパケットの内容を送信できない場合があるので、プ
リアンブル送信のために伝送効率の低下をもたらす問題
点があった。Further, when the packet transmission of the priority i succeeds, all the packets of the priority (i-1) or less, which have been stopped the transmission, again transmit the preamble according to the priority,
A packet of priority (i-1) may be transmitted for preamble transmission because the contents of the packet following the preamble may not be transmitted until after transmission of the preamble of the length of priority (i-1). There was a problem that resulted in a decrease in efficiency.
本発明は上記の問題点を解決するもので、優先度の高い
パケット順に送信が成功し、かつ伝送効率がよいデータ
バス優先伝送制御方式を提供することを目的とする。SUMMARY OF THE INVENTION It is an object of the present invention to solve the above problems and to provide a data bus priority transmission control method in which transmission is successful in the order of high priority packets and transmission efficiency is good.
本発明は、プライオリティ・エサーネット方式のデータ
バス優先伝送制御方式において、パケット送信成功時に
パケット内のあらかじめ定めたフィールドにパケット送
信成功時のプリアンブルの長さを示す値を書込んでパケ
ットの内容を送信し、複数のノードが同時にパケットを
送信した場合には、プリアンブルの長さを示す値に基づ
いて判断された次の優先順位のパケットを送信し、それ
以下の優先順位のパケットを一時保留することを特徴と
する。The present invention, in the priority Ethernet data bus priority transmission control method, transmits a packet content by writing a value indicating a preamble length at the time of successful packet transmission into a predetermined field in the packet at the time of successful packet transmission. However, if multiple nodes send packets at the same time, send the packet with the next priority determined based on the value indicating the length of the preamble, and temporarily hold the packets with lower priority. Is characterized by.
パケット送信に成功したノードは送信するパケットのあ
らかじめ定めたフィールドに送信成功時のプリアンブル
の長さを示す値を書込んで送信する。複数のノードが同
時に送信した場合には、このパケットに書込まれたプリ
アンブル長を観測し、このプリアンブル長に基づいて次
の優先順位を判断する。次の優先順位と判断したノード
はパケットの送信を開始し、それ以下の優先順位のノー
ドはプリアンブルの送信を一時保留する。以上の動作に
より優先度の高いパケット順に送信が成功し、かつ伝送
効率を向上できる。A node that succeeds in packet transmission writes a value indicating the length of the preamble upon successful transmission in a predetermined field of the packet to be transmitted, and transmits the packet. When a plurality of nodes transmit at the same time, the preamble length written in this packet is observed and the next priority order is determined based on this preamble length. The node determined to have the next highest priority starts transmitting packets, and the nodes having lower priorities temporarily suspend transmission of the preamble. By the above operation, the transmission can be successfully performed in the order of the high priority packets, and the transmission efficiency can be improved.
本発明の実施例について図面を参照して説明する。第3
図は本発明一実施例データバス優先伝送制御装置のブロ
ック構成図である。第3図において、データバス優先伝
送制御装置は、直線状のバスlと、バスlに分岐接続さ
れたn個のノードNl〜Ni〜Nnとを備える。各ノー
ドNiは、Prio-rity Ethernet方式のデータ優先伝送制
御を行うマイクロプロセッサCPUiを含む。Embodiments of the present invention will be described with reference to the drawings. Third
FIG. 1 is a block diagram of a data bus priority transmission control device according to an embodiment of the present invention. In FIG. 3, the data bus priority transmission control device comprises a linear bus 1 and n nodes N 1 to N i to N n branched and connected to the bus 1. Each node N i includes a microprocessor CPU i that performs data priority transmission control of the Prior-rity Ethernet system.
ここで本発明の特徴とするところは、マイクロプロセッ
サCPUiに、パケット送信成功時にプリアンブルの長
さを示す値を設定する手段と、このプリアンブルの長さ
を示す値に基づいて次の優先順位を判断して、次の優先
順位のパケットは送信しそれ以下の優先順位のパケット
はプリアンブルの送信を一時保留する手段とを含むこと
にある。The feature of the present invention is that the microprocessor CPU i is provided with means for setting a value indicating the length of the preamble upon successful packet transmission, and the next priority order is set based on the value indicating the length of the preamble. It is determined that the next priority packet is transmitted, and the lower priority packets include means for temporarily suspending transmission of the preamble.
このような構成のデータバス優先伝送制御装置の動作に
ついて説明する。第1図は本発明のデータバス優先伝送
制御装置の送信パケットのフレームフォーマットであ
る。第2図は本発明のデータバス優先伝送制御装置のパ
ケット送信タイミングを示す図である。第4図は本発明
のデータバス優先伝送制御装置の動作を示すフローチャ
ートである。The operation of the data bus priority transmission control device having such a configuration will be described. FIG. 1 is a frame format of a transmission packet of the data bus priority transmission control device of the present invention. FIG. 2 is a diagram showing packet transmission timing of the data bus priority transmission control device of the present invention. FIG. 4 is a flow chart showing the operation of the data bus priority transmission control device of the present invention.
第1図において、パケット内にプリアンブル長を示すフ
ィールドを設ける。11はプリアンブルフィールド、12は
プリアンブル長フィールド、13は送信アドレルフィール
ド、14は受信アドレルフィールド、15はデータフィール
ドおよび16はチェックビットフィールドである。パケッ
ト内のプリアンブルフィールド11は、2iバイト(iは
優先度であり、i=0、1、2、…、m)とし、プリア
ンブル長フィールド12にはiを設定するものとする。In FIG. 1, a field indicating the preamble length is provided in the packet. 11 is a preamble field, 12 is a preamble length field, 13 is a transmission adrel field, 14 is a reception adrel field, 15 is a data field, and 16 is a check bit field. The preamble field 11 in the packet is 2i bytes (i is a priority, i = 0, 1, 2, ..., M), and i is set in the preamble length field 12.
ノードN1、N3、N4が優先度1、3、4のパケット
の送信要求を同時に行った場合について説明する。A case will be described in which the nodes N 1 , N 3 , and N 4 simultaneously request transmission of packets of priority levels 1 , 3 , and 4 .
第1図〜第4図において、まず優先度1、3、4のパケ
ットに付加されたプリアンブルの長さは2バイト、6バ
イトおよび8バイトである。ノードN1、N3、N4は
バス上の他のノードの送信信号を観測する()。他の
送信信号があるときには()、引き続き観測を続ける
()。他のノードの送信信号がないときには()、
ノードN1、N3、N4はそれぞれプリアンブルを送信
する()。(ここで、送信要求を行うノードが一つの
ときには所定の時間(往復伝搬時間、2バイトとする)
以内に他のノードの送信するプリアンブルとの衝突がな
いので()、そのノードはプリアンブル長フィールド
12に「1」書込んでパケットの内容を送信する
()。)ノードN1、N3、N4が同時に送信要求を
行い衝突が生じるために()、各ノードN1、N3、
N4は引き続きプリアンブルを送信する()。ノード
N4のプリアンブルが8バイトでもっとも長いので衝突
がなくなり()、プリアンブル長フィールド12に
「4」を書込んでパケットの内容を送信する。ノードN
1、N3はプリアンブルが8バイトより短いのでパケッ
トに付加されたすべてを送信しても衝突があり(、
)、パケット送信は成功しない。In FIGS. 1 to 4, the lengths of the preambles added to the packets of priority 1, 3, and 4 are 2 bytes, 6 bytes, and 8 bytes. The nodes N 1 , N 3 and N 4 observe the transmission signals of other nodes on the bus (). When there is another transmitted signal (), continue observation (). When there is no transmission signal from other nodes (),
The nodes N 1 , N 3 and N 4 respectively transmit the preamble (). (Here, when there is one node that requests transmission, a predetermined time (round-trip propagation time, 2 bytes)
Since there is no collision with the preamble sent by other nodes within (), that node has the preamble length field.
Write "1" in 12 and send the contents of the packet (). ) Since the nodes N 1 , N 3 and N 4 make transmission requests at the same time and a collision occurs (), each node N 1 , N 3 ,
N 4 continues to send the preamble (). Since the preamble of the node N 4 is the longest of 8 bytes, collision does not occur (), and “4” is written in the preamble length field 12 to transmit the packet contents. Node N
1 and N 3 have a preamble shorter than 8 bytes, so there is a collision even if all the packets added to the packet are transmitted (,
), Packet transmission is not successful.
ノードN1、N3はバスl上の送信を成功したパケット
に書込まれたプリアンブル長を観測しプリアンブル長に
基づいて優先順位を判断する()。観測したプリアン
ブル長が「4」であるのでノードN3(プリアンブル長
が「3」)は次の優先順位であると判断する()。ノ
ードN1(プリアンブル長が「1」)は次の優先順位で
ないと判断し()、プリアンブルの送信を一時保留す
る()。ノードN3はバス上の他のノード(ノードN
4)の送信信号を観測する()。他のノード(ノード
N4)の送信信号がなくなったとき()、プリアンブ
ルを送信する()。他のノードの送信するプリアンブ
ルがないので所定の時間(2バイト)以内に衝突がなく
()、プリアンブル長フィールド12に「1」を書込ん
でパケットの内容を送信する()。The nodes N 1 and N 3 observe the preamble length written in the successfully transmitted packet on the bus l and judge the priority based on the preamble length (). Since the observed preamble length is “4”, it is determined that the node N 3 (preamble length is “3”) has the next priority (). The node N 1 (the preamble length is “1”) judges that it is not the next priority (), and temporarily suspends the transmission of the preamble (). The node N 3 is another node (node N
4 ) Observe the transmitted signal (). When there is no transmission signal from another node (node N 4 ) (), the preamble is transmitted (). Since there is no preamble transmitted by another node, there is no collision within a predetermined time (2 bytes) (), and "1" is written in the preamble length field 12 to transmit the packet contents ().
ノードN1はプリアンブルの送信を一時保留した後に
()、バス上の他のノード(ノードN3)の送信信号
を観測し()、他のノード(ノードN3)の送信信号
がなくなったとき()、プリアンブルを送信する
()。他のノードの送信するプリアンブルがないので
所定の時間(2バイト)以内に衝突がなく()、プリ
アンブル長フィールド12に「1」を書込んでパケットの
内容を送信する。When the node N 1 temporarily holds the transmission of the preamble (), observes the transmission signal of the other node (node N 3 ) on the bus (), and the transmission signal of the other node (node N 3 ) disappears. (), Send preamble (). Since there is no preamble transmitted by another node, there is no collision within a predetermined time (2 bytes) (), and "1" is written in the preamble length field 12 to transmit the packet contents.
以上説明したように、本発明は、優先順位の高いパケッ
ト順に送信が成功し、かつ伝送効率を向上することがで
きる優れた効果がある。As described above, the present invention has an excellent effect that transmission can be successfully performed in the order of high priority packets and that transmission efficiency can be improved.
第1図は本発明のデータバス優先伝送制御装置のパケッ
トのフレームフォーマット。 第2図は本発明のデータバス優先伝送制御装置のパケッ
ト送信タイミングを示す図。 第3図は本発明一実施例データバス優先伝送制御装置の
ブロック構成図。 第4図は本発明のデータバス優先伝送制御装置の動作を
示すフローチャート。 第5図は従来例のデータバス優先伝送制御装置のパケッ
トのフレームフォーマット。 第6図は従来例のデータバス優先伝送制御装置のパケッ
ト送信タイミングを示す図。 11…プリアンブルフィールド、12…プリアンブル長フィ
ールド、13…送信アドレスフィールド、14…受信アドレ
スフィールド、CPUi…マイクロプロセッサ、l…バ
ス、Nl〜Ni〜Nn…ノード。FIG. 1 is a frame format of a packet of the data bus priority transmission control device of the present invention. FIG. 2 is a diagram showing packet transmission timing of the data bus priority transmission control device of the present invention. FIG. 3 is a block diagram of a data bus priority transmission control device according to an embodiment of the present invention. FIG. 4 is a flow chart showing the operation of the data bus priority transmission control device of the present invention. FIG. 5 shows a packet frame format of a conventional data bus priority transmission control device. FIG. 6 is a diagram showing packet transmission timing of a conventional data bus priority transmission control device. 11 ... Preamble field, 12 ... Preamble length field, 13 ... Transmission address field, 14 ... Reception address field, CPU i ... Microprocessor, l ... Bus, N 1 to N i to N n ... Nodes.
Claims (1)
ないときに優先度の高い順に長いプリアンブルを付加さ
れたパケットの送信を開始し、 プリアンブルの送信を開始してから所定の時間以内に他
のノードが送信するプリアンブルとの衝突が発生しない
ときには、プリアンブルの送信を中断してパケットの内
容を送信し、衝突が発生したときには、衝突が発生した
時点からパケットに付加されたプリアンブルの長さを限
度にプリアンブルを送信し、この間に衝突が観測されな
くなったときにプリアンブルの送信を中断してパケット
の内容を送信し、 パケットに付加されたプリアンブルを送信し終わるまで
衝突を観測しつづけたときは送信権を失う プライオリティ・エサーネット方式のデータバス優先伝
送制御方式において、 パケット送信成功時にパケット内のあらかじめ定めたフ
ィールドパケット送信成功時のプリアンブルの長さを示
す値を書込んでパケットの内容を送信し、 複数のノードが同時にパケットを送信した場合には、送
信に成功したパケットのプリアンブルの長さを示す値に
基づいて判断された次の優先順位のパケットを送信し、
それ以下の優先順位のパケットを一時保留する ことを特徴とするデータバス優先伝送制御方式。1. When a transmission signal of another node is not observed on the bus, the transmission of a packet to which a long preamble is added is started in descending order of priority, and the transmission of the preamble is started within a predetermined time. When there is no collision with the preamble transmitted by another node, the transmission of the preamble is interrupted and the contents of the packet are transmitted. When a collision occurs, the length of the preamble added to the packet from the time the collision occurs. When the preamble is transmitted up to the limit, the transmission of the preamble is interrupted when the collision is no longer observed, the contents of the packet are transmitted, and the collision is continuously observed until the preamble added to the packet is completely transmitted. Loses the right to send packets in the priority Ethernet data bus priority transmission control method Predetermined field packet in the packet on success If the value of the preamble at the time of successful transmission is written and the content of the packet is transmitted and multiple nodes transmit the packet at the same time, the packet that was successfully transmitted. The packet of the next priority determined based on the value indicating the preamble length of
A data bus priority transmission control method characterized by temporarily holding packets of lower priority.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62210407A JPH065840B2 (en) | 1987-08-24 | 1987-08-24 | Data bus priority transmission control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62210407A JPH065840B2 (en) | 1987-08-24 | 1987-08-24 | Data bus priority transmission control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6451840A JPS6451840A (en) | 1989-02-28 |
| JPH065840B2 true JPH065840B2 (en) | 1994-01-19 |
Family
ID=16588806
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62210407A Expired - Lifetime JPH065840B2 (en) | 1987-08-24 | 1987-08-24 | Data bus priority transmission control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH065840B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE112023006079T5 (en) * | 2023-08-03 | 2026-02-26 | Denso Ten Limited | COMMUNICATION PROCEDURES AND COMMUNICATION SYSTEM |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58104546A (en) * | 1981-12-16 | 1983-06-22 | Yokogawa Hokushin Electric Corp | Data communication controlling system |
-
1987
- 1987-08-24 JP JP62210407A patent/JPH065840B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6451840A (en) | 1989-02-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5884040A (en) | Per-packet jamming in a multi-port bridge for a local area network | |
| US4430651A (en) | Expandable and contractible local area network system | |
| US4410889A (en) | System and method for synchronizing variable-length messages in a local area network data communication system | |
| US4423414A (en) | System and method for name-lookup in a local area network data communication system | |
| JP3458469B2 (en) | Signal receiving apparatus and communication method | |
| US5721955A (en) | System for transferring portion of data to host from buffer if size of packet is greater than first threshold value but less than second threshold value | |
| JPH0411057B2 (en) | ||
| JPH0380381B2 (en) | ||
| KR970029126A (en) | Multiprocessor system | |
| WO1983001359A1 (en) | A local area contention network data communication system | |
| JP6174305B2 (en) | Data transmission apparatus, communication control method, and communication control program | |
| US6301256B1 (en) | Selection technique for preventing a source port from becoming a destination port in a multi-port bridge for a local area network | |
| US6157951A (en) | Dual priority chains for data-communication ports in a multi-port bridge for a local area network | |
| WO1999014901A1 (en) | High speed bus structure in a multi-port bridge for a local area network | |
| US6445718B1 (en) | Serial interface circuit | |
| JPH07182293A (en) | Distributed processing system and data transfer control method | |
| JPH065840B2 (en) | Data bus priority transmission control method | |
| EP0125095A1 (en) | Packet communication system | |
| JP2000078187A (en) | Data communication device, method and storage medium | |
| JP3060660B2 (en) | Terminal device transmission control method | |
| CN120567773A (en) | Intelligent network card and request message forwarding method | |
| JPH077969B2 (en) | Communication control method | |
| JPH0230247A (en) | Priority identification system | |
| JP2002281039A (en) | Packet transceiver | |
| JPH0685841A (en) | Communication controller |