JPH04287249A - System for exclusively controlling common type extended storage device - Google Patents

System for exclusively controlling common type extended storage device

Info

Publication number
JPH04287249A
JPH04287249A JP5198691A JP5198691A JPH04287249A JP H04287249 A JPH04287249 A JP H04287249A JP 5198691 A JP5198691 A JP 5198691A JP 5198691 A JP5198691 A JP 5198691A JP H04287249 A JPH04287249 A JP H04287249A
Authority
JP
Japan
Prior art keywords
storage device
shared
systems
extended storage
storage area
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
JP5198691A
Other languages
Japanese (ja)
Inventor
Yoshikazu Yonezawa
米澤 禎和
Kenji Kitahara
北原 健二
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
NEC Fielding Ltd
Original Assignee
NEC Corp
NEC Fielding 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, NEC Fielding Ltd filed Critical NEC Corp
Priority to JP5198691A priority Critical patent/JPH04287249A/en
Publication of JPH04287249A publication Critical patent/JPH04287249A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To efficiently use a common type extended storage device by reducing the waiting time for the storage device and, especially, waiting time for access when referring operations are frequently performed. CONSTITUTION:Since an operating state storing area is provided in the control section of a common type extended storage device 1, the storage device 1 can be exclusively controlled only in the 'unused state' and operating states for 'reference' and 'updating' and the device 1 can be accessed simultaneously from plural systems.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は共用型拡張記憶装置の排
他的制御方式に関し、特に、複数のシステムで共用する
ときの共用型拡張記憶装置の排他的制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an exclusive control method for a shared expanded storage device, and more particularly to an exclusive control method for a shared expanded storage device when shared by a plurality of systems.

【0002】0002

【従来の技術】従来の共用型拡張記憶装置の排他的制御
方式は、あるシステムが共用型拡張記憶装置を使用する
とき共用型拡張記憶装置を専有する命令を実行してから
使用し、動作が終了すると共用型拡張記憶装置を開放す
る命令を実行するという動作を行なっている。これは1
つのシステムが参照動作で共用型拡張記憶装置を使用中
に他のシステムが更新動作で共用型拡張記憶装置を使用
して参照動作中のシステムか参照しようとしているデー
タ領域を更新してしまわないようにするためであり、1
つのシステムが共用型拡張記憶装置を専有して使用して
いる間は他のシステムからは共用型拡張記憶装置を使用
できないようにする排他的制御を行なっている。
2. Description of the Related Art In a conventional exclusive control method for a shared expanded storage device, when a system uses a shared expanded storage device, it executes an instruction to exclusively use the shared expanded storage device, and then uses the shared expanded storage device. When it is finished, it executes an instruction to release the shared extended storage device. This is 1
Prevents one system from using the shared extended storage device for an update operation while one system is using the shared extended storage device for a reference operation, and updates the data area that the reference operation is being performed or the system that is attempting to reference. 1.
While one system is exclusively using the shared expanded storage device, exclusive control is performed to prevent other systems from using the shared expanded storage device.

【0003】0003

【発明が解決しようとする課題】上述した従来の共用型
拡張記憶装置の排他的制御方式は、1つのシステムが専
有して参照動作のみで共用型拡張記憶装置を使用中に他
のシステムから同じように参照動作のみで共用型拡張記
憶装置を使用しても、データに矛盾が起きる可能性がな
いのに共用型拡張記憶装置が開放されるまで使用できず
、待ち時間が多くなり効率よく共用型拡張記憶装置を使
用することができないという欠点がある。
[Problems to be Solved by the Invention] The above-mentioned exclusive control method for a shared extended storage device is such that when one system is using the shared extended storage device exclusively and only for reference operations, another system cannot control the shared extended storage device. Even if a shared extended storage device is used only for reference operations, as in The disadvantage is that type-extended storage cannot be used.

【0004】0004

【課題を解決するための手段】本発明は、主記憶装置の
下位に位置し主記憶装置とのデータ転送を行ない複数の
システムからの専有,開放動作に対して排他的制御方式
を用いて共用され、使用するシステムの動作が参照動作
時のみ同時に複数のシステムでの使用を可能とする機能
を持つ共用型拡張記憶装置の排他的制御方式において、
前記共用型拡張記憶装置の制御部に動作状態格納領域を
設けその動作状態格納領域に未使用状態,参照状態,更
新状態の3つの動作状態の情報を保持する手段と、前記
システムの一つが前記共用型拡張記憶装置を参照動作だ
けで使用するとき前記動作状態格納領域の情報が「更新
」でない場合のみ前記共用型拡張記憶装置の使用が許可
されるという制御を行なう手段と、前記共用型拡張記憶
装置へのアクセスが終了して前記動作状態格納領域の情
報を「未使用」に変更し前記共用型拡張記憶装置を開放
しようとするとき前記システムの他の一つが共用型拡張
記憶装置を使用中かどうかをチェックする手段とを具備
し、前記制御部に設けた前記動作状態格納領域の3つの
動作状態を示す情報を管理することにより複数のシステ
ムからの参照動作時の同時使用を可能とするものである
[Means for Solving the Problems] The present invention provides a system that is located below the main memory, performs data transfer with the main memory, and uses an exclusive control method to control exclusive use and release operations from multiple systems. In an exclusive control method for a shared extended storage device that has a function that allows it to be used by multiple systems at the same time only when the system in use is in a reference operation,
means for providing an operating state storage area in the control unit of the shared expanded storage device and storing information on three operating states, an unused state, a reference state, and an updated state in the operating state storage area; means for performing control such that use of the shared expanded storage device is permitted only when information in the operation status storage area is not "updated" when the shared expanded storage device is used only for reference operations; and the shared expanded storage device; When access to the storage device ends and the information in the operating state storage area is changed to "unused" and the shared expanded storage device is released, another of the systems uses the shared expanded storage device. By managing information indicating three operating states in the operating state storage area provided in the control unit, simultaneous use of reference operations from a plurality of systems is possible. It is something to do.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0006】図1は本発明の共用型拡張記憶装置の排他
的制御方式が適用される共用型拡張記憶装置と共用型拡
張記憶装置をアクセスする2つのシステムを例示する構
成図、図2はシステムが共用型拡張記憶装置を専有,開
放する動作を示すフローチャート、図3は図2の専有命
令(ステップ1)の詳細なフローチャート、図4は図2
の開放命令(ステップ3)の詳細なフローチャートであ
る。
FIG. 1 is a configuration diagram illustrating a shared expanded storage device to which the exclusive control method for shared expanded storage devices of the present invention is applied and two systems for accessing the shared expanded storage device. FIG. FIG. 3 is a detailed flowchart of the exclusive command (step 1) in FIG. 2, and FIG.
2 is a detailed flowchart of the release command (step 3) of FIG.

【0007】共用型拡張記憶装置1は物理的に主記憶制
御装置3a(3b)に接続されており、記憶階層上は主
記憶装置2a(2b)の下位に位置し、主記憶装置2a
(2b)とのデータ転送を基本とする。また、この共用
型拡張記憶装置1は制御部の制御によって複数のシステ
ムからの参照動作のみを同時に行なうことのできる機能
を持つものとする。そして制御部に動作状態格納領域を
持ち、「未使用,参照,更新」の3つの動作状態の情報
が存在し、初期状態では「未使用」の情報が保持されて
おり、システムにその動作状態によって参照動作ならば
「参照」の情報、更新動作ならば「更新」の情報に変更
され、動作が終了し共用型拡張記憶装置が開放されると
、「未使用」の情報に変更されるというように3つのど
れかの動作状態の情報を保持している。
The shared expanded storage device 1 is physically connected to the main storage control device 3a (3b), and is located below the main storage device 2a (2b) in the storage hierarchy.
(2b) Data transfer is basically used. It is also assumed that the shared expansion storage device 1 has a function that allows only reference operations from a plurality of systems to be performed simultaneously under the control of the control section. The control unit has an operating state storage area, and there are three types of operating state information: "unused, referenced, and updated." In the initial state, "unused" information is held, and the system stores the operating state. If the operation is a reference operation, the information is changed to ``reference'', and if the operation is an update, the information is changed to ``update'', and when the operation ends and the shared expanded storage device is released, the information is changed to ``unused''. It holds information on the operating status of any of the three.

【0008】システムA(B)が共用型拡張記憶装置1
を使用しようとするときの動作は、図2のように専有命
令(ステップ1)を実行してから使用(ステップ2)し
、開放命令(ステップ3)を実行して終了する。
[0008] System A (B) is a shared expansion storage device 1.
The operation when attempting to use the ``dedicated'' instruction (step 1) is executed as shown in FIG.

【0009】上記の動作を図3,図4を参照して詳しく
説明する。システムAがどこからも使用されていない共
用型拡張記憶装置1を使用する動作の場合は、システム
Aが専有命令(ステップ1)を実行すると共用型拡張記
憶装置1を他のシステムが専有しているかどうかチェッ
クし(ステップ11)、他のシステムが専有していない
ときシステムAは共用型拡張記憶装置1の制御部の動作
状態格納領域にこれから行なう動作の情報を格納(ステ
ップ13)してから共用型拡張記憶装置を使用する(ス
テップ2)。その後共用型拡張記憶装置1の使用が終了
し開放命令(ステップ3)を実行すると他のシステムが
使用中かどうかチェックし(ステップ31)、使用中で
なければ動作状態格納領域に未使用の情報を格納(ステ
ップ32)して終了する。
The above operation will be explained in detail with reference to FIGS. 3 and 4. In the case of an operation in which system A uses shared expanded storage device 1 that is not used anywhere else, when system A executes the exclusive instruction (step 1), whether the shared expanded storage device 1 is occupied by another system or not. If it is not occupied by another system (step 11), system A stores information about the operation to be performed in the operation status storage area of the control unit of the shared extended storage device 1 (step 13), and then shares the information. Use type extended storage (step 2). After that, when the use of the shared expanded storage device 1 is finished and the release command (step 3) is executed, a check is made to see if it is being used by another system (step 31), and if it is not in use, unused information is stored in the operating status storage area. is stored (step 32), and the process ends.

【0010】システムAが他のシステム(システムB)
で使用中の共用型拡張記憶装置1を使用する動作の場合
は、システムAが専有命令(ステップ1)を実行すると
共用型拡張記憶装置1を他のシステムが専有しているか
どうかチェックし(ステップ11)、この場合システム
Bから共用型拡張記憶装置1を使用しているためシステ
ムAの動作が参照動作かどうかチェックし(ステップ1
2)、参照動作でなければ共用型拡張記憶装置1を使用
できずに専有命令は終了する(ステップ16)。システ
ムAの動作が参照動作のときは共用型拡張記憶装置1の
制御部の動作状態格納領域の情報をチェックし(ステッ
プ14)、現在システムBが参照動作のために共用型拡
張記憶装置1を専有しているのでなければ共用型拡張記
憶装置1を使用できずに専有命令は終了する(ステップ
16)が参照動作のために専有しているなら共用型拡張
記憶装置1を使用することができる(ステップ15)。 その後共用型拡張記憶装置1の使用が終了し開放命令(
ステップ3)を実行すると他のシステムが使用中かどう
かチェックし(ステップ31)、使用中でなければ動作
状態格納領域に未使用の情報を格納(ステップ32)し
て開放命令は終了するが、使用中ならば動作状態格納領
域に未使用の情報を格納しないで開放命令は終了する。
[0010] System A is another system (system B)
In the case of an operation that uses the shared expanded storage device 1 currently in use, when system A executes the exclusive command (step 1), it checks whether the shared expanded storage device 1 is being used exclusively by another system (step 1). 11) In this case, since shared expansion storage device 1 is being used from system B, check whether the operation of system A is the reference operation (step 1).
2) If it is not a reference operation, the shared extended storage device 1 cannot be used and the exclusive instruction ends (step 16). When the operation of system A is a reference operation, the information in the operation status storage area of the control unit of the shared expanded storage device 1 is checked (step 14), and system B is currently using the shared expanded storage device 1 for the reference operation. If it is not dedicated, the shared extended storage device 1 cannot be used and the dedicated instruction ends (step 16), but if it is dedicated for reference operation, the shared extended storage device 1 can be used. (Step 15). After that, the use of the shared expansion storage device 1 is completed and the release command (
When step 3) is executed, it is checked whether another system is in use (step 31), and if it is not in use, unused information is stored in the operating state storage area (step 32), and the release command ends. If it is in use, the release command ends without storing unused information in the operating state storage area.

【0011】[0011]

【発明の効果】以上説明したように、本発明は、共用型
拡張記憶装置の制御部に動作状態格納領域を設け、共用
型拡張記憶装置を「未使用,参照,更新」の動作状態で
排他的制御を行ない、複数のシステムから参照動作のみ
同時にアクセスできるようにすることにより、共用型拡
張記憶装置に対する待ち時間を減らすことができ、特に
参照動作が頻繁に行なわれるような場合にはアクセス待
ちがなくなり、効率のよい共用型拡張記憶装置の運用を
行なうことができるという効果を奏する。
[Effects of the Invention] As explained above, the present invention provides an operating state storage area in the control unit of a shared extended storage device, and excludes the shared extended storage device in the operating state of “unused, referenced, updated”. By controlling the system so that multiple systems can access only reference operations at the same time, it is possible to reduce the waiting time for the shared expanded storage device, especially when reference operations are frequently performed. This has the effect that the shared extended storage device can be operated efficiently.

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

【図1】本発明の共用型拡張記憶装置の排他的制御方式
が適用される共用型拡張記憶装置と共用型拡張記憶装置
をアクセスする2つのシステムを例示する構成図である
FIG. 1 is a configuration diagram illustrating a shared expanded storage device to which an exclusive control method for shared expanded storage devices of the present invention is applied and two systems that access the shared expanded storage device.

【図2】システムが共用型拡張記憶装置を専有,開放す
る動作を示すフローチャートである。
FIG. 2 is a flowchart illustrating the operation of the system for exclusive use and release of a shared expanded storage device.

【図3】図2の専有命令の詳細なフローチャートである
FIG. 3 is a detailed flowchart of the proprietary instruction of FIG. 2;

【図4】図2の開放命令の詳細なフローチャートである
FIG. 4 is a detailed flowchart of the release command of FIG. 2;

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

