JP2013149024A - Storage system, data management method, and program - Google Patents
Storage system, data management method, and program Download PDFInfo
- Publication number
- JP2013149024A JP2013149024A JP2012008120A JP2012008120A JP2013149024A JP 2013149024 A JP2013149024 A JP 2013149024A JP 2012008120 A JP2012008120 A JP 2012008120A JP 2012008120 A JP2012008120 A JP 2012008120A JP 2013149024 A JP2013149024 A JP 2013149024A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- storage unit
- data
- read
- control data
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、記憶システム、データ管理方法およびプログラムに関する。 The present invention relates to a storage system, a data management method, and a program.
プラント設備や機械装置などの制御において、記憶手段の多重化によって信頼性の向上を図るための幾つかの技術が提案されている。例えば、特許文献1に記載の高速二重系制御装置では、主系および従系の制御ユニットが、それぞれデュアルポートメモリを有する。このデュアルポートメモリは、それぞれ自系メモリエリアと他系メモリエリアを有し、一方の自系メモリエリアと他方の他系メモリエリアとは光ケーブルで接続され、自系メモリエリアのデータを制御サイクルより短い間隔で他系メモリエリアに上書きする。
これにより、従系の他系メモリエリアの制御データを常に主系の制御データに保持でき、実質的にリアルタイムで制御データを共有できる、とされている。
In the control of plant equipment and mechanical devices, several techniques for improving reliability by multiplexing storage means have been proposed. For example, in the high-speed dual system control device described in
As a result, the control data of the secondary system memory area can always be held in the control data of the main system, and the control data can be shared substantially in real time.
制御に用いられるデータ量が多い場合、この制御に用いられるデータを、比較的安価な記憶装置であるハードディスクドライブ(Hard Disk Drive;HDD)に記憶させることが考えられる。
しかしながら、ハードディスクドライブは、可動部分の磨耗などにより比較的短期間で故障するおそれがある。ハードディスクドライブが故障すると、制御対象となっているプラント設備や機械装置などの稼働率低下を招く要因となってしまう。
When the amount of data used for the control is large, it is conceivable that the data used for the control is stored in a hard disk drive (HDD), which is a relatively inexpensive storage device.
However, the hard disk drive may fail in a relatively short period of time due to wear of moving parts. When a hard disk drive fails, it becomes a factor that causes a reduction in the operating rate of the plant equipment and mechanical devices to be controlled.
ここで、特許文献1に記載の高速二重系制御装置における記憶手段の二重化のように、ハードディスクドライブを多重化することで、信頼性の向上、ひいては制御対象の稼働率低下防止を図ることができる。しかしながら、ハードディスクドライブを多重化した構成においても、ハードディスクドライブが同時期に故障するおそれがある。すなわち、個々のハードディスクドライブは、アクセス回数の増加に伴って故障するおそれがあり、さらに、各ハードディスクドライブの故障時期が一致するおそれがある。
Here, as in the case of duplexing storage means in the high-speed duplex system control device described in
一方、記憶装置として、フラッシュメモリを用いた不揮発性大容量記憶装置であるソリッドステートドライブ(Solid State Drive;SSD)を用いることも考えられる。しかしながら、ソリッドステートドライブは、データ書込の際に当該部分の劣化を招き、やがて故障に至る。ハードディスクドライブの場合と同様、ソリッドステートドライブが故障すると、制御対象となっているプラント設備や機械装置などの稼働率低下を招く要因となってしまう。
また、ソリッドステートドライブを多重化する場合も、ハードディスクドライブの場合と同様、多重化されたソリッドステートドライブが同時期に故障するおそれがある。
On the other hand, it is also conceivable to use a solid state drive (SSD), which is a nonvolatile mass storage device using flash memory, as the storage device. However, the solid state drive causes the deterioration of the portion during data writing, and eventually fails. As in the case of a hard disk drive, if a solid state drive fails, it may cause a reduction in the operating rate of the plant equipment and mechanical devices that are controlled.
Also, when multiplexing solid-state drives, the multiplexed solid-state drives may fail at the same time as in the case of hard disk drives.
本発明は、このような事情を考慮してなされたものであり、その目的は、より信頼性の高い記憶システム、データ管理方法およびプログラムを提供することにある。 The present invention has been made in view of such circumstances, and an object thereof is to provide a more reliable storage system, data management method, and program.
この発明は上述した課題を解決するためになされたもので、本発明の一態様による記憶システムは、実行系ユニットと待機系ユニットとを具備し、前記実行系ユニットは、一次記憶部と、制御対象の制御に用いる制御データを検索キーと対応付けて記憶する二次記憶部と、制御対象の状況を示す状況情報を取得する状況情報取得部と、前記状況情報取得部が取得した状況情報に基づいて、当該状況情報に応じた検索キーに対応付けられている前記制御データを読み出して、前記一次記憶部に転送する制御データ転送部と、前記制御データ転送部が前記制御データの転送を行うと、当該転送を指示する指示情報を待機系ユニットに送信する指示情報送信部と、を具備し、前記待機系ユニットは、一次記憶部と、制御対象の制御に用いる制御データを状況情報と対応付けて記憶する二次記憶部と、前記指示情報に従って前記二次記憶部から前記制御データを読み出して、前記一次記憶部に転送する制御データ転送部と、を具備することを特徴とする。 The present invention has been made to solve the above-described problems. A storage system according to an aspect of the present invention includes an execution system unit and a standby system unit, and the execution system unit includes a primary storage unit, a control unit, and a control unit. A secondary storage unit that stores control data used for target control in association with a search key, a status information acquisition unit that acquires status information indicating the status of a control target, and status information acquired by the status information acquisition unit Based on this, the control data associated with the search key corresponding to the situation information is read and transferred to the primary storage unit, and the control data transfer unit transfers the control data And an instruction information transmitting unit that transmits instruction information for instructing the transfer to the standby system unit. The standby system unit includes a primary storage unit and control data used for control of the control target. A secondary storage unit that stores the information in association with the situation information, and a control data transfer unit that reads the control data from the secondary storage unit according to the instruction information and transfers the control data to the primary storage unit. Features.
また、本発明の一態様による記憶システムは、上述の記憶システムであって、前記実行系ユニットは、データ書込指示を取得する書込指示取得部と、前記書込指示取得部がデータ書込指示を取得すると、当該データ書込指示に従って、前記一次記憶部にデータを書き込む書込実行部と、データ読出指示を取得する読出指示取得部と、前記読出指示取得部がデータ読出指示を取得すると、当該データ読出指示に従って、前記一次記憶部と前記二次記憶部とからデータを読み出し、前記一次記憶部と前記二次記憶部とで値が異なるデータについては前記一次記憶部の記憶するデータを用いて前記データ読出指示に対する応答を生成する読出実行部と、を具備することを特徴とする。 A storage system according to an aspect of the present invention is the storage system described above, wherein the execution system unit includes a write instruction acquisition unit that acquires a data write instruction, and the write instruction acquisition unit performs data writing. When the instruction is acquired, according to the data write instruction, a write execution unit that writes data to the primary storage unit, a read instruction acquisition unit that acquires a data read instruction, and the read instruction acquisition unit acquires a data read instruction In accordance with the data read instruction, data is read from the primary storage unit and the secondary storage unit, and data stored in the primary storage unit is stored for data having different values in the primary storage unit and the secondary storage unit. And a read execution unit that generates a response to the data read instruction.
また、本発明の一態様による記憶システムは、上述の記憶システムであって、前記実行系ユニットは、前記一次記憶部の空き容量が空き容量基準値より小さくなると、当該一次記憶部の記憶するデータを前記二次記憶部に移動させて前記一次記憶部の空き容量を増大させる空き容量生成部と、前記二次記憶部の余寿命を判定する余寿命判定部と、前記二次記憶部の余寿命が所定の余寿命より短いと前記余寿命判定部が判定すると、前記空き容量基準値をより小さな値に設定する空き容量基準値設定部と、を具備することを特徴とする。 The storage system according to an aspect of the present invention is the storage system described above, wherein the execution system unit stores data stored in the primary storage unit when the free capacity of the primary storage unit becomes smaller than a free capacity reference value. To the secondary storage unit to increase the free capacity of the primary storage unit, a remaining life determination unit for determining the remaining life of the secondary storage unit, and a surplus of the secondary storage unit And a free space reference value setting unit that sets the free space reference value to a smaller value when the remaining life determination unit determines that the life is shorter than a predetermined remaining life.
また、本発明の一態様による記憶システムは、上述の記憶システムであって、前記実行系ユニットと、前記待機系ユニットとは、それぞれ、前記一次記憶部の空き容量が空き容量基準値より小さくなると、当該一次記憶部の記憶するデータを前記二次記憶部に移動させて前記一次記憶部の空き容量を増大させる空き容量生成部を具備し、前記実行系ユニットの前記空き容量基準値と、前記待機系ユニットの前記空き容量基準値とは、互いに異なる値であることを特徴とする。 The storage system according to an aspect of the present invention is the storage system described above, wherein the execution unit and the standby unit each have a free space in the primary storage unit smaller than a free space reference value. A free capacity generation unit that moves the data stored in the primary storage unit to the secondary storage unit to increase the free capacity of the primary storage unit, the free space reference value of the execution system unit, The free space reference value of the standby unit is different from each other.
また、本発明の一態様によるデータ管理方法は、一次記憶部と、制御対象の制御に用いる制御データを検索キーと対応付けて記憶する二次記憶部と、を具備する実行系ユニットと、一次記憶部と、制御対象の制御に用いる制御データを、制御対象の状況を示す状況情報と対応付けて記憶する二次記憶部とを具備する記憶システムのデータ管理方法であって、前記実行系ユニットが、状況情報を取得する状況情報取得ステップと、前記実行系ユニットが、前記状況情報取得ステップにて取得した状況情報に基づいて、当該状況情報に応じた検索キーに対応付けられている前記制御データを読み出して、前記一次記憶部に転送する実行系ユニット制御データ転送ステップと、前記実行系ユニットが、前記制御データ転送ステップにて前記制御データの転送を行うと、当該転送を指示する指示情報を待機系ユニットに送信する指示情報送信ステップと、前記待機系ユニットが、前記指示情報に従って前記二次記憶部から前記制御データを読み出して、前記一次記憶部に転送する待機系ユニット制御データ転送ステップと、を具備することを特徴とする。 In addition, a data management method according to an aspect of the present invention includes an execution system unit including a primary storage unit and a secondary storage unit that stores control data used for control of a control target in association with a search key; A data management method for a storage system, comprising: a storage unit; and a secondary storage unit that stores control data used for control of the control target in association with status information indicating the status of the control target. The status information acquisition step for acquiring status information, and the control associated with the search key corresponding to the status information based on the status information acquired by the execution system unit in the status information acquisition step An execution system unit control data transfer step of reading data and transferring it to the primary storage unit, and the execution system unit in the control data transfer step When the transfer is performed, the instruction information transmission step of transmitting the instruction information instructing the transfer to the standby system unit, the standby system unit reads the control data from the secondary storage unit according to the instruction information, And a standby unit control data transfer step of transferring to the primary storage unit.
また、本発明の一態様によるプログラムは、一次記憶部と、制御対象の制御に用いる制御データを検索キーと対応付けて記憶する二次記憶部と、を具備する実行系ユニットと、一次記憶部と、制御対象の制御に用いる制御データを、制御対象の状況を示す状況情報と対応付けて記憶する二次記憶部とを具備する記憶システムとしてのコンピュータシステムに、前記実行系ユニットが、状況情報を取得する状況情報取得ステップと、前記実行系ユニットが、前記状況情報取得ステップにて取得した状況情報に基づいて、当該状況情報に応じた検索キーに対応付けられている前記制御データを読み出して、前記一次記憶部に転送する実行系ユニット制御データ転送ステップと、前記実行系ユニットが、前記制御データ転送ステップにて前記制御データの転送を行うと、当該転送を指示する指示情報を待機系ユニットに送信する指示情報送信ステップと、前記待機系ユニットが、前記指示情報に従って前記二次記憶部から前記制御データを読み出して、前記一次記憶部に転送する待機系ユニット制御データ転送ステップと、を実行させるためのプログラムである。 A program according to an aspect of the present invention includes an execution system unit including a primary storage unit, and a secondary storage unit that stores control data used for control of a control target in association with a search key, and a primary storage unit And a secondary storage unit that stores the control data used for control of the control target in association with the status information indicating the status of the control target. A status information acquisition step for acquiring the control data, and the execution system unit reads the control data associated with the search key corresponding to the status information based on the status information acquired in the status information acquisition step. The execution system unit control data transfer step for transferring to the primary storage unit and the execution system unit in the control data transfer step The instruction information transmission step for transmitting the instruction information for instructing the transfer to the standby system unit, the standby system unit reads the control data from the secondary storage unit according to the instruction information, A standby unit control data transfer step for transferring to the primary storage unit.
本発明によれば、記憶システムの信頼性をより高めることができる。 According to the present invention, the reliability of the storage system can be further improved.
以下、図面を参照して、本発明の実施の形態について説明する。
図1は、本発明の一実施形態における制御システムの機能構成を示す概略ブロック図である。同図において、制御システム(記憶システム)1は、実行系ユニット100と、待機系ユニット200と、ネットワーク300とを具備し、制御対象900の制御に必要なデータを記憶して、制御対象900を制御する。実行系ユニット100は、通信部(指示情報送信部)110と、処理部120と、一次記憶部130と、二次記憶部140と、データ管理部150とを具備する。データ管理部150は、入出力部(状況情報取得部、書込指示取得部、読出指示取得部)151と、読出書込実行部(制御データ転送部、空き容量生成部、書込実行部、読出実行部)152とを具備する。待機系ユニット200は、通信部210と、処理部220と、一次記憶部230と、二次記憶部240と、データ管理部250とを具備する。データ管理部250は、入出力部251と、読出書込実行部(制御データ転送部、空き容量生成部、書込実行部、読出実行部)252とを具備する。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic block diagram showing a functional configuration of a control system in one embodiment of the present invention. In the figure, a control system (storage system) 1 includes an
制御対象900は、制御システム1において制御対象となっているプラントまたは装置である。なお、以下では制御対象900がガスタービンである場合について説明するが、本発明の適用範囲は制御対象がガスタービンである場合に限らない。本発明は、データの記憶を伴う様々な制御に適用可能であり、制御対象は様々な装置であってもよいし、さらには単体の装置に限らず様々なプラントであってもよい。
The
ネットワーク300は、制御対象900と実行系ユニット100と待機系ユニット200とを接続して通信信号を伝送する通信ネットワークである。このネットワーク300として、様々な形態の通信ネットワークを用いることができる。例えば、ネットワーク300は、無線通信ネットワークであってもよいし、有線のネットワークであってもよい。また、ネットワーク300は、LAN(Local Area Network)であってもよいし、インターネット(Internet)であってもよい。また、本構成では制御対象900とネットワーク300とを直接接続しているが、図示しないIO処理装置を経由して制御対象900とネットワーク300とを接続してもよい。
The
実行系ユニット100は、制御データを記憶して制御対象900の制御を行うユニットである。なお、ここでいう制御データとは、制御対象900の制御に用いられるデータである。例えば、制御データには、気温やガスタービン各部の温度や圧力などの状態量と、弁開度指令など実行系ユニット100(処理部120)が制御対象900に出力する信号または当該信号を生成するためのパラメータ値とが含まれる。そして、実行系ユニット100(処理部120)は、制御データに含まれる目標値と制御対象900における実測値との差を算出し、差に応じた制御指令値を取得(算出、あるいは、制御データの中から読出)して、制御対象900に出力する。
The
通信部110は、ネットワーク300を介して制御対象900や待機系ユニット200(通信部210)と通信を行う。特に、後述するように、読出書込実行部152が二次記憶部140から一次記憶部130への制御データの転送(ここではコピー)を行うと、通信部110は、当該転送を指示する指示情報を待機系ユニット200に送信する。
The
処理部120は、制御対象900を制御する。具体的には、処理部120は、実行系ユニット100(一次記憶部130および二次記憶部140)の記憶する制御データと、制御対象900における状態量の測定値とに基づいて、制御対象900に対する制御指令を求める(算出する、あるいは、実行系ユニット100の記憶する制御データの中から読み出す)。そして、処理部120は、求めた制御指令を、通信部110およびネットワーク300を介して制御対象900に送信することにより、制御対象900を制御する。
また、処理部120は、制御対象900の制御に必要な制御データを要求するデータ読出指示や、制御対象900の制御に際して取得した制御データの保存を指示するデータ書込指示を、データ管理部150(入出力部151)に出力する。なお、以降、本装置でいう書込には、制御データの追加書込と更新がある。
The
In addition, the
二次記憶部140は、例えばハードディスクドライブなど、少なくともデータの書込または読出のいずれかを行うことで故障の可能性が高まる(寿命を迎える)記憶媒体を用いて構成され、制御データを検索キーと対応付けて記憶する。具体的には、二次記憶部140の記憶領域が、予めブロックに区分されており、例えば検索キーとしての発電機出力および気温が各ブロックに対応付けられている。そして、二次記憶部140は、ある発電機出力およびある気温に対する制御データ(当該発電機出力および当該気温のときに、処理部120が制御対象900を制御するために必要となる一連のデータ。以下では、ある検索キーに対応付けられる一連の制御データを「制御データ集合」と称する)を、当該発電機出力および気温に対応付けられたブロックに記憶する。
The
ここで、検索キーとブロックとの対応付けは、例えば、読出書込実行部152がテーブル(表)形式で記憶しておく。具体的には、読出書込実行部152が、発電機出力と気温とブロックのアドレス(例えば先頭アドレス)が対応付けられたテーブルを記憶しておく。あるいは、読出書込実行部152が、発電機出力および気温を入力としてブロックのアドレスを出力する関数を予め記憶しておくなど、テーブル以外の方法で記憶するようにしてもよい。
Here, the association between the search key and the block is stored in, for example, a table format by the read /
なお、制御データ集合と検索キーとを対応付ける方法は、上述した二次記憶部140の記憶領域のブロックと検索キーとを対応付ける方法に限らず、様々な方法を用いることができる。例えば、二次記憶部140の記憶領域にフォルダ(ディレクトリ)が設けられ、各フォルダに発電機出力と気温とが対応付けられていてもよい。この場合、二次記憶部140は、ある発電機出力およびある気温に対する制御データ集合を、当該発電機出力および気温に対応付けられたフォルダに記憶することで、制御データ集合と検索キーとを対応付けて記憶する。
Note that the method for associating the control data set with the search key is not limited to the method for associating the block of the storage area of the
一次記憶部130は、例えばDRAM(Dynamic Random Access Memory)またはSRAM(Static Random Access Memory)など、データの読込や書出の故障可能性に対する影響が小さい記憶媒体を用いて構成され、制御データ集合を記憶する。ここで、一次記憶部130は、二次記憶部140に対する上位記憶部に該当し、二次記憶部140よりも高速にアクセス(読出および書込)し得る。
The
データ管理部150は、一次記憶部130と二次記憶部140に対するデータの書込や読出を行う。
読出書込実行部152は、一次記憶部130と二次記憶部140に対するデータの書込や読出を実行する。特に、読出書込実行部152は、入出力部151がデータ書込指示を取得すると、当該データ書込指示に従って、一次記憶部130にデータを書き込む。また、読出書込実行部152は、入出力部151がデータ読出指示を取得すると、当該データ読出指示に従って、一次記憶部130または二次記憶部140から該当するデータを読み出し、データ読出指示に対する応答を生成する。
The read /
より具体的には、読出書込実行部152は、処理部120から出力されたデータ書込指示を、入出力部151を介して取得すると、当該データ書込指示に含まれる制御データ集合と検索キーとを対応付けて一次記憶部130に記憶させる(書き込む)。読出書込実行部152が、制御データ集合を一次記憶部130に記憶させることで、二次記憶部140に対する制御データ集合の書込回数や読出回数を低減させることができる。
More specifically, when the read /
また、読出書込実行部152は、入出力部151が取得した状況情報に基づいて、当該状況情報に応じた検索キーに対応付けられている制御データ集合を、二次記憶部140から読み出して一次記憶部130に転送する。ここで、状況情報には、制御対象の状態情報、または、制御対象の周囲環境を示す情報が含まれる。また、読出書込実行部152は、処理部120から要求(読出指示)される制御データ集合の、一次記憶部130におけるヒット率を高めるために、二次記憶部140から一次記憶部130への制御データ集合の転送を行う。
Further, the read /
ここで、制御対象900の制御にどのような制御データ集合が必要かは、制御データ集合の検索キーとして用いられている発電機出力および気温によって特定される。そこで、読出書込実行部152は、状況情報として発電機出力の最新データと気温の最新データとを取得する。そして、読出書込実行部152は、得られた発電機出力および気温に対応付けられている制御データ集合を、二次記憶部140から一次記憶部130に転送する(すなわち、二次記憶部140から読み出して一次記憶部130に書き込む)。
Here, what kind of control data set is necessary for control of the
このように、読出書込実行部152は、状況情報に基づいて二次記憶部140から一次記憶部130に制御データ集合を転送することで、適切な制御データ集合(すなわち、処理部120が必要とする可能性の高い制御データ集合)を一次記憶部130に予め(処理部120から指示される前に)記憶させることができる。
これにより、読出書込実行部152は、処理部120から制御データ集合を要求された際に、一次記憶部130を参照して当該制御データ集合を取得することができる可能性が高く、二次記憶部140へのアクセス回数(ここでは、二次記憶部140からの制御データ集合の読出回数)を低減させることができる。二次記憶部140へのアクセス回数を低減させることで、二次記憶部140を構成するハードディスクドライブの可動部分の磨耗を抑制することができ、当該ハードディスクドライブの寿命を延ばすことができる。この点で、制御システム1の信頼性を高めることができ、ひいては、制御対象900や制御システム1の稼働率を向上させることができる。
また、読出書込実行部152は、制御データ集合を一次記憶部130に予め記憶させておくことで、処理部120から制御データ集合を要求された際に、速やか制御データ集合を読み出して出力(返送)することができる。
As described above, the read /
As a result, the read /
Also, the read /
また、読出書込実行部152は、一次記憶部130の空き容量を検出し、一次記憶部130の空き容量が空き容量基準値より小さくなると、一次記憶部130の記憶するデータを二次記憶部140に移動させて一次記憶部130の空き容量を増大させる(すなわち、一次記憶部130から制御データ集合を読み出して二次記憶部140の該当ブロックに書き込み、また、制御データ集合を読み出した一次記憶部130の記憶領域を解放する(新たなデータを書込可能とする))。無論、既に二次記憶部140上に同じ制御データが存在する場合、即ち二次記憶部140から一次記憶部130に移された後更新されていない制御データは、二次記憶部に書き込まずに廃棄してもよい。
Further, the read /
ここで、読出書込実行部152は、空き容量基準値として、例えば、一次記憶部130の全記憶容量の10%(パーセント)などの定数値を予め記憶している。そして、読出書込実行部152は、一次記憶部130の空き容量が空き容量基準値より小さくなると、処理部120から要求される可能性の低い制御データ集合を判定し、当該制御データ集合を二次記憶部140に移動させて一次記憶部130の空き容量を増大させる。
Here, the read /
その際、読出書込実行部152は、一次記憶部130に書き込まれてからの経過時間の長い制御データ集合ほど、処理部120から要求される可能性の低い制御データ集合と判定する。あるいは、読出書込実行部152が、制御データ集合に対応付けて一次記憶部130が記憶している検索キー(発電機出力および気温)の各々と、発電機出力および気温の最新データとの距離(例えばユークリッド距離、すなわち、発電機出力の差の2乗と気温の差の2乗との合計の平方根の値)を算出し、距離の大きい検索キーに対応付けられている制御データ集合ほど、処理部120から要求される可能性の低い制御データ集合と判定するなど、書込からの経過時間以外の基準に基づいて判定を行うようにしてもよい。
At this time, the read /
また、読出書込実行部152は、読出書込実行部152自らが行った書込を示すデータ書込指示を、処理部120や通信部110やネットワーク300を介して待機系ユニット200に送信する。また、読出書込実行部152は、二次記憶部140の記憶する制御データ集合を一次記憶部130に転送する際や、一次記憶部130の記憶する制御データ集合を二次記憶部140に移動させる際に、読出書込実行部152自らが行った読出を示すデータ読出指示を、処理部120や通信部110やネットワーク300を介して待機系ユニット200に送信する。読出書込実行部152は、これらデータ書込指示やデータ読出指示を待機系ユニット200に送信することで、実行系ユニット100の記憶する制御データ集合と、待機系ユニット200の記憶する制御データ集合とを同期(トラッキング)させる。
Further, the read /
ここで、読出書込実行部152は、読出書込実行部152自らが書込を行った制御データ集合をデータ書込指示に含めて待機系ユニット200に送信する。これにより、実行系ユニット100が制御データ集合を記憶するタイミングと、待機系ユニット200が制御データ集合を記憶するタイミングとのずれにかかわらず、待機系ユニット200が実行系ユニット100と同じ制御データ集合を記憶するようにできる。
Here, the read /
なお、以下では、読出書込実行部152が、データの読出や書込を行う毎にデータ読出指示やデータ書込指示を送信する場合について説明するが、読出書込実行部152がデータ読出指示やデータ書込指示を送信するタイミングはこれに限らない。例えば、読出書込実行部152が、一定周期毎にデータ読出指示やデータ書込指示を送信するなど、送信タイミングの時間管理を行うようにしてもよい。
In the following, a case where the read /
入出力部151は、処理部120との間でデータの入出力を行う。
特に、入出力部151は、制御データ集合と検索キーとを含むデータ書込指示を処理部120から取得すると、取得したデータ書込指示を読出書込実行部152に出力する。ここで、入出力部151が、制御データ集合に検索キーを含めて取得するようにしてもよいし、制御データ集合と検索キーとを別々に取得するようにしてもよい。
また、入出力部151は、制御データ集合の読出を指示するデータ読出指示を処理部120から取得すると、取得したデータ読出指示を読出書込実行部152に出力する。
The input /
In particular, when the input /
In addition, when the input /
また、入出力部151は、一次記憶部130と二次記憶部140との間で制御データ集合の転送を行うか否かを、読出書込実行部152が判定するためのデータとして、制御対象900の状況を示す状況情報を処理部120から取得し、読出書込実行部152に出力する。
また、入出力部151は、読出書込実行部152から出力されるデータ読出指示やデータ書込指示を、処理部120を介して通信部110に出力し、待機系ユニット200へ送信させる。
In addition, the input /
In addition, the input /
待機系ユニット200は、実行系ユニット100と同様の構成を有し、実行系ユニット100(読出書込実行部152)からのデータ読出指示やデータ書込指示に従って、実行系ユニット100が記憶する制御データ集合と同じ制御データ集合を記憶している。そして、実行系ユニット100に障害が発生すると、待機系ユニット200が制御対象900の制御を引き継ぐ。この場合、実行系ユニットと待機系ユニットとが入れ替わる。すなわち、待機系ユニット200が新たに実行系ユニットとなり、実行系ユニット100は待機系ユニットとなる。
なお、待機系ユニット200における通信部210と、処理部220と、一次記憶部230と、二次記憶部240と、データ管理部250と、入出力部251と、読出書込実行部252とは、それぞれ、実行系ユニット100における通信部110と、処理部120と、一次記憶部130と、二次記憶部140と、データ管理部150と、入出力部151と、読出書込実行部152とに対応する。そして、実行系ユニットと待機系ユニットとが入れ替わると、待機系ユニット200の各部は、実行系ユニット100の対応する各部について上述した機能を有して処理を行い、また、実行系ユニット100の各部は、待機系ユニット200の対応する各部について以下に説明する機能を有して処理を行う。
The
通信部210は、ネットワーク300を介して制御対象900や実行系ユニット100(通信部110)と通信を行う。特に、通信部210は、制御データ集合の転送を指示する指示情報を受信すると、当該指示情報を、処理部220を介してデータ管理部250に出力する。
The
処理部220は、処理部120から制御対象900の制御を引き継ぐ。例えば、実行系ユニット100が正常に動作している状態では、処理部220は休止している。そして、実行系ユニット100に障害が発生し、実行系ユニットと待機系ユニットとが入れ替わると、処理部220が、処理部120に代わって制御対象900の制御を行う。
The
二次記憶部240は、二次記憶部140と同様、例えばハードディスクドライブなど、少なくともデータの書込または読出のいずれかを行うことで故障の可能性が高まる(寿命を迎える)記憶媒体を用いて構成され、制御データ集合を検索キーと対応付けて記憶する。
一次記憶部230は、一次記憶部130と同様、例えばDRAMまたはSRAMなど、データの読込や書出の故障可能性に対する影響が小さい記憶媒体を用いて構成され、制御データ集合を記憶する。ここで、一次記憶部230は、二次記憶部240に対する上位記憶部に該当し、二次記憶部240よりも高速にアクセス(読出および書込)し得る。
Similar to the
Similar to the
データ管理部250は、一次記憶部230と二次記憶部240に対するデータの書込や読出を行う。
読出書込実行部252は、一次記憶部230と二次記憶部240に対するデータの書込や読出を実行する。具体的には、読出書込実行部252は、読出書込実行部152から出力されるデータ読出指示やデータ書込指示に従って、一次記憶部230や二次記憶部240に対するデータの読出や書込を行う。読出書込実行部252が当該データの読出や書込を行うことで、実行系ユニット100の記憶する制御データ集合と、待機系ユニット200の記憶する制御データ集合との同期が取られ、待機系ユニット200は、実行系ユニット100と同じ制御データ集合を記憶するようになる。
The
The read /
なお、読出書込実行部252が、読出書込実行部252自らの判定に基づいて一次記憶部230の空き容量を確保するようにしてもよい。この場合、読出書込実行部152は、一次記憶部130の記憶するデータを二次記憶部140に移動させて一次記憶部130の空き容量を増大させた際のデータ読出指示やデータ書込指示を送信しない。そして、読出書込実行部252は、読出書込実行部152と同様に、一次記憶部230の空き容量を検出し、一次記憶部230の空き容量が空き容量基準値より小さくなると、一次記憶部230の記憶するデータを二次記憶部240に移動させて一次記憶部230の空き容量を増大させる。
Note that the read /
読出書込実行部252が、読出書込実行部252自らの判定に基づいて一次記憶部230の空き容量を確保することで、後述するように、実行系ユニット100(読出書込実行部152)と、待機系ユニット200(読出書込実行部252)とが、互いに異なる値の空き容量基準値を用いて、それぞれ、一次記憶部(一次記憶部130または230)の空き容量を確保する処理を行うか否かを判定することができる。
The read /
入出力部251は、処理部220との間でデータの入出力を行う。
特に、入出力部251は、実行系ユニット100(読出書込実行部152)が送信したデータ読出指示やデータ書込指示を、ネットワーク300や通信部210や処理部220を介して受信すると、当該データ読出指示やデータ書込指示を読出書込実行部252に出力する。
The input /
In particular, when the input /
なお、制御システム1における各部の構成は、図1に示すものに限らず、様々な構成とすることができる。例えば、制御システム1が具備するユニットの数は図1に示す2つ(実行系ユニット100および待機系ユニット200)に限らず、3つ以上であってよい。この場合、いずれか1つのユニットが実行系ユニットとなり、他のユニットが待機系ユニットとなる。
また、制御システム1の具備する各ユニットは、同一の筐体に格納されていてもよいし、互いに異なる筐体に格納されていてもよい。
In addition, the structure of each part in the
Each unit included in the
また、処理部120とデータ管理部150とが、同一の筐体に格納されていてもよいし、互いに異なる筐体に格納されていてもよい。さらには、処理部120とデータ管理部150とが、同一のCPU(Central Processing Unit、中央処理装置)を用いて実現されていてもよい。同様に、処理部220とデータ管理部250とが、同一の筐体に格納されていてもよいし、互いに異なる筐体に格納されていてもよい。さらには、処理部220とデータ管理部250とが、同一のCPUを用いて実現されていてもよい。
Further, the
次に、図2〜図7を参照して制御システム1の動作について説明する。
図2は、データ管理部150が行う処理の手順を示すフローチャートである。データ管理部150は、制御システム1が起動して動作状態となると、同図の処理を開始する。
同図の処理において、読出書込実行部152は、まず、処理部120からのデータ書込指示に対する処理を行う(ステップS101)。次に、読出書込実行部152は、処理部120からのデータ読出指示に対する処理を行う(ステップS102)。そして、読出書込実行部152は、二次記憶部140から一次記憶部130への制御データ集合の転送に関する処理を行う(ステップS103)。次に、読出書込実行部152は、一次記憶部130の空き容量の確保に関する処理を行う(ステップS104)。その後、ステップS101に戻る。
Next, the operation of the
FIG. 2 is a flowchart showing a procedure of processing performed by the
In the process of FIG. 9, the read /
なお、データ管理部150(読出書込実行部152)が、ステップS101〜S104の各処理を行う順序は、図2に示す順序に限らず、様々な順序とすることができる。例えば、データ管理部150がステップS101〜S104の各処理を並列に実行するようにしてもよい。
The order in which the data management unit 150 (read / write execution unit 152) performs the processes in steps S101 to S104 is not limited to the order shown in FIG. For example, the
図3は、データ管理部150が、処理部120からのデータ書込指示に対する処理を行う手順を示すフローチャートである。データ管理部150は、図2のステップS101において、図3の処理を行う。
図3の処理において、読出書込実行部152は、入出力部151が処理部120からのデータ書込指示を取得したか否か(すなわち、処理部120から出力されたデータ書込指示の有無)を判定する(ステップS121)。データ書込指示を取得していないと判定した場合(ステップS121:NO)、同図の処理を終了する。
FIG. 3 is a flowchart illustrating a procedure in which the
In the process of FIG. 3, the read /
一方、ステップS121においてデータ書込指示を取得していると判定した場合(ステップS121:YES)、読出書込実行部152は、当該データ書込指示に従って、一次記憶部130に制御データ集合を書き込む(ステップS122)。具体的には、読出書込実行部152は、当該データ書込指示に含まれる検索キーに対応した制御データ集合を一次記憶部130が既に記憶している場合は、当該制御データ集合を更新し、記憶していない場合は、新たに制御データ集合を書き込む。
On the other hand, when it is determined in step S121 that the data write instruction has been acquired (step S121: YES), the read /
そして、読出書込実行部152は、読出書込実行部152自らが行った制御データ集合の書込と同じ書込を行うよう指示するデータ書込指示を、処理部120を介して通信部110に出力し、待機系ユニット200へ送信させる(ステップS123)。ここで、読出書込実行部152は、一次記憶部130に書き込んだ制御データ集合および当該制御データ集合に対応する検索キーを含むデータ書込指示を、待機系ユニット200へ送信させる。
その後、ステップS121に戻る。
Then, the read /
Thereafter, the process returns to step S121.
このように、読出書込実行部152は、書込を指示された制御データ集合を、まず、一次記憶部130に書き込む。従って、一次記憶部130が記憶している制御データ集合は有効なデータ(適切に更新されている一連のデータ)となっている。
Thus, the read /
図4は、データ管理部150が、処理部120からのデータ読出指示に対する処理を行う手順を示すフローチャートである。データ管理部150は、図2のステップS102において、図4の処理を行う。
図4の処理において、読出書込実行部152は、入出力部151が処理部120からのデータ読出指示を取得したか否か(すなわち、処理部120から出力されたデータ読出指示の有無)を判定する(ステップS141)。データ読出指示を取得していないと判定した場合(ステップS141:NO)、同図の処理を終了する。
FIG. 4 is a flowchart illustrating a procedure in which the
In the processing of FIG. 4, the read /
一方、ステップS141においてデータ読出指示を取得していると判定した場合(ステップS141:YES)、読出書込実行部152は、当該データ読出指示に含まれる検索キーを用いて、一次記憶部130に対して制御データ集合の検索を行い(ステップS142)、要求された制御データ集合を一次記憶部130が記憶しているか否かを判定する(ステップS143)。
On the other hand, when it is determined in step S141 that the data read instruction has been acquired (step S141: YES), the read /
一次記憶部130が記憶していると判定した場合(ステップS143:YES)、読出書込実行部152は、当該制御データ集合を、一次記憶部130から読み出す(ステップS144)。そして、読出書込実行部152は、得られた制御データ集合を、データ読出指示に対する応答として、入出力部151に出力する(ステップS145)。入出力部151は、当該制御データ集合を、処理部120を介して通信部110に出力し、待機系ユニット200へ送信させる。
その後、同図の処理を終了する。
When it is determined that the
Thereafter, the process of FIG.
一方、ステップS143において、一次記憶部130が当該制御データ集合を記憶していないと判定した場合(ステップS143:NO)、読出書込実行部152は、データ読出指示に含まれる検索キーに対応する制御データ集合を、二次記憶部140から読み出す(ステップS151)。
そして、読出書込実行部152は、ステップS151で二次記憶部140から読み出した制御データ集合を、一次記憶部130に書き込む(ステップS152)。この場合、ステップS143における判定結果が示すように、一次記憶部130は、データ読出指示に含まれる検索キーに対応する制御データ集合を記憶していない。そこで、読出書込実行部152は、二次記憶部140から読み出した制御データ集合を、新たな制御データ集合として一次記憶部130に書き込む。
On the other hand, if it is determined in step S143 that
Then, the read /
次に、読出書込実行部152は、ステップS151〜S152において読出書込実行部152自らが行った制御データ集合のコピーと同じコピーを行わせる指示を入出力部151に出力する(ステップS153)。入出力部151は、当該指示を、処理部120を介して通信部110に出力し、待機系ユニット200へ送信させる。
例えば、読出書込実行部152は、読出書込実行部152自らが行った制御データ集合のコピーと同じコピーを行わせる指示として、ステップS152において一次記憶部130に書き込んだ制御データ集合を一次記憶部230に書き込むよう指示するデータ書込指示を、入出力部151に出力する。その際、読出書込実行部152は、制御データ集合および検索キーを含むデータ書込指示を入出力部151に出力する。
あるいは、読出書込実行部152が、ステップS151において二次記憶部140から読み出した制御データ集合と同一の制御データ集合を二次記憶部240から読み出すよう指示するデータ読出指示と、読み出した制御データ集合を一次記憶部230に書き込むよう指示するデータ書込指示とを入出力部151に出力するようにしてもよい。
ステップS153の後、ステップS145に進む。
Next, the read /
For example, the read /
Alternatively, the data read instruction that instructs the read /
After step S153, the process proceeds to step S145.
図5は、データ管理部150が、二次記憶部140から一次記憶部130への制御データ集合の転送に関する処理を行う手順を示すフローチャートである。データ管理部150は、図2のステップS103において、図5の処理を行う。
図5の処理において、読出書込実行部152は、制御対象900からの状況情報を取得し、制御対象900における状況の変化量を算出する(ステップS161)。例えば、読出書込実行部152は、発電機出力の最新データおよび気温の最新データを取得し、前回、二次記憶部140から制御データ集合を読み出して一次記憶部130に書き込んだ際の発電機出力および気温とのユークリッド距離を、変化量として算出する。
FIG. 5 is a flowchart illustrating a procedure in which the
In the process of FIG. 5, the read /
そして、読出書込実行部152は、ステップS161で算出した変化量が、所定の閾値以上か否かを判定する(ステップS162)。変化量が閾値未満であると判定した場合(ステップS162:NO)、同図の処理を終了する。
一方、変化量が閾値以上であると判定した場合(ステップS162:YES)、読出書込実行部152は、ステップS161で取得した状況情報(発電機出力の最新データおよび気温の最新データ)を検索キーとして、一次記憶部130に対して制御データ集合の検索を行い(ステップS163)、該当する制御データ集合を一次記憶部130が既に記憶しているか否かを判定する(ステップS164)。
Then, the read /
On the other hand, when it is determined that the amount of change is equal to or greater than the threshold (step S162: YES), the read /
一次記憶部130が既に記憶していると判定した場合(ステップS164:YES)、同図の処理を終了する。
一方、一次記憶部130が、該当する制御データを未だ記憶していないと判定した場合(ステップS164:NO)、読出書込実行部152は、一次記憶部130から二次記憶部140へ移動させる制御データ集合を選択する(ステップS165)。例えば、上述したように、読出書込実行部152は、制御データ集合が一次記憶部130に書き込まれてからの経過時間に基づいて、経過時間の最も長い制御データ集合を選択する。
When it determines with the primary memory |
On the other hand, when the
そして、読出書込実行部152は、ステップS165で選択した制御データ集合を、対応付けられている検索キーと共に一次記憶部130から読み出し、これら制御データ集合や検索キーを記憶していた記憶領域を解放する(ステップS166)。
そして、読出書込実行部152は、ステップS166で読み出した制御データ集合を、二次記憶部140の記憶領域のブロックのうち、ステップS166で読み出した検索キーに対応するブロックに書き込む(ステップS167)。
Then, the read /
Then, the read /
次に、読出書込実行部152は、ステップS161で取得した状況情報(発電機出力の最新データおよび気温の最新データ)に対応付けられている制御データ集合を、二次記憶部140から読み出す(ステップS168)。
そして、読出書込実行部152は、ステップS168で読み出した制御データ集合を、新たな制御データ集合として一次記憶部130に書き込む(ステップS169)。
Next, the read /
Then, the read /
次に、読出書込実行部152は、図5の処理において読出書込実行部152自らが行った制御データ集合の転送と同じ転送を行わせる指示を入出力部151に出力する(ステップS170)。入出力部151は、当該指示を、処理部120を介して通信部110に出力し、待機系ユニット200へ送信させる。
例えば、読出書込実行部152は、読出書込実行部152自らが行った制御データ集合の転送と同じ転送を行わせる指示として、ステップS166において行った一次記憶部130の記憶領域の解放と同様に、一次記憶部230の記憶領域を解放するよう指示する解放指示と、ステップS167において二次記憶部140に書き込んだ制御データ集合を二次記憶部240に書き込むよう指示するデータ書込指示と、ステップS169において一次記憶部130に書き込んだ制御データ集合を一次記憶部230に書き込むよう指示するデータ書込指示とを、入出力部151に出力する。
ステップS170の後、図5の処理を終了する。
Next, the read /
For example, the read /
After step S170, the process in FIG.
なお、読出書込実行部152が、複数の制御データ集合を二次記憶部140から一次記憶部130に転送するようにしてもよい。例えば、読出書込実行部152が、ステップS168において、二次記憶部140の記憶する制御データ集合のうち、検索キーとして対応付けられている発電機出力および気温と、発電機出力の最新データおよび気温の最新データとの距離が近い順に所定個の制御データ集合を選択し、選択した制御データ集合をステップS169において一次記憶部130に書き込むようにしてもよい。
読出書込実行部152が、複数の制御データ集合を一次記憶部130に転送しておくことで、処理部120から制御データ集合を要求された際の、一次記憶部130におけるヒット率を高めることができる。
Note that the read /
The read /
図6は、データ管理部150が、一次記憶部130の空き容量の確保に関する処理を行う手順を示すフローチャートである。データ管理部150は、図2のステップS104において、図6の処理を行う。
図6の処理において、読出書込実行部152は、一次記憶部130の空き容量を検出する(ステップS181)。そして、読出書込実行部152は、検出した空き容量と、予め記憶する空き容量基準値とを比較して、空き容量が不足しているか否か(検出した空き容量が空き容量基準値未満か否か)を判定する(ステップS182)。
FIG. 6 is a flowchart illustrating a procedure in which the
In the process of FIG. 6, the read /
空き容量が不足していないと判定した場合(ステップS182:NO)、同図の処理を終了する。
一方、空き容量が不足していると判定した場合(ステップS182:YES)、読出書込実行部152は、一次記憶部130から二次記憶部140へ移動させる制御データ集合を選択する(ステップS183)。例えば、上述したように、読出書込実行部152は、制御データ集合が一次記憶部130に書き込まれてからの経過時間に基づいて、経過時間の長い順に、空き容量不足分(空き容量検出値と空き容量基準値との差)に相当する個数の制御データ集合を選択する。
If it is determined that the free space is not insufficient (step S182: NO), the processing in FIG.
On the other hand, when it is determined that the free space is insufficient (step S182: YES), the read /
そして、読出書込実行部152は、ステップS183で選択した制御データ集合の各々を、検索キーと共に一次記憶部130から読み出し、これら制御データ集合や検索キーを記憶していた記憶領域を解放する(ステップS184)。
そして、読出書込実行部152は、ステップS184で読み出した制御データ集合の各々を、二次記憶部140の記憶領域のブロックのうち、ステップS184で読み出した検索キーに対応するブロックに書き込む(ステップS185)。
Then, the read /
Then, the read /
次に、読出書込実行部152は、ステップS183〜S185において読出書込実行部152自らが行った制御データ集合の移動および記憶領域の解放と同じ処理を行わせる指示を入出力部151に出力する(ステップS186)。入出力部151は、当該指示を、処理部120を介して通信部110に出力し、待機系ユニット200へ送信させる。
例えば、読出書込実行部152は、読出書込実行部152自らが行った処理と同じ処理を行わせる指示として、ステップS184において行った一次記憶部130の記憶領域の解放と同様に、一次記憶部230の記憶領域を解放するよう指示する解放指示と、ステップS185において二次記憶部140に書き込んだ制御データ集合を二次記憶部240に書き込むよう指示するデータ書込指示とを、入出力部151に出力する。
ステップS186の後、図6の処理を終了する。
Next, the read /
For example, the read /
After step S186, the process of FIG.
図7は、データ管理部250が行う処理の手順を示すフローチャートである。データ管理部250は、制御システム1が起動して動作状態となると、同図の処理を開始する。なお、データ管理部250は、データ管理部150(読出書込実行部152)からの指示をバッファに一時保存し、指示が発せられた順に処理する。
FIG. 7 is a flowchart illustrating a processing procedure performed by the
図7の処理において、読出書込実行部252は、入出力部251が、読出書込実行部152から出力された、一次記憶部230へのデータ書込指示を取得したか否かを判定する(ステップS201)。データ書込指示を取得していると判定した場合(ステップS201:YES)、読出書込実行部252は、当該データ書込指示に従って、一次記憶部230に制御データ集合を書き込む(ステップS202)。
In the process of FIG. 7, the read /
次に、読出書込実行部252は、入出力部251が、読出書込実行部152から出力された、二次記憶部240へのデータ書込指示を取得したか否かを判定する(ステップS211)。データ書込指示を取得していると判定した場合(ステップS211:YES)、読出書込実行部252は、当該データ書込指示に従って、二次記憶部240に制御データ集合を書き込む(ステップS212)。
Next, the read /
次に、読出書込実行部252は、入出力部251が、読出書込実行部152から出力された、一次記憶部230からのデータ読出指示を取得したか否かを判定する(ステップS221)。データ読出指示を取得していると判定した場合(ステップS221:YES)、読出書込実行部252は、当該データ読出指示に従って、一次記憶部230から制御データ集合を読み出す(ステップS222)。
Next, the read /
次に、読出書込実行部252は、入出力部251が、読出書込実行部152から出力された、二次記憶部240からのデータ読出指示を取得したか否かを判定する(ステップS231)。データ読出指示を取得していると判定した場合(ステップS231:YES)、読出書込実行部252は、当該データ読出指示に従って、二次記憶部240から制御データ集合を読み出す(ステップS232)。
Next, the read /
次に、読出書込実行部252は、入出力部251が、読出書込実行部152から出力された、一次記憶部230の記憶領域の解放指示を取得したか否かを判定する(ステップS241)。解放指示を取得していると判定した場合(ステップS241:YES)、読出書込実行部252は、当該解放指示に従って、一次記憶部230の記憶領域を解放する(ステップS242)。
その後、ステップS201に戻る。
Next, the read /
Thereafter, the process returns to step S201.
一方、ステップS201において、入出力部251が、該当するデータ書込指示を取得していないと判定した場合(ステップS201:NO)、ステップS211に進む。
また、ステップS211において、入出力部251が、該当するデータ書込指示を取得していないと判定した場合(ステップS211:NO)、ステップS221に進む。
また、ステップS221において、入出力部251が、該当するデータ読出指示を取得していないと判定した場合(ステップS221:NO)、ステップS231に進む。
また、ステップS231において、入出力部251が、該当するデータ読出指示を取得していないと判定した場合(ステップS231:NO)、ステップS241に進む。
また、ステップS241において、入出力部251が、解放指示を取得していないと判定した場合(ステップS241:NO)、ステップS201に戻る。
On the other hand, when the input /
If it is determined in step S211 that the input /
If it is determined in step S221 that the input /
If it is determined in step S231 that the input /
If the input /
以上のように、読出書込実行部152は、制御対象900の状況を示す状況情報に基づいて、一次記憶部130に対するデータの書込や読出を行う。これにより、二次記憶部140に対するデータの書込や読出の回数を低減させることができ、二次記憶部140の寿命を延ばすことができる。この点で、制御システム1の信頼性を高めることができ、ひいては、故障による制御対象900の停止を低減することができ、制御対象900および制御システム1の稼働率を向上させることができる。
As described above, the read /
なお、二次記憶部140や二次記憶部240が、ハードディスクドライブに代えてソリッドステートドライブを具備するようにしてもよい。この場合、上述したように、二次記憶部140の記憶する制御データ集合の一部を一次記憶部130に記憶させて二次記憶部140に対するデータの書込および読出の回数を低減させるようにしてもよいし、あるいは、二次記憶部140に対するデータの書込回数を低減させるようにしてもよい。ソリッドステートドライブは、特に、データを書き込む際に状態劣化を起こし、やがて寿命に至る。従って、ソリッドステートドライブへの書込回数を低減させることで、当該ソリッドステートドライブの寿命を延ばすことができる。
以下、図8〜10を参照して、二次記憶部140に対するデータの書込回数を低減させる場合に、データ管理部150が行う処理について説明する。
The
Hereinafter, processing performed by the
図8は、二次記憶部140に対するデータの書込回数を低減させる場合に、データ管理部150が行う処理の手順を示すフローチャートである。データ管理部150は、図2の処理に代えて、図8の処理を行う。
図8の処理において、ステップS301は、図2のステップS101と同様である。
ステップS301の後、読出書込実行部152は、処理部120からのデータ読出指示に対する処理を行う(ステップS302)。そして、読出書込実行部152は、二次記憶部140から一次記憶部130への制御データ集合の移動に関する処理を行う(ステップS303)。ステップS304は、図2のステップS104と同様である。ステップS304の後、ステップS301に戻る。
FIG. 8 is a flowchart illustrating a procedure of processing performed by the
In the process of FIG. 8, step S301 is the same as step S101 of FIG.
After step S301, the read /
なお、データ管理部150(読出書込実行部152)が、ステップS301〜S304の各処理を行う順序は、図8に示す順序に限らず、様々な順序とすることができる。例えば、データ管理部150がステップS301〜S304の各処理を並列に実行するようにしてもよい。
Note that the order in which the data management unit 150 (read / write execution unit 152) performs the processes in steps S301 to S304 is not limited to the order shown in FIG. For example, the
図9は、データ管理部150が、処理部120からのデータ読出指示に対する処理を行う手順を示すフローチャートである。データ管理部150は、図8のステップS202において、図9の処理を行う。
図9の処理において、読出書込実行部152は、入出力部151が処理部120からのデータ読出指示を取得したか否か(すなわち、処理部120から出力されたデータ読出指示の有無)を判定する(ステップS321)。データ読出指示を取得していないと判定した場合(ステップS321:NO)、同図の処理を終了する。
FIG. 9 is a flowchart illustrating a procedure in which the
9, the read /
一方、ステップS321においてデータ読出指示を取得していると判定した場合(ステップS321:YES)、読出書込実行部152は、当該データ読出指示に含まれる検索キーに対応付けられている制御データ集合を、二次記憶部140から読み出す(ステップS322)。
On the other hand, when it is determined in step S321 that the data read instruction has been acquired (step S321: YES), the read /
次に、読出書込実行部152は、データ読出指示に含まれる検索キーを用いて、一次記憶部130に対して制御データの検索を行い、該当するデータを一次記憶部130が記憶していれば、当該データを読み出す(ステップS323)。
ここで、一次記憶部130が、上記と同様に、制御データ集合を一纏まりとして記憶するようにしてもよいが、より小さい単位で制御データを記憶するようにしてもよい。例えば、一次記憶部130が、1つの制御データ集合を、複数のページに分割して記憶するようにしてもよい。そして、例えば制御データ毎にサンプリング周期が異なる場合に、読出書込実行部152が、制御データ毎のデータ書込指示を取得し、ステップS122(図3)において、一次記憶部130の記憶領域の各ページのうち、取得した制御データの記憶されているページを書き換えるようにしてもよい。
Next, the read /
Here, the
次に、読出書込実行部152は、ステップS322で二次記憶部140から読み出した制御データ(制御データ集合)と、ステップS323で一次記憶部130から読み出した制御データとをマージする(ステップS324)。具体的には、読出書込実行部152は、一次記憶部130と二次記憶部140とで値が異なるデータについては、一次記憶部130の記憶するデータを用いて、データ読出指示に対する応答としての制御データ集合を生成する。また、二次記憶部140のみが記憶しているデータについては、二次記憶部140の記憶するデータを用いる。一方、一次記憶部130と二次記憶部140とが同じ値を記憶している制御データについては、いずれを用いるようにしてもよい。例えば、読出書込実行部152は、一次記憶部130から読み出したデータをページ単位で使用し、読み出したページに含まれるデータについては、一次記憶部130から読み出したデータを用いる。
Next, the read /
次に、読出書込実行部152は、ステップS325で生成した制御データ集合を、データ読出指示に対する応答として、入出力部151を介して処理部120に出力する(ステップS325)。
その後、図9の処理を終了する。
Next, the read /
Then, the process of FIG. 9 is complete | finished.
図10は、データ管理部150が、二次記憶部140から一次記憶部130への制御データ集合の移動に関する処理を行う手順を示すフローチャートである。データ管理部150は、図8のステップS203において、図10の処理を行う。
図10の処理において、ステップS341〜S347は、図5のステップS161〜S167と同様である。ただし、読出書込実行部152が、一次記憶部130の記憶領域におけるページ単位など、制御データ集合より細かい単位で処理を行うようにしてもよい。
FIG. 10 is a flowchart illustrating a procedure in which the
In the process of FIG. 10, steps S341 to S347 are the same as steps S161 to S167 of FIG. However, the read /
また、ステップS347の後、読出書込実行部152は、図10の処理において読出書込実行部152自らが行った制御データの移動と同じ移動を行わせる指示を入出力部151に出力する(ステップS348)。入出力部151は、当該指示を、処理部120を介して通信部110に出力し、待機系ユニット200へ送信させる。
例えば、読出書込実行部152は、読出書込実行部152自らが行った制御データ集合の移動と同じ転送を行わせる指示として、ステップS346において行った一次記憶部130の記憶領域の解放と同様に、一次記憶部230の記憶領域を解放するよう指示する解放指示と、ステップS347において二次記憶部140に書き込んだ制御データを二次記憶部240に書き込むよう指示するデータ書込指示を、入出力部151に出力する。
ステップS348の後、図5の処理を終了する。
Further, after step S347, the read /
For example, the read /
After step S348, the process of FIG.
ここで、図10の処理と図5の処理とを比較すると、図10では、二次記憶部140の記憶する制御データを一次記憶部130にコピーする処理(図5のステップS168〜S169)が行われていない。これは、図10の処理では、二次記憶部140へのデータの書込回数を低減させることを目的としており、二次記憶部140からデータの読出回数については、特に低減を意図していないためである。
なお、待機系ユニット200が行う処理の手順は、図7で説明したとおりである。
Here, when the processing of FIG. 10 is compared with the processing of FIG. 5, in FIG. 10, the process of copying the control data stored in the
The processing procedure performed by the
以上のように、読出書込実行部152は、データ書込指示にて書込を指示された制御データを一次記憶部130に書き込み、二次記憶部140へのデータ書込回数を低減させる。これにより、二次記憶部140の寿命を延ばすことができる。この点で、制御システム1の信頼性を高めることができ、ひいては、故障による制御対象900の停止を低減することができ、制御対象900および制御システム1の稼働率を向上させることができる。
As described above, the read /
また、読出書込実行部152は、制御対象900の状況が大きく変化した場合(具体的には、図10のステップS342において、変化量が閾値以上であると判定した場合)、処理部120から要求される可能性の低い制御データを二次記憶部140に移動させて一次記憶部130の記憶領域を解放し、一方、二次記憶部140から一次記憶部130への制御データのコピーを行わない。
二次記憶部140から一次記憶部130への制御データのコピーを抑制することで、一次記憶部130と二次記憶部140との間でのデータ転送量や、実行系ユニット100と待機系ユニット200とのデータ通信量を削減することができる。これにより、実行系ユニット100や待機系ユニット200の負荷を軽減されることができ、制御システム1の信頼性を一層向上させ得る。
In addition, when the status of the
By suppressing the copying of control data from the
なお、実行系ユニット100(読出書込実行部152)と、待機系ユニット200(読出書込実行部252)とが、それぞれ、一次記憶部の空き領域を確保する処理(図6で説明した処理)を行うようにし、実行系ユニット100と、待機系ユニット200とが、互いに異なる値の空き容量基準値を用いて、それぞれ、一次記憶部(一次記憶部130または一次記憶部230)の空き容量を確保する処理を行うか否かの判定(図6のステップS182)を行うようにしてもよい。
実行系ユニット100と待機系ユニット200とで、互いに異なる空き容量基準値を用いることで、二次記憶部140に対するデータの書込回数や読出回数が異なり、二次記憶部140と二次記憶部240とが互いに異なるタイミングで寿命を迎えることが期待される。従って、二次記憶部140と240とが同時期に故障するおそれを低減させることができ、制御システム1の信頼性をさらに向上させることができる。
The execution system unit 100 (read / write execution unit 152) and the standby system unit 200 (read / write execution unit 252) each secure a free area in the primary storage unit (the process described in FIG. 6). ), And the
By using different free space reference values for the
なお、二次記憶部の余寿命に応じて、データ管理部が、一次記憶部に記憶させるデータ量を変化させるようにしてもよい。
図11は、二次記憶部の余寿命に応じて一次記憶部に記憶させるデータ量を変化させる場合の、制御システムの機能構成を示す概略ブロック図である。同図において、制御システム1は、実行系ユニット100と、待機系ユニット200と、ネットワーク300と、制御対象900とを具備する。実行系ユニット100は、通信部110と、処理部120と、一次記憶部130と、二次記憶部140と、データ管理部150とを具備する。データ管理部150は、入出力部151と、読出書込実行部152と、余寿命判定部153と、空き容量基準値設定部154とを具備する。待機系ユニット200は、通信部210と、処理部220と、一次記憶部230と、二次記憶部240と、データ管理部250とを具備する。データ管理部250は、入出力部251と、読出書込実行部252と、余寿命判定部253と、空き容量基準値設定部254とを具備する。
Note that the data management unit may change the amount of data stored in the primary storage unit according to the remaining life of the secondary storage unit.
FIG. 11 is a schematic block diagram illustrating a functional configuration of the control system when the amount of data stored in the primary storage unit is changed according to the remaining life of the secondary storage unit. In FIG. 1, the
同図において、図1の各部に対応して同様の機能を有する部分には、同一の符号(1、100、110、120、130、140、150〜152、200、210、220、230、240、250〜252、300、900)を付して説明を省略する。図11では、図1に示される各部に加えて、データ管理部150が、余寿命判定部153と空き容量基準値設定部154とをさらに具備し、データ管理部250が、余寿命判定部253と空き容量基準値設定部254とをさらに具備している。
In the figure, parts having the same functions corresponding to the parts in FIG. 1 are denoted by the same reference numerals (1, 100, 110, 120, 130, 140, 150 to 152, 200, 210, 220, 230, 240 , 250-252, 300, 900), and the description thereof is omitted. In FIG. 11, in addition to the units shown in FIG. 1, the
余寿命判定部153は、二次記憶部140の余寿命を判定する。例えば、二次記憶部140が、二次記憶部140自らに対して行われたデータの書込回数および読出回数をカウントし記憶しておく。そして、余寿命判定部153は、当該カウント値と、二次記憶部140に対して可能なデータ読込回数および書込回数として予め設定されている回数との差に基づいて、二次記憶部140の余寿命を検出(算出)する。そして、余寿命判定部153は、検出した余寿命が、所定の余寿命(余寿命基準値)より短いか否かを判定する。
空き容量基準値設定部154は、二次記憶部140の余寿命が所定の余寿命より短いと余寿命判定部153が判定すると、空き容量基準値をより小さな値に設定する。
The remaining
When the remaining
余寿命判定部253は、二次記憶部240の余寿命を判定する。例えば、二次記憶部240が、二次記憶部240自らに対して行われたデータの書込回数および読出回数をカウントし記憶しておく。そして、余寿命判定部253は、当該カウント値と、二次記憶部240に対して可能なデータ読込回数および書込回数として予め設定されている回数との差に基づいて、二次記憶部240の余寿命を検出(算出)する。そして、余寿命判定部253は、検出した余寿命が、所定の余寿命(余寿命基準値)より短いか否かを判定する。
空き容量基準値設定部254は、二次記憶部240の余寿命が所定の余寿命より短いと余寿命判定部253が判定すると、空き容量基準値をより小さな値に設定する。
The remaining
When the remaining
次に図12および図13を参照して、制御システム1の動作について説明する。
図12は、二次記憶部の余寿命に応じて一次記憶部に記憶させるデータ量を変化させる場合に、データ管理部150が行う処理の手順を示すフローチャートである。データ管理部150は、制御システム1が起動して動作状態となると、同図の処理を開始する。
同図の処理において、データ管理部150は、二次記憶部140の余寿命の管理に関する処理を行う(ステップS501)。また、ステップS502〜S505は、図2のステップS101〜S104と同様である。ステップS505の後、ステップS501に戻る。
Next, the operation of the
FIG. 12 is a flowchart illustrating a procedure of processing performed by the
In the process of FIG. 5, the
なお、データ管理部150が、ステップS501〜S505の各処理を行う順序は、図12に示す順序に限らず、様々な順序とすることができる。例えば、データ管理部150がステップS501〜S505の各処理を並列に実行するようにしてもよい。
Note that the order in which the
図13は、データ管理部150が、二次記憶部140の余寿命の管理に関する処理を行う手順を示すフローチャートである。データ管理部150は、図12のステップS501において、図13の処理を行う。
図13の処理において、余寿命判定部153は、二次記憶部140の余寿命を検出(例えば、上記のように算出)する(ステップS521)。
FIG. 13 is a flowchart illustrating a procedure in which the
In the process of FIG. 13, the remaining
次に、余寿命判定部153は、ステップS521で検出した二次記憶部140の余寿命が、予め記憶する余寿命基準値以上か否かを判定する(ステップS521)。
余寿命基準値以上であると判定した場合(ステップS521:YES)、空き容量基準値設定部154は、一次記憶部130に対する空き容量基準値を、通常時の空き容量とする基準値(例えば、一次記憶部130の記憶容量全体の10%以上を空き容量として確保する基準値)に設定する(ステップS523)。
その後、同図の処理を終了する。
Next, the remaining
When it is determined that the remaining life reference value is equal to or greater than the remaining life reference value (step S521: YES), the free space reference
Thereafter, the process of FIG.
一方、ステップS521において、二次記憶部140の余寿命が余寿命基準値未満であると判定した場合(ステップS521:NO)、空き容量基準値設定部154は、一次記憶部130に対する空き容量基準値を、通常時よりも小さい容量とする基準値(例えば、一次記憶部130の記憶容量全体の5%以上を空き容量として確保する基準値)に設定する(ステップS531)。
On the other hand, when it is determined in step S521 that the remaining life of the
また、余寿命判定部153は、二次記憶部140の余寿命が余寿命基準より短くなったことを警告する警報を、入出力部151に出力する(ステップS532)。例えば、入出力部151は、当該警報を、処理部120、通信部110およびネットワーク300を介して、制御システム1の具備する警報盤に出力し、警報盤が当該警報を表示する。
ステップS532の後、図13の処理を終了する。
Further, the remaining
After step S532, the process of FIG. 13 ends.
以上のように、二次記憶部140の余寿命が短いと余寿命判定部153が判定すると、空き容量基準値設定部154は、一次記憶部130の空き容量基準値を、通常時よりも小さい値に設定する。これにより、二次記憶部140に対するデータの書込回数や読出回数をさらに低減させることができ、二次記憶部140の寿命をさらに延ばすことができる。この点で、制御システム1の信頼性を高めることができ、ひいては、故障による制御対象900の停止を低減することができ、制御対象900および制御システム1の稼働率を向上させることができる。
As described above, when the remaining
なお、二次記憶部140の余寿命が余寿命基準値未満であると余寿命判定部153が判定した場合、処理部120がデータ書込要求やデータ読出要求を出力する頻度を低減させるようにしてもよい。これにより、二次記憶部140の寿命をさらに延ばすことができる。
また、図11に示す構成においても、実行系ユニット100(読出書込実行部152)と、待機系ユニット200(読出書込実行部252)とが、それぞれ、一次記憶部の空き領域を確保する処理を行うようにし、実行系ユニット100と、待機系ユニット200とが、互いに異なる値の空き容量基準値を用いて、それぞれ、一次記憶部(一次記憶部130または一次記憶部230)の空き容量を確保する処理を行うか否かの判定を行うようにしてもよい。
When the remaining
Also in the configuration shown in FIG. 11, the active system unit 100 (read / write execution unit 152) and the standby system unit 200 (read / write execution unit 252) each secure a free space in the primary storage unit. The
なお、データ管理部150および250の全部または一部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。
A program for realizing all or part of the functions of the
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.
以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。 The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like without departing from the gist of the present invention.
1 制御システム
100 実行系ユニット
110、210 通信部
120、220 処理部
130、120 一次記憶部
140、240 二次記憶部
150、250 データ管理部
151、251 入出力部
152、252 読出書込実行部
153、253 余寿命判定部
154、254 空き容量基準値設定部
200 待機系ユニット
300 ネットワーク
900 制御対象
DESCRIPTION OF
Claims (6)
前記実行系ユニットは、
一次記憶部と、
制御対象の制御に用いる制御データを検索キーと対応付けて記憶する二次記憶部と、
制御対象の状況を示す状況情報を取得する状況情報取得部と、
前記状況情報取得部が取得した状況情報に基づいて、当該状況情報に応じた検索キーに対応付けられている前記制御データを読み出して、前記一次記憶部に転送する制御データ転送部と、
前記制御データ転送部が前記制御データの転送を行うと、当該転送を指示する指示情報を待機系ユニットに送信する指示情報送信部と、
を具備し、
前記待機系ユニットは、
一次記憶部と、
制御対象の制御に用いる制御データを状況情報と対応付けて記憶する二次記憶部と、
前記指示情報に従って前記二次記憶部から前記制御データを読み出して、前記一次記憶部に転送する制御データ転送部と、
を具備することを特徴とする記憶システム。 It has an execution system unit and a standby system unit,
The execution system unit is:
A primary storage unit;
A secondary storage unit that stores control data used for control of a control target in association with a search key;
A status information acquisition unit that acquires status information indicating the status of the control target;
Based on the status information acquired by the status information acquisition unit, the control data transfer unit that reads out the control data associated with the search key corresponding to the status information and transfers it to the primary storage unit;
When the control data transfer unit transfers the control data, an instruction information transmission unit that transmits instruction information for instructing the transfer to the standby unit;
Comprising
The standby unit is
A primary storage unit;
A secondary storage unit that stores control data used for control of the control target in association with the situation information;
A control data transfer unit that reads the control data from the secondary storage unit according to the instruction information and transfers the control data to the primary storage unit;
A storage system comprising:
データ書込指示を取得する書込指示取得部と、
前記書込指示取得部がデータ書込指示を取得すると、当該データ書込指示に従って、前記一次記憶部にデータを書き込む書込実行部と、
データ読出指示を取得する読出指示取得部と、
前記読出指示取得部がデータ読出指示を取得すると、当該データ読出指示に従って、前記一次記憶部と前記二次記憶部とからデータを読み出し、前記一次記憶部と前記二次記憶部とで値が異なるデータについては前記一次記憶部の記憶するデータを用いて前記データ読出指示に対する応答を生成する読出実行部と、
を具備することを特徴とする請求項1に記載の記憶システム。 The execution system unit is:
A write instruction acquisition unit for acquiring a data write instruction;
When the write instruction acquisition unit acquires a data write instruction, a write execution unit that writes data to the primary storage unit according to the data write instruction;
A read instruction acquisition unit for acquiring a data read instruction;
When the read instruction acquisition unit acquires a data read instruction, data is read from the primary storage unit and the secondary storage unit according to the data read instruction, and the primary storage unit and the secondary storage unit have different values. For data, a read execution unit that generates a response to the data read instruction using data stored in the primary storage unit;
The storage system according to claim 1, further comprising:
前記一次記憶部の空き容量が空き容量基準値より小さくなると、当該一次記憶部の記憶するデータを前記二次記憶部に移動させて前記一次記憶部の空き容量を増大させる空き容量生成部と、
前記二次記憶部の余寿命を判定する余寿命判定部と、
前記二次記憶部の余寿命が所定の余寿命より短いと前記余寿命判定部が判定すると、前記空き容量基準値をより小さな値に設定する空き容量基準値設定部と、
を具備することを特徴とする請求項1または請求項2に記載の記憶システム。 The execution system unit is:
When the free capacity of the primary storage unit becomes smaller than a free capacity reference value, a free capacity generation unit that moves the data stored in the primary storage unit to the secondary storage unit and increases the free capacity of the primary storage unit;
A remaining life determination unit for determining the remaining life of the secondary storage unit;
When the remaining life determination unit determines that the remaining life of the secondary storage unit is shorter than a predetermined remaining life, a free capacity reference value setting unit that sets the free capacity reference value to a smaller value;
The storage system according to claim 1, further comprising:
前記一次記憶部の空き容量が空き容量基準値より小さくなると、当該一次記憶部の記憶するデータを前記二次記憶部に移動させて前記一次記憶部の空き容量を増大させる空き容量生成部を具備し、
前記実行系ユニットの前記空き容量基準値と、前記待機系ユニットの前記空き容量基準値とは、互いに異なる値であることを特徴とする請求項1または請求項2に記載の記憶システム。 The execution system unit and the standby system unit are respectively
When the free capacity of the primary storage unit becomes smaller than a free capacity reference value, the free storage capacity generating unit is configured to move the data stored in the primary storage unit to the secondary storage unit and increase the free capacity of the primary storage unit. And
The storage system according to claim 1 or 2, wherein the free capacity reference value of the execution system unit and the free capacity reference value of the standby system unit are different from each other.
前記実行系ユニットが、状況情報を取得する状況情報取得ステップと、
前記実行系ユニットが、前記状況情報取得ステップにて取得した状況情報に基づいて、当該状況情報に応じた検索キーに対応付けられている前記制御データを読み出して、前記一次記憶部に転送する実行系ユニット制御データ転送ステップと、
前記実行系ユニットが、前記制御データ転送ステップにて前記制御データの転送を行うと、当該転送を指示する指示情報を待機系ユニットに送信する指示情報送信ステップと、
前記待機系ユニットが、前記指示情報に従って前記二次記憶部から前記制御データを読み出して、前記一次記憶部に転送する待機系ユニット制御データ転送ステップと、
を具備することを特徴とするデータ管理方法。 An execution system unit comprising a primary storage unit, a secondary storage unit that stores control data used for control of a control target in association with a search key, a primary storage unit, and control data used for control of the control target A data management method for a storage system comprising a secondary storage unit that stores information in association with status information indicating a status of a control target,
A status information acquisition step in which the execution system unit acquires status information;
Execution in which the execution system unit reads out the control data associated with the search key corresponding to the situation information based on the situation information acquired in the situation information acquisition step and transfers it to the primary storage unit System unit control data transfer step;
When the execution system unit transfers the control data in the control data transfer step, an instruction information transmission step of transmitting instruction information instructing the transfer to the standby system unit;
The standby unit control data transfer step of reading the control data from the secondary storage unit according to the instruction information and transferring it to the primary storage unit;
A data management method comprising:
前記実行系ユニットが、状況情報を取得する状況情報取得ステップと、
前記実行系ユニットが、前記状況情報取得ステップにて取得した状況情報に基づいて、当該状況情報に応じた検索キーに対応付けられている前記制御データを読み出して、前記一次記憶部に転送する実行系ユニット制御データ転送ステップと、
前記実行系ユニットが、前記制御データ転送ステップにて前記制御データの転送を行うと、当該転送を指示する指示情報を待機系ユニットに送信する指示情報送信ステップと、
前記待機系ユニットが、前記指示情報に従って前記二次記憶部から前記制御データを読み出して、前記一次記憶部に転送する待機系ユニット制御データ転送ステップと、
を実行させるためのプログラム。
An execution system unit comprising a primary storage unit, a secondary storage unit that stores control data used for control of a control target in association with a search key, a primary storage unit, and control data used for control of the control target In a computer system as a storage system comprising a secondary storage unit that stores information associated with the status information indicating the status of the control target,
A status information acquisition step in which the execution system unit acquires status information;
Execution in which the execution system unit reads out the control data associated with the search key corresponding to the situation information based on the situation information acquired in the situation information acquisition step and transfers it to the primary storage unit System unit control data transfer step;
When the execution system unit transfers the control data in the control data transfer step, an instruction information transmission step of transmitting instruction information instructing the transfer to the standby system unit;
The standby unit control data transfer step of reading the control data from the secondary storage unit according to the instruction information and transferring it to the primary storage unit;
A program for running
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012008120A JP5881429B2 (en) | 2012-01-18 | 2012-01-18 | Storage system, data management method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012008120A JP5881429B2 (en) | 2012-01-18 | 2012-01-18 | Storage system, data management method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013149024A true JP2013149024A (en) | 2013-08-01 |
JP5881429B2 JP5881429B2 (en) | 2016-03-09 |
Family
ID=49046481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012008120A Expired - Fee Related JP5881429B2 (en) | 2012-01-18 | 2012-01-18 | Storage system, data management method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5881429B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018151776A (en) * | 2017-03-10 | 2018-09-27 | キヤノン株式会社 | Information processor, control method thereof and program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005267301A (en) * | 2004-03-19 | 2005-09-29 | Hitachi Ltd | Recovery method and device by log synchronous and db data asynchronous transfer |
-
2012
- 2012-01-18 JP JP2012008120A patent/JP5881429B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005267301A (en) * | 2004-03-19 | 2005-09-29 | Hitachi Ltd | Recovery method and device by log synchronous and db data asynchronous transfer |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018151776A (en) * | 2017-03-10 | 2018-09-27 | キヤノン株式会社 | Information processor, control method thereof and program |
Also Published As
Publication number | Publication date |
---|---|
JP5881429B2 (en) | 2016-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102403034B1 (en) | Dynamic garbage collection p/e policies for redundant storage blocks and distributed software stacks | |
JP4892072B2 (en) | Storage device that eliminates duplicate data in cooperation with host device, storage system including the storage device, and deduplication method in the system | |
JP5076488B2 (en) | Information processing apparatus, history management method, history management program | |
WO2013141308A1 (en) | Distributed storage system, storage control method and program | |
CN108132949A (en) | The method and device of Data Migration in data-base cluster | |
JP2007286946A (en) | Computer system, access control method and management computer | |
JP2020501249A (en) | Data migration methods, hosts, and solid state disks | |
US20180067680A1 (en) | Storage control apparatus, system, and storage medium | |
US20180217926A1 (en) | Information processing system, storage control apparatus, storage control method, and storage control program | |
JP6426838B2 (en) | Storage system and storage control method | |
JP2016212551A (en) | Storage control apparatus, storage control program, and storage system | |
JP2014002557A (en) | Test data generation method, test method, test data generation deice, and test data generation program | |
JP5881429B2 (en) | Storage system, data management method and program | |
KR102526431B1 (en) | data processing | |
JP6311365B2 (en) | Storage area management device, storage area management method, and storage area management program | |
JP6461101B2 (en) | Database system, information processing apparatus, method, and program | |
US20170199687A1 (en) | Memory system and control method | |
CN106406745B (en) | Method and device for maintaining Cache data consistency according to directory information | |
JP6257748B2 (en) | Database system, information processing apparatus, method, and program | |
TWI805878B (en) | Cache systems of memory systems and data caching methods of cache systems | |
US20160371192A1 (en) | Apparatus and method for performing cache management in a storage system | |
KR101130051B1 (en) | A system, method and comuputer readable media for managing main memory | |
JP2020144553A (en) | Storage device and data processing method in the same | |
JP5761209B2 (en) | Storage control device and program thereof | |
WO2015166741A1 (en) | In-memory management system and in-memory management program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141201 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150821 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151006 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151203 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20151204 |
|
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: 20160105 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160202 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5881429 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |