JP2016024537A - Redundant system, redundant apparatus, and switching method thereof - Google Patents

Redundant system, redundant apparatus, and switching method thereof Download PDF

Info

Publication number
JP2016024537A
JP2016024537A JP2014146823A JP2014146823A JP2016024537A JP 2016024537 A JP2016024537 A JP 2016024537A JP 2014146823 A JP2014146823 A JP 2014146823A JP 2014146823 A JP2014146823 A JP 2014146823A JP 2016024537 A JP2016024537 A JP 2016024537A
Authority
JP
Japan
Prior art keywords
redundant
management data
synchronization signal
active
switching
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
JP2014146823A
Other languages
Japanese (ja)
Other versions
JP6367630B2 (en
Inventor
南 克享
Katsuyuki Minami
克享 南
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 Network and Sensor Systems Ltd
Original Assignee
NEC Network and Sensor 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 Network and Sensor Systems Ltd filed Critical NEC Network and Sensor Systems Ltd
Priority to JP2014146823A priority Critical patent/JP6367630B2/en
Publication of JP2016024537A publication Critical patent/JP2016024537A/en
Application granted granted Critical
Publication of JP6367630B2 publication Critical patent/JP6367630B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a redundant system, a redundant apparatus, and its switching method that are capable of shortening a time to switch to an active system from detecting the state of the active system in a multi-redundant system comprising three or more redundant apparatuses.SOLUTION: A redundant system 1 includes: a synchronization signal generator 10 that outputs a synchronization signal indicating timing to perform communication of management data 50 including an alarm state; and a plurality of redundant apparatuses 21-2n that manage switching on the basis of the management data 50 mutually obtained in synchronization with the synchronization signal.SELECTED DRAWING: Figure 1

Description

本発明は、冗長系システム、冗長機器及びその切替方法に関し、特に冗長機器の現用系と待機系とを切替える冗長系システム、冗長機器及びその切替方法に関する。   The present invention relates to a redundant system, a redundant device, and a switching method thereof, and more particularly, to a redundant system, a redundant device, and a switching method thereof that switch a redundant device between an active system and a standby system.

冗長系システムにおいては、同一機能をもつ冗長機器が複数台備えられ、現用系に異常が検知された場合等にはその冗長機器は待機系に切替えられ、待機系のうちから選択された冗長機器が現用系に切替えられる。具体的には、例えば、特開平9−305558号公報に示されているシステムがある。すなわち現用系サーバ装置と待機系サーバ装置からなるデータベースシステムにおいて、現用系サーバ装置と待機系サーバ装置のシステム監視プロセスが、互いに通信を行うことで相手サーバ装置の監視を行う。待機系サーバ装置のシステム監視プロセスが、現用系サーバ装置の異常を検知した場合、自己のシステムを現用システムに切り替える。
また例えば、特開平5−250195号公報に示されている、現用系プロセッサと待機系プロセッサをもつデュプレックス構成の情報処理システムもある。すなわち現用系のプロセッサの稼働状態を待機系のプロセッサによって調査するために、通信回線を介する相互データ通信によって相手側のプロセッサの稼働状況を監視するシステムが知られている。
In a redundant system, multiple redundant devices with the same function are provided, and when an abnormality is detected in the active system, the redundant device is switched to the standby system, and the redundant device selected from the standby systems Is switched to the active system. Specifically, for example, there is a system disclosed in JP-A-9-305558. That is, in a database system composed of an active server device and a standby server device, system monitoring processes of the active server device and the standby server device monitor each other server device by communicating with each other. When the system monitoring process of the standby server apparatus detects an abnormality in the active server apparatus, it switches its own system to the active system.
Further, for example, there is a duplex configuration information processing system having an active processor and a standby processor as disclosed in Japanese Patent Laid-Open No. 5-250195. That is, in order to investigate the operating state of the active processor by a standby processor, a system is known that monitors the operating status of the other processor through mutual data communication via a communication line.

特開平9−305558号公報Japanese Patent Laid-Open No. 9-305558 特開平5−250195号公報JP-A-5-250195

近年、信頼性の要求されるシステムでは、3台以上の装置が冗長化された多数冗長系が採用されている。上述の特開平9−305558号公報及び特開平5−250195号公報に記載の技術では、2台のサーバあるいはプロセッサ間で通信を実施すれば両方の装置の状態が同時に検知できる。しかし、3台以上の冗長機器を含む多数冗長系においては、3台同時に状態を把握するのが困難であり、現用系の状態を検知してから現用系を切替えるまでに2重化システムと比較して時間がかかっていた。   In recent years, a system requiring high reliability has adopted a multi-redundant system in which three or more devices are made redundant. With the techniques described in the above-mentioned JP-A-9-305558 and JP-A-5-250195, the state of both devices can be detected simultaneously if communication is performed between two servers or processors. However, in a multi-redundant system that includes three or more redundant devices, it is difficult to grasp the status of three units at the same time. Compared with a duplex system from the detection of the status of the active system to the switching of the active system And it took time.

本発明は、3台以上の冗長機器からなる多数冗長系システムにおいて、現用系の状態を検知してから現用系に切替える時間を短縮可能な冗長系システム、冗長機器及びその切替方法を提供することを目的とする。   The present invention provides a redundant system, a redundant device, and a switching method thereof capable of shortening the time for switching to the active system after detecting the status of the active system in a multiple redundant system including three or more redundant devices. With the goal.

本発明の冗長系システムは、アラーム状態を含む管理データの通信を実施するタイミングを示す同期信号を出力する同期信号発生器と、同期信号に同期して相互に取得した管理データに基づいて切替えを管理する複数の冗長機器とを有している。   The redundant system according to the present invention includes a synchronization signal generator that outputs a synchronization signal indicating the timing of communication of management data including an alarm state, and switching based on the management data acquired mutually in synchronization with the synchronization signal. A plurality of redundant devices to be managed.

また、本発明の冗長機器は、アラーム状態を含む管理データの通信を実施するタイミングを示す同期信号を受信し、同期信号に同期して相互に管理データの通信を実施する通信部と、同期信号に同期して取得した管理データに基づいて切替えを管理する切替管理部と、を有している。   In addition, the redundant device of the present invention receives a synchronization signal indicating a timing for performing communication of management data including an alarm state, and a communication unit that performs communication of management data with each other in synchronization with the synchronization signal, and a synchronization signal A switching management unit that manages switching based on management data acquired in synchronization with the management data.

また、本発明の冗長機器の切替え方法は、アラーム状態を含む管理データの通信を実施するタイミングを示す同期信号を受信するステップと、同期信号に同期して相互に管理データの通信を実施するステップと、同期信号に同期して取得した管理データに基づいて切替えを管理するステップとを有している。   The redundant device switching method of the present invention includes a step of receiving a synchronization signal indicating a timing for performing communication of management data including an alarm state, and a step of performing communication of management data with each other in synchronization with the synchronization signal. And a step of managing switching based on management data acquired in synchronization with the synchronization signal.

本発明によれば、3台以上の冗長機器からなる多数冗長系システムにおいて、現用系の状態を検知してから現用系に切替える時間を短縮できる。   According to the present invention, in a multi-redundant system composed of three or more redundant devices, it is possible to shorten the time for switching to the active system after detecting the status of the active system.

図1は、本発明の冗長系システムの一実施形態の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an embodiment of a redundant system according to the present invention. 図2は、図1の冗長機器の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of the redundant device of FIG. 図3は、冗長機器が他の冗長機器との間で通信する管理データの構成を示す図である。FIG. 3 is a diagram illustrating a configuration of management data that the redundant device communicates with other redundant devices. 図4は、冗長機器のデータ送信動作を示すフローチャートである。FIG. 4 is a flowchart showing the data transmission operation of the redundant device. 図5は、いずれかの冗長機器で強制現用フラグがセットされた場合の冗長機器の動作を示すフローチャートである。FIG. 5 is a flowchart showing the operation of the redundant device when the forced working flag is set in any of the redundant devices. 図6は、現用系でアラームフラグがセットされた場合の冗長機器の動作を示すフローチャートである。FIG. 6 is a flowchart showing the operation of the redundant device when the alarm flag is set in the active system. 図7は、全ての冗長機器が待機系として動作した場合の冗長機器の動作を示すフローチャートである。FIG. 7 is a flowchart showing the operation of the redundant device when all the redundant devices operate as a standby system. 図8は、複数の現用系が存在した場合の冗長機器の動作を示すフローチャートである。FIG. 8 is a flowchart showing the operation of the redundant device when a plurality of active systems exist.

本発明の実施の形態について図面を参照して詳細に説明する。   Embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の冗長系システムの一実施形態の構成を示す図である。   FIG. 1 is a diagram showing a configuration of an embodiment of a redundant system according to the present invention.

冗長系システム1は、同期信号を出力する同期信号発生器10と、同期信号に合わせ、相互に通信を実施する冗長機器21〜2nと、同期信号発生器10から冗長機器21〜2nに同期信号を入力するために同期信号発生器10とを備えている。さらに冗長系システム1は、冗長機器21〜2nを接続する同期信号ネットワーク30と、冗長機器間で管理データを双方向通信するため冗長機器21〜2n間を接続する管理データネットワーク40とを備えている。   The redundant system 1 includes a synchronization signal generator 10 that outputs a synchronization signal, redundant devices 21 to 2n that communicate with each other according to the synchronization signal, and synchronization signals from the synchronization signal generator 10 to the redundant devices 21 to 2n. Is provided with a synchronizing signal generator 10. The redundant system 1 further includes a synchronization signal network 30 that connects the redundant devices 21 to 2n, and a management data network 40 that connects the redundant devices 21 to 2n in order to bidirectionally communicate management data between the redundant devices. Yes.

同期信号発生器10は、冗長機器21〜2nに接続され、冗長機器21〜2nが管理データを送信するタイミングを示す同期信号を発生し、冗長機器21〜2nに同期信号に同期した通信を指示する。   The synchronization signal generator 10 is connected to the redundant devices 21 to 2n, generates a synchronization signal indicating the timing at which the redundant devices 21 to 2n transmit management data, and instructs the redundant devices 21 to 2n to communicate in synchronization with the synchronization signal. To do.

管理データネットワーク40は、冗長機器21〜2nは、他のすべての冗長機器との間で管理データを通信可能に接続するネットワークである。   The management data network 40 is a network in which the redundant devices 21 to 2n are connected so that management data can be communicated with all other redundant devices.

図2は、図1の冗長機器21の構成を示すブロック図である。なお本実施形態においては、冗長機器21〜2nはいずれも図2に示す構成を備えている。   FIG. 2 is a block diagram showing the configuration of the redundant device 21 of FIG. In the present embodiment, all of the redundant devices 21 to 2n have the configuration shown in FIG.

図2に示すように、冗長機器21は、自機器のアラーム状態を含む管理データの通信を実施するための通信部211と、受信した管理データに基づいて、自機器の切替えの管理等の処理を行うための切替管理部212とを備えている。切替管理部212は、たとえばCPU2121と、メモリ2122とを含んで構成されている。CPU2121としてFPGA(Field Programmable Gate Array)を用いてもよい。   As shown in FIG. 2, the redundant device 21 performs processing such as management of switching of its own device based on the communication unit 211 for carrying out communication of management data including the alarm state of its own device and the received management data. And a switching management unit 212 for performing the above. The switching management unit 212 includes, for example, a CPU 2121 and a memory 2122. An FPGA (Field Programmable Gate Array) may be used as the CPU 2121.

通信部211は、同期信号発生器10から同期信号を受信すると、図3に示す現用系機器番号51、アラームフラグ(ALM)52、および強制現用フラグ(SEL)53を含む管理データ50を、冗長系システム1内の他の冗長機器22〜2nに対して送信する。これとともに、他の冗長機器22〜2nから送信された管理データ50を受信する。   When the communication unit 211 receives the synchronization signal from the synchronization signal generator 10, the communication unit 211 redundantly manages the management data 50 including the active device number 51, the alarm flag (ALM) 52, and the forced operation flag (SEL) 53 shown in FIG. 3. It is transmitted to the other redundant devices 22-2n in the system system 1. At the same time, the management data 50 transmitted from the other redundant devices 22-2n is received.

切替管理部212は、通信部211が送信する管理データ50中の、現用系機器番号51、アラームフラグ(ALM)52、および強制現用フラグ(SEL)53を管理する。また切替管理部212は、自機器及び他の冗長機器に固有に付与されている機器番号の情報を保持している。   The switching management unit 212 manages the working device number 51, the alarm flag (ALM) 52, and the forced working flag (SEL) 53 in the management data 50 transmitted by the communication unit 211. In addition, the switching management unit 212 holds information on device numbers uniquely assigned to the own device and other redundant devices.

現用系機器番号51は、現用系の機器では自機器の機器番号がセットされ、待機系の機器ではリセットされて(「0」がセットされて)いる。   The active device number 51 is set to the device number of the own device in the active device and is reset (set to “0”) in the standby device.

アラームフラグ(ALM)52は、自機器がアラーム状態であればセットされ(例えば「1」がセットされ)、自機器がアラーム状態でなければリセットされて(例えば「0」がセットされて)いる。少なくとも同期信号のタイミング以上の頻度で切替管理部212が自機器内のアラーム状態を確認し、その結果がアラームフラグ(ALM)52に反映される。   The alarm flag (ALM) 52 is set if the own device is in an alarm state (for example, “1” is set), and reset if the own device is not in an alarm state (for example, “0” is set). . The switching management unit 212 confirms the alarm state in the own device at least at a frequency equal to or higher than the timing of the synchronization signal, and the result is reflected in the alarm flag (ALM) 52.

強制現用フラグ(SEL)53は、自機器のアラーム状態により強制的に他の冗長機器を現用系に切り替える場合、あるいは逆に、強制的に他の冗長機器から自機器を現用系に切り替える場合、にセットされる(例えば「1」がセットされ)。そうでなければリセットされて(例えば「0」がセットされて)いる。   The forced working flag (SEL) 53 is used when forcibly switching another redundant device to the working system according to the alarm state of the own device, or conversely when forcibly switching the own device from another redundant device to the working system. (For example, “1” is set). Otherwise, it is reset (for example, “0” is set).

また、切替管理部212は、同期信号に同期して受信した管理データ50に含まれている現用系機器番号51がすべてリセット状態であるかを判断し、連続何回すべてリセット状態であったかを示す情報を保持している。また、すべてリセット状態になる前に現用系であった機器の機器番号も保持している。   In addition, the switching management unit 212 determines whether all the active device numbers 51 included in the management data 50 received in synchronization with the synchronization signal are in the reset state, and indicates how many times they have been in the reset state continuously. Holds information. It also holds the device number of the device that was active before all were reset.

冗長機器21〜2nは、自機器がアラーム状態でかつ現用系の場合に現用系機器番号により指定する機器番号を決めるルールを予め他の冗長機器と共有しておく。また受信した管理データに強制現用フラグ(SEL)がセットされているものが2つ以上あった場合についても、予めルールを共有しておく。その他、全てが待機系として動作した場合、指定された現用系が何らかの要因で現用系に切替えがされなかった場合、複数の現用系が存在した場合、等についても、予めルールを共有しておく。   The redundant devices 21 to 2n share in advance a rule for determining a device number designated by the active device number when the self device is in an alarm state and is in the active system with other redundant devices. The rule is also shared in advance when there are two or more of the received management data in which the forced working flag (SEL) is set. In addition, if all of them operate as standby systems, the designated active system is not switched to the active system for some reason, or there are a plurality of active systems, the rules are shared in advance. .

次に本発明の実施の形態の動作について図面を参照して詳細に説明する。図4は、図1の冗長機器の送信処理の動作を示すフローチャートである。   Next, the operation of the embodiment of the present invention will be described in detail with reference to the drawings. FIG. 4 is a flowchart showing an operation of transmission processing of the redundant device of FIG.

図4を参照すると、まず、冗長機器21の切替管理部212は、同期信号発生器10が発生した管理データを送信するタイミングを示す同期信号を受信する。その同期信号に同期して、メモリ2122中のアラームフラグ(ALM)と強制現用フラグ(SEL)のデータをリセットし(ステップS1)、自機器のアラーム状態の確認を行う(ステップS2)。
もしアラーム状態であればメモリ2122中のアラームフラグのデータをセットする(ステップS3)。またアラーム状態であれば、自機器が現用系か判断する(ステップS4)。自機器が現用系であれば、通信を行っている他の装置のうち、予め他の冗長機器と共有した所定のルールに基づいて、例えば、自機器の次に大きい機器番号を現用系機器番号にセットする(ステップS5)。自機器が現用系でなければ現用系機器番号は変更しない。
Referring to FIG. 4, first, the switching management unit 212 of the redundant device 21 receives a synchronization signal indicating a timing for transmitting management data generated by the synchronization signal generator 10. In synchronization with the synchronization signal, the data of the alarm flag (ALM) and the forced working flag (SEL) in the memory 2122 are reset (step S1), and the alarm state of the own device is confirmed (step S2).
If it is in the alarm state, the alarm flag data in the memory 2122 is set (step S3). If it is in the alarm state, it is determined whether the own device is an active system (step S4). If the own device is the active device, among the other devices performing communication, for example, the device number next to the own device is assigned to the active device number based on a predetermined rule shared in advance with other redundant devices. (Step S5). If the own device is not the active device, the active device number is not changed.

またステップS2で自機器がアラーム状態でなければ、強制的に自機器を現用系に切り替えるかを決定する(S6)。例えば、管理データに、アラーム状態ではないが、アラーム状態になる前兆を示す情報、例えば充電情報などを含ませ、他の機器の充電量が少なく自機器がアラーム状態になる可能性が最も低いといったような場合や、他の理由で強制的に切り替える場合等、強制的に自機器を現用系に切り替える場合にはメモリ2122中の強制現用フラグ(SEL)のデータをセットし(ステップS7)、現用系機器番号に、自機器の機器番号をセットする(ステップS8)。
切替えない場合は、強制現用フラグ(SEL)、現用系機器番号は変更しない。
If the own device is not in the alarm state in step S2, it is determined whether to forcibly switch the own device to the active system (S6). For example, the management data includes information indicating a precursor to the alarm state, such as charging information, which is not an alarm state, such as charging information. In such a case or when forcibly switching the own device to the active system, such as forcibly switching for other reasons, the data of the forcible working flag (SEL) in the memory 2122 is set (step S7). The device number of the own device is set in the system device number (step S8).
If not switched, the forced working flag (SEL) and the working device number are not changed.

以上のステップS1からS8が完了したら、メモリ2122中の現用系機器番号、アラームフラグ、および強制現用フラグを取得して管理データを作成する。そして他のすべての冗長機器に対して、現用系機器番号、アラームフラグ、および強制現用フラグを含む管理データを送信する(ステップS9)。   When the above steps S1 to S8 are completed, the active device number, the alarm flag, and the forced working flag in the memory 2122 are acquired and management data is created. Then, the management data including the working device number, the alarm flag, and the forced working flag is transmitted to all other redundant devices (step S9).

図5から8は、他の冗長機器から管理データが送信され、各冗長機器がそれらを受信した後の動作を示すフローチャートである。なお、自機器から送信した管理データも他の冗長系装置から受信した管理データと同様に扱い、以下の処理を実施する。   FIGS. 5 to 8 are flowcharts showing operations after management data is transmitted from other redundant devices and each redundant device receives them. The management data transmitted from the own device is handled in the same manner as the management data received from other redundant devices, and the following processing is performed.

まず、図5を参照して、いずれかの冗長機器で強制現用フラグ(SEL)がセットされた場合の冗長機器の動作を説明する。   First, with reference to FIG. 5, the operation of the redundant device when the forced working flag (SEL) is set in any of the redundant devices will be described.

まず受信した管理データに強制現用フラグ(SEL)がセットされているものがあるかを判断し(ステップS11)、セットされているものがない場合は、後述の図6のフローにしたがって動作する。   First, it is determined whether or not the received management data has a forced working flag (SEL) set (step S11), and if there is no set, it operates according to the flow of FIG. 6 described later.

もしセットされているものがあった場合、受信した管理データのうち、強制現用フラグ(SEL)がセットされているものが1つのみか判断する(ステップS12)。もし1つであれば、自機器の管理データかを判断し(ステップS13)、自機器であれば現用系機器番号に、自機器の機器番号をセットする(ステップS14)。自機器でなければ現用系機器番号をリセットする(ステップS15)。受信した管理データに強制現用フラグ(SEL)がセットされているものが2つ以上あった場合は、予め他の冗長機器と共有した所定のルールに基づいて、例えば、現用系機器番号が一番小さい番号は自機器の機器番号か判断する(ステップS16)。自機器であれば現用系機器番号に自機器の機器番号をセットする(ステップS17)。自機器の機器番号でなければ現用系機器番号をリセットする(ステップS18)。   If there is one that has been set, it is determined whether only one of the received management data has the forced working flag (SEL) set (step S12). If there is one, it is determined whether it is management data of the own device (step S13), and if it is the own device, the device number of the own device is set to the active device number (step S14). If it is not the own device, the active device number is reset (step S15). If there are two or more of the received management data for which the forced working flag (SEL) is set, for example, the working device number is the first based on a predetermined rule shared in advance with other redundant devices. It is determined whether the smaller number is the device number of the own device (step S16). If it is the own device, the device number of the own device is set to the active device number (step S17). If it is not the device number of the own device, the active device number is reset (step S18).

次に図6を参照して、現用系でアラームフラグ(ALM)がセットされた場合の冗長機器の動作を説明する。図5のフローのステップS11において受信した管理データに強制現用フラグ(SEL)がセットされているものがない場合、次に以下のフローにしたがって動作する。   Next, the operation of the redundant device when the alarm flag (ALM) is set in the active system will be described with reference to FIG. If none of the management data received in step S11 in the flow of FIG. 5 has the forced working flag (SEL) set, the operation is performed according to the following flow.

現用系機器のアラームフラグ(ALM)がセットされているか判断し(ステップS21)、現用系のアラームフラグ(ALM)がセットされている場合、現用系のデータにおいて指定された現用系機器番号が自機器の機器番号か判断する(S22)。自機器であれば現用系機器番号に自機器の機器番号をセットし(ステップS23)、自機器でなければ現用系機器番号をリセットする(ステップS24)。ステップS21において現用系機器のアラームフラグ(ALM)がセットされていない場合は、次の図7のフローにしたがって動作する。   It is determined whether the alarm flag (ALM) of the active device is set (step S21). If the alarm flag (ALM) of the active device is set, the active device number specified in the active data is automatically set. It is determined whether the device number is the device number (S22). If it is the own device, the device number of the own device is set in the active device number (step S23), and if it is not the own device, the active device number is reset (step S24). If the alarm flag (ALM) of the active device is not set in step S21, the operation is performed according to the flow of the following FIG.

次に、図7を参照して、全ての冗長機器が待機系として動作した場合の冗長機器の動作を説明する。   Next, the operation of the redundant device when all the redundant devices operate as a standby system will be described with reference to FIG.

例えば現用系が何らかの要因で強制現用フラグ(SEL)を設定せず、強制動作を停止した場合等にすべての機器が待機系として動作することがある。同期信号が3回送信される間、3回連続で、全てが待機系として動作した場合、予め他の冗長機器と共有した所定のルールに基づいて、例えば、最後に現用系であった冗長機器の次の機器番号の冗長機器が、現用系として動作する。また、電源投入時には、予め他の冗長機器と共有した所定のルールに基づいて、例えば、1番小さい機器番号の冗長装置が現用系となるよう、最後に現用系であった冗長機器を1番小さい機器番号より小さい番号、例えば「0」に設定しておく必要がある。   For example, when the active system does not set the forced active flag (SEL) for some reason and the forced operation is stopped, all devices may operate as a standby system. When all of the synchronous signals are transmitted three times in succession and all operate as a standby system, based on a predetermined rule shared in advance with other redundant devices, for example, the redundant device that was the last active system The redundant device with the next device number operates as the active system. When power is turned on, based on a predetermined rule shared in advance with other redundant devices, for example, the redundant device with the smallest device number becomes the active system, so that the last redundant device that is the active system is first. It is necessary to set a number smaller than the smaller device number, for example, “0”.

さらに例えば指定された現用系が何らかの要因で現用系に切替えがされなかった場合等に、その後もすべての機器が待機系のままとなることがある。そのときは、予め他の冗長機器と共有した所定のルールに基づいて、例えば6回連続で全てが待機系として動作した場合、その時の一番小さい機器番号が、現用系として動作するように切替処理する。   Further, for example, when the designated active system is not switched to the active system for some reason, all devices may remain in the standby system thereafter. In that case, based on a predetermined rule shared in advance with another redundant device, for example, when all operate as a standby system six times in a row, the smallest device number at that time is switched to operate as the active system To process.

図7を参照すると、まず、受信したデータに含まれている現用系機器番号がすべてリセット状態であるか(0であるか)を判断する(ステップS31)。すべてリセット状態であれば、6回連続で現用系機器番号がすべてリセット状態であるか判断する(ステップS32)。そうでなければ3回連続ですべてのデータの現用系機器番号がリセット状態であるか判断する(ステップS33)。   Referring to FIG. 7, it is first determined whether or not all the active device numbers included in the received data are in a reset state (0) (step S31). If they are all in the reset state, it is determined whether all the active device numbers are in the reset state for six consecutive times (step S32). Otherwise, it is determined whether the active device number of all data is in a reset state three times in succession (step S33).

3回連続以外の回数であれば、現用系機器番号をリセットする(ステップS34)。   If the number of times is not three consecutive times, the active device number is reset (step S34).

3回連続で現用系機器番号がすべてリセット状態であれば、自機器の機器番号が、予め他の冗長機器と共有した所定のルールに基づいて決められる機器番号であるか判断する(ステップS35)。例えば、すべてのデータの現用系機器番号がリセット状態になる前の、最後に現用系であった冗長機器の機器番号の次に大きい番号であるか判断する。自機器の機器番号が、最後に現用系であった冗長機器の機器番号の次に大きい番号であれば、現用系機器番号に自機器の機器番号をセットし(ステップS36)。   If all the active device numbers are in the reset state for three consecutive times, it is determined whether the device number of the own device is a device number determined based on a predetermined rule shared in advance with other redundant devices (step S35). . For example, it is determined whether the active device number of all data is the next higher number than the device number of the redundant device that was the last active device before the reset state. If the device number of the own device is the next higher number than the device number of the last redundant device, the device number of the own device is set to the active device number (step S36).

ステップS32で、6回連続で現用系機器番号がリセット状態であれば、通信を行っている装置のうち予め他の冗長機器と共有した所定のルールに基づいて、例えば、一番小さい機器番号が自機器の機器番号であるか判断する(ステップS37)。通信を行っている装置のうち一番小さい機器番号が自機器の機器番号であれば現用系機器番号に自機器の機器番号をセットし(ステップS38)、自機器でなければ現用系機器番号をリセットする(ステップS39)。ステップS31において現用系機器番号がリセット状態でないものがある場合は、次の図7のフローにしたがって動作する。   In step S32, if the active device number is in the reset state for six consecutive times, for example, the smallest device number is determined based on a predetermined rule shared in advance with other redundant devices among the devices performing communication. It is determined whether it is the device number of the own device (step S37). If the smallest device number among the communicating devices is the device number of the own device, the device number of the own device is set to the active device number (step S38). If not, the active device number is set. Reset (step S39). If there is a device whose working system number is not in the reset state in step S31, it operates according to the flow of the following FIG.

最後に図8を参照して複数の現用系が存在した場合の冗長機器の動作を説明する。   Finally, the operation of the redundant device when there are a plurality of active systems will be described with reference to FIG.

アラームがない現用系、前回の同期信号時に強制的に自機器に現用系機器番号を設定した機器、現用系にアラームがあって機器番号を設定した機器に該当するものが複数あれば、管理データ中の現用系機器番号が0以外であるものが複数存在することになる。   If there is more than one applicable to the active system that has no alarm, the device that forcibly set the active device number to its own device at the time of the previous synchronization signal, or the device that has an alarm and the device number is set to the active device, management data There are a plurality of devices whose active device numbers are other than 0.

管理データ中の現用系機器番号が0以外であるものが複数存在した場合、予め他の冗長機器と共有した所定のルールに基づいて決められる機器番号、例えば、その中から一番小さい機器番号の機器が、現用系として動作する。   If there are multiple devices with management device numbers other than 0 in the management data, a device number determined based on a predetermined rule shared in advance with other redundant devices, for example, the smallest device number among them The device operates as an active system.

図8を参照すると、まず、受信した管理データ中の現用系機器番号が0以外であるものが複数存在するか判断する(ステップS41)。複数存在する場合、そのうち予め他の冗長機器と共有した所定のルールに基づいて、例えば、現用系機器番号が一番小さい番号は自機器の機器番号か判断し(ステップS42)、自機器であれば現用系機器番号に、自機器の機器番号をセットする(ステップS43)。自機器の機器番号でなければ現用系機器番号をリセットする(ステップS44)。   Referring to FIG. 8, first, it is determined whether there are a plurality of management device numbers other than 0 in the received management data (step S41). When there are a plurality of devices, based on a predetermined rule shared with other redundant devices in advance, for example, it is determined whether the smallest device number is the device number of the own device (step S42). For example, the device number of the own device is set as the active device number (step S43). If it is not the device number of the own device, the active device number is reset (step S44).

ステップS41で現用系機器番号が0以外であるものが複数存在しない場合、現用系機器番号が自機器の機器番号か判断し(ステップS45)、自機器であれば現用系機器番号に、自機器の機器番号をセットし(ステップS46)、現用系を、現用系機器番号の機器とする(ステップS48)。自機器でなければ現用系機器番号をリセットする(ステップS47)。
すなわち現用系機器番号に自機器の機器番号がセットされている場合には、自機器がそれまで現用系であれば現用系としての動作を継続し、自機器がそれまで待機系であれば、現用系への切替処理を開始する。現用系機器番号に自機器の機器番号がセットされていなければ、自機器がそれまで待機系であれば待機系としての動作を継続し、自機器がそれまで現用系であれば、待機系への切替処理を開始する。
If there are not a plurality of devices whose active device number is other than 0 in step S41, it is determined whether the active device number is the device number of the own device (step S45). Device number is set (step S46), and the working system is set as the device having the working system number (step S48). If it is not the own device, the active device number is reset (step S47).
In other words, if the device number of the own device is set in the active device number, if the own device has been active until then, the operation as the active device is continued, and if the own device has been standby until then, Starts switching to the active system. If the device number of the own device is not set in the active device number, if the own device has been in the standby system, the operation as the standby system is continued. The switching process is started.

以上説明したように、本実施形態によれば、同期信号発生器10が発生した管理データを送信するタイミングを示す同期信号を受信する。各冗長機器が同期信号に同期して、自機器のアラーム状態、強制切替えを希望する強制現用フラグ及び切替先を指定する現用系機器番号をセットした管理データを送信する。また他の冗長機器から受信した管理データを参照して現用系機器番号をセットし、現用系待機系切替え処理を行う。この構成により、3台以上の冗長機器からなる多数冗長系システムにおいて、現用系の状態を検知してから現用系に切替える時間を短縮できる。   As described above, according to the present embodiment, the synchronization signal indicating the timing for transmitting the management data generated by the synchronization signal generator 10 is received. In synchronization with the synchronization signal, each redundant device transmits management data in which the alarm status of the own device, the forced working flag for which forced switching is desired, and the working device number for specifying the switching destination are set. The active device number is set with reference to the management data received from other redundant devices, and the active standby system switching process is performed. With this configuration, in a multi-redundant system composed of three or more redundant devices, it is possible to shorten the time for switching to the active system after detecting the status of the active system.

なお、本発明は、上述の実施形態の構成のみに限定されず、種々の変更が可能である。   In addition, this invention is not limited only to the structure of the above-mentioned embodiment, A various change is possible.

例えば、上記の実施形態では、同期信号発生装置10で同期信号を生成して複数の冗長機器21〜2nに同期信号を入力し、この同期信号により管理データを送信し、引き続き管理データの受信及び切替処理を行っている。これと異なり、1回の同期信号に対しては管理データ送信までを行い、次の同期信号に同期して管理データの受信及び切替処理を行うとしてもよい。   For example, in the above-described embodiment, the synchronization signal generator 10 generates a synchronization signal, inputs the synchronization signal to the plurality of redundant devices 21 to 2n, transmits management data using the synchronization signal, and subsequently receives management data and Switching processing is performed. Unlike this, management data transmission may be performed for one synchronization signal, and management data reception and switching processing may be performed in synchronization with the next synchronization signal.

これにより管理データの受信及び切替処理についても全冗長機器の処理を確実に同期することができる。   As a result, the processing of all redundant devices can be reliably synchronized with respect to the reception and switching processing of the management data.

また同期信号発生器10から並行して、管理データ送信を指示する同期信号と、管理データの受信及び切替処理を指示する同期信号を別々に出力してもよい。   In parallel with the synchronization signal generator 10, a synchronization signal instructing transmission of management data and a synchronization signal instructing reception and switching processing of management data may be output separately.

これにより管理データの送信タイミングから管理データの受信及び切替処理タイミングを独立して管理することができる。   Thereby, management data reception and switching processing timing can be managed independently from management data transmission timing.

また上記の実施形態では、同期信号発生装置10から同期信号を複数の冗長機器21〜2nに入力する同期信号ネットワーク30とは別に管理データネットワーク40を備えている。これと異なり、同期信号ネットワーク30のみを用い、複数の冗長機器21〜2n間で管理データの通信を行うとしてもよい。   Moreover, in said embodiment, the management data network 40 is provided separately from the synchronizing signal network 30 which inputs a synchronizing signal from the synchronizing signal generator 10 into several redundant apparatus 21-2n. Unlike this, only the synchronization signal network 30 may be used, and management data may be communicated between the plurality of redundant devices 21 to 2n.

これにより管理データネットワークが不要となり、簡単な構成とすることができる。   This eliminates the need for a management data network and allows a simple configuration.

1 冗長系システム
10 同期信号発生器
21〜2n 冗長機器
30 同期信号ネットワーク
40 管理データネットワーク
211 通信部
212 切替管理部
2121 CPU
2122 メモリ
50 管理データ
51 現用系機器番号
52 アラームフラグ(ALM)
53 強制現用フラグ(SEL)
DESCRIPTION OF SYMBOLS 1 Redundant system 10 Sync signal generator 21-2n Redundant apparatus 30 Sync signal network 40 Management data network 211 Communication part 212 Switching management part 2121 CPU
2122 Memory 50 Management data 51 Active device number 52 Alarm flag (ALM)
53 Forced working flag (SEL)

Claims (7)

アラーム状態を含む管理データの通信を実施するタイミングを示す同期信号を出力する同期信号発生器と、前記同期信号に同期して相互に取得した前記管理データに基づいて切替えを管理する複数の冗長機器とを有することを特徴とする冗長系システム。 A synchronization signal generator that outputs a synchronization signal indicating the timing of performing communication of management data including an alarm state, and a plurality of redundant devices that manage switching based on the management data acquired mutually in synchronization with the synchronization signal A redundant system characterized by comprising: アラーム状態を含む管理データの通信を実施するタイミングを示す同期信号を受信し、前記同期信号に同期して相互に前記管理データの通信を実施する通信部と、同期信号に同期して取得した管理データに基づいて切替えを管理する切替管理部と、を有する冗長機器。 A communication unit that receives a synchronization signal indicating a timing for performing communication of management data including an alarm state, and a communication unit that performs communication of the management data with each other in synchronization with the synchronization signal, and management acquired in synchronization with the synchronization signal A redundant device having a switching management unit that manages switching based on data. 前記管理データは、現用系に切り替える冗長機器の機器番号を指定する現用系機器番号を含み、前記切替管理部は、自機器がアラーム状態でかつ現用系であれば、現用系に切り替える冗長機器の機器番号を現用系機器番号により指定した管理データを送信することを特徴とする請求項2に記載の冗長機器。 The management data includes an active device number that designates a device number of a redundant device to be switched to the active system, and the switching management unit is configured to store the redundant device to be switched to the active system if the own device is in an alarm state and the active system. The redundant device according to claim 2, wherein management data in which the device number is designated by an active device number is transmitted. 前記管理データは、他の冗長機器から自機器に強制的に現用系を切り替える強制現用フラグを含み、前記切替管理部は、自機器が待機系でかつ自機器に強制的に現用系を切り替える場合、前記強制現用フラグをセットし自機器の機器番号を現用系機器番号により指定した管理データを送信することを特徴とする請求項2又は3に記載の冗長機器。 The management data includes a forcible working flag for forcibly switching the active system from another redundant device to the own device, and the switching management unit is for when the own device is a standby system and forcibly switches the active system to the own device. 4. The redundant device according to claim 2, wherein the forcible working flag is set and management data in which the device number of the own device is designated by the working device number is transmitted. 前記切替管理部は、受信した管理データのうち現用系機器番号がセットされている管理データが1つのみの場合、現用系への切替処理を開始することを特徴とする請求項2から4のいずれかに記載の冗長機器。 5. The switching management unit according to claim 2, wherein, when there is only one management data in which the active device number is set among the received management data, the switching management unit starts the switching process to the active system. Redundant equipment as described in any of the above. アラーム状態を含む管理データの通信を実施するタイミングを示す同期信号を受信し、前記同期信号に同期して相互に前記管理データの通信を実施し、前記同期信号に同期して取得した前記管理データに基づいて切替えを管理する、ことを有する冗長機器の切替方法。 The management data received in synchronization with the synchronization signal by receiving a synchronization signal indicating the timing for performing communication of management data including an alarm state, performing communication of the management data with each other in synchronization with the synchronization signal A switching method for redundant equipment comprising managing switching based on アラーム状態を含む管理データの通信を実施するタイミングを示す同期信号を受信する処理と、前記同期信号に同期して相互に前記管理データの通信を実施する処理と、前記同期信号に同期して取得した前記管理データに基づいて切替えを管理する処理とを冗長機器のCPUに実行させるためのプログラム。 Obtained in synchronism with the synchronization signal, processing for receiving a synchronization signal indicating the timing of performing communication of management data including an alarm state, processing for mutually communicating the management data in synchronization with the synchronization signal A program for causing a CPU of a redundant device to execute processing for managing switching based on the management data.
JP2014146823A 2014-07-17 2014-07-17 Redundant system, redundant device and switching method thereof Active JP6367630B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014146823A JP6367630B2 (en) 2014-07-17 2014-07-17 Redundant system, redundant device and switching method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014146823A JP6367630B2 (en) 2014-07-17 2014-07-17 Redundant system, redundant device and switching method thereof

Publications (2)

Publication Number Publication Date
JP2016024537A true JP2016024537A (en) 2016-02-08
JP6367630B2 JP6367630B2 (en) 2018-08-01

Family

ID=55271267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014146823A Active JP6367630B2 (en) 2014-07-17 2014-07-17 Redundant system, redundant device and switching method thereof

Country Status (1)

Country Link
JP (1) JP6367630B2 (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH054259U (en) * 1991-04-10 1993-01-22 三菱電機株式会社 Digital information processing device
JPH0635739A (en) * 1992-07-16 1994-02-10 Nec Eng Ltd Switching control system
JPH0644090A (en) * 1992-07-27 1994-02-18 Toshiba Corp Master/slave computer system and master selection control method
JPH1049505A (en) * 1996-07-31 1998-02-20 Katsumata Denki Seisakusho:Kk Method for redundant stand-by operation in monitor and control system
JP2001043105A (en) * 1999-07-30 2001-02-16 Toshiba Corp High-availability computer system and data backup method of the system
JP2001155002A (en) * 1999-11-30 2001-06-08 Ntt Comware Corp Supervisory object determining system and recording medium therefor
JP2002278787A (en) * 2001-03-22 2002-09-27 Nec Corp System for controlling master/slave dynamic configuration
JP2006235989A (en) * 2005-02-24 2006-09-07 Brother Ind Ltd Network system, device, and program
US20080288607A1 (en) * 2002-03-07 2008-11-20 Cisco Technology, Inc. Method and apparatus for exchanging heartbeat messages and configuration information between nodes operating in a master-slave configuration
US20100077250A1 (en) * 2006-12-04 2010-03-25 Electronics And Telecommunications Research Instit Ute Virtualization based high availability cluster system and method for managing failure in virtualization based high availability cluster system
WO2013063152A1 (en) * 2011-10-28 2013-05-02 Zettaset, Inc. Split brain resistant failover in high availability clusters

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH054259U (en) * 1991-04-10 1993-01-22 三菱電機株式会社 Digital information processing device
JPH0635739A (en) * 1992-07-16 1994-02-10 Nec Eng Ltd Switching control system
JPH0644090A (en) * 1992-07-27 1994-02-18 Toshiba Corp Master/slave computer system and master selection control method
JPH1049505A (en) * 1996-07-31 1998-02-20 Katsumata Denki Seisakusho:Kk Method for redundant stand-by operation in monitor and control system
JP2001043105A (en) * 1999-07-30 2001-02-16 Toshiba Corp High-availability computer system and data backup method of the system
JP2001155002A (en) * 1999-11-30 2001-06-08 Ntt Comware Corp Supervisory object determining system and recording medium therefor
JP2002278787A (en) * 2001-03-22 2002-09-27 Nec Corp System for controlling master/slave dynamic configuration
US20080288607A1 (en) * 2002-03-07 2008-11-20 Cisco Technology, Inc. Method and apparatus for exchanging heartbeat messages and configuration information between nodes operating in a master-slave configuration
JP2006235989A (en) * 2005-02-24 2006-09-07 Brother Ind Ltd Network system, device, and program
US20100077250A1 (en) * 2006-12-04 2010-03-25 Electronics And Telecommunications Research Instit Ute Virtualization based high availability cluster system and method for managing failure in virtualization based high availability cluster system
WO2013063152A1 (en) * 2011-10-28 2013-05-02 Zettaset, Inc. Split brain resistant failover in high availability clusters

Also Published As

Publication number Publication date
JP6367630B2 (en) 2018-08-01

Similar Documents

Publication Publication Date Title
EP3121996B1 (en) Synchronization failure processing method and system for clock and time synchronization network
US10868754B2 (en) High availability input/output management nodes
CN110166562B (en) Data synchronization method and device, storage medium and electronic equipment
CN108551397A (en) The communication control method of network bridge device and application and more PLC master stations and more PLC slave stations
US11483383B2 (en) Data reporting method and system
JP2016225677A (en) Communication device to perform time synchronization
CN105490960A (en) SDN configuration, and message forwarding method based on same
JP2016181795A (en) Network system and network setting method
JP6383232B2 (en) Relay system and switch device
JP5620876B2 (en) Network synchronizer shelf, network synchronizer
JP2017536052A (en) Tag exchange path connectivity detection method and apparatus
CN103259639B (en) A kind of clock synchronizing method of stack equipment and equipment
Johansson et al. Heartbeat bully: failure detection and redundancy role selection for network-centric controller
JP2016201581A (en) Integrated supervisory controller and integrated supervisory control system
JP6367630B2 (en) Redundant system, redundant device and switching method thereof
CN105450697A (en) Method and apparatus for multiple devices to share screen, and server
JP5974852B2 (en) Transmission apparatus and transmission method
CN105591902A (en) Main-standby switching method and device
KR101192896B1 (en) Distributed synchronization method and apparatus for fault tolerance
CN104283739A (en) Detection method and device based on distributed ISSU
US10394669B2 (en) Time-triggered process for the periodic fault-tolerant transmission of real-time data in a distributed computer system
RU2450305C1 (en) Software-hardware system for automating monitoring and control
JP6428273B2 (en) Command processing system and command processing method
CN111181766A (en) Redundant FC network system and method for realizing dynamic configuration of switch
WO2016206516A1 (en) Switching network synchronization method, switching device, access device and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170615

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180403

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180516

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: 20180612

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180705

R150 Certificate of patent or registration of utility model

Ref document number: 6367630

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150