[go: up one dir, main page]

JP2000322309A - File transmission device - Google Patents

File transmission device

Info

Publication number
JP2000322309A
JP2000322309A JP11132504A JP13250499A JP2000322309A JP 2000322309 A JP2000322309 A JP 2000322309A JP 11132504 A JP11132504 A JP 11132504A JP 13250499 A JP13250499 A JP 13250499A JP 2000322309 A JP2000322309 A JP 2000322309A
Authority
JP
Japan
Prior art keywords
file
data
transmission
reception
receiving
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
JP11132504A
Other languages
Japanese (ja)
Inventor
Shigeyuki Sakasawa
茂之 酒澤
Yasuhiro Takishima
康弘 滝嶋
Masahiro Wada
正裕 和田
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.)
KDDI Corp
Original Assignee
KDD 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 KDD Corp filed Critical KDD Corp
Priority to JP11132504A priority Critical patent/JP2000322309A/en
Publication of JP2000322309A publication Critical patent/JP2000322309A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

(57)【要約】 【課題】 複数本のコネクションを張ってデータ伝送す
る場合であって、データ伝送をその途中で失敗したり中
断したりした場合に、データの再送を効率的に行えるよ
うにしたファイル伝送装置を提供することにある。 【解決手段】 データ読出装置4は磁気ディスク2に格
納されている伝送対象ファイルを仮想的にファイル分割
して読み出す。送信装置5a〜5cは該ファイル分割さ
れたファイルの送信を分担して、受信装置12a〜12
cに送信する。データ書込み装置13は受信装置12a
〜12cにて受信された分割ファイルを仮想的にファイ
ル合成して磁気ディスク装置に書込む。受信装置12a
〜12cは受信済みデータ量を保持する受信ログを作成
し、送信装置5a〜5cはファイル伝送の途中再開時
に、該受信ログを受信装置から受け、該受信済みデータ
量から送信再開位置を求める。
(57) [Summary] [PROBLEMS] To retransmit data efficiently in the case of transmitting data over a plurality of connections and failing or interrupting data transmission in the middle. To provide a file transmission device. A data reading device reads a transmission target file stored on a magnetic disk by virtually dividing the file. The transmitting devices 5a to 5c share the transmission of the divided files, and the receiving devices 12a to 12c
c. The data writing device 13 is a receiving device 12a
12c to virtually combine the divided files received and write them to the magnetic disk drive. Receiving device 12a
12c create a reception log holding the amount of received data, and the transmission devices 5a to 5c receive the reception log from the reception device when resuming the file transmission halfway, and obtain a transmission restart position from the received data amount.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明はファイル伝送装置
に関し、特に、動画像データ等の大容量のファイルを非
リアルタイム伝送するのに好適なファイル伝送装置に関
する。
[0001] 1. Field of the Invention [0002] The present invention relates to a file transmission apparatus, and more particularly to a file transmission apparatus suitable for non-real-time transmission of a large-capacity file such as moving image data.

【0002】[0002]

【従来の技術】従来のファイル伝送、例えばインターネ
ットにおけるファイル伝送には、周知のように、TCP
/IPプロトコルが使用されている。このプロトコル
は、伝送途中で誤ったデータを再送する機能をもってお
り、最終的には、誤りのないファイルを伝送相手に伝送
できるという特徴を有している。しかしながら、伝送路
遅延が大きい時には、通信相手から、正常に受信したか
否かの返事が戻って来るのが遅くなるため、次の新しい
データを送り出すのが遅くなり、結果としてスループッ
トが低下する。特に、日米間や衛星回線等の遅延の大き
い環境下では、高いスループットを得ることができな
い。
2. Description of the Related Art Conventional file transmission, for example, file transmission on the Internet, uses a well-known TCP transmission.
/ IP protocol is used. This protocol has a function of retransmitting erroneous data during transmission, and finally has a feature that an error-free file can be transmitted to a transmission partner. However, when the transmission path delay is large, the response of whether or not the communication has been normally received is delayed from the communication partner, so that the transmission of the next new data is delayed, and as a result, the throughput is reduced. In particular, a high throughput cannot be obtained in an environment with a large delay such as between the United States and Japan or a satellite link.

【0003】一方、従来のファイル伝送では、送信側と
受信側との間に複数本のコネクションを張り、並列的に
データを伝送する機能が提案されている。この機能を用
いると、動画像データ等の大容量のファイルを伝送する
場合に、スループットを大きく向上させることができる
ようになる。
On the other hand, in the conventional file transmission, a function of establishing a plurality of connections between a transmitting side and a receiving side and transmitting data in parallel has been proposed. By using this function, it is possible to greatly improve the throughput when transmitting a large-capacity file such as moving image data.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前記し
た複数本のコネクションを張ってデータ伝送する従来技
術では、データの伝送途中で伝送を失敗したり、意図的
にデータ伝送を中断したりした後、再度伝送を行う場合
には、最初からデータを伝送し直す必要があり、信頼性
あるいは効率の点で問題があった。
However, in the prior art for transmitting data by establishing a plurality of connections as described above, after the transmission fails during the data transmission or the data transmission is intentionally interrupted, When transmitting again, it is necessary to retransmit the data from the beginning, and there has been a problem in reliability or efficiency.

【0005】この発明の目的は、前記した従来技術の問
題点を除去し、複数本のコネクションを張ってデータ伝
送する場合であって、データ伝送をその途中で失敗した
り中断したりした場合に、データの再送を効率的に行え
るようにしたファイル伝送装置を提供することにある。
[0005] An object of the present invention is to eliminate the above-mentioned problems of the prior art and to transmit data over a plurality of connections. In the case where data transmission fails or is interrupted in the middle of the transmission. It is another object of the present invention to provide a file transmission device capable of efficiently retransmitting data.

【0006】[0006]

【課題を解決するための手段】前記の目的を達成するた
めに、本発明は、磁気ディスク装置に格納されている伝
送対象ファイルを仮想的にファイル分割して読み出すデ
ータ読出手段と、該データ読出手段から読み出された分
割ファイルを、複数本のTCP/IPコネクションを用
いて送信する送信手段と、前記送信手段から送られてき
た分割ファイルを受信する受信手段と、該受信手段によ
り受信された分割ファイルを仮想的にファイル合成して
磁気ディスク装置に書込むデータ書込み手段とを具備し
た点に第1の特徴がある。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a data reading means for virtually dividing a transmission target file stored in a magnetic disk drive into files and reading the data. Transmitting means for transmitting the divided file read from the means by using a plurality of TCP / IP connections, receiving means for receiving the divided file sent from the transmitting means, and receiving by the receiving means A first feature resides in that a data writing means for virtually synthesizing the divided file and writing the divided file into the magnetic disk device is provided.

【0007】前記受信装置は、受信済みデータ量を保持
する受信ログを有し、前記送信装置は、ファイル伝送の
途中再開時に、該受信ログを該受信装置から受け、該受
信済みデータ量から送信再開位置を求めるようにした点
に第2の特徴がある。また、送信側および受信側の双方
に転送制御装置を具備し、該受信側の転送制御装置は前
記受信装置の全てから受信を完了したことの通知を受け
ると、ファイル伝送が終了したと判定し、前記転送制御
装置は、前記送信装置または受信装置から伝送エラーが
起きたことを通知されると、全ての送信装置および受信
装置を強制的に終了させるようにした点に第3の特徴が
ある。
[0007] The receiving device has a receiving log for holding the amount of received data, and the transmitting device receives the receiving log from the receiving device when the file transmission is restarted halfway, and transmits the received log from the received data amount. A second feature is that the restart position is obtained. Further, both the transmission side and the reception side are provided with a transfer control device, and when the transfer control device on the reception side receives a notification that the reception has been completed from all of the reception devices, it determines that the file transmission has been completed. The third feature is that the transfer control device forcibly terminates all the transmission devices and the reception devices when notified that a transmission error has occurred from the transmission device or the reception device. .

【0008】前記第1の特徴によれば、伝送対象ファイ
ルを仮想的にファイル分割してデータを読出し、受信さ
れた分割ファイルを仮想的にファイル合成して磁気ディ
スク装置に書込むようにしているので、ファイル分割を
短時間に行うことができ、効率の良いデータ伝送をする
ことができる。
According to the first feature, the file to be transmitted is virtually divided into files, the data is read, and the received divided files are virtually combined and written into the magnetic disk drive. File division can be performed in a short time, and efficient data transmission can be performed.

【0009】また、前記第2の特徴によれば、ファイル
の伝送途中で、データ伝送を失敗したり中断したりした
場合に、受信済みデータ量の次のデータからデータの再
送をすることができるようになるので、データ伝送を効
率的に行えるようになる。さらに、前記第3の特徴によ
れば、データ伝送を失敗したり中断したりした時点で、
全ての送信装置および受信装置は強制的に終了させられ
るので、データ伝送の最初からの再送を早期に開始で
き、結果的にデータ伝送を効率的に行えるようになる。
Further, according to the second feature, when data transmission fails or is interrupted during file transmission, data can be retransmitted from the next data of the received data amount. Therefore, data transmission can be performed efficiently. Further, according to the third feature, when data transmission fails or is interrupted,
Since all the transmitting devices and the receiving devices are forcibly terminated, retransmission from the beginning of data transmission can be started early, and as a result, data transmission can be performed efficiently.

【0010】[0010]

【発明の実施の形態】以下に、図面を参照して、本発明
を詳細に説明する。図1は、本発明の一実施形態の概略
の構成を示すブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of an embodiment of the present invention.

【0011】ファイル伝送する送信側装置1は、例えば
映像ファイル等のファイルを記憶する磁気ディスク、例
えばハードディスク(HD)2、該ファイルの特徴デー
タを抽出する特徴抽出装置3、前記ハードディスク2か
らファイルを読み出すデータ読出装置4、該データ読出
装置4から読出したデータを送信する複数個の送信装置
5(5a,5b,5c)、および通信相手の受信装置と
の間に複数本のコネクション(パイプ)を張ったり、各
種の制御データを受信装置との間でやり取りしたり、他
の制御を行う転送制御装置6から構成されている。
A transmitting device 1 for transmitting a file includes a magnetic disk for storing a file such as a video file, for example, a hard disk (HD) 2, a characteristic extracting device 3 for extracting characteristic data of the file, and a file from the hard disk 2. A plurality of connections (pipe) are formed between the data reading device 4 to be read, a plurality of transmitting devices 5 (5a, 5b, 5c) for transmitting data read from the data reading device 4, and a receiving device of a communication partner. And a transfer control device 6 for transmitting / receiving various control data to / from the receiving device and performing other controls.

【0012】また、受信側装置10は、送信装置1との
間でコネクションを確立したり、制御データをやり取り
したり、他の制御を行う転送制御装置11と、複数個の
受信装置12(12a,12b,12c)と、該受信装
置12で受信したファイルをハードディスク14に並列
的に書込むデータ書込み装置13と、該データ書込み装
置13に書込まれたデータから特徴を抽出する特徴抽出
装置15から構成されている。前記転送制御装置6と1
1は制御線20で結ばれており、前記コネクションの確
立の結果として、送信装置5からは受信装置12に向け
て複数本のコネクション21が張られる。
The receiving device 10 establishes a connection with the transmitting device 1, exchanges control data, and performs other control, and a plurality of receiving devices 12 (12a , 12b, 12c), a data writer 13 that writes files received by the receiver 12 in parallel to the hard disk 14, and a feature extractor 15 that extracts features from the data written to the data writer 13. It is composed of The transfer control devices 6 and 1
1 are connected by a control line 20, and a plurality of connections 21 are established from the transmitting device 5 to the receiving device 12 as a result of the establishment of the connection.

【0013】次に、本実施形態の送信側装置1の動作
を、図2のフローチャートを参照して説明する。ステッ
プS1では、コネクションの確立が行われる。送信側装
置の転送制御装置6は受信側装置の転送制御装置11に
FTP(File Transfer Protocol)要求コマンドを送信
する。これに応答して、該転送制御装置11は後述のス
テップS20(図4参照)にて、FTP応答コマンドを
返送する。この時、コマンド応答時間が測定される。そ
の後、送信側装置の転送制御装置6は、前記送信側装置
と受信側装置との間で確立されるコネクションの本数
を、伝送すべきファイル容量、および前記コネクション
確立段階で測定されたコマンド応答時間等により動的に
決定する。以下の説明では、該コネクションの本数はN
本とする。
Next, the operation of the transmitting apparatus 1 of the present embodiment will be described with reference to the flowchart of FIG. In step S1, a connection is established. The transfer control device 6 of the transmitting device transmits an FTP (File Transfer Protocol) request command to the transfer control device 11 of the receiving device. In response, the transfer control device 11 returns an FTP response command in step S20 (see FIG. 4) described later. At this time, the command response time is measured. Thereafter, the transfer control device 6 of the transmitting device determines the number of connections established between the transmitting device and the receiving device, the file capacity to be transmitted, and the command response time measured in the connection establishment stage. It is dynamically determined by the above method. In the following description, the number of connections is N
Book.

【0014】ステップS2では、前記特徴抽出装置3は
ハードディスク2内の伝送すべきファイルから特徴デー
タを抽出する。例えば、図6(a) に示されているよう
に、先頭、100バイト目、200バイト目、…の各デ
ータ、例えば、0、1、1、…を特徴データとして抽出
する。または、同図(b) に示されているように、第1フ
レーム、第2フレーム、…の各データ量、例えば511
バイト、360バイト、…を特徴データとして抽出す
る。
In step S2, the feature extracting device 3 extracts feature data from a file to be transmitted in the hard disk 2. For example, as shown in FIG. 6 (a), the data of the head, the 100th byte, the 200th byte,..., For example, 0, 1, 1,. Alternatively, as shown in FIG. 6B, the data amount of each of the first frame, the second frame,.
, 360 bytes,... Are extracted as feature data.

【0015】ステップS3では、データ読出装置4は各
送信装置5a〜5cのために、ハードディスク2に記憶
されているファイルを仮想的にN個(Nは正の整数)に
分割する。一例として、該ファイルをN等分する。該フ
ァイルをN等分した時に端数が出る場合には、各分割フ
ァイルの大きさは最後のN番目の分割ファイルを除いて
端数を切り捨てた値とし、最後のN番目の分割ファイル
だけは該切り捨てによって生じた端数を付加されたもの
とする。ステップS4では、ファイルポインタをN個準
備する。具体的には、初期動作として、ハードディスク
2中のファイルをN等分した位置にファイルポインタを
移動させる。その後、N個のファイルポインタを用い
て、ハードディスク(HD)2からデータの読出しを行
う。
In step S3, the data reading device 4 virtually divides the file stored in the hard disk 2 into N (N is a positive integer) for each of the transmitting devices 5a to 5c. As an example, the file is divided into N equal parts. If the file is divided into N equal parts, the size of each divided file is a value obtained by truncating the fraction except for the last Nth divided file, and only the last Nth divided file is truncated. It is assumed that the fraction generated by the above is added. In step S4, N file pointers are prepared. Specifically, as an initial operation, the file pointer is moved to a position obtained by dividing the file on the hard disk 2 into N equal parts. Thereafter, data is read from the hard disk (HD) 2 using the N file pointers.

【0016】ステップS5では、送信側装置の転送制御
装置6から受信側装置の転送制御装置11へ、コネクシ
ョンの本数、伝送されるファイル全体の大きさ、ファイ
ルの前記特徴データ等のデータが送られる。該特徴デー
タは、必要に応じて暗号化して受信側へ送信する。
In step S5, data such as the number of connections, the size of the entire file to be transmitted, and the characteristic data of the file are transmitted from the transfer control device 6 of the transmitting device to the transfer control device 11 of the receiving device. . The feature data is encrypted as necessary and transmitted to the receiving side.

【0017】ステップS6では、N等分された各分割フ
ァイルを伝送するために、転送ルーチンがN個起動され
る。データ伝送中はN個のファイルポインタのそれぞれ
の位置からデータを読出して、各送信装置5a〜5cに
データを渡す。該転送ルーチンの1個の動作を、送信装
置5aを代表にあげ、図3を参照して説明する。
In step S6, N transfer routines are activated to transmit each of the N equally divided files. During data transmission, data is read from the respective positions of the N file pointers, and the data is passed to each of the transmission devices 5a to 5c. One operation of the transfer routine will be described with reference to FIG. 3, taking the transmitting device 5a as a representative.

【0018】該送信装置5aに対応する受信装置12a
は受信済みデータ量を表す受信ログを有しているので
(図5のステップS45参照)、ステップS11では該
送信装置5aは受信装置12aから受信ログに基づく情
報、すなわち、後述するステップS42またはS50
(図5参照)から、初期転送であるか再転送であるか、
再転送の場合には受信済みデータ量の情報を受取る。ス
テップS12では、送信装置5aは該受信ログに基づく
情報に従ってファイルポインタを移動する。これによ
り、データ読出装置4は転送開始位置から始まるデータ
を送信装置5aに供給する。なお、送信開始時は、受信
装置12aから初期転送の通知を受けるので、ステップ
S12でファイルポインタを転送開始位置へ移動する。
A receiving device 12a corresponding to the transmitting device 5a
Has a reception log indicating the amount of received data (see step S45 in FIG. 5). In step S11, the transmitting device 5a transmits information based on the reception log from the receiving device 12a, that is, step S42 or S50 described later.
(See FIG. 5), whether the transfer is an initial transfer or a re-transfer
In the case of retransmission, information on the amount of received data is received. In step S12, the transmitting device 5a moves the file pointer according to the information based on the reception log. Thereby, the data reading device 4 supplies the data starting from the transfer start position to the transmitting device 5a. At the start of transmission, a notification of the initial transfer is received from the receiving device 12a, so that the file pointer is moved to the transfer start position in step S12.

【0019】次に、ステップS13では、送信装置5a
はファイルからKバイト(Kは正の整数)のデータを読
込み、受信装置12aに送信する。ステップS14で
は、該送信が予め定められたT1 秒以内に成功したか否
かの判断をする。この判断が肯定の場合には、ステップ
S15に進んで、担当分割ファイルを全て送信したか否
かの判断がなされる。この判断が否定の時にはステップ
S16に進んで、読出し位置ポインタをKバイトデータ
分移動する。次いで、ステップS13に進んで、該Kバ
イトデータ分移動した読出し位置ポインタから、Kバイ
トのデータを読込み、送信する。
Next, in step S13, the transmitting device 5a
Reads K bytes (K is a positive integer) of data from a file and transmits it to the receiving device 12a. In step S14, it is determined whether or not the transmission has been successful within a predetermined T1 seconds. If this determination is affirmative, the process proceeds to step S15, where it is determined whether or not all of the division files in charge have been transmitted. If the determination is negative, the process proceeds to step S16, and the read position pointer is moved by K bytes of data. Next, the process proceeds to step S13 to read and transmit K-byte data from the read position pointer moved by the K-byte data.

【0020】一方、前記ステップS14の判断が否定の
時には、ステップS11に戻って、受信ログに基づく情
報を受信側から受ける。すなわち、図5のステップS5
0から再転送であることと受信済みデータ量を受ける。
そこで、ステップS12では、該受信済みデータ量によ
って得られた送信済みデータの次のデータ位置にファイ
ルポインタを移動して、再度伝送を再開する。これによ
り、データ伝送をその途中で失敗したり中断したりした
場合の、データの再送を効率的に行えるようになる。
On the other hand, if the determination in step S14 is negative, the process returns to step S11 to receive information based on the reception log from the receiving side. That is, step S5 in FIG.
It receives the retransmission from 0 and the received data amount.
Therefore, in step S12, the file pointer is moved to the next data position of the transmitted data obtained based on the received data amount, and the transmission is restarted. This makes it possible to efficiently retransmit data when data transmission fails or is interrupted halfway.

【0021】以上の動作により、送信装置5aが自分の
担当分割ファイルを全て送信し、ステップS15の判断
が肯定になると、ステップS17に進んで、予め定めら
れたT2 秒以内に受信完了メッセージを受信したか否か
の判断がされる。この判断が肯定の時にはステップS1
8に進んで、送信完了通知を転送制御装置6に送る。ス
テップS17の判断が否定の時には、前記ステップS1
1に戻って、前記と同様の動作を実行する。
With the above operation, the transmitting device 5a transmits all of its own divided files, and if the determination in step S15 is affirmative, the process proceeds to step S17, where a receiving completion message is received within a predetermined T2 seconds. It is determined whether or not it has been done. When this judgment is affirmative, step S1
In step 8, a transmission completion notification is sent to the transfer control device 6. If the determination in step S17 is negative, the process proceeds to step S1.
Returning to step 1, the same operation as described above is executed.

【0022】以上のようにして、前記図2のステップS
6の動作が終了すると、ステップS7に進んで、転送制
御装置6は、全ての送信装置5a〜5cから送信完了通
知を受けたか否かの判断をする。この判断が肯定になる
と、送信処理を終了する。
As described above, step S in FIG.
When the operation of Step 6 is completed, the process proceeds to Step S7, and the transfer control device 6 determines whether or not transmission completion notifications have been received from all the transmitting devices 5a to 5c. If this determination is affirmative, the transmission process ends.

【0023】次に、前記受信側装置10の動作を、図
4、図5のフローチャートを参照して説明する。ステッ
プS20では前記ステップS1(図2参照)に対応し
て、転送制御装置6にFTP応答コマンドを返送するこ
とによりコネクションを確立する。ステップS21で
は、前記ステップS5に対応して、転送制御装置6か
ら、コネクションの本数、伝送されるファイル全体の大
きさ、ファイルの前記特徴データ等のデータを受信す
る。暗号化された特徴データを受信した場合には、受信
後にこれを解読する。
Next, the operation of the receiving apparatus 10 will be described with reference to the flowcharts of FIGS. In step S20, a connection is established by returning an FTP response command to the transfer control device 6, corresponding to step S1 (see FIG. 2). In step S21, corresponding to step S5, data such as the number of connections, the size of the entire transmitted file, and the characteristic data of the file are received from the transfer control device 6. When the encrypted feature data is received, it is decrypted after the reception.

【0024】ステップS22では、ファイルの書込み領
域をハードディスク14上に確保しておかないと、ハー
ドディスク14上のセクタを連続的に獲得できないの
で、前記ステップS21の通信で得たファイルサイズに
従ってハードディスク14上にダミーファイルを作成
し、予めファイル領域を確保する。ステップS23で
は、該ファイル領域をN分割する位置を決定し、ステッ
プS24では、ファイルポインタをN個準備する。
In step S22, the sectors on the hard disk 14 cannot be continuously obtained unless the file write area is secured on the hard disk 14. Therefore, the sectors on the hard disk 14 cannot be obtained according to the file size obtained in the communication in step S21. A dummy file is created in advance, and a file area is reserved in advance. In step S23, the position where the file area is divided into N is determined, and in step S24, N file pointers are prepared.

【0025】ステップS25では、受信ルーチンをN個
起動する。該受信ルーチンの1個の動作を、受信装置1
2aを代表にあげて説明する。図5は、該受信装置12
aの動作を説明するフローチャートである。ステップS
41では、受信ログにエラー終了記録があるか否かの判
断がなされる。最初はこの判断は否定であるのでステッ
プS42に進み、初期転送であることを送信側に通知す
る。ステップS43では、受信位置の先頭へファイルポ
インタを移動する。ステップS44では、予め定められ
たT3 秒以内に受信データが到着したか否かの判断がな
される。この判断が肯定の時にはステップS45に進ん
で、受信データをハードディスクに書き込み、受信ログ
に受信済みデータ量を記録する。一方、データ伝送をそ
の途中で失敗したり中断したりして、ステップS44の
判断が否定になった時にはステップS49に進んで、受
信ログにエラー終了が記録される。
In step S25, N reception routines are started. One operation of the receiving routine is performed by the receiving apparatus 1
2a will be described as a representative. FIG. 5 shows the receiving device 12.
5 is a flowchart illustrating the operation of FIG. Step S
At 41, it is determined whether or not there is an error end record in the reception log. Initially, this determination is negative, so the process proceeds to step S42 to notify the transmitting side of the initial transfer. In step S43, the file pointer is moved to the head of the reception position. In step S44, it is determined whether or not the received data has arrived within a predetermined T3 seconds. If this determination is affirmative, the process proceeds to step S45, where the received data is written to the hard disk, and the received data amount is recorded in the reception log. On the other hand, if the data transmission fails or is interrupted halfway, and the determination in step S44 is negative, the process proceeds to step S49, and the end of error is recorded in the reception log.

【0026】ステップS46では、自分のルーチン担当
の最後のデータを受信したか否かの判断がなされ、この
判断が否定の時にはステップS43に戻って、次の受信
位置の先頭へファイルポインタが移動される。一方、肯
定の時にはステップS47に進んで、受信完了メッセー
ジを送信装置5aに送る。また、ステップS48では、
受信完了通知を転送制御装置11に送る。
In step S46, a determination is made as to whether or not the last data in charge of its own routine has been received. If the determination is negative, the process returns to step S43 to move the file pointer to the head of the next reception position. You. On the other hand, when the determination is affirmative, the process proceeds to step S47, and a reception completion message is transmitted to the transmission device 5a. In step S48,
A reception completion notification is sent to the transfer control device 11.

【0027】前記ステップS49において、受信ログに
エラー終了が記録された時には、ステップS41に戻
り、受信ログにエラー終了の記録がなされているか否か
の判断がされる。今度はこの判断は肯定になりステップ
S50に進む。ステップS50では、再転送であること
と、受信データ量を送信装置5aに通知する。ステップ
S51では、受信済み位置へファイルポインタを移動
し、再転送データの受信に備える。
When the end of the error is recorded in the reception log in step S49, the process returns to step S41, and it is determined whether or not the end of the error is recorded in the reception log. This time the determination is affirmative and the process proceeds to step S50. In step S50, the transmission device 5a is notified of the retransmission and the received data amount. In step S51, the file pointer is moved to the received position to prepare for receiving the retransferred data.

【0028】以上のようにして、図4のステップS25
の処理が行われると、ステップS26に進んで、転送制
御装置11は全ての受信装置12a〜12cから受信完
了通知を受取ったか否かの判断をする。この判断が肯定
になるとステップS27に進んで、ハードディスク14
上に蓄積されたN個の分割ファイルを合成する。ステッ
プS28では、特徴抽出装置15が合成されたファイル
から特徴データを抽出する。ステップS29では、該特
徴データが一致したか否かの判断をされ、一致した場合
にはステップS30に進んで正常あるいは真性データと
判断される。一方、不一致の場合にはステップS31に
進んで不正データと判断される。
As described above, step S25 in FIG.
Is performed, the process proceeds to step S26, where the transfer control device 11 determines whether or not reception completion notifications have been received from all the receiving devices 12a to 12c. If this determination is affirmative, the process proceeds to step S27 where the hard disk 14
The N divided files stored above are combined. In step S28, the feature extraction device 15 extracts feature data from the synthesized file. In step S29, it is determined whether or not the feature data matches. If they match, the process proceeds to step S30, where the data is determined to be normal or intrinsic data. On the other hand, if they do not match, the flow advances to step S31 to determine that the data is invalid.

【0029】以上のように、本実施形態によれば、送信
側装置と受信側装置との間に複数本のコネクションを張
り、各コネクションを通して分割ファイルを転送すると
共に、データ伝送がその途中で失敗したり中断したりし
た場合には、受信ログにより受信済みデータ量を検出し
て、受信済みデータに続くデータから再送することがで
きるので、ファイルの伝送を効率的に行うことができ
る。
As described above, according to the present embodiment, a plurality of connections are established between a transmitting apparatus and a receiving apparatus, a divided file is transferred through each connection, and data transmission fails during the connection. In the case of interruption or interruption, the amount of received data can be detected from the reception log, and data can be retransmitted from the data following the received data, so that file transmission can be performed efficiently.

【0030】次に、本発明の他の実施形態を、図7およ
び図8を参照して説明する。これらの図において、図2
および図3と同じステップは同一の処理を示しているの
で説明を省略する。
Next, another embodiment of the present invention will be described with reference to FIGS. In these figures, FIG.
The same steps as those in FIG. 3 and FIG.

【0031】この実施形態では、図7のステップS7の
判断が否定の時にはステップS61に進み、転送制御装
置6は送信装置5から送信不成功の通知があったか否か
の判断をする。この判断が肯定の時にはステップS62
に進んで全ての転送ルーチンを強制終了する。図8で
は、前記ステップS14またはステップS17の判断が
否定の時にはステップS63またはステップS64に進
んで、送信不成功を転送制御装置6に通知する。一方、
受信側装置10では、図5のステップS49で受信ログ
にエラー終了が記録されると、該エラー終了が転送制御
装置11に通知される。転送制御装置11は該エラー終
了の通知を受けると、全ての受信ルーチンを強制終了す
る。
In this embodiment, when the determination in step S7 in FIG. 7 is negative, the process proceeds to step S61, and the transfer control device 6 determines whether or not the transmission device 5 has notified the transmission failure. When this determination is affirmative, step S62
To terminate all the transfer routines. In FIG. 8, when the determination in step S14 or step S17 is negative, the process proceeds to step S63 or step S64 to notify the transfer control device 6 of transmission failure. on the other hand,
In the receiving device 10, when the error end is recorded in the reception log in step S49 in FIG. 5, the error end is notified to the transfer control device 11. Upon receiving the error end notification, the transfer control device 11 forcibly ends all reception routines.

【0032】この実施形態によれば、前記転送ルーチン
または受信ルーチンの1個に送信不成功または受信エラ
ー終了が起きると、全ての転送および受信ルーチンを強
制的に終了する。したがって、ファイルの最初からの再
転送を早期に開始でき、データの再送を効率的に行うこ
とができるようになる。
According to this embodiment, if transmission failure or reception error end occurs in one of the transfer routines or reception routines, all transfer and reception routines are forcibly terminated. Therefore, retransmission from the beginning of the file can be started at an early stage, and data can be retransmitted efficiently.

【0033】[0033]

【発明の効果】以上の説明から明らかなように、本発明
によれば、複数本のコネクションを張ってデータ伝送す
る場合において、磁気ディスク装置に格納されている伝
送対象ファイルを仮想的にファイル分割して読み出し、
また受信手段により受信された分割ファイルを仮想的に
ファイル合成して磁気ディスク装置に書込むようにして
いるので、ファイル分割に要する時間を短縮でき、高効
率でファイル伝送できるようになる。
As is apparent from the above description, according to the present invention, when data is transmitted over a plurality of connections, the transmission target file stored in the magnetic disk device is virtually divided into files. And read,
Further, since the divided files received by the receiving means are virtually synthesized and written into the magnetic disk device, the time required for dividing the files can be reduced, and the files can be transmitted with high efficiency.

【0034】また、ファイルの伝送途中で、データ伝送
を失敗したり中断したりした場合に、受信済みデータ量
の次のデータからデータの再送をすることができるよう
になるので、データ伝送を効率的に行えるようになる。
さらに、データ伝送を失敗したり中断したりした時点
で、全ての送信装置および受信装置は強制的に終了させ
られるので、データ伝送の最初からの再送を早期に開始
でき、結果的にデータ伝送を効率的に行えるようにな
る。
Further, when data transmission fails or is interrupted during file transmission, data can be retransmitted from the data following the amount of received data, so that data transmission can be efficiently performed. Will be able to do it.
Furthermore, when data transmission fails or is interrupted, all transmitting and receiving devices are forcibly terminated, so that retransmission from the beginning of data transmission can be started early, resulting in data transmission. It can be done efficiently.

【0035】また、受信側の磁気ディスク上に受信する
ファイルのサイズのダミーファイルを一旦作成し、前記
データ書込み手段は受信データを該ダミーファイル上に
上書きするようにしたので、磁気ディスク上のセクタを
連続的に獲得することができるようになる。
Further, a dummy file having a size of a file to be received is once created on the magnetic disk on the receiving side, and the data writing means overwrites the received data on the dummy file. Can be continuously obtained.

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

【図1】 本発明のファイル伝送装置の一実施形態の構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an embodiment of a file transmission device according to the present invention.

【図2】 送信側装置の動作を示すフローチャートであ
る。
FIG. 2 is a flowchart illustrating an operation of a transmitting device.

【図3】 図2のステップS6の詳細な動作を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing a detailed operation of step S6 in FIG. 2;

【図4】 受信側装置の動作を示すフローチャートであ
る。
FIG. 4 is a flowchart showing the operation of the receiving device.

【図5】 図4のステップS25の詳細な動作を示すフ
ローチャートである。
FIG. 5 is a flowchart showing a detailed operation of step S25 in FIG. 4;

【図6】 特徴抽出データの具体例の説明図である。FIG. 6 is an explanatory diagram of a specific example of feature extraction data.

【図7】 本発明の第2実施形態の動作を示すフローチ
ャートである。
FIG. 7 is a flowchart showing the operation of the second embodiment of the present invention.

【図8】 図7のステップS6の詳細な動作を示すフロ
ーチャートである。
8 is a flowchart showing a detailed operation of step S6 in FIG.

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

1…送信側装置、2…磁気ディスク、3…特徴抽出装
置、4…データ読出装置、5…送信装置、6…転送制御
装置、10…受信側装置、11…転送制御装置、12…
受信装置、13…データ書込み装置、14…磁気ディス
ク、15…特徴抽出装置、20…制御線、21…コネク
ション。
DESCRIPTION OF SYMBOLS 1 ... Transmission side apparatus, 2 ... Magnetic disk, 3 ... Feature extraction apparatus, 4 ... Data reading apparatus, 5 ... Transmission apparatus, 6 ... Transfer control apparatus, 10 ... Reception side apparatus, 11 ... Transfer control apparatus, 12 ...
Receiving device, 13: data writing device, 14: magnetic disk, 15: feature extracting device, 20: control line, 21: connection.

フロントページの続き (72)発明者 和田 正裕 埼玉県上福岡市大原2−1−15 株式会社 ケイディディ研究所内 Fターム(参考) 5B082 HA05 5B089 GA23 HB02 JA32 JB04 KA05 KA12 KC53 KG04 KH30 ME08Continuation of the front page (72) Inventor Masahiro Wada 2-1-15 Ohara, Kamifukuoka-shi, Saitama F-term in Kadidi Research Institute Co., Ltd. 5B082 HA05 5B089 GA23 HB02 JA32 JB04 KA05 KA12 KC53 KG04 KH30 ME08

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 磁気ディスク装置に格納されている伝送
対象ファイルを仮想的にファイル分割して読み出すデー
タ読出手段と、 該データ読出手段から読み出された分割ファイルを、複
数本のTCP/IPコネクションを用いて送信する送信
手段と、 前記送信手段から送られてきた分割ファイルを受信する
受信手段と、 該受信手段により受信された分割ファイルを仮想的にフ
ァイル合成して磁気ディスク装置に書込むデータ書込み
手段とを具備したことを特徴とするファイル伝送装置。
1. A data reading means for virtually dividing a transmission target file stored in a magnetic disk device and reading the divided file, and a plurality of TCP / IP connections for dividing the divided file read from the data reading means. Transmitting means for transmitting the divided files transmitted from the transmitting means, and data to be virtually combined with the divided files received by the receiving means and written into the magnetic disk drive A file transmission device comprising a writing unit.
【請求項2】 請求項1に記載のファイル伝送装置にお
いて、 前記データ読出手段は、前記送信手段毎に個別のファイ
ルポインタを用いたデータ読出しを行い、前記データ書
込み手段は前記受信装置毎に個別のファイルポインタを
用いたデータ書込みを行うことを特徴とするファイル伝
送装置。
2. The file transmission device according to claim 1, wherein the data reading unit performs data reading using an individual file pointer for each of the transmitting units, and the data writing unit performs individual data reading for each of the receiving devices. A file transmission device for performing data writing using the file pointer.
【請求項3】 請求項1に記載のファイル伝送装置にお
いて、 前記受信装置は、受信済みデータ量を保持する受信ログ
を有し、前記送信装置は、ファイル伝送の途中再開時
に、該受信ログに基づく情報を該受信装置から受け、該
受信済みデータ量から送信再開位置を求めるようにした
ことを特徴とするファイル伝送装置。
3. The file transmission device according to claim 1, wherein the reception device has a reception log for holding a received data amount, and the transmission device stores the reception log when the file transmission is restarted halfway. A file transmission device wherein information based on the received data is received from the receiving device, and a transmission restart position is obtained from the received data amount.
【請求項4】 請求項1に記載のファイル伝送装置にお
いて、 送信側および受信側の双方に転送制御装置を具備し、 該受信側の転送制御装置は前記受信装置の全てから受信
を完了したことの通知を受けると、ファイル伝送が終了
したと判定するようにしたことを特徴とするファイル伝
送装置。
4. The file transmission device according to claim 1, further comprising a transfer control device on both the transmission side and the reception side, wherein the transfer control device on the reception side has completed reception from all of the reception devices. Receiving the notification of the above, it is determined that the file transmission is completed.
【請求項5】 請求項4に記載のファイル伝送装置にお
いて、 前記転送制御装置は、前記送信装置または受信装置から
伝送エラーが起きたことを通知されると、全ての送信装
置および受信装置を強制的に終了させるようにしたこと
を特徴とするファイル伝送装置。
5. The file transmission device according to claim 4, wherein the transfer control device forcibly removes all transmission devices and reception devices when notified that a transmission error has occurred from the transmission device or the reception device. A file transmission apparatus characterized in that the file transmission is terminated.
【請求項6】 請求項1に記載のファイル伝送装置にお
いて、 受信側の磁気ディスク上に受信するファイルのサイズの
ダミーファイルを一旦作成し、前記データ書込み手段は
受信データを該ダミーファイル上に上書きすることを特
徴とするファイル伝送装置。
6. The file transmission device according to claim 1, wherein a dummy file having a size of a file to be received is once created on a magnetic disk on a receiving side, and the data writing means overwrites the received data on the dummy file. A file transmission device.
【請求項7】 請求項1に記載のファイル伝送装置にお
いて、 前記伝送対象ファイルからファイルの特徴データを抽出
し、該特徴データを受信側に送信し、受信側では該特徴
データとファイル合成したファイルから抽出した特徴デ
ータとを比較し、ファイルの真性を確認するようにした
ことを特徴とするファイル伝送装置。
7. The file transmission apparatus according to claim 1, wherein characteristic data of the file is extracted from the transmission target file, and the characteristic data is transmitted to a receiving side. A file transmission apparatus characterized in that the authenticity of a file is confirmed by comparing the extracted data with characteristic data extracted from the file.
【請求項8】 請求項7に記載のファイル伝送装置にお
いて、 送信側は前記特徴データを暗号化して受信側に送信する
ことを特徴とするファイル伝送装置。
8. The file transmission device according to claim 7, wherein the transmitting side encrypts the characteristic data and transmits the encrypted characteristic data to the receiving side.
JP11132504A 1999-05-13 1999-05-13 File transmission device Pending JP2000322309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11132504A JP2000322309A (en) 1999-05-13 1999-05-13 File transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11132504A JP2000322309A (en) 1999-05-13 1999-05-13 File transmission device

Publications (1)

Publication Number Publication Date
JP2000322309A true JP2000322309A (en) 2000-11-24

Family

ID=15082917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11132504A Pending JP2000322309A (en) 1999-05-13 1999-05-13 File transmission device

Country Status (1)

Country Link
JP (1) JP2000322309A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012095098A (en) * 2010-10-27 2012-05-17 Sony Corp Data communication method and information processor
JP5976265B1 (en) * 2016-01-22 2016-08-23 株式会社エーピーコミュニケーションズ Download system, communication device, download method, and computer program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012095098A (en) * 2010-10-27 2012-05-17 Sony Corp Data communication method and information processor
JP5976265B1 (en) * 2016-01-22 2016-08-23 株式会社エーピーコミュニケーションズ Download system, communication device, download method, and computer program
WO2017126105A1 (en) * 2016-01-22 2017-07-27 株式会社エーピーコミュニケーションズ Download system, communication device, download method, and computer program

Similar Documents

Publication Publication Date Title
JP3825099B2 (en) Video data transfer method and video server device
US7319698B2 (en) Recovery system for restoring preserved regeneration data
JP2001024733A (en) Data transmission equipment
JP2002142184A (en) Method and system for remotely uploading digital memory
JP3620010B2 (en) Apparatus and program recording medium used in wireless communication system
JP3376760B2 (en) Log acquisition method for managed devices
US20080104287A1 (en) Information terminal, information processing system, and methods of controlling the same
JP2000322309A (en) File transmission device
TWI261189B (en) Method for reproducing contents information in interactive optical disc device and method for providing contents information in contents provider server
JPH09284343A (en) Method and apparatus for transferring and reproducing storage-type multimedia information
JP2001268134A (en) Network transmission equipment
JP2014096162A (en) Interface conversion device and interface conversion method
KR20050080880A (en) Apparatus for collecting and transmission charging data in a mobile communication system
US8037201B2 (en) Content holder unit, information processing method, and program
JP2002176460A (en) Transmitter and communication system
JP3356370B2 (en) Data transmission equipment
JP4051615B2 (en) Disk unit
JPH11163934A (en) TRANSMISSION SYSTEM, TRANSMISSION DEVICE, RECEIVER, REAL-TIME MOVING IMAGE AND AUDIO TRANSMISSION SYSTEM AND DEVICE, CONTROL METHOD THEREOF, AND STORAGE MEDIUM
JP2500590B2 (en) Data transfer apparatus and method
JP2000013440A (en) Information recording device
JP2002208912A (en) Data communication equipment and firmware rewriting device for data sink equipment
JP2002135270A (en) Asynchronous data transfer method
JP2834006B2 (en) Failure recovery processing method and method
JPH0561785A (en) File transfer device
JP2524658B2 (en) Message re-transmission method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060517

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060714

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060823