JP2001268093A - Data transmitter - Google Patents

Data transmitter

Info

Publication number
JP2001268093A
JP2001268093A JP2000078327A JP2000078327A JP2001268093A JP 2001268093 A JP2001268093 A JP 2001268093A JP 2000078327 A JP2000078327 A JP 2000078327A JP 2000078327 A JP2000078327 A JP 2000078327A JP 2001268093 A JP2001268093 A JP 2001268093A
Authority
JP
Japan
Prior art keywords
data
transmission
transmission frame
host device
terminal device
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.)
Granted
Application number
JP2000078327A
Other languages
Japanese (ja)
Other versions
JP4523694B2 (en
Inventor
Mitsuru Higashiyama
東山  満
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.)
Anritsu Corp
Original Assignee
Anritsu 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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP2000078327A priority Critical patent/JP4523694B2/en
Publication of JP2001268093A publication Critical patent/JP2001268093A/en
Application granted granted Critical
Publication of JP4523694B2 publication Critical patent/JP4523694B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data transmitter that can always ensure best data transmission efficiency at that point of time even when communication quality of a communication network largely changes. SOLUTION: A TFTP file transfer protocol is adopted for a host device 22 and a terminal 24 when fragment processing is applied to data transmission between them, and the host device 22 counts the number of confirmed response CA received from the terminal 124 and the number of re-transmission CR of the host device 22 to calculate a re-transmission rate RR and to monitor it. Using the fragment processing depending on the increase/decrease in the monitored re-transmission rate RR can increase/decrease a data quantity of a transmission frame 30 transmitted simultaneously.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は通信ネットワークに
接続されたホスト装置と端末装置との間又は端末装置相
互間でデータを伝送するデータ伝送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission device for transmitting data between a host device and a terminal device connected to a communication network or between terminal devices.

【0002】[0002]

【従来の技術】LAN(ローカル・エリア・ネットワー
ク)等の通信ネットワークを利用して構築された情報処
理システムにおいては、例えば図6に示すように、LA
N等の通信ネットワークの伝送路1に対して1台のホス
ト装置2と複数台の端末装置3が接続されている。各端
末装置3は例えばX端末,プリンタ,表示装置,データ
入力装置,画像読取装置,送受信装置等の自己でデータ
処理機能を有した周辺機器等で構成されている。
2. Description of the Related Art In an information processing system constructed by using a communication network such as a LAN (local area network), for example, as shown in FIG.
One host device 2 and a plurality of terminal devices 3 are connected to a transmission line 1 of a communication network such as N. Each terminal device 3 is composed of a peripheral device having its own data processing function, such as an X terminal, a printer, a display device, a data input device, an image reading device, a transmitting / receiving device, and the like.

【0003】そして、このような情報処理システムのな
かには、この情報処理システムの立上げ時に、ホスト装
置2のデータファイル4に記憶されているプログラムの
データを通信ネットワークの伝送路1を介して各端末装
置3へ送信し、各端末装置3の記憶部に書込む(ダウン
ロード)システムがある。このような情報処理システム
においては、ホスト装置2内の制御プログラム上に構成
されたダウンロードサーバ5が上述したデータの各端末
装置3に対するデータ送信処理を実行する。
In such an information processing system, when starting up the information processing system, data of a program stored in a data file 4 of a host device 2 is transmitted to each terminal via a transmission line 1 of a communication network. There is a (download) system in which the data is transmitted to the device 3 and written in the storage unit of each terminal device 3. In such an information processing system, the download server 5 configured on the control program in the host device 2 executes the above-described data transmission processing of the data to each terminal device 3.

【0004】一般に、システム立上時に各端末装置3へ
送信すべきデータ量は多く、これらのデータを一度に送
信できないので、図7(a)に示すように、送信すべき
全データ6を、一回の伝送フレームに組込むことが可能
な例えば512byte長に分割して、分割された各データ
7を図7(b)に示す伝送フレーム8に組込んで伝送路
1を介して端末装置3へ送信する。
In general, the amount of data to be transmitted to each terminal device 3 when the system is started up is large, and these data cannot be transmitted at one time. Therefore, as shown in FIG. The data 7 is divided into, for example, 512-byte lengths that can be incorporated into one transmission frame, and each divided data 7 is incorporated into a transmission frame 8 shown in FIG. Send.

【0005】このデータ伝送には、一般に、TCP/I
P体系のファイル転送プロトコルの一種であるTFTP
(トリビアル・ファイル転送プロトコル)が用いられ
る。
[0005] Generally, TCP / I is used for this data transmission.
TFTP which is a kind of file transfer protocol of P system
(Trivial file transfer protocol).

【0006】図7(c)はこのTFTPプロトコルが規
定する分割された各データ7に対するデータ伝送を示す
シーケンス図である。
FIG. 7 (c) is a sequence diagram showing data transmission for each of the divided data 7 defined by the TFTP protocol.

【0007】最初に端末装置3からホスト装置2に対し
て送信要求REQが送信される。ホスト装置2は送信要
求REQを受領すると、図7(b)に示すように、デー
タ7とTFTPヘッダとを伝送フレーム8に組込んでデ
ータグラムとして端末装置3へ送信する。データ(DA
TA)7が組込まれた伝送フレーム8を受信した端末装
置3は、確認応答(ACK)をホスト装置2へ応答す
る。
[0007] First, a transmission request REQ is transmitted from the terminal device 3 to the host device 2. Upon receiving the transmission request REQ, the host device 2 incorporates the data 7 and the TFTP header into the transmission frame 8 and transmits them to the terminal device 3 as a datagram, as shown in FIG. Data (DA
The terminal device 3 that has received the transmission frame 8 in which the TA) 7 is embedded responds to the host device 2 with an acknowledgment (ACK).

【0008】確認応答(ACK)を受信したホスト装置
2は次のデータ7にTFTPヘッダを付加し伝送フレー
ム8に組込んでデータグラムとして端末装置3へ送信す
る。
The host device 2 that has received the acknowledgment (ACK) adds a TFTP header to the next data 7, incorporates it into the transmission frame 8, and transmits it to the terminal device 3 as a datagram.

【0009】図7(b)示す各伝送フレーム8に組込ま
れるTFTPヘッダ内には、全データ6のうちの各デー
タ7の送信順次を特定するブロック番号BNが組込まれ
ている。そして、伝送フレーム8を正常に受信した端末
装置3はこの伝送フレーム8に含まれるブロック番号B
Nを確認応答(ACK)に組込んでホスト装置2へ応信
する。
[0009] In the TFTP header incorporated in each transmission frame 8 shown in FIG. 7B, a block number BN for specifying the transmission order of each data 7 of all data 6 is incorporated. Then, the terminal device 3 that has received the transmission frame 8 normally receives the block number B included in the transmission frame 8.
N is incorporated in the acknowledgment (ACK) and transmitted to the host device 2.

【0010】一方、端末装置3は、受信した伝送フレー
ム8が破壊していた場合は、今回受信した伝送フレーム
8ではなく、一つ前に正常に受信した伝送フレーム8に
含まれるブロック番号BNを確認応答(ACK)に組込
んでホスト装置2へ応信する。
On the other hand, if the received transmission frame 8 has been destroyed, the terminal device 3 uses the block number BN included in the immediately preceding transmission frame 8 instead of the currently received transmission frame 8. It is incorporated into the acknowledgment (ACK) and transmitted to the host device 2.

【0011】また、端末装置3内にはTFTPタイマが
設けられている。端末装置3が伝送フレーム8を受信す
ると確認応答(ACK)をホスト装置2へ応答し、TF
TPタイマを起動する。そして、規定時間内に次の伝送
フレーム8の受信をしない場合は、伝送フレーム8が途
中で消滅したと判断して、一つ前に正常に受信した伝送
フレーム8に含まれるブロック番号BNを確認応答(A
CK)に組込んでホスト装置2へ応信する。
Further, a TFTP timer is provided in the terminal device 3. When the terminal device 3 receives the transmission frame 8, an acknowledgment (ACK) is sent to the host device 2 and the TF
Start the TP timer. If the next transmission frame 8 is not received within the specified time, it is determined that the transmission frame 8 has disappeared halfway, and the block number BN included in the previous normally received transmission frame 8 is confirmed. Response (A
CK) and responds to the host device 2.

【0012】ホスト装置2は、端末装置3から確認応答
(ACK)を受信すると、この確認応答(ACK)に含
まれるブロック番号BNの次のブロック番号のデータ7
をブロック番号BNと共に伝送フレーム8に組込んでデ
ータグラムとして端末装置3へ送信する。
When the host device 2 receives the acknowledgment (ACK) from the terminal device 3, the host device 2 receives data 7 of the block number next to the block number BN included in the acknowledgment (ACK).
Is transmitted into the transmission frame 8 together with the block number BN and transmitted to the terminal device 3 as a datagram.

【0013】したがって、確認応答(ACK)に今回送
信したデータ7のブロック番号BNが含まれる場合は、
今回送信したデータ7は正常に端末装置3に受信された
と判断できる。しかし、確認応答(ACK)に前回送信
したデータ7のブロック番号BNが含まれる場合は、今
回送信したデータ7は正常に端末装置3に受信されなか
ったと判断できる。したがって、今回送信したデータ7
をブロック番号BNと共に伝送フレーム8に組込んでデ
ータグラムとして再送信する。
Therefore, when the acknowledgment (ACK) includes the block number BN of the data 7 transmitted this time,
It can be determined that the data 7 transmitted this time has been normally received by the terminal device 3. However, when the acknowledgment (ACK) includes the block number BN of the previously transmitted data 7, it can be determined that the data 7 transmitted this time has not been normally received by the terminal device 3. Therefore, the data 7 transmitted this time
Is incorporated in the transmission frame 8 together with the block number BN, and retransmitted as a datagram.

【0014】また、端末装置3から送出された確認応答
(ACK)をホスト装置2が伝送フレーム8の送信時刻
から規定時間内に受信できなかった場合も、一つ前に受
信した確認応答(ACK)に含まれるブロック番号BN
の次の番号のデータ7をブロック番号BNと共に伝送フ
レーム8に組込んでデータグラムとして端末装置3へ再
送信する。
If the host device 2 cannot receive the acknowledgment (ACK) sent from the terminal device 3 within the specified time from the transmission time of the transmission frame 8, the acknowledgment (ACK) received immediately before is received. ) Included in the block number BN
Is incorporated into the transmission frame 8 together with the block number BN, and retransmitted to the terminal device 3 as a datagram.

【0015】このように、512byte長に分割した各デ
ータ7を送信する毎に、確認応答(ACK)を確認して
から、次のデータ7を送信すると、図7(a)に示す全
データ6を送信するために多大の時間が必要となる。よ
って、この情報処理システムが電源投入時点から正常に
稼働状態に移行するまでに多大の準備時間が必要とな
る。
As described above, every time each piece of data 7 divided into 512 bytes is transmitted, an acknowledgment (ACK) is confirmed, and when the next data 7 is transmitted, all data 6 shown in FIG. A great deal of time is required to send the message. Therefore, a large amount of preparation time is required from the time when the information processing system is turned on to the time when the information processing system normally shifts to the operating state.

【0016】このような不都合を解消するために、送信
すべき全データ6を512byteより大きな、例えば、1
5kbyte長で分割することが考えられる。すなわち、1
伝送フレーム送信に要する確認応答(ACK)受信等の
オーバヘッド処理時間はほぼ一定なので、伝送フレーム
長を長くすれば、アプリケーション層において、同サイ
ズのデータ送信に要するオーバヘッド処理時間の総量を
少なくできる。
In order to eliminate such inconvenience, all data 6 to be transmitted must be larger than 512 bytes, for example, 1 byte.
It is conceivable to divide the data by a length of 5 kbytes. That is, 1
Since the overhead processing time such as acknowledgment (ACK) reception required for transmission frame transmission is almost constant, if the transmission frame length is increased, the total amount of overhead processing time required for transmission of data of the same size can be reduced in the application layer.

【0017】しかし、例えば、通信ネットワークがイー
サネット・プロトコルを採用している場合は、最大転送
単位が1500byteであるので、一つの伝送フレームと
して送信できない。したがって、IP層のレベルでこの
分割された15kbyteの各データを送信側でさらに自動
的に1500byte以下に分割して、受信側では元の15
kbyteのデータに再編成するフラグメント処理が採用さ
れている。
However, for example, when the communication network adopts the Ethernet protocol, it cannot be transmitted as one transmission frame because the maximum transfer unit is 1500 bytes. Therefore, at the level of the IP layer, each of the divided 15-kbyte data is automatically further divided into 1500 bytes or less on the transmitting side, and the original 15-byte data is received on the receiving side.
Fragment processing for reorganizing into kbyte data is adopted.

【0018】このフラグメント処理においては、図7
(a)(b)に示す従来のデータ7の512byte長さを
大幅に越えるデータを一度に伝送可能である。このフラ
グメント処理を図8を用いて説明する。
In this fragment processing, FIG.
(A) It is possible to transmit at one time data that greatly exceeds the 512-byte length of the conventional data 7 shown in (b). This fragment processing will be described with reference to FIG.

【0019】このフラグメント処理を行うホスト装置2
のダウンロードサーバ5内部には、図示しない伝送フレ
ーム設定部及びネットワーク制御部が設けられている。
The host device 2 that performs the fragment processing
A transmission frame setting unit and a network control unit (not shown) are provided inside the download server 5.

【0020】ホスト装置2内に設けられた伝送フレーム
設定部は、図8に示すように、送信すべき図7の全送信
データ6を例えば15kbyte単位で分割し、この分割さ
れた各データ(DATA)9が組込まれた伝送フレーム
10を順次作成する。
As shown in FIG. 8, the transmission frame setting section provided in the host device 2 divides all the transmission data 6 of FIG. 7 to be transmitted in units of 15 kbytes, for example, and divides each of the divided data (DATA). ) 9 are sequentially created.

【0021】この作成された伝送フレーム10内には、
前記データ9の他に、IP,UDP,TFTPの各ヘッ
ダが組込まれている。TFTPヘッダ内には、このデー
タ9の全送信データ6内の所属位置を示すブロック番号
BNが組込まれている。そして、伝送フレーム設定部
は、作成した伝送フレーム10をネットワーク制御部へ
転送する。
In the created transmission frame 10,
In addition to the data 9, headers of IP, UDP, and TFTP are incorporated. In the TFTP header, a block number BN indicating the belonging position of the data 9 in all the transmission data 6 is incorporated. Then, the transmission frame setting unit transfers the created transmission frame 10 to the network control unit.

【0022】ネットワーク制御部は、伝送フレーム10
を受領すると、含まれるデータ(DATA)9を予め定
められた規定長で複数のフラグメント化されたデータ1
1に分割して、各データ11に図示する所定のヘッダを
付加し、それぞれIPデータグラム12に組込む。
The network control unit controls the transmission frame 10
Is received, the included data (DATA) 9 is converted into a plurality of fragmented data 1 with a predetermined specified length.
The data is divided into 1 and a predetermined header shown in FIG.

【0023】なお、各データ11のデータ長は規定され
ていないが、IPデータグラム12全体のデータ長が、
例えばイーサネットではヘッダ、FCSを除き最大1500
byte以下になるように設定される。また、各IPデータ
グラム12のデータ長は互いに等しく設定されている
が、最終(N番目)のIPデータグラム12のデータ長
は他のIPデータグラム12のデータ長より短く設定す
る。
Although the data length of each data 11 is not specified, the data length of the entire IP datagram 12 is
For example, in Ethernet, up to 1500 excluding header and FCS
It is set to be less than byte. The data length of each IP datagram 12 is set equal to each other, but the data length of the final (N-th) IP datagram 12 is set shorter than the data length of the other IP datagrams 12.

【0024】先頭のIPデータグラム12には、IP,
UDP,TFTPの各ヘッダが組込まれているが、2番
目以降の各IPデータグラム12にはIPヘッダのみが
組込まれる。TFTPヘッダは伝送フレーム10のTF
TPヘッダと同一のブロック番号BNが付される。ま
た、各IPヘッダは、該当IPデータグラム12のデー
タ11が先の伝送フレーム10のデータ9内においてど
の位置からのデータであるかを示すオフセット値が設定
される。
The first IP datagram 12 includes IP,
Although each header of UDP and TFTP is incorporated, only the IP header is incorporated in each of the second and subsequent IP datagrams 12. The TFTP header is the TF of the transmission frame 10.
The same block number BN as the TP header is assigned. In each IP header, an offset value indicating from which position the data 11 of the relevant IP datagram 12 is the data 9 in the data 9 of the previous transmission frame 10 is set.

【0025】図9は、フラグメント処理した場合のTF
TPファイル転送プロトコルにおけるホスト装置2と端
末装置3との間の情報授受を示すシーケンス図である。
FIG. 9 shows the TF when the fragment processing is performed.
FIG. 4 is a sequence diagram showing information transfer between the host device 2 and the terminal device 3 in the TP file transfer protocol.

【0026】最初に端末装置3からホスト装置2に対し
て送信要求REQが送信される。ホスト装置2のネット
ワーク制御部は送信要求REQを受領すると、図8に示
すN個のIPデータグラム12を順番に伝送路1を介し
て端末装置3へ送信する。N個のIPデータグラム12
を受信した端末装置3はN個のデータ(フラグメントデ
ータ)11を一つのTFTPデータ(元のデータ9)に
再構成し、一括して確認応答(ACK)をホスト装置2
へ応信する。
First, a transmission request REQ is transmitted from the terminal device 3 to the host device 2. Upon receiving the transmission request REQ, the network control unit of the host device 2 transmits the N IP datagrams 12 shown in FIG. N IP datagrams 12
The terminal device 3 that has received the data reconfigures the N data (fragment data) 11 into one TFTP data (original data 9) and collectively sends an acknowledgment (ACK) to the host device 2
Respond to

【0027】すなわち、端末装置3はN個のIPデータ
グラム12の受信処理が終了した時点で確認応答(AC
K)をホスト装置2へ応信する。この場合、N個全ての
IPデータグラム12がその受信順番も含めて正常に受
信したときは、先頭のIPデータグラム12のTFTP
ヘッダに組込まれたブロック番号BNを確認応答(AC
K)に組込む。
That is, the terminal device 3 confirms the acknowledgment (AC) when the reception process of the N IP datagrams 12 is completed.
K) to the host device 2. In this case, when all the N IP datagrams 12 are normally received, including the reception order, the TFTP of the first IP datagram 12 is received.
Acknowledgment of the block number BN embedded in the header (AC
K).

【0028】また、IPデータグラム12が消滅した
り、破壊してN個のうち、一つのIPデータグラム12
でも正常に受信されなかった場合は、今回以前に正常に
受信されたN個のIPデータグラム12の先頭のIPデ
ータグラム12に付されたブロック番号BNを確認応答
(ACK)に組込む。そして、この場合、今回受信した
全てのIPデータグラム12のデータ11を破棄する。
Further, one of the N IP datagrams 12 out of N is destroyed or destroyed.
However, if the data is not normally received, the block number BN added to the first IP datagram 12 of the N IP datagrams 12 normally received before this time is incorporated in the acknowledgment (ACK). Then, in this case, the data 11 of all the IP datagrams 12 received this time are discarded.

【0029】確認応答(ACK)をネットワーク制御部
を介して受信したホスト装置2においては、伝送フレー
ム設定部がデータファイル4から確認応答(ACK)に
含まれるブロック番号BNの次の番号のブロックのデー
タ9を読出して伝送フレーム10に組込んでネットワー
ク制御部へ転送する。ネットワーク制御部は前述した同
一の手順でN個のIPデータグラム12を作成して、端
末装置3へ送信する。
In the host device 2 that has received the acknowledgment (ACK) via the network control unit, the transmission frame setting unit determines from the data file 4 the block of the block next to the block number BN included in the acknowledgment (ACK). The data 9 is read, incorporated into the transmission frame 10, and transferred to the network control unit. The network control unit creates N IP datagrams 12 according to the same procedure as described above, and transmits them to the terminal device 3.

【0030】すなわち、確認応答(ACK)には先頭の
IPデータグラム12に含まれるTFTPヘッダに付加
されるブロック番号BNが転写されるので、IPデータ
グラム12が消滅したり、破壊していた場合は、ホスト
装置2は同一データを再送信する。
That is, since the block number BN added to the TFTP header included in the head IP datagram 12 is transferred to the acknowledgment (ACK), the IP datagram 12 is lost or destroyed. Means that the host device 2 retransmits the same data.

【0031】また、ホスト装置2では、端末装置3から
送信要求されたファイル名が存在しなかった場合は、異
常応答(ERR)を端末装置3へ応答する。
When the file name requested to be transmitted from the terminal device 3 does not exist, the host device 2 sends an abnormal response (ERR) to the terminal device 3.

【0032】このように、ホスト装置2としては、図8
に示す許容データ長を越えるデータ長を有するデータ9
を送信した後に確認応答(ACK)を確認すればよいの
で、送信すべき全データ6を送信する場合における確認
応答(ACK)の送受信回数が大幅に減少するのでシス
テム全体としてのデータ伝送効率が向上する。
As described above, as the host device 2, FIG.
9 having a data length exceeding the allowable data length shown in FIG.
Since the acknowledgment (ACK) need only be confirmed after transmitting the data, the number of times the acknowledgment (ACK) is transmitted and received when all data 6 to be transmitted is transmitted is greatly reduced, so that the data transmission efficiency of the entire system is improved. I do.

【0033】[0033]

【発明が解決しようとする課題】しかしながら、図8,
図9に示すフラグメント処理した場合のTFTPファイ
ル転送プロトコルを採用したデータ伝送手法において
も、まだ解消すべき次のような課題があった。
However, FIG.
The data transmission method employing the TFTP file transfer protocol in the case of performing the fragment processing shown in FIG. 9 also has the following problems to be solved.

【0034】すなわち、LAN等の通信ネットワークに
おける通信品質が良好で、外部雑音等による伝送エラー
が発生しにくい状態においては、図9に示すように、た
とえ大量のデータ11を一括して送信したとしても、ホ
スト装置2がデータを再送する確率は小さい。
That is, in a state where the communication quality in a communication network such as a LAN is good and a transmission error due to external noise or the like is unlikely to occur, as shown in FIG. However, the probability that the host device 2 will retransmit the data is small.

【0035】このような状態においては、伝送フレーム
設定部がネットワーク制御部へ転送する伝送フレーム1
0に組込むデータ9の量をできるだけ大きく設定して、
一括して送信するIPデータグラム12数を増加するこ
とによって、確認応答(ACK)の送受信回数を低減で
きる。よって、データ伝送効率を向上できる。
In such a state, the transmission frame setting unit transmits the transmission frame 1 to the network control unit.
By setting the amount of data 9 to be incorporated in 0 as large as possible,
By increasing the number of IP datagrams 12 to be transmitted collectively, the number of times of transmitting and receiving an acknowledgment (ACK) can be reduced. Therefore, data transmission efficiency can be improved.

【0036】しかしながら、通信ネットワークにおける
通信品質が不良で、外部雑音等による伝送エラーが発生
しやすい場合は、前述したIPデータグラム12の消滅
等が発生する確率が高くなり、ホスト装置2は頻繁に再
送することになる。再送の場合は、一括して送信したN
個全部のIPデータグラム12の送信を再度やり直す必
要がある。
However, if the communication quality in the communication network is poor and a transmission error due to external noise or the like is likely to occur, the probability that the above-mentioned IP datagram 12 will disappear or the like increases, and the host device 2 frequently operates. Will be resent. In the case of retransmission, N
It is necessary to redo the transmission of all the IP datagrams 12.

【0037】送信すべき全データ6を、伝送フレーム設
定部で15kbyteに分割して、これをネットワーク制御
部で1500byte以下に更に分割して送信したとして
も、N個のデータ11のうちわずか1個でも消滅する
と、15kbyte全体のデータ9を再送しなければならな
い。
Even if all the data 6 to be transmitted is divided into 15 kbytes by the transmission frame setting unit and further divided into 1500 bytes or less by the network control unit, only one of the N data 11 is transmitted. However, when it disappears, the data 9 of the entire 15 kbytes must be retransmitted.

【0038】このような伝送フレームの消滅等は、例え
ば複数台の端末装置3に対して同時にダウンロードする
等の通信ネットワークの伝送路1が混むほど頻繁に起き
る。伝送フレームの消滅等が起きるとホスト装置2は再
送する必要がある。そして、再送回数が増加すると、通
信ネットワークの伝送路1はより混むことになり、デー
タ伝送効率が低下する。
Such disappearance of the transmission frame occurs more frequently as the transmission path 1 of the communication network becomes more crowded, for example, downloading to a plurality of terminal devices 3 at the same time. When the transmission frame disappears or the like, the host device 2 needs to retransmit. When the number of retransmissions increases, the transmission path 1 of the communication network becomes more crowded, and the data transmission efficiency decreases.

【0039】このような悪い通信品質の通信ネットワー
クの場合は、伝送フレーム設定部で分割するデータ9の
大きさを小さくし、図8に示す伝送フレーム10に組込
むデータ9の量を少なく設定し、一括して送信するIP
データグラム12数を少なくすることで、たとえ確認応
答(ACK)の送受信回数が増加したとしても、再送時
のデータ9の再送量を少なくすることが提唱されてい
る。
In the case of a communication network having such poor communication quality, the size of the data 9 to be divided by the transmission frame setting unit is reduced, and the amount of the data 9 incorporated in the transmission frame 10 shown in FIG. IP to send collectively
It has been proposed to reduce the number of datagrams 12 to reduce the retransmission amount of data 9 at the time of retransmission even if the number of times of transmission and reception of the acknowledgment (ACK) increases.

【0040】しかし、各端末装置がLANの通信ネット
ワークに対して無線回線で接続されていた場合には、有
線で接続された場合に比較して通信品質が悪く、伝送フ
レームの消失が頻繁に発生する。
However, when each terminal device is connected to a LAN communication network via a wireless line, the communication quality is poor compared to a case where each terminal device is connected via a wired line, and transmission frames are frequently lost. I do.

【0041】また、伝送フレームどうしの衝突に起因す
る伝送フレームの消滅の発生確率が有線通信ネットワー
クの場合に比較して大きい。そして、伝送エラーの発生
の確率が時間帯や外部雑音状況に応じて大きく変動す
る。
Further, the probability of the transmission frame disappearing due to collision between the transmission frames is larger than that in the case of the wired communication network. Then, the probability of occurrence of a transmission error greatly varies depending on the time zone and the external noise situation.

【0042】このように、通信ネットワークにおける通
信品質に合わせて伝送フレーム10に組込むデータ量を
設定すればよい。しかし。通信ネットワークにおける通
信品質は一定値ではなく、その時々における外部雑音の
程度に応じて変化する。さらに、前述したように、同時
にダウンロードされる端末装置3の台数に応じて変化す
る。
As described above, the amount of data to be incorporated in the transmission frame 10 may be set according to the communication quality in the communication network. However. The communication quality in the communication network is not a constant value but changes according to the level of external noise at each time. Further, as described above, it changes according to the number of terminal devices 3 downloaded at the same time.

【0043】したがって、前記ネットワーク制御部へ送
出する伝送フレーム10に組込むデータ9の量を一つの
最適値に設定することが不可能である。その結果、通信
品質が良好な場合は、一括して送信するIPデータグラ
ム12数が少ないことに起因してデータ伝送効率が低下
し、通信品質が不良な場合は、一括して送信するIPデ
ータグラム12数が多い事に起因して伝送フレームの消
滅等による再送時の再送量が上昇して、データ伝送効率
が低下する。
Therefore, it is impossible to set the amount of data 9 incorporated in the transmission frame 10 to be sent to the network control unit to one optimal value. As a result, when the communication quality is good, the data transmission efficiency is reduced due to the small number of IP datagrams 12 to be transmitted collectively, and when the communication quality is poor, the IP data Due to the large number of grams 12, the retransmission amount at the time of retransmission due to the disappearance of the transmission frame or the like increases, and the data transmission efficiency decreases.

【0044】本発明はこのような事情に鑑みてなされた
ものであり、再送率に応じて、ネットワーク制御部へ送
出する伝送フレームのデータ量を可変制御することによ
って、たとえ通信ネットワークの通信品質が大きく変動
したとしても、常にその時点における最良のデータ伝送
効率を確保できるデータ伝送装置を提供することを目的
とする。
The present invention has been made in view of such circumstances, and variably controls the data amount of a transmission frame transmitted to a network control unit according to a retransmission rate, so that the communication quality of a communication network can be improved. It is an object of the present invention to provide a data transmission device that can always ensure the best data transmission efficiency at that time even if it fluctuates greatly.

【0045】[0045]

【課題を解決するための手段】本発明は、ホスト装置の
データファィルに記憶されたデータを複数に分割して通
信ネットワークを介して端末装置へ伝送するデータ伝送
装置に適用される。
The present invention is applied to a data transmission apparatus which divides data stored in a data file of a host device into a plurality of data and transmits the data to a terminal device via a communication network.

【0046】そして、上記課題を解消するために本発明
においては、ホスト装置に対して、データファイルに記
憶されたデータから指定読出量のデータを順次読出し
て、それぞれ伝送フレームに組込んで順次出力する伝送
フレーム設定手段と、伝送フレーム設定手段から順次出
力される伝送フレームのデータを規定データ長を有する
複数のIPデータグラムに分割して、通信ネットワーク
を介して端末装置へ連続して送信するネットワーク制御
部と、端末装置から受信した確認応答数及びこの確認応
答に基づく端末装置に対する前記伝送フレームの再送数
を計数して再送率を算出してこれを監視する再送率監視
手段と、再送率監視手段にて監視されている再送率の増
減に応じて、伝送フレーム設定手段における指定読出量
を減増する伝送フレーム長制御手段とを付加している。
In order to solve the above-mentioned problem, according to the present invention, data of a designated read amount is sequentially read from the data stored in the data file to the host device, and the read data is incorporated into a transmission frame and sequentially output. Transmission frame setting means, and a network for dividing transmission frame data sequentially output from the transmission frame setting means into a plurality of IP datagrams having a prescribed data length and continuously transmitting the divided data to a terminal device via a communication network A control unit, a retransmission rate monitoring unit that counts the number of acknowledgments received from the terminal device and the number of retransmissions of the transmission frame to the terminal device based on the acknowledgment, calculates a retransmission ratio, and monitors the retransmission ratio; Means for increasing or decreasing the designated reading amount in the transmission frame setting means in accordance with an increase or decrease in the retransmission rate monitored by the means. It is added and the arm length control means.

【0047】このように構成されたデータ伝送装置のホ
スト装置においては、伝送フレーム設定手段によって、
データファイルに記憶されたデータから指定された量の
データが順次読み出されて、それぞれ伝送フレームに組
込まれてネットワーク制御部へ順次送出される。ネット
ワーク制御部は伝送フレーム設定手段から転送された伝
送フレームのデータを規定データ長を有する複数のフラ
グメントされたIPデータグラムに分割して、通信ネッ
トワークを介して端末装置へ連続して送信する。
In the host device of the data transmission apparatus thus configured, the transmission frame setting means
A designated amount of data is sequentially read from the data stored in the data file, incorporated into a transmission frame, and sequentially transmitted to the network control unit. The network control unit divides the data of the transmission frame transferred from the transmission frame setting unit into a plurality of fragmented IP datagrams having a specified data length, and continuously transmits the data to the terminal device via the communication network.

【0048】そして、1個の伝送フレームを構成する全
てのIPデータグラムの送信が終了した時点で端末装置
から返信されてくる確認応答数とホスト装置から端末装
置に対する再送数が計数されて再送率が算出される。こ
の再送率が高い場合は、通信ネットワークの通信品質が
悪いので、伝送フレームに組込むデータ量を減少して、
一括して送信するIPデータグラム数を低減させて、伝
送フレームの消滅等による再送時の再送量を減少させ
る。
When the transmission of all IP datagrams constituting one transmission frame is completed, the number of acknowledgments returned from the terminal device and the number of retransmissions from the host device to the terminal device are counted, and the retransmission rate is calculated. Is calculated. If the retransmission rate is high, the communication quality of the communication network is poor.
By reducing the number of IP datagrams to be transmitted collectively, the retransmission amount at the time of retransmission due to the disappearance of a transmission frame or the like is reduced.

【0049】逆に、再送率が低い場合は、通信ネットワ
ークの通信品質が良いので、伝送フレームに組込むデー
タ量を増加して、一括して送信するIPデータグラム数
を増加させて、データ伝送効率を上昇させる。
Conversely, when the retransmission rate is low, the communication quality of the communication network is good, so the amount of data incorporated in the transmission frame is increased, the number of IP datagrams to be transmitted collectively is increased, and the data transmission efficiency is improved. To rise.

【0050】よって、いずれの場合においても、最終的
なデータ伝送効率を向上できる。
Therefore, in any case, the final data transmission efficiency can be improved.

【0051】[0051]

【発目の実施の形態】以下本発明の一実施形態を図面を
用いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0052】図1は本発明の実施形態のデータ伝送装置
が組込まれた情報処理システムの概略構成を示すブロッ
ク図である。LAN等の通信ネットワークの伝送路21
に対して1台のホスト装置22と複数台の送受信機23
が接続されている。各送受信機23に対応する例えばX
端末等の複数台の端末装置24が無線回線を介して接続
されている。
FIG. 1 is a block diagram showing a schematic configuration of an information processing system in which a data transmission device according to an embodiment of the present invention is incorporated. Transmission line 21 of a communication network such as a LAN
One host device 22 and a plurality of transceivers 23
Is connected. For example, X corresponding to each transceiver 23
A plurality of terminal devices 24 such as terminals are connected via a wireless line.

【0053】ホスト装置22は、一種のコンピユータで
構成されており、バスライン25に対して、例えばHD
D等で構成されたデータファイル26,ネットワーク制
御部27,ワークメモリ28,及び各種情報処理を実行
する制御部29が接続されている。
The host device 22 is composed of a kind of computer, and is connected to the bus line 25 by, for example, an HD.
A data file 26 composed of D and the like, a network control unit 27, a work memory 28, and a control unit 29 for executing various information processing are connected.

【0054】データファイル26内には、この情報処理
システムの電源立上げ時に端末装置24へ送信(ダウン
ロード)すべき制御プログラム等からなる大量のデータ
が記憶保持されている。
The data file 26 stores and holds a large amount of data including a control program and the like to be transmitted (downloaded) to the terminal device 24 when the information processing system is powered on.

【0055】また、ワークメモリ28内には、例えば、
ネットワーク制御部27へ送出すべき図2に示す伝送フ
レーム30を一時記憶するフレームメモリ31が形成さ
れている。また、このワークメモリ28内には、図2の
伝送フレーム30に組込むデータ(DATA)32のデ
ータ量を示すサイズSZを記憶するサイズ領域33が形
成されている。なお、この実施形態装置においては、サ
イズ領域33には1kbyte又は15kbyteのいずれかが
設定される。
In the work memory 28, for example,
A frame memory 31 for temporarily storing the transmission frame 30 shown in FIG. 2 to be transmitted to the network control unit 27 is formed. In the work memory 28, a size area 33 for storing a size SZ indicating the data amount of the data (DATA) 32 to be incorporated in the transmission frame 30 of FIG. 2 is formed. In this embodiment, either 1 kbyte or 15 kbyte is set in the size area 33.

【0056】さらに、このワークメモリ28内には、確
認応答(ACK)数CA 及び再送(RTY)数CR を計
数するためのカウンタ38が形成されている。
Further, a counter 38 for counting the number of acknowledgment (ACK) C A and the number of retransmission (RTY) C R is formed in the work memory 28.

【0057】さらに、制御部29内には、制御プログラ
ム上に形成された伝送フレーム設定部34及び伝送フレ
ーム長制御部35が設けられている。
Further, in the control section 29, there are provided a transmission frame setting section 34 and a transmission frame length control section 35 formed on a control program.

【0058】伝送フレーム設定部34は、起動される
と、データファイル26に記憶されているデータからワ
ークメモリ28のサイズ領域33に設定されているサイ
ズSZが指定する量のデータを読出して、図2に示す伝
送フレーム30を作成して一旦フレームメモリ31へ格
納すると共に、ネットワーク制御部27へ送出する。
When activated, the transmission frame setting unit 34 reads out the data specified by the size SZ set in the size area 33 of the work memory 28 from the data stored in the data file 26, and The transmission frame 30 shown in FIG. 2 is created, temporarily stored in the frame memory 31, and sent to the network control unit 27.

【0059】図2に示す伝送フレーム30においては、
先頭にIPヘッダが付され、次にユーザが設定するUD
Pヘッダが付され、次にTFTPヘッダが付され、デー
タ32のデータ量を示すサイズSZを付加する。そし
て、このサイズSZの次にデータファイル26から読出
したデータ(DATA)32が設定される。
In the transmission frame 30 shown in FIG.
IP header is added at the top, and UD set by the user
A P header is added, followed by a TFTP header, and a size SZ indicating the data amount of the data 32 is added. Then, next to the size SZ, data (DATA) 32 read from the data file 26 is set.

【0060】TFTPヘッダ内には、該当伝送フレーム
30のデータ32がデータファイル26内の送信すべき
全データにおけるどの位置(ブロック)かを特定するブ
ロック番号BNが組込まれる。
In the TFTP header, a block number BN for specifying the position (block) of the data 32 of the transmission frame 30 in all data to be transmitted in the data file 26 is incorporated.

【0061】なお、この伝送フレーム30に設定される
データ32の量(サイズ)は、通信ネットワークの伝送
路21上を伝送される伝送フレームのイーサネット(登
録商標)の場合に許容される例えば1518byteの最大フレ
ームサイズより遥かに大きい量である。
The amount (size) of the data 32 set in the transmission frame 30 is, for example, 1518 bytes, which is allowed in the case of the Ethernet (registered trademark) of the transmission frame transmitted on the transmission line 21 of the communication network. This is much larger than the maximum frame size.

【0062】前記ネットワーク制御部27は入力した図
2に示す伝送フレーム30に対するIP層レベルのフラ
グメント処理を実行する。
The network control unit 27 executes an IP layer level fragment process on the input transmission frame 30 shown in FIG.

【0063】すなわち、前述したように、伝送フレーム
設定部34から伝送フレーム30を受領すると、この伝
送フレーム30を予め定められた規定長で分割して複数
のIPデータグラム37を作成する。
That is, as described above, when the transmission frame 30 is received from the transmission frame setting unit 34, the transmission frame 30 is divided into a predetermined specified length to generate a plurality of IP datagrams 37.

【0064】この分割(フラグメント化)を詳述する
と、作成された先頭のIPデータグラム37において
は、図2に示すように、所定長のIPヘッダと、ユーザ
が設定する所定長のUDPヘッダと、データ32のデー
タ量を示すサイズSZと、ブロック番号BN(=1)を
含む所定長のTFTPヘッダと、1500byteから各ヘ
ッダ及びSZが使用する量を除いた長さのデータ(DA
TA)36とからなる。
The division (fragmentation) will be described in detail. In the created first IP datagram 37, as shown in FIG. 2, an IP header having a predetermined length and a UDP header having a predetermined length set by a user are included. , A size SZ indicating the data amount of the data 32, a TFTP header having a predetermined length including a block number BN (= 1), and data (DA) having a length of 1500 bytes excluding the amount used by each header and SZ.
TA) 36.

【0065】2番目以降の各IPデータグラム37にお
いては、IPヘッダと1500byteからIPヘッダが使
用する量を除いた長さのデータ(DATA)36とから
なる。
Each of the second and subsequent IP datagrams 37 includes an IP header and data (DATA) 36 having a length of 1500 bytes excluding the amount used by the IP header.

【0066】先頭のIPデータグラム37には、伝送フ
レーム30のTFTPヘッダのブロック番号BNを含ん
だTFTPヘッダとデータ32のデータ長さを示すサイ
ズSZが組込まれる。
The head IP datagram 37 incorporates a TFTP header including the block number BN of the TFTP header of the transmission frame 30 and a size SZ indicating the data length of the data 32.

【0067】また、各IPデータグラム37のIPヘッ
ダ内には、このデータ36が伝送フレーム30のデータ
32内におけるどの位置から始まるデータ36であるの
かを示すオフセット値が自動的に付加される。そして、
受信側(端末装置24)で、この分割されたデータ36
を元の完全なデータ32に再構成する場合に、このオフ
セット値を用いる。
In the IP header of each IP datagram 37, an offset value indicating from which position in the data 32 of the transmission frame 30 the data 36 starts is automatically added. And
On the receiving side (terminal device 24), the divided data 36
Is used to reconstruct the original complete data 32.

【0068】各IPデータグラム37のヘッダを含むサ
イズは互いに等しく設定されているが、最終(N番目)
のIPデータグラム37のデータ長は端数が出てくるの
で、前述した規定長に満たなくて短くなる。
Although the size of each IP datagram 37 including the header is set equal to each other, the final (N-th)
Since the data length of the IP datagram 37 is fractional, it is shorter than the specified length described above.

【0069】なお、伝送フレーム30が規定長で割切れ
た場合は端数は存在しないが、この場合は、最終のIP
データグラム37に長さ0byteのダミーデータを設定し
て、故意に規定長より短いデータ36を有するIPデー
タグラム37を作成する。
If the transmission frame 30 is divided by the specified length, there is no fraction, but in this case, the final IP
Dummy data having a length of 0 bytes is set in the datagram 37 to intentionally create an IP datagram 37 having data 36 shorter than the specified length.

【0070】このように作成した各IPデータグラム3
7を通信ネットワークの伝送路21を介して端末装置2
4へ伝送する場合におけるホスト装置22と端末装置2
4との間で行われる情報交換のシーケンスは図9で示し
た従来装置におけるシーケンスと同じであるので説明を
省略する。
Each IP datagram 3 created in this way
7 to the terminal device 2 via the transmission line 21 of the communication network.
Host device 22 and terminal device 2 when transmitting to terminal 4
4 is the same as the sequence in the conventional apparatus shown in FIG. 9 and the description is omitted.

【0071】前記端末装置24は、通信ネットワークの
伝送路21及び送受信機23を介してホスト装置22か
ら送信されてきた各IPデータグラム37を受信する毎
に、図3に示すデータ受信処理を実行する。
Each time the terminal device 24 receives each IP datagram 37 transmitted from the host device 22 via the transmission line 21 and the transceiver 23 of the communication network, the terminal device 24 executes the data reception processing shown in FIG. I do.

【0072】図3に示す流れ図が開始され、Q1にて一
つのIPデータグラム37を受信すると、受信したIP
データグラム37が先頭のIPデータグラム37であれ
ば、内蔵したTFTPタイマを起動する(Q2)。この
受信したIPデータグラム37を一旦受信バッファへ書
込む(Q3)。
The flowchart shown in FIG. 3 is started. When one IP datagram 37 is received in Q1, the received IP datagram 37 is received.
If the datagram 37 is the first IP datagram 37, the built-in TFTP timer is started (Q2). The received IP datagram 37 is once written into the reception buffer (Q3).

【0073】そして、規定長1500byte以下のIPデ
ータグラム37を受信するまで(Q4)、次々とIPデ
ータグラム37を受信し、受信バッファへ書込む(Q
3)。この間、IP層レベルでIPヘッダ内部に含まれ
るオフセット値を使用して元のデータ32を再生する。
Until an IP datagram 37 having a specified length of 1500 bytes or less is received (Q4), the IP datagrams 37 are successively received and written into the reception buffer (Q4).
3). During this time, the original data 32 is reproduced using the offset value included in the IP header at the IP layer level.

【0074】規定長1500byte以下のIPデータグラ
ム37が受信され(Q4)、TFTPタイマの時間がま
だ規定時間に達していないことを確認すると(Q5)、
一つの伝送フレーム30を分割して得られたN個のIP
データグラム37全部を受信したと判断する。
When an IP datagram 37 having a specified length of 1500 bytes or less is received (Q4) and it is confirmed that the time of the TFTP timer has not yet reached the specified time (Q5),
N IPs obtained by dividing one transmission frame 30
It is determined that the entire datagram 37 has been received.

【0075】そして、この受信した伝送フレーム30を
構成する全てのデータのデータ長を検出して、このデー
タ長が先頭のIPデータグラム37に含まれるこのデー
タ32のデータ量を示すサイズSZに一致するか否かを
調べる(Q6)。
Then, the data length of all the data constituting the received transmission frame 30 is detected, and this data length matches the size SZ indicating the data amount of the data 32 included in the first IP datagram 37. It is checked whether or not to perform (Q6).

【0076】データ長がサイズSZに一致すると、この
受信したデータはホスト装置22が送信したデータ32
と一致しているので、先頭のIPデータグラム37のT
FTPヘッダに含まれるブロック番号BNを確認応答
(ACK)に組込んでホスト装置22へ送信する(Q
7)。そして、受信バッファに一時記憶した各データを
まとめてデータメモリへ転送する(Q8)。
When the data length matches the size SZ, the received data is the data 32 transmitted by the host device 22.
And the T of the first IP datagram 37
The block number BN included in the FTP header is incorporated in an acknowledgment (ACK) and transmitted to the host device 22 (Q
7). Then, the respective data temporarily stored in the reception buffer are collectively transferred to the data memory (Q8).

【0077】なお、Q5にてTFTPタイマの時間が規
定時間を越えた場合や、Q6にてデータ長がサイズSZ
に一致しないとき、IPデータグラム37や伝送フレー
ム30が途中で消滅したり、破壊したり、データ化け現
象があったと判断する。そして、Q9へ進み、前回正し
く受信したデータ32のブロック番号BNを確認応答
(ACK)に組込んでホスト装置22へ送信する(Q
9)。この場合、受信バッファに一時記憶した各データ
36を破棄する(Q10)。
When the time of the TFTP timer exceeds the specified time in Q5, or when the data length becomes the size SZ in Q6.
Does not match, it is determined that the IP datagram 37 or the transmission frame 30 has disappeared or destroyed on the way, or that the data has been corrupted. Then, the process proceeds to Q9, in which the block number BN of the data 32 correctly received last time is incorporated in an acknowledgment (ACK) and transmitted to the host device 22 (Q
9). In this case, each data 36 temporarily stored in the reception buffer is discarded (Q10).

【0078】ホスト装置22の伝送フレーム設定部34
は、ネットワーク制御部27を介して確認応答(AC
K)を受信すると、データファイル26からサイズ領域
33に記憶されているサイズSZが指定するサイズの次
のブロックのデータを読出して、伝送フレーム30を作
成してネットワーク制御部27へ送出する。
Transmission frame setting unit 34 of host device 22
Acknowledgment (AC) via the network control unit 27
When K) is received, the data of the next block having the size specified by the size SZ stored in the size area 33 is read from the data file 26, the transmission frame 30 is created, and transmitted to the network control unit 27.

【0079】ホスト装置22は、前述したように、今回
送信したブロック番号BNの次のブロック番号BNのデ
ータを送信するので、端末装置24から受信した確認応
答(ACK)に含まれるブロック番号BNが今回送信し
たブロック番号BNと異なれば、この確認応答(AC
K)を再送要求と判断する。そして、この確認応答(A
CK)に含まれるブロック番号BNの次のブロック番号
BNのブロックのデータを伝送フレーム30に組込んで
送信すると共に、ワークメモリ28のカウンタ38の再
送(RTY)数CR に1を加算する。
As described above, since the host device 22 transmits the data of the block number BN next to the block number BN transmitted this time, the block number BN included in the acknowledgment (ACK) received from the terminal device 24 is If it differs from the block number BN transmitted this time, this confirmation response (AC
K) is determined to be a retransmission request. Then, this confirmation response (A
The data block of the next block number BN in block number BN contained in CK) sends incorporated in the transmission frame 30, it adds 1 retransmission (RTY) to the number C R of the counter 38 of the work memory 28.

【0080】また、ホスト装置22は、今回の確認応答
(ACK)を受信した時から、ホスト装置22内部に設
けられたTFTPタイマを起動しており、規定時間経過
する前に、次の確認応答(ACK)を受信しない場合、
単に端末装置24の送信した確認応答(ACK)が途中
で消滅・破壊したのか、それとも送信したデータが端末
装置24に正常に送信できなかったのかの区別ができな
い。
The host device 22 has started the TFTP timer provided inside the host device 22 since the reception of the current acknowledgment (ACK). (ACK) is not received,
It cannot be determined whether the acknowledgment (ACK) transmitted from the terminal device 24 has been lost or destroyed in the middle, or whether the transmitted data has not been transmitted to the terminal device 24 normally.

【0081】したがって、この場合、ホスト装置22は
前回送信したブロック番号BNと同一ブロックのデータ
を伝送フレーム30に組込んで、再送すると共に、ワー
クメモリ28のカウンタ38の再送(RTY)数CR
1を加算する。
Therefore, in this case, the host device 22 embeds the data of the same block as the previously transmitted block number BN in the transmission frame 30 and retransmits it, and at the same time retransmits (RTY) the number C R of the counter 38 of the work memory 28. Is added to.

【0082】また、制御部29の伝送フレーム長制御部
35は、端末装置24からネットワーク制御部27を介
して確認応答(ACK)を受信したり、同一データを再
送する毎に、図4に示すフレーム長制御処理を実行す
る。
Each time the transmission frame length control unit 35 of the control unit 29 receives an acknowledgment (ACK) from the terminal device 24 via the network control unit 27 or retransmits the same data, the transmission frame length control unit 35 shown in FIG. Execute the frame length control processing.

【0083】図4の流れ図が開始され、P1にてホスト
装置22の制御部29がイベントを受信すると、このイ
ベントの種類を調べる(P2)。確認応答(ACK)の
場合は、ワークメモリ28におけるカウンタ38の確認
応答数CA に1を加算する(P3)。また、再送(RT
Y)の場合は、カウンタ38の再送数CR に1を加算す
る(P4)。
When the control section 29 of the host device 22 receives an event at P1, the type of this event is checked (P2). If acknowledgment (ACK) adds 1 to the acknowledgment number C A of the counter 38 in the work memory 28 (P3). Also, resend (RT
For Y), the adds 1 to number of retransmissions C R of the counter 38 (P4).

【0084】そして、P5にて、確認応答数CA と再送
数CR との加算数(CA +CR )が予め定められた50
等の所定単位としての基準数CS に達していない場合
は、P1へ戻り、次のイベントの入力を待つ。
Then, at P5, the number of additions (C A + C R ) of the number of acknowledgments C A and the number of retransmissions C R is set to 50 in advance.
When it does not reach the reference number C S as a predetermined unit of equal returns to P1, waits for input of the next event.

【0085】P5にて、加算数(CA +CR )が基準数
S に達すると、下式に基づいて再送率RR を算出する
(P6)。
At P5, when the number of additions (C A + C R ) reaches the reference number C S , the retransmission rate R R is calculated based on the following equation (P6).

【0086】 RR =[CR /(CA +CR )]×100 (%) P7において、ワークメモリ28のサイズ領域33内に
現在設定されているサイズSZを読取る。そして、現在
のサイズSZが短い方の1kbyteであり、かつ算出した
再送率RR が例えば予め設定された0,05等の基準値
S 未満の場合は(P8)、伝送フレーム30のデータ
32のデータ量を増加しても影響は少ないので、サイズ
領域33に設定されているサイズSZを15kbyteへ変
更する(P9)。
R R = [C R / (C A + C R )] × 100 (%) At P 7, the size SZ currently set in the size area 33 of the work memory 28 is read. Then, a 1kbyte towards the current size SZ is short, and if the calculated retransmission ratio R R is less than the reference value R S of 0,05 or the like which is previously set, for example, (P8), the data 32 of the transmission frame 30 Since the effect is small even if the data amount is increased, the size SZ set in the size area 33 is changed to 15 kbytes (P9).

【0087】また、P10において、現在のサイズSZ
が長い方の15kbyteであり、かつ算出した再送率RR
が例えば予め設定された0,2等の許容上限値RH を越
える場合は、異常発生時のデータの再送回数を減少させ
る目的で、サイズ領域33に設定されているサイズSZ
を小さい方の1kbyteへ変更する(P11)。
In P10, the current size SZ
Is the longer 15 kbytes and the calculated retransmission rate R R
Exceeds a predetermined allowable upper limit value R H such as 0, 2, or the like, the size SZ set in the size area 33 is set to reduce the number of data retransmissions when an error occurs.
Is changed to the smaller 1 kbyte (P11).

【0088】その後、カウンタ38の確認応答数CA
再送数CR とを共に[0]にクリアする(P12)。そ
して、P1へ戻り、次のイベントの入力を待つ。
[0088] Then, to clear the acknowledgment number C A counter 38 and the number of retransmissions C R together [0] (P12). Then, the process returns to P1, and waits for the input of the next event.

【0089】このように構成されたデータ伝送装置にお
いては、伝送フレーム長制御部35によって、フラグメ
ント処理を実行した場合のTFTPファイル転送プロト
コルに従って実行しているデータ伝送における再送率R
R が常時監視されている。
In the data transmission apparatus configured as described above, the retransmission rate R in the data transmission executed according to the TFTP file transfer protocol when the fragment processing is executed by the transmission frame length control unit 35.
R is constantly monitored.

【0090】そして、ネットワーク制御部27へ送出す
る伝送フレーム30のデータサイズSZが短い方の1k
byteに設定されていた状態で、再送率RR が基準値RS
未満の場合は、通信ネットワークの通信品質が良好と考
えられるので、たとえ送信すべき全データにおける伝送
フレーム設定部34で読出すサイズを大きくしても、途
中で伝送フレームやIPデータグラム37の消滅などに
よる再送は少ないと判断して、伝送フレーム30のデー
タサイズSZを長い方の15kbyteに変更する。
Then, the data size SZ of the transmission frame 30 to be sent to the network
With the byte set, the retransmission rate RR becomes the reference value R S
If the value is less than 1, it is considered that the communication quality of the communication network is good. Therefore, even if the size read by the transmission frame setting unit 34 for all data to be transmitted is increased, the transmission frame and the IP datagram 37 disappear on the way. It is determined that the retransmission due to the transmission is small, and the data size SZ of the transmission frame 30 is changed to the longer 15 kbytes.

【0091】したがって、一括して送信するIPデータ
グラム37数を増加して、データファイル26に記憶さ
れている送信すべき全部データの送信完了までにおける
確認応答(ACK)の送受信回数が減少される。よっ
て、データ伝送装置全体としてのデータ伝送効率を向上
できる。
Therefore, the number of IP datagrams 37 to be transmitted collectively is increased, and the number of transmissions and receptions of acknowledgments (ACK) until the transmission of all data to be transmitted stored in the data file 26 is completed is reduced. . Therefore, the data transmission efficiency of the entire data transmission device can be improved.

【0092】逆に、ネットワーク制御部27へ送出する
伝送フレーム30のデータサイズSZが長い方の15k
byteに設定されていた状態で、かつ再送率RR が許容上
限値RH を越える場合は、通信ネットワークの通信品質
が不良と考えられるので、このまま送信すべき全データ
における伝送フレーム設定部34で読出すデータサイズ
SZを大きくしていると、途中で伝送フレームやIPデ
ータグラム37の消滅等による再送は多く、また再送量
が大きいと判断して、伝送フレーム30のデータサイズ
SZを短い方の1kbyteへ変更する。
Conversely, the data size SZ of the transmission frame 30 to be sent to the network
a state was set in byte, and if the retransmission rate R R exceeds the allowable upper limit value R H is, the communication quality of the communication network is considered bad, the transmission frame setting unit 34 in the entire data to be transmitted anyway If the data size SZ to be read is increased, the number of retransmissions due to the disappearance of the transmission frame or the IP datagram 37 is large, and the retransmission amount is determined to be large. Change to 1 kbyte.

【0093】なお、伝送フレーム30のデータ量を小さ
くすると、確認応答(ACK)の送受信回数が増加する
が、この確認応答(ACK)の送受信回数の増加に起因
するデータ伝送効率低下分に比較して、同一の伝送フレ
ーム30を再送信する回数が低下することに起因するデ
ータ伝送効率上昇分の方が格段に大きい。
When the data amount of the transmission frame 30 is reduced, the number of transmissions and receptions of the acknowledgment (ACK) is increased. However, the number of transmissions of the acknowledgment (ACK) increases. Thus, the increase in the data transmission efficiency due to the decrease in the number of retransmissions of the same transmission frame 30 is much larger.

【0094】よって、この場合においても、データ伝送
装置全体としてのデータ伝送効率を向上できる。
Therefore, also in this case, the data transmission efficiency of the entire data transmission device can be improved.

【0095】このように、再送率RR の増減に応じて、
伝送フレーム30に組込むデータ量を自動的に減増させ
ることによって、たとえ通信ネットワークの通信品質が
大きく変動したとして、その時点の通信品質における最
良のデータ伝送効率を確保できる。
[0095] Thus, in accordance with the increase or decrease of the retransmission rate R R,
By automatically increasing or decreasing the amount of data incorporated in the transmission frame 30, even if the communication quality of the communication network greatly fluctuates, the best data transmission efficiency in the communication quality at that time can be secured.

【0096】図5は通信品質とデータファイル26に記
憶されている送信すべき全部のデータを送信するのに必
要な所要時間Tとの関係を示す図である。通信品質が良
い状態においてはデータサイズSZを長く(15kbyt
e)し、通信品質が悪化するとデータサイズSZを短く
(1kbyte)すると、常に短い所要時間Tで必要な量の
データを送信できることが理解できる。
FIG. 5 is a diagram showing the relationship between the communication quality and the required time T required to transmit all the data to be transmitted stored in the data file 26. If the communication quality is good, increase the data size SZ (15 kbits).
e) However, if the communication quality is deteriorated, if the data size SZ is shortened (1 kbyte), it can be understood that a required amount of data can always be transmitted in a short required time T.

【0097】なお、本発明は上述した実施形態に限定さ
れるものではない。実施形態装置においては、伝送フレ
ーム30のデータサイズSZを1kbyteと15kbyteと
の2種類の切換えたが、監視される再送率RR に応じ
て、3段階以上の多段階に切換えることも可能である。
The present invention is not limited to the above embodiment. In embodiments apparatus, a data size SZ of the transmission frame 30 is switched in two types of 1kbyte and 15Kbyte, in response to a retransmission rate R R being monitored, it is also possible to switch to multi-stage or three-stage .

【0098】[0098]

【発明の効果】以上説明したように本発明のデータ伝送
装置においては、再送率に応じて、ネットワーク制御部
へ送出する伝送フレームのデータ量を可変制御してい
る。したがって、たとえ通信ネットワークの通信品質が
大きく変動したとしても、常にその時点における最良の
データ伝送効率を確保できる。
As described above, in the data transmission apparatus of the present invention, the data amount of the transmission frame transmitted to the network control unit is variably controlled according to the retransmission rate. Therefore, even if the communication quality of the communication network fluctuates greatly, the best data transmission efficiency at that time can always be ensured.

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

【図1】 本発明の一実施形態に係わるデータ伝送装置
が組込まれた情報処理システムの概略構成を示すブロッ
ク図
FIG. 1 is a block diagram showing a schematic configuration of an information processing system in which a data transmission device according to an embodiment of the present invention is incorporated.

【図2】 同実施形態装置のネットワーク制御部が行う
フラグメント処理した場合のTFTPデータファイル転
送プロトコルのデータ分割手法を示す図
FIG. 2 is an exemplary view showing a data dividing method of a TFTP data file transfer protocol when a fragment process is performed by a network control unit of the apparatus of the embodiment.

【図3】 同実施形態装置における端末装置の動作を示
す流れ図
FIG. 3 is a flowchart showing the operation of the terminal device in the embodiment device;

【図4】 同実施形態装置におけるホスト装置の動作を
示す流れ図
FIG. 4 is a flowchart showing the operation of the host device in the device of the embodiment.

【図5】 フラグメント処理した場合のTFTPデータ
ファイル転送プロトコルにおける通信品質と所要伝送時
間との関係を示す図
FIG. 5 is a diagram showing a relationship between communication quality and required transmission time in a TFTP data file transfer protocol when a fragment process is performed.

【図6】 一般的な情報処理システムの概略構成を示す
ブロック図
FIG. 6 is a block diagram showing a schematic configuration of a general information processing system.

【図7】 一般的なTFTPデータファイル転送プロト
コルにおけるデータ伝送手順を示す図
FIG. 7 is a diagram showing a data transmission procedure in a general TFTP data file transfer protocol.

【図8】 一般的なフラグメント処理のデータ分割手法
を示す図
FIG. 8 is a diagram showing a data fragmentation method of general fragment processing.

【図9】 一般的なフラグメント処理におけるホスト装
置と端末装置との間の情報交換手順を示すシーケンス図
FIG. 9 is a sequence diagram showing an information exchange procedure between a host device and a terminal device in general fragment processing.

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

21…伝送路、22…ホスト装置、23…送受信機、2
4…端末装置、25…バスライン、26…データファイ
ル、27…ネットワーク制御部、28…ワークメモリ、
29…制御部、30…伝送フレーム、31…フレームメ
モリ、32…データ、33…サイズ領域、34…伝送フ
レーム設定部、35…伝送フレーム長制御部、36…デ
ータ、37…IPデータグラム、38…カウンタ
Reference numeral 21: transmission line, 22: host device, 23: transceiver, 2
4 terminal device, 25 bus line, 26 data file, 27 network control unit, 28 work memory,
29: control unit, 30: transmission frame, 31: frame memory, 32: data, 33: size area, 34: transmission frame setting unit, 35: transmission frame length control unit, 36: data, 37: IP datagram, 38 …counter

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B089 GA01 HB02 JB07 JB15 KA12 KC47 KE02 MC01 ME08 5K033 AA01 CB01 CC01 DA13 DA17 DB16 5K034 AA02 AA05 EE03 EE05 FF02 HH01 HH02 HH04 HH06 HH13 KK21 MM02 MM03 PP05 SS01 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B089 GA01 HB02 JB07 JB15 KA12 KC47 KE02 MC01 ME08 5K033 AA01 CB01 CC01 DA13 DA17 DB16 5K034 AA02 AA05 EE03 EE05 FF02 HH01 HH02 HH04 HH05 HH13 KK21 MM21 PP

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ホスト装置(22)のデータファィル(26)に
記憶されたデータを複数に分割して通信ネットワーク(2
1)を介して端末装置(24)へ伝送するデータ伝送装置にお
いて、 前記ホスト装置(22)は、 前記データファイル(26)に記憶されたデータから指定読
出量のデータを順次読出して、それぞれ伝送フレーム(3
0)に組込んで順次出力する伝送フレーム設定手段(34)
と、 前記伝送フレーム設定手段(34)から順次出力される伝送
フレーム(30)のデータを規定データ長を有する複数のI
Pデータグラム(37)に分割して、前記通信ネットワーク
(21)を介して前記端末装置(24)へ連続して送信するネッ
トワーク制御部(27)と、 前記端末装置(24)から受信した確認応答数及びこの確認
応答に基づく前記端末装置に対する前記伝送フレーム(3
0)の再送数を計数して再送率を算出してこれを監視する
再送率監視手段(P6)と、 この再送率監視手段にて監視されている再送率の増減に
応じて、前記伝送フレーム設定手段における指定読出量
を減増する伝送フレーム長制御手段(35)とを有したこと
を特徴とするデータ伝送装置。
The data stored in a data file (26) of a host device (22) is divided into a plurality of pieces and divided into a plurality of communication networks (2).
In the data transmission device for transmitting to the terminal device (24) via (1), the host device (22) sequentially reads data of a designated read amount from the data stored in the data file (26), and transmits each data. Frame (3
Transmission frame setting means (34) incorporated in (0) and sequentially output
And transmitting the data of the transmission frame (30) sequentially output from the transmission frame setting means (34) to a plurality of I
The communication network is divided into P datagrams (37).
(21) a network control unit (27) for continuously transmitting to the terminal device (24), and the number of acknowledgments received from the terminal device (24) and the transmission to the terminal device based on the acknowledgment. Frame (3
The retransmission rate monitoring means (P6) for counting the number of retransmissions of (0) and calculating and monitoring the retransmission rate, and the transmission frame according to an increase or decrease in the retransmission rate monitored by the retransmission rate monitoring means. A data transmission device comprising transmission frame length control means (35) for reducing and increasing the designated readout amount in the setting means.
JP2000078327A 2000-03-21 2000-03-21 Information processing system Expired - Fee Related JP4523694B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000078327A JP4523694B2 (en) 2000-03-21 2000-03-21 Information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000078327A JP4523694B2 (en) 2000-03-21 2000-03-21 Information processing system

Publications (2)

Publication Number Publication Date
JP2001268093A true JP2001268093A (en) 2001-09-28
JP4523694B2 JP4523694B2 (en) 2010-08-11

Family

ID=18595756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000078327A Expired - Fee Related JP4523694B2 (en) 2000-03-21 2000-03-21 Information processing system

Country Status (1)

Country Link
JP (1) JP4523694B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160551A (en) * 2006-12-25 2008-07-10 Toshiba Corp Radio communication apparatus
JP2008306592A (en) * 2007-06-08 2008-12-18 Univ Nagoya On-board communication system, on-board communication device, and on-vehicle communication method
JP4825270B2 (en) * 2006-03-29 2011-11-30 インテル・コーポレーション Network protocol option optimization through reinforcement learning and propagation
WO2013125175A1 (en) * 2012-02-21 2013-08-29 日本電気株式会社 Communication system, communication method, and data reception terminal
JP2014072565A (en) * 2012-09-27 2014-04-21 Pfu Ltd Image reading system, information processing device, image reading device, image reading method, and computer program
US8769137B2 (en) 2011-06-23 2014-07-01 Honeywell International Inc. Systems and methods for negotiated accelerated block option for trivial file transfer protocol (TFTP)
CN114500506A (en) * 2022-01-21 2022-05-13 四川九洲空管科技有限责任公司 Airborne avionics equipment data loading method and system and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6471360A (en) * 1987-09-11 1989-03-16 Nec Corp Packet multiplex division transmission system
JPH02186733A (en) * 1989-01-13 1990-07-23 Nec Corp System for transmitting radio packet
JPH03128553A (en) * 1989-07-10 1991-05-31 Ricoh Co Ltd Data transmission system
JPH03131143A (en) * 1989-10-16 1991-06-04 Nippon Telegr & Teleph Corp <Ntt> Method for setting packet length
JPH1023017A (en) * 1996-06-28 1998-01-23 Toshiba Corp Communication system, communication terminal equipment and communication method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6471360A (en) * 1987-09-11 1989-03-16 Nec Corp Packet multiplex division transmission system
JPH02186733A (en) * 1989-01-13 1990-07-23 Nec Corp System for transmitting radio packet
JPH03128553A (en) * 1989-07-10 1991-05-31 Ricoh Co Ltd Data transmission system
JPH03131143A (en) * 1989-10-16 1991-06-04 Nippon Telegr & Teleph Corp <Ntt> Method for setting packet length
JPH1023017A (en) * 1996-06-28 1998-01-23 Toshiba Corp Communication system, communication terminal equipment and communication method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4825270B2 (en) * 2006-03-29 2011-11-30 インテル・コーポレーション Network protocol option optimization through reinforcement learning and propagation
US8438248B2 (en) 2006-03-29 2013-05-07 Intel Corporation Optimization of network protocol options by reinforcement learning and propagation
JP2008160551A (en) * 2006-12-25 2008-07-10 Toshiba Corp Radio communication apparatus
JP2008306592A (en) * 2007-06-08 2008-12-18 Univ Nagoya On-board communication system, on-board communication device, and on-vehicle communication method
US8448035B2 (en) 2007-06-08 2013-05-21 National University Corporation Nagoya University Communication system adapting for car, communication apparatus adapting for car, and communication method adapting for car
US8769137B2 (en) 2011-06-23 2014-07-01 Honeywell International Inc. Systems and methods for negotiated accelerated block option for trivial file transfer protocol (TFTP)
WO2013125175A1 (en) * 2012-02-21 2013-08-29 日本電気株式会社 Communication system, communication method, and data reception terminal
JPWO2013125175A1 (en) * 2012-02-21 2015-07-30 日本電気株式会社 Communication system, communication method, and data receiving terminal
US9444604B2 (en) 2012-02-21 2016-09-13 Nec Corporation Communication system, communication method and data receiving terminal
JP2014072565A (en) * 2012-09-27 2014-04-21 Pfu Ltd Image reading system, information processing device, image reading device, image reading method, and computer program
CN114500506A (en) * 2022-01-21 2022-05-13 四川九洲空管科技有限责任公司 Airborne avionics equipment data loading method and system and electronic equipment

Also Published As

Publication number Publication date
JP4523694B2 (en) 2010-08-11

Similar Documents

Publication Publication Date Title
JP4794672B2 (en) Communication method
JP4016387B2 (en) Data flow control method
US20090287844A1 (en) Data Transfer Method, System and Protocol
JP4283589B2 (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND PROGRAM
US6958997B1 (en) TCP fast recovery extended method and apparatus
KR20030054981A (en) Tcp progress apparatus in mobile communication base station
JP2006506866A (en) Data unit transmitter and control method of the transmitter
JP3608660B2 (en) Method, apparatus, and system for transmitting compressed header data
CN114268991A (en) Data transmission method and device, electronic equipment and storage medium
JP2002135357A (en) Control method for data flow in communication system
US11258721B2 (en) Radio link control (RLC) acknowledged mode (AM) data reception
JP6963411B2 (en) Communication equipment, communication methods, and programs
JP2001268093A (en) Data transmitter
US8578040B2 (en) Method, system and article for client application control of network transmission loss tolerance
JP2003037624A (en) Selective packet retransmission for timing control in transmitter terminal
JP2004080070A (en) Data transfer method, data transfer system and content distribution system
EP3939191B1 (en) Device and method for delivering acknowledgment in network transport protocols
CN109963305A (en) Wireless network congestion adjusting method, equipment, storage medium and wireless network
JP7210867B2 (en) Acknowledgment packet transmission method and communication device
JP2002344430A5 (en)
KR100366018B1 (en) Data transmission system and method for transmitting data frames
JP3873751B2 (en) Data communication system
CN116346952A (en) Transmission protocol parameter adjustment method, device, equipment and storage medium
US20070070999A1 (en) Synchronization of historical data without retransmission
JP2005117301A (en) Communication apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091117

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100104

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100525

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100528

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130604

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees