JP2003224548A - System and method for automatically setting number of waiting frames in automatic retransmission control protocol - Google Patents

System and method for automatically setting number of waiting frames in automatic retransmission control protocol

Info

Publication number
JP2003224548A
JP2003224548A JP2002020316A JP2002020316A JP2003224548A JP 2003224548 A JP2003224548 A JP 2003224548A JP 2002020316 A JP2002020316 A JP 2002020316A JP 2002020316 A JP2002020316 A JP 2002020316A JP 2003224548 A JP2003224548 A JP 2003224548A
Authority
JP
Japan
Prior art keywords
frame
frames
control protocol
retransmission control
waiting
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.)
Withdrawn
Application number
JP2002020316A
Other languages
Japanese (ja)
Inventor
Osamu Miyamoto
理 宮本
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.)
NEC Communication Systems Ltd
Original Assignee
NEC Communication Systems Ltd
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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP2002020316A priority Critical patent/JP2003224548A/en
Publication of JP2003224548A publication Critical patent/JP2003224548A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically set the optimum number (RTF value) of waiting frames without changing the format of an ARQ frame of an ARQ protocol. <P>SOLUTION: A control part has an ARQ protocol control part 111 for urging delay measurement when a call connection is made to the opposite party to start frame transmission and reception, a retransmission counter part 114 for counting the number of retransmitting times of a frame within a fixed time during transferring data of each call and urging delay measurement through the ARQ protocol control part 111 when the number of retransmitting times reaches a threshold, and a delay measuring part 115 for calculating an integer of an average value of the number of receiving times of a received ACK until receiving the same frame number as the frame number of a transmission frame of each call when the ARQ protocol control part 111 urges delay measurement, measures a value obtained by adding a predetermined adjustment value to the calculated average value and setting the measured value as the number of waiting frames. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、自動再送制御(A
RQ)プロトコルによって、送受信を行う通信システム
での自動再送制御プロトコルにおける待ちフレーム数
(RTF)の自動設定方式および方法に関する。
TECHNICAL FIELD The present invention relates to automatic retransmission control (A
The present invention relates to a method and a method for automatically setting the number of waiting frames (RTF) in an automatic retransmission control protocol in a communication system for transmitting and receiving by the RQ protocol.

【0002】[0002]

【従来の技術】従来、自動再送制御プロトコル(以降、
ARQプロトコルと呼ぶ)によって、データの送受信を
行う場合に、フレームを送信してから再送するまでの待
ちフレーム数(RTF)には、ARQプロトコルを終端
とする任意の装置間で発生する最大の遅延時間を考慮し
た最大の値が固定的に設定されている。そのため、これ
を解決するために自動的に待ちフレームを設定する方式
として、例えば、特開平9−191384号公報に開示
されている。この特開平9−191384には、ARQ
フレーム内に送信側および受信側のフレームの順序を管
理するためにそれぞれにカウント制御情報をフィールド
に設けて、そのカウント制御情報を基に待ちフレーム数
を設定している。
2. Description of the Related Art Conventionally, an automatic retransmission control protocol (hereinafter,
When transmitting and receiving data according to the ARQ protocol), the number of waiting frames (RTF) from the transmission of the frame to the retransmission is the maximum delay that occurs between arbitrary devices terminated by the ARQ protocol. The maximum value considering the time is fixedly set. Therefore, as a method for automatically setting a waiting frame in order to solve this, for example, it is disclosed in JP-A-9-191384. This Japanese Patent Laid-Open No. 9-191384 discloses ARQ.
In order to manage the order of frames on the transmitting side and the receiving side within a frame, count control information is provided in each field, and the number of waiting frames is set based on the count control information.

【0003】本発明の目的は、上記問題点を鑑み、AR
Qフレームのフォーマットを変えることなく、最適な待
ちフレーム数(RTF値)を自動的に設定することにあ
る。
In view of the above problems, an object of the present invention is to make AR
It is to automatically set the optimum number of waiting frames (RTF value) without changing the format of the Q frame.

【0004】また、本発明の別の目的は、相手先の違う
装置間でも各装置との接続に対応した環境の基で最適な
待ちフレーム数を自動的に設定することにある。
Another object of the present invention is to automatically set an optimum number of waiting frames between devices of different destinations under the environment corresponding to the connection with each device.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来技
術の自動設定方法では、ARQフレーム内にカウント制
御情報のフィールドを設けてないと待ちフレーム数を設
定することができないため、ARQフレームのフォーマ
ットを変えないと通信できないという問題点と、相手が
特定のARQフレームに対応していない装置であった場
合に、待ちフレームを自動的に設定できないという問題
点がある。
However, according to the conventional automatic setting method, the number of waiting frames cannot be set unless the field of count control information is provided in the ARQ frame. Therefore, the format of the ARQ frame is changed. There is a problem that communication is not possible unless the other party is a device that does not support a specific ARQ frame, and a problem that a waiting frame cannot be automatically set.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明の第1の自動再送制御プロトコルにおける
待ちフレーム数の自動設定方式は、自動再送制御プロト
コルによってデータの送受信を行う装置の自動再送制御
プロトコルにおける待ちフレーム数の自動設定方式であ
って、相手先と呼接続してフレームの送受信が始まった
場合に呼毎の送信フレームのフレーム番号と同じフレー
ム番号のACKを受信するまでに受信したACKの受信
数の平均値の整数を算出してその算出した平均値に予め
決められた調整値を加えた値を測定してその測定した値
を待ちフレーム数として設定する遅延測定手段と、を有
することを特徴としている。
In order to achieve the above object, the automatic setting method of the number of waiting frames in the first automatic retransmission control protocol of the present invention is an apparatus for transmitting and receiving data by the automatic retransmission control protocol. This is an automatic setting method for the number of waiting frames in the automatic retransmission control protocol, and when receiving a ACK with the same frame number as the frame number of the transmission frame for each call when the call connection with the other party starts and the transmission and reception of the frame starts. Delay measurement means for calculating an integer of the average value of the number of received ACKs, measuring a value obtained by adding a predetermined adjustment value to the calculated average value, and setting the measured value as the number of waiting frames; Is characterized by having.

【0007】また、本発明の第2の自動再送制御プロト
コルにおける待ちフレーム数の自動設定方式は、自動再
送制御プロトコルによってデータの送受信を行う装置の
自動再送制御プロトコルにおける待ちフレーム数の自動
設定方式であって、呼毎のデータ転送中に一定時間内の
フレームの再送回数をカウントしてしきい値に到達した
場合に遅延の測定を促す再送カウンタ手段と、前記遅延
の測定を促された場合に呼毎の送信フレームのフレーム
番号と同じフレーム番号のACKを受信するまでに受信
したACKの受信数の平均値の整数を算出してその算出
した平均値に予め決められた調整値を加えた値を測定し
てその測定した値を待ちフレーム数として設定する遅延
測定手段と、を有することを特徴としている。
Further, the second automatic retransmission control protocol automatic setting method of the present invention is the automatic retransmission control protocol automatic setting method of the apparatus for transmitting and receiving data by the automatic retransmission control protocol. Therefore, when the number of times a frame is retransmitted within a certain period of time during the data transfer for each call is counted and a threshold value is reached, a re-transmission counter means for urging measurement of the delay, and when the measurement of the delay is urged, A value obtained by calculating an integer of the average value of the number of ACKs received until the ACK of the same frame number as the frame number of the transmission frame for each call is received, and adding the predetermined adjustment value to the calculated average value. And delay measurement means for setting the measured value as the number of waiting frames.

【0008】また、本発明の第3の自動再送制御プロト
コルにおける待ちフレーム数の自動設定方式は、自動再
送制御プロトコルによってデータの送受信を行う装置の
自動再送制御プロトコルにおける待ちフレーム数の自動
設定方式であって、相手先と呼接続してフレームの送受
信が始まった場合に、送信し続けるフレームの送信フレ
ーム番号と同じ値の受信フレーム番号を受信するまでを
1回の測定回数としてカウントする測定カウント手段
と、前記測定カウント手段でACKを受信する毎にAC
Kのフレーム数をカウントするフレーム数カウント手段
と、前記測定手段による前記測定回数が予め決められた
回数に到達すると、その測定回数毎にカウントした前記
フレーム数を基に待ちフレーム数を設定する設定手段と
を有することを特徴としている。
Further, the third automatic retransmission control protocol of the present invention is the automatic setting method of the number of waiting frames in the automatic retransmission control protocol of the device which transmits and receives data by the automatic retransmission control protocol. Therefore, when a frame is transmitted / received after the call connection is established with the other party, the measurement counting means for counting the number of times until the reception frame number having the same value as the transmission frame number of the frame to be continuously transmitted is received as one measurement count. Whenever the measurement counting means receives an ACK,
A frame number counting means for counting the number of K frames, and a setting for setting a waiting frame number based on the frame number counted for each measurement number when the measurement number by the measuring means reaches a predetermined number. And means.

【0009】また、第4の本発明の自動再送制御プロト
コルにおける待ちフレーム数の自動設定方式は、自動再
送制御プロトコルによってデータの送受信を行う装置の
自動再送制御プロトコルにおける待ちフレーム数の自動
設定方式であって、フレームの再送を行った場合に1回
の再送回数としてカウントする再送カウント手段と、予
め決められた時間内に前記再送回数が予め決められた回
数に到達した場合に送信し続けるフレームの送信フレー
ム番号と同じ値の受信フレーム番号を受信するまでを1
回の測定回数としてカウントする測定カウント手段と、
測定カウント手段でACKを受信する毎にACKのフレ
ーム数をカウントするフレーム数カウント手段と、前記
測定回数が予め決められた回数に到達した場合にその測
定回数毎にカウントした前記フレーム数を基に待ちフレ
ーム数を設定する設定手段と、を有することを特徴とし
ている。
Further, the automatic setting method of the number of waiting frames in the automatic retransmission control protocol of the fourth aspect of the present invention is the automatic setting method of the number of waiting frames in the automatic retransmission control protocol of a device which transmits and receives data by the automatic retransmission control protocol. Therefore, when a frame is retransmitted, a retransmission count means for counting the number of times of retransmission as one time, and a frame for continuously transmitting when the number of times of retransmission reaches a predetermined number of times within a predetermined time 1 until the reception frame number with the same value as the transmission frame number is received
Measurement counting means for counting as the number of times of measurement,
Based on the frame number counting means for counting the number of ACK frames each time the measurement counting means receives an ACK, and the number of frames counted for each measurement number when the measurement number reaches a predetermined number. And a setting means for setting the number of waiting frames.

【0010】更に、上記の第3または第4の自動再送制
御プロトコルにおける待ちフレーム数の自動設定方式に
おいて、前記待ちフレーム数は、前記フレーム数の平均
値の整数に予め決められた整の調整数を加えたことを特
徴としている。
Furthermore, in the automatic setting method of the number of waiting frames in the above-mentioned third or fourth automatic retransmission control protocol, the number of waiting frames is an adjustment number of a predetermined integer number of the average value of the number of frames. It is characterized by the addition of.

【0011】更に、上記の第3、または第4の自動再送
制御プロトコルにおける待ちフレーム数の自動設定方式
において、前記待ちフレーム数は、呼毎に設定すること
を特徴としている。
Further, in the automatic setting method of the number of waiting frames in the above third or fourth automatic retransmission control protocol, the number of waiting frames is set for each call.

【0012】また、本発明の第1の自動再送制御プロト
コルにおける待ちフレーム数の自動設定方法は、自動再
送制御プロトコルによってデータの送受信を行う装置の
自動再送制御プロトコルにおける待ちフレーム数の自動
設定方法であって、相手先と呼接続してフレームの送受
信が始まった場合に呼毎の送信フレームのフレーム番号
と同じフレーム番号のACKを受信するまでに受信した
ACKの受信数の平均値の整数を算出し、その算出した
平均値に予め決められた調整値を加えた値を測定し、そ
の測定した値を待ちフレーム数として設定することを特
徴としている。
A first method for automatically setting the number of waiting frames in the automatic retransmission control protocol of the present invention is a method for automatically setting the number of waiting frames in the automatic retransmission control protocol of a device that transmits and receives data by the automatic retransmission control protocol. Therefore, when the call connection with the other party starts and the transmission and reception of the frame starts, the integer of the average value of the number of received ACKs until the ACK of the same frame number as the frame number of the transmission frame for each call is received is calculated. Then, a value obtained by adding a predetermined adjustment value to the calculated average value is measured, and the measured value is set as the number of waiting frames.

【0013】また、本発明の第2の自動再送制御プロト
コルにおける待ちフレーム数の自動設定方法は、自動再
送制御プロトコルによってデータの送受信を行う装置の
自動再送制御プロトコルにおける待ちフレーム数の自動
設定方法であって、呼毎のデータ転送中に一定時間内の
フレームの再送回数をカウントしてしきい値に到達した
かどうかを判別し、前記しきい値に到達した場合に呼毎
の送信フレームのフレーム番号と同じフレーム番号のA
CKを受信するまでに受信したACKの受信数の平均値
の整数を算出し、その算出した平均値に予め決められた
調整値を加えた値を測定し、その測定した値を待ちフレ
ーム数として設定することを特徴としている。
A second method of automatically setting the number of waiting frames in the automatic retransmission control protocol of the present invention is the method of automatically setting the number of waiting frames in the automatic retransmission control protocol of a device that transmits and receives data by the automatic retransmission control protocol. Therefore, it is determined whether or not a threshold value is reached by counting the number of frame retransmissions within a fixed time during data transfer for each call, and when the threshold value is reached, the frame of the transmission frame for each call A with the same frame number as the number
Calculate the integer of the average value of the number of ACK received until receiving CK, measure the value obtained by adding a predetermined adjustment value to the calculated average value, and use the measured value as the number of waiting frames It is characterized by setting.

【0014】また、本発明の第3の自動再送制御プロト
コルにおける待ちフレーム数の自動設定方法は、自動再
送制御プロトコルによってデータの送受信を行う装置の
自動再送制御プロトコルにおける待ちフレーム数の自動
設定方法であって、相手先と呼接続してフレームの送受
信が始まった場合に、送信し続けるフレームの送信フレ
ーム番号と同じ値の受信フレーム番号を受信するまでを
1回の測定回数としてカウントすると共にその間ACK
を受信する毎にACKのフレーム数をカウントし、前記
測定回数が予め決められた回数に到達すると、その測定
回数毎にカウントした前記フレーム数を基に待ちフレー
ム数を設定することを特徴としている。
The third method of automatically setting the number of waiting frames in the automatic retransmission control protocol of the present invention is the method of automatically setting the number of waiting frames in the automatic retransmission control protocol of a device that transmits and receives data by the automatic retransmission control protocol. Therefore, when the call connection with the other party starts and the transmission / reception of the frame starts, the time until the reception frame number of the same value as the transmission frame number of the frame that continues to be transmitted is counted as one measurement and ACK is received during that time.
The number of ACK frames is counted each time a message is received, and when the number of measurements reaches a predetermined number, the number of waiting frames is set based on the number of frames counted for each number of measurements. .

【0015】また、本発明の第4の自動再送制御プロト
コルにおける待ちフレーム数の自動設定方法は、自動再
送制御プロトコルによってデータの送受信を行う装置の
自動再送制御プロトコルにおける待ちフレーム数の自動
設定方法であって、フレームの再送を行った場合に1回
の再送回数としてカウントし、予め決められた時間内に
前記再送回数が予め決められた回数に到達すると、送信
し続けるフレームの送信フレーム番号と同じ値の受信フ
レーム番号を受信するまでを1回の測定回数としてカウ
ントすると共にその間ACKを受信する毎にACKのフ
レーム数をカウントし、前記測定回数が予め決められた
回数に到達すると、その測定回数毎にカウントした前記
フレーム数を基に待ちフレーム数を設定することを特徴
としている。
A fourth method of automatically setting the number of waiting frames in the automatic retransmission control protocol of the present invention is the method of automatically setting the number of waiting frames in the automatic retransmission control protocol of a device that transmits and receives data by the automatic retransmission control protocol. Therefore, when a frame is retransmitted, it is counted as one retransmission, and when the number of retransmissions reaches a predetermined number within a predetermined time, it is the same as the transmission frame number of the frame that continues to be transmitted. The number of times of measurement until the reception frame number of the value is received is counted as one time, and the number of frames of ACK is counted every time ACK is received during that time, and when the number of times of measurement reaches a predetermined number, the number of times of measurement is counted. The number of waiting frames is set based on the number of frames counted for each.

【0016】更に、上記の第3または第4の自動再送制
御プロトコルにおける待ちフレーム数の自動設定方法に
おいて、待ちフレーム数は、前記フレーム数の平均値の
整数に予め決められた整の調整数を加えたことを特徴と
している。
Further, in the above-described method for automatically setting the number of waiting frames in the third or fourth automatic retransmission control protocol, the number of waiting frames is an adjustment number of a predetermined integer number which is an integer of the average value of the number of frames. It is characterized by the addition.

【0017】更に、上記の第3または第4の自動再送制
御プロトコルにおける待ちフレーム数の自動設定方法に
おいて、前記待ちフレーム数は、呼毎に設定することを
特徴としている。
Furthermore, in the automatic setting method of the number of waiting frames in the above third or fourth automatic retransmission control protocol, the number of waiting frames is set for each call.

【0018】[0018]

【発明の実施の形態】次に、本発明の実施の形態につい
て、図面を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described with reference to the drawings.

【0019】図1を参照すると、本実施の形態の一例を
示すシステムの構成を示しており、ネットワーク900
と、ネットワーク900に接続された装置1と、ネット
ワーク900に接続された装置2とから構成されてい
る。
Referring to FIG. 1, there is shown a system configuration showing an example of the present embodiment, which is a network 900.
And a device 1 connected to the network 900 and a device 2 connected to the network 900.

【0020】図1の装置1および装置2は、図示してい
ないプロセッサ(CPU)によりプログラム制御で動作
する制御部11と、他装置とのデータのやり取りを行う
インタフェース部14と、時間を計測し制御部11に割
込みをかけるタイマ13と、予め設定されている再送し
きい値141と、予め設定されている測定回数しきい値
142と、ARQテーブル15とから構成される。
The apparatus 1 and apparatus 2 of FIG. 1 measure a time by a control section 11 operated by program control by a processor (CPU) (not shown), an interface section 14 for exchanging data with another apparatus, and a time. The timer 13 for interrupting the control unit 11, a preset retransmission threshold 141, a preset measurement count threshold 142, and an ARQ table 15 are included.

【0021】図1の再送しきい値141および測定回数
しきい値142は、読出し書込みのできる記憶部(例え
ば、フラッシュメモリ)内に、それぞれ割り当てられ、
予め設定されており、再送しきい値141は再送できる
最大の回数を示し、測定回数しきい値142は遅延フレ
ーム数を測定する回数のしきい値を示す。
The retransmission threshold value 141 and the measurement frequency threshold value 142 of FIG. 1 are respectively allocated in a readable / writable storage unit (eg, flash memory),
It is set in advance, the retransmission threshold 141 indicates the maximum number of times of retransmission, and the measurement number threshold 142 indicates the number of times of measuring the delay frame number.

【0022】ARQテーブル15は、読出し書込みので
きる記憶部(例えば、RAM)内に割り当てられてお
り、送信元と送信先とが呼接続されるとARQテーブル
15に登録されることにより管理され、呼開放(切断)
されるとARQテーブル15から削除される。ARQテ
ーブル15は、図3に示すように、呼毎に、接続元を示
す送信元の識別番号(例えば、送信元の電話番号)と、
接続先を示す送信先の識別番号(例えば、送信先の電話
番号)と、待ちフレーム数を示すRTF値と、再送した
回数を示す再送回数と、送信したフレームのフレーム番
号(シーケンス番号とも言う)を示す送信フレーム番号
と、ACKのフレーム番号チェックのために送信したA
RQフレームに対する応答を待っているACKのフレー
ム番号を示す待ちフレーム番号と、ARQフレームの遅
延を算出するためにACKの受信数を示すフレーム数
と、遅延フレーム数の測定開始のフレーム番号を示す測
定開始フレーム番号と、測定した遅延フレーム数の回数
を示す測定回数と、から成り立っている。
The ARQ table 15 is allocated in a readable / writable storage unit (eg, RAM), and is managed by being registered in the ARQ table 15 when a transmission source and a transmission destination are connected by call. Call release (disconnection)
Then, the ARQ table 15 is deleted. As shown in FIG. 3, the ARQ table 15 includes, for each call, an identification number of a transmission source indicating a connection source (for example, a telephone number of the transmission source),
The identification number of the transmission destination indicating the connection destination (for example, the telephone number of the transmission destination), the RTF value indicating the number of waiting frames, the number of retransmissions indicating the number of retransmissions, and the frame number of the transmitted frame (also called a sequence number) And the A transmitted to check the frame number of the ACK.
A waiting frame number indicating the frame number of an ACK waiting for a response to the RQ frame, a frame number indicating the number of ACKs received to calculate the delay of the ARQ frame, and a measurement indicating the frame number of the measurement start of the delay frame number. It consists of a start frame number and the number of times of measurement indicating the number of measured delayed frames.

【0023】図2を参照すると、本実施の形態に伴いプ
ログラム制御で動作する図1の制御部11の機能をブロ
ックで示した機能ブロック図であって、制御部11は、
主にARQプロトコルを終端するARQプロトコル制御
部111と、ARQフレームの送信制御を行う送信フレ
ーム制御部112と、ARQフレームの受信制御を行う
受信フレーム制御部113と、ARQプロトコル区間に
おける遅延を測定する遅延測定部115と、一定時間内
のARQフレームの再送回数をカウントする再送カウン
タ部114と、を有している。
Referring to FIG. 2, there is shown a functional block diagram showing in block form the functions of the control unit 11 of FIG. 1 which operates under program control according to the present embodiment.
The ARQ protocol control unit 111 that mainly terminates the ARQ protocol, the transmission frame control unit 112 that controls the transmission of the ARQ frame, the reception frame control unit 113 that controls the reception of the ARQ frame, and the delay in the ARQ protocol section are measured. It has a delay measuring unit 115 and a retransmission counter unit 114 that counts the number of times of retransmission of an ARQ frame within a fixed time.

【0024】図2の装置1,2は、呼接続されたときに
行うネゴシエーション中にRTF値を設定する場合と、
通常のデータの送信中にRTF値を設定する場合とがあ
る。すなわち、ARQプロトコル制御部111は、相手
先と呼接続してネゴシエーションのフレームの送受信が
始まった場合、または再送カウンタ部114から遅延の
測定依頼があると、遅延測定部115に対して遅延の測
定を促すことでRTF値を設定する。装置1と装置2と
間でのネゴシエーション中におけるARQフレームのフ
レーム番号の付与の仕方については、ARQプロトコル
制御部111は、相手から送信したARQフレームと同
じフレーム番号のACKが帰ってくるまで同じフレーム
番号で送信し続け、送信したARQフレームと同じフレ
ーム番号のACKが帰って来るとフレーム番号を1つ上
げて送信する。また、装置1と装置2と間での通常のデ
ータ転送中におけるARQフレームのフレーム番号の付
与の仕方については、ARQプロトコル制御部111
は、ARQフレームを送信する毎にフレーム番号を上げ
ていく。図2の再送カウンタ部114は、呼毎のデータ
転送中に一定時間内のフレームの再送回数をカウントし
てしきい値を超えた場合にARQプロトコル制御部11
1を介して遅延測定部115に遅延の測定を促す。図2
の遅延測定部115は、ARQプロトコル制御部111
から呼毎の遅延の測定を促された場合に送信フレームの
フレーム番号と同じフレーム番号のACKを受信するま
でに受信したACKの受信数の平均値の整数を算出し、
その算出した平均値に予め決められた調整値を加えた値
を測定し、更にその測定した値を待ちフレーム数として
ARQテーブル15のRTF値に設定する。
The devices 1 and 2 of FIG. 2 set the RTF value during the negotiation performed when the call is connected, and
There are cases where the RTF value is set during normal data transmission. In other words, the ARQ protocol control unit 111 measures the delay with respect to the delay measuring unit 115 when the call connection with the other party starts and the transmission and reception of the negotiation frame starts, or when the retransmission counter unit 114 requests the delay measurement. To set the RTF value. Regarding the method of assigning the frame number of the ARQ frame during the negotiation between the device 1 and the device 2, the ARQ protocol control unit 111 uses the same frame until the ACK with the same frame number as the ARQ frame transmitted from the other party comes back. The frame number is continued to be transmitted, and when an ACK with the same frame number as the transmitted ARQ frame comes back, the frame number is incremented by 1 and transmitted. Also, regarding the method of assigning the frame number of the ARQ frame during the normal data transfer between the device 1 and the device 2, the ARQ protocol control unit 111
Increases the frame number each time an ARQ frame is transmitted. The retransmission counter unit 114 of FIG. 2 counts the number of frame retransmissions within a certain time during data transfer for each call, and when the number exceeds the threshold value, the ARQ protocol control unit 11
The delay measuring unit 115 is prompted to measure the delay via 1. Figure 2
Delay measuring section 115 of ARQ protocol control section 111
When calculating the delay of each call from, calculate the integer of the average value of the number of ACKs received until the ACK of the same frame number as the frame number of the transmission frame is received,
A value obtained by adding a predetermined adjustment value to the calculated average value is measured, and the measured value is set as the number of waiting frames in the RTF value of the ARQ table 15.

【0025】図2の送信フレーム制御部112は、AR
Qプロトコル制御部111の制御の基で送信フレームを
作成し、インタフェース部12を介してネットワーク9
00に送信する。
The transmission frame control unit 112 of FIG.
A transmission frame is created under the control of the Q protocol control unit 111, and the network 9 is transmitted via the interface unit 12.
To 00.

【0026】図2の受信フレーム制御部113は、イン
タフェース900からインタフェース部12を介して受
信した受信フレームからARQフレームの制御情報を解
析して、ARQプロトコル制御部111に制御を渡す。
The reception frame control unit 113 in FIG. 2 analyzes the control information of the ARQ frame from the reception frame received from the interface 900 via the interface unit 12, and passes the control to the ARQ protocol control unit 111.

【0027】図4を参照すると、ARQプロトコルで使
用されるARQフレームの概略を示すフォーマットの構
成図である。すなわち、ARQフレームは、受信側が受
信したことを知らせるための受信確認情報(例えば、A
CK,NAK)等の制御情報を示す受信制御情報のフィ
ールドと、受信側で受信したフレームに付与されていた
送信フレーム番号を応答用として返送する際の受信フレ
ーム番号のフィールドと、送信する制御情報を示す送信
制御情報のフィールドと、送信するフレームの番号を受
信側に知らせるために送信側がフレームに付与する送信
フレーム番号を設定する送信フレーム番号のフィールド
と、送受する上位のプロトコルレベルの制御情報やデー
タを設定する送信情報のフィールドと、CRCチェック
用の情報であるCRC情報のフィールドと、を含んでい
る。
Referring to FIG. 4, there is shown a format diagram illustrating an outline of an ARQ frame used in the ARQ protocol. That is, the ARQ frame includes reception confirmation information (for example, A
CK, NAK) and other control information fields, the received frame number field when the frame number received on the receiving side is returned as a response, and the control information to be transmitted. Field of the transmission control information that indicates the number of the frame to be transmitted, the field of the transmission frame number that sets the transmission frame number that the transmission side gives to the frame to notify the reception side of the number of the frame, and the control information of the higher protocol level It includes a field of transmission information for setting data and a field of CRC information which is information for CRC check.

【0028】次に、図1〜図6を参照して、本発明の実
施の形態の動作について説明する。
Next, the operation of the embodiment of the present invention will be described with reference to FIGS.

【0029】今、図1において、装置1を携帯電話、装
置2を基地局、ネットワーク900を無線とした場合を
例として説明する。なお、装置2側は、基地局と交換機
との間で利用するブロック図をはじめとする本発明に関
係のないブロックは省略してあるものとする。なお、イ
ンタフェース部12は、アンテナも含むものとし、送信
の場合には電気信号を電波に置換して送信し、受信の場
合には電波を電気信号に置き換えて受信する。
Now, in FIG. 1, a case where the device 1 is a mobile phone, the device 2 is a base station, and the network 900 is a radio will be described as an example. It should be noted that, on the device 2 side, blocks irrelevant to the present invention, such as a block diagram used between the base station and the exchange, are omitted. The interface unit 12 also includes an antenna. When transmitting, the electric signal is replaced with an electric wave for transmission, and when receiving, the electric wave is replaced with an electric signal for reception.

【0030】先ず、装置1から装置2への呼設定により
送信先と呼接続されると、装置1の制御部11のARQ
プロトコル制御部111は、ARQテーブル15内の呼
接続された送信元(装置1)の識別番号および送信先
(装置2)の識別番号の各エリアに設定する。同じよう
に、装置2側でも、装置2のARQテーブル15内の呼
接続された送信元(装置2)の識別番号および送信先
(装置1)の識別番号の各エリアに設定する。このよう
にして、呼設定により複数の呼接続される毎に、ARQ
テーブル15内の呼接続された送信元の識別番号および
送信先の識別番号の各エリアに設定する。なお、以降の
発明では、複数の呼毎に管理できるようにしているが、
説明の都合上、1つの呼だけに絞って装置1を中心に説
明する。
First, when the call is connected to the destination by the call setting from the device 1 to the device 2, the ARQ of the control unit 11 of the device 1
The protocol control unit 111 sets the areas of the identification number of the transmission source (apparatus 1) and the transmission destination (apparatus 2) of the call connection in the ARQ table 15. Similarly, on the device 2 side, the ARQ table 15 of the device 2 is set in each area of the identification number of the transmission source (device 2) and the transmission destination (device 1) connected to the call. In this way, every time a plurality of calls are connected due to call setup, ARQ is performed.
It is set in each area of the identification number of the transmission source and the identification number of the transmission destination connected in the call in the table 15. In the following inventions, it is possible to manage each of a plurality of calls,
For convenience of explanation, the description will focus on the device 1 focusing on only one call.

【0031】更に、制御部11のARQプロトコル制御
部111は、ARQのパラメータを設定するために、A
RQ同期確立(送信したフレームのACKを受信した時
点でネゴシエーションをし始める)およびネゴシエーシ
ョン(送信先に対するARQのパラメータの設定)を行
う。
Further, the ARQ protocol control section 111 of the control section 11 sets A in order to set ARQ parameters.
RQ synchronization establishment (starting negotiation when ACK of the transmitted frame is received) and negotiation (setting of ARQ parameter for destination) are performed.

【0032】最初、ARQプロトコル制御部111は、
送信フレーム制御部112を介して送信フレーム番号
「0」から送信を開始することになるが、送信フレーム
番号「0」のACKが帰って来て同期確立を取るまで同
じ送信フレーム番号「0」のARQフレームを一定間隔
(20ms)で送信フレーム制御部112を介して送信
し続ける。
First, the ARQ protocol control unit 111
Transmission is started from the transmission frame number "0" via the transmission frame control unit 112, but until the ACK of the transmission frame number "0" comes back and synchronization is established, the same transmission frame number "0" is kept. ARQ frames are continuously transmitted via the transmission frame control unit 112 at regular intervals (20 ms).

【0033】装置2では、受信フレーム113を介して
受信すると、フレームを解析してARQフレームに受信
フレーム番号および送信側として送信フレーム番号をフ
レーム内に設定して送信する。
When the device 2 receives via the reception frame 113, it analyzes the frame and sets the reception frame number in the ARQ frame and the transmission frame number as the transmission side in the frame and transmits the frame.

【0034】やがて、装置1のARQプロトコル制御部
111は、同期を取り始めると、遅延測定の開始指示を
遅延測定部115に対して行う。更に、ARQプロトコ
ル制御部111は、ネゴシエーションの処理に入り始
め、ARQテーブル15の送信フレーム番号を「1」
に、待ちフレーム番号を「1」に、それぞれ設定すると
共に、ARQテーブル15の待ちフレーム番号と同じ値
の受信フレーム番号のACKが受信フレーム制御部11
3を介して帰って来るまで送信フレーム番号「1」のA
RQフレームを一定間隔(例えば、20ms)で送信フ
レーム制御部112を介して送信し続ける。なお、装置
1のARQプロトコル制御部111は、送信し続ける場
合で装置2への応答が必要な場合には、ACKとして返
信するフレームの受信制御エリアには、受信した送信フ
レーム番号と同じ値の受信フレーム番号として送信す
る。
When the ARQ protocol control section 111 of the device 1 starts to synchronize, the delay measurement section 115 is instructed to start delay measurement. Further, the ARQ protocol control unit 111 starts the negotiation process and sets the transmission frame number of the ARQ table 15 to “1”.
In addition, the waiting frame number is set to "1", and the ACK of the receiving frame number having the same value as the waiting frame number of the ARQ table 15 is received.
A of the transmission frame number "1" until it returns via 3
RQ frames are continuously transmitted via the transmission frame control unit 112 at regular intervals (for example, 20 ms). Note that the ARQ protocol control unit 111 of the device 1 has the same value as the received transmission frame number in the reception control area of the frame to be returned as ACK when a response to the device 2 is required in the case of continuing the transmission. It is transmitted as the received frame number.

【0035】この間、装置1のARQプロトコル制御部
111は、受信フレーム制御部113を介してACKを
受信する毎に受信したACKの受信フレーム番号とAR
Qテーブル15の待ちフレーム番号とを比較し、一致す
れば、ARQテーブル15の送信フレーム番号および待
ちフレーム番号をそれぞれ+1カウントアップし、遅延
測定部115に対して受信したACKの受信フレーム番
号を通知することによりARQテーブル15のフレーム
数を+1カウントアップさせる。一致しなければ、AR
Qプロトコル制御部111は、遅延測定部115に対し
て受信したACKの受信フレーム番号を通知することに
よりARQテーブル15のフレーム数を+1カウントア
ップさせる。このようにして、ARQプロトコル制御部
111は、同一のフレーム番号のACK受信によりAR
Qテーブル115の送信フレーム番号および待ちフレー
ム番号をそれぞれ+1のカウントアップを行って次送出
のARQフレームにカウントアップした送信フレーム番
号を乗せて送出する。
During this period, the ARQ protocol control unit 111 of the device 1 receives the ACK received frame number every time an ACK is received via the received frame control unit 113 and the AR.
The waiting frame number of the Q table 15 is compared, and if they match, the transmission frame number and the waiting frame number of the ARQ table 15 are each incremented by +1 and the reception frame number of the received ACK is notified to the delay measuring unit 115. By doing so, the number of frames in the ARQ table 15 is incremented by +1. If they do not match, AR
The Q protocol control unit 111 increments the number of frames in the ARQ table 15 by +1 by notifying the delay measurement unit 115 of the received frame number of the received ACK. In this way, the ARQ protocol control unit 111 receives the ACK of the same frame number and receives the AR.
The transmission frame number and the waiting frame number of the Q table 115 are each incremented by +1 and the ARQ frame to be transmitted next is added with the counted transmission frame number and transmitted.

【0036】一方、ARQプロトコル制御部111から
遅延測定の通知を受けた遅延測定部115は、ARQテ
ーブル15の測定開始フレーム番号にARQフレームテ
ーブル15の送信フレーム番号を設定することにより、
遅延の測定を開始する。遅延測定通知を受けた後にAC
Kの受信フレーム番号の通知をARQプロトコル制御部
111から受ける毎に、遅延測定部115は、ARQテ
ーブル15のフレーム数を+1カウントアップすると共
に、ACKの応答フレーム番号と測定開始フレーム番号
とが一致しているかどうかのチェックを行う。一致する
と、遅延測定部115は、次送出のフレーム番号が設定
されているARQテーブル15の送信フレーム番号をA
RQテーブル15の測定開始フレーム番号に設定し、A
RQテーブル15の測定回数を+1カウントアップす
る。測定回数をカウントアップした場合には、遅延測定
部115は、測定回数が測定回数しきい値142に到達
したかどうかのチェックを行い、到達していなければ、
次のACKの受信フレーム番号の通知を待つ。遅延測定
部115は、ACKの受信フレーム番号と測定開始フレ
ーム番号とのチェックで一致しない場合も、遅延測定部
115は、次のACKの受信フレーム番号の通知を待
つ。
On the other hand, the delay measuring unit 115 which receives the notification of the delay measurement from the ARQ protocol control unit 111 sets the transmission frame number of the ARQ frame table 15 to the measurement start frame number of the ARQ table 15,
Start measuring delay. AC after receiving the delay measurement notification
Each time the notification of the K received frame number is received from the ARQ protocol control unit 111, the delay measurement unit 115 increments the number of frames in the ARQ table 15 by +1 and the response frame number of the ACK and the measurement start frame number become one. Check whether you are doing. When they match, the delay measuring unit 115 sets the transmission frame number of the ARQ table 15 in which the frame number of the next transmission is set to A.
Set the measurement start frame number in the RQ table 15 to A
The number of times of measurement of the RQ table 15 is incremented by +1. When the number of times of measurement is counted up, the delay measuring unit 115 checks whether or not the number of times of measurement reaches the number-of-measurements threshold value 142.
Wait for notification of the next ACK received frame number. Even if the delay measuring unit 115 does not match the ACK received frame number and the measurement start frame number, the delay measuring unit 115 waits for notification of the next ACK received frame number.

【0037】以上を、装置1と装置2と間のネゴシエー
ション中のデータのやり取りに従って、遅延の測定の動
作を簡単に示したシーケンス図が図5である。ただし、
装置1側を送信側で装置2側を受信側として図示してい
る。
FIG. 5 is a sequence diagram briefly showing the operation of measuring the delay according to the exchange of data during the negotiation between the device 1 and the device 2. However,
The device 1 side is shown as a transmitting side and the device 2 side is shown as a receiving side.

【0038】やがて、ARQテーブル15の測定回数と
測定回数しきい値142に到達すると、遅延測定部11
5は、RTF値を出すために、<フレーム数/nの切り
上げ+α>を計算し、ARQテーブル15のRTF値に
設定し、フレーム数、測定開始フレーム番号、および測
定回数の各エリアをそれぞれクリアすると共に、RTF
値を設定したことをARQプロトコル制御部111に通
知する。すると、ARQプロトコル制御部111は、A
RQテーブル15の再送カウンタ、送信フレーム番号、
および待ちフレーム番号の各エリアをそれぞれクリア
(オール「0」)する。この場合、式で使用している
「フレーム数」は、ARQテーブル15のフレーム数を
示し、「n」は、ARQテーブル15の測定回数を示
す。また、αは、RTF値の調整値を示し、小さい正の
整数(例えば、1,2等)が望ましい。すなわち、フレ
ーム数/nは、遅延したフレーム数の平均を示し、更
に、整数になるように切り上げたフレーム数/nの値に
+α(例えば、+1)を加えた値がRTF値となる。例
えば、図5の場合のRTF値は、アルファを1とした場
合には、5となる。
When the number of measurement times and the number of measurement times threshold 142 of the ARQ table 15 are reached, the delay measuring section 11
In order to output the RTF value, 5 calculates <round up of frame number / n + α>, sets it to the RTF value of ARQ table 15, and clears each area of frame number, measurement start frame number, and measurement count. And RTF
The ARQ protocol control unit 111 is notified that the value has been set. Then, the ARQ protocol control unit 111 causes A
Retransmission counter of RQ table 15, transmission frame number,
And each area of the waiting frame number are cleared (all “0”). In this case, the “frame number” used in the equation indicates the frame number of the ARQ table 15, and “n” indicates the number of times of measurement of the ARQ table 15. Further, α represents an adjustment value of the RTF value, and is preferably a small positive integer (eg 1, 2, etc.). That is, the number of frames / n indicates the average of the number of delayed frames, and a value obtained by adding + α (for example, +1) to the value of the number of frames / n rounded up to an integer is the RTF value. For example, the RTF value in the case of FIG. 5 is 5 when alpha is 1.

【0039】したがって、ARQプロトコル制御部11
1は、自動的に設定されたARQテーブル15のRTF
値を用いて再送制御を行うことになる。
Therefore, the ARQ protocol control unit 11
1 is the RTF of the automatically set ARQ table 15
Retransmission control will be performed using the value.

【0040】呼設定後の装置間で通常(ユーザ同士)の
データ転送を行う場合には、制御部11のARQプロト
コル制御部111は、通常、送信フレーム制御部112
を介して送信フレーム番号「0」からARQフレームの
送信を開始し、終了するまで順にARQテーブル15の
送信フレーム番号を+1カウントアップして送信フレー
ム制御部112を介してARQフレームのフレーム番号
として20ms間隔で送信し続ける。フレーム番号
「0」からのARQフレームの送信を開始するときに、
ARQプロトコル制御部111は、タイマ13を起動す
る。
When performing normal (user-to-user) data transfer between devices after call setup, the ARQ protocol control unit 111 of the control unit 11 normally sends the transmission frame control unit 112.
The transmission of the ARQ frame is started from the transmission frame number “0” via the transmission frame number, and the transmission frame number of the ARQ table 15 is sequentially incremented by 1 until the transmission is completed, and the frame number of the ARQ frame is set to 20 ms via the transmission frame control unit 112. Keep sending at intervals. When starting the transmission of the ARQ frame from the frame number "0",
The ARQ protocol control unit 111 activates the timer 13.

【0041】ARQプロトコル制御部111は、受信フ
レーム制御部113を介してACKを受信する毎に受信
したACKの受信フレーム番号とARQテーブル15の
待ちフレーム番号とを比較する。一致すれば、正常であ
る。更に、ARQプロトコル制御部111は、受信フレ
ーム制御部113を介してACKを受信する毎にARQ
テーブル15の送信フレーム番号からACKの受信フレ
ーム番号を引いた値である遅延フレーム数とARQテー
ブル15のRTF値とを比較する。遅延フレーム数がR
TF値未満であるならば、正常である。両方とも正常で
あれば、ARQプロトコル制御部111は、そのまま送
信フレーム制御部112を介してシーケンスに送信を続
けるが、受信したACKの受信フレーム番号とARQテ
ーブル15の待ちフレーム番号とを比較して一致しなけ
れば、または、遅延フレーム数がARQテーブル15の
RTF値に到達している場合には、ARQプロトコル制
御部111は、エラーと判断し、待ちフレーム番号と同
じ値の受信フレーム番号を送信フレーム番号に設定する
と共に設定したフレーム番号から再送を送信フレーム制
御部112に行わせると共に、再送カウンタ部114に
対して再送回数のチェックを依頼する。
Each time the ARQ protocol control section 111 receives an ACK via the reception frame control section 113, it compares the received frame number of the ACK received with the waiting frame number of the ARQ table 15. If they match, it is normal. Further, the ARQ protocol control unit 111 receives an ARQ each time it receives an ACK via the reception frame control unit 113.
The number of delayed frames, which is a value obtained by subtracting the reception frame number of ACK from the transmission frame number of table 15, is compared with the RTF value of ARQ table 15. The number of delayed frames is R
If it is less than the TF value, it is normal. If both are normal, the ARQ protocol control unit 111 continues transmission in sequence through the transmission frame control unit 112 as it is, but compares the received frame number of the received ACK with the waiting frame number of the ARQ table 15. If they do not match, or if the number of delayed frames has reached the RTF value of the ARQ table 15, the ARQ protocol control section 111 judges that there is an error and transmits the received frame number having the same value as the waiting frame number. The frame number is set, the transmission frame control unit 112 is made to perform retransmission from the set frame number, and the retransmission counter unit 114 is requested to check the number of retransmissions.

【0042】また、受信フレーム制御部113を介して
CRCエラー、データ抜け等を示すNAKを受信した場
合には、ARQプロトコル制御部111は、エラーと判
断し、待ちフレーム番号と同じ値の受信フレーム番号を
送信フレーム番号に設定すると共に、設定した送信フレ
ーム番号から再送を送信フレーム制御部112に行わせ
ると共に、再送カウンタ部114に対して再送回数のチ
ェックを依頼する。
When a NAK indicating a CRC error, data loss, etc. is received via the reception frame control unit 113, the ARQ protocol control unit 111 judges that it is an error and the reception frame having the same value as the waiting frame number is received. The number is set to the transmission frame number, the transmission frame control unit 112 is caused to perform retransmission from the set transmission frame number, and the retransmission counter unit 114 is requested to check the number of retransmissions.

【0043】また、ARQプロトコル制御部111は、
RTF値の時間がたってもARQテーブル15の送信フ
レーム番号と同じフレーム番号のACKを受信しない場
合には、エラーと判断し、待ちフレーム番号と同じ値の
受信フレーム番号を送信フレーム番号に設定すると共に
設定したフレーム番号から再送を送信フレーム制御部1
12に行わせると共に、再送カウンタ部114に対して
再送回数のチェックを依頼する。
Further, the ARQ protocol control section 111 is
If an ACK having the same frame number as the transmission frame number in the ARQ table 15 is not received even after the RTF value has elapsed, it is determined that an error has occurred and the reception frame number having the same value as the waiting frame number is set as the transmission frame number. Retransmit from the set frame number Transmission frame control unit 1
12 and request the retransmission counter unit 114 to check the number of retransmissions.

【0044】一方、再送回数のチェックの依頼を受けた
再送カウンタ部114は、ARQテーブル15の再送回
数を+1カウントアップすると共に、再送回数が再送し
きい値141を到達しているかどうかの判断を再送回数
と再送しきい値141とを比較することで行う。再送回
数が到達していた場合には、再送カウンタ部114は、
ARQプロトコル制御部111に対して、再送回数が到
達したことを通知する。再送回数が到達していない場合
には、再送カウンタ部114は、何もしないでそのまま
終了する。
On the other hand, the retransmission counter unit 114, which has received the request for checking the number of retransmissions, increments the number of retransmissions in the ARQ table 15 by +1 and determines whether the number of retransmissions has reached the retransmission threshold 141. This is performed by comparing the number of retransmissions and the retransmission threshold 141. When the number of retransmissions has reached, the retransmission counter unit 114
The ARQ protocol control unit 111 is notified that the number of retransmissions has reached. When the number of retransmissions has not reached, the retransmission counter unit 114 does nothing and ends the process as it is.

【0045】一方、ARQプロトコル制御部111によ
り起動をかけられたタイマ13は、データ通信中に一定
間隔毎に割り込みをかけることになるが、そのタイマ1
3からの割り込みにより起動された再送カウント部11
4は、ARQテーブル15の再送回数をリセットする。
したがって、再送カウンタ部114は、一定時間内に再
送回数が再送しきい値141を超えているかをチェック
することになる。
On the other hand, the timer 13 activated by the ARQ protocol control unit 111 interrupts at regular intervals during data communication.
Retransmission counting unit 11 activated by interrupt from 3
4 resets the number of retransmissions in the ARQ table 15.
Therefore, the retransmission counter unit 114 checks whether the number of retransmissions exceeds the retransmission threshold 141 within a fixed time.

【0046】一方、再送回数の到達を再送カウンタ部1
14から受けたARQプロトコル制御部111は、遅延
測定の開始指示を遅延測定部115に対して行うと共
に、受信フレーム制御部113を介してACKを受信す
る毎に通常の動作以外に、遅延測定部115に対して受
信したACKの受信フレーム番号を通知する。
On the other hand, when the number of times of retransmission is reached, the retransmission counter unit 1
The ARQ protocol control unit 111, which receives the delay measurement unit 14 from the controller 14, issues a delay measurement start instruction to the delay measurement unit 115, and performs a delay measurement unit other than a normal operation each time an ACK is received via the reception frame control unit 113. The reception frame number of the received ACK is notified to 115.

【0047】一方、ARQプロトコル制御部111から
遅延測定の通知を受けた遅延測定部115は、ARQテ
ーブル15の測定開始フレーム番号に送信フレーム番号
を設定することにより、遅延の測定を開始する。遅延測
定通知を受けた後にACKの受信フレーム番号の通知を
ARQプロトコル制御部111から受ける毎に、遅延測
定部115は、ARQテーブル15のフレーム数を+1
カウントアップすると共に、ACKの受信フレーム番号
と測定開始フレーム番号とのチェックを行う。一致する
と、遅延測定部115は、次送出のフレーム番号が設定
されているARQテーブル15の送信フレーム番号をA
RQテーブル15の測定開始フレーム番号に設定し、測
定回数を+1カウントアップする。測定回数をカウント
アップした場合には、遅延測定部115は、測定回数と
測定回数しきい値142に到達したかどうかのチェック
を行い、到達していなければ、次のACKの受信フレー
ム番号の通知を待つ。遅延測定部115は、ACKの受
信フレーム番号と測定開始フレーム番号とのチェックで
一致しない場合も、遅延測定部115は、次のACKの
受信フレーム番号の通知を待つ。
On the other hand, the delay measuring unit 115, which has received the notification of the delay measurement from the ARQ protocol control unit 111, starts the delay measurement by setting the transmission frame number in the measurement start frame number of the ARQ table 15. Every time the ARQ protocol control unit 111 receives a notification of the ACK reception frame number after receiving the delay measurement notification, the delay measurement unit 115 increments the number of frames in the ARQ table 15 by +1.
While counting up, the reception frame number of ACK and the measurement start frame number are checked. When they match, the delay measuring unit 115 sets the transmission frame number of the ARQ table 15 in which the frame number of the next transmission is set to A.
The measurement start frame number of the RQ table 15 is set, and the number of measurements is incremented by +1. When the number of times of measurement is counted up, the delay measuring unit 115 checks whether or not the number of times of measurement and the number of times of measurement threshold value 142 have been reached, and if not, notifies the reception frame number of the next ACK. Wait for Even if the delay measuring unit 115 does not match the ACK received frame number and the measurement start frame number, the delay measuring unit 115 waits for notification of the next ACK received frame number.

【0048】以上を、装置1と装置2と間でのユーザ同
士のデータのやり取りに従って、遅延の測定の動作を簡
単に示したシーケンス図が図6である。この場合最初に
設定されているRTF値は5(図5による設定)とし、
遅延フレーム数が5に到達したので再送を行い、再送と
平行して遅延の測定を行っている。ただし、装置1側を
送信側で装置2側を受信側として図示している。
FIG. 6 is a sequence diagram briefly showing the operation of measuring the delay according to the exchange of data between the users between the device 1 and the device 2 as described above. In this case, the RTF value initially set is 5 (setting according to FIG. 5),
Since the number of delayed frames has reached 5, retransmission is performed and the delay is measured in parallel with the retransmission. However, the device 1 side is shown as a transmitting side and the device 2 side is shown as a receiving side.

【0049】やがて、ARQテーブル15の測定回数と
測定回数しきい値142に到達すると、遅延測定部11
5は、RTF値を出すために、<フレーム数/nの切り
上げ+α>を計算し、ARQテーブル15のRTF値に
設定すると共に、ARQテーブル15のフレーム数、測
定開始フレーム番号、および測定回数の各エリアをそれ
ぞれクリア(オール「0」)する。この場合の「フレー
ム数」は、ARQテーブル15のフレーム数を示し、
「n」は、ARQテーブル15の測定回数を示す。ま
た、αは、RTF値の調整値を示し、小さい正の整数
(例えば、1,2等)が望ましい。すなわち、フレーム
数/nは、遅延したフレーム数の平均を示し、更に、整
数になるように切り上げたフレーム数/nの値に+α
(例えば、+1)を加えた値がRTF値となる。
When the number of measurement times and the number of measurement times threshold 142 of the ARQ table 15 are reached, the delay measuring section 11
In order to output the RTF value, 5 calculates <round up of frame number / n + α> and sets it to the RTF value of the ARQ table 15, and at the same time, sets the frame number of the ARQ table 15, the measurement start frame number, and the number of measurements. Clear each area (all "0"). The “frame number” in this case indicates the frame number of the ARQ table 15,
“N” indicates the number of measurements of the ARQ table 15. Further, α represents an adjustment value of the RTF value, and is preferably a small positive integer (eg 1, 2, etc.). That is, the number of frames / n represents the average of the number of delayed frames, and the value of the number of frames / n rounded up to an integer is + α.
The value obtained by adding (for example, +1) becomes the RTF value.

【0050】更に、遅延測定部115は、RTF値を設
定したことをARQプロトコル制御部111に通知す
る。RTF値設定の通知を受けたARQプロトコル制御
部111は、自動的に再設定されたARQテーブル15
のRTF値を用いて再送制御を行うことになる。このよ
うに、データ通信中は再送カウント部114にて常時、
再送回数を監視することにより、最適なRTF値を自動
設定することが可能となる。
Further, the delay measuring section 115 notifies the ARQ protocol control section 111 that the RTF value has been set. Upon receiving the notification of the RTF value setting, the ARQ protocol control unit 111 automatically resets the ARQ table 15
Retransmission control will be performed using the RTF value of. Thus, during the data communication, the retransmission counting unit 114 always
By monitoring the number of retransmissions, it becomes possible to automatically set the optimum RTF value.

【0051】上記の説明において、1つの呼接続だけに
絞って説明したが、ARQテーブル15には、呼毎に独
立に管理できるようになっているため、制御がパラレル
になるだけで、上記の説明で行ったようにそれぞれ独立
した動作になるため、1つの呼接続と同じ動作になるこ
とは明らかである。この場合、ARQテーブル15にア
クセスする各ARQプロトコル制御部111、再送カウ
ンタ部114、および遅延測定部115は、送信元およ
び送信先の識別番号を検索することにより呼を識別す
る。
In the above description, only one call connection is described, but since the ARQ table 15 can be managed independently for each call, only the control becomes parallel and the above-mentioned control is performed. Since the operations are independent as described above, it is clear that the operation is the same as one call connection. In this case, each ARQ protocol control unit 111, the retransmission counter unit 114, and the delay measurement unit 115 that access the ARQ table 15 identify the call by searching the identification numbers of the transmission source and the transmission destination.

【0052】また、上記説明において、ARQテーブル
15の送信元の識別番号と送信先の識別番号を呼毎の判
別に使用したが、呼の識別ができる識別番号をARQテ
ーブル15に設けても良い。
Further, in the above description, the identification number of the transmission source and the identification number of the transmission destination of the ARQ table 15 are used for discrimination for each call, but an identification number capable of identifying the call may be provided in the ARQ table 15. .

【0053】[0053]

【発明の効果】以上説明したように、本発明は、呼接続
時にARQプロトコルで使用するフレーム番号を基にR
TF値をフレキシブルに自動設定するようにしているた
め、伝送経路の違いやローミング等によって発生する伝
送遅延の差分に容易に対応でき、効率良いデータ通信が
実現できるという効果がある。更に、呼毎にRTFを設
定するようにしているため、環境の条件の違った複数の
装置間でのやり取りが、その環境にあったRTF値を使
用できるという効果がある。
As described above, according to the present invention, R is based on the frame number used in the ARQ protocol at the time of call connection.
Since the TF value is flexibly and automatically set, there is an effect that it is possible to easily cope with a difference in transmission path and a difference in transmission delay caused by roaming, etc., and to realize efficient data communication. Further, since the RTF is set for each call, there is an effect that the RTF value suitable for the environment can be used for the exchange between a plurality of devices having different environment conditions.

【0054】また、本発明は、呼毎のデータ転送中に一
定時間内のフレームの再送回数を規定回数に到達する
と、ARQプロトコルで使用するフレーム番号を基にR
TF値をフレキシブルに自動設定するようにしているた
め、伝送経路の違いやローミング等によって発生する伝
送遅延の差分に容易に対応でき、効率良いデータ通信が
実現できるという効果がある。
Further, according to the present invention, when the number of times of retransmitting a frame within a fixed time reaches a prescribed number during data transfer for each call, R is based on the frame number used in the ARQ protocol.
Since the TF value is flexibly and automatically set, there is an effect that it is possible to easily cope with a difference in transmission path and a difference in transmission delay caused by roaming, etc., and to realize efficient data communication.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施の形態におけるシステムの構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a system according to an embodiment of the present invention.

【図2】図1の制御部がARQプロトコルに伴いプログ
ラム制御で動作する場合の機能の構成を示す機能ブロッ
ク図である。
FIG. 2 is a functional block diagram showing a functional configuration when the control unit of FIG. 1 operates under program control according to the ARQ protocol.

【図3】図1のARQテーブル15内の構成を示す構成
図である。
3 is a configuration diagram showing a configuration in an ARQ table 15 of FIG.

【図4】図1の装置間でARQプロトコルに基づいてや
り取りされるARQフレーム内のフォーマットの構成の
概略を示す構成概略図である。
4 is a schematic configuration diagram showing an outline of a configuration of a format in an ARQ frame exchanged between the devices of FIG. 1 based on an ARQ protocol.

【図5】図1の装置間でのネゴシエーション中における
遅延測定を行っている例を示したシーケンス図である。
5 is a sequence diagram showing an example in which delay measurement is performed during negotiation between the devices in FIG. 1. FIG.

【図6】図1の装置間でのユーザ同士のデータ転送中に
おける遅延測定を行っている例を示したシーケンス図で
ある。
FIG. 6 is a sequence diagram showing an example in which delay measurement is performed during data transfer between users between the devices in FIG.

【符号の説明】[Explanation of symbols]

1,2 装置 11 制御部 12 インタフェース部 13 タイマ 15 ARQテーブル 111 ARQプロトコル制御部 112 送信フレーム制御部 113 受信フレーム制御部 114 再送カウンタ部 115 遅延測定部 141 再送しきい値 142 測定回数しきい値 1, 2 device 11 Control unit 12 Interface part 13 timer 15 ARQ table 111 ARQ protocol control unit 112 Transmission frame control unit 113 Received frame control unit 114 Retransmission counter section 115 Delay measurement unit 141 Retransmission threshold 142 Measurement count threshold

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 自動再送制御プロトコルによってデータ
の送受信を行う装置の自動再送制御プロトコルにおける
待ちフレーム数の自動設定方式であって、相手先と呼接
続してフレームの送受信が始まった場合に呼毎の送信フ
レームのフレーム番号と同じフレーム番号のACKを受
信するまでに受信したACKの受信数の平均値の整数を
算出してその算出した平均値に予め決められた調整値を
加えた値を測定してその測定した値を待ちフレーム数と
して設定する遅延測定手段と、を有することを特徴とす
る自動再送制御プロトコルにおける待ちフレーム数の自
動設定方式。
1. A method of automatically setting the number of waiting frames in an automatic retransmission control protocol of a device that transmits and receives data by the automatic retransmission control protocol, and when each frame is transmitted and received when a call connection is established with a partner. The average value of the number of ACKs received until the ACK with the same frame number as the frame number of the transmission frame is calculated, and the value obtained by adding a predetermined adjustment value to the calculated average value is measured. And a delay measuring unit that sets the measured value as the number of waiting frames, the automatic setting method of the number of waiting frames in the automatic retransmission control protocol.
【請求項2】 自動再送制御プロトコルによってデータ
の送受信を行う装置の自動再送制御プロトコルにおける
待ちフレーム数の自動設定方式であって、呼毎のデータ
転送中に一定時間内のフレームの再送回数をカウントし
てしきい値に到達した場合に遅延の測定を促す再送カウ
ンタ手段と、前記遅延の測定を促された場合に呼毎の送
信フレームのフレーム番号と同じフレーム番号のACK
を受信するまでに受信したACKの受信数の平均値の整
数を算出してその算出した平均値に予め決められた調整
値を加えた値を測定してその測定した値を待ちフレーム
数として設定する遅延測定手段と、を有することを特徴
とする自動再送制御プロトコルにおける待ちフレーム数
の自動設定方式。
2. A method of automatically setting the number of waiting frames in an automatic retransmission control protocol of a device that transmits and receives data by the automatic retransmission control protocol, and counts the number of frame retransmissions within a fixed time during data transfer for each call. Retransmission counter means for promoting the measurement of the delay when the threshold is reached, and ACK of the same frame number as the frame number of the transmission frame for each call when the measurement of the delay is prompted.
Calculate the integer of the average value of the number of ACKs received before receiving, and measure the value obtained by adding a predetermined adjustment value to the calculated average value, and set the measured value as the number of waiting frames An automatic setting method of the number of waiting frames in the automatic retransmission control protocol, which comprises:
【請求項3】 自動再送制御プロトコルによってデータ
の送受信を行う装置の自動再送制御プロトコルにおける
待ちフレーム数の自動設定方式であって、相手先と呼接
続してフレームの送受信が始まった場合に、送信し続け
るフレームの送信フレーム番号と同じ値の受信フレーム
番号を受信するまでを1回の測定回数としてカウントす
る測定カウント手段と、前記測定カウント手段でACK
を受信する毎にACKのフレーム数をカウントするフレ
ーム数カウント手段と、前記測定手段による前記測定回
数が予め決められた回数に到達すると、その測定回数毎
にカウントした前記フレーム数を基に待ちフレーム数を
設定する設定手段とを有することを特徴とする自動再送
制御プロトコルにおける待ちフレーム数の自動設定方
式。
3. A method of automatically setting the number of waiting frames in an automatic retransmission control protocol of an apparatus that transmits and receives data by an automatic retransmission control protocol, and transmits when a frame is transmitted and received by connecting with a destination. Measurement count means for counting the number of times until the reception frame number having the same value as the transmission frame number of the frame to be continued is received as one measurement, and the measurement counting means ACKs
Frame number counting means for counting the number of ACK frames each time it receives, and when the number of times of measurement by the measuring means reaches a predetermined number, a waiting frame based on the number of frames counted for each number of times of measurement. An automatic setting method for the number of waiting frames in an automatic retransmission control protocol, characterized in that it has a setting means for setting the number.
【請求項4】 自動再送制御プロトコルによってデータ
の送受信を行う装置の自動再送制御プロトコルにおける
待ちフレーム数の自動設定方式であって、フレームの再
送を行った場合に1回の再送回数としてカウントする再
送カウント手段と、予め決められた時間内に前記再送回
数が予め決められた回数に到達した場合に送信し続ける
フレームの送信フレーム番号と同じ値の受信フレーム番
号を受信するまでを1回の測定回数としてカウントする
測定カウント手段と、測定カウント手段でACKを受信
する毎にACKのフレーム数をカウントするフレーム数
カウント手段と、前記測定回数が予め決められた回数に
到達した場合にその測定回数毎にカウントした前記フレ
ーム数を基に待ちフレーム数を設定する設定手段と、を
有することを特徴とする自動再送制御プロトコルにおけ
る待ちフレーム数の自動設定方式。
4. A method of automatically setting the number of waiting frames in an automatic retransmission control protocol of a device that transmits and receives data by an automatic retransmission control protocol, wherein when the frame is retransmitted, the retransmission is counted as one retransmission Counting means and one measurement number of times until the reception frame number having the same value as the transmission frame number of the frame that continues to be transmitted when the number of retransmissions reaches a predetermined number within a predetermined time A measurement count means for counting as, a frame number count means for counting the number of ACK frames each time an ACK is received by the measurement count means, and a number of measurement times when the number of measurements reaches a predetermined number. Setting means for setting the number of waiting frames based on the counted number of frames, A method for automatically setting the number of waiting frames in the automatic retransmission control protocol.
【請求項5】 前記待ちフレーム数は、前記フレーム数
の平均値の整数に予め決められた整の調整数を加えたこ
とを特徴とする請求項3または4記載の自動再送制御プ
ロトコルにおける待ちフレーム数の自動設定方式。
5. The waiting frame in the automatic retransmission control protocol according to claim 3, wherein the number of waiting frames is obtained by adding an adjustment number of a predetermined integer to an integer of the average value of the number of frames. Automatic number setting method.
【請求項6】 前記待ちフレーム数は、呼毎に設定する
ことを特徴とする請求項3,4,または5記載の自動再
送制御プロトコルにおける待ちフレーム数の自動設定方
式。
6. The automatic setting method for the number of waiting frames in the automatic retransmission control protocol according to claim 3, 4, or 5, wherein the number of waiting frames is set for each call.
【請求項7】 自動再送制御プロトコルによってデータ
の送受信を行う装置の自動再送制御プロトコルにおける
待ちフレーム数の自動設定方式であって、相手先と呼接
続してフレームの送受信が始まった場合に呼毎の送信フ
レームのフレーム番号と同じフレーム番号のACKを受
信するまでに受信したACKの受信数の平均値の整数を
算出し、その算出した平均値に予め決められた調整値を
加えた値を測定し、その測定した値を待ちフレーム数と
して設定することを特徴とする自動再送制御プロトコル
における待ちフレーム数の自動設定方法。
7. A method for automatically setting the number of waiting frames in an automatic retransmission control protocol of a device that transmits and receives data by the automatic retransmission control protocol, and when each frame is transmitted and received when a call connection is established with a partner. The average value of the number of ACKs received until the ACK with the same frame number as the frame number of the transmission frame is calculated, and the value obtained by adding a predetermined adjustment value to the calculated average value is measured. Then, the measured value is set as the number of waiting frames, and the method of automatically setting the number of waiting frames in the automatic retransmission control protocol.
【請求項8】 自動再送制御プロトコルによってデータ
の送受信を行う装置の自動再送制御プロトコルにおける
待ちフレーム数の自動設定方式であって、呼毎のデータ
転送中に一定時間内のフレームの再送回数をカウントし
てしきい値に到達したかどうかを判別し、前記しきい値
に到達した場合に呼毎の送信フレームのフレーム番号と
同じフレーム番号のACKを受信するまでに受信したA
CKの受信数の平均値の整数を算出し、その算出した平
均値に予め決められた調整値を加えた値を測定し、その
測定した値を待ちフレーム数として設定することを特徴
とする自動再送制御プロトコルにおける待ちフレーム数
の自動設定方法。
8. A method of automatically setting the number of waiting frames in an automatic retransmission control protocol of a device that transmits and receives data by the automatic retransmission control protocol, and counts the number of frame retransmissions within a fixed time during data transfer for each call. Then, it is determined whether or not the threshold value is reached, and when the threshold value is reached, the A received until the ACK having the same frame number as the frame number of the transmission frame for each call is received.
Automatically characterized by calculating an integer of the average value of the number of CK receptions, measuring a value obtained by adding a predetermined adjustment value to the calculated average value, and setting the measured value as the number of waiting frames A method for automatically setting the number of waiting frames in the retransmission control protocol.
【請求項9】 自動再送制御プロトコルによってデータ
の送受信を行う装置の自動再送制御プロトコルにおける
待ちフレーム数の自動設定方法であって、相手先と呼接
続してフレームの送受信が始まった場合に、送信し続け
るフレームの送信フレーム番号と同じ値の受信フレーム
番号を受信するまでを1回の測定回数としてカウントす
ると共にその間ACKを受信する毎にACKのフレーム
数をカウントし、前記測定回数が予め決められた回数に
到達すると、その測定回数毎にカウントした前記フレー
ム数を基に待ちフレーム数を設定することを特徴とする
自動再送制御プロトコルにおける待ちフレーム数の自動
設定方法。
9. A method for automatically setting the number of waiting frames in the automatic retransmission control protocol of a device that transmits and receives data by the automatic retransmission control protocol, which is transmitted when a frame is transmitted and received by connecting with a destination. The number of ACK frames is counted every time an ACK is received, and the number of ACK frames is counted every time an ACK is received. A method for automatically setting the number of waiting frames in the automatic retransmission control protocol, wherein the number of waiting frames is set on the basis of the number of frames counted for each of the measurement times.
【請求項10】 自動再送制御プロトコルによってデー
タの送受信を行う装置の自動再送制御プロトコルにおけ
る待ちフレーム数の自動設定方法であって、フレームの
再送を行った場合に1回の再送回数としてカウントし、
予め決められた時間内に前記再送回数が予め決められた
回数に到達すると、送信し続けるフレームの送信フレー
ム番号と同じ値の受信フレーム番号を受信するまでを1
回の測定回数としてカウントすると共にその間ACKを
受信する毎にACKのフレーム数をカウントし、前記測
定回数が予め決められた回数に到達すると、その測定回
数毎にカウントした前記フレーム数を基に待ちフレーム
数を設定することを特徴とする自動再送制御プロトコル
における待ちフレーム数の自動設定方法。
10. A method for automatically setting the number of waiting frames in an automatic retransmission control protocol of a device that transmits and receives data according to an automatic retransmission control protocol, wherein when a frame is retransmitted, it is counted as one retransmission count,
When the number of times of retransmission reaches a predetermined number of times within a predetermined time, 1 is set until the reception frame number having the same value as the transmission frame number of the frame to be continuously transmitted is received.
The number of times of measurement is counted and the number of ACK frames is counted each time an ACK is received, and when the number of times of measurement reaches a predetermined number of times, it waits based on the number of frames counted for each number of times of measurement. A method for automatically setting the number of waiting frames in an automatic retransmission control protocol, characterized by setting the number of frames.
【請求項11】 待ちフレーム数は、前記フレーム数の
平均値の整数に予め決められた整の調整数を加えたこと
を特徴とする請求項9または10記載の自動再送制御プ
ロトコルにおける待ちフレーム数の自動設定方法。
11. The number of waiting frames in the automatic retransmission control protocol according to claim 9, wherein the number of waiting frames is obtained by adding an adjustment number of a predetermined integer to an integer of the average value of the number of frames. Automatic setting method.
【請求項12】 前記待ちフレーム数は、呼毎に設定す
ることを特徴とする請求項9,10,または11記載の
自動再送制御プロトコルにおける待ちフレーム数の自動
設定方法。
12. The method for automatically setting the number of waiting frames in the automatic retransmission control protocol according to claim 9, 10, or 11, wherein the number of waiting frames is set for each call.
JP2002020316A 2002-01-29 2002-01-29 System and method for automatically setting number of waiting frames in automatic retransmission control protocol Withdrawn JP2003224548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002020316A JP2003224548A (en) 2002-01-29 2002-01-29 System and method for automatically setting number of waiting frames in automatic retransmission control protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002020316A JP2003224548A (en) 2002-01-29 2002-01-29 System and method for automatically setting number of waiting frames in automatic retransmission control protocol

Publications (1)

Publication Number Publication Date
JP2003224548A true JP2003224548A (en) 2003-08-08

Family

ID=27743840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002020316A Withdrawn JP2003224548A (en) 2002-01-29 2002-01-29 System and method for automatically setting number of waiting frames in automatic retransmission control protocol

Country Status (1)

Country Link
JP (1) JP2003224548A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013030930A (en) * 2011-07-27 2013-02-07 Denso Corp Communication device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013030930A (en) * 2011-07-27 2013-02-07 Denso Corp Communication device

Similar Documents

Publication Publication Date Title
JP5357295B2 (en) Method and apparatus for processing error control messages in a wireless communication system
RU2408146C2 (en) Method and device for controlling data block transmission
CA2421071C (en) Method and apparatus for supporting radio acknowledgement information for a uni-directional user data channel
JP3248348B2 (en) Communication method and communication device
US7436854B2 (en) Transmitter device for controlling data transmission
JP2022550189A (en) HARQ process management method and apparatus, terminal, and storage medium
JP2008005021A (en) Retransmission control method and device
EP2670188A1 (en) Cqi reporting method, cqi acquisition method, system, terminal and base station
JP2003189368A (en) Mobile communication system
WO2016127666A1 (en) Rlc data packet offloading method, and base station
RU2008142553A (en) METHOD AND DEVICE FOR CONTINUOUS RECEIVING OF A CONNECTED TERMINAL IN A MOBILE COMMUNICATION SYSTEM
JP2002152843A (en) Re-transmission control method and system
EP2299618A2 (en) Method and system for transmitting and receiving management message in communication network
WO2015113259A1 (en) Data processing method, communication device and system
JP4394017B2 (en) Wireless communication method
JP3694266B2 (en) Synchronization method and apparatus
JP2003224548A (en) System and method for automatically setting number of waiting frames in automatic retransmission control protocol
WO2013117066A1 (en) Method and device for detecting user equipment abnormity in long term evolution system
JPH10210530A (en) Radio packet access method
CN107959554B (en) A kind of repeating method and device of data
CN108293210B (en) Cell switching method and equipment
TW200810479A (en) Transmission parameter modification control method and radio base station
RU2005130768A (en) TIME SYNCHRONIZATION FRAME WITH TIME LOCK IN WIRELESS NETWORKS
CN107800515A (en) A kind of data transmission method and system for radio link layer
JP3870771B2 (en) Channel switching method and channel switching method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050405