JP2007179404A - Computer and file transfer method - Google Patents
Computer and file transfer method Download PDFInfo
- Publication number
- JP2007179404A JP2007179404A JP2005378786A JP2005378786A JP2007179404A JP 2007179404 A JP2007179404 A JP 2007179404A JP 2005378786 A JP2005378786 A JP 2005378786A JP 2005378786 A JP2005378786 A JP 2005378786A JP 2007179404 A JP2007179404 A JP 2007179404A
- Authority
- JP
- Japan
- Prior art keywords
- computer
- file transfer
- load
- amount
- file
- 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
Links
Images
Abstract
Description
この発明は、ファイル転送機能を有する計算機及び計算機間でファイル転送を行うファイル転送方法に関するものである。 The present invention relates to a computer having a file transfer function and a file transfer method for transferring a file between computers.
従来の一般的なファイル転送機能は、次のように動作する。
まず、転送初期化手段が呼び出され、ファイル転送に向けた各初期化が実行される。引き続いてブロック切り出し手段によってデータファイルから特定のブロック単位でデータが抜き出される。そして抜き出されたデータは、ネットワーク出力手段によりブロック単位にネットワークへ出力される。ネットワークへの出力後、データ残の確認手段によってデータ残が判断され、まだ送信すべきデータが残っている場合は、ブロック切り出し手段の処理に戻って同様のネットワーク出力を繰り返す。
これによれば、出力するネットワークに余裕がある限り、出力処理が繰り返される。ところが、昨今ネットワークの性能は、急激に向上しており、指数的な転送速度の増加が実現されている。転送速度が増加したことに伴って、転送できるデータ量は、大幅に増加したものの、一方で、上述のようなネットワークの転送処理が10倍、100倍と増加することになり、延いては計算機における負荷の増大に結びついている。
The conventional general file transfer function operates as follows.
First, the transfer initialization unit is called, and each initialization for file transfer is executed. Subsequently, data is extracted in a specific block unit from the data file by the block cutout means. The extracted data is output to the network in block units by the network output means. After the output to the network, the remaining data is judged by the remaining data confirmation means, and if there is still data to be transmitted, the process returns to the block extraction means and the same network output is repeated.
According to this, as long as there is room in the network to output, the output process is repeated. However, recently, the performance of networks has improved rapidly, and an exponential increase in transfer speed has been realized. As the transfer rate has increased, the amount of data that can be transferred has greatly increased. On the other hand, the network transfer processing as described above has increased by 10 times and 100 times, and as a result, the computer This leads to an increase in load.
この対策として、ブロック単位での出力の間に、待ち時間を加えることで、連続したネットワーク送信処理を防止すると共に、計算機の負荷を軽減させる場合がある。ただし、この待ち時間を設ける場合は、ネットワークの帯域が減少するため、転送処理の低下が免れない。 As a countermeasure, there is a case where a waiting time is added between outputs in units of blocks to prevent continuous network transmission processing and reduce the load on the computer. However, when this waiting time is provided, the bandwidth of the network is reduced, so that a reduction in transfer processing is inevitable.
特許文献1のファイル転送方式には、通信アプリケーションからの申請による最大使用帯域及び最大送信完了要求時間により同期データ送信時間を決定し、最大送信完了要求時間内に送信しなければならない同期データを、各ノード毎に帯域を管理しながら送信するようにしたものが記載されている。
また、特許文献2では、ノード使用状況を測定して、データ送受信制御部に通信量の規制を行い、これを受けたデータ送受信制御部では、データ転送の開始、停止を制御するようにしている。
In the file transfer method of
Further, in
しかしながら、特許文献1のファイル転送方式では、ネットワークの帯域を各ノードで分散管理して、動的に変更するものの、各ノードのデータを処理するための負荷は考慮されていないという問題があった。
また、特許文献2では、ノードの使用状況は考慮されているものの、このノードの使用状況に応じてデータ転送の開始、停止を制御するものであり、データ転送以外の処理を優先するものにすぎない。
However, the file transfer method of
In
この発明は、上述のような課題を解決するためになされたものであり、ネットワークを用いたファイル転送において、状況に合わせて最適なファイル転送量の制御を実現する計算機及びファイル転送方法を得ることを目的としている。 The present invention has been made to solve the above-described problems, and provides a computer and a file transfer method for realizing optimal file transfer amount control according to the situation in file transfer using a network. It is an object.
この発明に係わる計算機においては、計算機内のファイルをネットワークへファイル転送するファイル転送手段を有する計算機において、ファイル転送手段は、計算機の負荷量を検知する計算機負荷検知手段、及びこの計算機負荷検知手段により検知された計算機の負荷量に応じてファイル転送の処理速度を制御することによりファイル転送量を制御するファイル転送量制御手段を備えたものである。 In the computer according to the present invention, in the computer having the file transfer means for transferring the file in the computer to the network, the file transfer means includes a computer load detection means for detecting the load amount of the computer, and the computer load detection means. It comprises file transfer amount control means for controlling the file transfer amount by controlling the processing speed of the file transfer in accordance with the detected load amount of the computer.
この発明は、以上説明したように、計算機内のファイルをネットワークへファイル転送するファイル転送手段を有する計算機において、ファイル転送手段は、計算機の負荷量を検知する計算機負荷検知手段、及びこの計算機負荷検知手段により検知された計算機の負荷量に応じてファイル転送の処理速度を制御することによりファイル転送量を制御するファイル転送量制御手段を備えたので、計算機の負荷が高いときは、ファイル転送の帯域を絞り込み、また計算機の負荷が低いときは、ファイル転送量を多くすることができるという効果がある。 As described above, according to the present invention, in the computer having the file transfer means for transferring the file in the computer to the network, the file transfer means includes the computer load detection means for detecting the load amount of the computer, and the computer load detection. File transfer amount control means for controlling the file transfer amount by controlling the file transfer processing speed according to the load amount of the computer detected by the means, so when the load on the computer is high, the file transfer bandwidth If the computer is narrowed down and the load on the computer is low, the amount of file transfer can be increased.
実施の形態1.
図1は、この発明の実施の形態1によるファイル転送機能を示す構成図である。
図1において、計算機1には、ファイル転送機能2が内蔵され、計算機1内のデータファイル4に格納されているデータをネットワーク5へ転送する。ファイル転送機能2には、計算機上の負荷量を検知する計算機負荷検知機能3(計算機負荷検知手段)と、この計算機負荷検知機能3により検知された計算機上の負荷量に応じて、ファイル転送の処理速度を制御することによりファイル転送量を制御するファイル転送量制御機能6(ファイル転送量制御手段)が設けられている。
FIG. 1 is a block diagram showing a file transfer function according to
In FIG. 1, the
図2は、この発明の実施の形態1によるファイル転送機能の動作を示すフローチャートである。
図3は、この発明の実施の形態1によるファイル転送機能における計算機負荷とファイル転送量の関係を表す図である。
図3では、計算機の演算による負荷量に閾値を設け、この閾値を超えたとき、それに応じてファイル転送の処理速度を減少させることにより、ファイル転送量を減少させる。このとき、ファイル転送量には最低転送量を設けている。
図3において、計算機負荷量のグラフは、左側の計算機負荷量(ファイル転送の負荷とそれ以外の演算負荷を含む)100パーセントを基準にし、100パーセントに対するものであり、ファイル転送量のグラフは、右側のファイル転送帯域を基準にしたもので、点線は最大転送量を示している。
FIG. 2 is a flowchart showing the operation of the file transfer function according to the first embodiment of the present invention.
FIG. 3 is a diagram showing the relationship between the computer load and the file transfer amount in the file transfer function according to the first embodiment of the present invention.
In FIG. 3, a threshold is provided for the amount of load calculated by the computer, and when this threshold is exceeded, the file transfer processing speed is reduced accordingly, thereby reducing the file transfer amount. At this time, a minimum transfer amount is provided for the file transfer amount.
In FIG. 3, the computer load amount graph is based on 100% of the computer load amount on the left side (including the file transfer load and other calculation loads), and is relative to 100%. The file transfer amount graph is This is based on the right file transfer bandwidth, and the dotted line indicates the maximum transfer amount.
次に、動作について説明する。
実施の形態1は、ファイル転送機能2に、計算機の負荷量を検知する計算機負荷検知機能3と、この計算機負荷検知機能3により検知された計算機上の負荷量に応じて、ファイル転送の処理速度を制御することによりファイル転送量を制御するファイル転送量制御機能6とを内蔵している。ファイル転送量制御機能6は、計算機負荷検知機能3により検知された計算機の負荷量から、ファイル転送の負荷量を除くようにして求められる計算機の演算による負荷量が特定の閾値を超えた場合に、ファイル転送の処理速度を低下させて、計算機の負荷を軽減させるようにする。
Next, the operation will be described.
In the first embodiment, the
図2において、まず、転送初期化手段が呼び出され、ファイル転送に向けた各初期化が実行される(ステップS11)。次いで、ブロック切り出し手段によって、データファイル4から特定のブロック単位でデータが抜き出される(ステップS12)。そして抜き出されたデータは、ネットワーク出力手段によりブロック単位にネットワークへ出力される(ステップS13)。ネットワークへの出力後、データ残の確認手段によってデータ残が判断され(ステップS14)、送信すべきデータがなければ、処理を終了し(ステップS15)、まだ、送信すべきデータが残っている場合は、後述するステップS16〜S18を経て、ステップS12のブロック切り出し手段の処理に戻って、同様のネットワーク出力を繰り返す。
In FIG. 2, first, the transfer initialization means is called, and each initialization for file transfer is executed (step S11). Next, data is extracted from the
このブロック単位での出力の間に、計算機負荷検知機能3が呼び出され、計算機の負荷量を取得する(ステップS16)。ファイル転送量制御機能6は、得られた計算機の負荷量から、本ファイル転送を除く他の演算処理の負荷量を算出し、閾値と比較する(ステップS17)。他の演算処理の負荷量が閾値として設定された値を超えた場合、所定の待ち時間だけ待つ(ステップS18)ようにして、その超過量に応じてデータの転送処理を低下させ、ファイル転送がシステム全体に与える影響を軽減する(図3参照)。
このステップS18の待ち時間を加えることで、計算機の負荷を軽減させる。ただし、この待ち時間を設けた場合は、ネットワークの帯域が減少するため、転送処理の低下が免れない。ファイル転送を停止させることはできないので、図3のように、最低転送量を設定しておき、それを下回ることがないような、待ち時間の設定を行う。
During the output in units of blocks, the computer load detection function 3 is called to acquire the load amount of the computer (step S16). The file transfer
By adding the waiting time in step S18, the load on the computer is reduced. However, when this waiting time is provided, the bandwidth of the network is reduced, so that a reduction in transfer processing is inevitable. Since the file transfer cannot be stopped, a minimum transfer amount is set as shown in FIG. 3, and a waiting time is set so as not to fall below that.
実施の形態1によれば、計算機の演算の負荷量とファイル転送量の間でバランスを取ることによって、計算機の演算の負荷が高いときは、ファイル転送の帯域を絞り込んで安定した演算処理を提供し、また計算機の演算の負荷が低いときは、回線に対して可能な限りファイル転送を行うことで、最適なファイル転送量の制御を実現することができるという効果がある。
According to
実施の形態2.
実施の形態1では、計算機の演算負荷に応じてファイル転送量を制御するものの、計算機の演算負荷とファイル転送の負荷との和である計算機全体の負荷が、どうなるかは考慮されていない。したがって、例えファイル転送量を減らしたとしても、状況によっては、計算機全体の負荷が予め定められた基準値を超える可能性がある。
実施の形態2は、これに対処するものであり、計算機全体の負荷が基準値を超えたときのファイル転送量の制御についてのものである。
In the first embodiment, although the file transfer amount is controlled according to the calculation load of the computer, it is not considered what happens to the load of the entire computer, which is the sum of the calculation load of the computer and the load of the file transfer. Therefore, even if the file transfer amount is reduced, the load on the entire computer may exceed a predetermined reference value depending on the situation.
The second embodiment deals with this, and relates to the control of the file transfer amount when the load on the entire computer exceeds the reference value.
図4は、この発明の実施の形態2によるファイル転送機能における計算機負荷とファイル転送の負荷を表す図である。
図4において、縦軸に計算機全体の負荷量を、横軸に時刻を取り、計算機の演算による負荷とファイル転送による負荷の調整方法が示されている。
すなわち、通常は、計算機の演算による負荷とファイル転送による負荷との和が基準値内に収まるように双方の負荷を調整し、計算機の演算による負荷とファイル転送による負荷との和が基準値を超えた場合には、ファイル転送を最低転送量で行うことが示されている。
FIG. 4 is a diagram showing a computer load and a file transfer load in the file transfer function according to the second embodiment of the present invention.
In FIG. 4, the vertical axis indicates the load amount of the entire computer, and the horizontal axis indicates the time, and shows a method for adjusting the load due to the calculation of the computer and the load due to file transfer.
In other words, normally, both loads are adjusted so that the sum of the load from the computer operation and the load from the file transfer falls within the reference value, and the sum of the load from the computer operation and the load from the file transfer becomes the reference value. If it exceeds the limit, the file transfer is shown to be performed with the minimum transfer amount.
実施の形態2では、ファイル転送量制御機能6は、図4のように、通常は、計算機全体の負荷量に対して基準値を設定し、計算機の演算による負荷とファイル転送による負荷との和が、基準値内に収まるように、計算機の演算およびファイル転送の処理を行う。
そして、計算機の演算による負荷とファイル転送による負荷との和が、基準値内に収まらないほど、計算機の演算による負荷が高くなった場合、ファイル転送の負荷を最低転送量によるファイル転送になるまで縮小する。つまり、計算機の負荷が高くなっても、ファイル転送そのものを完全に停止させることはできないので、最低ラインにおける転送量である最低転送量を設定しておき、ファイル転送がそれを下回ることがないようにする。
In the second embodiment, the file transfer
If the load of the computer operation and the file transfer load do not fall within the standard value and the load of the computer operation is high, the file transfer load is reduced to the file transfer with the minimum transfer amount. to shrink. In other words, even if the load on the computer increases, the file transfer itself cannot be stopped completely, so a minimum transfer amount that is the transfer amount on the lowest line is set so that the file transfer does not fall below that. To.
実施の形態2によれば、計算機の演算の負荷と、ファイル転送の負荷の和が基準値となるように調整し、負荷の和が基準値を超えると、ファイル転送を最低転送量で行うようにしたので、どのような負荷の状態でもファイル転送を行うことができる。 According to the second embodiment, the calculation load of the computer and the file transfer load are adjusted to be the reference value, and when the load exceeds the reference value, the file transfer is performed with the minimum transfer amount. Therefore, file transfer can be performed under any load condition.
1 計算機
2 ファイル転送機能
3 計算機負荷検知機能
4 データファイル
5 ネットワーク
6 ファイル転送量制御機能
1
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005378786A JP2007179404A (en) | 2005-12-28 | 2005-12-28 | Computer and file transfer method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005378786A JP2007179404A (en) | 2005-12-28 | 2005-12-28 | Computer and file transfer method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007179404A true JP2007179404A (en) | 2007-07-12 |
Family
ID=38304507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005378786A Pending JP2007179404A (en) | 2005-12-28 | 2005-12-28 | Computer and file transfer method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007179404A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1027165A (en) * | 1996-07-08 | 1998-01-27 | Nec Corp | Distributed information service system |
JPH10124430A (en) * | 1996-10-18 | 1998-05-15 | Mitsubishi Electric Corp | Data transmission system |
JP2003223384A (en) * | 2002-01-31 | 2003-08-08 | Nippon Telegr & Teleph Corp <Ntt> | File distributing system |
-
2005
- 2005-12-28 JP JP2005378786A patent/JP2007179404A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1027165A (en) * | 1996-07-08 | 1998-01-27 | Nec Corp | Distributed information service system |
JPH10124430A (en) * | 1996-10-18 | 1998-05-15 | Mitsubishi Electric Corp | Data transmission system |
JP2003223384A (en) * | 2002-01-31 | 2003-08-08 | Nippon Telegr & Teleph Corp <Ntt> | File distributing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8370846B2 (en) | Task execution device and method | |
JP5805855B2 (en) | Airlink selection according to temperature in multi-mode wireless devices | |
CN109905259B (en) | Communication connection maintaining method, system and related equipment | |
KR101344886B1 (en) | Apparatus and method for efficient data processing | |
AU2005270942B2 (en) | Method for controlling communication between two nodes of a communication system | |
TWI345422B (en) | Adaptive data rate determination for a reverse link communication in a communication system | |
US20090010155A1 (en) | Network communication control methods and systems | |
US20050276222A1 (en) | Platform level overload control | |
US8214552B2 (en) | Transmission apparatus, transmission method, communication apparatus, and program | |
CN107682279B (en) | Time delay control method, time delay control device, storage medium and program product | |
US10735554B1 (en) | System for controlling use of a network | |
CN110391873B (en) | Method, apparatus and computer program product for determining a data transfer mode | |
KR20160086944A (en) | Method and system for adjusting heavy traffic loads between personal electronic devices and external services | |
JP2010109490A (en) | Transmission apparatus, transmission system and transmission method | |
CN104904169A (en) | Adjusting thread priority to improve throughput between peer-to-peer (P2P) devices | |
JP6540189B2 (en) | Transmission apparatus, transmission method, and program | |
US9304965B2 (en) | Scheduling apparatus and method for load balancing when performing multiple transcoding operations | |
WO2014187103A1 (en) | Bandwidth adjustment method and bandwidth adjustment controller | |
JP2017505563A (en) | System and method for a balanced user experience in a multimedia conferencing community | |
US10284481B2 (en) | Communication device, communication method, and storage medium | |
JP5082111B2 (en) | Computer system, service utilization apparatus, control method, and program | |
JP2009278532A (en) | Transmission apparatus and congestion control method | |
JP2007179404A (en) | Computer and file transfer method | |
WO2021018058A1 (en) | System overload control method and device | |
CN114501145A (en) | Code rate control method and device for video transmission, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070816 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091106 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091117 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100114 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100622 |