JP2002244950A - Method and program for increasing efficiency of file transfer - Google Patents

Method and program for increasing efficiency of file transfer

Info

Publication number
JP2002244950A
JP2002244950A JP2001038333A JP2001038333A JP2002244950A JP 2002244950 A JP2002244950 A JP 2002244950A JP 2001038333 A JP2001038333 A JP 2001038333A JP 2001038333 A JP2001038333 A JP 2001038333A JP 2002244950 A JP2002244950 A JP 2002244950A
Authority
JP
Japan
Prior art keywords
file
transfer
terminal
transfer destination
transferred
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
JP2001038333A
Other languages
Japanese (ja)
Inventor
Tomonori Doi
智紀 土井
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2001038333A priority Critical patent/JP2002244950A/en
Publication of JP2002244950A publication Critical patent/JP2002244950A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To increase the efficiency of a file transfer in such a network environment as is used on a user level. SOLUTION: When a terminal requests the other terminal to transfer a file (S1), before transfer, a file transfer monitoring means at a transfer side determines whether or not a file depression means is installed in a terminal at a transferred side (S2 to S4). When the means determines that the depression means is installed in the transferred side, the file is compressed by a file compression means at the transferred side and transferred to the transferred side (S6 to S8). When the means determines that the depression means is not installed in the transferred side, the file not compressed is transmitted to the transferred side (B1, 2), whereby, since the possibility of compression of the file at the transfer side can be determined without troubling an end user, the file can be transferred efficiently, and since the education of file transfer system must not be given to the end user by an administrator, loads on both the administrator and the end user can be reduced.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークで接
続された端末間でファイルを効率的に転送する方法およ
び転送を効率化するプログラムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for efficiently transferring files between terminals connected via a network and a program for improving the efficiency of the transfer.

【0002】[0002]

【従来の技術】ネットワークに接続された端末間でファ
イルを転送する場合、転送時間の短縮化やネットワーク
への負荷の軽減を目的として転送元で所定の圧縮方法に
よりファイルを圧縮した後に、ネットワークを通して該
圧縮ファイルを転送先に転送し、転送先では上記圧縮方
法に適合する解凍方法によってファイルを解凍して通常
処理を行っている。
2. Description of the Related Art When a file is transferred between terminals connected to a network, the file is compressed at a transfer source by a predetermined compression method for the purpose of shortening the transfer time and reducing the load on the network. The compressed file is transferred to a transfer destination, and the transfer destination decompresses the file by a decompression method that is compatible with the above-described compression method, and performs normal processing.

【0003】特にユーザレベルで使用されているネット
ワークでは、ファイルを端末間で転送するとき、従来は
人間が適切にファイルタイプ、ファイルサイズ、ネット
ワーク転送速度などを頭で計算して圧縮して送るかどう
かを判断していることが多い。
[0003] Particularly in a network used at the user level, when a file is transferred between terminals, it is conventionally necessary for a human to properly calculate the file type, file size, network transfer speed, etc., and send it after compressing it. Often judge.

【0004】[0004]

【発明が解決しようとする課題】しかし最近のネットワ
ーク環境利用者の一般人化の傾向を考えるとすべてのユ
ーザがそれを理解して、判断、実行しているとは言い難
い状況にあり、ネットワークでの負荷を軽減するという
目的を充分に達成できない原因の一つになっている。
However, given the recent tendency of network environment users to become more generalized, it is difficult to say that all users understand, judge and execute it. This is one of the reasons why the purpose of reducing the load on the computer cannot be sufficiently achieved.

【0005】そこで、ファイルを転送する際にユーザに
どのような場合に圧縮をするのか、どのような場合に解
凍をするのか等を理解させる必要があり、その作業は管
理者、エンドユーザ両方共に負担の大きいものである。
そしてその理解においては、例えば大きなファイルを転
送する場合、送り側はそのファイルが既に圧縮済みであ
るかどうかの判断(jpeg、gif、mpeg等)を
して貰い、さらに圧縮する作業も覚えて貰い、転送の方
法も覚えて貰っている。また、受信側にもそのファイル
が圧縮されているか判断して貰い、そのファイルを解凍
する必要があるのか判断して貰う等の教育が必要であ
り、作業も面倒なものである。
Therefore, when transferring a file, it is necessary for the user to understand when to compress and when to decompress the file. The work is performed by both the administrator and the end user. It is a heavy burden.
To understand that, for example, when transferring a large file, the sender should determine whether the file has already been compressed (jpeg, gif, mpeg, etc.) and also learn the work of compression. , They also know how to transfer. In addition, the receiving side needs to be judged whether the file is compressed, and whether the file needs to be decompressed needs to be educated, and the work is troublesome.

