JP2011253242A - Duplexing system, active device, standby device and method for updating data - Google Patents
Duplexing system, active device, standby device and method for updating data Download PDFInfo
- Publication number
- JP2011253242A JP2011253242A JP2010125042A JP2010125042A JP2011253242A JP 2011253242 A JP2011253242 A JP 2011253242A JP 2010125042 A JP2010125042 A JP 2010125042A JP 2010125042 A JP2010125042 A JP 2010125042A JP 2011253242 A JP2011253242 A JP 2011253242A
- Authority
- JP
- Japan
- Prior art keywords
- update
- standby
- data
- unit
- value
- 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
Images
Landscapes
- Hardware Redundancy (AREA)
Abstract
Description
本発明は、二重化システム、現用装置、待機装置及びデータ更新方法に関する。 The present invention relates to a duplex system, an active device, a standby device, and a data update method.
二重化したMCU(Micro Controller Unit)の一方を現用装置として動作させるとともに他方を待機装置として待機させ、必要に応じて待機装置を現用化することで、システムの冗長性を保障するコールドスタンバイ(cold standby)という手法が知られている。このコールドスタンバイを採用する場合には、現用装置の障害発生時に現用装置と同一のデータを用いて待機装置を現用化する。そのため、現用装置内で保持したデータの更新が行われるたびに、現用装置が更新後のデータを待機装置へ書き込む。 Cold standby (cold standby) that guarantees system redundancy by operating one of the duplicated MCUs (Micro Controller Units) as the active device and the other as a standby device, and making the standby device active as necessary ) Is known. When this cold standby is adopted, the standby device is made active by using the same data as the active device when a failure occurs in the active device. Therefore, every time the data held in the active device is updated, the active device writes the updated data to the standby device.
このようなデータの更新手法について説明する。図9は、従来のデータ更新手法(その1)を説明するための図である。図9に示すデータ更新手法では、ハードの設定変更等が行われると、現用装置のCPU(Central Processing Unit)は、自装置内のDB(Database)に保持された設定情報(Provisioning情報)を更新する(図9の(1)参照)。そして、現用装置のCPUは、装置間通信を実行し、更新後の設定情報を待機装置内のDBへ書き込む(図9の(2)参照)。これにより、待機装置内の設定情報が更新される。 A method for updating such data will be described. FIG. 9 is a diagram for explaining a conventional data update method (part 1). In the data update method shown in FIG. 9, when a hardware setting change or the like is performed, the CPU (Central Processing Unit) of the active device updates the setting information (Provisioning information) held in the DB (Database) in the own device. (Refer to (1) in FIG. 9). Then, the CPU of the active device performs inter-device communication and writes the updated setting information to the DB in the standby device (see (2) in FIG. 9). Thereby, the setting information in the standby device is updated.
ここで、図9で説明したデータ更新手法では、待機装置内のDBへの書き込みが未だ完了していない場合に、現用装置に障害が発生すると、待機装置内のDBに保持された設定情報が破壊される。設定情報が破壊されると、待機装置の現用化が妨げられるため、システムの冗長性が失われる。 Here, in the data update method described with reference to FIG. 9, if a failure occurs in the active device when writing to the DB in the standby device has not yet been completed, the setting information held in the DB in the standby device is stored. Destroyed. When the setting information is destroyed, the standby device is prevented from being activated, and the redundancy of the system is lost.
このような事態を回避するための手法として、設定情報の安全性を高めたデータ更新手法が知られている。図10は、従来のデータ更新手法(その2)を説明するための図である。図10に示す例では、待機装置側にメインDBとサブDBとの2つのDBが設けられている。図10に示すデータ更新手法では、ハードの設定変更等が行われると、現用装置のCPUは、自装置内のDBに保持された設定情報を更新する(図10の(1)参照)。そして、現用装置のCPUは、装置間通信を実行し、更新後の設定情報を待機装置内のメインDBへ書き込む(図10の(2)参照)。メインDBへの書込みが完了すると、現用装置のCPUは、装置間通信を実行し、メインDBへ書き込まれた設定情報を待機装置内のサブDBへ複写する(図10の(3)参照)。その後、現用装置のCPUは、自装置内のDBに保持された設定情報を更新するたびに、メインDBへの書込み処理及びメインDBからサブDBへの複写処理を実行する。これにより、現用装置の障害発生によってメインDB又はサブDBに保持された設定情報が破壊されたとしても、待機装置は、サブDB又はメインDBに保持された設定情報を用いて現用化することができる。 As a technique for avoiding such a situation, a data update technique that improves the security of setting information is known. FIG. 10 is a diagram for explaining a conventional data update method (part 2). In the example shown in FIG. 10, two DBs, a main DB and a sub DB, are provided on the standby device side. In the data update method shown in FIG. 10, when a hardware setting change or the like is performed, the CPU of the active device updates the setting information held in the DB in the own device (see (1) in FIG. 10). Then, the CPU of the active device performs inter-device communication and writes the updated setting information to the main DB in the standby device (see (2) in FIG. 10). When the writing to the main DB is completed, the CPU of the active device executes inter-device communication and copies the setting information written to the main DB to the sub-DB in the standby device (see (3) in FIG. 10). Thereafter, each time the CPU of the active device updates the setting information held in the DB in the own device, it executes a write process to the main DB and a copy process from the main DB to the sub DB. As a result, even if the setting information held in the main DB or sub DB is destroyed due to the failure of the active device, the standby device can be activated using the setting information held in the sub DB or main DB. it can.
しかしながら、上記2つのDBを用いてデータ更新を行う従来の手法では、設定情報の安全性を高めてシステムの冗長性を確保することができる一方で、2つのDBを収容するための記憶領域が増大し、装置全体が大型化するという問題がある。 However, in the conventional method of updating data using the above two DBs, while it is possible to increase the safety of the setting information and ensure system redundancy, there is a storage area for accommodating the two DBs. There is a problem that the size of the entire apparatus increases.
開示の技術は、上記に鑑みてなされたものであって、冗長性を確保しつつ装置の大型化を抑制することができる二重化システム、現用装置、待機装置及びデータ更新方法を提供することを目的とする。 The disclosed technology has been made in view of the above, and an object thereof is to provide a duplex system, an active device, a standby device, and a data update method capable of suppressing the increase in size of the device while ensuring redundancy. And
本願の開示する二重化システムは、現用装置と待機装置とを有する二重化システムである。前記現用装置が、二重化されたデータのうち一方のデータを保持する現用側記憶部と、前記一方のデータを更新する現用側更新部と、前記一方のデータの更新位置と当該更新位置における前記一方のデータの更新値とを前記待機装置へ書き込む書込み部とを備える。前記待機装置が、前記二重化されたデータのうち他方のデータを保持する待機側記憶部と、前記現用装置から書き込まれた更新位置と更新値とを対応付けて保持する更新情報記憶部とを備える。さらに、前記待機装置が、前記更新位置に対応する位置における前記他方のデータの値を当該更新位置に対応付けられた前記更新値で更新する待機側更新部を備える。 The duplex system disclosed in the present application is a duplex system having an active device and a standby device. The working device has a working side storage unit for holding one of the duplicated data, a working side updating unit for updating the one data, an update position of the one data, and the one at the update position And a writing unit for writing the updated value of the data to the standby device. The standby device includes a standby storage unit that holds the other data of the duplicated data, and an update information storage unit that holds the update position and update value written from the active device in association with each other. . Furthermore, the standby device includes a standby-side update unit that updates the value of the other data at a position corresponding to the update position with the update value associated with the update position.
本願の開示する二重化システムの一つの態様によれば、冗長性を確保しつつ装置の大型化を抑制することができるという効果を奏する。 According to one aspect of the duplex system disclosed in the present application, it is possible to suppress the increase in size of the apparatus while ensuring redundancy.
以下に、本願の開示する二重化システム、現用装置、待機装置及びデータ更新方法の実施例を図面に基づいて詳細に説明する。なお、この実施例は開示の技術を限定するものではない。 Hereinafter, embodiments of a duplex system, an active device, a standby device, and a data update method disclosed in the present application will be described in detail with reference to the drawings. Note that this embodiment does not limit the disclosed technology.
図1は、実施例1に係る二重化システムに含まれる各装置の構成を示すブロック図である。図1に示す二重化システム1は、現用装置3と待機装置5とが二重化されるとともに、現用装置3及び待機装置5の間で二重化されたデータを更新する。
FIG. 1 is a block diagram illustrating the configuration of each device included in the duplex system according to the first embodiment. In the
現用装置3は、現用側記憶部3aと、現用側更新部3bと、書込み部3cとを有する。現用側記憶部3aは、二重化されたデータのうち一方のデータを保持する。現用側更新部3bは、現用側記憶部3aに保持されたデータを更新する。書込み部3cは、現用側更新部3bによって更新されたデータの更新位置と当該更新位置におけるデータの更新値とを待機装置5へ書き込む。
The
また、待機装置5は、待機側記憶部5aと、更新情報記憶部5bと、待機側更新部5cとを有する。待機側記憶部5aは、二重化されたデータのうち他方のデータを保持する。更新情報記憶部5bは、現用装置3から書き込まれた更新位置と更新値とを対応付けて保持する。待機側更新部5cは、更新情報記憶部5bに保持される更新位置と更新値とを読み出し、読み出した更新位置に対応する位置における待機側記憶部5a内の他方のデータの値を当該更新位置に対応付けられた更新値で更新する。
The standby device 5 includes a standby side storage unit 5a, an update information storage unit 5b, and a standby side update unit 5c. The standby storage unit 5a holds the other data of the duplicated data. The update information storage unit 5b holds the update position and the update value written from the
このように、本実施例に係る二重化システム1では、現用装置3が更新後のデータの更新位置及び更新値のみを待機装置5の更新情報記憶部5bへ書き込み、書き込まれた更新位置及び更新値を用いて待機装置5が自身の保持するデータを更新する。このため、本実施例に係る二重化システム1では、現用装置3が更新後のデータを待機装置5の待機側記憶部5aに直接書き込むことを不要化して待機装置5の保持するデータが破壊されることを回避し、冗長性を確保することができる。また、本実施例に係る二重化システム1では、更新位置及び更新値のみを保持する更新情報記憶部5bのサイズを待機側記憶部5aと比して小さくすることができ、従来のようにデータを保持する記憶部を2つ設ける構成よりも装置全体を小型化することができる。すなわち、本実施例に係る二重化システム1によれば、冗長性を確保しつつ装置の大型化を抑制することが可能になる。
Thus, in the
続いて、実施例2に係る二重化システムについて説明する。まず、実施例2に係る二重化システムによるデータ更新方法について簡単に説明する。図2は、実施例2に係る二重化システムによるデータ更新方法について説明するための図である。 Subsequently, a duplex system according to the second embodiment will be described. First, a data update method by the duplex system according to the second embodiment will be briefly described. FIG. 2 is a diagram for explaining a data update method by the duplex system according to the second embodiment.
図2に示すように、本実施例に係る二重化システムでは、ハードの設定変更等が行われると、現用装置のCPUは、自装置内の設定情報DBに保持された設定情報を更新する(図2の(1)参照)。そして、現用装置のCPUは、装置間通信を実行し、更新後の設定情報の更新位置と当該更新位置における設定情報の更新値とを待機装置へ書き込む(図2の(2)参照)。一方、待機装置のCPUは、現用装置から書き込まれた更新位置と更新値とを対応付けて保持する更新情報バッファを定期的に参照する。そして、待機装置のCPUは、更新情報バッファから更新位置と更新値とを読み出し、更新位置に対応する位置における設定情報DB内の設定情報の値を当該更新位置に対応付けられた更新値で更新する(図2の(3)参照)。 As shown in FIG. 2, in the duplex system according to the present embodiment, when a hardware setting change or the like is performed, the CPU of the active device updates the setting information held in the setting information DB in the own device (FIG. 2). 2 (see (1)). Then, the CPU of the active device executes inter-device communication, and writes the updated position of the updated setting information and the updated value of the setting information at the updated position to the standby device (see (2) in FIG. 2). On the other hand, the CPU of the standby device periodically refers to the update information buffer that holds the update position and the update value written from the active device in association with each other. Then, the CPU of the standby device reads the update position and the update value from the update information buffer, and updates the value of the setting information in the setting information DB at the position corresponding to the update position with the update value associated with the update position. (Refer to (3) in FIG. 2).
このように、本実施例に係るデータ更新方法では、現用装置が更新後の設定情報の更新位置及び更新値のみを待機装置の更新情報バッファへ書き込み、書き込まれた更新位置及び更新値を用いて待機装置が自身の保持する設定情報を更新する。 Thus, in the data update method according to the present embodiment, the active device writes only the update position and update value of the updated setting information to the update information buffer of the standby device, and uses the written update position and update value. The standby device updates the setting information held by itself.
次に、実施例2に係る二重化システムのシステム構成を説明する。図3は、実施例2に係る二重化システムのシステム構成を示す図である。図3に示すように、二重化システム10は、光通信用の伝送装置100に搭載されており、現用系のMCU(Micro Controller Unit)30と、待機系のMCU50とを有する。なお、ここでは、MCU30が現に使用される現用装置として動作し、MCU50が将来の現用化を待機する待機装置として動作する場合を想定して以下の説明を行うこととする。
Next, the system configuration of the duplex system according to the second embodiment will be described. FIG. 3 is a diagram illustrating the system configuration of the duplex system according to the second embodiment. As shown in FIG. 3, the
これらMCU30及びMCU50は、OS(Operating System)20から受け取るコマンドを基に複数のLIU(Line Interface Unit)70を管理する管理装置である。MCU30及びMCU50は、コールドスタンバイ構成を採用しており、伝送装置100内のスロットとLIU70との接続関係や、LIU70どうしの接続関係等を示す設定情報を保持する。このようにコールドスタンバイ構成を採用する場合には、MCU30の障害発生時にMCU50が代わって動作できるように、MCU30及びMCU50の間で設定情報の同期がなされる。
The MCU 30 and the MCU 50 are management devices that manage a plurality of LIUs (Line Interface Units) 70 based on commands received from an OS (Operating System) 20. The MCU 30 and the MCU 50 adopt a cold standby configuration, and hold setting information indicating a connection relationship between the slots in the
MCU30及びMCU50は、OS20と、複数のLIU70と通信可能に接続される。OS20は、伝送装置100内部のハードウェア構成の管理操作等を行う基本ソフトウェアである。OS20は、LIU70がスロットに新設された等のハードウェア構成の設定変更をユーザから受け付けると、設定変更の内容を含む設定更新コマンドをMCU30に通知する。LIU70は、伝送装置100と外部の他の伝送装置との間で各種のデータの送受信を行うインターフェースである。
The MCU 30 and the MCU 50 are communicably connected to the
次に、本実施例に係る現用系のMCU30及び待機系のMCU50の構成について説明する。図4は、実施例2に係る現用系のMCU30及び待機系のMCU50の構成を示すブロック図である。以下では、現用系のMCU30の構成について説明した後に、待機系のMCU50の構成について説明する。 Next, the configuration of the active MCU 30 and the standby MCU 50 according to the present embodiment will be described. FIG. 4 is a block diagram illustrating the configuration of the active MCU 30 and the standby MCU 50 according to the second embodiment. In the following, after describing the configuration of the active MCU 30, the configuration of the standby MCU 50 will be described.
まず、現用系のMCU30の構成について説明する。図4に示すように、現用系のMCU30は、現用側I/F部31と、現用側ポート部32と、切替制御部33と、MCU間通信部34と、設定情報DB35と、現用側更新部36と、更新情報書込み部37とを有する。
First, the configuration of the active MCU 30 will be described. As shown in FIG. 4, the working MCU 30 includes a working I / F unit 31, a working
現用側I/F部31は、設定更新コマンドをOS20から受け付けると、受け付けた設定更新コマンドを切替制御部33及び現用側更新部36へ通知する。現用側ポート部32は、複数のLIU70と接続される物理ポート群である。
When receiving the setting update command from the
切替制御部33は、現用側I/F部31を介してOS20から設定変更コマンドを受け付けると、設定変更コマンドに従って物理ポートの切替制御を実施する。例えば、切替制御部33は、設定変更コマンドに従って、現用側ポート部32の物理ポートを切り替えて、伝送装置100内のスロットと新設のLIU70との接続を確立する。また、例えば、切替制御部33は、設定変更コマンドに従って、現用側ポート部32の物理ポートを切り替えて、既設のLIU70と新設のLIU70との接続を確立する。
When the switching control unit 33 receives a setting change command from the
MCU間通信部34は、現用系のMCU30と待機系のMCU50との間で通信リンクを構築し、構築した通信リンクを通じて各種のデータを送受信する。例えば、MCU間通信部34は、後述する更新情報書込み部37が待機系のMCU50に書き込む更新情報を待機系のMCU50側に送信する。 The inter-MCU communication unit 34 establishes a communication link between the active MCU 30 and the standby MCU 50 and transmits / receives various data through the established communication link. For example, the inter-MCU communication unit 34 transmits, to the standby MCU 50 side, update information that an update information writing unit 37 (to be described later) writes in the standby MCU 50.
設定情報DB35は、現用系のMCU30と待機系のMCU50との間で二重化された設定情報のうち一方の設定情報を保持するデータベースである。例えば、設定情報DB35は、伝送装置100内のスロットと各LIU70との接続関係や、LIU70どうしの接続関係等を設定情報として保持する。
The setting information DB 35 is a database that holds one of the setting information duplexed between the active MCU 30 and the standby MCU 50. For example, the setting information DB 35 holds the connection relationship between the slots in the
現用側更新部36は、現用側I/F部31を介してOS20から設定更新コマンドを受け付けると、設定更新コマンドに従って設定情報の更新処理を実施する。例えば、現用側更新部36は、設定更新コマンドに従って、伝送装置100内のスロットと新設のLIU70との接続関係を設定情報DB35に保持済みの設定情報に上書き登録することにより、設定情報DB35に保持された設定情報を更新する。また、例えば、現用側更新部36は、設定更新コマンドに従って、新設のLIU70と既設のLIU70との接続関係を設定情報DB35に保持済みの設定情報に上書き登録することにより、設定情報DB35に保持された設定情報を更新する。
When the working side update unit 36 receives a setting update command from the
更新情報書込み部37は、設定情報の更新アドレスと当該更新アドレスにおける設定情報の更新値とを更新情報としてMCU間通信部34を介して待機側のMCU50へ書き込む。ここで、更新アドレスとは、設定情報DB35の記憶領域のうち設定情報の更新部分が保持された記憶領域のアドレス(位置)を指す。また、更新値とは、現用側更新部36によって更新された設定情報の更新部分のデータ値を指す。なお、更新情報書込み部37によって行われる処理については、後に詳細に説明する。 The update information writing unit 37 writes the update address of the setting information and the update value of the setting information at the update address as update information to the MCU 50 on the standby side via the inter-MCU communication unit 34. Here, the update address refers to the address (position) of the storage area in the storage area of the setting information DB 35 where the updated portion of the setting information is held. Further, the update value refers to the data value of the update part of the setting information updated by the working side update unit 36. The processing performed by the update information writing unit 37 will be described in detail later.
次いで、待機系のMCU50の構成について説明する。待機系のMCU50は、待機側I/F部51と、待機側ポート部52と、切替制御部53と、MCU間通信部54と、設定情報DB55と、更新情報バッファ56と、待機側更新部57と、動作監視部58と、起動処理部59とを有する。
Next, the configuration of the standby MCU 50 will be described. The standby MCU 50 includes a standby-side I / F unit 51, a standby-
このうち、待機側I/F部51、待機側ポート部52及び切替制御部53は、それぞれ現用系のMCU30の現用側I/F部31、現用側ポート部32及び切替制御部33と同様の機能を発揮する処理部である。これら待機側I/F部51、待機側ポート部52及び切替制御部53は、現用系と待機系との系の切り替えが行われるまでは動作しない。
Among these, the standby side I / F unit 51, the standby
MCU間通信部54は、現用系のMCU30と待機系のMCU50との間で通信リンクを構築し、構築した通信リンクを通じて各種のデータを送受信する。例えば、MCU間通信部54は、現用系のMCU30により書き込まれる更新情報を受信して更新情報バッファ56へ出力する。 The inter-MCU communication unit 54 establishes a communication link between the active MCU 30 and the standby MCU 50 and transmits / receives various data through the established communication link. For example, the inter-MCU communication unit 54 receives update information written by the active MCU 30 and outputs it to the update information buffer 56.
設定情報DB55は、現用系のMCU30と待機系のMCU50との間で二重化された設定情報のうち他方の設定情報を保持するデータベースである。例えば、設定情報DB55は、伝送装置100内のスロットと各LIU70との接続関係や、LIU70どうしの接続関係等を設定情報として保持する。
The setting
更新情報バッファ56は、MCU30及びMCU50の間で設定情報の同期をとるために用いられるバッファである。更新情報バッファ56は、現用系のMCU30から書き込まれた更新情報に含まれている更新アドレスと更新値とを対応付けて保持する。 The update information buffer 56 is a buffer used to synchronize setting information between the MCU 30 and the MCU 50. The update information buffer 56 stores the update address and the update value included in the update information written from the active MCU 30 in association with each other.
図5は、更新情報バッファ56に保持される情報の一例を示す図である。図5に示す更新情報バッファ56は、各アドレス0X000〜0X1F0に、現用側更新開始アドレス、現用側更新終了アドレス、現用側更新開始フラグ、現用側更新完了フラグ、更新アドレス、更新値、待機側更新中フラグ及び待機側更新開始アドレスを保持する。 FIG. 5 is a diagram illustrating an example of information held in the update information buffer 56. The update information buffer 56 shown in FIG. 5 includes, on each address 0X000 to 0X1F0, the working side update start address, the working side update end address, the working side update start flag, the working side update completion flag, the update address, the update value, and the standby side update. Holds the middle flag and standby update start address.
「現用側更新開始アドレス」は、更新情報バッファ56の記憶領域うち更新アドレス及び更新値が実際に書き込まれた開始点のアドレスを指す。「現用側更新終了アドレス」は、更新情報バッファ56の記憶領域のうち更新アドレス及び更新値が実際に書き込まれた終点のアドレスを指す。 The “working side update start address” indicates the address of the start point where the update address and the update value are actually written in the storage area of the update information buffer 56. The “working side update end address” indicates an end address where the update address and the update value are actually written in the storage area of the update information buffer 56.
「現用側更新開始フラグ」は、現用系のMCU30から更新アドレス及び更新値の書込みが開始されたか否かを示すフラグである。例えば、現用側更新開始フラグがONである場合には現用系のMCU30から更新アドレス及び更新値の書込みが開始されたことを表し、現用側更新開始フラグがOFFである場合には更新アドレス及び更新値の書込みが開始されていないことを表す。 The “working side update start flag” is a flag indicating whether or not writing of an update address and an update value has been started from the active MCU 30. For example, when the working side update start flag is ON, this means that writing of the update address and update value has started from the working MCU 30, and when the working side update start flag is OFF, the update address and update Indicates that value writing has not started.
「現用側更新完了フラグ」は、現用系のMCU30から更新アドレス及び更新値の書込みが完了したか否かを示すフラグである。例えば、現用側更新完了フラグがONである場合には現用系のMCU30からの更新アドレス及び更新値の書込みが完了したことを表し、現用側更新完了フラグがOFFである場合には現用系のMCU30からの更新アドレス及び書込みが完了していないことを表す。 The “working side update completion flag” is a flag indicating whether or not the writing of the update address and the update value from the working MCU 30 has been completed. For example, when the working side update completion flag is ON, it indicates that the update address and update value have been written from the working MCU 30, and when the working side update completion flag is OFF, the working MCU 30 Indicates that the update address and writing from have not been completed.
「更新アドレス」は、現用系のMCU30から書き込まれた更新アドレスである。「更新値」は、現用系のMCU30から書き込まれた更新値である。 The “update address” is an update address written from the active MCU 30. The “update value” is an update value written from the active MCU 30.
「待機側更新中フラグ」は、後述する待機側更新部57による設定情報DB55の更新処理が実行されているか否かを示すフラグである。例えば、待機側更新中フラグがONである場合には待機側更新部57による設定情報DB55の更新処理が実行されていることを表し、待機側更新中フラグがOFFである場合には待機側更新部57による設定情報DB55の更新処理が実行されていないことを表す。
The “standby side updating flag” is a flag indicating whether or not the setting
「待機側更新開始アドレス」は、現用側更新開始アドレスから現用側更新終了アドレスに至る更新情報バッファ56の記憶領域に保持された更新アドレス及び更新値が待機側更新部57により読み出された場合に現用側更新開始アドレスが複写される記憶領域である。この待機側更新開始アドレスは、待機側更新部57による設定情報DB55の更新処理が完了した場合に、現用系のMCU30が次の更新情報をどのアドレスから書き込めばよいかを表すものである。
“Standby side update start address” is the case where the standby
図4の説明に戻り、待機側更新部57は、更新情報バッファ56に保持される更新アドレスと更新値を用いて設定情報DB55に保持された設定情報を更新する。なお、待機側更新部57によって行われる処理については、後に詳細に説明する。
Returning to the description of FIG. 4, the standby
動作監視部58は、現用系のMCU30の動作状態を所定の周期で監視し、現用系のMCU30の障害の有無を検知する。例えば、動作監視部58は、動作中のMCU30が取り外された場合等にMCU30の障害を検知する。また、動作監視部58は、現用系のMCU30の監視結果を待機側更新部57及び起動処理部59に通知する。
The operation monitoring unit 58 monitors the operation state of the active MCU 30 at a predetermined cycle, and detects whether there is a failure in the active MCU 30. For example, the operation monitoring unit 58 detects a failure of the MCU 30 when the operating MCU 30 is removed. Further, the operation monitoring unit 58 notifies the standby
起動処理部59は、動作監視部58によって現用系のMCU30の障害が検知された場合に、MCU50を待機系から現用系に切り替える起動処理を実行する。例えば、起動処理部59は、設定情報DB55から読み出した設定情報を用いて切替制御部53等を起動させて、物理ポートの切替制御を実施させる。
The activation processing unit 59 executes an activation process for switching the MCU 50 from the standby system to the active system when the operation monitoring unit 58 detects a failure of the active MCU 30. For example, the activation processing unit 59 activates the switching
次に、本実施例に係る二重化システム10による処理手順を説明する。ここでは、現用系のMCU30による処理手順を説明した後に、待機系のMCU50による処理手順を説明することとする。図6は、実施例2に係る現用系のMCU30による処理手順を示すフローチャートである。図7は、実施例2に係る待機系のMCU50による処理手順を示すフローチャートである。図8は、更新情報バッファ56の更新態様を示す図である。
Next, a processing procedure by the
まず、現用系のMCU30による処理手順を説明する。図6に示すように、まず、MCU30は、OS20から設定更新コマンドを受け付けたか否かを判定する(ステップS11)。OS20から設定更新コマンドを受け付けていない場合には(ステップS11否定)、MCU30はそのまま待機する。一方、OS20から設定更新コマンドを受け付けた場合には(ステップS11肯定)、MCU30の切替制御部33は、設定更新コマンドに従って物理ポートの切替制御を実施する(ステップS12)。続いて、現用側更新部36は、設定変更コマンドに従って、設定情報DB35に保持された設定情報の更新を行う(ステップS13)。 First, a processing procedure by the active MCU 30 will be described. As shown in FIG. 6, the MCU 30 first determines whether or not a setting update command has been received from the OS 20 (step S11). When the setting update command is not received from the OS 20 (No at Step S11), the MCU 30 waits as it is. On the other hand, when a setting update command is received from the OS 20 (Yes at Step S11), the switching control unit 33 of the MCU 30 performs physical port switching control according to the setting update command (Step S12). Subsequently, the working side update unit 36 updates the setting information held in the setting information DB 35 in accordance with the setting change command (step S13).
続いて、更新情報書込み部37は、待機系のMCU50の更新情報バッファ56を参照し、待機側更新中フラグがONであるか否かを判定する(ステップS14)。待機側更新中フラグがONである場合には(ステップS14肯定)、更新情報書込み部37は、所定の時間、例えば1秒だけ待機し(ステップS15)、待機側更新中フラグがONであるか否かを再度判定する(ステップS14)。 Subsequently, the update information writing unit 37 refers to the update information buffer 56 of the standby MCU 50 and determines whether or not the standby side update flag is ON (step S14). If the standby side updating flag is ON (Yes at Step S14), the update information writing unit 37 waits for a predetermined time, for example, 1 second (Step S15), and is the standby side updating flag ON? It is determined again whether or not (step S14).
一方、待機側更新中フラグがOFFである場合には(ステップS14否定)、更新情報書込み部37は、待機系のMCU50の更新情報バッファ56を参照し、現用側更新完了フラグがONであるか否かを判定する(ステップS16)。現用側更新完了フラグがONである場合には(ステップS16肯定)、更新情報書込み部37は、更新情報バッファ56から現用側更新終了アドレスを取得する(ステップS18)。現用側更新完了フラグがONである場合に現用側更新終了アドレスを取得することで、更新情報書込み部37は、前回の更新情報を書き込んだアドレスに継続して今回の更新情報を書き込むことができる。 On the other hand, if the standby side update flag is OFF (No at Step S14), the update information writing unit 37 refers to the update information buffer 56 of the standby MCU 50 and determines whether the active side update completion flag is ON. It is determined whether or not (step S16). When the working side update completion flag is ON (Yes at Step S16), the update information writing unit 37 acquires the working side update end address from the update information buffer 56 (Step S18). By obtaining the working side update end address when the working side update completion flag is ON, the update information writing unit 37 can continuously write the current update information at the address where the previous update information was written. .
一方、現用側更新完了フラグがOFFである場合には(ステップS16否定)、更新情報書込み部37は、更新情報バッファ56から待機側更新開始アドレスを取得する(ステップS17)。現用側更新完了フラグがOFFである場合に待機側更新開始アドレスを取得することで、更新情報書込み部37は、待機系のMCU50側において既に読み取り済みである前回の更新情報に今回の更新情報を上書きすることができる。 On the other hand, when the working side update completion flag is OFF (No at Step S16), the update information writing unit 37 acquires the standby side update start address from the update information buffer 56 (Step S17). By acquiring the standby side update start address when the working side update completion flag is OFF, the update information writing unit 37 adds the current update information to the previous update information that has already been read on the standby MCU 50 side. Can be overwritten.
その後、更新情報書込み部37は、更新情報バッファ56の現用側更新開始フラグをONに設定するとともに、現用側更新完了フラグをOFFに設定する(ステップS19)。そして、更新情報書込み部37は、ステップS17又ステップS18で取得したアドレスを書込み開始アドレスとして、更新情報(更新アドレス及び更新値)を更新情報バッファ56に書き込む(ステップS20)。 Thereafter, the update information writing unit 37 sets the working side update start flag of the update information buffer 56 to ON and sets the working side update completion flag to OFF (step S19). Then, the update information writing unit 37 writes the update information (update address and update value) in the update information buffer 56 using the address acquired in step S17 or step S18 as the write start address (step S20).
ここで、ステップS19〜ステップS20の処理により更新情報が書き込まれる前後の更新情報バッファ56の態様を図8の(a)及び(b)に例示する。例えば、図8の(a)に示すように、更新情報が書き込まれる前の更新情報バッファ56では、現用側更新開始フラグ及び現用側更新完了フラグがOFFに設定されており、待機側更新開始アドレスに初期値として「0X020」が保持されているとする。このような場合に、更新情報書込み部37は、図8(b)に示すように、更新情報バッファ56の現用側更新開始フラグをOFFからONに設定するとともに、現用側更新完了フラグをOFFに再設定する。そして、更新情報書込み部37は、ステップS17で取得した待機側更新開始アドレス「0X020」を書込み開始アドレスとして、更新情報(更新アドレス及び更新値)を更新情報バッファ56に書き込む。例えば、図8の(b)に示すように、更新情報バッファ56のアドレス「0X020」に、更新アドレス「address01」と更新値「data01」とが対応付けられて書き込まれる。また、更新情報バッファ56のアドレス「0X030」に、更新アドレス「address02」と更新値「data02」とが対応付けられて書き込まれる。また、更新情報バッファ56のアドレス「0X040」に、更新アドレス「address03」と更新値「data03」とが対応付けられて書き込まれる。 Here, (a) and (b) of FIG. 8 illustrate the mode of the update information buffer 56 before and after the update information is written by the processing of step S19 to step S20. For example, as shown in FIG. 8A, in the update information buffer 56 before update information is written, the working side update start flag and the working side update completion flag are set to OFF, and the standby side update start address Assume that “0X020” is held as the initial value. In such a case, the update information writing unit 37 sets the working side update start flag of the update information buffer 56 from OFF to ON and also sets the working side update completion flag to OFF, as shown in FIG. 8B. Reset it. Then, the update information writing unit 37 writes the update information (update address and update value) in the update information buffer 56 using the standby side update start address “0X020” acquired in step S17 as the write start address. For example, as illustrated in FIG. 8B, the update address “address01” and the update value “data01” are written in association with the address “0X020” of the update information buffer 56. Further, the update address “address02” and the update value “data02” are written in association with the address “0X030” of the update information buffer 56. Further, the update address “address03” and the update value “data03” are written in association with the address “0X040” of the update information buffer 56.
ステップS20を終えると、更新情報書込み部37は、更新情報バッファ56にて更新アドレス及び更新値を実際に書き込んだ開始点のアドレス及び終点のアドレスを現用側更新開始アドレス及び現用側更新終了アドレスにそれぞれ書き込む(ステップS21)。そして、更新情報書込み部37は、更新情報バッファ56の現用側更新開始フラグをOFFに設定するとともに、現用側更新完了フラグをONに設定する(ステップS22)。その後、更新情報書込み部37は、一連の処理(物理ポートの切替制御、自身の設定情報の更新及び更新情報バッファ56への書込み)が完了した旨の応答を表示装置等に出力する(ステップS23)。 When step S20 is completed, the update information writing unit 37 sets the start point address and the end point address at which the update address and the update value are actually written in the update information buffer 56 to the active side update start address and the active side update end address. Each is written (step S21). Then, the update information writing unit 37 sets the working side update start flag of the update information buffer 56 to OFF and sets the working side update completion flag to ON (step S22). Thereafter, the update information writing unit 37 outputs a response indicating that a series of processing (physical port switching control, updating of its own setting information and writing to the update information buffer 56) is completed to the display device or the like (step S23). ).
ここで、ステップS21〜S22の処理によりアドレスが書き込まれた後の更新情報バッファ56の態様を図8の(c)に例示する。例えば、図8の(b)に示すように、更新情報バッファ56のアドレス「0X020」〜「0X040」に更新アドレス及び更新値が書き込まれたものとする。このような場合に、更新情報書込み部37は、図8の(c)に示すように、更新アドレス及び更新値を書き込んだ開始点のアドレス「0X020」及び終点のアドレス「0X040」を現用側更新開始アドレス及び現用側更新終了アドレスにそれぞれ書き込む。そして、更新情報書込み部37は、更新情報バッファ56の現用側更新開始フラグをOFFに設定するとともに、現用側更新完了フラグをONに設定する。 Here, FIG. 8C illustrates an aspect of the update information buffer 56 after the address is written by the processing of steps S21 to S22. For example, as shown in FIG. 8B, it is assumed that the update address and the update value are written in the addresses “0X020” to “0X040” of the update information buffer 56. In such a case, as shown in FIG. 8C, the update information writing unit 37 updates the start-side address “0X020” and the end-point address “0X040” into which the update address and the update value have been written. Write to the start address and the working side update end address respectively. Then, the update information writing unit 37 sets the working side update start flag of the update information buffer 56 to OFF and sets the working side update completion flag to ON.
次いで、待機系のMCU50による処理手順を説明する。図7に示すように、MCU50の動作監視部58は、現用系のMCU30の動作状態を所定の周期、例えば500msで監視する(ステップS31)。 Next, a processing procedure by the standby MCU 50 will be described. As shown in FIG. 7, the operation monitoring unit 58 of the MCU 50 monitors the operation state of the active MCU 30 at a predetermined period, for example, 500 ms (step S31).
動作監視部58によって現用系のMCU30の障害が検知されなかった場合には(ステップS32否定)、待機側更新部57は、更新情報バッファ56を参照して、現用側更新完了フラグがONであるか否かを判定する(ステップS33)。現用側更新完了フラグがOFFである場合には(ステップS33否定)、待機側更新部57は、処理をステップ31に戻す。
When the failure of the active MCU 30 is not detected by the operation monitoring unit 58 (No at Step S32), the standby
一方、現用側更新完了フラグがONである場合には(ステップS33肯定)、待機側更新部57は、更新情報バッファ56の待機側更新中フラグをONに設定する(ステップS34)。待機側更新中フラグがONに設定されることによって、MCU30の更新情報書込み部37による更新情報バッファ56の書込み処理が一時的に停止され、待機側更新部57による更新処理中に更新情報バッファ56内の情報が変更される事態が回避される。
On the other hand, when the working side update completion flag is ON (Yes at Step S33), the standby
続いて、待機側更新部57は、更新情報バッファ56から現用側更新開始アドレス及び現用側更新終了アドレスを取得する(ステップS35)。そして、待機側更新部57は、更新情報バッファ56の記憶領域のうち、取得した現用側更新開始アドレスから現用側更新終了アドレスまでの記憶領域に保持された更新アドレス及び更新値を読み出す。そして、待機側更新部57は、読み出した更新アドレスに対応するアドレスにおける設定情報DB55内の設定情報の値を当該更新アドレスに対応付けられた更新値で更新する(ステップS36)。
Subsequently, the standby
ここで、ステップS34〜S36の処理により更新アドレス及び更新値が読み出される更新情報バッファ56の態様を図8の(d)に例示する。例えば、図8の(c)に示すように、更新情報バッファ56のアドレス「0X020」及び「0X040」が現用側更新開始アドレス及び現用側更新終了アドレスにそれぞれ書き込まれているものとする。このような場合に、待機側更新部57は、図8の(d)に示すように、更新情報バッファ56内の待機側更新中フラグをOFFからONに設定する。続いて、待機側更新部57は、更新情報バッファ56から現用側更新開始アドレス「0X020」及び現用側更新終了アドレス「0X040」を取得する。そして、待機側更新部57は、更新情報バッファ56の記憶領域のうち、取得したアドレス「0X020」からアドレス「0X040」までの記憶領域に保持された更新アドレス及び更新値を読み出す。そして、待機側更新部57は、読み出した更新アドレス(例えば「address01」)に対応するアドレスにおける設定情報DB55内の設定情報の値を当該更新アドレスに対応付けられた更新値(例えば「data01」)で更新する。
Here, FIG. 8D illustrates an aspect of the update information buffer 56 from which the update address and the update value are read out by the processes in steps S34 to S36. For example, as shown in FIG. 8C, it is assumed that the addresses “0X020” and “0X040” of the update information buffer 56 are written in the working side update start address and the working side update end address, respectively. In such a case, the standby
ステップS36を終えると、待機側更新部57は、ステップS35で読み出した現用側更新開始アドレスを待機側更新開始アドレスに複写する(ステップS37)。その後、待機側更新部57は、待機側更新中フラグをOFFに設定するとともに、現用側更新完了フラグをOFFに設定し(ステップS38)、処理をステップS31に戻す。
When step S36 is completed, the standby
ここで、ステップS37〜S38の処理により待機側更新部57による設定情報の更新処理が終了した後の更新情報バッファ56の態様を図8の(e)に例示する。図8の(e)に示すように、待機側更新部57は、更新情報バッファ56から読み出した現用側更新開始アドレス「0X020」を待機側更新開始アドレスに複写する。その後、待機側更新部57は、待機側更新中フラグをOFFに設定するとともに、現用側更新完了フラグをOFFに設定する。これにより、待機側更新部57による設定情報の更新処理が終了する。
Here, FIG. 8E illustrates an aspect of the update information buffer 56 after the setting information update processing by the standby
一方、動作監視部58によって現用系のMCU30の障害が検知された場合には(ステップS32肯定)、起動処理部59は、設定情報DB55から読み出した設定情報を用いて切替制御部53等を起動させる(ステップS39)。そして、起動処理部59は、更新情報バッファ56を初期化し(ステップS40)、処理を終了する。
On the other hand, when the failure of the active MCU 30 is detected by the operation monitoring unit 58 (Yes at step S32), the activation processing unit 59 activates the switching
上述してきたように、本実施例に係る二重化システム10では、現用系のMCU30が更新後の設定情報の更新アドレス及び更新値のみを待機系のMCU50の更新情報バッファ56へ書き込む。そして、待機系のMCU50が更新情報バッファ56に書き込まれた更新アドレス及び更新値を用いて自身の保持する設定情報を更新する。このため、本実施例に係る二重化システム10では、現用系のMCU30が更新後の設定情報を待機系のMCU50の設定情報DB55に直接書き込むことを不要化してMCU50の保持する設定情報が破壊されることを回避し、冗長性を確保することができる。また、本実施例に係る二重化システム10では、更新アドレス及び更新値のみを保持する更新情報バッファ56のサイズを設定情報DB55と比して小さくすることができ、従来のように設定情報DBを2つ設ける構成よりも装置全体を小型化することができる。すなわち、本実施例に係る二重化システム10、現用系のMCU30及び待機系のMCU50によれば、冗長性を確保しつつ装置の大型化を抑制することが可能になる。
As described above, in the
また、本実施例に係る二重化システム10では、待機系のMCU50は、現用系のMCU30による更新アドレスと更新値との書き込みが完了したか否かを示す現用側更新完了フラグを更新情報バッファ56にさらに保持する。そして、待機系のMCU50は、更新情報バッファ56を参照し、現用側更新完了フラグが完了を示すONである場合に、更新情報バッファ56に書き込まれた更新アドレス及び更新値を用いて自身の保持する設定情報を更新する。このため、本実施例に係る二重化システム10では、現用系のMCU30による更新アドレス及び更新値の書き込みが完了する前に待機系のMCU50が更新情報バッファ56内の不完全なデータを用いて自身の設定情報を更新する事態を回避することができる。さらに、本実施例に係る二重化システム10によれば、待機系のMCU50内の設定情報に関する信頼性が向上するので、現用化時に行う設定情報の正当性チェックを不要化することができ、待機系のMCU50を高速に現用化することが可能になる。
Further, in the
また、本実施例に係る二重化システム10では、待機系のMCU50は、現用系のMCU30の動作状態を所定の周期で監視する。そして、待機系のMCU50は、現用系のMCU30の動作状態を監視する周期で更新情報バッファ56を参照し、現用側更新完了フラグが完了を示すONであるか否かを判定する。このため、本実施例に係る二重化システム10によれば、コールドスタンバイを採用する待機系のMCU50が通常行う現用系に対する監視処理の周期に併せて現用側更新完了フラグをチェックすることができ、処理を簡素化することができる。
In the
さて、これまで開示の装置に関する実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下では、本発明に含まれる他の実施例を説明する。 Although the embodiments related to the disclosed apparatus have been described above, the present invention may be implemented in various different forms other than the above-described embodiments. Therefore, another embodiment included in the present invention will be described below.
例えば、上記実施例2では、二重化されるMCU30及びMCU50における現用系と待機系との系の切り換えは、待機系のMCU50がMCU30の障害を検知した場合に実行されることとした。しかし、MCU50を待機系から現用系に切り換える契機はこれに限られない。例えば、二重化されるMCU30及びMCU50における現用系と待機系との系の切り替えは、外部のコントロール端末から現用化の指示を受け付けた場合に実行されるようにしてもよい。 For example, in the second embodiment, switching between the active system and the standby system in the duplexed MCU 30 and MCU 50 is executed when the standby MCU 50 detects a failure of the MCU 30. However, the opportunity to switch the MCU 50 from the standby system to the active system is not limited to this. For example, the switching between the active system and the standby system in the MCU 30 and MCU 50 to be duplexed may be executed when an instructing instruction is received from an external control terminal.
また、図示した各装置の各構成要素は、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、現用側更新部36または更新情報書込み部37の一部を現用系のMCU30の外部装置としてネットワーク経由で接続するようにしてもよい。例えば、待機側更新部57の一部を待機系のMCU50の外部装置としてネットワーク経由で接続するようにしてもよい。また、現用側更新部36または更新情報書込み部37を別の装置がそれぞれ有し、ネットワーク接続されて協働することで、上記の現用系のMCU30の機能を実現するようにしてもよい。また、待機側更新部57を別の装置がそれぞれ有し、ネットワーク接続されて協働することで、上記の待機系のMCU50の機能を実現するようにしてもよい。また、設定情報DB35の全部または一部を別の装置がそれぞれ有し、ネットワーク接続されて協働することで、上記の現用系のMCU30の機能を実現するようにしてもかまわない。また、設定情報DB55または更新情報バッファ56の全部または一部を別の装置がそれぞれ有し、ネットワーク接続されて協働することで、上記の待機系のMCU50の機能を実現するようにしてもかまわない。
In addition, each component of each illustrated apparatus does not necessarily need to be physically configured as illustrated. In other words, the specific form of distribution / integration of each device is not limited to that shown in the figure, and all or a part thereof may be functionally or physically distributed or arbitrarily distributed in arbitrary units according to various loads or usage conditions. Can be integrated and configured. For example, a part of the working side update unit 36 or the update information writing unit 37 may be connected as an external device of the working MCU 30 via a network. For example, a part of the standby
以上の実施例を含む実施形態に関し、さらに以下の付記を開示する。 The following supplementary notes are further disclosed with respect to the embodiments including the above examples.
(付記1)現用装置と待機装置とを有する二重化システムであって、
前記現用装置が、
二重化されたデータのうち一方のデータを保持する現用側記憶部と、
前記一方のデータを更新する現用側更新部と、
前記一方のデータの更新位置と当該更新位置における前記一方のデータの更新値とを前記待機装置へ書き込む書込み部と
を備え、
前記待機装置が、
前記二重化されたデータのうち他方のデータを保持する待機側記憶部と、
前記現用装置から書き込まれた更新位置と更新値とを対応付けて保持する更新情報記憶部と、
前記更新位置に対応する位置における前記他方のデータの値を当該更新位置に対応付けられた前記更新値で更新する待機側更新部と
を備えたことを特徴とする二重化システム。
(Appendix 1) A duplex system having an active device and a standby device,
The working device is
A working storage unit that holds one of the duplicated data; and
A working side updating unit for updating the one data;
A writing unit that writes the update position of the one data and the update value of the one data at the update position to the standby device, and
The standby device is
A standby storage unit for holding the other data of the duplicated data;
An update information storage unit that holds the update position and the update value written from the active device in association with each other;
A duplex system, comprising: a standby side update unit that updates the value of the other data at a position corresponding to the update position with the update value associated with the update position.
(付記2)前記更新情報記憶部は、前記更新位置と前記更新値との書き込みが完了したか否かを示す現用側更新完了フラグをさらに保持し、
前記待機側更新部は、前記更新情報記憶部を参照し、前記現用側更新完了フラグが完了を示す場合に、前記更新位置に対応する位置における前記他方のデータの値を当該更新位置に対応付けられた前記更新値で更新することを特徴とする付記1に記載の二重化システム。
(Supplementary Note 2) The update information storage unit further holds a working side update completion flag indicating whether or not the writing of the update position and the update value has been completed,
The standby side update unit refers to the update information storage unit, and associates the value of the other data at the position corresponding to the update position with the update position when the working side update completion flag indicates completion. The duplex system according to
(付記3)前記待機装置が、
前記現用装置の動作状態を所定の周期で監視する動作監視部をさらに備え、
前記待機側更新部は、前記所定の周期で前記更新情報記憶部を参照し、前記現用側更新完了フラグが完了を示す場合に、前記更新位置に対応する位置における前記他方のデータの値を当該更新位置に対応付けられた前記更新値で更新することを特徴とする付記2に記載の二重化システム。
(Appendix 3) The standby device is
An operation monitoring unit that monitors an operation state of the active device at a predetermined period;
The standby-side update unit refers to the update information storage unit at the predetermined cycle, and when the working-side update completion flag indicates completion, the standby-side update unit sets the value of the other data at the position corresponding to the update position. The duplex system according to
(付記4)待機装置とともに二重化される現用装置であって、
二重化されたデータのうち一方のデータを保持する現用側記憶部と、
前記一方のデータを更新する現用側更新部と、
前記一方のデータの更新位置と当該更新位置における更新値とを前記待機装置へ書き込む書き込み部と
を備えたことを特徴とする現用装置。
(Appendix 4) A working device that is duplicated with a standby device,
A working storage unit that holds one of the duplicated data; and
A working side updating unit for updating the one data;
An active device, comprising: a writing unit that writes an update position of the one data and an update value at the update position to the standby device.
(付記5)現用装置とともに二重化される待機装置であって、
二重化されたデータのうち一方のデータを保持する待機側記憶部と、
前記現用装置から書き込まれた前記二重化されたデータのうち他方のデータの更新位置と更新値とを対応付けて保持する更新情報記憶部と、
前記更新位置に対応する位置における前記一方のデータの値を当該更新位置に対応付けられた前記更新値で更新する待機側更新部と
を備えたことを特徴とする待機装置。
(Additional remark 5) It is a standby | standby apparatus duplexed with an active apparatus,
A standby storage unit for holding one of the duplicated data;
An update information storage unit that holds the update position and update value of the other data of the duplicated data written from the active device in association with each other;
A standby apparatus, comprising: a standby-side update unit that updates the value of the one data at a position corresponding to the update position with the update value associated with the update position.
(付記6)二重化されたデータのうち一方のデータを現用側記憶部に保持する現用装置と他方のデータを待機側記憶部に保持する待機装置とを有する二重化システムにおけるデータ更新方法であって、
前記現用装置が、
前記一方のデータを更新する現用側更新ステップと、
前記一方のデータの更新位置と当該更新位置における更新値とを前記待機装置へ書き込む書込みステップと
を含み、
前記待機装置が、
前記現用装置から書き込まれた更新位置と更新値とを対応付けて保持する更新情報記憶部に保持される前記更新位置と前記更新値とを読み出し、前記更新位置に対応する位置における前記他方のデータの値を当該更新位置に対応付けられた前記更新値で更新する待機側更新ステップ
を含んだことを特徴とするデータ更新方法。
(Supplementary note 6) A data update method in a duplex system having an active device for holding one of the duplicated data in the active storage unit and a standby device for holding the other data in the standby storage unit,
The working device is
A working side update step for updating the one data;
A write step of writing the update position of the one data and the update value at the update position to the standby device,
The standby device is
Read the update position and the update value held in the update information storage unit that holds the update position and the update value written from the active device in association with each other, and the other data at the position corresponding to the update position A data update method comprising: a standby side update step of updating the value of the value with the update value associated with the update position.
(付記7)二重化されたデータのうち一方のデータを現用側記憶部に保持する現用装置と他方のデータを待機側記憶部に保持する待機装置とを有する二重化システムにおけるデータ更新方法であって、
前記現用装置が、
前記一方のデータを更新する現用側更新ステップと、
前記一方のデータの更新位置と当該更新位置における更新値とを前記待機装置へ書き込む書込みステップと
を含んだことを特徴とするデータ更新方法。
(Supplementary note 7) A data update method in a duplex system having an active device that holds one of the duplicated data in the active storage unit and a standby device that holds the other data in the standby storage unit,
The working device is
A working side update step for updating the one data;
A data updating method comprising: a writing step of writing an update position of the one data and an update value at the update position to the standby device.
(付記8)二重化されたデータのうち一方のデータを現用側記憶部に保持する現用装置と他方のデータを待機側記憶部に保持する待機装置とを有する二重化システムにおけるデータ更新方法であって、
前記待機装置が、
前記現用装置から書き込まれた更新位置と更新値とを対応付けて保持する更新情報記憶部に保持される前記更新位置と前記更新値とを読み出し、前記更新位置に対応する位置における前記他方のデータの値を当該更新位置に対応付けられた前記更新値で更新する待機側更新ステップ
を含んだことを特徴とするデータ更新方法。
(Supplementary note 8) A data update method in a duplex system having an active device that holds one of the duplicated data in the active storage unit and a standby device that holds the other data in the standby storage unit,
The standby device is
Read the update position and the update value held in the update information storage unit that holds the update position and the update value written from the active device in association with each other, and the other data at the position corresponding to the update position A data update method comprising: a standby side update step of updating the value of the value with the update value associated with the update position.
1 二重化システム
3 現用装置
3a 現用側記憶部
3b 現用側更新部
3c 書込み部
5 待機装置
5a 待機側記憶部
5b 更新情報記憶部
10 二重化システム
20 OS
30 現用系のMCU
31 現用側I/F部
32 現用側ポート部
33 切替制御部
34 MCU間通信部
35 設定情報DB
36 現用側更新部
37 更新情報書込み部
50 待機系のMCU
51 待機側I/F部
52 待機側ポート部
53 切替制御部
54 MCU間通信部
55 設定情報DB
56 更新情報バッファ
57 待機側更新部
58 動作監視部
59 起動処理部
70 LIU
100 伝送装置
DESCRIPTION OF
30 Active MCU
31 working side I /
36 Working side update unit 37 Update information writing unit 50 Standby MCU
51 Standby-side I /
56
100 Transmission equipment
Claims (6)
前記現用装置が、
二重化されたデータのうち一方のデータを保持する現用側記憶部と、
前記一方のデータを更新する現用側更新部と、
前記一方のデータの更新位置と当該更新位置における前記一方のデータの更新値とを前記待機装置へ書き込む書込み部と
を備え、
前記待機装置が、
前記二重化されたデータのうち他方のデータを保持する待機側記憶部と、
前記現用装置から書き込まれた更新位置と更新値とを対応付けて保持する更新情報記憶部と、
前記更新位置に対応する位置における前記他方のデータの値を当該更新位置に対応付けられた前記更新値で更新する待機側更新部と
を備えたことを特徴とする二重化システム。 A duplex system having an active device and a standby device,
The working device is
A working storage unit that holds one of the duplicated data; and
A working side updating unit for updating the one data;
A writing unit that writes the update position of the one data and the update value of the one data at the update position to the standby device, and
The standby device is
A standby storage unit for holding the other data of the duplicated data;
An update information storage unit that holds the update position and the update value written from the active device in association with each other;
A duplex system, comprising: a standby side update unit that updates the value of the other data at a position corresponding to the update position with the update value associated with the update position.
前記待機側更新部は、前記更新情報記憶部を参照し、前記現用側更新完了フラグが完了を示す場合に、前記更新位置に対応する位置における前記他方のデータの値を当該更新位置に対応付けられた前記更新値で更新することを特徴とする請求項1に記載の二重化システム。 The update information storage unit further holds a working side update completion flag indicating whether or not the writing of the update position and the update value is completed,
The standby side update unit refers to the update information storage unit, and associates the value of the other data at the position corresponding to the update position with the update position when the working side update completion flag indicates completion. The duplex system according to claim 1, wherein the update is performed using the updated value.
前記現用装置の動作状態を所定の周期で監視する動作監視部をさらに備え、
前記待機側更新部は、前記所定の周期で前記更新情報記憶部を参照し、前記現用側更新完了フラグが完了を示す場合に、前記更新位置に対応する位置における前記他方のデータの値を当該更新位置に対応付けられた前記更新値で更新することを特徴とする請求項2に記載の二重化システム。 The standby device is
An operation monitoring unit that monitors an operation state of the active device at a predetermined period;
The standby-side update unit refers to the update information storage unit at the predetermined cycle, and when the working-side update completion flag indicates completion, the standby-side update unit sets the value of the other data at the position corresponding to the update position. The duplex system according to claim 2, wherein updating is performed with the update value associated with an update position.
二重化されたデータのうち一方のデータを保持する現用側記憶部と、
前記一方のデータを更新する現用側更新部と、
前記一方のデータの更新位置と当該更新位置における更新値とを前記待機装置へ書き込む書き込み部と
を備えたことを特徴とする現用装置。 A working device duplexed with the standby device,
A working storage unit that holds one of the duplicated data; and
A working side updating unit for updating the one data;
An active device, comprising: a writing unit that writes an update position of the one data and an update value at the update position to the standby device.
二重化されたデータのうち一方のデータを保持する待機側記憶部と、
前記現用装置から書き込まれた前記二重化されたデータのうち他方のデータの更新位置と更新値とを対応付けて保持する更新情報記憶部と、
前記更新位置に対応する位置における前記一方のデータの値を当該更新位置に対応付けられた前記更新値で更新する待機側更新部と
を備えたことを特徴とする待機装置。 A standby device that is duplicated with the active device,
A standby storage unit for holding one of the duplicated data;
An update information storage unit that holds the update position and update value of the other data of the duplicated data written from the active device in association with each other;
A standby apparatus, comprising: a standby-side update unit that updates the value of the one data at a position corresponding to the update position with the update value associated with the update position.
前記現用装置が、
前記一方のデータを更新する現用側更新ステップと、
前記一方のデータの更新位置と当該更新位置における更新値とを前記待機装置へ書き込む書込みステップと
を含み、
前記待機装置が、
前記現用装置から書き込まれた更新位置と更新値とを対応付けて保持する更新情報記憶部に保持される前記更新位置と前記更新値とを読み出し、前記更新位置に対応する位置における前記他方のデータの値を当該更新位置に対応付けられた前記更新値で更新する待機側更新ステップ
を含んだことを特徴とするデータ更新方法。 A data update method in a duplex system having an active device for holding one of the duplicated data in the active storage unit and a standby device for holding the other data in the standby storage unit,
The working device is
A working side update step for updating the one data;
A write step of writing the update position of the one data and the update value at the update position to the standby device,
The standby device is
Read the update position and the update value held in the update information storage unit that holds the update position and the update value written from the active device in association with each other, and the other data at the position corresponding to the update position A data update method comprising: a standby side update step of updating the value of the value with the update value associated with the update position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010125042A JP2011253242A (en) | 2010-05-31 | 2010-05-31 | Duplexing system, active device, standby device and method for updating data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010125042A JP2011253242A (en) | 2010-05-31 | 2010-05-31 | Duplexing system, active device, standby device and method for updating data |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011253242A true JP2011253242A (en) | 2011-12-15 |
Family
ID=45417157
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010125042A Pending JP2011253242A (en) | 2010-05-31 | 2010-05-31 | Duplexing system, active device, standby device and method for updating data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011253242A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2018008059A1 (en) * | 2016-07-04 | 2019-04-25 | 株式会社Fuji | Electronic component supply device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07287694A (en) * | 1994-04-19 | 1995-10-31 | Nec Corp | Multiplex processing system and memory synchronous control method |
JPH08328891A (en) * | 1995-06-02 | 1996-12-13 | Mitsubishi Electric Corp | Duplex system using standby redundant configuration |
JP2004094789A (en) * | 2002-09-03 | 2004-03-25 | Hitachi Kokusai Electric Inc | Multiplexing system |
US20070288532A1 (en) * | 2006-03-28 | 2007-12-13 | Oki Electric Industry Co., Ltd. | Method of updating an executable file for a redundant system with old and new files assured |
US20090055689A1 (en) * | 2007-08-21 | 2009-02-26 | International Business Machines Corporation | Systems, methods, and computer products for coordinated disaster recovery |
JP2009211517A (en) * | 2008-03-05 | 2009-09-17 | Nec Corp | Virtual computer redundancy system |
-
2010
- 2010-05-31 JP JP2010125042A patent/JP2011253242A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07287694A (en) * | 1994-04-19 | 1995-10-31 | Nec Corp | Multiplex processing system and memory synchronous control method |
JPH08328891A (en) * | 1995-06-02 | 1996-12-13 | Mitsubishi Electric Corp | Duplex system using standby redundant configuration |
JP2004094789A (en) * | 2002-09-03 | 2004-03-25 | Hitachi Kokusai Electric Inc | Multiplexing system |
US20070288532A1 (en) * | 2006-03-28 | 2007-12-13 | Oki Electric Industry Co., Ltd. | Method of updating an executable file for a redundant system with old and new files assured |
US20090055689A1 (en) * | 2007-08-21 | 2009-02-26 | International Business Machines Corporation | Systems, methods, and computer products for coordinated disaster recovery |
JP2009211517A (en) * | 2008-03-05 | 2009-09-17 | Nec Corp | Virtual computer redundancy system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2018008059A1 (en) * | 2016-07-04 | 2019-04-25 | 株式会社Fuji | Electronic component supply device |
JP7017508B2 (en) | 2016-07-04 | 2022-02-08 | 株式会社Fuji | Electronic component supply device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11194679B2 (en) | Method and apparatus for redundancy in active-active cluster system | |
CN108964948A (en) | Principal and subordinate's service system, host node fault recovery method and device | |
US9992058B2 (en) | Redundant storage solution | |
CN110597910A (en) | Remote data synchronization method, device and system | |
CN102238093A (en) | Service interruption prevention method and device | |
WO2020134199A1 (en) | Method and apparatus for implementing data consistency, and server and terminal | |
JP5194962B2 (en) | Data processing method, storage apparatus, and storage system | |
CN102710438B (en) | Node management method, device and system | |
JP2009080569A (en) | Data synchronous system, method and program, and server | |
CN110908723A (en) | Main/standby switching method and device of operating system and related equipment | |
CN109120386A (en) | Wireless communication device, system and method | |
JP6053637B2 (en) | Method for upgrading virtual host and network device | |
CN110895469A (en) | Method and device for upgrading dual-computer hot standby system, electronic equipment and storage medium | |
WO2024124912A1 (en) | Data synchronization method and apparatus for redundant firmware, and non-volatile readable storage medium | |
JP2011253242A (en) | Duplexing system, active device, standby device and method for updating data | |
JP5293141B2 (en) | Redundant system | |
JP2013187806A (en) | Communication device and setting method therefor | |
JP5716460B2 (en) | Cluster system and control method thereof | |
WO2018121067A1 (en) | Network device update method and network device | |
JP6576556B2 (en) | Communication device, communication processing method, communication processing apparatus, and communication system | |
CN108984602A (en) | A kind of database control method and Database Systems | |
CN109697110B (en) | Transaction coordination processing system, method and device and electronic equipment | |
CN108400881A (en) | Message engine dynamic adjusting method, device and electronic equipment based on state machine | |
JP6554801B2 (en) | Redundant communication device and control method thereof | |
KR101628219B1 (en) | Method and apparatus for operating controller of software defined network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130124 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140225 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20140701 |