JP6874190B2 - Information processing device, control method of information processing device, and program - Google Patents

Information processing device, control method of information processing device, and program Download PDF

Info

Publication number
JP6874190B2
JP6874190B2 JP2020066412A JP2020066412A JP6874190B2 JP 6874190 B2 JP6874190 B2 JP 6874190B2 JP 2020066412 A JP2020066412 A JP 2020066412A JP 2020066412 A JP2020066412 A JP 2020066412A JP 6874190 B2 JP6874190 B2 JP 6874190B2
Authority
JP
Japan
Prior art keywords
mirroring
information
memory
main board
information processing
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.)
Active
Application number
JP2020066412A
Other languages
Japanese (ja)
Other versions
JP2020123367A (en
JP2020123367A5 (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2020066412A priority Critical patent/JP6874190B2/en
Publication of JP2020123367A publication Critical patent/JP2020123367A/en
Publication of JP2020123367A5 publication Critical patent/JP2020123367A5/en
Application granted granted Critical
Publication of JP6874190B2 publication Critical patent/JP6874190B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報処理装置、情報処理装置の制御方法、及びプログラムに関するものである。 The present invention relates to an information processing device , a control method of the information processing device, and a program .

最近の情報処理装置、例えば印刷装置、特にMFP(Multi−Function Printer)においては、ハードディスク装置(Hard Disk Drive:HDD)を標準で搭載している。ハードディスク装置はメカ的な構造を持つため、半導体デバイスに比較すると信頼性が低い欠点がある。その欠点を補い、信頼性の高いストレージシステムを構築する手段としてRAID(Redundant Arrays of Independent Disks)が実施されている。RAIDには幾つかの方式を有するが、RAID−1は2台以上のHDDを用いて同時に同じ内容を書き込むことで耐障害性の高いストレージシステムを構築することができる。RAID−1は、一般的にミラーリングと呼ばれる。ここで、HDD1台での運用モードをシングル、HDD2台での運用モードをミラーリングと定義し、ミラーリング処理に必要な情報を総称してミラーリング情報と呼ぶことにする。 Recent information processing devices, for example, printing devices, particularly MFPs (Multi-Function Printers), are equipped with a hard disk device (Hard Disk Drive: HDD) as standard equipment. Since the hard disk device has a mechanical structure, it has a drawback of low reliability as compared with a semiconductor device. RAID (Redundant Arrays of Independent Disks) has been implemented as a means for compensating for the shortcomings and constructing a highly reliable storage system. Although RAID has several methods, RAID-1 can construct a highly fault-tolerant storage system by writing the same contents at the same time using two or more HDDs. RAID-1 is commonly referred to as mirroring. Here, the operation mode with one HDD is defined as single, the operation mode with two HDDs is defined as mirroring, and the information required for the mirroring process is collectively referred to as mirroring information.

ミラーリングモード運用中に発生した障害によりミラーリング情報を喪失すると、障害箇所を修復しても障害前の正常なミラーリング状態に復旧でなくなってしまう。
例えば、RAID制御−IC(Integrated Circuit)がメインボードにオンボードで搭載されていた場合に、メインボード故障によりミラーリング情報を喪失する場合がある。この場合、メインボードを交換しても故障前の正常なミラーリング状態に戻すことができない。すなわち、これはHDD内のユーザデータの少なくとも一部又は全部を喪失する可能性があることを意味する。
If mirroring information is lost due to a failure that occurs during mirroring mode operation, even if the failure location is repaired, the normal mirroring state before the failure cannot be restored.
For example, when a RAID control-IC (Integrated Circuit) is mounted on the main board onboard, mirroring information may be lost due to a failure of the main board. In this case, even if the main board is replaced, it cannot be returned to the normal mirroring state before the failure. That is, this means that at least part or all of the user data in the HDD may be lost.

ミラーリング情報をHDDに保持し運用する方法を開示する(例えば、特許文献1)特許文献1によれば、ミラーリング情報及び相手のHDD情報(シリアル番号等)を互いのHDD固定領域に多重化して記録する。運用中にミラーリング情報が更新されるとHDD固定領域内の記録情報も双方のHDDで更新される構成とする。
従って、ミラーリングモード運用中にメインボードが故障し交換された状況においてもHDD固定領域からミラーリング情報や相手のHDD情報を読み出すことで、再び故障前のミラーリング状態に復旧させることが可能となる。
According to Patent Document 1 which discloses a method of holding and operating mirroring information in an HDD (for example, Patent Document 1), the mirroring information and the other party's HDD information (serial number, etc.) are multiplexed and recorded in each other's HDD fixed area. To do. When the mirroring information is updated during operation, the recorded information in the HDD fixed area is also updated on both HDDs.
Therefore, even in a situation where the main board fails and is replaced during the mirroring mode operation, it is possible to restore the mirroring state before the failure again by reading the mirroring information and the HDD information of the other party from the HDD fixed area.

特開平3−259346号公報Japanese Unexamined Patent Publication No. 3-259346

然しながら、特許文献1ではミラーリング対象である双方のHDDに対してミラーリング情報を保持している。このため、前述したように本来ミラーリング処理の目的であるハードディスク装置の信頼性観点から不測の事態が発生すると以下の課題がある。第1に、HDD固定領域にミラーリング情報を書き込めない又は更新できない可能性がある。第2に、HDDの全領域に暗号化が施されている場合にメインボード故障によって暗号鍵を喪失すると、HDDからミラーリング情報が読み出し不能となる場合がある。
最近のMFPでは、不揮発性ストレージデバイスのセキュリティが強く問われており、暗号機能を標準で搭載することが一般的になってきている。
However, in Patent Document 1, mirroring information is held for both HDDs to be mirrored. Therefore, as described above, if an unexpected situation occurs from the viewpoint of reliability of the hard disk device, which is originally the purpose of the mirroring process, there are the following problems. First, there is a possibility that the mirroring information cannot be written or updated in the HDD fixed area. Secondly, if the entire area of the HDD is encrypted and the encryption key is lost due to a failure of the main board, the mirroring information may become unreadable from the HDD.
In recent MFPs, the security of non-volatile storage devices is strongly demanded, and it is becoming common to equip the encryption function as standard.

本発明は、上記の課題を解決するためになされたもので、本発明の目的は、メインボードが交換されても、接続される記憶手段に変更がなければ、既存のミラー情報を取得してミラーリング機能の処理を再開できる仕組みを提供することである。 The present invention has been made to solve the above problems, and an object of the present invention is to acquire existing mirror information as long as the connected storage means is not changed even if the main board is replaced. It is to provide a mechanism that can restart the processing of the mirroring function.

上記目的を達成する本発明の情報処理装置は以下に示す構成を備える。
同一のデータを複数の記憶部に対して記憶させることが可能なミラーリングを行う情報処理装置であって、複数の記憶部に対するミラーリングの構成情報を含むミラーリング情報を記憶するメインボードのメモリと、前記メインボードのメモリに記憶されたミラーリングの構成情報に基づいて、前記複数の記憶部を制御する制御手段と、前記ミラーリング情報を記憶するサブボードのメモリと、メインボードが交換されたことに基づいて、前記サブボードのメモリに記憶されたミラーリング情報を前記交換されたメインボードのメモリに記憶させる記憶制御手段と、を有し、前記制御手段は、前記交換されたメインボードのメモリに前記記憶制御手段によって記憶されたミラーリング情報に含まれるミラーリングの構成情報に基づいて、前記複数の記憶部を制御することを特徴とする。
The information processing apparatus of the present invention that achieves the above object has the following configuration.
An information processing device that performs mirroring capable of storing the same data in a plurality of storage units, and a memory of a main board that stores mirroring information including mirroring configuration information for a plurality of storage units, and the above-mentioned memory. Based on the mirroring configuration information stored in the memory of the main board, the control means for controlling the plurality of storage units, the memory of the sub board that stores the mirroring information, and the main board are replaced. The control means has a storage control means for storing the mirroring information stored in the memory of the sub-board in the memory of the exchanged main board, and the control means controls the storage in the memory of the exchanged main board. It is characterized in that the plurality of storage units are controlled based on the mirroring configuration information included in the mirroring information stored by the means.

本発明によれば、メインボードが交換されても、接続される記憶手段に変更がなければ、既存のミラー情報を取得してミラーリング機能の処理を再開できる。 According to the present invention, even if the main board is replaced, if the connected storage means is not changed, the existing mirror information can be acquired and the processing of the mirroring function can be restarted.

情報処理装置の一例を示すブロック図である。It is a block diagram which shows an example of an information processing apparatus. RAID−IF制御部の内部システム構成図である。It is an internal system block diagram of the RAID-IF control unit. 各ボート及びHDDとの接続構成を示した図である。It is a figure which showed the connection structure with each boat and HDD. 各ボートのメモリに記憶されるデータを示す図である。It is a figure which shows the data stored in the memory of each boat. 情報処理装置の制御方法を示すフローチャートである。It is a flowchart which shows the control method of an information processing apparatus. 情報処理装置の制御方法を示すフローチャートである。It is a flowchart which shows the control method of an information processing apparatus. 情報処理装置の制御方法を示すフローチャートである。It is a flowchart which shows the control method of an information processing apparatus.

次に本発明を実施するための最良の形態について図面を参照して説明する。
<システム構成の説明>
〔第1実施形態〕
Next, the best mode for carrying out the present invention will be described with reference to the drawings.
<Explanation of system configuration>
[First Embodiment]

図1は、本実施形態を示す情報処理装置の一例を示すブロック図である。なお、本実施形態の情報処理装置のメインボード上には、複数のHDD(記憶手段)に対してミラー処理を行うコントローラとして、後述するRAID−IF制御部116を備える。さらに、同メインボード上には、所定の処理を行うサブボードとして機能するボード112,114と通信するA−IF制御部111及びB−IF制御部113を備える。情報処理装置には、画像形成装置、複合画像形成装置を含む。
図1において、CPU(中央処理演算器)101は、システム制御や各種演算処理を行う。メモリ制御部102は、各種メモリデバイスへの入出力制御やDMA(ダイレクト・メモリ・アクセス)制御を行う。ROM(リード・オンリー・メモリ)103は、Flashメモリ(フラッシュメモリ)に代表されるリード専用メモリである。BIOS(Basic Input/Output System)プログラムや制御パラメータ等が格納される。Flashメモリを接続すれば、オンボードでの書き換えも可能である。
FIG. 1 is a block diagram showing an example of an information processing device showing the present embodiment. A RAID-IF control unit 116, which will be described later, is provided on the main board of the information processing apparatus of the present embodiment as a controller that performs mirror processing on a plurality of HDDs (storage means). Further, on the main board, an A-IF control unit 111 and a B-IF control unit 113 that communicate with the boards 112 and 114 that function as sub-boards that perform predetermined processing are provided. The information processing device includes an image forming device and a composite image forming device.
In FIG. 1, the CPU (Central Processing Unit) 101 performs system control and various arithmetic processes. The memory control unit 102 performs input / output control and DMA (direct memory access) control to various memory devices. The ROM (read only memory) 103 is a read-only memory typified by a flash memory (flash memory). A BIOS (Basic Input / Output System) program, control parameters, and the like are stored. If a Flash memory is connected, it can be rewritten onboard.

RAM(ランダム・アクセス・メモリ)104は、DDR(Double−Data−Rate)メモリに代表される書き換え専用メモリである。プログラムの作業領域や印刷データの格納領域等の用途に用いられる。LAN−IF制御部105は、印刷装置に接続されるローカル・エリア・ネットワーク106とのインタフェースを行う。
一般的にはTCP/IP(Transmission Control Protocol/Internet Protocol)プロトコルに対応する。ネットワークケーブルを介して外部Hostコンピュータ107などのネットワーク対応機器と接続され、ネットワーク経由でのプリントを行うことができる。また、ルーターを介してインターネットに接続することも可能である。Reader−IF制御部108は、スキャナ装置109との通信制御を行う。
The RAM (random access memory) 104 is a rewrite-only memory typified by a DDR (Double-Data-Rate) memory. It is used as a work area for programs and a storage area for print data. The LAN-IF control unit 105 interfaces with the local area network 106 connected to the printing apparatus.
Generally, it corresponds to the TCP / IP (Transmission Protocol / Internet Protocol) protocol. It is connected to a network-compatible device such as an external Host computer 107 via a network cable, and printing can be performed via the network. It is also possible to connect to the Internet via a router. The Reader-IF control unit 108 controls communication with the scanner device 109.

なお、本実施形態に示す情報処理装置では、スキャナ装置109によってスキャンした入力画像データを後述する印字部122で印字させることでコピー機能を実現する。
画像処理部110は、前記LAN−IF制御部105、Reader−IF制御部108を介して取り込んだ画像データに対して、各種画像処理を行う。パネルIF制御部119は、パネル装置120との通信制御を行う。
In the information processing apparatus shown in the present embodiment, the copy function is realized by printing the input image data scanned by the scanner apparatus 109 by the printing unit 122 described later.
The image processing unit 110 performs various image processing on the image data captured via the LAN-IF control unit 105 and the Reader-IF control unit 108. The panel IF control unit 119 controls communication with the panel device 120.

ここでは図示しないがUI(ユーザ・インタフェース)として、パネル上の液晶画面表示やボタン等を操作することにより印刷装置の各種設定及び状態の確認ができる。ビデオIF制御部121は、印字部122とのコマンド/ステータスの通信制御や印刷データの転送を行う。
印字部122は、ここでは図示しないが印刷装置本体と給紙系及び排紙系から構成され、主に前記ビデオIF制御部121からのコマンド情報に従い、印刷データを紙に印刷する。
Although not shown here, as a UI (user interface), various settings and states of the printing device can be confirmed by operating the liquid crystal screen display and buttons on the panel. The video IF control unit 121 controls command / status communication with the print unit 122 and transfers print data.
Although not shown here, the printing unit 122 includes a printing apparatus main body, a paper feeding system, and a paper ejection system, and mainly prints print data on paper in accordance with command information from the video IF control unit 121.

システムバス123は、制御バス、データバス及び任意ブロック間のローカルバスを便宜的にまとめて表現したものである。代表例としてPCIe(PCI Express)などがある。
A−IF制御部111及びB−IF制御部113は、それぞれボードA112及びボードB114との入出力制御を行う。ボードA112及びボードB114は、メインボード124と接続される任意の機能を有するボードで、最低限の条件として不揮発性記憶デバイス(例えば後述するFlashメモリ301,302)を搭載できる構成であれば特に制限はない。例えば、ボードA112はシステムのブートプログラム格納用、ボードB114は印刷装置個別の情報(個体識別データや消耗品情報など)格納用などが挙げられる。なお、Flashメモリ301,302は、第2のメモリ、第3のメモリとして機能する。
The system bus 123 is a convenient representation of the control bus, the data bus, and the local bus between arbitrary blocks. A typical example is PCIe (PCI Express).
The A-IF control unit 111 and the B-IF control unit 113 perform input / output control with the board A112 and the board B114, respectively. The board A112 and the board B114 are boards having an arbitrary function connected to the main board 124, and are particularly limited as long as they have a configuration in which a non-volatile storage device (for example, Flash memories 301 and 302 described later) can be mounted as a minimum condition. There is no. For example, the board A112 is for storing the boot program of the system, and the board B114 is for storing information (individual identification data, consumables information, etc.) of each printing device. The Flash memories 301 and 302 function as a second memory and a third memory.

コントローラとして構成されるSATA−IF制御部115は、SATA(Serial Advanced Technology Attachment)規格に準拠したIFを有するデバイスとのデータ入出力制御を行う。RAID−IF制御部116は、複数の不揮発性記憶デバイスを接続し、前記RAID処理を行う。前記不揮発性記憶デバイスとしては、HDDやSSD(Solid State Drive)などがある。 The SATA-IF control unit 115 configured as a controller performs data input / output control with a device having an IF conforming to the SATA (Serial Advanced Technology Attainment) standard. The RAID-IF control unit 116 connects a plurality of non-volatile storage devices and performs the RAID processing. Examples of the non-volatile storage device include an HDD and an SSD (Solid State Drive).

ここで、本実施形態では2台のハードディスク装置HDD117とHDD118を接続し、前記ミラーリング処理を実施することを前提とする。また、RAID−IF制御部116は、RAID制御−ICとしてメインボード124上に実装されているものとする。 Here, in this embodiment, it is premised that two hard disk devices HDD 117 and HDD 118 are connected to perform the mirroring process. Further, it is assumed that the RAID-IF control unit 116 is mounted on the main board 124 as a RAID control-IC.

図2は、図1に示したRAID−IF制御部116の内部システム構成図である。本実施形態では、SATA−IF制御部115とHDD117及び118の間に位置し、SATA−SATAブリッジ構成を前提条件として説明を行う。
図2において、CPU(中央処理演算器)201は、システム制御や各種演算処理を行う。メモリ制御部202は、各種メモリデバイスへの入出力制御やDMA(ダイレクト・メモリ・アクセス)制御を行う。
FIG. 2 is an internal system configuration diagram of the RAID-IF control unit 116 shown in FIG. In this embodiment, it is located between the SATA-IF control unit 115 and the HDDs 117 and 118, and the description will be made on the precondition of the SATA-SATA bridge configuration.
In FIG. 2, the CPU (Central Processing Unit) 201 performs system control and various arithmetic processes. The memory control unit 202 performs input / output control and DMA (direct memory access) control to various memory devices.

Flashメモリ203は、書き換え可能な不揮発性メモリである。RAID制御プログラムや暗号/復号化プログラム及び制御パラメータ等が格納される。RAM204は、書き換え可能で高速にアクセスできる揮発性メモリである。Flashメモリ203に格納されたプログラムの一部のコピー領域や作業領域、データのバッファ領域として用いられる。SATA−Device制御部205は、SATA−IF制御部115(以下ホストと呼ぶ)とSATA規格に準拠したインタフェースSATA−IF206とで接続され、ホストからのデータ入出力要求に対する処理を行う。 The Flash memory 203 is a rewritable non-volatile memory. A RAID control program, an encryption / decryption program, control parameters, and the like are stored. The RAM 204 is a volatile memory that is rewritable and can be accessed at high speed. It is used as a copy area, a work area, and a data buffer area of a part of the program stored in the Flash memory 203. The SATA-Device control unit 205 is connected to the SATA-IF control unit 115 (hereinafter referred to as a host) by an interface SATA-IF206 conforming to the SATA standard, and processes a data input / output request from the host.

SATA−Host制御部207は、ハードディスク装置HDD117及びHDD118とSATA−IF208、209とで接続し、ミラーリング制御を実施する。暗号/復号化部210は、ホストからの書き込みデータ要求に対しては暗号化処理、読み出しデータ要求に対しては復号化処理を行う。暗号アルゴリズムとしては、共通鍵暗号方式を代表するAES(Advanced Encryption Standard)などがある。システムバス211は、制御バス、データバス及び任意ブロック間のローカルバスを便宜的にまとめて表現したものである。 The SATA-Host control unit 207 connects the hard disk devices HDD 117 and HDD 118 with the SATA-IF 208 and 209 to perform mirroring control. The encryption / decryption unit 210 performs an encryption process for a write data request from the host and a decryption process for a read data request. Examples of the encryption algorithm include AES (Advanced Encryption Standard), which represents a common key cryptosystem. The system bus 211 is a convenient representation of the control bus, the data bus, and the local bus between arbitrary blocks.

図3は、図1に示した各ボート及びHDDとの接続構成を示した図である。本実施形態における接続関係と各ボードの役割定義について説明する。 FIG. 3 is a diagram showing a connection configuration with each boat and HDD shown in FIG. The connection relationship and the role definition of each board in this embodiment will be described.

図3において、メインボード124上にRAID−IF制御部(RAID制御−IC)116がオンボードで実装され、HDD117、118が接続されている。また、RAID−IF制御部116はFlashメモリ203を内蔵している。ここではICの内部にFlashメモリ203を内蔵する形態として図示しているが、当然ながらICの外部に、第1のメモリとしてFlashメモリ203を外部メモリとして接続する形態であっても構わない。RAID−IF制御部116は、前記2台のHDDに対してミラーリング処理を実施している。 In FIG. 3, a RAID-IF control unit (RAID control-IC) 116 is mounted on the main board 124 on-board, and HDDs 117 and 118 are connected to the main board 124. Further, the RAID-IF control unit 116 has a built-in Flash memory 203. Here, the flash memory 203 is shown inside the IC, but of course, the flash memory 203 may be connected to the outside of the IC as a first memory as an external memory. The RAID-IF control unit 116 performs mirroring processing on the two HDDs.

ここで、ミラーリング処理について説明する。
本実施形態に示すように複数の記憶手段、例えば2台のHDDを用いたミラーリングの例では、一方をマスター・他方をバックアップとし、リード処理時はマスターHDDから読み出され、ライト処理時は双方のHDDへ書き込まれる。また、ミラーリング処理のステートとしては、基本的に4つのステートを持っているのが一般的である。
Here, the mirroring process will be described.
As shown in this embodiment, in the example of mirroring using a plurality of storage means, for example, two HDDs, one is used as a master and the other is used as a backup, which is read from the master HDD during read processing and both during write processing. It is written to the HDD of. In addition, as the mirroring processing state, it is common to basically have four states.

2台のHDDが正常に運用されているミラー・ステート、1台のHDDが故障して正常なHDDをマスターとして運用を継続しているデグレード・ステートがある。さらに、デグレード・ステートにおいて故障HDDから交換されたバックアップHDDに対してマスターからコピー処理を行うリビルド・ステートがある。さらに、2台のHDDが何らかのトラブルでアクセス不能状態であるホールト・ステートの4つの状態が存在する。 There is a mirror state in which two HDDs are operating normally, and a degraded state in which one HDD fails and continues to operate with the normal HDD as the master. Further, there is a rebuild state in which the backup HDD replaced from the failed HDD is copied from the master in the degraded state. Further, there are four states of the halt state in which the two HDDs are inaccessible due to some trouble.

ミラーリング情報の具体的内容としては、前記モード情報、マスターの位置情報、ステート情報等を含んだものである。また、ミラーリングモード運用中に前記ミラーリング情報やHDDシリアル番号は不定期に更新される可能性がある。 The specific contents of the mirroring information include the mode information, master position information, state information, and the like. In addition, the mirroring information and the HDD serial number may be updated irregularly during the mirroring mode operation.

RAID−IF制御部116はミラーリング処理に必要なパラメータをFlashメモリ203に保持している。また、メインボード124のCPU101は、RAID−IF制御部116内部のFlashメモリ203に保持されている各種データの読み出し及び書き込みができる。ここで、RAID−IF制御部116内部のFlashメモリ203の内容をCPU101から読み出し及び書き込みができる構造を説明する。 The RAID-IF control unit 116 holds the parameters required for the mirroring process in the Flash memory 203. Further, the CPU 101 of the main board 124 can read and write various data stored in the Flash memory 203 inside the RAID-IF control unit 116. Here, a structure capable of reading and writing the contents of the Flash memory 203 inside the RAID-IF control unit 116 from the CPU 101 will be described.

ここでは図示しないが、メインボード124のCPU101とRAID−IF制御部116内部のCPU201間では、双方が認識可能なライト系及びリード系拡張コマンドを定義している。Flashメモリ203への書き込みを行いたい場合にCPU101は、ライト系拡張コマンド及びそれに付随する書き込みデータをSATA−IF206を介してCPU201に送信する。書き込みデータを受信したCPU201は、拡張コマンドに対応するFlashメモリ203の所定の位置へ受信データを書き込む。 Although not shown here, a write system extension command and a read system extension command that can be recognized by both are defined between the CPU 101 of the main board 124 and the CPU 201 inside the RAID-IF control unit 116. When it is desired to write to the Flash memory 203, the CPU 101 transmits a write system extension command and write data associated therewith to the CPU 201 via SATA-IF206. The CPU 201 that has received the write data writes the received data to a predetermined position in the Flash memory 203 corresponding to the extended command.

Flashメモリ203から読み出しを行いたい場合にCPU101は、リード系拡張コマンドをSATA−IF206を介してCPU201に送信する。読み出し要求を受信したCPU201は、拡張コマンドに対応するFlashメモリ203の所定の位置から所望のデータを読み出し、リード系拡張コマンドに対するステータスとして読み出したデータをSATA−IF206を介してCPU101へ送信する。以後の説明では冗長性を避けるためにCPU101は、RAID−IF制御部116内部のFlashメモリ203に対して単に読み出す又は書き込むと表現する。 When it is desired to read from the Flash memory 203, the CPU 101 transmits a read system expansion command to the CPU 201 via SATA-IF206. Upon receiving the read request, the CPU 201 reads desired data from a predetermined position in the Flash memory 203 corresponding to the expansion command, and transmits the read data as a status for the read system expansion command to the CPU 101 via SATA-IF206. In the following description, in order to avoid redundancy, the CPU 101 simply reads or writes to the Flash memory 203 inside the RAID-IF control unit 116.

ボードA112にはFlashメモリ301が搭載され、A−IF制御部111を介してメインボード124から読み出し及び書き込みが可能である。メインボード124のCPU101は、前記Flashメモリ203から読み出した各種データをボードA112のFlashメモリ301に書き込み処理を行い、メインボード124故障時の復旧データ303として保持できる。 A Flash memory 301 is mounted on the board A112, and can be read and written from the main board 124 via the A-IF control unit 111. The CPU 101 of the main board 124 can write various data read from the Flash memory 203 to the Flash memory 301 of the board A112 and hold the data as recovery data 303 when the main board 124 fails.

同様にボードB114にもFlashメモリ302が搭載され、B−IF制御部113を介してメインボード124から読み出し及び書き込みが可能である。メインボード124のCPU101は、印刷装置本体の固有(個体別)データをボードB114のFlashメモリ302に書き込み処理を行い、格納することができる。 Similarly, the flash memory 302 is also mounted on the board B 114, and can be read and written from the main board 124 via the B-IF control unit 113. The CPU 101 of the main board 124 can write and store the unique (individual) data of the printing apparatus main body in the Flash memory 302 of the board B114.

さらに、図4を用いて前記Flashメモリ203、301、302に格納されるデータの詳細を説明する。
図4の(a)は、RAID制御部116に内蔵されるFlashメモリ203に書込まれるパラメータリストである。上からモード情報401は、前記運用モードがシングル(HDD1台)かミラーリング(HDD2台)での運用かを示す。ステート情報402は、ミラー処理を特定するミラー情報として、4つのステート(ミラー/デグレード/リビルド/ホールト)の何れの内部状態にいるのかを示す。
Further, the details of the data stored in the Flash memories 203, 301, and 302 will be described with reference to FIG.
FIG. 4A is a parameter list written in the Flash memory 203 built in the RAID control unit 116. From the top, the mode information 401 indicates whether the operation mode is single (one HDD) or mirroring (two HDDs). The state information 402 indicates which of the four states (mirror / deteriorate / rebuild / halt) is in the internal state as the mirror information that specifies the mirror processing.

マスター位置情報403は、2個のハードディスク装置が接続されるSATAポートA/Bの内、どちらのポートがマスター位置であるのかを示す。シリアルA404、シリアルB405は、それぞれのHDDから取得したHDDシリアル番号を示す。本実施形態では、シリアルA404をHDD117、シリアルB 405をHDD118に割り当てることにする。個体識別データ406は、RAID制御部116のIC個体別に固有の識別データを示す。暗号フラグ407は、暗号機能OFF/ONの制御フラグである。暗号フラグ407は、メインボード124のCPU101によって設定することができる。なお、その他408は、上記以外の格納データもあることを示す。 The master position information 403 indicates which of the SATA ports A / B to which the two hard disk devices are connected is the master position. Serial A404 and serial B405 indicate HDD serial numbers obtained from the respective HDDs. In the present embodiment, the serial A404 is assigned to the HDD 117 and the serial B 405 is assigned to the HDD 118. The individual identification data 406 indicates identification data unique to each IC individual of the RAID control unit 116. The encryption flag 407 is a control flag for turning the encryption function OFF / ON. The encryption flag 407 can be set by the CPU 101 of the main board 124. In addition, other 408 indicates that there is also stored data other than the above.

図4の(b)は、ボードA112に搭載されるFlashメモリ301に格納される復旧データ303のパラメータリストである。Flashメモリ301の内容409〜413及び416までの説明は、Flashメモリ203の401〜405及び408での説明と同じ内容であるので説明を省略する。 FIG. 4B is a parameter list of the recovery data 303 stored in the Flash memory 301 mounted on the board A112. The description of the contents 409 to 413 and 416 of the flash memory 301 is the same as the description of the flash memory 203 in 401 to 405 and 408, and thus the description thereof will be omitted.

RAID制御部のFlashメモリ203に保持されている401〜405までの情報は、Flashメモリ301の409〜413に復旧データ303としてバックアップされている。なお、Flashメモリ203及び301のどちらの情報かを明示するために同一名称のパラメータは、Flashメモリ301側を名称の最後に"P"、Flashメモリ203側は"Q"を付加して区別することに取り決める。判別データX415は、ミラーリング情報をRAID制御部116にリストア処理するか否かの判定条件に用いるためのデータである。詳細は後述別図で説明する。 The information from 401 to 405 stored in the Flash memory 203 of the RAID control unit is backed up as the recovery data 303 in the Flash memory 301 409 to 413. In order to clearly indicate which information is Flash memory 203 or 301, the parameters having the same name are distinguished by adding "P" to the end of the name on the Flash memory 301 side and "Q" on the Flash memory 203 side. Arrange for that. The determination data X415 is data for being used as a determination condition for whether or not to restore the mirroring information to the RAID control unit 116. Details will be described later in a separate figure.

図4の(c)は、ボードB114に搭載されるFlashメモリ302に格納されるパラメータリストである。本体識別データ417には、印刷装置本体を個別に識別可能な本体識別情報が格納されている。その他418には、消耗品情報など個体別に固有な情報が記録されている。 FIG. 4C is a parameter list stored in the Flash memory 302 mounted on the board B114. The main body identification data 417 stores the main body identification information that can individually identify the main body of the printing apparatus. In the other 418, information unique to each individual such as consumables information is recorded.

続いて、ミラーリングモードで運用中にメインボード124が故障し、交換された後に処理されるミラーリング情報のリストア処理について説明する。
図5は、本実施形態を示す情報処理装置の制御方法を示すフローチャートである。本例は、ミラーリング情報のRAID制御部116へのリストア処理例である。なお、各ステップは、CPU101が記憶された制御プログラムを実行することで実現される。
Subsequently, the restoration process of the mirroring information processed after the main board 124 fails and is replaced during the operation in the mirroring mode will be described.
FIG. 5 is a flowchart showing a control method of the information processing apparatus showing the present embodiment. This example is an example of restoration processing of mirroring information to the RAID control unit 116. Each step is realized by executing the control program stored in the CPU 101.

S501において、印刷装置の電源ON後、CPU101は、初回の起動かどうかの判定を行う。ここで、初回の起動であるとCPU101が判断した場合には、S502に処理を進める。S502において、CPU101は、初期化処理を実行する。本実施形態において、初期化処理とは、新品のメインボードにシステムをインストールする作業であり、基本的に出荷時やメインボード交換時の初回のみ実行される。初期化処理の詳細説明については省略するが、前提条件として印刷装置の運用モードは、ミラーリングモードでの運用であるとする。 In S501, after the power of the printing apparatus is turned on, the CPU 101 determines whether or not the printing device is started for the first time. Here, if the CPU 101 determines that it is the first start, the process proceeds to S502. In S502, the CPU 101 executes the initialization process. In the present embodiment, the initialization process is a work of installing the system on a new main board, and is basically executed only for the first time at the time of shipment or at the time of replacing the main board. Although detailed description of the initialization process is omitted, it is assumed that the operation mode of the printing apparatus is the mirroring mode as a prerequisite.

一方、S501で、初回の起動でないとCPU101が判断した場合及びS502での初期化処理完了後に、CPU101は、S503に処理を進める。S503において、CPU101は、ボードA112からミラーリング情報P409〜411と、RAID制御部116からミラーリング情報Q401〜403の読み出し処理を実施する。
S504において、CPU101は、ミラーリング情報の一つであるモード情報(P、Q)409、401の比較を行い、ミラーリングモードが一致するかどうかを判断する。ここで、ミラーリングモードが一致するとCPU101が判断した場合、S509に進み、ミラーリングモードでの運用を開始する。一方、S504で、ミラーリングモードが一致しないとCPU101が判断した場合、S505に処理を進める。
On the other hand, when the CPU 101 determines in S501 that it is not the first start, and after the initialization process in S502 is completed, the CPU 101 proceeds to the process in S503. In S503, the CPU 101 reads out the mirroring information P409 to 411 from the board A112 and the mirroring information Q401 to 403 from the RAID control unit 116.
In S504, the CPU 101 compares the mode information (P, Q) 409 and 401, which is one of the mirroring information, and determines whether or not the mirroring modes match. Here, when the CPU 101 determines that the mirroring modes match, the process proceeds to S509 and the operation in the mirroring mode is started. On the other hand, if the CPU 101 determines in S504 that the mirroring modes do not match, the process proceeds to S505.

なお、RAID制御部116のモード初期値はシングルモードとする。既にミラーリングモード運用中にメインボード124が故障し交換された場合、RAID制御部116のモードはシングルであるが、ボードA112に保持されているモード情報はミラーリングである。
従って、S504の比較結果がNOであると判断された場合、メインボード124が交換されたことを意味している。
The initial mode value of the RAID control unit 116 is the single mode. If the main board 124 fails and is replaced during the mirroring mode operation, the mode of the RAID control unit 116 is single, but the mode information held in the board A112 is mirroring.
Therefore, if the comparison result of S504 is determined to be NO, it means that the main board 124 has been replaced.

S505において、CPU101は、ボードA112のHDDシリアル番号P412、413とRAID制御部116のHDDシリアル番号Q404、405の読み出し処理を実行する。S506において、CPU101は、HDDシリアル番号(P、Q)の比較を行い、HDDシリアル番号が一致するかどうかを判断する。ここで、HDDシリアル番号が一致するとCPU101が判断した場合、S507に処理を進める。S507において、CPU101は、RAID制御部116のモードをシングルからミラーリングモードに設定し、S508に処理を進める。 In S505, the CPU 101 executes reading processing of the HDD serial numbers P412 and 413 of the board A112 and the HDD serial numbers Q404 and 405 of the RAID control unit 116. In S506, the CPU 101 compares the HDD serial numbers (P, Q) and determines whether or not the HDD serial numbers match. Here, if the CPU 101 determines that the HDD serial numbers match, the process proceeds to S507. In S507, the CPU 101 sets the mode of the RAID control unit 116 from the single mode to the mirroring mode, and proceeds to the process in S508.

ここで、RAID制御部116はミラーリングモードを認識すると、HDD117及びHDD118からHDDシリアル番号Q404、405を取得し、Flashメモリ203の所定の位置に保存する。 Here, when the RAID control unit 116 recognizes the mirroring mode, it acquires the HDD serial numbers Q404 and 405 from the HDD 117 and the HDD 118 and stores them in a predetermined position of the flash memory 203.

S508において、CPU101は、ボードA112に保持されたミラーリング情報P409〜411をRAID制御部116にリストア処理を実行する。ここで、リストア処理について具体的に説明する。
CPU101は、ボードA112から読み出したミラーリング情報P409〜411を前記ライト系拡張コマンドとして定義されたリストア処理コマンドに付随してCPU201へ送信する。
In S508, the CPU 101 restores the mirroring information P409 to 411 held on the board A112 to the RAID control unit 116. Here, the restore process will be specifically described.
The CPU 101 transmits the mirroring information P409 to 411 read from the board A112 to the CPU 201 in association with the restore processing command defined as the write extension command.

そして、リストア処理コマンドを受信したCPU201は、予め指定されたFlashメモリ203の位置にミラーリング情報PQ401〜403として書き込み処理を実行する。
以後、CPU201は更新されたミラーリングQ401〜403を用いてミラーリング処理を開始する。上記リストア処理を完了するとS509に処理を進め、ミラーリングモードでの運用を開始する。
Then, the CPU 201 that has received the restore processing command executes the writing process as the mirroring information PQ401 to 403 at the position of the Flash memory 203 designated in advance.
After that, the CPU 201 starts the mirroring process using the updated mirroring Q401 to 403. When the above restore process is completed, the process proceeds to S509 and the operation in the mirroring mode is started.

一方、S506で、HDDシリアル番号が一致しないとCPU101が判断した場合には、S510に処理を進める。S510において、CPU101は、エラー処理を実行する。以下、エラー処理の概要を説明する。
S506の比較結果がNOである場合とは、メインボード交換と同時に故障以前に接続されていたHDDの片方又は両方も交換されたことを意味する。それが意図的になされたのか、そうでないのかはもはやプログラムでは判定できない。
On the other hand, if the CPU 101 determines in S506 that the HDD serial numbers do not match, the process proceeds to S510. In S510, the CPU 101 executes error processing. The outline of error handling will be described below.
When the comparison result of S506 is NO, it means that one or both of the HDDs connected before the failure were replaced at the same time as the main board was replaced. The program can no longer determine if it was done intentionally or not.

従って、CPU101はエラー内容をUIであるパネル装置120に表示し、管理者又はサービスマン等の人間系による判断を行う。
このため、S511では、操作者が継続可能かどうかの判断を行い、その結果をUIで受付て、受け付けた内容が継続可能であるとCPU101が判断した場合にはS509へ進む。そして、S509でミラーリングモードで運用を開始し、NOである場合にはエラーとして印刷装置の運用を停止する。
Therefore, the CPU 101 displays the error content on the panel device 120, which is a UI, and makes a judgment by a human system such as an administrator or a serviceman.
Therefore, in S511, the operator determines whether or not the continuation is possible, receives the result on the UI, and if the CPU 101 determines that the accepted content can be continued, the process proceeds to S509. Then, in S509, the operation is started in the mirroring mode, and if NO, the operation of the printing apparatus is stopped as an error.

例えば、故障前のミラーリング状態がデグレードであった場合に、故障によるメインボード124交換と、同時に故障していたHDDも交換したような場合にはデグレードをリビルドにステート遷移させて、通常運用を開始することが可能である。 For example, if the mirroring state before the failure was degraded, the main board 124 was replaced due to the failure, and if the failed HDD was also replaced at the same time, the degraded state was changed to rebuild and normal operation was started. It is possible to do.

次にミラーリング情報のバックアップ処理について説明する。
図6は、本実施形態を示す情報処理装置の制御方法を示すフローチャートである。本例は、ミラーリング情報のバックアップ処理例である。なお、各ステップは、CPU101が記憶された制御プログラムを実行することで実現される。
S601において、CPU101は、ミラーリングモードで正常運用中であるかどうかの判断を行う。S601で、ミラーリングモードで正常運用中であるとCPU101が判断した場合には、S602に処理を進める。S602において、CPU101は、所定のポーリング時間経過しているかどうかの判断を行う。ここで、ポーリング時間(例えば5秒)は予め設定されているものとする。
Next, the backup process of the mirroring information will be described.
FIG. 6 is a flowchart showing a control method of the information processing apparatus showing the present embodiment. This example is an example of backup processing of mirroring information. Each step is realized by executing the control program stored in the CPU 101.
In S601, the CPU 101 determines whether or not the mirroring mode is in normal operation. If the CPU 101 determines in S601 that the mirroring mode is operating normally, the process proceeds to S602. In S602, the CPU 101 determines whether or not a predetermined polling time has elapsed. Here, it is assumed that the polling time (for example, 5 seconds) is set in advance.

S602の判定で、所定のポーリング時間経過していないと判断した場合には、再びS
601に処理を戻す。
一方、S602で、所定のポーリング時間経過しているとCPU101が判断した場合には、S603に処理を進める。S603において、CPU101は、ボードA112からのミラーリング情報P409〜P411を読み出す処理を実行する。さらに、CPU101は、HDDシリアル番号P412、P413とRAID制御部116からのミラーリング情報Q401〜Q403を読み出す処理を実行する。さらに、CPU101は、HDDシリアル番号Q404、Q405の読み出し処理を実行し、S604に処理を進める。
S604において、CPU101は、読み出されたミラーリング情報(P、Q)及びHDDシリアル番号(P、Q)のそれぞれに対して比較して一致しているかどうかを判断する。
If it is determined in the determination of S602 that the predetermined polling time has not elapsed, S again.
Return the process to 601.
On the other hand, if the CPU 101 determines in S602 that the predetermined polling time has elapsed, the process proceeds to S603. In S603, the CPU 101 executes a process of reading the mirroring information P409 to P411 from the board A112. Further, the CPU 101 executes a process of reading the mirroring information Q401 to Q403 from the HDD serial numbers P412 and P413 and the RAID control unit 116. Further, the CPU 101 executes a read process of the HDD serial numbers Q404 and Q405, and proceeds to S604.
In S604, the CPU 101 compares each of the read mirroring information (P, Q) and the HDD serial number (P, Q) and determines whether or not they match.

S604で、読み出されたミラーリング情報(P、Q)及びHDDシリアル番号(P、Q)のそれぞれに対して比較して一致しているとCPU101が判断した場合には、再びS601に処理を戻す。
一方、S604で、読み出されたミラーリング情報(P、Q)及びHDDシリアル番号(P、Q)のそれぞれに対して比較して一致していないとCPU101が判断した場合には、S605に処理を進める。
S605において、CPU101は、RAID制御部116から読み出されたミラーリング情報QP409〜P411をボードA112に搭載されるFlash301の所定の位置の情報を更新(バックアップ処理)する。さらに、CPU101は、HDDシリアル番号QP412、P413として、ボードA112に搭載されるFlash301の所定の位置の情報を更新(バックアップ処理)し、再びS601に処理を戻す。
一方、S601で、ミラーリングモードで正常運用中でないとCPU101が判断した場合、ポーリング処理を中断する。例えば、印刷装置が省電力モードに移行し、ハードディスク装置へのアクセスを一時休止しているような場合がこれに当たる。
If the CPU 101 determines in S604 that the read mirroring information (P, Q) and the HDD serial number (P, Q) are in agreement with each other, the process is returned to S601 again. ..
On the other hand, if the CPU 101 determines in S604 that the read mirroring information (P, Q) and the HDD serial number (P, Q) do not match with each other, the process is performed in S605. Proceed.
In S605, the CPU 101 updates (backups) the information at a predetermined position of the Flash 301 mounted on the board A112 with the mirroring information QP409 to P411 read from the RAID control unit 116. Further, the CPU 101 updates (backup processing) the information at a predetermined position of the Flash 301 mounted on the board A112 as the HDD serial numbers QP412 and P413, and returns the processing to S601 again.
On the other hand, in S601, when the CPU 101 determines that the mirroring mode is not in normal operation, the polling process is interrupted. For example, this is the case when the printing device shifts to the power saving mode and the access to the hard disk device is suspended.

前述したようにミラーリング情報やHDDシリアル番号は、ミラーリングモード運用中に不定期に更新される可能性がある。そこで、S601〜S605のバックアップ処理フローを実行することによって、例えばポーリング時間=5秒に1回最新のミラーリング情報及びHDDシリアル番号に更新されることになる。従って、図5で説明したリストア処理では、最新の情報がRAID制御部116にリストアされ、故障前のミラーリング状態に復帰させることが可能となる。なお、ポーリング時間(=5秒)の間隔にたまたま故障する確率は非常に低いと考えられる。また、ポーリング間隔を短くすることで前記確率を無視できる程度に近づけることが可能である。 As described above, the mirroring information and the HDD serial number may be updated irregularly during the mirroring mode operation. Therefore, by executing the backup processing flow of S601 to S605, the latest mirroring information and the HDD serial number are updated once every 5 seconds, for example, polling time. Therefore, in the restore process described with reference to FIG. 5, the latest information is restored to the RAID control unit 116, and it is possible to restore the mirroring state before the failure. It is considered that the probability of failure by chance at the interval of polling time (= 5 seconds) is very low. Further, by shortening the polling interval, it is possible to approach the probability to a negligible level.

〔第2実施形態〕
本実施形態では、暗号化を伴うミラーリング処理において安全、且つ確実に故障前のミラーリング状態に復旧できる方法を説明する。
[Second Embodiment]
In the present embodiment, a method that can safely and surely restore the mirroring state before the failure in the mirroring process involving encryption will be described.

図7は、本実施形態を示す情報処理装置の制御方法を示すフローチャートである。本例は、RAID制御部116の暗号機能を有効にして運用中にメインボード交換が発生したケースに対するミラーリング情報のリストア処理例である。なお、各ステップは、CPU101が記憶された制御プログラムを実行することで実現される。なお、前提条件として、印刷装置は暗号機能を有効(ON)にしてミラーリングモードで運用するものとする。また、RAID制御部116の初期状態では、暗号機能は無効(OFF)とする。 FIG. 7 is a flowchart showing a control method of the information processing apparatus showing the present embodiment. This example is an example of restoration processing of mirroring information for a case where the main board is replaced during operation with the encryption function of the RAID control unit 116 enabled. Each step is realized by executing the control program stored in the CPU 101. As a prerequisite, the printing device shall be operated in the mirroring mode with the encryption function enabled (ON). Further, in the initial state of the RAID control unit 116, the encryption function is disabled (OFF).

S701において、CPU101は、RAID制御部116から暗号化フラグ407の読み出し処理を実行し、S702の処理に進める。S702において、CPU101は、暗号機能が有効か無効かの判断を行う。S702において、暗号機能無効(NO)であるとCPU101が判断した場合には、S703に処理を進める。S703において、CPU101は、RAID制御部116の暗号機能を有効に設定し、S704に処理を進める。 In S701, the CPU 101 executes the read processing of the encryption flag 407 from the RAID control unit 116, and proceeds to the processing of S702. In S702, the CPU 101 determines whether the encryption function is valid or invalid. If the CPU 101 determines in S702 that the encryption function is invalid (NO), the process proceeds to S703. In S703, the CPU 101 effectively sets the encryption function of the RAID control unit 116, and proceeds to the process in S704.

ここで、暗号機能が有効に設定されたRAID制御部116では、CPU201が所定のフローを実行して個別識別データQ406を生成する。個別識別データQ406は、物理乱数から生成される固定サイズのランダムなビット列であり、RAID制御−IC個体別に固有な値を持つ。各RAID制御−ICは、個別識別データQ406を元に暗号鍵を生成し、データに対する暗号及び復号化処理を実施する。 Here, in the RAID control unit 116 in which the encryption function is enabled, the CPU 201 executes a predetermined flow to generate the individual identification data Q406. The individual identification data Q406 is a fixed-size random bit string generated from physical random numbers, and has a unique value for each RAID control-IC individual. Each RAID control-IC generates an encryption key based on the individual identification data Q406, and performs encryption and decryption processing on the data.

S704において、CPU101は、ボードA112からRAID制御部個別識別データP414の読み出し処理を実行し、S705に処理を進める。S705において、CPU101は、個別識別データP414の値が初期値(例えばALL−F(特定値))かどうかの判断を行う。ここで、固体識別情報の一例である個別識別データP414の値が初期値であるとCPU101が判断した場合は、個別識別データQ406のバックアップ処理を開始する。S706において、CPU101は、RAID制御部116から個別識別データQ406の読み出し処理を実行し、S707に処理を進める。 In S704, the CPU 101 executes a read process of the RAID control unit individual identification data P414 from the board A112, and proceeds to the process in S705. In S705, the CPU 101 determines whether or not the value of the individual identification data P414 is an initial value (for example, ALL-F (specific value)). Here, when the CPU 101 determines that the value of the individual identification data P414, which is an example of the individual identification information, is the initial value, the backup process of the individual identification data Q406 is started. In S706, the CPU 101 executes the reading process of the individual identification data Q406 from the RAID control unit 116, and proceeds to the process in S707.

S707において、CPU101は、ボードB114から本体識別データ417の読み出し処理を実行し、S708に処理を進める。S708において、CPU101は、前記個別識別データQ406と本体識別データ417から判別データX415の算出を行う。ここで、判別データX415とは、印刷装置本体とRAID制御部−ICを1対1に紐づけするための判別手段である。ここで、判別データX415は、例えば印刷装置の固有値である本体識別データ417とRAID制御−ICの固有値である個別識別データQ406とを結合して、それのハッシュ値を計算して生成される。 In S707, the CPU 101 executes the reading process of the main body identification data 417 from the board B114, and proceeds to the process in S708. In S708, the CPU 101 calculates the discrimination data X415 from the individual identification data Q406 and the main body identification data 417. Here, the discrimination data X415 is a discrimination means for associating the printing apparatus main body and the RAID control unit-IC on a one-to-one basis. Here, the discrimination data X415 is generated by combining, for example, the main body identification data 417 which is an eigenvalue of the printing apparatus and the individual identification data Q406 which is an eigenvalue of the RAID control-IC, and calculating the hash value thereof.

S709において、CPU101は、個別識別データQ406P414として、及び前記算出した判別データX415をボードA112に搭載されるFlashメモリ301の所定の位置に保存し、S716に処理を進める。
S716において、CPU101は、図5で既に説明したS501〜S510のリストア処理フローが実行することでミラーリングモードでの運用を開始する。
In S709, the CPU 101 saves the calculated discrimination data X415 as the individual identification data Q406P414 at a predetermined position of the Flash memory 301 mounted on the board A112, and proceeds to the process in S716.
In S716, the CPU 101 starts the operation in the mirroring mode by executing the restore processing flow of S501 to S510 already described with reference to FIG.

一方、S705で、個別識別データP414の値が初期値でないとCPU101が判断した場合は、既に暗号機能を有効状態で運用中であり、メインボードが新たに交換されたと判断して、個別識別データP414のリストア処理を開始する。S710において、CPU101は、RAID制御部116に対して個別識別データPQ406としてリストア処理を実行する。リストア処理は、前記ミラーリング情報のリストア時と同様にリストア処理コマンドをCPU201へ送信することでRAID制御部116内部のFlashメモリ203の所定の位置が更新される。S716においてCPU101は、ミラーリング情報のリストア処理フローを実行しミラーリングモードでの運用を開始する。 On the other hand, in S705, when the CPU 101 determines that the value of the individual identification data P414 is not the initial value, it is determined that the encryption function is already in operation and the main board has been newly replaced, and the individual identification data The restore process of P414 is started. In S710, the CPU 101 executes a restore process as the individual identification data PQ406 for the RAID control unit 116. In the restore process, the predetermined position of the Flash memory 203 inside the RAID control unit 116 is updated by transmitting the restore process command to the CPU 201 in the same manner as when restoring the mirroring information. In S716, the CPU 101 executes the restoration processing flow of the mirroring information and starts the operation in the mirroring mode.

、一方、S702の判定において暗号機能有効(YES)であるとCPU101が判断した場合には、メインボード交換以外の異常状態が発生していないかをチェックするためにS711〜S715、S718の処理を行う。
S711において、CPU101は、ボードB114から本体識別データ417の読み出し処理を実行し、S712へ処理を進める。S712におい、CPU101は、RAID制御部116から個別識別データQ406の読み出し処理を実行し、S713へ処理を進める。S713において、CPU101は、前記本体識別データ417と個別識別データQ406から判別データYの算出を行う。なお、判別データYの算出方法についてはS708の説明と同様なので省略する。
On the other hand, when the CPU 101 determines that the encryption function is valid (YES) in the determination of S702, the processes of S711 to S715 and S718 are performed in order to check whether an abnormal state other than the main board replacement has occurred. Do.
In S711, the CPU 101 executes the reading process of the main body identification data 417 from the board B114, and proceeds to the process to S712. In S712, the CPU 101 executes the reading process of the individual identification data Q406 from the RAID control unit 116, and proceeds to the process to S713. In S713, the CPU 101 calculates the discrimination data Y from the main body identification data 417 and the individual identification data Q406. Since the method of calculating the discrimination data Y is the same as the description of S708, it will be omitted.

S714において、CPU101は、ボードA112から判別データX415の読み出し処理を実行し、S715へ処理を進める。S715において、CPU101は、判別データ(X、Y)が一致するかどうかを判断する。S715で、判別データ(X、Y)が一致するとCPU101が判断した場合には、S716に処理を進める。
S716において、CPU101は、ミラーリング情報のリストア処理フローを実行しミラーリングモードでの運用を開始する。
一方、S715で、判別データ(X、Y)が一致しないとCPU101が判断した場合、RAID制御部116に何らかの故障が発生した場合が想定される。また、悪意者が故意にRAIDシステムを別の印刷装置に接続しHDD内データを盗聴しようとしているかなどが想定される。そこで、S715でNOと判断された場合、S718で、CPU101は、所定のエラー処理を行い、ミラーリングモードでの運用を停止する。
In S714, the CPU 101 executes the reading process of the discrimination data X415 from the board A112, and proceeds to the process to S715. In S715, the CPU 101 determines whether or not the discrimination data (X, Y) match. If the CPU 101 determines in S715 that the discrimination data (X, Y) match, the process proceeds to S716.
In S716, the CPU 101 executes the restoration processing flow of the mirroring information and starts the operation in the mirroring mode.
On the other hand, if the CPU 101 determines in S715 that the discrimination data (X, Y) do not match, it is assumed that some kind of failure has occurred in the RAID control unit 116. Further, it is assumed that a malicious person intentionally connects the RAID system to another printing device and tries to eavesdrop on the data in the HDD. Therefore, if NO is determined in S715, the CPU 101 performs predetermined error processing in S718 and stops the operation in the mirroring mode.

なお、暗号化を伴うミラーリング処理においてミラーリング状態の復旧には特に注意を要する。メインボード112の交換によってRAID制御部の暗号鍵が更新された場合、その状態でミラーリング処理の書き込みを実行すると故障前のHDDデータとの整合性が取れなくなってしまう不具合が発生する。
これに対して、S701〜S718を実行することにより、暗号化を伴うミラーリング処理であっても安全に故障前の状態に復旧させることが可能となる。特に、S715での判定処理は、セキュリティ的な観点での安全性と故障前のミラーリング状態に復旧できる安全性との2重の意味での安全性が担保される。
なお、ボード112とボード114とを独立して備える構成とする場合について説明したが、ボード112がボード114の機能を兼ねる構成としてもよい。
It should be noted that special attention should be paid to the restoration of the mirroring state in the mirroring process involving encryption. When the encryption key of the RAID control unit is updated by exchanging the main board 112, if the writing of the mirroring process is executed in that state, there is a problem that the consistency with the HDD data before the failure cannot be obtained.
On the other hand, by executing S701 to S718, it is possible to safely restore the state before the failure even in the mirroring process involving encryption. In particular, the determination process in S715 guarantees safety in the dual sense of safety from the viewpoint of security and safety that can restore the mirrored state before the failure.
Although the case where the board 112 and the board 114 are provided independently has been described, the board 112 may also have the function of the board 114.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステムまたは装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えばASIC)によっても実現可能である。 The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

124 メインボード 124 main board

Claims (12)

同一のデータを複数の記憶部に対して記憶させることが可能なミラーリングを行う情報処理装置であって、 An information processing device that performs mirroring that can store the same data in multiple storage units.
複数の記憶部に対するミラーリングの構成情報を含むミラーリング情報を記憶するメインボードのメモリと、 A memory on the main board that stores mirroring information including mirroring configuration information for multiple storage units, and
前記メインボードのメモリに記憶されたミラーリングの構成情報に基づいて、前記複数の記憶部を制御する制御手段と、 A control means for controlling the plurality of storage units based on the mirroring configuration information stored in the memory of the main board, and
前記ミラーリング情報を記憶するサブボードのメモリと、 The memory of the sub board that stores the mirroring information and
メインボードが交換されたことに基づいて、前記サブボードのメモリに記憶されたミラーリング情報を前記交換されたメインボードのメモリに記憶させる記憶制御手段と、を有し、 It has a storage control means for storing mirroring information stored in the memory of the sub-board based on the replacement of the main board in the memory of the replaced main board.
前記制御手段は、前記交換されたメインボードのメモリに前記記憶制御手段によって記憶されたミラーリング情報に含まれるミラーリングの構成情報に基づいて、前記複数の記憶部を制御することを特徴とする情報処理装置。 The information processing means that the control means controls the plurality of storage units based on the mirroring configuration information included in the mirroring information stored in the memory of the exchanged main board by the storage control means. apparatus.
前記メインボードのメモリに記憶されたミラーリング情報に含まれるミラーリングの構成情報がミラー状態を示すことに基づいて、前記制御手段は、前記複数の記憶部をミラー制御することを特徴とする請求項1に記載の情報処理装置。 The control means is characterized in that the plurality of storage units are mirror-controlled based on the fact that the mirroring configuration information included in the mirroring information stored in the memory of the main board indicates a mirror state. The information processing device described in. メインボードの交換を検知する検知手段を有することを特徴とする請求項1または2に記載の情報処理装置。 The information processing apparatus according to claim 1 or 2, further comprising a detection means for detecting replacement of the main board. 前記メインボードの情報と前記サブボードの情報を比較する比較手段を有し、 It has a comparison means for comparing the information on the main board with the information on the sub board.
前記メインボードのメモリと前記サブボードのメモリのそれぞれが前記複数の記憶部の各々を識別する情報を記憶可能であり、 Each of the memory of the main board and the memory of the sub board can store information that identifies each of the plurality of storage units.
前記比較手段が、前記識別する情報が前記メインボードのメモリと前記サブボードのメモリの前記ミラーリング情報を比較し、一致するか否かを判定することで前記複数の記憶部の各々が交換されているか否かが検知されることを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。 Each of the plurality of storage units is exchanged by the comparison means by comparing the mirroring information of the memory of the main board and the memory of the sub board and determining whether or not the identifying information matches. The information processing apparatus according to any one of claims 1 to 3, wherein the presence or absence is detected.
前記メインボードが交換され且つ前記複数の記憶部が交換されていないことに基づいて、前記記憶制御手段は、前記サブボードのメモリに記憶されたミラーリング情報を、前記交換されたメインボードのメモリに記憶させることを特徴とする請求項4に記載の情報処理装置。 Based on the fact that the main board has been exchanged and the plurality of storage units have not been exchanged, the storage control means transfers the mirroring information stored in the memory of the sub board to the memory of the exchanged main board. The information processing apparatus according to claim 4, wherein the information processing device is stored. 前記記憶部を識別する情報は、前記記憶部のシリアル番号であることを特徴とする請求項4または5に記載の情報処理装置。 The information processing device according to claim 4 or 5, wherein the information for identifying the storage unit is a serial number of the storage unit. 前記ミラーリング情報は、更にミラーリングのマスター位置とモード情報の少なくとも1つを含む情報であることを特徴とする請求項1乃至6のいずれか1項に記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 6, wherein the mirroring information is information including at least one of a mirroring master position and a mode information. 前記メインボードのメモリまたは前記サブボードのメモリは、フラッシュメモリであることを特徴とする請求項1乃至7のいずれか1項に記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 7, wherein the memory of the main board or the memory of the sub board is a flash memory. 前記記憶部は、ハードディスクまたはSSDであることを特徴とする請求項1に記載の情報処理装置。 The information processing device according to claim 1, wherein the storage unit is a hard disk or an SSD. 前記情報処理装置は、印刷装置、画像形成装置、複合画像形成装置のいずれかを含むことを特徴とする請求項1に記載の情報処理装置。 The information processing device according to claim 1, wherein the information processing device includes any one of a printing device, an image forming device, and a composite image forming device. 複数の記憶部に対するミラーリングの構成情報を含むミラーリング情報を記憶するメインボードのメモリと、前記ミラーリング情報を記憶するサブボードのメモリを有し、同一のデータを複数の記憶部に対して記憶させることが可能なミラーリングを行う情報処理装置の制御方法であって、 Having a main board memory for storing mirroring information including mirroring configuration information for a plurality of storage units and a sub board memory for storing the mirroring information, and storing the same data in a plurality of storage units. It is a control method of an information processing device that performs mirroring that enables
制御手段が、前記メインボードのメモリに記憶されたミラーリングの構成情報に基づいて、前記複数の記憶部を制御する制御工程と、 A control step in which the control means controls the plurality of storage units based on the mirroring configuration information stored in the memory of the main board.
前記メインボードが交換されたことに基づいて、前記サブボードのメモリに記憶されたミラーリング情報を、前記交換されたメインボードのメモリに記憶させる記憶制御工程と、を有し、 It has a storage control step of storing mirroring information stored in the memory of the sub-board based on the replacement of the main board in the memory of the replaced main board.
前記制御手段は、前記記憶制御工程において前記交換されたメインボードのメモリに記憶されたミラーリング情報に含まれるミラーリングの構成情報に基づいて、前記複数の記憶部を制御することを特徴とする情報処理装置の制御方法。 The information processing means that the control means controls the plurality of storage units based on the mirroring configuration information included in the mirroring information stored in the memory of the exchanged main board in the storage control step. How to control the device.
請求項11に記載の情報処理装置の制御方法を情報処理装置内のコンピュータに実行させることを特徴とするプログラム。 A program characterized by causing a computer in the information processing device to execute the control method of the information processing device according to claim 11.
JP2020066412A 2020-04-02 2020-04-02 Information processing device, control method of information processing device, and program Active JP6874190B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020066412A JP6874190B2 (en) 2020-04-02 2020-04-02 Information processing device, control method of information processing device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020066412A JP6874190B2 (en) 2020-04-02 2020-04-02 Information processing device, control method of information processing device, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015024045A Division JP6700662B2 (en) 2015-02-10 2015-02-10 Information processing apparatus, information processing apparatus control method, and program

Publications (3)

Publication Number Publication Date
JP2020123367A JP2020123367A (en) 2020-08-13
JP2020123367A5 JP2020123367A5 (en) 2020-11-05
JP6874190B2 true JP6874190B2 (en) 2021-05-19

Family

ID=71993613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020066412A Active JP6874190B2 (en) 2020-04-02 2020-04-02 Information processing device, control method of information processing device, and program

Country Status (1)

Country Link
JP (1) JP6874190B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004127351A (en) * 2002-09-30 2004-04-22 Fujitsu Ltd Memory device
JP5207988B2 (en) * 2009-01-07 2013-06-12 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, program, and storage medium
JP5786366B2 (en) * 2011-02-24 2015-09-30 カシオ電子工業株式会社 Printing device
JP5775367B2 (en) * 2011-06-06 2015-09-09 キヤノン株式会社 Information processing apparatus and control method thereof, mirroring system and RAID control apparatus

Also Published As

Publication number Publication date
JP2020123367A (en) 2020-08-13

Similar Documents

Publication Publication Date Title
JP5163408B2 (en) Information processing device
JP4939102B2 (en) Reliable method for network boot computer system
US8310698B2 (en) Image forming apparatus and activating method thereof
US10720225B2 (en) Information processing apparatus, control method thereof, and storage mediumMD
TWI453592B (en) Methods and systems for recovering a computer system using a storage area network
JP6700662B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP5506568B2 (en) Data processing apparatus, data processing method for data processing apparatus, and program
JP2006252451A (en) Storage system
JP6874190B2 (en) Information processing device, control method of information processing device, and program
JP2009163562A (en) Storage system, controller of storage system and control method of storage system
JP5200410B2 (en) Storage device
US10038556B2 (en) Information processing apparatus, encryption apparatus, and control method
JP6235163B2 (en) Computer system and control method thereof
JP4483876B2 (en) Storage device control method in duplex system
WO2015011835A1 (en) Computer system
JP7246869B2 (en) IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD AND PROGRAM
JP5251543B2 (en) Image processing apparatus, performance improvement preventing method and program for image processing apparatus
JP2011120005A (en) Image processing apparatus and data on information processing apparatus
JP6293216B2 (en) Information processing apparatus, control method, and program
JP2005346212A (en) Disk array controller and information processor
JP7263067B2 (en) Information processing device and information processing device control method
JP7051769B2 (en) Information processing equipment, control methods, and programs
CN107368743B (en) Information processing apparatus, information processing method, and computer program
JP2006260025A (en) Disk array device, control method for disk array device, and electronic equipment
JP2022108624A (en) Information processing apparatus, control method thereof, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200410

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210210

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210421

R151 Written notification of patent or utility model registration

Ref document number: 6874190

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151