JPH03265915A - Estimating device for end time of data transfer - Google Patents

Estimating device for end time of data transfer

Info

Publication number
JPH03265915A
JPH03265915A JP2066480A JP6648090A JPH03265915A JP H03265915 A JPH03265915 A JP H03265915A JP 2066480 A JP2066480 A JP 2066480A JP 6648090 A JP6648090 A JP 6648090A JP H03265915 A JPH03265915 A JP H03265915A
Authority
JP
Japan
Prior art keywords
data
data transfer
transfer
end time
remaining amount
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
JP2066480A
Other languages
Japanese (ja)
Inventor
Masahiko Kumagai
昌彦 熊谷
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.)
GE Healthcare Japan Corp
Original Assignee
Yokogawa Medical Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Medical Systems Ltd filed Critical Yokogawa Medical Systems Ltd
Priority to JP2066480A priority Critical patent/JPH03265915A/en
Publication of JPH03265915A publication Critical patent/JPH03265915A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To estimate an accurate data transfer end time by obtaining an actual data transfer rate and calculating the data transfer end time from the data transfer rate the remaining amount of data. CONSTITUTION:A transfer rate counter 4 measures an actual transfer rate, and a remaining amount counter 5 measures the remaining amount of data. Then a data transfer end time computing means 2 calculates the data transfer end time from the transfer rate and the remaining amount of data which are actually measured. Thus the data transfer end time is obtained from the measured transfer rate and data remaining amount. Then it is possible to estimate an accurate data transfer end time despite the variance of conditions of the data transfer side, a data transfer path, and the data transfer destination side respectively.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、データ転送終了時間予測装置に関し、さら
に詳しくは、データの転送を終了するまでの所要時間を
予測し出力する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer end time prediction device, and more particularly to a device that predicts and outputs the time required to end data transfer.

[従来の技術] データの転送を終了するまでの所要時間は、原則的には
、転送するべきデータ量を転送速度で除算すればよい。
[Prior Art] In principle, the time required to complete data transfer can be determined by dividing the amount of data to be transferred by the transfer speed.

例えば、PDSのタイトルデータの1つである転送時間
(ダウンロード時間)は、プログラムサイズを通信速度
で除算した値になっている。
For example, the transfer time (download time), which is one of the PDS title data, is the value obtained by dividing the program size by the communication speed.

[発明が解決しようとする課題] データ量を転送速度で除算した値をデータ転送終了時間
とするのが原則であるが、実際には転送速度は転送条件
により左右されるため、不確定である。例えば、電話回
線を用いてデータ転送を行う場合には、電話回線の込み
具合に転送速度が左右される。また、パソコンからプリ
ンタにデータ転送を行う場合には、パソコン側のソフト
ウェアの種類や、プリンタの性能や、転送するべきデー
タの内容(キャラクタデータか、イメージデータか、こ
れらの混在するデータか)によって転送速度が左右され
る。
[Problem to be solved by the invention] In principle, the value obtained by dividing the data amount by the transfer speed is used as the data transfer end time, but in reality, the transfer speed is uncertain because it depends on the transfer conditions. . For example, when data is transferred using a telephone line, the transfer speed depends on how busy the telephone line is. Also, when transferring data from a computer to a printer, it depends on the type of software on the computer, the performance of the printer, and the content of the data to be transferred (character data, image data, or a mixture of these). Transfer speed is affected.

このため、従来は正確なデータ転送終了時間を得られな
い問題点があった。
For this reason, in the past, there was a problem in that it was not possible to obtain an accurate data transfer end time.

そこで、この発明の目的は、より正確なデータ転送終了
時間を得られるようにしたデータ転送終了時間予測装置
を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a data transfer end time prediction device that can obtain a more accurate data transfer end time.

[課題を解決するための手段] この発明のデータ転送終了時間予測装置は、所定時間中
のデータの転送量または所定量のデータの転送時間を計
測して転送レートを得る転送レート計測手段と、転送す
るべきデータの残量を計測する残量計測手段と、前記転
送レートおよび前記残量に基づいてデータ転送終了まで
の必要時間を算出するデータ転送終了時間演算手段とを
具備したことを構成上の特徴とするものである。
[Means for Solving the Problems] The data transfer end time prediction device of the present invention includes a transfer rate measuring means for obtaining a transfer rate by measuring the amount of data transferred during a predetermined time or the transfer time of a predetermined amount of data; The configuration further comprises a remaining amount measuring means for measuring the remaining amount of data to be transferred, and a data transfer end time calculation means for calculating the required time until the end of data transfer based on the transfer rate and the remaining amount. This is the characteristic of

[作用コ この発明のデータ転送終了時間予測装置では、転送レー
ト計測手段が、実際の転送レートを計測する。また、残
量計測手段が、データの残量を実際に計測する。そして
、データ転送終了時間演算手段が、前記実際に計測した
転送レートおよびデータの残量によりデータ転送終了時
間を算出する。
[Operations] In the data transfer end time prediction device of the present invention, the transfer rate measuring means measures the actual transfer rate. Further, the remaining amount measuring means actually measures the remaining amount of data. Then, the data transfer end time calculation means calculates the data transfer end time based on the actually measured transfer rate and the remaining amount of data.

このように、実際に計測した転送レートと残量とからデ
ータ転送終了時間を得るため、データ転送元、データ転
送路、データ転送先の条件か変動しても、正確にデータ
転送終了時間を千11できるようになる。
In this way, the data transfer end time is obtained from the actually measured transfer rate and remaining capacity, so even if the conditions of the data transfer source, data transfer path, and data transfer destination change, the data transfer end time can be accurately determined. Be able to do 11.

[実施例コ 以下、図に示す実施例によりこの発明をさらに詳しく説
明する。なお、これによりこの発明が限定されるもので
はない。
[Examples] The present invention will be explained in more detail below with reference to examples shown in the drawings. Note that this invention is not limited to this.

第1図は、この発明のデータ転送終了時間予測装置の一
実施例を含むコンピュータシステムの要部ブロック図で
ある。
FIG. 1 is a block diagram of main parts of a computer system including an embodiment of the data transfer end time prediction device of the present invention.

コンピュータCには、ハードディスクH,デイスプレィ
D、キーボードにおよびプリンタPか周辺装置として接
続されている。
A hard disk H, a display D, a keyboard, and a printer P are connected to the computer C as peripheral devices.

コンピュータCは、CPU2と、タイマ3と。Computer C has a CPU 2 and a timer 3.

転送量カウンタ4と、残量カウンタ5と、プリンタバッ
ファBとを含んでいる。
It includes a transfer amount counter 4, a remaining amount counter 5, and a printer buffer B.

CPU2は、メモリ(図示省略)に格納されたプログラ
ムに従って作動する。
The CPU 2 operates according to a program stored in a memory (not shown).

タイマ3は、所定周期でCPU2に割り込みをかける。The timer 3 interrupts the CPU 2 at predetermined intervals.

転送量カウンタ4は、プリンタバッファBから出力され
る制御信号(例えばシフトイン信号やストローブ信号)
をカウントする。このカウント値がデータの転送量を表
すことになる。
The transfer amount counter 4 receives a control signal (for example, a shift-in signal or a strobe signal) output from the printer buffer B.
count. This count value represents the amount of data transferred.

残量カウンタ5は、プリンタバッファBに入力される制
御信号(例えばシフトイン信号やストローブ信号)によ
りカウントアツプし、プリンタバッファBから出力され
る制御信号によりカウントダウンする。従って、このカ
ウント値がプリンタバッファBにおけるデータの残量を
表すことになる。
The remaining amount counter 5 counts up in response to a control signal input to the printer buffer B (for example, a shift-in signal or a strobe signal), and counts down in response to a control signal output from the printer buffer B. Therefore, this count value represents the remaining amount of data in printer buffer B.

プリンタバッファBは、例えばスプーラ機能を持った充
分に大きな容量のFIFOであり、プリンタPへ転送す
るべきデータを保持し、プリンタPがレディになる毎に
所定量のデータを送り出すものである。
Printer buffer B is, for example, a FIFO with a sufficiently large capacity that has a spooler function, holds data to be transferred to printer P, and sends out a predetermined amount of data each time printer P becomes ready.

次に、第2図〜第4図を参照して、この発明に係る作動
を詳細に説明する。
Next, the operation of the present invention will be explained in detail with reference to FIGS. 2 to 4.

第2図は、メインルーチンで行われる作動である。CP
U2は、残量カウンタ5のカウント値を読み出して残量
があるか否かをチエツクする(ステップSL)。残量か
あるなら何もせずにこの処理をぬけ、残量がないなら内
部に有する転送中フラグをOFFとする(ステップS2
)。
FIG. 2 shows the operations performed in the main routine. C.P.
U2 reads the count value of the remaining amount counter 5 and checks whether there is any remaining amount (step SL). If there is a remaining amount, exit this process without doing anything, and if there is no remaining amount, turn off the internal transfer flag (step S2
).

第3図は、タイマ3から割り込みかかかる毎に行われる
作動である。まず、残量カウンタ5のカウント値を読み
出して残量があるか否かをチエツクする(R1)。残量
なければ内部に有する転送中フラグをOFFとする(ス
テップR2)。残量があれば、転送量カウンタ4のカウ
ント値を読み出し、それをタイマ3の周期で除算する(
ステップR3)。この商が転送速度を表すことになる。
FIG. 3 shows the operations performed every time an interrupt is received from timer 3. First, the count value of the remaining amount counter 5 is read out to check whether there is any remaining amount (R1). If there is no remaining amount, the internal transfer flag is turned OFF (step R2). If there is a remaining amount, read the count value of transfer amount counter 4 and divide it by the period of timer 3 (
Step R3). This quotient represents the transfer speed.

CPU2は、転送量カウンタ4のカウント値を読み出し
た後、転送量カウンタ4をクリアする。次に、CPU2
は、内部に有する転送中フラグをONとする(ステップ
R4)。
After reading the count value of the transfer amount counter 4, the CPU 2 clears the transfer amount counter 4. Next, CPU2
sets an internal transfer flag to ON (step R4).

第4図は、オペレータがキーボードにの「転送終了時間
表示キー」を操作したときに生じる割り込みにより行わ
れる作動である。まず、CPU2は、内部に有する転送
中フラグがONか否かをチエツクする(ステップQl)
。転送中フラグかONでなければ、転送中でない旨の表
示をデイスプレィDにおいて行う(ステップQ2)。転
送中フラグがONなら、残量カウンタ5のカウント値を
読み出し、そのカウント値を先に算出した転送速度で除
算する(ステップQ3)。次いで、この商を転送終了時
間としてデイスプレィDに表示する(ステップQ4)。
FIG. 4 shows the operation performed by an interrupt that occurs when the operator operates the "transfer end time display key" on the keyboard. First, the CPU 2 checks whether the internal transfer flag is ON or not (step Ql).
. If the transfer flag is not ON, a display indicating that transfer is not in progress is displayed on display D (step Q2). If the transfer flag is ON, the count value of the remaining capacity counter 5 is read out, and the count value is divided by the previously calculated transfer rate (step Q3). Next, this quotient is displayed on display D as the transfer end time (step Q4).

以上の作動により、タイマ3の周期毎に実際の転送速度
が計測され、オペレータが「転送終了時間表示キー」を
操作する毎にその時からデータ転送終了までの予測時間
が表示されることになる。
With the above operation, the actual transfer speed is measured every cycle of the timer 3, and each time the operator operates the "transfer end time display key", the predicted time from that time to the end of data transfer is displayed.

この発明は、第5図に示す如きネットワークに適用する
ことが可能である。すなわち、端末aがデータを他の端
末に転送するとき、端末すは周辺装置として磁気テープ
を有し、端末Cは周辺装置としてハードディスクを有し
、端末dは周辺装置としてプリンタを有しているため、
それぞれに対する転送速度は異なる。しかし、このよう
な場合でも、この発明を適用することにより、端末aで
は、どの端末に対するデータ転送においても、正確なデ
ータ転送終了時間を知ることが出来る。また、ゲートウ
ェイe、ゲートウェイfを介して、LANαとLANβ
とが結ばれているとき、LANαの端末aからLANβ
の端末gまたは端末りにデータを転送する場合があるが
、回線の込み具合によって転送速度は変動する。このよ
うな場合でも端末aで転送速度を実測してデータ転送終
了時間を得るから、正確にデータ転送の終了時間を予測
できるようになる。
This invention can be applied to a network as shown in FIG. That is, when terminal a transfers data to another terminal, terminal A has a magnetic tape as a peripheral device, terminal C has a hard disk as a peripheral device, and terminal d has a printer as a peripheral device. For,
The transfer speed for each is different. However, even in such a case, by applying the present invention, terminal a can know the accurate data transfer end time for any data transfer to any terminal. In addition, LANα and LANβ are connected via gateway e and gateway f.
is connected, from terminal a of LANα to LANβ
Data may be transferred to terminal g or terminal 2, but the transfer speed varies depending on how busy the line is. Even in such a case, since the data transfer end time is obtained by actually measuring the transfer speed at terminal a, it becomes possible to accurately predict the data transfer end time.

他の実施例としては、タイマ3により所定周期ごとの割
り込みを行う代りに、転送量カウンタ4で所定の転送量
になる毎にCPU2に割り込みをかけ、そのときの時間
間隔を計測して、データの転送レートを算出するように
したものが挙げられる。
As another embodiment, instead of interrupting the timer 3 at predetermined intervals, the transfer amount counter 4 interrupts the CPU 2 every time a predetermined transfer amount is reached, and the time interval at that time is measured, and the data is One example is one that calculates the transfer rate of .

[発明の効果コ この発明のデータ転送終了時間予測装置によれば、実際
のデータ転送レートを得て、その転送レートとデータの
残量とからデータ転送終了時間を算出するため、正確に
データ転送終了時間を予測できるようになる。従って、
適当な時間を見計ってデータ転送が終了しているか否か
をオペレータがチエツクする必要がなくなり、データ転
送終了までの時間を有効に活用できるようになる。また
、データ転送のプログラムや、転送路や、転送相手の条
件に関わらず、正確なデータ転送終了時間が分るように
なる。
[Effects of the Invention] According to the data transfer end time prediction device of the present invention, the actual data transfer rate is obtained and the data transfer end time is calculated from that transfer rate and the remaining amount of data, so that data transfer can be performed accurately. Be able to predict the end time. Therefore,
There is no need for the operator to check whether data transfer has been completed at an appropriate time, and the time until data transfer is completed can be effectively utilized. In addition, the accurate data transfer end time can be determined regardless of the data transfer program, transfer path, or conditions of the transfer partner.

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

第1図はこの発明のデータ転送終了時間予測装置の一実
施例を含むコンピュータシステムのブロック図、第2図
〜第4図はこの発明に係る作動のフローチャート、第5
図はこの発明を適用しうるネットワークの模式図である
。 (符号の説明) 2・・・CPU 3・・・タイマ 4・・・転送量カウンタ B・・・プリンタバッファ C・・・コンピュータ D・・・デイスプレィ H・・・ハードディスク K・・・キーボード P・・・プリンタ。
FIG. 1 is a block diagram of a computer system including an embodiment of the data transfer end time prediction device of the present invention, FIGS. 2 to 4 are flowcharts of the operation according to the present invention, and FIG.
The figure is a schematic diagram of a network to which the present invention can be applied. (Explanation of symbols) 2... CPU 3... Timer 4... Transfer amount counter B... Printer buffer C... Computer D... Display H... Hard disk K... Keyboard P. ...Printer.

Claims (1)

【特許請求の範囲】 1、所定時間中のデータの転送量または所定量のデータ
の転送時間を計測して転送レートを得る転送レート計測
手段と、 転送するべきデータの残量を計測する残量 計測手段と、 前記転送レートおよび前記残量に基づいて データ転送終了までの必要時間を算出するデータ転送終
了時間演算手段と を具備したことを特徴とするデータ転送終了時間予測装
置。
[Scope of Claims] 1. Transfer rate measuring means for obtaining a transfer rate by measuring the amount of data transferred during a predetermined time or the transfer time of a predetermined amount of data; and a remaining amount for measuring the remaining amount of data to be transferred. A data transfer end time prediction device, comprising: a measuring means; and a data transfer end time calculation means for calculating the required time until the data transfer ends based on the transfer rate and the remaining amount.
JP2066480A 1990-03-15 1990-03-15 Estimating device for end time of data transfer Pending JPH03265915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2066480A JPH03265915A (en) 1990-03-15 1990-03-15 Estimating device for end time of data transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2066480A JPH03265915A (en) 1990-03-15 1990-03-15 Estimating device for end time of data transfer

Publications (1)

Publication Number Publication Date
JPH03265915A true JPH03265915A (en) 1991-11-27

Family

ID=13316989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2066480A Pending JPH03265915A (en) 1990-03-15 1990-03-15 Estimating device for end time of data transfer

Country Status (1)

Country Link
JP (1) JPH03265915A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015038792A (en) * 2011-11-22 2015-02-26 株式会社東芝 Information processor and time prediction method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015038792A (en) * 2011-11-22 2015-02-26 株式会社東芝 Information processor and time prediction method

Similar Documents

Publication Publication Date Title
US5438665A (en) Direct memory access controller for handling cyclic execution of data transfer in accordance with stored transfer control information
US4206346A (en) System for gathering data representing the number of event occurrences
JP3188862B2 (en) Power consumption analysis method and device
JP2806524B2 (en) Vector operation instruction issue control method
JPH03265915A (en) Estimating device for end time of data transfer
JP2715904B2 (en) Computer system performance evaluation device
JP2716166B2 (en) Information processing device
JP2786057B2 (en) Traffic distribution measurement circuit
KR940007688A (en) How to measure disk and memory data transfer rates
JP3129027B2 (en) Parallel processing computer
JP2572894B2 (en) Data transfer capability measurement method of channel processor
JPS6356737B2 (en)
JP2504617B2 (en) Data read control method
JPS59177659A (en) Data processing device
JP2775830B2 (en) Instruction frequency measurement method
JPH0628133A (en) Information processor and its operation supporting method
JPS63123134A (en) Device performance measuring method
JPS63182750A (en) Device for supporting development of microcomputer
JPH07281964A (en) Checking device for parallel data
JPH066358A (en) Token control method and its equipment
JPH03138733A (en) Controller with operation error display device
JPH02244344A (en) Analysis system for maintenance information
JPH03269640A (en) Virtual computer system
JPH01112346A (en) Performance evaluation data collecting device
JPS63124086A (en) Cursor control system