[go: up one dir, main page]

JPS62226266A - Simultaneous access and roll-back control system - Google Patents

Simultaneous access and roll-back control system

Info

Publication number
JPS62226266A
JPS62226266A JP61068293A JP6829386A JPS62226266A JP S62226266 A JPS62226266 A JP S62226266A JP 61068293 A JP61068293 A JP 61068293A JP 6829386 A JP6829386 A JP 6829386A JP S62226266 A JPS62226266 A JP S62226266A
Authority
JP
Japan
Prior art keywords
file
data processing
extent information
control means
roll
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
JP61068293A
Other languages
Japanese (ja)
Inventor
Yoshio Kariya
刈谷 善雄
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 JP61068293A priority Critical patent/JPS62226266A/en
Publication of JPS62226266A publication Critical patent/JPS62226266A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To avoid the useless file extension by inhibiting only the rolling back of the extent information stored in a data processor with a roll-back program, in case the file extent information is prepared at every data processor. CONSTITUTION:Data processors 1A and 1B are connected to a simultaneous access controller 7 and an external memory device 8 respectively. Both processors 1A and 1B contain record control means 2A and 2B, file extent control means 3A and 3B, roll-back control means 4A and 4B, extent information 5A and 5B, and jobs 6A and 6B respectively. In case the information 5A and 5B are prepared with processors 1A and 1B respectively, the means 4A and 4B perform the program roll-back and inhibit the roll-back only the extent information stored in both processors 1A and 1B. Thus it is possible to decrease the number input processing circuits for file extent information on the job where the file extension may possible carried out.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は外部記憶装置上のファイルに複数のデータ処理
装置から同時出力するデータ処理システムにおける同時
アクセスおよびプログラムとファイルのロールパック制
御方式に関し、特にファイル拡張を伴う場合の制御方式
に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a simultaneous access and roll pack control method for programs and files in a data processing system that simultaneously outputs files on an external storage device from a plurality of data processing devices. In particular, it relates to a control method when file expansion is involved.

〔従来の技術〕[Conventional technology]

従来u、!ログラムロールパンクによってデータ処理装
置上のファイルのエクステント情報がファイル拡張前の
状態に戻されるため、プログラムロールパック直後の出
力要求時は常に外部記憶装置上のファイルエクステント
情報を入力していたか2または、自データ処理装置上の
ファイルのエクステント情報のみ全基にファイル拡張を
行っており、他データ処理装置からのファイル拡張や。
Conventionally u,! Because the extent information of the file on the data processing device is returned to the state before file expansion due to program roll puncture, whether the file extent information on the external storage device is always input when requesting output immediately after program roll pack, or File extensions are performed only on the extent information of files on the own data processing device, and file extensions from other data processing devices.

プログラムがロールパックされることによるデータ処理
装置上のファイルのエクステント情報がロールパックさ
れることを反映しないものであった。
When a program is roll-packed, extent information of a file on a data processing device does not reflect the fact that the program is roll-packed.

以下余白 〔発明が解決しようとする問題点〕 上述した従来の方法は、プログラムロールパック直後の
出力要求時は常に外部記憶装置上のエクステント情報を
入力していて性能が悪かった。また、他データ処理装置
でのファイル拡張を意識していなかったため、あるいは
、プログラムがロールバックされることによシ、データ
処理装置上のファイルのエクステント情報がロールバン
クされることを意識していなかったため、無駄なファイ
ル拡張をしてしまうという欠点があった。
Margins below [Problems to be Solved by the Invention] The conventional method described above has poor performance because extent information on the external storage device is always input when an output request is made immediately after a program roll pack. Also, they were not aware of file expansion on other data processing devices, or that the extent information of files on the data processing device would be rollbanked when the program was rolled back. Therefore, it had the disadvantage of unnecessary file expansion.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明の同時アクセスおよびロールバックff1ll 
55方式は、複数個のデータ処理装置と、共用するファ
イルを持つ外部記憶装置と、複数のデータ処理装置間で
共用するファイルの同時アクセスを制御する同時アクセ
ス制御装置と分有し、外部記憶装置上の共用ファイル内
にデータ全出力するジョブを複数個のデータ処理装置上
で並行して実行するデータ処理システムにおいて、ジョ
ブからのレコードの出力要求に基づき求められた出力す
るブロックのアドレスがデータ処理装置内に登録されて
いるファイルのエクステント情報が示すファイルの範囲
外の場合、上記ファイル拡張制御手段にファイル拡張を
要求し、また、上記同時アクセス制御装置にブロックの
同時アクセス制御を要求した後レコードを出力するレコ
ード制御手段と、このレコード制御手段からのファイル
拡張要求に基づいて、データ処理装置上のファイルのエ
クステント情報と外部記憶装置上のファイルエクステン
ト情報をチェックし、既に拡張済みであれば外部記憶装
置上のファイルエクステント情報を入力シテータ処理装
置上のファイルのエクステント情報に登録し、拡張され
ていない場合はファイルを拡張し外部処理装置上とデー
タ処理装置上のファイルのエクステント情報を再登録す
るファイル拡張制御手段と、ジョブまたはレコード制御
手段からのロール−シック要求に基づいて、チェックポ
イント時点までプログラムおよびファイルのロールパッ
クを行う場合にデータ処理装置上のファイルのエクステ
ント情報だけはロールパックしないロールパック制御手
段と、を有している。
Concurrent access and rollback of the present inventionff1ll
The 55 system has multiple data processing devices, an external storage device that has files to be shared, and a simultaneous access control device that controls simultaneous access to files shared among the multiple data processing devices. In a data processing system where a job that outputs all data in the above shared file is executed in parallel on multiple data processing devices, the address of the output block obtained based on the record output request from the job is the data processing If the extent information of the file registered in the device is outside the range of the file indicated, the file expansion control means is requested to expand the file, and the simultaneous access control device is requested to control simultaneous block access, and then the record is Based on the record control means that outputs the file and the file extension request from this record control means, the file extent information on the data processing device and the file extent information on the external storage device are checked. Register the file extent information on the storage device as the extent information of the file on the input citator processing device, and if it has not been expanded, expand the file and re-register the extent information of the file on the external processing device and data processing device. When roll-packing a program and file up to a checkpoint based on a roll-thick request from a file expansion control means and a job or record control means, only the file extent information on the data processing device is not roll-packed. and pack control means.

〔実施例〕〔Example〕

次に本発明の構成について図面を参照して詳細に説明す
る。
Next, the configuration of the present invention will be explained in detail with reference to the drawings.

第1図を参照すると2本発明の一実施例は、データ処理
装置IAおよびIB、レコード制御手段2人および2B
、ファイル拡張制御手段3Aおよび3B、ロールパック
制御手段4Aおよび4B。
Referring to FIG. 1, two embodiments of the present invention include data processing apparatuses IA and IB, record control means for two people and 2B.
, file expansion control means 3A and 3B, and roll pack control means 4A and 4B.

エクステント情報5Aおよび5B、ノヨプ6Aおよび6
B、同時アクセス制御装置7.外部記憶装置8.ファイ
ルエクステント情報9.ファイル10、エクステント1
0−1.10−2および10−3から構成さ九ている。
Extent information 5A and 5B, Noyop 6A and 6
B. Simultaneous access control device 7. External storage device 8. File extent information9. File 10, extent 1
It is composed of 0-1, 10-2 and 10-3.

第2図を参照すると、レコード制御手段2Aおよび2B
は、アドレス計算部21.アドレスチェック部22.フ
ァイル拡張要求部23.同時アクセス制御要求部24.
レコード処理部25から構成され、又ファイル拡張制御
手段3Aおよび3Bは、エクステント情報判定部31.
ファイル拡張部32.エクステント情報登録部33から
構成されている。
Referring to FIG. 2, record control means 2A and 2B
is the address calculation unit 21. Address check section 22. File extension request section 23. Simultaneous access control request unit 24.
The file expansion control means 3A and 3B are composed of the record processing section 25, and the extent information determination section 31.
File extension section 32. It consists of an extent information registration section 33.

次に本発明の動作について図面を参照して説明する。な
お説明の便宜上、ジョブ6Aとして動作するプログラム
がファイル10内のレコードの出力を要求した場合を例
として説明する。
Next, the operation of the present invention will be explained with reference to the drawings. For convenience of explanation, a case where a program operating as job 6A requests output of a record in file 10 will be described as an example.

ジョブ6Aからの出力要求に基づき、レコード制御手段
2Aは、レコードを格納すべきブロックのアドレスをア
ドレス計算部21によって算出し。
Based on the output request from the job 6A, the record control means 2A uses the address calculation unit 21 to calculate the address of the block in which the record is to be stored.

アドレスチェック部22によってエクステント情報5A
k基にファイル内のアドレスか否かをチェックする。
The extent information 5A is checked by the address check unit 22.
Check whether the address is within the file based on k bases.

もしファイル外の場合、ファイル拡張要求処理23によ
ってファイル拡張制御手段3Aを動作させる。
If it is outside the file, the file extension control means 3A is operated by the file extension request processing 23.

ファイル拡張制御手段3AJ”t、外部記憶装置8内の
ファイルエクステント情報9を入力してエクステント情
報判定処理31によってデータ処理装置IA内のエクス
テント情報5Aと比較する。比較の結果違っている場合
は、他データ処理装置で既にファイルが拡張されている
か、あるいは、ファイル拡張後プログラムがロールパッ
クされていてファイル拡張が不要なため、エクステント
情報登録処理33でデータ処理装置IA内のエクステン
ト情報5Aに再登録だけを行う。比較の結果一致してい
る場合は、ファイル拡張処理32でファイルを拡張し、
外部記憶装置8内のファイルエクステント情報9を再登
録し、エクステント情報登録処理33でデータ処理装置
IA内のエクステント情報5Aを再登録する。
The file extension control means 3AJ"t inputs the file extent information 9 in the external storage device 8 and compares it with the extent information 5A in the data processing device IA by the extent information determination process 31. If the comparison result is different, Since the file has already been expanded in another data processing device or the program after file expansion has been roll-packed and file expansion is not necessary, it is re-registered in the extent information 5A in the data processing device IA in the extent information registration process 33. If the comparison results match, expand the file in file expansion processing 32,
The file extent information 9 in the external storage device 8 is re-registered, and the extent information 5A in the data processing device IA is re-registered in the extent information registration process 33.

次にレコード制御手段2人は、同時アクセス制御要求処
理24によって同時アクセス制御装置7にブロックの参
照更新権を要求し、受は付けられた場合、レコード処理
部25でレコードめ出力を行う。
Next, the two record control means request the simultaneous access control device 7 for the right to refer to and update the block through the simultaneous access control request process 24, and if the request is accepted, the record processing section 25 outputs the record.

ブロックの参照槽が受は付けられず、かつ、デッドロッ
クと判定された場合、あるいはノヨプ6Aからのロール
バック要求が出されてプログラムとファイルのロールバ
ラクラ行つ場合*ロールパンク制御手段4Aはジョブ6
Aからのチェックポイント要求時点までプログラムとフ
ァイルのロールバックを行うが、データ処理装置IA内
のエクステント情報5Aだけはロールパックしないよう
にする。
When the block reference tank is not accepted and it is determined that there is a deadlock, or when a rollback request is issued from Noyop 6A and the program and file are rolled back. *The roll puncture control means 4A 6
The program and files are rolled back up to the time of the checkpoint request from A, but only the extent information 5A in the data processing device IA is not rolled packed.

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

以上説明したように本発明は、各データ処理装置毎にフ
ァイルのエクステント情報を持つ場合。
As explained above, the present invention is applicable to a case where each data processing device has file extent information.

プログラムロールパンクでデータ処理装置内のエクステ
ント情報だけはロールパックしないことにより、ファイ
ル拡張が発生する可能性のあるジョブのファイルエクス
テント情報入力処理回数を減少させ、性能を向上させる
という効果か、あるいは、ファイル外の出力要求時のみ
外部記憶装置上のファイルエクステント情報を調べるこ
とと、760グラムロールパツクでデータ処理装置内の
エクステント情報だけはロールパックしないことにより
、無駄なファイル拡張が発生することを防ぐことが出来
るという効果を得ることが出来る。
By not roll-packing only the extent information in the data processing device due to program roll puncture, the effect is to reduce the number of times file extent information input processing is performed for jobs that may cause file expansion, and to improve performance. By checking the file extent information on the external storage device only when an output request is made outside the file, and by not using the 760g roll pack to roll pack the extent information inside the data processing device, unnecessary file expansion can be prevented. You can get the effect that you can.

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

第2図は第1図中のレコード制御手段2人および2Bお
よびファイル拡張制御手段3Aおよび3Bの構成を示す
流れ図である。 記号の説明:IAおよびIBはデータ処理装置。 2人および2Bはレコード制御手段、3Aおよび3Bは
ファイル拡張制御手段、4Aおよび4Bはロールバック
制御手段、5Aおよび5Bはエクステント情報、6Aお
よび6Bはジョブ、7は同時アクセス制御装置、8は外
部記憶装置、9は7アイルエクステント情報、10はフ
ァイル、1o−1−≠:plO−2および10−3はエ
クステントツ 2A、2B 第2図
FIG. 2 is a flow chart showing the configuration of the two record control means and 2B and the file extension control means 3A and 3B in FIG. Explanation of symbols: IA and IB are data processing devices. 2 and 2B are record control means, 3A and 3B are file expansion control means, 4A and 4B are rollback control means, 5A and 5B are extent information, 6A and 6B are jobs, 7 is a simultaneous access control device, and 8 is an external Storage device, 9 is 7-isle extent information, 10 is a file, 1o-1-≠: plO-2 and 10-3 are extents 2A, 2B.

Claims (1)

【特許請求の範囲】 1、複数個のデータ処理装置と、共用するファイルを持
つ外部記憶装置と、複数のデータ処理装置間で共用する
ファイルの同時アクセスを制御する同時アクセス制御装
置とを有し、上記外部記憶装置上の共用ファイル内にデ
ータを出力するジョブを上記複数個のデータ処理装置上
で並行して実行するデータ処理システムにおいて、 ジョブからのレコードの出力要求に基づき求められた出
力するブロックのアドレスが、データ処理装置内に登録
されているファイルのエクステント情報が示すファイル
の範囲外の場合、上記ファイル拡張制御手段にファイル
拡張を要求し、また、上記同時アクセス制御装置にブロ
ックの同時アクセス制御を要求した後レコードを出力す
るレコード制御手段と、 このレコード制御手段からのファイル拡張要求に基づい
て、上記データ処理装置上のファイルのエクステント情
報と上記外部記憶装置上のファイルエクステント情報を
チェックし、既に拡張済みであれば上記外部記憶装置上
のファイルエクステント情報を入力し上記データ処理装
置上のファイルのエクステント情報に登録し、拡張され
ていない場合はファイルを拡張し上記外部処理装置上と
データ処理装置上のファイルのエクステント情報を再登
録するファイル拡張制御手段と、 上記ジョブまたは上記レコード制御手段からのロールバ
ック要求に基づいて、チェックポイント時点までプログ
ラムおよびファイルのロールバックを行う場合に上記デ
ータ処理装置上のファイルのエクステント情報だけはロ
ールバックしないロールバック制御手段と、 を含むことを特徴とする同時アクセスおよびロールバッ
ク制御方式。
[Claims] 1. Comprising a plurality of data processing devices, an external storage device having files to be shared, and a simultaneous access control device for controlling simultaneous access to files shared among the plurality of data processing devices. , in a data processing system in which a job that outputs data in a shared file on the external storage device is executed in parallel on the plurality of data processing devices, the output requested based on a record output request from the job is executed. If the address of the block is outside the range of the file indicated by the extent information of the file registered in the data processing device, the above file extension control means is requested to extend the file, and the simultaneous access control device is requested to extend the block simultaneously. A record control means that outputs a record after requesting access control, and based on a file expansion request from the record control means, checks the extent information of the file on the data processing device and the file extent information on the external storage device. If the file has already been expanded, enter the file extent information on the external storage device and register it in the extent information of the file on the data processing device; if it has not been expanded, expand the file and store it on the external processing device. a file extension control means for re-registering extent information of a file on the data processing device; A simultaneous access and rollback control method comprising: rollback control means that does not roll back only extent information of files on a data processing device;
JP61068293A 1986-03-28 1986-03-28 Simultaneous access and roll-back control system Pending JPS62226266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61068293A JPS62226266A (en) 1986-03-28 1986-03-28 Simultaneous access and roll-back control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61068293A JPS62226266A (en) 1986-03-28 1986-03-28 Simultaneous access and roll-back control system

Publications (1)

Publication Number Publication Date
JPS62226266A true JPS62226266A (en) 1987-10-05

Family

ID=13369584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61068293A Pending JPS62226266A (en) 1986-03-28 1986-03-28 Simultaneous access and roll-back control system

Country Status (1)

Country Link
JP (1) JPS62226266A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5697156A (en) * 1979-12-29 1981-08-05 Fujitsu Ltd Control system for restoration start point in extent unit
JPS5713547A (en) * 1980-05-27 1982-01-23 Ibm Method for operating computer system
JPS57109048A (en) * 1980-12-26 1982-07-07 Fujitsu Ltd Recovery system of data set

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5697156A (en) * 1979-12-29 1981-08-05 Fujitsu Ltd Control system for restoration start point in extent unit
JPS5713547A (en) * 1980-05-27 1982-01-23 Ibm Method for operating computer system
JPS57109048A (en) * 1980-12-26 1982-07-07 Fujitsu Ltd Recovery system of data set

Similar Documents

Publication Publication Date Title
US6240413B1 (en) Fine-grained consistency mechanism for optimistic concurrency control using lock groups
US20030079093A1 (en) Server system operation control method
JPH0713813B2 (en) Data access method and data processing system
JP2002073378A (en) Computer system dump acquisition method and apparatus
JPS62226266A (en) Simultaneous access and roll-back control system
JP2002202960A (en) Data processing method and device
JP3107094B2 (en) Method and apparatus for shortening shared buffer lock period
US7447875B1 (en) Method and system for management of global queues utilizing a locked state
JP3518609B2 (en) Configuration management method and data processing system
JPS6361320A (en) Auxiliary storage processor with preliminary verifying mechanism
JP2571298B2 (en) Data management control method
JPH01222346A (en) Control system for shared memory
JPH0241538A (en) Cache memory control system
JPS6267666A (en) Simultaneous access control system
JPS63233445A (en) Local addition system for internal file name
JPS6118223B2 (en)
JPS6231386B2 (en)
JPS62173535A (en) Access control method for shared resources
JPH03231341A (en) System storage
JPH0452929A (en) Check point save processing system
JPH04165440A (en) Device for operation mode changing by bank switching
JPS62171040A (en) Instruction reexecuting device
JPS63307538A (en) Control system for simultaneous access of files
JPH03246644A (en) Record sharing control system
JPH02137016A (en) Data input control system