JP2006260393A - Cpu system - Google Patents

Cpu system Download PDF

Info

Publication number
JP2006260393A
JP2006260393A JP2005079503A JP2005079503A JP2006260393A JP 2006260393 A JP2006260393 A JP 2006260393A JP 2005079503 A JP2005079503 A JP 2005079503A JP 2005079503 A JP2005079503 A JP 2005079503A JP 2006260393 A JP2006260393 A JP 2006260393A
Authority
JP
Japan
Prior art keywords
unit
host unit
common bus
common
host
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
JP2005079503A
Other languages
Japanese (ja)
Other versions
JP4411236B2 (en
Inventor
Tetsuya Morita
哲也 森田
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 Saitama Ltd
Original Assignee
NEC Saitama 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 Saitama Ltd filed Critical NEC Saitama Ltd
Priority to JP2005079503A priority Critical patent/JP4411236B2/en
Publication of JP2006260393A publication Critical patent/JP2006260393A/en
Application granted granted Critical
Publication of JP4411236B2 publication Critical patent/JP4411236B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent an obstacle caused by invalid data in a common memory in a host unit being a new operation system. <P>SOLUTION: In this CPU system, the host unit constitutes a redundant configuration, only the host unit of the operation system can access, it has a common memory 3 arranged on a common bus, and processing is transferred when switching system of the host unit. A condition of the common bus at timing when switching of system of the host unit occurs is held. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、CPUシステムに関し、特に、ホストユニットの系の切替を行えるCPUシステムに関する。   The present invention relates to a CPU system, and more particularly to a CPU system capable of switching a host unit system.

プロセッサ(以下CPU)を搭載したホストユニットが冗長構成を成し、運用系のホストユニットのみアクセス可能で共通バス上に配置する共通メモリを有することで、ホストユニットの系切り替え時に処理の引き継ぎを行う従来のCPUシステムの構成を図5、運用系ホストユニットに障害が発生した場合の共通バスの状態を図6に示し説明する。   A host unit equipped with a processor (hereinafter referred to as a CPU) has a redundant configuration and can be accessed only when the host unit is switched over by having a common memory that can be accessed only by the active host unit and placed on a common bus. The configuration of the conventional CPU system will be described with reference to FIG. 5, and the state of the common bus when a failure occurs in the active host unit will be described with reference to FIG.

本構成において、ホストユニット1が運用状態、ホストユニット2が待機状態であるとした場合、ホストユニット1は該CPUシステムを機能させるためのデータ(情報)を共通バス103を介して共通メモリ部3へ書き込み又は、読み出しを行う。   In this configuration, when the host unit 1 is in the operating state and the host unit 2 is in the standby state, the host unit 1 sends data (information) for causing the CPU system to function via the common bus 103. Write to or read from.

この状態で保守者によるホストユニットの系切り替え制御が実行された場合、ホストユニット1のソフトウェアは実行途中の処理を完了後、切替信号101によりホストユニット2に対して、自系が待機となることを通知し、正常待機状態であったホストユニット2は切替信号102により運用状態に遷移したことをホストユニット1へ通知する。   When the host unit system switching control is executed by the maintenance person in this state, the host unit 1 software waits for the host unit 2 with respect to the host unit 2 by the switching signal 101 after completing the process in the middle of execution. And the host unit 2 that has been in the normal standby state notifies the host unit 1 of the transition to the operation state by the switching signal 102.

これによりソフトウェアが介在した正規の系切り替え手順を踏んだ系切り替えが完了する。   As a result, the system switching is completed in accordance with the normal system switching procedure mediated by software.

一方、運用系ホストユニット1にハードウェア障害が発生した場合や強制リセットが実行された場合には実行中の処理に関係無く、切替信号101によりホストユニット2に対して、自系が運用できない状態となったことを通知し、正常待機状態であったホストユニット2は運用状態に遷移することで強制的に系切り替えが行われる。
特開平01−099138号公報
On the other hand, when a hardware failure occurs in the active host unit 1 or when a forced reset is executed, the host system 2 cannot be operated with respect to the host unit 2 by the switching signal 101 regardless of the processing being executed. The host unit 2 that has been in the normal standby state is forcibly switched over by transitioning to the operating state.
Japanese Patent Laid-Open No. 01-099138

しかし、従来の冗長構成におけるホストユニット切り替え方法には次のような問題点があった。   However, the host unit switching method in the conventional redundant configuration has the following problems.

その問題点は、運用系ホストユニット1にハードウェア障害が発生した場合や強制リセットが実行された場合には実行中の処理に関係無く強制的に系切り替えが行われ、この時、ホストユニット1による共通メモリ部3に対するバスアクセスが実行中であれば、共通バス103上のバスアクセスは中断され、ライトアクセスであった場合にはそのアドレスのデータは不正データに書き変わってしまう恐れがあり、新たに運用系となったホストユニット2がホストユニット1の処理引き継ぎとして該アドレスのデータを使用した場合に不正データであるためにホストユニット2も障害に至り、システムダウンに陥る可能があるということである。   The problem is that if a hardware failure occurs in the active host unit 1 or if a forced reset is executed, the system is forcibly switched regardless of the processing being executed. At this time, the host unit 1 If the bus access to the common memory unit 3 is being executed, the bus access on the common bus 103 is interrupted, and if it is a write access, the data at that address may be rewritten as illegal data. When the host unit 2 that has become a new active system uses the data at the address as a processing takeover of the host unit 1, the host unit 2 may also fail and fall into a system down state because it is illegal data. It is.

そこで、本発明は、新たに運用系となったホストユニットにおける共通メモリ内の不正データに起因した障害を未然に防止することを目的とする。   Accordingly, an object of the present invention is to prevent a failure caused by illegal data in a common memory in a host unit that has newly become an active system.

本発明は、上記課題を解決するための手段として、ホストユニットが冗長構成を成し、運用系の前記ホストユニットのみアクセス可能で共通バス上に配置する共通メモリを有することで前記ホストユニットの系切り替え時に処理の引き継ぎを行うCPUシステムにおいて、前記ホストユニットの系切替が発生したタイミングにおける共通バスの状態を保持する共通バス状態記録部を備える。   As a means for solving the above problems, the present invention provides a host unit system having a redundant configuration and having a common memory that can be accessed only by the host system in an operational system and disposed on a common bus. A CPU system that takes over processing at the time of switching includes a common bus state recording unit that holds the state of the common bus at the timing when the system switching of the host unit occurs.

本発明は、ホストユニットが負荷分散を目的とした複数の前記ホストユニットが全て運用系となるCPUシステムにおいて、共通バス状態を保持する契機となる前記ホストユニットの切替信号に変え、前記ホストユニットの運用状態を示す信号を使用する。   In the CPU system in which a plurality of the host units whose load is distributed by the host unit is an active system, the host unit is changed to a switching signal of the host unit that triggers holding a common bus state. Use signals that indicate operational status.

本発明によれば、ホストユニットが冗長構成を成し、運用系のホストユニットのみアクセス可能で共通バス上に配置する共通メモリを有することでホストユニットの系切り替え時に処理の引き継ぎを行うCPUシステムにおいて、新たに運用系となったホストユニットにおける共通メモリ内の不正データに起因した障害を未然に防止することができる。   According to the present invention, in the CPU system in which the host unit has a redundant configuration, only the active host unit can be accessed, and has a common memory arranged on the common bus, so that processing is taken over when the host unit is switched over. Therefore, it is possible to prevent a failure caused by illegal data in the common memory in the host unit that has become a new operational system.

その理由は、ホストユニットの系切り替えが発生したタイミングにおける共通バスの状態を保持することで、新たに運用系となったホストユニットは中断されたバスアクセスが存在するか否か、中断されたバスアクセスが存在する場合は、アドレス情報から不正データに書き変わってしまっている恐れのある共通メモリ内の特定データを認識することが可能となるためである。   The reason for this is that the status of the common bus at the timing when the host unit switchover occurred is maintained, so that the host unit that became the new active system has an interrupted bus access or not. This is because when there is an access, it is possible to recognize specific data in the common memory that may have been rewritten from the address information to illegal data.

本発明によれば、ホストユニットが冗長構成を成す場合に限らず、負荷分散を目的とした複数のホストユニットが全て運用系となるCPUシステムにおいても共通メモリ内の不正データに起因した障害を未然に防止することができる。   According to the present invention, not only in the case where the host unit has a redundant configuration, but also in a CPU system in which a plurality of host units for the purpose of load distribution are all active, a failure caused by illegal data in the common memory has not occurred. Can be prevented.

その理由は、共通バス状態を保持する契機となるホストユニットの切替信号に変え、ホストユニットの運用状態を示す信号を使用することで、運用を続けるホストユニットは障害が発生したホストユニットが共通メモリを更新中であったか否かを確認することが可能となり、中断されたバスアクセスが存在する場合は、アドレス情報から不正データに書き変わってしまっている恐れのある共通メモリ内の特定データを認識することが可能となるためである。   The reason for this is that instead of using a host unit switching signal that triggers the maintenance of the common bus state, a signal indicating the host unit operating status is used, so that the host unit that continues to operate is the host unit that has failed If there is an interrupted bus access, it recognizes specific data in the common memory that may have been rewritten from the address information to invalid data. This is because it becomes possible.

以下、添付図面を参照して本発明を実施するための最良の実施の形態を説明する。   DESCRIPTION OF THE PREFERRED EMBODIMENTS The best mode for carrying out the present invention will be described below with reference to the accompanying drawings.

[構成の説明]
本発明の一実施の形態として、ホストユニットが冗長構成を成し、運用系のホストユニットのみアクセス可能で共通バス上に配置する共通メモリを有することでホストユニットの系切り替え時に処理の引き継ぎを行うCPUシステムにおけるホストユニット及び共通メモリ周辺の構成を図1、共通バス状態記録部4の内部構成を図2に示し説明する。
[Description of configuration]
As one embodiment of the present invention, the host unit has a redundant configuration, and only the active host unit is accessible and has a common memory arranged on the common bus, so that processing is taken over when the host unit is switched over. The configuration around the host unit and the common memory in the CPU system will be described with reference to FIG. 1, and the internal configuration of the common bus state recording unit 4 will be described with reference to FIG.

図1において、ホストユニット1及び2は共通バス103を介して共通メモリ部3へ接続され、共通メモリ部3に格納するデータの書き込み及び、読み出しを行う。   In FIG. 1, host units 1 and 2 are connected to a common memory unit 3 via a common bus 103, and write and read data stored in the common memory unit 3.

また、共通バス103は共通バス状態記録部4へも接続され、ホストユニット1及び2が実行する共通バス103上のバスアクセスは共通バス状態記録部4へも入力される。   The common bus 103 is also connected to the common bus state recording unit 4, and the bus access on the common bus 103 executed by the host units 1 and 2 is also input to the common bus state recording unit 4.

ホストユニット1とホストユニット2の系切り替えを制御する切替信号101及び102は、ホストユニット間に配線され、共通バス状態記録部4へも入力される。   Switching signals 101 and 102 for controlling system switching between the host unit 1 and the host unit 2 are wired between the host units and are also input to the common bus state recording unit 4.

図2において、共通バス状態記録部4に入力される共通バス103は共通バスラッチ部5へ接続され、切替信号101及び102はラッチ信号生成部7へ接続される。   In FIG. 2, the common bus 103 input to the common bus state recording unit 4 is connected to the common bus latch unit 5, and the switching signals 101 and 102 are connected to the latch signal generation unit 7.

切替信号101又は102によりホストユニットの系切り替えが発生したことを検出したラッチ信号生成部7は共通バスラッチ部5へ接続されるラッチ信号を生成し、共通バスラッチ部5はそのタイミングにおける共通バス103上のアドレス、データ、書き込み又は読み出しを示す転送方法、転送サイズなどの転送属性から成る系切り替え発生時の共通バス状態を保持する。   When the switching signal 101 or 102 detects that the system switching of the host unit has occurred, the latch signal generation unit 7 generates a latch signal to be connected to the common bus latch unit 5, and the common bus latch unit 5 operates on the common bus 103 at that timing. The common bus state at the time of system switching, which includes transfer address such as address, data, transfer method indicating writing or reading, and transfer attributes such as transfer size, is held.

ホストユニットの系切り替え発生タイミングにおける共通バス状態の読み出しは、共通バス状態記録部4に予め割り当てられたアドレスに対するリードバスアクセスにより実行され、バッファ制御部8は入力される共通バス103のアドレスバス及び転送属性からホストユニットにより開始されたバスアクセスが共通バス状態記録部4に予め割り当てられたアドレスであること且つリードアクセスであることを検出すると、リードバッファ6のイネーブル信号を有効にする。   Reading of the common bus state at the timing of occurrence of system switching of the host unit is executed by read bus access to an address assigned in advance to the common bus state recording unit 4, and the buffer control unit 8 receives the address bus of the common bus 103 and When it is detected from the transfer attribute that the bus access started by the host unit is an address pre-assigned to the common bus state recording unit 4 and read access, the enable signal of the read buffer 6 is validated.

イネーブルされたリードバッファ6は共通バスラッチ部5に保持されている情報を共通バス103のデータバスへ中継し、ホストユニットは自ユニットが運用系となった系切り替え発生タイミングにおける共通バス103の状態を得ることができる。   The enabled read buffer 6 relays the information held in the common bus latch unit 5 to the data bus of the common bus 103, and the host unit indicates the state of the common bus 103 at the system switching occurrence timing when the own unit becomes the active system. Obtainable.

[動作の説明]
前述のCPUシステムにおけるホストユニット及び共通メモリ周辺の構成を図1、共通バス状態記録部4の内部構成を図2、運用系ホストユニットの障害発生により系切り替えが発生した場合の動作フローチャートを図3に示し本発明の動作を説明する。
[Description of operation]
FIG. 1 shows a configuration around the host unit and the common memory in the CPU system, FIG. 2 shows an internal configuration of the common bus state recording unit 4, and FIG. 3 shows an operation flowchart when a system switchover occurs due to a failure of the active host unit. The operation of the present invention will be described.

ホストユニット1が運用状態、ホストユニット2が待機状態であるとした場合、ホストユニット1は該CPUシステムを機能させるためのデータ(情報)を共通バス101を介して共通メモリ部3へ書き込み又は、読み出しを随時実行しており、ホストユニット1が実行する共通バス103上のバスアクセスは共通バス状態記録部4へも入力され、ホストユニットの系切り替えを制御する切替信号101及び102も共通バス状態記録部4へ入力される。   When the host unit 1 is in the operating state and the host unit 2 is in the standby state, the host unit 1 writes data (information) for causing the CPU system to function to the common memory unit 3 via the common bus 101, or Reading is executed at any time, the bus access on the common bus 103 executed by the host unit 1 is also input to the common bus state recording unit 4, and the switching signals 101 and 102 for controlling the host unit system switching are also in the common bus state. Input to the recording unit 4.

この状態で保守者によるホストユニットの系切り替え制御が実行された場合、ホストユニット1のソフトウェアは実行途中の処理を完了後、切替信号101によりホストユニット2に対して、自系が待機となることを通知し、正常待機状態であったホストユニット2は切替信号102により運用状態に遷移したことをホストユニット1へ通知する。   When the host unit system switching control is executed by the maintenance person in this state, the host unit 1 software waits for the host unit 2 with respect to the host unit 2 by the switching signal 101 after completing the process in the middle of execution. And the host unit 2 that has been in the normal standby state notifies the host unit 1 of the transition to the operation state by the switching signal 102.

これによりソフトウェアが介在した正規の系切り替え手順を踏んだ系切り替えが完了する。   As a result, the system switching is completed in accordance with the normal system switching procedure mediated by software.

共通バス状態記録部4においては、切替信号101の変化によりホストユニットの系切替が発生したことを検出したラッチ信号生成部7は共通バスラッチ部5へ接続されるラッチ信号を生成し、共通バスラッチ部5はそのタイミングにおける共通バス103上のアドレス、データ、書き込み又は読み出しを示す転送方法、転送サイズなどの転送属性から成る系切り替え発生時の共通バス状態を保持する。   In the common bus state recording unit 4, the latch signal generation unit 7 that has detected that the system switching of the host unit has occurred due to the change of the switching signal 101 generates a latch signal connected to the common bus latch unit 5, and the common bus latch unit 5 holds the common bus state at the time of system switching, which includes addresses on the common bus 103 at that timing, data, a transfer method indicating writing or reading, and transfer attributes such as transfer size.

この時、ホストユニット1による実行途中の処理はないため、共通バス103上で実行されているバスアクセスは存在せず、共通バスラッチ部5は非アクティブ状態の共通バス状態を保持することになる。   At this time, since there is no process in the middle of being executed by the host unit 1, there is no bus access being executed on the common bus 103, and the common bus latch unit 5 holds the inactive common bus state.

系切り替えにより新たに運用系となったホストユニット2は共通バス状態記録部4に予め割り当てられたアドレスに対するリードバスアクセスを実行する。   The host unit 2 that newly becomes the active system by the system switching executes the read bus access to the address assigned in advance to the common bus state recording unit 4.

共通バス103のアドレスバス及び転送属性が入力されるバッファ制御部8はホストユニット2により開始されたバスアクセスが共通バス記録部4に予め割り当てられたアドレスであること且つリードアクセスであることを検出し、リードバッファ6のイネーブル信号を有効にする。   The buffer control unit 8 to which the address bus and transfer attribute of the common bus 103 are input detects that the bus access started by the host unit 2 is an address previously assigned to the common bus recording unit 4 and is a read access. Then, the enable signal of the read buffer 6 is validated.

イネーブルされたリードバッファ6は共通バスラッチ部5に保持されている情報を共通バス103のデータバスへ中継し、ホストユニット2は自ユニットが運用系となった系切り替え発生タイミングにおける共通バス103の状態、即ち、非アクティブ状態を示す状態(プルアップ終端であれば全信号がHiレベル)を得て、共通メモリ部3に格納されるデータに、不正な可能性があるデータが存在しないことを認識した上で運用系ホストユニットとしての処理を引き継ぐ。   The enabled read buffer 6 relays the information held in the common bus latch unit 5 to the data bus of the common bus 103, and the host unit 2 is in the state of the common bus 103 at the time of system switching occurrence when its own unit becomes the active system. That is, a state indicating an inactive state (all signals are Hi level in the case of pull-up termination) is obtained, and it is recognized that there is no data that may be illegal in the data stored in the common memory unit 3. Then, take over the processing as the active host unit.

一方、ハードウェア障害や強制リセットに代表される正規の系切り替え手順を踏まない系切り替えは、ホストユニット1が実行中の処理に関係無く、切替信号101によりホストユニット2に対して、自系が運用できない状態となったことを通知し、正常待機状態であったホストユニット2は運用状態に遷移することで強制的に系切り替えが行われる。   On the other hand, system switching that does not follow the regular system switching procedure represented by hardware failure or forced reset is performed by the switching signal 101 to the host unit 2 regardless of the processing that the host unit 1 is executing. The host unit 2 that is in a normal standby state is notified that it has become inoperable, and system switching is forcibly performed by transitioning to the operational state.

正規な系切り替え時と同様に、共通バス状態記録部4において、切替信号101の変化によりホストユニットの系切り替えが発生したことを検出したラッチ信号生成部7は共通バスラッチ部5へ接続されるラッチ信号を生成し、共通バスラッチ部5はそのタイミングにおける共通バス103上のアドレス、データ、書き込み又は読み出しを示す転送方法、転送サイズなどの転送属性から成る系切り替え発生時の共通バス状態を保持する。   As in the case of normal system switching, in the common bus state recording unit 4, the latch signal generation unit 7 that detects that the system switching of the host unit has occurred due to the change of the switching signal 101 is latched to the common bus latch unit 5. A signal is generated, and the common bus latch unit 5 holds the common bus state at the time of system switchover including transfer addresses such as an address on the common bus 103 at that timing, data, a transfer method indicating writing or reading, and a transfer size.

系切り替え発生時にホストユニット1による共通メモリ部3に対するバスアクセス実行中であれば、バスラッチ部5はそのバスアクセスが示すアドレス、データ、転送属性を保持し、バスアクセス実行中でなければ共通非アクティブ状態の共通バス状態を保持する。   If the host unit 1 is executing bus access to the common memory unit 3 at the time of system switching, the bus latch unit 5 holds the address, data, and transfer attributes indicated by the bus access. Holds the common bus state of the state.

系切り替えにより新たに運用系となったホストユニット2は共通バス状態記録部4に予め割り当てられたアドレスに対するリードバスアクセスを実行する。   The host unit 2 that newly becomes the active system by the system switching executes the read bus access to the address assigned in advance to the common bus state recording unit 4.

共通バス103のアドレスバス及び転送属性が入力されるバッファ制御部8はホストユニット2により開始されたバスアクセスが共通バス記録部4に予め割り当てられたアドレスであること且つリードアクセスであることを検出し、リードバッファ6のイネーブル信号を有効にする。   The buffer control unit 8 to which the address bus and transfer attribute of the common bus 103 are input detects that the bus access started by the host unit 2 is an address previously assigned to the common bus recording unit 4 and is a read access. Then, the enable signal of the read buffer 6 is validated.

イネーブルされたリードバッファ6は共通バスラッチ部5に保持されている情報を共通バス103のデータバスへ中継し、ホストユニット2は自ユニットが運用系となった系切り替え発生タイミングにおける共通バス103の状態、即ち、系切り替え発生時にホストユニット1による共通メモリ部3に対するバスアクセス実行中であれば、強制的に中断されたバスアクセスが示すアドレス、データ、転送属性、バスアクセス実行中でなければ非アクティブ状態を示す状態(プルアップ終端であれば全信号がHiレベル)を得る。   The enabled read buffer 6 relays the information held in the common bus latch unit 5 to the data bus of the common bus 103, and the host unit 2 is in the state of the common bus 103 at the time of system switching occurrence when the self unit becomes the active system. That is, if the host unit 1 is executing bus access to the common memory unit 3 at the time of system switching, the address, data, transfer attribute indicated by the forcibly interrupted bus access, and inactive if the bus access is not being executed A state indicating the state (if the pull-up termination is used, all signals are at the Hi level) is obtained.

共通バスの状態が非アクティブ状態であれば、共通メモリ部3に格納されるデータに、不正な可能性があるデータが存在しないことを認識した上で運用系ホストユニットとしての処理を継続し、共通メモリ部3へのライトアクセスを示す場合は、そのアドレスのデータは不正データに書き変わっている可能性があると判断し、以降の処理では使用しないなど、そのデータを無効として運用系ホストユニットとしての処理を引き継ぐ。   If the state of the common bus is inactive, the processing as the active host unit is continued after recognizing that there is no data that may be illegal in the data stored in the common memory unit 3, When a write access to the common memory unit 3 is indicated, it is determined that there is a possibility that the data at the address has been rewritten as illegal data, and the data is invalidated, for example, not used in subsequent processing. Take over the processing as.

[他の実施の形態]
本発明の他の実施の形態について、図4を参照して説明する。
[Other embodiments]
Another embodiment of the present invention will be described with reference to FIG.

図1に示すホストユニットが冗長構成を成し、共通バス上に配置する共通メモリを有することでホストユニットの系切り替え時に処理の引き継ぎを行うCPUシステムにおけるホストユニット及び共通メモリ周辺の構成に対し、共通メモリ部が3−1及び3−2による冗長構成を成し、共通メモリの切替信号301及び302が共通バス記録部4へ入力され、共通バス状態記録部4では共通メモリ部の系切り替え発生時も切替信号301又は302の変化により共通メモリ部の系切り替えが発生したことを検出し、そのタイミングにおける共通バス103の状態を保持する。   The host unit shown in FIG. 1 has a redundant configuration and has a common memory arranged on a common bus, so that the host unit and the common memory peripheral configuration in the CPU system that takes over processing when the host unit is switched over, The common memory unit has a redundant configuration of 3-1 and 3-2, the common memory switching signals 301 and 302 are input to the common bus recording unit 4, and the common bus state recording unit 4 generates system switching of the common memory unit. Even when the switching signal 301 or 302 changes, it is detected that a system switching of the common memory unit has occurred, and the state of the common bus 103 at that timing is held.

なお、共通メモリ部3−1及び3−2へ対するバスアクセスは運用系アドレスへのみ実行され、ライトアクセスでは運用系共通メモリへの書き込みと同時に待機系共通メモリも同じデータが書き込まれ、リードアクセスでは運用系共通メモリのみがデータ出力を行うものとする。   Note that the bus access to the common memory units 3-1 and 3-2 is executed only to the operating system address, and in the write access, the same data is written to the standby system common memory simultaneously with the writing to the operating system common memory. Then, it is assumed that only the operational common memory outputs data.

本実施の形態は、共通メモリ部の系切り替えが発生したタイミングにおける共通バスの状態を確認することが可能となるため、運用系共通メモリ部のメモリ不良が原因の様な障害により系切り替えが発生した場合に不良箇所の特定など障害調査のために有益な情報を得ることができるという新たな効果を有する。   In this embodiment, since it is possible to check the state of the common bus at the timing when system switching of the common memory unit occurs, system switching occurs due to a failure such as a memory failure in the operating system common memory unit. In this case, there is a new effect that useful information can be obtained for failure investigation such as identification of a defective part.

本発明は、共通メモリ内の不正データに起因した障害を未然に防止するようなCPUシステムに利用できる。   The present invention can be used for a CPU system that prevents a failure caused by illegal data in a common memory.

本発明の一実施の形態としてのCPUシステムの構成を示すブロック図である。It is a block diagram which shows the structure of CPU system as one embodiment of this invention. 共通バス状態記録部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a common bus state recording part. 本発明の一実施の形態としてのCPUシステムの動作を示すブロック図である。It is a block diagram which shows the operation | movement of CPU system as one embodiment of this invention. 本発明の他の実施の形態の構成を示すブロック図である。It is a block diagram which shows the structure of other embodiment of this invention. 従来のCPUシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the conventional CPU system. 運用系ホストユニットに障害が発生した場合の共通バスの状態を示すブロック図である。FIG. 6 is a block diagram showing a state of a common bus when a failure occurs in an active host unit.

符号の説明Explanation of symbols

1 ホストユニット
2 ホストユニット
3 共通メモリ部
4 共通バス状態記録部
5 共通バスラッチ部
6 リードバッファ
7 ラッチ信号生成部
8 バッファ制御部
101 切替信号
102 切替信号
103 共通バス
DESCRIPTION OF SYMBOLS 1 Host unit 2 Host unit 3 Common memory part 4 Common bus state recording part 5 Common bus latch part 6 Read buffer 7 Latch signal generation part 8 Buffer control part 101 Switching signal 102 Switching signal 103 Common bus

Claims (6)

ホストユニットが冗長構成を成し、運用系の前記ホストユニットのみアクセス可能で共通バス上に配置する共通メモリを有することで前記ホストユニットの系切り替え時に処理の引き継ぎを行うCPUシステムにおいて、
前記ホストユニットの系切替が発生したタイミングにおける共通バスの状態を保持する共通バス状態記録部を備えることを特徴とするCPUシステム。
In the CPU system in which the host unit has a redundant configuration, and only the active host unit is accessible and has a common memory arranged on a common bus so that processing is taken over when the host unit is switched over,
A CPU system comprising: a common bus state recording unit that holds a state of a common bus at a timing when system switching of the host unit occurs.
ホストユニットが負荷分散を目的とした複数の前記ホストユニットが全て運用系となるCPUシステムにおいて、
共通バス状態を保持する契機となる前記ホストユニットの切替信号に変え、前記ホストユニットの運用状態を示す信号を使用することを特徴とするCPUシステム。
In a CPU system in which a plurality of the host units whose host units are intended for load distribution are all active,
A CPU system, wherein a signal indicating an operation state of the host unit is used instead of the switching signal of the host unit which is an opportunity to hold a common bus state.
前記共通バス状態記録部は、前記ホストユニットの系切り替えが発生したことを検出しラッチ信号を生成するラッチ信号生成部と、
共通バス上の転送属性からなる系切り替え発生時の共通バス状態を保持する共通バスラッチ部と、を備えることを特徴とする請求項1記載のCPUシステム。
The common bus state recording unit detects a occurrence of system switching of the host unit and generates a latch signal;
The CPU system according to claim 1, further comprising a common bus latch unit that holds a common bus state at the time of occurrence of system switching, which includes transfer attributes on the common bus.
入力される前記共通バスのアドレスバス及び転送属性からホストユニットにより開始されたバスアクセスが前記共通バス状態記録部に予め割り当てられたアドレスであること且つリードアクセスであることを検出するバッファ制御部をさらに備えることを特徴とする請求項3記載のCPUシステム。 A buffer control unit for detecting that the bus access initiated by the host unit from the input address bus and transfer attribute of the input is an address pre-assigned to the common bus state recording unit and a read access; The CPU system according to claim 3, further comprising: 前記共通メモリを複数備えることを特徴とする請求項1又は2記載のCPUシステム。 The CPU system according to claim 1, comprising a plurality of the common memories. 前記共通メモリは二つであることを特徴とする請求項5記載のCPUシステム。




6. The CPU system according to claim 5, wherein there are two common memories.




JP2005079503A 2005-03-18 2005-03-18 CPU system Expired - Fee Related JP4411236B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005079503A JP4411236B2 (en) 2005-03-18 2005-03-18 CPU system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005079503A JP4411236B2 (en) 2005-03-18 2005-03-18 CPU system

Publications (2)

Publication Number Publication Date
JP2006260393A true JP2006260393A (en) 2006-09-28
JP4411236B2 JP4411236B2 (en) 2010-02-10

Family

ID=37099529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005079503A Expired - Fee Related JP4411236B2 (en) 2005-03-18 2005-03-18 CPU system

Country Status (1)

Country Link
JP (1) JP4411236B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102759891A (en) * 2012-06-07 2012-10-31 中国航天科技集团公司第九研究院第七七一研究所 Hard handover dual-redundancy CAN controller
CN105629823A (en) * 2014-11-26 2016-06-01 中国科学院沈阳自动化研究所 Extensible modular small-sized controller device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102759891A (en) * 2012-06-07 2012-10-31 中国航天科技集团公司第九研究院第七七一研究所 Hard handover dual-redundancy CAN controller
CN105629823A (en) * 2014-11-26 2016-06-01 中国科学院沈阳自动化研究所 Extensible modular small-sized controller device

Also Published As

Publication number Publication date
JP4411236B2 (en) 2010-02-10

Similar Documents

Publication Publication Date Title
TW201110133A (en) Method for processing memory errors
JP2008269142A (en) Disk array device
JP5287974B2 (en) Arithmetic processing system, resynchronization method, and farm program
EP2216720B1 (en) Parameter copying method and parameter copying device
US10740167B2 (en) Multi-core processor and cache management method thereof
JP2006260393A (en) Cpu system
US7698500B2 (en) Disk array system, host interface unit, control method for disk array system, and computer program product for disk array system
KR102376396B1 (en) Multi-core processor and cache management method thereof
JP2012168871A (en) Calculator, power consumption reduction method and program
JP2005078632A (en) System and method for testing memory
JP4118249B2 (en) Memory system
JP2011018187A (en) Test method, test program, test device and test system
JP4501868B2 (en) Memory system control method
JP2009116978A (en) Semiconductor storage device
JP2001216207A (en) Dma diagnostic device, and dma diagnostic method used for the same
KR100362572B1 (en) Duplication method and duplication processor apparatus for communication apparatus
JP2005010995A (en) Multiprocessor system and process for dealing with trouble of write-back thereof
JP2001051854A (en) Information management system
KR100431467B1 (en) System of Duplicating between Two Processors and Managing Method thereof
JP2003271463A (en) Doubling memory device
WO2018179753A1 (en) Microcomputer
JPH11161545A (en) Control method for closely coupled multiprocessor system, closely coupled multiprocessor system and storage medium therefor
JP4009401B2 (en) Disk control apparatus and recording medium recording program
JPH0944273A (en) Storage device initializing circuit
WO2010073510A1 (en) Information processor and memory control method therefor

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080516

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080926

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080930

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090804

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091005

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091030

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091116

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121120

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees