JP2006227684A - Data processor and its error information managing method - Google Patents
Data processor and its error information managing method Download PDFInfo
- Publication number
- JP2006227684A JP2006227684A JP2005037298A JP2005037298A JP2006227684A JP 2006227684 A JP2006227684 A JP 2006227684A JP 2005037298 A JP2005037298 A JP 2005037298A JP 2005037298 A JP2005037298 A JP 2005037298A JP 2006227684 A JP2006227684 A JP 2006227684A
- Authority
- JP
- Japan
- Prior art keywords
- error information
- error
- power
- printing
- hard disk
- 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.)
- Withdrawn
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
本発明は、記録データをそれぞれ異なるハードディスク装置に重複記録する(以下、「ミラーリング」と称する)複数のハードディスク装置を備えるデータ処理装置に関するものである。特に、店舗等において購入商品の精算処理を行うPOS端末装置、スタンドアロンのPOS装置等の精算処理装置を含むデータ処理装置及びそのエラー情報管理方法に関する。 The present invention relates to a data processing apparatus including a plurality of hard disk devices (hereinafter referred to as “mirroring”) for recording recording data in different hard disk devices. In particular, the present invention relates to a data processing apparatus including a settlement processing apparatus such as a POS terminal apparatus that performs purchase settlement of purchased goods in a store or the like, a stand-alone POS apparatus, and an error information management method thereof.
ハードディスク装置へのデータ記録の信頼性及び高速性を確保するために、データベースシステム、サーバ等においては、ディスクアレイ(RAID;Redundant Array of Independent Disks)技術が使用されている。近時、金銭登録機又はPOS端末装置等の精算処理装置等の各種データ処理装置でも、このようなRAID1のミラーリング機能を備えるディスクアレイを使用することが提案されている。このような複数のハードディスク装置を備え、同一データを異なるハードディスク装置に重複記録するデータ処理装置では、ハードディスク装置の故障情況を知らせる手段として、データ処理装置の操作画面上に故障したハードディスク装置のエラー状況を知らせる方式、個々のハードディスク装置上にLED等のランプを設け、故障時にそのランプを点灯させる方式(特許文献1)が採用されている。
しかし、画面上に故障したハードディスク装置を表示する従来技術は、ハードディスク装置を交換する際にはデータ処理装置の電源をオフするので、交換時には画面の表示が消えており、いずれのハードディスク装置が故障しているかを確認することができない。 However, the conventional technology for displaying a failed hard disk device on the screen turns off the power of the data processing device when replacing the hard disk device, so the screen display disappears at the time of replacement, and any hard disk device fails. I can't confirm that
電源オン状態のままハードディスク装置を交換することができるホットスワップという機能を設けることもできるが、この機能を設けるには特別の専用部品(専用ケース等)が必要となるため、コストがかかる上に収納面積も大きくなる。また、ハードディスク装置にLEDを設ける場合も、LEDを制御する制御部を設けることが必要になり、ハードディスク装置のコストが高くなる。 A function called hot swap that can replace the hard disk drive while the power is on can also be provided. However, since this function requires special dedicated parts (such as a dedicated case), it is costly. The storage area is also increased. Also, when an LED is provided in the hard disk device, it is necessary to provide a control unit that controls the LED, and the cost of the hard disk device increases.
本発明は、上述の問題に鑑みなされてもので、同一データを重複記録する複数の異なるハードディスク装置を備えるデータ処理装置において、故障したハードディスク装置を、低廉なコストで、誤りなく交換することができるデータ処理装置及びそのエラー情報管理方法を提供することを目的とする。 Although the present invention has been made in view of the above-mentioned problems, in a data processing apparatus including a plurality of different hard disk devices that repeatedly record the same data, a failed hard disk device can be replaced at low cost and without error. An object of the present invention is to provide a data processing apparatus and an error information management method thereof.
本発明は、データ処理装置の電源オフの要求信号(電源オフ信号)を受信したときに、電源をオフする前に、交換が必要なハードディスク装置を特定するエラー情報を印刷出力することにより、上記課題を解決する。 The present invention prints out error information for identifying a hard disk device that needs to be replaced before turning off the power supply when the data processing device power-off request signal (power-off signal) is received. Solve the problem.
本発明の第1の態様にかかるデータ処理装置は、予め記憶した所定の処理手順に基づきデータ処理を行うホスト装置と、ホスト装置に制御され、記録データを重複記録することにより記録の信頼性を確保するミラーリング機能を備える複数のハードディスク装置と、ホスト装置の制御に基づき印刷を行う印刷装置とを備えるデータ処理装置であって、ホスト装置は、ハードディスク装置のいずれかに交換を必要とするエラーが発生したときに、該交換を必要とするハードディスク装置を特定する特定情報を含むエラー情報を取得して記憶するエラー記憶部と、電源オフ信号を受信したときに、エラー情報を読出して、該エラー情報を印刷装置により印刷し、印刷完了後に電源をオフするよう制御する電源オフ制御部とを備えることを特徴とする。 The data processing device according to the first aspect of the present invention has a host device that performs data processing based on a predetermined processing procedure stored in advance, and the host device controls the recording reliability by duplicating recording data. A data processing device comprising a plurality of hard disk devices having a mirroring function to be secured and a printing device that performs printing based on the control of the host device, and the host device has an error that requires replacement of one of the hard disk devices. An error storage unit that acquires and stores error information including specific information that identifies the hard disk device that needs to be replaced when the error occurs, and error information is read when a power-off signal is received, A power-off control unit that prints information by a printing apparatus and controls to turn off the power after printing is completed. .
この態様では、ハードディスク装置へのデータの記録又は読み出し処理中に、読み書きができない等の重大エラーが発生したハードディスク装置に関するエラー情報をエラー履歴記憶部に記憶しておき、データ処理装置の電源オフ要求があったときに、電源を落とす前に、故障したハードディスクを特定するデータを印刷装置により印刷してから電源を落とすようにしている。これにより、電源を落とした後であっても、印刷出力により交換すべきハードディスク装置を確認することができ、交換ミスの発生を防止可能となる。 In this aspect, during the process of recording or reading data to the hard disk device, error information regarding the hard disk device in which a serious error such as inability to read / write has occurred is stored in the error history storage unit, and the power off request for the data processing device is stored. In such a case, before the power is turned off, data for identifying the failed hard disk is printed by a printing apparatus and then the power is turned off. As a result, even after the power is turned off, the hard disk device to be replaced can be confirmed by print output, and it is possible to prevent occurrence of a replacement error.
本発明の他の態様にかかるデータ処理装置は、電源オフ制御部が、エラー情報として、エラーの内容を含むことを特徴とする。 The data processing apparatus according to another aspect of the present invention is characterized in that the power-off control unit includes error contents as error information.
この態様では、交換を必要とする情報に加えて、どのようなエラーであったのか、エラー発生アドレス等のエラーに関する詳細情報をも記憶することが可能となる。これにより、ハードディスク装置の修理情報を得ることが可能となる。尚、電源オフ時の印刷に関しては、交換すべきハードディスク装置を特定する情報のみを印刷するようにしても、所定のエラー情報のみを印刷するようにしても良い。 In this aspect, in addition to the information that needs to be exchanged, it is possible to store detailed information about the error such as the error occurrence address and the like. This makes it possible to obtain repair information for the hard disk device. As for printing when the power is turned off, only the information specifying the hard disk device to be replaced may be printed, or only predetermined error information may be printed.
本発明の他の態様にかかるデータ処理装置は、電源オフ制御部が、さらに、交換を必要とするハードディスク装置の交換手順を印刷出力することを特徴とする。この態様では、交換すべきハードディスク装置の特定情報に加えて、ハードディスク装置を交換するための手順の説明を印刷出力する。これにより、ハードディスク装置の交換に慣れていない者であっても、容易に交換することが可能となる。 The data processing apparatus according to another aspect of the present invention is characterized in that the power-off control unit further prints out a replacement procedure of the hard disk device that requires replacement. In this aspect, in addition to the specific information of the hard disk device to be replaced, a description of the procedure for replacing the hard disk device is printed out. As a result, even those who are not accustomed to replacing the hard disk device can easily replace the hard disk device.
本発明の他の態様にかかるデータ処理装置は、電源オフ制御部が、図形、イラスト又は写真により、交換すべきハードディスク装置を特定することを特徴とする。この態様では、交換すべきハードディスク装置の特定を図形、イラスト、写真により示す。これにより、より判り易くハードディスク装置の位置や取り外し手順を示すことができる。 The data processing device according to another aspect of the present invention is characterized in that the power-off control unit specifies a hard disk device to be replaced by a figure, an illustration, or a photograph. In this embodiment, the identification of the hard disk device to be replaced is shown by a figure, an illustration, and a photograph. Thereby, the position of the hard disk device and the removal procedure can be shown more easily.
本発明の他の態様にかかるデータ処理装置は、ホスト装置は、データ入力装置から入力される購入商品データに基づいて、購入商品の精算処理を行う精算処理部を備える。この態様は、精算処理装置に本発明を適用したものである。 In a data processing apparatus according to another aspect of the present invention, the host device includes a settlement processing unit that performs a settlement process for a purchased product based on the purchased product data input from the data input device. In this aspect, the present invention is applied to a settlement processing apparatus.
本発明の第1の態様にかかるデータ処理装置のエラー情報管理方法は、予め記憶した所定の処理手順に基づきデータ処理を行うホスト装置と、ホスト装置に制御され、記録データを重複記録することにより記録の信頼性を確保するミラーリング機能を備える複数のハードディスク装置と、ホスト装置の制御に基づき印刷を行う印刷装置とを備えるデータ処理装置において、(a)ハードディスク装置のいずれかに交換を必要とするエラーが発生したときに、該交換を必要とするハードディスク装置を特定する特定情報を含むエラー情報を取得する工程と、(b)エラー情報を記憶するエラー情報記憶工程と、(c)電源オフ要求信号を受信したときに、エラー履歴記憶部に記憶しているエラー情報を読み出し、該エラー情報を印刷装置により印刷するエラー情報印刷工程と、(d)エラー情報の印刷を完了した後に電源を切る電源オフ処理工程を備えることを特徴とする。 An error information management method for a data processing device according to a first aspect of the present invention includes: a host device that performs data processing based on a predetermined processing procedure that is stored in advance; In a data processing device including a plurality of hard disk devices having a mirroring function for ensuring recording reliability and a printing device that performs printing based on control of a host device, (a) one of the hard disk devices needs to be replaced A step of acquiring error information including specific information for specifying a hard disk device that needs to be replaced when an error occurs; (b) an error information storage step for storing error information; and (c) a power-off request. When the signal is received, the error information stored in the error history storage unit is read, and the error information is read by the printing device. And error information printing step for printing, characterized in that it comprises a power-off process to turn off after completing the printing of (d) error information.
本発明の他の態様にかかるデータ処理装置のエラー情報管理方法は、エラー情報印刷工程(c)において、記憶したエラー情報中の所定の情報のみを印刷することを特徴とする。 The error information management method of the data processing apparatus according to another aspect of the present invention is characterized in that only predetermined information in the stored error information is printed in the error information printing step (c).
本発明の他の態様にかかるデータ処理装置のエラー情報管理方法は、エラー情報印刷工程(c)が、さらに、(c−1)交換を必要とするハードディスク装置の交換手順を読み出す工程と、(c−2)エラー情報又は所定の情報、及び交換手順を印刷出力する工程とを備えることを特徴とする。 In the error information management method for the data processing device according to another aspect of the present invention, the error information printing step (c) further includes (c-1) a step of reading a replacement procedure of a hard disk device that requires replacement, c-2) a step of printing out error information or predetermined information and a replacement procedure.
本発明の他の態様にかかるデータ処理装置のエラー情報管理方法は、エラー情報又は交換処理手順が、図形、イラスト又は写真を含むことを特徴とする。 The error information management method of the data processing apparatus according to another aspect of the present invention is characterized in that the error information or the exchange processing procedure includes a figure, an illustration, or a photograph.
本発明によると、データ処理装置の電源をオフする前に、交換するハードディスク装置を特定する情報を印刷出力するので、電源オフ後であっても、いずれのハードディスク装置が壊れているのかを確認することができる。また、同時にハードディスク装置の交換手順を印刷することにより、印刷された交換手順を見ながら作業を進めることができるので、熟練者でなくとも容易にハードディスク装置の交換を行うことが可能となる。 According to the present invention, the information specifying the hard disk device to be replaced is printed out before turning off the power of the data processing device, so it is possible to check which hard disk device is broken even after the power is turned off. be able to. Further, by simultaneously printing the hard disk device replacement procedure, it is possible to proceed while looking at the printed replacement procedure, so that even a non-expert can easily replace the hard disk device.
図面を用いて本発明の最良の実施形態を説明する。本発明は、複数のハードディスク装置を備えており、異なるハードディスク装置にそれぞれ同一データを重複して記録するミラーリング機能を備えるデータ処理装置に適用可能である。ミラーリング機能を設けると、一方のハードディスク装置が故障して所定のデータを読み出すことができなくなった場合であっても、他方のハードディスク装置から同じデータを読み出すことができるので、データ記録の信頼性が向上する。本発明は、特に、購入商品の精算処理を行う精算処理装置であって、ハードディスク装置へのミラーリング機能を備えるPOS端末装置等へ適用するのに適している。従って、本明細書においては、データ処理装置として、POS端末装置を用いた例を説明する。 The best mode for carrying out the present invention will be described with reference to the drawings. The present invention can be applied to a data processing device that includes a plurality of hard disk devices and has a mirroring function for recording the same data in duplicate on different hard disk devices. When the mirroring function is provided, even if one hard disk device fails and the predetermined data cannot be read, the same data can be read from the other hard disk device, so the reliability of data recording is improved. improves. The present invention is particularly suitable for application to a POS terminal apparatus or the like that is a settlement processing apparatus that performs a settlement process for purchased merchandise and has a mirroring function for a hard disk device. Therefore, in this specification, an example in which a POS terminal device is used as a data processing device will be described.
図1に、本発明のデータ処理装置の一実施形態にかかるPOS端末装置10の機能ブロック図を示す。POS端末装置10は、ホスト装置20と、ホスト装置20に接続される周辺装置として、複数のハードディスク装置を備えるディスクアレイ等のディスク記録装置40、印刷装置50、キーボード61、バーコードスキャナ62、表示装置63等を備えている。ディスク記録装置40は、独立して動作可能な少なくとも2個のハードディスク装置(以下、「HDD」と称する)41、42を備えており、ディスク記録装置40内に記録されるデータは異なるHDD41及び42のそれぞれに重複して記録される。これにより、一方のHDDが故障しても、他方のHDDに記録しているデータを読み出すことが可能となるので、データ記録の信頼性が向上する。
FIG. 1 shows a functional block diagram of a
POS端末装置10は、ホスト装置20の制御の下、購入商品の精算処理を行い、精算結果を印刷したレシートを発行する。また、図示しないサーバ等と通信を行うことにより購入商品の価格情報を取得することや、商品販売時点においてサーバの売り上げ情報、在庫情報を更新することも可能である。これらの売り上げ情報や在庫情報等を、販売時点において、ディスク記録装置40に随時記録することも可能である。
The
<ホスト装置20の構成>
ホスト装置20は、周辺装置との通信を行うためのインタフェース21と、主制御部22と、各種制御部23〜29と、記憶部(メモリ)30と、各部に電力を供給する電源ユニット31とを備えている。主制御部22は、周辺装置を含むPOS端末装置10全体の動作を制御する。精算処理制御部23は、POS端末装置10の主要機能である精算処理動作を制御する。入力制御部24は、キーボード61、バーコードスキャナ62等を制御して、入力情報を受付ける。表示制御部25は、表示装置63を制御して所定の情報を表示装置上に表示させる。表示装置63は、操作者用表示部及び顧客用表示部を含んでいる。印刷制御部26は、印刷装置50を制御して、伝票印刷、レシートの発行等の所定の印刷を行う。
<Configuration of
The
ディスク制御部27は、ディスク記録装置40を制御して、所定のデータをHDD41、42に記録させる。この際、同一データを異なるHDD41,42にそれぞれ重複して記録するミラーリング処理は、ホスト装置20のディスク制御部27により制御するようにしても、RAIDコントロール部を設けてディスク記録装置40によりミラーリング処理を行うように構成しても良い。ディスク記録装置40にミラーリング機能を設ける場合、いずれかのHDD41または42に、交換を必要とするエラーが発生した場合には、ディスク記録装置40からホスト装置20に、エラー情報を送信する。
The
エラー履歴管理部28は、ディスク記録装置40で発生したエラー情報をエラー履歴として記憶する。エラー履歴として記憶すべきエラー情報の内容は任意に設定可能である。しかし、交換を必要とする重大エラーを伴う故障が発生した場合には、少なくとも交換すべきHDDを特定する情報は必ず記憶する。交換すべきHDDを特定する情報の他に、発生したエラー内容に関する情報も記憶しておくことも、修理用データとして有用である。尚、本明細書においては、「エラー情報」という用語には、重大エラーを発生したHDDを特定するための「特定情報」だけの情報も含まれるものとする。
The error
電源オフ制御部29は、電源オフの要求があった場合に、所定の処理を実行してから、POS端末装置10の電源を落とす制御部である。具体的には、エラー履歴管理部28に記憶したエラー情報のうち、少なくとも交換すべきHDDを特定するエラー情報を印刷装置50により印刷してから、電源をオフするように制御する。このように、データ処理装置10の電源を落とす前に、交換すべきHDDを特定するエラー情報を印刷することにより、データ処理装置の電源をオフした後であっても、印刷したエラー情報から交換すべきHDDがどれであるかを確認することが可能となる。
The power-
この際、交換すべきHDDを図形、イラスト、写真等により特定して印刷表示することも可能である。図形等を用いて特定することにより、誤って正常なHDDを交換する等の交換ミスの発生を防止することができる。さらに好ましくは、交換対象となるHDDの交換手順を印刷することが望ましい。この際にも、図形、イラスト、写真等を用いた説明を印刷することができる。印刷出力する図形等、及び交換手順に関する情報は、メモリ等の記憶部30に予め記憶しておく。
At this time, the HDD to be replaced can be specified and printed by a figure, an illustration, a photograph or the like. By specifying using a figure or the like, it is possible to prevent occurrence of a replacement error such as replacing a normal HDD by mistake. More preferably, it is desirable to print the replacement procedure for the HDD to be replaced. Also at this time, explanations using figures, illustrations, photographs and the like can be printed. The graphic or the like to be printed out and information related to the replacement procedure are stored in advance in the
電源オフ制御部29は、所定のエラー情報等の印刷が完了してから、電源ユニット31をオフして電力の供給を停止する。
The power-
ホスト装置20を構成する主制御部22、及び各制御部23〜29は、CPU、各種レジスタ、及びCPUの動作を制御する制御プログラム等により構成することができる。
The
<電源オフ制御部>
図2は、ホスト装置20の電源オフ制御部29の一実施形態にかかる機能ブロック図である。精算処理制御部23からディスク制御手段27に対して、ディスク記録装置40への記録又は読出要求(読/書命令)があると、ディスク制御部27は、HDD41、42のそれぞれに同一データを重複記録するようにディスク記録装置40を制御する。HDD41及び42への書き込み(記録)、またはHDD41又は42からの読出しの際に、所定のディスクエラーが発生すると、エラー履歴管理部28は所定のエラー情報をエラー情報記憶部36に記憶する。
<Power off control unit>
FIG. 2 is a functional block diagram according to an embodiment of the power-
エラー履歴管理部28とエラー情報記憶部36とが協働して、本発明の「エラー履歴記憶部」を構成する。エラー情報記憶部36を記憶部30内に設ける代わりに、故障していない方のHDDにエラー情報を記録するように構成してもよい。この場合には、エラー履歴管理部28とエラー情報を記録したHDDとが「エラー情報記憶部」を構成することとなる。前述した通り、記録するエラー情報は、任意に設定可能であるが、少なくとも、交換が必要なHDDを特定するための情報を含んでいる。
The error
故障したHDDを交換する際には、POS端末装置10の電源が落とされる。エラー情報抽出部32は、電源オフ要求を受信すると、エラー情報記憶部36に所定のエラー情報が記憶されているかどうかを確認する。所定のエラー情報が記憶されている場合には、そのエラー情報を読出し、エラー印刷データ生成部34に出力する。エラー情報記憶部36に種々のエラー内容を記憶している場合に、印刷すべきデータとしてどのようなエラー情報を抽出するかは任意に設定することが可能である。例えば、エラー情報記憶部36には、軽微なエラーを含む各種エラーを記憶しておき、エラー情報抽出部32により、交換すべきHDDを特定するエラー情報のみを抽出して印刷するように構成することも可能である。
When replacing the failed HDD, the power of the
エラー印刷データ生成部34は、エラー情報抽出部32からエラー情報を受信すると、エラー印刷データを生成して印刷制御部26に送信する。印刷制御部26は受信したエラー印刷データ及び印刷制御データを印刷装置50に送信して、印刷装置50により所定のエラー情報を印刷させる。印刷制御部26は印刷装置50の印刷が完了すると、エラー情報の印刷の完了を主制御部22に知らせる。エラー情報の印刷が終了すると、主制御部22は電源オフ処理部35に電源オフ信号を出力する。
When receiving error information from the error
電源オフ処理部35は、電源オフ信号を受信するとワークエリア、レジスタ、フラグのクリア等の電源停止のための一連の処理を実行した後、電源ユニット31を停止させる。尚、印刷すべき所定のエラー情報がエラー情報記憶部36に存在しない場合には、エラー情報抽出部32は電源オフ処理部35に対して、直接、電源オフ信号を出力する。これにより、電源オフ処理部35は電源ユニット31を停止させる。
When the power-
エラー情報の印刷の際、修理情報取得部33を設けて、HDDを特定するイラストを印刷させる。修理情報取得部33は、記憶部30内の修理手順記憶部37から、交換するHDDの位置を示すイラスト及びHDDの交換手順を読み出す。例えば、カバーを開けた状態の図(イラスト)を用いて複数のHDDの中から交換すべきHDDの位置を示すことにより、誤って正常なHDDを交換する等のミスを防止することが可能となる。また、HDDの交換手順を印刷することにより、経験の少ない者でも容易にHDDの交換が可能となる。記憶部30の修理手順記憶部37には、予め、HDDの位置を示すイラスト及び交換手順等のHDDを交換するための修理情報を記憶しておく。また、このような修理情報を修理手順記憶部37ではなく、双方のHDD41,42にそれぞれ重複して記録しておき、故障していないHDDからイラスト及び交換手順等の修理情報を読み出すような構成とすることも可能である。
When printing error information, a repair
図3に、電源オフ時に印刷されるエラー情報の印刷例を示す。図3に示す印刷例では、イラストによりHDD1及び2を示している。特に、交換するHDD1は取り外された状態としてイラストにより特定されており、HDD1を交換する手順も文書により説明されている。さらに、このような情報に加えて、故障内容を示す情報を印刷するようにしてもよい。 FIG. 3 shows a print example of error information printed when the power is turned off. In the printing example shown in FIG. 3, the HDDs 1 and 2 are shown by illustration. In particular, the HDD 1 to be replaced is specified by illustration as being removed, and the procedure for replacing the HDD 1 is also described in the document. Further, in addition to such information, information indicating the failure content may be printed.
<エラー情報の記録処理手順>
図4乃至図6を用いて、本発明にかかるデータ処理装置のデータ記録及び電源オフ要求時の処理手順の一例を説明する。図4は本発明にかかるデータ処理装置において、HDDへアクセスした際のエラー履歴の記録処理手順の一例を示すフローチャートである。以下、データ処理装置が、図1乃至図3のPOS端末装置10であるものとして、説明する。HDD41、42に対するデータの記録(書込み)または読出要求である読/書命令を受信すると(S101)、ディスク制御部27はディスク記録装置40にアクセスして命令に応じた読出し/書込み処理を実行する(S102)。ミラーリング処理では、一方のHDDをメインHDDとし、他をサブHDDとして読出し/書込み処理が行われる。書き込み命令のときには、ディスク制御部27は、メイン及びサブのHDD41、42のそれぞれに同一内容のデータを重複して記録する。読出し命令の場合には、メインHDDにアクセスしてデータを読み出す。
<Error information recording process>
An example of the processing procedure at the time of data recording and power-off request of the data processing apparatus according to the present invention will be described using FIGS. FIG. 4 is a flowchart showing an example of an error history recording process procedure when accessing the HDD in the data processing apparatus according to the present invention. In the following description, it is assumed that the data processing apparatus is the
いずれか一方のHDDに読み/書きができないような重大エラーが発生した場合には(S103;Yes)、エラー処理を行い(S105)、エラーの発生したHDDに関するエラー情報を記憶装置30に記憶する(S106)。エラー処理(S105)としては、例えば、エラー発生の警告または報知を行い、エラーの発生していないHDDのみをアクセス可能なHDDとして指定する等の処理を実行する。エラー報知は、ポップアップウィンドウを開く等により、画面上にエラーの発生を知らせる情報を表示することができる。その後、故障していないHDDにアクセスして、読/書命令に対応する読出し/書込み処理を実行する(S102)。再度、重大エラーが発生すると(S103;Yes)、HDDが2台の場合には、エラー処理において、読出し/書込み処理を中断し、双方のHDD41、42において重大エラーが発生したことを報知する。HDDを3台以上備えている場合には、故障していないHDDを指定して、読出し/書込み処理を続行するよう構成することも可能である。
When a serious error that cannot be read / written occurs in any one of the HDDs (S103; Yes), error processing is performed (S105), and error information regarding the HDD in which the error has occurred is stored in the
読出し/書込み処理において重大エラーが発生しなければ(S103;No)、命令に対応する処理が完了したかどうかを確認し(S104)、完了していない場合には(S104;No)、完了するまで読出し/書込み処理を繰り返す(S102、S103,S104)。読出し/書込み処理が完了すると(S104;Yes)。ディスク記録装置40に対するアクセスは終了する。
If a serious error does not occur in the read / write process (S103; No), it is checked whether the process corresponding to the command is completed (S104). If not completed (S104; No), the process is completed. The read / write process is repeated until (S102, S103, S104). When the reading / writing process is completed (S104; Yes). Access to the
<電源オフ時における処理手順>
図5は電源オフ時の処理手順の一例を示すフローチャートである。このフローチャートでは、交換処理手順も印刷する例を示している。電源オフ処理においては、電源オフ要求を監視している(S201)。電源オフ要求の方法としては、例えば所定のOSの管理の下、マウス等により画面を通じて電源オフの操作を行う構成、キーボード操作により電源オフ要求を出力する構成、物理的な電源スイッチを操作することにより電源オフ要求を出力する構成等が用いられる。
<Processing procedure at power off>
FIG. 5 is a flowchart illustrating an example of a processing procedure when the power is turned off. This flowchart shows an example in which the replacement processing procedure is also printed. In the power-off process, a power-off request is monitored (S201). The power-off request method includes, for example, a configuration in which a power-off operation is performed through a screen with a mouse or the like under the management of a predetermined OS, a configuration in which a power-off request is output by a keyboard operation, and a physical power switch is operated. A configuration for outputting a power-off request is used.
電源オフ要求があると(S201;Yes)、まずエラー情報の印刷を行い(S202)、エラー情報の印刷が完了するのを待つ(S203;No)。エラー情報処理の印刷が完了すると(S203;Yes)、まずディスク記録装置及び印刷装置等の周辺装置の電源をオフし(S204)、次にホスト装置の電源をオフする(S205)。エラー情報の印刷に必要のない周辺装置は、エラー情報印刷の完了前に、電源オフするように構成してもよい。 When there is a power-off request (S201; Yes), error information is first printed (S202), and the completion of error information printing is awaited (S203; No). When printing of error information processing is completed (S203; Yes), first, the power of peripheral devices such as the disk recording device and the printing device is turned off (S204), and then the power of the host device is turned off (S205). Peripheral devices that are not required for printing error information may be configured to be turned off before error information printing is completed.
図6に、図5のエラー情報の印刷工程(S201)の一例にかかるフローチャートを示す。エラー情報印刷工程では、まず印刷すべきエラーが発生しているかどうかをエラー履歴に基づいて確認し(S301)、エラーが発生していなければ(S301;No)、エラー印刷処理(S302〜S305)を行わず、図5の処理工程204に進み、各部の電源を停止させる(S204、S205)。 FIG. 6 shows a flowchart according to an example of the error information printing step (S201) in FIG. In the error information printing step, first, whether or not an error to be printed has occurred is confirmed based on the error history (S301). If no error has occurred (S301; No), error printing processing (S302 to S305). The process proceeds to the process step 204 in FIG. 5 and the power of each unit is stopped (S204, S205).
印刷すべきエラーが発生している場合には(S301;Yes)、印刷に必要なエラー履歴データを抽出する(S302)。次にエラー履歴データから交換対象となるHDDを特定して、対応するHDDを示すイラストデータを読み出す(S303)。さらに、対象となるHDDの交換処理手順を示す情報(文章に加えてイラストを含んでもよい)を読み出す(S304)。工程S303及びS304により読み出されたデータ、すなわち、交換すべきHDDを特定するイラストデータ及び交換処理手順情報が、電源オフの際に印刷されるエラー情報となる。読み出されたエラー情報は、それぞれの印刷位置、大きさ等を指定した印刷データとして作成され(S305)、印刷制御部によりエラー情報の印刷が実行される(S306)。 If an error to be printed has occurred (S301; Yes), error history data necessary for printing is extracted (S302). Next, the HDD to be replaced is specified from the error history data, and illustration data indicating the corresponding HDD is read (S303). Further, information indicating the replacement processing procedure of the target HDD (an illustration may be included in addition to the text) is read (S304). The data read out in steps S303 and S304, that is, the illustration data specifying the HDD to be replaced and the replacement processing procedure information are error information printed when the power is turned off. The read error information is created as print data designating each print position, size, etc. (S305), and the error information is printed by the print controller (S306).
尚、以上の説明においては、電源オフのときにエラー情報を印刷出力する場合を説明したが、電源オフ以外のときであっても、要求に応じてエラー情報を表示し、印刷することができるように構成することも可能である。 In the above description, the case where error information is printed out when the power is turned off has been described. However, even when the power information is not turned off, the error information can be displayed and printed upon request. It is also possible to configure as described above.
10 POS端末装置 20 ホスト装置
21 インタフェース 22 主制御部
23 精算制御部 24 入力制御手段
25 表示制御手段 26 印刷制御部
27 ディスク制御部 28 エラー履歴管理部
29 電源オフ制御部 30 記憶部
31 電源ユニット 32 エラー情報抽出部
33 修理情報取得部 34 エラー印刷データ生成部
35 電源オフ処理部 36 エラー情報記憶部
37 修理手順記憶部 40 ディスク記録装置
41、42 ハードディスク装置(HDD) 50 印刷装置
61 キーボード 62 バーコードスキャナ
63 表示装置
DESCRIPTION OF
Claims (9)
前記ホスト装置は、
前記ハードディスク装置のいずれかに交換を必要とするエラーが発生したときに、該交換を必要とするハードディスク装置を特定する特定情報を含むエラー情報を取得して記憶するエラー記憶部と、
電源オフ信号を受信したときに、前記エラー情報を読出して、該エラー情報を前記印刷装置により印刷し、印刷完了後に電源をオフするよう制御する電源オフ制御部と、
を備えることを特徴とするデータ処理装置。 A host device that performs data processing based on a predetermined processing procedure stored in advance, a plurality of hard disk devices that are controlled by the host device and have a mirroring function that ensures recording reliability by duplicating recording data, and a host A data processing apparatus including a printing apparatus that performs printing based on control of the apparatus,
The host device is
When an error that requires replacement occurs in any of the hard disk devices, an error storage unit that acquires and stores error information including specific information that identifies the hard disk device that requires replacement;
A power-off control unit that reads out the error information when receiving a power-off signal, prints the error information by the printing apparatus, and controls to turn off the power after printing is completed;
A data processing apparatus comprising:
(a)前記ハードディスク装置のいずれかに交換を必要とするエラーが発生したときに、該交換を必要とするハードディスク装置を特定する特定情報を含むエラー情報を取得する工程と、
(b)前記エラー情報を記憶するエラー情報記憶工程と、
(c)電源オフ要求信号を受信したときに、前記エラー履歴記憶部に記憶しているエラー情報を読み出し、該エラー情報を前記印刷装置により印刷するエラー情報印刷工程と、
(d)前記エラー情報の印刷を完了した後に電源を切る電源オフ処理工程と、
を備えるデータ処理装置のエラー情報管理方法。 A host device that performs data processing based on a predetermined processing procedure stored in advance, a plurality of hard disk devices that are controlled by the host device and have a mirroring function that ensures recording reliability by duplicating recording data, and a host In a data processing apparatus comprising a printing device that performs printing based on control of the device,
(A) when an error requiring replacement occurs in any of the hard disk devices, obtaining error information including specific information for identifying the hard disk device requiring replacement;
(B) an error information storage step for storing the error information;
(C) when receiving a power-off request signal, reading error information stored in the error history storage unit and printing the error information by the printing apparatus;
(D) a power-off process step of turning off the power after completing the printing of the error information;
An error information management method for a data processing apparatus comprising:
(c−1)交換を必要とするハードディスク装置の交換手順を読み出す工程と、
(c−2)前記エラー情報又は前記所定の情報、及び前記交換手順を印刷出力する工程と、
を備えることを特徴とする請求項6又は7に記載のデータ処理装置のエラー情報管理方法。 The error information printing step (c) further includes:
(C-1) a step of reading a replacement procedure of a hard disk device that requires replacement;
(C-2) printing out the error information or the predetermined information and the replacement procedure;
An error information management method for a data processing apparatus according to claim 6 or 7, further comprising:
9. The error information management method for a data processing apparatus according to claim 6, wherein the error information or the exchange processing procedure includes a figure, an illustration, or a photograph.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005037298A JP2006227684A (en) | 2005-02-15 | 2005-02-15 | Data processor and its error information managing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005037298A JP2006227684A (en) | 2005-02-15 | 2005-02-15 | Data processor and its error information managing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006227684A true JP2006227684A (en) | 2006-08-31 |
Family
ID=36989047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005037298A Withdrawn JP2006227684A (en) | 2005-02-15 | 2005-02-15 | Data processor and its error information managing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006227684A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011133978A (en) * | 2009-12-22 | 2011-07-07 | Toshiba Tec Corp | Electronic equipment and program |
JP2017081111A (en) * | 2015-10-30 | 2017-05-18 | 富士ゼロックス株式会社 | Printing system, display control device, and program |
-
2005
- 2005-02-15 JP JP2005037298A patent/JP2006227684A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011133978A (en) * | 2009-12-22 | 2011-07-07 | Toshiba Tec Corp | Electronic equipment and program |
JP2017081111A (en) * | 2015-10-30 | 2017-05-18 | 富士ゼロックス株式会社 | Printing system, display control device, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2013117922A (en) | Disk system, data holding device, and disk device | |
JP2006227684A (en) | Data processor and its error information managing method | |
US7260680B2 (en) | Storage apparatus having microprocessor redundancy for recovery from soft errors | |
JP2010257340A (en) | Information processor, information processing method and program | |
JP2003263703A5 (en) | ||
JP2009245391A (en) | Information processor, error processing method, and program | |
US20150364160A1 (en) | Control apparatus and control method | |
US20090235011A1 (en) | System and Method for Recovery of Information Stored on a Corrupt Storage Device | |
JP2005115975A (en) | Information processor | |
JP2002229742A (en) | Access switching control device and access switching control method | |
WO2008050455A1 (en) | Address line fault treating apparatus, address line fault treating method, address line fault treating program, information processing apparatus and memory controller | |
JP2010198314A (en) | Information management device | |
JP2008107989A (en) | Failure monitoring method and device for computer system, and failure monitoring program | |
JP2009054221A (en) | Life managing system for magnetic disk device | |
JP2006276965A (en) | Defective block detecting method and defective block detecting device | |
JP6838312B2 (en) | Information processing device and information processing method | |
JP2005346212A (en) | Disk array controller and information processor | |
JP2007241847A (en) | Data storage apparatus | |
JP5379764B2 (en) | Product sales data processing apparatus and program | |
JP2006099306A (en) | Management method for version of computer module using rfid tag | |
JP2021184200A (en) | Information processing device, information processing method, and information processing program | |
JP5587953B2 (en) | Product registration device and program | |
JP2024027465A (en) | Memory medium support system | |
JP2008140072A (en) | Electronic device | |
JP2024028106A (en) | Information processing device, information processing method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20070404 |
|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20080513 |