JPS58144958A - Shared memory controller - Google Patents
Shared memory controllerInfo
- Publication number
- JPS58144958A JPS58144958A JP57027338A JP2733882A JPS58144958A JP S58144958 A JPS58144958 A JP S58144958A JP 57027338 A JP57027338 A JP 57027338A JP 2733882 A JP2733882 A JP 2733882A JP S58144958 A JPS58144958 A JP S58144958A
- Authority
- JP
- Japan
- Prior art keywords
- data processing
- shared memory
- power
- lock
- flag
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
Abstract
Description
【発明の詳細な説明】
本発明は共有メモリの制御方式に係り、特に、共有メモ
リの占有制御の異常がシステムの運転に重大な支障をき
たすようなデータ処理装置システムに好適な共有メモリ
占有制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a shared memory control method, and in particular to a shared memory occupancy control method suitable for a data processing device system in which an abnormality in shared memory occupancy control seriously impedes system operation. Regarding the method.
第1図に示すような複数台のデータ処理装置で構成され
るデータ処理システムでは、システムの制御情報、共有
I10使用のプログラム待ち行列等のシステム管埋テー
ブルを持つ共有メモリをもって、処理装置間の制御を行
なうのが通常であるが、その共有メモリの操作で、第2
図(a)に示すように、共有メ瘤り内のあるテーブルを
ある1台のデータ処理装置が使用する場合、占有を表示
すると共に他系からの使用を禁止するという方法でテー
ブルの内容の混乱を防いでいる・
このようなテーブル操作では、第2図(b)に示すよう
に、ある1台のデータ処理装置があるテーブルを占有(
LOCK)して、その占有を解除(LOCK解除)する
間に、そのデータ処理装置が電源断となったとすれば、
より高い割込みがかかり一そのテーブルを占有し良状態
でそのデータ処理装置はダウン(HAW : HOlt
And Wait )し、他のデータ処理装置からの
使用が不可能となり、全系ダウンにつながるという欠点
があった。In a data processing system consisting of multiple data processing devices as shown in FIG. Normally, control is performed, but by manipulating the shared memory, the second
As shown in Figure (a), when a certain data processing device uses a table in a shared memory, the contents of the table are displayed as occupied and prohibited from being used by other systems. Preventing confusion - In such table operations, as shown in Figure 2 (b), one data processing device occupies a certain table (
LOCK), and if the data processing device is powered off while its occupation is released (LOCK released),
A higher interrupt occurs and the table is occupied and the data processing unit goes down (HAW: HOlt).
and Wait), which makes it impossible to use it from other data processing devices, leading to the entire system going down.
本発明の目的は、データ処理システムに於ける共有メモ
リの共有管理方式に於いて、異常発生時に共有テーブル
が占有されることを回避する装置を提供するにある。An object of the present invention is to provide a device that prevents a shared table from being occupied when an abnormality occurs in a shared memory management system in a data processing system.
以下、本発明の一実施例を図により説明する。Hereinafter, one embodiment of the present invention will be described with reference to the drawings.
複数台のデータ処理装置に接続される共有メモリ上のテ
ーブルは、第3図に示すように、夫々のデータ処理装置
からのアクセスの相互間の競合普通情報として、謬ツク
情報を持つ領域(以後、LOCKと略称)を持つ。As shown in Figure 3, a table on a shared memory connected to multiple data processing devices has an area containing error information (hereinafter referred to as a , LOCK).
従来、データ処理装置から共有メモリ上のテーブルへの
アクセスは、第4図に示すような概略フローの命令(C
A8命令: Compare And 3wop命令)
で、データ処理装置からのアクセスの可否を行なってい
念。Conventionally, access from a data processing device to a table on a shared memory is performed using a command (C
A8 instruction: Compare And 3 wop instruction)
Please make sure to check whether access is possible from the data processing device.
システムの異常の一例として、以下電源断に対する本発
明の詳細な説明する。電源が断たれ九時、電源断の予告
を表示し、ある一定時間経過後、電源断となる。この場
合、予告から電源断までの時間は、第6図(a)に示す
ように、LOCKからLOCK解除までの時間よりも長
くとってあり、LOCKからLOCK解除までの間に起
こる電源断による上記問題点は回避できる。As an example of a system abnormality, the present invention will be described in detail in response to a power failure. At 9:00 a.m., a notice of power outage will be displayed, and after a certain period of time, the power will be cut off. In this case, as shown in Figure 6(a), the time from advance notice to power cutoff is longer than the time from LOCK to LOCK release, and the Problems can be avoided.
次に、LOCKからLOCK解除間以外の場合には、第
6図Φ)のように1電源断の予告により、割込グーダラ
ム処理に分岐し、処理中、フラグをオ/させ、割込処理
後% CA8命令に移って吃、第5図のように、CAS
命令の最初に、フラグがオンかオフかの判定を行なわせ
、オンの場合、データ処理装置をHAWすることにより
、上記問題点を回避できる。Next, in a case other than between LOCK and LOCK release, as shown in Fig. 6 Φ), the system branches to interrupt Goodaram processing with advance notice of power outage, turns on/off the flag during processing, and after interrupt processing. % Moving on to the CA8 instruction, as shown in Figure 5, the CAS
The above problem can be avoided by determining whether the flag is on or off at the beginning of the instruction, and if it is on, the data processing device is HAW'ed.
上記処理フa−の実施例を第7図に示す。FIG. 7 shows an embodiment of the above-mentioned processing phase a.
電源2よ抄、データ処理装置1内のPLUG3へ、PO
P(電源断の予告を示す)信号10を送り、PLUG?
オン、オフさせ、マイクロプログラムシーケンサ4によ
り、C0NTR0L8TRAGE 5のアドレスを制
御しデータ処理部6へ送る。From power supply 2 to PLUG 3 in data processing device 1, PO
Send P signal 10 (indicating power cutoff notice) and PLUG?
The microprogram sequencer 4 controls the address of the C0NTR0L8TRAGE 5 and sends it to the data processing section 6.
第7図の実施例で、第5図、第6図のフローを行なうこ
とにより、データ処理装置の電源断による、システム全
体のダウンは回避できる。In the embodiment shown in FIG. 7, by performing the flows shown in FIGS. 5 and 6, it is possible to avoid the entire system from going down due to a power cut to the data processing device.
本発明によれば、複数台のデータ処理装置からなるデー
タ処理システムのある1つのデータ処理システムが電源
断することによって、全システムがダウンとなることを
回避でき、システム全体の信頼性が向上する。According to the present invention, it is possible to prevent the entire system from going down due to a power cut in one data processing system consisting of a plurality of data processing devices, thereby improving the reliability of the entire system. .
第1図は複数台のデータ処理装置からなるデータ処理シ
ステムのブロック図、第2図(a)、Φ)は共有メモリ
操作のフローチャート、纂3図は共有メモリ上のテーブ
ルの図、第4図は従来のCA8命令フローチャート、@
5図は本発明の新規のCA8命令フローチャート、第6
m−)、Φ)は電源断時のプログラムフローチャート、
第7図は本発明の実施例のブロック図である。
1・・・データ処理装置、2・・・電源、3・・・フラ
グ、4・・・マイクロプログラムシーケンサ、10・・
・POP′41 ロ
第2 図
(4)
<b)
第3目
草5 目
第4目
(^)
Cb)Figure 1 is a block diagram of a data processing system consisting of multiple data processing devices, Figure 2 (a), Φ) is a flowchart of shared memory operations, Figure 3 is a diagram of a table on the shared memory, and Figure 4 is the conventional CA8 instruction flowchart, @
Figure 5 is the new CA8 instruction flowchart of the present invention, No. 6
m-), Φ) are program flowcharts when the power is turned off,
FIG. 7 is a block diagram of an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Data processing device, 2... Power supply, 3... Flag, 4... Micro program sequencer, 10...
・POP'41 B Figure 2 (4) <b) 3rd eye grass 5th eye 4th eye (^) Cb)
Claims (1)
理装置に接続され各々からアクセス可能な共有メモリと
、その共有メモリ上のテーブルのアクセスの可否を表示
するロック清報を備え、前記テーブルの共有管理を行な
うデータ処理システムに於いて、In+紀データ処理装
置に異常が発生し友ことを検出する手段と、この異常検
出により割込プログラムへ分岐する手段と、前記異常が
あることを記憶するフラグと、割込前の元のプログラム
に戻る機構ヲ待ち、これらにより割込処理を行なう手段
と、前記ロック清報倉簀き換える命令の先頭で、前記フ
ラグを読み出し、前記フラグがオフの場合、前記ロック
情報への誓き込みを行ない、前記フラグがオンの場合、
前記ロック情報への書き込みを止める手IR′t−持つ
ことt−特許とす仝共有メモリ制御装置。1. Equipped with aiff data processing devices, a shared memory connected to each processing device and accessible from each, and a lock report that displays whether or not a table on the shared memory can be accessed, and shared management of the table. In a data processing system that performs this, there is provided a means for detecting that an abnormality has occurred in the In+ era data processing device, a means for branching to an interrupt program upon detection of the abnormality, and a flag for storing the presence of the abnormality. , wait for a mechanism to return to the original program before the interrupt, and perform interrupt processing using these; and at the beginning of the instruction to change the lock clearing storage, the flag is read, and if the flag is off, the If the lock information is pledged and the flag is on,
A way to stop writing to the lock information is to have an IR't-patent and a shared memory controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57027338A JPS58144958A (en) | 1982-02-24 | 1982-02-24 | Shared memory controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57027338A JPS58144958A (en) | 1982-02-24 | 1982-02-24 | Shared memory controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS58144958A true JPS58144958A (en) | 1983-08-29 |
Family
ID=12218269
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57027338A Pending JPS58144958A (en) | 1982-02-24 | 1982-02-24 | Shared memory controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58144958A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62160883A (en) * | 1986-01-09 | 1987-07-16 | Mitsubishi Electric Corp | Television receiver |
-
1982
- 1982-02-24 JP JP57027338A patent/JPS58144958A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62160883A (en) * | 1986-01-09 | 1987-07-16 | Mitsubishi Electric Corp | Television receiver |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4523275A (en) | Cache/disk subsystem with floating entry | |
JPS58144958A (en) | Shared memory controller | |
JP2006338426A (en) | Calculator system | |
JPH05100847A (en) | Memory protection system for information processor | |
JPH0683488A (en) | Reset control circuit | |
JP2602909B2 (en) | Write-protection method during CPU runaway | |
JPH07325674A (en) | Method for exchanging semiconductor memory and method for controlling semiconductor disk sub-system | |
JPS6095663A (en) | Automatic switching device of dual type magnetic disk device | |
JPH05233474A (en) | Storage contents protection system | |
JPH01305416A (en) | Data storage device | |
JPH0646093A (en) | Long time storage supervisory system for memory resource | |
JPS6225214B2 (en) | ||
JPH02210515A (en) | System resetting system | |
JPH0648453B2 (en) | Peripheral device initialization control method | |
JPS63250753A (en) | Memory access checking system | |
JPH04289558A (en) | Write data protecting system for power hit in disk device | |
JPH0716190Y2 (en) | Vending machine controller | |
JPH0417465B2 (en) | ||
JPS581258A (en) | Error data storage system for magnetic disc device | |
JPH02226413A (en) | Information processing system | |
JPS6210757A (en) | Processor control system | |
JPS60114929A (en) | Control method of data storage device | |
JPS61134859A (en) | Backup controlling system of memory | |
JPS6136861A (en) | Memory device | |
JPH04367955A (en) | Memory protecting system |