JPS5813058B2 - Data transfer priority control method - Google Patents

Data transfer priority control method

Info

Publication number
JPS5813058B2
JPS5813058B2 JP6031276A JP6031276A JPS5813058B2 JP S5813058 B2 JPS5813058 B2 JP S5813058B2 JP 6031276 A JP6031276 A JP 6031276A JP 6031276 A JP6031276 A JP 6031276A JP S5813058 B2 JPS5813058 B2 JP S5813058B2
Authority
JP
Japan
Prior art keywords
station
frame
priority
transmission
data
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
Application number
JP6031276A
Other languages
Japanese (ja)
Other versions
JPS52142937A (en
Inventor
中塚茂雄
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP6031276A priority Critical patent/JPS5813058B2/en
Publication of JPS52142937A publication Critical patent/JPS52142937A/en
Publication of JPS5813058B2 publication Critical patent/JPS5813058B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 この発明はデータウエイシステムの制御技術にかかわり
、特に入出力機器、電子計算機等が接続された複数のス
テーションが、互いに直列に環(ループ)状に接続され
たループ伝送システムにおいて、低速応答性を許す装置
と高速応答性を要求する装置を混在させ、高速応答性を
要する装置の情報転送の待ち時間を減少させることを可
能とするデータ転送の優先制御方式に関するものである
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to control technology for dataway systems, and in particular to loop transmission in which a plurality of stations to which input/output devices, electronic computers, etc. are connected are connected in series to each other in a loop. This relates to a data transfer priority control method that allows devices that allow low-speed response and devices that require high-speed response to coexist in a system, thereby reducing the waiting time for information transfer of devices that require high-speed response. be.

従来のループ伝送システムには第1図に示す集中制御形
および第2図に示す分散制御形のループ伝送システムが
ある。
Conventional loop transmission systems include a centralized control type as shown in FIG. 1 and a distributed control type as shown in FIG.

第1図において1はループ状伝送路、2は中央計算機3
およびループ制御装置4を有する中央装置、ST1,S
T2,ST3,ST4,ST5はステーション、D1,
D3,D41,D42等はステーションに接続する入出
力装置もしくは計算機等を表わしている。
In Figure 1, 1 is a loop-shaped transmission line, 2 is a central computer 3
and a central device with loop controller 4, ST1,S
T2, ST3, ST4, ST5 are stations, D1,
D3, D41, D42, etc. represent input/output devices or computers connected to the station.

第1図の集中制御形ループ伝送システムでは、中央装置
2が各ステーションのループ状伝送路1への情報伝送の
管理権を有し、中央装置から一つのステーションへ情報
伝送の許可もしくは依頼を確認し、中央装置からステー
ションへの情報伝送もしくはステーションから中央装置
への情報伝送を行うという方式により伝送の制御を行っ
ている。
In the centrally controlled loop transmission system shown in Figure 1, the central device 2 has the right to manage information transmission to the loop transmission line 1 of each station, and confirms permission or request for information transmission from the central device to one station. However, transmission is controlled by a system in which information is transmitted from the central device to the station or from the station to the central device.

この方式は一般に次の欠点を有する。This method generally has the following drawbacks.

(a)任意のステーション間で直接情報転送ができない
(a) Direct information transfer between arbitrary stations is not possible.

(b)中央計算機3がループ伝送システムを集中管理す
るために、集中管理のためのプログラムの走行する時間
が多くなり、従ってステーションから入力された情報の
処理能力が低下する。
(b) Since the central computer 3 centrally manages the loop transmission system, the running time of the program for central control increases, and therefore the processing capacity of information input from the stations decreases.

また、第2図の分散制御形ループ伝送システムは第1図
の集中形ループ伝送システムに対する前記欠点を解決す
るためのものである。
The decentralized loop transmission system of FIG. 2 is intended to overcome the drawbacks of the centralized loop transmission system of FIG.

第2図において1はループ状伝送路、ST1,ST2,
・・・・・・,ST5はステーションをD1,D3,D
41,D42等はステーションに接続する入出力装置も
しくは計算機等を示している。
In Fig. 2, 1 is a loop-shaped transmission line, ST1, ST2,
......, ST5 is the station D1, D3, D
41, D42, etc. indicate input/output devices or computers connected to the station.

分散制御形ループ伝送システムにおいては、送信順序を
規制する中央装置を持たないため、各ステーションST
1〜ST5は勝手に任意ステーション相手に情報を送信
するために、線路の争奪が多重に発生する要因がある。
In a distributed control loop transmission system, each station ST
In ST1 to ST5, information is transmitted to any station without permission, so there is a factor in multiple lines being contested.

この争奪を避けるために従来の制御方式では次のような
方法が行われている。
In order to avoid this contention, the following methods are used in conventional control systems.

(5)ステーションに接続する入出力装置、計算機等の
応答特性、トラフイツク量などのパラメータをもとにし
て各ステーションに固定的に優先順位を割当て、ループ
状伝送路へ送出する情報の一部に優先順位を設定する領
域を設ける。
(5) A fixed priority is assigned to each station based on parameters such as the response characteristics of the input/output devices and computers connected to the station, and the amount of traffic, and some of the information sent to the loop-shaped transmission path is Provide an area to set priorities.

さらに次の(i),(ii)のごとくの方式により制御
が行われる。
Furthermore, control is performed using the following methods (i) and (ii).

(i)すべてのステーションをストア・アンド・フォワ
ード方式の蓄積交換形のステーションにして、自ステー
ションが情報を送出したいときに自ステーションより低
い優先順位の情報が入出されたならば、この情報は一時
自ステーション内の記憶領域に保留しループ状伝送路1
に自ステーションの情報を送出する。
(i) If all stations are store-and-forward type stations, and when a station wants to send information, information with a lower priority than that of the station comes in and out, this information is temporarily stored. Loop-shaped transmission path 1 stored in the storage area within its own station
Sends information about its own station to.

(ii)送信しようとするステーションが、情報ブロッ
クの送信に先立ち優先順位情報のみをループ状伝送路1
に送出し、送信要求を保持している他のステーションの
優先順位とを比較する。
(ii) A station attempting to transmit transmits only priority information to the loop transmission path 1 before transmitting an information block.
and compares the priorities of other stations holding transmission requests.

優先順位の競争を行ない勝ったステーションが情報を送
信する。
The winning station performs a priority competition and transmits the information.

しかしこれらの方法は(1)の方法においては、ステー
ション内の記憶領域が増大するという欠点が(ii)の
方法においてはデータフレームの送信に先立ち必ず優先
順位の比較という操作をともなうため実効伝送速度が低
下するという欠点があった。
However, in method (1), the storage area within the station increases, which is a drawback, and in method (ii), priority comparison is always required before transmitting a data frame, so the effective transmission speed is reduced. The disadvantage was that it decreased.

そこで前記分散形ループ伝送システムの欠点を解決する
方法として(B)の方法が考えられた。
Therefore, method (B) was considered as a method to solve the drawbacks of the distributed loop transmission system.

(B)ループ状伝送路1上を巡回する前進信号を設け、
この前進信号を検出したステーションが送信権を獲得し
、他の任意の相手ステーションへデータフレームを送出
するとともに、前記相手ステーションからの応答信号を
確認した時に、あるいは前記前進信号を受けても送信す
べきデータのない時には前記前進信号を次のステーショ
ンへ送出する。
(B) Providing a forward signal circulating on the loop-shaped transmission line 1,
The station that detects this advance signal acquires the transmission right and sends a data frame to any other partner station, and also transmits the data frame when it confirms a response signal from the partner station or even if it receives the advance signal. When there is no data to be processed, the advance signal is sent to the next station.

しかしながら(B)の方式においては、ステーションの
うちの1つが他のステーションへデータフレームを多数
連続して送信している場合には、データフレームの送信
権が前者のステーションに占有され、そのデータフレー
ムの送信を終了するまでの間、他のステーション群はデ
ータフレームの送信を行うことができず、送信権を得る
までの待ち時間が長大となる場合が生じるという欠点が
ある。
However, in the method (B), if one of the stations continuously transmits a large number of data frames to another station, the right to transmit the data frame is monopolized by the former station, and the data frame is Until the end of transmission, other stations cannot transmit data frames, and there is a drawback that there may be a long waiting time until the transmission right is obtained.

以上の方法に対し、この発明は、送信権を獲得するまで
の待ち時間が長大となる場合がないという特徴を実現す
るため、ループ伝送路上を伝達する信号中に設けられた
優先順位を制御する領域を、タイマを用いて制御するこ
とにより従来のループ伝送システムの欠点を除去したも
のである。
In contrast to the above methods, the present invention controls the priorities set in the signals transmitted on the loop transmission path in order to realize the feature that the waiting time until acquiring the transmission right is not long. The disadvantages of the conventional loop transmission system are eliminated by controlling the area using a timer.

この発明の一実施例を第3図、第4図、第5図を用いて
説明する。
An embodiment of the present invention will be described using FIGS. 3, 4, and 5.

第3図においてST1,ST2,ST3,ST4,ST
5はステーション、L12,L23,L34,L45,
L51は前記ステーション間を結合するループ状伝送路
であり信号は矢印の方向へ伝わる。
In Figure 3, ST1, ST2, ST3, ST4, ST
5 is station, L12, L23, L34, L45,
L51 is a loop-shaped transmission line connecting the stations, and signals are transmitted in the direction of the arrow.

以下の説明では第2図に示す入出力装置、計算機等をス
テーションに含める。
In the following description, the input/output device, computer, etc. shown in FIG. 2 are included in the station.

ここではステーションを5個としたが、この数は増減し
ても以下の説明は同様である。
Here, the number of stations is five, but the following explanation remains the same even if this number is increased or decreased.

第4図はステーション間で相互にやりとりされる情報の
形式を示す。
FIG. 4 shows the format of information exchanged between stations.

a1はデータフレームを送信することのできる権利を委
譲する前進フレーム、b1はデータフレームに対する応
答フレームを、c1はデータを含むデータフレームの形
式を示す。
a1 indicates a forward frame that delegates the right to transmit a data frame, b1 indicates a response frame to the data frame, and c1 indicates the format of the data frame containing data.

各フレームの前後には境界を示す境界子DLが置かれ、
境界子はいくつ連続してもかまわない。
A boundary child DL indicating the boundary is placed before and after each frame,
It doesn't matter how many consecutive boundary children there are.

各フレームのうちFWは前進フレームを、ANは応答フ
レームを、IFはデータフレームを示す表示子であり、
Pは優先順位を制御するための領域で優先順位の低い方
から1,2,・・・・・・と数が割当てられ、ADはそ
のフレームの到着すべき相手ステーションの番地を、S
Aはそのフレームの発生したステーションの番地を、I
NFはデータを示している。
Of each frame, FW is an indicator indicating a forward frame, AN is an indicator indicating a response frame, and IF is an indicator indicating a data frame.
P is an area for controlling priorities, and numbers are assigned from the lowest priority to 1, 2, etc., and AD stores the address of the destination station where the frame should arrive, and
A is the address of the station where the frame occurred, I
NF indicates data.

第3図のフレームの形式を前進フレームをFW−7,応
答フレームをAN−11mn,データフレームをIF−
l−m−n IFNと表し、ここでlには優先順位の制
御のための値を、mにはDAの番地を、nにはSAの番
地をあてはめることとする。
The format of the frame in Figure 3 is FW-7 for the forward frame, AN-11mn for the response frame, and IF-7 for the data frame.
It is expressed as l-m-n IFN, where l is assigned a value for priority control, m is assigned the address of DA, and n is assigned the address of SA.

例えばステーション2からステーション3へ、優先順位
1で送信されるデータフレームはIF−1−2−3−I
NFと示される。
For example, a data frame transmitted from station 2 to station 3 with priority 1 is IF-1-2-3-I
Denoted as NF.

以下の説明ではINFは単なるデータであり内容を問わ
ない。
In the following explanation, INF is just data, and its contents do not matter.

一般に伝送システムでは伝送路の瞬断,装置の誤動作に
より情報の誤りが生じるために、誤り検出のための冗長
情報を付加し、これを受信側で検定することが行われて
いるが、ここでは説明を容易にするため省略する。
In general, in transmission systems, information errors occur due to momentary interruptions in the transmission line or equipment malfunctions, so redundant information is added for error detection and verified on the receiving side. Omitted for ease of explanation.

第5図はこの発明に用いられるステーションの一実施例
であり、図において11はループ状伝送路からステーシ
ョンへの入力、12はステーションからループ状伝送路
への出力、13はループ状伝送路からフレームを検出す
るフレーム検出回路、14は直列入力および並列入力可
能であり伝送路11から12の方向へシフトできるシフ
トレジスタ、15はフレーム中のFW,AN,IFを判
別するデコーダ、16は境界子DLを付加するDL付加
部、17は受信フレームの優先順位の値と自ステーショ
ンの優先順位とを比較する比較器、18はタイマ19の
計時終了時に自ステーションの持つ優先順位を上昇する
優先順位上昇回路、19はデータの送信要求生起時より
計時を行うタイマ、20はFW,AN,IFを発生する
コーダ、21はデータフレームもしくは応答フレーム中
のDAを検査してそのフレームが自ステーションへ対す
るものかを判定する番地デコーダ、22はシフトレジス
タおよび入出力装置もしくは計算機等の入出力に係わる
バツファ、23は自ステーションから送出するデータフ
レーム・応答フレームに付加する自ステーションアドレ
スSAを発生する自ステーション番地発生回路、24は
入出力装置または計算機等とのインターフェース、25
は上記各装置を監視制御をする制御回路、26は入出力
装置もしくは計算機等である。
FIG. 5 shows an embodiment of the station used in the present invention. In the figure, 11 is the input from the loop-shaped transmission line to the station, 12 is the output from the station to the loop-shaped transmission line, and 13 is from the loop-shaped transmission line. A frame detection circuit detects a frame, 14 is a shift register that can be input in series and parallel and can be shifted in the direction from transmission line 11 to 12, 15 is a decoder that determines FW, AN, and IF in the frame, 16 is a boundary child A DL addition unit that adds DL; 17 a comparator that compares the priority value of the received frame with the priority of its own station; and 18 a priority increase unit that increases the priority of its own station when the timer 19 finishes counting. A circuit 19 is a timer that measures time from the time when a data transmission request occurs; 20 is a coder that generates FW, AN, and IF; and 21 is a circuit that checks DA in a data frame or response frame to determine whether the frame is directed to its own station. 22 is a shift register and an input/output device or a buffer related to input/output of a computer, etc.; 23 is an own station address that generates the own station address SA to be added to the data frame/response frame sent from the own station; A generation circuit, 24 is an interface with an input/output device or a computer, etc., 25
2 is a control circuit that monitors and controls each of the above devices, and 26 is an input/output device, a computer, or the like.

次に、第5図を用いて入出力機器もしくは計算機等がル
ープ状伝送路に含まれた他のステーション(図示せず)
に接続ざれた任意の入出力機器もしくは計算機等と通信
するときの動作を説明する。
Next, using FIG. 5, identify other stations (not shown) in which input/output equipment or computers are included in the loop-shaped transmission path.
We will explain the operation when communicating with any input/output device or computer connected to the .

伝送路11から入力される情報はシフトレジスタ14お
よびフレーム検出回路13へ入力される。
Information input from the transmission line 11 is input to the shift register 14 and the frame detection circuit 13.

フレーム検出回路13は境界子DLを検出することによ
りステーション全体の同期を確立するとともにフレーム
を検出する信号として信号線31により制御回路25へ
伝えられる。
The frame detection circuit 13 establishes synchronization of the entire station by detecting the boundary child DL, and also transmits the frame detection signal to the control circuit 25 via the signal line 31.

フレームを検出すると、シフトレジスタ14の内容を信
号線32を経由してデコーダ16によりデコーダしFW
,AN,IFかの判定を行い信号線33により制御回路
25へ伝えられる。
When a frame is detected, the contents of the shift register 14 are decoded by the decoder 16 via the signal line 32, and the FW
, AN, or IF is determined and transmitted to the control circuit 25 via the signal line 33.

(1)データの受信 フレームを検出し、前記フレーム中に情報フレームを意
味するIFを検知した時には、信号線34によりシフト
レジスタ14内のフレームの一部のDA部分を番地デコ
ーダ21でデコードし、自ステーションの番号と一致し
た場合には信号線34を経由しバツファ22へ入りさら
に信号線35とインターフェース24を経て入出力装置
もしくは計算機等26へ送られる。
(1) When a received data frame is detected and an IF indicating an information frame is detected in the frame, the address decoder 21 decodes the DA portion of the frame in the shift register 14 via the signal line 34; If the number matches the own station's number, it enters the buffer 22 via the signal line 34 and is further sent to the input/output device or computer 26 via the signal line 35 and the interface 24.

同時に番号が一致したことを、信号線47により制御回
路25へ知らせる。
At the same time, the control circuit 25 is notified via the signal line 47 that the numbers match.

この受信されたデータフレームに対しては応答フレーム
を返送する。
A response frame is returned in response to the received data frame.

応答フレームの返送は次の様にしておこなわれる。The response frame is returned as follows.

制御回路25より信号線36を介してDL付加回路16
によりDLを送出し、続いてコーダ20によりANを発
生し信号線37によりシフトレジスタ14へ格納し、前
に受信したデータフレーム中の優先順位領域を信号線3
8と制御回路25と信号線39を経由してシフトレジス
タへ格納し、前に受信したデータフレーム中のSAがバ
ツファに保持されているがこの値を続いて信号線32を
経由してシフトレジスタへ格納し、続いて自ステーショ
ンの番地を自ステーション番地発生回路23で発生し信
号線40によりシフトレジスタ14へ格納する。
From the control circuit 25 to the DL addition circuit 16 via the signal line 36
The coder 20 then generates AN, which is stored in the shift register 14 via the signal line 37, and the priority area in the previously received data frame is sent via the signal line 3.
8, the control circuit 25, and the signal line 39 to store it in the shift register, and while the SA in the previously received data frame is held in the buffer, this value is then stored in the shift register via the signal line 32. Then, the address of the own station is generated by the own station address generation circuit 23 and stored in the shift register 14 via the signal line 40.

次にこれらのAN,優先順位、番地部をシフトレジスタ
14から伝送路12ヘシフトして送出し続いてDL付加
回路16によりDLを伝送路12へ送出する。
Next, these AN, priority, and address parts are shifted from the shift register 14 to the transmission line 12 and sent out, and then the DL is sent out to the transmission line 12 by the DL addition circuit 16.

以上の様にして自ステーションへのデータフレームを受
けとりそれに対する応答フレームを送出する。
In the manner described above, the station receives a data frame addressed to its own station and sends a response frame thereto.

(2)データの送信 フレームを検出し、前記フレーム中に前進フレームを意
味するFWを検知した時には、優先順位を制御する領域
Pの値を信号線48を経由し自ステーションの持つ優先
順位の値の出力である信号線38とを比較器17にて比
べ前者の値が後者の値以下であればデーターフレームを
送出可の状態となり、まずDL付加回路16から伝送路
12へDL信号が送出され、コーダ20よりIF信号が
信号線37を経由してまた前記受信した前進フレーム中
の優先順位と同一の値が信号線38と制御部25と信号
線39を経由してまた入出力装置もしくは計算機等26
から発せられる相手ステーションの番地が信号線41と
インターフェース24と信号線42とバツファ22と信
号線43を経由してまた自ステーションの番地を自ステ
ーション番地発生回路23で発生し信号線40を経由し
てまた入出力装置もしくは計算機等26から発生するデ
ータが信号線41とインターフェース24と信号線42
とバツファ22と信号線43を経由してシフトレジスタ
14へ格納されさらにシフトされて伝送路12へ送出さ
れる。
(2) When a data transmission frame is detected and an FW indicating a forward frame is detected in the frame, the value of the priority control area P is transmitted via the signal line 48 to the priority value of the own station. Comparator 17 compares the signal line 38 which is the output of , an IF signal is sent from the coder 20 via a signal line 37, and the same value as the priority in the received forward frame is sent via a signal line 38, a control unit 25, and a signal line 39 to an input/output device or computer. etc. 26
The address of the other station is generated from the signal line 41, the interface 24, the signal line 42, the buffer 22, and the signal line 43, and the address of the own station is generated by the own station address generation circuit 23 and transmitted via the signal line 40. In addition, data generated from an input/output device or a computer 26 is connected to a signal line 41, an interface 24, and a signal line 42.
The signal is stored in the shift register 14 via the buffer 22 and the signal line 43, and is further shifted and sent to the transmission line 12.

シフトレジスタ14内の情報が空になったならば続いて
DL付加回路16より境界子DLを伝送路12へ送出す
る。
When the information in the shift register 14 becomes empty, the DL adding circuit 16 sends out the boundary child DL to the transmission line 12.

以上の様にして前進フレームを受信してデータフレーム
を送出する。
As described above, forward frames are received and data frames are sent out.

(3)応答の受信 フレームを検出し前記フレーム中に応答フレームを意味
するANを検知し前記フレーム中のDAの値が自ステー
ションの番地と一致すれば応答フレームを受けとること
ができる。
(3) Detecting a received response frame, detecting an AN indicating a response frame in the frame, and if the value of DA in the frame matches the address of the own station, the response frame can be received.

(4)送信すべきデータフレームを有しているのにもか
かわらずタイマが計時終了した場合 ステーションから目的のステーションヘデータを送信す
る要求が生起しても、他のステーション間でデータの伝
送が行われていれば伝送路が占有されており通信を行う
ことができない。
(4) When the timer expires even though there is a data frame to be transmitted Even if a request to transmit data from a station to the target station occurs, data transmission between other stations is not possible. If this is done, the transmission path is occupied and communication cannot be performed.

このためにステーションでデータの送信要求が生起した
時点からタイマ19を信号線44より起動し計時を行う
For this purpose, the timer 19 is started from the signal line 44 to measure time from the time when a data transmission request occurs at the station.

タイマの計時時間内に前進フレームが到着し(2)の項
の動作が行われればタイマを計時解除しデータの伝送が
行われるがもし前進フレームが到着せずにタイマが計時
終了した場合には次の動作を行う。
If the forward frame arrives within the time measured by the timer and the operation in section (2) is performed, the timer is canceled and data transmission is performed. However, if the forward frame does not arrive and the timer finishes counting. Perform the following actions.

タイマ19の計時終了信号45により自ステーションの
持つ優先順位が上昇せられる。
The priority of the own station is raised by the time measurement end signal 45 of the timer 19.

他ステーションへのフレームが到着した場合に、そのフ
レーム中の優先順位制御領域の優先順位を前記上昇せら
れた自ステーションの優先順位の値と置換するため信号
線46と制御回路25と信号線39とを経由してシフト
レジスタヘ格却され伝送路12へ送出される。
When a frame for another station arrives, the signal line 46, the control circuit 25, and the signal line 39 are used to replace the priority of the priority control area in the frame with the increased priority value of the own station. The signal is then stored in the shift register and sent out to the transmission line 12.

この場合は入力するフレームの優先順位のみが置換され
てステーションを通過する形となる。
In this case, only the priority of the input frame is replaced and the frame passes through the station.

(5)送信機の委譲 自ステーションに対する応答フレーム受信後送信スべき
データがステーション内にないときには、送信機を委譲
するために、DL付加回路16より伝送路12へ境界子
DLを送出し、コーダ20でFWを発生し信号線37を
経由してまた最低順位の優先順位を信号線39を経由し
てシフトレジスタ14へ格納後シフトせしめ伝送路12
へ送出しシフトレジスタ内の情報が空になったならばD
L付加回路16により境界子DLを伝送路12へ送出す
る。
(5) Delegation of transmitter After receiving a response frame for its own station, if there is no data to be transmitted within the station, the DL addition circuit 16 sends a boundary DL to the transmission path 12 in order to delegate the transmitter, and the coder At step 20, FW is generated, and the lowest priority is stored in the shift register 14 via the signal line 39, and then shifted to the transmission line 12.
If the information in the shift register becomes empty, D
The L adding circuit 16 sends the boundary child DL to the transmission line 12.

一方自ステーションに対する応答フレームを受信したが
そのフレーム中の優先順位が自ステーションの有する優
先順位よりも高い場合には、後続するデータフレームの
送信要求を停止し、送信権を委譲するために、DL付加
回路16より伝送路12へ境界子DLを送出し、コーダ
ー20でFWを発生し信号線37を経由しまた前記応答
フレーム中の優先順位と同一の順位の値を信号線39に
よりシフトレジスタへ格納後シフトせしめ伝送路12へ
送出しシフトレジスタ内の情報が空になったならばDL
付加回路16により境界子DLを伝送路12へ送出する
On the other hand, if a response frame for the own station is received, but the priority in that frame is higher than the priority of the own station, the DL stops the request to transmit the subsequent data frame and transfers the transmission right. The additional circuit 16 sends the boundary child DL to the transmission path 12, the coder 20 generates FW, and the value of the same priority as the priority in the response frame is sent to the shift register via the signal line 39 via the signal line 37. After storing, shift the information and send it to the transmission line 12. When the information in the shift register becomes empty, DL
The additional circuit 16 sends the boundary child DL to the transmission line 12 .

さらにステーションの動作について、送信すべきデータ
の有無に注目して説明を行う。
Furthermore, the operation of the station will be explained, focusing on the presence or absence of data to be transmitted.

(C1)自ステーションから他のステーションへ送信す
べきデータが自ステーション内に存在しないとき (ア)自ステーションの番地を示すデータフレームを受
信した場合にはそのデータフレームをステーションへ取
り入れ、そのデータフレームに対応する応答フレームを
送信する。
(C1) When the data to be transmitted from the own station to another station does not exist within the own station (a) When a data frame indicating the address of the own station is received, that data frame is imported into the station, and the data frame Send a response frame corresponding to

(イ)自ステーションの番地を示すデータフレームを受
信しないかぎり入力するフレームと同一のフレームを送
信する。
(b) Unless a data frame indicating the address of the own station is received, the same frame as the input frame is transmitted.

すなわちステーション内部に取り入れずに通過させる。In other words, it is passed through without being taken into the station.

(C2)自ステーションから他のステーションへ送信す
べきデータが自ステーション内に存在するとき (ウ)ステーションが自ステーションの優先順位以下の
優先順位を示す前進フレームを受信した場合には前進フ
レームを消去しすぐにデータフレームを送信する。
(C2) When data to be transmitted from the own station to another station exists within the own station. (C) When the station receives a forward frame indicating a priority lower than the priority of the own station, the forward frame is deleted. and immediately send the data frame.

(エ)DAに自ステーションの番地を示すデータフレー
ムを受信した場合には、応答フレームを返すがその応答
フレーム中の優先順位を制御する領域Pには、後述する
タイマが計時中であれば受信したデータフレームと同じ
順位の値を入れ、もしタイマが終了した場合には、自ス
テーションにもともと割当てられた順位より階級を上げ
られた値を入れて送信する。
(d) When the data frame indicating the address of the own station is received in the DA, a response frame is returned, but in the area P that controls the priority in the response frame, if the timer described later is running, the response frame is not received. If the timer expires, a value higher than the rank originally assigned to the own station is inserted and transmitted.

(オ)DAに自ステーションの番地を示す応答フレーム
を受信し、その応答フレーム中の優先順位制御の領域の
値力墳ステーションの優先順位の値より高い場合には、
前記応答フレーム中の優先順位と同じ順位の優先順位を
有する前進フレームを送信する。
(e) If a response frame indicating the address of the own station is received in the DA, and the value of the priority control area in the response frame is higher than the priority value of the power station,
A forward frame having the same priority as the priority in the response frame is transmitted.

(カ)ステーションは自己の番地以外の応答フレーム、
データフレームを受信した場合には、その受信したフレ
ームの優先順位を制御する領域Pには、後述するタイマ
が計時中であれば受信したフレームをそのまま通過させ
、もしタイマが終了している場合には、自ステーション
にもともと割当てられた順位よりも階級を上げられた値
と置換して受信された応答フレーム・データフレームを
送信する。
(F) The station receives response frames from addresses other than its own address,
When a data frame is received, the area P that controls the priority of the received frame is set such that if a timer (described later) is in progress, the received frame is passed through as is, and if the timer has expired, the received frame is passed through as is. The station transmits the received response frame/data frame by replacing it with a value that is higher in rank than the rank originally assigned to its own station.

(C3)データフレームの最後のものを送出(キ)最後
のデータフレームを送信するには、最低順位の優先順位
を付加して回線へ送出する。
(C3) Send the last data frame (g) To send the last data frame, add the lowest priority and send it to the line.

同時にステーションの優先順位をそのステーションにも
ともと与えられた値に戻す。
At the same time, the station's priority is returned to the value originally assigned to that station.

今ステーションはすべて同一の優先順位1にあるものと
し、ステーション2がステーション4ヘデータフレーム
を連続して送信しているときにステーション3からステ
ーション5ヘデータフレームの送信要求が生起する場合
を考える。
Assume now that all stations have the same priority level 1, and when station 2 is continuously transmitting data frames to station 4, a case will be considered in which station 3 requests station 5 to transmit a data frame.

第3図においてステーション2(ST2)がFW−1フ
レームを受信した時に、同ステーションにはステーショ
ン4へ送信すべきデータが存在しているため、線路L2
3へデータフレームIF−1−4−2−INFを送信す
る。
In FIG. 3, when station 2 (ST2) receives the FW-1 frame, since the station has data to be transmitted to station 4, line L2
The data frame IF-1-4-2-INF is transmitted to 3.

このフレームはステーション3(ST3)へのフレーム
ではないためステーション3(ST3)では通過してL
34へIF−1−4−2INFを送出する。
This frame is not a frame for station 3 (ST3), so it passes through station 3 (ST3) and is sent to L.
IF-1-4-2INF is sent to 34.

ステーション4(ST4)は、前記フレームは自ステー
ションへのフレームであるためこれを取り入れ、発信ス
テーションへの応答信号AN−L−2−4を線路へ送信
する。
Station 4 (ST4) takes in the frame since it is for its own station, and transmits a response signal AN-L-2-4 to the transmission station to the line.

この信号はステーション5(ST5)、ステーション1
(ST1)、で通過されステーション2(ST2)へ到
着し、ST2は次のデータフレームを送信することがで
きる。
This signal is station 5 (ST5), station 1
(ST1), and arrives at station 2 (ST2), where ST2 can transmit the next data frame.

今ST2からST4へ多数のデータフレームを連続して
送信しているときにステーション3(ST3)からステ
ション5(ST5)へのデータフレームの送信の要求が
生じたとする。
Assume that a request to transmit a data frame from station 3 (ST3) to station 5 (ST5) occurs while a large number of data frames are being continuously transmitted from ST2 to ST4.

この場合にはステーション3(ST3)は優先順位1で
あるから、ステーション2(ST2)ステーション5(
ST5)間のデータフレームの送信が終らなければ、す
なわちFW−1信号が伝送路L23へ現れないかぎりデ
ータフレームの送信権を獲得できない。
In this case, station 3 (ST3) has priority 1, so station 2 (ST2) and station 5 (
The right to transmit the data frame cannot be acquired unless the transmission of the data frame during ST5) is completed, that is, unless the FW-1 signal appears on the transmission path L23.

ステーション3においてデータフレームの送信の要求が
発生した場合、すぐにタイマを起動する。
When a request to transmit a data frame is generated in station 3, the timer is started immediately.

もしタイマが計時終了する前に前進フレームが受信され
ればその時点でデータフレームの送信権を得て、タイマ
をリセットして前記ステーション2(ST2)とステー
ション4(ST4)の間の通信と同様の通信を行うこと
ができる。
If a forward frame is received before the timer expires, the right to transmit the data frame is obtained at that point, the timer is reset, and the same communication is performed between station 2 (ST2) and station 4 (ST4). communication.

もしタイマが計時終了した場合には、そのステーション
の優先順位を優先順位上昇の機構により1より2へ変更
する。
If the timer expires, the priority of that station is changed from 1 to 2 by the priority increasing mechanism.

従って伝送路L23から人力するデータフレームIF−
1−2i−INFのP領域は1から2に置換されてIF
−2−2−4−INFとなりL34を経由してステーシ
ョン4(ST4)へ到着する。
Therefore, the data frame IF-
The P region of 1-2i-INF is replaced with 2 from 1 to IF
-2-2-4-INF and arrives at station 4 (ST4) via L34.

ステーション4(ST4)は前記(7)の項の動作を行
いステーション2(ST2)に対する応答フレームAN
−2−2−4を伝送路L45へ送信するがその際の付加
すべき優先順位は前に入力したデータフレームと同一の
2である。
Station 4 (ST4) performs the operation described in (7) above and sends a response frame AN to station 2 (ST2).
-2-2-4 is transmitted to the transmission path L45, but the priority to be added at that time is 2, which is the same as the previously input data frame.

この応答フレームはステーション5(ST5)、ステー
ション1(ST1)を通過してステーション2(ST2
)へ到着する。
This response frame passes through station 5 (ST5) and station 1 (ST1), and then passes through station 2 (ST2).
) arrive at.

ステーション2(ST2)は前記(イ)の項の動作を行
ない、前記応答フレーム中の優先順位2と自ステーショ
ンの持つ優先順位1を比較して自ステーションの方が低
いことを知り送信権を委譲する前進信号FW−2を伝送
路L23へ送信するがその際の優先順位は2となる。
Station 2 (ST2) performs the operation described in (a) above, compares priority 2 in the response frame with priority 1 of its own station, finds that its own station is lower, and delegates the transmission right. The forward signal FW-2 is transmitted to the transmission path L23, but the priority level at that time is 2.

前進フレームFW−2は優先順位2以上をもつステーシ
ョンに送信権を委譲する機能を持っている。
Forward frame FW-2 has a function of delegating the transmission right to a station with priority level 2 or higher.

ステーション3(ST3)は前記前進フレームFFW−
2を伝送路L23より受取り自ステーションの優先順位
2(優先順位上昇回路により1から2へ変更されている
)と比較して自ステーションの優先順位が受信前進フレ
ームの優先順位以上であることを検知し、自ステーショ
ンが送信権を獲得できることになりデータフレームを送
出する。
Station 3 (ST3) is the forward frame FFW-
2 from the transmission line L23 and compares it with the own station's priority 2 (changed from 1 to 2 by the priority increase circuit) and detects that the own station's priority is higher than the priority of the received forward frame. Then, the own station can acquire the transmission right and sends out the data frame.

したがってステーションからデータフレームを送出する
までの待ち時間の最大値をタイマの計時時間程度にまで
縮少することができる。
Therefore, the maximum waiting time until a data frame is sent from a station can be reduced to about the time measured by a timer.

なお以上はループ伝送システムの場合について説明した
が、この発明はこれに限らず、母線方式の伝送装置の割
り込み制御方式に使用してもよい以上のように、この発
明によれば、複数局間の伝送システムにおいて、ステー
ション間のデータフレームの伝送が連続して実行されて
いる間に、他のステーションから新たに発生したデータ
フレームが送信可能となるための待ち時間をあらかじめ
設定されたタイマの計時時間程度にまで縮少することが
でき、従来のシステムにおいて長犬な待ち時間を要する
場合を除去することができる。
Although the case of a loop transmission system has been described above, the present invention is not limited to this, and may be used for an interrupt control method of a bus-type transmission device. In a transmission system, a timer is used to measure the waiting time for a newly generated data frame to be transmitted from another station while data frames are being continuously transmitted between stations. It is possible to reduce the waiting time to about an hour, and eliminate the long waiting time required in conventional systems.

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

第1図、第2図は従来のループ伝送システムの構成図、
第3図、第4図、第5図は本発明の一実施例であり、第
3図は全体の構成図、第4図は伝送路上を走行するフレ
ームの形式を示す図、第5図はステーションの詳細な構
成図を示す。 図中1はループ状伝送路、2は中央装置、3は中央計算
機、4はループ制御装置、ST1,ST2,ST3,S
T4,ST5はステーション、D1,D3,D41,D
42は入出力装置もしくは計算機等、L12,L23,
L34,L45,L51はループ状伝送路の一部、a1
,b1,c1はそれぞれ前進フレーム、応答フレーム、
データフレームの形式、11はループ状伝送路からステ
ーションへの入力12はステーションからループ状伝送
路への出力、13はフレーム検出回路、14はシフトレ
ジスタ、15はデコーダ、16はDL付加回路、17は
比較器、18は優先順位上昇回路、19はタイマ、20
はコーダ、21は番地デコーダ、22はバンファ、23
は自ステーション番地発生回路、24はインターフェー
ス、25は制御回路、26は入出力装置もしくは計算機
等である。
Figures 1 and 2 are configuration diagrams of a conventional loop transmission system.
Figures 3, 4, and 5 show an embodiment of the present invention. Figure 3 is an overall configuration diagram, Figure 4 is a diagram showing the format of a frame traveling on a transmission path, and Figure 5 is a diagram showing the format of a frame traveling on a transmission path. A detailed configuration diagram of the station is shown. In the figure, 1 is a loop transmission line, 2 is a central device, 3 is a central computer, 4 is a loop control device, ST1, ST2, ST3, S
T4, ST5 are stations, D1, D3, D41, D
42 is an input/output device or a computer, etc., L12, L23,
L34, L45, L51 are part of the loop transmission line, a1
, b1 and c1 are the forward frame and response frame, respectively.
Data frame format, 11 is input from the loop transmission line to the station, 12 is output from the station to the loop transmission line, 13 is a frame detection circuit, 14 is a shift register, 15 is a decoder, 16 is a DL addition circuit, 17 is a comparator, 18 is a priority increase circuit, 19 is a timer, 20
is a coder, 21 is an address decoder, 22 is a buffer, 23
24 is an interface, 25 is a control circuit, and 26 is an input/output device or a computer.

Claims (1)

【特許請求の範囲】[Claims] 1人出力装置もしくは計算機等が接続された複数のステ
ーションがたがいに伝送路を介して接続され情報伝送す
るデータウエイ・システムにおいて、伝送路を伝達する
フレームの一部に優先順位制御領域を設け、ステーショ
ン内にデータの送信要求発生時点から計時を行うタイマ
と前記送信要求がタイマの計時時間内に受付けられない
時にステーションの持つ優先順位を高める優先順位制樹
回路を有し、データの送信要求生起時に上記タイマを起
動し上記タイマにあらかじめ定められた引時時間内に送
信権が得られない場合には上記優先順位制御回路により
ステーションの持つ優先順位を高めてステーションを通
過するフレームまたは信号中の優先順位制両領域の優先
順位をステーションの持つ前記高められた優先順位に置
換して伝送路へ送出することによりフレーム送信中のス
テーションの送信権を放棄させて、フレームの送信権を
獲得するまでの待ち時間を縮少させることを特徴とする
ようにしたデータ転送優先制御方式。
In a data way system in which a plurality of stations to which single output devices or computers, etc. are connected are connected to each other via a transmission path and transmit information, a priority control area is provided in a part of the frame that transmits the transmission path, The station includes a timer that measures time from the time when a data transmission request is generated, and a priority tree circuit that increases the priority of the station when the transmission request is not accepted within the time measured by the timer. When the timer is activated, and if the transmission right is not obtained within the time predetermined by the timer, the priority control circuit increases the priority of the station and transmits the priority of the frame or signal passing through the station. By replacing the priority of the priority control area with the higher priority of the station and sending it to the transmission path, the station that is currently transmitting the frame is forced to give up the transmission right and acquire the frame transmission right. A data transfer priority control method characterized by reducing waiting time.
JP6031276A 1976-05-25 1976-05-25 Data transfer priority control method Expired JPS5813058B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6031276A JPS5813058B2 (en) 1976-05-25 1976-05-25 Data transfer priority control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6031276A JPS5813058B2 (en) 1976-05-25 1976-05-25 Data transfer priority control method

Publications (2)

Publication Number Publication Date
JPS52142937A JPS52142937A (en) 1977-11-29
JPS5813058B2 true JPS5813058B2 (en) 1983-03-11

Family

ID=13138514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6031276A Expired JPS5813058B2 (en) 1976-05-25 1976-05-25 Data transfer priority control method

Country Status (1)

Country Link
JP (1) JPS5813058B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59250A (en) * 1982-06-25 1984-01-05 Matsushita Electric Ind Co Ltd Transmission right obtaining method of looped communication system
JP4956090B2 (en) * 2006-08-24 2012-06-20 東芝エレベータ株式会社 Control information transmission system

Also Published As

Publication number Publication date
JPS52142937A (en) 1977-11-29

Similar Documents

Publication Publication Date Title
US4332027A (en) Local area contention network data communication system
US4715030A (en) Local area network bridge
JP2545508B2 (en) Method of operating data processing device for vehicle and data processing device
US4337465A (en) Line driver circuit for a local area contention network
US5187780A (en) Dual-path computer interconnect system with zone manager for packet memory
KR960015862B1 (en) Data transmission method and apparatus
US4642630A (en) Method and apparatus for bus contention resolution
JPH0618374B2 (en) Data transmission method for multi-network system
JPH0786863B2 (en) Processor access control device for multi-processor system
JPS6136421B2 (en)
JPS5813058B2 (en) Data transfer priority control method
JPH0744567B2 (en) Communication interface device
JPS59114941A (en) Programmable controller
JPS5932237A (en) Frame control system of ring bus
US6178177B1 (en) Data-processing network having non-deterministic access, but having deterministic access time
JPS5986940A (en) Information transmitting system of multi-drop system
JPH047620B2 (en)
EP0076846B1 (en) Data processing system having error checking capability
JPH063929B2 (en) Data transmission control method in loop-shaped transmission system
JP2601914B2 (en) Data transmission equipment
JPS61264833A (en) Data transfer and control system
KR960003649B1 (en) Microcomputer system for communication
JP2677895B2 (en) Multiplex transmission method
JPS59125137A (en) Data communication device
JPS603245A (en) Slot assigning device of loop transmission system