JPH05250335A - Data base update processing system of loosely coupled multiprocessor system - Google Patents

Data base update processing system of loosely coupled multiprocessor system

Info

Publication number
JPH05250335A
JPH05250335A JP4050236A JP5023692A JPH05250335A JP H05250335 A JPH05250335 A JP H05250335A JP 4050236 A JP4050236 A JP 4050236A JP 5023692 A JP5023692 A JP 5023692A JP H05250335 A JPH05250335 A JP H05250335A
Authority
JP
Japan
Prior art keywords
database
image
access
record
update
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.)
Withdrawn
Application number
JP4050236A
Other languages
Japanese (ja)
Inventor
Kazuhiro Kurosawa
和弘 黒澤
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 JP4050236A priority Critical patent/JPH05250335A/en
Publication of JPH05250335A publication Critical patent/JPH05250335A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To reduce the load on a processor and to alter the transaction processing of its own system without being aware of synchronism with transaction processing of another system. CONSTITUTION:This system includes a data base access device 1 for its data base 6, an access DML storage device 2 for access key information, an access record storage device 3 for a record image after data base update, an after image editing device 4 for after image editing which updates the data base of the other systems according to access key information and the record image after data base update, and a shared file output device 5 which outputs the after image to a shared file 7 between its own system and the other system. In the other system, a shared file input device 8 from the shared file to the after image, an after image update device 9 for an instruction of access to the data base 11 of the other system and an instruction of update of the other- system data base as access information on the after image, and an input/output data base update device 10 for the other-system data base are provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は疎結合マルチプロセッサ
システムにおけるデータベース更新処理方式に関し、特
に疎結合マルチプロセッサシステムのシステム間で非共
有な階層型データベースを更新する方式において、自系
のデータベースのレコードイメージと同じレコードイメ
ージを他系のデータベースで保有し、自系のデータベー
スを更新した後に他系のデータベースを遅延更新する疎
結合マルチプロセッサシステムにおけるデータベース更
新処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database update processing method in a loosely coupled multiprocessor system, and more particularly in a method of updating a non-shared hierarchical database between loosely coupled multiprocessor system records The present invention relates to a database update processing method in a loosely coupled multiprocessor system in which the same record image as an image is held in another system's database, and the other system's database is updated after the own system's database is updated.

【0002】[0002]

【従来の技術】従来、疎結合マルチプロセッサシステム
のシステム間で非共有な階層型データベースを更新する
方式では、自系の入力データをもとに業務処理を実行し
て自系のデータベースを更新した後に、自系の入力デー
タを他系に引き渡して、他系では自系と同じ業務処理を
実行して他系のデータベースを更新する方式となってい
た。
2. Description of the Related Art Conventionally, in a method of updating a non-shared hierarchical database between loosely coupled multiprocessor systems, business processing is executed based on input data of the own system to update the own database. After that, the input data of the own system was passed to the other system, and the other system executed the same business process as the own system to update the database of the other system.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の技術
は、他系のデータベースを更新するときに自系と同じ業
務処理を実行するため、マルチプロセッサシステムの中
で同様の業務処理を2度実行することになり、プロセッ
サへの負荷が大きくなるという問題点があった。
The above-mentioned conventional technique executes the same business process as that of the local system when updating the database of the other system, and therefore executes the same business process twice in the multiprocessor system. Therefore, there is a problem that the load on the processor increases.

【0004】また、自系の業務処理と他系の業務処理の
同期をとって変更するという制約条件が必要になるとい
う問題点があった。
Further, there is a problem that a constraint condition that the business processing of the own system and the business processing of the other system are changed in synchronization is necessary.

【0005】[0005]

【課題を解決するための手段】本発明の疎結合マルチプ
ロセッサシステムにおけるデータベース更新処理方式
は、自系及び他系からなる疎結合マルチプロセッサシス
テムのシステム間でそれぞれ非共有な自系及び他系デー
タベースを持ち、自系データベース更新後に他系データ
ベースを遅延更新する場合、自系内に、自系データベー
スの入出力を行うためのデータベースアクセス装置と、
自系データベースのアクセスキー情報を記憶するアクセ
スDML(DMLはデータ操作言語であるData M
anipulation Languageの略号)記
憶装置と、データベース更新後レコードイメージを記憶
するアクセスレコード記憶装置と、アクセスキー情報と
データベース更新後レコードイメージから他系データベ
ースを更新するためのアフターイメージを編集するアフ
ターイメージ編集装置と、自系と他系の間に持つ共有フ
ァイルへアフターイメージを出力するための共有ファイ
ル出力装置を備え、他系内に、共有ファイルからアフタ
ーイメージを入力する共有ファイル入力装置と、アフタ
ーイメージに保有するアクセス情報に従って他系データ
ベースへのアクセスの指示を行いデータベース更新後レ
コードイメージによる他系データベースの更新を指示す
るアフターイメージ更新装置と、アフターイメージ更新
装置からの指示により他系データベースの入出力を行う
データベース更新装置を備え、自系データベース更新後
のレコードイメージを他系に引き渡して、他系データベ
ースを遅延更新する。
A database update processing method in a loosely coupled multiprocessor system according to the present invention is a database which is not shared between the systems of a loosely coupled multiprocessor system consisting of its own system and another system. If you have a database and you want to delay the update of other databases after updating your own database, a database access device for inputting / outputting your own database in your own system,
Access DML that stores access key information of its own database (DML is a data manipulation language Data M
abbreviation of "animation Language") storage device, access record storage device for storing record image after database update, and after image editing device for editing after image for updating other system database from access key information and record image after database update And a shared file output device for outputting an after image to a shared file between the own system and another system, and a shared file input device for inputting an after image from the shared file in the other system and an after image. An after image updating device for instructing access to the other system database according to the stored access information and for updating the other system database with the record image after the database update, and an instruction from the after image updating device. A database updating device for inputting / outputting the other system database is provided, and the record image after updating the own system database is delivered to the other system and the other system database is delayedly updated.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0007】図1は本発明の疎結合マルチプロセッサシ
ステムにおけるデータベース更新処理方式の一実施例を
示す構成図である。図2は本実施例のアクセスDML記
憶装置2の記憶形態を示す構成図である。図3は本実施
例のアクセスレコード記憶装置3の記憶形態を示す構成
図である。図4は本実施例のアフターイメージの記憶形
態を示す構成図である。
FIG. 1 is a block diagram showing an embodiment of a database update processing system in a loosely coupled multiprocessor system of the present invention. FIG. 2 is a block diagram showing the storage form of the access DML storage device 2 of this embodiment. FIG. 3 is a block diagram showing the storage form of the access record storage device 3 of this embodiment. FIG. 4 is a configuration diagram showing the storage form of the after image of the present embodiment.

【0008】疎結合マルチプロセッサシステムは、デー
タベース入出力を行うためのデータベースアクセス装置
1、データベースのアクセスキー情報を記憶するアクセ
スDML記憶装置2、データベース更新後レコードイメ
ージを記憶するアクセスレコード記憶装置3、アクセス
キー情報とデータベース更新後レコードイメージから他
系のデータベースを更新するためのアフターイメージを
編集するアフターイメージ編集装置4、共有ファイル7
へアフターイメージを出力するための共有ファイル出力
装置5、自系データベース6、自系と他系の間でアフタ
ーイメージを引き渡すための共有ファイル7、共有ファ
イル7からアフターイメージを入力する共有ファイル入
力装置8、アフターイメージに保有するアクセス情報に
従ってデータベースへのアクセスの指示を行いデータベ
ース更新後レコードイメージによる他系データベース1
1の更新を指示するアフターイメージ更新装置9、アフ
ターイメージ更新装置9からの指示により他系データベ
ース11の入出力を行うデータベース更新装置10、他
系データベース11、らを備えている。
The loosely coupled multiprocessor system includes a database access device 1 for inputting / outputting a database, an access DML storage device 2 for storing access key information of a database, an access record storage device 3 for storing a record image after database update, After-image editing device 4 for editing an after-image for updating another database from the access key information and the record image after updating the database, shared file 7
Shared file output device 5 for outputting after image, own database 6, shared file 7 for passing after image between own system and other system, shared file input device for inputting after image from shared file 7 8. Access to the database according to the access information held in the after image, and the other system database by the record image after the database is updated 1
1, an after-image updating device 9 for instructing to update 1; a database updating device 10 for inputting / outputting the other-system database 11 according to an instruction from the after-image updating device 9;

【0009】アクセスDML記憶装置2の記憶形態は、
図2に示すように、データベース内のレコードの種類を
表すレコード識別子21、レコード入出力に使用するD
MLを表すDML識別子22、レコード入出力に使用し
たキーなどを表すアクセス情報23、レコード識別子2
1の親の関係を表す上位識別子24、レコード識別子2
1の階層レベルを表すキー順位25で構成されている。
The storage form of the access DML storage device 2 is
As shown in FIG. 2, a record identifier 21 indicating the type of record in the database and D used for record input / output.
DML identifier 22 representing ML, access information 23 representing a key used for record input / output, record identifier 2
Higher-level identifier 24 and record identifier 2 representing the parental relationship of 1
It is composed of key ranks 25 representing one hierarchical level.

【0010】アクセスレコード記憶装置3の記憶形態
は、図3に示すように、レコード識別子31、DML識
別子32、レコードイメージ33で構成されている。
As shown in FIG. 3, the storage form of the access record storage device 3 is composed of a record identifier 31, a DML identifier 32, and a record image 33.

【0011】アフターイメージは、図4に示すように、
更新対象レコードへのアクセス情報を表すアクセスパス
41、レコード識別子42、DML識別子43、レコー
ドイメージ44、そしてアクセスパス41はデータベー
スの階層レベルの数に対応した数のDML識別子45と
アクセス情報46で構成されている。
The after image is as shown in FIG.
An access path 41 that represents access information to the update target record, a record identifier 42, a DML identifier 43, a record image 44, and the access path 41 is composed of a number of DML identifiers 45 and access information 46 corresponding to the number of hierarchical levels of the database. Has been done.

【0012】次に一連の動作につき説明する。Next, a series of operations will be described.

【0013】自系内のデータベース入出力を行う場合に
は必ずデータベースアクセス装置1を介して行う。デー
タベースアクセス装置1が、自系データベース6からレ
コードを入力する場合には、データベースアクセス装置
1はレコードの入力に使用したアクセス命令と入力レコ
ードの種類を示すレコード識別子21をアクセスDML
記憶装置2に渡す。アクセスDML記憶装置2は入力レ
コードのレコード識別子21と同じ値を持つレコード識
別子21に対応するDML識別子22とアクセス情報2
3に値を設定する。DML識別子22にはアクセス命令
で使用したDMLを設定する。アクセス情報23には、
キーを持つレコードを入力した場合にはアクセス命令の
キーを設定し、キーを持たないレコードを入力した場合
にはアクセス命令にキーを持たないので同一セット内の
レコード順番を設定する。
When inputting / outputting a database in the own system, it is always performed via the database access device 1. When the database access device 1 inputs a record from the local database 6, the database access device 1 accesses the access command used to input the record and the record identifier 21 indicating the type of the input record to access the DML.
Hand it over to the storage device 2. The access DML storage device 2 stores the access information 2 and the DML identifier 22 corresponding to the record identifier 21 having the same value as the record identifier 21 of the input record.
Set the value to 3. The DML used in the access command is set in the DML identifier 22. The access information 23 includes
When a record having a key is input, the key of the access instruction is set, and when a record having no key is input, the access instruction does not have a key, so the order of records in the same set is set.

【0014】データベースアクセス装置1がレコードを
自系データベース6へ出力する場合には、データベース
アクセス装置1はレコードの出力に使用したDML識別
子22と出力したレコードイメージとレコード識別子2
1をアクセスレコード記憶装置3へ渡す。アクセスレコ
ード記憶装置3はレコードの出力に使用したDML識別
子32と出力したレコードイメージ33とレコード識別
子31を記憶する。
When the database access device 1 outputs a record to the local database 6, the database access device 1 outputs the DML identifier 22 used to output the record, the output record image and the record identifier 2.
1 is passed to the access record storage device 3. The access record storage device 3 stores the DML identifier 32 used to output the record, the output record image 33 and the record identifier 31.

【0015】アフターイメージ編集機構4は、アクセス
DML記憶装置2に記憶されたDML識別子22とアク
セス情報23を使用してアクセスパス41を作成し、ア
クセスレコード記憶装置3に記憶されたDML識別子3
2とレコードイメージ33とレコード識別子31からア
フターイメージを作成し、共用ファイル出力装置5へ渡
す。
The after-image editing mechanism 4 creates an access path 41 using the DML identifier 22 and the access information 23 stored in the access DML storage device 2, and the DML identifier 3 stored in the access record storage device 3.
The after image is created from 2, the record image 33, and the record identifier 31, and is passed to the shared file output device 5.

【0016】アクセスパス41の作成方法は、レコード
識別子31と同じ値を持つレコード識別子21に対応す
るDML識別子22とアクセス情報23を、キー順位2
5で示す位置のDML識別子45とアクセス情報46に
設定し、次に上位識別子24の値と同じ値を持つレコー
ド識別子21に対応するDML識別子22とアクセス情
報23について同様の処理を行い、上位識別子24の値
が空になるまで繰り返す。
The access path 41 is created by setting the DML identifier 22 corresponding to the record identifier 21 having the same value as the record identifier 31 and the access information 23 in the key order 2.
5 is set in the DML identifier 45 and the access information 46 at the position shown in FIG. 5, and then the same processing is performed for the DML identifier 22 and the access information 23 corresponding to the record identifier 21 having the same value as the value of the upper identifier 24, Repeat until the value of 24 is empty.

【0017】共用ファイル出力装置5はアフターイメー
ジを共用ファイル7へ出力する。他系では、共有ファイ
ル入力装置8は、共有ファイル7からアフターイメージ
を入力してアフターイメージ更新装置9へ渡す。
The shared file output device 5 outputs the after image to the shared file 7. In the other system, the shared file input device 8 inputs an after image from the shared file 7 and passes it to the after image updating device 9.

【0018】アフターイメージ更新装置9はデータベー
ス更新装置10を介して、アフターイメージのアクセス
パス41に設定されたDML識別子45とアクセス情報
46を使用して他系データベース11のレコード更新の
ための位置付けを行い、更新指示情報であるDML識別
子43を使用してレコードイメージ44を更新する。
The after-image updating device 9 uses the DML identifier 45 and access information 46 set in the after-image access path 41 through the database updating device 10 to position the other-system database 11 for updating the record. Then, the record image 44 is updated using the DML identifier 43 that is the update instruction information.

【0019】レコード更新のための位置付けの方法は、
アクセス情報46にキーが設定されている場合には、D
ML識別子45に設定されているDMLとキーによりア
クセスを行い、アクセス情報46にセット内のレコード
順番が設定されている場合には、DML識別子45に設
定されているDMLをレコード順番の回数分繰り返し実
行することにより行う。
The positioning method for updating a record is as follows:
If a key is set in the access information 46, D
When the DML and the key set in the ML identifier 45 are used for access, and the record order in the set is set in the access information 46, the DML set in the DML identifier 45 is repeated for the number of record orders. Do by running.

【0020】以上のように自系データベース6の更新後
レコードイメージを他系に引き渡すことにより他系デー
タベース11の遅延更新を行う。
As described above, the post-update record image of the own system database 6 is transferred to the other system to perform the delayed update of the other system database 11.

【0021】[0021]

【発明の効果】以上説明したように、本発明の疎結合マ
ルチプロセッサシステムにおけるデータベース更新処理
方式は、自系のデータベース更新後のレコードイメージ
を他系に引き渡して他系のデータベースを遅延更新する
ので、他系のデータベースを更新するときに自系と同じ
業務処理を実行する必要がないため、プロセッサへの負
荷が軽減される。
As described above, according to the database update processing method in the loosely coupled multiprocessor system of the present invention, the record image after the database update of the own system is passed to the other system and the database of the other system is delayed and updated. Since it is not necessary to execute the same business process as the local system when updating the database of the other system, the load on the processor is reduced.

【0022】また、他系には自系と同様の業務処理を実
装しないので、他系の業務処理との同期を意識しないで
自系の業務処理の変更を行うことが出来る。
Further, since the business processing similar to that of the own system is not implemented in the other system, the business processing of the own system can be changed without being aware of the synchronization with the business processing of the other system.

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

【図1】本発明の疎結合マルチプロセッサシステムにお
けるデータベース更新処理方式の一実施例を示す構成図
である。
FIG. 1 is a configuration diagram showing an embodiment of a database update processing method in a loosely coupled multiprocessor system of the present invention.

【図2】本実施例の疎結合マルチプロセッサシステムに
おけるデータベース更新処理方式におけるアクセスDM
L記憶装置の記憶形態を示す構成図である。
FIG. 2 is an access DM in a database update processing method in the loosely coupled multiprocessor system according to the present embodiment.
It is a block diagram which shows the storage form of a L storage device.

【図3】本実施例の疎結合マルチプロセッサシステムに
おけるデータベース更新処理方式におけるアクセスレコ
ード記憶装置の記憶形態を示す構成図である。
FIG. 3 is a configuration diagram showing a storage form of an access record storage device in a database update processing method in the loosely coupled multiprocessor system of the present embodiment.

【図4】本実施例の疎結合マルチプロセッサシステムに
おけるデータベース更新処理方式におけるアフターイメ
ージの記憶形態を示す構成図である。
FIG. 4 is a configuration diagram showing a storage form of an after image in the database update processing method in the loosely coupled multiprocessor system of the present embodiment.

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

1 データベースアクセス装置 2 アクセスDML記憶装置 3 アクセスレコード記憶装置 4 アフターイメージ編集装置 5 共有ファイル出力装置 6 自系データベース 7 共有ファイル 8 共有ファイル入力装置 9 アフターイメージ更新装置 10 データベース更新装置 11 他系データベース 1 database access device 2 access DML storage device 3 access record storage device 4 after image editing device 5 shared file output device 6 own system database 7 shared file 8 shared file input device 9 after image updating device 10 database updating device 11 other system database

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 自系及び他系からなる疎結合マルチプロ
セッサシステムのシステム間でそれぞれ非共有な自系及
び他系データベースを持ち、自系データベース更新後に
他系データベースを遅延更新する場合、自系内に、自系
データベースの入出力を行うためのデータベースアクセ
ス装置と、自系データベースのアクセスキー情報を記憶
するアクセスDML記憶装置と、データベース更新後レ
コードイメージを記憶するアクセスレコード記憶装置
と、アクセスキー情報とデータベース更新後レコードイ
メージから他系データベースを更新するためのアフター
イメージを編集するアフターイメージ編集装置と、自系
と他系の間に持つ共有ファイルへアフターイメージを出
力するための共有ファイル出力装置を備え、他系内に、
共有ファイルからアフターイメージを入力する共有ファ
イル入力装置と、アフターイメージに保有するアクセス
情報に従って他系データベースへのアクセスの指示を行
いデータベース更新後レコードイメージによる他系デー
タベースの更新を指示するアフターイメージ更新装置
と、アフターイメージ更新装置からの指示により他系デ
ータベースの入出力を行うデータベース更新装置を備
え、自系データベース更新後のレコードイメージを他系
に引き渡して、他系データベースを遅延更新することを
特徴とする疎結合マルチプロセッサシステムにおけるデ
ータベース更新処理方式。
1. A system in which a system of a loosely coupled multiprocessor system including a self system and a remote system has a non-shared self system and a non-system database, respectively, and the other system database is delayed and updated after the self system database is updated. A database access device for inputting / outputting an own database, an access DML storage device for storing access key information of the own database, an access record storage device for storing a record image after database update, and an access key After-image editing device that edits the after-image to update the other database from the record image after updating the information and database, and the shared-file output device that outputs the after-image to the shared file held between the own system and the other system Equipped with the other system,
A shared file input device that inputs an after image from a shared file, and an after image update device that issues an instruction to access another system database according to the access information held in the after image and instruct another database update after the database update And a database updating device for inputting and outputting to another system database according to an instruction from the after-image updating device, and the record image after updating the own system database is passed to the other system, and the other system database is delayedly updated. Database Update Processing Method for Loosely Coupled Multiprocessor Systems.
JP4050236A 1992-03-09 1992-03-09 Data base update processing system of loosely coupled multiprocessor system Withdrawn JPH05250335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4050236A JPH05250335A (en) 1992-03-09 1992-03-09 Data base update processing system of loosely coupled multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4050236A JPH05250335A (en) 1992-03-09 1992-03-09 Data base update processing system of loosely coupled multiprocessor system

Publications (1)

Publication Number Publication Date
JPH05250335A true JPH05250335A (en) 1993-09-28

Family

ID=12853374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4050236A Withdrawn JPH05250335A (en) 1992-03-09 1992-03-09 Data base update processing system of loosely coupled multiprocessor system

Country Status (1)

Country Link
JP (1) JPH05250335A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07160562A (en) * 1993-12-09 1995-06-23 Nec Corp Method and device for managing data base for intelligent network system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07160562A (en) * 1993-12-09 1995-06-23 Nec Corp Method and device for managing data base for intelligent network system

Similar Documents

Publication Publication Date Title
JPH04172542A (en) Function extension system for data base management system
JPH05250335A (en) Data base update processing system of loosely coupled multiprocessor system
JP3484440B2 (en) Distributed database update method
JPH0394377A (en) Map file updating system
JPH05257765A (en) Database management system
JP3330006B2 (en) Network system including information storage system, input system of the system, and
JPH04263362A (en) Document edition control system
JPH0296277A (en) Picture data control system
JPH0476742A (en) Data base updating system
JPH03276239A (en) Record control system
JPH039443A (en) Data set managing system
JPH021056A (en) Data base processing system
JPH0337721A (en) Attribute borrowing system for dictionary system
JPH05151061A (en) Decentralized data base system
JPH01162955A (en) Buffer control system
JPH11175344A (en) Knowledge base system
JPH0337720A (en) Data chaining system for dictionary system
JPH04137035A (en) Software design structure storage device
JPH04145527A (en) System for taking-out program text for parts
JPH02253451A (en) Data base managing system
JPH11312165A (en) Image display system
JPH0338746A (en) Managing system for definition of data structure
JPH0581104A (en) Save recovery system for data set
JPH10269119A (en) Accessing method to database
JPH04174073A (en) On-line document output control system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518