JP2570134B2 - Data broadcast transfer method - Google Patents

Data broadcast transfer method

Info

Publication number
JP2570134B2
JP2570134B2 JP5261059A JP26105993A JP2570134B2 JP 2570134 B2 JP2570134 B2 JP 2570134B2 JP 5261059 A JP5261059 A JP 5261059A JP 26105993 A JP26105993 A JP 26105993A JP 2570134 B2 JP2570134 B2 JP 2570134B2
Authority
JP
Japan
Prior art keywords
transfer
management table
data
destination
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.)
Expired - Fee Related
Application number
JP5261059A
Other languages
Japanese (ja)
Other versions
JPH07114504A (en
Inventor
俊夫 秦
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 JP5261059A priority Critical patent/JP2570134B2/en
Publication of JPH07114504A publication Critical patent/JPH07114504A/en
Application granted granted Critical
Publication of JP2570134B2 publication Critical patent/JP2570134B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、中・大規模ネットワー
クシステムにおいてノードを構成している複数のコンピ
ュータ上で共通に使用するプログラムやデータなどを維
持するためにファイルを同報転送するデータ同報転送方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission system for transmitting a file in order to maintain a program or data commonly used on a plurality of computers constituting a node in a medium- to large-scale network system. Information transfer method.

【0002】[0002]

【従来の技術】従来は、1つのネットワークシステム内
の分散プロセッサ、あるいは端末で使用するプログラム
やデータ(以降、転送対象となるプログラム及びデータ
を単にデータと呼ぶ。)を同等に更新する場合、転送先
の数だけ転送元ファイルを確保し、同数のファイル転送
ツールを個別に実行させていた。
2. Description of the Related Art Conventionally, when a program or data used in a distributed processor or a terminal in one network system (hereinafter, a program and data to be transferred is simply referred to as data) is equally updated, the transfer is performed. The transfer source files were secured as many as the previous number, and the same number of file transfer tools were executed individually.

【0003】また、転送元のコンピュータ資源が充分で
ない場合には、1転送先毎に転送を行うか、または媒体
を搬送して配布先での登録作業を行ってきた。
When the computer resources of the transfer source are not sufficient, the transfer has been performed for each transfer destination, or the medium has been transported and registered at the distribution destination.

【0004】[0004]

【発明が解決しようとする課題】しかしながら複数の宛
先に同じプログラムやデータを同時に配布しようとする
同報ファイル転送の場合、従来のファイル転送システム
では、転送元のコンピュータ上で一宛先毎にディスク領
域を必要とし、常時実施するわけではない業務のために
も、大量のディスク領域を確保しておかなければなら
ず、また、一宛先毎にファイル転送プログラム(必ずし
もジョブでなく、CPU割当単位としてのプロセスある
いは、タスクを指す。)を動作させる必要があり、同時
転送の数だけ主記憶を必要とし、前記ディスク領域と同
様に転送元コンピュータシステムの負荷を大きくしてい
た。
However, in the case of a broadcast file transfer in which the same program or data is to be simultaneously distributed to a plurality of destinations, a conventional file transfer system uses a disk area for each destination on a transfer source computer. Requires a large amount of disk space for tasks that are not always performed, and requires a file transfer program (not necessarily a job but a CPU allocation unit) for each destination. Process or task), which requires main memory as many as the number of simultaneous transfers, thus increasing the load on the source computer system as in the case of the disk area.

【0005】また宛先毎にファイル転送プログラムを動
作させた場合、同一データであるにもかかわらず、宛先
数の回数だけディスクからの読み込み動作が発生し、そ
れだけ入出力チャネル及びCPUを余計に使用すること
になり、コンピュータシステムの負荷を増大させ、運用
に与える影響が非常に大きいという問題点もあった。
When a file transfer program is operated for each destination, a read operation from the disk occurs as many times as the number of destinations even though the data is the same, and the input / output channel and the CPU are used extra. As a result, there is a problem that the load on the computer system is increased and the operation is greatly affected.

【0006】ファイル転送プログラムの動作に当たって
は、宛先コンピュータの準備未了やネットワーク障害に
備えて、操作者が転送元コンピュータの操作卓で対応す
ることになるが、宛先が多い場合には、稼働状況を適確
かつ速やかに把握することは困難であった。
In the operation of the file transfer program, the operator responds at the console of the transfer source computer in preparation for incomplete preparation of the destination computer or a network failure. It was difficult to accurately and quickly grasp the information.

【0007】ファイル転送プログラム動作中に、宛先コ
ンピュータの障害、ネットワーク障害、ファイル転送プ
ログラムの異常終了、転送元コンピュータのシステム障
害等により転送が中断された場合、及びシステム運用の
都合で中断した場合、再開時にはデータの先頭より再送
する必要があり、コンピュータ資源の無駄使いが発生す
るという欠点もあった。
If the transfer is interrupted during the operation of the file transfer program due to a failure of the destination computer, a network failure, abnormal termination of the file transfer program, a system failure of the transfer source computer, or if the transfer is interrupted due to system operation, At the time of resuming, it is necessary to retransmit from the beginning of the data, and there is a disadvantage that computer resources are wasted.

【0008】[0008]

【課題を解決するための手段】 本発明のデータ同報転
送方式は、複数のコンピュータ間が通信回線で接続され
ているコンピュータシステムにおいて、各コンピュータ
は、転送情報が格納されている転送管理ファイルをもと
に主記憶中に転送管理表を作成し、転送中断に備えて定
期的に転送管理表を転送管理ファイルに退避する転送管
理表生成退避手段と、前記転送管理表中の転送先アドレ
スと、該転送先アドレスに対応するコンピュータとの間
の回線接続状況を含む転送状況コードとをもとに、各転
送先コンピュータへの接続及び切断を行う転送先接続切
断手段と、転送先への接続及びデータ転送に対する応答
情報を受信し、転送管理表の回線接続状況を含む転送状
況を更新する通信応答情報受信手段と、データファイル
読み込み用バッファを介して転送データを読み込み、転
送管理表から回線接続が完了した転送先アドレスを入手
し、転送用バッファを介してデータ転送を行う転送手段
とを備える。
According to the data broadcast transfer method of the present invention, in a computer system in which a plurality of computers are connected by a communication line, each computer transmits a transfer management file storing transfer information. A transfer management table generating and saving means for creating a transfer management table in the main memory based on the schedule and periodically saving the transfer management table in a transfer management file in preparation for transfer interruption, and a transfer destination address in the transfer management table. Transfer connection disconnecting means for connecting to and disconnecting from each transfer destination computer based on a transfer status code including a line connection status with the computer corresponding to the transfer destination address; and connection to the transfer destination. Communication response information receiving means for receiving response information for data transfer and updating the transfer status including the line connection status in the transfer management table, and a data file reading buffer And transfer means for reading the transfer data via the transfer management table, obtaining the transfer destination address for which the line connection has been completed from the transfer management table, and transferring the data via the transfer buffer.

【0009】[0009]

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

【0010】図1は、本発明の構成を示すブロック図で
あり、転送情報が格納されている転送管理ファイル8を
もとに主記憶中に転送管理表5を作成し、転送中断に備
えて定期的に転送管理表5を転送管理ファイル8に退避
するための転送管理表生成退避手段1と、転送管理表5
中の転送先アドレスと転送状況コードをもとに各転送先
コンピュータへの接続及び切断を行う転送先接続切断手
段2と、転送先への接続及びデータ転送に対する応答情
報を受信し、転送管理表5の転送状況を更新する通信応
答情報受信手段3と、データファイル読み込み用バッフ
ァ6を介して転送データを読み込み、転送管理表5から
転送可能な転送先アドレスを入手し、転送用バッファ7
を介してデータ転送を行う転送手段4とを備えているこ
とを示している。
FIG. 1 is a block diagram showing the configuration of the present invention. A transfer management table 5 is created in a main memory based on a transfer management file 8 in which transfer information is stored to prepare for transfer interruption. A transfer management table generating and saving means 1 for periodically saving the transfer management table 5 in the transfer management file 8;
A transfer destination connection / disconnection means 2 for connecting and disconnecting each transfer destination computer based on the transfer destination address and the transfer status code, and response information for connection to the transfer destination and data transfer; 5, the transfer data is read via the communication response information receiving means 3 for updating the transfer status of the transfer buffer 5 and the data file read buffer 6, and the transferable transfer destination address is obtained from the transfer management table 5;
And transfer means 4 for performing data transfer via the communication device.

【0011】ここで転送管理表5は、本システムの起動
後にコンピュータの主記憶中に生成され、転送管理表生
成退避手段1、転送先接続切断手段2、通信応答情報受
信手段3、転送手段4から同時に参照、更新されるもの
とする。
Here, the transfer management table 5 is generated in the main memory of the computer after the start of the system, and the transfer management table generation / save unit 1, the transfer destination connection disconnecting unit 2, the communication response information receiving unit 3, the transfer unit 4 And updated at the same time.

【0012】図1の転送管理表5中のNは、転送先の数
を表し、各々の転送先に対して、1からNまでの連番が
割り当てられている。転送先アドレスは、転送先との接
続・切断とデータ転送を行う場合に、転送先を指定する
ため、及び転送先からの応答と通信回線上の障害通知に
ついて転送先を識別するために使用される。
N in the transfer management table 5 of FIG. 1 represents the number of transfer destinations, and a serial number from 1 to N is assigned to each transfer destination. The transfer destination address is used to specify the transfer destination when connecting / disconnecting and transferring data to the transfer destination, and to identify the transfer destination in response from the transfer destination and notification of a failure on the communication line. You.

【0013】また、転送管理ファイル8は、転送管理表
5と同じデータ項目を持ち、本システムの起動前に準備
される。新規に転送を行う場合には、転送状況レコード
及び転送完了ブロック番号は全て0(ゼロ)であり、転
送先連番と転送先アドレスは、本システムの操作者によ
り設定される。転送元コンピュータからの運用の場合、
及びシステム障害等の理由により中断された後で起動さ
れる場合には、中断前に退避した転送管理表5のデータ
内容がそのまま使用される。いずれの場合にも、転送管
理ファイル8の内容が、転送管理表生成退避手段1によ
り転送管理表5として生成される。
The transfer management file 8 has the same data items as the transfer management table 5, and is prepared before the start of the present system. When a new transfer is performed, the transfer status record and the transfer completion block number are all 0 (zero), and the transfer destination serial number and the transfer destination address are set by the operator of the system. For operation from the source computer,
In the case where the transfer is started after the interruption due to a system failure or the like, the data content of the transfer management table 5 saved before the interruption is used as it is. In any case, the contents of the transfer management file 8 are generated as the transfer management table 5 by the transfer management table generation / save unit 1.

【0014】データファイル9は、各転送先に共通に転
送されるデータまたはプログラムであり、転送開始前に
操作者によって準備され、1組のデータまたはプログラ
ムのみが格納されている。データファイル9中のブロッ
クは、転送手段4中の入出力命令により読み込まれ、デ
ータファイル読み込み用バッファ6に格納される。
The data file 9 is data or a program which is commonly transferred to each transfer destination, prepared by an operator before the start of the transfer, and stores only one set of data or program. The blocks in the data file 9 are read by an input / output command in the transfer means 4 and stored in the data file reading buffer 6.

【0015】データファイル読み込み用バッファ6は、
本システム起動後、主記憶上に確保され、転送手段4に
より参照、更新がされる。転送手段4は、転送すべきブ
ロックが、転送用バッファ7にない場合、データファイ
ル読み込み用バッファ6を参照する。転送ファイル読み
込み用バッファ6にもない場合、データファイル9から
読み込み、転送ファイル読み込み用バッファ6に格納す
る。この際、データファイル読み込み用バッファ6に空
き領域がない場合には、転送管理表5中の転送完了ブロ
ック番号の最小値以下のブロック番号を持つブロックと
置換する。該当するブロックがない場合には、LRU
(Least Recently Used)論理で選
択したブロックと置換する。
The data file reading buffer 6 includes:
After the system is started, it is secured in the main memory and is referred and updated by the transfer means 4. When there is no block to be transferred in the transfer buffer 7, the transfer unit 4 refers to the data file reading buffer 6. If it is not in the transfer file reading buffer 6, it is read from the data file 9 and stored in the transfer file reading buffer 6. At this time, if there is no free space in the data file reading buffer 6, the data file is replaced with a block having a block number equal to or less than the minimum value of the transfer completion block number in the transfer management table 5. If there is no corresponding block, LRU
(Least Recently Used) Replace with the block selected by the logic.

【0016】転送用バッファ7は、本システム起動後に
主記憶中に確保され、転送手段4により参照、更新され
る。転送すべきブロックが転送用バッファ7にない場
合、転送手段4は、データファイル読み込み用バッファ
6から転送用バッファ7に移送する。この際、転送用バ
ッファ7に空き領域がなければ、データファイル読み込
み用バッファ6の場合と同様の論理でブロックの置換を
する。
The transfer buffer 7 is secured in the main memory after the start of the system, and is referred to and updated by the transfer means 4. If the block to be transferred is not in the transfer buffer 7, the transfer means 4 transfers the data file from the data file reading buffer 6 to the transfer buffer 7. At this time, if there is no free area in the transfer buffer 7, the blocks are replaced by the same logic as in the data file reading buffer 6.

【0017】以下に図2の転送状況コードについて説明
する。
The transfer status code shown in FIG. 2 will be described below.

【0018】転送状況コード1:転送先接続切断手段2
により接続命令が発行された後で、接続完了通知を待っ
ている状態。
Transfer status code 1: Transfer destination connection disconnecting means 2
Waiting for connection completion notification after connection command is issued by.

【0019】転送状況コード2:既に転送先と接続され
ていて転送完了ブロック番号+1の番号のブロック転送
を待っている状態。
Transfer status code 2: a state in which the transfer destination code has already been connected and the block transfer of the transfer completion block number + 1 is waiting.

【0020】転送状況コード3:転送手段4により転送
命令が発行された後で転送完了通知を待っている状態。
Transfer status code 3: A state in which a transfer command is issued by the transfer means 4 and a transfer completion notification is waited for.

【0021】転送状況コード4:全ブロック転送済みで
切断処理を待っている状態。
Transfer status code 4: All blocks have been transferred and waiting for disconnection processing.

【0022】転送状況コード5:全ブロック転送完了後
の切断処理中で切断完了通知を待っている状態。
Transfer status code 5: A state in which a disconnection completion notification is waiting during a disconnection process after completion of the transfer of all blocks.

【0023】転送状況コード6:全ブロックの転送が完
了し、かつ切断も完了している状態。
Transfer status code 6: A state in which transfer of all blocks has been completed and disconnection has been completed.

【0024】転送状況コード7:通信回線上または転送
先コンピュータ上で発生した異常を通信応答情報受信手
段3が受信した事を示し、転送継続のための前処理とし
ての切断処理を待っている状態。
Transfer status code 7: Indicates that the communication response information receiving means 3 has received an error that has occurred on the communication line or the destination computer, and is waiting for a disconnection process as a pre-process for continuing the transfer. .

【0025】転送状況コード8:異常時の切断処理中
で、切断完了通知を待っている状態。
Transfer status code 8: A state in which a disconnection process is in progress and a disconnection completion notification is waiting.

【0026】転送状況コード9:異常時の切断処理が完
了し、転送先接続切断手段2により再接続の命令が発行
されるのをまっている状態。
Transfer status code 9: A state in which the disconnection processing at the time of abnormality has been completed, and the transfer destination connection disconnecting means 2 has not issued a reconnection instruction.

【0027】まず図3を用いて本発明の全体の大まかな
動作について説明する。
First, the general operation of the present invention will be described with reference to FIG.

【0028】操作者によって同報ファイル転送の要求が
かかると、転送管理表生成退避手段1が起動され(ステ
ップ3−1)、転送管理ファイル8からレコードが読み
込んで転送管理表5を生成する(ステップ3−2)。次
に転送管理表生成退避手段1は、通信応答情報受信手段
3、転送先接続切断手段2、転送手段4を順に起動して
いく(ステップ3−3、3−4、3−5)。
When a broadcast file transfer request is issued by the operator, the transfer management table generation and saving means 1 is activated (step 3-1), and records are read from the transfer management file 8 to generate the transfer management table 5 (step 3-1). Step 3-2). Next, the transfer management table generation / save unit 1 sequentially activates the communication response information receiving unit 3, the transfer destination connection disconnecting unit 2, and the transfer unit 4 (steps 3-3, 3-4, 3-5).

【0029】この後、システム障害等による中断に備え
て、一定時間間隔で転送管理表5を転送管理ファイル8
に退避し(ステップ3−6、3−7)、同時に全ての転
送先への転送が完了したか否かを転送管理表5中の転送
状況コードが6かどうかで判断する(ステップ3−
8)。
Thereafter, the transfer management table 5 is stored in the transfer management file 8 at regular time intervals in preparation for interruption due to a system failure or the like.
(Steps 3-6 and 3-7), and it is determined whether the transfer to all the transfer destinations has been completed at the same time based on whether the transfer status code in the transfer management table 5 is 6 (step 3-6).
8).

【0030】全ての転送先への転送が完了したと判断し
た場合、転送手段4、転送先接続切断手段2、通信応答
情報受信手段3を順に停止させ(ステップ3−9、3−
10、3−11)、転送管理表5を転送管理ファイル8
へ退避した後、転送管理表生成退避手段1も停止する
(ステップ3−12)。
When it is determined that the transfer to all the transfer destinations has been completed, the transfer means 4, the transfer destination connection disconnecting means 2, and the communication response information receiving means 3 are sequentially stopped (steps 3-9, 3-9).
10, 3-11), and transfer management table 5 to transfer management file 8
After the transfer, the transfer management table generation and save unit 1 also stops (step 3-12).

【0031】尚、この転送管理表生成退避手段1は、操
作者による割り込みが可能であり、この場合、転送管理
表生成手段1は、生成した転送管理表5を転送管理ファ
イル8に退避した後停止する。
The transfer management table generation / save unit 1 can be interrupted by the operator. In this case, the transfer management table generation unit 1 saves the generated transfer management table 5 in the transfer management file 8. Stop.

【0032】図4を用いて転送先接続切断手段2の動作
を詳細に説明する。
The operation of the transfer destination connection disconnecting means 2 will be described in detail with reference to FIG.

【0033】転送先接続切断手段2は、転送管理表生成
退避手段1によって起動されると、転送管理表5の転送
先連番の順に転送状況コードを参照して、通信回線の接
続、切断の判断をして処理を行う。
When the transfer destination connection disconnecting means 2 is activated by the transfer management table generating / saving means 1, it refers to the transfer status code in the order of the transfer destination serial number in the transfer management table 5 and connects or disconnects the communication line. Make a decision and perform the processing.

【0034】転送状況コードが0(接続待ち)または9
(異常時切断完了)の場合には(ステップ4−2)、そ
の転送先に対して接続命令を発行し(ステップ4−
3)、転送状況コードを1に変更する(ステップ4−
4)。
The transfer status code is 0 (waiting for connection) or 9
In the case of (abnormal disconnection completed) (step 4-2), a connection command is issued to the transfer destination (step 4-2).
3), change the transfer status code to 1 (step 4-)
4).

【0035】転送状況コードが1(接続命令を発行した
が、一定時間内に接続完了通知を受信できなかった)、
4(全ブロック転送完了し、切断を待っている)、5
(全ブロック転送完了し、切断命令を発行したが、一定
時間内に接続完了通知を受信できなかった)、7(通信
回線及び転送先コンピュータに異常を受信し、切断処理
を待っている)、8(異常時に切断命令を発行したが、
一定時間内に切断完了通知を受信できなかった)のいず
れかの場合には(ステップ4−5)、転送先に切断命令
を発行し(ステップ4−6)、転送状況コードをそれぞ
れ8、5、5、8、8に設定を変更する(ステップ4−
7)。以上の処理を全ての転送先に対して順に繰り返し
(ステップ4−8、4−9)、全ての転送先についての
処理を一巡したら、一定時間停止して(ステップ4ー
9)、同様の処理を繰り返す(ステップ4−1から4−
10まで)。
When the transfer status code is 1 (a connection command was issued, but a connection completion notification could not be received within a predetermined time),
4 (all block transfer completed, waiting for disconnection), 5
(All blocks have been transferred and a disconnection command has been issued, but a connection completion notification has not been received within a certain period of time), 7 (An error has been received by the communication line and the transfer destination computer, and a disconnection process is waiting). 8 (A disconnection command was issued when an error occurred.
If no disconnection completion notification has been received within a certain period of time (step 4-5), a disconnection instruction is issued to the transfer destination (step 4-6), and the transfer status code is set to 8, 5 respectively. The setting is changed to 5, 8, 8 (step 4-
7). The above process is sequentially repeated for all the transfer destinations (steps 4-8 and 4-9). When the process for all the transfer destinations has been completed, the process is stopped for a certain period of time (step 4-9), and the same process (Steps 4-1 to 4-
Up to 10).

【0036】図5を用いて通信応答情報受信手段3の動
作を詳細に説明する。
The operation of the communication response information receiving means 3 will be described in detail with reference to FIG.

【0037】通信応答情報受信手段3は、転送管理表生
成退避手段1により起動され、通信回線から通信応答情
報を受信できる態勢となった後、通信応答情報を受信す
るまで停止している。通信応答情報を受信すると(ステ
ップ5−1)、通信応答情報を判断する。
The communication response information receiving means 3 is started by the transfer management table generating / saving means 1 and is stopped until receiving the communication response information after being ready to receive the communication response information from the communication line. When the communication response information is received (step 5-1), the communication response information is determined.

【0038】通信応答情報が接続完了通知(ステップ5
−2)、またはブロック転送完了通知(ステップ5−
3)の場合には、転送管理表5の転送状況コードを2に
変更する(ステップ5−4)。異常通知の場合には(ス
テップ5−5)、転送状況コードを7に変更する(ステ
ップ5−6)。
The communication response information is a connection completion notification (step 5).
-2) or block transfer completion notification (step 5-
In the case of 3), the transfer status code in the transfer management table 5 is changed to 2 (step 5-4). In the case of an abnormal notification (step 5-5), the transfer status code is changed to 7 (step 5-6).

【0039】尚、通信応答情報受信手段3も転送管理表
生成退避手段1からの停止命令または操作者によって割
り込みがかけられて終了する。
Incidentally, the communication response information receiving means 3 also terminates after being interrupted by the stop command from the transfer management table generating / saving means 1 or by the operator.

【0040】図6および図7を用いて転送手段4の動作
を詳細に説明する。
The operation of the transfer means 4 will be described in detail with reference to FIGS.

【0041】転送管理表生成退避手段1によって起動さ
れた転送手段4は、転送管理表5の転送状況コードが2
の転送先の有無をチェックする(ステップ6−2)。
The transfer means 4 activated by the transfer management table generation / save means 1 has a transfer status code of 2 in the transfer management table 5.
It is checked whether or not there is a transfer destination (step 6-2).

【0042】転送先がなければ一定時間間隔をおいて、
再度転送管理表5を参照して転送状況コードが2のもの
の転送先の有無のチェックを繰り返す。
If there is no transfer destination, a fixed time interval
Referring again to the transfer management table 5, the check of the presence / absence of the transfer destination with the transfer status code of 2 is repeated.

【0043】転送先があれば、転送状況コードが2の転
送先について転送完了ブロック番号の最小値を求める
(ステップ6−3)。最小値が1以上で、かつ、それが
ブロック数と等しいか判断する(ステップ6−4)。
If there is a transfer destination, the minimum value of the transfer completion block number is determined for the transfer destination having the transfer status code of 2 (step 6-3). It is determined whether the minimum value is 1 or more and it is equal to the number of blocks (step 6-4).

【0044】ここでブロック数とは、データファイル9
中のデータブロックの数を表し、転送手段4の起動直後
に初期値ゼロ(0)を設定し、データファイル9のファ
イル終了記録を検出した時点で直前のブロック番号をブ
ロック数として設定する。転送完了ブロック番号の最小
値が1以上で、かつブロック数に等しければ、全ブロッ
ク転送完了と判断して、転送状況コードを4に変更する
(ステップ6−5)。最小値が0またはブロック数に等
しくなければデータ転送を行う必要があると判断して転
送完了ブロック番号の最小値+1のブロック番号を持つ
ブロックが転送用バッファ7中にあるかチェックする
(ステップ6−6)。
Here, the number of blocks means the data file 9
The initial value is set to zero (0) immediately after the transfer means 4 is started, and the immediately preceding block number is set as the number of blocks when the file end record of the data file 9 is detected. If the minimum value of the transfer completion block number is 1 or more and is equal to the number of blocks, it is determined that all blocks have been transferred, and the transfer status code is changed to 4 (step 6-5). If the minimum value is not equal to 0 or the number of blocks, it is determined that data transfer is required, and it is checked whether or not a block having the block number of the minimum value of the transfer completion block number + 1 is present in the transfer buffer 7 (step 6). -6).

【0045】転送完了ブロック番号の最小値+1のブロ
ック番号を持つブロックがあった場合には、そのまま転
送命令を発行する(ステップ7−11以降へ処理が移
る)。なかった場合は、データファイル読み込み用バッ
ファ6をチェックする(ステップ6−7)。転送完了ブ
ロック番号の最小値+1のブロック番号のブロックがデ
ータファイル読み込み用バッファ6にある場合は、該当
ブロックを転送用バッファ7に移送し、転送命令を発行
する(ステップ7−6以降へ処理が移る)。
If there is a block having a block number of (the minimum value of the transfer completion block number + 1), the transfer instruction is issued as it is (the processing shifts to step 7-11 and thereafter). If not, the data file reading buffer 6 is checked (step 6-7). If the block with the minimum transfer completion block number + 1 block number is present in the data file reading buffer 6, the block is transferred to the transfer buffer 7 and a transfer instruction is issued (the processing proceeds to step 7-6 and thereafter). Move on).

【0046】転送用バッファ7に移送する際、転送用バ
ッファ7をチェックして(ステップ7−6)、空き領域
があれば該当ブロックを選択し(ステップ7−8)、空
き領域がない場合には、転送管理表5全体の転送完了ブ
ロック番号の最小値以下の番号を持つブロックがないか
チェックして(ステップ7−7)、それがあれば該当ブ
ロックを選択し(ステップ7−8)、なければLRU論
理で選択したブロックを選択する(ステップ7−9)。
次にステップ7−8またはステップ7−9で選択したブ
ロックを転送用バッファ7の該当ブロックに移送する
(ステップ7−10)。
When transferring to the transfer buffer 7, the transfer buffer 7 is checked (step 7-6), and if there is a free area, the corresponding block is selected (step 7-8). Checks whether there is a block having a number equal to or less than the minimum value of the transfer completion block number of the entire transfer management table 5 (step 7-7), and if there is, selects the corresponding block (step 7-8), If not, the block selected by the LRU logic is selected (step 7-9).
Next, the block selected in step 7-8 or step 7-9 is transferred to the corresponding block in the transfer buffer 7 (step 7-10).

【0047】転送完了ブロック番号の最小値+1のブロ
ック番号を持つブロックが、データファイル読み込み用
バッファ6にもない場合には、該当ブロックをデータフ
ァイル9から読み込む(ステップ6−8)。データファ
イル9読み込み時にファイル終了記録を検出した場合に
は(ステップ6−9)、最小値をブロック数として設定
し(ステップ6ー10)、再度、転送管理表5の転送状
況コードが2の転送について転送完了ブロックの最小値
を求める処理に戻る。
If there is no block having the block number of the minimum value of the transfer completion block number + 1 in the data file reading buffer 6, the corresponding block is read from the data file 9 (step 6-8). If the file end record is detected when reading the data file 9 (step 6-9), the minimum value is set as the number of blocks (step 6-10), and the transfer status code of the transfer management table 5 is again set to 2 Then, the processing returns to the processing for obtaining the minimum value of the transfer completion block.

【0048】該当ブロックをデータファイル9から読み
込んだ時(ステップ6−8)、データファイル読み込み
用バッファ6に空き領域がない場合には、転送用バッフ
ァ7と同様の論理で置換する(ステップ7−1からステ
ップ7ー5)。
When the corresponding block is read from the data file 9 (step 6-8), if there is no free area in the data file reading buffer 6, it is replaced by the same logic as the transfer buffer 7 (step 7-). 1 to step 7-5).

【0049】この後、転送用バッファ7に移送し(ステ
ップ7−6からステップ7−10)、転送命令を発行し
て該当転送先に転送する(ステップ7−11)。
Thereafter, the data is transferred to the transfer buffer 7 (steps 7-6 to 7-10), a transfer command is issued, and the data is transferred to the corresponding transfer destination (step 7-11).

【0050】転送命令発行後は、該当転送先の転送コー
ドを3(ブロック転送中)に変更し(ステップ7−1
2)、最小値を転送完了ブロック番号に持つ、他の転送
先がある間は、転送用バッファ7からの転送と転送状況
コードを3に変更する処理を繰り返す(ステップ7−1
1からステップ7−13)。該当転送先がなくなれば、
再度、転送状況コードが2の転送先について転送完了ブ
ロック番号の最小値を求める処理に戻る。
After the transfer instruction is issued, the transfer code of the transfer destination is changed to 3 (during block transfer) (step 7-1).
2) While there is another transfer destination having the minimum value in the transfer completion block number, the transfer from the transfer buffer 7 and the process of changing the transfer status code to 3 are repeated (step 7-1).
1 to step 7-13). If there are no such destinations,
Again, the process returns to the process of obtaining the minimum value of the transfer completion block number for the transfer destination having the transfer status code of 2.

【0051】尚、転送手段4の場合も転送管理表生成退
避手段1の停止命令または操作者によって割り込みがか
けられて終了する。
In the case of the transfer means 4 as well, the transfer management table generation / save means 1 is stopped by a stop command or interrupted by the operator and ended.

【0052】以下では、本発明の実施例の特徴を表す具
体的な動作例を図8を用いて説明する。
Hereinafter, a specific operation example showing the features of the embodiment of the present invention will be described with reference to FIG.

【0053】図8の転送管理表5によると、転送状況コ
ードが2の転送先があるため、その中で転送完了ブロッ
ク番号の最小値を求めると7となる。ブロック数は10
であるためブロック番号8のブロックの転送が必要であ
るが、ブロック番号8が転送用バッファ7にないため、
データファイル読み込み用バッファ6のブロック番号8
のブロックを転送用バッファ7に移送する。この際、転
送用バッファ7に空きがないので、LRU論理で使用回
数の少ないブロック番号10のエリアにブロック番号8
のブロックを格納する。
According to the transfer management table 5 shown in FIG. 8, since there is a transfer destination having a transfer status code of 2, the minimum value of the transfer completion block number is obtained as 7 among them. Number of blocks is 10
Therefore, the transfer of the block with the block number 8 is necessary, but since the block number 8 is not in the transfer buffer 7,
Block number 8 of data file reading buffer 6
Is transferred to the transfer buffer 7. At this time, since there is no free space in the transfer buffer 7, the block number 8 is stored in the area of the block number 10 which is used less frequently by the LRU logic.
To store the block.

【0054】次に転送先アドレスAに対してブロック番
号8の転送命令を発行し、転送状況コード3に変更す
る。さらに同じ転送完了ブロック番号7を持った転送先
アドレスDに対しても同様な処理を行った後、再度転送
状況コードが2の転送先を見つける処理に戻る。
Next, a transfer instruction of the block number 8 is issued to the transfer destination address A, and the transfer instruction is changed to the transfer status code 3. Further, after performing the same processing for the transfer destination address D having the same transfer completion block number 7, the process returns to the processing for finding the transfer destination having the transfer status code of 2 again.

【0055】本実施例においては、転送先の数が増えて
も、データファイルは一つであり、各手段の数も一つで
あることから、ディスク領域や主記憶領域の使用量は、
ほとんど増加しない。またデータ読み込み時間も2種類
のバッファを使用することにより最小限にすることがで
き、転送元コンピュータの負荷を最小限に抑え、効率よ
く同報データ転送が行えるようになる。さらに転送完了
ブロック番号の小さい転送先へ優先して転送を行うこと
で同報性を高め、システム資源の効率的利用が可能とな
る。
In this embodiment, even if the number of transfer destinations increases, the number of data files is one and the number of each means is one.
Hardly increases. The data read time can also be minimized by using two types of buffers, minimizing the load on the source computer, and allowing efficient broadcast data transfer. Furthermore, by prioritizing the transfer to the transfer destination having the smaller transfer completion block number, the broadcast performance is improved, and the efficient use of the system resources becomes possible.

【0056】さらにシステム障害などで処理が中断した
場合には、直前に退避した転送管理表を基に処理を継続
することができる。回線障害などにより一部の転送先へ
の転送が完了しない場合には、操作者が介入して一旦、
処理を中断させ、障害復旧後に簡単な操作で処理を継続
することができるようにしている。この際、操作者は、
転送管理ファイルを参照することによって転送中でも転
送状況を把握して、障害の復旧処理を行うことができ
る。
Further, when the processing is interrupted due to a system failure or the like, the processing can be continued based on the transfer management table saved immediately before. If transfer to some transfer destinations is not completed due to a line failure, etc., once the operator intervenes,
Processing is interrupted, and processing can be continued with a simple operation after recovery from a failure. At this time, the operator
By referring to the transfer management file, the transfer status can be ascertained even during transfer, and a failure recovery process can be performed.

【0057】したがって障害対応の迅速化が図れると同
時に、システム資源の無駄使いを最小限にとどめること
ができる。
Therefore, it is possible to promptly deal with a failure and to minimize waste of system resources.

【0058】[0058]

【発明の効果】以上説明したように、複数のコンピュー
タが通信回線で接続される中・大規模ネットワークシス
テム上で、一つのコンピュータから他の複数のコンピュ
ータに対して同一のプログラムやデータを転送する場合
に本発明のデータ同報転送方式を使用することにより、
転送元のコンピュータ資源使用量を最小限にとどめて、
転送効率を高める効果がある。
As described above, the same program or data is transferred from one computer to another plurality of computers on a medium / large-scale network system in which a plurality of computers are connected by a communication line. By using the data broadcast transfer method of the present invention,
Minimize computer resource usage at the source
This has the effect of increasing transfer efficiency.

【0059】また障害発生時でも、最新の転送管理ファ
イルのデータによって、再送によるシステム資源の無駄
使いを最小に抑え、操作者が転送状況を的確に把握し
て、障害に迅速に対応する可能となる。
Even in the event of a failure, it is possible to minimize the waste of system resources due to retransmission by using the latest data of the transfer management file, and to allow the operator to accurately grasp the transfer status and quickly respond to the failure. Become.

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

【図1】本発明のブロック構成図による概略図である。FIG. 1 is a schematic diagram of a block configuration diagram of the present invention.

【図2】転送管理表の転送状況コードのコード一覧であ
る。
FIG. 2 is a code list of transfer status codes in a transfer management table.

【図3】転送管理表生成退避手段の処理のフローチャー
トである。
FIG. 3 is a flowchart of a process of a transfer management table generation / save unit.

【図4】転送先接続切断手段の処理のフローチャートで
ある。
FIG. 4 is a flowchart of a process of a transfer destination connection disconnecting unit.

【図5】通信応答情報受信手段の処理のフローチャート
である。
FIG. 5 is a flowchart of a process of a communication response information receiving unit.

【図6】転送手段の処理のフローチャートである。FIG. 6 is a flowchart of processing of a transfer unit.

【図7】転送手段の処理のフローチャートである。FIG. 7 is a flowchart of processing of a transfer unit.

【図8】図6、図7の動作事例の説明のための概略図で
ある。
FIG. 8 is a schematic diagram for explaining an operation example of FIGS. 6 and 7;

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

1 転送管理表生成退避手段 2 転送先接続切断手段 3 通信応答情報受信手段 4 転送手段 5 転送管理表 6 データファイル読み込み用バッファ 7 転送用バッファ 8 転送管理ファイル 9 データファイル 10、11、12 通信回線 1 transfer management table generation / save means 2 transfer destination connection disconnecting means 3 communication response information receiving means 4 transfer means 5 transfer management table 6 data file reading buffer 7 transfer buffer 8 transfer management file 9 data file 10, 11, 12 communication line

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のコンピュータ間が通信回線で接続
されているコンピュータシステムにおいて、 各コンピュータは、 転送情報が格納されている転送管理ファイルをもとに主
記憶中に転送管理表を作成し、転送中断に備えて定期的
に転送管理表を転送管理ファイルに退避する転送管理表
生成退避手段と、 前記転送管理表中の転送先アドレスと、該転送先アドレ
スに対応するコンピュータとの間の回線接続状況を含む
転送状況コードとをもとに、各転送先コンピュータへの
接続及び切断を行う転送先接続切断手段と、 転送先への接続及びデータ転送に対する応答情報を受信
し、転送管理表の回線接続状況を含む転送状況を更新す
る通信応答情報受信手段と、 データファイル読み込み用バッファを介して転送データ
を読み込み、転送管理表から回線接続が完了した転送先
アドレスを入手し、転送用バッファを介してデータ転送
を行う転送手段とを備えることを特徴とするデータ同報
転送方式。
In a computer system in which a plurality of computers are connected by a communication line, each computer creates a transfer management table in a main memory based on a transfer management file storing transfer information, Transfer management table generation and saving means for periodically saving a transfer management table in a transfer management file in preparation for transfer interruption; a line between a transfer destination address in the transfer management table and a computer corresponding to the transfer destination address Based on the transfer status code including the connection status, transfer destination connection disconnecting means for connecting and disconnecting to each transfer destination computer, and receiving response information for connection to the transfer destination and data transfer, and Communication response information receiving means for updating the transfer status including the line connection status, and reading the transfer data via the data file reading buffer and checking the transfer management table Obtain the forwarding address line connection is completed, the data broadcast transfer method characterized by comprising a transfer means for transferring data through a transfer buffer.
【請求項2】 前記転送管理表の内容が、転送先連番
と、転送先アドレスと、該転送先アドレスに対応するコ
ンピュータとの間の回線接続状況を含む転送状況コード
と、転送完了ブロック番号とから構成されており、障害
時の迅速な復旧を可能とするために前記転送管理表を転
送管理ファイルに定期的に退避することを特徴とする請
求項1のデータ同報転送方式。
2. The transfer management table includes a transfer destination serial number, a transfer destination address, a transfer status code including a line connection status between a computer corresponding to the transfer destination address, and a transfer completion block number. 2. The data broadcast transfer method according to claim 1, wherein the transfer management table is periodically saved in a transfer management file in order to enable quick recovery in the event of a failure.
JP5261059A 1993-10-19 1993-10-19 Data broadcast transfer method Expired - Fee Related JP2570134B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5261059A JP2570134B2 (en) 1993-10-19 1993-10-19 Data broadcast transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5261059A JP2570134B2 (en) 1993-10-19 1993-10-19 Data broadcast transfer method

Publications (2)

Publication Number Publication Date
JPH07114504A JPH07114504A (en) 1995-05-02
JP2570134B2 true JP2570134B2 (en) 1997-01-08

Family

ID=17356508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5261059A Expired - Fee Related JP2570134B2 (en) 1993-10-19 1993-10-19 Data broadcast transfer method

Country Status (1)

Country Link
JP (1) JP2570134B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002014684A (en) * 2000-06-29 2002-01-18 Matsushita Graphic Communication Systems Inc Information distribution method, server device, and information receiving terminal device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0259387A (en) * 1988-08-24 1990-02-28 Seiko Epson Corp Resistor layer for electrothermal transfer recording medium
JPH04192052A (en) * 1990-11-27 1992-07-10 Nec Corp File multi-address transfer device
JPH04338852A (en) * 1991-05-16 1992-11-26 Fujitsu Ltd File transfer program with interruption restart mechanism

Also Published As

Publication number Publication date
JPH07114504A (en) 1995-05-02

Similar Documents

Publication Publication Date Title
US20020120738A1 (en) Distributed data processing system and error analysis information saving method appropriate therefor
JP5250955B2 (en) Data processing system backup control apparatus and system
US4977499A (en) Method and apparatus for commanding operations on a computer network
JP2570134B2 (en) Data broadcast transfer method
US20080147906A1 (en) DMA Transferring System, DMA Controller, and DMA Transferring Method
US20020161789A1 (en) Parallel replication mechanism for state information produced by serialized processing
US5291613A (en) Method for executing a control instruction in a multi-computer system
JPH07101387B2 (en) Data processing device
JP2848442B2 (en) Arbitrary message data discrimination method
JP3321359B2 (en) Processing control system
KR100197422B1 (en) Apparatus for managing system file of switching system and method thereof
JP3569341B2 (en) Parallel computer system
JP4032948B2 (en) SCSI interface control device, program
JP2924956B2 (en) File transfer device, file transmission device, and file transmission method
JPH09319634A (en) Transaction executing state management system, management method and medium for storing management program
JP3412921B2 (en) Data processing system, computer and remote file processing method
JPH087765B2 (en) Work alternative method of LAN integrated production system
JPH02284257A (en) Inter-processor communication system
JPH10289179A (en) File transfer method, file transfer controller and recording medium recording file transfer program
JPH05158832A (en) Terminal software transfer system
JPH02133845A (en) Duplex auxiliary storage device
JPH04150121A (en) Electronic mail system
JP2001067236A (en) Data transferring method, intermediate system, and recording medium
JPH04328658A (en) Data check system
JPS6312423B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960820

LAPS Cancellation because of no payment of annual fees