[go: up one dir, main page]

JP2003345695A - File transfer method and apparatus, program and recording medium - Google Patents

File transfer method and apparatus, program and recording medium

Info

Publication number
JP2003345695A
JP2003345695A JP2002152453A JP2002152453A JP2003345695A JP 2003345695 A JP2003345695 A JP 2003345695A JP 2002152453 A JP2002152453 A JP 2002152453A JP 2002152453 A JP2002152453 A JP 2002152453A JP 2003345695 A JP2003345695 A JP 2003345695A
Authority
JP
Japan
Prior art keywords
file
data
information
transfer
pseudo
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
JP2002152453A
Other languages
Japanese (ja)
Inventor
Daisuke Takigawa
大介 滝川
Takeya Suzuki
健也 鈴木
Junji Takeuchi
順二 竹内
Toru Sadakata
徹 定方
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2002152453A priority Critical patent/JP2003345695A/en
Publication of JP2003345695A publication Critical patent/JP2003345695A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 本発明はファイル送信側の負荷を軽減すると
ともに非対称のアクセス回線を利用する複数の端末の間
でファイル転送を行う場合にファイル転送の効率を改善
することが可能なファイル転送方法を提供することを目
的とする。 【解決手段】 転送可能なファイルの識別情報をファイ
ル固有値を含めて登録しておき、転送されるファイル及
びその転送元及び転送先の端末及び/又はユーザを特定
するためのメタ情報を管理しておき、通信ネットワーク
上で所望のファイルを保持する端末を検索し、指定され
たファイルが複数の端末上に存在する場合には、ファイ
ルを複数のデータ領域に分割し、複数の端末を転送元と
して割り当てるとともに、転送元のそれぞれの端末に対
してファイル上の互いに異なるデータ領域を送信対象と
して割り当て、転送先の端末では、複数の転送元の端末
から送信されるデータをそれぞれ受信して合成し所望の
ファイルを復元するファイル転送方法。
(57) [Summary] The present invention can reduce the load on the file transmission side and improve the efficiency of file transfer when performing file transfer between a plurality of terminals using an asymmetric access line. It is intended to provide a simple file transfer method. SOLUTION: Identification information of a transferable file is registered including a file unique value, and meta information for specifying a file to be transferred and a terminal and / or a user of a transfer source and a transfer destination thereof is managed. Search for a terminal that holds the desired file on the communication network, and if the specified file exists on multiple terminals, divide the file into multiple data areas and use multiple terminals as transfer sources. In addition to the assignment, different data areas on the file are assigned to the respective transfer source terminals as transmission targets, and the transfer destination terminal receives and combines the data transmitted from the plurality of transfer source terminals, respectively. File transfer method to restore existing files.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、TCP(Transmis
sion Control Protocol)/IP(Internet Protocol)
などを用いた所定の通信ネットワークを介して互いに接
続された複数の端末の間で任意のデータを含むファイル
を転送するために利用されるファイル転送方法及び装置
並びにプログラム及び記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a TCP (Transmis
sion Control Protocol) / IP (Internet Protocol)
The present invention relates to a file transfer method and apparatus used for transferring a file containing arbitrary data between a plurality of terminals connected to each other via a predetermined communication network using a program, and a program and a recording medium.

【0002】[0002]

【従来の技術】例えばインターネットなどを介して接続
された複数の端末などの間でデータやプログラムなどの
ファイルを転送する場合には、従来よりFTP(File T
ransfer Protocol:ファイル転送プロトコル)やHTT
P(Hyper Text Transfer Protocol)を用いてファイル
の転送を制御している。
2. Description of the Related Art For example, when a file such as data or a program is transferred between a plurality of terminals connected via the Internet or the like, an FTP (File T) is conventionally used.
ransfer Protocol (File Transfer Protocol) or HTT
File transfer is controlled using P (Hyper Text Transfer Protocol).

【0003】このような従来のファイル転送プロトコル
においては、転送を希望するファイルの名称(ファイル
名)及びファイルを保持している1つの端末(転送元)
のアドレスを指定して転送要求を送出する。この転送要
求に対しては、ファイル転送が可能であれば転送先にフ
ァイルが転送される。
In such a conventional file transfer protocol, the name of a file desired to be transferred (file name) and one terminal holding the file (transfer source)
And sends a transfer request. In response to this transfer request, if the file transfer is possible, the file is transferred to the transfer destination.

【0004】[0004]

【発明が解決しようとする課題】従来のファイル転送プ
ロトコルを用いる場合には、1つの転送元と1つの転送
先との間で1対1でファイル転送が行われるので、1つ
のファイルが完全に転送されるまでは、転送元が利用し
ている回線の帯域が占有されることになり、特に大きな
ファイルを転送する場合には、転送元の帯域に非常に大
きな負荷がかかるという問題がある。
When a conventional file transfer protocol is used, one file is completely transferred between one transfer source and one transfer destination. Until the transfer, the bandwidth of the line used by the transfer source is occupied. Particularly, when transferring a large file, there is a problem that a very large load is applied to the transfer source band.

【0005】また、最近では通信ネットワークへのアク
セス回線としてADSL(Asymmetric Digital Subscri
ber Line)のように上りと下りの帯域が異なる非対称の
回線が普及しつつある。このような非対称の回線では、
上りの回線に比べて下りの回線の帯域が大きい場合が多
い。例えば、サーバからデータをダウンロードする機会
の多い端末の場合には、上りの回線に送出するデータ量
に比べて下りの回線から受信するデータ量が大きいの
で、非対称の回線を用いることにより回線の帯域を効率
的に利用してファイルを転送することができる。
Recently, an ADSL (Asymmetric Digital Subscriter) has been used as an access line to a communication network.
Asymmetric lines with different upstream and downstream bands, such as ber lines, are becoming widespread. In such an asymmetric line,
In many cases, the bandwidth of the downstream line is larger than that of the upstream line. For example, in the case of a terminal that frequently downloads data from the server, the amount of data received from the downstream line is larger than the amount of data transmitted to the upstream line. Can be used to efficiently transfer files.

【0006】しかしながら、それぞれ非対称のアクセス
回線を利用する端末同士の間で1対1でファイル転送を
行う場合には、ファイル送信側の端末が利用するアクセ
ス回線において、送信に利用できる上り帯域が小さいの
で、ファイル受信側の端末が利用するアクセス回線で
は、上りの帯域に比べて下りの帯域が有効に利用されな
いことになり、アクセス回線の使用効率が悪くなり、効
率的なファイル転送ができなかった。
However, when file transfer is performed on a one-to-one basis between terminals using asymmetric access lines, the upstream band available for transmission is small on the access line used by the terminal on the file transmission side. Therefore, in the access line used by the terminal on the file receiving side, the downstream band is not used more effectively than the upstream band, and the use efficiency of the access line deteriorates, so that efficient file transfer cannot be performed. .

【0007】本発明は、ファイル送信側の負荷を軽減す
るとともに、非対称のアクセス回線を利用する複数の端
末の間でファイル転送を行う場合にファイル転送の効率
を改善することが可能なファイル転送方法及び装置並び
にプログラム及び記録媒体を提供することを目的とす
る。
[0007] The present invention provides a file transfer method capable of reducing the load on the file transmitting side and improving the efficiency of file transfer when performing file transfer between a plurality of terminals using an asymmetric access line. And an apparatus, and a program and a recording medium.

【0008】[0008]

【課題を解決するための手段】請求項1は、所定の通信
ネットワークを介して互いに接続された複数の端末の間
で任意のデータを含むファイルを転送するためのファイ
ル転送方法において、指定されたファイルの少なくとも
一部分のデータを送信側の各端末から送信するためのフ
ァイル送信手順と、各端末から送信されるファイルの少
なくとも一部分のデータを受信するためのファイル受信
手順と、転送可能なファイルの識別情報を登録するファ
イル登録手順と、各ファイルの内容に基づいて前記ファ
イルの識別情報に含まれるファイル固有値を計算するフ
ァイル固有値計算手順と、転送されるファイル及びその
転送元及び転送先の端末及び/又はユーザを特定するた
めのメタ情報を管理するためのメタ情報管理手順と、前
記通信ネットワーク上で所望のファイルを保持する端末
を検索するファイル検索手順と、指定されたファイルが
複数の端末上に存在する場合には、前記複数の端末を転
送元として割り当てるとともに、転送元のそれぞれの端
末に対してファイル上の互いに異なるデータ領域を送信
対象として割り当てる領域割り当て手順と、複数の転送
元の端末から送信されるデータをそれぞれ受信して合成
し所望のファイルを復元するファイル合成手順とを設け
たことを特徴とする。
A first aspect of the present invention is a file transfer method for transferring a file including arbitrary data between a plurality of terminals connected to each other via a predetermined communication network. A file transmission procedure for transmitting data of at least a part of a file from each terminal on the transmission side, a file reception procedure for receiving data of at least a part of a file transmitted from each terminal, and identification of a transferable file A file registration procedure for registering information; a file unique value calculation procedure for calculating a file unique value included in the identification information of the file based on the content of each file; a file to be transferred and its transfer source and transfer destination terminals and / or Or a meta-information management procedure for managing meta-information for identifying a user; A file search procedure for searching for a terminal holding a desired file on the terminal, and, when the specified file exists on a plurality of terminals, assigning the plurality of terminals as a transfer source; And a file combining procedure for receiving and combining data transmitted from a plurality of transfer source terminals to restore a desired file. It is characterized by having.

【0009】請求項1においては、所望のファイルを複
数の端末が保持している場合には、転送対象の1つのフ
ァイルを複数に分割し、複数の転送元の端末から転送先
の端末にデータ領域毎に情報をそれぞれ転送し、転送先
の端末では複数の転送元から転送された複数のデータ領
域の情報を合成して所望のファイルを復元することがで
きる。
According to the first aspect, when a plurality of terminals hold a desired file, one file to be transferred is divided into a plurality of files, and data is transferred from a plurality of transfer source terminals to a transfer destination terminal. Information is transferred for each area, and the transfer destination terminal can restore a desired file by combining information of a plurality of data areas transferred from a plurality of transfer sources.

【0010】このため、転送元の回線及び端末にかかる
負荷を分散することができる。また、受信側の端末の転
送所要時間を短縮できる。更に、各々の端末が非対称の
アクセス回線を用いる場合には受信側の下り回線の帯域
を有効に利用できる。請求項2は、請求項1のファイル
転送方法において、複数に分割された各データ領域のデ
ータを組み合わせて元のファイルを復元するために必要
な制御情報を含む擬似ファイルを作成する擬似ファイル
作成手順と、複数の転送元の端末からそれぞれ受信した
データを、前記擬似ファイルに含まれる制御情報に従っ
て前記擬似ファイルに書き込み、所望のファイルに含ま
れる全データの受信が完了した後で、前記擬似ファイル
を所望のファイルに変換するデータ加工手順とを更に設
けたことを特徴とする。
For this reason, the load on the transfer source line and terminal can be distributed. In addition, it is possible to reduce the required transfer time of the terminal on the receiving side. Furthermore, when each terminal uses an asymmetric access line, the bandwidth of the downlink on the receiving side can be used effectively. According to a second aspect of the present invention, in the file transfer method of the first aspect, a pseudo file creating procedure for creating a pseudo file including control information necessary for restoring an original file by combining data of a plurality of divided data areas. And writing the data received from each of the plurality of transfer source terminals to the pseudo file according to the control information included in the pseudo file, and completing the reception of all the data included in the desired file. And a data processing procedure for converting the data into a desired file.

【0011】請求項2においては、擬似ファイルに含ま
れている制御情報を用いることにより、分割された複数
のデータ領域のデータを1つに組み合わせることができ
る。また、1つの擬似ファイル上で分割された複数のデ
ータ領域の全てのデータを扱うことができるので、ファ
イル及びデータの管理に伴う負荷を軽減できる。請求項
3は、請求項1のファイル転送方法において、所望ファ
イル上の複数のデータ領域を管理するために、各データ
領域が割り当てられた転送先の端末のユーザ識別情報
と、各データ領域のインデックス情報と、所望ファイル
における前記データ領域の位置情報と、前記データ領域
のサイズ情報とを用いることを特徴とする。
According to the second aspect, by using the control information included in the pseudo file, the data of the plurality of divided data areas can be combined into one. Further, since all data in a plurality of data areas divided on one pseudo file can be handled, a load associated with file and data management can be reduced. According to a third aspect, in the file transfer method according to the first aspect, in order to manage a plurality of data areas on a desired file, user identification information of a transfer destination terminal to which each data area is assigned, and an index of each data area. Information, position information of the data area in a desired file, and size information of the data area.

【0012】請求項3においては、転送先の端末のユー
ザ識別情報と、各データ領域のインデックス情報と、所
望ファイルにおける前記データ領域の位置情報と、前記
データ領域のサイズ情報とを用いることにより、転送す
べきファイル及びデータ領域を特定することができる。
In the third aspect, by using the user identification information of the transfer destination terminal, index information of each data area, position information of the data area in a desired file, and size information of the data area, The file and data area to be transferred can be specified.

【0013】請求項4は、請求項2のファイル転送方法
において、前記擬似ファイル作成手順では、該当するフ
ァイルのファイル識別情報,各データ領域を管理するた
めの情報及び各データ領域の転送元に割り当てられた端
末のユーザ識別情報を用いて擬似ファイルを作成し、前
記擬似ファイルには、所望ファイルと同じファイルサイ
ズの擬似データ領域と、前記所望ファイルのファイル識
別情報,各データ領域を管理するための情報及び各デー
タ領域の転送元に関するユーザ識別情報を含む制御情報
領域とを設けることを特徴とする。
According to a fourth aspect of the present invention, in the file transfer method of the second aspect, in the pseudo file creation procedure, file identification information of the file, information for managing each data area, and a transfer source of each data area are assigned. A pseudo file is created using the user identification information of the terminal, and the pseudo file includes a pseudo data area having the same file size as the desired file, file identification information of the desired file, and management of each data area. A control information area including information and user identification information on a transfer source of each data area is provided.

【0014】請求項4においては、所望ファイルと擬似
データ領域との大きさが同じであるため、擬似データ領
域に所望ファイルと同じデータを書き込んだ後で制御情
報領域を削除すれば、簡単に所望ファイルを作成でき
る。また、制御情報領域の内容を参照することにより、
擬似データ領域に所望ファイルと同じデータを書き込む
ことができる。
According to the fourth aspect, since the size of the desired file is the same as that of the pseudo data area, if the control information area is deleted after writing the same data as the desired file in the pseudo data area, the desired file can be easily obtained. Can create files. Also, by referring to the contents of the control information area,
The same data as the desired file can be written in the pseudo data area.

【0015】請求項5は、請求項4のファイル転送方法
において、前記データ加工手順では、データ領域毎に、
受信されたデータを該当するデータ領域のインデックス
及び前記擬似ファイルの制御情報領域の情報に基づいて
擬似データ領域に書き込み、擬似データ領域の全体に対
するデータ書き込みが終了した後で、前記擬似ファイル
の制御情報領域を削除することを特徴とする。
According to a fifth aspect of the present invention, in the file transfer method according to the fourth aspect, in the data processing procedure, for each data area,
The received data is written to the pseudo data area based on the index of the corresponding data area and the information of the control information area of the pseudo file. After the data writing to the entire pseudo data area is completed, the control information of the pseudo file is written. It is characterized in that an area is deleted.

【0016】請求項5においては、擬似ファイルから転
送された所望ファイルを復元することができる。請求項
6は、請求項1のファイル転送方法において、転送先の
端末から転送元として割り当てた複数の端末に対して、
所望ファイルのファイル識別情報,所望のデータ領域を
表す領域情報及び転送先の端末のユーザ識別情報を転送
し、転送元の複数の端末は、転送先の端末から受信した
情報に従って指定されたデータを送信することを特徴と
する。
In the present invention, a desired file transferred from a pseudo file can be restored. According to a sixth aspect of the present invention, in the file transfer method of the first aspect, a plurality of terminals assigned as transfer sources from a transfer destination terminal are provided.
The file identification information of the desired file, the area information representing the desired data area, and the user identification information of the transfer destination terminal are transferred, and the plurality of transfer source terminals transfer the specified data according to the information received from the transfer destination terminal. It is characterized by transmitting.

【0017】請求項6においては、転送元の各端末では
転送先の端末から受信した情報を用いて送信すべきデー
タ及び送信先を特定することができる。請求項7は、所
定の通信ネットワークを介して互いに接続された複数の
端末の間で任意のデータを含むファイルを転送するため
のファイル転送装置において、指定されたファイルの少
なくとも一部分のデータを送信側の各端末から送信する
ためのファイル送信手段と、各端末から送信されるファ
イルの少なくとも一部分のデータを受信するためのファ
イル受信手段と、転送可能なファイルの識別情報を登録
するファイル登録手段と、各ファイルの内容に基づいて
前記ファイルの識別情報に含まれるファイル固有値を計
算するファイル固有値計算手段と、転送されるファイル
及びその転送元及び転送先の端末及び/又はユーザを特
定するためのメタ情報を管理するためのメタ情報管理手
段と、前記通信ネットワーク上で所望のファイルを保持
する端末を検索するファイル検索手段と、指定されたフ
ァイルが複数の端末上に存在する場合には、前記複数の
端末を転送元として割り当てるとともに、転送元のそれ
ぞれの端末に対してファイル上の互いに異なるデータ領
域を送信対象として割り当てる領域割り当て手段と、複
数の転送元の端末から送信されるデータをそれぞれ受信
して合成し所望のファイルを復元するファイル合成手段
とを設けたことを特徴とする。
In the present invention, each transfer source terminal can specify data to be transmitted and a destination using information received from the transfer destination terminal. 8. A file transfer device for transferring a file including arbitrary data between a plurality of terminals connected to each other via a predetermined communication network, wherein at least a part of the data of the designated file is transmitted to the terminal. File transmitting means for transmitting from each terminal, file receiving means for receiving data of at least a part of a file transmitted from each terminal, file registering means for registering transferable file identification information, File unique value calculating means for calculating a file unique value included in the identification information of the file based on the content of each file, and meta information for specifying a file to be transferred and a terminal and / or a user of a transfer source and a transfer destination thereof Information management means for managing a file, and holding a desired file on the communication network. File search means for searching for a terminal, and when the specified file is present on a plurality of terminals, assigns the plurality of terminals as a transfer source; An area allocating unit that allocates a data area as a transmission target and a file synthesizing unit that receives and synthesizes data transmitted from a plurality of transfer source terminals and restores a desired file are provided.

【0018】請求項7の装置は請求項1と同様の動作を
実現することができる。請求項8は、請求項7のファイ
ル転送装置において、複数に分割された各データ領域の
データを組み合わせて元のファイルを復元するために必
要な制御情報を含む擬似ファイルを作成する擬似ファイ
ル作成手段と、複数の転送元の端末からそれぞれ受信し
たデータを、前記擬似ファイルに含まれる制御情報に従
って前記擬似ファイルに書き込み、所望のファイルに含
まれる全データの受信が完了した後で、前記擬似ファイ
ルを所望のファイルに変換するデータ加工手段とを更に
設けたことを特徴とする。
The device according to claim 7 can realize the same operation as in claim 1. According to a eighth aspect of the present invention, in the file transfer device of the seventh aspect, a pseudo file creating means for creating a pseudo file including control information necessary for restoring an original file by combining data of each of the plurality of divided data areas. And writing the data received from each of the plurality of transfer source terminals to the pseudo file according to the control information included in the pseudo file, and completing the reception of all the data included in the desired file. Data processing means for converting the data into a desired file is further provided.

【0019】請求項8の装置は請求項2と同様の動作を
実現することができる。請求項9は、請求項7のファイ
ル転送装置において、所望ファイル上の複数のデータ領
域を管理するために、各データ領域が割り当てられた転
送先の端末のユーザ識別情報と、各データ領域のインデ
ックス情報と、所望ファイルにおける前記データ領域の
位置情報と、前記データ領域のサイズ情報とを用いるこ
とを特徴とする。
The device of claim 8 can realize the same operation as that of claim 2. According to a ninth aspect, in the file transfer apparatus according to the seventh aspect, in order to manage a plurality of data areas on a desired file, user identification information of a transfer destination terminal to which each data area is assigned, and an index of each data area. Information, position information of the data area in a desired file, and size information of the data area.

【0020】請求項9の装置は請求項3と同様の動作を
実現することができる。請求項10は、請求項8のファ
イル転送装置において、前記擬似ファイル作成手段は、
該当するファイルのファイル識別情報,各データ領域を
管理するための情報及び各データ領域の転送元に割り当
てられた端末のユーザ識別情報を用いて擬似ファイルを
作成し、前記擬似ファイルには、所望ファイルと同じフ
ァイルサイズの擬似データ領域と、前記所望ファイルの
ファイル識別情報,各データ領域を管理するための情報
及び各データ領域の転送元に関するユーザ識別情報を含
む制御情報領域とを設けることを特徴とする。
The device according to the ninth aspect can realize the same operation as the third aspect. According to a tenth aspect, in the file transfer device according to the eighth aspect, the pseudo file creating means includes:
A pseudo file is created using the file identification information of the corresponding file, the information for managing each data area, and the user identification information of the terminal assigned to the transfer source of each data area. And a control information area including file identification information of the desired file, information for managing each data area, and user identification information regarding a transfer source of each data area. I do.

【0021】請求項10の装置は請求項4と同様の動作
を実現することができる。請求項11は、請求項10の
ファイル転送装置において、前記データ加工手段は、デ
ータ領域毎に、受信されたデータを該当するデータ領域
のインデックス及び前記擬似ファイルの制御情報領域の
情報に基づいて擬似データ領域に書き込み、擬似データ
領域の全体に対するデータ書き込みが終了した後で、前
記擬似ファイルの制御情報領域を削除することを特徴と
する。
The device according to the tenth aspect can realize the same operation as the fourth aspect. According to an eleventh aspect, in the file transfer device according to the tenth aspect, the data processing means simulates, for each data area, the received data based on an index of a corresponding data area and information of a control information area of the pseudo file. After the data is written in the data area and the data writing to the entire pseudo data area is completed, the control information area of the pseudo file is deleted.

【0022】請求項11の装置は請求項5と同様の動作
を実現することができる。請求項12は、請求項7のフ
ァイル転送装置において、転送先の端末から転送元とし
て割り当てた複数の端末に対して、所望ファイルのファ
イル識別情報,所望のデータ領域を表す領域情報及び転
送先の端末のユーザ識別情報を転送する情報送信手段
と、転送元の複数の端末が転送先の端末から受信した情
報に従って指定されたデータを送信するための送信制御
手段とを設けたことを特徴とする。
The device of claim 11 can realize the same operation as that of claim 5. According to a twelfth aspect, in the file transfer device of the seventh aspect, the file identification information of the desired file, the area information indicating the desired data area, and the transfer destination Information transmitting means for transferring user identification information of a terminal; and transmission control means for transmitting data specified by a plurality of transfer source terminals according to information received from a transfer destination terminal. .

【0023】請求項12の装置は請求項6と同様の動作
を実現することができる。請求項13は、所定の通信ネ
ットワークを介して互いに接続された複数の端末の間で
任意のデータを含むファイルを転送するためのコンピュ
ータで実行可能なプログラムにおいて、指定されたファ
イルの少なくとも一部分のデータを送信側の各端末から
送信するためのファイル送信手順と、各端末から送信さ
れるファイルの少なくとも一部分のデータを受信するた
めのファイル受信手順と、転送可能なファイルの識別情
報を登録するファイル登録手順と、各ファイルの内容に
基づいて前記ファイルの識別情報に含まれるファイル固
有値を計算するファイル固有値計算手順と、転送される
ファイル及びその転送元及び転送先の端末及び/又はユ
ーザを特定するためのメタ情報を管理するためのメタ情
報管理手順と、前記通信ネットワーク上で所望のファイ
ルを保持する端末を検索するファイル検索手順と、指定
されたファイルが複数の端末上に存在する場合には、前
記複数の端末を転送元として割り当てるとともに、転送
元のそれぞれの端末に対してファイル上の互いに異なる
データ領域を送信対象として割り当てる領域割り当て手
順と、複数の転送元の端末から送信されるデータをそれ
ぞれ受信して合成し所望のファイルを復元するファイル
合成手順とを設けたことを特徴とする。
The device according to the twelfth aspect can realize the same operation as the sixth aspect. 14. A computer-executable program for transferring a file containing arbitrary data between a plurality of terminals connected to each other via a predetermined communication network, wherein at least a part of the designated file is data. File transmission procedure for transmitting a file from each terminal on the transmission side, a file reception procedure for receiving data of at least a part of a file transmitted from each terminal, and file registration for registering identification information of a transferable file A procedure, a file unique value calculating procedure for calculating a file unique value included in the identification information of the file based on the content of each file, and a file to be transferred and a terminal and / or a user at a transfer source and a transfer destination thereof are specified. A meta information management procedure for managing the meta information of the A file search procedure for searching for a terminal holding the file, and, when the specified file exists on a plurality of terminals, assigns the plurality of terminals as a transfer source, and An area allocation procedure for allocating different data areas on a file as transmission targets and a file synthesis procedure for receiving and synthesizing data transmitted from a plurality of transfer source terminals and restoring a desired file are provided. Features.

【0024】請求項13のプログラムを実行することに
より、請求項1と同様の動作を実現することができる。
請求項14は、請求項13のプログラムにおいて、複数
に分割された各データ領域のデータを組み合わせて元の
ファイルを復元するために必要な制御情報を含む擬似フ
ァイルを作成する擬似ファイル作成手順と、複数の転送
元の端末からそれぞれ受信したデータを、前記擬似ファ
イルに含まれる制御情報に従って前記擬似ファイルに書
き込み、所望のファイルに含まれる全データの受信が完
了した後で、前記擬似ファイルを所望のファイルに変換
するデータ加工手順とを更に設けたことを特徴とする。
By executing the program of claim 13, the same operation as in claim 1 can be realized.
According to a fourteenth aspect of the present invention, in the program according to the thirteenth aspect, a pseudo file creating procedure for creating a pseudo file including control information necessary for restoring an original file by combining data of each of the plurality of divided data areas; The data received from each of the plurality of transfer source terminals is written into the pseudo file according to the control information included in the pseudo file, and after the reception of all data included in the desired file is completed, the pseudo file is stored in the desired file. And a data processing procedure for converting the data into a file.

【0025】請求項14のプログラムを実行することに
より、請求項2と同様の動作を実現することができる。
請求項15は、請求項13のプログラムにおいて、所望
ファイル上の複数のデータ領域を管理するために、各デ
ータ領域が割り当てられた転送先の端末のユーザ識別情
報と、各データ領域のインデックス情報と、所望ファイ
ルにおける前記データ領域の位置情報と、前記データ領
域のサイズ情報とを用いることを特徴とする。
By executing the program according to the fourteenth aspect, the same operation as the second aspect can be realized.
According to a fifteenth aspect of the present invention, in the program according to the thirteenth aspect, in order to manage a plurality of data areas on a desired file, user identification information of a transfer destination terminal to which each data area is allocated, and index information of each data area. , Using location information of the data area in a desired file and size information of the data area.

【0026】請求項15のプログラムを実行することに
より、請求項3と同様の動作を実現することができる。
請求項16は、請求項14のプログラムにおいて、前記
擬似ファイル作成手順では、該当するファイルのファイ
ル識別情報,各データ領域を管理するための情報及び各
データ領域の転送元に割り当てられた端末のユーザ識別
情報を用いて擬似ファイルを作成するとともに、前記擬
似ファイルには所望ファイルと同じファイルサイズの擬
似データ領域と、前記所望ファイルのファイル識別情
報,各データ領域を管理するための情報及び各データ領
域の転送元に関するユーザ識別情報を含む制御情報領域
とを設けることを特徴とする。
By executing the program of claim 15, the same operation as in claim 3 can be realized.
According to a sixteenth aspect of the present invention, in the program according to the fourteenth aspect, in the pseudo file creation procedure, file identification information of a corresponding file, information for managing each data area, and a user of a terminal assigned to a transfer source of each data area. A pseudo file is created using the identification information, and the pseudo file has a pseudo data area having the same file size as the desired file, file identification information of the desired file, information for managing each data area, and each data area. And a control information area including user identification information on the transfer source of the control information.

【0027】請求項16のプログラムを実行することに
より、請求項4と同様の動作を実現することができる。
請求項17は、請求項16のプログラムにおいて、前記
データ加工手順では、データ領域毎に、受信されたデー
タを該当するデータ領域のインデックス及び前記擬似フ
ァイルの制御情報領域の情報に基づいて擬似データ領域
に書き込み、擬似データ領域の全体に対するデータ書き
込みが終了した後で、前記擬似ファイルの制御情報領域
を削除することを特徴とする。
By executing the program of claim 16, the same operation as in claim 4 can be realized.
According to a seventeenth aspect, in the program according to the sixteenth aspect, in the data processing procedure, for each data area, the received data is stored in a pseudo data area based on an index of a corresponding data area and information of a control information area of the pseudo file. After the data writing to the entire pseudo data area is completed, the control information area of the pseudo file is deleted.

【0028】請求項17のプログラムを実行することに
より、請求項5と同様の動作を実現することができる。
請求項18は、請求項13のプログラムにおいて、転送
先の端末から転送元として割り当てた複数の端末に対し
て、所望ファイルのファイル識別情報,所望のデータ領
域を表す領域情報及び転送先の端末のユーザ識別情報を
転送するための情報送信手順と、転送元の複数の端末が
転送先の端末から受信した情報に従って指定されたデー
タを送信する送信制御手順とを更に設けたことを特徴と
する。
By executing the program of claim 17, the same operation as in claim 5 can be realized.
According to a eighteenth aspect of the present invention, in the program according to the thirteenth aspect, file identification information of a desired file, area information representing a desired data area, and a An information transmission procedure for transferring user identification information and a transmission control procedure for transmitting data designated by a plurality of transfer source terminals according to information received from a transfer destination terminal are further provided.

【0029】請求項18のプログラムを実行することに
より、請求項6と同様の動作を実現することができる。
請求項19は、請求項13から請求項18までのいずれ
かに記載のプログラムを記録した記録媒体である。請求
項19の記録媒体に記録されたプログラムを読み込んで
所定のコンピュータで実行することにより、請求項1〜
請求項6と同様の動作を実現することができる。
By executing the program according to claim 18, the same operation as in claim 6 can be realized.
A nineteenth aspect is a recording medium that records the program according to any one of the thirteenth to eighteenth aspects. By reading the program recorded on the recording medium of claim 19 and executing it on a predetermined computer,
The same operation as in claim 6 can be realized.

【0030】[0030]

【発明の実施の形態】本発明のファイル転送方法及び装
置並びにプログラム及び記録媒体の1つの実施の形態に
ついて、図1〜図8を参照して説明する。この形態は全
ての請求項に対応する。図1はファイル転送の処理手順
を示すフローチャートである。図2はファイル転送シス
テムの構成例(1)を示すブロック図である。図3はフ
ァイル転送システムの構成例(2)を示すブロック図で
ある。図4はファイル転送装置のハードウェアの構成例
を示すブロック図である。図5はファイル転送に用いる
プログラム及びデータの構成例を示すブロック図であ
る。図6は使用するデータの構成例を示す模式図であ
る。図7は転送元及び転送先の構成例を示すブロック図
である。図8は転送途中の擬似ファイルの状態を示す模
式図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of a file transfer method and apparatus, a program and a recording medium according to the present invention will be described with reference to FIGS. This form corresponds to all the claims. FIG. 1 is a flowchart showing the processing procedure of the file transfer. FIG. 2 is a block diagram showing a configuration example (1) of the file transfer system. FIG. 3 is a block diagram showing a configuration example (2) of the file transfer system. FIG. 4 is a block diagram illustrating an example of a hardware configuration of the file transfer device. FIG. 5 is a block diagram showing a configuration example of a program and data used for file transfer. FIG. 6 is a schematic diagram showing a configuration example of data to be used. FIG. 7 is a block diagram showing a configuration example of a transfer source and a transfer destination. FIG. 8 is a schematic diagram showing the state of the pseudo file during transfer.

【0031】この形態では、請求項7のファイル送信手
段,ファイル受信手段,ファイル登録手段,ファイル固
有値計算手段,メタ情報管理手段,ファイル検索手段,
領域割り当て手段及びファイル合成手段は、それぞれフ
ァイル送信部32,ファイル受信部31,ファイル登録
部34,ファイル固有値計算部35,メタ情報管理部3
8,ファイル検索部33,ステップS16及び擬似ファ
イル加工部37に対応する。
In this embodiment, the file transmission means, the file reception means, the file registration means, the file unique value calculation means, the meta information management means, the file search means,
The area allocating unit and the file synthesizing unit include a file transmitting unit 32, a file receiving unit 31, a file registration unit 34, a file unique value calculation unit 35, and a meta information management unit 3,
8, file search unit 33, step S16, and pseudo file processing unit 37.

【0032】また、請求項8の擬似ファイル作成手段及
びデータ加工手段は、それぞれ擬似ファイル作成部36
及び擬似ファイル加工部37に対応する。請求項12の
情報送信手段及び送信制御手段は、それぞれファイル受
信部31及びファイル送信部32に対応する。この形態
では、例えば図2又は図3に示すようなシステムにおい
てファイルを転送する場合を想定している。
The pseudo file creating means and the data processing means according to claim 8 are each provided with a pseudo file creating section 36.
And the pseudo file processing unit 37. The information transmitting means and the transmission control means of claim 12 correspond to the file receiving unit 31 and the file transmitting unit 32, respectively. In this embodiment, it is assumed that a file is transferred in a system such as that shown in FIG. 2 or FIG.

【0033】図2の例では、携帯電話12,携帯情報端
末13及び複数のパーソナルコンピュータ(PC)14
が通信ネットワーク11を介して互いに接続されてい
る。通信ネットワーク11としては、例えばインターネ
ットなどのIP網を用いればよい。ここでは、携帯電話
12,携帯情報端末13及びパーソナルコンピュータ1
4を総称して端末と呼ぶ。各端末と通信ネットワーク1
1との間は、無線回線やADSLなどのアクセス回線を
介して接続されている。
In the example shown in FIG. 2, a portable telephone 12, a portable information terminal 13, and a plurality of personal computers (PC) 14
Are connected to each other via a communication network 11. As the communication network 11, for example, an IP network such as the Internet may be used. Here, the mobile phone 12, the mobile information terminal 13, and the personal computer 1
4 is collectively called a terminal. Each terminal and communication network 1
1 is connected via an access line such as a wireless line or ADSL.

【0034】また、各端末には本発明のファイル転送方
法を実施するためのコンピュータ及びファイル転送処理
プログラム30あるいはその機能を実現する専用のハー
ドウェアが組み込まれている。この形態では、複数の端
末同士の間で、ファイルを所有する端末からファイルを
必要とする端末に向けてファイルの転送が1対1で行わ
れる。但し、本発明を実施する場合には、所望ファイル
を所有する端末が複数存在する場合は、所望ファイルを
所有する複数の端末からファイルを必要とする端末に向
けてファイルの転送を複数対1で行うこともできる。
Each terminal incorporates a computer for implementing the file transfer method of the present invention and a file transfer processing program 30 or dedicated hardware for realizing the functions thereof. In this embodiment, a file is transferred one-to-one between a plurality of terminals from a terminal that owns the file to a terminal that needs the file. However, when practicing the present invention, if there are a plurality of terminals owning the desired file, the file transfer from the plurality of terminals owning the desired file to the terminal requiring the file is performed in a plural-to-one manner. You can do it too.

【0035】図3の例では、携帯情報端末13,複数の
パーソナルコンピュータ14及びサーバ15が通信ネッ
トワーク11を介して接続されている。図3のシステム
においては、ファイル転送の際にサーバ15を利用する
ことができる。
In the example of FIG. 3, a portable information terminal 13, a plurality of personal computers 14 and a server 15 are connected via a communication network 11. In the system of FIG. 3, the server 15 can be used at the time of file transfer.

【0036】図3のシステムにおいても、複数の端末同
士の間で、ファイルを所有する端末からファイルを必要
とする端末に向けてファイルの転送が1対1又は複数対
1で行われる。このファイル転送の際に、サーバ15は
各端末が所有しているファイルの検索や各端末及び転送
可能ファイルの識別情報の管理のために補助的に利用す
ることができる。
In the system shown in FIG. 3 as well, file transfer is performed on a one-to-one basis or on a multi-to-one basis between a plurality of terminals and from a terminal having the file to a terminal requiring the file. At the time of this file transfer, the server 15 can be used as an auxiliary to search for files owned by each terminal and to manage identification information of each terminal and transferable files.

【0037】図2及び図3に示す各端末はファイル転送
装置のハードウェアとして、図4に示す要素を備えてい
る。すなわち、一般的なコンピュータと同様にファイル
転送装置はCPU(中央処理装置)21,内部記憶部2
2,外部記憶部23,ネットワークインタフェース2
4,表示部25及び入力部26を備えている。また、こ
のファイル転送装置は図5に示すファイル転送処理プロ
グラム30及びデータを利用する。もちろん、ファイル
転送処理プログラム30を専用のハードウェアで置き換
えることもできる。ファイル転送処理プログラム30は
CD−ROMのような記録媒体から読み込んで実行する
こともできるし、オンラインで転送して読み込むことも
できる。
Each of the terminals shown in FIGS. 2 and 3 has the elements shown in FIG. 4 as hardware of the file transfer device. That is, like a general computer, a file transfer device is a CPU (central processing unit) 21 and an internal storage unit 2.
2, external storage unit 23, network interface 2
4, a display unit 25 and an input unit 26. This file transfer device uses the file transfer processing program 30 and data shown in FIG. Of course, the file transfer processing program 30 can be replaced with dedicated hardware. The file transfer processing program 30 can be read from a recording medium such as a CD-ROM and executed, or can be transferred and read online.

【0038】また、図3に示すようにサーバ15を用い
る場合には、図5に示すファイル転送処理プログラム3
0及びデータの一部分の機能をサーバ15上に配置する
こともできる。この例では、CPU21はファイル転送
処理プログラム30を内部記憶部22から読み出して実
行し、本発明のファイル転送方法を実施する。
When the server 15 is used as shown in FIG. 3, the file transfer processing program 3 shown in FIG.
The functions of 0 and a part of the data may be arranged on the server 15. In this example, the CPU 21 reads out the file transfer processing program 30 from the internal storage unit 22 and executes the same to execute the file transfer method of the present invention.

【0039】内部記憶部22は、CPU21の処理に必
要な図5に示すファイル転送処理プログラム30及びデ
ータを一時的に記憶する。内部記憶部22はメモリであ
り、通常はRAMやROMで構成される。外部記憶部2
3は、図5に示すファイル転送処理プログラム30及び
データを記憶する。なお、外部記憶部23が存在しない
場合やその記憶容量が小さい場合には、必要なファイル
転送処理プログラム30及びデータの一部分もしくは全
てを内部記憶部22に常に記憶しておくこともできる。
The internal storage unit 22 temporarily stores the file transfer processing program 30 and data shown in FIG. The internal storage unit 22 is a memory, and usually includes a RAM and a ROM. External storage unit 2
3 stores the file transfer processing program 30 and data shown in FIG. When the external storage unit 23 does not exist or its storage capacity is small, the necessary file transfer processing program 30 and part or all of the necessary data may be stored in the internal storage unit 22 at all times.

【0040】ネットワークインタフェース24は、この
ファイル転送装置を通信ネットワーク11に接続するた
めの通信デバイスである。表示部25は、CRTディス
プレーや液晶モニタのような表示装置であり、CPU2
1が行うファイル転送処理の結果や入力部26の入力結
果などの情報を表示する。
The network interface 24 is a communication device for connecting the file transfer device to the communication network 11. The display unit 25 is a display device such as a CRT display or a liquid crystal monitor.
1 displays information such as the result of the file transfer process performed by the user 1 and the input result of the input unit 26.

【0041】入力部26は、マウス,キーボード,ボタ
ンのように各種情報を入力するデバイスである。ファイ
ル転送においては、入力部26はユーザが所望のファイ
ルを検索するための文字列の入力や、ユーザ識別情報,
ファイル識別情報などの入力に用いられる。図5に示す
ように、ファイル転送処理プログラム30にはファイル
受信部31,ファイル送信部32,ファイル検索部3
3,ファイル登録部34,ファイル固有値計算部35,
擬似ファイル作成部36,擬似ファイル加工部37及び
メタ情報管理部38が備わっている。また、使用するデ
ータとしては転送可能ファイル41,擬似ファイル4
2,受信済みファイル43,ユーザ識別情報44及びフ
ァイル識別情報45が備わっている。
The input unit 26 is a device for inputting various information such as a mouse, a keyboard, and buttons. In the file transfer, the input unit 26 inputs a character string for a user to search for a desired file, and inputs user identification information,
Used for inputting file identification information and the like. As shown in FIG. 5, the file transfer processing program 30 includes a file receiving unit 31, a file transmitting unit 32, and a file searching unit 3.
3, file registration unit 34, file unique value calculation unit 35,
A pseudo file creation unit 36, a pseudo file processing unit 37, and a meta information management unit 38 are provided. The data to be used include the transferable file 41 and the pseudo file 4
2, a received file 43, user identification information 44, and file identification information 45 are provided.

【0042】ファイルの転送を行う場合には、ファイル
を必要とする端末(転送先端末)から該当するファイル
を所持している端末(転送元端末)に対してファイル転
送要求が送信される。このファイル転送要求には、後述
するように所望ファイルのファイル固有値及び制御情報
が含まれている。このファイル転送要求を受信した転送
元端末においては、ファイル送信部32は、ファイル転
送要求に含まれているファイル固有値及び制御情報を解
析し、所望ファイルのデータを転送先端末宛に送信す
る。また、制御情報によって送信すべきデータ領域が指
定されているファイル転送要求を受信した場合には、所
望ファイルの該当するデータ領域だけを送信する。
When transferring a file, a file transfer request is transmitted from a terminal requiring the file (transfer destination terminal) to a terminal having the file in question (transfer source terminal). This file transfer request includes the file unique value of the desired file and control information as described later. In the transfer source terminal that has received the file transfer request, the file transmission unit 32 analyzes the file unique value and the control information included in the file transfer request, and transmits the data of the desired file to the transfer destination terminal. When a file transfer request in which the data area to be transmitted is specified by the control information is received, only the data area corresponding to the desired file is transmitted.

【0043】ファイル転送要求を送信した転送先端末に
おいては、ファイル受信部31は、転送元端末から送信
される所望ファイルのデータを受信する。また、1つの
所望ファイルの互いに異なるデータ領域の情報が同時に
複数の転送元端末から送信される場合には、ファイル受
信部31はそれぞれの転送元端末から送信される情報を
データ領域毎にセッション管理して同時に受信する。
In the transfer destination terminal that has transmitted the file transfer request, the file receiving section 31 receives the data of the desired file transmitted from the transfer source terminal. When information of different data areas of one desired file is transmitted from a plurality of transfer source terminals at the same time, the file receiving unit 31 manages the information transmitted from each of the transfer source terminals by session management for each data area. And receive at the same time.

【0044】ファイル登録部34は、入力部26からの
入力によって選択された転送可能なファイル(その端末
が保持しているファイル)のファイル識別情報を外部記
憶部23などに登録する。このファイル識別情報には、
後述するファイル固有値,ファイルの格納場所(アドレ
スなど),ファイルサイズ及び著作権などの付加情報が
含まれている。
The file registration unit 34 registers the file identification information of the transferable file (the file held by the terminal) selected by the input from the input unit 26 in the external storage unit 23 or the like. This file identification information includes
It contains additional information such as a file unique value described later, a file storage location (such as an address), a file size, and a copyright.

【0045】また、入力部26からの入力によって記憶
装置の記憶領域を示すフォルダや記憶装置を示すドライ
ブが選択された場合には、ファイル登録部34は指定さ
れた場所に保持されている全てのファイルを検索し、そ
れら全てのファイルについてファイル識別情報を登録す
る。ファイル固有値計算部35は、指定されたファイル
のファイル固有値を算出する。このファイル固有値は、
複数のファイルが同一か否かを識別するために用いられ
る。例えば、ファイル名が同一であっても、ファイルの
中身が異なる場合は多い。また、ファイルのデータ領域
を複数に区分してそれぞれのデータ領域を独立した複数
の転送元から転送する場合には、複数の転送元のファイ
ルが完全に同一である必要がある。そこで、複数のファ
イルの中身が同一か否かを調べる。
When a folder indicating a storage area of a storage device or a drive indicating a storage device is selected by an input from the input unit 26, the file registration unit 34 deletes all the files stored in the specified location. Search for files and register file identification information for all of them. The file unique value calculator 35 calculates a file unique value of the specified file. This file-specific value is
It is used to identify whether a plurality of files are the same or not. For example, even if the file names are the same, the contents of the files are often different. When the data area of a file is divided into a plurality of parts and each data area is transferred from a plurality of independent transfer sources, the files of the plurality of transfer sources need to be completely identical. Therefore, it is checked whether or not the contents of a plurality of files are the same.

【0046】この例では、ファイル固有値計算部35
は、MD5もしくはCRC(Cyclic Redundancy Chec
k)を用いてファイル固有値を算出する。但し、ファイ
ルの中身が同一か否かを識別できるものであれば、他の
方式を用いてファイル固有値を算出してもよい。MD5
では、ハッシュ関数を用いて入力データに対するハッシ
ュ値を求める。このハッシュ値をファイル固有値として
利用できる。MD5においては、異なる入力データに対
するハッシュ値が同一になる確率はきわめて低く、また
出力されるハッシュ値から入力データを求めることはで
きないという特徴がある。同様に、CRCを用いる場合
にも、異なる入力データに対するCRC値が同一になる
確率は極めて低い。
In this example, the file unique value calculator 35
Means MD5 or CRC (Cyclic Redundancy Chec)
Calculate the file unique value using k). However, if it is possible to identify whether the contents of the files are the same or not, the file unique value may be calculated using another method. MD5
Then, a hash value for input data is obtained using a hash function. This hash value can be used as a file unique value. The MD5 has a feature that the probability that hash values for different input data become the same is extremely low, and that input data cannot be obtained from output hash values. Similarly, when CRC is used, the probability that the CRC values for different input data become the same is extremely low.

【0047】メタ情報管理部38は、前述のファイル識
別情報や、その端末自身における識別情報であるユーザ
識別情報44のように、ファイルの特定及びファイルの
転送先及び転送元の特定に必要な情報をメタ情報として
管理する。ユーザ識別情報44は、ファイル転送装置の
アドレス,ユーザID,通信ネットワークを接続する回
線の種類及び帯域などの情報で構成される。
The meta information management unit 38 stores information necessary for specifying a file and specifying a transfer destination and a transfer source of the file, such as the file identification information described above and the user identification information 44 which is identification information of the terminal itself. Is managed as meta information. The user identification information 44 includes information such as the address of the file transfer device, the user ID, the type of line connecting the communication network, and the band.

【0048】ファイル検索部33は、入力部26によっ
て入力された文字列や条件に従って、所望のファイルを
保持している通信ネットワーク11上のファイル転送装
置を検索する。また、所望のファイルを通信ネットワー
ク11上の複数の端末が保持している場合には、それら
の複数の端末を転送元端末として割り当てる。具体的に
は、各々の端末が通信ネットワーク11に接続している
回線の種類や帯域を考慮して、所望のファイルを複数の
データ領域に区切り、それぞれのデータ領域を各転送元
端末に割り当てる。
The file search unit 33 searches for a file transfer device on the communication network 11 that holds a desired file in accordance with the character string or condition input by the input unit 26. When a plurality of terminals on the communication network 11 hold a desired file, the plurality of terminals are assigned as transfer source terminals. Specifically, a desired file is divided into a plurality of data areas in consideration of the type and band of a line connected to the communication network 11 by each terminal, and each data area is assigned to each transfer source terminal.

