JP4334902B2 - Recorded content copying device - Google Patents

Recorded content copying device Download PDF

Info

Publication number
JP4334902B2
JP4334902B2 JP2003109607A JP2003109607A JP4334902B2 JP 4334902 B2 JP4334902 B2 JP 4334902B2 JP 2003109607 A JP2003109607 A JP 2003109607A JP 2003109607 A JP2003109607 A JP 2003109607A JP 4334902 B2 JP4334902 B2 JP 4334902B2
Authority
JP
Japan
Prior art keywords
file
partition
information
processing unit
recorded
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 - Lifetime
Application number
JP2003109607A
Other languages
Japanese (ja)
Other versions
JP2004005581A (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 JP2003109607A priority Critical patent/JP4334902B2/en
Publication of JP2004005581A publication Critical patent/JP2004005581A/en
Application granted granted Critical
Publication of JP4334902B2 publication Critical patent/JP4334902B2/en
Expired - Lifetime legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

【0001】
【産業上の利用分野】
本発明は、パーソナルコンピュータなどに備えられたハードディスクの記録内容を複写する記録内容複写装置に関するものである。
近年、パーソナルコンピュータ等の普及に伴い、様々な利用者がパーソナルコンピュータを利用するようになってきている。これに伴って、オペレーティングシステムやアプリケーションソフトウェアを予めハードディスク装置にインストールした状態で出荷するプレインストールモデルのパーソナルコンピュータが、広く市販されるようになっている。
【0002】
このようなプレインストールモデルのパーソナルコンピュータを利用する場合には、利用者は、ソフトウェアのインストールという煩わしい作業を行う必要がないため、コンピュータに関する知識が少ない利用者でも、購入後、直ぐに使うことができる。
このようにして、パーソナルコンピュータの利用者のすそ野が広がる一方で、利用者の不注意などによってハードディスク装置の記録内容が破壊されるといった事故が多発するようになっており、このような事故に利用者が簡単に対応できるようにする技法が要望されている。
【0003】
【従来の技術】
図6に、ハードディスク装置の記録内容の構成例を示す。
図6に示すように、ハードディスク装置の記録媒体は、N個のブロックから構成されており、第1ブロックにはイニシャルプログラムロード(IPL)が格納されている。また、上述したN個のブロックは、例えば、図6に示すように、m個の区画に振り分けられており、これらのm個の区画をそれぞれ独立した記録媒体として扱えるようになっている。これらのm個の区画の区切りに関する区画情報は、第2ブロックに記録されており、第3ブロックには、ハードディスクユニットに関するデバイス情報が記録されている。このデバイス情報としては、ユニットの最大論理ブロック数およびブロック長が記録されている。
【0004】
したがって、ハードディスク装置の記録内容を復元するためには、上述したm個の区画のそれぞれの内容をその位置を含めて復元するとともに、第1〜第3ブロックに記録されたIPLや区画情報を復元する必要がある。
また、図7に、従来のファイル制御部の構成例を示す。
図7において、ハードディスク装置401,402は、それぞれディスク駆動部403,404を介してファイル制御部410に接続されており、このファイル制御部410のブロックアクセス処理部4111 ,4112 が、ファイルアクセス処理部4121 ,4122 からの指示に応じて、それぞれ対応するディスク駆動部403,404によるブロック単位のアクセス動作を制御する構成となっている。
【0005】
また、ファイル制御部410のセクタライト処理部413は、CD−ROMライタ405に対応して設けられたファイル書込処理部414からの指示に応じて、CD−ROMライタ405によるセクタ単位の書き込み動作を制御する構成となっており、セクタリード処理部415は、CD−ROMリーダ406に対応して設けられたファイル読出処理部416からの指示に応じて、CD−ROMリーダ406によるセクタ単位の読み出し動作を制御する構成となっている。
【0006】
また、ファイル制御部410には、ファイル転送処理部417が設けられており、通常は、利用者やアプリケーションソフトウェアからの指示を受け付けるコマンド処理部418からの指示に応じて、上述したファイルアクセス処理部4121 ,4122 ,ファイル書込処理部414およびファイル読出処理部416を介して、ハードディスク装置やCD−ROMドライブといった補助記憶装置相互間での情報の授受をファイル単位で実現する構成となっている。
【0007】
このような従来のファイル制御部410において、上述したファイル転送処理部417やファイルアクセス処理部4121 ,4122 ,ファイル書込処理部414およびファイル読出処理部416の機能は、オペレーティングシステムによって提供されており、一方、ブロックアクセス処理部4111 ,4112 やセクタライト処理部413,セクタリード処理部415の機能は、BIOS(Basic I/O System)又はデバイスドライバによって提供されている。
【0008】
また、図7において、ブロック転送処理部419は、利用者からの指示に応じて、上述したブロックアクセス処理部4111 ,4112 によるブロック毎のアクセス動作を制御して、指定されたハードディスク装置の記録内容全体あるいは指定した区画全体の記録内容を読み出し、そのまま複写先として指定されたハードディスク装置の記録媒体に転送して書き込むことにより、ハードディスク装置401,402間でブロック単位の複写を実現している。
【0009】
このブロック転送処理部419の機能は、ハードディスク装置同士であれば、ブロックのサイズや記録方式といったハードウェアの条件が同一であることを利用したものであり、保守作業用のユーティリティソフトウェアによって提供されている。
従来は、ハードディスク装置の記録内容が破壊された際には、利用者がメーカのサービス店舗にハードディスク装置を持ち込んで、上述したユーティリティソフトウェアを利用して、サービス店舗に備えられたハードディスク装置の全てのブロックの記録内容を順次に複写することにより、ハードディスク装置の記録内容を復元していた。
【0010】
また、パーソナルコンピュータに添付されたフロッピーディスクから、オペレーティングシステムやアプリケーションソフトウェアを再びインストールすることも可能ではある。
この場合は、利用者が、起動させているオペレーティングシステムごとに、そのオペレーティングシステムで提供されている複写コマンドを利用して、フロッピーディスクのアプリケーションソフトウェアなどをファイル単位でハードディスクに複写することにより、ハードディスク装置の記録内容を再構築していけばよい。
【0011】
但し、オペレーティングシステムが提供する複写コマンドは、そのコマンドが動作しているオペレーティングシステムが管理しているファイルのみを複写元の対象としているから、例えば、MS−DOSの複写コマンドでは、OS−2のファイルを複写することはできない。また、各々のファイルを複写する際に、ファイルのディレクトリの階層構造などを再構築していく必要がある。
【0012】
【発明が解決しようとする課題】
上述したように、利用者がハードディスク装置をメーカーのサービス店舗に持ち込む場合は、復元作業はメーカー側の保守作業者が行うので、利用者がファイルシステムなど人する詳細な知識を持っている必要がない。しかし、ハードディスク装置をサービス店舗に持ち込むことは、利用者にとって大きな負担となっていた。
【0013】
一方、利用者が、ソフトウェアが記録されたフロッピーディスクなどからハードディスク装置の記録内容を再構築する場合には、ハードディスク装置を運搬する必要はない。しかし、利用者自身が、ハードディスク装置やファイルシステムなどに関して詳細な知識を持っている必要がある。
また一方、出荷時の記録内容を保存したバックアップのハードディスク装置が利用者の手元にあれば、上述したユーティリティソフトウェアを利用して、利用者自身が自宅などでハードディスク装置の記録内容の復元を行うことが可能ではある。
【0014】
しかしながら、この場合は、通常利用するハードディスク装置のほかに、バックアップのためだけにもう1台のハードディスク装置を持っている必要があり、コストが大幅に上昇してしまう上に、資源の無駄である。
本発明は、復元作業に利用する補助記憶装置の種類にかかわらず、利用者が簡単に補助記憶装置の記録内容を復元することが可能な補助記憶装置の記録内容復元装置、および複写先の補助記憶装置の種類にかかわらず、複写元の補助記憶装置の記録内容を完全に複写可能な記憶内容複写装置を提供することを目的とする。
【0015】
【課題を解決するための手段】
請求項1にかかわる記録内容複写装置は、記録媒体を含む記憶装置から記録媒体の特定の位置に記録された区画情報を読み出し、区画情報を含む区画情報ファイルを作成し、可搬型記録媒体に格納する手段と、区画情報で示される記録媒体の区画ごとに、記録媒体の区画内に記録された全ての情報を含む1つのファイルを作成し、可搬型記録媒体に格納する手段とを有することを特徴とする。
【0016】
このような構成の記録内容複写装置は、区画情報を格納する手段と区画ごとの全ての情報を格納する手段とが、記録媒体の特定の位置に記録された区画情報とこの区画情報で示される各区画に記録された全ての情報とをそれぞれ論理的なファイルとして可搬型記録媒体に格納するので、複写元の記録媒体と複写先の可搬型記録媒体との記録方式の差異にかかわらず、その記録内容を可搬型記録媒体に完全に複写することが可能である。
【0017】
請求項2にかかわる記録内容複写装置は、請求項1に記載の記録内容複写装置において、記録媒体の区画内に記録された全ての情報として、ブロックアクセス処理部を制御して区画に含まれる全てのブロックを読み出す手段を有することを特徴する。
このような構成の記録内容複写装置では、ブロックを読み出す手段が、BIOS又はデバイスドライバによって提供されるブロックアクセス処理部の機能を利用して、区画情報で示される各区画に含まれている全てのブロックを読み出すので、各区画に記録されている全ての情報を確実に読み出して、それぞれ一つのファイルとして可搬型記録媒体に格納することができる。
【0018】
請求項3にかかわる記録内容複写装置は、請求項1に記載の記録内容複写装置において、記録媒体の区画内に記録された全ての情報を圧縮してファイルを作成し、可搬型記録媒体に格納することを特徴とする。
このような構成の記録内容複写装置では、区画ごとのファイルを格納する手段が、情報を圧縮してファイルを作成することにより、可搬型記録媒体の記憶容量を超える記憶容量を持つ記録媒体に記録された情報を余さずに可搬型記録媒体に複写することができる。
【0019】
請求項4にかかわる記録内容複写装置は、請求項1に記載の記録内容複写装置において、可搬型記録媒体はCD−ROMであることを特徴とする。
このような記録内容複写装置では、複写元の記録媒体に記録された区画情報および区画に記録された全ての情報を、代表的な可搬型記録媒体であり、かつ、保存性にきわめて優れたCD−ROMに記録し、必要なときまで安全に保管することができる。
請求項5にかかわる記録内容複写装置では、記録媒体の特定の位置に記録されている各区画の記録位置に関する情報を含む区画情報が区画情報ファイルとして可搬型記録媒体に格納される。
したがって、この区画情報ファイルは、複写元の記憶装置に備えられた記録媒体における各区画に記録位置を復元するリカバリ処理に供することができる。
【0020】
また、他の本発明の解決手段について記載する。
図1に、本発明の記録内容復元装置の原理ブロック図を示す。
他の本発明は、それぞれ独立なファイル編成を有する少なくとも1つの区画を備え、少なくとも1つの区画の記録媒体における位置に関する区画情報を記録媒体の特定の記録位置の記録単位に記録する第1の補助記憶装置101の記録内容を復元する補助記憶装置の記録内容復元システムにおいて、第1の補助記憶装置101とは異なるデータ記録方式が適用されており、第1の補助記憶装置101の特定の記録位置の記録単位に記録された情報を保持する区画情報ファイルと少なくとも1つの区画に対応し、それぞれの区画に属するすべての記録単位に記録された情報を順次に保持する少なくとも1つの区画ファイルとを備えた第2の補助記憶装置111と、復元指示の入力に応じて、第2の補助記憶装置111から区画情報ファイルを読み出して、その内容を第1の補助記憶装置101の特定の位置に記録する区画情報復元手段112と、区画情報復元手段112から区画情報ファイルの内容として得られる区画情報を受け取り、復元指示の入力に応じて、第2の補助記憶装置111から少なくとも1つの区画ファイルを順次に読み出し、その内容を区画情報で示された補助記憶装置101の記録位置に記録する区画復元手段113とを備えたことを特徴とする。
【0021】
上述した他の本発明は、第2の補助記憶装置111に保存された区画情報ファイルおよび少なくとも1つの区画ファイルに基づいて、区画情報復元手段112および区画復元手段113が、第1の補助記憶装置101の特定の記録位置の記録単位に区画情報を復元するとともに、この区画情報で示される少なくとも1つの区画のそれぞれの記録内容を復元するものである。
【0022】
ここで、区画情報ファイルおよび少なくとも1つの区画ファイルのそれぞれにおいては、第1の補助記憶装置101における記録単位の連続性を保持した状態で情報が連鎖しているから、区画情報復元手段112が、区画情報ファイルの内容を第1の補助記憶装置101の特定の記録位置に書き込むことにより、区画情報をその位置を含めて復元することができ、また、区画復元手段113が、この区画情報に基づいて、各区画ファイルの内容を該当する記録位置から順次に書き込むことにより、それぞれの区画をその位置を含めて完全に復元することができる。
【0023】
更に他の本発明は、上述した記録内容復元装置において、第1の補助記憶装置101と同一のデータ記録方式が適用されており、第1の補助記憶装置101に復元されるべき区画情報および少なくとも1つの区画の内容を記録している第3の補助記憶装置121と、第1の補助記憶装置101と同一のデータ記録方式が適用されており、第1の補助記憶装置101に復元されるべき記録内容と同等以上の記憶容量を有する第4の補助記憶装置122と、第3の補助記憶装置121の特定の記録位置から区画情報を読み出して、この区画情報を含む区画情報ファイルを作成し、第4の補助記憶装置122に格納する区画情報ファイル作成手段123と、区画情報ファイル作成手段123によって読み出された区画情報に基づいて、第3の補助記憶装置121の少なくとも1つの区画の内容をそれぞれ読み出して、各区画の内容を含む少なくとも1つの区画ファイルを作成し、第4の補助記憶装置122に格納する区画ファイル作成手段124と、第4の補助記憶装置122に格納された区画情報ファイルおよび少なくとも1つの区画ファイルを第2の補助記憶装置111にそれぞれ転送して記録する第1のファイル転送手段125とを備えたことを特徴とする。
【0024】
上述した他の本発明は、第3の補助記憶装置121と第4の補助記憶装置122とは同一のデータ記録形式に従っているから、区画情報ファイル作成手段123および区画ファイル作成手段124は、ハードウェアの共通性を利用して、第3の補助記憶装置121の記録内容から区画情報ファイルおよび少なくとも1つの区画ファイルを作成することができる。また、この第4の補助記憶装置122に作成された区画情報ファイルおよび少なくとも1つの区画ファイルは、ハードウェアに依存しない論理的な情報単位であるから、第1のファイル転送手段125は、ハードウェアの違いを意識することなく、第4の補助記憶装置122から第2の補助記憶装置111に区画情報ファイルおよび少なくとも1つの区画ファイルを転送することができる。
【0025】
図2に、本発明の他の記録内容復元装置の原理ブロック図を示す。
また、更に他の本発明は、上述した記録内容復元装置において、第2の補助記憶装置111に保持された区画情報ファイルおよび少なくとも1つの区画ファイルの内容は、第1の補助記憶装置101に復元すべき区画情報および少なくとも1つの区画の内容を所定の方法でそれぞれ圧縮したものであり、区画情報復元手段112は、第2の補助記憶装置111から読み出した区画情報ファイルの内容を所定の方法で伸長して圧縮前の区画情報を再現する第1の伸長手段131を備えた構成であり、区画復元手段113は、第2の補助記憶装置111から読み出した区画ファイルの内容を所定の方法で伸長して圧縮前の区画の内容を再現する第2の伸長手段132を備えた構成であることを特徴とする。
【0026】
このような構成の記録内容復元装置では、第2の補助記憶装置111の区画情報ファイルおよび少なくとも1つの区画ファイルに区画情報および少なくとも1つの区画の記録内容をそれぞれ保存しておき、復元処理の際に、第1の伸長手段131および第2の伸長手段132によって伸長処理をそれぞれ施すことにより、第1の補助記憶装置101よりも記憶容量の少ない第2の記憶装置111を利用して、第1の補助記憶装置101の記録内容を復元することが可能となる。
【0027】
更に他の本発明は、上述した記録内容復元装置において、第1の補助記憶装置101と同一のデータ記録方式が適用されており、第1の補助記憶装置101に復元されるべき区画情報および少なくとも1つの区画の内容を記録している第3の補助記憶装置121と、第1の補助記憶装置101と同一のデータ記録方式が適用されており、第1の補助記憶装置101に復元されるべき記録内容と同等以上の記憶容量を有する第4の補助記憶装置122と、第3の補助記憶装置121の特定の記録位置から区画情報を読み出して、この区画情報を含む区画情報ファイルを作成し、第4の補助記憶装置122に格納する区画情報ファイル作成手段123と、区画情報作成手段123によって読み出された区画情報に基づいて、第3の補助記憶装置121の少なくとも1つの区画の内容をそれぞれ読み出して、各区画の内容を含む少なくとも1つの区画ファイルを作成し、第4の補助記憶装置122に格納する区画ファイル作成手段124と、第4の補助記憶装置122に格納された区画情報ファイルおよび少なくとも1つの区画ファイルを順次に読み出して、その内容を所定の圧縮方法を用いてそれぞれ圧縮する圧縮手段141と、区画情報ファイルおよび少なくとも1つの区画ファイルに対応して、圧縮手段141で得られた圧縮結果をそれぞれ区画情報ファイルおよび少なくとも1つの区画ファイルとして、第2の補助記憶装置111にそれぞれ転送して記録する第2のファイル転送手段142とを備えたことを特徴とする。
【0028】
このような構成の記録内容復元装置では、上述した記録内容復元装置と同様にして、ハードウェアに依存しない論理的な情報単位として、区画情報ファイルおよび少なくとも1つの区画ファイルが形成されているから、圧縮手段141および第2のファイル転送手段142は、ハードウェアの違いを意識することなく、それぞれ圧縮処理および転送処理を行うことができる。
【0029】
更に他の本発明は、上述した補助記憶装置の記録内容復元装置において、第2の補助記憶装置111は、CD−ROMを記録媒体として利用する構成であることを特徴とする。
このような記録内容復元装置では、第2の補助記憶装置111の記録媒体としてCD−ROMを利用することにより、CD−ROMの携帯性や記録の不可逆性を利用することができる。
【0030】
また、更に他の本発明は、複数のファイルを格納するための区画であって区画を1又は複数格納する為の第1の記憶装置と、第1の記憶装置の特定の位置に記録すべき情報を保持する区画情報ファイルと、少なくとも1つの区画に対応し、それぞれの区画に属するすべてのファイルを記録した区画ファイルとを備えた第2の記憶装置と、第2の記憶装置から区画情報ファイルを読み出して、その内容を第1の記憶装置の特定の位置に記憶する区画情報復元手段と、区画情報ファイルの内容として得られる区画情報を受け取り、復元指示の入力に応じて、第2の記憶装置から少なくとも1つの区画ファイルを順次読み出し、その内容を区画情報で示された位置に記録する区画復元手段とを有することを特徴とする。
【0031】
このような構成の記録内容復元装置では、第2の記憶装置に備えられた区画情報ファイルの内容を区画情報復元手段が第1の記憶装置の特定の位置に記録し、区画復元手段が、少なくとも1つの区画ファイルの内容を区画情報で示される位置に記録することにより、第1の記憶装置の記録内容を復元することができる。
【0032】
【実施例】
以下、図面に基づいて本発明の実施例について、ハードディスク装置の記録内容をCD−ROMに複写する場合、そして、このCD−ROMを利用してハードディスクの記録内容を別のハードディスクに復元する場合を例として詳細に説明する。
【0033】
図3に、本発明の補助記憶装置の記録内容複写/復元装置の実施例構成図を示す。
図3において、本発明のファイル制御部210は、図7に示したファイル制御部410に、区画ファイル保存処理部211と区画ファイル復元処理部212とコマンド検出部213およびコマンド判定部214を付加した構成となっている。
【0034】
また、ハードディスク装置(HD)401は、図1に示した第3の補助記憶装置121に相当するものであり、ソフトウェアのインストール済となっており、ハードディスク装置(HD)402は第4の補助記憶装置122に相当するものであり、ハードディスク装置401の全ての記録内容を記録するために十分な容量を持っている。また、CD−ROM203は第2の補助記憶装置111に相当するものであり、初期状態においては、その記録内容はイニシャライズされている。
【0035】
図3に示したファイル制御部210において、コマンド検出部213は、利用者が入力した指示を入力制御部(図示せず)を介して受け取り、所定の複写コマンドを検出したときに、該当する複写コマンドをコマンド判定部214に送出す構成となっている。なお、このコマンド検出部213は、上述した所定の複写コマンド以外のファイル制御用コマンドが入力されたときに、このコマンドをコマンド処理部418に送出し、このコマンド処理部418による通常のファイル制御用コマンドの処理に供する構成となっている。
【0036】
また、コマンド判定部214は、上述したコマンド検出部213から受け取った複写コマンドで複写元として指定された補助記憶装置の種類に応じて、区画ファイル保存処理部211あるいは区画ファイル復元処理部212を起動する構成となっている。
このコマンド判定部214は、複写元として上述したハードディスク装置401が指定された場合には、ハードディスク装置の記録内容を複写して保存する旨が指示されたと判定して区画ファイル保存処理部211を起動し、一方、CD−ROM203が指定された場合には、ハードディスク装置の記録内容を復元する旨が指示されたと判定して区画ファイル復元処理部212を起動すればよい。
【0037】
図3に示した区画ファイル保存処理部211は、上述したファイル制御部410の各部を制御して、ハードディスク装置401の記録内容を複数の区画ファイルに分けてCD−ROM203に複写して記録する処理を行う。図3に示した区画ファイル復元処理部212の機能に関しては後述する。
図4に、本発明を適用したファイル制御部210の動作を表す流れ図を示す。
【0038】
まず、本発明にかかわる記録内容複写装置の動作について説明する。
ステップ301において、利用者あるいはアプリケーションプログラムから補助記憶装置に対するファイル制御用のコマンドが入力されると、まず、コマンド検出部213により、入力されたコマンドが所定の複写コマンドであるか否かが判定される(ステップ302)。
【0039】
このステップ302における否定判定の場合は、上述した入力コマンドは、コマンド検出部213を介してコマンド処理部418に入力され、このコマンド処理部418が、入力コマンドに応じて、ファイルアクセス処理部4121 ,4122 ,ファイル書込処理部414,ファイル読出処理部416およびファイル転送処理部417を制御することにより、通常のファイル制御処理が実行される(ステップ303)。
【0040】
一方、上述したステップ302の肯定判定の場合は、コマンド判定部214により、入力された複写コマンドで指定された複写元の補助記憶装置の種類に基づいて、記録内容の複写およびCD−ROMへの保存が指示されたのか否かを判定する(ステップ304)。
複写元の補助記憶装置として、ハードディスク装置401が指定されていた場合は、上述したステップ304の肯定判定となり、この判定結果に応じて、区画ファイル保存処理部211が動作を開始する。
【0041】
区画ファイル保存処理部211は、まず、ハードディスク装置402に対応するファイルアクセス処理部4122 を介して、区画情報ファイルとして例えば3ブロック分のファイルをオープンする(ステップ305)。
次に、区画ファイル保存処理部211は、ブロック転送処理部419を介して、ハードディスク装置401の区画情報を含む領域(例えば、第1ブロックから第3ブロックまでの領域)に記録された情報をハードディスク装置402にオープンした区画情報ファイルに転送し(ステップ306)、その後、ファイルアクセス処理部4122 を介して、この区画情報ファイルをクローズする(ステップ307)。
【0042】
このように、区画ファイル保存処理部211が、ファイルアクセス処理部4122 およびブロック転送処理部419との動作を制御することにより、ハードディスク装置401において区画情報が記録された全てのブロックを読み出し、この区画情報をもれなく含んだ区画情報ファイルをハードディスク装置402の記録媒体上に作成することができる。
【0043】
また、このとき、区画ファイル保存処理部211は、ハードディスク装置401の区画情報をブロック転送処理部419から受け取り、自身の内部に備えた区画情報保持部215に保持しておき、以降は、この区画情報に基づいて、ハードディスク装置401の各区画の記録内容をそれぞれ1つの区画ファイルとしてハードディスク装置402に保存する。
【0044】
ここで、上述した区画情報は、ハードディスク装置401の各区画の開始位置およびその区画に含まれるブロック数に関する情報を含んでいるから、この区画情報に基づいて、区画ファイル保存処理部211は、各区画の記録内容を保存するために必要なファイルの大きさを知ることができる。
まず、区画ファイル保存処理部211は、区画情報保持部215を参照することにより、i番目の区画の開始位置Pi とブロック数ni とを得て(ステップ308)、ファイルアクセス処理部4122 を介して、このブロック数ni に対応する容量を持つ区画ファイルをハードディスク装置402にオープンする(ステップ309)。
【0045】
次に、区画ファイル保存処理部211は、ブロック転送処理部419にi番目の区画の開始位置Pi とブロック数ni とを通知して転送処理を指示することにより、このブロック転送処理部419を介して、ハードディスク装置401の該当する区画に含まれる全てのブロックの記録内容をステップ309でオープンしたハードディスク装置402の区画ファイルに順次に転送し(ステップ310)、その後、ファイルアクセス処理部4122 を介して、この区画ファイルをクローズする(ステップ311)。
【0046】
このようにして、区画ファイル保存処理部211が、ファイルアクセス処理部4122 およびブロック転送処理部419を介して、ブロックアクセス処理部4111 ,4112 の動作を制御することにより、ハードディスク装置401のi番目の区画に含まれる全てのブロックの記録内容を読み出して、ハードディスク装置402の対応する区画ファイルに複写することができる。
【0047】
このとき、ファイルアクセス処理部4122 により、i番目の区画ファイルは、現在動作中のオペレーティングシステム(例えば、MS−DOS)のファイルとしてハードディスク装置402の記録媒体上にオープン/クローズされるが、この区画ファイルに記録される情報は、BIOS又はデバイスドライバによって提供されているブロックアクセス処理部4111 ,4112 の機能を利用して転送されている。したがって、ハードディスク装置401のi番目の区画が、現在動作中のオペレーティングシステムで管理している区画であるか否かにかかわらず、この区画の記録内容をハードディスク装置402に設けられた対応する区画ファイルに複写することができる。つまり、MS−DOSを動作させた状態で上述した複写コマンドを実行すれば、ハードディスク装置401のOS2のファイルからなる区画に対応する区画ファイルもMS−DOSのファイルとして保存されるのである。
【0048】
その後、ステップ312において、第1区画から最終の第m区画までの全ての区画に対応する区画ファイルを作成したか否かを判定し、否定判定に応じてステップ308に戻って、次の区画を対象として上述した区画ファイルの作成処理を繰り返せば、ハードディスク装置401の全ての区画の記録内容をハードディスク装置402の対応する区画ファイルに複写して保存することができる。
【0049】
このように、区画ファイル保存処理部211が、上述したステップ305〜ステップ312の処理を行うことにより、請求項1で述べた各手段の機能が実現されている。即ち、この区画ファイル保存処理部211が、ブロック転送部418およびブロックアクセス処理部411を介してハードディスク装置401,402の動作を制御することで、請求項1で述べた記憶装置の全ての記録内容を含んだファイルを作成する機能、つまり、ハードディスク装置401の全ての記録内容を含んだファイルを別のハードディスク装置402上に作成することが可能となる。
【0050】
このようにして、ハードディスク装置401のすべての区画に対応する区画ファイルの作成が終了したときに(ステップ312の肯定判定)、区画ファイル保存処理部211は、ファイル転送処理部417を介して、ハードディスク装置402の区画情報ファイルおよびすべての区画ファイルを順次にCD−ROM203に複写して(ステップ313)、CD−ROM203にこれらのファイルを格納した後に、ハードディスク装置401の記録内容を複写して保存する処理を終了すればよい。
【0051】
ここで、上述したようにして作成した区画情報ファイルおよび区画ファイルのそれぞれは、現在動作中のオペレーティングシステムが提供するファイルシステムを利用して管理することができる。すなわち、区画ファイル保存処理部211からの指示に応じて、ファイル転送処理部417が、通常のファイル転送手順に従って、ファイルアクセス処理部4122 を介してブロックアクセス処理部4112 およびディスク駆動部404の動作を制御するとともに、ファイル書込処理部414を介して、セクタライト処理部413およびCD−ROMライタ405の動作を制御することにより、ハードディスク装置402に記録された各ファイルをCD−ROM203に格納することができる。つまり、上述した各部により、ハードディスク装置401に記録された全ての情報を含むように作成されたファイルを可搬型記録媒体に当たるCD−ROM203に格納する機能を実現し、ハードディスク装置402に複写された区画情報ファイルおよび区画ファイルをCD−ROM203に保存することができる。
【0052】
このようなCD−ROMを利用すれば、図1および図2に示した他の本発明にかかわる記録内容復元装置により、複写元のハードディスク装置401の記録媒体に記録された全ての情報を、別のハードディスク装置の記録媒体上に復元することができる。
図3に示したハードディスク装置(HD)201は復元対象のハードディスク装置であり、図1に示した第1の補助記憶装置101に相当する。このハードディスク装置201は、図3に示したハードディスク装置401と同じ容量を持ち、上述したハードディスク装置401,402と同様に、ディスク駆動部202を介してファイル制御部210に接続されており、その記録内容はイニシャライズされている。
【0053】
また、図3に示した区画ファイル復元処理部212は、上述したファイル制御部410の各部をそれぞれ制御して、CD−ROM203に記録された複数の区画ファイルからハードディスク装置401の記録内容を再生してハードディスク装置201に復元する処理を行う。
次に、図1および図2に示した他の本発明にかかわる記録内容復元装置が、CD−ROM203に記録された情報に基づいて、ハードディスク装置401の記録媒体に記録されていた情報を別のハードディスク装置201上に復元する動作について説明する。
【0054】
図4に示したステップ301で入力された複写コマンドの複写元としてこのCD−ROM203が指定されていた場合に、コマンド判定部214は、上述した復元動作が指示されたと判断し(ステップ304における否定判定)、これに応じて、区画ファイル復元処理部212が動作を開始する。
この区画ファイル復元処理部212は、ファイル読出処理部416を介してセクタリード処理部415およびCD−ROMリーダ407の動作を制御して、まず、CD−ROM203に格納されている区画情報ファイルを読み出して(ステップ314)、自身の内部に設けた区画情報保持部216に上述した区画情報ファイルに含まれているハードディスク装置401の区画情報を保持する。
【0055】
次に、区画ファイル復元処理部212は、ハードディスク装置201に対応するブロックアクセス処理部4113 に上述した区画情報ファイルの内容を直接に送出し、このブロックアクセス処理部4113 を介してディスク駆動部202の動作を制御することにより、ハードディスク装置201の記録媒体の第1ブロックから第3ブロックに、上述した区画情報ファイルの内容を順次に書き込む(ステップ315)。
【0056】
これにより、ハードディスク装置201の第1ブロックから第3ブロックに、ハードディスク装置401の第1ブロックから第3ブロックの記録内容を再現することができる。すなわち、区画ファイル復元処理部212が上述したステップ314およびステップ315で述べた各部の制御処理を実行することにより、図1に示した区画情報復元手段112の機能を実現することができる。
【0057】
上述したようにして、ハードディスク装置201の区画情報を再現した後に、区画ファイル復元処理部212は、上述した区画情報保持部216に保持した区画情報に基づいて、各区画の再現処理を順次に行う。
まず、区画ファイル復元処理部212は、区画情報保持部216を参照してi番目の区画の開始位置を示すブロック番号Pi およびブロック数ni を得る(ステップ316)。
【0058】
次に、ファイル読出処理部416を介してCD−ROM203からi番目の区画に対応する区画ファイルを読み出して(ステップ317)、その内容をブロックアクセス処理部4113 に送出し、書き込み開始位置として上述した開始位置Pi を指定することにより、このブロックアクセス処理部4113 を介して上述した区画ファイルの内容をハードディスク装置201に書き込む(ステップ318)。
【0059】
これにより、ハードディスク装置201の第Pi ブロックから始まるni 個のブロックからなる記録領域に、ハードディスク装置401のi番目の区画の記録内容を再現することができる。すなわち、区画ファイル復元処理部212が上述したステップ316およびステップ318で述べた各部の制御処理を実行することにより、図1に示した区画復元手段113の機能を実現することができる。
【0060】
その後、ステップ319において、第1区画から最終の第m区画までの全ての区画に対応する区画を復元したか否かを判定し、否定判定に応じてステップ316に戻って、次の区画ファイルから該当する区画の復元する処理を繰り返せば、ハードディスク装置401の記録媒体に形成された全ての区画の記録内容をハードディスク装置201上に再現することができる。
【0061】
このようにして、CD−ROM203に保存された全ての区画ファイルに対応した復元処理が終了したときに、ステップ319の肯定判定となり、区画ファイル復元処理部212は、ハードディスク装置201のすべての区画についての復元が終了したと判断して、処理を終了すればよい。
ここで、例えば、上述した区画情報ファイルの内容は、ハードディスク装置401の第1ブロックから第3ブロックの記録内容そのものであり、ハードディスク装置401におけるデータ記録の特徴をも含む完全な複写となっている。このハードディスク装置401とハードディスク装置201とは同一の規格に従ってアクセスできる同種の補助記憶装置であるから、上述した区画情報ファイルの内容をそのままブロックアクセス処理部2113 に送出し、直接的にハードディスク装置201の記録領域に書き込むことができる。
【0062】
つまり、上述したようにして、復元対象の補助記憶装置と同種の補助記憶装置(すなわち、ハードディスク装置)を媒介にして区画情報ファイルおよび区画ファイルを作成する構成としたことにより、区画情報ファイルおよび区画ファイルを保存しておく記録媒体の種類にかかわらず、区画情報ファイルおよび区画ファイルの内容をそのまま復元対象の補助記憶装置に適合したデータとして扱うことが可能となる。
【0063】
したがって、この場合は、CD−ROM203に格納されたファイルを読み出すためのファイル読出処理部416およびハードディスク装置201の記録媒体の指定したブロックにデータを書き込むためのブロックアクセス処理部4113 といった既存のソフトウェア資源で提供される機能をそのまま利用して、図1に示した上述した区画情報復元手段112および区画復元手段113の機能を実現することができる。
【0064】
また、作成された区画情報ファイルおよび区画ファイルの記録媒体としてCD−ROMを利用する場合は、CD−ROMが不可逆的な記録媒体であり、また、携帯に便利でしかも大量に複製することが可能であることから様々な利点が得られる。
例えば、パーソナルコンピュータのメーカにおいて、図3に示したパーソナルコンピュータシステムを利用して、ソフトウェアが既にインストールされたハードディスク装置の区画情報および各区画に対応する区画情報ファイルおよび区画ファイルを記録したCD−ROM203作成し、このCD−ROM203を大量に複製すれば、このCD−ROM203の複製(以下、CD−ROM208と称する)をパーソナルコンピュータに添付して販売することができる。
【0065】
この場合は、パーソナルコンピュータの販売後に、そのパーソナルコンピュータに備えられたハードディスク装置の記録内容が誤って消去されてしまったときは、利用者は、上述した所定の複写コマンドを実行可能なオペレーティングシステムを何らかの方法で起動し、上述したCD−ROM208を複写元としてこの複写コマンドを入力すればよい。
【0066】
これに応じて、区画ファイル復元処理部212が動作し、上述した復元処理を実行することにより、このCD−ROM208に記録された区画情報ファイルおよび区画ファイルに基づいて、ハードディスク装置の記録内容を出荷時の状態に復元することができる。
ここで、CD−ROMは、不可逆的な記録媒体であり、通常の状態ではこのCD−ROM208に記録された情報が消去されることはないから、このようなバックアップ情報の保存に適している。更に、CD−ROMの記憶容量は数百メガバイトであり、通常のパーソナルコンピュータに備えられたハードディスク装置に予め記録された記憶内容を保存するために十分な容量を持っている。
【0067】
したがって、本発明にかかわる記録内容複写装置を利用すれば、パーソナルコンピュータの出荷時に記録されている記録内容を記録したCD−ROMを作成し、このCD−ROMを大量に複製することにより、パーソナルコンピュータの販売時にそれぞれ1枚のCD−ROM208を添付して利用者による復元に備えることができる。そして、他の本発明にかかわる記録内容復元装置によれば、この添付されたCD−ROMを利用して、利用者は、必要なときに、簡単かつ確実にハードディスク装置の記録内容を出荷時の状態に復元することができる。また、出荷時に復元用のCD−ROMを添付する代わりに、利用者からの要求に応じて、CD−ROM208を配達するといった応用も考えられる。
【0068】
また、区画情報ファイルおよび区画ファイルをそれぞれ圧縮してCD−ROM203に記録すれば、通常のCD−ROMの記憶容量よりも大きな容量を持つ補助記憶装置の記録内容を余すことなく複写して保存することができる。
例えば、図5に示すように、図3に示したファイル制御部210に、圧縮処理部221とファイル保持部222とを付加し、区画ファイル保存処理部211が、ハードディスク装置402に保存した区画情報ファイルおよび区画ファイルをこの圧縮処理部221およびファイル保持部222を介してCD−ROM203に転送する構成とすればよい。
【0069】
この場合に、区画ファイル保存処理部211は、ファイルアクセス処理部4122 を介して、区画情報ファイルおよびm個の区画ファイルを順次に読み出して圧縮処理部221に送出し、各ファイルに対応する圧縮結果が得られる毎に、その圧縮結果をファイル保持部222にいったん保持し、このファイル保持部222の内容をファイル転送処理部417の機能を使って、CD−ROM203に書き込めばよい。
【0070】
このようにして、ハードディスク装置401の区画情報およびm個の区画の記録内容に対応する区画情報ファイルおよびm個の区画ファイルをそれぞれ圧縮して、CD−ROM203に記録することができる。
なお、圧縮処理部221で使用する圧縮方式としては、ランレングス法やLZ(Ziv-Lempel) 法,ハフマン法などのような通常のファイル圧縮方式を使用すればよい。
【0071】
もちろん、このようにしてCD−ROMに複写され保存された情報を復元処理の際に伸長すれば、通常のCD−ROMの記憶容量よりも大きな容量を持つ補助記憶装置の記録内容を復元することができる。
図5において、区画ファイル復元処理部212は、上述した圧縮処理部221による圧縮処理に適合する伸長処理を行う伸長処理部223を備えて構成されている。
【0072】
この場合に、区画ファイル復元処理部212は、まず、ファイル読出処理部416を介して圧縮された区画情報ファイルを読み出して、その内容を伸長処理部223に入力することにより区画情報を再生し、得られた区画情報をブロックアクセス処理部4113 に送出するとともに、この区画情報を区画情報保持部216に保持し、m個の区画の記録内容を復元する処理に備える。
【0073】
次に、区画ファイル復元処理部212は、ファイル読出処理部416を介して圧縮されたm個の区画ファイルを順次に読み出して、その内容を伸長処理部223に入力し、再生された各区画の記録内容をブロックアクセス処理部4113 に送出すればよい。
このようにして圧縮された区画情報ファイルおよびm個の区画ファイルの情報に、上述した伸長処理部223による伸長処理を施すことにより、元の区画情報およびm個の区画それぞれの記録内容を再生することができる。
【0074】
このように、区画情報ファイルおよび区画ファイルを圧縮してCD−ROM203に記録する場合は、ハードディスク装置401の記憶容量がCD−ROM203の容量を上回っている場合においても、一枚のCD−ROM203にその記録内容に関する情報を保存し、必要に応じて復元することが可能である。
これにより、通常のハードディスク装置を遥かに上回る容量を持つ大容量の補助記憶装置のバックアップシステムとしても、本発明にかかわる記録内容複写装置および他の本発明にかかわる記録内容復元装置からなるシステムを適用することが可能となる。
【0075】
また、ミニディスクは、CD−ROMよりも容量が小さい記録媒体であるが、上述した記録内容を圧縮する技法を適用すれば、ハードディスク装置の記録内容をこのミニディスクの容量程度の大きさに圧縮して複写および保存することが可能である。そして、このミニディスクに記録された情報を利用して、ハードディスク装置の記録内容の復元を行うことも可能である。もちろん、ハードディスク装置401の容量がミニディスクの記録容量よりも小さい場合は、ミニディスクをハードディスク装置の記録内容を複写する先の可搬型記録媒体として利用することができる。
【0076】
ここで、ミニディスクを複写先の記録媒体として利用した場合には、ミニディスク用のドライブをパーソナルコンピュータに備える必要があり、また、ミニディスクは可逆的な記録媒体であることから、不慮の事故などによって記録内容が破壊される可能性がある。
しかし、ミニディスクなどの可逆的な記録媒体を利用した場合は、利用者がパーソナルコンピュータの購入後に、ハードディスク装置の記録内容の保存を行うことができ、任意の時点でのバックアップを保存しておくことができる。
【0077】
【発明の効果】
以上説明したように、本発明にかかわる記録内容複写装置は、補助記憶装置の記憶内容の全てを含んだ区画情報ファイルと区画ファイルとを作成し、この区画情報ファイルおよび区画ファイルを可搬型記録媒体に格納することができる。この区画情報ファイルおよび区画ファイルは、ハードウェアに依存しない論理的な情報単位であるから、補助記憶装置の種類に関わらず、他の補助記憶装置に対し完全に、短時間に複写することができる。
【0078】
特に、請求項2で述べたように、ブロックアクセス処理部を制御して複写元の記録媒体に記録された情報を読み出すことにより、記録媒体に形成された各区画に記録された情報の記録形式にかかわらず、全ての情報を読み出して区画ファイルに含めることができる。これにより、例えば、複写元のハードディスク装置においてOS2のファイルを含む区画とWINDOWSのファイルを含む区画とが混在する場合でも、全く問題なく双方の区画に記録された全ての情報を複写することができる。
【0079】
更に、請求項3で述べたように、区画情報ファイルおよび区画ファイルを圧縮した後に可搬型記録媒体に格納することにより、複写元の記録媒体の記憶容量が、可搬型記録媒体の記憶容量を超える場合でも、複写元の記録媒体に記録された全ての情報を可搬型記録媒体に記録することが可能となる。
また、請求項4で述べたように、可搬型記録媒体としてCD−ROMを利用することにより、CD−ROMが本来持っている不可逆性や大量生産性などの特質を利用することができる。
【0080】
また、他の本発明にかかわる記録内容復元装置は、異なる種類の補助記憶装置にファイルとして保存された区画情報ファイルおよび少なくとも1つの区画ファイルに基づいて、復元対象となる補助記憶装置の記録内容を復元することができるから、プレインストールモデルのパーソナルコンピュータに備えられたハードディスク装置などの記録内容が不慮の事故などで破壊された場合に、出荷時の記録内容を簡単かつ正確に復元することが可能である。これにより、このような事故が発生した場合の利用者の作業負担を大幅に軽減し、利用者に対するサービス性を向上することができる。
【0081】
また、特に、復元対象の補助記憶装置と同種の2台の補助記憶装置を利用して作成された区画情報ファイルおよび区画ファイルを利用して復元作業を行うことにより、復元作業において、補助記憶装置のハードウェアの共通性を利用することができる。つまり、既存のソフトウェアで提供される機能を組み合わせて必要な機能を実現することが可能であり、ソフトウェア資源の有効利用を図ることができる。
【0082】
また、更に、他の本発明にかかわる記録内容復元装置において、それぞれ圧縮された区画情報ファイルおよび複数の区画ファイルの内容を伸長してから復元対象の補助記憶装置に書き込むことにより、復元対象の補助記憶装置に備えられた記録媒体よりも記憶容量の少ない記録媒体を備えた異なる種類の補助記憶装置を利用して、復元対象の補助記憶装置の記録内容を復元することができる。
【0083】
なお、このような圧縮された区画情報ファイルおよび区画ファイルは、区画情報ファイルおよび区画ファイルがハードウェアに依存しない論理的な情報単位であることを利用して、通常のファイル圧縮手法によって圧縮し、第2の補助記憶装置に転送することによって実現できる。また、このような区画情報ファイルおよび区画ファイルの圧縮により、区画情報および各区画の記録内容の圧縮を行うことができる。
【0084】
更に、他の本発明にかかわる記録内容復元装置において、不可逆的な記録媒体であるCD−ROMを区画情報ファイルおよび複数の区画ファイルの記録媒体とすれば、これらのファイルが不慮の事故などで破壊されることを確実に防止できるから、ハードディスク装置などにおいて出荷時の記録内容を復元する用途に適している。
【図面の簡単な説明】
【図1】本発明の補助記憶装置の記録内容復元システムの原理ブロック図である。
【図2】本発明の他の補助記憶装置の記録内容復元システムの原理ブロック図である。
【図3】本発明の補助記憶装置の記録内容複写/復元システムを適用したファイル制御部の実施例構成図である。
【図4】本発明を適用したファイル制御部の動作を表す流れ図である。
【図5】本発明の他の補助記憶装置の記録内容複写/復元装置の実施例構成図である。
【図6】ハードディスク装置の記録内容の構成例を示す図である。
【図7】従来のファイル制御部の構成例を示す図である。
【符号の説明】
101 第1の補助記憶装置
111 第2の補助記憶装置
112 区画情報復元手段
113 区画復元手段
121 第3の補助記憶装置
122 第4の補助記憶装置
123 区画情報ファイル作成手段
124 区画ファイル作成手段
125 第1のファイル転送手段
131 第1の伸長手段
132 第2の伸長手段
141 圧縮手段
142 第2のファイル転送手段
201,401,402 ハードディスク装置(HD)
202,403,404 ディスク駆動部
203 CD−ROM
210,410 ファイル制御部
211 区画ファイル保存処理部
212 区画ファイル復元処理部
213 コマンド検出部
214 コマンド判定部
215,216 区画情報保持部
221 圧縮処理部
222 ファイル保持部
405 CD−ROMライタ
406 CD−ROMリーダ
411 ブロックアクセス処理部
412 ファイルアクセス処理部
413 セクタライト処理部
414 ファイル書込処理部
415 セクタリード処理部
416 ファイル読出処理部
417 ファイル転送処理部
418 コマンド処理部
419 ブロック転送処理部
[0001]
[Industrial application fields]
The present invention relates to a recorded content copying apparatus for copying recorded content of a hard disk provided in a personal computer or the like.
In recent years, with the spread of personal computers and the like, various users have come to use personal computers. Along with this, pre-installed personal computers that are shipped with an operating system and application software pre-installed in a hard disk device are widely available on the market.
[0002]
When using a personal computer of such a preinstalled model, the user does not need to perform the troublesome task of installing software, so even a user with little knowledge about the computer can use it immediately after purchase. .
In this way, while the personal computer user base has expanded, accidents such as the recorded contents of the hard disk device being destroyed due to carelessness of the user have occurred frequently. There is a demand for a technique that enables a person to easily cope with the problem.
[0003]
[Prior art]
FIG. 6 shows a configuration example of recorded contents of the hard disk device.
As shown in FIG. 6, the recording medium of the hard disk device is composed of N blocks, and an initial program load (IPL) is stored in the first block. Further, the N blocks described above are allocated to m sections as shown in FIG. 6, for example, and these m sections can be handled as independent recording media. The partition information regarding the division of these m partitions is recorded in the second block, and the device information regarding the hard disk unit is recorded in the third block. As this device information, the maximum number of logical blocks and the block length of the unit are recorded.
[0004]
Therefore, in order to restore the recorded contents of the hard disk device, the contents of each of the m sections described above are restored including their positions, and the IPL and section information recorded in the first to third blocks are restored. There is a need to.
FIG. 7 shows a configuration example of a conventional file control unit.
In FIG. 7, hard disk devices 401 and 402 are connected to a file control unit 410 via disk drive units 403 and 404, respectively, and a block access processing unit 411 of the file control unit 410.1, 4112The file access processing unit 4121, 4122Is configured to control access operations in units of blocks by the corresponding disk drive units 403 and 404 in accordance with instructions from.
[0005]
Also, the sector write processing unit 413 of the file control unit 410 performs a sector unit writing operation by the CD-ROM writer 405 in response to an instruction from the file write processing unit 414 provided corresponding to the CD-ROM writer 405. The sector read processing unit 415 reads the sector unit by the CD-ROM reader 406 in response to an instruction from the file read processing unit 416 provided corresponding to the CD-ROM reader 406. It is the structure which controls operation | movement.
[0006]
The file control unit 410 is provided with a file transfer processing unit 417. Normally, the file access processing unit described above according to an instruction from the command processing unit 418 that receives an instruction from a user or application software. 4121, 4122, Information is exchanged between auxiliary storage devices such as a hard disk device and a CD-ROM drive in units of files via the file writing processing unit 414 and the file reading processing unit 416.
[0007]
In such a conventional file control unit 410, the file transfer processing unit 417 and the file access processing unit 412 described above.1, 4122, The file writing processing unit 414 and the file reading processing unit 416 are provided by the operating system, while the block access processing unit 4111, 4112The functions of the sector write processing unit 413 and the sector read processing unit 415 are provided by a BIOS (Basic I / O System) or a device driver.
[0008]
In FIG. 7, the block transfer processing unit 419 receives the block access processing unit 411 described above according to an instruction from the user.1, 4112By controlling the access operation for each block by reading, the entire recorded contents of the specified hard disk device or the entire specified section is read, and transferred to the recording medium of the specified hard disk device as the copy destination and written as it is Copying in block units is realized between the hard disk devices 401 and 402.
[0009]
The function of the block transfer processing unit 419 is based on the fact that the hardware conditions such as the block size and recording method are the same between hard disk devices, and is provided by utility software for maintenance work. Yes.
Conventionally, when the recorded contents of the hard disk device are destroyed, the user brings the hard disk device into the manufacturer's service store and uses the above-described utility software to make all of the hard disk devices provided in the service store. The recorded contents of the hard disk device were restored by sequentially copying the recorded contents of the block.
[0010]
It is also possible to install the operating system and application software again from the floppy disk attached to the personal computer.
In this case, the user copies the floppy disk application software etc. to the hard disk in units of files using the copy command provided by the operating system for each operating system that is running. What is necessary is just to reconstruct the recorded contents of the device.
[0011]
However, since the copy command provided by the operating system targets only the files managed by the operating system on which the command is operating, the copy command of MS-DOS, for example, is the OS-2 You cannot copy files. Also, when copying each file, it is necessary to reconstruct the directory structure of the file directory.
[0012]
[Problems to be solved by the invention]
As described above, when the user brings the hard disk device to the manufacturer's service store, the restoration work is performed by the maintenance worker on the manufacturer side, so the user needs to have detailed knowledge about the file system and so on. Absent. However, bringing a hard disk device to a service store has been a heavy burden on users.
[0013]
On the other hand, when the user reconstructs the recorded contents of the hard disk device from a floppy disk or the like on which software is recorded, it is not necessary to transport the hard disk device. However, the user himself / herself needs to have detailed knowledge about the hard disk device and the file system.
On the other hand, if the user has a backup hard disk device storing the recorded contents at the time of shipment, the user himself / herself can restore the recorded contents of the hard disk device at home using the utility software described above. Is possible.
[0014]
However, in this case, in addition to the normally used hard disk device, it is necessary to have another hard disk device only for backup, which increases costs and is a waste of resources. .
The present invention relates to a recording content restoration device for an auxiliary storage device that allows a user to easily restore the recorded content of the auxiliary storage device regardless of the type of auxiliary storage device used for the restoration work, and to assist the copy destination. It is an object of the present invention to provide a storage content copying apparatus capable of completely copying the recorded contents of a copy source auxiliary storage device regardless of the type of storage device.
[0015]
[Means for Solving the Problems]
The recorded content copying apparatus according to claim 1 reads out partition information recorded at a specific position of the recording medium from a storage device including the recording medium, creates a partition information file including the partition information, and stores it in a portable recording medium. And a means for creating, for each section of the recording medium indicated by the section information, one file including all information recorded in the section of the recording medium, and storing the file in a portable recording medium. Features.
[0016]
In the recorded content copying apparatus having such a configuration, the means for storing the section information and the means for storing all the information for each section are indicated by the section information recorded at a specific position of the recording medium and the section information. Since all information recorded in each section is stored as a logical file on a portable recording medium, regardless of the recording method difference between the recording medium of the copy source and the portable recording medium of the copy destination The recorded content can be completely copied to a portable recording medium.
[0017]
The recorded content copying apparatus according to claim 2 is the recorded content copying apparatus according to claim 1, wherein all the information recorded in the section of the recording medium is included in the section by controlling the block access processing unit. It is characterized by having a means for reading out the blocks.
In the recorded content copying apparatus having such a configuration, the means for reading out the block uses the function of the block access processing unit provided by the BIOS or the device driver, and uses all the functions included in each partition indicated by the partition information. Since the block is read out, all information recorded in each section can be read out reliably and stored in a portable recording medium as a single file.
[0018]
The recorded content copying apparatus according to claim 3 is the recorded content copying apparatus according to claim 1, wherein all information recorded in a section of the recording medium is compressed to create a file and stored in the portable recording medium It is characterized by doing.
In the recorded content copying apparatus having such a configuration, the means for storing the file for each partition records the information on a recording medium having a storage capacity exceeding the storage capacity of the portable recording medium by compressing the information and creating the file. The recorded information can be copied to a portable recording medium without leaving any information.
[0019]
  The recorded content copying apparatus according to claim 4 is the recorded content copying apparatus according to claim 1, wherein the portable recording medium is a CD-ROM.
  In such a recorded content copying apparatus, the section information recorded on the copy source recording medium and all the information recorded on the section are representative portable recording media and have excellent storage stability. -Record in ROM and store safely until needed.
  In the recorded content copying apparatus according to the fifth aspect, the section information including information regarding the recording position of each section recorded at a specific position of the recording medium is stored in the portable recording medium as a section information file.
Therefore, this partition information file can be used for recovery processing for restoring the recording position in each partition in the recording medium provided in the copy source storage device.
[0020]
Also, other means for solving the present invention will be described.
FIG. 1 is a block diagram showing the principle of a recorded content restoring apparatus according to the present invention.
According to another aspect of the present invention, there is provided a first auxiliary that includes at least one partition each having an independent file organization, and records partition information related to a position of the recording medium of at least one partition in a recording unit at a specific recording position of the recording medium. In the recording content restoration system of the auxiliary storage device that restores the recording content of the storage device 101, a data recording method different from that of the first auxiliary storage device 101 is applied, and a specific recording position of the first auxiliary storage device 101 is used. A partition information file that holds information recorded in each recording unit, and at least one partition file that corresponds to at least one partition and sequentially stores information recorded in all recording units belonging to each partition In response to the input of the second auxiliary storage device 111 and the restoration instruction, the partition information file is read from the second auxiliary storage device 111. And the section information restoring means 112 for recording the contents at a specific position in the first auxiliary storage device 101, and the section information obtained as the contents of the section information file from the section information restoring means 112 are received, and the restoration instruction is input. And a partition restoring means 113 for sequentially reading at least one partition file from the second auxiliary storage device 111 and recording the contents at the recording position of the auxiliary storage device 101 indicated by the partition information. It is characterized by.
[0021]
According to another embodiment of the present invention described above, based on the partition information file and at least one partition file stored in the second auxiliary storage device 111, the partition information restoring unit 112 and the partition restoring unit 113 are the first auxiliary storage device. The section information is restored to the recording unit of the specific recording position 101, and the recorded contents of each of at least one section indicated by the section information are restored.
[0022]
Here, in each of the partition information file and at least one partition file, the information is chained in a state where the continuity of the recording units in the first auxiliary storage device 101 is maintained. By writing the contents of the partition information file to a specific recording position of the first auxiliary storage device 101, the partition information can be restored including that position, and the partition restoring means 113 can also restore the partition information based on the partition information. Thus, by sequentially writing the contents of each partition file from the corresponding recording position, each partition can be completely restored including its position.
[0023]
Still another aspect of the present invention is that the same data recording method as that of the first auxiliary storage device 101 is applied to the recorded content restoration device described above, and the partition information to be restored to the first auxiliary storage device 101 and at least The third auxiliary storage device 121 that records the contents of one partition and the same data recording method as the first auxiliary storage device 101 are applied and should be restored to the first auxiliary storage device 101. Read the partition information from a specific recording position of the fourth auxiliary storage device 122 and the third auxiliary storage device 121 having a storage capacity equal to or greater than the recorded content, and create a partition information file including the partition information, Based on the partition information file creation means 123 stored in the fourth auxiliary storage device 122 and the partition information read by the partition information file creation means 123, the third auxiliary storage device 122 A partition file creating means 124 for reading the contents of at least one partition of the device 121, creating at least one partition file including the contents of each partition, and storing the file in the fourth auxiliary storage device 122; A partition information file and at least one partition file stored in the storage device 122 are respectively transferred to the second auxiliary storage device 111, and a first file transfer means 125 for recording them is provided.
[0024]
In the other present invention described above, since the third auxiliary storage device 121 and the fourth auxiliary storage device 122 follow the same data recording format, the partition information file creation unit 123 and the partition file creation unit 124 By using this commonality, it is possible to create a partition information file and at least one partition file from the recorded contents of the third auxiliary storage device 121. Since the partition information file and at least one partition file created in the fourth auxiliary storage device 122 are logical information units that do not depend on hardware, the first file transfer unit 125 includes hardware. The partition information file and at least one partition file can be transferred from the fourth auxiliary storage device 122 to the second auxiliary storage device 111 without being aware of the difference.
[0025]
FIG. 2 shows a principle block diagram of another recorded content restoring apparatus of the present invention.
Still another embodiment of the present invention provides the above-described recorded content restoring apparatus, wherein the partition information file and the contents of at least one partition file held in the second auxiliary storage device 111 are restored to the first auxiliary storage device 101. The partition information to be compressed and the contents of at least one partition are respectively compressed by a predetermined method, and the partition information restoring means 112 reads the contents of the partition information file read from the second auxiliary storage device 111 by a predetermined method. The first decompression unit 131 decompresses and reproduces the pre-compression partition information, and the partition restoration unit 113 decompresses the contents of the partition file read from the second auxiliary storage device 111 by a predetermined method. Thus, the second decompression means 132 for reproducing the contents of the section before compression is provided.
[0026]
In the recorded content restoration device having such a configuration, the partition information and the recorded content of at least one partition are stored in the partition information file and at least one partition file of the second auxiliary storage device 111, respectively, during the restoration process. In addition, the first decompression unit 131 and the second decompression unit 132 respectively perform the decompression process, thereby using the second storage device 111 having a smaller storage capacity than the first auxiliary storage device 101 to It is possible to restore the recorded contents of the auxiliary storage device 101.
[0027]
Still another aspect of the present invention is that the same data recording method as that of the first auxiliary storage device 101 is applied to the recorded content restoration device described above, and the partition information to be restored to the first auxiliary storage device 101 and at least The third auxiliary storage device 121 that records the contents of one partition and the same data recording method as the first auxiliary storage device 101 are applied and should be restored to the first auxiliary storage device 101. Read the partition information from a specific recording position of the fourth auxiliary storage device 122 and the third auxiliary storage device 121 having a storage capacity equal to or greater than the recorded content, and create a partition information file including the partition information, Based on the partition information file creation means 123 stored in the fourth auxiliary storage device 122 and the partition information read by the partition information creation means 123, the third auxiliary storage device 1 A partition file creating unit 124 that reads the contents of at least one partition of each of the first partition, creates at least one partition file including the contents of each partition, and stores the partition file in the fourth auxiliary storage device 122; Corresponding to the compression unit 141 that sequentially reads out the partition information file and at least one partition file stored in the device 122 and compresses the contents using a predetermined compression method, and the partition information file and at least one partition file And a second file transfer unit 142 for transferring and recording the compression result obtained by the compression unit 141 as a partition information file and at least one partition file to the second auxiliary storage device 111, respectively. It is characterized by that.
[0028]
In the recorded content restoration device having such a configuration, the partition information file and at least one partition file are formed as a logical information unit independent of hardware in the same manner as the recorded content restoration device described above. The compression unit 141 and the second file transfer unit 142 can respectively perform the compression process and the transfer process without being aware of the difference in hardware.
[0029]
Still another aspect of the present invention is characterized in that the second auxiliary storage device 111 uses a CD-ROM as a recording medium in the above-described recorded content restoration device of the auxiliary storage device.
In such a recorded content restoration device, the portability of the CD-ROM and the irreversibility of the recording can be used by using the CD-ROM as the recording medium of the second auxiliary storage device 111.
[0030]
Still another embodiment of the present invention is a partition for storing a plurality of files, the first storage device for storing one or a plurality of partitions, and recording at a specific position of the first storage device A second storage device comprising a partition information file for holding information, a partition file corresponding to at least one partition and recording all files belonging to each partition, and a partition information file from the second storage device Is read out and the contents are stored in a specific location of the first storage device, and the section information obtained as the contents of the section information file is received, and the second storage is received in response to the input of the restoration instruction. It further comprises partition restoring means for sequentially reading at least one partition file from the apparatus and recording the contents at a position indicated by the partition information.
[0031]
In the recorded content restoration device having such a configuration, the content of the partition information file provided in the second storage device is recorded in a specific position of the first storage device by the partition information restoration unit, and the partition restoration unit includes at least By recording the content of one partition file at the position indicated by the partition information, the recorded content of the first storage device can be restored.
[0032]
【Example】
Hereinafter, with respect to the embodiment of the present invention based on the drawings, a case where the recorded contents of the hard disk device are copied to a CD-ROM, and a case where the recorded contents of the hard disk are restored to another hard disk using this CD-ROM. This will be described in detail as an example.
[0033]
FIG. 3 shows a block diagram of an embodiment of the recorded content copying / restoring device of the auxiliary storage device of the present invention.
In FIG. 3, the file control unit 210 of the present invention adds a partition file storage processing unit 211, a partition file restoration processing unit 212, a command detection unit 213, and a command determination unit 214 to the file control unit 410 shown in FIG. 7. It has a configuration.
[0034]
Further, the hard disk device (HD) 401 corresponds to the third auxiliary storage device 121 shown in FIG. 1 and has already been installed with software, and the hard disk device (HD) 402 has a fourth auxiliary storage. It corresponds to the device 122 and has a sufficient capacity for recording all the recorded contents of the hard disk device 401. Further, the CD-ROM 203 corresponds to the second auxiliary storage device 111, and the recorded contents are initialized in the initial state.
[0035]
In the file control unit 210 shown in FIG. 3, the command detection unit 213 receives an instruction input by the user via an input control unit (not shown), and when a predetermined copy command is detected, the corresponding copy is detected. The command is transmitted to the command determination unit 214. The command detection unit 213 sends this command to the command processing unit 418 when a file control command other than the predetermined copy command described above is input, and the command processing unit 418 performs normal file control. It is configured to be used for command processing.
[0036]
Further, the command determination unit 214 activates the partition file storage processing unit 211 or the partition file restoration processing unit 212 according to the type of the auxiliary storage device designated as the copy source by the copy command received from the command detection unit 213 described above. It is the composition to do.
When the above-described hard disk device 401 is designated as a copy source, the command determination unit 214 determines that an instruction to copy and save the recorded contents of the hard disk device is issued and starts the partition file storage processing unit 211 On the other hand, when the CD-ROM 203 is designated, it is determined that the instruction to restore the recorded contents of the hard disk device is given, and the partition file restoration processing unit 212 is activated.
[0037]
A partition file storage processing unit 211 shown in FIG. 3 controls each unit of the file control unit 410 described above, and divides the recording contents of the hard disk device 401 into a plurality of partition files and copies and records them on the CD-ROM 203. I do. The function of the partition file restoration processing unit 212 shown in FIG. 3 will be described later.
FIG. 4 is a flowchart showing the operation of the file control unit 210 to which the present invention is applied.
[0038]
First, the operation of the recorded content copying apparatus according to the present invention will be described.
In step 301, when a file control command for the auxiliary storage device is input from the user or an application program, the command detection unit 213 first determines whether the input command is a predetermined copy command. (Step 302).
[0039]
In the case of negative determination in step 302, the input command described above is input to the command processing unit 418 via the command detection unit 213, and the command processing unit 418 responds to the input command with the file access processing unit 412.1, 4122, The file writing processing unit 414, the file reading processing unit 416 and the file transfer processing unit 417 are controlled to execute a normal file control process (step 303).
[0040]
On the other hand, in the case of an affirmative determination in step 302 described above, the command determination unit 214 copies the recorded contents and writes them to the CD-ROM based on the type of copy source auxiliary storage device specified by the input copy command. It is determined whether or not saving is instructed (step 304).
If the hard disk device 401 is designated as the copy source auxiliary storage device, an affirmative determination is made in step 304 described above, and the partition file storage processing unit 211 starts operating in accordance with the determination result.
[0041]
The partition file storage processing unit 211 first has a file access processing unit 412 corresponding to the hard disk device 402.2For example, a file of 3 blocks is opened as a partition information file (step 305).
Next, the partition file storage processing unit 211 stores information recorded in an area including partition information (for example, an area from the first block to the third block) of the hard disk device 401 via the block transfer processing unit 419. The file is transferred to the partition information file opened in the device 402 (step 306), and then the file access processing unit 412.2Then, the section information file is closed (step 307).
[0042]
In this way, the partition file storage processing unit 211 performs the file access processing unit 412.2By controlling the operation with the block transfer processing unit 419, all blocks in which the partition information is recorded in the hard disk device 401 are read, and a partition information file including all the partition information is stored on the recording medium of the hard disk device 402. Can be created.
[0043]
At this time, the partition file storage processing unit 211 receives the partition information of the hard disk device 401 from the block transfer processing unit 419 and stores the partition information in the partition information holding unit 215 provided therein. Based on the information, the recorded contents of each partition of the hard disk device 401 are stored in the hard disk device 402 as one partition file.
[0044]
Here, the partition information described above includes information on the start position of each partition of the hard disk device 401 and the number of blocks included in the partition. Therefore, based on this partition information, the partition file storage processing unit 211 It is possible to know the size of a file necessary for storing the recorded contents of the section.
First, the partition file storage processing unit 211 refers to the partition information holding unit 215, thereby starting the start position P of the i-th partition.iAnd the number of blocks ni(Step 308), the file access processing unit 4122This number of blocks niA partition file having a capacity corresponding to is opened in the hard disk device 402 (step 309).
[0045]
Next, the partition file storage processing unit 211 sends the start position P of the i-th partition to the block transfer processing unit 419.iAnd the number of blocks niAnd instructing the transfer process, the recorded contents of all blocks included in the corresponding section of the hard disk device 401 are stored in the block of the hard disk device 402 opened in step 309 via the block transfer processing unit 419. The files are sequentially transferred to the file (step 310), and then the file access processing unit 412.2Then, the partition file is closed (step 311).
[0046]
In this way, the partition file storage processing unit 211 performs the file access processing unit 412.2And the block access processing unit 411 via the block transfer processing unit 419.1, 4112By controlling this operation, the recorded contents of all the blocks included in the i-th partition of the hard disk device 401 can be read and copied to the corresponding partition file of the hard disk device 402.
[0047]
At this time, the file access processing unit 4122Thus, the i-th partition file is opened / closed on the recording medium of the hard disk device 402 as a file of an operating system (for example, MS-DOS) that is currently operating. Information recorded in this partition file is Block access processing unit 411 provided by the BIOS or device driver1, 4112It has been transferred using the function. Therefore, regardless of whether or not the i-th partition of the hard disk device 401 is a partition managed by the currently operating operating system, the recorded contents of this partition are stored in the corresponding partition file provided in the hard disk device 402. Can be copied to. That is, if the above-described copy command is executed with MS-DOS running, the partition file corresponding to the partition composed of the OS2 file of the hard disk device 401 is also saved as the MS-DOS file.
[0048]
Thereafter, in step 312, it is determined whether or not a partition file corresponding to all the partitions from the first partition to the final m-th partition has been created, and in response to a negative determination, the process returns to step 308 to determine the next partition. If the above-described partition file creation process is repeated as a target, the recorded contents of all partitions of the hard disk device 401 can be copied and stored in the corresponding partition file of the hard disk device 402.
[0049]
As described above, the function of each unit described in the first aspect is realized by the partition file storage processing unit 211 performing the processes of Steps 305 to 312 described above. That is, the partition file storage processing unit 211 controls the operations of the hard disk devices 401 and 402 via the block transfer unit 418 and the block access processing unit 411, so that all recorded contents of the storage device described in claim 1 can be obtained. , That is, a file including all the recorded contents of the hard disk device 401 can be created on another hard disk device 402.
[0050]
In this way, when the creation of the partition file corresponding to all the partitions of the hard disk device 401 is completed (Yes determination in step 312), the partition file storage processing unit 211 passes the hard disk device via the file transfer processing unit 417. The partition information file of the device 402 and all the partition files are sequentially copied to the CD-ROM 203 (step 313). After these files are stored in the CD-ROM 203, the recorded contents of the hard disk device 401 are copied and stored. What is necessary is just to complete | finish a process.
[0051]
Here, each of the partition information file and the partition file created as described above can be managed using a file system provided by the currently operating operating system. That is, in response to an instruction from the partition file storage processing unit 211, the file transfer processing unit 417 follows the normal file transfer procedure to access the file access processing unit 412.2Block access processing unit 4112In addition to controlling the operation of the disk drive unit 404 and controlling the operations of the sector write processing unit 413 and the CD-ROM writer 405 via the file write processing unit 414, each file recorded in the hard disk device 402 is controlled. Can be stored in the CD-ROM 203. In other words, each unit described above realizes a function of storing a file created so as to include all the information recorded in the hard disk device 401 in the CD-ROM 203 corresponding to the portable recording medium, and is copied to the hard disk device 402. Information files and partition files can be stored in the CD-ROM 203.
[0052]
If such a CD-ROM is used, all the information recorded on the recording medium of the hard disk device 401 of the copy source can be separated by the recording content restoration device according to the present invention shown in FIGS. Can be restored on the recording medium of the hard disk device.
A hard disk device (HD) 201 shown in FIG. 3 is a hard disk device to be restored, and corresponds to the first auxiliary storage device 101 shown in FIG. The hard disk device 201 has the same capacity as the hard disk device 401 shown in FIG. 3, and is connected to the file control unit 210 via the disk drive unit 202 in the same manner as the hard disk devices 401 and 402 described above. The contents are initialized.
[0053]
Further, the partition file restoration processing unit 212 shown in FIG. 3 controls each unit of the file control unit 410 described above, and reproduces the recorded contents of the hard disk device 401 from the plurality of partition files recorded on the CD-ROM 203. To restore to the hard disk device 201.
Next, the other recorded content restoring apparatus according to the present invention shown in FIG. 1 and FIG. 2 uses the information recorded on the CD-ROM 203 to change the information recorded on the recording medium of the hard disk device 401 into another information. The operation of restoring on the hard disk device 201 will be described.
[0054]
When this CD-ROM 203 is designated as the copy source of the copy command input in step 301 shown in FIG. 4, the command determination unit 214 determines that the above-described restoration operation has been instructed (No in step 304). In response, the partition file restoration processing unit 212 starts operation.
The partition file restoration processing unit 212 controls the operations of the sector read processing unit 415 and the CD-ROM reader 407 via the file read processing unit 416, and first reads the partition information file stored in the CD-ROM 203. (Step 314), the partition information holding unit 216 provided in itself holds the partition information of the hard disk device 401 included in the partition information file described above.
[0055]
Next, the partition file restoration processing unit 212 has a block access processing unit 411 corresponding to the hard disk device 201.ThreeThe contents of the section information file described above are sent directly to the block access processing unit 411.ThreeBy controlling the operation of the disk drive unit 202 via the above, the contents of the partition information file described above are sequentially written from the first block to the third block of the recording medium of the hard disk device 201 (step 315).
[0056]
As a result, the recorded contents of the first block to the third block of the hard disk device 201 and the first block to the third block of the hard disk device 401 can be reproduced. That is, the partition file restoration processing unit 212 executes the control processing of each unit described in step 314 and step 315 described above, thereby realizing the function of the partition information restoration unit 112 shown in FIG.
[0057]
As described above, after reproducing the partition information of the hard disk device 201, the partition file restoration processing unit 212 sequentially performs the reproduction processing of each partition based on the partition information held in the partition information holding unit 216 described above. .
First, the partition file restoration processing unit 212 refers to the partition information holding unit 216 to block number P indicating the start position of the i-th partition.iAnd number of blocks niIs obtained (step 316).
[0058]
Next, a partition file corresponding to the i-th partition is read from the CD-ROM 203 via the file read processing unit 416 (step 317), and the contents are read as a block access processing unit 411.ThreeAnd the start position P described above as the write start position.iBy designating this block access processing unit 411ThreeThe contents of the partition file described above are written to the hard disk device 201 via step 318 (step 318).
[0059]
As a result, the Pth of the hard disk device 201iN starting from blockiThe recording content of the i-th section of the hard disk device 401 can be reproduced in a recording area composed of blocks. That is, the partition file restoration processing unit 212 executes the control processing of each unit described in step 316 and step 318 described above, thereby realizing the function of the partition restoration unit 113 shown in FIG.
[0060]
Thereafter, in step 319, it is determined whether or not the sections corresponding to all the sections from the first section to the final m-th section have been restored, and in response to a negative determination, the process returns to step 316 to start from the next section file. By repeating the process of restoring the corresponding section, the recorded contents of all sections formed on the recording medium of the hard disk device 401 can be reproduced on the hard disk device 201.
[0061]
In this way, when the restoration process corresponding to all the partition files stored in the CD-ROM 203 is completed, an affirmative determination is made in step 319, and the partition file restoration processing unit 212 determines all the partitions of the hard disk device 201. It may be determined that the restoration is completed and the process is terminated.
Here, for example, the contents of the partition information file described above are the recorded contents of the first to third blocks of the hard disk device 401, and are complete copies including the data recording characteristics of the hard disk device 401. . Since the hard disk device 401 and the hard disk device 201 are the same type of auxiliary storage devices that can be accessed in accordance with the same standard, the contents of the partition information file described above are directly used as the block access processing unit 211.ThreeTo the recording area of the hard disk device 201 directly.
[0062]
In other words, as described above, the partition information file and the partition file are created through the auxiliary storage device of the same type as the auxiliary storage device to be restored (that is, the hard disk device). Regardless of the type of recording medium in which the file is stored, the section information file and the contents of the section file can be handled as data suitable for the auxiliary storage device to be restored.
[0063]
Therefore, in this case, a file read processing unit 416 for reading a file stored in the CD-ROM 203 and a block access processing unit 411 for writing data to a designated block of the recording medium of the hard disk device 201.ThreeThe functions of the partition information restoring unit 112 and the partition restoring unit 113 shown in FIG. 1 can be realized using the functions provided by existing software resources as they are.
[0064]
In addition, when a CD-ROM is used as a recording medium for the created partition information file and partition file, the CD-ROM is an irreversible recording medium, and is portable and can be copied in large quantities. Therefore, various advantages can be obtained.
For example, a personal computer maker uses the personal computer system shown in FIG. 3 to record the partition information of the hard disk device in which the software is already installed, the partition information file corresponding to each partition, and the partition file. When the CD-ROM 203 is created and copied in large quantities, a copy of the CD-ROM 203 (hereinafter referred to as CD-ROM 208) can be attached to a personal computer and sold.
[0065]
In this case, after the personal computer is sold, if the recorded contents of the hard disk device provided in the personal computer are accidentally erased, the user must install an operating system that can execute the predetermined copy command. It may be activated by some method and this copy command may be input using the above-mentioned CD-ROM 208 as a copy source.
[0066]
In response to this, the partition file restoration processing unit 212 operates and executes the restoration process described above, thereby shipping the recorded contents of the hard disk device based on the partition information file and the partition file recorded on the CD-ROM 208. It can be restored to the state of time.
Here, the CD-ROM is an irreversible recording medium, and information recorded on the CD-ROM 208 is not erased in a normal state, and thus is suitable for storing such backup information. Further, the storage capacity of the CD-ROM is several hundred megabytes, and has a sufficient capacity for storing the storage contents recorded in advance in a hard disk device provided in a normal personal computer.
[0067]
Therefore, if the recorded content copying apparatus according to the present invention is used, a CD-ROM recording the recorded content recorded at the time of shipment of the personal computer is created, and the CD-ROM is duplicated in large quantities, so that the personal computer Can be prepared for restoration by the user by attaching one CD-ROM 208 at the time of sale. According to another recorded content restoring apparatus according to the present invention, the user can easily and reliably record the recorded contents of the hard disk device at the time of shipment using the attached CD-ROM. Can be restored to the state. Further, instead of attaching a restoration CD-ROM at the time of shipment, an application in which the CD-ROM 208 is delivered in response to a request from the user is also conceivable.
[0068]
Further, if the partition information file and the partition file are compressed and recorded on the CD-ROM 203, the recorded contents of the auxiliary storage device having a capacity larger than the storage capacity of a normal CD-ROM are copied and stored without being left over. be able to.
For example, as illustrated in FIG. 5, the partition information stored in the hard disk device 402 by the partition file storage processing unit 211 by adding a compression processing unit 221 and a file holding unit 222 to the file control unit 210 illustrated in FIG. 3. The file and the partition file may be transferred to the CD-ROM 203 via the compression processing unit 221 and the file holding unit 222.
[0069]
In this case, the section file storage processing unit 211 performs a file access processing unit 412.2Then, the partition information file and m partition files are sequentially read out and sent to the compression processing unit 221. Each time a compression result corresponding to each file is obtained, the compression result is temporarily held in the file holding unit 222. Then, the contents of the file holding unit 222 may be written into the CD-ROM 203 using the function of the file transfer processing unit 417.
[0070]
In this way, the partition information file and m partition files corresponding to the partition information of the hard disk device 401 and the recorded contents of the m partitions can be compressed and recorded on the CD-ROM 203.
As a compression method used in the compression processing unit 221, a normal file compression method such as a run length method, an LZ (Ziv-Lempel) method, a Huffman method, or the like may be used.
[0071]
Of course, if the information copied and stored on the CD-ROM in this way is expanded during the restoration process, the recorded contents of the auxiliary storage device having a capacity larger than that of a normal CD-ROM can be restored. Can do.
In FIG. 5, the partition file restoration processing unit 212 includes a decompression processing unit 223 that performs decompression processing suitable for the compression processing performed by the compression processing unit 221 described above.
[0072]
In this case, the partition file restoration processing unit 212 first reads the compressed partition information file via the file read processing unit 416 and inputs the contents to the decompression processing unit 223 to reproduce the partition information. The block information processing unit 411 stores the obtained partition information.ThreeThe section information is held in the section information holding unit 216 to prepare for the process of restoring the recorded contents of the m sections.
[0073]
Next, the partition file restoration processing unit 212 sequentially reads out the m partition files compressed through the file read processing unit 416, inputs the contents thereof to the decompression processing unit 223, and plays back each of the reproduced partitions. The block access processing unit 411 records the recorded contents.ThreeCan be sent to.
The decompression processing by the decompression processing unit 223 described above is applied to the information of the compartment information file and m compartment files compressed in this manner, thereby reproducing the original compartment information and the recorded contents of each of the m compartments. be able to.
[0074]
As described above, when the partition information file and the partition file are compressed and recorded on the CD-ROM 203, even if the storage capacity of the hard disk device 401 exceeds the capacity of the CD-ROM 203, the single CD-ROM 203 is used. Information about the recorded contents can be saved and restored as necessary.
As a result, a system comprising a recorded content copying device according to the present invention and another recorded content restoring device according to the present invention is applied as a backup system for a large-capacity auxiliary storage device having a capacity far exceeding that of a normal hard disk device. It becomes possible to do.
[0075]
A mini-disc is a recording medium having a smaller capacity than a CD-ROM, but if the above-described technique for compressing the recorded content is applied, the recorded content of the hard disk device is compressed to the size of the capacity of the mini-disc. And can be copied and stored. It is also possible to restore the recorded contents of the hard disk device using the information recorded on the mini disk. Of course, when the capacity of the hard disk device 401 is smaller than the recording capacity of the mini disk, the mini disk can be used as a portable recording medium to which the recorded contents of the hard disk device are copied.
[0076]
Here, when a mini-disc is used as a recording medium at the copy destination, it is necessary to provide a drive for the mini-disc in the personal computer, and the mini-disc is a reversible recording medium. The recorded contents may be destroyed.
However, when using a reversible recording medium such as a mini disk, the user can save the recorded contents of the hard disk device after purchasing a personal computer, and save a backup at an arbitrary point in time. be able to.
[0077]
【The invention's effect】
As described above, the recorded content copying apparatus according to the present invention creates a partition information file and a partition file that include all of the storage contents of the auxiliary storage device, and uses the partition information file and the partition file as a portable recording medium. Can be stored. Since the partition information file and the partition file are logical information units that do not depend on hardware, they can be copied completely to other auxiliary storage devices in a short time regardless of the type of auxiliary storage device. .
[0078]
In particular, as described in claim 2, the recording format of the information recorded in each section formed on the recording medium by controlling the block access processing unit and reading the information recorded on the recording medium of the copy source Regardless, all information can be read and included in the partition file. As a result, for example, even when a partition including an OS2 file and a partition including a WINDOWS file coexist in the copy source hard disk device, all information recorded in both sections can be copied without any problem. .
[0079]
Furthermore, as described in claim 3, the storage capacity of the copy source recording medium exceeds the storage capacity of the portable recording medium by compressing the partition information file and the partition file and storing them in the portable recording medium. Even in this case, it is possible to record all information recorded on the copy source recording medium on the portable recording medium.
Further, as described in claim 4, by using a CD-ROM as a portable recording medium, characteristics such as irreversibility and mass productivity inherent in the CD-ROM can be used.
[0080]
Further, another recorded content restoring apparatus according to the present invention records the recorded contents of the auxiliary storage device to be restored based on the partition information file and at least one partition file stored as files in different types of auxiliary storage devices. Since it can be restored, it is possible to easily and accurately restore the recorded contents at the time of shipment when the recorded contents of a hard disk device etc. equipped in a pre-installed model personal computer are destroyed due to an accident. It is. Thereby, the work burden of the user when such an accident occurs can be greatly reduced, and the serviceability for the user can be improved.
[0081]
Further, in particular, by performing restoration work using a partition information file and a partition file created using two auxiliary storage devices of the same type as the auxiliary storage device to be restored, the auxiliary storage device The commonality of hardware can be used. That is, necessary functions can be realized by combining functions provided by existing software, and effective use of software resources can be achieved.
[0082]
Furthermore, in another recorded content restoration apparatus according to the present invention, the contents of the compressed partition information file and the plurality of partition files are decompressed and then written into the auxiliary storage device to be restored, thereby assisting the restoration target. The recording contents of the auxiliary storage device to be restored can be restored using different types of auxiliary storage devices having a recording medium having a smaller storage capacity than the recording medium provided in the storage device.
[0083]
Note that the compressed partition information file and partition file are compressed by a normal file compression method using the fact that the partition information file and partition file are logical information units that do not depend on hardware. This can be realized by transferring to the second auxiliary storage device. Further, by compressing the partition information file and the partition file, the partition information and the recorded contents of each partition can be compressed.
[0084]
Furthermore, in another recorded content restoration apparatus according to the present invention, if a CD-ROM, which is an irreversible recording medium, is used as a recording medium for a section information file and a plurality of section files, these files can be destroyed due to an accident. Therefore, it is suitable for the purpose of restoring recorded contents at the time of shipment in a hard disk device or the like.
[Brief description of the drawings]
FIG. 1 is a block diagram showing the principle of an auxiliary storage device recorded content restoration system according to the present invention.
FIG. 2 is a principle block diagram of a recorded content restoration system of another auxiliary storage device of the present invention.
FIG. 3 is a block diagram of an embodiment of a file control unit to which a recorded content copying / restoring system for an auxiliary storage device according to the present invention is applied;
FIG. 4 is a flowchart showing the operation of a file control unit to which the present invention is applied.
FIG. 5 is a block diagram of an embodiment of a recorded content copying / restoring device of another auxiliary storage device of the present invention.
FIG. 6 is a diagram illustrating a configuration example of recorded contents of a hard disk device.
FIG. 7 is a diagram illustrating a configuration example of a conventional file control unit.
[Explanation of symbols]
101 First auxiliary storage device
111 Second auxiliary storage device
112 Section information restoration means
113 Section restoration means
121 Third auxiliary storage device
122 Fourth auxiliary storage device
123 Section information file creation means
124 Section file creation means
125 First file transfer means
131 1st expansion means
132 Second extension means
141 Compression means
142 Second file transfer means
201, 401, 402 Hard Disk Device (HD)
202, 403, 404 Disk drive unit
203 CD-ROM
210,410 File control unit
211 Section file storage processing section
212 Partition file restoration processing section
213 Command detector
214 Command determination unit
215, 216 Section information holding unit
221 Compression processing unit
222 File holding part
405 CD-ROM writer
406 CD-ROM reader
411 Block access processing unit
412 File access processing unit
413 Sector write processing unit
414 File Write Processing Unit
415 Sector read processing unit
416 File read processing unit
417 File transfer processing part
418 Command processing section
419 Block transfer processing unit

Claims (5)

記録媒体を含む記憶装置から前記記録媒体の特定の記録位置に記録された区画情報を読み出し、前記区画情報を含む区画情報ファイルを作成し、可搬型記録媒体に格納する手段と、
前記区画情報で示される前記記録媒体の区画ごとに、前記記録媒体の区画内に記録された全ての情報を含む1つのファイルを作成し、前記可搬型記録媒体に格納する手段と
を備えたことを特徴とする記録内容複写装置。
Means for reading out section information recorded at a specific recording position of the recording medium from a storage device including the recording medium, creating a section information file including the section information, and storing the section information file in a portable recording medium;
For each section of the recording medium indicated by the section information, there is provided means for creating one file including all information recorded in the section of the recording medium and storing the file in the portable recording medium. Recorded content copying device characterized by
前記記録媒体の区画内に記録された全ての情報として、ブロックアクセス処理部を制御して前記区画に含まれる全てのブロックを読み出す手段を有する請求項1に記載の記録内容複写装置。  The recorded content copying apparatus according to claim 1, further comprising means for controlling a block access processing unit to read out all blocks included in the section as all information recorded in the section of the recording medium. 前記記録媒体の区画内に記録された全ての情報を圧縮して前記ファイルを作成し、前記可搬型記録媒体に格納することを特徴とする請求項1または請求項2に記載の記録内容複写装置。 3. The recorded content copying apparatus according to claim 1 , wherein the file is created by compressing all information recorded in a section of the recording medium and stored in the portable recording medium. . 前記可搬型記録媒体はCD−ROMであることを特徴とする請求項1乃至請求項3のいずれかに記載の記録内容複写装置。4. The recorded content copying apparatus according to claim 1, wherein the portable recording medium is a CD-ROM. 前記区画情報は、前記記憶装置に備えられた記録媒体の特定の記録位置に記録された情報であって、前記記憶装置の記憶領域に形成された少なくとも一つの区画の記録位置に関する情報を含むことを特徴とする請求項1乃至請求項4のいずれかに記載の記録内容複写装置。The partition information is information recorded at a specific recording position of a recording medium provided in the storage device, and includes information regarding a recording position of at least one partition formed in a storage area of the storage device. The recorded content copying apparatus according to any one of claims 1 to 4, wherein:
JP2003109607A 2003-04-14 2003-04-14 Recorded content copying device Expired - Lifetime JP4334902B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003109607A JP4334902B2 (en) 2003-04-14 2003-04-14 Recorded content copying device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003109607A JP4334902B2 (en) 2003-04-14 2003-04-14 Recorded content copying device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP26569994A Division JP3554045B2 (en) 1994-10-28 1994-10-28 Recorded content restoring device and recording restoring device of auxiliary storage device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2007197809A Division JP4235235B2 (en) 2007-07-30 2007-07-30 Method for restoring recorded contents of auxiliary storage device

Publications (2)

Publication Number Publication Date
JP2004005581A JP2004005581A (en) 2004-01-08
JP4334902B2 true JP4334902B2 (en) 2009-09-30

Family

ID=30437972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003109607A Expired - Lifetime JP4334902B2 (en) 2003-04-14 2003-04-14 Recorded content copying device

Country Status (1)

Country Link
JP (1) JP4334902B2 (en)

Also Published As

Publication number Publication date
JP2004005581A (en) 2004-01-08

Similar Documents

Publication Publication Date Title
JP3554045B2 (en) Recorded content restoring device and recording restoring device of auxiliary storage device
US5086502A (en) Method of operating a data processing system
US7587562B2 (en) Data duplication system, data duplication method and program
JP5386111B2 (en) File system recording method
JP2010514008A (en) Nonvolatile disk cache for data security
JP2000298608A (en) Computer data storage medium and memory managing method
KR100692473B1 (en) Information processing apparatus, information processing apparatus control program, and information processing apparatus control method
JP2006164162A (en) Copy control device and method
JP3315779B2 (en) File transfer device and file transfer method between disk devices
JP4334902B2 (en) Recorded content copying device
JP2005050192A (en) Information recording system
JP3984588B2 (en) Recorded content restoration device of auxiliary storage device and file creation device used therefor
JP2004362221A (en) Hard disk backup recovery system, hard disk backup recovery method and information processing device
JP4235235B2 (en) Method for restoring recorded contents of auxiliary storage device
JP2004213365A (en) Hard disk drive unit, data recording device, backup device, restore device, backup method, and computer program executable in computer for making computer function as back up device
JP3037183B2 (en) Hard disk device management method and method
JP2003076614A (en) Backup and restoration method for data in hard disc device
JP3022011B2 (en) Data backup system
JP2638451B2 (en) Information processing device
JPH11212845A (en) Device and method for backup data management and recording medium
JPH06161842A (en) External storage device and computer using the same
JPH0863379A (en) Information processor with backup external storage device
JPH05290514A (en) Recording and reproducing device
JP5290938B2 (en) Copy control apparatus and method
JPH04223520A (en) Magnetic disk device backup method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070129

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070529

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070730

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070822

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20071005

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

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

Free format text: PAYMENT UNTIL: 20120703

Year of fee payment: 3

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130703

Year of fee payment: 4

EXPY Cancellation because of completion of term