JPH11272573A - File transfer method, file transfer system and recording medium - Google Patents

File transfer method, file transfer system and recording medium

Info

Publication number
JPH11272573A
JPH11272573A JP10070896A JP7089698A JPH11272573A JP H11272573 A JPH11272573 A JP H11272573A JP 10070896 A JP10070896 A JP 10070896A JP 7089698 A JP7089698 A JP 7089698A JP H11272573 A JPH11272573 A JP H11272573A
Authority
JP
Japan
Prior art keywords
divided
transmission
file
divided block
transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10070896A
Other languages
Japanese (ja)
Inventor
Akira Iribe
彰 入部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP10070896A priority Critical patent/JPH11272573A/en
Publication of JPH11272573A publication Critical patent/JPH11272573A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently transfer a data file by minimizing increase of overhead when a communication channel is cut off. SOLUTION: A file to be transferred is transferred as plural divided blocks to be constituted by successively dividing the file from the head by specified amount and adding a block name and error inspection information to each of divided data and reconstructed at the receiving side. Transfer of the divided blocks is one-sidedly performed from the transmitting side to the receiving side until transmission of all the blocks completes or the communication channel C is cut off. And when the communication channel C is cut off by the transmitting side according to completion of transmission of all blocks or the communication line is cut off due to abnormality, etc., of the communication line C, if the divided block in which a transmission error occurs or the divided block which is not yet received exists in the divided block received at the receiving side so far, these blocks are transferred from the transmitting side according to a request from the receiving side.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、通信回線を介して
互いに接続された2つの端末の間でファイル転送を行う
ためのファイル転送方式、このファイル転送方式を適用
したファイル転送システムならびに、このファイル転送
システムを実現するための動作を電子計算機に行わせる
ための動作プログラムを格納した記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file transfer method for transferring a file between two terminals connected to each other via a communication line, a file transfer system to which the file transfer method is applied, and a file transfer method. The present invention relates to a storage medium storing an operation program for causing an electronic computer to perform an operation for implementing a transfer system.

【0002】[0002]

【従来の技術】図13に示すように複数の端末Tを、例
えば有線通信網NTaおよび無線通信網NTbよりなる
通信網NTを介して接続してなり、各端末Tが任意にデ
ータファイルの授受を行いつつ所定の作業を行うように
した共同作業システムが存在する。
2. Description of the Related Art As shown in FIG. 13, a plurality of terminals T are connected via a communication network NT composed of, for example, a wired communication network NTa and a wireless communication network NTb, and each terminal T arbitrarily transmits and receives data files. There is a collaborative work system that performs a predetermined work while performing the work.

【0003】このようなシステムにおける端末間でのデ
ータ転送は従来、データファイルからの分割ブロックの
生成、送信実行、誤り制御(正当性確認、再送信要求、
再送信)、ファイルの再構成などの一連の作業を同時に
行っている。
Conventionally, data transfer between terminals in such a system is performed by generating a divided block from a data file, executing transmission, and performing error control (validity confirmation, retransmission request,
Resend), reconstructing files, and so on.

【0004】そしてファイル転送中に通信回線が切断さ
れた場合には、正常転送されていた部分も含めて全て廃
棄してしまい、回線を再度接続したのちに全ての分割ブ
ロックを初めから送信するものとなっていた。
If the communication line is disconnected during the file transfer, all of the data including the portion transferred normally is discarded, and all the divided blocks are transmitted from the beginning after the line is connected again. Had become.

【0005】このため、再送信によるオーバヘッドが大
きいという不具合があった。特に無線通信網NTbを介
する場合のように通信回線の品質が劣悪な場合には、オ
ーバヘッドが非常に大きくなってしまい、ファイル転送
に多大な時間を要したり、最悪の場合はファイル転送を
実行できないという不具合があった。
[0005] For this reason, there is a problem that overhead due to retransmission is large. In particular, when the quality of the communication line is inferior, for example, via the wireless communication network NTb, the overhead becomes very large, and a long time is required for the file transfer. In the worst case, the file transfer is executed. There was a problem that it could not be done.

【0006】[0006]

【発明が解決しようとする課題】以上のように従来は、
通信回線の切断時には、誤り制御などを行っているため
にただでさえオーバヘッドの増大を招いているデータ転
送動作を最初からやり直すために、オーバヘッドが非常
に大きくなってしまうという不具合があった。
As described above, conventionally,
When the communication line is disconnected, there is a problem that the overhead becomes very large in order to restart the data transfer operation which has caused the increase of the overhead because of error control or the like.

【0007】本発明はこのような事情を考慮してなされ
たものであり、その目的とするところは、通信回線の切
断が生じてしまった場合のオーバヘッドの増加を最小限
に抑えて効率良くデータファイルの転送を行うことを可
能とすることにある。
The present invention has been made in view of such circumstances, and an object of the present invention is to minimize the increase in overhead when a communication line is disconnected and to efficiently reduce data. An object of the present invention is to enable file transfer.

【0008】[0008]

【課題を解決するための手段】以上の目的を達成するた
めに本発明は、送信側の端末では、転送対象ファイルの
データを、先頭から順番に所定量毎に分割するととも
に、これらの分割されたデータのおのおのに前記転送フ
ァイルにおける位置を示す所定の例えばブロック名など
の位置情報と、伝送誤りの有無を検査可能とする所定の
誤り検査情報とを付加してなる複数の分割ブロックを例
えばファイル分割手段によって作成し、この複数の分割
ブロックを、その全ての送信が完了するか、前記通信回
線が切断されるまでの間に例えば分割ブロック送信手段
により順次送信し、前記分割ブロックの全てを送信し終
わったことに応じて、例えば回線切断制御手段および網
制御部によって前記通信回線を切断し、分割ブロックの
送信を一旦停止したのちに受信側の端末から分割ブロッ
クの送信が要求されたならば、その要求された分割ブロ
ックを例えば応要求送信制御手段によって送信する。
In order to achieve the above object, according to the present invention, a transmitting terminal divides data of a transfer target file in order from a head for each predetermined amount, and divides the data of these files. For example, a plurality of divided blocks obtained by adding predetermined position information such as a block name indicating a position in the transfer file and predetermined error check information enabling a check for the presence or absence of a transmission error to each of the data, Divided by the dividing means, and the plurality of divided blocks are sequentially transmitted by, for example, the divided block transmitting means until all the transmission is completed or the communication line is disconnected, and all of the divided blocks are transmitted. In response to the completion, the communication line is disconnected by, for example, the line disconnection control unit and the network control unit, and the transmission of the divided blocks is temporarily stopped. If transmission of the divided blocks from the receiving terminal to the Chi is requested, sends the requested divided blocks, for example by response request transmission control means.

【0009】かつ受信側の端末では、前記通信回線を介
して到来する分割ブロックを例えば分割ブロック受信手
段により受信し、この受信された分割ブロックにおける
伝送誤りの有無を前記誤り検査情報を用いて例えば誤り
検査手段によって検査し、前記通信回線が切断されたの
ちに、前記検査により誤りがあるとされた分割ブロック
や未受信の分割ブロックの送信を例えば送信要求手段に
よって送信側の端末に要求し、前記通信回線が切断され
たときに全ての分割ブロックが誤りなく受信できていた
ならば、転送が完了した旨を例えば転送完了通知手段に
よって送信側の端末に通知し、さらに誤りなく受信でき
た分割ブロックを合成して前記転送対象ファイルを例え
ばファイル再構築手段によって再構築するようにした。
The receiving terminal receives the divided block arriving via the communication line by, for example, divided block receiving means, and determines whether or not there is a transmission error in the received divided block by using the error check information. Inspection by error checking means, after the communication line is disconnected, requesting the transmission side terminal to transmit a divided block or an unreceived divided block determined to be erroneous by the inspection, for example, by transmission requesting means, If all the divided blocks have been received without error when the communication line is disconnected, the completion of the transfer is notified to the transmitting side terminal by, for example, a transfer completion notifying means, and further, the division that can be received without error is transmitted. The transfer target file is reconstructed by, for example, a file reconstructing means by combining blocks.

【0010】このような手段を講じたことにより、転送
対象ファイルは、先頭から順番に所定量毎に分割すると
ともに、これらの分割されたデータのおのおのに前記転
送ファイルにおける位置を示す所定の例えばブロック名
などの位置情報と、伝送誤りの有無を検査可能とする所
定の誤り検査情報とを付加してなる複数の分割ブロック
として転送され、受信側で再構築される。
[0010] By adopting such means, the transfer target file is divided in order from the beginning by a predetermined amount, and each of the divided data has a predetermined block indicating a position in the transfer file. The information is transferred as a plurality of divided blocks to which position information such as a name and predetermined error check information enabling the presence or absence of a transmission error to be added are reconstructed on the receiving side.

【0011】分割ブロックの転送は、その全ての送信が
完了するか、通信回線が切断されるまで、送信側から受
信側へと一方的に行われる。そして、全ての送信が完了
したことに応じて送信側により通信回線が切断された
り、通信回線の異常などにより通信回線が切断された場
合には、それまでに受信されている分割ブロックに伝送
誤りが生じている分割ブロックが有ったり、未受信の分
割ブロックが有ったならば、それらの分割ブロックは、
受信側からの要求に応じて送信側から転送される。
The transfer of the divided block is performed unilaterally from the transmitting side to the receiving side until all the transmissions are completed or the communication line is disconnected. If the communication line is disconnected by the transmitting side in response to the completion of all transmissions, or the communication line is disconnected due to an abnormality in the communication line, etc., a transmission error is received in the divided block received so far. If there is a divided block in which has occurred, or there are unreceived divided blocks, those divided blocks are
It is transferred from the transmitting side in response to a request from the receiving side.

【0012】従って、分割ブロックの転送途中で通信回
線の異常などによる通信回線の切断が発生しても、以降
では受信側で正常に受信できていない分割ブロックのみ
の転送が行われる。
Therefore, even if the communication line is disconnected due to an abnormality in the communication line during the transfer of the divided block, thereafter, only the divided block that has not been properly received on the receiving side is transferred.

【0013】[0013]

【発明の実施の形態】以下、本発明の一実施形態につき
図面を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0014】図1は、本実施形態に係るファイル転送シ
ステムを実現するための端末装置の要部構成を示す機能
ブロック図である。
FIG. 1 is a functional block diagram showing a main configuration of a terminal device for realizing the file transfer system according to the present embodiment.

【0015】本実施形態に係るファイル転送システム
は、この図に示す端末装置を複数台用意し、これらを図
13における端末Tとして用いることで構築される。
The file transfer system according to the present embodiment is constructed by preparing a plurality of terminal devices shown in this figure and using them as the terminal T in FIG.

【0016】端末装置は図1に示すように、制御部1、
記憶部2、入力部3、表示部4、変復調部5および網制
御部6を有する。
[0016] As shown in FIG.
It has a storage unit 2, an input unit 3, a display unit 4, a modem unit 5, and a network control unit 6.

【0017】制御部1には、記憶部2、入力部3、表示
部4、変復調部5および網制御部6がそれぞれ接続され
ており、これらの各部を総括制御することで他の端末装
置との間でのファイル転送を行う端末装置としての動作
を実現する。
The control unit 1 is connected with a storage unit 2, an input unit 3, a display unit 4, a modem unit 5 and a network control unit 6, and these units are collectively controlled to connect with other terminal devices. An operation as a terminal device that performs file transfer between the terminals is realized.

【0018】記憶部2は、例えばハードディスク装置な
どを用いてなり、送受信するデータファイルや制御部1
が各種の処理を行う上で必要な各種のデータを格納して
おく。
The storage unit 2 includes, for example, a hard disk device or the like.
Stores various data necessary for performing various processes.

【0019】入力部3は、例えばキーボードなどを用い
てなり、ユーザによる制御部1への指示入力を受け付け
る。
The input unit 3 uses, for example, a keyboard or the like, and receives an instruction input to the control unit 1 by a user.

【0020】表示部4は、例えばCRTやLCDなどを
用いてなり、ユーザに対する情報通知などのための表示
を行う。
The display unit 4 includes, for example, a CRT or an LCD, and performs display for notifying information to the user.

【0021】変復調部5は、他の端末装置に向けて転送
するデータを、通信網を介して伝送可能な伝送信号へと
変調するとともに、通信網を介して到来した伝送信号を
復調してデータを再生する。
The modulation / demodulation unit 5 modulates data to be transferred to another terminal device into a transmission signal that can be transmitted via a communication network, and demodulates a transmission signal arriving via the communication network to generate data. To play.

【0022】網制御部6は、通信網に収容され、本端末
装置に接続された通信回線Cの接続・切断制御や、切断
検出などの回線状態の監視処理を行う。
The network control unit 6 is connected to the communication network and controls connection / disconnection of the communication line C connected to the terminal device, and performs line state monitoring processing such as disconnection detection.

【0023】ところで制御部1は、例えばパーソナルコ
ンピュータ本体などを用いてなり、そのCPUに所定の
動作プログラムに応じた処理を行わせることで、ファイ
ル転送のための制御機能を持たせたものとなっている。
The control unit 1 comprises, for example, a personal computer main body, and has a control function for file transfer by causing its CPU to perform processing in accordance with a predetermined operation program. ing.

【0024】この制御部1が有する制御機能としては、
本端末装置をファイル送信端末として機能させるための
ファイル送信制御機能11および本端末装置をファイル
受信端末として機能させるためのファイル受信制御器の
12がある。
The control functions of the control unit 1 include:
There is a file transmission control function 11 for causing the terminal device to function as a file transmission terminal, and a file reception controller 12 for causing the terminal device to function as a file reception terminal.

【0025】ファイル送信制御機能11はさらに、ファ
イル分割手段11a、分割ブロック送信手段11b、回
線切断制御手段11cおよび応要求送信制御手段11d
を有している。ここでファイル分割手段11aは、他の
端末装置へと転送するデータファイルを複数に分割する
とともに、所定の管理情報を付加して分割ブロックを作
成する。分割ブロック送信手段11bは、ファイル分割
手段11aにより作成された分割ブロックを転送先の端
末装置に向けて送信するための処理を行う。回線切断制
御手段11cは、分割ブロック送信手段11bにより全
ての分割ブロックの送信が行われたことに応じて、通信
回線を切断するための処理を行う。そして応要求送信制
御手段11dは、ファイル転送先の端末装置から転送未
完了ブロックの送信が要求されたことに応じ、その指定
された分割ブロックを送信するための処理を行う。
The file transmission control function 11 further includes a file division unit 11a, a divided block transmission unit 11b, a line disconnection control unit 11c, and a request transmission control unit 11d.
have. Here, the file dividing means 11a divides the data file to be transferred to another terminal device into a plurality of data files and adds predetermined management information to create divided blocks. The divided block transmitting unit 11b performs a process for transmitting the divided block created by the file dividing unit 11a to the transfer destination terminal device. The line disconnection control unit 11c performs processing for disconnecting the communication line in response to transmission of all divided blocks by the divided block transmission unit 11b. Then, the request transmission control unit 11d performs a process for transmitting the specified divided block in response to a request for transmission of the untransferred block from the terminal device of the file transfer destination.

【0026】一方、ファイル受信制御機能12はさら
に、分割ブロック受信手段12a、誤り検査手段12
b、送信要求手段12c、転送完了通知手段12dおよ
びファイル再構築手段12eを有している。ここで、分
割ブロック受信手段12aは、通信回線を介して到来し
た分割ブロックを受信するための処理を行う。誤り検査
手段12bは、分割ブロック受信手段12aによって受
信された分割ブロックのそれぞれにつき、伝送誤りが発
生しているか否かの検査を行う。送信要求手段12c
は、まだ到来していなかったり、受信したものの伝送誤
りが発生しているなどの理由で転送が完了していない分
割ブロックの送信を送信側の端末装置に対して要求す
る。転送完了通知手段12dは、全ての分割ブロックが
正常に受信できた場合に、その旨を送信側の端末装置に
対して通知する。そしてファイル再構築手段12eは、
正常に受信できた分割ブロックを用いて、転送ファイル
を再構築する。
On the other hand, the file reception control function 12 further comprises a divided block receiving means 12a, an error checking means 12
b, transmission request means 12c, transfer completion notifying means 12d, and file restructuring means 12e. Here, the divided block receiving means 12a performs a process for receiving the divided block arriving via the communication line. The error checking unit 12b checks whether a transmission error has occurred for each of the divided blocks received by the divided block receiving unit 12a. Transmission request means 12c
Requests the transmission-side terminal device to transmit a divided block whose transfer has not been completed because it has not arrived yet or a received but transmission error has occurred. When all the divided blocks have been normally received, the transfer completion notifying unit 12d notifies the transmitting-side terminal device of the fact. Then, the file restructuring means 12e
The transfer file is reconstructed using the divided blocks that can be received normally.

【0027】次に以上のように構成された端末装置どう
しでファイル転送を行う場合の動作につき説明する。
Next, the operation when file transfer is performed between the terminal devices configured as described above will be described.

【0028】まず、データファイルを送信する側の端末
装置(以下、送信側端末と称する)において制御部1
は、ファイル送信制御機能11により図2に示すような
ファイル送信処理を実行する。
First, a control unit 1 in a terminal device for transmitting a data file (hereinafter referred to as a transmitting terminal).
Executes a file transmission process as shown in FIG. 2 by the file transmission control function 11.

【0029】このファイル送信処理において送信側の制
御部1はまず、ファイル分割手段11aにより分割ブロ
ックを作成する(ステップST1)。
In this file transmission process, the control unit 1 on the transmission side first creates a divided block by the file dividing means 11a (step ST1).

【0030】すなわち送信側の制御部1は図3に示すよ
うに、転送対象のデータファイル(原始ファイル)を、
所定の転送単位(例えば500バイト程度)の大きさ毎
に複数に分割する。そして、これらの分割されたデータ
に対し、それらを一義的に識別可能で、かつ相互の関連
を示した識別情報(以下、ブロック名と称する)と、正
当性を検証するための検証情報とを付加することで分割
データを作成する。このように作成した分割データは、
記憶部2に蓄積しておく。なお、ブロック名としては例
えば、転送対象のデータファイルの元々のファイル名に
シーケンス番号を付加したものが使用可能である。ま
た、検証情報は例えば、そのブロックのデータ誤りを検
証するためのCRC符号やブロックの順番を表すシーケ
ンス番号などが使用可能である。
That is, as shown in FIG. 3, the control unit 1 on the transmitting side stores a data file (original file) to be transferred,
It is divided into a plurality of units each having a size of a predetermined transfer unit (for example, about 500 bytes). Then, with respect to these divided data, identification information (hereinafter, referred to as a block name) which can be uniquely identified and shows mutual relation, and verification information for verifying validity are provided. Divided data is created by adding. The split data created in this way is
It is stored in the storage unit 2. As the block name, for example, the original file name of the data file to be transferred to which a sequence number is added can be used. As the verification information, for example, a CRC code for verifying a data error of the block, a sequence number indicating the order of the block, and the like can be used.

【0031】また、データファイルから分割したデータ
は、圧縮処理や暗号化処理を施した状態で分割ブロック
に挿入しても良い。さらに分割ブロックには、次の分割
ブロックのブロック名などの付加情報を含めても良い。
The data divided from the data file may be inserted into the divided blocks after being subjected to compression processing and encryption processing. Further, the divided block may include additional information such as the block name of the next divided block.

【0032】分割ブロックの作成が完了したならば送信
側の制御部1は、網制御部6を制御して受信側の端末装
置(以下、受信側端末と称する)に対する発呼処理を行
い(ステップST2)、受信側端末との通信回線を接続
する。
When the creation of the divided blocks is completed, the control unit 1 on the transmitting side controls the network control unit 6 to perform a calling process to the terminal device on the receiving side (hereinafter, called the receiving side terminal) (step S1). ST2) Connect a communication line with the receiving terminal.

【0033】通信回線が接続されると送信側の制御部1
は、分割ブロック送信手段11bによる分割ブロックの
送信を開始する(ステップST3)。このように分割ブ
ロックの送信を開始すると送信側の制御部1は、分割ブ
ロックを先頭から順番に読み出し、変復調部5および網
制御部6を介して通信回線Cへと、すなわち受信側端末
へと順次送信する。なお、各分割ブロックを転送する際
の誤り制御は行っても、行わなくてもよい。
When the communication line is connected, the control unit 1 on the transmitting side
Starts transmission of divided blocks by the divided block transmitting means 11b (step ST3). When the transmission of the divided blocks is started in this way, the control unit 1 on the transmission side reads the divided blocks in order from the beginning and sends the divided blocks to the communication line C via the modem unit 5 and the network control unit 6, that is, to the receiving terminal. Send sequentially. Note that error control when transferring each divided block may or may not be performed.

【0034】このように分割ブロックの送信を行ってい
る状態で送信側の制御部1は、全ての分割ブロックの送
信が終了するか、あるいは回線が切断されるのを待ち受
ける(ステップST4およびステップST5)。
In the state where the divided blocks are being transmitted, the control unit 1 on the transmitting side waits for the transmission of all the divided blocks to be completed or for the line to be disconnected (steps ST4 and ST5). ).

【0035】ここで、全ての分割ブロックの送信が終了
したならば、送信側の制御部1は回線切断制御手段11
cにより、網制御部6を制御して回線を切断する(ステ
ップST6)。一方、全ての分割ブロックの送信が終了
する前に回線が切断されたことが網制御部6にて検出さ
れたならば、その時点で分割ブロックの送信を停止する
(ステップST7)。
Here, when the transmission of all the divided blocks is completed, the control unit 1 on the transmitting side sends the line disconnection control unit 11
In step c6, the network controller 6 is controlled to disconnect the line. On the other hand, if the network control unit 6 detects that the line has been disconnected before the transmission of all the divided blocks is completed, the transmission of the divided blocks is stopped at that time (step ST7).

【0036】そしてステップST6での回線切断または
ステップST7での送信停止を行ったのちに送信側の制
御部1は、受信側端末と通信回線が再接続され、この通
信回線を介して転送完了通知または送信要求が到来する
のを待ち受ける(ステップST8およびステップST
9)。
After the line is disconnected in step ST6 or the transmission is stopped in step ST7, the controller 1 on the transmitting side reconnects the communication line with the receiving terminal, and notifies the completion of transfer via this communication line. Alternatively, it waits for a transmission request to arrive (step ST8 and step ST8).
9).

【0037】さて、受信側端末ににおいて制御部1は、
送信側端末からの発呼を受けると着呼応答などを行って
回線接続したのち、図4に示すようなファイル受信処理
をファイル受信制御機能12により実行する。
In the receiving terminal, the control unit 1
When a call is received from the transmitting terminal, an incoming call response or the like is performed to establish a line connection, and a file reception process as shown in FIG.

【0038】このファイル受信処理において受信側の制
御部1はまず分割ブロック受信手段12aにより、通信
回線Cを介して到来する分割ブロックの受信を開始する
(ステップST21)。このように分割ブロックの受信
を開始すると受信側の制御部1は、変復調部5により復
調された分割ブロックを変復調部5から受け取り、これ
を記憶部2に蓄積して行く。
In this file receiving process, the control unit 1 on the receiving side first starts receiving divided blocks arriving via the communication line C by the divided block receiving means 12a (step ST21). When the reception of the divided blocks is started in this way, the control unit 1 on the receiving side receives the divided blocks demodulated by the modem unit 5 from the modem unit 5 and accumulates them in the storage unit 2.

【0039】そしてこのように分割ブロックの受信を行
っている状態で受信側の制御部1は、回線切断されたか
否かの監視を行う(ステップST22)。
While receiving the divided blocks in this way, the control unit 1 on the receiving side monitors whether the line has been disconnected (step ST22).

【0040】この状態で、前述のように送信側端末から
回線が切断されるか、あるいは通信網での障害により回
線が切断され、それが網制御部6で検出されたならば受
信側の制御部1は、分割ブロックの受信を停止し(ステ
ップST23)、これまでに受信した分割ブロックに関
する正当性検証処理を誤り検査手段12bにより行う
(ステップST24)。すなわち受信側端末では、回線
が切断されるまでは、到来した分割ブロックが正当であ
るか否かに拘わらずに、その到来した分割ブロックを受
信し続ける。
In this state, the line is disconnected from the transmitting terminal as described above, or the line is disconnected due to a failure in the communication network, and if the line is detected by the network control unit 6, the control of the receiving side is performed. The unit 1 stops receiving the divided blocks (step ST23), and performs the validity verification process on the divided blocks received so far by the error checking unit 12b (step ST24). That is, the receiving terminal continues to receive the incoming divided block until the line is disconnected, regardless of whether or not the incoming divided block is valid.

【0041】この正当性検証処理で受信側の制御部1
は、各分割ブロック毎に付加された正当性検証のための
検証情報を用いて、各分割ブロックの正当性(伝送誤り
の有無)を検証する。なお、この正当性検証の結果、正
常に受信が行えたと判定された分割ブロックに関して
は、その旨を記憶部2中の受信履歴情報ファイルに記録
しておく。
In this validity verification process, the control unit 1 on the receiving side
Verifies the validity (presence or absence of a transmission error) of each divided block by using verification information for validity verification added to each divided block. Note that as a result of the validity verification, for the divided blocks determined to have been successfully received, the fact is recorded in the reception history information file in the storage unit 2.

【0042】そして正当性検証処理が終了したならば、
受信側の制御部1は網制御部6を制御して送信側端末に
対する発呼処理を行い(ステップST25)、送信側端
末との通信回線を再接続する。
When the validity verification process is completed,
The control unit 1 on the receiving side controls the network control unit 6 to perform a calling process for the transmitting terminal (step ST25), and reconnects the communication line with the transmitting terminal.

【0043】通信回線が接続されると受信側の制御部1
は、ステップST25での正当性検証の結果を参考に、
1つのデータファイルから作成された全ての分割ブロッ
クが正常に受信できているか否かの判断を行う(ステッ
プST26)。
When the communication line is connected, the control unit 1 on the receiving side
Refers to the result of the validity verification in step ST25,
It is determined whether all the divided blocks created from one data file have been normally received (step ST26).

【0044】ここで、転送された分割ブロックに伝送誤
りが生じたために正常受信できていなかったり、回線切
断が生じたことにより送信が中断されたために転送され
ていない分割ブロックが存在する場合には、受信側の制
御部1は送信要求手段12cにより、そのような転送未
完了の分割ブロックの送信を送信側端末に対して要求す
る(ステップST27)。
Here, in the case where the data cannot be normally received due to a transmission error in the transferred divided block, or there is a divided block which has not been transferred due to interruption of transmission due to disconnection of the line. Then, the control unit 1 on the receiving side requests the transmitting side terminal to transmit such divided blocks whose transfer has not been completed by the transmission requesting unit 12c (step ST27).

【0045】このように受信側端末から転送未完了ブロ
ックの送信が要求されるとき、送信側の制御部1は前述
のようにステップST8およびステップST9の待ち受
け状態にある。従って転送未完了ブロックの送信が要求
されると送信側の制御部1は、ステップST9で送信要
求が到来したと判断する。そしてこのときに送信側の制
御部1は応要求送信制御手段11dにより、受信側端末
から指定された分割ブロックの送信を開始し(ステップ
ST10)、以後、ステップST4以降の処理を繰り返
す。
As described above, when the transmission of the untransferred block is requested from the receiving terminal, the control unit 1 on the transmitting side is in the standby state of step ST8 and step ST9 as described above. Therefore, when the transmission of the untransferred block is requested, the control unit 1 on the transmission side determines in step ST9 that the transmission request has arrived. Then, at this time, the control unit 1 on the transmission side starts transmission of the divided block designated by the reception side terminal by the request transmission control unit 11d (step ST10), and thereafter, repeats the processing after step ST4.

【0046】さて、受信側の制御部1はステップST2
7で転送未完了ブロックの送信を要求したのちには、ス
テップST21以降の処理を繰り返し、前述のように要
求に応じて送信側端末から送信される分割ブロックの受
信を行う。このとき受信側の制御部1は、受信履歴情報
ファイルに記録されている既正常受信分割ブロックの情
報と照合し、未受信分割ブロックのみを蓄積する。
The control unit 1 on the receiving side performs step ST2.
After requesting the transmission of the transfer-uncompleted block in step 7, the processing after step ST21 is repeated to receive the divided block transmitted from the transmitting terminal in response to the request as described above. At this time, the control unit 1 on the receiving side compares the information with the already received normal received divided blocks recorded in the received history information file, and accumulates only the unreceived divided blocks.

【0047】そして、このような処理によって1つのデ
ータファイルから作成された全ての分割ブロックが正常
に受信できたとステップST26で判定したならば受信
側の制御部1は、その旨を示す転送完了通知を転送完了
通知手段12dにより送信側端末に向けて送信する(ス
テップST28)。
If it is determined in step ST26 that all the divided blocks created from one data file have been successfully received by such processing, the control unit 1 on the receiving side transmits a transfer completion notification indicating this fact. Is transmitted to the transmitting terminal by the transfer completion notifying means 12d (step ST28).

【0048】このように受信側端末から転送完了通知が
送信されるとき、送信側の制御部1は前述のようにステ
ップST8およびステップST9の待ち受け状態にあ
る。従って転送完了通知が到来すると送信側の制御部1
は、ステップST8でその旨を認識する。そしてこのと
きに送信側の制御部1は、転送完了通知を受けたことを
示す転送完了通知応答を受信側端末に向けて送信し(ス
テップST11)、こののちに当該ファイル送信処理を
終了する。
When the transfer completion notification is transmitted from the receiving terminal in this way, the control unit 1 on the transmitting side is in the standby state of step ST8 and step ST9 as described above. Therefore, when the transfer completion notification arrives, the control unit 1 on the transmitting side
Recognizes that in step ST8. Then, at this time, the control unit 1 on the transmission side transmits a transfer completion notification response indicating that the transfer completion notification has been received to the reception side terminal (step ST11), and thereafter ends the file transmission process.

【0049】一方、受信側の制御部1は、ステップST
28で転送完了通知を送信したのちには、転送完了通知
応答の到来を待ち受ける(ステップST29)。従っ
て、送信側端末から上述のように転送完了通知応答が送
信されたならば、受信側の制御部1はこれをステップS
T9で認識する。そしてこの場合に受信側の制御部1は
ファイル再構築手段12eにより、記憶部2に蓄積され
ている各分割ブロックを用い、図3に示すようにデータ
ファイルの再構築を行い(ステップST30)、このの
ちに当該ファイル受信処理を終了する。
On the other hand, the control unit 1 on the receiving side performs the processing in step ST
After transmitting the transfer completion notification in step 28, it waits for the arrival of the transfer completion notification response (step ST29). Therefore, if the transmission completion notification response is transmitted from the transmitting terminal as described above, the control unit 1 on the receiving side transmits the response to step S
Recognize at T9. In this case, the control unit 1 on the receiving side reconstructs the data file by the file reconstructing means 12e using the divided blocks accumulated in the storage unit 2 as shown in FIG. 3 (step ST30). Thereafter, the file reception process ends.

【0050】なお、送信側の制御部1および受信側の制
御部1は、このようにファイル送信処理およびファイル
受信処理を終了したならば、分割ブロックを必要に応じ
て記憶部2から必要に応じて削除する。
When the transmitting-side control unit 1 and the receiving-side control unit 1 complete the file transmission processing and the file reception processing in this way, the divided blocks are stored in the storage unit 2 as necessary. To delete.

【0051】かくして、送信側端末としての端末装置と
受信側端末としての端末装置とが前述の動作をすること
で、分割ブロックの転送状況に応じて次のようないくつ
かのパターンでファイル転送が行われることになる。
Thus, the terminal device as the transmitting terminal and the terminal device as the receiving terminal perform the above-described operations, so that file transfer can be performed in several patterns as follows according to the transfer state of the divided blocks. Will be done.

【0052】(Case1:分割ブロックの伝送誤り無
し、転送途中での回線切断無し)このような場合には図
5に示すようなシーケンスでファイル転送が行われる。
(Case 1: No transmission error of divided block, no line disconnection during transfer) In such a case, file transfer is performed in a sequence as shown in FIG.

【0053】すなわち、最終の分割ブロックまでの転送
が回線切断が生じることなく終了したことに応じて、送
信側端末が回線切断を行う。これにより受信側端末では
初めて回線の切断が検出され、正当性検証が実施される
(初回転送シーケンス)。
That is, in response to the completion of the transfer up to the final divided block without disconnection of the line, the transmitting terminal disconnects the line. As a result, the disconnection of the line is detected for the first time at the receiving terminal, and the validity is verified (first transfer sequence).

【0054】正当性検証した結果、ここでは全ての分割
ブロックが正常に受信されていると判断されるから、受
信側端末からの要求によって回線が再接続され、受信側
端末から送信側端末へと転送完了通知が行われる。そし
てこれに応じて送信側端末が転送完了通知応答を行うこ
とでファイル転送の手順が完了する(終了シーケン
ス)。
As a result of the validity verification, it is determined that all the divided blocks have been normally received. Therefore, the line is reconnected by a request from the receiving terminal, and the line is reconnected from the receiving terminal to the transmitting terminal. A transfer completion notification is issued. Then, in response to this, the transmitting terminal sends a transfer completion notification response, thereby completing the file transfer procedure (end sequence).

【0055】(Case2:分割ブロックの伝送誤り有
り、転送途中での回線切断無し)このような場合には図
6に示すようなシーケンスでファイル転送が行われる。
(Case 2: There is a transmission error in a divided block, and there is no line disconnection during transfer) In such a case, file transfer is performed in a sequence as shown in FIG.

【0056】すなわち、初回転送シーケンスについて
は、前記Case1の場合と同様である。
That is, the initial transfer sequence is the same as in Case 1 described above.

【0057】しかし、正当性検証した結果、誤りのある
分割ブロックが検出されることになるので、次のような
再送シーケンスが行われる。
However, as a result of the validity verification, an erroneous divided block is detected, so that the following retransmission sequence is performed.

【0058】この再送シーケンスでは、誤りのある分割
ブロックに関する送信要求、すなわち誤りのある分割ブ
ロックの再送要求が受信側端末から送信側端末へと与え
られる。そしてこの送信要求に応じて送信側端末から
は、指定された分割ブロックの転送、すなわち誤りのあ
る分割ブロックの再送が行わる。
In this retransmission sequence, a transmission request for an erroneous divided block, that is, a retransmission request for an erroneous divided block is given from the receiving terminal to the transmitting terminal. Then, in response to the transmission request, the transmission-side terminal transfers the designated divided block, that is, retransmits the erroneous divided block.

【0059】指定された全ての分割ブロックの転送が回
線切断が生じることなく終了したことに応じて、送信側
端末が回線切断を行う。これにより受信側端末では回線
の切断が検出され、再送された分割ブロックに関する正
当性検証が実施される。
When the transfer of all the designated divided blocks is completed without the disconnection of the line, the transmitting terminal disconnects the line. As a result, the disconnection of the line is detected at the receiving terminal, and the validity of the retransmitted divided block is verified.

【0060】正当性検証した結果、全ての分割ブロック
が正常に受信されていると判断されれば、前記Case
1の場合と同様に終了シーケンスが行われる。
As a result of validity verification, if it is determined that all the divided blocks have been received normally,
The termination sequence is performed as in the case of 1.

【0061】なお、再送した分割ブロックにも伝送誤り
が生じた場合には、終了シーケンスの実行前に再送シー
ケンスが繰り返される。
If a transmission error occurs in the retransmitted divided block, the retransmission sequence is repeated before the execution of the end sequence.

【0062】(Case3:分割ブロックの伝送誤り無
し、転送途中での回線切断有り)このような場合には図
7に示すようなシーケンスでファイル転送が行われる。
(Case 3: No transmission error of divided block, line disconnection during transfer) In such a case, file transfer is performed in a sequence as shown in FIG.

【0063】すなわち、初回転送シーケンスについて
は、前記Case1の場合と同様であるが、物理的な通
信回線の障害や無線通信回線区間の電波状態の悪化など
により、通信回線が切断されることにより、分割ブロッ
クの転送が異常終了する。
That is, the initial transfer sequence is the same as in the case 1 described above, except that the communication line is disconnected due to a failure in the physical communication line or deterioration of the radio wave condition in the wireless communication line section. Transfer of the divided block ends abnormally.

【0064】このような異常終了の場合でも、受信側端
末では回線の切断が検出されることにより正当性検証が
実行される。
Even in the case of such an abnormal termination, the receiving terminal performs the validity verification by detecting the disconnection of the line.

【0065】そして、正当性検証した結果、未転送の分
割ブロックが検出されることになるので、次のような未
転送ブロック転送シーケンスが行われる。
Then, as a result of the validity verification, an untransferred divided block is detected, and the following untransferred block transfer sequence is performed.

【0066】この未転送ブロック転送シーケンスは、未
転送である分割ブロックに関する送信要求が受信側端末
から送信側端末へと与えられる。そしてこの送信要求に
応じて送信側端末からは、指定された分割ブロックの転
送、すなわち未転送ブロックの転送が行わる。
In the untransferred block transfer sequence, a transmission request for a non-transferred divided block is given from the receiving terminal to the transmitting terminal. Then, in response to this transmission request, the transmission side terminal transfers the designated divided block, that is, transfers the untransferred block.

【0067】指定された全ての分割ブロックの転送が回
線切断が生じることなく終了したことに応じて、送信側
端末が回線切断を行う。これにより受信側端末では回線
の切断が検出され、転送された分割ブロックに関する正
当性検証が実施される。
When the transfer of all the designated divided blocks is completed without disconnection, the transmitting terminal disconnects the link. As a result, the disconnection of the line is detected at the receiving terminal, and the validity of the transferred divided block is verified.

【0068】正当性検証した結果、全ての分割ブロック
が正常に受信されていると判断されれば、前記Case
1の場合と同様に終了シーケンスが行われる。
As a result of validity verification, if it is determined that all divided blocks have been received normally,
The termination sequence is performed as in the case of 1.

【0069】以上のように本実施形態によれば、全ての
分割ブロックの転送が終了するか、あるいは回線切断が
生じるまでは、送信側端末から受信側端末へと一方的に
分割ブロックを転送する。また、送信側端末は、全ての
分割ブロックの転送が終了したならば、受信側端末にお
ける正当性検証を起動するために回線を一旦切断する。
As described above, according to the present embodiment, the divided blocks are unilaterally transferred from the transmitting terminal to the receiving terminal until the transfer of all the divided blocks is completed or the line disconnection occurs. . When the transmission of all the divided blocks is completed, the transmitting terminal temporarily disconnects the line in order to activate the validity verification in the receiving terminal.

【0070】そして受信側端末では、回線切断が生じる
までは分割ブロックの受信・蓄積のみを行い、回線切断
が生じたならば、それまでに受信した分割ブロックの正
当性の検証を行って、伝送誤りや未転送のために正常に
受信できていない分割ブロックの送信を送信側端末に要
求し、その分割ブロックの転送を受ける。
The receiving terminal only receives and stores the divided blocks until the line disconnection occurs, and if the line disconnection occurs, verifies the validity of the divided blocks received so far and transmits the data. It requests the transmitting terminal to transmit a divided block that has not been received normally due to an error or untransfer, and receives the transmitted divided block.

【0071】このように、回線切断を契機として、それ
以前では一方的な分割ブロックの転送を、またそれ以降
では受信側端末で正常に受信できていない分割ブロック
のみを受信側端末の要求の下に転送するようにしている
ことにより、回線の異常により回線切断が生じたとして
も、それまでに受信側端末で正常に受信された分割ブロ
ックはそのまま有効とし、回線再接続後には受信側端末
で正常に受信できていない分割ブロックのみを転送する
から、オーバヘッドの増加が抑えられる。
As described above, when the line is disconnected, the transfer of a one-sided divided block is performed before that, and only the divided blocks that cannot be normally received by the receiving terminal after that are requested by the receiving terminal. Even if a line disconnection occurs due to a line abnormality, the divided block normally received by the receiving terminal is still valid, and after the line is reconnected, the receiving terminal Since only the divided blocks that have not been received normally are transferred, an increase in overhead can be suppressed.

【0072】従って、特に回線状態が不安定な通信網を
介してのファイル転送に本実施形態を用いれば、効率の
良いファイル転送を行うことが可能となる。
Therefore, if the present embodiment is used for file transfer via a communication network having an unstable line condition, efficient file transfer can be performed.

【0073】なお、本発明は上記実施形態に限定される
ものではない。例えば上記実施形態では、データファイ
ルの再構築を全ての分割ブロックの正常受信の終了後に
行うものとしているが、正常受信ができていない分割ブ
ロックが存在しても、正常受信ができている分割ブロッ
クのみを用いてのデータファイルの再構築を暫定的に行
うようにしても良い。
The present invention is not limited to the above embodiment. For example, in the above embodiment, the data file is reconstructed after the normal reception of all the divided blocks is completed. The reconstruction of the data file using only the data file may be provisionally performed.

【0074】図8はこのように正常受信ができている一
部の分割ブロックのみを用いてのデータファイルの再構
築を暫定的に行うようにした場合のシーケンスの一例を
示すシーケンス図である。
FIG. 8 is a sequence diagram showing an example of a sequence in a case where the data file is reconstructed tentatively using only some of the divided blocks which can be normally received.

【0075】この図では、初回転送シーケンスにおいて
伝送誤りが生じていた分割ブロックが有ったために再送
シーケンスを実行するが、この再送シーケンスの実行に
先立って、ファイル再構築と、このファイル再構築に用
いた分割ブロックの記憶部2からの削除を行っている。
この再送シーケンスの実行に先立ってのファイル再構築
では、例えば図9に示すように、伝送誤りが生じていた
分割ブロックに対応する位置をブランクとした中間ファ
イルを構築する。そして再送シーケンスで転送された分
割ブロックを中間ファイル中に挿入することで、完全な
再構築ファイルを構築する。
In this figure, the retransmission sequence is executed because there is a divided block in which a transmission error has occurred in the initial transmission sequence. Before executing the retransmission sequence, the file restructuring and the file restructuring are performed. The used divided block is deleted from the storage unit 2.
In the file rebuilding prior to the execution of the retransmission sequence, for example, as shown in FIG. 9, an intermediate file is constructed in which a position corresponding to a divided block in which a transmission error has occurred is blank. Then, the complete reconstructed file is constructed by inserting the divided blocks transferred in the retransmission sequence into the intermediate file.

【0076】また上記実施形態では、全ての分割ブロッ
クを作成したのちに、この分割ブロックの転送を行うも
のとしているが、データファイルから、逐次転送単位の
大きさのブロックを抽出しながらこれにより作成した分
割ブロックを転送するようにしても良い。
In the above embodiment, the transfer of the divided blocks is performed after all the divided blocks have been created. However, the blocks having the size of the sequential transfer unit are extracted from the data file while being created. The divided blocks obtained may be transferred.

【0077】また上記実施形態では、分割ブロックの正
当性検証を回線切断後に行うものとしているが、分割ブ
ロックの受信動作に並行して正当性検証を実行するよう
にしても良い。
In the above embodiment, the validity verification of the divided block is performed after the line is disconnected. However, the validity verification may be performed in parallel with the operation of receiving the divided block.

【0078】図10は分割ブロックの作成と転送とを並
行して、また正当性検証およびデータファイルの再構築
を分割ブロックの受信動作に並行して行うようにした場
合のシーケンスの一例を示すシーケンス図である。
FIG. 10 is a sequence diagram showing an example of a sequence in which the creation and transfer of the divided blocks are performed in parallel, and the validity verification and the reconstruction of the data file are performed in parallel with the operation of receiving the divided blocks. FIG.

【0079】またこの図10の例では、回線切断時にお
ける正常に受信できていない分割ブロックを、再構築途
上ファイル(中間ファイル)を検証することにより、正
常に受信できていない分割ブロック、すなわち転送を要
求するべき分割ブロックを算定する。
Further, in the example of FIG. 10, the divided blocks that cannot be received normally when the line is disconnected are verified by verifying the file (intermediate file) being reconstructed, so that the divided blocks that cannot be received normally, that is, are transferred. Is calculated.

【0080】また、図11や図12に示すシーケンスで
のファイル転送を行うことも可能である。
It is also possible to perform file transfer in the sequence shown in FIG. 11 and FIG.

【0081】図11は、送信側端末は分割ブロックを抽
出しながら転送対象ファイルを転送し、受信側端末では
受信した各ブロックをそれぞれ別個に、もしくは複数の
ブロックを一つにまとめた形態で、一意にかつ相互の関
連がわかる識別情報をファイル名として付与し、ハード
ディスクなどの補助記憶装置に蓄積し、通信回線が切断
された後に受信したブロックの正当性の検証とファイル
の再構築を行う場合の代表的なシーケンスである。
FIG. 11 shows that the transmitting terminal transfers the transfer target file while extracting the divided blocks, and the receiving terminal separates the received blocks individually or combines a plurality of blocks into one. When uniquely and mutually recognizable identification information is assigned as a file name, stored in an auxiliary storage device such as a hard disk, and the validity of the block received after the communication line is disconnected and the file is reconstructed Is a representative sequence.

【0082】図12は、送信側端末で転送に先立って転
送対象ファイルを分割し、一意にかつ相互の関連がわか
る識別情報をファイル名として付与し、ハードディスク
などの補助記憶装置に蓄積したのちに、順次分割ブロッ
クを転送し、受信側端末では転送されてくる分割ブロッ
クを逐次受信するとともに、各分割ブロックの正当性を
検証、正常に受信されなかった分割ブロックの再送処
理、ファイルの再構築処理を並行して行う場合の代表的
なシーケンスである。
FIG. 12 shows a case where the transmission-side terminal divides the transfer target file prior to transfer, assigns unique and mutually recognizable identification information as a file name, and stores it in an auxiliary storage device such as a hard disk. , The divided blocks are sequentially transferred, and the receiving terminal sequentially receives the transferred divided blocks, verifies the validity of each divided block, retransmits the divided blocks that were not received normally, and reconstructs the file. Are performed in parallel.

【0083】また上記実施形態では、分割ブロックに含
むデータのサイズを一定としているが、通信回線品質の
変動が大きい無線通信回線に対応するなどのために、伝
送誤りが一定の割合を超える場合や、正常に伝達されな
かった分割ブロックを再送する場合には、転送単位のブ
ロック長をより小さくしてもよい。
In the above embodiment, the size of the data included in the divided block is fixed. However, in order to cope with a wireless communication line having a large fluctuation in the communication line quality, there are cases where the transmission error exceeds a certain ratio. When retransmitting a divided block that has not been transmitted normally, the block length of the transfer unit may be made smaller.

【0084】また上記実施形態では、端末装置は、ファ
イル送信制御機能11とファイル受信制御機能12との
双方を持つものとしているが、いずれか一方のみを持た
せるようにしても良い。
In the above embodiment, the terminal device has both the file transmission control function 11 and the file reception control function 12, but may have only one of them.

【0085】また上記実施形態では、ファイル送信制御
機能11やファイル受信制御機能12を実現するための
ソフトウエアをパーソナルコンピュータなどに予め組み
込んで端末装置を実現しているが、上記のソフトウエア
を記憶した記憶媒体を用意しておき、この記憶媒体から
上記ソフトウエアを読み込ませることで任意のコンピュ
ータを端末装置として機能させることを可能とすること
もできる。
In the above-described embodiment, the terminal device is realized by previously incorporating software for realizing the file transmission control function 11 and the file reception control function 12 into a personal computer or the like. By preparing a storage medium in which the above-mentioned software is read from this storage medium, an arbitrary computer can be made to function as a terminal device.

【0086】また、回線接続のための発呼処理や、転送
完了通知応答の授受後の回線切断の処理は、送信側端末
および受信側端末のいずれで行うようにしても良い。
The calling process for line connection and the line disconnection process after the transfer completion notification response is sent and received may be performed by either the transmitting terminal or the receiving terminal.

【0087】このほか、本発明の要旨を逸脱しない範囲
で種々の変形実施が可能である。
In addition, various modifications can be made without departing from the spirit of the present invention.

【0088】[0088]

【発明の効果】本発明は、送信側の端末では、転送対象
ファイルのデータを、先頭から順番に所定量毎に分割す
るとともに、これらの分割されたデータのおのおのに前
記転送ファイルにおける位置を示す所定の位置情報と、
伝送誤りの有無を検査可能とする所定の誤り検査情報と
を付加してなる複数の分割ブロックを作成し、この複数
の分割ブロックを、その全ての送信が完了するか、前記
通信回線が切断されるまでの間に順次送信し、前記分割
ブロックの全てを送信し終わったことに応じて、前記通
信回線を切断し、分割ブロックの送信を一旦停止したの
ちに受信側の端末から分割ブロックの送信が要求された
ならば、その要求された分割ブロックを送信する。
According to the present invention, the transmitting terminal divides the data of the transfer target file in order from the beginning for each predetermined amount, and indicates the position in the transfer file for each of the divided data. Predetermined location information;
A plurality of divided blocks are created by adding predetermined error check information enabling the presence / absence of a transmission error, and the plurality of divided blocks are all transmitted or the communication line is disconnected. Until the transmission of all the divided blocks has been completed, the communication line is disconnected in response to the completion of transmission of all of the divided blocks, the transmission of the divided blocks is temporarily stopped, and then the reception side terminal transmits the divided blocks. Is transmitted, the requested divided block is transmitted.

【0089】かつ受信側の端末では、前記通信回線を介
して到来する分割ブロックを受信し、この受信された分
割ブロックにおける伝送誤りの有無を前記誤り検査情報
を用いて検査し、前記通信回線が切断されたのちに、前
記検査により誤りがあるとされた分割ブロックや未受信
の分割ブロックの送信を送信側の端末に要求し、前記通
信回線が切断されたときに全ての分割ブロックが誤りな
く受信できていたならば、転送が完了した旨を送信側の
端末に通知し、さらに誤りなく受信できた分割ブロック
を合成して前記転送対象ファイルを再構築するようにし
た。
Further, the receiving terminal receives the divided block arriving via the communication line, checks whether or not there is a transmission error in the received divided block using the error check information. After the disconnection, the transmission side requests the transmission side terminal to transmit a divided block determined to be erroneous by the inspection or an unreceived divided block, and when the communication line is disconnected, all the divided blocks have no errors. If the transfer has been successful, the completion of the transfer is notified to the terminal on the transmitting side, and the divided blocks that have been received without errors are combined to reconstruct the transfer target file.

【0090】これにより、通信回線の切断が生じてしま
った場合のオーバヘッドの増加を最小限に抑えて効率良
くデータファイルの転送を行うことを可能となる。
As a result, it is possible to efficiently transfer the data file while minimizing the increase in overhead when the communication line is disconnected.

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

【図1】本発明の一実施形態に係るファイル転送システ
ムを実現するための端末装置の要部構成を示す機能ブロ
ック図。
FIG. 1 is a functional block diagram showing a main configuration of a terminal device for realizing a file transfer system according to an embodiment of the present invention.

【図2】ファイル送信処理の際の制御部1の処理手順を
示すフローチャート。
FIG. 2 is a flowchart showing a processing procedure of a control unit 1 in a file transmission process.

【図3】データファイル(原始ファイル)からの分割ブ
ロックに挿入するデータの分割状況および分割ブロック
に挿入されたデータからの再構築ファイルの再構築状況
を示す図。
FIG. 3 is a diagram showing a division state of data to be inserted into a divided block from a data file (original file) and a reconstruction state of a reconstructed file from data inserted into the divided block.

【図4】ファイル受信処理の際の制御部1の処理手順を
示すフローチャート。
FIG. 4 is a flowchart showing a processing procedure of the control unit 1 at the time of file reception processing.

【図5】分割ブロックの伝送誤りが無く、かつ転送途中
での回線切断も無い場合におけるファイル転送のシーケ
ンスの一例を示すシーケンス図。
FIG. 5 is a sequence diagram showing an example of a file transfer sequence in the case where there is no transmission error in a divided block and there is no line disconnection during transfer.

【図6】分割ブロックの伝送誤りが有り、かつ転送途中
での回線切断が無い場合におけるファイル転送のシーケ
ンスの一例を示すシーケンス図。
FIG. 6 is a sequence diagram showing an example of a file transfer sequence when there is a transmission error in a divided block and there is no line disconnection during transfer.

【図7】分割ブロックの伝送誤りが無く、かつ転送途中
での回線切断が有る場合におけるファイル転送のシーケ
ンスの一例を示すシーケンス図。
FIG. 7 is a sequence diagram showing an example of a file transfer sequence in the case where there is no transmission error in a divided block and there is a line disconnection during transfer.

【図8】正常受信ができている一部の分割ブロックのみ
を用いてのデータファイルの再構築を暫定的に行うよう
にした場合のシーケンスの一例を示すシーケンス図。
FIG. 8 is a sequence diagram showing an example of a sequence in a case where a data file is temporarily reconstructed using only some of the divided blocks that can be normally received.

【図9】正常受信ができている一部の分割ブロックのみ
を用いてのデータファイルの再構築を暫定的に行うよう
にした場合のデータファイルの再構築の様子を示す図。
FIG. 9 is a diagram showing a state of rebuilding a data file in a case where the rebuilding of the data file is performed tentatively using only some of the divided blocks that can be normally received.

【図10】分割ブロックの作成と転送とを並行して、ま
た正当性検証およびデータファイルの再構築を分割ブロ
ックの受信動作に並行して行うようにした場合のシーケ
ンスの一例を示すシーケンス図。
FIG. 10 is a sequence diagram showing an example of a sequence in which creation and transfer of a divided block are performed in parallel, and validity verification and reconstruction of a data file are performed in parallel with the operation of receiving the divided block.

【図11】ファイル転送のためのシーケンスの変形例を
示すシーケンス図。
FIG. 11 is a sequence diagram showing a modified example of a sequence for file transfer.

【図12】ファイル転送のためのシーケンスの変形例を
示すシーケンス図。
FIG. 12 is a sequence diagram showing a modification of the sequence for file transfer.

【図13】本発明の適用対象の一例である共同作業シス
テムの構成を示す図。
FIG. 13 is a diagram showing a configuration of a collaborative work system which is an example of an application target of the present invention.

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

1…制御部 2…記憶部 3…入力部 4…表示部 5…変復調部 6…網制御部 11…ファイル送信制御機能 11a…ファイル分割手段 11b…分割ブロック送信手段 11c…回線切断制御手段 11d…応要求送信制御手段 12…ファイル受信制御機能 12a…分割ブロック受信手段 12b…誤り検査手段 12c…送信要求手段 12d…転送完了通知手段 12e…ファイル再構築手段 DESCRIPTION OF SYMBOLS 1 ... Control part 2 ... Storage part 3 ... Input part 4 ... Display part 5 ... Modulation / demodulation part 6 ... Network control part 11 ... File transmission control function 11a ... File division means 11b ... Division block transmission means 11c ... Line disconnection control means 11d ... Request transmission control means 12 File reception control function 12a Divided block reception means 12b Error checking means 12c Transmission request means 12d Transfer completion notification means 12e File restructuring means

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 通信回線を介して互いに接続された2つ
の端末の間でファイル転送を行うためのファイル転送方
式において、 送信側の端末では、転送対象ファイルのデータを、先頭
から順番に所定量毎に分割するとともに、これらの分割
されたデータのおのおのに前記転送ファイルにおける位
置を示す所定の位置情報と、伝送誤りの有無を検査可能
とする所定の誤り検査情報とを付加してなる複数の分割
ブロックを作成し、 この複数の分割ブロックを、その全ての送信が完了する
か、前記通信回線が切断されるまでの間に順次送信し、 前記分割ブロックの全てを送信し終わったことに応じ
て、前記通信回線を切断し、 分割ブロックの送信を一旦停止したのちに受信側の端末
から分割ブロックの送信が要求されたならば、その要求
された分割ブロックを送信し、 かつ受信側の端末では、前記通信回線を介して到来する
分割ブロックを受信し、 この受信された分割ブロックにおける伝送誤りの有無を
前記誤り検査情報を用いて検査し、 前記通信回線が切断されたのちに、前記検査により誤り
があるとされた分割ブロックや未受信の分割ブロックの
送信を送信側の端末に要求し、 前記通信回線が切断されたときに全ての分割ブロックが
誤りなく受信できていたならば、転送が完了した旨を送
信側の端末に通知し、 さらに誤りなく受信できた分割ブロックを合成して前記
転送対象ファイルを再構築するようにしたことを特徴と
するファイル転送方式。
In a file transfer method for performing a file transfer between two terminals connected to each other via a communication line, a terminal on a transmitting side transmits data of a transfer target file in a predetermined amount in order from the top. A plurality of data obtained by adding predetermined position information indicating the position in the transfer file and predetermined error check information enabling the presence or absence of a transmission error to be added to each of the divided data. A divided block is created, and the plurality of divided blocks are sequentially transmitted until all of the divided blocks are completed or the communication line is disconnected, and in response to completion of transmitting all of the divided blocks. Then, after the communication line is disconnected and the transmission of the divided block is temporarily stopped, if the transmission of the divided block is requested from the terminal on the receiving side, the requested division is performed. A lock is transmitted, and the receiving terminal receives the divided block arriving via the communication line, checks whether or not there is a transmission error in the received divided block using the error check information, After the line is disconnected, the transmission side requests the transmitting terminal to transmit a divided block determined to be erroneous by the check or a non-received divided block, and when the communication line is disconnected, all divided blocks are transmitted. If the transmission was completed without error, a notification to the effect that the transfer was completed is sent to the terminal on the transmission side, and the transfer target file is reconstructed by synthesizing the divided blocks that could be received without error. File transfer method to use.
【請求項2】 送信側の端末は、受信側の端末からの要
求に応じて送信する分割ブロックのサイズを小さくする
ことを特徴とする請求項1に記載のファイル転送方式。
2. The file transfer method according to claim 1, wherein the transmitting terminal reduces the size of the divided block to be transmitted in response to a request from the receiving terminal.
【請求項3】 通信回線を介して互いに接続された2つ
の端末の間でファイル転送を行うためのファイル転送シ
ステムにおいて、 送信側の端末に、 転送対象ファイルのデータを、先頭から順番に所定量毎
に分割するとともに、これらの分割されたデータのおの
おのに前記転送ファイルにおける位置を示す所定の位置
情報と、伝送誤りの有無を検査可能とする所定の誤り検
査情報とを付加してなる複数の分割ブロックを作成する
ファイル分割手段と、 前記通信回線が切断されたことを検出する送信側回線断
検出手段と、 前記ファイル分割手段により作成された前記複数の分割
ブロックを、その全ての送信が完了するか、あるいは前
記送信側回線断検出手段により前記通信回線が切断され
たことが検出されるまでの間に順次送信する分割ブロッ
ク送信手段と、 この分割ブロック送信手段により前記分割ブロックの全
てを送信し終わったことに応じて、前記通信回線を切断
する回線切断手段と、 分割ブロックの送信を一旦停止したのちに受信側の端末
から分割ブロックの送信が要求されたならば、その要求
された分割ブロックの送信を分割ブロック送信手段に行
わせる応要求送信制御手段とを具備し、 かつ受信側の端末に、 前記通信回線を介して到来する分割ブロックを受信する
分割ブロック受信手段と、 この分割ブロック受信手段により受信された分割ブロッ
クにおける伝送誤りの有無を前記誤り検査情報を用いて
検査する誤り検査手段と、 前記通信回線が切断されたことを検出する受信側回線断
検出手段と、 前記通信回線が切断されたことが前記受信側回線断検出
手段により検出されたのちに、前記誤り検査手段により
誤りがあるとされた分割ブロックや未受信の分割ブロッ
クの送信を送信側の端末に要求する送信要求手段と、 前記通信回線が切断されたことが前記受信側回線断検出
手段により検出されたときに全ての分割ブロックが誤り
なく受信できていたならば、転送が完了した旨を送信側
の端末に通知する転送完了通知手段と、 誤りなく受信できた分割ブロックを合成して前記転送対
象ファイルを再構築するファイル再構築手段とを具備し
たことを特徴とするファイル転送システム。
3. A file transfer system for transferring a file between two terminals connected to each other via a communication line. A plurality of data obtained by adding predetermined position information indicating the position in the transfer file and predetermined error check information enabling the presence or absence of a transmission error to be added to each of the divided data. File dividing means for creating a divided block; transmitting side line disconnection detecting means for detecting that the communication line has been disconnected; and transmission of all of the plurality of divided blocks created by the file dividing means is completed. Or the divided blocks that are sequentially transmitted until the transmission line disconnection detecting means detects that the communication line is disconnected. Transmission means; line disconnection means for disconnecting the communication line in response to completion of transmission of all of the divided blocks by the divided block transmission means; and a terminal on the receiving side after temporarily stopping transmission of the divided blocks. Requesting transmission of a divided block from a requesting block, and request transmission control means for causing the divided block transmitting means to transmit the requested divided block, and to a receiving terminal via the communication line. Divided block receiving means for receiving an incoming divided block, error checking means for checking the presence or absence of a transmission error in the divided block received by the divided block receiving means using the error check information, and disconnecting the communication line. Receiving line disconnection detecting means for detecting that the communication line has been disconnected, and detecting that the communication line has been disconnected by the receiving line disconnection detecting means. After that, the transmission request unit for requesting the transmitting terminal to transmit the divided block determined to be erroneous by the error checking unit or the unreceived divided block, and receiving the communication line being disconnected. If all the divided blocks have been received without error when detected by the side line disconnection detecting means, a transfer completion notifying means for notifying the transmitting terminal that the transfer has been completed; A file transfer system comprising: a file reconstructing unit that reconstructs the transfer target file by combining blocks.
【請求項4】 前記応要求送信制御手段は、受信側の端
末からの要求に応じて送信する分割ブロックのサイズを
小さくすることを特徴とする請求項3に記載のファイル
転送システム。
4. The file transfer system according to claim 3, wherein said request transmission control means reduces the size of a divided block transmitted in response to a request from a terminal on the receiving side.
【請求項5】 転送対象ファイルのデータを、先頭から
順番に所定量毎に分割するとともに、これらの分割され
たデータのおのおのに前記転送ファイルにおける位置を
示す所定の位置情報と、伝送誤りの有無を検査可能とす
る所定の誤り検査情報とを付加してなる複数の分割ブロ
ックを作成するファイル分割手段と、 前記ファイル分割手段により作成された前記複数の分割
ブロックを、その全ての送信が完了するか、あるいは前
記通信回線が切断されたことが所定の送信側回線断検出
手段により検出されるまでの間に順次送信する分割ブロ
ック送信手段と、 この分割ブロック送信手段により前記分割ブロックの全
てを送信し終わったことに応じて、所定の回線制御部に
前記通信回線を切断させる回線切断制御手段と、 分割ブロックの送信を一旦停止したのちに受信側の端末
から分割ブロックの送信が要求されたならば、その要求
された分割ブロックの送信を分割ブロック送信手段に行
わせる応要求送信制御手段とのそれぞれの手段としての
動作を電子計算機に行わせるための動作プログラムを格
納した記憶媒体。
5. The data of the transfer target file is divided from the beginning in order of a predetermined amount, and each of the divided data has predetermined position information indicating a position in the transfer file, and presence or absence of a transmission error. And a file dividing unit that creates a plurality of divided blocks by adding predetermined error check information that allows the file to be inspected, and complete transmission of the plurality of divided blocks created by the file dividing unit. Or a divided block transmitting means for sequentially transmitting until the communication line is disconnected by a predetermined transmitting side line disconnection detecting means, and transmitting all of the divided blocks by the divided block transmitting means. Line disconnection control means for causing a predetermined line control unit to disconnect the communication line in response to the completion of the transmission, and If transmission of the divided block is requested from the receiving terminal after the suspension, operation as the respective means with the request transmission control means for causing the divided block transmitting means to transmit the requested divided block. Storage medium storing an operation program for causing a computer to perform the operation.
【請求項6】 通信回線を介して到来する分割ブロック
を受信する分割ブロック受信手段と、 この分割ブロック受信手段により受信された分割ブロッ
クにおける伝送誤りの有無を当該分割ブロックに含まれ
た誤り検査情報を用いて検査する誤り検査手段と、 前記通信回線が切断されたことが所定の受信側回線断検
出手段により検出されたのちに、前記誤り検査手段によ
り誤りがあるとされた分割ブロックや未受信の分割ブロ
ックの送信を送信側の端末に要求する送信要求手段と、 前記通信回線が切断されたことが前記受信側回線断検出
手段により検出されたときに全ての分割ブロックが誤り
なく受信できていたならば、転送が完了した旨を送信側
の端末に通知する転送完了通知手段と、 誤りなく受信できた分割ブロックを合成して前記転送対
象ファイルを再構築するファイル再構築手段とのそれぞ
れの手段としての動作を電子計算機に行わせるための動
作プログラムを格納した記憶媒体。
6. A divided block receiving means for receiving a divided block arriving via a communication line, and error check information included in the divided block, the presence or absence of a transmission error in the divided block received by the divided block receiving means. Error checking means for checking by using a predetermined block on the receiving side after the disconnection of the communication line is detected by the predetermined receiving line disconnection detecting means, Transmission request means for requesting the transmission side terminal to transmit the divided blocks, and all the divided blocks can be received without error when the reception line disconnection detection means detects that the communication line has been disconnected. Transfer completion notifying means for notifying the transmitting terminal that the transfer has been completed, and combining the divided blocks received without error with the transfer Storage medium storing an operation program for causing an operation as each means of the file reconstruction means for reconstructing an elephant file on the computer.
JP10070896A 1998-03-19 1998-03-19 File transfer method, file transfer system and recording medium Pending JPH11272573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10070896A JPH11272573A (en) 1998-03-19 1998-03-19 File transfer method, file transfer system and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10070896A JPH11272573A (en) 1998-03-19 1998-03-19 File transfer method, file transfer system and recording medium

Publications (1)

Publication Number Publication Date
JPH11272573A true JPH11272573A (en) 1999-10-08

Family

ID=13444763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10070896A Pending JPH11272573A (en) 1998-03-19 1998-03-19 File transfer method, file transfer system and recording medium

Country Status (1)

Country Link
JP (1) JPH11272573A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002007187A (en) * 2000-04-27 2002-01-11 Internatl Business Mach Corp <Ibm> System for transferring related data object in distributed data storage environment and method for the same
JP2007334382A (en) * 2006-06-12 2007-12-27 Mitsubishi Electric Corp Distributed system and data management method
JP2008250994A (en) * 2000-11-24 2008-10-16 Luciano Chiappalone System for distributing file containing digital data using computer network
JP2009521756A (en) * 2005-12-22 2009-06-04 ソニー オンライン エンタテインメント エルエルシー Remote file repair by hierarchical segmented cyclic redundancy check
JP2011008414A (en) * 2009-06-24 2011-01-13 Nec Corp Terminal, request transmission method and program
JP2011209506A (en) * 2010-03-30 2011-10-20 Yamaha Corp Karaoke terminal
JP2016003982A (en) * 2014-06-18 2016-01-12 株式会社ミツトヨ Earthquake observation system and seismometer
JP2018116528A (en) * 2017-01-19 2018-07-26 日本電信電話株式会社 High-speed upload system, retransmission control method of the same, and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002007187A (en) * 2000-04-27 2002-01-11 Internatl Business Mach Corp <Ibm> System for transferring related data object in distributed data storage environment and method for the same
JP2008250994A (en) * 2000-11-24 2008-10-16 Luciano Chiappalone System for distributing file containing digital data using computer network
JP2009521756A (en) * 2005-12-22 2009-06-04 ソニー オンライン エンタテインメント エルエルシー Remote file repair by hierarchical segmented cyclic redundancy check
JP2007334382A (en) * 2006-06-12 2007-12-27 Mitsubishi Electric Corp Distributed system and data management method
JP2011008414A (en) * 2009-06-24 2011-01-13 Nec Corp Terminal, request transmission method and program
JP2011209506A (en) * 2010-03-30 2011-10-20 Yamaha Corp Karaoke terminal
JP2016003982A (en) * 2014-06-18 2016-01-12 株式会社ミツトヨ Earthquake observation system and seismometer
JP2018116528A (en) * 2017-01-19 2018-07-26 日本電信電話株式会社 High-speed upload system, retransmission control method of the same, and program

Similar Documents

Publication Publication Date Title
JP3349926B2 (en) Receiving control device, communication control system, and communication control method
CN109743135A (en) A kind of method of breakpoint transmission file transmission
JPH11272573A (en) File transfer method, file transfer system and recording medium
JPH1084374A (en) Communication control method in network system by duplicate loop transmission system
KR101027703B1 (en) A data transfer procedure for transferring data of a data sequence between a transmitting entity and a receiving entity
JPH10243050A (en) Data communication system
US6230283B1 (en) Logical connection resynchronization
JPH0398338A (en) Transmission method for remote monitor controller
JP4966642B2 (en) Communication apparatus and communication control method
JPH1028140A (en) Packet transfer device
JPH114259A (en) Virtual connection communication equipment and communication method
JPH11168525A (en) Data communication method and data communication equipment
KR100241904B1 (en) Method for re-transmitting data of data link layer in paging exchange system
KR100904085B1 (en) Sequenced data transmission method
CN116980231B (en) Double-link redundancy safety communication method and device
JPH01833A (en) data transmission equipment
JPH0787091A (en) Centralized radio communication system
CN111417116B (en) Communication method and system adapted through ATT, read-write and exception handling
JP2776274B2 (en) Virtual buffer control system in relay computer
JP3129291B2 (en) Data link control method and device
JP3245552B2 (en) Transfer control system
JPH03104348A (en) Flow control system
JPH09224017A (en) Radio packet retransmission control method
JP2834006B2 (en) Failure recovery processing method and method
JPH0897880A (en) Communication system by procedure applicable to hdlc