JPH04107758A - File transfer system - Google Patents
File transfer systemInfo
- Publication number
- JPH04107758A JPH04107758A JP2227769A JP22776990A JPH04107758A JP H04107758 A JPH04107758 A JP H04107758A JP 2227769 A JP2227769 A JP 2227769A JP 22776990 A JP22776990 A JP 22776990A JP H04107758 A JPH04107758 A JP H04107758A
- Authority
- JP
- Japan
- Prior art keywords
- buffer
- file transfer
- records
- data
- 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
- 238000012546 transfer Methods 0.000 title claims description 70
- 238000004891 communication Methods 0.000 claims abstract description 24
- 230000005540 biological transmission Effects 0.000 claims abstract description 12
- 238000012545 processing Methods 0.000 claims abstract description 12
- 238000012544 monitoring process Methods 0.000 claims abstract description 7
- 238000000034 method Methods 0.000 claims description 5
- 208000032370 Secondary transmission Diseases 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
【発明の詳細な説明】
1産業上の利用分野)
本発明は、通信回線て結ばれた複数のシステム間てのフ
ァイルの転送方式に関する
〔従来の技術〕
従来、通信回線で結ばれた複数のシステム間てファイル
の転送を行う場合、送信側システムでは性能を考慮して
、ファイルに格納されているレコードをそのまま通信回
線を通して受信側システムへ送信するのではなく、複数
のレコードをプロトコル(送信側システムと受信側シス
テムとの間で予め定められている約束)で定められた形
式でまとめて1つのデータとして送信している。[Detailed Description of the Invention] 1. Field of Industrial Application) The present invention relates to a file transfer method between a plurality of systems connected by a communication line [Prior Art] When transferring files between systems, the sending system takes performance into consideration, and instead of sending the records stored in the file to the receiving system directly through the communication line, multiple records are sent using the protocol (the sending side The data is sent together as one data in a format determined by a predetermined agreement between the system and the receiving system.
この時、複数のレコードをまとめて1つのデータにする
際、複数のレコードを一時的に蓄積するレコード蓄積手
段を用意して、ファイルより読み込んだレコードを一時
的に蓄積し、バッファがレコードで一杯になった時点で
バッファ中にあるレコードを1つのデータとしてまとめ
、受信側システムにデータを送信していた。At this time, when combining multiple records into one piece of data, a record storage means that temporarily stores multiple records is prepared, and the records read from the file are temporarily stored, and the buffer becomes full of records. At that point, the records in the buffer were combined into one piece of data and the data was sent to the receiving system.
上述した従来のファイル転送方式は、送信側システムに
おいて、転送元ファイルの入出力、ファイル転送業務プ
ログラムの処理またはシステムの負荷状態等の要因によ
り、データの送信処理か一時的に中断することが多々あ
り、その場合、バッファにレコードが蓄積されたままの
状態て通信手段に対してデータが渡されないため、通信
手段および通信回線の処理に遊びの時間が生じ、通信回
線の処理能力を十分に利用した高性能なファイル転送が
実現できないという欠点がある。In the conventional file transfer method described above, the data transmission process is often temporarily interrupted on the sending system due to factors such as input/output of the transfer source file, processing of the file transfer business program, or system load status. In that case, records are still stored in the buffer and data is not passed to the communication means, resulting in idle time in the processing of the communication means and communication line, making it impossible to fully utilize the processing capacity of the communication line. The drawback is that high-performance file transfer cannot be achieved.
本発明によるファイル転送システムは、通信回線で結ば
れた複数のシステム間でのファイル転送方式であって、
ファイル転送における転送元のレコードが格納されてい
る転送元ファイルと、
前記転送元ファイルよりレコードを読み込み、ファイル
転送における受信側システムに対してレコードを送信す
るファイル転送業務プログラムと、
前記ファイル転送業務プログラムより起動され、ファイ
ル転送に関して受信側システムとの間て予め決められて
いる約束(プロトコル)に従って、ファイル転送に必要
な制卸データおよびファイルのレコードの送受信と行う
ファイル転送プロトコル実行手段と、
前記レコード蓄積手段に蓄積されたレコードのうちプロ
トコルで定められた形式でまとめて1つのデータとした
複数のレコードを一時的に蓄積するバッファと、
前記ファイル転送プロトコル実行手段において、前記フ
ァイル転送業務プログラムより渡されたレコードを前記
バッファに蓄積するレコード蓄積手段と、
前記レコード蓄積手段により起動され、前記レコード蓄
積手段によりバッファに蓄積されたレコードが一定量以
上になると、バッファ中に蓄積されたレコードをプロト
コルで定められた形式で1つのデータにまとめて受信側
システムへ送信するデータ送信手段と、
前記ファイル転送プロトコル実行手段により起動され
ファイル転送プロトコル実行手段が受信側システムとの
闇で送受信する制御データおよびファイルめレコードを
プロトコルて定められた形式でまとめたデータを、前記
通信回線を通して送受信する通信手段とから構成される
ファイル転送の送信側システムにおいて、前記レコード
蓄積手段により起動され、ファイル転送業務プログラム
から渡されたレコードを前記バッファに最後に蓄積した
時刻を記憶するバッファ更新時刻記憶手段と、
前記バッファ更新時刻記憶手段か記憶しているバッファ
の更新時刻を監視して、一定時間以上バッファの更新が
行われていない場合には前記データ送信手段を起動して
、前記バッファにW積されているレコードの量とは無関
係に、受信側システムに対してデータの送信を行うバッ
ファ監視手段とを有し、
前記バッファか一杯になっていなくても、少なくとも前
記転送元ファイルの入圧力、前記ファイル転送業務プロ
グラムの処理またはシステムの負荷状態の要因により、
データの送信処理か一時的に中断した場合にはその時点
でバッファに蓄積されているレコードを受信側システム
へ送信して構成される。The file transfer system according to the present invention is a file transfer method between a plurality of systems connected by a communication line, and includes a transfer source file storing records of a transfer source in file transfer, and records from the transfer source file. A file transfer business program that reads the file and sends records to the receiving system in the file transfer, and a predetermined agreement (protocol) between the file transfer business program and the receiving system regarding file transfer. Accordingly, there is provided a file transfer protocol execution means for transmitting and receiving control data and file records necessary for file transfer, and a file transfer protocol executing means for transmitting and receiving control data and file records necessary for file transfer, and a file transfer protocol execution means for transmitting and receiving control data and file records necessary for file transfer, and a collection of records stored in the record storage means into one data in a format specified by the protocol. a buffer for temporarily accumulating a plurality of records; a record accumulating means for accumulating in the buffer records passed from the file transfer business program in the file transfer protocol execution means; When the number of records accumulated in the buffer by the record accumulation means exceeds a certain amount, the data transmission means collects the records accumulated in the buffer into one data in a format specified by the protocol and transmits it to the receiving system; started by the file transfer protocol execution means.
A file transfer system comprising a communication means for transmitting and receiving control data and file records compiled in a format specified by the protocol, which the file transfer protocol execution means secretly transmits and receives to and from the receiving system, through the communication line. In the sending side system, buffer update time storage means is activated by the record storage means and stores a time when records passed from the file transfer business program were last stored in the buffer; monitors the update time of the buffer in which the buffer is updated, and if the buffer has not been updated for a certain period of time or more, activates the data transmitting means, regardless of the amount of records accumulated in the buffer, buffer monitoring means for transmitting data to a receiving system, and even if the buffer is not full, at least the input pressure of the transfer source file, the processing of the file transfer business program, or the system load is maintained. Due to condition factors,
If the data transmission process is temporarily interrupted, the records stored in the buffer at that time are transmitted to the receiving system.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図を参照すると、本発明の一実施例は、送信側シス
テム1、受信側システム2、転送元ファイル3、ファイ
ル転送業務プログラム4、ファイル転送プロトコル実行
手段5、レコード蓄積手段6、データ送信手段7、バッ
ファ8、バッファ更新時刻記憶手段9、バッファ監視手
段10、通信手段11、通信回線12および転送先ファ
イル13から構成されている。Referring to FIG. 1, one embodiment of the present invention includes a sending system 1, a receiving system 2, a transfer source file 3, a file transfer business program 4, a file transfer protocol execution means 5, a record storage means 6, a data transmission It is composed of a means 7, a buffer 8, a buffer update time storage means 9, a buffer monitoring means 10, a communication means 11, a communication line 12, and a transfer destination file 13.
次に、本発明の動作について、図面を参照して説明する
。Next, the operation of the present invention will be explained with reference to the drawings.
送信側システム1と受信側システム2とは、通信回線1
2により結ばれており、送信側システム1にはファイル
転送における転送元ファイル3か、受信側システム2に
はファイル転送における転送先ファイル13が存在する
。The sending system 1 and the receiving system 2 are connected to the communication line 1.
2, the sending system 1 has a source file 3 for file transfer, and the receiving system 2 has a destination file 13 for file transfer.
以下に、送信側システム1と受信側システム2との間で
、通信回線12を通してファイル転送を行なう際の送信
側システムの動作について説明する。The operation of the sending system when transferring files between the sending system 1 and the receiving system 2 through the communication line 12 will be described below.
転送元ファイル3には、複数のレコードか格納されてい
る。ファイル転送業務プログラム4は、転送元ファイル
3中のレコードを読み込み、ファイル転送プロトコル実
行手段5を起動する。ファイル転送プロトコル実行手段
5は、ファイル転送業務プログラム4よりレコードを受
は取ると、レコード蓄積手段6を起動する。レコード蓄
積手段6は、ファイル転送業務プログラム4より渡され
たレコードを一時的に蓄積する領域であるバッファ8に
格納されているレコードの大きさを調べる。The transfer source file 3 stores a plurality of records. The file transfer business program 4 reads the record in the transfer source file 3 and starts the file transfer protocol execution means 5. When the file transfer protocol execution means 5 receives a record from the file transfer business program 4, it activates the record storage means 6. The record storage means 6 checks the size of the records stored in the buffer 8, which is an area for temporarily storing records passed from the file transfer business program 4.
バッファ8に空きがある場合は、ファイル転送業務プロ
グラム4より渡されたレコードをバッファ8に蓄積し、
さらに、バッファ更新時刻記憶手段9を起動してバッフ
ァ8を!&後に更新した時刻を記憶する。If there is space in the buffer 8, the records passed from the file transfer business program 4 are accumulated in the buffer 8,
Furthermore, the buffer update time storage means 9 is activated to update the buffer 8! &Remember the updated time after.
バッファ8か、既に蓄積されているレコードで一杯の場
合には、データ送信手段7を起動する。。If the buffer 8 is full of already stored records, the data transmitting means 7 is activated. .
データ送信手段7は、バッファ8中に蓄積されている複
数のレコードを、受信側システム2との間ヂ予め決めら
れている約束(プロトコル)に従って1つのデータにま
とめ、通信手段11を起動して受信側システム2に対し
てデータを送信し、バッファ8を初期化する。The data transmitting means 7 combines the plurality of records accumulated in the buffer 8 into one data according to a predetermined agreement (protocol) with the receiving system 2, and activates the communication means 11. Data is transmitted to the receiving system 2 and the buffer 8 is initialized.
一方、バッファ監視手段10は、バッファ更新時刻記憶
手段9が記憶している時刻を監視し、−定時間以上バッ
ファが更新されない場合はデータ送信手段7を起動する
。データ送信手段7は、レコード蓄積手段6から起動さ
れた場合と同様に、バッファ8中に蓄積されている複数
のレコードを1つのデータにまとめ、通信手段11を起
動して受信側システム2に対してデータを送信し、バッ
ファ8を初期化する。On the other hand, the buffer monitoring means 10 monitors the time stored in the buffer update time storage means 9, and activates the data transmission means 7 if the buffer is not updated for a predetermined period of time or more. The data transmitting means 7, in the same way as when activated by the record accumulating means 6, combines a plurality of records accumulated in the buffer 8 into one data, activates the communication means 11, and transmits the data to the receiving system 2. The buffer 8 is initialized by transmitting the data.
以上を繰り返して、ファイル転送か実行される。Repeat the above steps to transfer the file.
以上説明したように本発明ては、送信側システムにおい
て、転送元ファイルの入8力、ファイル転送業務プログ
ラムの処理、システムの負荷状態等の要因により、デー
タの送信処理か一時的に中断することかあっても、バッ
ファの状態を監視して一定時開以上バッファの更新され
ない場合には、その時点でバッファに格納されているレ
コードを1つのデータとして受信側システムに送信する
ことにより、通信手段や通信回線の処理に遊びの時間を
生じさせることなく通信回線の処理能力を十分に利用し
た高性能なファイル転送が可能となる。As explained above, in the present invention, data transmission processing can be temporarily interrupted in the sending system due to factors such as input of the transfer source file, processing of the file transfer business program, system load status, etc. However, if the buffer status is monitored and the buffer is not updated for a certain period of time, the communication means can transmit the record stored in the buffer at that time as one piece of data to the receiving system. This makes it possible to perform high-performance file transfer that fully utilizes the processing capacity of the communication line without causing any idle time in the processing of the communication line.
・・転送元システム、4・・・ファイル転送業務プログ
ラム、5・・・ファイル転送プロトコル実行手段、6・
・・レコード蓄積手段、7・・・子−夕送信手段、8゜
バッファ、9・・・バッファ更新時刻記憶手段、10・
・バッファ監視手段、11・・通信手段、12・・通信
回線、13・・・転送先ファイル。...Transfer source system, 4. File transfer business program, 5. File transfer protocol execution means, 6.
. . . record storage means, 7 . . . secondary transmission means, 8° buffer, 9 .
- Buffer monitoring means, 11... Communication means, 12... Communication line, 13... Transfer destination file.
Claims (1)
方式であって、 ファイル転送における転送元のレコードが格納されてい
る転送元ファイルと、 前記転送元ファイルよりレコードを読み込み、ファイル
転送における受信側システムに対してレコードを送信す
るファイル転送業務プログラムと、 前記ファイル転送業務プログラムより起動され、ファイ
ル転送に関して受信側システムとの間で予め決められて
いる約束(プロトコル)に従つて、ファイル転送に必要
な制御データおよびファイルのレコードの送受信を行う
ファイル転送プロトコル実行手段と、 前記レコード蓄積手段に蓄積されたレコードのうちプロ
トコルで定められた形式でまとめて1つのデータとした
複数のレコードを一時的に蓄積するバッファと、 前記ファイル転送プロトコル実行手段において、前記フ
ァイル転送業務プログラムより渡されたレコードを前記
バッファに蓄積するレコード蓄積手段と、 前記レコード蓄積手段により起動され、前記レコード蓄
積手段によりバッファに蓄積されたレコードが一定量以
上になると、バッファ中に蓄積されたレコードをプロト
コルで定められた形式で1つのデータにまとめて受信側
システムへ送信するデータ送信手段と、 前記ファイル転送プロトコル実行手段により起動され、
ファイル転送プロトコル実行手段が受信側システムとの
間で送受信する制御データおよびファイルのレコードを
プロトコルで定められた形式でまとめたデータを、前記
通信回線を通して送受信する通信手段とから構成される
ファイル転送の送信側システムにおいて、前記レコード
蓄積手段により起動され、ファイル転送業務プログラム
から渡されたレコードを前記バッファに最後に蓄積した
時刻を記憶するバッファ更新時刻記憶手段と、 前記バッファ更新時刻記憶手段が記憶しているバッファ
の更新時刻を監視して、一定時間以上バッファの更新が
行われていない場合には前記データ送信手段を起動して
、前記バッファに蓄積されているレコードの量とは無関
係に、受信側システムに対してデータの送信を行うバッ
ファ監視手段とを有し、 前記バッファが一杯になっていなくても、少なくとも前
記転送元ファイルの入出力、前記ファイル転送業務プロ
グラムの処理またはシステムの負荷状態の要因により、
データの送信処理が一時的に中断した場合にはその時点
でバッファに蓄積されているレコードを受信側システム
へ送信して成ることを特徴とするファイル転送方式。[Claims] A file transfer method between a plurality of systems connected by a communication line, comprising: a source file storing source records in file transfer; and reading records from the source file. , a file transfer business program that sends records to a receiving system in file transfer; and a file transfer business program that is started by the file transfer business program and follows a predetermined agreement (protocol) between the file transfer and the receiving system. a file transfer protocol execution means for transmitting and receiving control data and file records necessary for file transfer; and a plurality of records stored in the record storage means that are combined into one data in a format specified by the protocol. a buffer for temporarily accumulating records of; a record accumulating means for accumulating in the buffer records passed from the file transfer business program in the file transfer protocol execution means; a data transmitting means for combining the records accumulated in the buffer into one data in a format specified by a protocol and transmitting the data to a receiving system when the number of records accumulated in the buffer exceeds a certain amount by the accumulating means; activated by the transfer protocol execution means,
A file transfer system comprising a communication means for sending and receiving control data sent and received by the file transfer protocol execution means to and from the receiving system and data in which file records are summarized in a format specified by the protocol, through the communication line. In the sending system, buffer update time storage means is activated by the record storage means and stores a time when records passed from the file transfer business program are last stored in the buffer; The update time of the buffer stored in the buffer is monitored, and if the buffer has not been updated for a certain period of time or more, the data transmission means is activated to receive data regardless of the amount of records accumulated in the buffer. buffer monitoring means for transmitting data to the side system, and even if the buffer is not full, at least the input/output of the transfer source file, the processing of the file transfer business program, or the load state of the system is provided. Due to the factors of
A file transfer method characterized in that when data transmission processing is temporarily interrupted, records accumulated in a buffer at that time are transmitted to a receiving system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2227769A JPH04107758A (en) | 1990-08-29 | 1990-08-29 | File transfer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2227769A JPH04107758A (en) | 1990-08-29 | 1990-08-29 | File transfer system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04107758A true JPH04107758A (en) | 1992-04-09 |
Family
ID=16866093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2227769A Pending JPH04107758A (en) | 1990-08-29 | 1990-08-29 | File transfer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04107758A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5533281A (en) * | 1978-08-31 | 1980-03-08 | Fujitsu Ltd | Data transfer system |
JPS63300342A (en) * | 1987-05-29 | 1988-12-07 | Nec Corp | Data file transfer system |
-
1990
- 1990-08-29 JP JP2227769A patent/JPH04107758A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5533281A (en) * | 1978-08-31 | 1980-03-08 | Fujitsu Ltd | Data transfer system |
JPS63300342A (en) * | 1987-05-29 | 1988-12-07 | Nec Corp | Data file transfer system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5664091A (en) | Method and system for a voiding unnecessary retransmissions using a selective rejection data link protocol | |
US7051112B2 (en) | System and method for distribution of software | |
US4995056A (en) | System and method for data communications | |
JP4560213B2 (en) | Multiple reception confirmation management system in data network | |
US6035335A (en) | Optimistic, eager rendezvous transmission system and combined rendezvous system for message processing, and related data structures | |
JPH04107758A (en) | File transfer system | |
CN113992609B (en) | Method and system for processing multilink service data disorder | |
JPH04245355A (en) | File transfer system | |
JPS6335139B2 (en) | ||
KR0154489B1 (en) | Apparatus for receiving/sending ipc message in atm switching system and method thereof | |
JP2973936B2 (en) | Data transmission method | |
JP3045147B2 (en) | Mobile communication data relay device | |
CN117667813A (en) | Data communication method, device, electronic device and storage medium | |
JP2522435B2 (en) | Input message guarantee method for computer system | |
JP4283798B2 (en) | DATA COMMUNICATION SYSTEM, TRANSMITTER COMPUTER, AND PROGRAM | |
JPH04268660A (en) | Data transfer repeating system | |
JPH1027231A (en) | Ic card | |
CA2358137C (en) | System and method for distribution of software | |
JPH0547144B2 (en) | ||
JPH05176000A (en) | Data repeater | |
JPH0311142B2 (en) | ||
JPH03233745A (en) | Transmission data control system | |
JPS62120761A (en) | Data transmission and reception control system | |
JPH0341543A (en) | Data buffer control system for controller on communication network | |
JPH02121550A (en) | Data communication device |