JPH04245355A - File transfer system - Google Patents

File transfer system

Info

Publication number
JPH04245355A
JPH04245355A JP3047224A JP4722491A JPH04245355A JP H04245355 A JPH04245355 A JP H04245355A JP 3047224 A JP3047224 A JP 3047224A JP 4722491 A JP4722491 A JP 4722491A JP H04245355 A JPH04245355 A JP H04245355A
Authority
JP
Japan
Prior art keywords
file transfer
records
data
buffer
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
Application number
JP3047224A
Other languages
Japanese (ja)
Inventor
Masahiro Yamaguchi
昌宏 山口
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 JP3047224A priority Critical patent/JPH04245355A/en
Publication of JPH04245355A publication Critical patent/JPH04245355A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To enable high-performance file transfer which utilizes the processing ability of a communication line sufficiently without generating any free time in processes of a communication means and a communication line. CONSTITUTION:A host load monitor means 10 monitors the load state (e.g. CPU use rate) of a host and actuates a data transmitting means 7 when judging that the load is small. The data transmitting means 7 puts plural records, stored in a buffer 8, together in one similarly to actuation from a record storage means 6 even if the buffer 8 is not full, and actuates a communication means 11 to send data to a reception-side system 2.

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 transferring files between a plurality of systems connected by communication circuits.

【0002】0002

【従来の技術】従来、通信回線で結ばれた複数のシステ
ム間でファイルの転送を行う場合、送信側システムでは
、性能を考慮して、ファイルに格納されているレコード
をそのまま通信回線を通して受信側システムへ送信する
のではなく、複数のレコードをプロトコル(送信側シス
テムと受信側システムとの間で予め決められている約束
)で定められた形式でまとめて1つのデータとして送信
している。
[Background Art] Conventionally, when transferring files between multiple systems connected by a communication line, the sending system transfers the records stored in the file as is to the receiving side through the communication line, taking performance into consideration. Rather than transmitting it to the system, multiple records are sent together as one data in a format determined by a protocol (a predetermined agreement between the transmitting system and the receiving system).

【0003】この時、複数のレコードをまとめて1つの
データにする際、複数のレコードを一時的に蓄積するレ
コード蓄積手段を用意して、ファイルより読み込んだレ
コードを一時的に蓄積し、バッファがレコードで一杯に
なった時点でバッファ中にあるレコードを1つのデータ
としてまとめ、受信側システムにデータを送信していた
[0003] At this time, when combining multiple records into one data, a record storage means for temporarily storing the multiple records is prepared, and the records read from the file are temporarily stored, and the buffer is When the buffer was full of records, the records in the buffer were combined into one piece of data and the data was sent to the receiving system.

【0004】0004

【発明が解決しようとする課題】しかしながら、上述し
た従来のファイル転送方式では、以下の欠点がある。
However, the conventional file transfer method described above has the following drawbacks.

【0005】送信側システムにおいて、転送元ファイル
の入出力、ファイル転送業務プログラムの処理、システ
ムの負荷状態等の要因により、データの送信処理が一時
的に中断することが多々あり、その場合、バッファにレ
コードが蓄積されたままの状態で通信手段に対してデー
タが渡されないため、通信手段、及び、通信回線の処理
に遊びの時間が生じ、通信回線の処理能力を十分に利用
した高性能なファイル転送が実現できない。
[0005] In the sending system, the data sending process is often temporarily interrupted due to factors such as input/output of the transfer source file, processing of the file transfer business program, and system load status. Since the data is not passed to the communication means while the records are still stored in the memory, there is idle time in the processing of the communication means and the communication line. File transfer is not possible.

【0006】[0006]

【課題を解決するための手段】本発明によるファイル転
送方式は、通信回路で結ばれた複数のシステム間でのフ
ァイル転送方式であって、ファイル転送における転送元
のレコードが格納されている転送元ファイルと、前記転
送元ファイルよりレコードを読み込み、ファイル転送に
おける受信側システムに対してレコードを送信するファ
イル転送業務プログラムと、前記ファイル転送業務プロ
グラムより起動され、ファイル転送に関して受信側シス
テムとの間で予め決められている約束(プロトコル)に
従って、ファイル転送に必要な制御データおよびファイ
ルのレコードの送受信を行うファイル転送プロトコル実
行手段と、受信側システムに対して、複数のレコードを
プロトコルで定められた形式でまとめて1つのデータと
して送信するために、複数のレコードを一時的に蓄積す
るバッファと、前記ファイル転送プロトコル実行手段に
おいて、前記ファイル転送業務プログラムより渡された
レコードを前記バッファに蓄積するレコード蓄積手段と
、前記レコード蓄積手段により起動され、前記レコード
蓄積手段によりバッファに蓄積されたレコードが一定量
以上になると、バッファ中に蓄積されたレコードをプロ
トコルで定められた形式で1つのデータにまとめて受信
側システムへ送信するデータ送信手段と、前記ファイル
転送プロトコル実行手段により起動され、ファイル転送
プロトコル実行手段が受信側システムとの間で送受信す
る制御データ、およびファイルのレコードをプロトコル
で定められた形式でまとめたデータを、前記通信回線を
通して送受信する通信手段とから構成されるファイル転
送の送信側システムにおいて、ホストの負荷状態を監視
して、負荷が低いと判断した場合には前記データ送信手
段を起動して、前記バッファに蓄積されているレコード
の量とは無関係に、受信側システムに対してデータの送
信を行うホスト負荷監視手段を有している。
[Means for Solving the Problems] The file transfer method according to the present invention is a file transfer method between a plurality of systems connected by a communication circuit, and is a method for transferring files between a plurality of systems connected by a communication circuit. A file, a file transfer business program that reads records from the transfer source file, and sends the records to the receiving system in the file transfer, and a file transfer business program that is started by the file transfer business program and that executes the process of transferring records between the file and the receiving system regarding the file transfer. A file transfer protocol execution means that sends and receives control data and file records necessary for file transfer according to a predetermined agreement (protocol), and sends multiple records to the receiving system in a format specified by the protocol. a buffer for temporarily accumulating a plurality of records in order to send them all together as one data; and a record storage for accumulating records passed from the file transfer business program in the buffer in the file transfer protocol execution means. means, and when the records accumulated in the buffer by the record accumulation means reach a certain amount or more, the records accumulated in the buffer are combined into one data in a format specified by the protocol. Data transmission means to be sent to the receiving system, control data that is activated by the file transfer protocol execution means and transmitted and received by the file transfer protocol execution means to and from the receiving system, and file records in a format specified by the protocol. In the file transfer sending system, which consists of a communication means that sends and receives the data summarized in the above communication line, the host's load status is monitored, and if the load is determined to be low, the data sending means is A host load monitoring means is activated to send data to the receiving system regardless of the amount of records stored in the buffer.

【0007】また通信回線の負荷状態を監視して、負荷
が低いと判断した場合には前記データ送信手段を起動し
て、前記バッファに蓄積されているレコードの量とは無
関係に、受信側システムに対してデータの送信を行う回
線負荷監視手段を有している。
[0007] Furthermore, the load state of the communication line is monitored, and if it is determined that the load is low, the data transmission means is activated, and the receiving side system It has line load monitoring means for transmitting data to.

【0008】[0008]

【作用】本発明によれば、バッファが一杯になった時点
で受信側システムに対してデータを送信する従来のファ
イル転送方式とは異なり、バッファが一杯になっていな
くても、転送元ファイルの入出力、ファイル転送業務プ
ログラムの処理、システムの負荷状態等の要因により、
データの送信処理が一時的に中断した場合には、その時
点で前記バッファに蓄積されているレコードを受信側シ
ステムへ送信することにより、通信回線の処理能力を十
分に利用して高性能なファイル転送を可能とする。
[Operation] According to the present invention, unlike the conventional file transfer method that sends data to the receiving system when the buffer is full, the transfer source file can be transferred even if the buffer is not full. Due to factors such as input/output, file transfer business program processing, and system load status,
If the data transmission process is temporarily interrupted, the records accumulated in the buffer at that time are sent to the receiving system, making full use of the processing power of the communication line to create a high-performance file. enable transfer.

【0009】[0009]

【実施例】本発明について図面を参照して詳細に説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be explained in detail with reference to the drawings.

【0010】図1を参照すると、本発明の一実施例は、
送信側システム1、受信側システム2、転送元ファイル
3、ファイル転送業務プログラム4、ファイル転送プロ
トコル実行手段5、レコード蓄積手段6、データ送信手
段7、バッファ8、ホスト負荷監視手段10、通信手段
11、通信回線12、転送先ファイル13から構成され
ている。
Referring to FIG. 1, one embodiment of the present invention includes:
Sending side system 1, receiving side system 2, transfer source file 3, file transfer business program 4, file transfer protocol execution means 5, record storage means 6, data transmission means 7, buffer 8, host load monitoring means 10, communication means 11 , a communication line 12, and a transfer destination file 13.

【0011】次に、本発明の動作について、図面を参照
して説明する。
Next, the operation of the present invention will be explained with reference to the drawings.

【0012】送信側システム1と受信側システム2は、
通信回線12により結ばれており、送信側システム1に
はファイル転送における転送元ファイル3が、受信側シ
ステム2にはファイル転送における転送先ファイル13
が存在する。
[0012] The sending system 1 and the receiving system 2 are as follows:
They are connected by a communication line 12, and the sending system 1 has the source file 3 for file transfer, and the receiving system 2 has the destination file 13 for file transfer.
exists.

【0013】以下に、送信側システム1と受信側システ
ム2との間で、通信回線12を通してファイル転送を行
なう際の送信側システムの動作について説明する。
The operation of the transmitting system when a file is transferred between the transmitting system 1 and the receiving system 2 through the communication line 12 will be explained below.

【0014】転送元ファイル3には、複数のレコードが
格納されている。
[0014] The transfer source file 3 stores a plurality of records.

【0015】ファイル転送業務プログラム4は、転送元
ファイル3中のレコードを読み込み、ファイル転送プロ
トコル実行手段5を起動する。
The file transfer business program 4 reads the record in the transfer source file 3 and starts the file transfer protocol execution means 5.

【0016】ファイル転送プロトコル実行手段5は、フ
ァイル転送業務プログラム4よりレコードを受け取ると
、レコード蓄積手段6を起動する。
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.

【0017】レコード蓄積手段6は、ファイル転送業務
プログラム4より渡されたレコードを一時的に蓄積する
領域であるバッファ8に格納されているレコードの大き
さを調べる。
The record storage means 6 checks the size of the record stored in the buffer 8, which is an area for temporarily storing records passed from the file transfer business program 4.

【0018】バッファ8に空きがある場合は、ファイル
転送業務プログラム4より渡されたレコードをバッファ
8に蓄積する。
If there is space in the buffer 8, records passed from the file transfer business program 4 are stored in the buffer 8.

【0019】バッファ8が、既に蓄積されているレコー
ドで一杯の場合には、データ送信手段7を起動する。
If the buffer 8 is full of already stored records, the data transmitting means 7 is activated.

【0020】デター送信手段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 sends the communication means 11 to the data transmitting means 7. It starts up, transmits data to the receiving system 2, and initializes the buffer 8.

【0021】一方、ホスト負荷監視手段10は、ホスト
の負荷状態(例えば、CPU使用率)を監視し、負荷が
低いと判断した場合はデータ送信手段7を起動する。
On the other hand, the host load monitoring means 10 monitors the load state (for example, CPU usage rate) of the host, and activates the data transmission means 7 when it is determined that the load is low.

【0022】データ送信手段7は、レコード蓄積手段6
から起動された場合と同様に、バッファ8中に蓄積され
ている複数のレコードを1つのデータにまとめ、通信手
段11を起動して受信側システム2に対してデータを送
信し、バッファ8を初期化する。
[0022] The data transmission means 7 includes the record storage means 6
As in the case where the buffer 8 is started up, multiple records accumulated in the buffer 8 are combined into one data, the communication means 11 is started up, the data is sent to the receiving system 2, and the buffer 8 is initialized. become

【0023】以上を繰り返して、ファイル転送が実行さ
れる。 (他の実施例)図2は本発明の他の実施例を示す図であ
り、同図において、データ送信手段7は、バッファ8中
に蓄積されている複数のレコードを、受信側システム2
との間で予め決められている約束(プロトコル)に従っ
て1つのデータにまとめ、通信手段11を起動して受信
側システム2に対してデータを送信し、バッファ8を初
期化する。
File transfer is executed by repeating the above steps. (Other Embodiments) FIG. 2 is a diagram showing another embodiment of the present invention, in which the data transmitting means 7 sends a plurality of records accumulated in the buffer 8 to the receiving side system 2.
The communication means 11 is activated to transmit the data to the receiving system 2, and the buffer 8 is initialized.

【0024】一方、回線負荷監視手段14は、通信回線
の負荷状態を監視し、負荷が低いと判断した場合はデー
タ送信手段7を起動する。
On the other hand, the line load monitoring means 14 monitors the load state of the communication line, and activates the data transmitting means 7 if it is determined that the load is low.

【0025】データ送信手段7は、レコード蓄積手段6
から起動された場合と同様に、バッファ8中に蓄積され
ている複数のレコードを1つのデータにまとめ、通信手
段11を起動して受信側システム2に対してデータを送
信し、バッファ8を初期化する。
The data transmitting means 7 includes the record storing means 6
As in the case where the buffer 8 is started up, multiple records accumulated in the buffer 8 are combined into one data, the communication means 11 is started up, the data is sent to the receiving system 2, and the buffer 8 is initialized. become

【0026】以上を繰り返して、ファイル転送が実行さ
れる。
File transfer is executed by repeating the above steps.

【0027】[0027]

【発明の効果】以上説明したように本発明では、送信側
システムにおいて、転送元ファイルの入出力、ファイル
転送業務プログラムの処理、システムの負荷状態等の要
因により、データの送信処理が一時的に中断することが
あっても、ホストの負荷(例えば、CPU使用率)、ま
たは回線負荷が低い場合には、その時点でバッファが一
杯でなくてもバッファに格納されているレコードを1つ
のデータとして受信側システムに送信することにより、
通信手段、及び、通信回線の処理に遊びの時間を生じさ
せることなく、通信回線の処理能力を十分に利用した高
性能なファイル転送が可能となる。
[Effects of the Invention] As explained above, in the present invention, data transmission processing may be temporarily interrupted in the sending system due to factors such as input/output of the transfer source file, processing of the file transfer business program, and system load status. Even if there is an interruption, if the host load (e.g. CPU usage) or line load is low, the records stored in the buffer will be treated as one data even if the buffer is not full at that time. By sending it to the receiving system,
It is possible to perform high-performance file transfer that fully utilizes the processing capacity of the communication line without causing idle time in the processing of the communication means and the communication line.

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

【図1】本発明の一実施例を示す図である。FIG. 1 is a diagram showing an embodiment of the present invention.

【図2】本発明の他の実施例を示す図である。FIG. 2 is a diagram showing another embodiment of the present invention.

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

1  送信側システム、 2  受信側システム、 3  転送元ファイル、 4  ファイル転送業務プログラム、 5  ファイル転送プロトコル実行手段、6  レコー
ド蓄積手段、 7  データ送信手段、 8  バッファ、 10  ホスト負荷監視手段、 11  通信手段、 12  通信回線、 13  転送先ファイル、 14  回線負荷監視手段。
1 Sending side system, 2 Receiving side system, 3 Transfer source file, 4 File transfer business program, 5 File transfer protocol execution means, 6 Record storage means, 7 Data sending means, 8 Buffer, 10 Host load monitoring means, 11 Communication means , 12 communication line, 13 transfer destination file, 14 line load monitoring means.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  通信回路で結ばれた複数のシステム間
でのファイル転送方式であって、ファイル転送における
転送元のレコードが格納されている転送元ファイルと、
前記転送元ファイルよりレコードを読み込み、ファイル
転送における受信側システムに対してレコードを送信す
るファイル転送業務プログラムと、前記ファイル転送業
務プログラムより起動され、ファイル転送に関して受信
側システムとの間で予め決められている約束(プロトコ
ル)に従って、ファイル転送に必要な制御データおよび
ファイルのレコードの送受信を行うファイル転送プロト
コル実行手段と、受信側システムに対して、複数のレコ
ードをプロトコルで定められた形式でまとめて1つのデ
ータとして送信するために、複数のレコードを一時的に
蓄積するバッファと、前記ファイル転送プロトコル実行
手段において、前記ファイル転送業務プログラムより渡
されたレコードを前記バッファに蓄積するレコード蓄積
手段と、前記レコード蓄積手段により起動され、前記レ
コード蓄積手段によりバッファに蓄積されたレコードが
一定量以上になると、バッファ中に蓄積されたレコード
をプロトコルで定められた形式で1つのデータにまとめ
て受信側システムへ送信するデータ送信手段と、前記フ
ァイル転送プロトコル実行手段により起動され、ファイ
ル転送プロトコル実行手段が受信側システムとの間で送
受信する制御データ、およびファイルのレコードをプロ
トコルで定められた形式でまとめたデータを、前記通信
回線を通して送受信する通信手段とから構成されるファ
イル転送の送信側システムにおいて、ホストの負荷状態
を監視して、該負荷が低いと判断した場合に、前記デー
タ送信手段を起動して、前記バッファに蓄積されている
レコードの量とは無関係に、受信側システムに対してデ
ータの送信を行うホスト負荷監視手段を有することを特
徴とするファイル転送方式。
Claim 1: A file transfer method between a plurality of systems connected by a communication circuit, comprising: a transfer source file storing a transfer source record in file transfer;
A file transfer business program that reads records from the transfer source file and sends the records to the receiving system in the file transfer, and a file transfer business program that is started by the file transfer business program and is predetermined with the receiving system regarding file transfer. A file transfer protocol execution means that sends and receives control data and file records necessary for file transfer according to the protocol, and a file transfer protocol execution means that collects multiple records in the format specified by the protocol to the receiving system. a buffer for temporarily storing a plurality of records in order to transmit them as one data; a record storage means for storing records passed from the file transfer business program in the buffer in the file transfer protocol execution means; When the records accumulated in the buffer by the record accumulation means reach a certain amount or more, the receiving side system collects the records accumulated in the buffer into one data in a format specified by the protocol. data transmission means to be sent to the system, control data to be sent to and received from the receiving system, and file records activated by the file transfer protocol execution means in a format specified by the protocol. In a file transfer sending system comprising communication means for transmitting and receiving data through the communication line, the load state of the host is monitored, and if the load is determined to be low, the data transmission means is activated. A file transfer method comprising host load monitoring means for transmitting data to a receiving system regardless of the amount of records stored in the buffer.
【請求項2】  前記回線の負荷状態を監視して、該負
荷が低いと判断した場合に、前記データ送信手段を起動
して、前記バッファに蓄積されているレコードの量とは
無関係に、受信側システムに対してデータの送信を行う
回線負荷監視手段を有することを特徴とする請求項1に
記載のファイル転送方式。
2. Monitoring the load state of the line, and when determining that the load is low, activating the data transmitting means to receive data regardless of the amount of records accumulated in the buffer. 2. The file transfer method according to claim 1, further comprising line load monitoring means for transmitting data to the side system.
JP3047224A 1991-01-30 1991-01-30 File transfer system Pending JPH04245355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3047224A JPH04245355A (en) 1991-01-30 1991-01-30 File transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3047224A JPH04245355A (en) 1991-01-30 1991-01-30 File transfer system

Publications (1)

Publication Number Publication Date
JPH04245355A true JPH04245355A (en) 1992-09-01

Family

ID=12769222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3047224A Pending JPH04245355A (en) 1991-01-30 1991-01-30 File transfer system

Country Status (1)

Country Link
JP (1) JPH04245355A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764880A (en) * 1993-08-23 1995-03-10 Nec Corp General computer distribution system
JPH0816445A (en) * 1994-06-27 1996-01-19 Nec Corp Decentralized file system
JP2009302735A (en) * 2008-06-11 2009-12-24 Mitsubishi Electric Corp Answering machine message transmission method, and server apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764880A (en) * 1993-08-23 1995-03-10 Nec Corp General computer distribution system
JPH0816445A (en) * 1994-06-27 1996-01-19 Nec Corp Decentralized file system
JP2009302735A (en) * 2008-06-11 2009-12-24 Mitsubishi Electric Corp Answering machine message transmission method, and server apparatus

Similar Documents

Publication Publication Date Title
JP5364773B2 (en) System and method for managing a connection between a client and a server
US5604866A (en) Flow control system having a counter in transmitter for decrementing and incrementing based upon transmitting and received message size respectively for indicating free space in receiver
US4995056A (en) System and method for data communications
US7051112B2 (en) System and method for distribution of software
EP0525985B1 (en) High speed duplex data link interface
KR970066908A (en) Peripheral interface with delayed flow control of run-length encoded data transmission
US5835779A (en) Message transmission among processing units using interrupt control technique
US6058440A (en) Programmable and adaptive resource allocation device and resource use recorder
JPH04245355A (en) File transfer system
JPH117434A (en) System for processing quick arrival message in ansyncronous data communication system for plural nodes
JPS6335139B2 (en)
KR20010095103A (en) An intelligent bus interconnect unit
KR0154489B1 (en) Apparatus for receiving/sending ipc message in atm switching system and method thereof
JPH04107758A (en) File transfer system
JP2543887B2 (en) Line control device
JP3045147B2 (en) Mobile communication data relay device
JP2643630B2 (en) Message transmission method
CN117331689A (en) Data processing method, network card and computing device
JPH03212752A (en) Data communication system
JPH0831070B2 (en) Communication control device and communication device
JPH01293049A (en) Reception controlling system for distributed processing type packet exchange
JPH03233745A (en) Transmission data control system
JPS62105243A (en) Recovery device for system fault
JPH05100971A (en) Information processing system
JPS59119439A (en) Buffer busy avoiding system