JPH04233039A - Data saving system - Google Patents

Data saving system

Info

Publication number
JPH04233039A
JPH04233039A JP2408958A JP40895890A JPH04233039A JP H04233039 A JPH04233039 A JP H04233039A JP 2408958 A JP2408958 A JP 2408958A JP 40895890 A JP40895890 A JP 40895890A JP H04233039 A JPH04233039 A JP H04233039A
Authority
JP
Japan
Prior art keywords
data
main storage
storage device
standby
active
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.)
Granted
Application number
JP2408958A
Other languages
Japanese (ja)
Other versions
JP2674886B2 (en
Inventor
Tatsuya Iwano
岩野 達也
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 Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP2408958A priority Critical patent/JP2674886B2/en
Publication of JPH04233039A publication Critical patent/JPH04233039A/en
Application granted granted Critical
Publication of JP2674886B2 publication Critical patent/JP2674886B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To avoid inefficient system construction and to save a data without disabling sweeping-out by providing a mechanism on a duplex data processor so as to read out the designated contents of the main storage device of an active system from the central processing unit (CPU) of a standby system. CONSTITUTION:At duplex data processors 10 and 11, a reading means 211 of a CPU 21 of the standby system reads out the designated contents of a main storage device 30 of the active system through a bus 00. In the case of switching the system, the detecting means 212 of the CPU 21 of this standby system detects unprocessed data remaining at the main storage device 30 of the active system. The transferring means 213 of the CPU 21 of the above- mentioned standby system transfers this unprocessed data through the bus 00 to a main storage device 31 of the standby system. Thus, the system can avoids the difficulty in being constructed physically and economically according to a conventional duplex write system, and the data can be relieved without disabling sweeping-out in the case of a sweeping-out system.

Description

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

【0001】0001

【産業上の利用分野】本発明は、主記憶装置と中央処理
装置とを含んで構成されるプロセッサが二重化されたデ
ータ処理装置における系切替え時のデータ救済方式に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data rescue method at the time of system switching in a data processing apparatus having dual processors including a main memory device and a central processing unit.

【0002】0002

【従来の技術】従来、この種の系切替えを行うマルチプ
ロセッサシステムなどでは、待機系中央処理装置と現用
系主記憶装置は疎結合であるため、任意の現用系主記憶
装置内を見ることが不可能で、データ救済するためには
、現用系主記憶装置と待機系主記憶装置とをすべての動
作について二重書きする方式や、あるいはすべての滞留
データを回線上に掃き出したりする方式が採用されてい
る。
[Prior Art] Conventionally, in a multiprocessor system that performs this type of system switching, the standby central processing unit and the active main memory are loosely coupled, so it is not possible to view the inside of any active main memory. If this is not possible, and in order to rescue the data, a method is adopted in which all operations are written twice in the active main memory and standby main memory, or a method is used in which all accumulated data is flushed out onto the line. has been done.

【0003】0003

【発明が解決しようとする課題】上述した従来のマルチ
プロセッサシステムでのデータ救済方式では、前者の二
重書き方式の場合、機構的に大幅になり物理的,経済的
にシステム構成を実現することが難しいし、後者の掃き
出し方式の場合、例えば、相手交換機がふくそうしてい
たりしたときには、掃き出しができず、プロセッサの切
替えまたはデータ救済ができないという欠点があった。
[Problems to be Solved by the Invention] In the data rescue method in the conventional multiprocessor system described above, in the case of the former dual write method, the mechanism becomes significantly large and it is difficult to realize the system configuration physically and economically. In the latter method, for example, when the other party's exchange is congested, the problem is that it is impossible to purge the data, making it impossible to switch processors or rescue data.

【0004】0004

【課題を解決するための手段】本発明のデータ救済方式
は、主記憶装置と中央処理装置とを含んで構成されるプ
ロセッサが二重化されたデータ処理装置における現用系
プロセッサと待機系プロセッサとの系切替え時のデータ
救済方式において、それぞれの前記中央処理装置に、現
用系の前記主記憶装置の指定した内容を待機系の前記中
央処理装置によって前記現用系プロセッサと前記待機系
プロセッサとを接続するバスを介し読み出す手段と、系
切替え時、現用系の前記主記憶装置に残っている未処理
のデータを待機系の前記中央処理装置によって検知する
手段と、この未処理のデータを前記バスを介し待機系の
前記主記憶装置へ転送する手段とを備える構成である。
[Means for Solving the Problems] The data rescue method of the present invention provides a system for an active processor and a standby processor in a data processing device having dual processors including a main storage device and a central processing unit. In the data rescue method at the time of switching, a bus connecting the active processor and the standby processor is configured to transfer the specified contents of the main storage device of the active system to each of the central processing units by the central processing unit of the standby system. means for reading the unprocessed data remaining in the main storage device of the active system by the central processing unit of the standby system at the time of system switching; and means for reading the unprocessed data via the bus. The configuration also includes means for transferring data to the main storage device of the system.

【0005】[0005]

【実施例】図1は本発明の一実施例を適用したデータ処
理システムを説明するための図である。図1に示すデー
タ処理システムは、現用系と待機系及びその上位プロセ
ッサを結合するバス00と、主としてトランザクション
を扱うデータバス01と、どのトランザクションを引取
るか指定する制御系バス02と、今、例えば現用系とな
っているデータ処理装置10と、その待機系11と、現
用系の中央処理装置20と、現用系の主記憶装置30と
、現用系の回線処理装置40と、現用系のバス00を制
御するバス制御装置50と、それぞれの待機系の中央処
理装置21と、主記憶装置31と、回線処理装置41と
、バス制御装置51と、これら二重化データ処理装置の
上位プロセッサ60と、回線のレベル変換装置70とで
構成されている。それぞれの中央処理装置20,21内
には、現用系の主記憶装置の指定した内容を待機系の中
央処理装置によって読み出す読出手段201,211と
、系切替え時、現用系の主記憶装置に残っている未処理
データを待機系の中央処理装置が検知する検知手段20
2,212と、この未処理データを待機系の主記憶装置
へ転送する転送手段203,213とが備えられ、これ
らはソフトウェアプログラムにより実現される。  こ
こで、データ処理装置において、回線から受信したデー
タは主記憶装置内に一度蓄積され、チェック等の処理を
施したのち、宛先の回線が収容されたプロセッサに転送
されて行く。従って、ある瞬間においては、ある任意の
プロセッサの中には処理待ち、または処理中のトランザ
クションが主記憶装置内に複数滞留している。
Embodiment FIG. 1 is a diagram for explaining a data processing system to which an embodiment of the present invention is applied. The data processing system shown in FIG. 1 includes a bus 00 that connects the active system, standby system, and their higher-level processors, a data bus 01 that mainly handles transactions, a control bus 02 that specifies which transaction to take over, and For example, the data processing device 10 that is the active system, its standby system 11, the central processing unit 20 of the active system, the main storage device 30 of the active system, the line processing device 40 of the active system, and the bus of the active system 00, each standby central processing unit 21, main storage unit 31, line processing unit 41, bus control unit 51, and the upper processor 60 of these duplex data processing units, It consists of a line level converter 70. Each of the central processing units 20 and 21 includes reading means 201 and 211 for reading out the specified contents of the main memory of the active system by the central processing unit of the standby system, and read means 201 and 211 for reading out the specified contents of the main memory of the active system by the central processing unit of the standby system. detection means 20 for detecting unprocessed data by a standby central processing unit;
2 and 212, and transfer means 203 and 213 for transferring this unprocessed data to a standby main storage device, and these are realized by a software program. Here, in the data processing device, data received from a line is once stored in the main memory, and after being subjected to processing such as checking, is transferred to a processor that accommodates the destination line. Therefore, at a certain moment, a plurality of transactions waiting to be processed or being processed remain in the main memory of any given processor.

【0006】以下に、図1を基に、まず通常シーケンス
での動作例を示す。
An example of operation in a normal sequence will be described below based on FIG.

【0007】回線から受信したデータはレベル変換装置
70を経由して、この時点の現用系へのルートを選択し
て回線処理装置40に入る。ここでヘッダーのチェック
,更新等の手順処理を施した後、予め中央処理装置20
により予約されていた主記憶装置30内のバッファー(
図示せず)に格納され、上位プロセッサ60に渡すべく
バス制御装置50に起動をかける。この時すでにバス制
御装置50が処理中であると主記憶装置30内の特定エ
リアにキューイングして処理されるのを待つ。
Data received from the line passes through the level converter 70, selects the route to the current working system, and enters the line processing unit 40. After performing header checking, updating, and other procedural processing, the central processing unit 2
The buffer in main storage 30 reserved by (
(not shown), and activates the bus control device 50 to pass it to the higher-level processor 60. At this time, if the bus control device 50 is already processing the data, it is queued in a specific area in the main storage device 30 and waits for processing.

【0008】主記憶装置内のバッファーは番号で管理さ
れ、現用/待機系の両方のプロセッサで、ある番号を指
定した時そのアドレスは同じとなるように作られている
。ここでバス制御装置50は主記憶装置30内のあるバ
ッファー内のデータを送信したい時、以下の手順を踏む
。バス02を用いて送信先データ処理装置に対し、バッ
ファーの引き取り要求を示す識別番号(ID)と、バッ
ファー番号と、バス00上の自分のアドレスとを乗せて
送信起動を行う。例えば、相手が上位プロセッサ60と
すれば引き取り用のバッファーが用意できた時点で上位
プロセッサ60よりデータバス01を用いてデータ処理
装置20の主記憶装置30内のバッフアーを引き取りに
行く。
Buffers in the main memory are managed by numbers, and are designed so that when a certain number is specified, the address will be the same for both active and standby processors. Here, when the bus control device 50 wants to transmit data in a certain buffer in the main storage device 30, it takes the following steps. Using the bus 02, a transmission is started to the destination data processing device with an identification number (ID) indicating a request to take over the buffer, the buffer number, and its own address on the bus 00. For example, if the other party is the upper processor 60, when a buffer for collection is ready, the upper processor 60 uses the data bus 01 to retrieve the buffer in the main storage device 30 of the data processing device 20.

【0009】次に、系切替え時のシーケンスについて示
す。
Next, the sequence at the time of system switching will be described.

【0010】切替えは上位プロセッサ60よりバス01
を経由して現用系のデータ処理装置10で切替え指示の
IDを乗せた信号を受信することにより起動される。デ
ータ処理装置10はこの信号受信によりデータ処理装置
10内の各プログラムに対して、これから切替える旨の
予告をする。データ処理装置10内の各プログラムは処
理途中のものが無くなり切替えが可能となった時点でこ
の予告信号に対する応答を返す。
[0010] Switching is performed from the upper processor 60 to the bus 01.
The active data processing device 10 receives a signal carrying a switching instruction ID via the active data processing device 10 . Upon receiving this signal, the data processing device 10 notifies each program within the data processing device 10 that the program will be switched from now on. Each program in the data processing device 10 returns a response to this notice signal when there are no programs in progress and switching becomes possible.

【0011】処理途中のものとは、例えばバス制御装置
50のプログラムにおいて上位プロセッサ60との通信
で、バス01により上位プロセッサ60に対して主記憶
装置30内にあるデータの引き取りを要求中で実際に上
位プロセッサ60が引き取っていない等のものが有る状
態を指す。データ処理装置10内で各プログラムに対し
て送信した信号に対するすべての応答信号が戻ったとこ
ろで、データ処理装置10内の現時点のバッフアーの使
用状況を調べ、その番号単位の空塞表を基に現用系のデ
ータ処理装置10に対してデータバス01を経由して塞
りのバッファー番号に対しての引き取り処理を行なう。 本処理により現用系と待機系とのバッファーの内容は一
致する。
What is currently being processed is, for example, communication with the host processor 60 in the program of the bus control device 50, in which a request is being made to the host processor 60 via the bus 01 to retrieve data in the main storage device 30, and when the data is actually being processed. Refers to a state in which there is something that has not been taken over by the higher-level processor 60. When all the response signals to the signals sent to each program in the data processing device 10 have been returned, the current usage status of the buffer in the data processing device 10 is checked, and the current buffer usage status is checked based on the empty table in number units. The system data processing device 10 performs takeover processing for the blocked buffer number via the data bus 01. Through this process, the contents of the buffers in the active system and standby system match.

【0012】そしてすべての引き取りが完了した時点で
待機系のデータ処理装置11より、現用系のデータ処理
装置10にその完了をバス01を経由して通知する。こ
の信号受信により現用系の処理を待機系で継続して行え
ると判断し、上位プロセッサ60に対して切替え可能の
応答を返す。この応答信号受信により上位プロセッサ6
0は、現用系,待機系を切替え、旧現用系で処理未了で
あったバッファーを引き継いで新現用系で処理を行うこ
とが可能である。
[0012] When all the transfers are completed, the standby data processing device 11 notifies the active data processing device 10 of the completion via the bus 01. Upon reception of this signal, it is determined that the processing of the active system can be continued in the standby system, and a response indicating that switching is possible is returned to the host processor 60. Upon reception of this response signal, the upper processor 6
0, it is possible to switch between the active system and the standby system, take over the buffers that were unprocessed on the old active system, and process them on the new active system.

【0013】[0013]

【発明の効果】以上説明したように本発明は、二重化構
成のデータ処理装置に待機系の中央処理装置より現用系
の主記憶装置の指定した内容を読み出せる機構を設ける
ことにより、従来の二重書き方式による物理的,経済的
にシステムを構築する難しさを回避し、掃き出し方式に
よるある場合には掃き出し不可能となること無くデータ
救済が実現できる。
As explained above, the present invention provides a duplex data processing device with a mechanism that allows the standby central processing unit to read the specified contents of the active main storage device, thereby overcoming the conventional two-way system. It is possible to avoid the physical and economical difficulties of constructing a system due to the overwrite method, and to realize data rescue without being unable to flush out the data in some cases using the sweep method.

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

【図1】本発明の一実施例を適用したデータ処理システ
ムを説明するための図である。
FIG. 1 is a diagram for explaining a data processing system to which an embodiment of the present invention is applied.

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

00    バス 01    データバス 02    制御系バス 10,11    データ処理装置 20,21    中央処理装置 30,31    主記憶装置 40,41    回線処理装置 50,51    バス制御装置 60    上位プロセッサ 70    回線レベル変換装置 201,211    読出手段 202,212    検知手段 203,213    転送手段 00 bus 01 Data bus 02 Control system bus 10, 11 Data processing device 20, 21 Central processing unit 30, 31 Main memory 40, 41 Line processing equipment 50, 51 Bus control device 60 Upper processor 70 Line level conversion device 201, 211 Reading means 202, 212 Detection means 203,213 Transfer means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  主記憶装置と中央処理装置とを含んで
構成されるプロセッサが二重化されたデータ処理装置に
おける現用系プロセッサと待機系プロセッサとの系切替
え時のデータ救済方式において、それぞれの前記中央処
理装置に、現用系の前記主記憶装置の指定した内容を待
機系の前記中央処理装置によって前記現用系プロセッサ
と前記待機系プロセッサとを接続するバスを介し読み出
す手段と、系切替え時、現用系の前記主記憶装置に残っ
ている未処理のデータを待機系の前記中央処理装置によ
って検知する手段と、この未処理のデータを前記バスを
介し待機系の前記主記憶装置へ転送する手段とを備えた
ことを特徴とするデータ救済方式。
Claim 1: In a data relief method when switching between an active processor and a standby processor in a data processing device having dual processors including a main storage device and a central processing unit, The processing device includes means for reading specified contents of the main storage device of the active system by the central processing unit of the standby system via a bus connecting the active system processor and the standby system processor; means for detecting unprocessed data remaining in the main storage device of the standby system by the central processing unit of the standby system; and means for transferring the unprocessed data to the main storage device of the standby system via the bus. A data rescue method characterized by:
JP2408958A 1990-12-28 1990-12-28 Data rescue method Expired - Fee Related JP2674886B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2408958A JP2674886B2 (en) 1990-12-28 1990-12-28 Data rescue method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2408958A JP2674886B2 (en) 1990-12-28 1990-12-28 Data rescue method

Publications (2)

Publication Number Publication Date
JPH04233039A true JPH04233039A (en) 1992-08-21
JP2674886B2 JP2674886B2 (en) 1997-11-12

Family

ID=18518348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2408958A Expired - Fee Related JP2674886B2 (en) 1990-12-28 1990-12-28 Data rescue method

Country Status (1)

Country Link
JP (1) JP2674886B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02165344A (en) * 1988-12-20 1990-06-26 Nec Corp Hot stand-by system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02165344A (en) * 1988-12-20 1990-06-26 Nec Corp Hot stand-by system

Also Published As

Publication number Publication date
JP2674886B2 (en) 1997-11-12

Similar Documents

Publication Publication Date Title
JPS63234343A (en) Communication between station of system of a plurality of processors linked to communication medium and a plurality of stations
JPH07281976A (en) Method for control of packet fifo
JPH114279A (en) Method and mechanism for transmission between advanced systems
JPH09171441A (en) Storage matching method for duplex storage device and device therefor
JP2729016B2 (en) Communication adapter
JP2587190B2 (en) Channel paging mechanism between systems
JPH0997184A (en) Information-processing system inclusive of efficient interrupt handling
US5432910A (en) Coupling apparatus and method for increasing the connection capability of a communication system
JPH04233039A (en) Data saving system
US5943509A (en) Small size inter-processor data transfer system
JP2859178B2 (en) Data transfer method between processors and ring buffer memory for data transfer between processors
KR100205055B1 (en) Emergency message send control method in a send network interface
JP2000155738A (en) Data processor
JPS6146550A (en) Connecting device between busses
JPH04195576A (en) Cache memory system
EP1380954B1 (en) Computer system and data processing method
JPH05197652A (en) Multiprocessor system
JP2751879B2 (en) Communication system between processors
JPH07109599B2 (en) Information transfer device for processing system
JPS63145560A (en) Data transfer processing system
JPH01293049A (en) Reception controlling system for distributed processing type packet exchange
JPH0677974A (en) Frame communication equipment
JPH0359752A (en) Connection control device
JPH01133444A (en) System bus controller
JPH01134654A (en) Information transferring system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970624

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees