JPH01238241A - Control system for retransmitting data - Google Patents

Control system for retransmitting data

Info

Publication number
JPH01238241A
JPH01238241A JP63063562A JP6356288A JPH01238241A JP H01238241 A JPH01238241 A JP H01238241A JP 63063562 A JP63063562 A JP 63063562A JP 6356288 A JP6356288 A JP 6356288A JP H01238241 A JPH01238241 A JP H01238241A
Authority
JP
Japan
Prior art keywords
data
receiving station
station
information
signal
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
JP63063562A
Other languages
Japanese (ja)
Inventor
Katsumi Sakakibara
榊原 勝己
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63063562A priority Critical patent/JPH01238241A/en
Publication of JPH01238241A publication Critical patent/JPH01238241A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To recover error information within a short time while keeping high circuit utilization efficiency by providing a transmission part which transmits an information signal corresponding with an order section shown by a signal which shows two orders transmitted from a reception station to a transmission station. CONSTITUTION:When tenth data I(10) is received by the reception station 2 at (ts) o'clock, for example, a sequence error is detected 22 and the retransmission demand instruction (Prej) (7 and 9) of the data I(7)-I(9) of the transmission order numbers 7-9 are generated by a retransmission demand instruction generation part 24 and transmitted from a transmission part 25 to the transmission station 1. Then, when the instructions (Prej) (7 and 9) are received by the transmission station 1 at (t11) o'clock, the seventh to ninth data I(7)-I(9) is read from a memory 13 by the transmission part 14 and preferentially retransmitted. On the other hand, when the reception station 2 receives the retransmitted data I(7)-I(9) until (t12) o'clock, it substitutes the order of the data I(10) and I(11) and successively outputs the data I(7)-I(11) from the reception station 2.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は、受信局に送信されてきた情報を受信局で情報
毎に連続した誤りを検出すると、誤っていた情報の最初
と最後の順番情報を送信局に送信するだけでこれら情報
の再送を送信局が行なうデータ再送制御方式に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention provides a method for detecting consecutive errors in each piece of information transmitted to a receiving station. The present invention relates to a data retransmission control method in which the transmitting station retransmits this information by simply transmitting first and last order information to the transmitting station.

(従来の技術) 従来のデータ再送制御方式に用いられる再送要求命令は
、5REJ (5elective Reject :
 シー ヶy゛ス誤りを起こしたデータの1個だけの再
送を要求する命令)およびREJ(Rejet : シ
ーケンス誤pを起こしたデータ以降の全てのデータの再
送を要求する命令)が使われていた。これらの再送要求
命令による従来のデータ再送制御方式を、第6図および
第7図を用いて以下に説明する。。
(Prior Art) The retransmission request command used in the conventional data retransmission control method is 5REJ (5elective Reject:
REJ (an instruction that requests the retransmission of only one piece of data that caused a sequence error) and REJ (an instruction that requests retransmission of all data after the data that caused a sequence error) were used. . A conventional data retransmission control method using these retransmission request commands will be explained below with reference to FIGS. 6 and 7. .

第6図および第7図において、’l+b+・・・は時刻
、■は送信局からのデータ、5rejは受信局からの8
RBJ再送要求命令、Rejは受信局からの田再送要求
命令、括弧内の数字はデータIおよび再送要求命令5r
ej 、几ejに付与された送信順序番号を表している
In Figures 6 and 7, 'l+b+... is time, ■ is data from the transmitting station, and 5rej is 8 from the receiving station.
RBJ retransmission request command, Rej is the data retransmission request command from the receiving station, the numbers in parentheses are data I and retransmission request command 5r
ej represents the transmission order number assigned to ej.

第6図は、5REJモード(S几EJ再送要求命令によ
ってのみ再送要求を行うモード)のHDLC(High
−1evel Data Link Control 
)方式によるデータ再送制御方式の一動作例を示してい
る。送信局は時刻t、に1番目のデータIfl+、時刻
t!に2番目のデータI(2+、・・・というようにデ
ータを順次送信し、一方、受信局は時刻t3に1番目の
データI(1)、時刻t4に2番目のデータ■(2)、
・・・というようにデータをJliff次受信する。し
かしながら、3番、目のデータI(3)の受信が確認さ
れていない状態で、受信局が時刻t、に4番目のデータ
■(4)を受信すると、即ち、3番目のデータ■(3)
の欠落によって、受信局がデータのシーケンス誤りを検
出すると、受信局はシーケンス誤りを起こしたデータ■
の送信順序番号3を付与された再送要求命令5rej(
3)を送信する。送信局は時刻t6に再送要求命令5r
ej(a+を受信すると、3番目のデータI(3)を再
送する。
FIG. 6 shows HDLC (High
-1 level Data Link Control
) shows an example of the operation of the data retransmission control method. The transmitting station transmits the first data Ifl+ at time t, time t! The second data I(2+, . . . ) are sequentially transmitted to the receiving station, while the receiving station transmits the first data I(1) at time t3, the second data I(2), and so on at time t4.
. . . The data is received Jliff next time. However, if the receiving station receives the fourth data ■(4) at time t without confirming the reception of the third data I(3), that is, the third data ■(3) )
When the receiving station detects a sequence error in data due to the omission of
The retransmission request command 5rej(
3) Send. The transmitting station issues a retransmission request command 5r at time t6.
Upon receiving ej(a+), the third data I(3) is retransmitted.

即ち、受信局は時刻t7までに5個のデータI(1)〜
I(5)を受信したことになる。更に、7〜9番目のデ
ータエ(7)〜I(9)の受信が確認されていない状態
で、受信局が時刻t、に10番目のデータI(1■を受
信し、シーケンス誤りを検出すると、受信局は筐ず7番
目のデータ■(7)の再送要求命令5rejf71を送
信する。尚、HDLC方式は、ある再送要求命令による
再送データの受信を受信局が確認するまで、別の再送要
求命令を受信局が送信することを禁止しているので、受
信局が時刻t0に7番目のデータ■(7)の受信を確認
した後、受信局は8番目のデータエ(8)の再送要求命
令5rej(a+を送信する。以下同様にして、時刻t
8に検出されたシーケンス誤りは、時刻t10に回復さ
れる。即ち、受信局は時刻t10までに13個のデータ
I fil〜I (13)を受信したことになる。
That is, the receiving station receives five pieces of data I(1) ~ by time t7.
This means that I(5) has been received. Furthermore, if the receiving station receives the 10th data I (1■) at time t and detects a sequence error while the reception of the 7th to 9th data E(7) to I(9) has not been confirmed. , the receiving station transmits a retransmission request command 5rejf71 for the seventh data (7).In addition, in the HDLC method, until the receiving station confirms the reception of the retransmitted data according to a certain retransmission request command, it does not send another retransmission request. Since the receiving station is prohibited from transmitting commands, after the receiving station confirms the reception of the seventh data (7) at time t0, the receiving station sends a retransmission request command for the eighth data (8). 5rej (send a+. Similarly, time t
The sequence error detected at time t10 is recovered at time t10. That is, the receiving station has received 13 pieces of data I fil - I (13) by time t10.

第7図は、8REJ/REJモード(SREJおよびR
EJ再送要求命令の両方によって再送要求を行うモード
)のHDLC方式によるデータ再送制御方式の一動作例
を示している。第4図と同様、3番目のデータエ(3)
の受信が確認されていない状態で、受信局が時刻t5に
シーケンス誤りを検出すると、この場合、1個のデータ
の再送によってシーケンス誤りを回復することができる
ので、受信局は再送要求命令5rej(3)を送信し、
時刻t、にシーケンス誤りは回復される。更に、7〜9
番目のデータI(7)〜工(9)の受信が確認されてい
ない状態で、受信局が時刻t、にシーケンス誤りを検出
すると、この場合、/−ケンス誤りを回復するためには
3間のデータの再送が必要となるため、受信局は、シー
ケンス誤りを起こした最初のデータエの送信順序番号7
を付与された再送要求命令Rej (71を送信する。
Figure 7 shows the 8REJ/REJ mode (SREJ and R
12 shows an example of the operation of the data retransmission control method using the HDLC method (a mode in which a retransmission request is made by both an EJ retransmission request command). Similar to Figure 4, the third data (3)
If the receiving station detects a sequence error at time t5 without confirming the reception of , the receiving station issues a retransmission request command 5rej ( 3) Send
At time t, the sequence error is recovered. Furthermore, 7 to 9
If the receiving station detects a sequence error at time t without confirming the reception of data I(7) to data (9), in this case, it takes 3 hours to recover from the /- sequence error. Since it is necessary to retransmit the data of
A retransmission request command Rej (71) is sent.

送信局は時刻t11に再送要求命令Rej (7)を受
信すると、7番目以降のデータI(71,I[81,・
・・を順次再送し、時刻1.に検出されたシーケンス誤
りは、時刻t12に回復される。従って、受信局は時刻
’10までに11個のデータI fit〜T−(l’!
;Ik受信したことになる。
When the transmitting station receives the retransmission request command Rej (7) at time t11, it transmits the seventh and subsequent data I(71, I[81, .
. . are retransmitted sequentially, and at time 1. The sequence error detected at t12 is recovered at time t12. Therefore, the receiving station receives 11 pieces of data I fit~T-(l'! by time '10).
;This means that Ik has been received.

以上説明してきたHDLCに用いられる情報信号として
のパケットは、第8図に示されている。同図(a)には
、■フレームが、同図(b)にはSフレームが、同図(
C)にはUフレームが表わされている。同図には、情報
信号であるデータに付加するための順番を示す信号部の
パケット構成部分のみを図示している。即ち同図(a)
の■フレームは先頭ビットに0を付加させ、N(S)領
域に順番を示す番号が入力されている。その次の領域P
/Fとは、受信側が確かに信号を受信した確認のために
用いるものである。同図(bl Sフレームは、先頭ビ
ットに10を付加させ、次に8rejとRrejを区切
させる命令信号領域としてのS領域、■フレームの説明
で述べたP/F領域、その後に、順番を示す番号を入力
する領域がある。第8図(C)に示されたUフレームは
、先頭ビットとして11を付加させてモディファイアビ
ットMをつけてP/F信号を付加させたパケットを用い
るものである。
A packet as an information signal used in the HDLC described above is shown in FIG. In the same figure (a), the ■ frame is shown, in the same figure (b) the S frame is shown, and in the same figure (
C) shows a U frame. In the figure, only the packet constituent portion of the signal section indicating the order of addition to data, which is an information signal, is illustrated. That is, the same figure (a)
In the (2) frame, 0 is added to the first bit, and a number indicating the order is input into the N(S) area. The next area P
/F is used by the receiving side to confirm that it has indeed received the signal. The same figure (bl) The S frame adds 10 to the first bit, then the S area as a command signal area that separates 8rej and Rrej, the P/F area mentioned in the explanation of the frame, and then the order. There is an area for entering a number.The U frame shown in Figure 8(C) uses a packet with 11 added as the first bit, a modifier bit M, and a P/F signal added. .

(発明が解決しようとする課0題) しかしながら、従来の上記データ再送制御方式では、以
下の問題点がある。
(Problem to be Solved by the Invention) However, the above conventional data retransmission control method has the following problems.

5REJモードによるデータ再送制御方式においては、
N個のデータ(Nは1以上の整数)の受信が確認されて
いない状態で、受信局がシーケンス誤りを検出すると、
これを回復するまでに、受信局はN個のS几EJ再送要
求命令を送信しなければならず、更に、HDLC方式で
は、送信局と受信局の間を少なくともN往復するだけの
時間が必要となる。このため、Nが大きな場合や、送信
局と受信局の間の伝搬遅延が大きな場合、シーケンス誤
りを回復するまでに要する時間が大きくなってしまうの
で、これに起因するタイムアウトの確率が大きくなり、
全体として回線の平均利用効率の低下を招く。例えば、
第5図では、7〜9番目のデータI(7)〜工(9)に
よるシーケンス誤りを回復するために、時刻t、から時
刻t1゜までの時間を要している。
In the data retransmission control method using 5REJ mode,
If the receiving station detects a sequence error while the reception of N pieces of data (N is an integer greater than or equal to 1) has not been confirmed,
To recover, the receiving station must send N S-EJ retransmission request commands, and in the HDLC system, it requires at least N round trips between the transmitting station and the receiving station. becomes. For this reason, when N is large or when the propagation delay between the transmitting station and the receiving station is large, the time required to recover from the sequence error increases, and the probability of timeout due to this increases.
Overall, this results in a decrease in the average usage efficiency of the line. for example,
In FIG. 5, it takes time from time t to time t1° to recover from the sequence error caused by the seventh to ninth data I(7) to data I(9).

一方、5REJ/REJモードによるデータ再送制御方
式においては、回復するために複数個のデータの再送が
必要であるシーケンス誤りが検出された場合、REJ再
送要求命令によって受信局は再送を要求するため、受信
局がシーケンス誤りを検出した時刻から最初の再送デー
タを受信する時刻までの間に、受信局が受信したデータ
は、たとえそれらが正しく受信されていたとしても、無
視されてしまう。このため、受信局は同じデータを複数
回受信するととKな)、回線の利用効率が低下してしま
う。
On the other hand, in the data retransmission control method using 5REJ/REJ mode, if a sequence error that requires retransmission of multiple pieces of data is detected in order to recover, the receiving station requests retransmission by an REJ retransmission request command. Data received by the receiving station between the time when the receiving station detects a sequence error and the time when it receives the first retransmitted data are ignored, even if they are received correctly. For this reason, if the receiving station receives the same data multiple times, the efficiency of line utilization will decrease.

本発明は、5REJ/REJモードによるデータ再送制
御方式と同等の短い時間内にシーケンス誤りを回復する
ことができ、かつ、5REJモードによるデータ再送制
御方式と同等の高い回線利用効率を保つことができるデ
ータ再送制御方式を提供するものである。
The present invention can recover sequence errors within a short time equivalent to the data retransmission control method using the 5REJ/REJ mode, and can maintain high line utilization efficiency equivalent to the data retransmission control method using the 5REJ mode. This provides a data retransmission control method.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 上記の目的を達成するために、本発明においては、送信
局から送信される送信情報毎に順番を示す信号を付加さ
せた情報信号を受信局に送信し、前記受信局は、前記情
報信号を受信した時に誤っている情報を検出して、この
誤っている情報を前記送信局から再送させるデータ再送
方式において、前記受信局は、前記受信局に送信されて
きた前記情報信号それぞれが連続して誤っているか検出
する誤り検出部と、この誤り検出部により連続して誤り
が検出された前記情報信号それぞれのうち最初に誤りが
検出された前記情報信号に付加されている前記順番を示
す信号と最後に誤りが検出された前記情報信号に付加さ
れている前記順番を示す信号を検出する信号検出部と、
この信号検出部により検出された前記2つの順番を示す
信号を前記送信局に送信する再送信号送信部とを具備し
、前記送信局は、前記受信局から送信されてきた前記2
つの順番を示す信号で示された順番区間に対応した前記
情報信号を前記受信局に送信する送信部を備えたことを
特徴とする。
(Means for Solving the Problem) In order to achieve the above object, in the present invention, an information signal to which a signal indicating the order is added to each transmission information transmitted from the transmitting station is transmitted to the receiving station, In the data retransmission method, the receiving station detects erroneous information when receiving the information signal and retransmits the erroneous information from the transmitting station. an error detection unit that detects whether each of the information signals that have been detected are consecutively erroneous; a signal detection unit that detects a signal indicating the order in which the error has been detected and a signal indicating the order added to the information signal in which an error was detected last;
a retransmission signal transmitting section that transmits a signal indicating the order of the two detected by the signal detecting section to the transmitting station, and the transmitting station receives the two orders transmitted from the receiving station.
The present invention is characterized in that it includes a transmitter that transmits the information signal corresponding to the order section indicated by the signal indicating the order to the receiving station.

(作用) このように構成されたデータ再送制御方式では、受信局
が情報信号夫々が連続して誤っていた場合、誤りの最初
と最後の情報に付与された順番を示す信号を再送信号送
信部から送信しているので、−般的にN個の情報の受信
が確認されていない状態で、受信局が誤りを検出しても
、受信局は1個の再送要求命令でN個のデータの再送を
送信局に要求することができ、且つ、受信局が誤りを検
出した時刻から最初の再送データを受信した時刻の間に
、受信局が受信を確認したデータの再送を抑止するよう
に送信局に要求することが可能となる。
(Function) In the data retransmission control system configured as described above, when the receiving station receives consecutive errors in the information signals, the retransmission signal transmitter sends a signal indicating the order in which the first and last pieces of error information are given. Generally, even if the receiving station detects an error in a state where the reception of N pieces of information has not been confirmed, the receiving station will not be able to send N pieces of data with a single retransmission request command. It is possible to request the transmitting station to retransmit the data, and to suppress the retransmission of data that the receiving station has confirmed has been received between the time when the receiving station detects an error and the time when the first retransmitted data is received. It becomes possible to make a request to the station.

(実施例) 以下、図面を参照して、本発明の一実施例を説明する。(Example) Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は、本発明を実施する一対の送信局1と受信局2
により構成される通信システムの全体金示しており、第
2図は第1図に示されている送信局1の構成を第3図は
第1図に示されている受信局2の構成を示されている。
FIG. 1 shows a pair of transmitting stations 1 and receiving stations 2 implementing the present invention.
Figure 2 shows the configuration of the transmitting station 1 shown in Figure 1, and Figure 3 shows the configuration of the receiving station 2 shown in Figure 1. has been done.

第1図に示した様に、送信局1に入力されたデータを送
信局1が受信局2に送信する。受信局2で、誤って受信
された情報は、再送要求命令にょシ送信局から送信させ
る。そして、正しく受信されたデータは、受信局2から
データとして出力される。
As shown in FIG. 1, the transmitting station 1 transmits data input to the transmitting station 1 to the receiving station 2. Information received erroneously at the receiving station 2 is sent by a retransmission request command from the transmitting station. The correctly received data is output from the receiving station 2 as data.

第2図において、送信局1の一構成は、データの入力順
に付与する送信順序番号を生成する送信順序番号生成部
11と、送信順序番号生成部11において生成された送
信順序番号をデータに付加する送信順序番号付加部12
と、送信順序番号を付加されたデータ(以下では指定し
ない限シ、これを単に「データ」と呼ぶ)を記憶してお
くメモリ13と、再送すべきデータがない時は、送信順
序番号付加部12より入力するデータを受信局2へ向け
て送信し、再送すべきデータがある時は、これをメモリ
13より読み出して送信する送信部14と、受信局2か
らの再送要求命令を受信する受信部15と、受信した再
送要求命令よシ再送すべきデータの送信順序番号を認識
し、これを送信部14へ知らせる再送制御部16とを備
えている。
In FIG. 2, one configuration of the transmitting station 1 includes a transmission sequence number generation unit 11 that generates transmission sequence numbers to be assigned in the order in which data is input, and a transmission sequence number generation unit 11 that adds the transmission sequence number generated in the transmission sequence number generation unit 11 to the data. Transmission sequence number addition unit 12
, a memory 13 for storing data to which a transmission sequence number has been added (hereinafter referred to simply as "data" unless otherwise specified), and a transmission sequence number addition section when there is no data to be retransmitted. A transmitting unit 14 transmits input data from the receiving station 2 to the receiving station 2, and when there is data to be retransmitted, reads it from the memory 13 and transmits it, and a receiving unit receives a retransmission request command from the receiving station 2. 15, and a retransmission control section 16 that recognizes the transmission order number of data to be retransmitted based on the received retransmission request command and notifies the transmission section 14 of this.

一方、第3図において、受信局2の一構成としては、送
信局1からのデータを受信する受信部21と、受信した
データに付与されている送信順序番号を抽出し、シーケ
ンス誤りが検出されなければ、データを受信局2から出
力し、シーケンス誤りが検出されれば、再送を必要とす
るデータの送信順序番号を決定するシーケンス誤り検出
部22と、シーケンス誤り検出部22によってシーケン
ス誤りが検出されず、受信が確認されたデータを、送信
順序番号の順に並べ換えた後にデータを受信局2から出
力するデータ順序置換部23と、シーケンス誤り検出部
22によってシーケンス誤りが検出されると、シーケン
ス誤りの原因となった最初と最後のデータの送信順序番
号を表す情報を含む再送要求命令を生成する再送要求命
令生成部24と、再送要求命令を送信局1へ向けて送信
する送信部25とを備えておシ特に、シーケンス誤り検
出部22は、例えば受信したデータから送信順序番号を
抽出する送信順序番号抽出部26と、それ以前に正しい
受信をしたデータの送信順序番号を記憶しておくメモリ
27と、送信順序番号抽出部26において抽出された送
信順序番号とメモリ27に記憶されている送信順序番号
の最大値とを比較してジ−タンス誤りが発生しているか
否かを検出し、シーケンス誤りが発生していなければ、
データをデータ順序置換部23へ出力すると同時に係る
データに付与された送信順序番号をメモリ27に記憶さ
せる一方、シーケンス誤りを検出すれば、係る情報を再
送要求命令生成部24に伝達する送信順序番号比較部2
8とから構成されている。また、再送要求命令生成部2
4は、例えば送信順序番号比較部28からシーケンス誤
り検出の情報を受は取ると、送信j11番号抽出部26
およびメモリ27からの情報をもとにして再送要求命令
を生成する。
On the other hand, in FIG. 3, one configuration of the receiving station 2 includes a receiving section 21 that receives data from the transmitting station 1, and a receiving section 21 that extracts the transmission sequence number given to the received data and detects a sequence error. If not, the data is output from the receiving station 2, and if a sequence error is detected, the sequence error detection unit 22 determines the transmission order number of the data that requires retransmission, and the sequence error detection unit 22 detects the sequence error. If a sequence error is detected by the data order replacement unit 23, which outputs the data from the receiving station 2 after rearranging the data whose reception has been confirmed in the order of the transmission sequence number, and the sequence error detection unit 22, a sequence error is detected. A retransmission request command generation unit 24 that generates a retransmission request command including information representing the transmission order number of the first and last data that caused In particular, the sequence error detection unit 22 includes, for example, a transmission sequence number extraction unit 26 that extracts a transmission sequence number from received data, and a memory that stores transmission sequence numbers of data that have been correctly received before. 27, the transmission sequence number extracted by the transmission sequence number extraction unit 26 and the maximum value of the transmission sequence numbers stored in the memory 27 are compared to detect whether or not a jitance error has occurred; If no sequence error occurs,
At the same time as the data is output to the data order replacement section 23, the transmission order number assigned to the data is stored in the memory 27, and if a sequence error is detected, the transmission order number is transmitted to the retransmission request command generation section 24. Comparison part 2
It consists of 8. In addition, the retransmission request command generation unit 2
4 receives, for example, sequence error detection information from the transmission sequence number comparison section 28, and then extracts the transmission j11 number extraction section 26.
and generates a retransmission request command based on the information from the memory 27.

次に、第4図、第5図を参照して、本発明の一動作例を
説明する。第5図には、Prejの一構成例が示されて
いる。先頭ビットに0が付加され、誤りを起こした最初
のパケット番号を付加させるE(S)領域と、受信確認
のためのP/F領域、誤りを起こした最後のパケット番
号を付加させるためのE山領域で成シたっている。
Next, an example of the operation of the present invention will be described with reference to FIGS. 4 and 5. FIG. 5 shows an example of the configuration of Prej. 0 is added to the leading bit, an E(S) area is used to add the first packet number that caused an error, a P/F area is used to confirm reception, and an E is used to add the last packet number that causes an error. It has flourished in the mountain area.

第4図において、Prej(a 、 b ) (a 、
 b ハ整fi)は、送信順序番号がaからb−1での
データを再送するように送信局IK要求する再送要求命
令を表しておシ、第6図および第7図と比較するために
、送信局1から送信されたデータエのうち、3番目のデ
ータエ(3)および7〜9番目のデータI(7)〜I(
9)の再送が必要なシーケンス誤りが発生したと仮定し
ている。
In Figure 4, Prej (a, b) (a,
b) represents a retransmission request command that requests the transmitting station IK to retransmit data with transmission order numbers a to b-1; , among the data transmitted from transmitting station 1, the third data (3) and the seventh to ninth data I (7) to I(
It is assumed that a sequence error requiring retransmission (9) has occurred.

送信局1は、データI(11、I+21 、・・・を順
次送信するとともに、これらのデータをメモリ13に記
憶させる。受信局2は、時刻t3に1番目のデータI(
1)、時刻1.に2番目のデータエ(2)を、それぞれ
受信する。このとき、受信局2のシーケンス誤り検出部
22においてシーケンス誤りは検出されないので、2個
のデータI (1) 、 I C2+は、順序を置換さ
れることなく、データ順序置換部23を通って受信局2
から出力される。しかしながら、3番目のデータエ(3
)の受信が確認されない状態で、受信局2が時刻t、に
4番のデータI(4)の受信を確認すると、即ち、3番
目のデータエ(3)の欠落によって、受信局2のシーケ
ンス誤り検出部22がシーケンス誤りを検出すると、再
送要求命令生成部24は、送信順序番号が3から3まで
の1個のデータエ(3)の再送を要求する再送要求命令
Prej (3、3)を生成し、送信部25を通してこ
れを送信局1へ送信する。送信局1は時刻t、に再送要
求命令Prej(3゜3)を受信すると、再送制御部1
6は、再送すべきデータが3番目のデータI (3) 
1個であることを判断し、送信部14は、この情報を再
送制御部16から受は取ると、メモリ13から3番目の
デークエ(3)を読み出し、送信順序番号付加部12か
ら与えられる新規データより優先的に再送データエ(3
)を送信する。一方、受信局2は時刻t、に再送データ
I(3)の受信を確認すると、データ順序置換部23に
おいて、時刻t、より前に受信を確認されているが、ま
だ受信局2から出力されていないデータI (41、I
 (51と順序の置換を施した後に3個のデータ■(3
)〜I(5)を受信局2から順次出力する。
The transmitting station 1 sequentially transmits data I(11, I+21, . . . ) and stores these data in the memory 13. The receiving station 2 transmits the first data I(11, I+21, ...) at time t3.
1), time 1. 2nd data (2) is received respectively. At this time, since no sequence error is detected in the sequence error detection unit 22 of the receiving station 2, the two data I (1) and I C2+ are received through the data order replacement unit 23 without having their order replaced. station 2
is output from. However, the third data
), and the receiving station 2 confirms the reception of the fourth data I(4) at time t, that is, the sequence error of the receiving station 2 is caused by the omission of the third data I(3). When the detection unit 22 detects a sequence error, the retransmission request command generation unit 24 generates a retransmission request command Prej (3, 3) requesting the retransmission of one data item (3) whose transmission order number is 3 to 3. and transmits it to the transmitting station 1 through the transmitter 25. When the transmitting station 1 receives the retransmission request command Prej (3°3) at time t, the retransmission control unit 1
6, the data to be retransmitted is the third data I (3)
After determining that there is one, the transmitting unit 14 receives this information from the retransmission control unit 16, reads the third deque (3) from the memory 13, and adds the new data given from the transmission order number adding unit 12. Retransmission data with priority over data (3
) to send. On the other hand, when the receiving station 2 confirms the reception of the retransmitted data I(3) at time t, the data order replacement unit 23 confirms that the retransmission data I(3) has been received before time t, but the data has not yet been output from the receiving station 2. Data I (41, I
(After performing order permutation with (51), 3 data ■ (3
) to I(5) are sequentially output from the receiving station 2.

更に、7〜9番目のデータエ(7)〜I(9)の受信が
確認されていない状態で、受信局2が時刻t・に10番
目のデータIQ■を受信すると、シーケンス誤り検出部
22はシーケンス誤りを検出し、再送要求命令生成部2
4は、送信順序番号が7から9までの3個のデータエ(
7)〜工(9)の再送を要求する再送安来命令Prej
 (7、9)を生成し、送信部25を通してこれを送信
局1へ送信する。送信局1は時刻t、1KM送要求命令
’11に再送要求命令Prej(7,9)を受信すると
、再送制御部16は、再送すべきデータが7〜9番目の
データエ(7)〜I (9) 3個であることを判断し
、送信部14は、メモリ13から7〜9番目のデータエ
(7)〜工(9)を読み出し、優先的にこれらを再送す
る。一方、受信局2は時刻t1□までに再送データエ(
7)〜I(9)を受信すると、データ順序置換部23に
おいて、データI(II、Iαυとの順序の置換を施し
た後に、5個のデータ■(7)〜工αυを受信局2から
順次出力する。従って、時刻1aに検出されたシーケン
ス誤9は、第7図に示したS几EJ/REJモードによ
るデータ再送制御方式と同様に、第6図に示した8RE
Jモードによるデータ再送制御方式によるシーケンス誤
りの回復よりも早い時刻tX□に、1個の再送要求命令
によって回復され、且つ、第6図に示した5RBJモー
ドによるデータ再送制御方式と同様に、受信局2は時刻
t1oまでに13個のデータI (11〜I(13を受
信する仁とができる。
Furthermore, when the receiving station 2 receives the 10th data IQ■ at time t, while the reception of the 7th to 9th data E(7) to I(9) has not been confirmed, the sequence error detection unit 22 Detects a sequence error and generates a retransmission request command 2
4 is three data elements with transmission order numbers 7 to 9 (
7) - Retransmission Yasugi command Prej requesting retransmission of (9)
(7, 9) and transmits it to the transmitting station 1 through the transmitter 25. When the transmitting station 1 receives the retransmission request command Prej (7, 9) at time t and the 1KM transmission request command '11, the retransmission control unit 16 determines that the data to be retransmitted are the 7th to 9th data e(7) to I ( 9) Determining that there are three, the transmitter 14 reads the seventh to ninth data (7) to (9) from the memory 13 and retransmits them preferentially. On the other hand, the receiving station 2 receives the retransmitted data by time t1□.
Upon receiving 7) to I(9), the data order replacement unit 23 performs order replacement with data I(II, Iαυ), and then transfers the five data ■(7) to αυ from the receiving station 2. Therefore, the sequence error 9 detected at time 1a is outputted sequentially by the 8RE shown in FIG.
The sequence error is recovered by one retransmission request command at time tX□, which is earlier than the sequence error recovery by the J mode data retransmission control method, and the reception Station 2 is able to receive 13 pieces of data I (11 to I (13) by time t1o.

ところで、第4図に示した本発明に係る再送要求命令P
rej(a、b)は、aとbを等しく設定することによ
り、86図および第7図に示した8R,EJ再送要求命
令8rej(a)と等価な働きをするばかりでなく、無
限大を表す情報をbに設定することにより、第7図に示
したREJ再送要求命令Rej (a)と等価な働きを
することもできる。
By the way, the retransmission request command P according to the present invention shown in FIG.
By setting a and b equal, rej (a, b) not only works equivalent to the 8R, EJ retransmission request command 8rej (a) shown in FIG. 86 and FIG. By setting the represented information to b, it is possible to perform an equivalent function to the REJ retransmission request command Rej (a) shown in FIG. 7.

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

以上、詳述してきたように、本発明によれば、1個の再
送要求命令により複数個のデータの再送を送信局に要求
することができ、且つ、受信局が誤りを検出した時刻か
ら最初の再送データを受信した時刻までの間に、受信局
が受信を確認したデータの再送を抑止するよう送信局に
要求することが可能となるため、タイムアウトの発生確
率も小さくなシ高い回線利用効率を保ったままで、短い
時間内に誤り情報を回復することができる。
As described in detail above, according to the present invention, it is possible to request the transmitting station to retransmit multiple pieces of data by one retransmission request command, and the first retransmission from the time when the receiving station detects an error is possible. Since it is possible for the receiving station to request the transmitting station to suppress retransmission of the data that the receiving station has confirmed reception of until the time when the retransmitted data is received, the probability of timeout occurrence is small and the line utilization efficiency is high. Error information can be recovered within a short period of time while maintaining the error information.

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

第1図は本発明の一実施例を示し九構成図、第2図は本
発明の一実施例に係る送信局の構成図、第3因は本発明
の一実施例に係る受信局の構成図、第4図は本発明の一
動作例を示すタイムチャート、第5図は本発明のパケッ
トの構成を示した図、第6図は従来の8REJモードの
データ再送制御方式の一動作例を示すタイムチャート、
第7図は従来の8RHJ/RE、Tモードのデータ再送
制御方式の一動作例を示すタイムチャート、第8図は従
来のパケット構成を示した図である。 l・・・送信局、2・・・受信局、11・・・送信順序
番号生成部、12・・・送信順序番号付加部、13・・
・メモリ、14・・・送信部、15・・・受信部、16
・・・再送制御部、21・・・受信部、22・・・シー
ケンス誤り検出部、23・・・データ順序置換部、24
・・・再送要求命令生成部、25・・・送信部。 第2図 第3図 第4図 第5図 第6図 第7図 第8図
FIG. 1 is a configuration diagram showing an embodiment of the present invention, FIG. 2 is a configuration diagram of a transmitting station according to an embodiment of the present invention, and the third factor is a configuration diagram of a receiving station according to an embodiment of the present invention. 4 is a time chart showing an example of the operation of the present invention, FIG. 5 is a diagram showing the structure of the packet of the present invention, and FIG. 6 is an example of the operation of the conventional 8REJ mode data retransmission control method. Time chart showing,
FIG. 7 is a time chart showing an operation example of the conventional 8RHJ/RE, T mode data retransmission control method, and FIG. 8 is a diagram showing the conventional packet configuration. 1... Transmission station, 2... Receiving station, 11... Transmission sequence number generation section, 12... Transmission sequence number addition section, 13...
・Memory, 14... Transmitting section, 15... Receiving section, 16
... Retransmission control unit, 21... Receiving unit, 22... Sequence error detection unit, 23... Data order replacement unit, 24
. . . retransmission request command generation unit, 25 . . . transmission unit. Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8

Claims (1)

【特許請求の範囲】[Claims] 送信局から送信される送信情報毎に順番を示す信号を付
加させた情報信号を受信局に送信し、前記受信局は、前
記情報信号を受信した時に誤っている情報を検出して、
この誤っている情報を前記送信局から再送させるデータ
再送方式において、前記受信局は、前記受信局に送信さ
れてきた前記情報信号それぞれが連続して誤っているか
検出する誤り検出部と、この誤り検出部により連続して
誤りが検出された前記情報信号それぞれのうち最初に誤
りが検出された前記情報信号に付加されている前記順番
を示す信号と最後に誤りが検出された前記情報信号に付
加されている前記順番を示す信号を検出する信号検出部
と、この信号検出部により検出された前記2つの順番を
示す信号を前記送信局に送信する再送信号送信部とを具
備し、前記送信局は、前記受信局から送信されてきた前
記2つの順番を示す信号で示された順番区間に対応した
前記情報信号を前記受信局に送信する送信部を備えたこ
とを特徴とするデータ再送制御方式。
An information signal in which a signal indicating the order is added to each transmission information transmitted from a transmitting station is transmitted to a receiving station, and the receiving station detects erroneous information when receiving the information signal,
In this data retransmission method in which erroneous information is retransmitted from the transmitting station, the receiving station includes an error detection unit that detects whether each of the information signals transmitted to the receiving station is consecutively erroneous; A signal indicating the order is added to the information signal in which an error is detected first among the information signals in which an error is successively detected by the detection unit, and a signal is added to the information signal in which an error is detected last. a signal detecting section that detects a signal indicating the two orders detected by the signal detecting section; and a retransmission signal transmitting section that transmits a signal indicating the two orders detected by the signal detecting section to the transmitting station, The data retransmission control system is characterized in that the data retransmission control system is characterized by comprising a transmitter that transmits the information signal corresponding to the order section indicated by the two order signals transmitted from the receiving station to the receiving station. .
JP63063562A 1988-03-18 1988-03-18 Control system for retransmitting data Pending JPH01238241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63063562A JPH01238241A (en) 1988-03-18 1988-03-18 Control system for retransmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63063562A JPH01238241A (en) 1988-03-18 1988-03-18 Control system for retransmitting data

Publications (1)

Publication Number Publication Date
JPH01238241A true JPH01238241A (en) 1989-09-22

Family

ID=13232791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63063562A Pending JPH01238241A (en) 1988-03-18 1988-03-18 Control system for retransmitting data

Country Status (1)

Country Link
JP (1) JPH01238241A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001333066A (en) * 2000-05-24 2001-11-30 Sony Corp Wireless transmission method and wireless transmission system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001333066A (en) * 2000-05-24 2001-11-30 Sony Corp Wireless transmission method and wireless transmission system

Similar Documents

Publication Publication Date Title
US4070648A (en) Computer to computer communication system
JPS5866448A (en) Error detecting system for exchange of packet
JPH0419731B2 (en)
JPH02199938A (en) Data transmission error detection system
JP4271787B2 (en) Communications system
EP0093004B1 (en) Data communication system
JPH01238241A (en) Control system for retransmitting data
GB2120055A (en) Data communication system
JPS61100043A (en) Transmitter for multiple address communication
JPH06252895A (en) Data transmission system
JPS6362427A (en) Detection system for error of data communication
JP3160831B2 (en) Wireless communication method
JPS61194934A (en) Data communication repeater
JP3250756B2 (en) Automatic retransmission request data transmission method
JPS60244131A (en) Frame retransmission system for transmission system of frame synchronizing data
JPH0837541A (en) Data transmission system
JPH0553333B2 (en)
JP2874983B2 (en) Communication device
JPH09326782A (en) Serial communication method
JPS61194937A (en) Data communication receiver
JPS61208939A (en) Data communication repeater
JPH01204542A (en) Data transmission system
JPH04274631A (en) Data re-transmission system
JPS6233784B2 (en)
JPH05327746A (en) Local area network