JP5028196B2 - Backup / restore device, backup / restore system, and backup / restore method - Google Patents
Backup / restore device, backup / restore system, and backup / restore method Download PDFInfo
- Publication number
- JP5028196B2 JP5028196B2 JP2007236144A JP2007236144A JP5028196B2 JP 5028196 B2 JP5028196 B2 JP 5028196B2 JP 2007236144 A JP2007236144 A JP 2007236144A JP 2007236144 A JP2007236144 A JP 2007236144A JP 5028196 B2 JP5028196 B2 JP 5028196B2
- Authority
- JP
- Japan
- Prior art keywords
- storage means
- backup
- controller
- restore
- hdd
- 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
Links
Images
Description
本発明は、電子装置が備えた記憶装置から別の記憶装置にデータをバックアップする、又は別の記憶装置から上記電子装置が備えた記憶装置にデータをリストアするバックアップ/リストア装置、バックアップ/リストアシステム及びバックアップ/リストア方法に関する。 The present invention relates to a backup / restore device and a backup / restore system for backing up data from a storage device provided in an electronic device to another storage device or restoring data from another storage device to a storage device provided in the electronic device. And a backup / restore method.
従来、例えばパーソナルコンピュータ(以下、PCという)や画像形成装置などには、大容量のデータを記憶するために、不揮発性の記憶装置としてハードディスクドライブ(以下、HDDという)が備えられている。
HDDは、磁気によりデータを記録する磁気ディスクであり、使用によって経年変化するため、使用期間が長くなるほど故障する確率が上昇する。従って、ユーザはHDDが故障したときのデータの消失に備えて、HDDに記憶されているデータを他のHDD等にコピーして保存する、いわゆるバックアップを行う必要がある。
2. Description of the Related Art Conventionally, for example, personal computers (hereinafter referred to as PCs), image forming apparatuses, and the like have been provided with hard disk drives (hereinafter referred to as HDDs) as nonvolatile storage devices in order to store large amounts of data.
The HDD is a magnetic disk that records data by magnetism, and changes over time with use. Therefore, the probability of failure increases as the usage period increases. Therefore, the user needs to perform a so-called backup in which data stored in the HDD is copied and stored in another HDD or the like in preparation for data loss when the HDD fails.
このHDDから他のHDD等にデータをコピーするときは、従来様々なインターフェースを介してHDDと他のHDD等とを接続し、他の記憶装置にデータを転送している。
このようなHDDのデータのバックアップをする方法として、例えば、HDDなどのデータ保護装置からIEEE(Institute of Electrical and Electronic Engineers)1394接続した他の保存装置にデータをコピーしてバックアップを行うデジタル放送受信装置が知られている(特許文献1参照)。
When copying data from this HDD to another HDD or the like, conventionally, the HDD is connected to another HDD or the like via various interfaces, and the data is transferred to another storage device.
As a method for backing up such HDD data, for example, a digital broadcast reception that performs backup by copying data from a data protection device such as an HDD to another storage device connected to IEEE (Institute of Electrical and Electronic Engineers) 1394 An apparatus is known (see Patent Document 1).
しかしながら、HDDからデータをコピーするためのインターフェースが、IEEE1394の場合は、HDD内のデータが暗号化されていたり、OS(Operating System)でのアクセス制限がかかっているとバックアップすらできないことがある。
その他のインターフェースを用いてHDDのデータのバックアップをした場合、例えばネットワークインターフェース(例えば100BASE-T2、TXなど)を用いた場合は、データの転送速度が遅く、バックアップに時間が掛かり、USB(Universal Serial Bus)を用いた場合は機器側に専用のソフトウェアが必要になるという様々な問題がある。
However, when the interface for copying data from the HDD is IEEE 1394, backup may not be possible if the data in the HDD is encrypted or if access is restricted by the OS (Operating System).
When HDD data is backed up using another interface, for example, when using a network interface (for example, 100BASE-T2, TX, etc.), the data transfer speed is slow and the backup takes time, and USB (Universal Serial When using (Bus), there are various problems that require dedicated software on the device side.
上記の問題を解決するインターフェースとして、ATA(AT Attachment)を用いてHDDと他の記憶装置とを接続して、バックアップ/リストアする装置が知られている(例えば、特許文献2参照)。 As an interface for solving the above problem, an apparatus that connects an HDD and another storage device using ATA (AT Attachment) and performs backup / restore is known (for example, see Patent Document 2).
しかしながら、ATAを介してHDDから他の記憶装置にデータをコピーした後、当該他の記憶装置をPCや画像形成装置等に接続したままにしておくと、PCや画像形成装置等は自身に格納されている上記HDDを認識することができないため、通常の状態(バックアップを行わない状態)にするたびにATAケーブルをHDDから取り外す必要があり、また、このHDDは通常PCや画像形成装置等の内部にあるため、この取り外しの作業は困難で手間の掛かる作業となる。
本発明は、上記従来の問題を解決するためになされたものであって、その目的は、ATAを介して他の記憶装置をPCや画像形成装置等を接続したままでもPCや画像形成装置等のHDDの機能を使用できるようにすることである。 The present invention has been made in order to solve the above-described conventional problems, and an object of the present invention is to provide a PC, an image forming apparatus, or the like even if another storage device is connected to the PC, the image forming apparatus, or the like via the ATA. It is to be able to use the function of the HDD.
請求項1の発明は、第1の記憶手段と、第1の記憶手段を制御する第1のコントローラとを備えた第1の装置にパラレルATAケーブルで接続して用いられ、第2の記憶手段と、第2の記憶手段を制御する第2のコントローラとを有し、前記第1の記憶手段の内容をバックアップ又はリストアするためのバックアップ/リストア装置であって、第1のコントローラと第1の記憶手段及び第2のコントローラと第1の記憶手段間の断・接を相互に切り換え制御するコントローラ切換手段を有し、第1の装置が前記パラレルATAケーブルのケーブルセレクト信号の有無に基づき第2のコントローラのパラレルATAケーブルへの接続又は非接続を認識し、接続を認識したとき、前記コントローラ切換手段は、第1のコントローラと第1の記憶手段間のデータ出力を禁止すると共に、第2のコントローラと第2の記憶手段間のデータ出力を許可する機能を有し、前記コントローラ切換手段により、第1のコントローラと第1の記憶手段を切断すると共に第2のコントローラを第1の記憶手段に接続し、第1の記憶手段の内容を読み出して第2の記憶手段に書き込むか又は第2の記憶手段の内容を読み出して第1の記憶手段に書き込む処理を行うことを特徴とする。
請求項2の発明は、請求項1に記載されたバックアップ/リストア装置において、前記コントローラ切換手段は、第1のコントローラと第1の記憶手段及び第2のコントローラと第1の記憶手段間におけるデータの方向及びデータ出力の可否を制御することを特徴とする。
請求項3の発明は、請求項2に記載されたバックアップ/リストア装置において、第2のコントローラが前記コントローラ切換手段におけるイネーブル/ディスエーブルを制御することを特徴とする。
請求項4の発明は、請求項1ないし3のいずれかに記載されたバックアップ/リストア装置と第1の装置とからなるバックアップ/リストアシステムであって、第1の装置、第2の装置及び前記コントローラ切換手段は、それぞれパラレルATAケーブルで接続されるものであって、第1、第2のコントローラはそれぞれパラレルATAケーブルの第1、第2のホストコントローラであり、第2のホストコントローラは、パラレルATAケーブルの端部間の中間に位置する接続部に接続されることを特徴とする。
請求項5の発明は、第1の記憶手段と、第1の記憶手段を制御する第1のコントローラとを備えた第1の装置の第1の記憶手段の内容をバックアップ/リストアする方法であって、第1の装置に、第2の記憶手段と、第2の記憶手段を制御する第2のコントローラとを有し、前記第1の記憶手段の内容をバックアップ又はリストアするためのバックアップ/リストア装置をパラレルATAケーブルで接続する工程と、第1の装置が前記パラレルATAケーブルのケーブルセレクト信号の有無に基づき第2のコントローラのパラレルATAケーブルへの接続又は非接続を認識する工程と、前記認識する工程で接続が認識されたとき、第1のコントローラと第1の記憶手段を切断する工程と、第2のコントローラを第1の記憶手段に接続し、第1の記憶手段の内容を読み出して第2の記憶手段に書き込むか又は第2の記憶手段の内容を読み出して第1の記憶手段に書き込む工程と、を有することを特徴とする。
The invention according to
According to a second aspect of the present invention, in the backup / restore apparatus according to the first aspect, the controller switching means includes data between the first controller and the first storage means, and between the second controller and the first storage means. And controlling whether or not data output is possible.
According to a third aspect of the present invention, in the backup / restore apparatus according to the second aspect, the second controller controls enable / disable in the controller switching means .
According to a fourth aspect of the present invention, there is provided a backup / restore system comprising the backup / restore apparatus according to any one of the first to third aspects and a first apparatus, wherein the first apparatus, the second apparatus, and the first apparatus The controller switching means are each connected by a parallel ATA cable, and the first and second controllers are first and second host controllers of the parallel ATA cable, respectively, and the second host controller is parallel. It is connected to the connection part located in the middle between the ends of the ATA cable.
The invention of claim 5 is a method for backing up / restoring the contents of the first storage means of the first device comprising the first storage means and a first controller for controlling the first storage means. The first apparatus has a second storage means and a second controller for controlling the second storage means, and backup / restore for backing up or restoring the contents of the first storage means Connecting the device with a parallel ATA cable, recognizing whether the first device is connected to or disconnected from the parallel ATA cable based on the presence or absence of a cable select signal of the parallel ATA cable, and the recognition when the connection is recognized in the step of the step of cutting the first controller and the first storage means, a second controller connected to the first storage means, first And writing to the first storage means reads out the contents of the second or written into the storage means a second storage means reads out the contents of the storage means, and having a.
ATAを介して他の記憶装置をPCや画像形成装置等を装着したままでもPCや画像形成装置等の機能を使用できるようにして、HDDのバックアップやリストアを容易に行うことである。 It is possible to easily perform backup and restoration of the HDD by allowing the functions of the PC, the image forming apparatus, and the like to be used while the other storage device is mounted on the PC, the image forming apparatus, etc. via the ATA.
以下に、本発明の実施形態に係るバックアップ/リストアシステムについて、添付した図面を参照して説明する。
図1は、本発明の実施形態に係るバックアップ/リストアシステムの機能ブロック図である。
本実施形態のバックアップ/リストアシステムは、バックアップ又はリストアの対象となるHDDを備えた本願発明の第1の装置の一実施形態であるMFP(Multi Function Printer)200と、PATA(Parallel ATA)ケーブルを介してMFP200と接続したバックアップ/リストア装置100と、バックアップしたデータを格納するHDD300とから構成されている。
Hereinafter, a backup / restore system according to an embodiment of the present invention will be described with reference to the accompanying drawings.
FIG. 1 is a functional block diagram of a backup / restore system according to an embodiment of the present invention.
The backup / restore system according to the present embodiment includes an MFP (Multi Function Printer) 200 that is an embodiment of the first apparatus of the present invention having an HDD to be backed up or restored, and a PATA (Parallel ATA) cable. The backup /
MFP200は、プログラムを格納するROM215と、このROM215に格納されているプログラムを読み込んで実行するCPU214と、このCPU214がプログラムを実行するときにプログラムを一時的に格納するRAM216と、印刷するための画像データや各種の情報を記憶する本願発明の第1の記憶手段に対応するMFP内蔵HDD210と、上記MFP内蔵HDD210とPATAケーブル400を介して接続された双方向バッファ211と、この双方向バッファ211におけるデータの移動方向を制御する排他制御手段212と、CPU214の入出力信号をATA規格に変換し、MFP内蔵HDD210に対して入出力を行う本願発明の第1のコントローラに対応するATAホストコントローラ(1)213とを有している。
The MFP 200 includes a
バックアップ/リストア装置100は、プログラムを格納するROM112と、このROM112に格納されているプログラムを読み込んで実行するCPU114と、このCPU114がプログラムを実行するときにプログラムを一時的に格納するRAM111と、計時する手段であるRTC(Real Time Clock)113と、PATAケーブル400で接続している上記MFP200の排他制御手段212を操作して、間接的に上記双方向バッファ211のデータの移動方向を制御する制御権要求手段(GIO PORT)110と、CPU114の入出力信号をATA規格に変換し、上記MFP内蔵HDD210に対して入出力を行う本願発明の第2のコントローラに対応するATAホストコントローラ(2)116と、これと同様に、後述するHDD300に対して入出力を行うATAホストコントローラ(3)117と、出力する信号の波形を整形するバッファ・信号波形整形手段115とを有している。
The backup /
次に、上記PATAケーブル400の使用方法について説明する。
図2は、PATAケーブル400のPCにおける一般的な使用方法を説明する図である。
図示のように、PATAケーブル400はその両端と、中間部に接続部を有しており、その一端である接続部401(図中左端)をPCなどの電子装置に接続し、接続部402(図中右端)をHDDと接続する。
また、これらの中間に位置する接続部403にもHDDを接続して、接続部402に接続したHDDをマスタ、接続部403に接続したHDDをスレーブとして、使用するHDDを切り替えることができる。
Next, a method for using the
FIG. 2 is a diagram for explaining a general method of using the
As shown in the figure, the
Further, the HDD to be used can be switched by connecting the HDD to the
図3は、PATAケーブル400のMFP200における一般的な使用方法を説明する図である。
PATAケーブル400をMFP200で使用するときは、PCでの使用方法と異なり、中間の接続部403を使用しない。接続部401にMFP200の双方向バッファ211を接続し、右端の接続部402にMFP内蔵HDD210を接続する。
図4は、PATAケーブル400の本実施形態に係る使用方法を説明する図である。
まず、左端の接続部401にMFP200の双方向バッファ211を接続する。右端の接続部402に図2に示したMFP内蔵HDD210を接続し、中間の接続部402に図2に示したバックアップ/リストア装置100を接続する。
FIG. 3 is a diagram for explaining a general method of using the
When the
FIG. 4 is a diagram for explaining a method of using the
First, the
ここで、図2に示した状態、即ちPCと2つのHDDとをPATAケーブル400で接続したとき、どちらのHDDがマスタか(若しくはスレーブか)を決定するために、PATAケーブル400のケーブルセレクト(Cable SELect:CSEL)信号を使用することが一般的に行われている。
Here, in the state shown in FIG. 2, that is, when a PC and two HDDs are connected by the
図5はCSEL信号のPCにおける使用方法を説明する図である。
図示の例では、PATAケーブル400のCSEL信号線410の一端の接続部にPCが、他端及び中間の接続部にHDDが接続されており、PC側のCSEL信号線はGNDに接続(接地)され、HDD側のCSEL信号線はプルアップされている。
また、2つのHDD間のCSEL信号線はカットされており、PC側の接続部と信号線が繋がっているHDDの接続部(中間部)の電圧は接地(GND:CSEL信号がLow)になり、繋がっていないHDDの接続部の電圧は電源電圧(Vcc)(CSEL信号がHigh)になる。各HDDはCSEL信号がLowのときはマスタ、CSEL信号がHighのときはスレーブと認識する。
FIG. 5 is a diagram for explaining how to use a CSEL signal in a PC.
In the example shown in the figure, a PC is connected to one end of the
Also, the CSEL signal line between the two HDDs is cut, and the voltage at the connection part (intermediate part) of the HDD where the signal line is connected to the connection part on the PC side is grounded (GND: CSEL signal is Low). The voltage at the connection portion of the unconnected HDD becomes the power supply voltage (Vcc) (CSEL signal is High). Each HDD recognizes as a master when the CSEL signal is Low and as a slave when the CSEL signal is High.
また、HDDがマスタかスレーブかを認識する別の方法として、HDDに備えられたジャンパーピン(Jumper Pin)を用いる方法も知られている。
図6はジャンパーピンを用いてHDDがマスタかスレーブかを認識する方法を説明する図である。
まず、予め各HDDに備えられたジャンパーピンをそれぞれマスタかスレーブかに設定しておく。この状態においては、それぞれのHDDが検出するCSEL信号がHighかLowかに関わらず、ジャンパーピンの設定に基づいて、それぞれのHDDはマスタかスレーブかを認識する。
As another method for recognizing whether the HDD is a master or a slave, a method using a jumper pin provided on the HDD is also known.
FIG. 6 is a diagram for explaining a method of recognizing whether the HDD is a master or a slave using jumper pins.
First, a jumper pin provided in each HDD is set in advance as a master or a slave. In this state, regardless of whether the CSEL signal detected by each HDD is High or Low, each HDD recognizes whether it is a master or a slave based on the jumper pin setting.
本実施形態においては、図4に示したように、中間の接続部403にバックアップ/リストア装置100が、右端の接続部402にMFP内蔵HDD210が接続されているため、上記CSEL信号を用いてHDDのマスタ/スレーブを決定する必要がない。従って、本実施形態においては、MFP200が、後述するバックアップリストア装置100の接続/非接続を認識することにこのCSEL信号を用いる。
In the present embodiment, as shown in FIG. 4, since the backup /
図7及び図8はCSEL信号を利用してバックアップ/リストア装置100の接続の有無を認識する方法を説明する図である。
図7は、CSEL信号線410の一端にMFP200が、他端にMFP内蔵HDD210が、中間にバックアップ/リストア装置100がそれぞれ接続されており、MFP200側がプルアップ抵抗でプルアップされ、バックアップ/リストア装置100側がGNDに接続されている状態を示す。
なお、バックアップ/リストア装置100とMFP内蔵HDD210との間のCSEL信号線はカットされている。
7 and 8 are diagrams illustrating a method for recognizing the presence / absence of connection of the backup / restore
In FIG. 7, the
The CSEL signal line between the backup / restore
この状態では、MFP200側はプルアップされているが、バックアップ/リストア装置100側は接地(GNDに接続)されているため、MFP200側のCSEL信号はL(Low)となる。即ち、MFP200側では、LのCSEL信号を検知したとき、バックアップリストア装置100が接続されていると認識することができる。
In this state, the
図8は、CSEL信号線410の一端にプルアップ抵抗でプルアップされたMFP200が、他端にMFP内蔵HDD210がそれぞれ接続されており、中央にはバックアップ/リストア装置100が接続されていない状態を示している。
この状態では、MFP200側はプルアップにより、CSEL信号がH(High)となる。即ち、MFP200は、HighのCSEL信号を検知したとき、バックアップリストア装置100が接続されていないと認識することができる。
FIG. 8 shows a state where the
In this state, the CSEL signal becomes H (High) due to pull-up on the
なお、図7及び図8において、使用しているCSEL信号は本来のケーブルセレクトの機能としては使用されていないため、この信号の名称を/HOST2_DETECTと定義する。 In FIG. 7 and FIG. 8, since the CSEL signal used is not used as an original cable selection function, the name of this signal is defined as / HOST2_DETECT.
次に、図4に示したPATAケーブル400を用いて行う信号の出入力における、PATAケーブル400へのMFP200及びバックアップ/リストア装置100の接続方法を説明する。
図9は、図2の状態におけるPCからHDDに出力を行うときの参考回路図である。
図10は、図4の状態におけるMFP200及びバックアップ/リストア装置100からMFP内蔵HDD210へ信号の出力を行うときの回路図である。
図10に示すように、本実施形態ではMFP内蔵HDD210への信号の出力元がMFP200(ATAホストコントローラ(1)213)とバックアップ/リストア装置100(ATAホストコントローラ(2)116)の2つであるため、出力信号が衝突する可能性が発生する。
Next, a method for connecting the
FIG. 9 is a reference circuit diagram when output from the PC to the HDD in the state of FIG.
FIG. 10 is a circuit diagram when signals are output from
As shown in FIG. 10, in this embodiment, two signal output sources to the HDD built-in
そこで本実施形態では、各出力元(MFP200とバックアップ/リストア装置100)のHI−Z(ハイ−インピーダンス)状態とドライブ状態を制御できるようにするため、図示のようにトライステートバッファ及び、そのバッファの出力を制御する信号線を設ける。その際、MFP200からの出力制御信号をHOST1_OEと、バックアップ/リストア装置100からの出力制御信号をHOST2_OEと定義する。
また、本実施形態では、上記出力元をそれぞれHI−Z状態とドライブ状態に切り替える際に、両出力元が同時にHI−Z状態になるタイミングが存在する可能性があるため、図10に示すようにバックアップ/リストア装置100側にプルアップ抵抗(信号波形整形手段115)を設け、両出力元が同時にHI−Z状態になることを防止する。
Therefore, in this embodiment, in order to be able to control the HI-Z (high-impedance) state and drive state of each output source (
Further, in the present embodiment, when the output source is switched to the HI-Z state and the drive state, respectively, there is a possibility that both output sources are simultaneously in the HI-Z state. In addition, a pull-up resistor (signal waveform shaping means 115) is provided on the backup / restore
図11は、図2の状態におけるHDDからPCへ信号の入力を行うときの参考回路図である。
図12は、図4の状態におけるMFP200及びバックアップ/リストア装置100に対する信号入力を行うときの回路図である。
図12において、MFP200及びバックアップ/リストア装置100に対する信号入力を行う場合、それぞれへ入力信号が分岐する。但し、図13及び図14に示すように、MFP200又はバックアップ/リストア装置100のいずれか一方(図ではMFP200)にプルアップ抵抗やプルダウン抵抗が設けられている場合は、他方の装置(図ではバックアップ/リストア装置100)には同じ回路(プルアップ抵抗やプルダウン抵抗(信号波形整形手段115))を設けないようにする。
FIG. 11 is a reference circuit diagram when a signal is input from the HDD to the PC in the state of FIG.
FIG. 12 is a circuit diagram when inputting signals to the
In FIG. 12, when signal input to the
なお、このことはMFP200及びバックアップ/リストア装置100が同時にHI−Zになることを防止するためであったり、2重プルアップ/プルダウンにより波形に悪影響を与えないための一例であり、例えば、バックアップ/リストア装置100側にプルアップ抵抗又はプルダウン抵抗が設けられていても47KΩ以上の比較的高い抵抗値でドライバがH/Lドライブでき、HI−Zになるタイミングに大きな影響を与えなければ、他方の装置にプルアップ抵抗又はプルダウン抵抗が存在しても構わない。
This is an example for preventing the
以上で説明したように、ATAホストコントローラ(2)116(バックアップ/リストア装置100)に、本願発明の信号波形整形手段である入力信号のプルアップおよびプルダウン抵抗を設けたため、出力側(MFP内蔵HDD210)のドライバが確実にH/Lをドライブできる。従って、誤動作がないからセットアップ/ホールドのタイミングマージンを、余裕をもって行うことができる)。
As described above, the ATA host controller (2) 116 (backup / restore apparatus 100) is provided with the input signal pull-up and pull-down resistors, which are signal waveform shaping means of the present invention, so that the output side (the
図10に示したブロック図において、MFP200及びバックアップ/リストア装置100からMFP内蔵HDD210へ出力する場合において、それぞれの出力元(MFP200又はバックアップ/リストア装置100)を、/HOST1_OE及び/HOST2_OE信号でHI−Z/ドライブ状態に切り替えることができるが、/HOST1_OE信号のH/Lの出力制御はMFP200で、/HOST2_OE信号のH/Lの出力制御はバックアップ/リストア装置100で行う必要がある。
In the block diagram shown in FIG. 10, when outputting from the
そこで、バックアップ/リストア装置100から、/HOST2_OE信号だけではなく、/HOST1_OE信号についてもH/Lの出力制御ができるようにするため、各出力元に双方向バッファ211を接続し、ATAホストコントローラ(1)213及びATAホストコントローラ(2)116にこの双方向バッファ211を制御するバッファ制御信号線のDIR(双方向信号の方向を規定する信号又はピンの名称)信号線とOE(Output Enable:出力を可能にする信号又はピンの名称)信号線とを設ける。
Therefore, in order to enable H / L output control not only for the / HOST2_OE signal but also for the / HOST1_OE signal from the backup / restore
図15は、双方向バッファ211(LVC245)を制御するバッファ制御信号のDIR信号とOE信号について説明する図である。
図示のように、MFP200のATAホストコントローラ(1)213からバッファの信号方向を示すDIR信号線と出力の可否を示すOE信号線を双方向バッファ211であるLVC245のDIR端子とOE端子にそれぞれ接続する。
FIG. 15 is a diagram for explaining a DIR signal and an OE signal as buffer control signals for controlling the bidirectional buffer 211 (LVC 245).
As shown in the figure, the DIR signal line indicating the signal direction of the buffer from the ATA host controller (1) 213 of the
なお、図1に示したバックアップ/リストア装置100のATAホストコントローラ(2)116及びバッファ・信号波形整形手段115についても、図15と同様にDIR信号線とOE信号線で接続されている。
これによって、ATAホストコントローラ(1)213及びATAホストコントローラ(2)116のMFP内蔵HDD210との電気的な接続/非接続を切り換えることができる。
Note that the ATA host controller (2) 116 and the buffer / signal waveform shaping means 115 of the backup / restore
Thus, the electrical connection / disconnection of the ATA host controller (1) 213 and the ATA host controller (2) 116 with the MFP built-in
図16は、図15に示したOE信号線の制御回路を示す図である。
制御回路は、負論理のアンドゲートとインバータから構成され、図7及び図8に関連して説明した/HOST2_DETECT信号を使用する。/HOST2_DETECT信号(B)がLのとき(つまり、ATAホストコントローラ(2)116がATAケーブル400に接続されているとき)、ATAホストコントローラ(1)213からのHOST1_OE信号がHかLかに関わらず、制御回路の結果となるOE信号はL、即ちDISABLE(出力不能)となり、LVC245のバスはHI−Zとなる。つまり、ATAホストコントローラ(1)213はMFP内蔵HDD210から電気的に切り離され、ATAホストコントローラ(2)116が電気的に接続される。
FIG. 16 shows a control circuit for the OE signal line shown in FIG.
The control circuit includes a negative logic AND gate and an inverter, and uses the / HOST2_DETECT signal described with reference to FIGS. When the / HOST2_DETECT signal (B) is L (that is, when the ATA host controller (2) 116 is connected to the ATA cable 400), whether the HOST1_OE signal from the ATA host controller (1) 213 is H or L. The OE signal resulting from the control circuit is L, that is, DISABLE (cannot be output), and the LVC 245 bus becomes HI-Z. That is, the ATA host controller (1) 213 is electrically disconnected from the MFP built-in
以上で説明したように、ATAホストコントローラ(2)116をATAケーブル400に接続したとき、ATAホストコントローラ(1)213が電気的に切り離されるため、出力信号の排他制御ができる。
As described above, when the ATA host controller (2) 116 is connected to the
次に、図16における/HOST2_DETECT信号をH/Lの切り替え操作する方法を説明する。
上記の説明においては、図7に示したようにバックアップ/リストア装置100がGND接続(接地)されているため、/HOST2_DETECT信号は常にLであり、その結果、ATAケーブル400にバックアップ/リストア装置100を接続すると、必ずATAホストコントローラ(1)213はMFP内蔵HDD210から電気的に切り離され、ATAホストコントローラ(2)116が電気的に接続される。
そこで、本実施形態に係るバックアップ/リストア装置100は、/HOST2_DETECT信号が常にLにならないように、/HOST2_DETECT信号のH/Lの切り替えを制御するための制御権要求手段110(図1参照)を備えている。
Next, a method for switching the / HOST2_DETECT signal in FIG. 16 to H / L will be described.
In the above description, since the backup / restore
Therefore, the backup / restore
図17は、バックアップ/リストア装置100が/HOST2_DETECT信号のHigh/Lowの切り替えするときの信号の流れを示す図である。
図示のように、バックアップ/リストア装置100の制御権要求手段(GIO PORT)110から/HOST2_DETECT信号をMFP200に送信する。このとき、バックアップ/リストア装置100のCPU114が制御権要求手段110を操作し、/HOST2_DETECT信号のH/及びLの切り替え制御を行う。
この/HOST2_DETECT信号は、図16に示したOE信号線の制御回路(排他制御手段212)に送信され、ATAホストコントローラ(1)213及びATAホストコントローラ(2)116の(MFP内蔵HDD210との)電気的な接続/非接続を切り換える。つまり、/HOST2_DETECT信号をHに切り換えることにより、図16における真理値表において、BはHとなり、その場合のCは、AのL又はHに対応してL又はH、つまり、OE信号はL、即ちDISABLEとなり、LVC245のバスはHI−Zとなるか、OE信号がHになって、ENABLEとなりLVC245のバスをアサートにする。
FIG. 17 is a diagram illustrating a signal flow when the backup / restore
As shown in the figure, a / HOST2_DETECT signal is transmitted to the
This / HOST2_DETECT signal is transmitted to the OE signal line control circuit (exclusive control means 212) shown in FIG. 16, and the ATA host controller (1) 213 and the ATA host controller (2) 116 (with the MFP built-in HDD 210). Switch electrical connection / disconnection. That is, by switching the / HOST2_DETECT signal to H, B becomes H in the truth table in FIG. 16, and C in that case corresponds to L or H of A, that is, the OE signal is L That is, DISABLE becomes, and the LVC245 bus becomes HI-Z, or the OE signal becomes H, and becomes ENABLE to assert the LVC245 bus.
この場合、MFP200の操作パネル等でバックアップ/リストア可能モードに設定する。このモードに設定されたMFP200は、MFP内蔵HDD210の接続が検知できなくとも、エラーとせずに例えば、ソート用のメモリにはMFP内蔵HDD210を使用せずにRAM216を用いたり、空きメモリ量に基づいて印刷枚数を制限したり、MFP内蔵HDD210への文書蓄積動作は禁止とする等の制約を付けた上で、印刷動作等を継続できる。
In this case, the backup / restorable mode is set on the operation panel of the
図18は、以上の構成において、バックアップ/リストア装置100でデータのバックアップをとる処理を示すフロー図である。
まず、バックアップ/リストア装置100でバックアップのトリガ(例えば、バックアップ用ボタンが押下され、RTC113のタイマが設定時刻になる等)が発生したら(S101)、MFP200はバックアップ/リストア可能モードに設定され(S102)、バックアップ/リストア装置100のCPU114は/HOST2_DETECT信号をLowに変化させMFP200のATAホストコントローラ(1)213の出力バッファをDISABLEにする(S103)。
次に、バックアップ/リストア装置100のATAホストコントローラ(2)116の出力バッファをENABLE(HOST2_OEをアサート)にしてバックアップ/リストア装置100からMFP内蔵HDD210をアクセスする(S104)。
FIG. 18 is a flowchart showing processing for backing up data in the backup / restore
First, when a backup trigger (for example, when a backup button is pressed and the timer of the
Next, the output buffer of the ATA host controller (2) 116 of the backup / restore
バックアップ/リストア装置100のATAホストコントローラ(2)116を経由してMFP200のMFP内蔵HDD210のLBA(HDDのセクタに割り当てた通し番号:Logical Block Addressing)の0から順に読み込んでいき(S105)、読み込んだデータはRAM111上のバッファに格納する(S106)。そのバッファがフルになったら(S107、YES)、ATAホストコントローラ(3)117経由でバックアップ/リストア装置100に接続されたHDD300のLBAの0から書き込みを行う(S108)。
The LBA (serial number assigned to a sector of the HDD: Logical Block Addressing) of the MFP built-in
この動作をLBAがMAXになるまで継続し(S109)、LBAがMAXになったら、即ちコピーが終わったら(S109、YES)、HOST2_OEをネゲート(インアクティブ)にしてから/HOST2_DETECTをネゲートにし、MFP200のATAホストコントローラ(1)213からMFP内蔵HDD210にアクセス可能にする(S110)。
ATAホストコントローラ(1)213がMFP内蔵HDD210の接続を検知したら、MFP200は上記の制約や禁止事項を全て解除する(S111)。
This operation is continued until LBA reaches MAX (S109). When LBA becomes MAX, that is, when copying is completed (S109, YES), HOST2_OE is negated (inactive), and / HOST2_DETECT is negated, and
When the ATA host controller (1) 213 detects the connection of the MFP built-in
図19は、以上の構成において、バックアップ/リストア装置100でデータのリストア処理を行うフロー図である。
まず、バックアップ/リストア装置100でリストアのトリガ(例えば、リストア用ボタンが押下され、RTC113のタイマが設定時刻になる等)が発生したら(S201)、MFP200はバックアップ/リストア可能モードに設定され(S202)、バックアップ/リストア装置100のCPU114は/HOST2_DETECT信号をLowに変化させMFP200のATAホストコントローラ(1)213の出力バッファをDISABLEにする(S203)。
次に、バックアップ/リストア装置100のATAホストコントローラ(2)116の出力バッファをENABLE(HOST2_OEをアサート)にしてバックアップ/リストア装置100からHDD300をアクセスする(S204)。
FIG. 19 is a flowchart for performing data restore processing in the backup / restore
First, when a restore trigger (for example, a restore button is pressed and the timer of the
Next, the output buffer of the ATA host controller (2) 116 of the backup / restore
バックアップ/リストア装置100のATAホストコントローラ(3)117を経由してHDD300のLBAの0から順に読み込んでいき(S205)、読み込んだデータはRAM111上のバッファに格納する(S206)。そのバッファがフルになったら(S207、YES)、ATAホストコントローラ(2)116経由でMFP内蔵HDD210のLBAの0から書き込みを行う(S208)。
The data is sequentially read from the LBA 0 of the
この動作をMFP内蔵HDD210のLBAがMAXになるまで継続し(S209)、LBAがMAXになったら、即ちコピーが終わったら(S209、YES)、HOST2_OEをネゲート(インアクティブ)にしてから/HOST2_DETECTをネゲートにし、MFP200のATAホストコントローラ(1)213からMFP内蔵HDD210にアクセス可能にする(S210)。
ATAホストコントローラ(1)213がMFP内蔵HDD210の接続を検知したら、MFP200は上記の制約や禁止事項を全て解除する(S211)。
This operation is continued until the LBA of the MFP built-in
When the ATA host controller (1) 213 detects the connection of the
以上で説明したように、バックアップ/リストア装置100のソフトウェア制御によりMFP200のOE信号のHigh/Lowの切り替えが制御できるため、バックアップ/リストアが終了したらMFP200からMFP内蔵HDD210へのアクセスが自動的にできるようになり、MFP内蔵HDD210を取り外すことなく、バックアップ/リストアを行うことができる。
なお、図1に示した制御権要求手段110と排他制御手段212とを接続するPATAケーブル400及び、バッファ・信号波形整形手段115とMFP内蔵HDD210とを接続するPATAケーブル400から、電力を供給することで、MFP200の電源を切った状態においても、以上のバックアップ処理を行うことができる。
As described above, since the High / Low switching of the OE signal of the
1 is supplied from the
100・・・バックアップ/リストア装置、110・・・制御権要求手段、111,216・・・RAM、112,215・・・ROM、113・・・RTC、114,214・・・CPU、115・・・バッファ・信号波形整形手段、116・・・ATAホストコントローラ(2)、117・・・ATAホストコントローラ(3)、200・・・MFP、210・・・MFP内蔵HDD、211・・・双方向バッファ、212・・・排他制御手段、213・・・ATAホストコントローラ(1)、300・・・HDD、400・・・PATAケーブル、401,402,403・・・接続部。
DESCRIPTION OF
Claims (5)
第1のコントローラと第1の記憶手段及び第2のコントローラと第1の記憶手段間の断・接を相互に切り換え制御するコントローラ切換手段を有し、
第1の装置が前記パラレルATAケーブルのケーブルセレクト信号の有無に基づき第2のコントローラのパラレルATAケーブルへの接続又は非接続を認識し、接続を認識したとき、前記コントローラ切換手段は、第1のコントローラと第1の記憶手段間のデータ出力を禁止すると共に、第2のコントローラと第2の記憶手段間のデータ出力を許可する機能を有し、
前記コントローラ切換手段により、第1のコントローラと第1の記憶手段を切断すると共に第2のコントローラを第1の記憶手段に接続し、第1の記憶手段の内容を読み出して第2の記憶手段に書き込むか又は第2の記憶手段の内容を読み出して第1の記憶手段に書き込む処理を行うことを特徴とするバックアップ/リストア装置。 A first storage means and a first controller comprising a first controller for controlling the first storage means are used connected by a parallel ATA cable, and are used as a second storage means and a second storage means. A backup / restore apparatus for backing up or restoring the contents of the first storage means,
Controller switching means for controlling switching between connection and disconnection between the first controller and the first storage means and between the second controller and the first storage means;
When the first device recognizes the connection or non-connection of the second controller to the parallel ATA cable based on the presence or absence of the cable select signal of the parallel ATA cable and recognizes the connection, the controller switching means A function of prohibiting data output between the controller and the first storage means, and a function of permitting data output between the second controller and the second storage means;
The controller switching means disconnects the first controller and the first storage means, connects the second controller to the first storage means, reads the contents of the first storage means, and stores them in the second storage means. A backup / restoration apparatus which performs a process of writing or reading the contents of the second storage means and writing them to the first storage means.
前記コントローラ切換手段は、第1のコントローラと第1の記憶手段及び第2のコントローラと第1の記憶手段間におけるデータの方向及びデータ出力の可否を制御することを特徴とするバックアップ/リストア装置。 The backup / restore apparatus according to claim 1,
The controller switching means controls the direction of data and the possibility of data output between the first controller and the first storage means and between the second controller and the first storage means.
第2のコントローラが前記コントローラ切換手段におけるイネーブル/ディスエーブルを制御することを特徴とするバックアップ/リストア装置。 The backup / restore apparatus according to claim 2,
A backup / restore apparatus, wherein a second controller controls enable / disable in the controller switching means .
第1の装置、第2の装置及び前記コントローラ切換手段は、それぞれパラレルATAケーブルで接続されるものであって、第1、第2のコントローラはそれぞれパラレルATAケーブルの第1、第2のホストコントローラであり、第2のホストコントローラは、パラレルATAケーブルの端部間の中間に位置する接続部に接続されることを特徴とするバックアップ/リストアシステム。 A backup / restore system comprising the backup / restore apparatus according to any one of claims 1 to 3 and a first apparatus,
The first device, the second device, and the controller switching means are each connected by a parallel ATA cable, and the first and second controllers are first and second host controllers of the parallel ATA cable, respectively. The backup / restore system is characterized in that the second host controller is connected to a connection portion located in the middle between the end portions of the parallel ATA cable.
第1の装置に、第2の記憶手段と、第2の記憶手段を制御する第2のコントローラとを有し、前記第1の記憶手段の内容をバックアップ又はリストアするためのバックアップ/リストア装置をパラレルATAケーブルで接続する工程と、
第1の装置が前記パラレルATAケーブルのケーブルセレクト信号の有無に基づき第2のコントローラのパラレルATAケーブルへの接続又は非接続を認識する工程と、
前記認識する工程で接続が認識されたとき、第1のコントローラと第1の記憶手段を切断する工程と、
第2のコントローラを第1の記憶手段に接続し、第1の記憶手段の内容を読み出して第2の記憶手段に書き込むか又は第2の記憶手段の内容を読み出して第1の記憶手段に書き込む工程と、を有することを特徴とするバックアップ/リストア方法。
A method for backing up / restoring the contents of a first storage means of a first device comprising a first storage means and a first controller for controlling the first storage means,
A backup / restore device for having a second storage means and a second controller for controlling the second storage means in the first device for backing up or restoring the contents of the first storage means Connecting with a parallel ATA cable ;
Recognizing connection or disconnection of the second controller to the parallel ATA cable based on the presence or absence of a cable select signal of the parallel ATA cable;
Disconnecting the first controller and the first storage means when a connection is recognized in the step of recognizing ;
The second controller is connected to the first storage means, and the contents of the first storage means are read and written to the second storage means, or the contents of the second storage means are read and written to the first storage means. A backup / restoration method comprising the steps of:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007236144A JP5028196B2 (en) | 2007-09-12 | 2007-09-12 | Backup / restore device, backup / restore system, and backup / restore method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007236144A JP5028196B2 (en) | 2007-09-12 | 2007-09-12 | Backup / restore device, backup / restore system, and backup / restore method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009070022A JP2009070022A (en) | 2009-04-02 |
JP5028196B2 true JP5028196B2 (en) | 2012-09-19 |
Family
ID=40606229
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007236144A Expired - Fee Related JP5028196B2 (en) | 2007-09-12 | 2007-09-12 | Backup / restore device, backup / restore system, and backup / restore method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5028196B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5587050B2 (en) | 2010-06-22 | 2014-09-10 | キヤノン株式会社 | Information processing apparatus, information processing apparatus control method, and program |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2913840B2 (en) * | 1989-12-25 | 1999-06-28 | 株式会社日立製作所 | Collective disk unit |
US6081875A (en) * | 1997-05-19 | 2000-06-27 | Emc Corporation | Apparatus and method for backup of a disk storage system |
JP2002014777A (en) * | 2000-06-29 | 2002-01-18 | Hitachi Ltd | Data moving method and protocol converting device, and switching device using the same |
JP2007065873A (en) * | 2005-08-30 | 2007-03-15 | Hitachi Ltd | Storage control device, storage control system and storage control method |
-
2007
- 2007-09-12 JP JP2007236144A patent/JP5028196B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009070022A (en) | 2009-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6816982B2 (en) | Method of and apparatus for computer hard disk drive protection and recovery | |
US20080147962A1 (en) | Storage subsystem with multiple non-volatile memory arrays to protect against data losses | |
JP4888935B2 (en) | Storage system | |
US6816939B2 (en) | Apparatus for supporting I2C bus masters on a secondary side of an I2C multiplexor | |
CN102187311A (en) | Methods and systems for recovering a computer system using a storage area network | |
CN110692058A (en) | Auxiliary storage device providing independent backup and recovery functions and apparatus using the same | |
WO2001065383A1 (en) | Variable-mode pc card and input/output control device of pc card | |
JP5028196B2 (en) | Backup / restore device, backup / restore system, and backup / restore method | |
US8631177B1 (en) | Multi-port device with controller for storage media device port | |
WO2005086007A1 (en) | Data copy device | |
US11321260B2 (en) | USB hub device having functionality of self firmware updating and host electronic system having the same | |
JP2009282993A (en) | Hard disk management device | |
JP4847674B2 (en) | Hard disk management device | |
US20100332777A1 (en) | Data backup apparatus and data backup method | |
WO2016006108A1 (en) | Storage and control method therefor | |
KR101273552B1 (en) | Data converting system | |
KR20160062683A (en) | COMPUTING SYSTEM WITH heterogeneous storage AND METHOD OF OPERATION THEREOF | |
JP7054807B2 (en) | Data transfer systems, adapters, and system hosts | |
JP2000276258A (en) | Device and method for inserting/ejecting ide device | |
US20230074612A1 (en) | Information processing apparatus, method of controlling information processing apparatus, and non-transitory storage medium | |
CN101261597A (en) | Data instant rejuvenation system and its method | |
JP2938049B1 (en) | Hot-swap controller for extended I / O device to computer | |
US8185675B1 (en) | Interface system and operating method thereof | |
JP2009054116A (en) | Memory system and information processor | |
CN209746537U (en) | NVDIMM-N compatible with NVDIMM-P function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100420 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120315 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120427 |
|
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: 20120619 |
|
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: 20120625 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150629 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5028196 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |