JPS6138895B2 - - Google Patents
Info
- Publication number
- JPS6138895B2 JPS6138895B2 JP54109101A JP10910179A JPS6138895B2 JP S6138895 B2 JPS6138895 B2 JP S6138895B2 JP 54109101 A JP54109101 A JP 54109101A JP 10910179 A JP10910179 A JP 10910179A JP S6138895 B2 JPS6138895 B2 JP S6138895B2
- Authority
- JP
- Japan
- Prior art keywords
- transmission
- station
- sequence number
- frame
- receiving
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Time-Division Multiplex Systems (AREA)
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】
本発明は1本の伝送回路を可変ブロツク多重方
式によつて任意局間の伝送が可能なループ伝送シ
ステムの伝送局において、送受信フレーム情報の
シーケンスナンバーを制御する回路に係わり、特
にシーケンスナンバー記憶用バツフアを送受1組
のみとした簡易なシーケンスナンバー制御方式に
関する。Detailed Description of the Invention The present invention is a circuit for controlling the sequence number of transmitted and received frame information in a transmission station of a loop transmission system in which transmission between arbitrary stations is possible using a single transmission circuit using a variable block multiplexing method. In particular, the present invention relates to a simple sequence number control method using only one set of transmitting and receiving buffers for storing sequence numbers.
まずループ伝送システムの概略を第1図により
説明する。最近工場・大学・ビル等構内各所に散
在するコンピユータや端末等の情報機器IDiを伝
送路TLで結合して1つの分散処理システムを形
成させようとする傾向がみられる。構内等それ程
広域でないコンピユータネツトワークにおける伝
送サブシステムとしては図示するように伝送路が
ループ状に一般にはデータハイウエイと呼ばれる
システムが注目されている。情報機器IDiは伝送
局STiを介して伝送サブシステムに加入する。監
視局SSTはシステムクロツクの発生、伝送制御の
初期化、伝送状態の監視等の機能を有する。今情
報機器IDiがIDjに対してデータ情報の転送要求が
あると仮定する。するとIDiはデータ情報および
その旨を伝送局STiに伝える。伝送局STiは回線
TLを占有使用できるタイミングをさがし、これ
が得られるとIDjが接続されている伝送局STjに
対して図示する方向にデータ情報を送出する。こ
の時STi以外の伝送局は全て受信器で受けた情報
をそのまま送信器にパスして送出する状態になつ
ており、STiの送信器から送出した情報はループ
を一巡してSTiの受信器に戻る構成となつてい
る。受信局に指定された局STjではSTiからのデ
ータ情報を全て受け取り終えると先程のパス状態
からSTiと同じ送信状態に移つてSTiからの情報
を正しく受信したか否かを応答情報を送出し完了
すると再びパス状態に移る。そしてSTjはIDjに
対して受信したデータ情報を渡す。これにより
IDiからIDjへの情報転送が達成される。 First, an outline of the loop transmission system will be explained with reference to FIG. Recently, there has been a trend to form a single distributed processing system by connecting information devices IDi such as computers and terminals scattered throughout factories, universities, buildings, etc., using transmission lines TL. As a transmission subsystem in a computer network that does not have a very wide area, such as in a campus, a system in which the transmission path is looped as shown in the figure and is generally called a data highway is attracting attention. The information equipment IDi joins the transmission subsystem via the transmission station STi. The monitoring station SST has functions such as generating a system clock, initializing transmission control, and monitoring transmission status. Assume now that information device IDi requests IDj to transfer data information. IDi then transmits the data information and the fact to the transmission station STi. Transmission station STi is a line
A search is made for a timing when the TL can be used exclusively, and when this is obtained, data information is sent in the direction shown in the figure to the transmission station STj to which IDj is connected. At this time, all transmission stations other than STi are in a state where the information received by the receiver is passed as is to the transmitter and sent out, and the information sent from the STi transmitter goes around the loop and is sent to the STi receiver. It is configured to return. When the station STj designated as the receiving station finishes receiving all the data information from STi, it moves from the previous path state to the same transmission state as STi, and completes sending response information indicating whether or not it has correctly received the information from STi. Then it goes back to pass state. Then, STj passes the received data information to IDj. This results in
Information transfer from IDi to IDj is accomplished.
しかるにデータ情報あるいは応答情報に伝送エ
ラーが生じこれらが伝送局で正しく受信できなか
つた場合にはIDiあるいはSTiからデータ情報が
再送される。よつてIDjでは受信した情報が前に
送られてきたものか否か判定せねば情報の二重取
りが発生してしまう。このため情報内には送出順
にシーケンスナンバーを付しており受信側では常
にこれを確認する必要がある。従来システムでは
本機能はIDすなわちユーザー側でおこなわれて
いた。 However, if a transmission error occurs in the data information or response information and the transmission station cannot receive the data correctly, the data information is retransmitted from IDi or STi. Therefore, if IDj does not determine whether the received information is the one that was previously sent, double information will occur. For this reason, sequence numbers are attached to the information in the order of transmission, and the receiving side must always check this. In conventional systems, this function was performed by the ID, that is, by the user.
ところで上述したループ伝送システムには処理
の大容量化、高速化の要請があるため、伝送サブ
システム、ユーザーレベルとも高速処理が要求さ
れるようになつている。しかしユーザーレベルの
処理はソフトウエアであるので伝送サブシステム
と比べ高速化は困難であり、上述したシーケンス
ナンバー処理をユーザ側で行う事は処理の負担を
さらに重くしている。このため本処理を伝送局側
で行う場合汎用通信制御手順であるHDLC
(High Level Data Link Control)で規定されて
いるシーケンスナンバー制御法を導入するのが一
般的である。しかしこの制御法をそのまま導入し
た場合N:Mループ伝送システムにおいては伝送
局は全ての伝送相手に関するシーケンスナンバー
を記憶しておく必要がある。このため、伝送相手
局が多くなるに従つてシーケンスナンバーの記憶
エリアも多く必要となり、それらの管理が複雑と
なる。また、システムの変更や増設がある場合、
増設局の伝送相手局全てにこれを通知して伝送相
手局のテーブルを修正し直すか、あるいはこの手
間を省くためにあらかじめシステムで定まる最大
局数分(例えば256局)の記憶エリアを設けてお
かなければならないという欠点を有していた。 By the way, the above-mentioned loop transmission system is required to have a larger processing capacity and faster processing speed, so high-speed processing is now required at both the transmission subsystem and the user level. However, since user-level processing is performed by software, it is difficult to increase the speed compared to the transmission subsystem, and performing the above-mentioned sequence number processing on the user side makes the processing burden even heavier. Therefore, when this process is performed on the transmission station side, HDLC, which is a general-purpose communication control procedure, is used.
It is common to introduce the sequence number control method specified in (High Level Data Link Control). However, if this control method is introduced as is, in an N:M loop transmission system, the transmission station must store sequence numbers regarding all transmission partners. For this reason, as the number of transmission partner stations increases, more storage areas for sequence numbers are required, and their management becomes complicated. In addition, if there are changes or additions to the system,
Either notify all the transmission partner stations of the expansion station and re-correct the table of transmission partner stations, or create a storage area for the maximum number of stations determined by the system (for example, 256 stations) in advance to save this effort. It had the disadvantage that it had to be
即ち、HDLCで規定されているシーケンスナン
バーチエツク方式をそのまま適用するとn台の伝
送局をループ伝送路に接続したシステムでは、最
大送信相手台数分のシーケンスナンバーの組を記
憶させておく。例えば、自己を除くすべての局と
の間で伝送を行うシステムでは、(n−1)個の
シーケンスナンバーの組を記憶させる。 That is, if the sequence number check method specified in HDLC is applied as is, in a system in which n transmission stations are connected to a loop transmission path, sets of sequence numbers for the maximum number of transmission destinations are stored. For example, in a system that performs transmissions with all stations except itself, a set of (n-1) sequence numbers is stored.
各シーケンスナンバーとは、1つの受信局が他
の1つの送信相手局との間で一連のやりとりをし
ている一連のフレーム番号を示す。従つて、各シ
ーケンスナンバーをみることによつて、相手送信
局との間で何フレームのデータを受信したかがわ
かる。例えば、8フレーム送信が想定されれば、
1つのシーケンスナンバーは、3ビツトの情報で
表現できる。 Each sequence number indicates a series of frame numbers in which one receiving station performs a series of exchanges with another transmission partner station. Therefore, by looking at each sequence number, it is possible to know how many frames of data have been received with the partner transmitting station. For example, if 8 frame transmission is assumed,
One sequence number can be expressed with 3 bits of information.
従つて、各局が(n−1)局相手との間での受
信、及び8フレーム送信であれば、各伝送局は、
3(n−1)ビツトの容量のデータバツフアを必
要とする。 Therefore, if each station receives from (n-1) station partners and transmits 8 frames, each transmitting station:
A data buffer with a capacity of 3(n-1) bits is required.
更に、シーケンスナンバーは、相手送信局によ
つて1フレームが送られる毎に、更新(+1)す
る構成をとる。更新は加算回路で行うため、加算
回路の数も、各受信局では、(n−1)個必要と
なる。 Furthermore, the sequence number is updated (+1) every time one frame is sent by the destination transmitting station. Since the update is performed by an adder circuit, each receiving station requires (n-1) adder circuits.
本発明は、各伝送局における構成の複雑化の解
消をはかると共に、システムの変更、増設に容易
に対処できるシーケンスナンバー制御方式を提供
するにある。 The present invention aims to eliminate the complexity of the configuration of each transmission station and provides a sequence number control method that can easily cope with changes and additions to the system.
可変ブロツク多重方式を採るループ伝送システ
ムでは、ある時間、回線を占有して送信する局及
び受信する局は、それぞれ1局のみである。ま
た、送信局は受信局からの正常な応答を受取つて
から回線占有権を放棄し、回線占有を要求する局
があればそれが回線占有権を獲得する。 In a loop transmission system employing a variable block multiplexing method, only one station occupies a line for a certain period of time to transmit and receive data. Further, the transmitting station relinquishes the line exclusive right after receiving a normal response from the receiving station, and if there is a station that requests line exclusive possession, that station acquires the line exclusive right.
そこで、この2つの機能に着目して、本発明で
は、シーケンスナンバー格納用のバツフアを各局
では送受1組設け、これを複数の相手送信局(例
えば、上記の例では、(n−1)個の送信局)用
に共通に使わせることとした。 Therefore, focusing on these two functions, in the present invention, each station is provided with one set of transmitting and receiving buffers for storing sequence numbers, and this is transmitted to multiple partner transmitting stations (for example, (n-1) in the above example). It was decided that the system would be used in common for all transmitting stations (transmitting stations).
ここで、(n−1)個の相手送信局用に使うた
めには、バツフアの更新(+1)と初期化が問題
になる。 Here, in order to use it for (n-1) partner transmitting stations, updating (+1) and initializing the buffer becomes a problem.
バツフアとは、送信用バツフア、受信用バツフ
アの2つを云う。送信用バツフアの更新は、該送
信用バツフアに格納してなる送信シーケンス番号
に+1することであり、その更新(+1)するタ
イミングは1フレーム送出完了時である。受信用
バツフアの更新は該バツフアに格納してなる送信
シーケンス番号に+1することであり、その更新
(+1)するタイミングは、送信局からの送信シ
ーケンス番号と該受信用バツフア内の受信シーケ
ンス番号とが一致した時である。 The buffer refers to two buffers: a transmitting buffer and a receiving buffer. The transmission buffer is updated by adding 1 to the transmission sequence number stored in the transmission buffer, and the timing for updating (+1) is when transmission of one frame is completed. To update a reception buffer, add 1 to the transmission sequence number stored in the buffer, and the timing for updating (+1) is based on the transmission sequence number from the transmitting station and the reception sequence number in the reception buffer. This is when they match.
尚、送信用バツフアは、送信局の他に受信局に
もあるが、特に意味を持つのは、送信局側の送信
用バツフアである。従つて、上記更新は、送信局
側の送信用バツフアの更新と考えてよい。 In addition to the transmitting station, the receiving station also has a transmitting buffer, but the transmitting buffer on the transmitting station side is particularly meaningful. Therefore, the above update can be considered to be an update of the transmission buffer on the transmitting station side.
更に、受信用バツフアは、受信局の他送信局に
もあるが、特に意味を持つのは受信局側の受信用
バツフアである。従つて、上記更新は、受信局側
の受信用バツフアの更新と考えてよい。 Furthermore, although receiving buffers exist at transmitting stations as well as receiving stations, it is the receiving buffer at the receiving station that is particularly significant. Therefore, the above update can be considered as an update of the receiving buffer on the receiving station side.
次に、バツフアの初期化を述べる。受信用バツ
フアは、上流の回線からの回線占有許可信号
POLを検出したとき初期化を行う。初期化はリ
セツト状態で表現させることとした。上流からの
回線占有許可信号POLとは、上記送信局が出
し、回線占有を放棄した意志表示となる。 Next, the initialization of the buffer will be described. The reception buffer is a line occupancy permission signal from the upstream line.
Initialize when POL is detected. Initialization was expressed as a reset state. The line occupancy permission signal POL from upstream is issued by the transmitting station and is an expression of intention to abandon line occupancy.
更に、上流の回線からの別局(上記送信局とは
別局との意)による送出フレームの受信の場合も
受信用バツフアの初期化を行う。前記送信局が回
線占有を放棄し、回線占有許可信号POLを送出
した際、該受信局よりも上流の局が回像占有して
しまう場合が相当する。 Furthermore, when a transmission frame is received by another station (meaning a station different from the above-mentioned transmitting station) from an upstream line, the receiving buffer is also initialized. This corresponds to a case where when the transmitting station relinquishes line occupation and sends out the line occupation permission signal POL, a station upstream from the receiving station takes possession of the line.
送信用バツフアは、上流の回線からの回線占有
許可信号POLを受信した際、初期化を行う。 The transmission buffer initializes when it receives the line occupancy permission signal POL from the upstream line.
この初期化により受信シーケンスナンバー、送
信シーケンスナンバーの両者はリセツトされ、新
しく何時でも受信局、送信局となりうる状態とな
る。例えば、別の送信局からの送信があつても、
当該リセツトしたシーケンスナンバーを持つ受信
局は、その要求を拒絶することなく、正当に受入
れる。 By this initialization, both the receiving sequence number and the transmitting sequence number are reset, and the station becomes ready to become a receiving station or a transmitting station at any time. For example, even if there is a transmission from another transmitting station,
The receiving station that has the reset sequence number does not reject the request, but rather accepts it.
次に、具体的な伝送フオーマツトのもとで、本
発明を詳述する。 Next, the present invention will be explained in detail using a specific transmission format.
第2図は本発明が適用される伝送局が送出する
データや応答等の情報のフレームフオーマツトで
あり、HDLCで規定するフレームフオーマツトに
準拠している。 FIG. 2 shows a frame format of information such as data and responses sent by a transmission station to which the present invention is applied, and is based on the frame format specified by HDLC.
各情報はフラグと呼ばれるビツトパターンFで
はさまれてフレームを形成しており、情報中には
フラグFと同じビツトパターンが生じないよう工
夫されている。先頭のフラグに続く3バイトは各
各宛先局アドレスDAとフレームの種類を示すコ
ントロール情報C、および送信元の局アドレス
SAの順で構成される。終端のフラグの直前2バ
イトはフレームのチエツク情報FCSであり、こ
れによりフレーム内に発生した伝送誤りの検出を
おこなう。情報1はデータもしくは応答である。
コントロール情報Cは図示するごとくさらに4情
報に分割されており、最初の1ビツトは“0”に
固定されており、次の3ビツトは送信シーケンス
ナンバーN(S)、続く1ビツトはポール/フア
イナルビツトP/F、次の3ビツトが応答シーケ
ンスナンバーN(R)を表わしている。 Each piece of information is sandwiched between bit patterns F called flags to form a frame, and measures are taken so that the same bit pattern as the flag F does not occur in the information. The 3 bytes following the first flag are each destination station address DA, control information C indicating the type of frame, and source station address.
Consists of SA in order. The two bytes immediately preceding the flag at the end are frame check information FCS, which is used to detect transmission errors that occur within the frame. Information 1 is data or a response.
As shown in the figure, control information C is further divided into four pieces of information, the first bit is fixed at “0”, the next three bits are the transmission sequence number N(S), and the following one bit is the poll/final bit. Bit P/F and the next three bits represent the response sequence number N(R).
本ループシステムでの伝送は半二重手順である
のでデータフレームの受信シーケンスナンバーN
(R)、応答フレームの送信シーケンスナンバーN
(S)は使用していない。 Since transmission in this loop system is a half-duplex procedure, the reception sequence number of the data frame is N.
(R), response frame transmission sequence number N
(S) is not used.
第2図のフレームは、送信側による送信フレー
ム、受信側による受信後の応答フレームの両者で
共通である。即ち、送信局、受信局両者にとつて
送信に際しては同一構成フレームとなる。 The frame shown in FIG. 2 is common to both the frame transmitted by the transmitter and the response frame received by the receiver. That is, both the transmitting station and the receiving station use the same frame when transmitting.
しかし、送信局と受信局とではフレームの内容
が異なる。例えば、#1のステーシヨンを送信
局、#nのステーシヨンを受信局とした場合、以
下の如きフレームの構成及び動作となる。 However, the contents of the frames differ between the transmitting station and the receiving station. For example, if station #1 is a transmitting station and station #n is a receiving station, the frame structure and operation will be as follows.
(i) 送信局#1による送信動作(その1)。(i) Transmission operation by transmitting station #1 (Part 1).
送信フレームの中で、DA=#n、SA=
#1、N(S)=i、N(R)=0とする。但
し、N(S)=iは、送信フレーム数を示す。
従つて、第1発目のフレーム送信ではN(S)
=0とし、送信毎に+1の更新を行い、この更
新結果をiとして出力する。 In the transmitted frame, DA=#n, SA=
#1, N(S)=i, N(R)=0. However, N(S)=i indicates the number of transmission frames.
Therefore, in the first frame transmission, N(S)
= 0, updates by +1 every time it is transmitted, and outputs this update result as i.
尚、N(R)は、送信局#1にあつてはN
(R)を設定する意味は持たせない。従つて、
送信局#1ではN(R)は一定値、N(R)=
0としておく。 Note that N(R) is N for transmitting station #1.
There is no meaning in setting (R). Therefore,
At transmitting station #1, N(R) is a constant value, N(R)=
Set it to 0.
(ii) 受信局#nによる受信動作(その1)。(ii) Receiving operation by receiving station #n (Part 1).
受信局#nは、送信局#1での(i)によるフレ
ームを受信する。受信局#nは、DAをみて、
自局宛#nであることを確認し、受信する
(FCSチエツク後)。 Receiving station #n receives the frame according to (i) from transmitting station #1. Receiving station #n looks at DA,
Check that it is addressed to #n and receive it (after checking the FCS).
次に、N(S)をみて、自局#nでバツフア
に格納している受信シーケンスナンバーと受信
フレーム中のN(S)とが一致するか否かをみ
る。一致ならば、相手送信局#1からの正当受
信とし、情報の取込みを行う。尚、受信シー
ケンスナンバーは、当初リセツトされ0として
おく。同一相手送信局#1であれば、それに引
き続くフレーム受信毎に更新(+1)する。従
つて、i回目のフレーム送信であれば、受信局
#nでは、N(S)=iに対して受信シーケン
スナンバーはiになつており、i=iの一致が
得られる。 Next, look at N(S) and check whether or not the reception sequence number stored in the buffer at local station #n matches the N(S) in the reception frame. If they match, it is assumed that the reception is valid from the partner transmitting station #1, and the information is taken in. Note that the reception sequence number is initially reset to 0. If it is the same partner transmitting station #1, it is updated (+1) every time subsequent frames are received. Therefore, for the i-th frame transmission, at receiving station #n, the receiving sequence number is i for N(S)=i, and a match of i=i is obtained.
受信シーケンスナンバーが一致すると、自局
#nでの受信シーケンスナンバーを(i+1)
の更新(+1)する。この更新は、受信したN
(S)に+1する動作でもよく、先に記憶した
バツフアでの内容に+1する動作でもよく、実
質的には変らない。 If the reception sequence numbers match, the reception sequence number at own station #n is set to (i+1).
Update (+1). This update is based on the received N
It may be an operation of adding +1 to (S) or an operation of adding +1 to the contents of the previously stored buffer, and there is no substantial change.
(iii) 受信局#nによる応答動作(その1)。(iii) Response operation by receiving station #n (Part 1).
受信局#nは、受信動作後(又はその過程を
通じて)、応答フレームを送出する。この応答
フレームは、DA=#1、SA=#n、N(S)
=0、N(R)=i+1となる。その他のI、
FCS等はHDLCと変りない。尚、応答フレーム
ではIに応答コマンドを入れる場合がある。 Receiving station #n transmits a response frame after the receiving operation (or through the process). This response frame is DA=#1, SA=#n, N(S)
=0, N(R)=i+1. Other I,
FCS etc. are no different from HDLC. Note that in the response frame, a response command may be entered in I.
ここで、N(S)=iとは、送信シーケンス
ナンバーであるが、受信局#nにあつては、送
信局でないため、意味を持たせない。単に送信
回数の表示にすぎない。従つて、N(S)=0
であつてもよい。 Here, N(S)=i is a transmission sequence number, but it has no meaning for receiving station #n because it is not a transmitting station. It simply shows the number of times it has been sent. Therefore, N(S)=0
It may be.
(iv) 送信局#1による受信動作(その1)。(iv) Receiving operation by transmitting station #1 (Part 1).
送信局#1は、受信局からの応答フレームを
受信し、DA=#1をみて自己と確認し、次
に、N(R)=i+1をみて、送信フレームが
正しく受信されたと判断する。引き続き送信デ
ータがあれば、送信シーケンスナンバー(i+
1)を送出する。これによつて、該送信局#1
による送信シーケンスナンバー(i+1)と一
致する。いわゆるシーケンスナンバー上での一
種の同期状態となる。 Transmitting station #1 receives the response frame from the receiving station, checks DA=#1 to confirm that it is itself, and then checks N(R)=i+1 and determines that the transmitted frame has been correctly received. If there is still data to send, the sending sequence number (i+
1) is sent. As a result, the transmitting station #1
It matches the transmission sequence number (i+1). This is a kind of synchronization state on the so-called sequence number.
引き続きのデータ送信がなければ、送信シー
ケンスナンバーiをリセツトし、代りに送信許
可信号POLを作る。 If there is no further data transmission, the transmission sequence number i is reset and a transmission permission signal POL is generated instead.
(v) 送信局#1による送信動作(その2)。(v) Transmission operation by transmitting station #1 (Part 2).
送信局#1は、引き続きデータ送信があれ
ば、DA=#n、SM=#1、N(S)=i+
1、N(R)=0より成るフレームを送出す
る。勿論、Iも同時に送出する。 If transmitting station #1 continues to transmit data, DA=#n, SM=#1, N(S)=i+
1, and a frame consisting of N(R)=0 is transmitted. Of course, I is also transmitted at the same time.
送信局#1は、引き続きデータ送信がなけれ
ば、(iv)で作成したPOLを送出する。 If transmitting station #1 does not continue to transmit data, it transmits the POL created in (iv).
このPOL受信した場合、送信局#1からの
引き続くデータ転送はないと受信局#nは判断
し、この判断時点でのバツフアの内容(i+
1)を強制的にリセツトする。このリセツトに
より、受信局#nは、送信局#1との間での接
続状態は解かれ、送信元局のない状態となる。
従つて、次に例えば新しい送信局#2が受信局
#nへの送信局となつた場合、(i)と同様な動作
の後で(ii)の動作となるが、その際、送信局#2
での送信シーケンスナンバーは“0”であり、
且つ受信局#nでの受信シーケンスナンバーも
“0”となつている故、両者の一致が得られ、
正しく受信を開始できる。 When this POL is received, receiving station #n determines that there is no subsequent data transfer from transmitting station #1, and the buffer content (i+
1) Forcibly reset. As a result of this reset, receiving station #n is disconnected from transmitting station #1 and becomes in a state where there is no source station.
Therefore, next time, for example, when a new transmitting station #2 becomes a transmitting station for receiving station #n, the same operation as (i) will be followed by the operation (ii), but at that time, transmitting station #2 will become a transmitting station for receiving station #n. 2
The transmission sequence number is “0”,
In addition, since the reception sequence number at receiving station #n is also "0", a match between the two is obtained,
You can start reception correctly.
尚、受信シーケンスナンバーのリセツトは、
前回のフレームを送出した送信元アドレスSA
と、今回のフレームを送出した送信元アドレス
SAとが一致しない場合も、行う。これは前回
の送信局が回線占有を放棄し、代りに該受信局
よりも上流の局が送信局となつた場合である。
その時は情報Iの受信を行う。 In addition, to reset the receive sequence number,
Source address SA that sent the previous frame
and the source address that sent this frame.
Perform this even if the SA does not match. This is a case where the previous transmitting station gives up exclusive possession of the line, and a station upstream from the receiving station becomes the transmitting station instead.
At that time, information I is received.
(vi) 受信局#nによる受信動作(その2)。(vi) Receiving operation by receiving station #n (Part 2).
送信局#1からの引き続きデータ送信であれ
ば、DA=#nを確認し、且つSA=#1である
ことを確認し(SA=#1の確認は、同一送信
局#1からの送信であることを確認するためで
ある)、それらが確認できれば、次にN(S)=
i+1をみて、自己の受信シーケンスナンバー
の一致の有無をみる。自己の受信シーケンスナ
ンバーは、(ii)による更新で(i+1)になつて
いるため、シーケンスナンバーの一致を得る。 If the data continues to be transmitted from transmitting station #1, check DA = #n and SA = #1 (confirm SA = #1 if the data is transmitted from the same transmitting station #1). ), and if these can be confirmed, then N(S)=
Look at i+1 to see if there is a match between its own reception sequence numbers. Since its own received sequence number has become (i+1) due to the update in (ii), the sequence numbers match.
この一致をみて、受信局#nは、その時の送
信データを取込む。 Upon seeing this coincidence, receiving station #n captures the transmission data at that time.
次に、受信シーケンスナンバーを(ii)と同じく
更新する。この場合、(i+2)となる。 Next, the reception sequence number is updated in the same way as in (ii). In this case, it becomes (i+2).
一方、送信局#1によるPOL受信した場合
は、自己が回線専有要求があれば、自己が受信
局として、(i)の動作を行う。 On the other hand, when transmitting station #1 receives POL, if it has a line exclusive request, it performs the operation (i) as a receiving station.
このPOL受信の場合、(vi)の後半で述べたよ
うに、シーケンスナンバーのリセツトを行う。 In the case of this POL reception, the sequence number is reset as described in the second half of (vi).
(vii) 受信局#nによる応答動作(その2)。(vii) Response operation by receiving station #n (Part 2).
応答フレームを送出する。その際の動作は、
(iii)と同じである。但し、N(R)=i+2とす
る。 Sends a response frame. The operation at that time is
Same as (iii). However, N(R)=i+2.
(viii) 送信局#1による受信動作(その2)。(viii) Receiving operation by transmitting station #1 (Part 2).
応答フレームを受取る。動作は(iv)と同じであ
る。但し、受信の確認は、(i+2)になつて
いることによつてわかる。 Receive a response frame. The operation is the same as (iv). However, confirmation of reception can be determined by the fact that it becomes (i+2).
(iv)と同様に、引き続きデータ送出であればN
(S)=i+2としてデータを送出する。データ
送出がなければ、POLを発生する。 Similar to (iv), if data continues to be sent, N
Send data as (S)=i+2. If no data is sent, a POL is generated.
尚、(i)〜(iv)では、再送要求及びその後の再送
処理は省略している。実施例の中で説明され
る。更に、送信局での受信シーケンスナンバ
ー、受信局での送信シーケンスナンバーに意味
を持たせてもよい。例えば、送信局→受信局・
そして受信局が送信局→送信局が受信局の如
き、伝送形式をとることもある。 Note that in (i) to (iv), the retransmission request and subsequent retransmission processing are omitted. It is explained in the examples. Furthermore, the reception sequence number at the transmitting station and the transmission sequence number at the receiving station may be given meaning. For example, transmitting station → receiving station
In some cases, the transmission format is such that the receiving station is the transmitting station and the transmitting station is the receiving station.
次に第3図に示す伝送タイムシーケンス例によ
り各局の送受信の様子をさらに明確に説明する。 Next, the state of transmission and reception at each station will be explained more clearly using an example of a transmission time sequence shown in FIG.
本例ではまず伝送局ST1が回線占有権を得て
STnにデータを送り、次いでST2が回線占有権を
得てSTn−1にデータを送る場合が示されてい
る。 In this example, transmission station ST 1 first obtains the right to occupy the line.
A case is shown in which data is sent to STn, and then ST 2 obtains the line exclusive right and sends data to STn-1.
回線占有権を得るのは前占有局が送出した送信
許可信号POLを受信した送信要求局で本信号を
アポート信号ABTに変換した後データフレーム
DATAの送出に移る。このため送信許可信号
POLは本局より下流には送られない。図では1
フレームの送出しか示されていないが一般には複
数のデータフレームを連続して送出しそれらの一
括した応答を受ける事も可能である。データフレ
ームのカツコ内の数字は送信シーケンスナンバー
を示しており、応答フレームのカツコ内の数字は
受信シーケンスナンバーを示している。データフ
レームDATAの送出が完了するとタイムフイル
信号TFを送出しながら受信局からの応答フレー
ムRESPの到着を待つ。このようにタイムフイル
は送信局が送出情報のない時に出す信号である。
正常受信を示す応答フレームを受信し、かつ送信
シーケンスナンバーよりも1多い受信シーケンス
ナンバーを受信するとそれ迄に送出したデータフ
レームDATAは全て受信局で正しく受信された
とみなす。本例では受信シーケンスナンバー1で
あるが例えば3フレームすなわち0、1、2の送
信シーケンスナンバーのデータフレームを送出し
た場合受信シーケンスナンバー3が来れば正しい
訳である。なお、受局において応答フレーム
RESPの送出タイミングはデータフレームDATA
中のポール/フアイナルビツトで指示される。正
常な応答フレームRESPを受信後、回線占有を放
棄する場合は送信許可信号POLを送出する。送
信許可信号POLはハードウエアによる検出が容
易なようにデータや応答フレームと違つてフレー
ム形式を採らない場合が多い。この時そのビツト
パターンはデータフレームや応答フレームまたは
タイムフイル信号中に現われないパターンを選択
している。なお送信局は応答フレームRESPを受
信できない場合タイムアウト時間の計時によりデ
ータフレームを再送し再度応答の送出を要求す
る。 The line exclusive right is obtained by the transmission requesting station which receives the transmission permission signal POL sent by the previous occupying station and converts this signal into the abort signal ABT and then frames the data frame.
Move on to sending DATA. For this reason, the transmission permission signal
POL is not sent downstream from the main office. In the diagram, 1
Although only frame sending is shown, it is generally possible to send a plurality of data frames consecutively and receive a collective response. The numbers in brackets of the data frame indicate the transmission sequence number, and the numbers in the brackets of the response frame indicate the reception sequence number. When the transmission of the data frame DATA is completed, it waits for the arrival of the response frame RESP from the receiving station while transmitting the time fill signal TF. In this way, the time fill is a signal sent by the transmitting station when there is no information to send.
When a response frame indicating normal reception is received and a reception sequence number that is one more than the transmission sequence number is received, all data frames DATA sent up to that point are considered to have been correctly received at the reception station. In this example, the reception sequence number is 1, but for example, if three frames, that is, data frames with transmission sequence numbers of 0, 1, and 2, are transmitted, it is correct if the reception sequence number 3 comes. In addition, the response frame is
RESP sending timing is data frame DATA
Directed by the inner pole/final bit. After receiving a normal response frame RESP, if the line is to be relinquished, a transmission permission signal POL is sent. Unlike data and response frames, the transmission permission signal POL often does not take a frame format so that it can be easily detected by hardware. At this time, the bit pattern selected is a pattern that does not appear in the data frame, response frame, or time fill signal. Note that if the transmitting station cannot receive the response frame RESP, it retransmits the data frame by counting the timeout period and requests transmission of the response again.
以上の説明でわかる通りブロツク多重方式を採
るループ伝送システムにおいてはN対M伝送が可
能といつてもある時間内は送信局と受信局が固定
の一組であり、これらの間で正常な伝送が完了し
た後、別組の伝送が始まる。よつて受信に指定さ
れた局で上述した伝送の正常完了が検出できれば
シーケンスナンバーをリセツトできるので多数局
に対し共通使用可能となる。本発明では正常な伝
送の完了を送信許可信号POL、あるいは今まで
伝送している局とは別局からのデータフレームを
受信した事で知る様にした。これを第4図、第5
図により説明する。 As can be seen from the above explanation, N-to-M transmission is possible in a loop transmission system that uses block multiplexing, but during a certain period of time, the transmitting station and receiving station are a fixed pair, and normal transmission between them is possible. After this is completed, another set of transmissions begins. Therefore, if the normal completion of the above-mentioned transmission is detected at the station designated for reception, the sequence number can be reset, so that it can be used commonly by many stations. In the present invention, the completion of normal transmission is known by receiving the transmission permission signal POL or by receiving a data frame from a station different from the station that has been transmitting up to now. This is shown in Figures 4 and 5.
This will be explained using figures.
第4図は伝送局STiが送信権を得てSTkにデー
タフレームDATAを送出している場合を示して
いる。送信シーケンスナンバーN(S)がm+1
の時ポール/フアイナルビツトP/F=1により
応答フレームの送出を要求した。これを受信した
伝送局STkでは受信シーケンスナンバーN(R)
がm+2の応答フレームRESPを返送し、シーケ
ンスナンバーm+1迄のフレームを正常に受信し
た事を通知する。またポール/フアイナルビツト
P/Fは1としてこれ以上のフレーム送出がない
事を示す。 FIG. 4 shows a case where the transmission station STi has obtained the transmission right and is sending a data frame DATA to STk. Transmission sequence number N(S) is m+1
At this time, the transmission of a response frame is requested by the poll/final bit P/F=1. The transmission station STk that received this receives the reception sequence number N(R).
returns a response frame RESP of m+2, notifying that it has successfully received frames with sequence numbers up to m+1. Also, the poll/final bit P/F is set to 1, indicating that no more frames will be sent.
なお図中伝送局STkの下欄に示された数字は
STkでの受信シーケンスナンバーN(R)であ
る。応答フレームRESPを送出した時点から受信
シーケンスナンバーN(R)はm+2である。伝
送局STkからの応答フレームRESPを受信した
STiは自局からの送信が全て成功した事を知り送
信許可信号POLを送出して一旦送信権を放棄す
る。送信許可信号POLを検出した伝送局STkは
STiからの受信が完了した事を検出して受信シー
ケンスナンバーN(R)を0とする。これにより
次に自局宛に送られてくる送信シーケンスナンバ
ーN(S)=0のフレームに対する準備が可能で
ある。本図では他に送信要求がなく再び伝送局
STiが送信権を得てデータフレームの送出をおこ
なう場合を示しているが、伝送局STkより下流に
ある局が送信権を得る場合も同じである。受信シ
ーケンスナンバーN(R)=0である時に伝送局
STiより送信シーケンスナンバーN(S)=0の
フレームを受信するのでこれを正常フレームとし
た応答フレームを返送する。しかし場合によつて
は以上の例と違つて伝送局STkよりも上流の伝送
局が送信権を得るケースもあり得る。この例を示
したのが第5図である。本図では伝送局STiが送
出した送信許可信号POLを検出したSTjが送信局
を得てSTkに送信をおこなう場合を示している。
伝送局STjが送信権を得るので伝送局STiの送出
した送信許可信号POLは伝送局STkでは検出で
きず受信シーケンスナンバーN(R)をリセツト
する事ができない。しかし以前と異なる伝送局か
らデータフレームDATAを受信した事はそれ以
前の伝送は正常に完了したとみなしてよいので図
中伝送局STkの下欄に示したように送信局アドレ
スを受信シーケンスナンバーN(R)とともに記
憶しておけばこの様な場合でもシーケンスナンバ
ーの管理をおこなう事が可能である。すなわち送
信許可信号POLを検出する前にそれ迄の伝送局
とは別局から送信シーケンスナンバーN(S)が
0のデータフレームDATAを受信した場合はそ
れ迄記憶している受信シーケンスナンバーN
(R)の値にかかわらず無条件に受信し、受信シ
ーケンスナンバーN(R)を1としN(S)≠0
の場合はN(R)は単に0にするのである。以上
の方法により各伝送局ではシーケンスナンバー記
憶用のバツフアは送受一組のみで全局共通に使用
する事が可能となる。 In addition, the numbers shown in the column below transmission station STk in the figure are
This is the reception sequence number N(R) at STk. The reception sequence number N(R) is m+2 from the time the response frame RESP is sent. Received response frame RESP from transmission station STk
STi learns that all transmissions from its own station have been successful, sends a transmission permission signal POL, and temporarily relinquishes transmission rights. The transmission station STk that detected the transmission permission signal POL
It detects that reception from the STi is complete and sets the reception sequence number N(R) to 0. This makes it possible to prepare for the frame with transmission sequence number N(S)=0 that will be sent next to the local station. In this figure, there is no other transmission request and the transmitting station
Although the case where STi obtains the transmission right and sends out a data frame is shown, the same applies to the case where a station downstream from the transmission station STk obtains the transmission right. When the receiving sequence number N(R) = 0, the transmitting station
Since a frame with transmission sequence number N(S)=0 is received from STi, a response frame is returned with this as a normal frame. However, in some cases, unlike the above example, a transmission station upstream of transmission station STk may obtain the transmission right. FIG. 5 shows an example of this. This figure shows a case where STj detects the transmission permission signal POL sent out by the transmission station STi, acquires the transmission station, and transmits to STk.
Since the transmission station STj obtains the right to transmit, the transmission permission signal POL sent by the transmission station STi cannot be detected by the transmission station STk, and the reception sequence number N(R) cannot be reset. However, if the data frame DATA is received from a different transmission station than before, it can be assumed that the previous transmission has been completed normally. Therefore, as shown in the lower column of the transmission station STk in the figure, the transmission station address is set to the reception sequence number N. If it is stored together with (R), it is possible to manage the sequence number even in such a case. In other words, if a data frame DATA with a transmission sequence number N(S) of 0 is received from a station different from the previous transmission station before detecting the transmission permission signal POL, the reception sequence number N stored up to that point is
Receive unconditionally regardless of the value of (R), set the reception sequence number N(R) to 1, and N(S)≠0
In this case, N(R) is simply set to 0. By the above method, each transmission station can use only one set of transmitting and receiving buffers for storing sequence numbers, which can be shared by all stations.
第6図は本発明が適用される伝送局STiの概略
構成図であり、これによりシーケンスナンバー制
御回路の位置およびその周辺回路との結がりを説
明する。伝送線からの受信信号は受信器kによつ
てデイジタル情報に変換されて局内に取り込まれ
る。パス状態の時はシフトレジスタSR、マルチ
プレクサMPXを経由してそのまま送信器Tに送
られ再び信号に変換されて伝送線に送り出され
る。送信要求が生じた時は伝送制御回路TCが送
信許可信号検出回路PPDCを起動して送信許可信
号の検出を待つ。送信許可信号検出回路PPDCで
送信許可信号を検出すると送信許可信号検出信号
POLDを伝送制御回路に送る。ただしこれらの制
御線は本題と直接関係ないので図中には示されて
いない。これを受けた伝送制御回路TCはアポー
ト信号発生回路ADTGを起動するとともにマルチ
プレクサMPXを制御して自局からの情報送出を
開始する。アボート信号の送出が完了するとフレ
ーム生成回路FRMGを起動して送信情報バツフ
アSBUF内のデータ情報の送出を開始する。この
時データフレームの送信シーケンスナンバーはシ
ーケンスナンバー制御回路SNCCから自局送信シ
ーケンスナンバーMN(S)として受け取る。1
フレームの転送が終了する毎にフレーム送出完了
信号TRNEがシーケンス制御回路SNCCに送られ
る。データフレームの送出が完了するとフレーム
生成回路FRMGはタイムフイル信号を送出す
る。相手受信局の送出する応答フレームが受信さ
れると自局宛フレーム検出回路MFDCからの検
出信号、フレームチエツク情報チエツク回路から
の正常信号とのアンド条件により伝送制御回路に
その到着が知らされる。伝送制御回路TCでは受
信情報バツフアRBVFを介して応答フレームの内
容を取り込んで調べ、再送が必要であればコント
ロールフイールドチエツク回路CFCCに記憶して
いる応答フレーム受信シーケンスナンバーRN
(R)をシーケンスナンバー制御回路SNCCの送
信シーケンス部に取り込んで必要なデータフレー
ムからの再送を行なう。一方正常な応答フレーム
を受信すれば送信許可信号発生回路POLGから信
号を発生させ、完了後マルチプレクサMPXを制
御して再びパルス状態に移行する。 FIG. 6 is a schematic configuration diagram of a transmission station STi to which the present invention is applied, and the position of the sequence number control circuit and its connection with peripheral circuits will be explained using this diagram. The received signal from the transmission line is converted into digital information by receiver k and taken into the station. When in the pass state, the signal is sent as is to the transmitter T via the shift register SR and multiplexer MPX, where it is converted back into a signal and sent out to the transmission line. When a transmission request occurs, the transmission control circuit TC activates the transmission permission signal detection circuit PPDC and waits for the detection of a transmission permission signal. When the transmission permission signal detection circuit PPDC detects a transmission permission signal, a transmission permission signal detection signal is generated.
Send POLD to the transmission control circuit. However, these control lines are not shown in the figure because they are not directly related to the main topic. Upon receiving this, the transmission control circuit TC activates the aport signal generation circuit ADTG and controls the multiplexer MPX to start transmitting information from its own station. When the transmission of the abort signal is completed, the frame generation circuit FRMG is activated to start transmitting the data information in the transmission information buffer SBUF. At this time, the transmission sequence number of the data frame is received from the sequence number control circuit SNCC as the local transmission sequence number MN(S). 1
Every time frame transfer is completed, a frame transmission completion signal TRNE is sent to the sequence control circuit SNCC. When the sending of the data frame is completed, the frame generation circuit FRMG sends out a time fill signal. When a response frame sent by the other receiving station is received, the transmission control circuit is notified of its arrival by an AND condition between the detection signal from the frame detection circuit MFDC addressed to the own station and the normal signal from the frame check information check circuit. The transmission control circuit TC fetches and examines the contents of the response frame via the reception information buffer RBVF, and if retransmission is necessary, the response frame reception sequence number RN stored in the control field check circuit CFCC is read.
(R) is taken into the transmission sequence section of the sequence number control circuit SNCC and retransmission is performed from the necessary data frame. On the other hand, if a normal response frame is received, a signal is generated from the transmission permission signal generation circuit POLG, and after completion, the multiplexer MPX is controlled to shift to the pulse state again.
次に受信局に指定された場合の動作を説明す
る。マルチプレクサMPXがシフトレジスタSR側
の出力を選択している時自局宛データフレーム検
出回路MFDCで自局宛データフレームを検出
し、フレームチエツク情報チエツク回路FCSCで
フレームに伝送エラーが生じていない事を検出す
るとアンドゲートAGによりこれを伝送制御回路
TCに通知する。また同時にシーケンスナンバー
制御回路SNCCはコントロールフイールドチエツ
ク回路FCSC内に記憶されているコントロールフ
イールド情報の内から受信フレーム送信シーケン
スナンバーRN(S)を取り込み該フレームのシ
ーケンスチエツクを行ないその結果正常であれば
シーケンスナンバ正常検出信号SNOKを伝送制御
回路TCに送る。伝送制御回路TCではこの2信号
の通知によつて受信情報バツフアRBUFを介して
フレームの情報を取り込んでこれを伝送局STiに
接続されている情報機器に送る。よつてシーケン
スナンバーの不合理なデータフレームや再送され
たデータフレームの場合フレームの到着は情報機
器迄通知されずに処理される事になる。フレーム
チエツクが正常な自局宛データフレームの到着を
アンドゲートAGを介して通知された伝送制御回
路TCは正常あるいは種々のエラー要因等受信状
態を送信局に通知するため応答フレームを作成す
る。応答フレームの宛先は送信元局アドレスレジ
スタSARからの送信元局アドレスSAを使用し、
受信シーケンスナンバーはシーケンスナンバー制
御回路SNCCからの受信シーケンスナンバーN
(R)を使用する。準備が完了すると伝送制御回
路TCは情報を送信情報バツフアSBUFに送りフ
レーム生成回路FRMG、マルチプレクサMPXを
制御して応答フレームを回線に送出し、完了後再
びパス状態に戻す。この後送信許可信号検出回路
PPDCで送信許可信号を検出すると送信許可信号
検出信号POLDによつてこれをシーケンスナンバ
ー制御回路SNCCに通知する。 Next, the operation when designated as a receiving station will be explained. When the multiplexer MPX selects the output of the shift register SR side, the data frame detection circuit MFDC detects the data frame addressed to the own station, and the frame check information check circuit FCSC checks that there are no transmission errors in the frame. When detected, this is transmitted to the transmission control circuit by AND gate AG.
Notify TC. At the same time, the sequence number control circuit SNCC fetches the received frame transmission sequence number RN(S) from the control field information stored in the control field check circuit FCSC, performs a sequence check of the frame, and if the result is normal, the sequence is returned. Sends the number normality detection signal SNOK to the transmission control circuit TC. In response to notification of these two signals, the transmission control circuit TC takes in frame information via the reception information buffer RBUF and sends it to the information equipment connected to the transmission station STi. Therefore, in the case of a data frame with an unreasonable sequence number or a retransmitted data frame, the arrival of the frame will be processed without being notified to the information equipment. The transmission control circuit TC, which is notified via the AND gate AG of the arrival of a data frame addressed to its own station with a normal frame check, creates a response frame to notify the transmitting station of the receiving status, such as normal or various error factors. The destination of the response frame uses the source station address SA from the source station address register SAR,
The received sequence number is the received sequence number N from the sequence number control circuit SNCC.
Use (R). When preparation is completed, the transmission control circuit TC sends information to the transmission information buffer SBUF, controls the frame generation circuit FRMG and multiplexer MPX to send a response frame to the line, and after completion, returns to the path state. After this, the transmission permission signal detection circuit
When the PPDC detects the transmission permission signal, it notifies the sequence number control circuit SNCC by the transmission permission signal detection signal POLD.
ここで、第7図によりシーケンスナンバー制御
回路SNCCの回路構成を説明する。ここで、カウ
ンタSSCとは、送信シーケンスナンバー形成用カ
ウンタであり、レジスタRSNRは受信シーケンス
ナンバー格納用レジスタである。このカウンタ
SSCはレジスタを兼ねており、カウンタSCCと
RSNRとを持つて、送受一組のバツフアと呼ぶ。 Here, the circuit configuration of the sequence number control circuit SNCC will be explained with reference to FIG. Here, the counter SSC is a counter for forming a transmission sequence number, and the register RSNR is a register for storing a reception sequence number. This counter
SSC also serves as a register, and is a counter SCC.
Together with RSNR, it is called a sending/receiving buffer.
送信側は送信シーケンスカウンタSSCがあるだ
けでその出力が自局送信シーケンスナンバーMN
(S)である。応答フレーム受信シーケンスナン
バーRN(R)の値(再送時の途中フレームの
値)をプリセツトする事が可能な構成となつてい
る。送信許可信号検出信号POLPによりカウンタ
の値はゼロにリセツトされる。またフレーム送出
完了信号TRNE入力によりカウンタの内容は1づ
つアツプされてゆく。 The transmitting side only has a transmitting sequence counter SSC, and its output is the own transmitting sequence number MN.
(S). The configuration is such that it is possible to preset the value of the response frame reception sequence number RN(R) (the value of the intermediate frame at the time of retransmission). The counter value is reset to zero by the transmission permission signal detection signal POLP. Furthermore, the contents of the counter are incremented by one in response to input of the frame transmission completion signal TRNE.
受信側は1個の受信シーケンスナンバレジスタ
RSNRがあり、この出力すなわち受信シーケンス
ナンバーN(R)と受信フレーム送信シーケンス
ナンバーRN(S)とはコンパレータCOMP1に
より一致が確かめられる。コンパレータCOMP1
の一致出力はシーケンスナンバー正常検出信号
SNOKとなる。受信シーケンスナンバレジスタ
RSNRは受信フレーム送信シーケンスナンバーを
1加算する加算器INCRの出力をコンパレータ
COMP1の一致出力SNOKによつて入力できる構
成となつており、オアゲートORを介して送信許
可信号検出信号POLDによりゼロにリセツトされ
る。さらに送信元局アドレスSAを記憶しておく
前送信局アドレスレジスタPSARを備えており、
フレームチエツクが正常な自局宛データフレーム
を受信するとコンパレータ2で前送信局アドレス
レジスタの出力と送信元局アドレスが比較され、
もし一致していなければオアゲートORを介して
受信シーケンスナンバーレジスタRSNRの内容を
ゼロにリセツトする。その後送信元局アドレス
SAが前送信局アドレスレジスタPSARに入力さ
れる。受信シーケンスナンバーレジスタRSNRは
リセツト後受信フレーム送信シーケンスナンバー
RN(S)がゼロならば1が直ちに書き込まれ
る。 The receiving side has one receive sequence number register.
RSNR, and the comparator COMP1 confirms that this output, that is, the reception sequence number N(R) and the reception frame transmission sequence number RN(S) match. Comparator COMP1
The match output is the sequence number normal detection signal
It becomes SNOK. Receive sequence number register
RSNR is a comparator that uses the output of the adder INCR that adds 1 to the received frame transmission sequence number.
It is configured so that it can be input by the coincidence output SNOK of COMP1, and is reset to zero by the transmission permission signal detection signal POLD via an OR gate. Furthermore, it is equipped with a pre-transmission station address register PSAR that stores the transmission source station address SA.
When a data frame addressed to the local station is received with a normal frame check, comparator 2 compares the output of the previous transmitting station address register with the source station address.
If they do not match, the contents of the receive sequence number register RSNR are reset to zero via the OR gate. Then the source station address
SA is input to the previous transmitting station address register PSAR. The reception sequence number register RSNR is the reception frame transmission sequence number after reset.
If RN(S) is zero, a one is written immediately.
以上に述べた通り本発明によればN対Mループ
伝送システムにおいてフレームのシーケンスナン
バー記憶用バツフアを送受1組と構成できるとい
う効果がある。更に、システムの拡張に伴う融通
性を得ることができた。 As described above, the present invention has the advantage that in an N to M loop transmission system, buffers for storing frame sequence numbers can be configured as one transmitting/receiving set. Furthermore, we were able to gain flexibility in expanding the system.
第1図は本発明が適用されるN対Mループ伝送
システムの全体構成図、第2図は伝送フレームフ
オーマツト、第3図は本発明が適用されるループ
伝送制御方式のタイムシーケンス例、第4図およ
び第5図は本発明の要点を説明するための伝送シ
ーケンス、第6図は本発明を適用した伝送局の概
略構成図、第7図は本発明実施例によるシーケン
スナンバー制御回路の構成図である。
STi……ステーシヨン(伝送局)、SNCC……シ
ーケンスナンバー制御回路。
Fig. 1 is an overall configuration diagram of an N to M loop transmission system to which the present invention is applied, Fig. 2 is a transmission frame format, and Fig. 3 is an example of a time sequence of a loop transmission control system to which the present invention is applied. 4 and 5 are transmission sequences for explaining the main points of the present invention, FIG. 6 is a schematic configuration diagram of a transmission station to which the present invention is applied, and FIG. 7 is a configuration of a sequence number control circuit according to an embodiment of the present invention. It is a diagram. STi...station (transmission station), SNCC...sequence number control circuit.
Claims (1)
を伝送回線でループ状に結合し、ある時間は送信
許可信号を検出した唯一の伝送局のみが回線の占
有権を持ち、占有権を得た局は唯一の伝送局を受
信局に指定してフレーム形式の情報を送出し、送
出完了後受信局から応答フレームを受け、送出情
報が正しく受信された事を確認した場合送信許可
信号を送出して次の回線占有局を決定する事で任
意の伝送局間で伝送をおこなうN対Mループ伝送
システムにおいて、各局は1組の送信シーケンス
ナンバー用カウンタと受信シーケンスナンバー記
憶用バツフアを持ち、 回線の占有権を得た伝送局は最初送信シーケン
スナンバーを0にしてフレームの送出を行ない、
さらに続けて送信する場合はフレーム送出毎に送
信シーケンスナンバーを1加算して送出を行い、
回線占有を放棄する場合には回線許可信号を送出
し、 受信局に指定された伝送局は受信したフレーム
中の送信シーケンスナンバーと記憶している受信
シーケンスナンバーとが等しい場合、あるいは前
回とは別局からの自局宛フレームを検出した場合
受信した送信シーケンスナンバーの値を1加算し
た値を受信シーケンスナンバーとして送信局アド
レスとともに記憶し、応答フレーム送出時には受
信シーケンスナンバーを付し、上記送信権を得た
伝送局が回線占有を放棄した事を上記回線許可信
号の受信により検出した場合受信シーケンスナン
バーを初期化させる、 事を特徴とするフレームシーケンスナンバー制御
方式。[Claims] 1. A plurality of transmission stations equipped with a set of transmitters and receivers are connected in a loop through a transmission line, and at a certain time, only the only transmission station that has detected a transmission permission signal occupies the line. The station that has the exclusive right designates the only transmitting station as the receiving station and transmits information in frame format, and after the transmission is completed, it receives a response frame from the receiving station, confirming that the transmitted information has been correctly received. In an N-to-M loop transmission system in which transmission is performed between arbitrary transmission stations by sending a transmission permission signal and determining the next line-occupying station when confirmed, each station has a counter for a transmission sequence number and a reception sequence number. A transmission station that has a number storage buffer and has obtained exclusive rights to the line initially transmits frames with the transmission sequence number set to 0.
If you want to continue transmitting, add 1 to the transmission sequence number each time you transmit a frame, and then
When relinquishing line occupation, a line permission signal is sent, and the transmission station designated as the receiving station transmits a signal if the transmitting sequence number in the received frame is equal to the memorized receiving sequence number, or if it is different from the previous one. When a frame addressed to the local station is detected from a station, the value obtained by adding 1 to the value of the received transmission sequence number is stored as the reception sequence number along with the transmission station address, and when sending a response frame, the reception sequence number is attached and the above transmission right is granted. A frame sequence number control method characterized in that when it is detected by reception of the line permission signal that the transmission station obtained has given up possession of the line, the reception sequence number is initialized.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10910179A JPS5634258A (en) | 1979-08-29 | 1979-08-29 | Frame sequence number control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10910179A JPS5634258A (en) | 1979-08-29 | 1979-08-29 | Frame sequence number control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5634258A JPS5634258A (en) | 1981-04-06 |
| JPS6138895B2 true JPS6138895B2 (en) | 1986-09-01 |
Family
ID=14501597
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10910179A Granted JPS5634258A (en) | 1979-08-29 | 1979-08-29 | Frame sequence number control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5634258A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5933955A (en) * | 1982-08-20 | 1984-02-24 | Hitachi Ltd | Loop transmission method |
| JPS61123341A (en) * | 1984-11-20 | 1986-06-11 | Nec Corp | Time divisional relay exchange system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5910102B2 (en) * | 1977-03-31 | 1984-03-07 | 三菱電機株式会社 | Loop transmission method |
-
1979
- 1979-08-29 JP JP10910179A patent/JPS5634258A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5634258A (en) | 1981-04-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4354267A (en) | Data transmission system utilizing loop transmission lines between terminal units | |
| EP0123507B1 (en) | Data communication system and apparatus | |
| US5754799A (en) | System and method for bus contention resolution | |
| US4642630A (en) | Method and apparatus for bus contention resolution | |
| JPS5943862B2 (en) | Information transmission method of loop transmission system | |
| JPH02228854A (en) | Data communication system and data communication method | |
| JPS6138895B2 (en) | ||
| WO1987007797A1 (en) | A method of coupling a data transmitter unit to a signal line and an apparatus for performing the invention | |
| JP2644558B2 (en) | Test apparatus and test method for communication device | |
| JPH0126213B2 (en) | ||
| JPS61237544A (en) | Asynchronous serial transmission method | |
| JP2643089B2 (en) | Error detection and recovery system in parallel / serial bus | |
| JPS6055755A (en) | Loop transmitter | |
| JP3125325B2 (en) | Transmission control method in storage-type star communication network | |
| JPS62183638A (en) | Multiple address communication control system in local area network | |
| JPS6142466B2 (en) | ||
| JP2928024B2 (en) | Multiple access control method | |
| JP2754684B2 (en) | Communication line test equipment | |
| JPH0414339A (en) | Terminal equipment | |
| JPH02217039A (en) | Poling/selecting control procedure system | |
| JPH0669943A (en) | Loop type network system | |
| JPS60201760A (en) | Data transmission system | |
| JPS6160042A (en) | Identification system of arrangement order of node | |
| JP2000151666A (en) | Communication control method | |
| JPH0583018B2 (en) |