JPS60258659A - Control system for partial file closure - Google Patents

Control system for partial file closure

Info

Publication number
JPS60258659A
JPS60258659A JP59115098A JP11509884A JPS60258659A JP S60258659 A JPS60258659 A JP S60258659A JP 59115098 A JP59115098 A JP 59115098A JP 11509884 A JP11509884 A JP 11509884A JP S60258659 A JPS60258659 A JP S60258659A
Authority
JP
Japan
Prior art keywords
data
address
file
request
access
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
JP59115098A
Other languages
Japanese (ja)
Inventor
Minoru Terao
実 寺尾
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
Nippon Electric Co Ltd
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, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59115098A priority Critical patent/JPS60258659A/en
Publication of JPS60258659A publication Critical patent/JPS60258659A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To close only a trouble part so that small trouble extends over a wide range by rejecting or accepting an access request on the basis of the contents of a trouble data address storage memory. CONSTITUTION:When a request to access data is made, a file access control part 4 performs input/output operation for data in a data file so as to execute the request instruction. In this case, an address control part 5 for trouble data is inquired of whether the completeness corresponding data is lost or not, and an input/output request is sent out to an input/output control part 3 when the completeness is maintained. When not, on the other hand, the request to access data is rejected. The address control part 5 for trouble data decides on the completeness on the basis of whether the address of the corresponding data is stored in the trouble data address storage memory 10 or not.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はデータ処理装置におけるファイルの部分的閉塞
制御方式に関し、特にファイル処理実行中に基本制御ソ
フトウェアの異常によって一部のデータの艷全性が失わ
れた時の問題点を解決する部分的ファイル閉塞制御方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a partial file blockage control method in a data processing device. This invention relates to a partial file blockage control method that solves the problem when files are lost.

(従来技術) 従来、この種のデータ処理装置にはデータのみに対する
アクセス禁止機構が備えてなかったため、ファイル処理
実行中に入出力の誤りや基本制御ソフトウェアの異常に
より一部のデータの完全性が失われた場合に、ファイル
処理を停止して誤処理を防止せざるを得なかった。従っ
て、大量のデータを含むファイルを処理する場合には、
そのなかのほんの一部のデータの完全性が失われただけ
でも全データのアクセスを停止せざるを得す、小さな障
害が広範囲の障害をもたらすと云う欠点があった。
(Prior art) Conventionally, this type of data processing device did not have a mechanism for prohibiting access only to data, so it is possible that the integrity of some data may be compromised due to an input/output error or an abnormality in the basic control software during file processing. When a file is lost, file processing must be stopped to prevent erroneous processing. Therefore, when processing files containing large amounts of data,
The disadvantage is that even if the integrity of even a small portion of the data is lost, access to all data must be stopped, and even a small failure can cause widespread failure.

(発明の目的) 本発明の目的は、ファイル処理実行中に入出力の誤りや
基本制御ソフトウェアの異常により一部のデータの完全
性が失われた場合にファイル全体を閉塞することなく、
該当するデータを含むブロック領域のアーレスを障害デ
ータアIJレス格納メモリに書込むようにすると共に、
当該データが読出されるようにアクセス要求が送出され
た場合に障害データアドレス格納メモリをもとにしてア
クセス要求を拒否し、その他のデータが読出されるよう
にアクセス要求が送出された場合にはその要求を受付け
て処理することによって上記欠点を除去し、小さな障害
が広範囲に障害をもたらさな仇ように障害部分のみを閉
塞できるように構成した部分的ファイル閉塵制御方式を
提供することにある。
(Objective of the Invention) The object of the present invention is to prevent the entire file from being blocked even if the integrity of part of the data is lost due to an input/output error or an abnormality in the basic control software during file processing.
The address of the block area containing the relevant data is written to the failure data address storage memory, and
If an access request is sent so that the relevant data is read out, the access request is rejected based on the faulty data address storage memory, and if an access request is sent out so that other data is read out. The object of the present invention is to provide a partial file closure control method configured to eliminate the above-mentioned drawbacks by accepting and processing the request, and to block only the faulty part so that a small fault does not cause a wide range of faults. .

(発明の構成) 本発明による部分的ファイル閉塞制御方式け[IF7’
−タアドレス格納メモリと、アクセス要求確認拒否手段
と、ファイルと、襟元手段とを具備して構成することに
よね実現し念ものである。
(Structure of the Invention) Partial file blockage control system according to the present invention [IF7'
This can be realized by comprising a data address storage memory, an access request confirmation/denial means, a file, and a collar means.

障害データアドレス格納メモリはデータの入出力誤りの
ほか、基本制御ソフトウェアの異常によって上記データ
の完全性が保証できなくなった場合に、上記の異常が存
在するデータのアドレスを書込むためのものである。
The fault data address storage memory is used to write the address of the data containing the above abnormality when the integrity of the above data cannot be guaranteed due to a data input/output error or an abnormality in the basic control software. .

アクセス要求確認拒否手段は上記データのアクセス要求
があった場合に、障害データアドレス格納メモリの内容
を調べてアクセス要求のあつ念データのアドレスが格納
されていないか否かを確認すると共に、アドレスが格納
されてbればアクセス要求を拒否するためのものである
When there is an access request for the above-mentioned data, the access request confirmation/denial means checks the contents of the failure data address storage memory to confirm whether or not the address of the reparation data requested for the access is stored, and also checks if the address is If b is stored, the access request is rejected.

ファイルは、障害データアドレス格納メモリに対して書
込まれたアドレスを、障害データアドレス格納メモリの
障害による情報の紛失に備えて書込むためのものである
The file is used to write addresses written to the faulty data address storage memory in case information is lost due to a fault in the faulty data address storage memory.

襟元手段は情報の紛失時にファイルに書込まれたアドレ
スをもとにして、障害データアドレス格納メモリの内容
を復元するためのものである。
The collar means is for restoring the contents of the failed data address storage memory based on the address written in the file when information was lost.

(実 施 例) 次に、本発明につして図面を参照して詳細に説明する。(Example) Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明による部分的ファイル閉′湛制御方式
が適用されるデータ処理システムの一実施例の構成を示
すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a data processing system to which a partial file closure control method according to the present invention is applied.

第1図において、1−1.1−2はそれぞれファイルで
ア)、例え1丁磁気ディスクメモリのボリューム単位に
業務データ、障害プロツクアドレス格納メモリ退避デー
タ、ならびに更新履歴データを格納するためのファイル
である。いっぽう、2けデータ処理装置、3はファイル
に対する入出力操作を管理するためのプログラム。
In Figure 1, 1-1.1-2 are files for storing business data, fault block address storage memory evacuation data, and update history data in volume units of a single magnetic disk memory. It is a file. On the other hand, 2 is a data processing device, and 3 is a program for managing input/output operations for files.

4けデータファイルのなかのデータのアクセス要求を実
行するためのファイルアクセス制御プログラム、5け完
全性が失われたデータのアドレスを管理するためのプロ
グラム、6け端末力ら要求されたトランザクション業務
が異常終了した時にトランザクション業務により実行さ
れたデータ更新を打消すためのプログラム、7は端末か
ら要求されたトランザクション業務を実行するためのプ
ログラム、8−1 、8−n1dソれぞれトランザクシ
ョン業務の入・力に使用される端末、9はデータファイ
ルの更新後のffffデータを長期保存のためにデータ
を格納するための磁気テープ装置、ならびに10は障害
データアドレス格納メモリである。
A file access control program for executing access requests for data in a 4-digit data file, a program for managing addresses of data whose integrity has been lost in 5-digits, a transaction operation requested by a 6-digit terminal, etc. 7 is a program for canceling the data update executed by the transaction service when it terminates abnormally. 7 is a program for executing the transaction service requested from the terminal. 8-1 and 8-n1d are the input programs for the transaction service, respectively. 9 is a magnetic tape device for storing ffff data after updating the data file for long-term storage, and 10 is a failure data address storage memory.

以下に、上記構成のデータ処理システムの作用と動作と
につAて説明する。
The function and operation of the data processing system having the above configuration will be explained below.

端末からトランザクション業務の実行要求が送出される
と、データ処理業務プログラムは必要なデータ処理を行
うためファイルアクセス制御に従ってデ・−夕のアクセ
ス要求を送出する。
When a transaction task execution request is sent from the terminal, the data processing task program sends out a data access request in accordance with file access control in order to perform necessary data processing.

ファイルアクセス制御は、データのアクセス要求がある
と、その要求を実行するためにデータファイルのなかの
データに対して入出力動作を行うが、その際に障害デー
タのアドレス管理部に当該データの完全性が失われてい
ないか否かを間合せ、完全性の保たれているデータであ
ると判明すれば入出力要求を入出力管理部に送出する。
With file access control, when there is a data access request, input/output operations are performed on the data in the data file in order to execute the request. If it is determined that the integrity of the data is maintained, an input/output request is sent to the input/output management section.

いっぽう、完全性が失われてbるデータであると判明す
ればデータのアクセス要求を拒否することになる。上に
説明した問い合せにおいて、障害データのアドレス管理
部は当該データのアドレスが障害データアドレス格納メ
モリに格納されてbるか否かにより、完全性の保念れた
データであるか否かを判定する。そして。
On the other hand, if it is determined that the data has lost its integrity, the data access request will be rejected. In the above-described inquiry, the fault data address management unit determines whether or not the integrity of the data is maintained based on whether the address of the data is stored in the fault data address storage memory. do. and.

ファイルアクセス制御部は入出力要求の完了、を待ち合
せ、その完了結果が正常であればデータのアクセス要求
を実行するが、ハードウェアあるいはソフトウェアの障
害による異常が検出されたならば、データのアクセス要
求をエラーリターンさせることになる。その際に、当該
データの完全性が失われた恐れがあると判断されると、
障害データアドレス管理部に対して当該データのアドレ
スの書込みを依頼する。
The file access control unit waits for the completion of the input/output request, and if the completion result is normal, executes the data access request, but if an abnormality due to hardware or software failure is detected, the data access request is executed. will return an error. At that time, if it is determined that the integrity of the data may be lost,
Request the failure data address management unit to write the address of the data.

障害データのアドレス管理部はデータのアドレスの書込
みの依頼を受けると、そのアドレスを障害データアドレ
ス格納メモリに書込むと同時に、メモリの障害に備えて
ファイルにもその内容を退避させる。
When the fault data address management section receives a request to write a data address, it writes the address into the fault data address storage memory and at the same time saves the contents to a file in preparation for a memory fault.

以上が、データのアクセス要求時の動作である。The above is the operation when requesting data access.

さらに、トランザクション業務の実行中にハードウェア
、もしくはソフトウェアの障害に遭遇してトランザクシ
ョン業務の実行ができなくなつ九場合には、当該トラン
ザクション業務が行った不完全なデータ処理を打消すた
めに、トランザクションのキャンセル制御が呼び出され
る。上記呼び出しを受けると、トランザクションのキャ
ンセル制御は対象とするトランザクション業務が行った
更新を打ち消すために、更新履歴データファイルの彦か
の更新前のデータを読取り、データファイルのなかの対
応するデータに書戻すと云う処理を行う。斯73)る処
理にお込て、ハードウェアあるbけソフトウェアの障害
により更新前のデータをデータファイルに書戻せないと
云う事態が検出されると、障害データノアドレス管理部
に対して当該データのアドレスの書込みを依頼し、他の
更新前のデータの書戻し処理を続行する。以上がトラン
ザクション業務が異常の時の動作である。
Furthermore, if a hardware or software failure occurs during the execution of a transaction operation and the transaction operation becomes impossible to execute, the cancellation control is called. When the above call is received, the transaction cancellation control reads the data before the update in the update history data file and writes it to the corresponding data in the data file in order to cancel the update performed by the target transaction business. A process called returning is performed. In the process described in 73), if a situation is detected in which the data before update cannot be written back to the data file due to a failure in hardware or software, the data will be sent to the failure data address management unit. request to write the address, and continue the process of writing back the other data before update. The above is the operation when the transaction work is abnormal.

上に説明したように、データファイルのなかの一部のデ
ータの完全性が失われた場合にデータファイル全体をア
クセス不能にせず、障害のある部分のみをアクセス不能
にしてAる。第2図は、この模様を説明した図である。
As explained above, when the integrity of some data in a data file is lost, the whole data file is not made inaccessible, but only the failed part is made inaccessible. FIG. 2 is a diagram explaining this pattern.

上記によって、例えばバンキングシステムのオンライン
業務の場合に、成る利用者の預金情報がアクセス不能と
なっても他の利用者の預金情報のアクセスが可能である
ため、大幅なサービスの低下を回避できる。また、アク
セス不能となっているデータについても障害対策用とし
て定期的に退避されたデータ、および磁気テープに存在
する更新履歴データファイルに含まれ九更新後のデータ
をもとにしてアクセス可能なデータに影響を与えること
なく部分的に復旧できる。
As a result of the above, for example, in the case of online operations in a banking system, even if one user's deposit information becomes inaccessible, other users' deposit information can be accessed, thereby avoiding a significant deterioration in service. In addition, regarding data that is inaccessible, data that can be accessed based on data that is periodically backed up as a countermeasure against failures, and data that is included in the update history data file that exists on magnetic tape and has been updated. can be partially restored without affecting the

以上、ファイルが障害の時の部分的なファイルの閉塞制
御について説明したが、障害データアVレスメモリが障
害の時には、障害データアドレス格納メモリ退避ファイ
ルのなかのデータをもとに復旧を図る光め、各データフ
ァイルのなかのデータの閉塞状況が不明である。従って
データファイル全体を復元し々ければならなしと云う事
態が防止できる。
Above, we have explained partial file blockage control when a file has a failure, but when the failure data address V address memory has a failure, there is a method for recovery based on the data in the failure data address storage memory evacuation file. , the blockage status of data in each data file is unknown. Therefore, it is possible to prevent a situation in which the entire data file must be restored repeatedly.

(発明の効果) 本発明には以上説明し念ように、ファイル処理実行中に
入出力の誤りや基本制御ソフトウェアの異常によシ一部
のデータの完全性が失われた場合にファイル全体を閉塞
することなく、該当するデータを含むブロック領域のア
ドレスを障害データアシレス格納メモリに書込むように
すると共に、当該データに対してアクセス要求があった
場合に障害データアドレス格納メモリをもとにしてアク
セス要求を拒否し、その他のデータに対してアクセス要
求があった場合に、その要求を受付けて処理することに
よって、ファイルの罹く一部のデータの完全性が失われ
たとしても当該ファイルのなかの他の正常なデータに対
するデータ処理を続行でき、業務に対する影響を最小限
にくいとめることができると云う効果がある。
(Effects of the Invention) As explained above, the present invention has the following advantages: If the integrity of part of the data is lost due to an input/output error or an abnormality in the basic control software during execution of file processing, the entire file is The address of the block area containing the relevant data is written to the failure data address storage memory without blockage, and when there is an access request to the data, the address of the block area containing the relevant data is written based on the failure data address storage memory. If there is a request for access to other data, accepting and processing the request will result in the file being rejected, even if the integrity of some data affected by the file is lost. This has the effect that data processing for other normal data in the data can be continued, and the impact on business operations can be kept to a minimum.

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

第1図は、本発明による部分的ファイル閉本制御方式が
適用されるデータ処理システムの一実施例を示すブロッ
ク図である。 第2図は、本発明による部分的ファイル閉塞制御方式の
機構を説明する説明図である。 1−1.1−2・・・ボリウム 2・・・データ処理装置 3〜7・・・プログラム8−
1.8−n…端末 9・・・磁気テープ装置 10・・・メモリ ) 才2図
FIG. 1 is a block diagram showing an embodiment of a data processing system to which a partial file closure control method according to the present invention is applied. FIG. 2 is an explanatory diagram illustrating the mechanism of the partial file blockage control method according to the present invention. 1-1.1-2...Volume 2...Data processing device 3-7...Program 8-
1.8-n...terminal 9...magnetic tape device 10...memory)

Claims (1)

【特許請求の範囲】[Claims] データの入出力誤シのほか、基本制御ソフトウェアの異
常によって前記データの完全性が保証できなくなった場
合に前記異常の存在するデータのアドレスを書込むため
の障害データアドレス格納メそりと、前記データのアク
セス要求があった場合に前記障害データアドレス格納メ
モリの内容を調べて前記アクセス要求のあったデータの
アドレスが格納されていなりか否かを確認すると共に、
前記アドレスが格納されてbれば前記アクセス要求を拒
否するためのアクセス要求確認拒否手段と、前記障害ズ
゛−タアドレス格納メモリに対して書込まれた前記アド
レスを前記障害データアドレス格納メモリのlIi害に
よる情報の紛失に備えて書込むためのファイルと、前記
情報の紛失時に前記ファイルに書込まれた前記アドレス
をもとにして前記障害データアドレス格納メモリの内容
な復元するための復元手段とを具備して構成することに
よシ実現したことを特徴とする部分的ファイル閉塞制御
方式。
In addition to data input/output errors, there is also a failure data address storage memory for writing the address of the data with the abnormality when the integrity of the data cannot be guaranteed due to an abnormality in the basic control software; When there is an access request, checking the contents of the faulty data address storage memory to confirm whether the address of the data for which the access was requested is not stored;
If the address has been stored, an access request confirmation/rejection means for rejecting the access request; and an access request confirmation/rejection means for rejecting the access request; a file for writing in preparation for loss of information due to damage; and a restoring means for restoring the contents of the failure data address storage memory based on the address written to the file when the information was lost. A partial file blockage control method characterized in that it is realized by comprising the following.
JP59115098A 1984-06-05 1984-06-05 Control system for partial file closure Pending JPS60258659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59115098A JPS60258659A (en) 1984-06-05 1984-06-05 Control system for partial file closure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59115098A JPS60258659A (en) 1984-06-05 1984-06-05 Control system for partial file closure

Publications (1)

Publication Number Publication Date
JPS60258659A true JPS60258659A (en) 1985-12-20

Family

ID=14654158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59115098A Pending JPS60258659A (en) 1984-06-05 1984-06-05 Control system for partial file closure

Country Status (1)

Country Link
JP (1) JPS60258659A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62256055A (en) * 1986-04-28 1987-11-07 Nec Corp Delayed recovery system
JPS6365559A (en) * 1986-09-05 1988-03-24 Nec Corp File sharing system between plural data processor
JP2005276135A (en) * 2004-03-26 2005-10-06 Hitachi Computer Peripherals Co Ltd Disk management method and raid storage system
JP2009217768A (en) * 2008-03-13 2009-09-24 Nec Corp Method and system for managing partition failure in database
JP2011233007A (en) * 2010-04-28 2011-11-17 Hitachi Ltd Failure processing method and computer

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58175064A (en) * 1982-04-07 1983-10-14 Fujitsu Ltd Processing system of multiplex volume

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58175064A (en) * 1982-04-07 1983-10-14 Fujitsu Ltd Processing system of multiplex volume

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62256055A (en) * 1986-04-28 1987-11-07 Nec Corp Delayed recovery system
JPS6365559A (en) * 1986-09-05 1988-03-24 Nec Corp File sharing system between plural data processor
JP2005276135A (en) * 2004-03-26 2005-10-06 Hitachi Computer Peripherals Co Ltd Disk management method and raid storage system
JP2009217768A (en) * 2008-03-13 2009-09-24 Nec Corp Method and system for managing partition failure in database
JP2011233007A (en) * 2010-04-28 2011-11-17 Hitachi Ltd Failure processing method and computer

Similar Documents

Publication Publication Date Title
USRE37038E1 (en) Method and system for automated termination and resumption in a time zero backup copy process
KR19990082867A (en) Method and apparatus for correct and complete transactions in a fault tolerant distributed database system
JP3481737B2 (en) Dump collection device and dump collection method
US10649829B2 (en) Tracking errors associated with memory access operations
US5473776A (en) Data backup method and data processing system having data maintenance function
US6035417A (en) Method and system for taking over data and device for processing data
JPS60258659A (en) Control system for partial file closure
US8533523B2 (en) Data recovery in a cross domain environment
US5995983A (en) Information processing apparatus and data processing method for information processing apparatus
JPS59154700A (en) Data processing system
JP2612385B2 (en) Transfer processing between multiple subsystems
JPH10512985A (en) Track transaction state
JPH03105434A (en) Error logging system
JP3239935B2 (en) Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor
JPS59180897A (en) Double structure system of battery back-up memory
JPH0217550A (en) Trouble processing system for multiprocessor system
JP3084823B2 (en) Operator's console
JPS6120161A (en) Protection processing method of data set
JPH08129508A (en) Computer system and its shared memory control method
JPH02139642A (en) System for detecting duplicate storage of event log data
KR20220160898A (en) Method and apparatus for handling transaction
JPH07141120A (en) Processing method for fault in information storage medium
JPH03171233A (en) Duplex information processor
JPH03105437A (en) File protection and write history preservation method
Orb AIX Mirror Write Consistency with Oracle Databases