1    共用型拡張記憶装置 2a    主記憶装置 2b    主記憶装置 3a    主記憶制御装置 3b    主記憶制御装置 4a    中央処理装置 4b    中央処理装置 5a    入出力制御装置 5b    入出力制御装置 A    システム B    システム 1. Shared expansion storage device 2a Main memory 2b Main memory 3a Main memory control device 3b Main memory control device 4a Central processing unit 4b Central processing unit 5a Input/output control device 5b Input/output control device A System B System

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  主記憶装置の下位に位置し主記憶装置
とのデータ転送を行ない複数のシステムからの専有,開
放動作に対して排他的制御方式を用いて共用され、使用
するシステムの動作が参照動作時のみ同時に複数のシス
テムでの使用を可能とする機能を持つ共用型拡張記憶装
置の排他的制御方式において、前記共用型拡張記憶装置
の制御部に動作状態格納領域を設けその動作状態格納領
域に未使用状態,参照状態,更新状態の3つの動作状態
の情報を保持する手段と、前記システムの一つが前記共
用型拡張記憶装置を参照動作だけで使用するとき前記動
作状態格納領域の情報が「更新」でない場合のみ前記共
用型拡張記憶装置の使用が許可されるという制御を行な
う手段と、前記共用型拡張記憶装置へのアクセスが終了
して前記動作状態格納領域の情報を「未使用」に変更し
前記共用型拡張記憶装置を開放しようとするとき前記シ
ステムの他の一つが共用型拡張記憶装置を使用中かどう
かをチェックする手段とを具備し、前記制御部に設けた
前記動作状態格納領域の3つの動作状態を示す情報を管
理することにより複数のシステムからの参照動作時の同
時使用を可能とする共用型拡張記憶装置の排他的制御方
式。
Claim 1: A storage device located below the main storage device, which performs data transfer with the main storage device, and is shared using an exclusive control method for exclusive use and release operations from multiple systems, and the operation of the systems using it is controlled. In an exclusive control method for a shared extended storage device that has a function that allows use by multiple systems at the same time only during a reference operation, an operating state storage area is provided in a control unit of the shared extended storage device to store the operating state. means for retaining information on three operating states, an unused state, a reference state, and an updated state, in an area; and information on the operating state storage area when one of the systems uses the shared extended storage device only for reference operations; means for performing control such that the use of the shared expanded storage area is permitted only when the shared expanded storage area is not "updated";'', and means for checking whether another one of the systems is using the shared expanded storage device when attempting to release the shared expanded storage device; An exclusive control method for a shared extended storage device that enables simultaneous use during reference operations from multiple systems by managing information indicating three operating states of a state storage area.
JP5198691A 1991-03-18 1991-03-18 System for exclusively controlling common type extended storage device Pending JPH04287249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5198691A JPH04287249A (en) 1991-03-18 1991-03-18 System for exclusively controlling common type extended storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5198691A JPH04287249A (en) 1991-03-18 1991-03-18 System for exclusively controlling common type extended storage device

Publications (1)

Publication Number Publication Date
JPH04287249A true JPH04287249A (en) 1992-10-12

Family

ID=12902181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5198691A Pending JPH04287249A (en) 1991-03-18 1991-03-18 System for exclusively controlling common type extended storage device

Country Status (1)

Country Link
JP (1) JPH04287249A (en)

Similar Documents

Publication Publication Date Title
US6820187B2 (en) Multiprocessor system and control method thereof
US6269432B1 (en) Distributed transactional processing system having redundant data
JP2004013367A5 (en)
US6742089B1 (en) Access controller and access method for controlling access from a CPU to a memory based on use states of plural access ports
JPH04284548A (en) Data base exclusive controlling system
KR100353448B1 (en) Apparatus and method for controlling shared memory
JPH04287249A (en) System for exclusively controlling common type extended storage device
US5892918A (en) Block transfer method for use with parallel computer system
JPH0736760A (en) High reliability method of external storage device using both device multiplexing function and module sharing function
JP2746189B2 (en) File access control system
JPH0554009A (en) Program load system
JPH03248255A (en) Method and device for data transfer
JPH05128070A (en) Remote cache control device and its method
US20210004475A1 (en) Computer apparatus, data sharing system, and data access method
KR0155868B1 (en) Location data control method of multi-robot controller
JPS6329864A (en) System constitution control system
CA1324838C (en) Data processing system capable of storing firmware data in control memories of an input-output processor with reduced hardware
JPH07319720A (en) System switching method for processor
JPH0337748A (en) External storage accessing system utilizing main storage
JPH01248207A (en) Numerical controller
JPH04311232A (en) System for accessing shared memory of information processor
JPH04205518A (en) Disk device control system
JPS5985559A (en) File control system
JPH0377157A (en) Control system for input/output device interface
JPH0231225A (en) Test system for data control rule of buffer memory