JP5028196B2 - Backup / restore device, backup / restore system, and backup / restore method - Google Patents

Backup / restore device, backup / restore system, and backup / restore method Download PDF

Info

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
Application number
JP2007236144A
Other languages
Japanese (ja)
Other versions
JP2009070022A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007236144A priority Critical patent/JP5028196B2/en
Publication of JP2009070022A publication Critical patent/JP2009070022A/en
Application granted granted Critical
Publication of JP5028196B2 publication Critical patent/JP5028196B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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や画像形成装置等の内部にあるため、この取り外しの作業は困難で手間の掛かる作業となる。
特開2006−113638号公報 特開2006−121621号公報
However, if data is copied from the HDD to another storage device via the ATA and then the other storage device is left connected to the PC or image forming device, the PC or image forming device stores it in itself. Therefore, it is necessary to remove the ATA cable from the HDD every time it is in a normal state (a state in which backup is not performed). Because it is inside, this removal work is difficult and time-consuming.
JP 2006-113638 A JP 2006-121621 A

本発明は、上記従来の問題を解決するためになされたものであって、その目的は、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のコントローラが前記コントローラ切換手段におけるイネーブル/ディスエーブルを制御することを特徴とする。
請求項の発明は、請求項1ないし3のいずれかに記載されたバックアップ/リストア装置と第1の装置とからなるバックアップ/リストアシステムであって、第1の装置、第2の装置及び前記コントローラ切換手段は、それぞれパラレルATAケーブルで接続されるものであって、第1、第2のコントローラはそれぞれパラレルATAケーブルの第1、第2のホストコントローラであり、第2のホストコントローラは、パラレルATAケーブルの端部間の中間に位置する接続部に接続されることを特徴とする。
請求項の発明は、第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 claim 1 is used by being connected to a first device having a first storage means and a first controller for controlling the first storage means by a parallel ATA cable, and a second storage means. And a second controller for controlling the second storage means, and a backup / restore device for backing up or restoring the contents of the first storage means, wherein the first controller and the first controller And a controller switching unit that controls switching between connection and disconnection between the storage unit and the second controller and the first storage unit, and the first device performs second control based on the presence or absence of a cable select signal of the parallel ATA cable. The controller switching means recognizes the connection or disconnection of the controller to the parallel ATA cable, and the controller switching means recognizes the connection between the first controller and the first storage device. With prohibits the data output between, has a feature that allows data output between the second controller and the second memory means by said controller switching means disconnects the first controller and the first storage means At the same time, 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 stored in the first storage means. A writing process is performed.
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 / restore apparatus 100 is connected to the MFP 200 via the HDD 300 and the HDD 300 stores the backed-up data.

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 ROM 215 that stores a program, a CPU 214 that reads and executes the program stored in the ROM 215, a RAM 216 that temporarily stores the program when the CPU 214 executes the program, and an image to be printed. In the MFP built-in HDD 210 corresponding to the first storage means of the present invention for storing data and various information, a bidirectional buffer 211 connected to the MFP built-in HDD 210 via the PATA cable 400, and the bidirectional buffer 211 An exclusive control means 212 that controls the data movement direction, and an ATA host controller (1) corresponding to the first controller of the present invention that converts the input / output signals of the CPU 214 to the ATA standard and inputs / outputs to / from the MFP built-in HDD 210 ) 213 There.

バックアップ/リストア装置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 / restore device 100 includes a ROM 112 that stores a program, a CPU 114 that reads and executes the program stored in the ROM 112, a RAM 111 that temporarily stores the program when the CPU 114 executes the program, Control for controlling the data movement direction of the bidirectional buffer 211 indirectly by operating an RTC (Real Time Clock) 113 that is a means for performing this operation and an exclusive control means 212 of the MFP 200 connected by the PATA cable 400. ATA host controller (2) 116 corresponding to the second controller of the present invention which converts the input / output signal of the right request means (GIO PORT) 110 and CPU 114 to the ATA standard and inputs / outputs to / from the MFP built-in HDD 210. Similarly to this, the HDD 30 to be described later Has a ATA host controller (3) 117 for inputting and outputting, and a buffer signal waveform shaping means 115 for shaping the waveform of the output signal relative.

次に、上記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 PATA cable 400 will be described.
FIG. 2 is a diagram for explaining a general method of using the PATA cable 400 in a PC.
As shown in the figure, the PATA cable 400 has connection portions at both ends and an intermediate portion, and a connection portion 401 (the left end in the figure) which is one end thereof is connected to an electronic device such as a PC. The right end in the figure is connected to the HDD.
Further, the HDD to be used can be switched by connecting the HDD to the connection unit 403 located in the middle so that the HDD connected to the connection unit 402 is a master and the HDD connected to the connection unit 403 is a slave.

図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 PATA cable 400 in the MFP 200.
When the PATA cable 400 is used in the MFP 200, the intermediate connection unit 403 is not used, unlike the method of using the PC. The bidirectional buffer 211 of the MFP 200 is connected to the connection unit 401, and the MFP built-in HDD 210 is connected to the rightmost connection unit 402.
FIG. 4 is a diagram for explaining a method of using the PATA cable 400 according to this embodiment.
First, the bidirectional buffer 211 of the MFP 200 is connected to the leftmost connection unit 401. The MFP built-in HDD 210 shown in FIG. 2 is connected to the rightmost connection unit 402, and the backup / restore apparatus 100 shown in FIG. 2 is connected to the intermediate connection unit 402.

ここで、図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 PATA cable 400, in order to determine which HDD is the master (or slave), the cable select (PATA cable 400) It is common practice to use a Cable SELect (CSEL) signal.

図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 CSEL signal line 410 of the PATA cable 400, and an HDD is connected to the other end and an intermediate connection, and the CSEL signal line on the PC side is connected to GND (grounding). The CSEL signal line on the HDD side is pulled up.
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 / restore apparatus 100 is connected to the intermediate connection unit 403 and the HDD 210 with built-in MFP is connected to the right end connection unit 402, the HDD using the CSEL signal is used. There is no need to determine the master / slave. Therefore, in this embodiment, the MFP 200 uses this CSEL signal to recognize the connection / disconnection of the backup / restore apparatus 100 described later.

図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 apparatus 100 using the CSEL signal.
In FIG. 7, the MFP 200 is connected to one end of the CSEL signal line 410, the HDD built-in HDD 210 is connected to the other end, and the backup / restore apparatus 100 is connected to the middle, and the MFP 200 side is pulled up by a pull-up resistor. The state where 100 side is connected to GND is shown.
The CSEL signal line between the backup / restore apparatus 100 and the MFP built-in HDD 210 is cut off.

この状態では、MFP200側はプルアップされているが、バックアップ/リストア装置100側は接地(GNDに接続)されているため、MFP200側のCSEL信号はL(Low)となる。即ち、MFP200側では、LのCSEL信号を検知したとき、バックアップリストア装置100が接続されていると認識することができる。   In this state, the MFP 200 side is pulled up, but the backup / restore apparatus 100 side is grounded (connected to GND), so the CSEL signal on the MFP 200 side is L (Low). That is, the MFP 200 can recognize that the backup / restore apparatus 100 is connected when an L CSEL signal is detected.

図8は、CSEL信号線410の一端にプルアップ抵抗でプルアップされたMFP200が、他端にMFP内蔵HDD210がそれぞれ接続されており、中央にはバックアップ/リストア装置100が接続されていない状態を示している。
この状態では、MFP200側はプルアップにより、CSEL信号がH(High)となる。即ち、MFP200は、HighのCSEL信号を検知したとき、バックアップリストア装置100が接続されていないと認識することができる。
FIG. 8 shows a state where the MFP 200 pulled up by a pull-up resistor is connected to one end of the CSEL signal line 410 and the HDD built-in HDD 210 is connected to the other end, and the backup / restore apparatus 100 is not connected to the center. Show.
In this state, the CSEL signal becomes H (High) due to pull-up on the MFP 200 side. In other words, the MFP 200 can recognize that the backup / restore apparatus 100 is not connected when the High CSEL signal is detected.

なお、図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 MFP 200 and the backup / restore apparatus 100 to the PATA cable 400 in the signal input / output using the PATA cable 400 shown in FIG. 4 will be described.
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 MFP 200 and backup / restore apparatus 100 to MFP built-in HDD 210 in the state of FIG.
As shown in FIG. 10, in this embodiment, two signal output sources to the HDD built-in HDD 210 are the MFP 200 (ATA host controller (1) 213) and the backup / restore apparatus 100 (ATA host controller (2) 116). Therefore, there is a possibility that output signals collide.

そこで本実施形態では、各出力元(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 (MFP 200 and backup / restore apparatus 100), a tri-state buffer and its buffer as shown in FIG. A signal line for controlling the output of is provided. At this time, an output control signal from the MFP 200 is defined as HOST1_OE, and an output control signal from the backup / restore apparatus 100 is defined as HOST2_OE.
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 apparatus 100 side to prevent both output sources from simultaneously entering the HI-Z state.

図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 MFP 200 and the backup / restore apparatus 100 in the state of FIG.
In FIG. 12, when signal input to the MFP 200 and the backup / restore apparatus 100 is performed, the input signal branches to each. However, as shown in FIGS. 13 and 14, when either one of the MFP 200 or the backup / restore apparatus 100 (MFP 200 in the figure) is provided with a pull-up resistor or pull-down resistor, the other apparatus (the backup in the figure is a backup). / Restoration device 100) is not provided with the same circuit (pull-up resistor or pull-down resistor (signal waveform shaping means 115)).

なお、このことはMFP200及びバックアップ/リストア装置100が同時にHI−Zになることを防止するためであったり、2重プルアップ/プルダウンにより波形に悪影響を与えないための一例であり、例えば、バックアップ/リストア装置100側にプルアップ抵抗又はプルダウン抵抗が設けられていても47KΩ以上の比較的高い抵抗値でドライバがH/Lドライブでき、HI−Zになるタイミングに大きな影響を与えなければ、他方の装置にプルアップ抵抗又はプルダウン抵抗が存在しても構わない。   This is an example for preventing the MFP 200 and the backup / restore apparatus 100 from simultaneously becoming HI-Z, and for preventing the waveform from being adversely affected by double pull-up / pull-down. Even if a pull-up resistor or a pull-down resistor is provided on the restore device 100 side, the driver can drive H / L with a relatively high resistance value of 47 KΩ or more, and does not significantly affect the timing of becoming HI-Z. There may be a pull-up resistor or a pull-down resistor in the device.

以上で説明したように、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 MFP 210 built-in HDD 210). ) Can drive H / L reliably. Therefore, since there is no malfunction, the setup / hold timing margin can be performed with a margin.)

図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 MFP 200 and the backup / restore apparatus 100 to the MFP built-in HDD 210, the respective output sources (MFP 200 or backup / restore apparatus 100) are set to HI− with the / HOST1_OE and / HOST2_OE signals. Although it can be switched to the Z / drive state, the H / L output control of the / HOST1_OE signal must be performed by the MFP 200, and the H / L output control of the / HOST2_OE signal must be performed by the backup / restore apparatus 100.

そこで、バックアップ/リストア装置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 apparatus 100, a bidirectional buffer 211 is connected to each output source, and the ATA host controller ( 1) 213 and ATA host controller (2) 116 to the buffer control signal line DIR (signal or pin name defining the direction of the bidirectional signal) signal line and OE (Output Enable: output) for controlling the bidirectional buffer 211 Signal or pin names) enabling signal lines.

図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 MFP 200 and the OE signal line indicating whether output is possible are connected to the DIR terminal and the OE terminal of the LVC 245 which is the bidirectional buffer 211, respectively. To do.

なお、図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 apparatus 100 shown in FIG. 1 are also connected by the DIR signal line and the OE signal line as in FIG.
Thus, the electrical connection / disconnection of the ATA host controller (1) 213 and the ATA host controller (2) 116 with the MFP built-in HDD 210 can be switched.

図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 HDD 210, and the ATA host controller (2) 116 is electrically connected.

以上で説明したように、ATAホストコントローラ(2)116をATAケーブル400に接続したとき、ATAホストコントローラ(1)213が電気的に切り離されるため、出力信号の排他制御ができる。   As described above, when the ATA host controller (2) 116 is connected to the ATA cable 400, the ATA host controller (1) 213 is electrically disconnected, so that exclusive control of the output signal can be performed.

次に、図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 apparatus 100 is GND-connected (grounded) as shown in FIG. 7, the / HOST2_DETECT signal is always L, and as a result, the backup / restore apparatus 100 is connected to the ATA cable 400. , The ATA host controller (1) 213 is surely electrically disconnected from the MFP built-in HDD 210, and the ATA host controller (2) 116 is electrically connected.
Therefore, the backup / restore apparatus 100 according to the present embodiment includes a control right request unit 110 (see FIG. 1) for controlling the H / L switching of the / HOST2_DETECT signal so that the / HOST2_DETECT signal does not always become L. I have.

図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 apparatus 100 switches between High / Low of the / HOST2_DETECT signal.
As shown in the figure, a / HOST2_DETECT signal is transmitted to the MFP 200 from the control right request unit (GIO PORT) 110 of the backup / restore apparatus 100. At this time, the CPU 114 of the backup / restore apparatus 100 operates the control right request unit 110 to perform switching control of H / and L of the / HOST2_DETECT signal.
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 MFP 200. The MFP 200 set in this mode does not generate an error even if the connection of the HDD built-in HDD 210 cannot be detected. For example, the sort memory uses the RAM 216 without using the MFP built-in HDD 210 or based on the amount of free memory. Thus, it is possible to continue the printing operation or the like with restrictions such as limiting the number of printed sheets or prohibiting the document storage operation in the MFP built-in HDD 210.

図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 apparatus 100 in the above configuration.
First, when a backup trigger (for example, when a backup button is pressed and the timer of the RTC 113 reaches a set time) occurs in the backup / restore apparatus 100 (S101), the MFP 200 is set to a backup / restoreable mode (S102). The CPU 114 of the backup / restore apparatus 100 changes the / HOST2_DETECT signal to Low to set the output buffer of the ATA host controller (1) 213 of the MFP 200 to DISABLE (S103).
Next, the output buffer of the ATA host controller (2) 116 of the backup / restore apparatus 100 is set to ENABLE (HOST2_OE is asserted), and the HDD / built-in HDD 210 is accessed from the backup / restore apparatus 100 (S104).

バックアップ/リストア装置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 HDD 210 of the MFP 200 is sequentially read from 0 via the ATA host controller (2) 116 of the backup / restore apparatus 100 (S105). Data is stored in a buffer on the RAM 111 (S106). When the buffer becomes full (S107, YES), writing is performed from LBA 0 of the HDD 300 connected to the backup / restore apparatus 100 via the ATA host controller (3) 117 (S108).

この動作を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 MFP 200 The MFP built-in HDD 210 is accessible from the ATA host controller (1) 213 of the MFP (S110).
When the ATA host controller (1) 213 detects the connection of the MFP built-in HDD 210, the MFP 200 cancels all the restrictions and prohibited items described above (S111).

図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 apparatus 100 in the above configuration.
First, when a restore trigger (for example, a restore button is pressed and the timer of the RTC 113 reaches a set time) occurs in the backup / restore apparatus 100 (S201), the MFP 200 is set to a backup / restoreable mode (S202). The CPU 114 of the backup / restore apparatus 100 changes the / HOST2_DETECT signal to Low to set the output buffer of the ATA host controller (1) 213 of the MFP 200 to DISABLE (S203).
Next, the output buffer of the ATA host controller (2) 116 of the backup / restore apparatus 100 is set to ENABLE (HOST2_OE is asserted), and the HDD 300 is accessed from the backup / restore apparatus 100 (S204).

バックアップ/リストア装置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 HDD 300 via the ATA host controller (3) 117 of the backup / restore apparatus 100 (S205), and the read data is stored in a buffer on the RAM 111 (S206). When the buffer becomes full (S207, YES), writing is performed from the LBA 0 of the MFP built-in HDD 210 via the ATA host controller (2) 116 (S208).

この動作を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 HDD 210 becomes MAX (S209). When the LBA becomes MAX, that is, when the copying is completed (S209, YES), HOST2_OE is negated (inactive) and / HOST2_DETECT is set. It is negated so that the MFP built-in HDD 210 can be accessed from the ATA host controller (1) 213 of the MFP 200 (S210).
When the ATA host controller (1) 213 detects the connection of the HDD 210 with built-in MFP, the MFP 200 releases all the restrictions and prohibited items described above (S211).

以上で説明したように、バックアップ/リストア装置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 MFP 200 can be controlled by software control of the backup / restore apparatus 100, the MFP 200 can automatically access the MFP built-in HDD 210 after the backup / restore is completed. Thus, backup / restoration can be performed without removing the HDD 210 with a built-in MFP.
1 is supplied from the PATA cable 400 that connects the control right request unit 110 and the exclusive control unit 212 shown in FIG. 1 and the PATA cable 400 that connects the buffer / signal waveform shaping unit 115 and the HDD 210 with the MFP. Thus, the above backup process can be performed even when the MFP 200 is turned off.

バックアップ/リストアシステムの機能ブロック図である。It is a functional block diagram of a backup / restore system. PATAケーブルのPCにおける一般的な使用方法を説明する図である。It is a figure explaining the general usage method in PC of a PATA cable. PATAケーブルのMFPにおける一般的な使用方法を説明する図である。It is a figure explaining the general usage method in MFP of a PATA cable. PATAケーブルの本実施形態に係る使用方法を説明する図である。It is a figure explaining the usage method which concerns on this embodiment of a PATA cable. CSEL信号のPCにおける使用方法を説明する図である。It is a figure explaining the usage method in PC of a CSEL signal. ジャンパーピンを用いてHDDがマスタかスレーブかを認識する方法を説明する図である。It is a figure explaining the method to recognize whether HDD is a master or a slave using a jumper pin. CSEL信号を利用してバックアップ/リストア装置の接続の有無を認識する方法を説明する図である。It is a figure explaining the method of recognizing the presence or absence of the connection of a backup / restore apparatus using a CSEL signal. CSEL信号を利用してバックアップ/リストア装置の接続の有無を認識する方法を説明する図である。It is a figure explaining the method of recognizing the presence or absence of the connection of a backup / restore apparatus using a CSEL signal. PCからHDDに出力を行うときの参考回路図である。FIG. 3 is a reference circuit diagram when outputting from a PC to an HDD. MFP及びバックアップ/リストア装置からMFP内蔵HDDへ信号の出力を行うときの回路図である。FIG. 4 is a circuit diagram when signals are output from the MFP and the backup / restore apparatus to the MFP built-in HDD. HDDからPCへ信号の入力を行うときの参考回路図である。It is a reference circuit diagram when inputting a signal from the HDD to the PC. MFP及びバックアップ/リストア装置に対する信号入力を行うときの回路図である。FIG. 3 is a circuit diagram when inputting signals to an MFP and a backup / restore apparatus. MFP及びバックアップ/リストア装置に対する信号入力を行うときの別の回路図である。FIG. 5 is another circuit diagram when inputting signals to the MFP and the backup / restore apparatus. MFP及びバックアップ/リストア装置に対する信号入力を行うときの更に別の回路図である。FIG. 10 is still another circuit diagram when inputting signals to the MFP and the backup / restore apparatus. 双方向バッファ(LVC245)を制御するバッファ制御信号のDIR信号とOE信号について説明する図である。It is a figure explaining the DIR signal and OE signal of the buffer control signal which controls a bidirectional buffer (LVC245). OE信号線の制御回路を示す図である。It is a figure which shows the control circuit of OE signal line. バックアップ/リストア装置が/HOST2_DETECT信号のHigh/Lowの切り替えするときの信号の流れを示す図である。It is a figure which shows the signal flow when a backup / restore apparatus switches High / Low of a / HOST2_DETECT signal. バックアップ/リストア装置でデータのバックアップをとる処理を示すフロー図である。It is a flowchart which shows the process which backs up data with a backup / restore apparatus. バックアップ/リストア装置でデータのリストアを行う処理を示すフロー図である。It is a flowchart which shows the process which restores data with a backup / restore apparatus.

符号の説明Explanation of symbols

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 SYMBOLS 100 ... Backup / restoration apparatus, 110 ... Control right request means, 111, 216 ... RAM, 112, 215 ... ROM, 113 ... RTC, 114, 214 ... CPU, 115 ··· Buffer and signal waveform shaping means, 116 ... ATA host controller (2), 117 ... ATA host controller (3), 200 ... MFP, 210 ... HDD with built-in MFP, 211 ... both Direction buffer, 212 ... exclusive control means, 213 ... ATA host controller (1), 300 ... HDD, 400 ... PATA cable, 401, 402, 403 ... connection part.

Claims (5)

第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の記憶手段に書き込む処理を行うことを特徴とするバックアップ/リストア装置。
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のコントローラと第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に記載されたバックアップ/リストア装置において、
第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ないし3のいずれかに記載されたバックアップ/リストア装置と第1の装置とからなるバックアップ/リストアシステムであって、
第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の記憶手段と、第1の記憶手段を制御する第1のコントローラとを備えた第1の装置の第1の記憶手段の内容をバックアップ/リストアする方法であって、
第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:
JP2007236144A 2007-09-12 2007-09-12 Backup / restore device, backup / restore system, and backup / restore method Expired - Fee Related JP5028196B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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