【0006】本発明は、上記事情を背景としてなされた
ものであり、エンドユーザへの教育やエンドユーザの作
業を不要とし、端末間でファイルを効率的に転送するこ
とができるファイル転送効率化方法および転送効率化プ
ログラムを提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and eliminates the need for end-user education and end-user work, thereby enabling a file transfer efficiency method for efficiently transferring files between terminals. And a transfer efficiency improvement program.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
請求項1記載のファイル転送効率化方法は、端末が複数
接続されたネットワークにおいて、端末から他の端末へ
ファイルを転送する要求があると転送に先立って、転送
元の端末が備えたファイル転送監視手段によって転送先
の端末にファイルを解凍する解凍手段が備えられている
か否かを判定し、該転送先に解凍手段が備えられている
と判定した場合に、転送元に備えられたファイル圧縮手
段により前記ファイルを圧縮した後、この圧縮ファイル
を前記転送先に転送し、転送先で該圧縮ファイルを前記
解凍手段により解凍するものとし、前記ファイル転送監
視手段により転送先に上記解凍手段が備えられていない
と判定した場合に上記ファイルを圧縮しないまま転送先
に転送するものとすることを特徴とする。
According to a first aspect of the present invention, there is provided a method for improving file transfer efficiency, comprising the steps of: receiving a request to transfer a file from a terminal to another terminal in a network to which a plurality of terminals are connected; Prior to the transfer, the file transfer monitoring means provided in the transfer source terminal determines whether or not the transfer destination terminal is provided with decompression means for decompressing the file, and the transfer destination is provided with the decompression means. When it is determined that, after compressing the file by the file compression means provided at the transfer source, the compressed file is transferred to the transfer destination, the compressed file at the transfer destination should be decompressed by the decompression means, When the file transfer monitoring means determines that the transfer destination is not provided with the decompression means, the file is transferred to the transfer destination without compression. And wherein the Rukoto.

【0008】請求項2記載のファイル転送効率化方法
は、端末が複数接続されたネットワークにおいて、端末
から他の端末へファイルを転送する要求があると転送に
先立って、転送元の端末が備えたファイル転送監視手段
によって転送先の端末にファイルを解凍する解凍手段が
備えられているか否かを判定し、該転送先に解凍手段が
備えられていると判定した場合に、一定の条件の下で転
送元に備えられたファイル圧縮手段により前記ファイル
を圧縮した後、この圧縮ファイルを前記転送先に転送
し、転送先で該圧縮ファイルを前記解凍手段により解凍
するものとし、前記ファイル転送監視手段により転送先
に上記解凍手段が備えられていないと判定した場合また
は上記条件を満たさない場合に上記ファイルを圧縮しな
いまま転送先に転送するものとすることを特徴とする。
According to a second aspect of the present invention, in a network in which a plurality of terminals are connected, a transfer source terminal is provided prior to transfer when a request is made to transfer a file from one terminal to another terminal. The file transfer monitoring means determines whether or not the terminal at the transfer destination is provided with decompression means for decompressing the file. When it is determined that the transfer destination is provided with the decompression means, under certain conditions, After compressing the file by file compression means provided at the transfer source, transfer the compressed file to the transfer destination, and decompress the compressed file at the transfer destination by the decompression means. If it is determined that the destination does not have the decompression means or if the above conditions are not satisfied, the file is transferred to the destination without compression. Characterized by a thing.

【0009】請求項3記載のファイル転送効率化方法
は、請求項2記載の発明において、前記の一定の条件
は、転送するファイルの種類、大きさ、ネットワーク環
境の少なくとも一つを基に該ファイルを圧縮して転送す
るか圧縮しないままで転送するかを定めるものであるこ
とを特徴とする。
According to a third aspect of the present invention, there is provided the file transfer efficiency improving method according to the second aspect, wherein the predetermined condition is based on at least one of a type, a size, and a network environment of the file to be transferred. It is characterized in that it is determined whether or not to be compressed and transferred without compression.

【0010】請求項4記載のファイル転送効率化プログ
ラムは、ネットワークに接続された端末コンピュータに
対し、該端末コンピュータから他の端末にファイルを転
送する要求があった場合、転送先にファイルを解凍する
手段が備えられているか否かを判定させ、転送先に該解
凍手段が備えられていると判定した場合、無条件または
一定の条件の下で該ファイルを圧縮して転送先に転送さ
せ、転送先にファイルを解凍する手段を備えていないと
判定した場合および上記一定の条件を満たさない場合
に、ファイルを圧縮しないまま転送先に転送させる手順
を実行させることを特徴とする。
According to a fourth aspect of the present invention, a file transfer efficiency program decompresses a file to a transfer destination when a request is made from a terminal computer connected to a network to transfer the file to another terminal. Means to determine whether or not the file is provided, and if it is determined that the transfer destination is provided with the decompression means, the file is compressed unconditionally or under certain conditions and transferred to the transfer destination, and the transfer is performed. When it is determined that there is no means for decompressing the file first, and when the above-mentioned certain condition is not satisfied, a procedure for transferring the file to the destination without compressing the file is executed.

【0011】請求項5記載のファイル転送効率化プログ
ラムは、請求項4記載の発明において、前記ネットワー
クに接続された端末コンピュータに対し、他の端末から
所定の圧縮ファイルが転送された場合、該圧縮ファイル
を解凍させることを特徴とする。
According to a fifth aspect of the present invention, in the file transfer efficiency program according to the fourth aspect of the present invention, when a predetermined compressed file is transferred from another terminal to the terminal computer connected to the network, It is characterized by decompressing a file.

【0012】すなわち請求項1記載の発明によれば、端
末間でファイルを転送する旨の要求があると、ファイル
転送監視手段によって転送先での解凍可否の判断がなさ
れ、その結果に基づいて転送元で圧縮して転送するかど
うかが判定される。また圧縮、解凍もそれぞれの端末に
ある圧縮手段、解凍手段で行われるので、エンドユーザ
の手を煩わせることなく、効率的にファイルの転送を行
うことができる。
That is, according to the first aspect of the present invention, when there is a request to transfer a file between terminals, the file transfer monitoring means determines whether or not decompression can be performed at the transfer destination, and transfers the file based on the result. It is determined whether to compress and transfer the original. Also, since compression and decompression are performed by the compression means and decompression means in each terminal, the file can be efficiently transferred without bothering the end user.

【0013】特に本発明は、一般にユーザレベルで使用
されているネットワーク環境において、ファイルがやり
取りされる処理を監視し適切に圧縮、解凍を行うことに
より転送時間を効率化させるものとして好適である。
In particular, the present invention is suitable for monitoring a file exchange process in a network environment generally used at a user level, and appropriately compressing and decompressing the file to improve the transfer time.

【0014】なお、本発明では端末が接続されているネ
ットワークの種別が特に限定されるものではなく、LA
N、ISDN、一般電話回線、携帯電話網等、適宜の伝
送網からなるものであればよく、また、これらが複合し
て接続されているものであってもよい。このネットワー
クに接続される端末としては、汎用コンピュータが例示
されるが、本発明としてはこれに限定されるものではな
く、携帯コンピュータ、データ端末等であってもよく、
また、ネットワークにおいて複数種の端末が混在するも
のであってもよい。
In the present invention, the type of the network to which the terminal is connected is not particularly limited.
N, ISDN, a general telephone line, a mobile telephone network, or any other appropriate transmission network, or a combination of these may be used. As a terminal connected to this network, a general-purpose computer is exemplified, but the present invention is not limited to this, and may be a portable computer, a data terminal, or the like.
Further, a plurality of types of terminals may be mixed in a network.

【0015】前記ファイル転送監視手段としては、端末
に組み込まれたソフトウェアによって端末コンピュータ
を動作させるものが例示される。ファイル転送監視手段
では、ネットワークを介して転送先の端末にファイルを
解凍する解凍手段を有するかどうかを判定する。ファイ
ル転送監視手段では、転送先の端末やサーバでの管理情
報等から該解凍手段の存在と種別情報を取得し、その存
在が認められる場合は、転送元の圧縮方法に適合した解
凍手段であるかどうかを調べ、最終的に所望の解凍手段
が転送先に存在するかどうかを判定する。なお、上記情
報の取得方法は本発明としては特に限定されない。
As the file transfer monitoring means, a means for operating a terminal computer by software installed in the terminal is exemplified. The file transfer monitoring means determines whether or not there is a decompression means for decompressing the file at the transfer destination terminal via the network. The file transfer monitoring means obtains the presence and type information of the decompression means from the management information of the transfer destination terminal or server, and if the existence is recognized, the decompression means conforms to the compression method of the transfer source. It is determined whether or not the desired decompression means exists at the transfer destination. The method for acquiring the information is not particularly limited as the present invention.

【0016】転送元に備えられるファイル圧縮手段は、
転送元の端末に組み込まされたソフトウェアによって転
送元端末コンピュータを動作させ、対象となるファイル
を所定の方法で圧縮するものが例示される。なお、該圧
縮手段における圧縮の方法は本発明としては特に限定さ
れるものではなく、適宜の方法を選定することができ
る。また、その方法も唯一である必要はなく、例えば、
ファイルの種類、大きさ等によって圧縮方法を変えるも
のであってもよい。
The file compression means provided at the transfer source is:
An example is one in which a transfer source terminal computer is operated by software installed in a transfer source terminal and a target file is compressed by a predetermined method. The compression method in the compression means is not particularly limited as the present invention, and an appropriate method can be selected. Also, the method need not be unique, for example,
The compression method may be changed depending on the type and size of the file.

【0017】一方、転送先に備えられるファイル解凍手
段としては、転送先端末に組み込まれたソフトウェアに
よって転送先端末コンピュータを動作させて転送されて
きた圧縮ファイルを解凍させるものが例示される。該ソ
フトウェアは、通常は端末に接続された記録手段に記録
されており、必要に応じて起動される。なお、解凍手段
では、少なくとも前記圧縮ファイルによって圧縮された
ファイルを解凍できるものでなければならない。
On the other hand, the file decompression means provided at the transfer destination is exemplified by means for operating the transfer destination terminal computer by software installed in the transfer destination terminal to decompress the transferred compressed file. The software is usually recorded on recording means connected to the terminal, and is activated as needed. The decompression means must be capable of decompressing at least the file compressed by the compressed file.

【0018】請求項2記載の発明によれば、圧縮して転
送するかどうかの判定に際し、請求項1に示された転送
先での解凍可否の判断に加え、一定の条件を加えて判定
がなされ、より効率的な転送が可能になる。
According to the second aspect of the present invention, when determining whether or not to compress and transfer, in addition to the determination as to whether or not decompression can be performed at the transfer destination as set forth in claim 1, the determination is made by adding certain conditions. And more efficient transfer becomes possible.

【0019】請求項3記載の発明によれば、上記の条件
として転送するファイルの種類、大きさ、ネットワーク
環境を基にして圧縮して転送するかどうかが判定され、
一層効率的な転送が可能になる。
According to the third aspect of the present invention, it is determined whether or not to compress and transfer the file based on the type and size of the file to be transferred and the network environment as the above conditions.
More efficient transfer becomes possible.

【0020】上記におけるファイルの種類としては、主
に、既に圧縮されたファイルであるか否かが重要であ
る。jpeg、gif、mpeg等のファイル形式で
は、ファイル大きさを小さくするために、情報量の縮
小、すなわち圧縮処理が非可逆的になされており、これ
をさらに適宜の圧縮方法によって圧縮しても圧縮効率と
してはそれほど有益ではない。したがって、このように
圧縮されたファイルは、本発明における圧縮処理の対象
から除外するのが望ましい。また、ファイルの大きさが
それ程大きくない場合には、圧縮による転送の効率化が
小さく、却って処理手順を増やすだけになることも考え
られるため、一定の大きさを越えるファイルについての
み圧縮し、それ以下のファイルはそのまま未圧縮で転送
するのが望ましい。また、ネットワーク環境によっても
圧縮、未圧縮を選択するのが望ましい。ネットワーク環
境としては、有効伝送速度、伝送時間を判断要素とす
る。具体的には、端末間で未圧縮のまま伝送した場合の
所要時間を想定し、該所要時間が設定時間以上の場合に
圧縮し、設定時間に達しない場合に未圧縮とする。上記
設定時間は、圧縮に要する時間、圧縮したファイルの伝
送に要する所要時間、解凍に要する時間から算出でき
る。すなわち、ファイルの圧縮、伝送、解凍を行った場
合に要する処理時間と、未圧縮のまま転送した場合の処
理時間とを比較して、より短時間で処理できる方法を選
択する。なお、転送に要する時間は、ネットワークにお
ける有効伝送速度が分かれば、ファイルの大きさとの関
係から算出することができる。該有効伝送速度に関して
は、予め特定の端末間と、有効伝送速度を関連付けてデ
ータベース等に登録しておき、これを転送元の端末から
読み出すことにより知ることができる。また、転送に際
し、事前にテストファイルを転送元から転送先に送り、
その転送所要時間から有効伝送速度を知り、上記判断に
利用することもできる。
As the file type in the above, it is mainly important whether or not the file is already compressed. In file formats such as jpeg, gif, and mpeg, the amount of information is reduced, that is, the compression process is irreversible in order to reduce the file size. Not very useful for efficiency. Therefore, it is desirable to exclude such a compressed file from the compression processing in the present invention. Also, if the file size is not so large, the efficiency of transfer by compression is small, and it may be necessary to simply increase the number of processing procedures.Therefore, only files exceeding a certain size are compressed. It is desirable to transfer the following files uncompressed. It is also desirable to select compression or uncompression depending on the network environment. As the network environment, the effective transmission speed and transmission time are used as judgment factors. Specifically, assuming a required time when data is transmitted between terminals without being compressed, compression is performed when the required time is longer than a set time, and uncompressed when the required time is not reached. The set time can be calculated from the time required for compression, the time required for transmitting the compressed file, and the time required for decompression. That is, the processing time required when the file is compressed, transmitted, and decompressed is compared with the processing time when the file is transferred without being compressed, and a method that can process the file in a shorter time is selected. The time required for the transfer can be calculated from the relationship with the file size if the effective transmission speed in the network is known. The effective transmission rate can be known by associating the effective transmission rate with a specific terminal in advance in a database or the like and reading this from the transfer source terminal. In addition, when transferring, send the test file from the transfer source to the transfer destination in advance,
The effective transmission rate can be known from the required transfer time and used for the above determination.

【0021】請求項4記載の発明によれば、ファイルを
端末から他の端末に転送する旨の要求がなされると、該
端末コンピュータとの協働により、転送先で圧縮ファイ
ルの解凍が可能であるかどうかが判定され、その結果に
基づいて転送元で圧縮して転送するかどうかが判定され
る。圧縮を行う場合には、上記端末コンピュータに、フ
ァイルを圧縮させた後、転送先の端末に転送させる。一
方、圧縮を行わない場合には、端末コンピュータによっ
て直ちに未圧縮の状態でファイルを転送させる。これに
よりエンドユーザの手を煩わせることなく、効率的にフ
ァイルの転送を行うことができる。
According to the fourth aspect of the present invention, when a request to transfer a file from a terminal to another terminal is made, the compressed file can be decompressed at the transfer destination in cooperation with the terminal computer. It is determined whether or not there is, and it is determined whether or not to compress and transfer at the transfer source based on the result. In the case of performing compression, the terminal computer compresses the file and then transfers the file to the transfer destination terminal. On the other hand, if compression is not performed, the file is immediately transferred by the terminal computer in an uncompressed state. Thus, the file can be efficiently transferred without bothering the end user.

【0022】上記のように本発明のプログラムでは、圧
縮転送の可否を機械的に処理するので、このプログラム
を各端末に設置することで、本発明の課題の解決がなさ
れる。
As described above, according to the program of the present invention, whether or not compression transfer is possible is mechanically processed. Therefore, the subject of the present invention can be solved by installing this program in each terminal.

【0023】請求項5記載の発明によれば、請求項4の
動作に加えて、端末コンピュータに、所定の圧縮ファイ
ルが転送されてきた場合に、該ファイルを解凍させるよ
うに実行させるので、各端末に当該プログラムを備える
ことにより、ファイル転送をより効率的にすることがで
きる。
According to the fifth aspect of the present invention, in addition to the operation of the fourth aspect, when a predetermined compressed file is transferred, the terminal computer is made to decompress the file. By providing the terminal with the program, file transfer can be made more efficient.

【0024】上記の所定の圧縮ファイルとしては、該プ
ログラムによって解凍可能なものが対象となり、通常
は、該プログラムで行われる圧縮方法と同じ方法で圧縮
されたファイルが対象となる。
The above-mentioned predetermined compressed file is a file which can be decompressed by the program, and usually is a file compressed by the same method as the compression method performed by the program.

【0025】[0025]

【発明の実施の形態】以下に本発明の一実施形態を説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below.

【0026】図1は、本発明が適用されるネットワーク
の概略図であり、複数の端末(図では端末1〜4を図
示)とサーバ5とがLAN等のネットワーク6により接
続されている。各端末1〜4は端末コンピュータからな
り、各端末ではファイル記録装置11、21、31、4
1を備え、端末の動作により適宜ファイルの取り出しお
よび記録ができるように構成されている。また、各端末
は、自身に備えられているファイル記録装置11からフ
ァイルを取り出して、他の端末にファイルを転送するフ
ァイル転送機能を有しており、さらに、他の端末におけ
る特定のプログラムの存在を検知する機能を有してい
る。
FIG. 1 is a schematic diagram of a network to which the present invention is applied. A plurality of terminals (terminals 1 to 4 are shown in the figure) and a server 5 are connected by a network 6 such as a LAN. Each of the terminals 1 to 4 comprises a terminal computer, and each terminal has a file recording device 11, 21, 31, 4
1 so that a file can be appropriately taken out and recorded by operation of the terminal. In addition, each terminal has a file transfer function of extracting a file from the file recording device 11 provided therein and transferring the file to another terminal. Has the function of detecting

【0027】また端末3を除く端末1、2、4では、端
末コンピュータを動作させるためのファイル転送効率化
プログラム12、22、42を備えている。このファイ
ル転送効率化プログラムは、その端末で他の端末へのフ
ァイル転送要求があった場合に、この要求を検知してフ
ァイルの転送に先立って後述する処理をコンピュータに
行わせるプログラムであり、さらにファイルを所定の方
法で圧縮する処理と該方法によって圧縮された圧縮ファ
イルを解凍する(圧縮前の状態に戻す)処理をコンピュ
ータに行わせることができる。
The terminals 1, 2, and 4 except the terminal 3 are provided with file transfer efficiency improving programs 12, 22, and 42 for operating the terminal computer. The file transfer efficiency program is a program that, when a file transfer request to another terminal is made at the terminal, detects the request and causes a computer to perform a process described below prior to file transfer. The computer can perform a process of compressing a file by a predetermined method and a process of decompressing (returning to a state before compression) the compressed file compressed by the method.

【0028】以下に、上記ファイル転送監視プログラム
に基づく処理について図2、図3に基づいて説明する。 (動作1)先ず、端末でキーボード等の入力手段(図示
しない)によってエンドユーザがファイル転送を要求し
た場合や、端末コンピュータ、サーバにより特定の端末
(ここでは端末1とする)から他の端末へのファイル転
送要求がなされると(ステップS1)、該端末1に備え
られたファイル転送効率化プログラムにより端末1がフ
ァイル転送監視手段として機能し該転送要求が検知され
(ステップS2)、該端末におけるファイル転送要求が
フックされる(ステップS3)。 (動作2)次いで、ファイル転送効率化プログラムによ
り、端末1はファイル転送監視手段として、転送先とな
る端末がファイル転送効率化プログラムを備えているか
どうかを判定する(ステップS4)。 (動作3)ここで転送先が端末3であるとすると、該端
末3では、当該プログラムを備えておらず、したがっ
て、該ステップでは転送先プログラムが存在しないと判
定する。該判定においては、前述したファイル転送のフ
ックを解放し(ステップB1)、端末1によるファイル
転送処理を行う。具体的には端末1で、記録装置11か
ら所定のファイルを読み出し、これをネットワーク6を
通して端末3へと転送する。、端末3では、該ファイル
を受け取り、記録装置31への保存等の通常処理が行わ
れる(ステップB2)。 (動作4)一方、ファイルの転送先が端末2であるよう
な場合、上記判定(ステップS4)においてプログラム
の存在が認められ、次処理へと移行する。次処理では、
転送しようとするファイルの種類、ファイルの大きさ、
ネットワーク環境に関し一定の条件の下でファイル圧縮
をするか否かの決定をし、該条件を満たさない場合に
は、未圧縮でファイル転送を行う(ステップS5)。こ
の条件では、ファイルの種類が既圧縮のものであるとき
は圧縮処理から除外する。また、ファイルの大きさが一
定以上のもののみを圧縮処理の対象とする。上記におけ
るファイルの既圧縮、未圧縮の別、ファイルの大きさに
ついては、ファイルに付加されているファイル情報から
知ることができ、圧縮されたファイルでは圧縮の種別を
知ることもできる。
The processing based on the file transfer monitoring program will be described below with reference to FIGS. (Operation 1) First, when an end user requests a file transfer by input means (not shown) such as a keyboard at a terminal, or from a specific terminal (here, terminal 1) to another terminal by a terminal computer or server. (Step S1), the terminal 1 functions as a file transfer monitoring unit by the file transfer efficiency improving program provided in the terminal 1 and the transfer request is detected (step S2). A file transfer request is hooked (step S3). (Operation 2) Next, by the file transfer efficiency program, the terminal 1 as a file transfer monitoring unit determines whether or not the transfer destination terminal has the file transfer efficiency program (step S4). (Operation 3) Here, assuming that the transfer destination is the terminal 3, the terminal 3 does not have the program, and thus it is determined in the step that the transfer destination program does not exist. In this determination, the file transfer hook described above is released (step B1), and the terminal 1 performs file transfer processing. Specifically, the terminal 1 reads a predetermined file from the recording device 11 and transfers the file to the terminal 3 through the network 6. The terminal 3 receives the file and performs normal processing such as storing the file in the recording device 31 (step B2). (Operation 4) On the other hand, if the transfer destination of the file is the terminal 2, the existence of the program is recognized in the above determination (step S4), and the process proceeds to the next process. In the next process,
The type of file you are trying to transfer, the size of the file,
It is determined whether or not to compress the file under certain conditions regarding the network environment. If the condition is not satisfied, the file is transferred without compression (step S5). Under this condition, if the file type is already compressed, it is excluded from the compression processing. Also, only files having a certain size or more are subjected to compression processing. Whether the file is compressed or uncompressed and the size of the file can be known from the file information added to the file, and the type of compression can be known from the compressed file.

【0029】また、ネットワーク環境の判定として、転
送元、転送先との有効な伝送速度を事前に登録されてい
るデータベースから読み出し、未圧縮のまま転送処理し
た場合と、圧縮、解凍を含む転送処理を行った場合との
所要時間を算出し、より短時間で処理できる方法を選択
する。すなわち、圧縮して転送し、転送先で解凍した方
が短時間で処理できる場合に圧縮の対象とし、それ以外
は圧縮処理の対象から除外する。 (動作5)これらの条件の下に、上記ステップS5にお
いて、条件を満たさない場合は、ファイルを圧縮しない
ものとし、前記したステップB1、B2に移行して、フ
ック解放、圧縮しないままのファイル転送を行う。この
際に端末2には、フック解放を通知する。端末2では、
未圧縮ファイルを受け取り(ステップSF1)、端末に
2に備えたファイル転送効率化プログラム22に含まれ
るルーチンによって、ファイルに付加されているファイ
ル情報を読みとり、圧縮されたファイルであるかどうか
を判別し(ステップSF2)、未圧縮ファイルであると
判定した後、記録装置21への保存等の通常処理(SF
4)が行われる。 (動作6)一方、上記ステップS5において、条件を満
たすと判定した場合、次手順に移行する。次手順では、
転送元でファイル転送効率化プログラムによって端末1
で、記録装置11から所定のファイルを読み出し、これ
を端末1によって所定の方法で圧縮し(ステップS
6)、ファイル転送のフックを解放する(ステップS
7)ことにより、圧縮したファイルをネットワーク6を
通して端末2へと転送させる(ステップS8)。端末2
では、該圧縮ファイルを受け取り(ステップSF1)、
端末に2に備えたファイル転送効率化プログラム22に
含まれるルーチンによって、先ずファイルに付加されて
いるファイル情報を読みとり、圧縮されたファイルであ
るかどうかを判別し(ステップSF2)、圧縮ファイル
であると判定した後、該圧縮ファイルを解凍し(ステッ
プSF3)、記録装置21への保存等の通常処理が行わ
れる(ステップSF4)。したがって端末2では圧縮さ
れたファイルが届くとエンドユーザには気づかせずに解
凍を行うことができ、圧縮されたファイルであるか否か
の判断も不要となる。
As the determination of the network environment, the effective transmission speed between the transfer source and the transfer destination is read out from a database registered in advance and the transfer process is performed without compression. Is calculated, and a method that can perform processing in a shorter time is selected. In other words, if the data is compressed and transferred and decompressed at the transfer destination can be processed in a short time, it is set as a target of compression, and the others are excluded from targets of compression processing. (Operation 5) Under these conditions, if the conditions are not satisfied in step S5, the file is not compressed, and the process proceeds to steps B1 and B2 to release the hook and transfer the file without compression. I do. At this time, the terminal 2 is notified of the hook release. In terminal 2,
An uncompressed file is received (step SF1), and file information added to the file is read by a routine included in the file transfer efficiency program 22 provided in the terminal 2 to determine whether the file is a compressed file. (Step SF2) After determining that the file is an uncompressed file, normal processing such as saving to the recording device 21 (SF)
4) is performed. (Operation 6) On the other hand, if it is determined in step S5 that the condition is satisfied, the procedure moves to the next procedure. In the next step,
Terminal 1 by file transfer efficiency program at transfer source
Then, a predetermined file is read from the recording device 11 and is compressed by the terminal 1 by a predetermined method (Step S).
6) Release the file transfer hook (step S)
7) The compressed file is transferred to the terminal 2 through the network 6 (step S8). Terminal 2
Then, the compressed file is received (step SF1),
First, the file information added to the file is read by a routine included in the file transfer efficiency improvement program 22 provided in the terminal 2, and it is determined whether or not the file is a compressed file (step SF2). Then, the compressed file is decompressed (step SF3), and normal processing such as storage in the recording device 21 is performed (step SF4). Therefore, when the compressed file arrives at the terminal 2, the decompression can be performed without notifying the end user, and it is not necessary to determine whether the file is a compressed file.

【0030】なお、この実施形態では、ファイルの転送
に際し、ファイルを端末に接続された記録装置から取り
出し、これを転送した後、転送先の記録装置に記録する
ものとして説明したが、本発明としてはファイルの存在
場所は、転送先での処理方法は特に上記に限定されるも
のではなく、FD等のリムーバルな記録媒体や端末のメ
モリ内から取り出すものであってもよく、また、転送先
でファイルをFD等の記録媒体に記録したり、転送先端
末のメモリに取り込むものであってもよい。
In this embodiment, when transferring a file, the file is taken out from the recording device connected to the terminal, transferred, and then recorded on the recording device of the transfer destination. The location of the file is not particularly limited to the processing method at the transfer destination described above, and may be obtained from a removable recording medium such as an FD or from the memory of the terminal. The file may be recorded on a recording medium such as an FD, or may be loaded into the memory of the transfer destination terminal.

【0031】[0031]

【発明の効果】以上説明したように、本発明では、ファ
イルの転送先でファイルの解凍が可能であるか否かを判
定して転送元でのファイル圧縮の可否を自動的に定める
ので、エンドユーザを煩わせることなくファイルを効率
的に転送処理することができる。また、ファイルが適切
な大きさになることによりネットワークの効率化も図れ
る。
As described above, according to the present invention, it is determined whether or not the file can be decompressed at the destination of the file, and whether or not the file can be compressed at the source is automatically determined. The file can be efficiently transferred without bothering the user. In addition, the efficiency of the network can be improved by making the file an appropriate size.

【0032】さらに、転送元での圧縮の可否に際し、転
送するファイルの種類、大きさ、ネットワーク環境等を
ファイル圧縮の条件として付け加えれば、必要な場合や
効果的な場合に圧縮してファイルを転送することがで
き、ファイル転送が一層効率化される。
Furthermore, if the type, size, network environment, and the like of the file to be transferred are added as conditions for file compression in determining whether or not compression is possible at the transfer source, the file is compressed and transferred when necessary or effective. And the file transfer is made more efficient.

【0033】したがって、ファイル転送の仕組みについ
て管理者がエンドユーザに教育を行う必要がなくなり、
管理者、エンドユーザ共に負荷が軽減する。
Therefore, the administrator does not need to educate the end user about the file transfer mechanism.
The load is reduced for both administrators and end users.

【0034】[0034]

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

【図1】 本発明の一実施形態が適用されるネットワー
クの概略図である。
FIG. 1 is a schematic diagram of a network to which an embodiment of the present invention is applied.

【図2】 本発明の一実施形態における処理手順(転送
元)を示すフローチャートである。
FIG. 2 is a flowchart illustrating a processing procedure (transfer source) according to an embodiment of the present invention.

【図3】 本発明の一実施形態における処理手順(転送
先)を示すフローチャートである。
FIG. 3 is a flowchart showing a processing procedure (transfer destination) in one embodiment of the present invention.

【図4】 本発明の一実施形態における動作を示す概略
図である。
FIG. 4 is a schematic diagram showing an operation in one embodiment of the present invention.

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

1 端末 2 端末 3 端末 4 端末 5 サーバ 6 ネットワーク 11 記録手段 12 ファイル転送効率化プログラム 21 記録手段 22 ファイル転送効率化プログラム 31 記録手段 41 記録手段 42 ファイル転送効率化プログラム Reference Signs List 1 terminal 2 terminal 3 terminal 4 terminal 5 server 6 network 11 recording means 12 file transfer efficiency program 21 recording means 22 file transfer efficiency program 31 recording means 41 recording means 42 file transfer efficiency program

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 端末が複数接続されたネットワークにお
いて、端末から他の端末へファイルを転送する要求があ
ると、転送に先立って、転送元の端末が備えたファイル
転送監視手段によって転送先の端末にファイルを解凍す
る解凍手段が備えられているか否かを判定し、該転送先
に解凍手段が備えられていると判定した場合に、転送元
に備えられたファイル圧縮手段により前記ファイルを圧
縮した後、この圧縮ファイルを前記転送先に転送し、転
送先で該圧縮ファイルを前記解凍手段により解凍するも
のとし、前記ファイル転送監視手段により転送先に上記
解凍手段が備えられていないと判定した場合に上記ファ
イルを圧縮しないまま転送先に転送するものとすること
を特徴とするファイル転送効率化方法
When a file is requested to be transferred from a terminal to another terminal in a network in which a plurality of terminals are connected, prior to the transfer, the transfer destination terminal is provided by file transfer monitoring means provided in the transfer source terminal. It is determined whether or not decompression means for decompressing the file is provided. If it is determined that the transfer destination is provided with decompression means, the file is compressed by the file compression means provided at the transfer source. Thereafter, the compressed file is transferred to the transfer destination, and the compressed file is decompressed by the decompression means at the transfer destination, and when the file transfer monitoring means determines that the decompression means is not provided at the transfer destination, Wherein the file is transferred to the transfer destination without compressing the file.
【請求項2】 端末が複数接続されたネットワークにお
いて、端末から他の端末へファイルを転送する要求があ
ると、転送に先立って、転送元の端末が備えたファイル
転送監視手段によって転送先の端末にファイルを解凍す
る解凍手段が備えられているか否かを判定し、該転送先
に解凍手段が備えられていると判定した場合に、一定の
条件の下で転送元に備えられたファイル圧縮手段により
前記ファイルを圧縮した後、この圧縮ファイルを前記転
送先に転送し、転送先で該圧縮ファイルを前記解凍手段
により解凍するものとし、前記ファイル転送監視手段に
より転送先に上記解凍手段が備えられていないと判定し
た場合または上記条件を満たさない場合に上記ファイル
を圧縮しないまま転送先に転送するものとすることを特
徴とするファイル転送効率化方法
2. In a network in which a plurality of terminals are connected, when there is a request to transfer a file from a terminal to another terminal, prior to the transfer, the transfer destination terminal is provided by file transfer monitoring means provided in the transfer source terminal. It is determined whether or not decompression means for decompressing a file is provided. If it is determined that the decompression means is provided at the transfer destination, the file compression means provided at the transfer source under certain conditions is determined. After compressing the file, the compressed file is transferred to the transfer destination, and the compressed file is decompressed at the transfer destination by the decompression means. The transfer destination is provided with the decompression means by the file transfer monitoring means. The file transfer method is characterized in that the file is transferred to the transfer destination without compression if it is determined that the file has not been compressed or the above conditions are not satisfied. Transmission efficiency method
【請求項3】 前記の一定の条件は、転送するファイル
の種類、大きさ、ネットワーク環境の少なくとも一つを
基に該ファイルを圧縮して転送するか圧縮しないままで
転送するかを定めるものであることを特徴とする請求項
2記載のファイル転送効率化方法
3. The predetermined condition determines whether the file is compressed and transferred or not transferred based on at least one of the type, size and network environment of the file to be transferred. 3. The method for improving file transfer efficiency according to claim 2, wherein
【請求項4】 ネットワークに接続された端末コンピュ
ータに対し、該端末コンピュータから他の端末にファイ
ルを転送する要求があった場合、転送先にファイルを解
凍する手段が備えられているか否かを判定させ、転送先
に該解凍手段が備えられていると判定した場合、無条件
または一定の条件の下で該ファイルを圧縮して転送先に
転送させ、転送先にファイルを解凍する手段を備えてい
ないと判定した場合および上記一定の条件を満たさない
場合に、ファイルを圧縮しないまま転送先に転送させる
手順を実行させるファイル転送効率化プログラム
4. When a terminal computer connected to a network receives a request to transfer a file from the terminal computer to another terminal, it is determined whether or not the transfer destination has means for decompressing the file. If it is determined that the transfer destination is provided with the decompression means, the transfer destination is provided with means for compressing the file under unconditional or certain conditions and transferring the file to the transfer destination, and decompressing the file at the transfer destination. A file transfer efficiency program for executing a procedure for transferring a file to a transfer destination without compressing a file when it is determined that the file is not present and when the above-described certain condition is not satisfied.
【請求項5】 前記ネットワークに接続された端末コン
ピュータに対し、他の端末から所定の圧縮ファイルが転
送された場合、該圧縮ファイルを解凍させることを特徴
とする請求項4記載のファイル転送効率化プログラム
5. The file transfer efficiency according to claim 4, wherein when a predetermined compressed file is transferred from another terminal to the terminal computer connected to the network, the compressed file is decompressed. program
JP2001038333A 2001-02-15 2001-02-15 Method and program for increasing efficiency of file transfer Pending JP2002244950A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001038333A JP2002244950A (en) 2001-02-15 2001-02-15 Method and program for increasing efficiency of file transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001038333A JP2002244950A (en) 2001-02-15 2001-02-15 Method and program for increasing efficiency of file transfer

Publications (1)

Publication Number Publication Date
JP2002244950A true JP2002244950A (en) 2002-08-30

Family

ID=18901326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001038333A Pending JP2002244950A (en) 2001-02-15 2001-02-15 Method and program for increasing efficiency of file transfer

Country Status (1)

Country Link
JP (1) JP2002244950A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065424A (en) * 2004-08-25 2006-03-09 Nec Corp Data storage system, data storage device, similar file recording method to be used for the same and program therefor
WO2014155490A1 (en) * 2013-03-25 2014-10-02 三菱電機株式会社 Data transmission device, data transmission method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065424A (en) * 2004-08-25 2006-03-09 Nec Corp Data storage system, data storage device, similar file recording method to be used for the same and program therefor
WO2014155490A1 (en) * 2013-03-25 2014-10-02 三菱電機株式会社 Data transmission device, data transmission method, and program

Similar Documents

Publication Publication Date Title
CN106936441B (en) Data compression method and device
US6460044B1 (en) Intelligent method for computer file compression
KR101035302B1 (en) A cloud system and a method of compressing and transmtting files in a cloud system
US20110167173A1 (en) Optimal Compression Process Selection Methods
US20090216967A1 (en) Computer, recording medium recording dump program, and dump method
NO325628B1 (en) Procedure, computer program, transcoding server and computer system to modify a digital document
CN105208135A (en) File transmission method and equipment
US11196845B2 (en) Method, apparatus, and computer program product for determining data transfer manner
JP2002374303A (en) System and method for predicting network performance
JPH11168498A (en) Network system, electronic mail supporting device and storage medium
KR20040038271A (en) Method for compress and uncompress of file
CN103067246A (en) Method and apparatus used for processing file received based on instant communication service
JP4165451B2 (en) Printing system, printing request terminal, compression algorithm selection program, and printing method
US20020175841A1 (en) Input data conversion method, input data conversion program, and input data conversion system
JP2005228183A (en) Program execution method and computer system for executing the program
JP2002244950A (en) Method and program for increasing efficiency of file transfer
US7778660B2 (en) Mobile communications terminal, information transmitting system and information receiving method
CN110889880A (en) Map processing method, device, equipment and storage medium
JP4331440B2 (en) Information management server, information processing apparatus, information management system, control method therefor, and program
US20090150407A1 (en) System and method for downloading a file to a wireless device
JP2003030084A (en) Data transfer device and data transfer program
US20050141019A1 (en) Information processing method, information processing apparatus, program, and storage medium
JP2000076155A (en) Html document compression/expansion/display system
JP2007286672A (en) Data compression/decompression system, data compression device, data decompression deice, and program
JP4451722B2 (en) Database server and database system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040824

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041221