JPH02272650A - Library synchronism checking system - Google Patents

Library synchronism checking system

Info

Publication number
JPH02272650A
JPH02272650A JP1093122A JP9312289A JPH02272650A JP H02272650 A JPH02272650 A JP H02272650A JP 1093122 A JP1093122 A JP 1093122A JP 9312289 A JP9312289 A JP 9312289A JP H02272650 A JPH02272650 A JP H02272650A
Authority
JP
Japan
Prior art keywords
library
central station
central office
information
machine
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
JP1093122A
Other languages
Japanese (ja)
Inventor
Masamichi Wakayama
若山 正道
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1093122A priority Critical patent/JPH02272650A/en
Publication of JPH02272650A publication Critical patent/JPH02272650A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To prevent synchronism deciding inspection between a central office and a terminal office from being delayed by providing the central office side with libraries for the central office and the terminal office and comparing the updating information of the central office with that of the terminal office which are stored in these libraries to decide their coincidence. CONSTITUTION:The updating information of libraries of plural terminal offices 3 connected to the central office 1 which is included in the central office 1 is read out from the 1st memory 11 and the library of the central office 1 which is included in the central office 1 is read out from the 2nd memory 13. The read updating information of the library of the central office 1 is updated with that of the libraries of the plural terminal offices 3 to decide coincidence between both the updating information. Even when the number of terminal offices connected to the central office is increased, the check of synchronism between the central office and the terminal offices can be rapidly processed and the inspection can be prevented from being delayed.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は、中央局、例えば中央処理装置(以下、マスク
マシンという)と端末局(以下、スレーブマシンという
)とがデータ伝送路により接続され、データ処理するオ
ンラインシステムのうち、特にマスクマシンとスレーブ
マシンとのデータの送受信を正確に行なうためマスクマ
シン側のライブラリとスレーブマシン側のライブラリと
の同期を迅速に判別するライブラリ同期チエツク方式に
関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention provides a data processing system in which a central station, for example, a central processing unit (hereinafter referred to as a mask machine) and a terminal station (hereinafter referred to as a slave machine) Among online systems that are connected by a transmission path and process data, a library that quickly determines the synchronization between the library on the mask machine side and the library on the slave machine side in order to accurately send and receive data between the mask machine and slave machines. Regarding the synchronous check method.

(従来の技術) 上記オンラインシステムのオンラインライブラリ保守プ
ログラムは、マスクマシン側に備えられているライブラ
リとスレーブマシン側に備えられているライブラリに記
憶されているプログラムを保守するメンテナンスプログ
ラムである。従来、上記ライブラリのプログラムの保守
を検査するときは、マスクマシン側のライブラリとスレ
ーブマシン側のライブラリとに記憶されているプログラ
ム(以下、メンバという。)の更新日時の検査をする。
(Prior Art) The online library maintenance program of the online system is a maintenance program that maintains programs stored in a library provided on the mask machine side and a library provided on the slave machine side. Conventionally, when checking the maintenance of the programs in the library, the update date and time of the programs (hereinafter referred to as members) stored in the library on the mask machine side and the library on the slave machine side are checked.

検査の結果、マスクマシン側のメンバの更新日時とスレ
ーブマシン側のメンバの更新日時とが一致するとマスク
マシンは、マスクマシンとスレーブマシンとのライブラ
リが同一状態(同期)であると判断する。一方、マスク
マシンとスレーブマシンとのメンバの更新日時が一致し
ていないときマスクマシンは、マスクマシンとスレーブ
マシンとのライブラリが同一状態でない(同期でない)
と判断する。これらの検査は、マスクマシーンとデータ
伝送路により接続されている全てのスレーブマシンに行
なうため、マスクマシンに接続されているスレーブマシ
ンの台数が増加すると検査に費やす時間が増加するもの
であった。
As a result of the inspection, if the update date and time of the member on the mask machine side matches the update date and time of the member on the slave machine side, the mask machine determines that the libraries of the mask machine and the slave machine are in the same state (synchronized). On the other hand, when the update dates and times of members on the mask machine and slave machine do not match, the libraries on the mask machine and slave machine are not in the same state (not synchronized).
I judge that. These inspections are performed on all slave machines connected to the mask machine by data transmission lines, so as the number of slave machines connected to the mask machine increases, the time spent on inspection increases.

(発明が解決しようとする課題) 従来は、マスクマシンに接続されているスレーブマシン
の台数が増加するとマスクマシンとスレーブマシンとの
ライブラリの同期の検査に費す時間が増加する。検査の
時間が増加すると複数のスレーブマシンに接続されてい
るマスクマシンを有するシステムでは、データ処理の遅
延を招来するおそれがあり、その対策が切望されていた
(Problems to be Solved by the Invention) Conventionally, as the number of slave machines connected to a mask machine increases, the time spent checking the synchronization of libraries between the mask machine and the slave machines increases. In a system having a mask machine connected to a plurality of slave machines, if the inspection time increases, there is a risk of delay in data processing, and a countermeasure for this problem has been desperately needed.

本発明は、上記に鑑みてなされたものであり、その目的
としては、中央局に接続されている端末局の台数が増加
しても中央局と端末局とのライブラリの同期を判別する
検査の遅延を防止するライブラリ同期チエツク方式を提
供することにある。
The present invention has been made in view of the above, and its purpose is to perform a test to determine synchronization of libraries between the central station and terminal stations even when the number of terminal stations connected to the central station increases. The object of the present invention is to provide a library synchronization check method that prevents delays.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 上記目的を達成するため、本発明は、データの処理およ
びシステムの制御をする中央局と、この中央局に接続さ
れている複数の端末局と、前記中央局に有する当該中央
局のライブラリの更新情報を記憶する第1のメモリと、 前記中央局に有する前記複数の端末局のライブラリの更
新情報を記憶する第2のメモリと、この第2のメモリに
記憶されている複数の端末局のライブラリの更新情報と
前記第1のメモリに記憶されている前記中央局のライブ
ラリの更新情報とを比較し、前記中央局と複数の端末局
とのライブラリの一致または不一致を判別する判別手段
と、 を備えたことを要旨とする。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides a central station that processes data and controls a system, a plurality of terminal stations connected to this central station, and a central station that processes data and controls a system. a first memory for storing update information of a library of the central station in the central station; a second memory for storing update information for the library of the plurality of terminal stations in the central station; The update information of the library of the plurality of terminal stations stored in the library is compared with the update information of the library of the central station stored in the first memory, and it is determined whether the libraries of the central station and the plurality of terminal stations match or The gist of the present invention is to have a discriminating means for discriminating inconsistencies, and the following.

(作用) 上記構成を備えたライブラリ同期チエツク方式は、中央
局に備えられ当該中央局に接続されている複数の端末局
のライブラリの更新情報を第1のメモリから読出す。ま
た、第2のメモリから中央局に備えている中央局のライ
ブラリの更新情報を第2のメモリから読出す。読出した
前記中央局のライブラリの更新情報と複数の端末局のラ
イブラリの更新情報とを比較し、中央局のライブラリの
更新情報と複数の端末局のライブラリの更新情報との一
致を判別するので、中央局に接続されている端末局が増
加しても中央局と端末局とのライブラリの同期のチエツ
クを迅速に処理できる。
(Operation) The library synchronization check system having the above configuration reads from the first memory update information of a library of a plurality of terminal stations provided in a central station and connected to the central station. Further, update information of the library of the central office provided in the central office is read from the second memory. The read update information of the library of the central station is compared with the update information of the libraries of the plurality of terminal stations, and it is determined whether the update information of the central station library and the update information of the libraries of the plurality of terminal stations match. Even if the number of terminal stations connected to the central station increases, it is possible to quickly check the synchronization of libraries between the central station and the terminal stations.

(実施例) 以下、図面を用いて本発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明のライブラリ同期チエツク方式が適用さ
れたコンピュータシステムに係る一実施例の制御を示す
ブロック図である。
FIG. 1 is a block diagram showing control of an embodiment of a computer system to which the library synchronization check method of the present invention is applied.

この一実施例は、コンピュータシステムの中央処理装置
であるCPUを備えたマスクマシン1(中央局)とデー
タの人出力等の処理を行なう、例えばパーソナルコンピ
ュータからなるスレーブマシン3(端末局)とがデータ
伝送路5を介して接続されている構成である。
In this embodiment, a mask machine 1 (central station) equipped with a CPU, which is a central processing unit of a computer system, and a slave machine 3 (terminal station), for example, a personal computer, which processes human output of data, etc. This configuration is connected via a data transmission path 5.

上記マスタマシン1は、データの送受信を正確に行なう
ために送受信間で同期をとるプログラムであるオンライ
ンライブラリ保守プログラム7(OL P)および当該
オンラインライブラリ保守プログラム7のサブルーチン
であるチエツクプログラム9 (CHP)を有する。上
記オンラインライブラリ保守プログラム7は、マスクマ
シン1のシステムが起動すると同時に起動してライブラ
リを検査するものである。一方、チエツクプログラム9
は、オンラインライブラリ保守プログラム7の起動と同
時にコール命令により起動するサブルーチンである。
The master machine 1 has an online library maintenance program 7 (OLP), which is a program that synchronizes data transmission and reception in order to accurately transmit and receive data, and a check program 9 (CHP), which is a subroutine of the online library maintenance program 7. has. The online library maintenance program 7 is started at the same time as the system of the mask machine 1 is started to inspect the library. On the other hand, check program 9
is a subroutine that is activated by a call instruction at the same time as the online library maintenance program 7 is activated.

また、マスクマシン1は磁気ディスク11.13を有す
る。上記磁気ディスク11は、第2図(a)、(b)に
示すライブラリ変更情報17とスレーブマシン反映情報
19とを所定アドレスに記憶している。上記ライブラリ
変更情報17は、個々のファイル名であるメンバ名と当
該ファイルの作成された作成日時と当該ファイルが更新
された更新日時とを記憶している。上記スレーブマシン
反映情報19は、マスクマシン1に接続されている複数
のスレーブマシン3の各スレーブマシン名を示すノード
名と当該スレーブマシン3の有するメンバの有無を示す
フラグとを有する。また、磁気ディスク13は、マスク
マシンに接続されているスレーブマシン3のライブラリ
を記憶しているものである。
The mask machine 1 also has magnetic disks 11.13. The magnetic disk 11 stores library change information 17 and slave machine reflection information 19 shown in FIGS. 2(a) and 2(b) at predetermined addresses. The library change information 17 stores the member name which is the name of each file, the creation date and time of the file, and the update date and time of the file. The slave machine reflection information 19 includes a node name indicating each slave machine name of a plurality of slave machines 3 connected to the mask machine 1 and a flag indicating whether the slave machine 3 has a member. Further, the magnetic disk 13 stores a library of the slave machine 3 connected to the mask machine.

上記チエツクプログラム9は、磁気ディスク11からラ
イブラリ変更情報17およびスレーブマシン反映情報1
つを読出し、磁気ディスク13からメンバ名を読出す。
The above check program 9 checks library change information 17 and slave machine reflection information 1 from the magnetic disk 11.
The member name is read from the magnetic disk 13.

読出したメンバ名、ライブラリ変更情報17およびスレ
ーブマシン反映情報19によりチエツクプログラム9は
、第2図(C)に示すライブラリ内のメンバ情報21を
作成する。
Based on the read member name, library change information 17, and slave machine reflection information 19, the check program 9 creates member information 21 in the library shown in FIG. 2(C).

上記メンバ情報21は、ライブラリ変更情報17と同様
にメンバ名、作成日時および更新日時を記憶するもので
ある。また、チエツクプログラム9は、ライブラリ変更
情報17の更新日時とメンバ情報21の更新日時とを比
較して、更新日時が一致するとマスクマシン1のライブ
ラリとスレーブマシン3のライブラリとが同期であると
判断する。
The member information 21, like the library change information 17, stores the member name, creation date and time, and update date and time. The check program 9 also compares the update date and time of the library change information 17 with the update date and time of the member information 21, and determines that the library of the mask machine 1 and the library of the slave machine 3 are synchronized if the update dates and times match. do.

即ち、マスクマシン1とスレーブマシン3とのデータ伝
送が正常である。
That is, data transmission between the mask machine 1 and the slave machine 3 is normal.

一方、上記更新日時が一致しなければチエツクプログラ
ム7は、マスクマシン1のライブラリとスレーブマシン
3のライブラリとが同期でないと判断する。即ち、マス
クマシン1とスレーブマシン3とのデータ伝送が正常で
ない。判断の結果は、ライブラリ変更情報17およびス
レーブ反映情報19に書込まれる。これらの処理をチエ
ツクプログラム9は、マスクマシン1に接続されている
全てのスレーブマシン3について行なう。上記の処理の
終了後、チエツクプログラム7は、オンラインライブラ
リ保守プログラム7にリターン命令により戻る。
On the other hand, if the update dates and times do not match, the check program 7 determines that the library of the mask machine 1 and the library of the slave machine 3 are not synchronized. That is, data transmission between the mask machine 1 and the slave machine 3 is not normal. The result of the determination is written to the library change information 17 and slave reflection information 19. The check program 9 performs these processes on all slave machines 3 connected to the mask machine 1. After completing the above processing, the check program 7 returns to the online library maintenance program 7 by a return command.

一方、スレーブマシン3は、磁気ディスク15を有して
前述した磁気ディスク13と同様にライブラリを所定ア
ドレスに記憶している。
On the other hand, the slave machine 3 has a magnetic disk 15 and stores a library at a predetermined address similarly to the magnetic disk 13 described above.

次にこの実施例の作用を第3図の処理フローチャートを
用いて説明する。
Next, the operation of this embodiment will be explained using the processing flowchart shown in FIG.

まず、装置に電源投入後、システムが立上がる。First, after turning on the power to the device, the system starts up.

システムの立上げ後、オンラインライブラリ保守プログ
ラム7は、起動してチエツクプログラム9をコール命令
により呼び込む。呼び込まれたチエツクプログラム9は
、磁気ディスク11からライブラリ変更情報17および
スレーブマシン反映情報19を読出し、磁気ディスク1
3からメンバ名を読出す。上記チエツクプログラム9は
、読出したライブラリ変更情報17およびスレーブマシ
ン反映情報19からライブラリ内のメンバ情報21を作
成する(ステップ100〜110)。 メンバ情報21
を作成後、チエツクプログラム9は、ライブラリ変更情
報17の更新日時とメンバ情報21の更新日時とを比較
する。比較した結果、チエツクプログラム9は、ライブ
ラリ変更情報17の更新日時とメンバ情報21の更新日
時とが一致しているときには、同期していると判断し、
一方、一致していないときには同期が一致していないと
判断する。上記チエツクプログラム9は、比較した結果
をライブラリ変更情報17およびメンバ情報21に書込
んだ後にリターン命令によりオンラインライブラリ保守
プログラム7に戻る。オンラインライブラリ保守プログ
ラム7は、スレーブマシン反映情報19のノード名とフ
ラグをチエツクして、更新するメンバ名を磁気ディスク
13から入力してスレーブマシン3の磁気ディスク15
を更新する。更新後、オンラインライブラリ保守プログ
ラム9は、スレーブマシン反映情報19のフラグをリセ
ットして当該スレーブマシン反映情報を磁気ディスク1
1の所定アドレスに記憶する(ステップ120〜130
)。
After the system is started up, the online library maintenance program 7 starts up and calls the check program 9 by a call command. The called check program 9 reads the library change information 17 and slave machine reflection information 19 from the magnetic disk 11, and
Read the member name from 3. The check program 9 creates member information 21 in the library from the read library change information 17 and slave machine reflection information 19 (steps 100 to 110). Member information 21
After creating the library change information 17, the check program 9 compares the update date and time of the library change information 17 with the update date and time of the member information 21. As a result of the comparison, if the update date and time of the library change information 17 and the update date and time of the member information 21 match, the check program 9 determines that they are synchronized.
On the other hand, if they do not match, it is determined that the synchronization does not match. The check program 9 writes the comparison results into the library change information 17 and member information 21, and then returns to the online library maintenance program 7 by a return command. The online library maintenance program 7 checks the node name and flag of the slave machine reflection information 19, inputs the member name to be updated from the magnetic disk 13, and updates the slave machine 3's magnetic disk 15.
Update. After the update, the online library maintenance program 9 resets the flag of the slave machine reflection information 19 and transfers the slave machine reflection information to the magnetic disk 1.
1 at a predetermined address (steps 120 to 130)
).

これにより、従来の如くマスクマシン1のライブラリと
スレーブマシン3のライブラリとを逐次比較する必要が
ないため、マスクマシン1に接続されているスレーブマ
シン3の台数が増加しても同期のチエツクに要する処理
時間が遅延することを防止できる。処理時間の遅延を防
止できる結果、オンラインでのデータの送受信が正確に
行ないデータ処理の高速化が実現できる。
As a result, there is no need to successively compare the library of the mask machine 1 and the library of the slave machine 3 as in the past, so even if the number of slave machines 3 connected to the mask machine 1 increases, the synchronization check will still be required. Delays in processing time can be prevented. As a result of being able to prevent delays in processing time, online data transmission and reception can be performed accurately and data processing can be accelerated.

また、スレーブマシン3がダウンした場合にも、マスク
マシン1のオンラインライブラリ保守プログラム7およ
びチエツクプログラム9によりスレーブマシン3とのラ
イブラリの同期のチエツクが可能である。
Furthermore, even if the slave machine 3 goes down, it is possible to check the synchronization of the library with the slave machine 3 using the online library maintenance program 7 and check program 9 of the mask machine 1.

以上、この発明はその要旨を逸脱しない範囲内で種々変
更して実施することができる。
As described above, the present invention can be implemented with various modifications within the scope of the invention.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、中央局側(マス
クマシン)に当該中央局および端末局(スレーブマシン
)のライブラリを備えて、当該ライブラリに記憶されて
いる中央局の更新情報と端末局の更新情報とを比較して
、中央局と端末局との同期を判別するので、端末局が増
加した場合にも中央局と端末局との同期を判別する検査
の遅延を防止できる。
As explained above, according to the present invention, the central station side (mask machine) is provided with a library of the central station and the terminal station (slave machine), and the update information of the central station stored in the library and the terminal Since the synchronization between the central station and the terminal stations is determined by comparing the update information of the stations, it is possible to prevent delays in checking the synchronization between the central station and the terminal stations even when the number of terminal stations increases.

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

第1図は本発明のライブラリ同期チエツク方式に係る一
実施例を示す構成図、第2図は管理情報を示す図、第3
図は本発明の処理を示すフローチャートである。 1・・・マスクマシン 3・・・スレーブマシン 5・・・伝送路 7・・・オンラインライブラリ保守プログラム9・・・
チエツクプログラム 11.13.15・・・磁気ディスク
FIG. 1 is a block diagram showing an embodiment of the library synchronization check method of the present invention, FIG. 2 is a diagram showing management information, and FIG. 3 is a diagram showing management information.
The figure is a flowchart showing the processing of the present invention. 1...Mask machine 3...Slave machine 5...Transmission line 7...Online library maintenance program 9...
Check program 11.13.15...Magnetic disk

Claims (1)

【特許請求の範囲】 データの処理およびシステムの制御をする中央局と、 この中央局に接続されている複数の端末局と、前記中央
局に有する当該中央局のライブラリの更新情報を記憶す
る第1のメモリと、 前記中央局に有する前記複数の端末局のライブラリの更
新情報を記憶する第2のメモリと、この第2のメモリに
記憶されている複数の端末局のライブラリの更新情報と
前記第1のメモリに記憶されている前記中央局のライブ
ラリの更新情報とを比較し、前記中央局と複数の端末局
とのライブラリの一致または不一致を判別する判別手段
と、 を備えたことを特徴とするライブラリ同期チェック方式
[Scope of Claims] A central station that processes data and controls the system; a plurality of terminal stations connected to the central station; and a central station that stores update information of the library of the central station. a second memory that stores update information of the library of the plurality of terminal stations stored in the central station; a second memory that stores update information of the library of the plurality of terminal stations stored in the second memory; A determining means for comparing library update information of the central station stored in a first memory and determining whether the libraries of the central station and a plurality of terminal stations match or do not match. Library synchronization check method.
JP1093122A 1989-04-14 1989-04-14 Library synchronism checking system Pending JPH02272650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1093122A JPH02272650A (en) 1989-04-14 1989-04-14 Library synchronism checking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1093122A JPH02272650A (en) 1989-04-14 1989-04-14 Library synchronism checking system

Publications (1)

Publication Number Publication Date
JPH02272650A true JPH02272650A (en) 1990-11-07

Family

ID=14073718

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1093122A Pending JPH02272650A (en) 1989-04-14 1989-04-14 Library synchronism checking system

Country Status (1)

Country Link
JP (1) JPH02272650A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997043724A1 (en) * 1996-05-10 1997-11-20 Aim Corporation Message searching system and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997043724A1 (en) * 1996-05-10 1997-11-20 Aim Corporation Message searching system and terminal
GB2328537A (en) * 1996-05-10 1999-02-24 Aim Corp Message searching system and terminal
GB2328537B (en) * 1996-05-10 2000-08-09 Aim Corp Message searching system and terminal
US6356893B1 (en) 1996-05-10 2002-03-12 Yuichiro Itakura Message searching system and terminal

Similar Documents

Publication Publication Date Title
US5777874A (en) Programmable controller backup system
US5046068A (en) Multi-processor system testing method
WO1989008883A1 (en) Record lock processor for multiprocessing data system
JPS63253437A (en) Detection of multiprocessor system
CN109254791A (en) Develop management method, computer readable storage medium and the terminal device of data
JPH02272650A (en) Library synchronism checking system
JP2970082B2 (en) Virtual intercluster communication processor
JP2005250722A (en) Sequential execution method for input/output dynamic reconfiguration
JPS61195444A (en) Computer system
JP2699436B2 (en) Parameter inspection processing method
JPS6177913A (en) Automatic system generation system
JP2506591B2 (en) Auxiliary processor
JP2609456B2 (en) Multiprocessor programmable controller
JPH0721013A (en) System generating system
JPH05143422A (en) Updated journal managing system
JP2001282590A (en) Multidimensional data base processing system
JPH02231894A (en) Station data collating method
JPH03160531A (en) Diagnostic system
JPS61290545A (en) Automatic output device for vertification use data
JPH0279271A (en) Fault processing system for magnetic disk device
JPH0675807A (en) Fault processing verifying system
JPS63311520A (en) Control system for input data
JPS63195745A (en) Microdiagnosis system
JPS62224833A (en) Suitability inspecting system of data form
JPH0713811A (en) Decentralized control system