JP7003432B2 - Duplex system - Google Patents
Duplex system Download PDFInfo
- Publication number
- JP7003432B2 JP7003432B2 JP2017075921A JP2017075921A JP7003432B2 JP 7003432 B2 JP7003432 B2 JP 7003432B2 JP 2017075921 A JP2017075921 A JP 2017075921A JP 2017075921 A JP2017075921 A JP 2017075921A JP 7003432 B2 JP7003432 B2 JP 7003432B2
- Authority
- JP
- Japan
- Prior art keywords
- equalization
- controller
- data
- controllers
- stored
- 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.)
- Active
Links
Images
Description
本発明は、二重化システムに関する。 The present invention relates to a duplex system.
従来、稼働コントローラと待機コントローラを等値化バスにより接続した二重化システムが知られている。このような二重化システムでは、ユーザの作成したアプリケーションによって、アプリケーションの変数情報や入出力情報等の情報を収集し、コントローラ上のログ領域に格納しておくことで、二重化システムが誤動作した場合の要因解析に利用する場合がある(特許文献1)。 Conventionally, a duplex system in which an operating controller and a standby controller are connected by an equalizing bus is known. In such a duplicated system, the user-created application collects information such as application variable information and input / output information and stores it in the log area on the controller, which causes the duplicated system to malfunction. It may be used for analysis (Patent Document 1).
二重化システムでは、通常時には稼働コントローラがアプリケーションを実行し、稼働コントローラの異常時(故障時)には、待機コントローラが稼働コントローラに代わってアプリケーションを実行する。稼働コントローラがアプリケーションを実行した場合、当該アプリケーションによる演算データがユーザメモリに格納されるとともに、当該演算データが等値化データとして等値化バスを介して待機コントローラに伝送される。その結果、稼働コントローラと待機コントローラでアプリケーションによる演算データ(等値化データ)が共有される。 In a redundant system, the operating controller normally executes the application, and in the event of an abnormality (failure) of the operating controller, the standby controller executes the application on behalf of the operating controller. When the operation controller executes the application, the calculation data by the application is stored in the user memory, and the calculation data is transmitted to the standby controller as equalization data via the equalization bus. As a result, the operation data (equalization data) by the application is shared between the operation controller and the standby controller.
稼働コントローラは、システム管理機能によって、ユーザメモリに格納された演算データ(等値化データ)を収集してログ領域に格納する(ロギングを行う)。ところが、稼働コントローラは、予め定められた制御周期内に、アプリ帯域(アプリケーションの実行に用いる帯域)と、等値化帯域(等値化処理に用いる帯域)と、システム帯域(ロギングやその他の処理を実行するために用いる帯域)とを割り当てなければならない。このため、稼働コントローラによるアプリケーションの実行時間や実行負荷が大きい場合、制御周期内にシステム帯域(ロギング帯域)を十分に確保できず、収集対象となる演算データ(等値化データ)を削減せざるを得ない。その結果、二重化システムが誤動作した場合であってもその原因解明に至らないおそれがある。 The operation controller collects the operation data (equalization data) stored in the user memory by the system management function and stores it in the log area (logging). However, the operation controller has an application band (band used for executing an application), an equalization band (band used for equalization processing), and a system band (logging and other processing) within a predetermined control cycle. Bandwidth used to execute) and must be allocated. Therefore, if the execution time or execution load of the application by the operation controller is large, the system bandwidth (logging bandwidth) cannot be sufficiently secured within the control cycle, and the calculation data (equalization data) to be collected must be reduced. Do not get. As a result, even if the duplicated system malfunctions, the cause may not be clarified.
本発明はかかる点に鑑みてなされたものであり、稼働コントローラによるアプリケーションの実行時間や実行負荷の影響を受けることなく、演算データ(等値化データ)の収集処理を好適に実行することができる二重化システムを提供することを目的の1つとする。 The present invention has been made in view of this point, and it is possible to suitably execute the collection process of arithmetic data (equalization data) without being affected by the execution time and execution load of the application by the operation controller. One of the purposes is to provide a redundant system.
本実施形態の二重化システムは、その一態様では、稼働コントローラと待機コントローラの役割を逆転させられるような互換性を有する第1、第2のコントローラが等値化バスにより接続された二重化システムであって、前記第1、第2のコントローラの一方と他方が前記稼働コントローラと前記待機コントローラである場合の等値化データの収集処理において、前記稼働コントローラの側では、アプリケーション実行部がアプリケーションを実行し、メモリが、前記アプリケーション実行部が実行したアプリケーションによる演算データを格納し、等値化部が、前記メモリに格納された演算データを等値化データとして等値化データ送受信領域にコピーするとともに、前記等値化データ送受信領域にコピーした等値化データを前記等値化バスを介して前記待機コントローラに送信し、等値化データ収集処理部が、前記メモリに格納された演算データを収集せずにログ領域に格納せず、前記待機コントローラの側では、等値化部が、前記等値化バスを介して前記稼働コントローラから受信した等値化データを等値化データ送受信領域からメモリに展開して格納し、等値化データ収集処理部が、前記メモリに格納された等値化データを収集してログ領域に格納し、前記第1、第2のコントローラが通常動作しており、且つ、前記第1のコントローラが待機コントローラであるとき、及び、前記第2のコントローラの異常時には、前記第1のコントローラの前記等値化データ収集処理部が、前記メモリに格納された等値化データを収集してログ領域に格納する一方、前記第1、第2のコントローラが通常動作しており、且つ、前記第1のコントローラが稼働コントローラであるときには、前記第1のコントローラの前記等値化データ収集処理部が、前記メモリに格納された演算データを収集せずにログ領域に格納せず、前記第1、第2のコントローラが通常動作しており、且つ、前記第2のコントローラが待機コントローラであるとき、及び、前記第1のコントローラの異常時には、前記第2のコントローラの前記等値化データ収集処理部が、前記メモリに格納された等値化データを収集してログ領域に格納する一方、前記第1、第2のコントローラが通常動作しており、且つ、前記第2のコントローラが稼働コントローラであるときには、前記第2のコントローラの前記等値化データ収集処理部が、前記メモリに格納された演算データを収集せずにログ領域に格納しない、ことを特徴としている。 The duplication system of the present embodiment is, in one aspect, a duplication system in which the first and second controllers having compatibility such that the roles of the active controller and the standby controller can be reversed are connected by an equalization bus. In the process of collecting equalization data when one and the other of the first and second controllers are the operating controller and the standby controller, the application execution unit executes the application on the operating controller side. , The memory stores the calculation data by the application executed by the application execution unit, and the equalization unit copies the calculation data stored in the memory as equalization data to the equalization data transmission / reception area. The equalization data copied to the equalization data transmission / reception area is transmitted to the standby controller via the equalization bus, and the equalization data collection processing unit collects the arithmetic data stored in the memory. On the standby controller side, the equalization unit transfers the equalization data received from the operation controller via the equalization bus from the equalization data transmission / reception area to the memory without storing it in the log area. Expanded and stored, the equalization data collection processing unit collects the equalization data stored in the memory and stores it in the log area, and the first and second controllers are operating normally. Moreover, when the first controller is a standby controller and when the second controller is abnormal, the equalization data collection processing unit of the first controller is stored in the memory for equalization. While collecting data and storing it in the log area, when the first and second controllers are operating normally and the first controller is an operating controller, the equivalent value of the first controller. The data collection processing unit does not collect the arithmetic data stored in the memory and does not store it in the log area, the first and second controllers are operating normally, and the second controller is operating. When it is a standby controller and when the first controller is abnormal, the equalization data collection processing unit of the second controller collects the equalization data stored in the memory and puts it in the log area. On the other hand, when the first and second controllers are normally operating and the second controller is an operating controller, the equalization data collection processing unit of the second controller may perform the equalization data collection processing unit. Performance stored in memory It is characterized by not collecting arithmetic data and storing it in the log area .
本発明によれば、稼働コントローラによるアプリケーションの実行時間や実行負荷の影響を受けることなく、演算データ(等値化データ)の収集処理を好適に実行することができる二重化システムを提供することができる。 INDUSTRIAL APPLICABILITY According to the present invention, it is possible to provide a duplex system capable of suitably executing a collection process of arithmetic data (equalization data) without being affected by the execution time and execution load of an application by an operation controller. ..
図1~図7を参照して、本実施形態による二重化システム10について詳細に説明する。
The
図1に示すように、二重化システム10は、稼働コントローラ20と、待機コントローラ30と、稼働コントローラ20と待機コントローラ30を接続する等値化バス40とを有している。
As shown in FIG. 1, the
二重化システム10は、稼働コントローラ20がアプリケーションを実行するときは待機コントローラ30がアプリケーションを実行しないコールドスタンバイ方式を採用している。すなわち、二重化システム10は、稼働コントローラ20がアプリケーションを実行する機能を担い、待機コントローラ30がアプリケーションによる演算データ(等値化データ)の収集処理を実行する機能を担うように、稼働コントローラ20と待機コントローラ30の機能を分けたことを特徴の1つとしている。
The
稼働コントローラ20と待機コントローラ30は、両コントローラ間に互換性を持たせるべく(稼働コントローラと待機コントローラの役割を逆転させられるように)、同一の構成を有している。以下の説明では、適宜、稼働コントローラ20又は待機コントローラ30が「自身が稼働コントローラと待機コントローラのいずれであるか?」という判断を行うことがあるが、これは、稼働コントローラ20と待機コントローラ30の互換性を1つの要因としている。
The
稼働コントローラ20は、アプリケーション実行部21と、ユーザメモリ22と、等値化部23と、等値化データ送受信領域24と、等値化データ収集処理部25と、ログ領域26と、等値化データ収集制御部27と、システム管理部28とを有している。等値化データ収集処理部25には、外部機器としてのエンジニアリングツール29が接続されている。
The
アプリケーション実行部21は、ユーザの作成したアプリケーションを実行する。
The
ユーザメモリ22は、アプリケーション実行部21が実行したアプリケーションによる演算データ(ユーザデータ)を格納する。
The
等値化部23は、ユーザメモリ22に格納された演算データを、等値化データとして、等値化データ送受信領域24にコピーする。また、等値化部23は、等値化データ送受信領域24にコピーした等値化データを、等値化バス40を介して待機コントローラ30に向けて送信する。ここで、演算データと等値化データは同一の内容を有しており、以下ではこれを「演算データ(等値化データ)」又は「等値化データ(演算データ)」と記載することがある。
The
等値化データ収集処理部25は、ユーザメモリ22に格納された演算データ(等値化データ)を収集してこれをログ領域26に格納する(書き込む)。等値化データ収集処理部25は、演算データ(等値化データ)の収集処理を実行するための収集アドレステーブルを保持している。この収集アドレステーブルは、外部機器であるエンジニアリングツール29から受信して等値化データ収集処理部25にインストールされる。
The equalization data
図2は収集アドレステーブルの一例を示しており、演算データ(等値化データ)をアドレス範囲毎に領域指定することが可能になっている。図2では、アドレス下限“0x00000000”からアドレス上限“0x00000FFF”のアドレス範囲が“領域No.1”で指定されており、アドレス下限“0x00001000”からアドレス上限“0x00001FFF”のアドレス範囲が“領域No.2”で指定されており、アドレス下限“0x00004000”からアドレス上限“0x00005FFF”のアドレス範囲が“領域No.3”で指定されている。この場合、等値化データ収集処理部25は、演算データ(等値化データ)の収集処理を上記の領域毎に実行することができる。
FIG. 2 shows an example of a collected address table, and it is possible to specify an area of arithmetic data (equalized data) for each address range. In FIG. 2, the address range from the address lower limit "0x000000000" to the address upper limit "0x000000FFF" is specified by "region No. 1", and the address range from the address lower limit "0x00001000" to the address upper limit "0x0000001FFF" is "region No. 1". It is specified by "2", and the address range from the address lower limit "0x00004000" to the address upper limit "0x00005FFF" is specified by "Region No. 3". In this case, the equalization data
図3は収集アドレステーブルの他の例を示しており、演算データ(等値化データ)を優先度の高低に応じたアドレス範囲毎に領域指定することが可能になっている。図3では、“領域No.1”に優先度“高”が設定されており、“領域No.2”に優先度“中”が設定されており、“領域No.3”に優先度“低”が設定されている。この場合、等値化データ収集処理部25は、演算データ(等値化データ)の収集処理を上記の優先度の高低に応じて領域毎に実行することができる。
FIG. 3 shows another example of the collected address table, and it is possible to specify an area of arithmetic data (equalized data) for each address range according to the high or low priority. In FIG. 3, the priority "high" is set in "region No. 1", the priority "medium" is set in "region No. 2", and the priority "region No. 3" is set. "Low" is set. In this case, the equalization data
図4は、ログ領域26に格納された演算データ(等値化データ)のフォーマットを示している。図4では、“領域No.1”から“領域No.3”の領域毎の演算データ(等値化データ)にタイムスタンプを挿入したものが収集データの一単位となっている。
FIG. 4 shows the format of the operation data (equalization data) stored in the
等値化データ収集制御部27は、等値化データ収集処理部25による演算データ(等値化データ)の収集処理を制御する。より具体的に、等値化データ収集制御部27は、「稼働コントローラと待機コントローラが通常動作しており、且つ、自身が待機コントローラであるとき」及び「相手方のコントローラの異常時(故障時)」には、等値化データ収集処理部25に演算データ(等値化データ)の収集処理を実行させる。一方、等値化データ収集制御部27は、「稼働コントローラと待機コントローラが通常動作しており、且つ、自身が稼動コントローラであるとき」は、等値化データ収集処理部25に演算データ(等値化データ)の収集処理を実行させない。
The equalization data
システム管理部28は、稼働コントローラ20の各構成要素を統括的に制御する。
The system management unit 28 comprehensively controls each component of the
待機コントローラ30は、アプリケーション実行部31と、ユーザメモリ32と、等値化部33と、等値化データ送受信領域34と、等値化データ収集処理部35と、ログ領域36と、等値化データ収集制御部37と、システム管理部38とを有している。等値化データ収集処理部35には、外部機器としてのエンジニアリングツール39が接続されている。
The
アプリケーション実行部31は、ユーザの作成したアプリケーションを実行する。
The
ユーザメモリ32は、アプリケーション実行部31が実行したアプリケーションによる演算データ(ユーザデータ)を格納する。
The
等値化部33は、等値化バス40を介して稼働コントローラ20から受信した等値化データ(演算データ)を、等値化データ送受信領域34からユーザメモリ32に展開して格納する。
The
等値化データ収集処理部35は、ユーザメモリ32に格納された等値化データ(演算データ)を収集してこれをログ領域36に格納する(書き込む)。等値化データ収集処理部35は、等値化データ(演算データ)の収集処理を実行するための収集アドレステーブルを保持している。この収集アドレステーブルは、外部機器であるエンジニアリングツール39から受信して等値化データ収集処理部35にインストールされる。等値化データ収集処理部35が保持する収集アドレステーブルは、図2、図3に示すものと同一であるので、重複説明を省略する。ログ領域36に格納された等値化データ(演算データ)のフォーマットは、図4に示すものと同一であるので、重複説明を省略する。
The equalization data
等値化データ収集制御部37は、等値化データ収集処理部35による等値化データ(演算データ)の収集処理を制御する。より具体的に、等値化データ収集制御部37は、「稼働コントローラと待機コントローラが通常動作しており、且つ、自身が待機コントローラであるとき」及び「相手方のコントローラの異常時(故障時)」には、等値化データ収集処理部35に等値化データ(演算データ)の収集処理を実行させる。一方、等値化データ収集制御部37は、「稼働コントローラと待機コントローラが通常動作しており、且つ、自身が稼動コントローラであるとき」は、等値化データ収集処理部35に等値化データ(演算データ)の収集処理を実行させない。
The equalization data
システム管理部38は、待機コントローラ30の各構成要素を統括的に制御する。
The
図1を参照して、稼働コントローラ20と待機コントローラ30による通常動作時の処理について説明する。
With reference to FIG. 1, processing during normal operation by the operating
まず、稼働コントローラ20と待機コントローラ30が、エンジニアリングツール29とエンジニアリングツール39より、図2、図3に示すような収集アドレステーブルを受信して、等値化データ収集処理部25と等値化データ収集処理部35に展開する(処理1)。これにより、収集対象となるデータが格納されるアドレス範囲の情報が保持される。
First, the
次いで、稼働コントローラ20のアプリケーション実行部21が、ユーザの作成したアプリケーションを実行し、当該アプリケーションによる演算データ(ユーザデータ)がユーザメモリ22に格納される(処理2)。
Next, the
次いで、稼働コントローラ20の等値化部23が、ユーザメモリ22に格納された演算データを、等値化データとして、等値化データ送受信領域24にコピーする(処理3)。また、稼働コントローラ20の等値化部23が、等値化データ送受信領域24にコピーした等値化データを、等値化バス40を介して待機コントローラ30に向けて送信する(処理4)。
Next, the
次いで、稼働コントローラ20における等値化処理が完了したことをイベントトリガとして、稼働コントローラ20の等値化データ収集制御部27が、自身が稼働コントローラであることから、等値化データ収集処理部25に等値化データの収集処理を実行させないことを決定する(処理5)。
Next, with the completion of the equalization processing in the
次いで、待機コントローラ30の等値化部33が、等値化バス40を介して稼働コントローラ20から受信した等値化データ(演算データ)を、等値化データ送受信領域34からユーザメモリ32に展開して格納する(処理6)。
Next, the
次いで、待機コントローラ30における等値化処理が完了したことをイベントトリガとして、待機コントローラ30の等値化データ収集制御部37が、自身が待機コントローラであることから、等値化データ収集処理部35に等値化データの収集処理を実行させることを決定して(処理7)、等値化データ収集処理部35にその旨の指示を出す(処理8)。
Next, with the completion of the equalization processing in the
そして、待機コントローラ30の等値化データ収集処理部35が、図2、図3に示すような収集アドレステーブルに基づいて収集したデータを、図4に示すようなフォーマットでログ領域36に格納する(処理9)。
Then, the equalization data
図5は、稼働コントローラ20と待機コントローラ30の処理を示すタイミングチャートである。稼働コントローラ20は、予め定められた制御周期内に、アプリ帯域(アプリケーションの実行に用いる帯域)と、等値化帯域(等値化処理に用いる帯域)と、システム帯域(他のコントローラと通信したり自身の状態を監視するための帯域)とを割り当てている。待機コントローラ30は、予め定められた制御周期内に、等値化帯域(等値化処理に用いる帯域)と、データ収集帯域(等値化データの収集処理に用いる帯域)と、システム帯域(他のコントローラと通信したり自身の状態を監視するための帯域)とを割り当てている。このため、稼働コントローラ20によるアプリケーションの実行時間や実行負荷が増大した場合であっても(制御周期内でアプリ帯域が占める割合が増大した場合であっても)、その悪影響を受けることなく、待機コントローラ30の側でデータ収集帯域を十分に確保して、等値化データの収集処理を好適に実行することができる。
FIG. 5 is a timing chart showing the processing of the
続いて、図6のタイミングチャートを参照して、稼働コントローラ20と待機コントローラ30のうち稼働コントローラ20に異常(故障)が発生して停止した場合の処理について説明する。稼働コントローラ20が停止すると、待機コントローラ30が稼働コントローラ20に代わって機能を発揮できるように稼働コントローラに遷移する。そして、待機コントローラ30は、予め定められた制御周期内に、アプリ帯域(アプリケーションの実行に用いる帯域)と、データ収集帯域(等値化データの収集処理に用いる帯域)と、システム帯域(他のコントローラと通信したり自身の状態を監視するための帯域)とを割り当てる。すなわち、待機コントローラ30は、それまで等値化帯域(等値化処理に用いる帯域)に割り当てていた領域を使用して、等値化データの収集処理を実行する。この場合、図5に示す通常動作時よりもデータ収集帯域が小さくなりやすいため、図3に示す収集アドレステーブルを使用して、等値化データの収集処理を優先度の高低に応じて領域毎に実行することができる。図3の例では、最も優先度が高い“領域No.1”だけに絞って等値化データの収集処理を実行することが可能である。優先度が高い等値化データとしては、例えば、自身のコントローラで実行していたアプリケーションに関するもの、故障が起きた場合の相手方のコントローラの状態を示すもの等が挙げられる。
Subsequently, with reference to the timing chart of FIG. 6, processing when an abnormality (failure) occurs in the operating
同様に、稼働コントローラ20と待機コントローラ30のうち待機コントローラ30に異常(故障)が発生して停止した場合、稼働コントローラ20が、アプリケーションを実行するとともに、等値化データの収集処理を実行する。すなわち、稼働コントローラ20と待機コントローラ30の一方に異常が発生したとき、稼働コントローラ20と待機コントローラ30の他方が、アプリケーションを実行するとともに、等値化データの収集処理を実行するのである。
Similarly, when an abnormality (failure) occurs in the
図7は、稼働コントローラと待機コントローラの処理を示すフローチャートである。図7のフローチャートにおける各処理の実行主体は、稼働コントローラ20と待機コントローラ30のいずれかである(各コントローラの状態等に応じて実行主体が変動し得る)。
FIG. 7 is a flowchart showing the processing of the operating controller and the standby controller. The execution subject of each process in the flowchart of FIG. 7 is either the
ステップST1では、等値化データの送受信が完了したことをイベントトリガとして、コントローラの状態を取得する。 In step ST1, the state of the controller is acquired by using the completion of transmission / reception of equalized data as an event trigger.
ステップST2では、自身が待機コントローラであるか否かを判定する。自身が待機コントローラである場合(ステップST2:Yes)はステップST3に進み、自身が待機コントローラでない場合(ステップST2:No)はステップST4に進む。 In step ST2, it is determined whether or not the controller itself is a standby controller. If it is a standby controller (step ST2: Yes), it proceeds to step ST3, and if it is not a standby controller (step ST2: No), it proceeds to step ST4.
ステップST3では、自身が待機コントローラであることから、等値化データの収集処理を実行して、処理を終了する。 In step ST3, since the controller itself is a standby controller, the equalization data collection process is executed and the process ends.
ステップST4では、待機コントローラ(つまり稼働コントローラである自身の相手方のコントローラ)が脱落状態(異常状態、故障状態)であるか否かを判定する。待機コントローラが脱落状態である場合(ステップST4:Yes)はステップST5に進み、待機コントローラが脱落状態でない場合(ステップST4:No)は処理を終了する。 In step ST4, it is determined whether or not the standby controller (that is, the controller of the other party that is the operating controller) is in the dropout state (abnormal state, failure state). If the standby controller is in the dropped state (step ST4: Yes), the process proceeds to step ST5, and if the standby controller is not in the dropped state (step ST4: No), the process ends.
ステップST5では、自身が稼働コントローラであるが、相手方の待機コントローラが脱落状態であることから、優先度に応じて等値化データの収集処理を実行する。 In step ST5, although the controller itself is the operating controller, the standby controller of the other party is in the dropped state, so the equalization data collection process is executed according to the priority.
このように、本実施形態による二重化システム10では、稼働コントローラ20がアプリケーションを実行し、アプリケーションによる等値化データが等値化バス40を介して稼働コントローラ20から待機コントローラ30に伝送され、待機コントローラ30が等値化データの収集処理を実行する。これにより、稼働コントローラ20によるアプリケーションの実行時間や実行負荷の影響を受けることなく、演算データ(等値化データ)の収集処理を好適に実行することができる。
As described above, in the
なお、本発明は上記実施の形態に限定されず、種々変更して実施することが可能である。上記実施の形態において、添付図面に図示されている構成要素の大きさや形状、機能などについては、これに限定されず、本発明の効果を発揮する範囲内で適宜変更することが可能である。その他、本発明の目的の範囲を逸脱しない限りにおいて適宜変更して実施することが可能である。 The present invention is not limited to the above embodiment, and can be modified in various ways. In the above embodiment, the size, shape, function, and the like of the components shown in the attached drawings are not limited to this, and can be appropriately changed within the range in which the effect of the present invention is exhibited. In addition, it can be appropriately modified and implemented as long as it does not deviate from the scope of the object of the present invention.
本発明の二重化システムは、例えば、マルチCPUを用いたデータの等値化コントローラに適用して好適である。 The duplex system of the present invention is suitable for application to, for example, a data equalization controller using a multi-CPU.
10 二重化システム
20 稼働コントローラ
21 アプリケーション実行部
22 ユーザメモリ
23 等値化部
24 等値化データ送受信領域
25 等値化データ収集処理部
26 ログ領域
27 等値化データ収集制御部
28 システム管理部
29 エンジニアリングツール(外部機器)
30 待機コントローラ
31 アプリケーション実行部
32 ユーザメモリ
33 等値化部
34 等値化データ送受信領域
35 等値化データ収集処理部
36 ログ領域
37 等値化データ収集制御部
38 システム管理部
39 エンジニアリングツール(外部機器)
40 等値化バス
10
30
40 equalizing bus
Claims (8)
前記第1、第2のコントローラの一方と他方が前記稼働コントローラと前記待機コントローラである場合の等値化データの収集処理において、
前記稼働コントローラの側では、アプリケーション実行部がアプリケーションを実行し、メモリが、前記アプリケーション実行部が実行したアプリケーションによる演算データを格納し、等値化部が、前記メモリに格納された演算データを等値化データとして等値化データ送受信領域にコピーするとともに、前記等値化データ送受信領域にコピーした等値化データを前記等値化バスを介して前記待機コントローラに送信し、等値化データ収集処理部が、前記メモリに格納された演算データを収集せずにログ領域に格納せず、
前記待機コントローラの側では、等値化部が、前記等値化バスを介して前記稼働コントローラから受信した等値化データを等値化データ送受信領域からメモリに展開して格納し、等値化データ収集処理部が、前記メモリに格納された等値化データを収集してログ領域に格納し、
前記第1、第2のコントローラが通常動作しており、且つ、前記第1のコントローラが待機コントローラであるとき、及び、前記第2のコントローラの異常時には、前記第1のコントローラの前記等値化データ収集処理部が、前記メモリに格納された等値化データを収集してログ領域に格納する一方、前記第1、第2のコントローラが通常動作しており、且つ、前記第1のコントローラが稼働コントローラであるときには、前記第1のコントローラの前記等値化データ収集処理部が、前記メモリに格納された演算データを収集せずにログ領域に格納せず、
前記第1、第2のコントローラが通常動作しており、且つ、前記第2のコントローラが待機コントローラであるとき、及び、前記第1のコントローラの異常時には、前記第2のコントローラの前記等値化データ収集処理部が、前記メモリに格納された等値化データを収集してログ領域に格納する一方、前記第1、第2のコントローラが通常動作しており、且つ、前記第2のコントローラが稼働コントローラであるときには、前記第2のコントローラの前記等値化データ収集処理部が、前記メモリに格納された演算データを収集せずにログ領域に格納しない、
ことを特徴とする二重化システム。 It is a duplex system in which the first and second controllers, which are compatible so that the roles of the active controller and the standby controller can be reversed, are connected by an equalization bus.
In the collection process of equalization data when one and the other of the first and second controllers are the operating controller and the standby controller.
On the operation controller side, the application execution unit executes the application, the memory stores the calculation data by the application executed by the application execution unit, and the equalization unit stores the calculation data stored in the memory. The equalization data is copied to the equalization data transmission / reception area as the equalization data, and the equalization data copied to the equalization data transmission / reception area is transmitted to the standby controller via the equalization bus to collect the equalization data. The processing unit does not collect the arithmetic data stored in the memory and does not store it in the log area.
On the standby controller side, the equalization unit expands and stores the equalization data received from the operation controller from the equalization data transmission / reception area in the memory via the equalization bus, and equalizes the data. The data collection processing unit collects the equalization data stored in the memory and stores it in the log area.
When the first and second controllers are operating normally and the first controller is a standby controller, and when the second controller is abnormal, the equalization of the first controller is performed. While the data collection processing unit collects the equalized data stored in the memory and stores it in the log area, the first and second controllers are operating normally, and the first controller When it is an operating controller, the equalization data acquisition processing unit of the first controller does not collect the arithmetic data stored in the memory and does not store it in the log area.
When the first and second controllers are operating normally and the second controller is a standby controller, and when the first controller is abnormal, the equalization of the second controller is performed. While the data collection processing unit collects the equalized data stored in the memory and stores it in the log area, the first and second controllers are operating normally, and the second controller is operating. When it is an active controller, the equalization data acquisition processing unit of the second controller does not collect the arithmetic data stored in the memory and does not store it in the log area.
A duplex system that features that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017075921A JP7003432B2 (en) | 2017-04-06 | 2017-04-06 | Duplex system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017075921A JP7003432B2 (en) | 2017-04-06 | 2017-04-06 | Duplex system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018180723A JP2018180723A (en) | 2018-11-15 |
JP7003432B2 true JP7003432B2 (en) | 2022-01-20 |
Family
ID=64276868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017075921A Active JP7003432B2 (en) | 2017-04-06 | 2017-04-06 | Duplex system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7003432B2 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001022414A (en) | 1999-07-09 | 2001-01-26 | Toshiba Corp | Process controller, its data transfer method and plant |
JP2002149212A (en) | 2000-11-13 | 2002-05-24 | Fuji Electric Co Ltd | Redundant programmable controller for equalizing control data and equalization method |
JP2005182681A (en) | 2003-12-24 | 2005-07-07 | Yokogawa Electric Corp | Data collection system |
JP2008226111A (en) | 2007-03-15 | 2008-09-25 | Fuji Electric Fa Components & Systems Co Ltd | Duplication controller system and operation system controller |
JP2016058013A (en) | 2014-09-12 | 2016-04-21 | 富士電機株式会社 | Control system, relay devices, and control devices |
JP2016130947A (en) | 2015-01-14 | 2016-07-21 | 富士電機株式会社 | Control system and control device |
-
2017
- 2017-04-06 JP JP2017075921A patent/JP7003432B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001022414A (en) | 1999-07-09 | 2001-01-26 | Toshiba Corp | Process controller, its data transfer method and plant |
JP2002149212A (en) | 2000-11-13 | 2002-05-24 | Fuji Electric Co Ltd | Redundant programmable controller for equalizing control data and equalization method |
JP2005182681A (en) | 2003-12-24 | 2005-07-07 | Yokogawa Electric Corp | Data collection system |
JP2008226111A (en) | 2007-03-15 | 2008-09-25 | Fuji Electric Fa Components & Systems Co Ltd | Duplication controller system and operation system controller |
JP2016058013A (en) | 2014-09-12 | 2016-04-21 | 富士電機株式会社 | Control system, relay devices, and control devices |
JP2016130947A (en) | 2015-01-14 | 2016-07-21 | 富士電機株式会社 | Control system and control device |
Also Published As
Publication number | Publication date |
---|---|
JP2018180723A (en) | 2018-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8433862B2 (en) | Storage system for adjusting asynchronous copy load based on cache activity rate | |
US8321622B2 (en) | Storage system with multiple controllers and multiple processing paths | |
GB2433395A (en) | Cache module in a bridge device operating in auto-response mode | |
CN106209449A (en) | A kind of method and device binding network interface card | |
JP2008225753A (en) | Computer system, access control method and management computer | |
US9824229B2 (en) | Controller with enhanced reliability | |
JP2005196490A (en) | System and method for data duplication | |
US20140304237A1 (en) | Apparatus and Method for Handling Partially Inconsistent States Among Members of a Cluster in an Erratic Storage Network | |
JP6024138B2 (en) | Cluster system | |
JP4964666B2 (en) | Computer, program and method for switching redundant communication paths | |
JP7003432B2 (en) | Duplex system | |
JP4597038B2 (en) | Computer system, bandwidth control method and program | |
JP6517474B2 (en) | Programmable controller and arithmetic processing system | |
JP5908068B2 (en) | Standby redundant unit | |
JP2008226111A (en) | Duplication controller system and operation system controller | |
JP2007334668A (en) | Memory dumping method, cluster system, node constituting the system, and program | |
JP2010244470A (en) | Distributed processing system and distributed processing method | |
JP2009026182A (en) | Program execution system and execution device | |
JP2006235765A (en) | Duplex controller system, and its controller | |
JP4572138B2 (en) | Server apparatus, server system, and system switching method in server system | |
JP2013084116A (en) | Communication device, method of controlling communication device, and information processing system | |
CN106020975A (en) | Data operation method, device and system | |
US20210281527A1 (en) | Line monitor device and network switch | |
JP6988863B2 (en) | Protocol converters, data transmission methods, data transmission programs, and data transmission systems | |
JP5748122B2 (en) | Plant control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200313 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210226 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210302 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210419 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20211005 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20211116 |
|
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: 20211130 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211213 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7003432 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |