JPH0362244A - Data assurance control system for external semiconductor memory device - Google Patents
Data assurance control system for external semiconductor memory deviceInfo
- Publication number
- JPH0362244A JPH0362244A JP1198540A JP19854089A JPH0362244A JP H0362244 A JPH0362244 A JP H0362244A JP 1198540 A JP1198540 A JP 1198540A JP 19854089 A JP19854089 A JP 19854089A JP H0362244 A JPH0362244 A JP H0362244A
- Authority
- JP
- Japan
- Prior art keywords
- data
- transfer
- storage device
- undefined
- external 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
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔概要〕
半導体外部記憶装置へ転送中のデータが、障害のため不
定データになったときに、その不定データを復旧する半
導体外部記憶装置におけるデータ保証制御方式に関し。DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a data guarantee control method in a semiconductor external storage device for restoring undefined data when data being transferred to the semiconductor external storage device becomes undefined data due to a failure.
半導体外部記憶装置上の不定データを検出し。Detects undefined data on a semiconductor external storage device.
自動復旧する手段を提供することを目的とし。The purpose is to provide a means of automatic recovery.
半導体外部記憶装置への転送データを、外部不揮発記憶
媒体上に退避するとともに、その転送データに関するリ
カバリ情報を外部不揮発記憶媒体上に設定する書き込み
処理手段と、半導体外部記憶装置に対する書き込みまた
は読み込みのアクセス要求の処理において、外部不揮発
記憶媒体に設定されたリカバリ情報を参照し、先のアク
セスによる転送データが障害により不定データになって
いることを検出した場合に、外部不揮発記憶媒体に退避
した転送データに基づいて、不定データの復旧を行うリ
カバリ処理手段とを備えるように構成する。A write processing means that saves data to be transferred to the semiconductor external storage device onto an external nonvolatile storage medium and sets recovery information regarding the transferred data on the external nonvolatile storage medium, and write or read access to the semiconductor external storage device. When processing a request, the recovery information set in the external non-volatile storage medium is referenced, and if it is detected that the data transferred by the previous access has become undefined data due to a failure, the transferred data is saved to the external non-volatile storage medium. and a recovery processing means for restoring indefinite data based on the above.
本発明は、半導体外部記憶装置へ転送中のデータが、障
害のため不定データになったときに、その不定データを
復旧する半導体外部記憶装置におけるデータ保証制御方
式に関する。The present invention relates to a data guarantee control method in a semiconductor external storage device for restoring undefined data when data being transferred to the semiconductor external storage device becomes undefined data due to a failure.
複数の計算機を通信路で結合した形態のシステムを、複
合システムと呼ぶ、複合システムを構成する計算機を、
ここではクラスタと呼ぶ。A system in which multiple computers are connected through communication channels is called a composite system.The computers that make up the composite system are
Here it is called a cluster.
このような複合システムにおいて、大量のトランザクシ
ゴンを処理するためには、半導体記憶装置を外部記憶媒
体として使用することが有効である。半導体を利用した
高速入出力が可能な外部記憶媒体を、半導体外部記憶装
置という。In such a complex system, it is effective to use a semiconductor storage device as an external storage medium in order to process a large amount of transactions. An external storage medium that uses semiconductors and is capable of high-speed input/output is called a semiconductor external storage device.
半導体外部記憶装置に転送されるデータは1本体系のハ
ードウェア障害(例えば、CPU障害)によって、その
完結性が保証されない場合がある。The integrity of data transferred to a semiconductor external storage device may not be guaranteed due to a hardware failure (for example, a CPU failure) in one system.
そのような転送データの完結性を保証できるようにする
ことが望まれる。It is desirable to be able to guarantee the integrity of such transferred data.
第9図は従来のデータ転送方式の例を説明するための図
である。FIG. 9 is a diagram for explaining an example of a conventional data transfer method.
記憶装置に転送中のデータが、cpu@害のような本体
系のハードウェア障害によって2転送前の値でもなく、
転送後の値でもない状態になることがある。このような
完結性が保証されないデータを、不定データという。The data being transferred to the storage device may not be the value it was before the transfer due to a hardware failure in the main body such as a CPU@damage.
The value may not even be the value after transfer. Such data whose completeness is not guaranteed is called indeterminate data.
従来、この不定データを検出するために、第9図に示す
ように、転送するデータ部の前後に、チエツクバイトを
配置することが行われている。データ部の前後のチエツ
クバイトに9例えばシーケンス番号やタイムスタンプな
どによる同じ値を設定して、データを転送する0次に、
そのデータを読み込んだときに9前後のチエツクバイト
の値が異なっていれば、障害のため、不定データになっ
たと判断する。Conventionally, in order to detect this undefined data, check bytes are placed before and after the data section to be transferred, as shown in FIG. Set the same value, such as a sequence number or a timestamp, in the check bytes before and after the data part, and transfer the data.
If the values of the check bytes around 9 are different when the data is read, it is determined that the data has become undefined due to a failure.
第9図に示すようなチエツクバイトによるデータ転送方
式では、データ転送が完結したか否かを判定することが
できるが、転送デふ夕の完結性を保証することはできな
かった。In the data transfer method using check bytes as shown in FIG. 9, it is possible to determine whether or not the data transfer is completed, but it is not possible to guarantee the completeness of the transfer delay.
例えば、第10図に示すように、クラスタ#1が、半導
体外部記憶装置IOにレコードaを書き込んでいたとす
る。このレコードaのデータを転送しているときに、ク
ラスタ#1が、障害により。For example, as shown in FIG. 10, assume that cluster #1 is writing record a to the semiconductor external storage device IO. While transferring the data for record a, cluster #1 encountered a failure.
クラッシュしたとすると、半導体外部記憶装置lOに書
き込まれたデータは、レコードa′のように、レコード
aの内容とも9元の内容とも異なる内容となる。If a crash occurs, the data written to the semiconductor external storage device 10 will have different contents from the contents of record a and the contents of the original 9, such as record a'.
このレコードa″をクラスタ#2が読み込んだとすると
、第9図に示すようなチエツクバイトの検査により、レ
コードa′が不定データであることは検出できるが、正
しいレコードaの内容または元の完結した内容を得るこ
とはできない。If this record a'' is read by cluster #2, it is possible to detect that record a' is unspecified data by checking the check bytes as shown in Figure 9, but the correct contents of record a or the original completed contents can be detected. cannot be obtained.
そのため、従来、半導体外部記憶装置10上には、各ク
ラスタ等が頻繁に使用する制御データなどを配置するこ
とかで゛きないという問題があった。Therefore, conventionally, there has been a problem in that it is not possible to store control data and the like that are frequently used by each cluster on the semiconductor external storage device 10.
すなわち、半導体外部記憶装置lO上に配置した制御デ
ータ(例えば、クラスタ間排他情報など)が、不定とな
った場合、その不定データを参照した後の複合システム
の動作は保証されない、したがって、半導体外部記憶装
置10上に、制御データを配置することができなかった
。In other words, if the control data (for example, inter-cluster exclusion information, etc.) placed on the semiconductor external storage device IO becomes undefined, the operation of the complex system after referencing the undefined data is not guaranteed. Control data could not be placed on the storage device 10.
本発明は上記問題点の解決を図り、半導体外部記憶装置
上の不定データを検出し、自動復旧する手段を提供する
ことにより、アクセス要求元に負担を与えることなく、
完結性の保証されたデータを利用できるようにすること
を目的としている。The present invention aims to solve the above-mentioned problems, and by providing a means for detecting and automatically restoring undefined data on a semiconductor external storage device, the present invention can provide a means for detecting and automatically restoring undefined data on a semiconductor external storage device, without imposing a burden on the access request source.
The purpose is to make data with guaranteed completeness available.
第1図は本発明の構成例を示す。 FIG. 1 shows an example of the configuration of the present invention.
第1図において、10は半導体外部記憶装置。In FIG. 1, 10 is a semiconductor external storage device.
11はCPUおよびメモリなどからなる計算機本体、1
2はデータ完結性保証機構、13は利用者のデータ等が
格納されるデータ記憶部、14はデ−タ完結性保証処理
が必要か否かなどの情報を持つリカバリ制御データ、1
5はデータ記憶部13への転送データを退避するデータ
退避域、16は書き込み要求のアクセスを処理する書き
込み処理部、17は読み込み要求のアクセスを処理する
読み込み処理部、18は不定データについての復旧を行
うリカバリ処理部、19はデータ記憶部13にデータを
転送するための転送用バッファ、20は半導体外部記憶
装置10へのアクセス要求元を表す。11 is a computer main body consisting of a CPU, memory, etc.;
2 is a data integrity guarantee mechanism; 13 is a data storage unit in which user data etc. are stored; 14 is recovery control data having information such as whether data integrity guarantee processing is necessary; 1;
5 is a data save area for saving data transferred to the data storage unit 13; 16 is a write processing unit that processes access for write requests; 17 is a read processing unit for processing access for read requests; and 18 is a recovery for undefined data. 19 is a transfer buffer for transferring data to the data storage unit 13, and 20 is a source requesting access to the semiconductor external storage device 10.
アクセス要求元20が、半導体外部記憶装置lOへアク
セスするときには、マクロインタフェースなどにより、
データ完結性保証機構12に対して、アクセス要求を出
す。When the access request source 20 accesses the semiconductor external storage device IO, the access requester 20 uses a macro interface or the like to
An access request is issued to the data integrity assurance mechanism 12.
データ完結性保証機構12における書き込み処理部16
は、書き込みのアクセス要求に対して。Write processing section 16 in data integrity assurance mechanism 12
for write access requests.
半導体外部記憶装置1σへの転送データを、データ退避
域15に退避するとともに、その転送データに関する転
送完了表示、転送アドレス、転送データ長などのリカバ
リ情報を、リカバリ制御データ14に設定する。その後
、転送用バッファ19に設定された転送データを、要求
されたデータ記憶部13に書き込む。The data transferred to the semiconductor external storage device 1σ is saved in the data save area 15, and recovery information such as a transfer completion indication, transfer address, and transfer data length regarding the transferred data is set in the recovery control data 14. Thereafter, the transfer data set in the transfer buffer 19 is written to the requested data storage section 13.
この例では、半導体外部記憶装置10は、計算機本体1
1の状態に影響されない不揮発性の記憶装置であり、デ
ータ記憶部13だけでなく、リカバリ制御データ14の
格納域およびデータ退避域15が、半導体外部記憶装置
10内に設けられている。In this example, the semiconductor external storage device 10 is the computer main body 1
The semiconductor external storage device 10 is a nonvolatile storage device that is not affected by the state of the semiconductor external storage device 10, and includes not only a data storage section 13 but also a storage area for recovery control data 14 and a data save area 15.
データ完結性保証機構12によるデータ完結性のチエツ
クは1次にデータ記憶部13に対し、何らかのアクセス
要求があったときに行う。The data integrity check by the data integrity guarantee mechanism 12 is performed when there is any access request to the primary data storage unit 13.
半導体外部記憶装置10に対する書き込みまたは読み込
みのアクセス要求の処理において、書き込み処理部16
または゛読み込み処理部17は、リカバリ制御データ1
4に設定されたリカバリ情報を参照し、先のアクセスに
よる転送データが障害により不定データになっているか
どうかを調べる。In processing a write or read access request to the semiconductor external storage device 10, the write processing unit 16
Or ``The reading processing unit 17 reads the recovery control data 1
Refer to the recovery information set in 4 and check whether the data transferred by the previous access has become undefined data due to a failure.
不定データになっていることを検出した場合、リカバリ
処理部18を起動する。If it is detected that the data is indefinite, the recovery processing unit 18 is activated.
リカバリ処理部18は、外部不揮発記憶媒体である半導
体゛外部記憶装置ttoのデータ退避域15に退避した
先のアクセスに係る転送データをもとに、それを、デー
タ記憶□部13の該当する位置に書き込むことにより、
不定データの復旧を行う。The recovery processing unit 18 stores the transferred data related to the previous access, which has been saved in the data saving area 15 of the semiconductor external storage device tto, which is an external nonvolatile storage medium, at the corresponding location in the data storage unit 13. By writing in
Perform recovery of undefined data.
本発明では、半導体外部記憶装置10へのアクセスが、
磁気ディスク装置やその他の機械的動作を伴う外部記憶
装置に比較して、格段に高速であることに着目し、デー
タ記憶部13に対する転送データを、事前にデータ退避
域15に退避する処理を行う。そして、データ記憶部1
3に対するデータ転送が完了したか否かを示す転送完了
表示や。In the present invention, access to the semiconductor external storage device 10 is
Focusing on the fact that it is much faster than a magnetic disk device or other external storage devices that involve mechanical operations, the data transferred to the data storage unit 13 is saved in advance in the data save area 15. . And data storage unit 1
A transfer completion display indicating whether data transfer for 3 is completed or not.
データ記憶部13における転送アドレス、転送データ長
などを、リカバリ制御データ14として設定しておく。The transfer address, transfer data length, etc. in the data storage unit 13 are set as recovery control data 14.
先のアクセスに係るデータの完結性は9次にデータ記憶
部13に対して、書き込みまたは読み込みのアクセス要
求があったときに、リカバリ制御データ14を参照して
チエツクする。このときのデータ記憶部13のアドレス
は、先のアクセスと現在のアクセスとで、同じである必
要はない。The completeness of the data related to the previous access is checked by referring to the recovery control data 14 when a write or read access request is made to the data storage unit 13. The address of the data storage unit 13 at this time does not need to be the same between the previous access and the current access.
リカバリ制御データ14を検査して、先のアクセスに係
る転送データが、m害のために不定データになっている
ことがわかったならば、現在のアクセス要求を中断して
、データ退避域15からの不定データの復旧を行い、そ
の後、現在のアクセス要求に対する処理を再開する。If the recovery control data 14 is inspected and it is found that the transferred data related to the previous access has become undefined data due to m damage, the current access request is interrupted and data is transferred from the data save area 15. , and then resumes processing for the current access request.
これらのデータ完結性の保証が、データ完結性保証11
1ti12によって自動的に行われるので、特に、複合
システムなどにおいて、アクセス要求元20の処理負担
が大幅に軽減される。これに伴い。These data integrity guarantees are Data Integrity Guarantee 11
1ti12 automatically, the processing burden on the access request source 20 is significantly reduced, especially in complex systems. Along with this.
半導体外部記憶袋W、10に対し2重要な制御データな
どを配置して使用することが簡単にできるようになる。Important control data and the like can be easily placed and used in the semiconductor external storage bag W, 10.
第2図は本発明の適用システムの例、第3図は本発明の
実施例で用いる転送完了表示域の説明図。FIG. 2 is an example of a system to which the present invention is applied, and FIG. 3 is an explanatory diagram of a transfer completion display area used in the embodiment of the present invention.
第4図は本発明の実施例構成図、第5図は本発明の実施
例に係るパラメタパケットの形式の例、第6図はデータ
完結性保証機構による書き込み時の処理フロー、第7図
はデータ完結性保証機構による読み込み時の処理フロー
、第8図はデータ完結性保証機構によるリカバリ処理の
処理フローを示す。Fig. 4 is a configuration diagram of an embodiment of the present invention, Fig. 5 is an example of the format of a parameter packet according to an embodiment of the present invention, Fig. 6 is a processing flow when writing by the data integrity guarantee mechanism, and Fig. 7 is FIG. 8 shows a processing flow when reading data by the data integrity guarantee mechanism. FIG. 8 shows a process flow of recovery processing by the data integrity guarantee mechanism.
本発明は1例えば第2図に示すような複合システムに適
用することができる。The present invention can be applied to a complex system as shown in FIG. 2, for example.
半導体外部記憶装置10は、クラスタ間で共用可能な不
揮発性の外部記憶装置である。この半導体外部記憶装置
110は、第1図に示すデータ記憶部13に対応するメ
モリ部30と、第1図に示すリカバリ制御データ14.
データ退避域15などが設けられる転送データロギング
域31とを有する。The semiconductor external storage device 10 is a nonvolatile external storage device that can be shared between clusters. This semiconductor external storage device 110 includes a memory section 30 corresponding to the data storage section 13 shown in FIG. 1, and a recovery control data 14.
It has a transfer data logging area 31 in which a data save area 15 and the like are provided.
各計算機本体11A、IIBは、CPU33およびロー
カルに使用するメモリ部35を持ち、半導体外部記憶装
置10に対しては、メモリ制御装置(MCU)32を介
して、アクセスできるようになっている。また、第1図
に示す転送用バッファ19に対応する転送データー時退
避域34を持つ。Each computer main body 11A, IIB has a CPU 33 and a locally used memory section 35, and can access the semiconductor external storage device 10 via a memory control unit (MCU) 32. It also has a transfer data save area 34 corresponding to the transfer buffer 19 shown in FIG.
第1図に示すリカバリ制御データ14の格納域に、第3
図に示すような転送完了表示域が設けられる。転送完了
表示域は、状態表示域Sl、S2からなり、不定データ
の検出に用いられる。In the storage area of the recovery control data 14 shown in FIG.
A transfer completion display area as shown in the figure is provided. The transfer completion display area consists of status display areas Sl and S2, and is used to detect undefined data.
これは1次のように使用する。半導体外部記憶装置10
に対して、データを転送するとき、まず状態表示域S1
に“転送中”を書き込み1次に状態表示域S2に“転送
中”を書き込む。データ転送が終了したならば、状態表
示域S1に“転送完了”を書き込み1次に状態表示域S
2に“転送完了”を書き込む。This is used as follows. Semiconductor external storage device 10
When transferring data, first the status display area S1
``Transferring'' is written in ``Transferring'' first, and then ``Transferring'' is written in the status display area S2. When the data transfer is completed, write “Transfer Complete” in the status display area S1 and then write the status display area S1.
Write “transfer complete” to 2.
状態表示域S1および状態表示域S2の双方が“転送完
了”の場合に、データ転送が完了しているので、データ
完結性保証処理が不必要であると判断する。If both the status display area S1 and the status display area S2 indicate "transfer complete", it is determined that the data integrity guarantee process is unnecessary because the data transfer has been completed.
状態表示域S1または状態表示域S2のいずれかが“転
送中”の場合には、データ転送が中断しているので、デ
ータ完結性保証処理が必要であると判断する。If either the status display area S1 or the status display area S2 is "transferring", it is determined that data integrity guarantee processing is necessary because data transfer has been interrupted.
以上のよう′に、転送完了表示を、状態表示域Slと状
態表示域S2の2つで行っているのは、転送完了表示自
体が、不定データとなって、データ転送が中断している
か、データ転送が完了しているかを誤認するケースがあ
り得るので、それを防ぐためである。As mentioned above, the reason why the transfer completion display is displayed in both the status display area SL and the status display area S2 is because the transfer completion display itself is indefinite data and the data transfer is interrupted. This is to prevent the possibility of misunderstanding whether the data transfer has been completed.
次に、第4図に従って1本発明の詳細な説明する。第4
図において、第1図と同符号のものは。Next, the present invention will be explained in detail with reference to FIG. Fourth
In the figure, the same symbols as in Fig. 1 are shown.
第1図に示すものに対応し、40はリカバリ処理のとき
に現在の転送データを一時的に退避するためのリカバリ
作業域、41はリカバリ制御データ14を読み込むため
のリカバリII i’Bバッファ、42はアクセス要求
のパラメタパケット、43はデータベース管理サブシス
テム、44は応用プログラム、45は応用プログラム4
4が使用するレコード域、46はページバッフプを表す
。Corresponding to what is shown in FIG. 1, 40 is a recovery work area for temporarily saving the currently transferred data during recovery processing, 41 is a recovery II i'B buffer for reading recovery control data 14, 42 is an access request parameter packet, 43 is a database management subsystem, 44 is an application program, and 45 is an application program 4.
4 represents the record area to be used, and 46 represents the page buffer.
応用プログラム44のデータ記憶部13に対する書き込
み要求に対して、データベース管理サブシステム43は
、データ完結性保証機構12に対しアクセス命令を発行
する。また、読み込み要求に対しても、データベース管
理サブシステム43は、データ完結性保証機構12が提
供するアクセス命令を発行する。In response to a write request from the application program 44 to the data storage unit 13, the database management subsystem 43 issues an access command to the data integrity guarantee mechanism 12. Furthermore, in response to a read request, the database management subsystem 43 issues an access command provided by the data integrity guarantee mechanism 12.
半導体外部記憶装置f10のデータ記憶部13にデータ
を書き込む場合に、データ完結性保証機構12は、まず
ページバッフ146のデータを、転送用バッファ19に
複写する0次に、転送用バッファ19の内容を、データ
記憶部13に転送する前に、半導体外部記憶装置10に
あるリカバリ制御データ14を、リカバリ制御バッファ
41に読み込み、データ完結性保証が必要であるか否か
を判定する。When writing data to the data storage section 13 of the semiconductor external storage device f10, the data integrity guarantee mechanism 12 first copies the data in the page buffer 146 to the transfer buffer 19. Before transferring the data to the data storage unit 13, the recovery control data 14 in the semiconductor external storage device 10 is read into the recovery control buffer 41, and it is determined whether data integrity guarantee is necessary.
必要な場合には、以下の処理を行う、まず、転送用バッ
ファ19の内容を、リカバリ作業域40に書き込む。そ
して、データ退避域15の内容を。If necessary, the following processing is performed. First, the contents of the transfer buffer 19 are written to the recovery work area 40. And the contents of the data save area 15.
転送用バッファ19に読み込む。そして、先に読み込ん
でいたリカバリ制御バッファ41の内容から、転送アド
レス、転送データ長を求め、転送用バッファ19中のデ
ータを、再度、データ記憶部13に書き込む。これによ
り、不定データを復旧する。その後、リカバリ作業域4
0のデータを。Read into the transfer buffer 19. Then, the transfer address and transfer data length are determined from the previously read contents of the recovery control buffer 41, and the data in the transfer buffer 19 is written into the data storage section 13 again. This recovers the indefinite data. After that, recovery work area 4
0 data.
転送用バッファ19に読み込んで、中断していたデータ
転送処理を再開する。The data is read into the transfer buffer 19 and the interrupted data transfer process is restarted.
半導体外部記憶装置10からデータを読み込む場合には
、転送用バッファ19にデータ記憶部13のデータを転
送する前に、リカバリ制御データ14を、リカバリ制御
バッファ41に読み込み。When reading data from the semiconductor external storage device 10, the recovery control data 14 is read into the recovery control buffer 41 before transferring the data in the data storage section 13 to the transfer buffer 19.
データ完結性保証処理が必要であるか否かを判定する。Determine whether data integrity assurance processing is necessary.
必要な場合には2次の処理を行う。まず、データ退避域
15の内容を、転送用バッファ19に読み込む、先に読
み込んでいたリカバリ制御バッファ41の内容から、転
送アドレス、転送データ長がわかるので、転送用バッフ
ァ19中のデータを。Secondary processing is performed if necessary. First, the contents of the data save area 15 are read into the transfer buffer 19. Since the transfer address and transfer data length are known from the contents of the recovery control buffer 41 that were previously read, the data in the transfer buffer 19 is read.
再度、データ記憶部13に書き込む、これにより。This causes the data to be written to the data storage unit 13 again.
先のアクセスに係る不定データを復旧する。その後、デ
ータの読み込み処理を再開する。Recover the undefined data related to the previous access. After that, the data reading process is resumed.
本実施例では、データ完結性保証機構12とアクセス要
求元とのインタフェースが、書き込みマクロ命令と読み
込みマクロ命令のマクロインタフェースになっている。In this embodiment, the interface between the data integrity guarantee mechanism 12 and the access request source is a macro interface for write macro instructions and read macro instructions.
この書き込みおよび読み込みのマクロ命令には。This write and read macro instruction.
レコード指定、アドレス指定の2つのタイプが用意され
ている。マクロ命令のパラメタとして、第5図に示すよ
うなパラメタパケットを指定する。Two types are available: record specification and address specification. A parameter packet as shown in FIG. 5 is specified as a parameter of the macro instruction.
第5図(イ)は、レコード指定の場合のパラメタパケッ
ト形式を示しており、レコード数とレコード番号を指定
する。また、これに対応して、バッファ数とバッファア
ドレスを指定する。FIG. 5(a) shows the format of a parameter packet in the case of record specification, in which the number of records and record number are specified. In addition, the number of buffers and the buffer address are specified accordingly.
第5図(ロ)は、アドレス指定の場合のパラメタパケッ
ト形式を示しており、転送長(転送データ長)と転送デ
ータのアドレスとを指定する。また、これに対応して、
バッファアドレスを指定する。FIG. 5(b) shows a parameter packet format for address specification, in which the transfer length (transfer data length) and the address of the transfer data are specified. Also, in response to this,
Specify the buffer address.
第4図に示す応用プログラム44が、更新命令でページ
バッファ46のレコードを更新し、半導体外部記憶装置
10のデータ記憶部13に対する書き込み要求を出すと
、データペース管理サブシステム43は、データ完結性
保証機構12に対する書き込みマクロ命令を発行する。When the application program 44 shown in FIG. 4 updates the record in the page buffer 46 with an update command and issues a write request to the data storage section 13 of the semiconductor external storage device 10, the data pace management subsystem 43 performs data integrity processing. Issue a write macro command to the guarantee mechanism 12.
これにより、データ完結性保証機構12は、第6図に示
すアクセス処理を実行する。以下の説明における■〜■
は、第6図に示す処理■〜■に対応する。As a result, the data integrity guarantee mechanism 12 executes the access process shown in FIG. 6. ■~■ in the following explanation
corresponds to processes ① to ② shown in FIG.
■ 転送要求があったデータの転送アドレス、転送デー
タ長およびページバッファの内容を読み込む。■ Read the transfer address, transfer data length, and page buffer contents of the data requested to be transferred.
■ 半導体外部記憶装置のリカバリ制御データを。■Recovery control data for semiconductor external storage devices.
主記憶に読み込む。Load into main memory.
■ 読み込んだリカバリ制御データにより、データ完結
性保証処理が必要であるか否かを判定する。すなわち、
転送完了表示が“完了”を示しているかどうかを判定す
る。“完了”を示していないとき、先の転送データは、
不定データであるので、処理■を実行する。“完了”に
なっていれば、処理■へ移る。■ Determine whether data integrity guarantee processing is necessary based on the read recovery control data. That is,
Determine whether the transfer completion display indicates "Complete". When “Complete” is not indicated, the previous transfer data is
Since the data is undefined, process (■) is executed. If it is “completed”, move on to process ■.
■ 後述するリカバリ処理により、不定データを復旧す
る。■ Recover undefined data using the recovery process described later.
■ 主記憶の転送バッファの内容を、半導体外部記憶装
置のデータ退章域に複写する。(2) Copy the contents of the main memory transfer buffer to the data retirement area of the semiconductor external storage device.
■ 転送するデータの転送アドレスと転送データ長を、
半導体外部記憶装置のリカバリ制御データに書き込む。■ Set the transfer address and transfer data length of the data to be transferred.
Write to the recovery control data of the semiconductor external storage device.
■ データ転送の開始表示を行う、すなわちリカバリ制
御データの転送完了表示に、“転送中”を書き込む。■ Display the start of data transfer, that is, write "transferring" in the recovery control data transfer completion display.
■ 転送用バッファの内容を、半導体外部記憶装置のデ
ータ記憶部に転送する。(2) Transfer the contents of the transfer buffer to the data storage section of the semiconductor external storage device.
■ 転送完了表示をリカバリ制御データに書き込み、“
完了“にする、その後、データペース管理サブシステム
に制御を戻す。■ Write the transfer completion indication to the recovery control data and write “
“Complete” and then return control to the database management subsystem.
第4図に示す応用プログラム44が、半導体外部記憶装
置10のデータ記憶部13に配置されたデータベースの
レコード読み込み命令を発行すると、データベース管理
サブシステム43は、データ完結性保証機構12に対す
る読み込みマクロ命令を発行する。When the application program 44 shown in FIG. Issue.
これにより、データ完結性保証機構12は、第7図に示
すアクセス処理を実行する。以下の説明における■〜■
は、第7図に示す処理■〜■に対応する。As a result, the data integrity guarantee mechanism 12 executes the access process shown in FIG. 7. ■~■ in the following explanation
corresponds to processes ① to ② shown in FIG.
■ 転送要求があったデータの転送アドレス、転送デー
タ長を、主記憶に読み込む。■ Read the transfer address and transfer data length of the data requested to be transferred into the main memory.
■ 半導体外部記憶装置のリカバリ制御データを。■Recovery control data for semiconductor external storage devices.
主記憶に読み込む。Load into main memory.
■ 読み込んだリカバリ制御データにより、データ完結
性保証処理が必要であるか否かを判定する。すなわち、
転送完了表示が“完了°°を示しているかどうかを判定
する。′完了”でないとき、先の転送データは、不定デ
ータであるので。■ Determine whether data integrity guarantee processing is necessary based on the read recovery control data. That is,
Determine whether the transfer completion display indicates "Complete". If it is not "Complete", the previously transferred data is indefinite data.
処理■を実行する。“完了”になっていれば。Execute process ■. If it is “Completed”.
処理■へ移る。Move on to processing ■.
■ 後述するリカバリ処理により、不定データを復旧す
る。■ Recover undefined data using the recovery process described later.
■ 半導体外部記憶装置のデータ記憶部のデータを、転
送用バッファに転送する。(2) Transfer the data in the data storage section of the semiconductor external storage device to the transfer buffer.
■ 転送用バッファの内容をページバッファに複写し、
データベース管理サブシステムに制御を戻す。■ Copy the contents of the transfer buffer to the page buffer,
Return control to the database management subsystem.
第6図および第7図に示す処理において、データ完結性
保証処理が必要な場合、現在のアクセス処理を中断し、
第8図に示す以下の処理■〜■を実行する。In the processing shown in FIGS. 6 and 7, if data integrity guarantee processing is required, the current access processing is interrupted,
The following processes 1 to 2 shown in FIG. 8 are executed.
■ 転送用バッファの内容を、リカバリ作業域に複写す
る。■ Copy the contents of the transfer buffer to the recovery work area.
■ 先の転送データを退避しているデータ退避域の内容
を、主記憶の転送用バッファに読み込む。■ Read the contents of the data save area where the previously transferred data is saved into the transfer buffer of the main memory.
■ リカバリ制御データの転送アドレスと転送データ長
とをもとに、転送用バッファのデータを。■ Data in the transfer buffer based on the recovery control data transfer address and transfer data length.
データ記憶部に再書き込みすることにより、不定データ
を復旧する。Undefined data is recovered by rewriting it to the data storage unit.
■ 転送完了表示を、リカバリ制御データに書き込む。■Write the transfer completion indication to the recovery control data.
■ リカバリ作業域に退避したデータを転送用バッファ
に複写する。その後1通常の処理を再開する。■ Copy the data saved in the recovery work area to the transfer buffer. After that, 1 normal processing is resumed.
なお、上記■および■の処理は、読み込み時にお番する
リカバリ処理では、省略してもよい。Note that the above-mentioned processes (1) and (2) may be omitted in the recovery process performed at the time of reading.
以上のデータ完結性保証機構12によるデータ完結性保
証の処理を、ソフトウェアによって実現することができ
るが、ファームウェアやハードウェアの機構を用いて実
現することにより、さらに高速化することも可能である
。The data integrity assurance processing by the data integrity assurance mechanism 12 described above can be realized by software, but it is also possible to achieve even higher speed by implementing it using firmware or hardware mechanisms.
以上説明したように9本発明によれば、半導体外部記憶
装置上の不定データを排除することができるようになる
ので、以下の効果がある。As explained above, according to the present invention, it becomes possible to eliminate undefined data on the semiconductor external storage device, so that the following effects can be obtained.
システムがダウンしたとき、システム再起動後まで情報
を引き継ぐことが可能となり、半導体外部記憶装置上に
データベースの他に1例えばクラスタ間排他情報などの
制御■データを配置することが可能となる。これにより
、複合システムなどにおいて、高速システム切り替えが
可能なホントスタンバイシステムを構築することなどが
できるようになる。When the system goes down, it becomes possible to take over the information until after the system is restarted, and it becomes possible to place control data such as inter-cluster exclusive information in addition to the database on the semiconductor external storage device. This makes it possible to construct a true standby system capable of high-speed system switching in complex systems and the like.
第1図は本発明の構成例。
第2図は本発明の適用システムの例。
第3図は本発明の実施例で用いる転送完了表示域の説明
図。
第4図は本発明の実施例構成図。
第5図は本発明の実施例に係るパラメタパケットの形式
の例。
第6図はデータ完結性保証機構による書き込み時の処理
フロー
第7図はデータ完結性保証機構による読み込み時の処理
フロー
第8図はデータ完結性保証機構によるリカバリ処理の処
理フロー
第9図は従来のデータ転送方式の例を説明するための図
。
第1O図は従来技術の問題点を説明するための図を示す
。
図中、10は半導体外部記憶装置、11は計算機本体、
12はデータ完結性保証fi41.13はデータ記憶部
、14はリカバリ制御データ、15はデータ退避域、1
6は書き込み処理部、17は読み込み処理部、18はリ
カバリ処理部、19は転送用バッファ、20はアクセス
要求元を表す。FIG. 1 shows a configuration example of the present invention. FIG. 2 shows an example of a system to which the present invention is applied. FIG. 3 is an explanatory diagram of a transfer completion display area used in the embodiment of the present invention. FIG. 4 is a configuration diagram of an embodiment of the present invention. FIG. 5 is an example of the format of a parameter packet according to an embodiment of the present invention. Figure 6 is the process flow when writing by the data integrity guarantee mechanism Figure 7 is the process flow when reading by the data integrity guarantee mechanism Figure 8 is the process flow of recovery processing by the data integrity guarantee mechanism Figure 9 is the conventional process flow FIG. 3 is a diagram for explaining an example of a data transfer method. FIG. 1O shows a diagram for explaining the problems of the prior art. In the figure, 10 is a semiconductor external storage device, 11 is a computer main body,
12 is a data integrity guarantee fi41. 13 is a data storage unit, 14 is recovery control data, 15 is a data save area, 1
Reference numeral 6 represents a write processing unit, 17 a read processing unit, 18 a recovery processing unit, 19 a transfer buffer, and 20 an access request source.
Claims (1)
記憶媒体上に退避するとともに、その転送データに関す
るリカバリ情報を外部不揮発記憶媒体上に設定する書き
込み処理手段と、 上記半導体外部記憶装置に対する書き込みまたは読み込
みのアクセス要求の処理において、上記外部不揮発記憶
媒体に設定されたリカバリ情報を参照し、先のアクセス
による転送データが障害により不定データになっている
ことを検出した場合に、上記外部不揮発記憶媒体に退避
した転送データに基づいて、不定データの復旧を行うリ
カバリ処理手段と を備えたことを特徴とする半導体外部記憶装置における
データ保証制御方式。[Claims] In a computer system equipped with a semiconductor external storage device, data transferred to the semiconductor external storage device is saved on an external nonvolatile storage medium, and recovery information regarding the transferred data is saved on the external nonvolatile storage medium. In processing a write or read access request to the semiconductor external storage device, a write processing means is configured to refer to the recovery information set in the external non-volatile storage medium, and the data transferred by the previous access is determined to be undefined data due to a failure. and recovery processing means for restoring undefined data based on the transferred data saved in the external non-volatile storage medium when it is detected that the external non-volatile storage medium is control method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1198540A JPH0362244A (en) | 1989-07-31 | 1989-07-31 | Data assurance control system for external semiconductor memory device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1198540A JPH0362244A (en) | 1989-07-31 | 1989-07-31 | Data assurance control system for external semiconductor memory device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0362244A true JPH0362244A (en) | 1991-03-18 |
Family
ID=16392859
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1198540A Pending JPH0362244A (en) | 1989-07-31 | 1989-07-31 | Data assurance control system for external semiconductor memory device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0362244A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100387324B1 (en) * | 2000-12-04 | 2003-06-12 | 주식회사 아이이아이 | A waste water disposal plant |
| KR100390010B1 (en) * | 2000-08-16 | 2003-07-04 | 한국건설기술연구원 | Apparatus for the purification of river pollution by tube type media attaching microorganism |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63116253A (en) * | 1986-11-04 | 1988-05-20 | Alps Electric Co Ltd | Protection system for backed-up ram |
-
1989
- 1989-07-31 JP JP1198540A patent/JPH0362244A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63116253A (en) * | 1986-11-04 | 1988-05-20 | Alps Electric Co Ltd | Protection system for backed-up ram |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100390010B1 (en) * | 2000-08-16 | 2003-07-04 | 한국건설기술연구원 | Apparatus for the purification of river pollution by tube type media attaching microorganism |
| KR100387324B1 (en) * | 2000-12-04 | 2003-06-12 | 주식회사 아이이아이 | A waste water disposal plant |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| USRE37038E1 (en) | Method and system for automated termination and resumption in a time zero backup copy process | |
| KR100238925B1 (en) | A recoverable disk control system with a non-volatile memory | |
| JPH0619722B2 (en) | Device that saves the state of the computer | |
| JPS638835A (en) | Trouble recovery device | |
| JPH0823841B2 (en) | Data processing system and method | |
| JPS6119061B2 (en) | ||
| JP3172007B2 (en) | Disk copy processing method | |
| JPH0362244A (en) | Data assurance control system for external semiconductor memory device | |
| JPH06149485A (en) | Data completion guarantee processing method | |
| JPH04311219A (en) | Data backup system | |
| JPS641809B2 (en) | ||
| JPH0375836A (en) | Succeeding processing memthod for resource information | |
| JPH0793101A (en) | Data backup device | |
| JPS6119060B2 (en) | ||
| JP2003186629A (en) | Data copy system | |
| JP2919457B1 (en) | Duplex device I/O control method and program recording medium | |
| JPH01191246A (en) | Write assuring system for external storage device | |
| JPH0259837A (en) | Data recovery processing system | |
| JP3009168B2 (en) | Data processing device | |
| JPH0552538B2 (en) | ||
| JPH02118745A (en) | Memory back-up device | |
| JPH0335339A (en) | Settlement processing system for occurrence of os fault | |
| JPS6156537B2 (en) | ||
| JPS6254347A (en) | Processing system for fault of file | |
| JPS6130296B2 (en) |