JPH07114504A - Data broadcasting transfer system - Google Patents

Data broadcasting transfer system

Info

Publication number
JPH07114504A
JPH07114504A JP5261059A JP26105993A JPH07114504A JP H07114504 A JPH07114504 A JP H07114504A JP 5261059 A JP5261059 A JP 5261059A JP 26105993 A JP26105993 A JP 26105993A JP H07114504 A JPH07114504 A JP H07114504A
Authority
JP
Japan
Prior art keywords
transfer
management table
data
destination
transfer management
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.)
Granted
Application number
JP5261059A
Other languages
Japanese (ja)
Other versions
JP2570134B2 (en
Inventor
Toshio Hata
俊夫 秦
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

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To improve transfer efficiency by minimizing the resource consumption at a transfer source and to speedily cope with a fault by making an operator correctly grasp the transfer state when one computer broadcasts and transfers the same program and data to other computers. CONSTITUTION:This system is equipped with a transfer destination connecting and disconnecting means 2 which generates a transfer management table 5 in a main storage on the basis of a transfer management file 8 containing transfer information, saves the transfer management table 5 periodically in the transfer management file 8 by a transfer management table generating and saving means 1, and makes connections with and disconnections from respective transfer destinations on the basis of transfer destination addresses and transfer state codes in the transfer management table 5. Further, this system is equipped with a communication response information receiving means 3 which receives response information regarding the connections with and data transfer to the transfer destinations and updates the transfer states in the transfer management table 5 and a transfer means 4 which reads in transfer data through a data file reading buffer 6, obtains transferrable destination addresses from the transfer management table 5, and transfers data through a buffer 7 for transfer.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

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

【0002】[0002]

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

【0003】また、転送元のコンピュータ資源が充分で
ない場合には、1転送先毎に転送を行うか、または媒体
を搬送して配布先での登録作業を行ってきた。
Further, when the computer resources of the transfer source are not sufficient, the transfer is performed for each transfer destination, or the medium is carried to carry out the registration work 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, in the conventional file transfer system, a disk area is set for each destination on the transfer source computer. It is necessary to secure a large amount of disk area even for jobs that require a job, and are not always executed. Also, a file transfer program (not necessarily a job, not a job as a CPU allocation unit) is created for each destination. Process or task) must be operated, main memory is required for the number of simultaneous transfers, and the load on the transfer source computer system is increased like the disk area.

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

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

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

【0008】[0008]

【課題を解決するための手段】転送情報が格納されてい
る転送管理ファイルをもとに主記憶中に転送管理表を作
成し、転送中断に備えて定期的に転送管理表を転送管理
ファイルに退避するための転送管理表生成退避手段と、
前記転送管理表中の転送先アドレスと転送状況コードを
もとに各転送先コンピュータへの接続及び切断を行う転
送先接続切断手段と、転送先への接続及びデータ転送に
対する応答情報を受信し、転送管理表の転送状況を更新
する通信応答情報受信手段と、データファイル読み込み
用バッファを介して転送データを読み込み、転送管理表
から転送可能な転送先アドレスを入手し、転送用バッフ
ァを介してデータ転送を行う転送手段とを備えている。
[Means for solving the problems] A transfer management table is created in the main memory based on the transfer management file in which transfer information is stored, and the transfer management table is periodically stored in the transfer management file in preparation for a transfer interruption. Transfer management table generation and saving means for saving,
Transfer destination connection / disconnection means for connecting to and disconnecting from each transfer destination computer based on the transfer destination address and transfer status code in the transfer management table, and receiving response information for connection to the transfer destination and data transfer, The communication response information receiving means for updating the transfer status of the transfer management table and the transfer data are read via the data file reading buffer, the transferable transfer destination address is obtained from the transfer management table, and the data is transferred via the transfer buffer. And a transfer means for transferring.

【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 the main memory on the basis of a transfer management file 8 in which transfer information is stored to prepare for a transfer interruption. Transfer management table generation save means 1 for saving the transfer management table 5 in the transfer management file 8 periodically, and the transfer management table 5
Transfer destination connection disconnecting means 2 for connecting to and disconnecting from each transfer destination computer based on the transfer destination address and transfer status code in the transfer destination, and connection information to the transfer destination and the response information for data transfer, and the transfer management table 5, the transfer data is read through the communication response information receiving means 3 for updating the transfer status of 5 and the buffer 6 for reading the data file, the transferable transfer destination address is obtained from the transfer management table 5, and the transfer buffer 7
And a transfer means 4 for transferring data via the.

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

【0012】図1の転送管理表5中のNは、転送先の数
を表し、各々の転送先に対して、1からNまでの連番が
割り当てられている。転送先アドレスは、転送先との接
続・切断とデータ転送を行う場合に、転送先を指定する
ため、及び転送先からの応答と通信回線上の障害通知に
ついて転送先を識別するために使用される。
N in the transfer management table 5 in 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 with the transfer destination and performing data transfer, and to identify the transfer destination for the response from the transfer destination and the failure notification on the communication line. It

【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 system is activated. When performing a new transfer, 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 this system. When operating from the transfer source computer,
In addition, when it is started after being interrupted 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 either case, the contents of the transfer management file 8 are created as the transfer management table 5 by the transfer management table creation / save means 1.

【0014】データファイル9は、各転送先に共通に転
送されるデータまたはプログラムであり、転送開始前に
操作者によって準備され、1組のデータまたはプログラ
ムのみが格納されている。データファイル9中のブロッ
クは、転送手段4中の入出力命令により読み込まれ、デ
ータファイル読み込み用バッファ6に格納される。
The data file 9 is data or a program commonly transferred to each transfer destination, is prepared by the operator before the transfer is started, and stores only one set of data or program. The blocks in the data file 9 are read by the input / output instructions 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 is
After the system is started up, it is secured in the main memory and is referred to and updated by the transfer means 4. The transfer unit 4 refers to the data file reading buffer 6 when the block to be transferred is not in the transfer buffer 7. If it is not in the transfer file reading buffer 6 either, 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 area in the data file reading buffer 6, it is replaced with a block having a block number less than or equal to the minimum transfer completion block number in the transfer management table 5. LRU if there is no corresponding block
(Least Recently Used) Replaces with the block selected by logic.

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

【0017】以下に図2の転送状況コードについて説明
する。
The transfer status code of 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 the connection command is issued by.

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

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

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

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

【0023】転送状況コード6:全ブロックの転送が完
了し、かつ切断も完了している状態。
Transfer status code 6: A status in which transfer of all blocks is completed and disconnection is 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 on the transfer destination computer, and is waiting for disconnection processing as preprocessing for continuing transfer. .

【0025】転送状況コード8:異常時の切断処理中
で、切断完了通知を待っている状態。
Transfer status code 8: A status of waiting for a disconnection completion notification during disconnection processing at abnormal time.

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

【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 an operator requests a broadcast file transfer, the transfer management table generating and saving means 1 is activated (step 3-1), the record is read from the transfer management file 8 and the transfer management table 5 is generated ( Step 3-2). Next, the transfer management table generating and saving means 1 sequentially activates the communication response information receiving means 3, the transfer destination connection disconnecting means 2, and the transfer means 4 (steps 3-3, 3-4, 3-5).

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

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

【0031】尚、この転送管理表生成退避手段1は、操
作者による割り込みが可能であり、この場合、転送管理
表生成手段1は、生成した転送管理表5を転送管理ファ
イル8に退避した後停止する。
The transfer management table generating / saving means 1 can be interrupted by the operator. In this case, the transfer management table generating means 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 disconnection means 2 is activated by the transfer management table generation save means 1, the transfer destination connection disconnection means 2 refers to the transfer status codes in the order of the transfer destination serial numbers in the transfer management table 5 to connect or disconnect the communication line. Judgment is performed.

【0034】転送状況コードが0(接続待ち)または9
(異常時切断完了)の場合には(ステップ4−2)、そ
の転送先に対して接続命令を発行し(ステップ4−
3)、転送状況コードを1に変更する(ステップ4−
4)。
Transfer status code is 0 (waiting for connection) or 9
In the case of (disconnection when abnormal) (step 4-2), a connection command is issued to the transfer destination (step 4-).
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まで)。
The transfer status code is 1 (a connection command was issued, but a connection completion notification could not be received within a fixed 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 could not be received within a fixed time), 7 (an error was received in the communication line and the transfer destination computer, and waiting for disconnection processing), 8 (I issued a disconnection command when something went wrong,
In either case (the disconnection completion notification could not be received within the fixed time) (step 4-5), a disconnection command is issued to the transfer destination (step 4-6) and the transfer status codes are set to 8 and 5, respectively. Change the setting to 5, 8, 8 (Step 4-
7). The above processing is repeated for all the transfer destinations in order (steps 4-8 and 4-9), and once the processing for all the transfer destinations has been completed, stop for a certain period of time (step 4-9) and perform the same processing. (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 activated by the transfer management table generating and saving means 1, becomes ready to receive the communication response information from the communication line, and then is stopped until the communication response information is received. When the communication response information is received (step 5-1), the communication response information is judged.

【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 abnormality notification (step 5-5), the transfer status code is changed to 7 (step 5-6).

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

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

【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.
Whether or not there is a transfer destination is checked (step 6-2).

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

【0043】転送先があれば、転送状況コードが2の転
送先について転送完了ブロック番号の最小値を求める
(ステップ6−3)。最小値が1以上で、かつ、それが
ブロック数と等しいか判断する(ステップ6−4)。
If there is a transfer destination, the minimum value of the transfer completion block number is obtained 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 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
It represents the number of data blocks inside, and the initial value zero (0) is set immediately after the transfer means 4 is started, and the block number immediately before 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 the transfer of all blocks is completed, and the transfer status code is changed to 4 (step 6-5). If the minimum value is not 0 or is not equal to the number of blocks, it is judged that data transfer is required, and it is checked whether or not there is a block having the minimum transfer completion block number + 1 block number 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 the block number of the minimum value of the transfer completion block number + 1, the transfer command is issued as it is (the process shifts to step 7-11 and thereafter). If not, the data file reading buffer 6 is checked (step 6-7). When the block having the block number of the minimum value of the transfer completion block number + 1 plus the block number is in the data file reading buffer 6, the block is transferred to the transfer buffer 7 and a transfer command is issued (processes from step 7-6 onward). Move).

【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). If there is no free area, Checks whether there is a block having a number less than or equal to the minimum transfer completed block number of the 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). When the end-of-file 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 2 in the transfer management table 5 is transferred again. The process returns to the process of 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, the block is replaced with the same logic as the transfer buffer 7 (step 7-). 1 to steps 7-5).

【0049】この後、転送用バッファ7に移送し(ステ
ップ7−6からステップ7−10)、転送命令を発行し
て該当転送先に転送する(ステップ7−11)。
After that, 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 command is issued, the transfer code of the transfer destination is changed to 3 (block transfer in progress) (step 7-1).
2) Repeat the transfer from the transfer buffer 7 and the process of changing the transfer status code to 3 while there is another transfer destination having the minimum value in the transfer completion block number (step 7-1).
1 to steps 7-13). If there is no corresponding forwarding destination,
Again, the process returns to the process of obtaining the minimum value of the transfer completion block number for the transfer destination whose transfer status code is 2.

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

【0052】以下では、本発明の実施例の特徴を表す具
体的な動作例を図8を用いて説明する。
Hereinafter, a specific operation example representing the characteristics 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, there is a transfer destination whose transfer status code is 2. Therefore, the minimum value of the transfer completed block number is 7 among them. The number of blocks is 10
Therefore, it is necessary to transfer the block of block number 8, but since block number 8 is not in the transfer buffer 7,
Block number 8 of data file reading buffer 6
Block 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 set in the area of the block number 10 which is used less frequently by the LRU logic.
Stores the block of.

【0054】次に転送先アドレスAに対してブロック番
号8の転送命令を発行し、転送状況コード3に変更す
る。さらに同じ転送完了ブロック番号7を持った転送先
アドレスDに対しても同様な処理を行った後、再度転送
状況コードが2の転送先を見つける処理に戻る。
Next, the transfer instruction of the block number 8 is issued to the transfer destination address A, and the transfer status code 3 is changed. Further, the same process is performed on the transfer destination address D having the same transfer completion block number 7, and then the process returns to the process of 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 also one.
Hardly increases. The data read time can also be minimized by using two types of buffers, the load on the transfer source computer can be minimized, and the broadcast data transfer can be performed efficiently. Furthermore, priority is given to the transfer destination having the smaller transfer completion block number to improve the broadcast property, and the system resources can be efficiently used.

【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., the operator intervenes once,
The process is interrupted so that the process can be continued with a simple operation after the failure recovery. At this time, the operator
By referring to the transfer management file, it is possible to grasp the transfer status even during the transfer and perform the failure recovery processing.

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

【0058】[0058]

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

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

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

【図1】本発明のブロック構成図による概略図である。FIG. 1 is a schematic diagram according to 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 generating and saving 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 generating and saving 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)

【特許請求の範囲】[Claims] 【請求項1】 複数のコンピュータ間が通信回線で接続
されているコンピュータシステムにおいて、 転送情報が格納されている転送管理ファイルをもとに主
記憶中に転送管理表を作成し、転送中断に備えて定期的
に転送管理表を転送管理ファイルに退避するための転送
管理表生成退避手段と、 前記転送管理表中の転送先アドレスと転送状況コードを
もとに各転送先コンピュータへの接続及び切断を行う転
送先接続切断手段と、 転送先への接続及びデータ転送に対する応答情報を受信
し、転送管理表の転送状況を更新する通信応答情報受信
手段と、 データファイル読み込み用バッファを介して転送データ
を読み込み、転送管理表から転送可能な転送先アドレス
を入手し、転送用バッファを介してデータ転送を行う転
送手段を備えることを特徴とするデータ同報転送方式。
1. In a computer system in which a plurality of computers are connected by a communication line, a transfer management table is created in the main memory based on a transfer management file in which transfer information is stored to prepare for a transfer interruption. Transfer management table generating and saving means for periodically saving the transfer management table to a transfer management file, and connection and disconnection to each transfer destination computer based on the transfer destination address and transfer status code in the transfer management table Transfer destination connection / disconnection means, which receives the response information for the connection to the transfer destination and the data transfer, and the communication response information receiving means for updating the transfer status of the transfer management table, and the transfer data via the data file reading buffer. And a transfer means for obtaining a transferable transfer destination address from the transfer management table and transferring the data through the transfer buffer. Data broadcast transmission method that.
【請求項2】 前記転送管理表の内容が、転送先連番と
転送先アドレスと転送状況コードと転送完了ブロック番
号とから構成されており、障害時の迅速な復旧を可能と
するために前記転送管理表を転送管理ファイルに定期的
に退避することを特徴とする請求項1のデータ同報転送
方式。
2. The contents of the transfer management table are composed of a transfer destination serial number, a transfer destination address, a transfer status code, and a transfer completion block number. 2. The data broadcasting transfer method according to claim 1, wherein the transfer management table is periodically saved in a transfer management file.
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 true JPH07114504A (en) 1995-05-02
JP2570134B2 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)

Cited By (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

Citations (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

Patent Citations (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

Cited By (2)

* 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
US7146406B2 (en) * 2000-06-29 2006-12-05 Panasonic Communications Co., Ltd. Server apparatus and method to distribute media data

Also Published As

Publication number Publication date
JP2570134B2 (en) 1997-01-08

Similar Documents

Publication Publication Date Title
US6021507A (en) Method for a non-disruptive host connection switch after detection of an error condition or during a host outage or failure
CN101478422B (en) Self negotiation method and system for software version
CN105516230A (en) Data processing method and device
JPH06243072A (en) Distributed transaction commitment control system for distributed processing system
US6374362B1 (en) Device and method for shared process control
US5613133A (en) Microcode loading with continued program execution
JPH0213158A (en) Message transmission method
JPH07114504A (en) Data broadcasting transfer system
JPH09282288A (en) Plural-computer operation system
US20050240808A1 (en) Write set boundary management in support of asynchronous update of secondary storage
EP0315111B1 (en) Data processing device
US5291613A (en) Method for executing a control instruction in a multi-computer system
CN111142805A (en) Data center hybrid cloud storage method and device, computer equipment and storage medium
US7661026B2 (en) Access by distributed computers to a same hardware resource
CN117234743B (en) Data transmission method, device, equipment and storage medium
JP3569341B2 (en) Parallel computer system
JP3400381B2 (en) How to send programs, files and data
JP2732775B2 (en) Communication line switching control device and communication line switching control method
JP3407816B2 (en) Switching data setting system
JPH04355836A (en) Management processing device for communication between virtual computers
JP2002099510A (en) Plural transactions processing system
JP2820942B2 (en) Communication protocol processing method
JPH05158832A (en) Terminal software transfer system
JPH087765B2 (en) Work alternative method of LAN integrated production system
JPH0831067B2 (en) Program transfer control method for terminal device

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