JP2007334906A - Image processor, disk protection method therefor, and control program for executing disk protection method - Google Patents

Image processor, disk protection method therefor, and control program for executing disk protection method Download PDF

Info

Publication number
JP2007334906A
JP2007334906A JP2007197489A JP2007197489A JP2007334906A JP 2007334906 A JP2007334906 A JP 2007334906A JP 2007197489 A JP2007197489 A JP 2007197489A JP 2007197489 A JP2007197489 A JP 2007197489A JP 2007334906 A JP2007334906 A JP 2007334906A
Authority
JP
Japan
Prior art keywords
disk
writing
main power
power supply
image 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.)
Pending
Application number
JP2007197489A
Other languages
Japanese (ja)
Inventor
Noriyuki Kobayashi
紀幸 小林
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 JP2007197489A priority Critical patent/JP2007334906A/en
Publication of JP2007334906A publication Critical patent/JP2007334906A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor provided with an inexpensive hard disk protection means, capable of avoiding a start-up trouble caused by a defective sector occurring by breakage of an electric power source during an access to a hard disk. <P>SOLUTION: An instruction of not permitting turning-off of an electric power source switch 401 is transmitted to a user, when an interruption is generated by a detection signal DS of a lid 501 (S11). A CPU 2001 suspends the access to an HDD 2004, stops write-in for a new data (S13), and transmits an instruction of permitting the turning-off of the electric power source switch after waiting for a lapse of a prescribed time (S14). The prescribed waiting time is the time in the longest case out of the times required for writing all the buffer data in the HDD into hard disk media. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数の機能を有するマルチファンクションシステムなどで構成される画像処理装置、そのディスク保護方法及びそのディスク保護方法を実行するための制御プログラムに関する。   The present invention relates to an image processing apparatus including a multi-function system having a plurality of functions, a disk protection method thereof, and a control program for executing the disk protection method.

ハードディスクメディアへのデータ書き込み中に電源が遮断されると、書き込み中のセクタが不良となり、次期電源立ち上げ時にシステムの起動に支障を与えることが知られている。そのため、従来からパソコンのようなハードディスクを有するシステムにおいては、ハードディスクメディアへのデータ書き込み中に電源が遮断された際の保護手段を備えることが多い。その保護手段としては、補助電源を有するものや、データのバックアップを行う手段を有するものなど様々である(例えば、特許文献1参照)。   It is known that if the power is cut off while writing data to the hard disk medium, the sector being written becomes defective, and the system startup is hindered when the next power supply is turned on. For this reason, a system having a hard disk such as a personal computer often includes a protection means when the power is shut off during data writing to the hard disk medium. There are various protection means such as those having an auxiliary power source and those having means for backing up data (see, for example, Patent Document 1).

また、磁気ディスクドライブ装置ユニットの電源切断接続装置において、電源OFFスイッチを操作しても、磁気ディスクドライブの記録再生処理に悪影響を及ぼすと判断すると電源供給を停止しない構成が知られている(例えば、特許文献2参照)。さらに、ハードディスクの保護のために、電源の瞬断が検出されたときにハードディスクへのアクセスを停止する構成も知られている(例えば、特許文献3参照)。
特開平05−94237号公報 特開平05−314631号公報 特開平07−153172号公報
Also, in the power-off / connection device of the magnetic disk drive unit, a configuration is known in which the power supply is not stopped when it is determined that even if the power OFF switch is operated, the recording / reproducing process of the magnetic disk drive is adversely affected (for example, , See Patent Document 2). Further, for protection of the hard disk, a configuration is also known in which access to the hard disk is stopped when a power interruption is detected (see, for example, Patent Document 3).
JP 05-94237 A JP 05-314631 A JP 07-153172 A

しかしながら、上記従来の、ハードディスクの保護手段では、ハードディスクメディアのデータを保護するために多くのコストがかかり、低価格を目指すシステムに前記保護手段を盛り込むことは困難であった。さらに、データのバックアップ手段を備えるシステムでは、データのトータル転送量が増大するため、システムパフォーマンスの悪化が懸念されることもあった。   However, with the conventional hard disk protection means, it takes a lot of cost to protect the data on the hard disk media, and it is difficult to incorporate the protection means into a system that aims for a low price. Furthermore, in a system provided with data backup means, the total data transfer amount increases, and there is a concern that system performance deteriorates.

また、電源OFFスイッチを操作しても、磁気ディスクドライブの記録再生処理に悪影響を及ぼすと判断した場合には電源供給の停止を行わない構成では、ユーザが望んだときに電源を遮断できないという欠点があった。特に、大量の画像データを扱う画像処理装置において、電源が遮断によるハードディスクの障害は、大量のメモリを用いるスキャナで読み込んだ画像データの処理や大量の印刷ジョブの展開などに大きな支障をもたらす。   In addition, even if the power OFF switch is operated, if it is determined that the recording / reproducing process of the magnetic disk drive is adversely affected, the configuration in which the power supply is not stopped cannot cut off the power when the user desires. was there. In particular, in an image processing apparatus that handles a large amount of image data, a hard disk failure due to a power interruption causes a great hindrance to the processing of image data read by a scanner using a large amount of memory or the development of a large amount of print jobs.

従って、ディスクメディアへのデータ書き込み中の電源遮断を防止するために、最低限の時間のロスでパフォーマンスの悪化なく且つ低コストな解決方法が望まれていた。また、ユーザが望んだときに電源を遮断でき、且つディスクに障害を与えない解決方法が望まれていた。   Therefore, in order to prevent power interruption during data writing to the disk medium, a solution that does not deteriorate performance with a minimum loss of time and is low in cost has been desired. In addition, there has been a demand for a solution that can shut off the power supply when the user desires and that does not damage the disk.

本発明は上記従来の問題点に鑑み、ディスクに対するアクセス中に電源が遮断されることで発生するセクタ不良による起動障害を、パフォーマンスの悪化なく確実に回避することができる安価な構成のディスク保護手段を備えた画像処理装置、そのディスク保護方法及びそのディスク保護方法を実行するための制御プログラムを提供することを目的とする。   In view of the above-described conventional problems, the present invention provides an inexpensive disk protection means capable of reliably avoiding a start failure due to a sector failure caused by a power failure while accessing a disk without deteriorating performance. An image processing apparatus including the same, a disk protection method thereof, and a control program for executing the disk protection method.

上記目的を達成するために、本発明の画像処理装置は、データ格納用のディスクを有する画像処理装置において、前記ディスクは、ディスクメディアと該ディスクメディアにデータを格納するためのバッファ手段を有し、当該画像処理装置のメイン電源を遮断するためのユーザの操作を検知する検知手段と、前記検知手段によって前記操作が検出された場合に、前記ディスクへのアクセス動作を中断し、新たなデータの書き込みを行わないようにするアクセス中断手段と、前記検知手段によって前記操作が検知された場合に、前記バッファ手段に既に書き込まれているデータを前記ディスクに書き込み処理を行うメディア書き込み処理手段と、前記メイン電源の遮断に関する情報を報知する報知手段とを有し、前記メディア書き込み処理手段による書き込み処理をしているかどうかに基づいて、前記報知手段はメイン電源を遮断してよいかどうかを報知することを特徴とする。   In order to achieve the above object, an image processing apparatus according to the present invention comprises an image processing apparatus having a data storage disk, the disk having a disk medium and buffer means for storing data in the disk medium. Detecting means for detecting a user operation for shutting off the main power supply of the image processing apparatus; and when the operation is detected by the detecting means, the access operation to the disk is interrupted, and new data Access interrupting means for preventing writing, media writing processing means for writing data already written in the buffer means to the disk when the operation is detected by the detecting means, Notification means for notifying information relating to shut-off of the main power supply, the media writing processing means Based on whether the write processing by said notification means is characterized by notifying whether or shut off the main power.

上記目的を達成するために、本発明の画像処理装置のディスク保護方法は、ディスクメディアと該ディスクメディアにデータを書き込むためのバッファ手段を含むデータ格納用のディスクを有する画像処理装置のディスク保護方法において、前記画像処理装置のメイン電源を遮断するためのユーザの操作を検知する検知工程と、前記検知工程によって前記操作が検知された場合に、前記ディスクへのアクセス動作を中断し、新たなデータの書き込みを行わないようにする工程と、前記検知工程によって前記操作が検知された場合に、前記バッファ手段に既に書き込まれているデータを前記ディスクメディアに書き込む処理を行うメディア書き込み処理工程と、前記メディア書き込み処理工程による書き込み処理をしているかどうかに基づいて、報知手段によりメイン電源を遮断してよいかどうかを報知する工程とを有することを特徴とする。   In order to achieve the above object, a disk protection method for an image processing apparatus according to the present invention is a disk protection method for an image processing apparatus having a disk medium and a data storage disk including buffer means for writing data to the disk medium. And detecting a user operation for shutting off the main power supply of the image processing apparatus, and when the operation is detected by the detection process, the access operation to the disk is interrupted and a new data And a media writing processing step for performing processing for writing data already written in the buffer means to the disk medium when the operation is detected by the detecting step, and Based on whether or not the writing process in the media writing process Characterized by a step of notifying whether or shut off the main power supply by informing means.

上記目的を達成するために、本発明の画像処理装置のディスク保護方法を実行するための制御プログラムは、ディスクメディアと該ディスクメディアにデータを書き込むためのバッファ手段を含むデータ格納用のディスクを有する画像処理装置のディスク保護方法を実行するための制御プログラムであって、前記画像処理装置のメイン電源を遮断するためのユーザの操作を検知する検知ステップと、前記検知ステップによって前記操作が検知された場合に、前記ディスクへのアクセス動作を中断し、新たなデータの書き込みを行わないようにするステップと、前記検知ステップによって前記操作が検知された場合に、前記バッファ手段に既に書き込まれているデータを前記ディスクメディアに書き込む処理を行うメディア書き込み処理ステップと、前記メディア書き込み処理ステップによる書き込み処理をしているかどうかに基づいて、報知手段によりメイン電源を遮断してよいかどうかを報知するステップとを有することを特徴とする。   In order to achieve the above object, a control program for executing a disk protection method for an image processing apparatus according to the present invention includes a disk for data storage including a disk medium and buffer means for writing data to the disk medium. A control program for executing a disk protection method for an image processing apparatus, the detection step detecting a user operation for shutting off a main power supply of the image processing apparatus, and the operation detected by the detection step The operation of accessing the disk is interrupted and new data is not written, and the data already written in the buffer means when the operation is detected by the detecting step. Is a media writing process step for writing to the disk medium. If, based on whether the write processing by the media writing process step, characterized in that a step of notifying whether or shut off the main power supply by informing means.

以上詳細に説明したように本発明によれば、ディスクに対するアクセス中に電源が遮断されることで発生する起動障害を、安価な構成で確実に回避することが可能になる。   As described above in detail, according to the present invention, it is possible to reliably avoid a start-up failure that occurs due to power being shut off during access to a disk with an inexpensive configuration.

以下、本発明の実施の形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[第1の実施形態]
<システム構成>
図1は、本発明の第1の実施形態に係る画像処理装置であるマルチファンクションシステムが搭載されたシステム構成を示すブロック図である。
[First Embodiment]
<System configuration>
FIG. 1 is a block diagram showing a system configuration in which a multi-function system that is an image processing apparatus according to the first embodiment of the present invention is mounted.

同図において、101は機器を接続する既知の技術を用いたネットワークであり、本実施の形態では、TCP/IPプロトコルを用いたイーサネット(登録商標)の使用を想定している。このネットワーク101には、ネットワークスキャナ102と、パソコン(PC)103と、ファックス(FAX)104と、ネットワークプリンタ106,107,108とが接続されている。   In the figure, reference numeral 101 denotes a network using a known technology for connecting devices. In this embodiment, it is assumed that Ethernet (registered trademark) using the TCP / IP protocol is used. A network scanner 102, a personal computer (PC) 103, a fax (FAX) 104, and network printers 106, 107 and 108 are connected to the network 101.

ネットワークスキャナ102は、ネットワークインターフェイスを具備すると共に、用紙などに印刷された原稿などを光学的に読み込む装置であり、例えばR(赤),G(緑),B(青)の3色で画像を読み込むカラースキャナである。   The network scanner 102 is a device that has a network interface and optically reads a document printed on paper or the like. For example, the network scanner 102 captures an image in three colors of R (red), G (green), and B (blue). It is a color scanner to read.

ファックス104は、ネットワークインターフェイスを具備し、公衆回線105を介して画像データの送受信を行う。このファックス104は、ネットワーク101上のスキャナ102で読み取った画像データを送信したり、受信した画像データをネットワークプリンタ106,107,108から出力したり、パソコン(PC)103でファイル化する画像データを公衆回線105上に入出力するインターフェイスでもある。   The fax 104 includes a network interface and transmits / receives image data via the public line 105. The fax 104 transmits image data read by the scanner 102 on the network 101, outputs received image data from the network printers 106, 107, and 108, and converts image data to be filed by a personal computer (PC) 103. It is also an interface for inputting and outputting on the public line 105.

ネットワークプリンタ106,107,108は、ネットワークインターフェイスを具備し、ネットワークインターフェイスを介して送られる印刷データや画像データを受信し、電子写真技術などの既知の印刷技術を用いて用紙などのメディアに実際に印刷を行う印刷装置であり、ネットワーク101を介して各機器に接続されている。ここでは、106は白黒レーザービームプリンタ、107はカラーレーザープリンタ、108は本実施の形態のマルチファンクションシステムである白黒デジタル複合機をそれぞれ示している。   The network printers 106, 107, and 108 have a network interface, receive print data and image data sent via the network interface, and actually use a known printing technique such as an electrophotographic technique on media such as paper. A printing apparatus that performs printing, and is connected to each device via a network 101. Here, reference numeral 106 denotes a black and white laser beam printer, 107 denotes a color laser printer, and 108 denotes a black and white digital multi-function peripheral which is a multifunction system according to the present embodiment.

<マルチファンクションシステムの機能構成>
図2は、図1に示したマルチファンクションシステム(白黒デジタル複合機)108の機能構成を示すブロック図である。
<Functional configuration of multi-function system>
FIG. 2 is a block diagram showing a functional configuration of the multi-function system (monochrome digital multifunction peripheral) 108 shown in FIG.

このマルチファンクションシステム108は、コントローラユニット200、操作部312、スキャナ270、及びプリンタ295を備えている。   The multifunction system 108 includes a controller unit 200, an operation unit 312, a scanner 270, and a printer 295.

コントローラユニット200は、画像入出力デバイスであるスキャナ270や画像出力デバイスであるプリンタ295と接続される一方、LAN2011や公衆回線(WAN)2051と接続されることで、画像情報やデバイス情報の入出力を行うための制御装置として機能する。   The controller unit 200 is connected to a scanner 270 that is an image input / output device and a printer 295 that is an image output device, and is connected to a LAN 2011 or a public line (WAN) 2051 to input / output image information and device information. It functions as a control device for performing.