【0049】また、ファイル検索部33は所望ファイル
のファイル識別情報及び所望ファイルの区切られたデー
タ領域の情報を擬似ファイル作成部36に渡す。擬似フ
ァイル作成部36に渡すデータ領域の情報としては、転
送元として割り当てられた端末のユーザ識別情報と、当
該データ領域のインデックス情報(領域の番号など)
と、所望ファイルにおける当該データ領域の位置情報及
びサイズ情報とが含まれている。
Further, the file search unit 33 passes the file identification information of the desired file and the information of the divided data area of the desired file to the pseudo file creation unit 36. The information of the data area to be passed to the pseudo file creation unit 36 includes the user identification information of the terminal assigned as the transfer source and the index information of the data area (eg, area number).
And position information and size information of the data area in the desired file.

【0050】擬似ファイル作成部36は、複数の転送元
端末からそれぞれ送信される複数のデータに基づいて所
望ファイルを復元するために必要とされる制御情報を含
む擬似ファイルを作成する。
The pseudo file creator 36 creates a pseudo file including control information necessary for restoring a desired file based on a plurality of data transmitted from a plurality of transfer source terminals.

【0051】擬似ファイル加工部37は、作成された擬
似ファイルに含まれている制御情報に従って、所望ファ
イルの受信したデータを前記擬似ファイルに書き込む。
また、所望ファイルの全てのデータを前記擬似ファイル
に書き込んだ後で、前記擬似ファイルを所望ファイルに
変換する。擬似ファイルは、複数のデータ領域に分割さ
れたデータから所望ファイルを生成するために用いる中
間的なファイルであり、図6に示すように擬似データ領
域と制御情報領域とで構成されている。
The pseudo file processing section 37 writes the received data of the desired file into the pseudo file according to the control information included in the generated pseudo file.
After writing all data of the desired file into the pseudo file, the pseudo file is converted into the desired file. The pseudo file is an intermediate file used to generate a desired file from data divided into a plurality of data areas, and includes a pseudo data area and a control information area as shown in FIG.

【0052】擬似ファイルの擬似データ領域は、所望フ
ァイルのファイルサイズと同じ大きさになっている。こ
の擬似データ領域に受信データ(擬似データ)が書き込
まれる。擬似ファイルの制御情報領域は、ユーザ識別情
報に従って作成される。前述のファイル検索部33は、
検索処理が終了した後で所望ファイルのファイル識別情
報と、転送元端末のアドレスと、当該転送元端末に割り
当てられた所望ファイルのデータ領域情報とをファイル
受信部31に渡す。
The pseudo data area of the pseudo file has the same size as the file size of the desired file. Received data (pseudo data) is written in this pseudo data area. The control information area of the pseudo file is created according to the user identification information. The file search unit 33 described above
After the search processing is completed, the file receiving unit 31 passes the file identification information of the desired file, the address of the transfer source terminal, and the data area information of the desired file assigned to the transfer source terminal.

【0053】この場合、ファイル受信部31は転送元端
末として割り当てられた複数の端末に対して、その端末
自身(転送先端末)のユーザ識別情報と、所望ファイル
のファイル識別情報と、当該所望ファイルのデータ領域
のうち各転送元端末に割り当てられたデータ領域の情報
を送信し、データ転送を要求する。また、ファイル受信
部31は複数の転送元端末から所望ファイルの一部分で
ある分割されたデータ領域のデータを受信すると、その
受信データ及びそのデータ領域を表すインデックス情報
を擬似ファイル加工部37に渡す。
In this case, the file receiving unit 31 sends, to a plurality of terminals assigned as transfer source terminals, user identification information of the terminal itself (transfer destination terminal), file identification information of a desired file, The information of the data area allocated to each transfer source terminal in the data area is transmitted to request data transfer. Further, when receiving the data of the divided data area which is a part of the desired file from the plurality of transfer source terminals, the file receiving section 31 passes the received data and the index information indicating the data area to the pseudo file processing section 37.

【0054】擬似ファイル加工部37は、ファイル受信
部31から受信データ及びそのデータ領域を表すインデ
ックス情報を受け取ると、そのインデックス情報と作成
された擬似ファイル上の制御情報領域に記録されている
制御情報とに従って、擬似ファイルの擬似データ領域に
受信データを書き込む。この処理は分割されたデータ領
域毎に独立して行う。
When receiving the received data and the index information representing the data area from the file receiving section 31, the pseudo file processing section 37 receives the index information and the control information recorded in the control information area on the created pseudo file. Then, the received data is written in the pseudo data area of the pseudo file. This process is performed independently for each divided data area.

【0055】擬似ファイル上の擬似データ領域の全体に
受信データが書き込まれると、擬似ファイル加工部37
は擬似ファイル上の制御情報領域を削除する。これによ
り、前記擬似ファイルは所望ファイルに変換される。こ
れでファイル転送が終了する。各転送元端末において
は、転送先端末からのファイル転送要求を受信すると、
ファイル送信部32は、ファイル転送要求に含まれてい
る情報に従って所望ファイルの該当するデータを送信す
る。
When the received data is written in the entire pseudo data area on the pseudo file, the pseudo file processing section 37
Deletes the control information area on the pseudo file. Thereby, the pseudo file is converted into a desired file. This completes the file transfer. When each transfer source terminal receives a file transfer request from the transfer destination terminal,
The file transmitting unit 32 transmits the corresponding data of the desired file according to the information included in the file transfer request.

【0056】ファイル転送要求には、転送先端末が希望
する所望ファイルのファイル識別情報と、当該転送元端
末に割り当てたデータ領域の情報と、転送先端末のユー
ザ識別情報とが含まれている。前述のファイル登録部3
4が登録した転送可能なファイルの情報は、転送可能フ
ァイル41の情報として外部記憶部23又は内部記憶部
22に保持される。
The file transfer request includes file identification information of a desired file desired by the transfer destination terminal, information on a data area allocated to the transfer source terminal, and user identification information of the transfer destination terminal. The aforementioned file registration unit 3
The information of the transferable file registered by 4 is stored in the external storage unit 23 or the internal storage unit 22 as information of the transferable file 41.

【0057】また、転送先端末においてファイル転送が
完了し、擬似ファイルから所望ファイルに変換されたフ
ァイルは受信済みファイル43として外部記憶部23又
は内部記憶部22に保持される。次に、使用する擬似フ
ァイル42の具体例について図6を参照して説明する。
この例では、擬似ファイル42は擬似データ領域と制御
情報領域とで構成されている。擬似データ領域は、所望
ファイルのファイルサイズと同じ大きさで作成される。
The file that has been transferred from the transfer destination terminal and converted from the pseudo file to the desired file is stored in the external storage unit 23 or the internal storage unit 22 as the received file 43. Next, a specific example of the pseudo file 42 to be used will be described with reference to FIG.
In this example, the pseudo file 42 includes a pseudo data area and a control information area. The pseudo data area is created with the same size as the file size of the desired file.

【0058】擬似データ領域には、最初は所定の擬似デ
ータが書き込まれる。擬似データとしては、例えば全て
が「0」で埋められたデータを用いればよい。この擬似
データ領域には、受信したデータが逐次書き込まれる。
制御情報領域には、全般的な制御情報が記述されたフッ
ターと、分割転送に関する詳細情報を分割したデータ領
域毎に独立に記述した複数の制御情報とが書き込まれて
いる。
First, predetermined pseudo data is written in the pseudo data area. As the pseudo data, for example, data in which all data is filled with “0” may be used. The received data is sequentially written in this pseudo data area.
In the control information area, a footer in which general control information is described, and a plurality of control information in which detailed information on the division transfer is independently described for each divided data area are written.

【0059】この擬似ファイル42においては、擬似デ
ータ領域をファイルの前方に配置し、制御情報領域をそ
の後方に配置してある。従って、擬似ファイル42から
後方に配置されている制御情報領域を削除するのが容易
になり、擬似ファイル42を所望ファイルに変換する際
のCPU21,内部記憶部22,外部記憶部23の負担
が軽減される。
In the pseudo file 42, the pseudo data area is arranged in front of the file, and the control information area is arranged behind it. Therefore, it is easy to delete the control information area located rearward from the pseudo file 42, and the burden on the CPU 21, the internal storage unit 22, and the external storage unit 23 when converting the pseudo file 42 into a desired file is reduced. Is done.

【0060】もしも、制御情報を分割されたデータ領域
毎にヘッダーとして付与すると、複数のデータ領域の制
御情報とデータ領域とがサンドイッチ状に配置されるの
で、制御情報を削除するためには、データ領域の総和分
の大きさの一時ファイルを作成する必要があり、所望フ
ァイルのサイズが非常に大きい場合にはCPU21,内
部記憶部22,外部記憶部23に大きな負担がかかる。
また、制御情報領域が擬似データ領域の前に配置される
場合も同様である。
If control information is added as a header to each divided data area, control information and data areas of a plurality of data areas are arranged in a sandwich shape. It is necessary to create a temporary file having a size corresponding to the total area, and if the size of the desired file is very large, a heavy load is placed on the CPU 21, the internal storage unit 22, and the external storage unit 23.
The same applies to the case where the control information area is arranged before the pseudo data area.

【0061】また、例えば分割されたデータ毎にそれぞ
れ独立した作業ファイルを作成し、分割された全てのデ
ータを受信した後で全ての作業ファイルをつなぎ合わせ
るようにしても所望ファイルを作成できる。しかし、そ
の場合には複数のファイルを管理する必要があるのでC
PU21,内部記憶部22,外部記憶部23に大きな負
担がかかる。
Also, for example, a desired file can be created by creating an independent work file for each of the divided data and connecting all the work files after receiving all the divided data. However, in that case, it is necessary to manage multiple files, so C
A heavy load is applied to the PU 21, the internal storage unit 22, and the external storage unit 23.

【0062】図6のように擬似ファイル42を構成する
場合には、例えば音声や画像のファイルのようにファイ
ルの先頭から所定のファイルフォーマットに従っている
データのみを再生するように定められた形式のファイル
を転送する場合には、データの受信が完全に終了してい
ない状態であっても、不完全ながらファイルの再生が可
能になる。
When the pseudo file 42 is constructed as shown in FIG. 6, a file of a format determined to reproduce only data conforming to a predetermined file format from the beginning of the file, such as a sound or image file, is used. When the file is transferred, even if the data reception is not completely completed, the file can be played back incompletely.

【0063】擬似ファイル42の制御情報領域に含まれ
ているフッターの情報には、図6に示すように、擬似デ
ータ領域サイズ,当該フッターのサイズ,当該擬似ファ
イルに対応する所望ファイルの固有値,所望ファイルの
ファイル名及び付加情報が含まれている。付加情報に
は、所望ファイルを検索したときに用いた文字列である
検索ワードや検索時に抽出したメタ情報が含まれてい
る。また、フッターの情報の最後にはこのフッターが終
了することを示すフッター終了情報が配置されている。
As shown in FIG. 6, the information of the footer included in the control information area of the pseudo file 42 includes a pseudo data area size, a footer size, a unique value of a desired file corresponding to the pseudo file, and a desired It contains the file name of the file and additional information. The additional information includes a search word, which is a character string used when searching for the desired file, and meta information extracted during the search. At the end of the footer information, footer end information indicating that the footer ends is arranged.

【0064】また、フッターに含まれている各情報は擬
似ファイル42の後から前に向かって記述されている。
これにより、常に擬似ファイル42の後からデータを読
み込んで解析すれば、所望のファイルの情報を素早く得
ることができる。次に、前述のファイル転送装置におけ
るファイル転送の処理手順を、図1を参照しながら説明
する。以下の説明においては、ファイル転送を希望(要
求)している端末を転送先端末Dと記述し、所望ファイ
ルを保持している転送元の端末(1つ又は複数)を転送
元端末Sと記述する。図1に示す処理手順は、転送先端
末Dの動作である。
Each piece of information included in the footer is described from the back of the pseudo file 42 to the front.
Thus, by always reading and analyzing the data after the pseudo file 42, information on a desired file can be quickly obtained. Next, a file transfer processing procedure in the above-described file transfer device will be described with reference to FIG. In the following description, a terminal desiring (requesting) file transfer is described as a transfer destination terminal D, and a transfer source terminal (one or more) holding a desired file is described as a transfer source terminal S. I do. The processing procedure shown in FIG. 1 is an operation of the transfer destination terminal D.

【0065】ステップS11では、転送先端末Dはファ
イル転送処理プログラム30をCPU21に読み込んで
実行するとともに、ネットワークインタフェース24を
用いて通信ネットワーク11に接続し、転送元端末Sな
ど他の端末との間の通信を可能にする。ステップS12
では、転送先端末Dのファイル検索部33が通信ネット
ワーク11を介して他の端末との間で通信を行い、通信
ネットワーク11上で所望ファイルを検索する。検索に
必要な文字列や検索条件の入力には入力部26を用い
る。
In step S 11, the transfer destination terminal D reads the file transfer processing program 30 into the CPU 21 and executes the program. The transfer destination terminal D connects to the communication network 11 using the network interface 24 and communicates with another terminal such as the transfer source terminal S. Communication. Step S12
Then, the file search unit 33 of the transfer destination terminal D communicates with another terminal via the communication network 11 and searches for a desired file on the communication network 11. The input unit 26 is used to input a character string and search conditions required for the search.

【0066】この場合、検索の要求を受けた転送元端末
Sなどの他の端末においては、それ自身のファイル検索
部33を用いて検索対象の文字列や検索条件を受け取
り、転送可能ファイル41のファイル識別情報を参照し
て、検索を実行する。そして、検索条件に適合したファ
イルが見つかった各転送元端末Sにおいては、それ自身
のユーザ識別情報44及び該当するファイルのファイル
識別情報を転送先端末Dに返す。
In this case, another terminal such as the transfer source terminal S that has received the search request receives the character string to be searched and the search conditions by using its own file search unit 33, Perform a search by referring to the file identification information. Then, each transfer source terminal S in which a file meeting the search condition is found returns its own user identification information 44 and the file identification information of the corresponding file to the transfer destination terminal D.

【0067】ステップS13では、転送先端末Dのファ
イル検索部33は、各転送元端末Sから検索結果として
返されたファイル識別情報及びユーザ識別情報を用いて
ファイルリストを作成しそれを表示部25に表示する。
ステップS14では、転送先端末Dを操作するユーザか
らの入力、すなわち入力部26から入力される情報に従
って、ファイルリストの中から必要とする所望ファイル
を選択する。
In step S13, the file search unit 33 of the transfer destination terminal D creates a file list using the file identification information and the user identification information returned from each transfer source terminal S as a search result, and displays the file list on the display unit 25. To be displayed.
In step S14, the desired file is selected from the file list according to the input from the user operating the transfer destination terminal D, that is, the information input from the input unit 26.

【0068】ステップS15では、転送先端末Dのファ
イル検索部33は、ステップS14で選択された所望フ
ァイルのファイル識別情報に基づいて、所望ファイルの
ファイル固有値を取得し、同一のファイル固有値を有す
るファイルをファイルリストの中から抽出する。ステッ
プS16では、転送先端末Dのファイル検索部33は、
ステップS15で抽出したファイル(所望ファイル)を
保持している各端末のユーザ識別情報から、所望ファイ
ルの転送元となる転送元端末Sを決定する。
In step S15, the file search unit 33 of the transfer destination terminal D acquires the file unique value of the desired file based on the file identification information of the desired file selected in step S14, and obtains the file having the same file unique value. Is extracted from the file list. In step S16, the file search unit 33 of the transfer destination terminal D
From the user identification information of each terminal holding the file (desired file) extracted in step S15, the transfer source terminal S that is the transfer source of the desired file is determined.

【0069】また、ここで所望ファイルの転送元として
複数の転送元端末Sを割り当てた場合には、転送先端末
Dのファイル検索部33は、所望ファイルを複数のデー
タ領域に分割し、分割された各々のデータ領域を複数の
転送元端末Sのそれぞれに割り当てる。なお、各転送元
端末Sに割り当てるデータ領域の大きさ(所望ファイル
全体の大きさに対する比率)については、例えば各転送
元端末Sのユーザ識別情報から認識可能な回線の種類や
帯域などを反映して決定するのが望ましい。
When a plurality of transfer source terminals S are assigned as transfer sources of the desired file, the file search unit 33 of the transfer destination terminal D divides the desired file into a plurality of data areas, and Each of the data areas is assigned to each of the plurality of transfer source terminals S. Note that the size of the data area (ratio to the size of the entire desired file) allocated to each transfer source terminal S reflects, for example, the type of line or band that can be recognized from the user identification information of each transfer source terminal S. It is desirable to determine

【0070】ステップS17では、転送先端末Dのファ
イル検索部33は、ステップS16で決定した割り当て
に従って、所望ファイルに対応するフッター情報及び制
御情報(図6参照)を作成し、それらを擬似ファイル作
成部36に渡す。この場合、転送先端末Dの擬似ファイ
ル作成部36は、受け取った情報を用いて図6に示すよ
うな擬似ファイル42を作成し、作成が完了するとファ
イル検索部33に通知する。
In step S17, the file search unit 33 of the transfer destination terminal D creates footer information and control information (see FIG. 6) corresponding to the desired file according to the assignment determined in step S16, and creates them in a pseudo file. Hand over to section 36. In this case, the pseudo file creation unit 36 of the transfer destination terminal D creates a pseudo file 42 as shown in FIG. 6 using the received information, and notifies the file search unit 33 when the creation is completed.

【0071】ステップS18では、転送先端末Dのファ
イル検索部33は、ファイル受信部31に対して転送元
として割り当てられた転送元端末Sのユーザ識別情報に
含まれているアドレス及びユーザIDと、所望ファイル
のファイル固有値と、該当する転送元端末Sに割り当て
られたデータ領域の制御情報を渡す。この場合、転送先
端末Dのファイル受信部31は、ファイル検索部33か
ら受け取った転送元端末Sのアドレス及びユーザIDを
用いて通信回線を転送元端末Sに接続し、転送先端末D
のユーザ識別情報と、所望ファイルのファイル固有値
と、該当する転送元端末Sに割り当てたデータ領域の制
御情報を各転送元端末Sに通知し、データ転送を要求す
る。
In step S18, the file search unit 33 of the transfer destination terminal D checks the address and the user ID included in the user identification information of the transfer source terminal S assigned to the file reception unit 31 as the transfer source. The file unique value of the desired file and the control information of the data area allocated to the corresponding transfer source terminal S are passed. In this case, the file receiving unit 31 of the transfer destination terminal D connects the communication line to the transfer source terminal S using the address and the user ID of the transfer source terminal S received from the file search unit 33, and
The user identification information, the file unique value of the desired file, and the control information of the data area allocated to the corresponding source terminal S are notified to each source terminal S, and a data transfer is requested.

【0072】この要求に応答して、要求を受けた各転送
元端末Sは、要求に含まれている転送先端末Dのユーザ
識別情報と、所望ファイルのファイル固有値と、それ自
身に割り当てられたデータ領域の制御情報とを用いて、
所望ファイルの指定されたデータ領域のデータと、制御
情報と、ファイル固有値とを転送先端末Dに送信する。
ステップS19では、転送先端末Dのファイル受信部3
1は、各転送元端末Sから送信されるデータをそれぞれ
受信し、受信したデータと、制御情報と、ファイル固有
値とを擬似ファイル加工部37に渡す。
In response to this request, each transfer source terminal S that has received the request assigns the user identification information of the transfer destination terminal D included in the request, the file unique value of the desired file, and the file itself. Using the control information of the data area,
The data of the designated data area of the desired file, the control information, and the file unique value are transmitted to the transfer destination terminal D.
In step S19, the file receiving unit 3 of the transfer destination terminal D
1 receives data transmitted from each transfer source terminal S, and passes the received data, control information, and file unique value to the pseudo file processing unit 37.

【0073】この場合、擬似ファイル加工部37は、フ
ァイル受信部31から受け取ったファイル固有値から対
応する擬似ファイル42を特定し、前記制御情報に従っ
て擬似ファイル42内部の擬似データ領域の擬似データ
を受信したデータに随時書き換える。ファイル転送途中
の擬似ファイル42の内容は、例えば図8に示すような
状態になる。図8の例では、所望ファイルを3つのデー
タ領域に分割して3つの転送元端末Sから同時に転送を
行う場合を想定している。3つの転送元端末Sから受信
されるデータはそれぞれ擬似データ領域のA1,A2,
A3に書き込まれる。
In this case, the pseudo file processing section 37 specifies the corresponding pseudo file 42 from the file unique value received from the file receiving section 31 and receives the pseudo data in the pseudo data area inside the pseudo file 42 according to the control information. Rewrite data as needed. The contents of the pseudo file 42 during the file transfer are in a state as shown in FIG. 8, for example. In the example of FIG. 8, it is assumed that a desired file is divided into three data areas and transferred from three transfer source terminals S simultaneously. The data received from the three transfer source terminals S are respectively A1, A2,
A3 is written.

【0074】ステップS18,S19,S20の処理は
所望ファイルのデータ受信を完了するまで繰り返し実行
される。転送先端末Dの擬似ファイル加工部37は、フ
ァイル受信部31から渡される受信データが無くなる
と、該当する擬似ファイル42の擬似データ領域全てが
受信したデータによって書き換えられたかどうかを判断
し、全て書き換えられている場合には受信完了とみなし
てステップS20からS21に進み、書き換えられてい
ない擬似データが残っている場合にはステップS20か
らS18に戻り、残っているデータに関する受信をファ
イル受信部31に要求する。
The processes in steps S18, S19 and S20 are repeatedly executed until the data reception of the desired file is completed. When there is no more data received from the file receiving unit 31, the pseudo file processing unit 37 of the transfer destination terminal D determines whether or not all the pseudo data areas of the corresponding pseudo file 42 have been rewritten by the received data, and rewrites all of them. If the data has been received, it is determined that the reception has been completed, and the process proceeds from step S20 to S21. If the pseudo data that has not been rewritten remains, the process returns from step S20 to S18. Request.

【0075】ステップS21では、転送先端末Dの擬似
ファイル加工部37は、該当する擬似ファイル42上の
制御情報領域を削除する。これにより、擬似ファイル4
2は所望ファイルに変換される。従って、転送先端末D
(転送先のファイル転送処理装置)と転送元端末S(転
送元のファイル転送処理装置)との間では、例えば図7
に示すような情報の受け渡しを行って所望ファイルの分
割転送を実現する。
In step S21, the pseudo file processing unit 37 of the transfer destination terminal D deletes the control information area on the corresponding pseudo file 42. Thereby, the pseudo file 4
2 is converted to the desired file. Therefore, the transfer destination terminal D
For example, between the transfer destination file transfer processing device and the transfer source terminal S (transfer source file transfer processing device), FIG.
The information is transferred as shown in FIG.

【0076】このように、転送先端末Dは複数の転送元
端末Sから同時に所望ファイルの一部分を受信できるの
で、短時間でファイル転送を完了できる。また、各々の
転送元端末Sが送信すべきデータ量が減るので、転送元
端末Sのファイル転送に伴う負担が軽減される。
As described above, since the transfer destination terminal D can simultaneously receive a part of the desired file from the plurality of transfer source terminals S, the file transfer can be completed in a short time. In addition, since the amount of data to be transmitted by each transfer source terminal S is reduced, the load of the transfer source terminal S associated with file transfer is reduced.

【0077】[0077]

【発明の効果】以上のように、本発明によれば、ネット
ワーク上の複数の端末が所望ファイルを保持している場
合には、所望ファイルを複数の領域に分割し、複数の転
送元端末から同時に所望ファイルのデータを転送でき
る。
As described above, according to the present invention, when a plurality of terminals on a network hold a desired file, the desired file is divided into a plurality of areas, and a plurality of transfer source terminals At the same time, the data of the desired file can be transferred.

【0078】これにより、転送元の負荷を分散すること
ができ、転送先では転送時間を短縮できる。また、上り
帯域と下り帯域とが異なる非対称のアクセス回線を用い
る場合には、利用可能な帯域を効率的に利用できるの
で、効率的なファイル転送が実現する。
Thus, the load of the transfer source can be distributed, and the transfer time of the transfer destination can be reduced. In addition, when an asymmetric access line having a different upstream band and downstream band is used, the available band can be used efficiently, so that efficient file transfer is realized.

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

【図1】ファイル転送の処理手順を示すフローチャート
である。
FIG. 1 is a flowchart illustrating a processing procedure of a file transfer.

【図2】ファイル転送システムの構成例(1)を示すブ
ロック図である。
FIG. 2 is a block diagram illustrating a configuration example (1) of a file transfer system.

【図3】ファイル転送システムの構成例(2)を示すブ
ロック図である。
FIG. 3 is a block diagram illustrating a configuration example (2) of a file transfer system.

【図4】ファイル転送装置のハードウェアの構成例を示
すブロック図である。
FIG. 4 is a block diagram illustrating a hardware configuration example of a file transfer device.

【図5】ファイル転送に用いるプログラム及びデータの
構成例を示すブロック図である。
FIG. 5 is a block diagram illustrating a configuration example of a program and data used for file transfer.

【図6】使用するデータの構成例を示す模式図である。FIG. 6 is a schematic diagram showing a configuration example of data to be used.

【図7】転送元及び転送先の構成例を示すブロック図で
ある。
FIG. 7 is a block diagram illustrating a configuration example of a transfer source and a transfer destination.

【図8】転送途中の擬似ファイルの状態を示す模式図で
ある。
FIG. 8 is a schematic diagram showing a state of a pseudo file during transfer.

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

11 通信ネットワーク 12 携帯電話 13 携帯情報端末 14 パーソナルコンピュータ 15 サーバ 21 CPU 22 内部記憶部 23 外部記憶部 24 ネットワークインタフェース 25 表示部 26 入力部 30 ファイル転送処理プログラム 31 ファイル受信部 32 ファイル送信部 33 ファイル検索部 34 ファイル登録部 35 ファイル固有値計算部 36 擬似ファイル作成部 37 擬似ファイル加工部 38 メタ情報管理部 41 転送可能ファイル 42 擬似ファイル 43 受信済みファイル 44 ユーザ識別情報 45 ファイル識別情報 11 Communication network 12 mobile phone 13 Mobile information terminals 14 Personal computer 15 Server 21 CPU 22 Internal storage 23 External storage unit 24 Network Interface 25 Display 26 Input section 30 File transfer processing program 31 File receiving unit 32 File transmission unit 33 File Search Unit 34 File Registration Section 35 File Eigenvalue Calculator 36 Pseudo file creation unit 37 Pseudo file processing unit 38 Meta Information Management Department 41 Transferable files 42 pseudo files 43 Received file 44 User identification information 45 File identification information

フロントページの続き (72)発明者 竹内 順二 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 定方 徹 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 Fターム(参考) 5B082 CA18 EA04 HA05 HA09 Continuation of front page    (72) Inventor Junji Takeuchi             2-3-1 Otemachi, Chiyoda-ku, Tokyo Sun             Within the Telegraph and Telephone Corporation (72) Inventor Toru Sadakata             2-3-1 Otemachi, Chiyoda-ku, Tokyo Sun             Within the Telegraph and Telephone Corporation F term (reference) 5B082 CA18 EA04 HA05 HA09

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 所定の通信ネットワークを介して互いに
接続された複数の端末の間で任意のデータを含むファイ
ルを転送するためのファイル転送方法において、 指定されたファイルの少なくとも一部分のデータを送信
側の各端末から送信するためのファイル送信手順と、 各端末から送信されるファイルの少なくとも一部分のデ
ータを受信するためのファイル受信手順と、 転送可能なファイルの識別情報を登録するファイル登録
手順と、 各ファイルの内容に基づいて前記ファイルの識別情報に
含まれるファイル固有値を計算するファイル固有値計算
手順と、 転送されるファイル及びその転送元及び転送先の端末及
び/又はユーザを特定するためのメタ情報を管理するた
めのメタ情報管理手順と、 前記通信ネットワーク上で所望のファイルを保持する端
末を検索するファイル検索手順と、 指定されたファイルが複数の端末上に存在する場合に
は、前記複数の端末を転送元として割り当てるととも
に、転送元のそれぞれの端末に対してファイル上の互い
に異なるデータ領域を送信対象として割り当てる領域割
り当て手順と、 複数の転送元の端末から送信されるデータをそれぞれ受
信して合成し所望のファイルを復元するファイル合成手
順とを設けたことを特徴とするファイル転送方法。
1. A file transfer method for transferring a file including arbitrary data between a plurality of terminals connected to each other via a predetermined communication network, comprising: A file transmission procedure for transmitting from each terminal of the above, a file reception procedure for receiving data of at least a part of a file transmitted from each terminal, a file registration procedure for registering identification information of a transferable file, A file unique value calculation procedure for calculating a file unique value included in the identification information of the file based on the content of each file; and meta information for specifying a file to be transferred and a terminal and / or a user at a transfer source and a transfer destination thereof Information management procedure for managing files, and storing desired files on the communication network. A file search procedure for searching for a terminal that has the file, and when the specified file exists on a plurality of terminals, assigns the plurality of terminals as a transfer source, and assigns a An area allocation procedure for allocating different data areas as transmission targets and a file synthesis procedure for receiving and synthesizing data transmitted from a plurality of transfer source terminals and restoring a desired file are provided. File transfer method.
【請求項2】 請求項1のファイル転送方法において、 複数に分割された各データ領域のデータを組み合わせて
元のファイルを復元するために必要な制御情報を含む擬
似ファイルを作成する擬似ファイル作成手順と、 複数の転送元の端末からそれぞれ受信したデータを、前
記擬似ファイルに含まれる制御情報に従って前記擬似フ
ァイルに書き込み、所望のファイルに含まれる全データ
の受信が完了した後で、前記擬似ファイルを所望のファ
イルに変換するデータ加工手順とを更に設けたことを特
徴とするファイル転送方法。
2. A file transfer method according to claim 1, wherein a pseudo file including control information necessary for restoring an original file by combining data of each of the plurality of divided data areas is generated. And writing the data received from each of the plurality of transfer source terminals to the pseudo file in accordance with the control information included in the pseudo file, and completing the reception of all the data included in the desired file. A file processing method for converting the data into a desired file.
【請求項3】 請求項1のファイル転送方法において、
所望ファイル上の複数のデータ領域を管理するために、
各データ領域が割り当てられた転送先の端末のユーザ識
別情報と、各データ領域のインデックス情報と、所望フ
ァイルにおける前記データ領域の位置情報と、前記デー
タ領域のサイズ情報とを用いることを特徴とするファイ
ル転送方法。
3. The file transfer method according to claim 1, wherein
To manage multiple data areas on the desired file,
User identification information of a transfer destination terminal to which each data area is assigned, index information of each data area, position information of the data area in a desired file, and size information of the data area are used. File transfer method.
【請求項4】 請求項2のファイル転送方法において、 前記擬似ファイル作成手順では、該当するファイルのフ
ァイル識別情報,各データ領域を管理するための情報及
び各データ領域の転送元に割り当てられた端末のユーザ
識別情報を用いて擬似ファイルを作成し、 前記擬似ファイルには、所望ファイルと同じファイルサ
イズの擬似データ領域と、前記所望ファイルのファイル
識別情報,各データ領域を管理するための情報及び各デ
ータ領域の転送元に関するユーザ識別情報を含む制御情
報領域とを設けることを特徴とするファイル転送方法。
4. The file transfer method according to claim 2, wherein, in the pseudo file creation procedure, file identification information of the file, information for managing each data area, and a terminal assigned to a transfer source of each data area. A pseudo file is created using the user identification information of the above. The pseudo file includes a pseudo data area having the same file size as the desired file, file identification information of the desired file, information for managing each data area, and And a control information area including user identification information on a transfer source of the data area.
【請求項5】 請求項4のファイル転送方法において、 前記データ加工手順では、データ領域毎に、受信された
データを該当するデータ領域のインデックス及び前記擬
似ファイルの制御情報領域の情報に基づいて擬似データ
領域に書き込み、擬似データ領域の全体に対するデータ
書き込みが終了した後で、前記擬似ファイルの制御情報
領域を削除することを特徴とするファイル転送方法。
5. The file transfer method according to claim 4, wherein in the data processing procedure, for each data area, received data is simulated based on an index of a corresponding data area and information of a control information area of the simulated file. A file transfer method, wherein the control information area of the pseudo file is deleted after writing in the data area and writing of data to the entire pseudo data area is completed.
【請求項6】 請求項1のファイル転送方法において、 転送先の端末から転送元として割り当てた複数の端末に
対して、所望ファイルのファイル識別情報,所望のデー
タ領域を表す領域情報及び転送先の端末のユーザ識別情
報を転送し、 転送元の複数の端末は、転送先の端末から受信した情報
に従って指定されたデータを送信することを特徴とする
ファイル転送方法。
6. The file transfer method according to claim 1, wherein the destination terminal assigns the file identification information of the desired file, the area information representing the desired data area, and the destination information to the plurality of terminals assigned as transfer sources. A file transfer method, wherein user identification information of a terminal is transferred, and the plurality of transfer source terminals transmit designated data according to information received from the transfer destination terminal.
【請求項7】 所定の通信ネットワークを介して互いに
接続された複数の端末の間で任意のデータを含むファイ
ルを転送するためのファイル転送装置において、 指定されたファイルの少なくとも一部分のデータを送信
側の各端末から送信するためのファイル送信手段と、 各端末から送信されるファイルの少なくとも一部分のデ
ータを受信するためのファイル受信手段と、 転送可能なファイルの識別情報を登録するファイル登録
手段と、 各ファイルの内容に基づいて前記ファイルの識別情報に
含まれるファイル固有値を計算するファイル固有値計算
手段と、 転送されるファイル及びその転送元及び転送先の端末及
び/又はユーザを特定するためのメタ情報を管理するた
めのメタ情報管理手段と、 前記通信ネットワーク上で所望のファイルを保持する端
末を検索するファイル検索手段と、 指定されたファイルが複数の端末上に存在する場合に
は、前記複数の端末を転送元として割り当てるととも
に、転送元のそれぞれの端末に対してファイル上の互い
に異なるデータ領域を送信対象として割り当てる領域割
り当て手段と、 複数の転送元の端末から送信されるデータをそれぞれ受
信して合成し所望のファイルを復元するファイル合成手
段とを設けたことを特徴とするファイル転送装置。
7. A file transfer device for transferring a file including arbitrary data between a plurality of terminals connected to each other via a predetermined communication network, wherein at least a part of data of a designated file is transmitted to a transmission side. File transmitting means for transmitting from each terminal, file receiving means for receiving data of at least a part of a file transmitted from each terminal, file registering means for registering transferable file identification information, File unique value calculating means for calculating a file unique value included in the identification information of the file based on the contents of each file; meta information for specifying a file to be transferred and a terminal and / or a user at a transfer source and a transfer destination thereof Information management means for managing a file, and storing a desired file on the communication network. File search means for searching for a terminal having the file, and, when the specified file exists on a plurality of terminals, assigning the plurality of terminals as a transfer source, and An area allocating means for allocating different data areas as transmission targets, and a file synthesizing means for respectively receiving and synthesizing data transmitted from a plurality of transfer source terminals and restoring a desired file are provided. File transfer device.
【請求項8】 請求項7のファイル転送装置において、 複数に分割された各データ領域のデータを組み合わせて
元のファイルを復元するために必要な制御情報を含む擬
似ファイルを作成する擬似ファイル作成手段と、 複数の転送元の端末からそれぞれ受信したデータを、前
記擬似ファイルに含まれる制御情報に従って前記擬似フ
ァイルに書き込み、所望のファイルに含まれる全データ
の受信が完了した後で、前記擬似ファイルを所望のファ
イルに変換するデータ加工手段とを更に設けたことを特
徴とするファイル転送装置。
8. The file transfer device according to claim 7, wherein a pseudo file generating means for generating a pseudo file including control information necessary for restoring an original file by combining data of each of the plurality of divided data areas. And writing the data received from each of the plurality of transfer source terminals to the pseudo file in accordance with the control information included in the pseudo file, and completing the reception of all the data included in the desired file. A file transfer device further comprising data processing means for converting the data into a desired file.
【請求項9】 請求項7のファイル転送装置において、
所望ファイル上の複数のデータ領域を管理するために、
各データ領域が割り当てられた転送先の端末のユーザ識
別情報と、各データ領域のインデックス情報と、所望フ
ァイルにおける前記データ領域の位置情報と、前記デー
タ領域のサイズ情報とを用いることを特徴とするファイ
ル転送装置。
9. The file transfer device according to claim 7, wherein
To manage multiple data areas on the desired file,
User identification information of a transfer destination terminal to which each data area is assigned, index information of each data area, position information of the data area in a desired file, and size information of the data area are used. File transfer device.
【請求項10】 請求項8のファイル転送装置におい
て、 前記擬似ファイル作成手段は、該当するファイルのファ
イル識別情報,各データ領域を管理するための情報及び
各データ領域の転送元に割り当てられた端末のユーザ識
別情報を用いて擬似ファイルを作成し、 前記擬似ファイルには、所望ファイルと同じファイルサ
イズの擬似データ領域と、前記所望ファイルのファイル
識別情報,各データ領域を管理するための情報及び各デ
ータ領域の転送元に関するユーザ識別情報を含む制御情
報領域とを設けることを特徴とするファイル転送装置。
10. The file transfer device according to claim 8, wherein the pseudo file creation unit is a terminal assigned to file identification information of the file, information for managing each data area, and a transfer source of each data area. A pseudo file is created using the user identification information of the above. The pseudo file includes a pseudo data area having the same file size as the desired file, file identification information of the desired file, information for managing each data area, and And a control information area including user identification information on a transfer source of the data area.
【請求項11】 請求項10のファイル転送装置におい
て、 前記データ加工手段は、データ領域毎に、受信されたデ
ータを該当するデータ領域のインデックス及び前記擬似
ファイルの制御情報領域の情報に基づいて擬似データ領
域に書き込み、擬似データ領域の全体に対するデータ書
き込みが終了した後で、前記擬似ファイルの制御情報領
域を削除することを特徴とするファイル転送装置。
11. The file transfer device according to claim 10, wherein the data processing means simulates, for each data area, the received data based on an index of a corresponding data area and information of a control information area of the pseudo file. A file transfer device, wherein the control information area of the pseudo file is deleted after the writing to the data area and the data writing to the entire pseudo data area are completed.
【請求項12】 請求項7のファイル転送装置におい
て、 転送先の端末から転送元として割り当てた複数の端末に
対して、所望ファイルのファイル識別情報,所望のデー
タ領域を表す領域情報及び転送先の端末のユーザ識別情
報を転送する情報送信手段と、 転送元の複数の端末が転送先の端末から受信した情報に
従って指定されたデータを送信するための送信制御手段
とを設けたことを特徴とするファイル転送装置。
12. The file transfer apparatus according to claim 7, wherein a file identification information of a desired file, area information indicating a desired data area, and a transfer destination Information transmitting means for transferring user identification information of a terminal; and transmission control means for transmitting data specified by a plurality of transfer source terminals according to information received from a transfer destination terminal. File transfer device.
【請求項13】 所定の通信ネットワークを介して互い
に接続された複数の端末の間で任意のデータを含むファ
イルを転送するためのコンピュータで実行可能なプログ
ラムにおいて、 指定されたファイルの少なくとも一部分のデータを送信
側の各端末から送信するためのファイル送信手順と、 各端末から送信されるファイルの少なくとも一部分のデ
ータを受信するためのファイル受信手順と、 転送可能なファイルの識別情報を登録するファイル登録
手順と、 各ファイルの内容に基づいて前記ファイルの識別情報に
含まれるファイル固有値を計算するファイル固有値計算
手順と、 転送されるファイル及びその転送元及び転送先の端末及
び/又はユーザを特定するためのメタ情報を管理するた
めのメタ情報管理手順と、 前記通信ネットワーク上で所望のファイルを保持する端
末を検索するファイル検索手順と、 指定されたファイルが複数の端末上に存在する場合に
は、前記複数の端末を転送元として割り当てるととも
に、転送元のそれぞれの端末に対してファイル上の互い
に異なるデータ領域を送信対象として割り当てる領域割
り当て手順と、 複数の転送元の端末から送信されるデータをそれぞれ受
信して合成し所望のファイルを復元するファイル合成手
順とを設けたことを特徴とするプログラム。
13. A computer-executable program for transferring a file including arbitrary data between a plurality of terminals connected to each other via a predetermined communication network, the data being at least a part of a specified file. File transmission procedure for transmitting data from each terminal on the transmission side, a file reception procedure for receiving data of at least a part of a file transmitted from each terminal, and file registration for registering transferable file identification information. A procedure for calculating a file unique value included in the identification information of the file based on the content of each file; and for specifying a file to be transferred and a terminal and / or a user at a transfer source and a transfer destination thereof. Information management procedure for managing the meta information of the communication network; A file search procedure for searching for a terminal holding a desired file, and, when a specified file exists on a plurality of terminals, assigns the plurality of terminals as a transfer source and assigns the transfer source to each of the terminals. For this purpose, there are provided an area allocation procedure for allocating different data areas on a file as transmission targets, and a file synthesis procedure for receiving and synthesizing data transmitted from a plurality of transfer source terminals and restoring a desired file. A program characterized by that:
【請求項14】 請求項13のプログラムにおいて、 複数に分割された各データ領域のデータを組み合わせて
元のファイルを復元するために必要な制御情報を含む擬
似ファイルを作成する擬似ファイル作成手順と、 複数の転送元の端末からそれぞれ受信したデータを、前
記擬似ファイルに含まれる制御情報に従って前記擬似フ
ァイルに書き込み、所望のファイルに含まれる全データ
の受信が完了した後で、前記擬似ファイルを所望のファ
イルに変換するデータ加工手順とを更に設けたことを特
徴とするプログラム。
14. A program according to claim 13, wherein a pseudo file creation procedure for creating a pseudo file including control information necessary for restoring an original file by combining data of each of the plurality of divided data areas; The data received from each of the plurality of transfer source terminals is written into the pseudo file according to the control information included in the pseudo file, and after the reception of all data included in the desired file is completed, the pseudo file is stored in the desired file. A program further comprising a data processing procedure for converting to a file.
【請求項15】 請求項13のプログラムにおいて、所
望ファイル上の複数のデータ領域を管理するために、各
データ領域が割り当てられた転送先の端末のユーザ識別
情報と、各データ領域のインデックス情報と、所望ファ
イルにおける前記データ領域の位置情報と、前記データ
領域のサイズ情報とを用いることを特徴とするプログラ
ム。
15. The program according to claim 13, wherein in order to manage a plurality of data areas on a desired file, user identification information of a transfer destination terminal to which each data area is allocated, and index information of each data area. A program using position information of the data area in a desired file and size information of the data area.
【請求項16】 請求項14のプログラムにおいて、 前記擬似ファイル作成手順では、該当するファイルのフ
ァイル識別情報,各データ領域を管理するための情報及
び各データ領域の転送元に割り当てられた端末のユーザ
識別情報を用いて擬似ファイルを作成するとともに、前
記擬似ファイルには所望ファイルと同じファイルサイズ
の擬似データ領域と、前記所望ファイルのファイル識別
情報,各データ領域を管理するための情報及び各データ
領域の転送元に関するユーザ識別情報を含む制御情報領
域とを設けることを特徴とするプログラム。
16. The program according to claim 14, wherein in the pseudo file creation procedure, file identification information of the file, information for managing each data area, and a user of a terminal assigned to a transfer source of each data area. A pseudo file is created using the identification information, and the pseudo file has a pseudo data area having the same file size as the desired file, file identification information of the desired file, information for managing each data area, and each data area. And a control information area including user identification information relating to the transfer source of the program.
【請求項17】 請求項16のプログラムにおいて、 前記データ加工手順では、データ領域毎に、受信された
データを該当するデータ領域のインデックス及び前記擬
似ファイルの制御情報領域の情報に基づいて擬似データ
領域に書き込み、擬似データ領域の全体に対するデータ
書き込みが終了した後で、前記擬似ファイルの制御情報
領域を削除することを特徴とするプログラム。
17. The program according to claim 16, wherein, in the data processing procedure, for each data area, received data is stored in a pseudo data area based on an index of a corresponding data area and information of a control information area of the pseudo file. And deleting the control information area of the pseudo file after data writing to the entire pseudo data area is completed.
【請求項18】 請求項13のプログラムにおいて、 転送先の端末から転送元として割り当てた複数の端末に
対して、所望ファイルのファイル識別情報,所望のデー
タ領域を表す領域情報及び転送先の端末のユーザ識別情
報を転送するための情報送信手順と、 転送元の複数の端末が転送先の端末から受信した情報に
従って指定されたデータを送信する送信制御手順とを更
に設けたことを特徴とするプログラム。
18. The program according to claim 13, wherein a plurality of terminals assigned as transfer sources from the transfer destination terminal are provided with file identification information of a desired file, area information indicating a desired data area, and information of the transfer destination terminal. A program, further comprising: an information transmission procedure for transferring user identification information; and a transmission control procedure for transmitting data specified by a plurality of transfer source terminals according to information received from a transfer destination terminal. .
【請求項19】 請求項13から請求項18までのいず
れかに記載のプログラムを記録した記録媒体。
19. A recording medium on which the program according to claim 13 is recorded.
JP2002152453A 2002-05-27 2002-05-27 File transfer method and apparatus, program and recording medium Pending JP2003345695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002152453A JP2003345695A (en) 2002-05-27 2002-05-27 File transfer method and apparatus, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002152453A JP2003345695A (en) 2002-05-27 2002-05-27 File transfer method and apparatus, program and recording medium

Publications (1)

Publication Number Publication Date
JP2003345695A true JP2003345695A (en) 2003-12-05

Family

ID=29769785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002152453A Pending JP2003345695A (en) 2002-05-27 2002-05-27 File transfer method and apparatus, program and recording medium

Country Status (1)

Country Link
JP (1) JP2003345695A (en)

Similar Documents

Publication Publication Date Title
US6772144B2 (en) Method and apparatus for applying an adaptive layout process to a layout template
US6343316B1 (en) Cooperative work support system
US6948163B2 (en) Remote electronic file builder
TW449985B (en) Method and apparatus of a collaborative proxy system for distributed deployment of object rendering
CN105094707B (en) A kind of data storage, read method and device
CN114201317B (en) Data transmission method and device, storage medium and electronic equipment
CN112307058B (en) Short link processing method, device, storage medium and computer equipment
CN113971037A (en) Application processing method and device, electronic equipment and storage medium
CN114385091B (en) Method and device for realizing network disk drive character, network disk and storage medium
WO2007097843A1 (en) Scalable transformation and configuration of edi interchanges
CN110674624B (en) A method and system for image and text editing
CN107689976A (en) A kind of document transmission method and device
CN115470156A (en) RDMA-based memory use method, system, electronic device and storage medium
CN109309734A (en) Method and apparatus for transmitting data
US20050125413A1 (en) Data transfer method and server computer system
CN113656359A (en) Lightweight method, device, computer equipment and storage medium for three-dimensional model
CN113194127B (en) A data storage method, data transmission method and computing device
CN115292415A (en) Database access method and device
JPH11312154A (en) Cooperative work aiding system and recording medium thereof
US20110321043A1 (en) System, Method and Program Product for Native Interface Optimization of Read-Only Arrays
CN115221178B (en) Data table binding method, apparatus, electronic device and computer readable medium
JP2003345695A (en) File transfer method and apparatus, program and recording medium
JP3916219B2 (en) Link destination compression system
CN113608703B (en) Data processing method and device
US7603407B2 (en) Method and system for registering binary data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060808

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060927

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061219