JPH01228231A - Data transfer control system - Google Patents

Data transfer control system

Info

Publication number
JPH01228231A
JPH01228231A JP63052672A JP5267288A JPH01228231A JP H01228231 A JPH01228231 A JP H01228231A JP 63052672 A JP63052672 A JP 63052672A JP 5267288 A JP5267288 A JP 5267288A JP H01228231 A JPH01228231 A JP H01228231A
Authority
JP
Japan
Prior art keywords
data frame
data
frame
station
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63052672A
Other languages
Japanese (ja)
Inventor
Toru Matsui
透 松井
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 JP63052672A priority Critical patent/JPH01228231A/en
Publication of JPH01228231A publication Critical patent/JPH01228231A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To improve the activity efficiency of a line by omitting the wasteful transfer of data by storing a data frame during one propagation delay time until the data frame whose re-transmission is requested after detecting a transmission error is re-transmitted. CONSTITUTION:The data is transmitted from a station 1a to a station 1b via the line 2. When the error detection controller 6b of the station 1b detects the transmission error of a reception data frame, the station 1b requests the re-transmission of the data frame to the station 1a. And simultaneously, the data frame during one propagation delay time until the above stated data frame whose re-transmission is requsted after detecting the transmission error is re- transmitted is stored in a memory buffer 7b. And in case of succeeding in the reception of the above stated frame whose re-transmission is requested, no request of the re-transmission is issued even when the transmission error is detected in the frame re-transmitted after that within the above stated one propagation delay time, and a corresponding data frame is taken out by the buffer 7b.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、2局間のデータリンクレイヤレベルの通信
方式における同時監視方式のデータ転送制御方式に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a simultaneous monitoring data transfer control system in a data link layer level communication system between two stations.

〔従来の技術〕[Conventional technology]

第5図は同時監視方式における従来のデータ転送制御方
式を示すブロック図であり、図において、la 、ib
は、その時々において、一方が固定長のデータフレーム
に分割されたディジタル悄号によるデータをそのデータ
フレームに付けられたフレーム番号に従って順番に送信
する送信局、他方がそのデータフレームを受信する受信
局として動く局、2は局la、lb間を接続して、送信
局として働く例えば局1aより受信局として働く例えば
局1bへ、前記データフレームを伝送するデー・夕通信
回線、3は同じく局la、ib間を接続して、受信局と
して働く例えば局1bよシ送信局として働く例えば局1
aへ、データフレームの再送を要求する再送要求フレー
ムを伝送する送達確認用回線である。また、4a 、4
bは前記局1a+1b内にあって、送信すべきデータを
エンコードして固定長のデータフレームに分割し、フレ
ーム番号の順番に送信する送信機能と、相手局からのデ
ータフレームを順番に受信してデコードする受信機能と
を備えた送受信機、5a、5bは同じく局1a 、ib
内にあって、前記送受信機4a、4bで送信中のデータ
フレームを保存するグロセツシングバツファ、5a 、
5bも同じく局1a、1b内にあって、前記送受信機4
 ar 4 bs及びグロセツシングパツファ5a 、
5bの制御を行うとともに、前記送受信機4a 、4b
で受信したデータフレームの送信具りを検出して当該デ
ータフレームの再送を要求する再送要求フレームを生成
し、前記送受信機4a 、4bより送達確認用回線3に
送出する誤り検出・制御装置である。
FIG. 5 is a block diagram showing a conventional data transfer control method in the simultaneous monitoring method.
At any given time, one is a transmitting station that transmits digitally encoded data divided into fixed-length data frames in order according to the frame numbers attached to the data frames, and the other is a receiving station that receives the data frames. 2 is a data/evening communication line that connects stations la and lb and transmits the data frame from, for example, station 1a, which acts as a transmitting station, to station 1b, which acts as a receiving station; 3, which also serves as station la; , ib, and serves as a receiving station, for example, station 1b, and for example, station 1, as a transmitting station.
This is a delivery confirmation line that transmits a retransmission request frame requesting retransmission of a data frame. Also, 4a, 4
b is located in the station 1a+1b, and has a transmission function that encodes the data to be transmitted, divides it into fixed-length data frames, and transmits them in the order of frame numbers, and receives data frames from the other station in order. Transceivers 5a and 5b are also stations 1a and ib.
a grossing buffer 5a located within the transmitter/receiver 4a and 4b for storing data frames being transmitted by the transceivers 4a and 4b;
5b is also located within the stations 1a and 1b, and is connected to the transmitter/receiver 4.
ar 4 bs and grossing puffer 5a,
5b, and the transmitter/receiver 4a, 4b.
This is an error detection/control device that detects whether a data frame received by the receiver has been sent, generates a retransmission request frame requesting retransmission of the data frame, and sends the retransmission request frame to the delivery confirmation line 3 from the transceivers 4a and 4b. .

次に動作について説明する。ここで、第4図は前記間l
a、lbの受信局としての動作を示すフローチャート、
第6図は前記間1a、1bの送信局としての動作を示す
フローチャート、第7図は送信側の例えば局1aと受信
側の例えば局1bとの間で行われるフレームの送受信の
状況を示すタイムチャートである。
Next, the operation will be explained. Here, FIG. 4 shows the above-mentioned interval l.
a, a flowchart showing the operation as a receiving station of lb;
FIG. 6 is a flowchart showing the operation of the stations 1a and 1b as transmitting stations, and FIG. 7 is a time chart showing the status of frame transmission and reception between the transmitting side, for example, station 1a, and the receiving side, for example, station 1b. It is a chart.

送信側の局1aの誤り検出・制御装置6aは、讐ず、第
4図のステップST1にて初期設定によってフレーム番
号1をi=1とし、ステップST2にて、第7図に示す
ように当該フレーム番号l=1のデータフレームDlを
時刻Tntに送受18機4aよりデータ通信回線2に送
出する。次に、ステップST3にてフレーム番号にのデ
ータフレームの再送を要求する再送要求フレームREJ
 kが到着しているか否かの判定を行い、到着していな
ければステップST4にでフレーム番号!をインクリメ
ントし、フレーム番号!−2として処理をステップST
2へ戻す。以下同様に、第7図に示すように、フレーム
番号1=2のデータフレームD2が時刻TO2に、フレ
ーム番号i=3のデータフレームD8が時刻Toaに、
・・・と、フレーム番号1の順番にデータフレームが送
受信機4aよシデータ通信回線2へ送出されてゆく。
The error detection/control device 6a of the transmitting station 1a initially sets frame number 1 to i=1 in step ST1 of FIG. A data frame Dl with frame number l=1 is sent to the data communication line 2 from the transmitter/receiver 18 4a at time Tnt. Next, in step ST3, a retransmission request frame REJ requesting retransmission of the data frame at the frame number.
It is determined whether or not k has arrived, and if it has not arrived, the process goes to step ST4 and the frame number! Increment the frame number! -2 and process at step ST
Return to 2. Similarly, as shown in FIG. 7, data frame D2 with frame number 1=2 is at time TO2, data frame D8 with frame number i=3 is at time Toa,
..., data frames are sent from the transceiver 4a to the data communication line 2 in the order of frame number 1.

受信側の局1bの誤り検出・制御装置6bは第6図のス
テップST6にて、第7図のごとく時刻101にてデー
タ通信回線2上を伝送されてくるフレーム番号j=lの
データフレームD1を送受信機4bにて受信し、ステッ
プST7にてその中の送信誤り検出コードを用いて当該
データフレームD1の送信具シの有無を識別する。送信
誤りがなければステップS’lにてフレーム番号Jをイ
ンクリメントして処理をステップST5へ戻す。第7図
に示すように、このステップST5で時刻t02にて受
信したフレーム番号J−2のデータフレームD2に送信
誤υがあると、処理はステップST7よりステップST
9へ移され、この送信誤りのあったフレーム番号J=2
のデータフレームD2の再送を要求する再送要求フレー
ムREJ2が生成されて、時刻t1に送受信機4bより
送達確認用回線3へ送出され、るとともに、ステップ5
T10にて時刻t02で受信したデータフレームD2以
下、時刻t07で受信したデータフレームD7まで再送
要求をした前記データフレームD2が再送されてくる葦
でのフレームデータの全てを棄却する。
In step ST6 of FIG. 6, the error detection/control device 6b of the receiving station 1b detects the data frame D1 with frame number j=l transmitted on the data communication line 2 at time 101 as shown in FIG. is received by the transmitter/receiver 4b, and in step ST7, the presence or absence of a transmitting device for the data frame D1 is identified using the transmission error detection code therein. If there is no transmission error, the frame number J is incremented in step S'l and the process returns to step ST5. As shown in FIG. 7, if there is a transmission error υ in the data frame D2 with frame number J-2 received at time t02 in step ST5, the process proceeds from step ST7 to step ST.
frame number J = 2 where this transmission error occurred.
A retransmission request frame REJ2 requesting retransmission of the data frame D2 is generated and sent from the transceiver 4b to the delivery confirmation line 3 at time t1.
At T10, all of the frame data from the data frame D2 received at time t02 up to the data frame D7 received at time t07, in which the data frame D2 requested for retransmission is retransmitted, is rejected.

第7図のごとく、この再送要求フレームREJ2が時刻
T1にて送受信機4aで受信されると、誤り検出・制御
装置t6aは、第4図のステップST2ニテフレーム番
号1=7のデータフレームI’J7’fz時刻TO7で
送信したすぐ後の、ステップST3による再送要求フレ
ーム几BJkの到着判定で、フレーム番号に=2のデー
タフレームD2の再送全要求する再送要求フレームRE
J2が到着したことを検出する。従って、処理はステッ
プST3よりステップST5へ渡されてフレーム番号l
が1=2となって処理がステップST2へ戻される。そ
のため、ステップST2ではフレーム番号i=2のデー
タフレームD2がグロセッシングバソファ5aよシ読み
出されて、第7図に示すように時刻To8に送受信機4
aよシ送信される。以下前述の場合と同様に第7図のご
とく、データフレームD8が時刻TO9に、データフレ
ームD4が時刻Tinに、・・・と、フレーム番号凰=
3以下のデータ7レームが順番に送受信機4aよシデー
タ通信回線2へ送出される。
As shown in FIG. 7, when this retransmission request frame REJ2 is received by the transceiver 4a at time T1, the error detection/control device t6a starts the data frame I' with frame number 1=7 in step ST2 of FIG. J7'fz Immediately after sending at time TO7, the arrival of the retransmission request frame BJk is determined in step ST3, and the retransmission request frame RE requests all retransmissions of the data frame D2 with frame number =2.
The arrival of J2 is detected. Therefore, the process is passed from step ST3 to step ST5, and the frame number l
becomes 1=2, and the process returns to step ST2. Therefore, in step ST2, the data frame D2 with frame number i=2 is read out by the grossing bath sofa 5a, and as shown in FIG.
It is sent from a side. Thereafter, as in the case described above, as shown in FIG. 7, data frame D8 is placed at time TO9, data frame D4 is placed at time Tin, and so on, frame number 凰=
Seven frames of data of 3 or less are sequentially transmitted from the transceiver 4a to the data communication line 2.

受信側の局1bは第7図のごとくこのデータフレームD
2を時刻jn8で受信すると、以下前述の場合と同様に
、第6図のステップST7にて送信誤りを検出するまで
その受信処理を繰り返す。このステップST7によって
時刻110で受信したデータフレームD4に送信誤りが
あったことが検出されると、第7図に示すようにフレー
ム番号に−4のデータフレームD4の再送を要求する再
送要求フレーム几EJ4を生成して時刻t2に送信側の
局1aへ送出し、時刻110から時刻t15で受信シタ
データフレームD4〜D9をステップ10にて棄却する
。その後、時刻ttS以降にこの再送要求フレーム几E
J4に基づいて送信側の局1aが送信してくるデータフ
レームD4以下を順番に受信する。
The receiving station 1b receives this data frame D as shown in FIG.
2 is received at time jn8, the receiving process is repeated as in the case described above until a transmission error is detected in step ST7 of FIG. When it is detected in step ST7 that there is a transmission error in the data frame D4 received at time 110, a retransmission request frame requesting retransmission of the data frame D4 with frame number -4 is sent as shown in FIG. EJ4 is generated and sent to the transmitting station 1a at time t2, and the received data frames D4 to D9 are discarded at step 10 from time 110 to time t15. After that, after time ttS, this retransmission request frame
Based on J4, the data frame D4 and subsequent data frames transmitted by the transmitting station 1a are received in order.

このような従来の同時監視方式によるデータ転送制御方
式は、例えば1987年1月のグローバルコミュニケー
ション コンファレンス’87(GlobalComm
unication Conference ’87 
)の発表論文−パフォーマンス アナリシス オフ’コ
ーーハツク・NARQ  ウィズ リミテッド レシー
ビングバソファ” (Performance Ana
lysis of Go−Back−NARQwith
 Limted receiving Buffer 
)等に詳しい。
Such a conventional data transfer control method based on the simultaneous monitoring method was introduced, for example, at the Global Communication Conference '87 (GlobalComm) held in January 1987.
conference '87
)'s presentation paper - Performance Analysis Off'Kohatsuku NARQ with Limited Receiving Bassofa'' (Performance Ana
lysis of Go-Back-NARQwith
Limited receiving Buffer
) etc.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のデータ転送制御方式は以上のように構成されてい
るので、あるデータフレームに送信誤りが検出されると
、その送信誤りを検出してから当該データフレームが再
送されてくるまでの1伝播遅延時間の間に受信したデー
タフレームを全て棄却し、再送されたデータフレームか
ら順番に受信してゆくものであり、例えば、第7図のデ
ータフレームD4のごとく、最初は送信誤りがないにも
かかわらず棄却されてしまうため、再送時に送信誤りが
あればそのデータフレームD4の再送を要求する再送要
求フレームR,EJ4を送出する必要が生じ、データの
転送に無駄な時間が費やされてデータ通信回線2の利用
率が低下するという問題点があった。
Conventional data transfer control systems are configured as described above, so when a transmission error is detected in a certain data frame, there is a one-propagation delay from when the transmission error is detected until the data frame is retransmitted. All data frames received during that period are discarded, and retransmitted data frames are received in order. For example, as in data frame D4 in Fig. 7, even though there is no transmission error at first, Therefore, if there is a transmission error during retransmission, it becomes necessary to send retransmission request frames R and EJ4 requesting retransmission of the data frame D4, and time is wasted in data transfer, resulting in poor data communication. There was a problem in that the utilization rate of line 2 decreased.

この発明は上記のような問題点を解消するためになされ
たもので、−度送信誤りなしで受信されたデータフレー
ムに関しては再送時に送信誤りが生じても再送要求フレ
ームの送出全不用として無駄な時間を削減し、データ通
信回線の利用率を高めたデータ転送制御方式を得ること
を目的とする。
This invention was made to solve the above-mentioned problems, and even if a transmission error occurs during retransmission for a data frame that has been received without any transmission error, the transmission of the retransmission request frame is completely unnecessary and is wasted. The purpose is to obtain a data transfer control method that reduces time and increases the utilization rate of data communication lines.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係るデータ転送制御方式は、送信誤υを検出
してから再送紫要求したデータフレームが送られてくる
までのl伝播遅延時間分のデータフレームを蓄積し、送
信誤9のあったデータフレームの再送フレームの受信が
成功した後に再送されてくるl伝播遅延時間内のデータ
フレームに、当該再送による送信誤りが生じた場合、蓄
積してイル対応データフレームがピックアップされるメ
モリバッファを設けたものである。
The data transfer control method according to the present invention accumulates data frames corresponding to l propagation delay time from when a transmission error υ is detected until the data frame requested for retransmission is sent, and Retransmission of Frame If a transmission error occurs due to retransmission of a data frame that is retransmitted within the propagation delay time after the frame has been successfully received, a memory buffer is provided in which the corresponding data frame is accumulated and picked up. It is something.

〔作 用〕[For production]

この発明におけるデータ転送制御方式は、受信したデー
タフレームに送信誤りを検出すると、そのデータフレー
ムの再送を要求するとともに、この送信誤りを検出して
から再送を要求した前記データフレームが再送されてく
るまでのl伝播遅延時間の間のデータフレームをメモリ
バッファに蓄積し、前記再送を要求したデータフレーム
の受信に成功した場合、それ以降に再送されてくる前記
l伝播遅延時間内のデータフレームに、この再送による
送信誤りが検出されても再送の要求全発生させずに、前
記メモリバッファより対応するデータフレームを取り出
すことによシ、無駄なデータの転送を省き、データ通信
回線の利用率の高いデータ転送制御方式を実現する。
In the data transfer control method according to the present invention, when a transmission error is detected in a received data frame, the data frame is requested to be retransmitted, and after this transmission error is detected, the data frame for which retransmission was requested is retransmitted. The data frames within the l propagation delay time up to the l propagation delay time are accumulated in a memory buffer, and if the data frame that requested retransmission is successfully received, the data frames within the l propagation delay time that are retransmitted thereafter are Even if a transmission error due to retransmission is detected, the corresponding data frame is retrieved from the memory buffer without generating a full retransmission request, thereby eliminating unnecessary data transfer and increasing the utilization rate of the data communication line. Realize data transfer control method.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、la、ibは送信局もしくは受信局として
働く局、2はデータ通信回線、3は送達確認用回線、4
a、4bは送信機能及び受信機能を実現する送受信機、
5a、5bはプロセッシングバッファ、5a、5bは誤
り検出・制御装置であり、第5図に同一符号を付した従
来のそれらと同一、あるいは相当部分であるため詳細な
説明は省略する。また、7a、7bは前記間1a。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, la and ib are stations that act as transmitting stations or receiving stations, 2 is a data communication line, 3 is a delivery confirmation line, and 4
a and 4b are transceivers that realize a transmitting function and a receiving function;
5a and 5b are processing buffers, and 5a and 5b are error detection and control devices, which are the same or equivalent parts to those of the conventional device denoted by the same reference numerals in FIG. 5, and detailed explanation thereof will be omitted. Moreover, 7a and 7b are the above-mentioned space 1a.

1b内にあって、受信したデータフレームに送信誤りを
検出してから再送を要求したデータフレームが再送され
てくるまでの、l伝播遅延時間の間のデータフレームを
蓄積するメモリバッファである。
1b is a memory buffer that stores data frames for l propagation delay time from when a transmission error is detected in a received data frame until the data frame for which retransmission is requested is retransmitted.

次に動作について説明する。ここで、第2図囚及び(B
)は前記間ia、ibの送信局としての動作を示すフロ
ーチャート、第3図は送信側の例えば局1aと受信側の
例えば局1bとの間で行われるフレームの送受受信の状
況を示すタイムチャートである。筐た、局ia、1bの
受信局としての動作は従来の場合と同様に第4図のフロ
ーチャートに従って行われる。すなわち、フレーム番号
iをi=lに初期設定しくステップ8T1)、当該フレ
ーム番号i=1のデータフレームD I 全時刻T o
 tにデータ通信回線2に送出しくステップST2 )
、フレーム番号にのデータフレームの再送要求フレーム
R,EJ kが到着しているか否かの判定を行う(ステ
ップ5T3)。到着していなければフレーム番号窓をイ
ンクリメントしくステップ5T4)、フレーム番号l=
2として処理をステップST2へ戻し、以下同様にして
フレーム番号iの、項番にデータフレームをデータ通信
回線2へ送出してゆく。
Next, the operation will be explained. Here, Figure 2 Prisoner and (B
) is a flowchart showing the operation of the transmitting station between ia and ib, and FIG. 3 is a time chart showing the status of frame transmission and reception between the transmitting side, for example, station 1a, and the receiving side, for example, station 1b. It is. The operations of the stations ia and 1b as receiving stations are performed according to the flowchart of FIG. 4, as in the conventional case. That is, the frame number i is initialized to i=l (step 8T1), and the data frame DI of the frame number i=1 is all the times T o
Step ST2)
, it is determined whether the data frame retransmission request frame R, EJ k has arrived at the frame number (step 5T3). If it has not arrived, increment the frame number window in step 5T4), frame number l=
2, the process returns to step ST2, and the data frame with the frame number i is sent to the data communication line 2 in the same manner.

受信側の局1bの誤り検出・制御装置6bは、第2開穴
のステップ5T11にて、第3図に示すように時刻t0
1にデータ通信回線2上を伝送されテくルフレーム番%
jj=1のデータフレームD1を送受信機4bで受信し
、ステップ5T12にてそのデータフレームDlの送信
誤9の有無を識別する。識別の結果、送信誤りがなけれ
ば処理をステップ5T13へ進めて、メモリバッファI
b内にデータフレームDlが存在すればそれを解放し、
更にステップ5T14にてフレーム番号jをインクリメ
ントして処理をステップ5T11へ戻す。
The error detection/control device 6b of the station 1b on the receiving side detects the time t0 at step 5T11 of the second hole opening as shown in FIG.
The number of frames transmitted on data communication line 2 in 1 is %
The data frame D1 with jj=1 is received by the transceiver 4b, and in step 5T12 it is determined whether there is a transmission error 9 in the data frame D1. As a result of the identification, if there is no transmission error, the process proceeds to step 5T13, and the memory buffer I
If data frame Dl exists in b, release it,
Further, in step 5T14, the frame number j is incremented and the process returns to step 5T11.

この場合、メモリバッファ7b内にはなにも蓄積されて
いないので、フレーム番号jのインクリメントのみが実
行される。第3図に示すように、このステップ5Til
で時刻t02にて受信したフレーム番号」=2のデータ
フレームD2に送信誤りがあると、処理はステップ5T
12よりステップ5T15へ移されてこのデータフレー
ムD2がメモリバッファ7bに蓄積されているか否かの
判断が行われる。この場合メモリバッファ7bには何も
蓄積されていないので、ステップ5Ti5にて送信誤り
のあったデータフレームD2の再送を要求する再送要求
フレームRE J 2が生成され、時刻t1に送達確認
用回線3へ送出される。次に処理はデータフレームを蓄
積するルーチンRT1へ移され、それ以降データフレー
ムD2が再送されてくる葦でのデータフレームがメモリ
バッファ7bに蓄積される。
In this case, since nothing is stored in the memory buffer 7b, only the frame number j is incremented. As shown in FIG.
If there is a transmission error in the data frame D2 with frame number "=2" received at time t02, the process proceeds to step 5T.
12, the process moves to step 5T15, where it is determined whether this data frame D2 is stored in the memory buffer 7b. In this case, since nothing is stored in the memory buffer 7b, a retransmission request frame RE J 2 requesting retransmission of the data frame D2 in which the transmission error occurred is generated in step 5Ti5, and at time t1, the retransmission request frame RE J 2 is sent to the delivery confirmation line 3. sent to. Next, the process moves to a routine RT1 for storing data frames, and the data frames from which data frames D2 are retransmitted are stored in the memory buffer 7b.

第2図(B)はこのルーチンRT1の詳細を示すフロー
チャートであり、まず、ステップ5T21にてフレーム
番号mがm=j+1に初期設定される。
FIG. 2(B) is a flowchart showing the details of this routine RT1. First, in step 5T21, the frame number m is initialized to m=j+1.

ここで、jは送信誤りのあったデータフレームのフレー
ム番号であシ、この場合J−2である。次に、ステップ
5T22にてこのフレーム番号m−」+1−3のデータ
フレームD8が受信され、ステップ5T23にて送信誤
りの有無が判定される。
Here, j is the frame number of the data frame in which the transmission error occurred, and in this case is J-2. Next, in step 5T22, the data frame D8 with frame number m-''+1-3 is received, and in step 5T23, it is determined whether there is a transmission error.

送信誤りがなければステップST24にてそのデータフ
レームD8がメモリバッファ7bに既に蓄積されている
か否かの判定が行われ、蓄積されていなければステップ
ST25にてそれをメモリバッファ7bに蓄積し、処理
をステップ5T26へ渡してフレーム番号mをインクリ
メントし、処理をステップ5T22へ戻す。また、デー
タフレームD5のように送信誤りがある場合、もしくは
メモリバッファ7bに既にそのデータフレームが蓄積さ
れている場合には、そのデータフレームをメモリバッフ
ァ7bに蓄積することなくフレーム番号mをインクリメ
ントして処理をステップ5T22へ戻す。
If there is no transmission error, it is determined in step ST24 whether the data frame D8 has already been stored in the memory buffer 7b, and if it has not been stored, it is stored in the memory buffer 7b in step ST25, and processing is performed. is passed to step 5T26, the frame number m is incremented, and the process returns to step 5T22. Also, if there is a transmission error like data frame D5, or if the data frame is already stored in the memory buffer 7b, the frame number m is incremented without storing the data frame in the memory buffer 7b. The process returns to step 5T22.

第3図に示すごとく、時刻t1に送出した再送要求フレ
ームREJ2に応じて再送されたデータフレームD2は
、時刻to8に第2図四のステップ5T11で受信され
、ステップ8T12にて送信誤υの検出が行われる。こ
のデータフレームD2はメモリバッファ7bには蓄積さ
れていないのでフレーム番号jがステップ5T14で直
接インクリメントされて処理はステップ5T11に戻さ
れ、データフレームD8が受信される。このデータフレ
ームD8はメモリバッファTb内に蓄積されているので
、ステップ5T12による送信誤り検出の後、ステップ
5Ti3にてメモリバッファIb内の当該データフレー
ムD8が解放される。また、次にステップs’r11で
受信したデータフレームD4に送信誤りがあったことが
ステップ5T12で検出されると、ステップ5Ti5に
てそのデータフレームD4がメモリバッファ7bに蓄積
されているか否かが判定される。データフレームD4は
前記第2図(B)の処理によってメモリバッファTbに
蓄積されているので、ステップ8Ti7にてメモリバッ
ファ7bより送信誤りのないデータ7レームD4をピッ
クアップすることによって受信成功とみなし、当該デー
タフレームD4の再送要求フレームREJ4は送出しな
い。その後、ステップ5Ti3にてメモリバッファTb
内のそのデータフレームD4の解放を行う。ここで、蓄
積時に送信誤りのためメモリバッファ7bに蓄ff[さ
れなかったデータフレームD5に送信誤りがめった場合
には、その再送を要求する再送要求フレームREJ5が
送出され、以下、前述と同様に処理される。
As shown in FIG. 3, the data frame D2 retransmitted in response to the retransmission request frame REJ2 sent at time t1 is received at time to8 in step 5T11 of FIG. 2, and a transmission error υ is detected in step 8T12. will be held. Since this data frame D2 is not stored in the memory buffer 7b, the frame number j is directly incremented in step 5T14, and the process returns to step 5T11, where data frame D8 is received. Since this data frame D8 is stored in the memory buffer Tb, after the transmission error is detected in step 5T12, the data frame D8 in the memory buffer Ib is released in step 5Ti3. Further, when it is detected in step 5T12 that there is a transmission error in the data frame D4 received in step s'r11, it is determined in step 5Ti5 whether or not the data frame D4 is stored in the memory buffer 7b. It will be judged. Since the data frame D4 has been stored in the memory buffer Tb through the process shown in FIG. The retransmission request frame REJ4 of the data frame D4 is not sent. After that, in step 5Ti3, the memory buffer Tb
The data frame D4 in the data frame D4 is released. Here, if a transmission error occurs in the data frame D5 that was not stored in the memory buffer 7b due to a transmission error during storage, a retransmission request frame REJ5 requesting its retransmission is sent out, and the same process as described above is performed. It is processed.

なお、上記実施例では、再送の要求として送信誤り検出
時に再送要求フレームを送出するものを示したが、逆に
、正しく受信されている場合に送達確認信号を返送し、
送信誤り検出時にこの送達確認信号の送出を停止するこ
とで送信誤りのめったデータフレームの再送を要求する
ようにしてもよい。
In the above embodiment, a retransmission request frame is sent as a retransmission request when a transmission error is detected, but conversely, a delivery confirmation signal is sent back when the frame is correctly received.
It is also possible to request retransmission of a data frame in which a transmission error occurs by stopping the transmission of the delivery confirmation signal when a transmission error is detected.

また、バッファの大きさが小さな場合には、送信側の局
から連続して送信することのできるフレーム数を制限す
れば、安定なシステムを構築することができる。
Furthermore, if the size of the buffer is small, a stable system can be constructed by limiting the number of frames that can be continuously transmitted from the transmitting station.

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

以上のように、この発明によれば、送信誤りを検出して
から再送を要求したデータフレームが送られてくるまで
の1伝播遅延時間分のデータフレームをメモリバッファ
に蓄積し、再送を要求したデータフレームの受信に成功
した後、再送されてぐるl伝播遅延時間内のデータクレ
ームに、当該再送による送信誤りが生じた場合、蓄積し
ている対応データフレームをピックアップするように構
成したので、無駄なデータの転送処理が省け、データ通
信回線の利用率の高いデータ転送制御方式が得られる効
果がある。
As described above, according to the present invention, data frames corresponding to one propagation delay time from when a transmission error is detected until the data frame for which retransmission is requested are sent are stored in the memory buffer, and retransmission is requested. After successfully receiving a data frame, if a transmission error occurs due to the retransmission of a data claim within the propagation delay time, the system is configured to pick up the corresponding accumulated data frame. This has the effect of eliminating the need for data transfer processing and providing a data transfer control method with a high utilization rate of the data communication line.

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

第1図はこの発明の一実施例によるデータ転送制御方式
を示すブロック図、第2図はこの発明の局の受信局とし
ての動作を示すフローチャート、第3図はこの発明の送
受両局間で行われるフレームの送受信の状況を示すタイ
ムチャート、第4図はこの発明及び従来の局の送信局と
しての動作を示すフローチャート、第5図は従来のデー
タ転送制御方式を示すブロック図、第6図は従来の局の
受信局の動作を示すフローチャート、第7図は従来の送
受両局間で行われるフレームの送受信の状況を示すタイ
ムチャートである。 1a、ibは局、2は回線(データ通信回線)、3は回
線(送達確認用回線)、4a 、4bは送信機能及び受
信機能を実現する送受信機、5a、5bI−iグロセツ
シングバツファ、6a、6bUiAり検出・制御装置、
7a 、7bはメモリバッファ。 なお、図中、同一符号は同一、又は相当部分を示す。 特許出願人  三菱電機株式会社 第2図(A) 送信側fl      ad側の ☆L侶イリ・1の       受イa俊1^局 10
       局1b
FIG. 1 is a block diagram showing a data transfer control system according to an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the station of the present invention as a receiving station, and FIG. 3 is a block diagram showing the operation of the station of the present invention as a receiving station. FIG. 4 is a flowchart showing the operation of the present invention and the conventional station as a transmitting station; FIG. 5 is a block diagram showing the conventional data transfer control method; FIG. 6 7 is a flowchart showing the operation of a conventional receiving station, and FIG. 7 is a time chart showing the status of frame transmission and reception performed between the conventional transmitting and receiving stations. 1a and ib are stations, 2 is a line (data communication line), 3 is a line (delivery confirmation line), 4a and 4b are transceivers that realize transmitting and receiving functions, 5a and 5b I-i grossing buffer , 6a, 6b UiA detection/control device,
7a and 7b are memory buffers. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Patent Applicant: Mitsubishi Electric Corporation Figure 2 (A) Transmitter side fl ad side ☆ L partner Iri 1 Receiving a Jun 1^ station 10
station 1b

Claims (1)

【特許請求の範囲】[Claims] 回線で接続された局が、固定長のデータフレームに分割
されたディジタル信号によるデータを順番に送信する送
信機能と、相手局からの前記データフレームを順番に受
信する受信機能と、前記送信機能で送信中の前記データ
フレームを保存するプロセッシングバッファと、前記送
信機能、受信機能及びプロセッシングバッファの制御を
行うとともに、前記受信機能で受信した前記相手局から
のデータフレームの送信誤りを検出する誤り検出制御装
置とを備え、前記データフレームの送信誤りを検出した
相手局から再送の要求があると、前記プロセッシングバ
ッファに保存されている当該送信誤りが検出されたデー
タフレームから順番に再送を行うデータ転送制御方式に
おいて、前記局に、あるデータフレームに送信誤りを検
出してから当該データフレームが再送されてくるまでの
1伝播遅延時間の間に送られてくるデータフレームを蓄
積するメモリバッファを設け、前記送信誤りのあつたデ
ータフレームの再送フレームの受信が成功した後、前記
メモリバッファ内に蓄積されているデータフレームの再
送による送信誤りに対しては、再送の要求を発生させず
に前記メモリバッファ内より対応データフレームを取り
出すことを特徴とするデータ転送制御方式。
A station connected via a line has a transmission function in which it sequentially transmits data in the form of a digital signal divided into fixed-length data frames, a reception function in which it sequentially receives the data frames from the other station, and a transmission function. A processing buffer that stores the data frame being transmitted, and an error detection control that controls the transmission function, reception function, and processing buffer, and detects transmission errors in the data frame received from the partner station by the reception function. and a data transfer control device that, when a request for retransmission is received from a partner station that has detected a transmission error in the data frame, retransmits the data frame in order from the data frame in which the transmission error was detected, which is stored in the processing buffer. In the method, the station is provided with a memory buffer for storing data frames sent during one propagation delay time from when a transmission error is detected in a certain data frame until the data frame is retransmitted; Retransmission of a data frame with a transmission error After successful reception of the frame, if a transmission error due to retransmission of the data frame accumulated in the memory buffer is received, the data frame stored in the memory buffer will be retransmitted without generating a retransmission request. A data transfer control method characterized by extracting a corresponding data frame.
JP63052672A 1988-03-08 1988-03-08 Data transfer control system Pending JPH01228231A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63052672A JPH01228231A (en) 1988-03-08 1988-03-08 Data transfer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63052672A JPH01228231A (en) 1988-03-08 1988-03-08 Data transfer control system

Publications (1)

Publication Number Publication Date
JPH01228231A true JPH01228231A (en) 1989-09-12

Family

ID=12921363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63052672A Pending JPH01228231A (en) 1988-03-08 1988-03-08 Data transfer control system

Country Status (1)

Country Link
JP (1) JPH01228231A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015188215A (en) * 2014-03-26 2015-10-29 キーサイト テクノロジーズ, インク. Retry buffer and method of executing retry operation by using retry buffer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015188215A (en) * 2014-03-26 2015-10-29 キーサイト テクノロジーズ, インク. Retry buffer and method of executing retry operation by using retry buffer

Similar Documents

Publication Publication Date Title
US7991875B2 (en) Link level retry scheme
US7974229B2 (en) Relay for extended range point-to-point wireless packetized data communication system
CN101223759B (en) Transmission device and information communication method
US5315635A (en) Reliable message communication system
RU2001135808A (en) Device and method for transmitting and receiving data in accordance with the protocol of a radio communication line in a communication system with mobile objects
CA2396592A1 (en) Method and apparatus for a selective acknowledgement scheme
TW200402944A (en) System and method for avoiding stall of an H-ARQ reordering buffer in a receiver
CA2387913A1 (en) Transmitting data reliably and efficiently
JP3000911B2 (en) Automatic setting of optimal number of frames waiting for retransmission of automatic retransmission protocol in mobile facsimile communication
CN101162974B (en) Multicast video storing method, system and equipment
JPH01228231A (en) Data transfer control system
JP2778373B2 (en) Buffer device with retransmission function
JP2001069174A (en) Transmission control method
TW200845682A (en) Method and related apparatus for handling packet discard in a wireless communications system
JPH0552106B2 (en)
EP1427127A2 (en) Communication control method, communication system and communication apparatus that can improve throughput
JPH01147926A (en) Multiple address radio communication system
JP3431124B2 (en) Transmission control device
JPH0715485A (en) Method and device for receiving data
KR930004100B1 (en) Method for embodying full duplex communication protocol
JPS63146635A (en) Data link control system
JPH03289834A (en) Error retransmission system
CN116980500A (en) FPGA-based data transmission method and system
CN118233073A (en) Efficient and stable point-to-point full duplex communication protocol
JPS62186636A (en) Error recovery control system for final information frame