以下、コントローラユニット200の内部構成について説明する。図2において、CPU2001は、システム全体を制御するコントローラである。RAM2002はCPU2001が動作するためのシステムワークメモリであり、画像データを一時記憶するための画像メモリでもある。ROM2003はブートROMであり、システムのブートプログラムが格納されている。データ格納用のHDD2004は、ハードディスクメディア、ハードディスクメディアにデータを書き込むためのバッファ、ハードディスクドライブ及びIDEコントローラから成り、システムソフトウェア、画像データ及びそれらの管理情報を格納する。   Hereinafter, the internal configuration of the controller unit 200 will be described. In FIG. 2, a CPU 2001 is a controller that controls the entire system. A RAM 2002 is a system work memory for the operation of the CPU 2001, and is also an image memory for temporarily storing image data. A ROM 2003 is a boot ROM, and stores a system boot program. The data storage HDD 2004 includes a hard disk medium, a buffer for writing data to the hard disk medium, a hard disk drive, and an IDE controller, and stores system software, image data, and management information thereof.

操作部I/F2006は、操作部(UI)312とのインターフェイス部であり、操作部312に表示する画像データを操作部312に対して出力する。また、操作部312から本システム使用者が入力した情報をCPU2001に伝える役割をする。ネットワーク2010はLAN2011に接続し、情報の入出力を行う。モデム2050は公衆回線2051に接続し、情報の入出力を行う。以上のデバイスがシステムバス2007上に配置される。   The operation unit I / F 2006 is an interface unit with the operation unit (UI) 312 and outputs image data to be displayed on the operation unit 312 to the operation unit 312. Also, it plays a role of transmitting information input by the system user from the operation unit 312 to the CPU 2001. A network 2010 is connected to the LAN 2011 and inputs / outputs information. A modem 2050 is connected to the public line 2051 and inputs / outputs information. The above devices are arranged on the system bus 2007.

イメージバスI/F2005は、システムバス2007と、画像データを高速で転送する画像バス2008とを接続し、データ構造を変換するバスブリッジである。画像バス2008は、PCIバスまたはIEEE1394で構成される。画像バス2008には、ラスターイメージプロセッサ(RIP)2060、デバイスI/F部2020、スキャナ画像処理部2080、プリンタ画像処理部2090、画像回転部2030、及び画像圧縮部2040の、各デバイスが接続されている。   An image bus I / F 2005 is a bus bridge that connects a system bus 2007 and an image bus 2008 that transfers image data at high speed and converts a data structure. The image bus 2008 is configured by a PCI bus or IEEE1394. Raster image processor (RIP) 2060, device I / F unit 2020, scanner image processing unit 2080, printer image processing unit 2090, image rotation unit 2030, and image compression unit 2040 are connected to image bus 2008. ing.

ラスターイメージプロセッサ2060は、PDLコードをビットマップイメージに展開する。デバイスI/F部2020は、スキャナ270やプリンタ295とコントローラユニット200とを接続し、画像データの同期系/非同期系の変換を行う。スキャナ画像処理部2080は、入力画像データに対し補正、加工及び編集を行い、プリンタ画像処理部2090は、プリント出力画像データに対して、プリンタの補正や解像度変換等を行う。画像回転部2030は画像データの回転を行い、画像圧縮部2040は、多値画像データをJPEG方式で圧縮伸張処理を行うほか、2値画像画像データをJBIGやMMR及びMH方式で圧縮伸張処理を行う。   The raster image processor 2060 expands the PDL code into a bitmap image. A device I / F unit 2020 connects the scanner 270 or printer 295 to the controller unit 200 and performs synchronous / asynchronous conversion of image data. A scanner image processing unit 2080 corrects, processes, and edits input image data, and a printer image processing unit 2090 performs printer correction, resolution conversion, and the like on print output image data. An image rotation unit 2030 rotates image data, and an image compression unit 2040 performs compression / expansion processing on multi-valued image data using the JPEG method, and also performs binary image data compression / expansion processing on the JBIG, MMR, and MH methods. Do.

<マルチファンクションシステムの外観>
図3は、図1に示したマルチファンクションシステム108の外観図である。
<Appearance of multi-function system>
FIG. 3 is an external view of the multifunction system 108 shown in FIG.

マルチファンクションシステムのスキャナ270は、原稿用紙上の画像に投光しながらCCDラインセンサ(図示せず)を走査することで、原稿画像をラスターイメージデータとして電気信号に変換する。装置使用者が、原稿フィーダ272のトレイ273に原稿用紙をセットして、操作部312から読み取り起動指示を行うことにより、コントローラCPU2001がスキャナ270に指示を与え(図2の2071)、フィーダ272は原稿用紙を1枚ずつフィードして原稿画像の読み取り動作を行う。   The scanner 270 of the multi-function system scans a CCD line sensor (not shown) while projecting an image on a document sheet, thereby converting the document image into an electrical signal as raster image data. When the apparatus user sets original paper on the tray 273 of the original feeder 272 and issues a reading start instruction from the operation unit 312, the controller CPU 2001 gives an instruction to the scanner 270 (2071 in FIG. 2), and the feeder 272 The original paper is fed one by one and the original image is read.

プリンタ295は、ラスターイメージデータを用紙上の画像に変換する装置であり、その方式としては、感光体ドラムや感光体ベルトを用いた電子写真方式、あるいは微少ノズルアレイからインクを吐出して用紙上に直接画像を印字するインクジェット方式等があるが、どの方式でも構わない。   The printer 295 is a device that converts raster image data into an image on paper. As a method thereof, an electrophotographic method using a photosensitive drum or a photosensitive belt, or ink is ejected from a micro nozzle array on a paper. There is an ink jet method for directly printing an image, but any method may be used.

プリント動作の起動は、コントローラCPU2001からの指示2096によって開始される。プリンタ295には、異なる用紙サイズや用紙向きを選択できるように複数の給紙段が配置され、それに対応した用紙カセット311、312、313、314が着脱自在に装着されている。そして、印字し終わった用紙は、排紙トレイ310へ排出されるようになっている。   Activation of the printing operation is started by an instruction 2096 from the controller CPU 2001. The printer 295 is provided with a plurality of paper feed stages so that different paper sizes and paper orientations can be selected, and paper cassettes 311, 312, 313, and 314 corresponding thereto are detachably mounted. Then, the printed paper is discharged to the paper discharge tray 310.

<操作部>
図4は、図2に示したマルチファンクションシステム108の操作部312の外観構成を示す図である。
<Operation unit>
FIG. 4 is a diagram showing an external configuration of the operation unit 312 of the multifunction system 108 shown in FIG.

LCD表示部313は、LCD上にタッチパネルシートが貼られており、システムの操作画面を表示するとともに、表示してあるキーが押されるとその位置情報をコントローラCPU2001に伝える。スタートキー314は、原稿画像の読み取り動作を開始する時などに用いる。スタートキー314の中央部には、報知手段としての緑と赤の2色のLED318(発光ダイオード)があり、発光ダイオードの発光する色によってスタートキー314が使える状態にあるかどうかを示す。ストップキー315は稼動中の動作を止める働きをする。IDキー316は、使用者のユーザIDを入力する時に用い、リセットキー317は操作部312からの設定を初期化する時に用いる。   The LCD display unit 313 has a touch panel sheet pasted on the LCD, displays a system operation screen, and transmits position information to the controller CPU 2001 when a displayed key is pressed. The start key 314 is used when starting a document image reading operation. At the center of the start key 314, there are two colors of LEDs 318 (light emitting diodes) as green and red as a notification means, and indicates whether or not the start key 314 can be used depending on the color emitted by the light emitting diode. A stop key 315 serves to stop an operation in operation. The ID key 316 is used when inputting the user ID of the user, and the reset key 317 is used when initializing the setting from the operation unit 312.

<電源制御系>
図5は、図1に示したマルチファンクションシステムの電源制御系のブロック図である。
<Power control system>
FIG. 5 is a block diagram of the power supply control system of the multifunction system shown in FIG.

図中の401はメイン電源スイッチであり、402は電源ユニットである。   In the figure, 401 is a main power switch, and 402 is a power unit.

電源ユニット402は、前述のコントローラユニット200やHDD2004への電源を供給するためのユニットであり、メイン電源スイッチ401を介して供給された交流(AC)の入力を直流(DC)に変換している。   The power supply unit 402 is a unit for supplying power to the controller unit 200 and the HDD 2004 described above, and converts an alternating current (AC) input supplied via the main power switch 401 into a direct current (DC). .

<第1の実施の形態に係るハードディスク保護手段>
次に、本実施の形態の特徴を成す、データ格納用のディスクであるハードディスクメディアへのデータ書き込み中に電源が遮断された際のハードディスクメディアを保護する手段(ハードディスク保護手段)について説明する。
<Hard Disk Protection Means According to First Embodiment>
Next, means (hard disk protection means) for protecting the hard disk medium when the power is cut off during data writing to the hard disk medium, which is a data storage disk, which is a feature of the present embodiment will be described.

図6(a)は、電源遮断を事前に検知するための構成を示す図であり、メイン電源のフタ501と、フタ受け部502と、報知手段としてのLEDが内蔵された押しボタン式のメイン電源スイッチ401(ここでは、メイン電源遮断用のスイッチとなる)と、メイン電源スイッチ401の位置をメカ的に制御するバネ制御部507等から成る。   FIG. 6A is a diagram showing a configuration for detecting in advance a power shutdown, and a push button type main unit incorporating a main power cover 501, a lid receiver 502, and an LED as a notification means. The power switch 401 (in this case, a switch for cutting off the main power supply) and a spring control unit 507 for mechanically controlling the position of the main power switch 401 are included.

メイン電源スイッチ401を保護するための保護手段としてのメイン電源のフタ501は、ユーザがメイン電源遮断を行おうとするときに、図6(b)に示す様にユーザがスライドして開けること(メイン電源スイッチ401を保護するための保護手段を解除すること)が必須となる。この解除動作により、フタ501に設けた接点503は、フタ受け部502上の接点504と接触する。この解除の時(検知タイミング)、接点504はGNDレベルとなり、この検知タイミングの情報はフタ501の検知信号DSとしてCPU2001への割り込みを発生させる。CPU2001及びHDD2004の周りの接続を図6(c)に示す。   The main power supply lid 501 as a protection means for protecting the main power supply switch 401 is opened by the user slidingly as shown in FIG. It is essential to release the protection means for protecting the power switch 401. By this releasing operation, the contact 503 provided on the lid 501 comes into contact with the contact 504 on the lid receiving portion 502. At the time of release (detection timing), the contact 504 is at the GND level, and the detection timing information generates an interrupt to the CPU 2001 as the detection signal DS of the lid 501. Connections around the CPU 2001 and the HDD 2004 are shown in FIG.

CPU2001は、フタ501の検知信号DSの割り込みを受けて以下のような処理を行う。図7(a)は、HDD2004への転送中止及びLEDの制御アルゴリズムを示すフローチャートである。   The CPU 2001 performs the following processing in response to the interruption of the detection signal DS of the lid 501. FIG. 7A is a flowchart showing a transfer algorithm to the HDD 2004 and an LED control algorithm.

まず、フタ501の検知信号DSによる割り込みが発生すると(ステップS11)、報知手段としてのLED401aの赤部分を点灯させる(ステップS12)。これにより、ユーザに対して、メイン電源スイッチ401をオフすることを許可していない旨を伝える。   First, when an interrupt is generated by the detection signal DS of the lid 501 (step S11), the red portion of the LED 401a as a notification unit is turned on (step S12). Thereby, the user is informed that turning off the main power switch 401 is not permitted.

その後、CPU2001はHDD2004(バッファ手段側)へのアクセス(アクセス動作)を中断し、HDD2004(バッファ手段側)への新たなデータの書き込みを行わないようにし(ステップS13)、後述の所定の待ち時間が経過するまで待った後(ステップS14)、赤のLED401aを消灯し(ステップS15)、報知手段としての緑のLED401bを点灯する(ステップS16)。LEDの点灯が赤から緑に変わるのを確認した後、ユーザは図7(b)の様にメイン電源スイッチ401をオフする。   Thereafter, the CPU 2001 interrupts the access (access operation) to the HDD 2004 (buffer means side) so as not to write new data to the HDD 2004 (buffer means side) (step S13). (Step S14), the red LED 401a is turned off (step S15), and the green LED 401b as a notification unit is turned on (step S16). After confirming that the lighting of the LED changes from red to green, the user turns off the main power switch 401 as shown in FIG.

これによって、ハードディスクメディアのアクセス中にメイン電源を遮断することを回避することができる。メイン電源スイッチ401は一度押されるとバネ制御部507により、押された状態を保ち続ける。   As a result, it is possible to avoid shutting off the main power supply while the hard disk medium is being accessed. Once the main power switch 401 is pressed, the spring control unit 507 keeps the pressed state.

次に、前述した所定の待ち時間の決定方法について詳細に説明する。   Next, a method for determining the predetermined waiting time described above will be described in detail.

図8(a)は、図7(a)で示したステップS14における待ち時間設定のアルゴリズムを示すフローチャートである。   FIG. 8A is a flowchart showing the waiting time setting algorithm in step S14 shown in FIG.

まず、データ格納用のHDD2004への転送が発生する動作モードが始まって転送要求がCPU2001に入力されると(ステップS21)、CPU2001は、メディア書き込み処理として、HDD2004への転送コマンドを発行する(ステップS22)。HDD2004への転送コマンドが発行されると、HDD2004へのDMA転送が行われ、設定したサイズの転送が終了したときに、CPU2001は転送終了割り込みを受ける(ステップS23)。   First, when an operation mode in which a transfer to the data storage HDD 2004 starts and a transfer request is input to the CPU 2001 (step S21), the CPU 2001 issues a transfer command to the HDD 2004 as a media write process (step S21). S22). When a transfer command to the HDD 2004 is issued, DMA transfer to the HDD 2004 is performed, and when the transfer of the set size is completed, the CPU 2001 receives a transfer end interrupt (step S23).

CPU2001は、転送終了割り込みを受ける度に、設定された転送サイズを加算していく(ステップS24)。累計値がハードディスクメディア内のバッファサイズに達していない場合は(ステップS25)、ステップS22へ戻って引き続き転送コマンドを発行し、HDD2004へのDMA転送を続け、再び割り込みを受けて、転送サイズを加算していく。   The CPU 2001 adds the set transfer size every time a transfer end interrupt is received (step S24). If the accumulated value does not reach the buffer size in the hard disk medium (step S25), the process returns to step S22 to continuously issue a transfer command, continues the DMA transfer to the HDD 2004, receives an interrupt again, and adds the transfer size. I will do it.

累計値がハードディスクメディア内のバッファサイズに達した時(ディスク転送時間の測定結果)に(ステップS25)、トータルの転送時間(ディスク転送時間)を算出し、この時間が過去の最大値を越えた場合は(ステップS26)、所定の待ち時間を再設定する(ステップS27)。ステップS26でトータルの転送時間が過去の最大値を越えない場合は、そのままの設定値が保持される。   When the cumulative value reaches the buffer size in the hard disk medium (disk transfer time measurement result) (step S25), the total transfer time (disk transfer time) is calculated, and this time exceeds the past maximum value. In such a case (step S26), a predetermined waiting time is reset (step S27). If the total transfer time does not exceed the past maximum value in step S26, the set value is held as it is.

こうして決定された所定の待ち時間は、HDD2004内バッファのデータを全てハードディスクメディアに書き込むのに必要な時間のうち最も長いケースを基準とすることになるため、上記のようなフタ501の検知信号DSの割り込みを受けてから所定の待ち時間経過した時には、メディア書き込み処理により、HDD2004内バッファに存在するデータはメディアに全て書き込まれている。そのため、緑のLED401bが点灯した時には、ユーザがメイン電源スイッチ401をオフしても、ハードディスクの不具合の発生は回避することができるのである。   The predetermined waiting time determined in this way is based on the longest case of the time required to write all the data in the buffer in the HDD 2004 to the hard disk medium. Therefore, the detection signal DS of the lid 501 as described above is used. When a predetermined waiting time elapses after receiving the interrupt, all data existing in the buffer in the HDD 2004 is written to the medium by the medium writing process. Therefore, when the green LED 401b is lit, even if the user turns off the main power switch 401, the occurrence of a hard disk failure can be avoided.

電源を起動する時には、再びメイン電源スイッチ401をオフすることにより、メイン電源スイッチ401はバネ制御部507の働きにより図6(a)の状態に戻り電源を投入することができる。この時、フタ501が空いている間は上記の構成によりCPU2001に割り込みが入り、HDD2004へのアクセス(アクセス動作)が中断されている。ユーザはHDD2004へのアクセスを開始するためにはフタ501を閉めなければならない。そのため、ユーザに対してこの操作を忘れないように促すため、操作部312の表示部313には図8(b)のような表示を発生させておく必要がある。   When starting the power supply, the main power switch 401 is turned off again, so that the main power switch 401 returns to the state of FIG. 6A by the action of the spring control unit 507 and can be turned on. At this time, while the cover 501 is empty, the CPU 2001 is interrupted by the above configuration, and access to the HDD 2004 (access operation) is interrupted. The user must close the lid 501 to start access to the HDD 2004. Therefore, in order to prompt the user not to forget this operation, it is necessary to generate a display as shown in FIG. 8B on the display unit 313 of the operation unit 312.

このように本実施の形態では、データ格納用のHDDを有するマルチファンクションシステムにおいて、ユーザがメイン電源を遮断する行為を、検知手段(メイン電源スイッチのフタ501等)が検知したとき、ユーザには赤のLED401aの点灯で電源オフの不許可を示すと同時に、事前にハードディスクメディアへの書き込みを中断し、ハードディスクメディアへの書き込みが完全に終了するまでの十分な時間が経過した後に、ユーザに対して、メイン電源を遮断してよいかどうかの確認メッセージを緑のLED401bの点灯で知らせる。ハードディスクメディアへの書き込みが完全に終了するまでの十分な時間は、通常動作時に、HDD2004が有するバッファ容量分の転送時間におけるワーストケースを自動計測した結果に基づいて設定される。   As described above, in the present embodiment, in a multi-function system having an HDD for storing data, when the detection means (the main power switch cover 501 or the like) detects the action of the user shutting off the main power, When the red LED 401a is turned on, the power off is not permitted. At the same time, writing to the hard disk medium is interrupted in advance, and after a sufficient time has elapsed until the writing to the hard disk medium is completed, Then, a confirmation message as to whether or not the main power supply can be shut off is notified by lighting of the green LED 401b. A sufficient time until the writing to the hard disk medium is completely completed is set based on the result of automatically measuring the worst case in the transfer time corresponding to the buffer capacity of the HDD 2004 during the normal operation.

これにより、ハードディスクメディアへのデータの書き込み中に電源が遮断されることで、セクタ不良による起動障害に陥ることを事前に回避することができる。   As a result, it is possible to avoid in advance a start-up failure due to a sector failure due to the power being shut off during the writing of data to the hard disk medium.

本実施の形態では、LED401aの赤点灯で電源オフの不許可を示し、メイン電源を遮断してよいかどうかの確認メッセージを緑のLED401bの点灯で示したが、これに限らず、メイン電源スイッチ401に、LEDの代わりにスピーカを付けて音声メッセージとしてユーザに注意を促してもよい。即ち、赤のLED401aの点灯するタイミングで、ユーザに電源オフ不許可の音声メッセージを出力し、緑のLED401bの点灯するタイミングで、メイン電源を遮断してよいかの確認用の音声メッセージを出力する。また、LCD表示部313で同様の表示を行うようにしてもよい。   In the present embodiment, the LED 401a is lit red to indicate power-off disapproval, and the confirmation message as to whether or not the main power supply can be shut off is indicated by the green LED 401b being lit. A speaker may be attached to 401 instead of the LED to alert the user as a voice message. That is, when the red LED 401a is turned on, a voice message not permitting power off is output to the user, and when the green LED 401b is turned on, a voice message for confirming whether the main power supply can be shut off is output. . Further, the same display may be performed on the LCD display unit 313.

また、本実施の形態では、HDD2004内バッファに保持されているデータのハードディスクメディアへの書き込みが完全に終了するまでの十分な時間は、HDD2004が有するバッファ容量分の転送時間におけるワーストケースを自動計測した結果に基づいて設定されたが、これに限らず、通常転送を行い得るのに十分な所定時間であればよい。   In this embodiment, the worst case in the transfer time corresponding to the buffer capacity of the HDD 2004 is automatically measured for a sufficient time until the data held in the HDD 2004 buffer is completely written to the hard disk medium. However, the present invention is not limited to this, and it may be a predetermined time sufficient to perform normal transfer.

[第2の実施の形態]
本第2の実施の形態が上述の第1の実施の形態と異なる点は、ハードディスク保護手段のみが異なり、前述した図1〜図4で説明した構成は同じである。
[Second Embodiment]
The second embodiment differs from the first embodiment described above only in the hard disk protection means, and the configuration described with reference to FIGS. 1 to 4 is the same.

<第2の実施の形態に係るハードディスク保護手段>
以下、本発明の第2の実施の形態に係るハードディスク保護手段について説明する。
<Hard Disk Protection Means According to Second Embodiment>
The hard disk protection means according to the second embodiment of the present invention will be described below.

図9は、本発明の第2の実施の形態に係るマルチファンクションシステムの電源制御系を示すブロック図である。   FIG. 9 is a block diagram showing a power supply control system of the multifunction system according to the second embodiment of the present invention.

この電源制御系は、メイン電源1001、サブ電源1002、リセット回路1003、リレー制御回路1004、リレー1005、及びメイン電源スイッチ401から成る。   The power supply control system includes a main power supply 1001, a sub power supply 1002, a reset circuit 1003, a relay control circuit 1004, a relay 1005, and a main power switch 401.

メイン電源1001は、前述したコントローラユニット200やHDD2004へ電源を供給するためのユニットであり、交流(AC)の入力を直流(DC)に変換している。本システムの大半の電力供給は、このメイン電源1001によって行われる。   The main power supply 1001 is a unit for supplying power to the controller unit 200 and the HDD 2004 described above, and converts alternating current (AC) input into direct current (DC). The main power supply 1001 supplies most of the power of this system.

サブ電源1002は、メイン電源スイッチ401のオン/オフを受けてリセット回路1003にDCを供給するために使用され、メイン電源1001より遙かに小容量の電源ユニットで構成されている。   The sub power supply 1002 is used to supply DC to the reset circuit 1003 in response to ON / OFF of the main power switch 401, and is configured by a power supply unit having a much smaller capacity than the main power supply 1001.

以下、図10(a),(b)のフローチャートを参照しつつ、本電源制御系の動作について説明する。なお、図10(a)は、メイン電源スイッチ401がオンされた時の電源制御の流れを示すフローチャートであり、図10(b)は、メイン電源スイッチ401がオフされた時の電源制御の流れを示すフローチャートである。   Hereinafter, the operation of the power supply control system will be described with reference to the flowcharts of FIGS. 10 (a) and 10 (b). 10A is a flowchart showing a flow of power control when the main power switch 401 is turned on, and FIG. 10B is a flow of power control when the main power switch 401 is turned off. It is a flowchart which shows.

まず、図10(a)において、メイン電源スイッチ401がオンされると(ステップS31)、サブ電源1002に交流電源ACが投入される。サブ電源1002はDC電源を発生させ、それを受けてリセット回路1003はreset信号の”H”レベルを出力する(ステップS32)。   First, in FIG. 10A, when the main power switch 401 is turned on (step S31), the AC power supply AC is turned on to the sub power supply 1002. The sub power supply 1002 generates a DC power supply, and the reset circuit 1003 receives the “H” level of the reset signal in response to the DC power supply (step S32).

リレー制御回路1004はreset信号の”H”レベルを受けるとリレー1005をオンする(ステップS33)。その結果、メイン電源1001に交流電源ACが供給されるため、コントローラユニット200及びHDD2004に電源が供給される。   When receiving the “H” level of the reset signal, the relay control circuit 1004 turns on the relay 1005 (step S33). As a result, the AC power supply AC is supplied to the main power supply 1001, and thus the power is supplied to the controller unit 200 and the HDD 2004.

コントローラユニット200に電源が供給されると、コントローラユニット200の出力信号であるpower・down信号が”H”レベルにディアサートされる(ステップS34)。リレー制御回路1004は、reset信号、power・down信号のいずれかが”H”レベルである限りリレー1005をオンし続ける。   When power is supplied to the controller unit 200, the power / down signal, which is the output signal of the controller unit 200, is deasserted to "H" level (step S34). The relay control circuit 1004 continues to turn on the relay 1005 as long as either the reset signal or the power / down signal is at “H” level.

図10(b)において、メイン電源スイッチ401がオフされると(ステップS41)、サブ電源1002に投入されていた交流電源ACが途絶えて出力のDC電源が遮断するため、それを検知したリセット回路1003は、reset信号の”L”レベルを出力する(ステップS42)。リセット回路1003のリセット出力は、コントローラユニット200内のCPU2001への割り込み信号としても使用されているため、コントローラユニット200のCPU2001は、リセット回路1003のリセット出力のタイミングを知ることができる。   In FIG. 10B, when the main power switch 401 is turned off (step S41), the AC power supply AC supplied to the sub power supply 1002 is interrupted and the output DC power supply is cut off. 1003 outputs the "L" level of the reset signal (step S42). Since the reset output of the reset circuit 1003 is also used as an interrupt signal to the CPU 2001 in the controller unit 200, the CPU 2001 of the controller unit 200 can know the reset output timing of the reset circuit 1003.

コントローラユニット200のCPU2001は上記割り込みを受けると(ステップS43)、まず、データ格納用のHDD2004へのアクセス(アクセス動作)を中断し、HDD2004への新たなデータの書き込みを行わないようにする(ステップS44)。   When the CPU 2001 of the controller unit 200 receives the interrupt (step S43), first, the access (access operation) to the data storage HDD 2004 is interrupted and new data is not written to the HDD 2004 (step S43). S44).

ハードディスクには通常バッファ部とメディア部が存在し、コントローラユニット200のアクセス中断後もハードディスク内バッファ部に存在するデータはメディア部に書き込まれる。近年、このバッファの容量は増加する傾向にあり、アクセス中断からメディア転送終了までの時間差は無視できないものとなっている。そのため、この時間差である”所定の時間”を後述のルーチンでカウントし(ステップS45)、HDD2004への書き込み動作中でないタイミングを見つけて、前述のpower・down信号を”L”レベルに出力する(ステップS46)。これにより、power・down信号とreset信号が共に”L”レベルになるため、リレー制御回路1004はリレー1005をオフする(ステップS47)。   The hard disk normally has a buffer unit and a media unit, and data existing in the buffer unit in the hard disk is written to the media unit even after the access of the controller unit 200 is interrupted. In recent years, the capacity of this buffer tends to increase, and the time difference from the interruption of access to the end of media transfer cannot be ignored. For this reason, the “predetermined time”, which is this time difference, is counted by a routine described later (step S45), the timing when the writing operation to the HDD 2004 is not being performed is found, and the power / down signal is output to the “L” level ( Step S46). As a result, both the power down signal and the reset signal become “L” level, so that the relay control circuit 1004 turns off the relay 1005 (step S47).

リレー1005がオフされると、メイン電源1001に交流電源ACが供給されなくなり、メインコントローラユニット200及びHDD2004の電源が遮断され、システムが停止する。   When the relay 1005 is turned off, the AC power source AC is not supplied to the main power source 1001, the power source of the main controller unit 200 and the HDD 2004 is shut off, and the system is stopped.

このように、本実施の形態によれば、HDD2004が書き込み動作状態でないことが確認されてから電源を遮断するため、HDD2004の不良セクタ発生に伴う起動不良に至る危険性を抑えることができる。   As described above, according to the present embodiment, since it is confirmed that the HDD 2004 is not in the write operation state, the power supply is shut down, so that it is possible to suppress the risk of starting failure due to the occurrence of a defective sector in the HDD 2004.

また、前述したステップS45における所定の待ち時間の決定方法については、図8(a)を用いて第1の実施の形態で説明したものと同じである。こうして決定された所定の待ち時間は、HDD2004内のバッファ部のデータを全てメディアに書き込むのに十分な時間のうち最も長いケースを基準とすることになるため、上記のようなメイン電源スイッチ401のオフ時に発生する割り込みを受けてから所定の待ち時間経過した時には、HDD2004内のバッファ部に存在するデータはメディアに全て書き込まれている。そのため、前述のリレー1005がオフされた時には、HDD2004の書き込み動作が完全に終了しているため、電源遮断に伴う不具合の発生を回避することができるのである。   The predetermined waiting time determination method in step S45 described above is the same as that described in the first embodiment with reference to FIG. The predetermined waiting time determined in this way is based on the longest case among the time sufficient to write all the data in the buffer unit in the HDD 2004 to the medium. When a predetermined waiting time elapses after receiving an interrupt generated at the time of turning off, all the data existing in the buffer unit in the HDD 2004 is written on the medium. Therefore, when the above-described relay 1005 is turned off, the writing operation of the HDD 2004 is completely completed, so that it is possible to avoid the occurrence of a problem associated with the power shutdown.

なお、上述した図7(a)、図8(a)、及び図10(a),(b)のフローチャートに従ったプログラムをコントローラユニット200内の例えばROM2003に格納し動作することにより、上述の制御方法を実現させることが可能となる。   7A, FIG. 8A, FIG. 10A, and FIG. 10B are stored in the controller unit 200 in the ROM 2003, for example, and operated. A control method can be realized.

また、上記各実施の形態では、ハードディスクの保護に限定して説明したが、同様の手法で、他の記録メディアへのデータ書き込み中に電源が遮断された場合にも適用することができる。即ち、システムの起動に支障を与えることを防ぐことができるのであれば、ハードディスクに限らず、他のメディア(例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM)に適用してもよいことは言うまでもない。   In each of the above embodiments, the description is limited to the protection of the hard disk. However, the present invention can also be applied to a case where the power is shut off during data writing to another recording medium by the same method. That is, as long as it can prevent the system from being hindered, it is not limited to a hard disk, but other media (for example, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD). -R, magnetic tape, non-volatile memory card, ROM), it goes without saying.

本発明は、上述した実施の形態の装置に限定されず、複数の機器から構成されるシステムに適用しても、1つの機器から成る装置に適用してもよい。即ち、マルチファンクションシステムについて説明したが、これに限らず、プリンタ装置、スキャナ装置、ファクシミリ装置であってもよい。前述した実施の形態の機能を実現するCPUのプログラムコードを記憶した記憶媒体をシステムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、完成されることは言うまでもない。   The present invention is not limited to the apparatus of the above-described embodiment, and may be applied to a system constituted by a plurality of devices or an apparatus constituted by one device. That is, the multi-function system has been described. However, the present invention is not limited to this, and a printer device, a scanner device, or a facsimile device may be used. A storage medium storing the CPU program code for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus reads the program code stored in the storage medium. It goes without saying that it is completed by executing.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMを用いることができる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施の形態の機能が実現されるだけではなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM should be used. Can do. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. It goes without saying that a case where the functions of the above-described embodiment are realized by performing part or all of the above and the processing thereof is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、次のそのプログラムコードの指示に基づき、その拡張機能を拡張ボードや拡張ユニットに備わるCPUなどが処理を行って実際の処理の一部または全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program code read from the storage medium is written to the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the program code is read based on the instruction of the next program code. It goes without saying that the CPU of the expansion board or the expansion unit performs the processing of the extended function to perform part or all of the actual processing, and the function of the above-described embodiment is realized by the processing. .

第1の実施の形態に係るマルチファンクションシステムのシステム構成を示すブロック図である。It is a block diagram which shows the system configuration | structure of the multifunction system which concerns on 1st Embodiment. 図1に示したマルチファンクションシステムの機能構成を示すブロック図である。It is a block diagram which shows the function structure of the multifunction system shown in FIG. 図1に示したマルチファンクションシステムの外観図である。It is an external view of the multifunction system shown in FIG. 図2に示したマルチファンクションシステムの操作部の外観構成を示す図である。It is a figure which shows the external appearance structure of the operation part of the multifunction system shown in FIG. 図1に示したマルチファンクションシステムの電源制御系のブロック図である。FIG. 2 is a block diagram of a power supply control system of the multifunction system shown in FIG. 1. 第1の実施の形態に係るハードディスク保護手段の構成を示す図である。It is a figure which shows the structure of the hard-disk protection means which concerns on 1st Embodiment. 第1の実施の形態の動作を示す図である。It is a figure which shows operation | movement of 1st Embodiment. 第1の実施の形態の動作を示す図である。It is a figure which shows operation | movement of 1st Embodiment. 第2の実施の形態に係るマルチファンクションシステムの電源制御系を示すブロック図である。It is a block diagram which shows the power supply control system of the multifunction system which concerns on 2nd Embodiment. 第2の実施の形態の動作を示す図である。It is a figure which shows operation | movement of 2nd Embodiment.

符号の説明Explanation of symbols

200 コントローラユニット
401 メイン電源スイッチ
401a,401b LED
402 電源ユニット
501 メイン電源のフタ
502 フタ受け部分
507 バネ制御部
1001 メイン電源
1002 サブ電源
1003 リセット回路
1004 リレー制御回路
1005 リレー
2004 HDD
200 Controller unit 401 Main power switch 401a, 401b LED
402 Power supply unit 501 Main power supply cover 502 Cover receiving portion 507 Spring control unit 1001 Main power supply 1002 Sub power supply 1003 Reset circuit 1004 Relay control circuit 1005 Relay 2004 HDD

Claims (9)

データ格納用のディスクを有する画像処理装置において、
前記ディスクは、ディスクメディアと該ディスクメディアにデータを格納するためのバッファ手段を有し、
当該画像処理装置のメイン電源を遮断するためのユーザの操作を検知する検知手段と、
前記検知手段によって前記操作が検出された場合に、前記ディスクへのアクセス動作を中断し、新たなデータの書き込みを行わないようにするアクセス中断手段と、
前記検知手段によって前記操作が検知された場合に、前記バッファ手段に既に書き込まれているデータを前記ディスクに書き込み処理を行うメディア書き込み処理手段と、
前記メイン電源の遮断に関する情報を報知する報知手段とを有し、
前記メディア書き込み処理手段による書き込み処理をしているかどうかに基づいて、前記報知手段はメイン電源を遮断してよいかどうかを報知することを特徴とする画像処理装置。
In an image processing apparatus having a disk for storing data,
The disk has a disk medium and buffer means for storing data in the disk medium,
Detecting means for detecting a user operation for shutting off a main power supply of the image processing apparatus;
An access interruption means for interrupting an access operation to the disk and not writing new data when the operation is detected by the detection means;
Media writing processing means for writing data already written in the buffer means to the disk when the operation is detected by the detecting means;
An informing means for informing information relating to the shutoff of the main power supply,
The image processing apparatus according to claim 1, wherein the notifying unit notifies whether or not the main power supply may be shut off based on whether or not the writing process by the media writing processing unit is performed.
前記検知手段の検知タイミングは、メイン電源遮断用のメイン電源スイッチを保護する保護手段が解除されたときであることを特徴とする請求項1記載の画像処理装置。   2. The image processing apparatus according to claim 1, wherein the detection timing of the detection means is when a protection means for protecting a main power switch for cutting off the main power supply is released. 前記報知手段は、前記メイン電源スイッチに内蔵された発光ダイオードを発光させることを特徴とする請求項2記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the notification unit causes a light emitting diode built in the main power switch to emit light. 前記メディア書き込み処理手段による書き込み処理をしている場合は、前記報知手段は、メイン電源の遮断を許可しない旨を出力することを特徴とする請求項1乃至3のいずれかに記載の画像処理装置。   4. The image processing apparatus according to claim 1, wherein when the writing process is performed by the media writing processing unit, the notification unit outputs that the main power supply is not permitted to be cut off. 5. . 前記メディア書き込み処理手段による書き込み処理を終了している場合は、前記報知手段は、メイン電源の遮断を許可する旨を出力することを特徴とする請求項1乃至4のいずれかに記載の画像処理装置。   5. The image processing according to claim 1, wherein when the writing process by the media writing processing unit is finished, the notification unit outputs that the main power supply is cut off. 6. apparatus. 前記検知手段により前記操作を検知してから所定の時間が経過したかどうかによって、前記メディア書き込み処理手段による書き込み処理をしているかどうかを判断することを特徴とする請求項1乃至5のいずれかに記載の画像処理装置。   6. The method according to claim 1, wherein whether or not a writing process is performed by the media writing processing unit is determined based on whether or not a predetermined time has elapsed since the detection unit detected the operation. An image processing apparatus according to 1. 前記所定の時間は、通常の動作時に行われたディスク転送時間の測定結果を元に算出することを特徴とする請求項6記載の画像処理装置。   7. The image processing apparatus according to claim 6, wherein the predetermined time is calculated based on a measurement result of a disk transfer time performed during a normal operation. ディスクメディアと該ディスクメディアにデータを書き込むためのバッファ手段を含むデータ格納用のディスクを有する画像処理装置のディスク保護方法において、
前記画像処理装置のメイン電源を遮断するためのユーザの操作を検知する検知工程と、
前記検知工程によって前記操作が検知された場合に、前記ディスクへのアクセス動作を中断し、新たなデータの書き込みを行わないようにする工程と、
前記検知工程によって前記操作が検知された場合に、前記バッファ手段に既に書き込まれているデータを前記ディスクメディアに書き込む処理を行うメディア書き込み処理工程と、
前記メディア書き込み処理工程による書き込み処理をしているかどうかに基づいて、報知手段によりメイン電源を遮断してよいかどうかを報知する工程とを有することを特徴とする画像処理装置のディスク保護方法。
In a disk protection method for an image processing apparatus having a disk for storing data including a disk medium and buffer means for writing data to the disk medium,
A detection step of detecting a user operation for shutting off a main power supply of the image processing apparatus;
A step of interrupting an access operation to the disk and not writing new data when the operation is detected by the detection step;
A media write processing step for performing a process of writing data already written in the buffer means to the disk media when the operation is detected by the detection step;
A disc protection method for an image processing apparatus, comprising: notifying a main power supply by an informing means based on whether or not the writing process in the media writing process step is performed.
ディスクメディアと該ディスクメディアにデータを書き込むためのバッファ手段を含むデータ格納用のディスクを有する画像処理装置のディスク保護方法を実行するための制御プログラムであって、
前記画像処理装置のメイン電源を遮断するためのユーザの操作を検知する検知ステップと、
前記検知ステップによって前記操作が検知された場合に、前記ディスクへのアクセス動作を中断し、新たなデータの書き込みを行わないようにするステップと、
前記検知ステップによって前記操作が検知された場合に、前記バッファ手段に既に書き込まれているデータを前記ディスクメディアに書き込む処理を行うメディア書き込み処理ステップと、
前記メディア書き込み処理ステップによる書き込み処理をしているかどうかに基づいて、報知手段によりメイン電源を遮断してよいかどうかを報知するステップとを有することを特徴とする制御プログラム。
A control program for executing a disk protection method of an image processing apparatus having a disk for storing data including a disk medium and buffer means for writing data to the disk medium,
A detection step of detecting a user operation for shutting off a main power supply of the image processing apparatus;
A step of interrupting an access operation to the disk and not writing new data when the operation is detected by the detection step;
A media writing processing step for performing processing for writing data already written in the buffer means to the disk media when the operation is detected by the detecting step;
And a step of notifying whether or not the main power supply may be shut off based on whether or not the writing process in the media writing process step is performed.
JP2007197489A 2003-05-22 2007-07-30 Image processor, disk protection method therefor, and control program for executing disk protection method Pending JP2007334906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007197489A JP2007334906A (en) 2003-05-22 2007-07-30 Image processor, disk protection method therefor, and control program for executing disk protection method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003144933 2003-05-22
JP2007197489A JP2007334906A (en) 2003-05-22 2007-07-30 Image processor, disk protection method therefor, and control program for executing disk protection method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004137655A Division JP2005011320A (en) 2003-05-22 2004-05-06 Image processor, its disk protection method, medium for providing control program, and control program

Publications (1)

Publication Number Publication Date
JP2007334906A true JP2007334906A (en) 2007-12-27

Family

ID=38934258

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007197489A Pending JP2007334906A (en) 2003-05-22 2007-07-30 Image processor, disk protection method therefor, and control program for executing disk protection method

Country Status (1)

Country Link
JP (1) JP2007334906A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011059959A (en) * 2009-09-09 2011-03-24 Mitsubishi Electric Corp Computer device for vehicle
EP2392987A1 (en) 2010-06-02 2011-12-07 Ricoh Company, Ltd. Image processing apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62209604A (en) * 1986-03-11 1987-09-14 Fujitsu Ltd Power supply cut-off system for information processing system
JPS63305445A (en) * 1987-06-08 1988-12-13 Fujitsu Ltd Data writing system at power break
JPS63308621A (en) * 1987-06-10 1988-12-16 Canon Inc Power source control circuit
JPH0375810A (en) * 1989-08-17 1991-03-29 Mitsubishi Electric Corp Electronic computer
JPH0651879A (en) * 1992-07-31 1994-02-25 Fujitsu Ltd Power source interruption processing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62209604A (en) * 1986-03-11 1987-09-14 Fujitsu Ltd Power supply cut-off system for information processing system
JPS63305445A (en) * 1987-06-08 1988-12-13 Fujitsu Ltd Data writing system at power break
JPS63308621A (en) * 1987-06-10 1988-12-16 Canon Inc Power source control circuit
JPH0375810A (en) * 1989-08-17 1991-03-29 Mitsubishi Electric Corp Electronic computer
JPH0651879A (en) * 1992-07-31 1994-02-25 Fujitsu Ltd Power source interruption processing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011059959A (en) * 2009-09-09 2011-03-24 Mitsubishi Electric Corp Computer device for vehicle
EP2392987A1 (en) 2010-06-02 2011-12-07 Ricoh Company, Ltd. Image processing apparatus
US9063716B2 (en) 2010-06-02 2015-06-23 Ricoh Company, Limited Image processing apparatus and method for interrupting a power supply in response to a user's operation or a kernel of the operating system to switch the power supply between a supply of power and an interruption of power to the apparatus, when a time lapse since an interrupt request notification was sent, exceeds one of a plurality of predetermined times

Similar Documents

Publication Publication Date Title
US20070250733A1 (en) Apparatus having power saving mode and method of controlling apparatus
CN103489415B (en) Reduce the image processing system and the control method thereof that return the time used from dormancy
JP2007043665A (en) Image forming apparatus and method of controlling the same
JP4182090B2 (en) Data processing device
JP2013246491A (en) Information processing device, control method of information processing device, program, and recording medium
KR101684229B1 (en) Image forming apparatus, method for controlling the same, recording medium, and image forming system
JP2008065242A (en) Image forming apparatus
US9291983B2 (en) Image forming apparatus, control method and program
JP2000196789A (en) Energy saving returning method and recorder using the same
JP2006092481A (en) Information processing apparatus
US7424627B2 (en) Storage device protection system, method for protecting hard disk thereof, medium for providing control program, and control program
JP2007334906A (en) Image processor, disk protection method therefor, and control program for executing disk protection method
JP2005011320A (en) Image processor, its disk protection method, medium for providing control program, and control program
US9268290B2 (en) Image forming apparatus, image forming apparatus control method, and storage medium
JP2010131929A (en) Electronic equipment and control method thereof
JP2007025882A (en) Means of fast recovery from power-saving mode
JP5736684B2 (en) Image forming system, image forming system control method, control program, and recording medium
JP4507678B2 (en) Processing equipment
JP2006095741A (en) Information processing equipment
JP2014079957A (en) Image formation device, image formation device control method, and program
JP2010000702A (en) Image forming apparatus, power supply control method executed in image forming apparatus, power supply control program, and image forming system
JPH11301078A (en) Composite apparatus
JP2018197991A (en) Alteration detecting device, control method thereof, and program
JP6743206B2 (en) Information processing apparatus, control method of information processing apparatus, program, and recording medium
JP7000497B2 (en) Printing device and control method of printing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090916

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090929

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100510