JPH0642239B2 - Common memory control method - Google Patents

Common memory control method

Info

Publication number
JPH0642239B2
JPH0642239B2 JP63154013A JP15401388A JPH0642239B2 JP H0642239 B2 JPH0642239 B2 JP H0642239B2 JP 63154013 A JP63154013 A JP 63154013A JP 15401388 A JP15401388 A JP 15401388A JP H0642239 B2 JPH0642239 B2 JP H0642239B2
Authority
JP
Japan
Prior art keywords
input
common memory
output
data
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.)
Expired - Lifetime
Application number
JP63154013A
Other languages
Japanese (ja)
Other versions
JPH01320563A (en
Inventor
周二 大村
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP63154013A priority Critical patent/JPH0642239B2/en
Publication of JPH01320563A publication Critical patent/JPH01320563A/en
Publication of JPH0642239B2 publication Critical patent/JPH0642239B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 〔概要〕 二重化システムにおける共通メモリの制御方式に関し、 従来のチェック・ポイント方式では、片系異常時に基本
的にその時に入力中のデータが無効になってしまうこと
を解決するために、 両系からアクセス可能な共通メモリを活用し、その共通
メモリにデータ入力の正常終了を確認できる手段を付加
することにより、入力データの継続利用を可能にしたも
のである。
DETAILED DESCRIPTION OF THE INVENTION [Overview] Regarding a common memory control method in a duplex system, a conventional check point method solves the problem that basically the data being input is invalid at the time of one-sided abnormality. In order to do so, a common memory accessible from both systems is utilized, and a means for confirming the normal end of data input is added to the common memory, so that the input data can be continuously used.

〔産業上の利用分野〕[Industrial application field]

本発明は、二重化システムにおける共通メモリ制御方式
に関するものである。本発明は、データ入力の消去およ
び再入力がシステムにとって影響の大なる場合に適用し
て特に有効である。
The present invention relates to a common memory control system in a duplex system. INDUSTRIAL APPLICABILITY The present invention is particularly effective when applied to cases where erasure and reentry of data input has a great influence on the system.

〔従来の技術〕[Conventional technology]

ハードウェア/ソフトウェアの両方の意味でシステムに
異常が生ずると、二重化システムにおいては系を切り替
えた後、事前に記録されているチェック・ポイントに遡
って処理を継続する。従って、この間に入力データがあ
ると、再入力が必要となる。
When an abnormality occurs in the system in terms of both hardware and software, in the duplicated system, after switching the system, the process is continued by going back to the check point recorded in advance. Therefore, if there is input data during this period, re-input is required.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

実験データ等の場合には、一過性が強く再入力が不可で
あったり、可能であってもそのためには莫大な費用を必
要とする場合があり、問題が大きい。
In the case of experimental data or the like, it is highly transient and re-entry is impossible, or even if it is possible, enormous cost may be required, which is a serious problem.

本発明は、この点に鑑みて創作されたものでって、二重
化システムに共通メモリを設け、共通メモリを使用して
片系異常時においても、データを有効に使用できるよう
になった共通メモリ制御方式を提供することを目的とし
ている。
The present invention was created in view of this point, and a common memory is provided in a redundant system, and the common memory can be used to effectively use data even in the case of one-sided abnormality. The purpose is to provide a control method.

〔課題を解決するための手段〕[Means for Solving the Problems]

システムとして異常が発生したとしても、データ入力系
のハードウェア異常でない場合には、データの取込みに
継続して受け入れることが可能な場合が多い。本発明
は、二重化システムの場合、系が切り替わっても、その
切り替わった系からも引続きアクセス可能な共用メモリ
を活用してデータを引き継ぐものである。但し、この
際、重要な点は、データ入力が正常終了したことを共通
メモリ自体のみで確認できることである。本発明は、こ
れを共通メモリ内のデータ単位毎に参照フラグを設けて
対応するものである。
Even if an abnormality occurs in the system, if it is not a hardware abnormality in the data input system, it is often possible to continuously accept the data acquisition. According to the present invention, in the case of a duplex system, even if the system is switched, the shared memory that can be continuously accessed from the switched system is used to take over the data. However, in this case, an important point is that the data input can be normally confirmed only by the common memory itself. The present invention addresses this by providing a reference flag for each data unit in the common memory.

本発明の二重化システムは、A系の計算機システムと、
B系の計算機システムと、共通メモリ300と、入出力装
置600と、切換スイッチ500とを具備している。
The duplex system of the present invention comprises an A-type computer system,
It is provided with a B-system computer system, a common memory 300, an input / output device 600, and a changeover switch 500.

A系の計算機システムは、中央処理装置100A、メモリ20
0Aおよび入出力制御装置400Aを有し、B系の計算機シス
テムは、中央処理装置100B、メモリ200Bおよび入出力制
御装置400Bを有している。切換スイッチ600は、入出力
装置600を入出力制御装置400Aと入出力制御装置400Bの
何れか一方に接続する。共通メモリ300は、所定のデー
タ単位毎に設けられた参照フラグを有しており、参照フ
ラグが“0”の状態の下でアクセスされると参照フラグ
が“1”になるように構成される。共通メモリ300は、
A系の計算機システム及びB系の計算機システムの両方
からアクセス可能である。
The A-system computer system has a central processing unit 100A and a memory 20.
The B-type computer system has an 0A and an input / output control device 400A, and a central processing unit 100B, a memory 200B, and an input / output control device 400B. The changeover switch 600 connects the input / output device 600 to either one of the input / output control device 400A and the input / output control device 400B. The common memory 300 has a reference flag provided for each predetermined data unit, and is configured so that the reference flag becomes “1” when accessed under the state where the reference flag is “0”. . The common memory 300 is
It is accessible from both the A system computer system and the B system computer system.

主系の計算機システムは、入出力操作を行おうとする
際、共通メモリ300における入出力データ領域として割
り当てられた領域、起動データ保存領域として割り当て
られた領域および起動結果報告領域として割り当てられ
た領域を従来の計算機システムに通知し、共通メモリ30
0の参照フラグ“0”とし、起動データを共通メモリ300
の起動データ保存領域に格納し、自系の入出力制御装置
に起動データを送って起動するように構成されている。
When attempting an input / output operation, the main computer system allocates the area allocated as the input / output data area, the area allocated as the boot data storage area, and the area allocated as the boot result report area in the common memory 300. Notify the conventional computer system, common memory 30
The reference flag “0” of 0 is set and the start data is set to the common memory 300.
It is configured to be stored in the startup data storage area of and to be activated by sending the startup data to the input / output control device of the own system.

入出力制御装置は、入出力起動指示を受け取ると、入出
力制御動作を行い、入出力動作完了時に起動結果報告を
共通メモリ300の起動結果報告領域に格納するように構
成されている。
When the input / output control device receives the input / output activation instruction, the input / output control device is configured to perform the input / output control operation and store the activation result report in the activation result report area of the common memory 300 when the input / output operation is completed.

従系の計算機システムは、主系の計算機システムの異常
を検出したとき、共通メモリ300の起動データ保存領域
を参照して起動結果報告領域を読み取り、起動結果が正
常終了を示していると判断した場合には、共通メモリ30
0の入出力データ領域のデータを使用して二重化システ
ムとしての動作を継続するように構成されている。
When the subordinate computer system detects an abnormality in the main computer system, the subordinate computer system refers to the boot data storage area of the common memory 300 to read the boot result report area, and determines that the boot result indicates normal termination. In case of common memory 30
The input / output data area of 0 is used to continue the operation as the redundant system.

〔実施例〕〔Example〕

第2図は本発明の1実施例のブロック図、第3図は共通
メモリ制御部の構成例を示すブロック図、第4図は共通
メモリのレイアウトの例を示す図である。図において、
100Aと100Bは中央処理装置、200Aと200Bはメモリ、300
は共通メモリ、310は共通メモリの制御部、311は制御レ
ジスタ、312はマイクロプロセッサ、320は共通メモリの
メモリ部、400Aと400Bは入出力制御装置、500は切換ス
イッチ、600は入出力装置をそれぞれ示している。ま
た、,,…は動作順序を示す。
FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a block diagram showing a configuration example of a common memory control unit, and FIG. 4 is a diagram showing a layout example of a common memory. In the figure,
100A and 100B are central processing units, 200A and 200B are memory, 300
Is a common memory, 310 is a common memory control unit, 311 is a control register, 312 is a microprocessor, 320 is a common memory memory unit, 400A and 400B are input / output control devices, 500 is a changeover switch, and 600 is an input / output device. Shown respectively. ,, ... Show the operation sequence.

中央処理装置100A、メモリ200Aおよび入出力制御装置40
0AはA系の計算機システムを構成しており、中央処理装
置100B、メモリ200Bおよび入出力制御装置400BはB系の
計算機システムを構成している。中央処理装置100Aは中
央処理装置100Bの状態を監視しており、同様に中央処理
装置100Bは中央処理装置100Aの状態を監視している。共
通メモリ300は、A系およびB系によって共用される。
共通メモリ300は、制御部310およびメモリ部320から構
成されている。制御部310は、制御レジスタ、マイクロ
プロセッサ、制御記憶および共通メモリ・クリア回路を
有している。第3図に示すように、制御レジスタ311
は、ステータス、コマンド及びコマンドの詳細を記憶す
る。メモリ部320は、第4図に示すようなレイアウトを
有している。即ち、メモリ部320は、入出力データ領
域、入出力制御装置への起動データ保存領域および入出
力制御装置の起動結果報告領域を有している。また、所
定長のデータ単位毎に参照フラグが設けられている。参
照フラグの仕様は、次の通りである。
Central processing unit 100A, memory 200A and input / output control unit 40
0A constitutes a computer system of A system, and the central processing unit 100B, the memory 200B and the input / output control device 400B constitute a computer system of B system. The central processing unit 100A monitors the state of the central processing unit 100B, and similarly, the central processing unit 100B monitors the state of the central processing unit 100A. The common memory 300 is shared by the A system and the B system.
The common memory 300 is composed of a control unit 310 and a memory unit 320. The control unit 310 has a control register, a microprocessor, a control memory and a common memory clear circuit. As shown in FIG. 3, the control register 311
Stores status, commands and command details. The memory section 320 has a layout as shown in FIG. That is, the memory unit 320 has an input / output data area, a boot data storage area for the input / output control device, and a boot result report area for the input / output control device. Further, a reference flag is provided for each data unit of a predetermined length. The specifications of the reference flag are as follows.

“0”の状態でシステムからアクセス(読み取り/書
きの何れでも良い)があると、“1”に変化する。
When there is an access (either read / write) from the system in the state of "0", it changes to "1".

参照フラグは最低1バイトに1個ある。2バイト毎以
上に1個にするか否かはシステムのメモリの使い方によ
る。
There is at least one reference flag for each byte. Whether to use one every two bytes depends on how the system memory is used.

共通メモリの制御部からは各参照フラグ毎に“1”ま
たは“0”を確認できる。
From the control unit of the common memory, "1" or "0" can be confirmed for each reference flag.

パワーオン時には“0”になる。但し、の機能を使
用して共通メモリの制御部に行わせても良い。
It becomes "0" at power-on. However, the control unit of the common memory may be caused to perform the function of.

共通メモリの制御部310は、 (a)アドレスを指定して、それに対応する参照フラグを
“0”にする。
The control unit 310 of the common memory specifies (a) the address and sets the reference flag corresponding to the address to "0".

(b)アドレスの範囲を指定して、それに対応する参照フ
ラグのうち“1”になっているものを調べる。
(b) Specify an address range and check the reference flag corresponding to that range that is "1".

などの機能を有している。入出力制御装置400Aおよび40
0Bは、共通メモリ300をアクセスすることが出来る。入
出力制御装置400A,400Bは、動作完了時に結果報告を起
動結果報告領域に転送する。起動結果報告領域のアドレ
スは、起動時に指定される。切換スイッチ500は、入出
力装置600を入出力制御装置400Aまたは400Bに接続す
る。
It has functions such as. I / O controller 400A and 40
0B can access the common memory 300. The input / output control devices 400A and 400B transfer the result report to the activation result report area when the operation is completed. The address of the activation result report area is specified at the time of activation. The changeover switch 500 connects the input / output device 600 to the input / output control device 400A or 400B.

A系が主系、B系が従系、且つデータ入力の場合につい
て第2図の実施例の動作を説明する。
The operation of the embodiment of FIG. 2 will be described for the case where the A system is the main system, the B system is the slave system, and data is input.

共通メモリ内の使い方(レイアウト)をA系およびB
系の間で了解しておく。
How to use (layout) in common memory is A system and B
Understand among the families.

A系で起動原因が発生したら使用する共通メモリ内の
エリアの参照フラグを“0”にするように共通メモリ制
御部に指示する。その対象は、起動データ保存領域、起
動結果報告領域および入出力データ領域である。
When the cause of activation occurs in the A system, the common memory control unit is instructed to set the reference flag of the area in the common memory to be used to "0". The targets are the boot data storage area, the boot result report area, and the input / output data area.

A系から起動データを共通メモリに書き込む。The start data is written from the A system to the common memory.

A系から入出力制御装置を起動する。この際の起動デ
ータはの起動データと同じものである。
Start the input / output control device from the A system. The start data at this time is the same as the start data of.

入出力制御装置からデータ入力が始まる。Data input begins from the I / O controller.

ここで、A系システムで異常が発生したと仮定する。Here, it is assumed that an abnormality has occurred in the A system.

′A系のシステム制御権をB系が引き継ぐ。The B system takes over the system control right of the A system.

B系は予め了解している起動データ保存領域に対して
参照フラグ“1”の部分を共通メモリ制御部に探させ、
“1”のアドレスを入手する。
The B system causes the common memory control unit to search for the portion of the reference flag “1” in the start data storage area that is understood in advance.
Get the address of "1".

のデータをもとに起動結果報告領域の参照フラグを
共通メモリ制御部に確認させる。
The common memory control unit is caused to confirm the reference flag of the activation result report area based on the data of.

“0”の場合には、一定時間(起動時に起動データ保存
領域に事前に格納しておくのが良い)待ったのち、再び
調べる。そこで“1”ならば下記の“1”の処理へ、
“0”ならばA系では入力系も故障を生じているので、
入力データの引継ぎを断念する。
In the case of "0", after a certain period of time (it is better to store it in the startup data saving area in advance at the time of startup), check again. Therefore, if it is "1", proceed to the processing of "1" below.
If it is "0", the input system in the A system has also failed, so
Abandon the transfer of input data.

“1”のとき、起動結果の内容を確認し、正常終了であ
れば、へ進み、異常終了であれば入力データの引継ぎ
を断念する。
When the value is "1", the contents of the activation result are confirmed. If the process ends normally, the process advances to, and if the process ends abnormally, the input data transfer is abandoned.

確認のため指定長のデータが入力しているか否かを参
照フラグで確認する。
Check with the reference flag whether or not data of the specified length is input for confirmation.

関連した参照フラグをB系から共通メモリの制御部に
対して“0”にするように指示する。
The B system instructs the control unit of the common memory to set the related reference flag to "0".

入力したデータを参照してシステムとして処理を続け
る。なお、切換スイッチはの処理終了後に切り換えら
れる。
Refer to the entered data and continue processing as a system. Note that the changeover switch is changed over after the process is completed.

以上はデータ入力についての説明であるが、データ出力
についても同様に行うことができる。但し、送出したい
データ自体は共通メモリ内にあるので、故障系で出力系
のハードウェアが故障しても新しい系で再送することも
出来る。
The above is a description of data input, but the same can be applied to data output. However, since the data itself to be sent is in the common memory, even if the output system hardware fails in the faulty system, it can be retransmitted in the new system.

〔発明の効果〕〔The invention's effect〕

以上の説明から明らかなように、本発明によれば、入出
力起動をかけた系が動作完了前に故障してもデータ入力
系が故障していない限り、そのデータを有効にすること
が可能であり、再送が困難なデータを受信する場合に効
果的であり、システムの信頼性を高めることが出来る。
また、このために必要なハードウェアが共通メモリと言
う部材1つだけに集中しており、色々な要素に少しずつ
手を加える方法でない点も1つのメリットである。
As is clear from the above description, according to the present invention, even if the system that is activated by input / output fails before the operation is completed, the data can be made valid as long as the data input system does not fail. This is effective when receiving data that is difficult to retransmit, and can enhance the reliability of the system.
Another advantage is that the hardware required for this purpose is concentrated on only one member, the common memory, and it is not a method of modifying various elements little by little.

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

第1図は本発明の原理図、第2図は本発明の1実施例の
ブロック図、第3図は共通メモリ制御部の構成例のブロ
ック図、第4図は共通メモリのレイアウトの例を示す図
である。 100Aと100B……中央処理装置、200Aと200B……メモリ、
300……共通メモリ、310……共通メモリの制御部、311
……制御レジスタ、312……マイクロプロセッサ、320…
…共通メモリのメモリ部、400Aと400B……入出力制御装
置、500……切換スイッチ、600……入出力装置。
1 is a principle diagram of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a block diagram of a configuration example of a common memory control unit, and FIG. 4 is an example of a layout of a common memory. FIG. 100A and 100B ... Central processing unit, 200A and 200B ... Memory,
300 …… Common memory, 310 …… Common memory control unit, 311
...... Control register, 312 ...... Microprocessor, 320 ...
… Memory section of common memory, 400A and 400B …… I / O control device, 500 …… Changeover switch, 600 …… I / O device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】中央処理装置(100A)、メモリ(200A)および
入出力制御装置(400A)を有するA系の計算機システム
と、 中央処理装置(100B)、メモリ(200B)および入出力制御装
置(400B)を有するB系の計算機システムと、 入出力装置(600)と、 入出力装置(600)を入出力制御装置(400A)と入出力制御
装置(400B)の何れか一方に接続する切換スイッチ(500)
と、 所定長のデータ単位毎に参照フラグが設けられ、参照フ
ラグが“0”の状態の下でアクセスされると参照フラグ
が“1”になるように構成されると共に、A系の計算機
システム及びB系の計算機システムの両方からアクセス
可能な共通メモリ(300)と を具備する二重化システムにおいて、 主系の計算機システムは、入出力操作を行おうとする
際、共通メモリにおける入出力データ領域として割り当
てられた領域、起動データ保存領域として割り当てられ
た領域および起動結果報告領域として割り当てられた領
域を従系の計算機システムに通知し、共通メモリ(300)
の参照フラグを“0”とし、起動データを共通メモリ(3
00)の起動データ保存領域に格納し、自系の入出力制御
装置に起動データを送って起動するように構成され、 入出力制御装置(400A,400B)は、入出力起動指示を受け
取ると、入出力制御動作を行い、入出力動作完了時に起
動結果報告を共通メモリ(300)の起動結果報告領域に格
納するように構成され、 従系の計算機システムは、主系の計算機システムの異常
を検出したとき、共通メモリ(300)の起動データ保存領
域を参照して起動結果報告領域を読み取り、起動結果が
正常終了を示していると判断した場合には、共通メモリ
(300)の入出力データ領域のデータを使用して二重化シ
ステムとしての動作を継続するように構成されている ことを特徴とする共通メモリ制御方式。
1. An A-type computer system having a central processing unit (100A), a memory (200A) and an input / output control unit (400A), a central processing unit (100B), a memory (200B) and an input / output control unit ( B type computer system having 400B), input / output device (600), and changeover switch for connecting the input / output device (600) to either the input / output control device (400A) or the input / output control device (400B) (500)
A reference flag is provided for each data unit of a predetermined length, and the reference flag is set to "1" when accessed under the state of the reference flag being "0". In a redundant system that has a common memory (300) that can be accessed from both B and B computer systems, the main computer system allocates it as an input / output data area in the common memory when performing an input / output operation. The specified area, the area allocated as the boot data storage area, and the area allocated as the boot result report area to the subordinate computer system, and the common memory (300)
The reference flag of is set to "0" and the startup data is set to the common memory (3
00) is stored in the start data storage area, and the start data is sent to the input / output control device of the own system to start up.When the input / output control device (400A, 400B) receives the input / output start instruction, It is configured to perform input / output control operation and store the startup result report in the startup result report area of the common memory (300) when the input / output operation is completed.The slave computer system detects the abnormality of the master computer system. At this time, the startup result report area is read by referring to the startup data storage area of the common memory (300), and if it is determined that the startup result indicates normal termination, the common memory
A common memory control method characterized by being configured to continue the operation as a redundant system by using the data in the input / output data area of (300).
JP63154013A 1988-06-22 1988-06-22 Common memory control method Expired - Lifetime JPH0642239B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63154013A JPH0642239B2 (en) 1988-06-22 1988-06-22 Common memory control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63154013A JPH0642239B2 (en) 1988-06-22 1988-06-22 Common memory control method

Publications (2)

Publication Number Publication Date
JPH01320563A JPH01320563A (en) 1989-12-26
JPH0642239B2 true JPH0642239B2 (en) 1994-06-01

Family

ID=15575000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63154013A Expired - Lifetime JPH0642239B2 (en) 1988-06-22 1988-06-22 Common memory control method

Country Status (1)

Country Link
JP (1) JPH0642239B2 (en)

Also Published As

Publication number Publication date
JPH01320563A (en) 1989-12-26

Similar Documents

Publication Publication Date Title
US7028154B2 (en) Procedure to reduce copy time for data backup from short-term to long-term memory
EP0476962B1 (en) System for configuring a shared storage
US8275959B2 (en) Failover control of dual controllers in a redundant data storage system
JPS59142799A (en) Doubled storage device with electricity storage device for backup
WO1992005490A1 (en) Exclusive control method for shared memory
JPH0642239B2 (en) Common memory control method
US6701330B1 (en) Protecting duplicate/lost updates against host failures
KR100324279B1 (en) System and Method of Coherencing Memory between Two Duplication Processors in the Switching System
JPS6357823B2 (en)
JP3105029B2 (en) Redundant controller
JP3112280B2 (en) Computer system
JPH09305494A (en) Data transfer control circuit for extended storage device
JPH0827761B2 (en) Dual-system simultaneous writing method for dual memory
JP3161319B2 (en) Multiprocessor system
JP3246736B2 (en) Computer system
JP3696689B2 (en) Memory copy device for information processing system
JPH08179994A (en) Computer system
JP2716571B2 (en) Redundant data security device
KR20030068663A (en) Apparatus and method for synchronization of non-volatile memory information between duplexing board
JP2633594B2 (en) Access control system
JPH07168673A (en) Dual system device
KR20030024472A (en) Apparatus for multiplexing CPU and Method thereof
JPH0474739B2 (en)
JPH09259047A (en) Recovery device for duplexed disk
JPS5831020B2 (en) multiprocessor control system