[go: up one dir, main page]

JP4339529B2 - Data storage device - Google Patents

Data storage device Download PDF

Info

Publication number
JP4339529B2
JP4339529B2 JP2001184188A JP2001184188A JP4339529B2 JP 4339529 B2 JP4339529 B2 JP 4339529B2 JP 2001184188 A JP2001184188 A JP 2001184188A JP 2001184188 A JP2001184188 A JP 2001184188A JP 4339529 B2 JP4339529 B2 JP 4339529B2
Authority
JP
Japan
Prior art keywords
data
storage
importance
hdd
storage device
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.)
Expired - Fee Related
Application number
JP2001184188A
Other languages
Japanese (ja)
Other versions
JP2003006005A (en
Inventor
茂史 山田
祥治 鈴木
▲高▼弘 松田
彰 烏谷
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2001184188A priority Critical patent/JP4339529B2/en
Publication of JP2003006005A publication Critical patent/JP2003006005A/en
Application granted granted Critical
Publication of JP4339529B2 publication Critical patent/JP4339529B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、記憶媒体を複数所有するコンピュータにおけるデータ記憶装置に係り、特にデータの重要度と記憶媒体の安全性に応じて重要度の高いデータの安全性を高めて保存するデータ記憶装置に関する。
【0002】
【従来の技術】
近年、情報機器の発達と普及にともない、情報機器内部の記憶装置に格納されるデータ量も、飛躍的に増加している。記憶装置の容量が不足すると、ユーザは新しい記憶装置や媒体の追加、すでに記憶されたデータの削除などの手間が必要となる。
【0003】
コンピュータ・システムの記憶媒体として一般に利用されるハードディスク装置(以下HDDという)は、寿命が3〜5年といわれ、既存のHDDと新しく追加されたHDDとでは安全性が異なる。
【0004】
従来HDDの増設時には、データの安全性を考えるユーザは全データを新しく増設したHDDに移動し、また考えないユーザは既存のデータを古いHDDに置いておき、新しいHDDにデータを追加している。この手法では古いHDD内の重要なデータは故障により失われる可能性が高く、また人手によるデータの振り分けは手間がかかり、ユーザへの負担が大きい。
【0005】
従来のデータ記憶装置では、データの保存を手動的に行うものと自動的に行うものがあった。以下これらについて説明する。
【0006】
(1)手動方式
ユーザのデータ保存ルールつまり安全性を考えるか否かに従って、HDDを2台使用するとき、手動で保存すべきHDDを選択するものである。
【0007】
図28(A)に示す如く、記憶装置100に1台のHDD101を使用しているとき、同(B)、(C)に示す如く、新しいHDD102を増設した場合について説明する。
【0008】
図28(B)は、データの安全性を考えるユーザの運用形式であり、同(C)はデータの安全性をあまり考慮しないユーザの運用形式である。
【0009】
安全性を考えるユーザは、図28(B)に示す如く、記憶装置100に新しいHDD102を増設したとき、ディスク増設時に全データを新しいHDD102に移動し、入らないデータのみ古いHDD101に置く。運用時も同様に、新しいHDD102に空き容量がある間は新しいHDD102に追加データND0 、ND1 を保存し、空き容量が不足したら古いHDD101に追加データND2 、ND3 を保存する。
【0010】
安全性をあまり考慮しないユーザは、図28(C)に示す如く、新しいHDD102を増設しても既存のデータはそのまま古いHDD101に置いておき、新しいHDD102に追加データND0 、ND1 ・・・を追加して行く。
【0011】
このような手動方式では、データの保存先は一つであり、保存先のHDDの障害でデータの失われる可能性が高い。これを防ぐため2つのHDD101と102に同じデータをそれぞれ保存して、HDD障害に対してデータの安全性を高めることが取られているが、これではHDDにおける使用可能な容量は全容量の半分となり、非効率的である。
【0012】
(2)自動方式
特開平5−189164号公報では、重要なデータを2個のHDDに多重保存して、データ保存の安全性を高めることが記載されている。すなわち図29に示す如く、データD1〜D4のうち、重要なデータD2、D4はHDD1とHDD2に多重保存し安全性を高め、重要でないデータD1、D3についてはHDD1にのみ保存している。そしてデータはファイル名により属性が判定され、特定のファイル名でデータの書き込み要求があったときは2個のHDDにデータが書き込まれ2重化されて保存される。しかし特定のファイル名以外でデータの書き込み要求があったときは、片方のHDDにこれが書き込まれる。
【0013】
この結果、重要なデータは保存の安全性が高められる。図29では、重要でないデータD1、D3はHDD1にのみ保存され、重要なデータD2、D4はHDD1とHDD2の両方に保存される。
【0014】
【発明が解決しようとする課題】
ところで、これら手動方式、自動方式には下記の如き課題が存在する。
【0015】
(1)手動方式に対して
ユーザによってはデータに対する安全性が考慮されないので、古いHDDに保存される重要なデータが故障により失われる可能性が高い。また安全性が考慮された場合でも、手動によるデータの振り分けがユーザにとって負担となる。しかもデータ保存先は一つであり、HDDの障害がデータ消失に結びつく。
【0016】
(2)自動式に対して
重要データは2個のHDDに多重保存され、安全性が高められるが、重要でないデータは多重保存されない。また保存するHDDの安全性が考慮されないため、重要でないデータが安全性の低いHDDに保存された場合、失われる可能性が高い。
【0017】
本発明ではこのような問題を改善するため、データの重要/不要を判断する基準として重要度を用い、重要度の高いデータを優先して安全なHDDへ自動的に保存し、さらにHDDの空き領域を利用して、重要度の高いデータを複製し、多重保存することによりHDDの障害に対してデータの安全性を高めるデータ記憶装置を実現することを目的とする。
【0018】
【課題を解決するための手段】
本発明の原理を図1に説明する。本発明では記憶装置10内のデータ属性をもとにして、後述する規則に従ってデータの重要度を設定する。またHDDは新しいもの程安全性が高く、古いもの程安全性が低いものとする。
【0019】
図1(A)に示す如く、記憶装置10において、新しい安全性の高いHDD10−2を増設したとき、古い安全性の低いHDD10−1より、重要度の高いデータから順に安全性の高いHDD10−2に移動する。これにより、図1(A)の移動後の図に示す如く、重要度の高いものから順に低いものまで、データD1、D2、D3、D4が、新しい安全性の高いHDD10−2に移動される。なお図1においてDはデータを、その次の数字は重要度の順位を示し、1が最重要のものを2がその次の重要度を示す。
【0020】
運転時も、同様に、安全性の高いHDD10−2に空き容量がある場合、安全性の高いHDD10−2にデータD1、D2・・・を保存し、空き容量が不足した場合、保存するデータと安全性が高いHDD10−2内で重要度が最も低いデータを比較し、重要度の低いデータD4を安全性が低いHDD10−1に移動して、安全性の高いHDD10−2にデータD7を保存したり、重要度の低いデータD8を安全性の低いHDD10−1に追加保存する。
【0021】
さらに図1(C)に示す如く、安全性が低いHDD10−1の空き領域、HDD10−1′に重要度の高いデータD1、D5を複製することで、安全性の高いHDD10−2に障害が生じた場合の重要度の高いデータの安全性を高めることができる。
【0022】
このように、従来ではデータの重要度と、HDDの安全性のいずれか一方のみを考えていたのに比較して、本発明ではデータの重要性とHDDの安全性を合わせて考慮して、データの保存先を自動的に決める点で、またHDDの全容量を利用してデータの安全性を高める点で異なるものである。
【0023】
本発明では、前記目的を達成するため下記(1)〜(5)の如く構成する。
【0024】
(1)複数の記憶媒体を備えたデータ記憶装置において、
データを重要度により順位付ける規則を記憶する規則格納手段と、
前記規則に基づき記憶装置内のデータに順位付けを行う重要度算出手段と、
複数の記憶媒体を安全性により順位付ける規則を記憶する安全性格納手段と、
前記規則に基づき記憶装置内の複数の記憶媒体に順位付けを行う保存先選択手段と、
前記データ順位付けと前記記憶媒体順位付けに基づき、記憶装置内の複数の記憶媒体からデータを保存すべき記憶媒体を選択し、データを保存する保存/移動処理手段を具備することを特徴とするデータ記憶装置。
【0025】
(2)データを保存後に、保存前と保存後のデータ記憶領域の位置を関連付ける手段を具備することを特徴とする前記(1)記載のデータ記憶装置。
【0026】
(3)前記重要度としてデータ属性値の重みに基づき決める規則を記憶する規則格納手段と、
前記データ属性値の重みの合計を算出する重要度算出手段と、
前記重みの合計に基づいて記憶装置内のデータに順位付けを行う重要度算出手段とを具備することを特徴とする前記(1)記載のデータ記憶装置。
【0027】
(4)複数の記憶媒体のうち安全性の低い記憶媒体の空き領域の容量を検出する空き容量管理手段と、
前記安全性の低い記憶媒体の空き領域がなくなるまで重要度の高いデータから順に複製する保存/移動処理手段を具備することを特徴とする前記(1)記載のデータ記憶装置。
【0028】
(5)重み付けとして、ユーザがデータ属性値の重みを決定するユーザ重み決定型と、
ユーザにデータの重要度を質問して得られた回答から重みを決定するデータ重要度質問型と、ユーザがデータを操作した操作内容に基づき重みを決定するデータ操作事例型とを記憶する規則格納手段と、
これらの重み付決定のうちの1つを選択する重み付選択手段と、
この選択された重み付けによりデータ属性値の重みを決定する重要度算出手段を具備することを特徴とする前記(3)記載のデータ記憶装置。
【0029】
これにより下記の作用効果を奏する。
【0030】
(1)データを重要度により順位付けし、この重要度とHDDの安全性を合わせてデータの保存先を自動的に決めたので、ユーザの所有する重要度の高いデータの安全性を自動的に高めることができる。
【0031】
(2)自動的にデータの保存先が移動されてもユーザからは元のままで、安全性を加味して、しかもユーザ自身が使い易い状態で保存することができる。
【0032】
(3)データの属性に基づいてデータの重要度を自動的に、わかり易く算出することができる。
【0033】
(4)HDDの空き領域を利用して、重要なデータを優先的に複製保存することにより、重要なデータについて安全性を高めることができる。
【0034】
(5)重み付け方式として、ユーザがデータ属性値の重みを決定するユーザ重み決定型と、ユーザにデータの重要度を質問して得られた回答から重みを決定するデータ重要度質問型と、ユーザがデータを操作した操作内容に基づき重みを決定するデータ操作事例型のいずれを適用するのかをユーザ自身が決定するので、ユーザの利用し易い重み付け方式を適用することができる。
【0035】
【発明の実施の形態】
本発明の概略構成を図2に示す。図2(A)において20はコンピュータ本体、21はHDD、22はHDDを制御する制御部であり、HDDを機械的に駆動制御するものである。
【0036】
HDDを安全性により順位付ける規則は、HDDの使用開始時期が新しい(遅い)ほど安全性が高く、古い(早い)ほど低いものとする。図3はHDDの順位付けの例を示し、記録媒体HDD1の使用開始時期が1998年10月1日であり、HDD2の使用開始時期が1999年6月1日であり、HDD3の使用開始時期が2000年12月1日のため、前記規則により安全性順位はHDD3が1でもっとも高く、次にHDD2であり、HDD1が3でもっとも低いことを示している。
【0037】
このように、前記規則により複数のHDDの安全性を順位付け、データの重要度を後述するように算出し、重要度の高いデータを優先して安全性の高いHDDに保存することで、ユーザが所持するデータの安全性を高めることを可能にすることができる。
【0038】
本発明の動作を理解し易くするため、図4〜図6にもとづき、その一部であるHDD増設時のデータ移動手順及び運用時追加データ保存手順について簡単に説明する。
【0039】
A.HDD増設時のデータ移動手順について
図4により新しくHDDを増設した場合のデータ移動手順について説明する。
【0040】
S1.安全性の低いHDDに保存されている全データの重要度を算出する。
【0041】
S2.全データを後述する重要度に応じて並べ替える。
【0042】
S3.次に重要度の最も高いデータを新しいHDDに移動する。
【0043】
S4.移動時において、新しいHDDの容量が不足していれば新しいHDDの容量に応じたデータを移動したとき終了する。
【0044】
S5.新しいHDDの容量が不足していなければ全データの移動を終了する。
【0045】
B.運用時に追加データ保存手順について
図6(A)に示す如く、データD1〜D7が安全性の低いHDDと安全性の高いHDDに保存されているとき、追加データD8を保存する場合について図5により説明する。
【0046】
S1.データD1〜D7を、その重要度に応じて安全性の高いHDDと安全性の低いHDDに分けて保存する。このとき安全性の高いHDDには、重要度に応じてデータD1、D5、D2、D3、D6、D7が保存され、安全性の低いHDDにはデータD4が保存される。
【0047】
S2.この図6(A)に示す状態で追加のデータD8の保存要求が行われたとき、追加データの重要度を算出する。
【0048】
S3.次に新しいHDD、つまり安全性の高いHDDに空き容量があるか否かを判断する。空き容量があれば追加データを新しいHDDに保存して終了する。
【0049】
S4.もし新しいHDDに空き容量がなければ、安全性の高い新しいHDD内に保存されているデータD1、D5、D2、D3、D6、D7のうち最も不要なデータつまり重要度の低いデータD7を選択する。
【0050】
S5.このデータD7と追加データの重要度を比較する。そして追加のデータD8の方が重要度が高ければ、図6(B)に示す如く、もっとも不要なデータつまり重要度の低いデータD7を安全性の低い、つまり古いHDDに移動する。そして追加のデータD8を安全性の高い、つまり新しいHDDに保存する。
【0051】
S6.しかし追加のデータD8の方が重要度が低ければ、追加のデータD8を安全性の低い、つまり古いHDDに保存することになる。
【0052】
ところで、前記図4〜図6の処理は、図2(A)に示すコンピュータ本体20が行うものである。コンピュータ本体20には、図2(B)に概略構成が示される如く、重要度決定規則格納部1、重要度算出部2、重要度格納部3、HDD空き容量管理部、保存先選択部5、HDD安全性格納部6、保存/移動処理部7等が具備されている。
【0053】
重要度決定規則格納部1はデータの重要度を決定するための規則を格納するものであり、その内容については後述するが、例えば図11に示す如き、データの各属性とその分類に応じた重要度が記入された重要度テーブル等が格納されている。
【0054】
重要度算出部2は、データの重要度を算出するものであり、例えばデータに応じて各属性、各分類毎に定められた個々の重要度を加算して、そのデータの重要度を算出するものである。
【0055】
重要度格納部3は、前記重要度算出部2で算出されたデータ毎の重要度を保持するものである。
【0056】
HDD空き容量管理部4は各HDDの空き容量の大きさを管理するものである。
【0057】
保存先選択部5は、複数のHDDが使用されるとき各HDDにどのデータを保存すべきであるのかというデータの保存先を選択したり、あるいは追加データがあるとき、前記重要度の比較により追加データを保存すべきHDDを選択したり、重要度により並べ替えたり、もしいままで保存していたデータを他のHDDに移すときはその移転先のHDDを選択するものである。
【0058】
HDD安全性格納部6は使用している複数のHDDの安全性を保持するものであり、図3に示す如く、例えば使用開始時期により安全性を順位づけ、これを保持するものである。図3の場合は、最新に使用開始されたものが安全性の順位がもっとも高くなるように定められている。
【0059】
保存/移動処理部7は、データを保存先選択部5から指示された保存先のHDDに移動処理するものである。
【0060】
前記図4において、S1は前記重要度算出部2で行ってこの重要度を重要度格納部3で保存し、S2は保存先選択部5で行い、S3は保存/移動処理部7で行い、S4はHDD空き容量管理部4で判断するものである。
【0061】
また前記図5において、S2は前記重要度算出部2で行い、S3はHDD空き容量管理部4で管理しているものを保存先選択部5で判別し、S4、S5は保存先選択部5が行い、続いて行われるデータの移動、保存は保存/移動処理部7が行うものである。
【0062】
ところで、本発明において、HDDを増設したとき重要度の高いデータを安全性の高い新しいHDDに移動し、重要でないデータは安全度の低い古いHDDに保存する。これによりユーザが実際に保存した領域と異なるところに保存されることが生じる。
【0063】
このような場合、ユーザからみたとき、以前のまま保存することが希望される。したがってこの希望を実現するとともに、重要度の高いデータを新しいHDDに移し、重要度の低いデータは古いHDDに保存するため、リンクを張ることが行われ、これによりユーザはいままで通りで、新しいHDDに保存された重要度の高いデータをアクセス処理することができる。
【0064】
このため、本発明では、図7に示す如く、ユーザから見たデータの配置(論理的配置)と実際のデータの保存先(物理的配置)を分けて、リンクでこれらを関連付けることで、ユーザには自身で保存した所にデータが存在するように見せるものである。以下これについて説明する。
【0065】
記憶装置に安全性の低いHDDと安全性の高いHDDを備え、安全性の低いHDDを仮想データ領域V0と実データ領域R0に分け、また安全性の高いHDDを、これまた同様に、仮想データ領域V1と実データ領域R1に分ける。ユーザは仮想データ領域V0、V1を利用して、データとフォルダを保存する。
【0066】
データを重要度に応じてユーザが保存したHDDから移動する場合、データを仮想データVD1、VD2、VD3と実データRD1、RD2、RD3に分け、仮想データを元の位置に保存し、実データを移動先の実データ領域に保存する。仮想データにはリンク先(実データの位置)とデータ属性が記録される。実データ領域は隠し処理を行い、ユーザから見えない(アクセスできない)ようにする。
【0067】
すなわちユーザには自身で保存した所にデータが存在するように見せ、アクセスする場合、リンクで実データにアクセス可能とする。仮想データにデータ属性を記録することで、ユーザが作成日やサイズなどのデータ属性を見ることを可能とする。またユーザが保存したHDDと実際にデータが保存されているHDDが同じである場合は、データは分けられず、ユーザが保存したHDDの仮想データ領域に保存される。これらの処理は図2(B)における保存先選択部5と保存/移動処理部7で行う。
【0068】
図8に、安全性の低いHDDすなわちHDD1に障害が発生した場合の仮想データ及び仮想データ領域の扱いを示す。図8(A)に示す如く、仮想データ領域の仮想データのみ(実データは除く)を、HDD同士で互いにコピーしておく。図8(A)では、説明簡略化のため、HDD1の仮想データ領域のみHDD2にコピーした状態を示す。
【0069】
いまHDD1に障害が生じ、HDD1が使用できなくなっても、図8(B)に示す如く、HDD1の仮想データ領域の仮想データのコピーがHDD2にあり、しかもHDD2内に実データがあるデータについては、ユーザは障害前と同様にデータを使用することができる。ただし仮想データ領域のコピーは、障害の発生前は隠し処理を行い、ユーザからは見えないようにし、障害の発生後に隠し処理を解除する。この図8の処理は、図2(B)の保存先選択部5と保存/移動処理部7により行う。
【0070】
次にデータの順位付けを行う処理について説明する。データの順位付けには、ユーザ重み付け決定方式と、重要度質問方式と、操作内容方式の3通りがある。以下これらについて説明する。
【0071】
(1)ユーザ重み付け決定方式
ユーザ重み付け決定方式は、ユーザ自身がデータ属性値の重要度を決定する規則を決めることができるものであって、例えば図11に示す如く、データ属性の各項目に対して重要度の重み付けを行うものである。この図11に示す重要度テーブルは、図2(B)に示す重要度決定規則格納部1に保存されている。図11に示す如く、データの種類がプログラムの場合には重要度が4、その容量が100KB以下のときは重要度が3、最終更新日が3ケ月以内の新しい場合は重要度が2で古い場合は重要度が1の如く、重要度が定められている。
【0072】
この図11の重要度テーブルは、図9のデータ属性の各項目に対して重要度の重み付けを行ったものであり、これら重要度の値は予め設定する。データ種類は、図10に示す如く、拡張子を分類して決定するものである。
【0073】
図12により、データの重要度算出手順を示す。
【0074】
S1.図2(B)に示す重要度算出部2にHDDから読み出したデータを入力し、このデータ中の属性記入領域に記入されているデータ属性値を取得する。
【0075】
S2.重要度算出部2は、これらデータ属性値により重要度決定規則格納部1に保存されている。図11に示す如き重要度テーブルを参照し、各属性の重要度を取得し加算する。そしてこれをデータ毎に重要度格納部3に格納する。
【0076】
S3.このとき、重要度算出部2は、すでに格納ずみのデータとともにその重要度の合計順にはこれを並べる。このようにして全データに対し重要度の合計順に並べて重要度格納部3に格納し、終了する。
【0077】
このようにしてHDD内の全データを、その重要度に応じて順位付けすることができる。
【0078】
ところで図11に示す重要度テーブルの重要度の値は、図13に例示する如き重要度設定ユーザインターフェースを使用して設定することができる。図2(B)に示す重要度決定規則格納部1は、図13に示す如き重要度設定ユーザインターフェースを使用して、そのユーザがそのボックスB内の値を編集することにより、重み付け規則をカスタマイズすることを可能にする。例えばデータ属性のプログラムの重要度をそれに対応するボックスB内の値を4にすればその重要度を4にすることができ、また5にすればその重要度を5にすることができる。
【0079】
(2)重要度質問方式
重要度質問方式は、ユーザに複数個のデータについて重要度を質問し、得られる回答を用いて重回帰分析、つまり連立方程式により未知数を求め属性ごとの重要度を得る手法である。図14は、図11の重要度の値を未知数wで表現したテーブルである。データの重要度Wは、下式の如く、属性ごとの重要度を加算することで算出される。
【0080】
【数1】

Figure 0004339529
【0081】
ここで(,)はあるデータが当てはまる値を選択することを意味する。図9に示すdata1を例として以下に示す。
【0082】
【数2】
Figure 0004339529
【0083】
ユーザにデータの重要度を質問する方法を図15に示す。質問データ数は未知数以上であって、図14の場合は未知数は15個であるので15個以上とする。重要度Wの上限と下限を設定し、ユーザにはデータ属性からこの範囲内で重要度を判断させる。ユーザが判断した重要度を元にして未知数wを決定する手法を説明する。図15のデータを例とすると、
【0084】
【数3】
Figure 0004339529
【0085】
となる。ユーザが判断した重要度をW1 、W2 、W3 ・・・に代入して(この例ではW1 =2、W2 =1、W3 =3・・・)、この連立方程式を解くことで未知数w11、w12・・・w62が得られる。このようにして得られた重要度を図14に示すテーブルに記録することで、重み付け規則をユーザ専用にカスタマイズ可能となる。図14に示すテーブルは図2(B)に示す重要度決定規則格納部1に保持される。なおデータ名は重要度を算出するのに利用しない。
【0086】
(3)操作内容方式
操作内容方式は、ユーザがデータを操作した事例から属性ごとの重要度を求める手法である。図16に示す如く、データの操作内容に重要度の重み付けを行ったテーブルを設ける。この操作内容の重み付けテーブルは、図2(B)に示す重要度決定規則格納部1に保持する。
【0087】
ユーザがデータを操作した事例に、図16の重み付けテーブルを参照して重要度を追加して記録したデータ操作事例テーブルを図17に示す。このデータ操作事例テーブルは、図2(B)に示す重要度決定規則格納部1に保持する。
【0088】
図17に示すデータ操作事例テーブルを用いて、図14の属性ごとの重要度を求める手法を以下に説明する。属性ごとの重要度は15個であるから、このデータ操作事例が15個以上必要である。事例が15個以上になったら、属性ごとの重要度を求める。図17の事例から
【0089】
【数4】
Figure 0004339529
【0090】
となる。操作内容に応じた重要度をW1 、W2 、W3 ・・・に代入して、この連立方程式を解くことにより事例に含まれた属性ごとの重要度w11、w12・・・w62を得る。このようにして得られた重要度を図14に示すテーブルに記録することで重み付け規則をユーザ専用にカスタマイズ可能となる。
【0091】
このように、本発明では3種類のデータ重要度決定方式を記憶し、ユーザがその決定方式を選択することを可能とする。
【0092】
複数のユーザが使用するコンピュータシステムにおいては、ユーザごとに前記(1)〜(3)の重要度決定方式を選択する。複数のユーザがそれぞれ選択した重要度決定方式を管理する操作内容の重み付けテーブルを図18に示す。このテーブルは、図2(B)に示す重要度決定規則格納部1に記憶される。前記図3、図4におけるデータの重要度算出時に、算出されるデータのユーザに応じて、重要度決定方式が選択される。
【0093】
重要度決定方式選択手順を図19に示す。まず記憶装置で処理するデータのユーザを取得する。このユーザ名は例えばデータ中の属性記入領域より得る。これにより得られたユーザ名により図18に示す操作内容の重み付けテーブルをアクセスし、重要度決定方式を選択する。これにより選択された重要度決定方式にもとづきデータの重要度を算出する。
【0094】
本発明において、重要度の高いデータを他のHDDに複製して安全性を更に高める手法を、図20により説明する。
【0095】
本発明では、図20(A)に示す如く、重要度の高いデータD1、D2、D3・・・D6を安全性の高いHDDに順次保存する。そしてこの安全性の高いHDDに保存しきれない、データD6よりも重要度の低い残りのデータD7 、D8を安全性の低いHDDに保存する。このとき安全性の低いHDDの空き容量を調べる。そして空き容量があれば、図20(B)に示す如く、重要度の高いデータD1、D2から順に安全性の低いHDDの空き領域に複製する。これらの処理は図2(B)に示すHDD空き容量管理部4、保存先選択部5、保存/移動処理部7等で行われる。なおデータの重要度は数字の小さい1が最高で以下数字の順で低いものとする。
【0096】
本発明において、前記複製した重要度の高いデータを圧縮して、空き領域を増す手法を図21により説明する。
【0097】
前記重要度の高いデータD1、D2を安全性の低いHDDの空き領域に複製した場合は図21(A)に示す如き状態となる。このとき前記重要度の高いデータD1、D2を、図21(B)に示す如く、圧縮データP1、P2として安全性の低いHDDに保存する。これにより安全性の低いHDDの空き容量を増やすことが可能となる。これによりすでに圧縮複製したデータD2の次に重要度の高いデータD3から順に、空いた領域に複製することが可能となり重要度の高いデータの安全性を高めることが可能となる。この処理は、図2(B)に示すHDD空き容量管理部4、保存先選択部5、保存/移動処理部7等で行われる。
【0098】
本発明の一実施の形態を図22〜図24により説明する。図22は本発明の一実施の形態、図23は本発明におけるHDD増設時のデータ移動手順説明図、図24は本発明における追加データに対するデータ保存手順説明図である。
【0099】
記憶装置内に記憶媒体としてHDDを1個持つコンピュータシステムにおいて、記憶容量不足のためHDDを1個増設する場合の実施の形態を示す。HDDが2個以上存在するコンピュータシステムにHDDを増設する場合も同様である。ただしHDDの寿命は3〜5年であるので、HDDを長く使用するほど安全性が低くなり、新しいほど安全性が高くなるので、すでに設置してあった安全性の低いHDDをHDD1とし、新しく安全性の高いHDDをHDD2とする。そしてHDDの容量はHDD1よりHDD2の方が大きいとする。
【0100】
本発明のデータ記憶装置の一実施の形態を図22に示す。図22において図2と同記号部は同一部を示し、ユーザとのインターフェースである入出力部8と、データを順位付ける重要度算出部2と、データ属性ごとの重要度を算出する方式と属性ごとの重要度等を格納する重要度決定規則格納部1と、算出されたデータの重要度を格納する重要度格納部3と、データの重要度とHDDの安全性とを考慮してデータの保存先を決定する保存先選択部5と、ユーザにより設定されたHDD使用開始時期と記憶装置内のHDDの安全性による順位付けを格納するHDD安全性格納部6と、記憶装置内HDDの空き容量を監視して空き容量を格納するHDD空き容量管理部4と、前記保存先選択部5により選択されたHDDにデータを保存する保存処理部7−1と、前記保存先選択部5により選択されたHDDにデータを移動して元のHDDに仮想データを作成する移動処理部7−2と、実データ領域と仮想データ領域に分けられているHDD1、HDD2を持つ記憶装置9を具備している。
【0101】
前記保存処理部7−1と移動処理部7−2により、図2(B)に示す保存/移動処理部7を構成し、HDD1は安全性の低いものであり、HDD2は安全性の高いものである。
【0102】
次に本発明のデータ記憶装置の動作を(1)HDD増設直後のデータ移動手順と(2)追加データに対するデータ保存手順について、図23、図24にもとづき他図を参照して説明する。
【0103】
(1)HDD増設直後のデータ移動手順について、
S1.記憶装置9においてHDD1の容量不足のため安全性の高いHDD2を増設する。
【0104】
S2.ユーザはHDD2の使用開始時期をHDD安全性格納部6に設定する。
【0105】
S3.ユーザは、図18に示す3つの重要度決定方式のうちの1つを選択し、重要度決定規則格納部1に設定する。設定されている重要度決定方式に従って、重要度算出部2においてHDD1内の全データの重要度を算出する。そしてこの全データの重要度を重要度格納部3に記録する。
【0106】
S4.次に保存先選択部5は重要度格納部3とHDD安全性格納部6にアクセスし、重要度の最も高いデータを選択し、データを実データと仮想データに分ける。そして安全性の高いHDD2の実データ領域に実データを移動し、HDD1の仮想データ領域に仮想データ(実データの格納位置とデータ属性)を保存する。これらの移動処理を重要度の高いデータから順に行う。
【0107】
S5.HDD空き容量管理部4がHDD1およびHDD2の空き容量を監視し、HDD1内にデータが無くなって全データの移動が終了するか、もしくはHDD2内に空き容量がなくなったら、データの移動処理を終了する。
【0108】
S6.次にHDD2内で重要度の最も高いデータを選択し、その実データの複製をHDD1のデータ領域に圧縮保存する。この処理は移動処理部7−2が行う。この処理をHDD1の空き容量がなくなるまで、もしくは全データを圧縮保存するまで行う。
【0109】
(2)追加データに対するデータ保存手順について、
S1.記憶装置9に対してデータの保存要求があったとき、このデータをユーザはHDD1またはHDD2の仮想データ領域に保存する。それから重要度算出部2により保存するデータつまりこの追加データの重要度を算出する。
【0110】
S2.次にHDD空き容量管理部4がHDD2の空き容量を調べる。そして追加データに対する空き容量があれば、保存処理部7−1が追加データをHDD2に保存し、HDD1の実データ領域に追加データの複製を圧縮保存する。
【0111】
S3.しかしHDD2に空き容量がなければHDD2内で重要度のもっとも低いデータ(例えばデータ1という)を選択する。
【0112】
S4.そしてHDD2内で重要度のもっとも低いデータ1と追加データとの重要度を比較する。以下追加データの方の重要度が高い場合を(A)、低い場合を(B)に分けて説明する。
【0113】
(A)追加データの重要度が高い場合
S5.追加データの重要度が高い場合、データ1をHDD1に移動し、追加データをHDD2に保存する。
【0114】
S6.HDD1に複製を持つデータで重要度の最も低いデータ(図21のデータD2、以下データ2という)を選択する。
【0115】
S7.そして追加データとこのデータ2との重要度を比較する。
【0116】
S8.追加データの方の重要度が高ければ追加データの複製をHDD1の実データ領域に圧縮保存する。しかし追加データの重要度が低ければ前記S5の状態で終了する。
【0117】
(B)追加データの重要度が低い場合
S9.追加データの容量分の空き容量を確保するまで、HDD1内の複製データで重要度の低いデータ2から順次削除する。
【0118】
S10.追加データの容量分の空き容量を確保したら、追加データをHDD1に保存する。
【0119】
なお、これら(A)、(B)の処理は保存処理部7−1、移動処理部7−2で行う。
【0120】
また追加データと既存データ共に、ユーザがデータを保存したHDDと実際にデータが保存されたHDDが異なっている場合は、データを仮想データと実データに分け、ユーザが保存したHDDの仮想データ領域に仮想データを保存し、実際に保存されたHDDの実データ領域に実データを保存する。同じである場合、ユーザが保存したHDDの仮想データ領域にデータを保存する。
【0121】
すなわち、図25(A)に示す如く、安全性の低いHDDにユーザが保存したデータD5が保存されたとき、同(B)に示す如く、このデータD5は安全性の高いHDDに移動される。このままではユーザには保存先がわからないので、図25(C)に示す如く、初めにユーザがデータD5を保存したHDDの仮想データ領域に、このデータD5の仮想データ(データD5の実データの保存先アドレスとデータ属性)を記憶し、実データは安全性の高いHDDに保存しておく。このように仮想データと実データをリンクすることにより、ユーザには保存したデータがあたかも最初に保存した位置にあるようにして、安全性の高いHDDに実際の保存データを配置することができる。
【0122】
本発明において、HDDの一方に障害が発生した場合について図26、図27により説明する。図26は障害発生前の状態を示し、図27は障害発生後の状態であって同(A)はHDD1に障害が発生したとき、同(B)はHDD2に障害が発生したときの状態を示す。
【0123】
図26に示す如く、記憶装置30には安全性の低いHDD1と安全性の高いHDD2が使用されている。HDD1には仮想データ領域V1と、実データ領域R1と、HDD2の仮想データ領域複製領域VP1と、複製データ領域CP1が設けられる。またHDD2には仮想データ領域V2と、実データ領域R2と、HDD1の仮想データ領域複製領域VP2が設けられている。
【0124】
HDD1の仮想データ領域V1には、データD3、D5、D6の仮想データと、データD10の実データが保存され、実データ領域R1にはデータD9の実データが保存され、HDD2の仮想データ領域複製領域VP1にはHDD2の仮想データ領域V2のデータD9の仮想データが複製され、複製データ領域CP1には、HDD2に保存されている実データのうち重要度の高い順のデータD1、D2、D3の複製データが保存されている。なおデータの数字は重要度による優先順位を表し、数字の小さいデータほど重要度が高いものを表す。
【0125】
HDD2の仮想データ領域V2には、データD1、D2、D4、D7、D8の実データと、データD9の仮想データが保存され、実データ領域R2にはデータD3、D5、D6の実データが保存され、HDD1の仮想データ領域複製領域VP2にはHDD1の仮想データ領域V1のデータD3、D5、D6の仮想データが複製されている。
【0126】
この状態において安全性の低いHDD1に障害が生じた場合を図27(A)に示す。図27(A)に示す如く、本発明では、HDD2の仮想データ領域V2及び実データ領域R2には、数字の小さな重要度の高いデータD1、D2、D3・・・が保存されているので重要なデータを失うことはない。またHDD1の仮想データ領域複製領域VP2にはHDD1の仮想データ領域の仮想データD3、D5、D6(実データを除く)の複製が保持されているが、この複製がユーザに可視となり、実データ領域R2に保持された、実データD3、D5、D6とアクセス可能になるので、重要度の高いデータについてはHDD1の障害前と同様に使用可能となる。なおHDD2内の仮想データ領域V2の仮想データのデータD9は、リンク先の実データがなくなるため、使用不可となるが、データD9の重要度は低いため、コンピュータ・システムにあたえる影響は少ない。
【0127】
また、図27(B)に安全性の高いHDD2に障害が生じた場合を示す。図27(B)に示す如く、本発明では、HDD1の仮想データ領域V1にはデータD3、D5、D6の仮想データとデータD10の実データが保持され、実データ領域R1にはデータD9の実データが保持され、HDD2の仮想データ領域複製領域VP1にはHDD2の仮想データ領域の仮想データD9の複製が保持され、HDD1の空き容量を利用した複製データ領域CP1にはHDD2における重要度の高い実データD1、D2、D3が保持されている。
【0128】
HDD2に障害が生じたとき、HDD2内のデータは失われるが、HDD2内で比較的重要度の高いデータ(データD1、D2、D3)については、HDD1の空き容量を利用して複製が保持されているので、重要なデータを完全に失わずにすむ。HDD2の仮想データ領域複製領域VP1に保持された仮想データD9の複製がユーザに可視となり、HDD1の実データ領域R1に保存されているデータD9は障害前と同様に使用可能となる。圧縮データ領域(複製データ領域)はユーザ可視となり、HDD1に複製のある重要度の高いデータは、障害前と同様に使用可能となる。
【0129】
前記説明では記憶媒体としてHDDを使用した例について記載したが、本発明は勿論これに限定されるものではない。
【0130】
以上説明の如く、本発明により複数の記憶媒体を持つコンピュータシステムにおいて、重要なデータを優先して、安全性の高い記憶媒体保存することおよび安全性の高い保存方式を取ることができるので、記憶媒体に障害が生じても重要なデータを失わず、データの安全性を高めることができる。
【0131】
本発明の実施の形態を下記に付記する。
【0132】
(付記1)複数の記憶媒体を備えたデータ記憶装置において、データを重要度により順位付ける規則を記憶する規則格納手段と、前記規則に基づき記憶装置内のデータに順位付けを行う重要度算出手段と、複数の記憶媒体を安全性により順位付ける規則を記憶する安全性格納手段と、前記規則に基づき記憶装置内の複数の記憶媒体に順位付けを行う保存先選択手段と、前記データ順位付けと前記記憶媒体順位付けに基づき、記憶装置内の複数の記憶媒体からデータを保存すべき記憶媒体を選択し、データを保存する保存/移動処理手段を具備することを特徴とするデータ記憶装置。
【0133】
(付記2)データを保存後に、保存前と保存後のデータ記憶領域の位置を関連付ける手段を具備することを特徴とする付記1記載のデータ記憶装置。
【0134】
(付記3)前記重要度としてデータ属性値の重みに基づき決める規則を記憶する規則格納手段と、前記データ属性値の重みの合計を算出する重要度算出手段と、前記重みの合計に基づいて記憶装置内のデータに順位付けを行う重要度算出手段とを具備することを特徴とする付記1記載のデータ記憶装置。
【0135】
(付記4)前記データ属性値の重み付け規則において、前記重みを編集するユーザインターフェースを具備することを特徴とする付記3記載のデータ記憶装置。
【0136】
(付記5)前記データ属性値の重み付け規則において、ユーザに複数のデータについて重要度を質問し、得られる回答から前記重みを決める手段を具備することを特徴とする付記3記載のデータ記憶装置。
【0137】
(付記6)前記データ属性値の重み付け規則において、ユーザがデータを操作した事例を記憶する手段と、前記事例を操作内容に基づいて重み付ける規則を記憶する手段と、前記事例および前記規則を用いることで前記データ属性値の重みを決める手段を具備することを特徴とする付記3記載のデータ記憶装置。
(付記7)複数の記憶媒体のうち安全性の低い記憶媒体の空き領域の容量を検出する空き容量管理手段と、前記安全性の低い記憶媒体の空き領域がなくなるまで重要度の高いデータから順に複製する保存/移動処理手段を具備することを特徴とする付記1記載のデータ記憶装置。
【0138】
(付記8)付記1、付記3におけるデータ属性値の重み付け規則と、付記7において、複数のユーザがそれぞれ前記重み決定方式を選択する手段と、ユーザごとに選択した前期重み決定方式に基づいてデータ属性値の重みを決定する手段とを具備することを特徴とする付記1、付記3、付記7記載のデータ記憶装置。
【0139】
(付記9)重み付けとして、ユーザがデータ属性値の重みを決定するユーザ重み決定型と、ユーザにデータの重要度を質問して得られた回答から重みを決定するデータ重要度質問型と、ユーザがデータを操作した操作内容に基づき重みを決定するデータ操作事例型とを記憶する規則格納手段と、これらの重み付決定のうちの1つを選択する重み付選択手段と、この選択された重み付けによりデータ属性値の重みを決定する重要度算出手段を具備することを特徴とする付記3記載のデータ記憶装置。
【0140】
(付記10)前記複製したデータを圧縮する手段を具備することを特徴とした付記7記載のデータ記憶装置。
【0141】
【発明の効果】
本発明により下記の効果を奏する。
【0142】
(1)データを重要度により順位付けし、この重要度とHDDの安全性を合わせてデータの保存先を自動的に決めたので、ユーザの所有する重要度の高いデータの安全性を自動的に高めることができる。
【0143】
(2)自動的にデータの保存先が移動されてもユーザからは元のままで、安全性を加味して、しかもユーザ自身が使い易い状態で保存することができる。
【0144】
(3)データの属性に基づいてデータの重要度を自動的に、わかり易く算出することができる。
【0145】
(4)ユーザ自身が重要度を決定する規則あるいは重要度を決めることができるので、ユーザにとって信頼性の高いデータ属性の重要度の決定を行うことができる。
【0146】
(5)ユーザ自身がデータ属性の重要度を設定できない人にとって、データの重要度質問方式という簡単な形式で、自分のデータに対する考えを反映させたデータ属性の重要度を決めることができる。
【0147】
(6)データの操作内容を用いることによりデータ属性の重要度を決定することができるので、前記の如き質問の手間を省くことができる。
【0148】
(7)HDDの空き領域を利用して、重要なデータを優先的に複製保存することにより、重要なデータについて安全性を高めることができる。
【0149】
(8)1つのコンピュータシステムを複数のユーザが使用するとき、ユーザ毎にデータ属性値の重み付けを決定する方式を選択できるので、このデータ属性値の重み付けにユーザの意志を反映させることができる。
【0150】
(9)重み付け方式として、ユーザがデータ属性値の重みを決定するユーザ重み決定型と、ユーザにデータの重要度を質問して得られた回答から重みを決定するデータ重要度質問型と、ユーザがデータを操作した操作内容に基づき重みを決定するデータ操作事例型のいずれを適用するのかをユーザ自身が決定するので、ユーザの利用し易い重み付け方式を適用することができる。
【0151】
(10)複製したデータを圧縮するので、複製するデータの数を増やすことができ、少ない空き領域に多数のデータを複製することができる。
【図面の簡単な説明】
【図1】本発明の原理説明図である。
【図2】本発明の概略構成図である。
【図3】HDDの順位付け例を示すものである。
【図4】本発明のHDD増設時のデータ移動手順説明図である。
【図5】本発明の運用時のデータ保存手順説明図である。
【図6】本発明の運用時の追加データ保存説明図である。
【図7】本発明のデータ保存のデータ表示及びリンク状態説明図である。
【図8】本発明における障害時のデータ表示説明図である。
【図9】データ属性説明図である。
【図10】拡張子によるデータの分類説明図である。
【図11】属性と重要度テーブルを示す。
【図12】本発明におけるデータの重要度算出手順説明図である。
【図13】本発明における重要度設定ユーザインターフェース例である。
【図14】重要度に未知数を割り当てたテーブルを示す。
【図15】ユーザへの質問方法を示す。
【図16】操作内容の重み付けテーブルを示す。
【図17】データ操作事例テーブルを示す。
【図18】操作内容の重み付けテーブルを示す。
【図19】重要度決定方式選択手順を示す。
【図20】重要データの複製説明図である。
【図21】複製データの圧縮説明図である。
【図22】本発明の一実施の形態を示す。
【図23】本発明におけるHDD増設時のデータ移動手順詳細図である。
【図24】本発明における追加データに対するデータ保存手順詳細図である。
【図25】データの関連付け説明図である。
【図26】本発明における障害発生前の状態説明図である。
【図27】本発明における障害発生時の状態説明図である。
【図28】従来のHDD増設時の手動によるデータ移動説明図である。
【図29】従来のHDD増設時の自動によるデータ移動説明図である。
【符号の説明】
1 重要度決定規則格納部
2 重要度算出部
3 重要度格納部
4 HDD空き容量管理部
5 保存先選択部
6 HDD安全性格納部
7 保存/移動処理部
8 入出力部
9 記憶装置[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data storage device in a computer having a plurality of storage media, and more particularly to a data storage device that saves data with high importance in accordance with the importance of the data and the safety of the storage medium.
[0002]
[Prior art]
In recent years, with the development and spread of information equipment, the amount of data stored in a storage device inside the information equipment has also increased dramatically. When the capacity of the storage device is insufficient, the user needs to add a new storage device or medium, or delete data already stored.
[0003]
A hard disk device (hereinafter referred to as HDD) generally used as a storage medium for computer systems is said to have a lifetime of 3 to 5 years, and the safety of existing HDDs and newly added HDDs are different.
[0004]
When adding a conventional HDD, users who consider data safety move all data to the newly added HDD, and users who do not think keep existing data on the old HDD and add data to the new HDD. . In this method, there is a high possibility that important data in the old HDD will be lost due to a failure, and manual data distribution takes time and burden on the user.
[0005]
In the conventional data storage device, there are one in which data is manually stored and another in which data is automatically stored. These will be described below.
[0006]
(1) Manual method
When using two HDDs, the HDD to be stored manually is selected according to the user data storage rule, that is, whether to consider safety.
[0007]
A case where a new HDD 102 is added as shown in (B) and (C) when one HDD 101 is used in the storage device 100 as shown in FIG.
[0008]
FIG. 28B shows a user operation format that considers data safety, and FIG. 28C shows a user operation format that does not take data safety into account.
[0009]
As shown in FIG. 28B, the user considering safety moves all data to the new HDD 102 when the disk is added, and puts only data that does not enter the old HDD 101 when the disk is added. Similarly, during operation, additional data ND is stored in the new HDD 102 while the new HDD 102 has free space. 0 , ND 1 Is stored, and additional data ND is stored in the old HDD 101 when there is insufficient free space 2 , ND Three Save.
[0010]
As shown in FIG. 28 (C), a user who does not take safety into consideration, even if a new HDD 102 is added, the existing data is left as it is in the old HDD 101, and the additional data ND is stored in the new HDD 102. 0 , ND 1 Add ...
[0011]
In such a manual method, there is one data storage destination, and there is a high possibility that data will be lost due to a failure of the storage destination HDD. In order to prevent this, the same data is stored in each of the two HDDs 101 and 102 to increase the safety of the data against HDD failure. However, in this case, the usable capacity of the HDD is half of the total capacity. And is inefficient.
[0012]
(2) Automatic method
Japanese Patent Application Laid-Open No. 5-189164 describes that important data is multiplexed and stored in two HDDs to increase the safety of data storage. That is, as shown in FIG. 29, among the data D1 to D4, important data D2 and D4 are multiplexed and stored in the HDD1 and HDD2 to enhance safety, and unimportant data D1 and D3 are stored only in the HDD1. The attribute of the data is determined based on the file name. When there is a data write request with a specific file name, the data is written to the two HDDs and duplicated and stored. However, when there is a data write request other than a specific file name, this is written to one HDD.
[0013]
As a result, important data can be stored more safely. In FIG. 29, unimportant data D1 and D3 are stored only in HDD1, and important data D2 and D4 are stored in both HDD1 and HDD2.
[0014]
[Problems to be solved by the invention]
By the way, these manual methods and automatic methods have the following problems.
[0015]
(1) For manual method
Since safety for data is not considered by some users, there is a high possibility that important data stored in the old HDD is lost due to a failure. Even when safety is taken into account, manual data distribution is a burden on the user. Moreover, there is only one data storage destination, and failure of the HDD leads to data loss.
[0016]
(2) For automatic type
The important data is multiplexed and stored in the two HDDs, and the safety is improved. Also, since the safety of the HDD to be stored is not taken into consideration, there is a high possibility that unimportant data will be lost if it is stored in an HDD with low security.
[0017]
In the present invention, in order to improve such a problem, importance is used as a criterion for determining whether data is important, unnecessary data is automatically stored in a safe HDD with priority, and further, HDD free space is further saved. An object of the present invention is to realize a data storage device that increases the safety of data against an HDD failure by duplicating high-priority data by using an area and storing it in a multiple manner.
[0018]
[Means for Solving the Problems]
The principle of the present invention is illustrated in FIG. In the present invention, the importance of data is set according to the rules described later based on the data attributes in the storage device 10. Further, it is assumed that the newer HDD is higher in safety, and the older HDD is lower in safety.
[0019]
As shown in FIG. 1A, when a new highly secure HDD 10-2 is added in the storage device 10, the HDD 10- with the higher safety in order from the data with the higher importance than the old HDD 10-1 with the lower safety. Move to 2. As a result, as shown in the figure after the movement in FIG. 1A, data D1, D2, D3, and D4 are moved to the new highly safe HDD 10-2 from the highest importance to the lowest. . In FIG. 1, D indicates data, the next number indicates the order of importance, 1 indicates the most important one, and 2 indicates the next importance.
[0020]
Similarly, when the HDD 10-2 with high safety has a free space during operation, the data D1, D2,... Are stored in the HDD 10-2 with high safety. Compare the data with the lowest importance in the highly secure HDD 10-2, move the less important data D4 to the less secure HDD 10-1, and transfer the data D7 to the highly secure HDD 10-2. The data D8 with low importance is additionally stored in the HDD 10-1 with low security.
[0021]
Further, as shown in FIG. 1C, the high-safety HDD 10-2 has a failure by duplicating the high-priority data D1 and D5 in the empty area of the low-security HDD 10-1 and the HDD 10-1 ′. When it occurs, it is possible to increase the safety of highly important data.
[0022]
As described above, compared with the prior art in which only one of the importance of data and the safety of the HDD is considered, the present invention considers the importance of the data and the safety of the HDD together, This is different in that the data storage destination is automatically determined and the safety of the data is enhanced by using the entire capacity of the HDD.
[0023]
In the present invention, the following objects (1) to (5) are configured to achieve the object.
[0024]
(1) In a data storage device including a plurality of storage media,
Rule storage means for storing rules for ranking data according to importance;
Importance calculating means for ranking data in the storage device based on the rules;
Safety storage means for storing rules for ranking a plurality of storage media according to safety;
Storage destination selection means for ranking a plurality of storage media in the storage device based on the rules;
A storage / movement processing means is provided for selecting a storage medium to store data from a plurality of storage media in the storage device based on the data ranking and the storage medium ranking, and storing the data. Data storage device.
[0025]
(2) The data storage device according to (1), further comprising means for associating a position of the data storage area before and after the storage after the data is stored.
[0026]
(3) rule storage means for storing a rule determined based on the weight of the data attribute value as the importance,
Importance calculating means for calculating the sum of the weights of the data attribute values;
The data storage device according to (1), further comprising importance calculation means for ranking data in the storage device based on the total of the weights.
[0027]
(4) free capacity management means for detecting the capacity of a free area of a low-safe storage medium among a plurality of storage media;
The data storage device according to (1), further comprising storage / movement processing means for copying data in descending order of importance until there is no free space in the storage medium with low security.
[0028]
(5) As the weighting, a user weight determination type in which the user determines the weight of the data attribute value;
Rule storage that stores data importance question type that determines weights from answers obtained by asking users about the importance of data, and data operation case type that determines weights based on the operation contents that the user has manipulated data Means,
Weight selection means for selecting one of these weight determinations;
The data storage device according to (3), further comprising importance calculation means for determining the weight of the data attribute value by the selected weighting.
[0029]
As a result, the following effects can be obtained.
[0030]
(1) Since data is ranked according to importance, and the storage location of data is automatically determined by combining this importance with the safety of the HDD, the safety of highly important data owned by the user is automatically Can be increased.
[0031]
(2) Even if the data storage destination is automatically moved, it can be stored in a state in which it is easy for the user himself to use in the original state, taking into account safety.
[0032]
(3) The importance of data can be calculated automatically and easily based on the attribute of the data.
[0033]
(4) By preferentially copying and storing important data using the free space of the HDD, the safety of important data can be improved.
[0034]
(5) As a weighting method, a user weight determination type in which the user determines the weight of the data attribute value, a data importance degree question type in which the weight is determined from an answer obtained by asking the user about the importance of the data, and the user Since the user himself / herself decides which of the data operation case types for determining the weight based on the operation content in which the data is operated, it is possible to apply a weighting method that is easy for the user to use.
[0035]
DETAILED DESCRIPTION OF THE INVENTION
A schematic configuration of the present invention is shown in FIG. In FIG. 2A, 20 is a computer main body, 21 is an HDD, 22 is a control unit for controlling the HDD, and mechanically drives and controls the HDD.
[0036]
The rules for ranking HDDs according to safety are such that the newer (late) HDD use start time is higher in safety and the older (earlier) is lower in safety. FIG. 3 shows an example of ranking of HDDs. The use start time of the recording medium HDD1 is October 1, 1998, the use start time of the HDD2 is June 1, 1999, and the use start time of the HDD3 is Since December 1, 2000, according to the above rules, the safety ranking of HDD3 is highest at 1, followed by HDD2, and HDD1 is lowest at 3.
[0037]
As described above, the safety of the plurality of HDDs is ranked according to the rules, the importance of the data is calculated as described later, and the high importance data is prioritized and stored in the highly secure HDD, so that the user Can make it possible to increase the security of the data possessed by.
[0038]
In order to facilitate understanding of the operation of the present invention, a procedure for moving data when adding an HDD and a procedure for storing additional data during operation will be briefly described with reference to FIGS.
[0039]
A. Data transfer procedure when adding HDD
A data movement procedure when a new HDD is newly installed will be described with reference to FIG.
[0040]
S1. The importance of all data stored in the HDD with low security is calculated.
[0041]
S2. All data is rearranged according to the importance described later.
[0042]
S3. Next, the most important data is moved to a new HDD.
[0043]
S4. If the capacity of the new HDD is insufficient at the time of migration, the process ends when data corresponding to the capacity of the new HDD is migrated.
[0044]
S5. If the capacity of the new HDD is not insufficient, the movement of all data is terminated.
[0045]
B. Additional data storage procedure during operation
As shown in FIG. 6A, the case where the additional data D8 is stored when the data D1 to D7 are stored in the low-security HDD and the high-security HDD will be described with reference to FIG.
[0046]
S1. The data D1 to D7 are divided and stored in a highly secure HDD and a less secure HDD according to their importance. At this time, the data D1, D5, D2, D3, D6, and D7 are stored in the HDD with high safety according to the importance, and the data D4 is stored in the HDD with low safety.
[0047]
S2. When a request for storing additional data D8 is made in the state shown in FIG. 6A, the importance of the additional data is calculated.
[0048]
S3. Next, it is determined whether or not a new HDD, that is, a highly secure HDD has free space. If there is free space, the additional data is stored in the new HDD and the process ends.
[0049]
S4. If there is no free space in the new HDD, the most unnecessary data, that is, the less important data D7 is selected from the data D1, D5, D2, D3, D6, and D7 stored in the new highly secure HDD. .
[0050]
S5. The importance of this data D7 and additional data is compared. If the importance of the additional data D8 is higher, as shown in FIG. 6B, the most unnecessary data, that is, the data D7 having the lower importance is moved to the less secure, that is, the old HDD. Then, the additional data D8 is stored in a highly secure, that is, new HDD.
[0051]
S6. However, if the additional data D8 is less important, the additional data D8 is stored in the less secure, that is, the old HDD.
[0052]
By the way, the processing of FIGS. 4 to 6 is performed by the computer main body 20 shown in FIG. As shown in FIG. 2B, the computer main body 20 includes an importance level determination rule storage unit 1, an importance level calculation unit 2, an importance level storage unit 3, an HDD free space management unit, and a storage destination selection unit 5. , An HDD safety storage unit 6, a save / move processing unit 7, and the like.
[0053]
The importance level determination rule storage unit 1 stores rules for determining the importance level of data, the contents of which will be described later. For example, as shown in FIG. An importance level table in which importance levels are entered is stored.
[0054]
The importance level calculation unit 2 calculates the importance level of the data. For example, the importance level calculation unit 2 calculates the importance level of the data by adding the individual importance levels determined for each attribute and each classification according to the data. Is.
[0055]
The importance level storage unit 3 holds the importance level for each data calculated by the importance level calculation unit 2.
[0056]
The HDD free capacity management unit 4 manages the size of the free capacity of each HDD.
[0057]
The storage destination selection unit 5 selects a data storage destination as to which data should be stored in each HDD when a plurality of HDDs are used, or when there is additional data, the storage destination selection unit 5 compares the importance levels. The HDD to store additional data is selected, the data is rearranged according to the degree of importance, and when the data stored so far is transferred to another HDD, the transfer destination HDD is selected.
[0058]
The HDD safety storage unit 6 holds the safety of a plurality of used HDDs. As shown in FIG. 3, the HDD safety storage unit 6 ranks the safety according to, for example, the use start time, and holds it. In the case of FIG. 3, it is determined that the most recently started use has the highest safety ranking.
[0059]
The save / move processing unit 7 moves the data to the save destination HDD instructed by the save destination selecting unit 5.
[0060]
In FIG. 4, S1 is performed by the importance calculation unit 2 and the importance is stored by the importance storage unit 3, S2 is performed by the storage destination selection unit 5, S3 is performed by the storage / movement processing unit 7, S4 is determined by the HDD free space management unit 4.
[0061]
In FIG. 5, S2 is performed by the importance calculation unit 2, S3 is determined by the storage destination selection unit 5 that is managed by the HDD free space management unit 4, and S4 and S5 are storage destination selection unit 5. The data movement and storage performed subsequently are performed by the storage / movement processing unit 7.
[0062]
By the way, in the present invention, when HDDs are added, highly important data is moved to a new highly secure HDD, and unimportant data is stored in an old less secure HDD. As a result, the image is stored in a different area from the area actually stored by the user.
[0063]
In such a case, when viewed from the user, it is desired to save the data as before. Therefore, in addition to realizing this hope, the high importance data is moved to the new HDD, and the low importance data is stored in the old HDD. Data with high importance stored in the HDD can be accessed.
[0064]
For this reason, in the present invention, as shown in FIG. 7, the data arrangement (logical arrangement) viewed from the user and the actual data storage destination (physical arrangement) are separated, and these are associated with each other by a link. Shows the data as if it were stored by itself. This will be described below.
[0065]
The storage device is provided with a low-security HDD and a high-security HDD, and the low-security HDD is divided into a virtual data area V0 and a real data area R0. The area is divided into an area V1 and an actual data area R1. The user uses the virtual data areas V0 and V1 to save data and folders.
[0066]
When data is moved from the HDD stored by the user according to importance, the data is divided into virtual data VD1, VD2, VD3 and real data RD1, RD2, RD3, the virtual data is stored in the original location, and the real data is Save to the actual data area of the destination. In the virtual data, a link destination (position of actual data) and a data attribute are recorded. The real data area is hidden so that it cannot be seen (accessed) by the user.
[0067]
That is, it is made to appear to the user that the data exists in the place where it is stored, and when accessing, the actual data can be accessed through a link. By recording data attributes in virtual data, the user can view data attributes such as creation date and size. If the HDD saved by the user and the HDD where the data is actually saved are the same, the data is not separated and saved in the virtual data area of the HDD saved by the user. These processes are performed by the storage destination selection unit 5 and the storage / movement processing unit 7 in FIG.
[0068]
FIG. 8 shows how virtual data and virtual data areas are handled when a failure occurs in a low-security HDD, that is, HDD1. As shown in FIG. 8A, only the virtual data in the virtual data area (excluding actual data) is copied between the HDDs. FIG. 8A shows a state where only the virtual data area of the HDD 1 is copied to the HDD 2 for the sake of simplicity.
[0069]
Even if a failure occurs in the HDD 1 and the HDD 1 cannot be used, as shown in FIG. 8B, a copy of the virtual data in the virtual data area of the HDD 1 exists in the HDD 2 and there is actual data in the HDD 2. The user can use the data as before the failure. However, the copy of the virtual data area is concealed before the occurrence of the failure so that it cannot be seen by the user, and the concealment process is canceled after the occurrence of the failure. The processing in FIG. 8 is performed by the storage destination selection unit 5 and the storage / movement processing unit 7 in FIG.
[0070]
Next, data ranking processing will be described. There are three types of data ranking: a user weighting determination method, an importance degree question method, and an operation content method. These will be described below.
[0071]
(1) User weight determination method
The user weight determination method allows the user himself / herself to determine a rule for determining the importance level of the data attribute value. For example, as shown in FIG. Is. The importance table shown in FIG. 11 is stored in the importance determination rule storage unit 1 shown in FIG. As shown in FIG. 11, when the data type is a program, the importance level is 4, the importance level is 3 when the capacity is 100 KB or less, and the importance level is 2 when the last update date is less than 3 months. In this case, the importance level is set so that the importance level is 1.
[0072]
The importance level table in FIG. 11 is obtained by weighting importance levels for the items of the data attributes in FIG. 9, and these importance levels are set in advance. The data type is determined by classifying extensions as shown in FIG.
[0073]
FIG. 12 shows a data importance calculation procedure.
[0074]
S1. Data read from the HDD is input to the importance calculation unit 2 shown in FIG. 2B, and the data attribute value entered in the attribute entry area in this data is acquired.
[0075]
S2. The importance calculation unit 2 is stored in the importance determination rule storage unit 1 using these data attribute values. Referring to the importance table as shown in FIG. 11, the importance of each attribute is acquired and added. And this is stored in the importance storage part 3 for every data.
[0076]
S3. At this time, the importance calculation unit 2 arranges the data in the total order of the importance together with the already stored data. In this way, all data are arranged in the order of importance in the order of importance, stored in the importance storage unit 3, and the process ends.
[0077]
In this way, all data in the HDD can be ranked according to its importance.
[0078]
By the way, the importance value of the importance table shown in FIG. 11 can be set using an importance setting user interface as illustrated in FIG. The importance level determination rule storage unit 1 shown in FIG. 2B customizes the weighting rule by editing the value in the box B by the user using the importance level setting user interface as shown in FIG. Make it possible to do. For example, if the importance of the data attribute program is set to 4 in the box B corresponding thereto, the importance can be set to 4, and if 5 is set, the importance can be set to 5.
[0079]
(2) Importance question method
The importance degree questioning method is a method of asking the user about the importance degree of a plurality of data, and obtaining the importance degree for each attribute by obtaining unknowns by multiple regression analysis using the obtained answers, that is, simultaneous equations. FIG. 14 is a table in which importance values in FIG. 11 are expressed by an unknown number w. The importance W of data is calculated by adding importance for each attribute as shown in the following equation.
[0080]
[Expression 1]
Figure 0004339529
[0081]
Here, (,) means that a value to which certain data applies is selected. The following is an example of data1 shown in FIG.
[0082]
[Expression 2]
Figure 0004339529
[0083]
A method for asking the user about the importance of data is shown in FIG. The number of question data is greater than or equal to the unknown, and in the case of FIG. An upper limit and a lower limit of the importance W are set, and the user is allowed to determine the importance within this range from the data attribute. A method for determining the unknown number w based on the importance determined by the user will be described. Taking the data in FIG. 15 as an example,
[0084]
[Equation 3]
Figure 0004339529
[0085]
It becomes. The importance determined by the user is W 1 , W 2 , W Three ... (in this example, W 1 = 2, W 2 = 1, W Three = 3 ...), the unknown number w 11 , W 12 ... w 62 Is obtained. By recording the importance obtained in this way in the table shown in FIG. 14, the weighting rule can be customized for the user. The table shown in FIG. 14 is held in the importance determination rule storage unit 1 shown in FIG. Data names are not used to calculate importance.
[0086]
(3) Operation content method
The operation content method is a method for obtaining importance for each attribute from a case where a user operates data. As shown in FIG. 16, a table is provided in which importance is weighted on the operation contents of data. The weighting table of the operation contents is held in the importance determination rule storage unit 1 shown in FIG.
[0087]
FIG. 17 shows a data operation case table in which the importance is added to the case where the user has operated the data and recorded with reference to the weighting table of FIG. This data operation example table is held in the importance determination rule storage unit 1 shown in FIG.
[0088]
A method for obtaining the importance for each attribute in FIG. 14 using the data operation example table shown in FIG. 17 will be described below. Since the importance for each attribute is 15, 15 or more data operation cases are necessary. When there are 15 or more cases, the importance for each attribute is obtained. From the example in Figure 17
[0089]
[Expression 4]
Figure 0004339529
[0090]
It becomes. The importance according to the operation content is W 1 , W 2 , W Three Substituting into ・ ・ ・ and solving this simultaneous equation, importance w for each attribute included in the case 11 , W 12 ... w 62 Get. By recording the importance obtained in this way in the table shown in FIG. 14, the weighting rule can be customized for the user.
[0091]
Thus, in the present invention, three types of data importance determination methods are stored, and the user can select the determination method.
[0092]
In a computer system used by a plurality of users, the importance determination method (1) to (3) is selected for each user. FIG. 18 shows an operation content weighting table for managing the importance determination methods selected by a plurality of users. This table is stored in the importance determination rule storage unit 1 shown in FIG. When calculating the importance level of the data in FIGS. 3 and 4, the importance level determination method is selected according to the user of the calculated data.
[0093]
FIG. 19 shows the importance level determination method selection procedure. First, a user of data to be processed by the storage device is acquired. This user name is obtained from, for example, an attribute entry area in the data. The weighting table of the operation contents shown in FIG. 18 is accessed by the user name thus obtained, and the importance level determination method is selected. Thus, the importance of the data is calculated based on the selected importance determination method.
[0094]
In the present invention, a method for further enhancing security by copying highly important data to another HDD will be described with reference to FIG.
[0095]
In the present invention, as shown in FIG. 20A, highly important data D1, D2, D3... D6 are sequentially stored in a highly secure HDD. The remaining data D7 and D8, which are less important than the data D6 and cannot be stored in the highly secure HDD, are stored in the less secure HDD. At this time, the free capacity of the HDD with low safety is checked. If there is free space, as shown in FIG. 20 (B), data D1 and D2 having higher importance are copied in order to free areas of HDDs with low security. These processes are performed by the HDD free space management unit 4, the storage destination selection unit 5, the storage / migration processing unit 7 and the like shown in FIG. It is assumed that the importance of the data is the highest in the small number 1 and is low in the following numerical order.
[0096]
In the present invention, a method of compressing the duplicated highly important data to increase the free area will be described with reference to FIG.
[0097]
When the highly important data D1 and D2 are replicated in the empty area of the HDD with low security, the state is as shown in FIG. At this time, the highly important data D1 and D2 are stored as compressed data P1 and P2 in the less secure HDD as shown in FIG. As a result, it is possible to increase the free capacity of the HDD with low safety. As a result, the data D3 having the next highest importance after the data D2 that has already been compressed and copied can be duplicated in the vacant area, and the safety of the data having the higher importance can be increased. This processing is performed by the HDD free space management unit 4, the storage destination selection unit 5, the storage / migration processing unit 7 and the like shown in FIG.
[0098]
An embodiment of the present invention will be described with reference to FIGS. FIG. 22 is an embodiment of the present invention, FIG. 23 is an explanatory diagram of a data movement procedure when an HDD is added in the present invention, and FIG. 24 is an explanatory diagram of a data storage procedure for additional data in the present invention.
[0099]
In the computer system having one HDD as a storage medium in the storage device, an embodiment in which one HDD is added due to insufficient storage capacity will be described. The same applies when an HDD is added to a computer system having two or more HDDs. However, since the lifespan of the HDD is 3 to 5 years, the longer the HDD is used, the lower the safety, and the newer the safety is higher. Let HDD2 be a highly secure HDD. Assume that the capacity of the HDD is larger in the HDD 2 than in the HDD 1.
[0100]
An embodiment of the data storage device of the present invention is shown in FIG. 22, the same symbol part as FIG. 2 shows the same part, the input / output part 8 which is an interface with a user, the importance calculation part 2 which ranks data, the method and attribute which calculate the importance for every data attribute Importance determination rule storage unit 1 for storing the importance level of each data, importance level storage unit 3 for storing the calculated data importance level, data importance in consideration of data importance level and HDD safety A storage destination selection unit 5 that determines a storage destination, an HDD safety storage unit 6 that stores an HDD use start time set by the user and a ranking according to the safety of the HDDs in the storage device, and a free HDD in the storage device HDD free space management unit 4 that monitors the capacity and stores free space, storage processing unit 7-1 that stores data in the HDD selected by the storage destination selection unit 5, and selection by the storage destination selection unit 5 HD Move the data are provided with the mobile processing unit 7-2 to create a virtual data based on the HDD, the storage device 9 having in that HDD 1, HDD 2 which is divided with the actual data area in the virtual data area.
[0101]
The storage processing unit 7-1 and the movement processing unit 7-2 constitute the storage / movement processing unit 7 shown in FIG. 2B. The HDD 1 is low in safety and the HDD 2 is high in safety. It is.
[0102]
Next, the operation of the data storage device of the present invention will be described with reference to FIG. 23 and FIG. 24 with reference to other drawings. (1) Data movement procedure immediately after HDD addition and (2) Data storage procedure for additional data.
[0103]
(1) Regarding the data transfer procedure immediately after adding the HDD,
S1. Since the capacity of the HDD 1 is insufficient in the storage device 9, a highly safe HDD 2 is added.
[0104]
S2. The user sets the use start time of the HDD 2 in the HDD safety storage unit 6.
[0105]
S3. The user selects one of the three importance determination methods shown in FIG. 18 and sets it in the importance determination rule storage unit 1. The importance calculation unit 2 calculates the importance of all the data in the HDD 1 in accordance with the set importance determination method. The importance of all the data is recorded in the importance storage unit 3.
[0106]
S4. Next, the storage destination selection unit 5 accesses the importance level storage unit 3 and the HDD safety storage unit 6 to select data having the highest level of importance, and divides the data into real data and virtual data. Then, the real data is moved to the real data area of the HDD 2 with high safety, and the virtual data (storage position and data attribute of the real data) is stored in the virtual data area of the HDD 1. These movement processes are performed in descending order of importance.
[0107]
S5. The HDD free capacity management unit 4 monitors the free capacity of the HDD 1 and the HDD 2, and when there is no data in the HDD 1 and movement of all data is completed, or when there is no free capacity in the HDD 2, the data movement process is finished. .
[0108]
S6. Next, the most important data in the HDD 2 is selected, and a copy of the actual data is compressed and stored in the data area of the HDD 1. This processing is performed by the movement processing unit 7-2. This process is performed until the HDD 1 runs out of free space or until all data is compressed and stored.
[0109]
(2) About data storage procedure for additional data
S1. When there is a data storage request to the storage device 9, the user stores this data in the virtual data area of the HDD 1 or HDD 2. Then, the importance level calculation unit 2 calculates the importance level of the data to be saved, that is, the additional data.
[0110]
S2. Next, the HDD free capacity management unit 4 checks the free capacity of the HDD 2. If there is free space for the additional data, the storage processing unit 7-1 stores the additional data in the HDD 2, and compresses and stores a copy of the additional data in the actual data area of the HDD 1.
[0111]
S3. However, if the HDD 2 has no free space, the least important data (for example, data 1) in the HDD 2 is selected.
[0112]
S4. Then, the importance levels of the least important data 1 and the additional data in the HDD 2 are compared. Hereinafter, the case where the importance of the additional data is higher will be described separately as (A) and the case where the importance is lower will be described as (B).
[0113]
(A) When the importance of additional data is high
S5. If the importance of the additional data is high, the data 1 is moved to the HDD 1 and the additional data is stored in the HDD 2.
[0114]
S6. The data with the lowest importance in the HDD 1 (data D2 in FIG. 21, hereinafter referred to as data 2) is selected.
[0115]
S7. Then, the importance levels of the additional data and this data 2 are compared.
[0116]
S8. If the importance of the additional data is higher, a copy of the additional data is compressed and stored in the actual data area of the HDD 1. However, if the importance of the additional data is low, the process ends in the state of S5.
[0117]
(B) When the importance of additional data is low
S9. Until the free space corresponding to the capacity of the additional data is secured, the duplicate data in the HDD 1 is sequentially deleted from the less important data 2.
[0118]
S10. When a free space equivalent to the additional data capacity is secured, the additional data is stored in the HDD 1.
[0119]
The processes (A) and (B) are performed by the storage processing unit 7-1 and the movement processing unit 7-2.
[0120]
In addition, when both the additional data and the existing data are different from the HDD in which the user stores the data and the HDD in which the data is actually stored, the data is divided into virtual data and actual data, and the virtual data area of the HDD stored by the user The virtual data is stored in the real data area, and the actual data is stored in the actual data area of the HDD that is actually stored. If they are the same, the data is saved in the virtual data area of the HDD saved by the user.
[0121]
That is, as shown in FIG. 25A, when data D5 stored by a user is stored in a low-security HDD, the data D5 is moved to a high-security HDD as shown in FIG. . Since the user does not know the storage destination as it is, the virtual data of the data D5 (the storage of the actual data of the data D5) is stored in the virtual data area of the HDD where the user first stored the data D5, as shown in FIG. (Destination address and data attributes) are stored, and the actual data is stored in a highly secure HDD. By linking the virtual data and the actual data in this way, the user can place the actual stored data on the highly secure HDD so that the stored data is at the position where it was first stored.
[0122]
In the present invention, a case where a failure occurs in one of the HDDs will be described with reference to FIGS. FIG. 26 shows the state before the failure, FIG. 27 shows the state after the failure. FIG. 26A shows the state when the HDD 1 has failed, and FIG. 27B shows the state when the HDD 2 has failed. Show.
[0123]
As shown in FIG. 26, the storage device 30 uses the HDD 1 with low safety and the HDD 2 with high safety. The HDD 1 is provided with a virtual data area V1, a real data area R1, a virtual data area replication area VP1 of the HDD 2, and a replication data area CP1. The HDD 2 is provided with a virtual data area V2, a real data area R2, and a virtual data area duplication area VP2 of the HDD 1.
[0124]
The virtual data area V1 of the HDD 1 stores the virtual data of the data D3, D5, and D6 and the actual data of the data D10, the actual data of the data D9 is stored in the actual data area R1, and the virtual data area duplication of the HDD 2 The virtual data of the data D9 in the virtual data area V2 of the HDD 2 is duplicated in the area VP1, and the data D1, D2, D3 in descending order of importance among the real data stored in the HDD 2 is duplicated in the duplicate data area CP1. Duplicate data is stored. Note that the data numbers represent priorities based on importance, and the smaller the data, the higher the importance.
[0125]
The virtual data area V2 of the HDD 2 stores the actual data of the data D1, D2, D4, D7, and D8 and the virtual data of the data D9, and the actual data area R2 stores the actual data of the data D3, D5, and D6. Thus, the virtual data of the data D3, D5, and D6 in the virtual data area V1 of the HDD 1 is duplicated in the virtual data area replication area VP2 of the HDD 1.
[0126]
FIG. 27A shows a case where a failure occurs in the HDD 1 with low safety in this state. As shown in FIG. 27 (A), in the present invention, important data D1, D2, D3,... Are stored in the virtual data area V2 and the real data area R2 of the HDD 2 with small numbers and high importance. You wo n’t lose any data. The virtual data area replication area VP2 of the HDD 1 holds virtual data D3, D5, and D6 (excluding actual data) in the virtual data area of the HDD 1, but this replication becomes visible to the user, and the real data area Since the real data D3, D5, and D6 held in R2 can be accessed, highly important data can be used as before the failure of the HDD1. The virtual data D9 in the virtual data area V2 in the HDD 2 cannot be used because there is no actual data at the link destination. However, since the importance of the data D9 is low, there is little influence on the computer system.
[0127]
FIG. 27B shows a case where a failure occurs in the highly secure HDD 2. As shown in FIG. 27B, in the present invention, the virtual data area V1 of the HDD 1 holds the virtual data of the data D3, D5, D6 and the actual data of the data D10, and the actual data area R1 stores the actual data D9. The virtual data area duplication area VP1 of the HDD 2 holds a copy of the virtual data D9 in the virtual data area of the HDD 2, and the duplicate data area CP1 using the free capacity of the HDD 1 has a high importance in the HDD 2. Data D1, D2, and D3 are held.
[0128]
When a failure occurs in the HDD 2, the data in the HDD 2 is lost, but for the data (data D 1, D 2, D 3) having relatively high importance in the HDD 2, a copy is retained using the free capacity of the HDD 1. So you don't have to lose important data completely. The replica of the virtual data D9 held in the virtual data area replication area VP1 of the HDD 2 becomes visible to the user, and the data D9 stored in the real data area R1 of the HDD 1 can be used as before the failure. The compressed data area (replicated data area) is visible to the user, and highly important data that is duplicated in the HDD 1 can be used as before the failure.
[0129]
In the above description, an example in which an HDD is used as a storage medium has been described, but the present invention is not limited to this.
[0130]
As described above, according to the present invention, in a computer system having a plurality of storage media, it is possible to preferentially save important data and to store a highly secure storage medium and to take a highly secure storage method. Even if a failure occurs in the medium, important data is not lost, and the safety of the data can be improved.
[0131]
Embodiments of the present invention will be described below.
[0132]
(Supplementary Note 1) In a data storage device having a plurality of storage media, rule storage means for storing rules for ranking data according to importance, and importance calculation means for ranking data in the storage device based on the rules Safety storage means for storing a rule for ranking a plurality of storage media according to safety, storage destination selection means for ranking a plurality of storage media in a storage device based on the rules, and the data ranking A data storage device comprising: a storage / movement processing means for selecting a storage medium to store data from a plurality of storage media in the storage device based on the ranking of the storage media and storing the data.
[0133]
(Supplementary note 2) The data storage device according to supplementary note 1, further comprising means for associating the position of the data storage area before and after the storage after the data is stored.
[0134]
(Supplementary Note 3) Rule storage means for storing a rule determined based on the weight of the data attribute value as the importance, importance calculation means for calculating the sum of the weight of the data attribute value, and storage based on the sum of the weight The data storage device according to appendix 1, further comprising importance calculation means for ranking the data in the device.
[0135]
(Supplementary note 4) The data storage device according to supplementary note 3, further comprising a user interface for editing the weight in the weighting rule of the data attribute value.
[0136]
(Supplementary note 5) The data storage device according to supplementary note 3, further comprising means for asking the user about the importance of a plurality of data in the data attribute value weighting rule and determining the weight from the obtained answer.
[0137]
(Additional remark 6) In the weighting rule of the said data attribute value, the means which memorize | stores the case where the user operated data, the means which memorize | stores the rule which weights the said case based on operation content, the said case and the said rule are used The data storage device according to claim 3, further comprising means for determining a weight of the data attribute value.
(Supplementary Note 7) Free capacity management means for detecting the capacity of a free area of a low-security storage medium among a plurality of storage media, and data having higher importance until there is no free area of the low-security storage medium The data storage device according to appendix 1, further comprising storage / movement processing means for copying.
[0138]
(Supplementary Note 8) Data weighting rules for data attribute values in Supplementary Notes 1 and 3, and, in Supplementary Note 7, means for selecting each of the weight determination methods by a plurality of users, and data based on the previous weight determination method selected for each user The data storage device according to Supplementary Note 1, Supplementary Note 3, and Supplementary Note 7, further comprising means for determining a weight of the attribute value.
[0139]
(Supplementary Note 9) As weighting, a user weight determination type in which the user determines the weight of the data attribute value, a data importance degree question type in which the weight is determined from an answer obtained by asking the user about the importance of the data, and a user A rule storing means for storing a data operation case type for determining a weight based on an operation content in which data is manipulated, a weight selecting means for selecting one of these weight determinations, and the selected weight The data storage device according to appendix 3, further comprising importance calculation means for determining the weight of the data attribute value by
[0140]
(Supplementary note 10) The data storage device according to supplementary note 7, further comprising means for compressing the duplicated data.
[0141]
【The invention's effect】
The present invention has the following effects.
[0142]
(1) Since data is ranked according to importance, and the storage location of data is automatically determined by combining this importance with the safety of the HDD, the safety of highly important data owned by the user is automatically Can be increased.
[0143]
(2) Even if the data storage destination is automatically moved, it can be stored in a state in which it is easy for the user himself to use in the original state, taking into account safety.
[0144]
(3) The importance of data can be calculated automatically and easily based on the attribute of the data.
[0145]
(4) Since the user himself / herself can determine the rule or importance for determining the importance, it is possible to determine the importance of the data attribute with high reliability for the user.
[0146]
(5) For those who cannot set the importance level of the data attribute, the user can determine the importance level of the data attribute that reflects the idea of the data in a simple format called a data importance level query method.
[0147]
(6) Since the importance of the data attribute can be determined by using the operation content of the data, it is possible to save the trouble of the question as described above.
[0148]
(7) By preferentially copying and storing important data using the HDD free space, the safety of important data can be improved.
[0149]
(8) When a plurality of users use one computer system, a method for determining the weighting of the data attribute value can be selected for each user. Therefore, the user's intention can be reflected in the weighting of the data attribute value.
[0150]
(9) As a weighting method, a user weight determination type in which the user determines the weight of the data attribute value, a data importance degree question type in which the weight is determined from an answer obtained by asking the user about the importance of the data, and a user Since the user himself / herself decides which of the data operation case types for determining the weight based on the operation content in which the data is operated, it is possible to apply a weighting method that is easy for the user to use.
[0151]
(10) Since the replicated data is compressed, the number of data to be replicated can be increased, and a large number of data can be replicated in a small free area.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating the principle of the present invention.
FIG. 2 is a schematic configuration diagram of the present invention.
FIG. 3 shows an example of ranking HDDs;
FIG. 4 is an explanatory diagram of a data movement procedure when adding HDD according to the present invention.
FIG. 5 is an explanatory diagram of a data storage procedure during operation of the present invention.
FIG. 6 is an explanatory diagram for storing additional data during operation of the present invention.
FIG. 7 is a data display and link state explanatory diagram of data storage according to the present invention.
FIG. 8 is an explanatory diagram of data display at the time of failure in the present invention.
FIG. 9 is an explanatory diagram of data attributes.
FIG. 10 is an explanatory diagram for classifying data by extension.
FIG. 11 shows an attribute and importance table.
FIG. 12 is an explanatory diagram of data importance calculation procedures according to the present invention.
FIG. 13 is an example of an importance setting user interface according to the present invention.
FIG. 14 shows a table in which unknowns are assigned to importance levels.
FIG. 15 shows a method for asking a user.
FIG. 16 shows a weighting table of operation contents.
FIG. 17 shows a data operation example table.
FIG. 18 shows a weighting table of operation contents.
FIG. 19 shows an importance determination method selection procedure.
FIG. 20 is an explanatory diagram of duplication of important data.
FIG. 21 is a diagram illustrating compression of duplicate data.
FIG. 22 shows an embodiment of the present invention.
FIG. 23 is a detailed view of a data movement procedure when adding HDDs in the present invention.
FIG. 24 is a detailed diagram of a data storage procedure for additional data in the present invention.
FIG. 25 is an explanatory diagram of data association;
FIG. 26 is an explanatory diagram of a state before the occurrence of a failure in the present invention.
FIG. 27 is an explanatory diagram of a state when a failure occurs in the present invention.
FIG. 28 is an explanatory diagram of manual data movement when a conventional HDD is added.
FIG. 29 is an explanatory diagram of automatic data movement when a conventional HDD is added.
[Explanation of symbols]
1 Importance determination rule storage
2 Importance calculator
3 Importance storage
4 HDD free space management section
5 Save destination selection part
6 HDD safety storage
7 Save / Move processor
8 Input / output section
9 Storage device

Claims (4)

複数の記憶媒体を備えたデータ記憶装置において、
ユーザにデータの重要度を質問して得られた回答に基づいてデータ属性値毎の重みを算出し、データを重要度により順位付ける規則として前記データ属性値毎の重みを記憶する規則格納手段と、
前記規則に基づき、データの各属性値毎の重みを求めて全属性値の重みの合計を算出し、該重みの合計に基づいて記憶装置内のデータの重要度の順位付けを行う重要度算出手段と、
複数の記憶媒体を記憶媒体の新しさに基づくデータ保存の安全性により順位付ける規則を記憶する安全性格納手段と、
前記規則に基づき記憶装置内の複数の記憶媒体に順位付けを行う保存先選択手段と、
前記データ順位付けと前記記憶媒体順位付けに基づき、記憶装置内の複数の記憶媒体からデータを保存すべき記憶媒体を選択し、データを保存する保存/移動処理手段を具備することを特徴とするデータ記憶装置。
In a data storage device comprising a plurality of storage media,
Rule storage means for calculating a weight for each data attribute value based on an answer obtained by asking the user about the importance of the data, and storing the weight for each data attribute value as a rule for ranking the data according to the importance ,
Based on the rules, the weight for each attribute value of the data is obtained to calculate the sum of the weights of all the attribute values, and the importance calculation for ranking the importance of the data in the storage device based on the sum of the weights Means,
Safety storage means for storing a rule for ranking a plurality of storage media according to the safety of data storage based on the newness of the storage medium ;
Storage destination selection means for ranking a plurality of storage media in the storage device based on the rules;
A storage / movement processing means is provided for selecting a storage medium to store data from a plurality of storage media in the storage device based on the data ranking and the storage medium ranking, and storing the data. Data storage device.
複数の記憶媒体を備えたデータ記憶装置において、In a data storage device comprising a plurality of storage media,
ユーザが複数のデータを操作した操作内容に基づいてデータ属性値毎の重みを算出し、データを重要度により順位付ける規則として前記データ属性値毎の重みを記憶する規則格納手段と、Rule storage means for calculating the weight for each data attribute value based on the operation content of the user operating a plurality of data, and storing the weight for each data attribute value as a rule for ranking the data according to importance,
前記規則に基づき、データの各属性値毎の重みを求めて全属性値の重みの合計を算出し、該重みの合計に基づいて記憶装置内のデータの重要度の順位付けを行う重要度算出手段と、Based on the rules, the weight calculation is performed for each attribute value of the data to calculate the sum of the weights of all the attribute values and to rank the importance of the data in the storage device based on the sum of the weights. Means,
複数の記憶媒体を記憶媒体の新しさに基づくデータ保存の安全性により順位付ける規則を記憶する安全性格納手段と、Safety storage means for storing a rule for ranking a plurality of storage media according to safety of data storage based on the newness of the storage medium;
前記規則に基づき記憶装置内の複数の記憶媒体に順位付けを行う保存先選択手段と、Storage destination selection means for ranking a plurality of storage media in the storage device based on the rules;
前記データ順位付けと前記記憶媒体順位付けに基づき、記憶装置内の複数の記憶媒体からデータを保存すべき記憶媒体を選択し、データを保存する保存/移動処理手段を具備することを特徴とするデータ記憶装置。A storage / movement processing unit is provided that selects a storage medium to store data from a plurality of storage media in the storage device based on the data ranking and the storage medium ranking, and stores the data. Data storage device.
データを保存後に、保存前と保存後のデータ記憶領域の位置を関連付ける手段を具備することを特徴とする請求項1又は請求項2に記載のデータ記憶装置。 3. The data storage device according to claim 1, further comprising means for associating the data storage area before and after the data is stored. 複数の記憶媒体のうち安全性の低い記憶媒体の空き領域の容量を検出する空き容量管理手段と、
前記安全性の低い記憶媒体の空き領域がなくなるまで重要度の高いデータから順に複製する保存/移動処理手段を具備することを特徴とする請求項1又は請求項2に記載のデータ記憶装置。
Free capacity management means for detecting the capacity of a free area of a low-safe storage medium among a plurality of storage media;
3. The data storage device according to claim 1, further comprising storage / movement processing means for copying data in descending order of importance until there is no free space in the storage medium with low security.
JP2001184188A 2001-06-19 2001-06-19 Data storage device Expired - Fee Related JP4339529B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001184188A JP4339529B2 (en) 2001-06-19 2001-06-19 Data storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001184188A JP4339529B2 (en) 2001-06-19 2001-06-19 Data storage device

Publications (2)

Publication Number Publication Date
JP2003006005A JP2003006005A (en) 2003-01-10
JP4339529B2 true JP4339529B2 (en) 2009-10-07

Family

ID=19023993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001184188A Expired - Fee Related JP4339529B2 (en) 2001-06-19 2001-06-19 Data storage device

Country Status (1)

Country Link
JP (1) JP4339529B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6988110B2 (en) * 2003-04-23 2006-01-17 International Business Machines Corporation Storage system class distinction cues for run-time data management
AU2004286660B2 (en) 2003-10-27 2011-06-16 Hitachi Vantara, LLC Policy-based management of a redundant array of independent nodes
US7634615B2 (en) * 2004-06-10 2009-12-15 Marvell World Trade Ltd. Adaptive storage system
JP4588390B2 (en) * 2004-08-31 2010-12-01 株式会社堀場製作所 Particle size distribution measuring device
JP4676329B2 (en) * 2005-12-27 2011-04-27 株式会社日立製作所 Service providing system, interactive display apparatus, and service providing method
CN101675440B (en) 2007-02-28 2012-09-05 日本电气株式会社 Information processor having lock function, lock (unlock) method for information processor
JP5023899B2 (en) * 2007-09-03 2012-09-12 日本電気株式会社 Stream data control system, stream data control method, and stream data control program
JP2009169688A (en) * 2008-01-16 2009-07-30 Fujitsu Ltd Storage device, data migration device, and data migration method
WO2024241730A1 (en) * 2023-05-23 2024-11-28 パナソニックIpマネジメント株式会社 Recording method, storage control device, information processing device, and video recording system

Also Published As

Publication number Publication date
JP2003006005A (en) 2003-01-10

Similar Documents

Publication Publication Date Title
JP4863605B2 (en) Storage control system and method
US20200026438A1 (en) System and method of management of multi-tier storage systems
US7502904B2 (en) Information processing system and management device for managing relocation of data based on a change in the characteristics of the data over time
Katz et al. Database support for versions and alternatives of large design files
JP4627110B2 (en) Data storage
US5729735A (en) Remote database file synchronizer
US7636704B2 (en) Methods and apparatus for scheduling an action on a computer
CN104969170B (en) Hierarchical storage system, storage control and the method for replacing the data movement between level
US7752390B2 (en) Disk array apparatus and control method for disk array apparatus
US7725673B2 (en) Storage apparatus for preventing falsification of data
US9189493B2 (en) Object file system
JP2007073039A (en) System, program product, method and computer software for providing content based anticipative storage management
JP4339529B2 (en) Data storage device
US20130091562A1 (en) Computer
KR101624005B1 (en) Controlling access to software component state
US7350041B1 (en) Methods and apparatus for managing the storage of content
JP2008090378A (en) Hybrid file system, operating system, cache control method, and recording medium
JP2017049897A (en) Storage device, storage device control program, and storage device control method
CN113204520A (en) Remote sensing data rapid concurrent read-write method based on distributed file system
JP2000200205A (en) Method and device for selecting file
EP2104045A2 (en) Methods and apparatus for transferring content from a storage system
JP5839727B2 (en) Storage control system and method
TW200826069A (en) Method for automatically adjusting the COW(copy on write) disk space of the snapshot device
CN118829980A (en) Persistence capabilities in database systems
JPH07200378A (en) Library file management equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060324

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090210

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090410

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20090410

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090410

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090702

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120710

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120710

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130710

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees