JPH09265428A - File transfer system - Google Patents

File transfer system

Info

Publication number
JPH09265428A
JPH09265428A JP8073010A JP7301096A JPH09265428A JP H09265428 A JPH09265428 A JP H09265428A JP 8073010 A JP8073010 A JP 8073010A JP 7301096 A JP7301096 A JP 7301096A JP H09265428 A JPH09265428 A JP H09265428A
Authority
JP
Japan
Prior art keywords
file
data
receiving
way function
terminal
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
JP8073010A
Other languages
Japanese (ja)
Other versions
JP3288221B2 (en
Inventor
Toshiyuki Tsutsumi
俊之 堤
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP07301096A priority Critical patent/JP3288221B2/en
Publication of JPH09265428A publication Critical patent/JPH09265428A/en
Application granted granted Critical
Publication of JP3288221B2 publication Critical patent/JP3288221B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To surely obtain a file requested from a file receiving terminal only by transferring remaining file data which can not be received yet to a transmitting terminal by using file data received before the interruption of file transfer. SOLUTION: The length of partial file data received by the receiving terminal 160 before the generation of a fault and check information calculated by a unidirectional function are transmitted to the transmitting terminal 110, which calculates the uni-directional function of the transmitted file data for the length and compares whether the calculated function coincides with the transmitted check information or not. Thereby the contents of the partial file data from the terminal 160 can be confirmed and the remaining file data which can not be received yet are transferred to the terminal 110 by using the file data received before the interruption of file transfer.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークを介
してファイルを送受信するファイル転送システムに関
し、特に、ネットワークの障害、あるいは送信端末側の
障害によりファイル転送が途中で失敗した場合に、ファ
イル転送を再試行するファイル転送システムに適用して
有効な技術に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file transfer system for transmitting / receiving a file via a network, and more particularly to a file transfer system in the case where the file transfer fails in the middle due to a network failure or a failure on the transmitting terminal side. The present invention relates to a technique effectively applied to a file transfer system for retrying.

【0002】[0002]

【従来の技術】ネットワークを介してファイルの送受信
を行うファイル転送システムにおいて、ファイル転送が
行われている際に、ネットワークの障害、あるいは送信
端末側に障害が発生し、ファイル転送が失敗した場合に
おける従来のファイル転送の再試行は、ネットワークの
トラフィックを減少させるために、受信端末側がファイ
ル転送を中断した時点までに受信したファイルデータの
長さを測定して、その長さを送信端末側に伝えて、その
送信端末から、それ以降の残りのファイルデータを受信
するものであった。
2. Description of the Related Art In a file transfer system for sending and receiving a file via a network, when the file transfer is being performed and a network failure or a failure occurs on the sending terminal side, the file transfer fails. In order to reduce network traffic, conventional retry of file transfer measures the length of file data received by the receiving terminal side until the file transfer is interrupted, and informs the transmitting terminal side of the length. Then, the remaining file data after that is received from the transmitting terminal.

【0003】[0003]

【発明が解決しようとする課題】本発明者は、上記従来
技術を検討した結果、以下の問題点を見いだした。
SUMMARY OF THE INVENTION As a result of studying the above prior art, the present inventor has found the following problems.

【0004】(1)ファイル転送中断前までに受信端末
の受信したファイルデータが、障害回復後に転送を要求
するファイルデータの一部であることは保証されておら
ず、障害回復後に、残りのファイルデータだけを送られ
てきても、本来、受信端末側が要求しているファイルを
得ることができない場合がある。
(1) It is not guaranteed that the file data received by the receiving terminal before the file transfer is interrupted is part of the file data requested to be transferred after the failure recovery. Even if only the data is sent, the file originally requested by the receiving terminal may not be obtained.

【0005】(2)同一の転送ファイルデータを保持す
る端末が複数ある場合において、ある送信端末との間で
ファイル転送を行っている時に障害が発生したとき、障
害の回復を待たずに、他の送信端末に対して新たに転送
ファイルの全てを要求することはできたが、今までに受
信したファイルデータが他の転送端末から転送してもら
うファイルデータの一部であることを保証できないこと
から、転送されていない残りのファイルデータだけを転
送してもらうようなことはできなかった。
(2) In the case where a plurality of terminals hold the same transfer file data, when a failure occurs during file transfer with a certain sending terminal, other terminals do not wait for recovery from the failure and other Although it was possible to newly request all the transfer files from the sending terminal of, it cannot be guaranteed that the file data received so far is a part of the file data transferred from another transfer terminal. I couldn't get the rest of the file data to be transferred.

【0006】本発明の目的は、ファイル転送中断前まで
に受信したファイルデータを利用し、受信できなかった
残りのファイルデータを送信端末側に転送してもらうだ
けでファイル受信端末側が要求しているファイルを確実
に得ることが可能な技術を提供することにある。
An object of the present invention is to use the file data received before the interruption of the file transfer, and to request the file receiving terminal side by simply transferring the remaining file data which could not be received to the transmitting terminal side. It is to provide a technique capable of surely obtaining a file.

【0007】本発明の前記ならびにその他の目的と新規
な特徴は、本明細書の記述及び添付図面によって明らか
になるであろう。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0008】[0008]

【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記のとおりである。
SUMMARY OF THE INVENTION Among the inventions disclosed in the present application, the outline of a representative one will be briefly described.
It is as follows.

【0009】ファイル受信手段と受信ファイル記憶手段
とを有する少なくとも一台の受信端末と、ファイル送信
手段と送信ファイル記憶手段とを有する少なくとも一台
の送信端末とがネットワークを介して接続されたファイ
ル転送システムにおいて、前記ファイル受信手段は、利
用者からのコマンド入力、または前記ファイル記憶手段
へのデータの入出力を行う入出力手段と、前記受信ファ
イル記憶手段に記憶されたファイルデータの長さを測定
するファイル長測定手段と、前記受信ファイル記憶手段
に記憶されたファイルデータに対して一方向性関数を計
算する一方向性関数計算手段と、前記受信ファイル記憶
手段に記憶されたファイルデータに他のデータを連結す
るデータ連結手段と、前記ネットワークを介して前記送
信端末とのファイルデータの送受信を行い、前記ファイ
ル送信手段に一方向性関数の計算結果を送信する通信制
御手段とを備え、前記ファイル送信手段は、前記ネット
ワークを介して前記受信端末とのファイルデータの送受
信を行い、前記ファイル受信手段から一方向性関数の計
算結果を受信する通信制御手段と、前記送信ファイル記
憶手段へのデータの入出力を行う入出力手段と、前記送
信ファイル記憶手段に記憶された任意のファイルデータ
を任意の長さのデータで選択するデータ選択手段と、前
記受信ファイル記憶手段に記憶されたファイル名と長さ
に相当する前記送信ファイル記憶手段に記憶されたデー
タに対して一方向性関数を計算する一方向性関数計算手
段と、前記ファイル受信手段から受信した一方向性関数
の計算結果と前記ファイル送信手段における一方向性関
数の計算結果とを比較する比較手段とを備える。
File transfer in which at least one receiving terminal having a file receiving means and a receiving file storage means and at least one transmitting terminal having a file transmission means and a transmission file storage means are connected via a network In the system, the file receiving means measures an input / output means for inputting a command from a user or inputting / outputting data to / from the file storage means, and a length of file data stored in the received file storage means. File length measuring means, a one-way function calculating means for calculating a one-way function for the file data stored in the received file storage means, and another one-way function for the file data stored in the received file storage means. Data connection means for connecting data and a file between the transmission terminal via the network. Communication control means for transmitting / receiving data and transmitting the calculation result of the one-way function to the file transmitting means, wherein the file transmitting means transmits / receives file data to / from the receiving terminal via the network. A communication control means for receiving the calculation result of the one-way function from the file receiving means, an input / output means for inputting / outputting data to / from the transmission file storage means, and an arbitrary one stored in the transmission file storage means Data selection means for selecting file data with data of arbitrary length, and one-way with respect to data stored in the transmission file storage means corresponding to the file name and length stored in the reception file storage means One-way function calculation means for calculating a function, calculation result of one-way function received from the file reception means, and the file transmission means And a comparing means for comparing the calculation result of the definitive one-way function.

【0010】[0010]

【発明の実施の形態】以下に、本発明の実施形態の例を
説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An example of an embodiment of the present invention will be described below.

【0011】図1は、本発明の実施形態にかかるファイ
ル転送システムの構成を示したものである。
FIG. 1 shows the configuration of a file transfer system according to an embodiment of the present invention.

【0012】本実施形態のファイル転送システムは、図
1に示すように、ファイル送信部120を備えた送信端
末110とファイル受信部170を備えた受信端末と
が、イーサネット、FDDI、トークンリング、AT
M、専用回線、またはISDNなどのネットワーク15
0に接続された構成を取り、その送信・受信端末11
0、160には、それぞれハードディスクやフロッピー
ディスク、光ディスクやCD−ROMなどの補助記憶装
置130、190が接続されている。なお、図1に示す
140は転送される転送ファイルデータを示す。
In the file transfer system of the present embodiment, as shown in FIG. 1, a transmission terminal 110 having a file transmission unit 120 and a reception terminal having a file reception unit 170 are connected by Ethernet, FDDI, token ring, AT.
Network 15 such as M, leased line, or ISDN
0 has a configuration connected to 0, and its sending / receiving terminal 11
Auxiliary storage devices 130 and 190 such as a hard disk, a floppy disk, an optical disk and a CD-ROM are connected to 0 and 160, respectively. Incidentally, reference numeral 140 shown in FIG. 1 denotes transfer file data to be transferred.

【0013】図1に示すファイル受信部170は、図2
(a)に示すように、ネットワーク150を介して特定
の通信端末とファイルデータの送受信及び一方向性関数
の計算結果の送信を行う通信制御部171と、入力装置
176からのコマンド入力、及び補助記憶装置190へ
のデータの入出力を行う入出力部172と、補助記憶装
置190の任意のファイルデータの長さを測定するファ
イル長測定部174と、補助記憶装置190の任意のフ
ァイルデータを入力として一方向性関数を計算する一方
向性関数計算部173と、補助記憶装置190の任意の
ファイルデータに新たなデータを連結するデータ連結部
175とからなる。
The file receiving section 170 shown in FIG.
As shown in (a), a communication control unit 171 that transmits / receives file data and a calculation result of a one-way function to / from a specific communication terminal via the network 150, command input from the input device 176, and auxiliary Input / output unit 172 for inputting / outputting data to / from storage device 190, file length measuring unit 174 for measuring length of arbitrary file data in auxiliary storage device 190, and inputting arbitrary file data in auxiliary storage device 190 The unidirectional function calculation unit 173 calculates a unidirectional function, and the data connection unit 175 connects new data to arbitrary file data in the auxiliary storage device 190.

【0014】ファイル送信部120は、図2(b)に示
すように、ネットワーク150を介して特定の通信端末
とファイルデータの送受信及び一方向関数の計算結果の
受信を行う通信制御部121と、補助記憶装置130へ
のデータの入出力を行う入出力部122と、補助記憶装
置130にある任意のファイルデータの先頭から任意の
長さのデータを入力として一方向性関数の出力を計算す
る一方向性関数計算部123と、その一方向性関数計算
部123で計算された結果(以下、チェック情報2、4
と記す)と上述したファイル受信部170の一方向性関
数計算部173で計算された結果(以下、チェック情報
1、3と記す)とを比較する情報比較部124と、補助
記憶装置130にある任意のファイルデータの先頭から
任意の長さのデータ、及び任意のファイルデータの任意
の位置から最後までのデータを選択するデータ選択部1
25とからなる。
As shown in FIG. 2B, the file transmission section 120 includes a communication control section 121 that transmits / receives file data to / from a specific communication terminal and receives the calculation result of the one-way function via the network 150. An input / output unit 122 for inputting / outputting data to / from the auxiliary storage device 130, and one for calculating the output of the one-way function by inputting data of an arbitrary length from the beginning of arbitrary file data in the auxiliary storage device 130 The directional function calculation unit 123 and the result calculated by the unidirectional function calculation unit 123 (hereinafter, check information 2, 4
In the auxiliary storage device 130, and an information comparison unit 124 that compares the result (hereinafter, referred to as check information 1 and 3) calculated by the one-way function calculation unit 173 of the file reception unit 170 described above. A data selection unit 1 for selecting data of arbitrary length from the beginning of arbitrary file data and data of arbitrary position to end of arbitrary file data
25 and.

【0015】上述した一方向性関数とは、任意の長さの
入力データに対して、固定長の出力データを算出し、同
じの入力データに対しては同じの出力データを算出し、
出力データから入力データを推測することが非常に困難
であるような特徴を持った関数である。
The above-mentioned one-way function means that fixed-length output data is calculated for input data of an arbitrary length, and the same output data is calculated for the same input data.
It is a function with the characteristics that it is very difficult to infer the input data from the output data.

【0016】次に、上述したファイル転送システムにお
いて、ネットワークの障害、あるいは送信端末110側
の障害により、ファイル転送が途中で中断するまでの動
作遷移を図3を用いて説明する。
Next, in the above-mentioned file transfer system, an operation transition until the file transfer is interrupted due to a network failure or a failure on the transmitting terminal 110 side will be described with reference to FIG.

【0017】図3は、ネットワークの障害、あるいは、
送信端末110の障害によって、ファイル転送が中断す
るまでのファイル転送システムのファイル転送動作の遷
移を示したフローチャートである。
FIG. 3 shows a network failure or
7 is a flowchart showing a transition of a file transfer operation of the file transfer system until the file transfer is interrupted due to a failure of the transmission terminal 110.

【0018】本実施形態のファイル転送システムのファ
イル転送は、まず、ファイル受信部170が、ユーザ、
あるいは、他のプロセスにより指定された送信端末11
0のファイル送信部120に、指定された転送ファイル
データ140の識別子を送信する(ステップ210)。
In the file transfer of the file transfer system of the present embodiment, first, the file receiving section 170 causes the user to
Alternatively, the transmitting terminal 11 designated by another process
The identifier of the designated transfer file data 140 is transmitted to the file transmission unit 120 of 0 (step 210).

【0019】ファイル送信部120は受信したファイル
識別子から、補助記憶装置130上の転送ファイルデー
タ140を検索し、取り出し(ステップ220)、その
取り出した転送ファイルデータ140を、端末間のデー
タ転送単位であるパケットに分割し(ステップ23
0)、その分割したパケットを転送ファイルデータ14
0の先頭に当たる部分から順番にファイル受信部170
に送信する(ステップ240)。
The file transmission unit 120 searches the transfer file data 140 on the auxiliary storage device 130 from the received file identifier, extracts the transfer file data 140 (step 220), and extracts the transfer file data 140 in units of data transfer between terminals. Divide into certain packets (step 23
0), transfer the divided packet to the transfer file data 14
The file receiving unit 170 is sequentially arranged from the portion corresponding to the beginning of 0.
(Step 240).

【0020】ファイル受信部170は、受信したパケッ
トを補助記憶装置190に書き込み(ステップ25
0)、一部のパケットがファイル受信部170に受信さ
れた時点で、送信端末110と受信端末160間のネッ
トワーク150が、例えば、物理的な回線が外れてしま
うとか、ネットワークの途中経路で経路制御を行ってい
るソフトウェアが暴走してしまうなど、あるいは、送信
端末110側でファイル送信部120が異常終了した
り、送信端末110の電源が切れてしまったりなどして
物理的あるいは論理的な障害により通信できなくなる
(ステップ260)。
The file receiving section 170 writes the received packet in the auxiliary storage device 190 (step 25).
0), when a part of the packets is received by the file receiving unit 170, the network 150 between the transmitting terminal 110 and the receiving terminal 160 may be disconnected from a physical line, or may be routed in the middle of the network. A physical or logical failure occurs due to the control software going out of control, the file transmitting unit 120 abnormally terminating on the transmitting terminal 110 side, or the transmitting terminal 110 being powered off. Therefore, communication cannot be performed (step 260).

【0021】この時、図4に示すように、受信端末16
0側の補助記憶装置190には、障害前に送信端末11
0側にあった転送ファイルデータ140の一部である部
分ファイルデータ310が保持される。
At this time, as shown in FIG. 4, the receiving terminal 16
The auxiliary storage device 190 on the 0 side stores the sending terminal 11 before the failure.
The partial file data 310 that is a part of the transfer file data 140 on the 0 side is held.

【0022】以下では、このような状況のもとでの本実
施形態のファイル転送システムのファイル転送の再試行
処理の手順について図1〜図5を用いて説明する。
The procedure of the file transfer retry process of the file transfer system of this embodiment under such a situation will be described below with reference to FIGS.

【0023】図5は、上記で説明した障害が回復してか
らの本実施形態のファイル転送システムのファイル転送
の再試行処理を説明するためのフローチャートである。
FIG. 5 is a flow chart for explaining the retry processing of the file transfer of the file transfer system of the present embodiment after the failure described above is recovered.

【0024】本実施形態のファイル転送システムのファ
イル転送の再試行処理は、まず、送信端末110と転送
ファイルデータ140と部分ファイルデータ310の識
別子が入力部172で指定される(ステップ410)。
In the file transfer retry processing of the file transfer system of this embodiment, first, the identifiers of the transmission terminal 110, the transfer file data 140, and the partial file data 310 are designated by the input unit 172 (step 410).

【0025】そして、ファイル受信部170はその指定
された部分ファイル識別子で識別できる部分ファイル3
10を補助記憶装置190から取り出し(ステップ42
0)、その部分ファイルデータ310の長さ情報をファ
イル長測定部174で測定する(ステップ430)。
Then, the file receiving section 170 determines the partial file 3 which can be identified by the specified partial file identifier.
10 from the auxiliary storage device 190 (step 42
0), the length information of the partial file data 310 is measured by the file length measuring unit 174 (step 430).

【0026】次に、ファイル受信部170は、その部分
ファイルデータ310を入力とした時の一方向性関数の
計算結果であるチェック情報1を一方向性関数計算部1
73で作成し(ステップ440)、ファイル受信部17
0は、転送ファイルデータ140のファイル識別子と長
さ情報とチェック情報1を通信制御部171により指定
された送信端末110のファイル送信部120に送信す
る(ステップ450)。
Next, the file receiving unit 170 receives the check information 1 which is the calculation result of the one-way function when the partial file data 310 is input as the one-way function calculation unit 1.
Created by 73 (step 440), the file receiving unit 17
0 transmits the file identifier, length information, and check information 1 of the transfer file data 140 to the file transmission unit 120 of the transmission terminal 110 designated by the communication control unit 171 (step 450).

【0027】ファイル送信部120は、補助記憶装置1
30から受信したファイル識別子に対応する転送ファイ
ルデータ140を取り出し、受信した長さ情報で示され
る大きさのデータをデータ選択部125により転送ファ
イルデータ140の先頭から取り出し(ステップ46
0)、一方向性関数計算部123によりそのデータを入
力とした時の一方向性関数の計算結果であるチェック情
報2を作成する(ステップ470)。
The file transmission unit 120 includes the auxiliary storage device 1
The transfer file data 140 corresponding to the file identifier received from 30 is taken out, and the data of the size indicated by the received length information is taken out from the beginning of the transfer file data 140 by the data selecting section 125 (step 46).
0), the one-way function calculation unit 123 creates check information 2 which is the calculation result of the one-way function when the data is input (step 470).

【0028】その後、ファイル送信部120は、受信し
たチェック情報1とステップ470で計算したチェック
情報2とを情報比較部124で比較し、その比較した結
果、データが同一であれば、ステップ490へ進み、デ
ータが異なっていれば、ステップ510に進む(ステッ
プ480)。
After that, the file transmission unit 120 compares the received check information 1 with the check information 2 calculated in step 470 by the information comparison unit 124. If the comparison result indicates that the data are the same, the process proceeds to step 490. If the data is different, the process proceeds to step 510 (step 480).

【0029】ステップ490では、転送ファイルデータ
140の先頭から受信した長さ情報で示される大きさの
データを除いたファイルデータをデータ選択部125で
選択して通信制御部121により受信端末160のファ
イル受信部170に送信する。
In step 490, the data selection unit 125 selects the file data excluding the data of the size indicated by the length information received from the beginning of the transfer file data 140, and the communication control unit 121 selects the file of the receiving terminal 160. It is transmitted to the receiving unit 170.

【0030】そして、ファイル受信部170は、通信制
御部171によりステップ490のファイルデータを受
信して、データ連結部175により部分ファイルデータ
310の末尾にそのデータを接続し、転送ファイルデー
タ140と同一のデータ作成する(ステップ500)。
Then, the file receiving section 170 receives the file data of step 490 by the communication control section 171 and connects the data to the end of the partial file data 310 by the data linking section 175, which is the same as the transfer file data 140. Data is created (step 500).

【0031】ステップ510では、ファイル送信部12
0の通信制御部121が受信した識別子のファイルをす
べてファイルを受信部170に再転送する。
In step 510, the file transmission unit 12
All the files with the identifier received by the communication control unit 121 of 0 are retransferred to the receiving unit 170.

【0032】次に、補助記憶装置130に同一ファイル
が記憶され、それらのファイルの転送を行うことができ
る送信端末110が複数個あるファイル転送システムに
おけるファイル転送について説明する。
File transfer in a file transfer system in which the same files are stored in the auxiliary storage device 130 and there are a plurality of transmission terminals 110 capable of transferring these files will be described.

【0033】図6は、ファイル転送を行う複数の送信端
末110a、110bを備えたファイル転送システムの
構成を示したものである。
FIG. 6 shows the configuration of a file transfer system including a plurality of transmission terminals 110a and 110b for transferring files.

【0034】図6において、110a、110bはファ
イル送信部120a、120bを備え、ネットワーク1
50に接続して通信を行う送信端末であり、130a、
130bは同一の内容の転送ファイルデータ140を有
する補助記憶装置であり、ファイル転送システムは、上
記複数の送信端末110a、110bとファイル転送先
のファイル受信部170と補助記憶装置190と有する
受信端末160とがネットワーク150を介して接続さ
れた構成をとる。
In FIG. 6, 110a and 110b are provided with file transmission units 120a and 120b, respectively, and network 1
A transmitting terminal that connects to 50 to perform communication,
Reference numeral 130b denotes an auxiliary storage device having transfer file data 140 having the same content. The file transfer system includes a receiving terminal 160 having the plurality of transmitting terminals 110a and 110b, a file receiving unit 170 of a file transfer destination, and an auxiliary storage device 190. And are connected via a network 150.

【0035】ファイル送信部120a、120bの構成
は、図2(a)に示したファイル送信部120の構成と
同様である。
The configuration of the file transmission units 120a and 120b is similar to that of the file transmission unit 120 shown in FIG.

【0036】次に、送信端末110aからファイルの転
送を行っている際に、送信端末110aに障害等が発生
してファイル転送が途絶え、受信側の受信端末160の
補助記憶装置190に部分ファイルデータ310が格納
された状態を想定し、この送信端末110aの障害回復
を待たずに送信端末110bから残りのファイルの転送
を受ける場合について説明する。
Next, when the file is transferred from the transmitting terminal 110a, the file transfer is interrupted due to a failure of the transmitting terminal 110a and the partial file data is stored in the auxiliary storage device 190 of the receiving terminal 160 on the receiving side. Assuming that 310 is stored, a case will be described in which the remaining files are transferred from the transmission terminal 110b without waiting for the failure recovery of the transmission terminal 110a.

【0037】図7は、ファイル転送を受けていなかった
他の送信端末からファイル転送を受ける処理手順を示し
たフローチャートである。
FIG. 7 is a flowchart showing a processing procedure for receiving a file transfer from another transmitting terminal which has not received the file transfer.

【0038】まず、ファイル受信部170において、入
力部172により送信端末110bと転送ファイルデー
タ140と部分ファイルデータ310の識別子が指定さ
れ(ステップ610)、その指定された部分ファイル識
別子で識別できる部分ファイル310を補助記憶装置1
90から取り出す(ステップ620)、その部分ファイ
ルデータ310の長さをファイル長測定部174で測定
し(ステップ630)、部分ファイルデータ310を入
力とした時の一方向性関数の計算結果であるチェック情
報3を一方向性関数計算部173で作成し(ステップ6
40)、転送ファイルデータ140のファイル識別子と
長さの情報とチェック情報3を、指定された送信端末1
10bのファイル送信部120bに送信する(ステップ
650)。
First, in the file receiving section 170, the input section 172 specifies the identifiers of the transmitting terminal 110b, the transfer file data 140, and the partial file data 310 (step 610), and the partial file that can be identified by the specified partial file identifier. 310 is the auxiliary storage device 1
90 (step 620), the length of the partial file data 310 is measured by the file length measuring unit 174 (step 630), and the calculation result of the one-way function when the partial file data 310 is input is checked. Information 3 is created by the one-way function calculation unit 173 (step 6
40), the file identifier of the transfer file data 140, the length information, and the check information 3 are transmitted to the designated transmission terminal 1
It is transmitted to the file transmission unit 120b of 10b (step 650).

【0039】ファイル送信部120bは、補助記憶装置
130bから受信したファイル識別子に対応する転送フ
ァイルデータ140を取り出し(ステップ650)、受
信した長さの情報で示される大きさのデータをデータ選
択部125により転送ファイルデータ140の先頭から
取り出し(ステップ660)、そのデータを入力とした
時の一方向性関数の計算結果であるチェック情報4を一
方向性関数計算部123で作成し(ステップ670)、
送信端末110bから受信したチェック情報3とステッ
プ670で計算したチェック情報4とを比較し、その比
較した結果、同一であれば、ステップ690へ進み、異
なっていれば、ステップ710に進む(ステップ68
0)。
The file transmission unit 120b takes out the transfer file data 140 corresponding to the file identifier received from the auxiliary storage device 130b (step 650), and selects the data of the size indicated by the received length information from the data selection unit 125. The transfer file data 140 is fetched from the beginning (step 660), and the one-way function calculator 123 creates check information 4, which is the calculation result of the one-way function when the data is input (step 670).
The check information 3 received from the transmitting terminal 110b is compared with the check information 4 calculated in step 670. If the comparison result shows that they are the same, the process proceeds to step 690, and if they are different, the process proceeds to step 710 (step 68).
0).

【0040】ステップ690では、データ選択部125
により転送ファイルデータ140の先頭から受信した長
さ情報で示される大きさのデータを除いたファイルデー
タを通信制御部121により受信端末160のファイル
受信部170に送信する。
In step 690, the data selection unit 125
Then, the communication control unit 121 transmits the file data excluding the size data indicated by the length information received from the beginning of the transfer file data 140 to the file receiving unit 170 of the receiving terminal 160.

【0041】そして、ファイル受信部170は、ステッ
プ690のファイルデータを受信して、データ連結部1
75により部分ファイルデータ310の末尾にそのデー
タを接続し、転送ファイルデータ140と同一のデータ
作成する(ステップ700)。
Then, the file receiving section 170 receives the file data of step 690, and the data connecting section 1
The data is connected to the end of the partial file data 310 by 75, and the same data as the transfer file data 140 is created (step 700).

【0042】ステップ710では、ファイル送信部12
0が受信した識別子のファイルをすべてファイル受信部
170に転送する。
In step 710, the file transmission unit 12
All the files with the identifier received by 0 are transferred to the file receiving unit 170.

【0043】したがって、説明してきたように、ファイ
ル受信手段と受信ファイル記憶手段とを有する少なくと
も一台の受信端末と、ファイル送信手段と送信ファイル
記憶手段とを有する少なくとも一台の送信端末とがネッ
トワークを介して接続されたファイル転送システムにお
いて、前記ファイル受信手段は、利用者からのコマンド
入力、または前記ファイル記憶手段へのデータの入出力
を行う入出力手段と、前記受信ファイル記憶手段に記憶
されたファイルデータの長さを測定するファイル長測定
手段と、前記受信ファイル記憶手段に記憶されたファイ
ルデータに対して一方向性関数を計算する一方向性関数
計算手段と、前記受信ファイル記憶手段に記憶されたフ
ァイルデータに他のデータを連結するデータ連結手段
と、前記ネットワークを介して前記送信端末とのファイ
ルデータの送受信、及び一方向性関数の計算結果の送信
を行う通信制御手段とを備え、前記ファイル送信手段
は、前記ネットワークを介して前記受信端末とのファイ
ルデータの送受信、及び一方向性関数の計算結果の受信
を行う通信制御手段と、前記送信ファイル記憶手段への
データの入出力を行う入出力手段と、前記送信ファイル
記憶手段に記憶された任意のファイルデータを任意の長
さのデータで選択するデータ選択手段と、前記受信ファ
イル記憶手段に記憶されたファイル名と長さに相当する
前記送信ファイル記憶手段に記憶されたデータに対して
一方向性関数を計算する一方向性関数計算手段と、前記
ファイル受信手段における一方向性関数の計算結果と前
記ファイル送信手段における一方向性関数の計算結果と
を比較する比較手段とを備えることにより、受信端末が
障害前に受信した部分ファイルデータの長さと一方向性
関数で計算したチェック情報とを送信端末に送信し、送
信端末側ではその長さ分の送信ファイルデータの一方向
性関数を計算し、送信されたチェック情報と一致してい
るかどうか比較することにより、受信端末の部分ファイ
ルデータの内容を確認することができ、ファイル転送中
断前までに受信したファイルデータを利用し、受信でき
なかった残りのファイルデータを送信端末側に転送して
もらうだけでファイル受信端末側が要求しているファイ
ルを確実に得ることが可能となる。
Therefore, as described above, at least one receiving terminal having the file receiving means and the receiving file storing means, and at least one transmitting terminal having the file transmitting means and the transmitting file storing means are networked. In the file transfer system connected via the above, the file receiving means is stored in the received file storing means and the input / output means for inputting a command from a user or inputting / outputting data to / from the file storing means. File length measuring means for measuring the length of the file data, one-way function calculating means for calculating a one-way function with respect to the file data stored in the received file storage means, and the received file storage means Data connecting means for connecting other data to the stored file data, and the network And a communication control means for transmitting and receiving file data to and from the transmitting terminal via the network, and transmitting a calculation result of a one-way function, the file transmitting means comprising file data to and from the receiving terminal via the network. Communication control means for transmitting and receiving data, and receiving the calculation result of the one-way function, input and output means for inputting and outputting data to and from the transmission file storage means, and an arbitrary file stored in the transmission file storage means Data selection means for selecting data of arbitrary length, and one-way function for data stored in the transmission file storage means corresponding to the file name and length stored in the reception file storage means A unidirectional function calculating means for calculating the unidirectional function, a unidirectional function calculation result in the file receiving means, and a unidirectional function in the file transmitting means. By including a comparison means for comparing the calculation result of the, the receiving terminal transmits the length of the partial file data received before the failure and the check information calculated by the one-way function to the transmitting terminal, and the transmitting terminal side By calculating the one-way function of the transmitted file data for that length and comparing it with the transmitted check information, the contents of the partial file data of the receiving terminal can be confirmed, and the file transfer can be performed. The file requested by the file receiving terminal side can be surely obtained by using the file data received up to the time of interruption and only having the transmitting terminal side transfer the remaining file data that could not be received.

【0044】また、受信端末の部分ファイルデータの内
容を確認することができるため、複数台の送信端末があ
る場合には、障害が発生した送信端末と違う送信端末に
対して残りのファイル転送を要求することができ、障害
回復の時間を待つ必要がなくなる。
Further, since the contents of the partial file data of the receiving terminal can be confirmed, when there are a plurality of transmitting terminals, the remaining file transfer is performed to the transmitting terminal different from the transmitting terminal in which the failure has occurred. You can make a request and not have to wait for time for disaster recovery.

【0045】以上、本発明者によってなされた発明を、
前記実施形態に基づき具体的に説明したが、本発明は、
前記実施形態に限定されるものではなく、その要旨を逸
脱しない範囲において種々変更可能であることは勿論で
ある。
As described above, the invention made by the present inventor is
Although specifically described based on the embodiment, the present invention
It is needless to say that the present invention is not limited to the above embodiment, and various changes can be made without departing from the scope of the invention.

【0046】[0046]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば、下
記のとおりである。
The effects obtained by the representative ones of the inventions disclosed in the present application will be briefly described as follows.

【0047】受信できなかった残りのファイルデータを
送信端末側に転送してもらうだけでファイル受信端末側
が要求しているファイルを確実に得ることが可能とな
る。
The file requested by the file receiving terminal side can be surely obtained only by having the transmitting terminal side transfer the remaining file data that could not be received.

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

【図1】本発明の実施形態にかかるファイル転送システ
ムの構成を示したものである。
FIG. 1 shows a configuration of a file transfer system according to an embodiment of the present invention.

【図2】ファイル送信部とファイル受信部の構成を説明
するための図である。
FIG. 2 is a diagram for explaining configurations of a file transmission unit and a file reception unit.

【図3】ネットワークの障害、あるいは、送信端末の障
害によって、ファイル転送が中断するまでのファイル転
送システムのファイル転送動作の遷移を示したフローチ
ャートである。
FIG. 3 is a flowchart showing a transition of a file transfer operation of the file transfer system until the file transfer is interrupted due to a network failure or a transmission terminal failure.

【図4】障害発生時のファイル転送システムの構成を示
した図である。
FIG. 4 is a diagram showing a configuration of a file transfer system when a failure occurs.

【図5】本実施形態のファイル転送システムのファイル
転送の再試行処理を説明するためのフローチャートであ
る。
FIG. 5 is a flowchart for explaining a file transfer retry process of the file transfer system according to the present embodiment.

【図6】ファイル転送を行う複数の送信端末を備えたフ
ァイル転送システムの構成を示したものである。
FIG. 6 shows a configuration of a file transfer system including a plurality of transmission terminals for transferring files.

【図7】ファイル転送を受けていなかった他の送信端末
からファイル転送を受ける処理手順を示したフローチャ
ートである。
FIG. 7 is a flowchart showing a processing procedure for receiving a file transfer from another transmission terminal that has not received the file transfer.

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

110…送信端末、120…ファイル送信部、121…
通信制御部、122…入出力部、123,173…一方
向性関数計算部、124…情報比較部、125…データ
選択部、130,190…補助記憶装置,140…転送
データファイル、150…ネットワーク、160…受信
端末、170…ファイル受信部、171…通信制御部、
172…入出力部、174…ファイル長測定部、175
…データ連結部、176…入力装置。
110 ... Sending terminal, 120 ... File sending unit, 121 ...
Communication control unit, 122 ... Input / output unit, 123, 173 ... One-way function calculation unit, 124 ... Information comparison unit, 125 ... Data selection unit, 130, 190 ... Auxiliary storage device, 140 ... Transfer data file, 150 ... Network , 160 ... Receiving terminal, 170 ... File receiving unit, 171 ... Communication control unit,
172 ... I / O unit, 174 ... File length measuring unit, 175
... data connection unit, 176 ... input device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ファイル受信手段と受信ファイル記憶手
段とを有する少なくとも一台の受信端末と、ファイル送
信手段と送信ファイル記憶手段とを有する少なくとも一
台の送信端末とがネットワークを介して接続されたファ
イル転送システムにおいて、 前記ファイル受信手段は、利用者からのコマンド入力、
または前記ファイル記憶手段へのデータの入出力を行う
入出力手段と、前記受信ファイル記憶手段に記憶された
ファイルデータの長さを測定するファイル長測定手段
と、前記受信ファイル記憶手段に記憶されたファイルデ
ータに対して一方向性関数を計算する一方向性関数計算
手段と、前記受信ファイル記憶手段に記憶されたファイ
ルデータに他のデータを連結するデータ連結手段と、前
記ネットワークを介して前記送信端末とのファイルデー
タの送受信を行い、前記ファイル送信手段に一方向性関
数の計算結果を送信する通信制御手段とを備え、 前記ファイル送信手段は、前記ネットワークを介して前
記受信端末とのファイルデータの送受信を行い、前記フ
ァイル受信手段から一方向性関数の計算結果を受信する
通信制御手段と、前記送信ファイル記憶手段へのデータ
の入出力を行う入出力手段と、前記送信ファイル記憶手
段に記憶された任意のファイルデータを任意の長さのデ
ータで選択するデータ選択手段と、前記受信ファイル記
憶手段に記憶されたファイル名と長さに相当する前記送
信ファイル記憶手段に記憶されたデータに対して一方向
性関数を計算する一方向性関数計算手段と、前記ファイ
ル受信手段から受信した一方向性関数の計算結果と前記
ファイル送信手段における一方向性関数の計算結果とを
比較する比較手段とを備えたことを特徴とするファイル
転送システム。
1. At least one receiving terminal having a file receiving means and a receiving file storage means, and at least one transmitting terminal having a file transmission means and a transmission file storage means are connected via a network. In the file transfer system, the file receiving means is a command input from a user,
Alternatively, input / output means for inputting / outputting data to / from the file storage means, file length measuring means for measuring the length of file data stored in the received file storage means, and stored in the received file storage means One-way function calculation means for calculating a one-way function for file data, data connection means for connecting other data to the file data stored in the received file storage means, and the transmission via the network And communication control means for transmitting and receiving file data to and from the terminal, and transmitting the calculation result of the one-way function to the file transmitting means, wherein the file transmitting means is file data with the receiving terminal via the network. Communication control means for transmitting and receiving data, and receiving the calculation result of the one-way function from the file receiving means; Input / output means for inputting / outputting data to / from the file storage means, data selection means for selecting arbitrary file data stored in the transmission file storage means with data of arbitrary length, and the reception file storage means One-way function calculation means for calculating a one-way function for data stored in the transmission file storage means corresponding to the stored file name and length, and one-way function received from the file reception means And a comparison means for comparing the calculation result of 1) with the calculation result of the one-way function in the file transmission means.
JP07301096A 1996-03-28 1996-03-28 File transfer system Expired - Fee Related JP3288221B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07301096A JP3288221B2 (en) 1996-03-28 1996-03-28 File transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07301096A JP3288221B2 (en) 1996-03-28 1996-03-28 File transfer system

Publications (2)

Publication Number Publication Date
JPH09265428A true JPH09265428A (en) 1997-10-07
JP3288221B2 JP3288221B2 (en) 2002-06-04

Family

ID=13505953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07301096A Expired - Fee Related JP3288221B2 (en) 1996-03-28 1996-03-28 File transfer system

Country Status (1)

Country Link
JP (1) JP3288221B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003079897A (en) * 2001-09-10 2003-03-18 Heiwa Corp Game machine
JP2010017581A (en) * 2009-10-26 2010-01-28 Heiwa Corp Game machine
JP2012168613A (en) * 2011-02-10 2012-09-06 Fujitsu Ltd Data transfer device and storage device
DE102016218720A1 (en) 2016-09-28 2018-03-29 Siemens Aktiengesellschaft Method for transmitting data to a rail vehicle and rail vehicle

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003079897A (en) * 2001-09-10 2003-03-18 Heiwa Corp Game machine
JP2010017581A (en) * 2009-10-26 2010-01-28 Heiwa Corp Game machine
JP2012168613A (en) * 2011-02-10 2012-09-06 Fujitsu Ltd Data transfer device and storage device
US8886854B2 (en) 2011-02-10 2014-11-11 Fujitsu Limited Data transfer device and storage device
DE102016218720A1 (en) 2016-09-28 2018-03-29 Siemens Aktiengesellschaft Method for transmitting data to a rail vehicle and rail vehicle

Also Published As

Publication number Publication date
JP3288221B2 (en) 2002-06-04

Similar Documents

Publication Publication Date Title
JP4160642B2 (en) Network data transfer method
US6865617B2 (en) System maps SCSI device with virtual logical unit number and multicast address for efficient data replication over TCP/IP network
EP0681387B1 (en) Open transaction manager access system and method
JP3739799B2 (en) Flow control protocol system and method
EP0464014A2 (en) Communications systems using a fault tolerant protocol
US5961659A (en) Independent simultaneous queueing of message descriptors
US6826148B1 (en) System and method for implementing a routing scheme in a computer network using intention packets when fault conditions are detected
JPH05204804A (en) High-speed transmission line-interface
US7069305B2 (en) Computer system and a data transfer method thereof using remote direct memory access
US6977901B2 (en) Packet transmission/reception processor
JPH07168774A (en) System and method for generation of first message of nonconnective session-directive protocol
US5983272A (en) Option request protocol
JPH09265428A (en) File transfer system
US5894547A (en) Virtual route synchronization
JP2000224260A (en) Communication controller
JPH11328134A (en) Method for transmitting and receiving data between computers
US6925056B1 (en) System and method for implementing a routing scheme using intention packets in a computer network
WO2019174424A1 (en) Link capacity adjustment method, device and system, controller, and network node
EP0641104B1 (en) Local Area Network Transport System
JP2001067299A (en) Interface controller and computer system
JP2001216146A (en) Uninterrupted film updating processing system and its method
JP2003122539A (en) Network printer and network printer system
Ebihara et al. GAMMA-NET: A local computer network coupled by a high speed optical fiber ring bus—system concept and structure
JPH064496A (en) Operating method of network computer system wherein data-conversion overhead is minimized
JP3455603B2 (en) Communication system and event control method for asynchronous communication

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20110315

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees