JPH0477932A - Data update system - Google Patents
Data update systemInfo
- Publication number
- JPH0477932A JPH0477932A JP2191769A JP19176990A JPH0477932A JP H0477932 A JPH0477932 A JP H0477932A JP 2191769 A JP2191769 A JP 2191769A JP 19176990 A JP19176990 A JP 19176990A JP H0477932 A JPH0477932 A JP H0477932A
- Authority
- JP
- Japan
- Prior art keywords
- data
- processing
- storage area
- data processing
- data storage
- 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
Links
- 238000012545 processing Methods 0.000 claims abstract description 32
- 238000013500 data storage Methods 0.000 claims abstract description 23
- 238000007781 pre-processing Methods 0.000 claims abstract description 10
- 238000000034 method Methods 0.000 claims description 4
- 230000010365 information processing Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000012958 reprocessing Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はファイル装置の更新処理に関し、特に複数タス
クで動作しているシステムの同時更新処理に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to update processing of a file device, and more particularly to simultaneous update processing of a system operating with multiple tasks.
従来、この種の処理は一つのタスクが更新個所を読み込
むと、その個所は他のタスクから読み込むことを禁止す
ることにより、複数のタスクで異なる更新を同じ個所に
同時に行うことを防止していた。Conventionally, this type of processing prevented multiple tasks from making different updates to the same location at the same time by prohibiting other tasks from reading that location when one task read an updated location. .
従来の方法では読み込み処理が禁止されたタスクの処理
が先に進まなくなり、このタスクが会話型タスクであれ
ば操作性を悪化させ、複数のタスクが同時にこの読み込
み禁止となるとシステムのデッドロックとなることがあ
った。In the conventional method, processing of a task whose reading processing is prohibited will not proceed further, and if this task is an interactive task, operability will deteriorate, and if multiple tasks are prohibited from reading at the same time, it will cause a system deadlock. Something happened.
本発明のデータ更新方式は、複数タスクが記憶装置を同
時にアクセスしている情報処理システムにおいて、デー
タ処理を行う前のデータを格納する処理前データ格納領
域と、前記記憶装置の更新個所のデータを読込む現在デ
ータ格納領域と、前記処理前データ格納領域および現在
データ格納領域の内容を比較する比較手段と、前記比較
手段の比較結果が一致した場合にデータ処理を行った後
のデータで前記更新個所を書き直す再書き込み手段とを
有するようにして構成される。In an information processing system in which multiple tasks access a storage device at the same time, the data update method of the present invention provides a pre-processing data storage area for storing data before data processing and data at an updated location in the storage device. a comparison means for comparing the current data storage area to be read with the contents of the pre-processing data storage area and the current data storage area; and when the comparison results of the comparison means match, the updating with the data after data processing is performed. and rewriting means for rewriting the portion.
また、本発明のデータ更新方式は、上記のデータ更新装
置を複数個含み、各データ更新装置の比較結果を外部へ
出力し、これらの比較結果が全て一致としているときの
み各データ更新装置に前記比較結果を一致として通知し
た場合に各データ更新装置に再書き込み手段が働き、複
数の更新個所を書き直すようにして実現される。Further, the data update method of the present invention includes a plurality of the above-mentioned data update devices, outputs the comparison results of each data update device to the outside, and only when all of the comparison results match, the data update method transmits the above data to each data update device. When the comparison result is notified as a match, the rewriting means operates in each data updating device to rewrite a plurality of updated locations.
第1図は本発明の第一の実施例のブロック図である。同
図において001はデータ処理、100はデータ更新処
理である。データ更新装置100は処理前データ格納領
域101と現在データ格納領域102と比較手段103
と再書込み手段104とを含む。FIG. 1 is a block diagram of a first embodiment of the present invention. In the figure, 001 is data processing, and 100 is data update processing. The data update device 100 includes a pre-processing data storage area 101, a current data storage area 102, and a comparing means 103.
and rewriting means 104.
処理前データ格納領域101はデータ処理001の処理
前のデータを格納し、現在データ格納領域102はデー
タ処理001の処理が終りデータを書き変える時点での
書き変え前のデータを格納し、比較手段103は処理前
データ格納領域101の内容と現在データ格納領域10
2の内容とを比較し、再書き込み手段104はデータ処
理001の結果として出力されるデータを比較手段10
3の結果に従ってファイルに書き戻す。The pre-processing data storage area 101 stores the data before data processing 001, and the current data storage area 102 stores the data before rewriting at the time when data processing 001 is completed and the data is rewritten. 103 indicates the contents of the pre-processing data storage area 101 and the current data storage area 10
The rewriting means 104 compares the data output as a result of the data processing 001 with the contents of the comparing means 10.
Write back to the file according to the result of step 3.
データ処理001の入力データとして読み込まれたデー
タは、そのままデータ更新装置100の処理前データ格
納領域101へ格納される。データ処理001の処理が
終了した時点で、入力データと同じ個所のデータを再び
読み込み現在データ格納領域102へ格納する。The data read as input data for the data processing 001 is stored as is in the unprocessed data storage area 101 of the data updating device 100. When the data processing 001 is completed, the data at the same location as the input data is read again and stored in the current data storage area 102.
次に比較手段103でこれらの2つのデータ格納領域1
01,102の内容が比較される。これらが一致してい
ればデータ処理001の処理後データが再書き込み手段
104へ送り込まれ、再書き込みを実行する。比較結果
が不一致のときには再書き込みは行なわず、データ処理
001は現在データの内容を入力データとして再処理を
行なつ。Next, the comparing means 103 compares these two data storage areas 1.
The contents of 01 and 102 are compared. If they match, the processed data of data processing 001 is sent to the rewriting means 104, and rewriting is executed. If the comparison result is a mismatch, rewriting is not performed, and data processing 001 performs reprocessing using the contents of the current data as input data.
第2図は本発明の第二の実施例のブロック図である。同
図において002は多重処理を実行するデータ処理、1
00〜300はそれぞれ上記のデータ更新装置である。FIG. 2 is a block diagram of a second embodiment of the invention. In the figure, 002 is data processing that executes multiple processing;
00 to 300 are the above data update devices, respectively.
AND装置900はデータ更新装置floo、200,
300の比較手段の結果の論理積を行っている。AND device 900 is data update device floo, 200,
The results of the 300 comparison means are ANDed.
A、 N D装N900の出力が全て一致となったとき
にデータ更新装置100,200,300がデータ処理
002の結果を再書き込みする。AND装置900の出
力で不一致が一つでもあれば、データ処理002は再処
理を行う。When the outputs of the A and ND devices N900 all match, the data updating devices 100, 200, and 300 rewrite the results of the data processing 002. If there is even one mismatch in the output of the AND device 900, the data processing 002 performs reprocessing.
以上説明したように本発明は、データ処理の入力データ
を退避しておき、ファイル装置の書き替えの時点で入力
データが変更さていないことを確認して書き替えを実行
することにより、ファイルからのデータ入力を禁止する
ことなく複数のタスクで同時にデータ処理を実行できる
効果がある。As explained above, the present invention saves input data for data processing, and executes rewriting after confirming that the input data has not been changed at the time of rewriting the file device. This has the effect of allowing data processing to be executed simultaneously in multiple tasks without prohibiting data input.
第1図は本発明の第一の実施例を示すブロック図、第2
図は第二の実施例を示すブロック図である。
001.002・・・データ処理、100,200゜3
00・・・データ更新装置、101・・・処理前データ
格納領域、102・・・現在データ格納領域、103・
・・比較手段、104・・・再書き込み手段、9oo・
・・AND処理。FIG. 1 is a block diagram showing a first embodiment of the present invention, and FIG.
The figure is a block diagram showing the second embodiment. 001.002...Data processing, 100,200°3
00... Data update device, 101... Pre-processing data storage area, 102... Current data storage area, 103.
・Comparison means, 104 ・Rewriting means, 9oo・
...AND processing.
Claims (1)
報処理システムにおいて、データ処理を行う前のデータ
を格納する処理前データ格納領域と、前記記憶装置の更
新個所のデータを読込む現在データ格納領域と、前記処
理前データ格納領域および現在データ格納領域の内容を
比較する比較手段と、前記比較手段の比較結果が一致し
た場合にデータ処理を行った後のデータで前記更新個所
を書き直す再書き込み手段とを有することを特徴とする
データ更新装置。 2、請求項1記載のデータ更新装置を複数個含み、各デ
ータ更新装置の比較結果を外部へ出力し、これらの比較
結果が全て一致としているときのみ各データ更新装置に
前記比較結果を一致として通知した場合に各データ更新
装置に再書き込み手段が働き、複数の更新個所を書き直
すことを特徴とするデータ更新方式。[Claims] 1. In an information processing system in which multiple tasks access a storage device at the same time, a pre-processing data storage area stores data before data processing is performed, and data at an updated location in the storage device is stored. a comparison means for comparing the current data storage area to be read with the contents of the pre-processing data storage area and the current data storage area; and when the comparison results of the comparison means match, the updating with the data after data processing is performed. 1. A data updating device comprising: rewriting means for rewriting a portion. 2. It includes a plurality of data update devices according to claim 1, outputs the comparison results of each data update device to the outside, and only when all of the comparison results are a match, allows each data update device to output the comparison results as a match. A data update method characterized in that, when notified, a rewrite means operates in each data update device to rewrite a plurality of updated locations.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2191769A JPH0477932A (en) | 1990-07-19 | 1990-07-19 | Data update system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2191769A JPH0477932A (en) | 1990-07-19 | 1990-07-19 | Data update system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0477932A true JPH0477932A (en) | 1992-03-12 |
Family
ID=16280215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2191769A Pending JPH0477932A (en) | 1990-07-19 | 1990-07-19 | Data update system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0477932A (en) |
-
1990
- 1990-07-19 JP JP2191769A patent/JPH0477932A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH04229355A (en) | Data access method and data processing system | |
JPH04139544A (en) | Data restoring method | |
JPH04246782A (en) | System and method storing picture data processed at plurality of stage | |
US5379407A (en) | Error handling in a state-free system | |
JPH0477932A (en) | Data update system | |
JPS62137627A (en) | Memory dump system | |
JPH03105625A (en) | Reserving/restoring system for intermediate language | |
JPH0448348A (en) | Decentralized updating processing system | |
JPH05143422A (en) | Updated journal managing system | |
KR100403747B1 (en) | Method for correcting program of memory | |
JPS5875250A (en) | Digital information processor | |
JPH05250335A (en) | Data base update processing system of loosely coupled multiprocessor system | |
JPH044428A (en) | System for improving redundant execution of patch | |
JPH09185542A (en) | Object management method | |
JPH0695868A (en) | Software management system | |
JPH039443A (en) | Data set managing system | |
JPH01201747A (en) | Canceling system for processed updating system command | |
JPH0235529A (en) | Check point dumping acquisition system | |
JPH0573390A (en) | Deadlock handling process system for data base | |
JPH01204140A (en) | Source program control system | |
JPH08263296A (en) | System for preserving and restoring program execution environment | |
JPH03246681A (en) | Image forming device | |
JPH03105481A (en) | Automatic graphic deformation system | |
JPS62144237A (en) | Back track system | |
JPH0480841A (en) | File updating system |