JP2009211435A - Information processor, control method of information processor, control program and recording medium - Google Patents

Information processor, control method of information processor, control program and recording medium Download PDF

Info

Publication number
JP2009211435A
JP2009211435A JP2008054145A JP2008054145A JP2009211435A JP 2009211435 A JP2009211435 A JP 2009211435A JP 2008054145 A JP2008054145 A JP 2008054145A JP 2008054145 A JP2008054145 A JP 2008054145A JP 2009211435 A JP2009211435 A JP 2009211435A
Authority
JP
Japan
Prior art keywords
information
storage medium
written
writing
spare
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
JP2008054145A
Other languages
Japanese (ja)
Inventor
Tatsuo Niimura
龍雄 新村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008054145A priority Critical patent/JP2009211435A/en
Publication of JP2009211435A publication Critical patent/JP2009211435A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a failure that may occur when write of information is incomplete in an information processor with a nonvolatile storage medium mounted thereon. <P>SOLUTION: Information to be written when writing the information to a system NVRAM 109 is written to a sub NVRAM 110. A write flag of the sub NVRAM 110 is updated when the write is completed and when executing the write, The information to be written following the completion of the write to the sub NVRAM 110 is written to the system NVRAM 109. The write flag of the system NVRAM 109 is updated when the write is completed and when executing the write. On the basis of the write flags of the system NVRAM 109 and the sub NVRAM 110, boot processing of the information processor 1 is controlled. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、情報処理装置、情報処理装置の制御方法、制御プログラム及び記録媒体に関し、特に装置に接続された不揮発性記憶媒体の制御に関する。   The present invention relates to an information processing apparatus, a control method for the information processing apparatus, a control program, and a recording medium, and more particularly to control of a nonvolatile storage medium connected to the apparatus.

情報処理装置において、NVRAM(Non―Volatile Random Access Memory)デバイスに対してデータ書込み中に、システムの電源が遮断された場合、NVRAMの情報は部分的に更新され、その情報が保持される。このような情報が読み出されるときはデータの更新が正常に行われていないにもかかわらず、データが読み出され、その情報を参照するアプリケーション等の誤動作の原因になることが多い。   In the information processing apparatus, when the system power is shut down while data is being written to a non-volatile random access memory (NVRAM) device, the information in the NVRAM is partially updated and the information is retained. When such information is read, the data is often read despite the fact that the data has not been updated normally, which may cause a malfunction of an application or the like that refers to the information.

このような問題を解決するため、通常使用するNVRAMに加えて第2のNVRAMを配置し、通常使用するNVRAMへのデータ書込みに応じて第2のNVRAMにデータ書込み中を示すフラグを記録する方法が提案されている(例えば、特許文献1参照)。特許文献1に開示された方法によれば、通常使用するNVRAMからのデータ読出し時に、第2のNVRAMに記録されたフラグを参照することで、データの信頼性を判断するようにしている。
特開2004−280198号公報
In order to solve such a problem, a method in which a second NVRAM is arranged in addition to a normally used NVRAM and a flag indicating that data is being written is recorded in the second NVRAM in accordance with the data writing to the normally used NVRAM Has been proposed (see, for example, Patent Document 1). According to the method disclosed in Patent Document 1, the reliability of data is determined by referring to the flag recorded in the second NVRAM when data is read from the normally used NVRAM.
JP 2004-280198 A

しかしながら、特許文献1に開示された方法では、NVRAMへのデータ書込みが正常に完了したか否かを判断することはできても、NVRAMに記憶されているデータを正常な状態に保つことはできない。また、NVRAMへのデータ書込みが正常に完了していないことを検知した場合であっても、NVRAMに記憶されているどのデータが不完全な状態であるかが判断不能であるため、NVRAMに記憶されているデータの復旧が困難であるという問題がある。   However, with the method disclosed in Patent Document 1, it is possible to determine whether or not data writing to the NVRAM has been normally completed, but it is not possible to keep the data stored in the NVRAM in a normal state. . Even if it is detected that data writing to NVRAM has not been completed normally, it is impossible to determine which data stored in NVRAM is incomplete, so it is stored in NVRAM. There is a problem that it is difficult to recover the stored data.

このような課題は、NVRAMのような不揮発性記憶媒体を搭載する情報処理装置において広く一般に発生し得るが、例えば画像処理装置等、所定の機能に特化した専用装置は、搭載されている情報記憶媒体を精細な制御を可能とするインタフェースが設けられていないことが一般的であるため、情報の復旧が特に困難となる。   Such a problem can occur generally in an information processing apparatus equipped with a non-volatile storage medium such as NVRAM. For example, a dedicated device specialized for a predetermined function, such as an image processing apparatus, is provided with information installed in the information processing apparatus. Since an interface that enables fine control of a storage medium is generally not provided, it is particularly difficult to recover information.

本発明は、上記実情を考慮してなされたものであり、不揮発性記憶媒体を搭載する情報処理装置において、情報の書込みが不完全である場合に起こり得る不具合を回避することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to avoid a problem that may occur when information writing is incomplete in an information processing apparatus equipped with a nonvolatile storage medium.

上記課題を解決するために、請求項1に記載の発明は、情報の読み書きが可能な不揮発性記憶媒体を接続して制御可能な情報処理装置であって、前記不揮発性記憶媒体とは異なる不揮発性の記憶媒体である予備記憶媒体を制御し、少なくとも前記予備記憶媒体に当該予備記憶媒体への情報の書込み状態に関する予備記憶媒体制御情報を書込む予備記憶媒体制御部と、前記不揮発性記憶媒体を制御し、少なくとも前記不揮発性記憶媒体に当該不揮発性記憶媒体への情報の書込み状態に関する記憶媒体制御情報を書込む記憶媒体制御部と、前記予備記憶媒体制御情報及び前記記憶媒体制御情報の少なくとも一方に基づいて前記情報処理装置の起動処理を制御する起動処理制御部とを有し、前記予備記憶媒体制御部は、前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報を前記予備記憶媒体に書込み、前記書込むべき情報を前記予備記憶媒体に書込む際に前記予備記憶媒体制御情報を更新し、前記予備記憶媒体への前記書込むべき情報の書込み完了に際して前記予備記憶媒体制御情報を更新し、前記記憶媒体制御部は、前記予備記憶媒体制御部による前記予備記憶媒体への前記書込むべき情報の書込み完了に続いて前記書込むべき情報を前記不揮発性記憶媒体に書込み、前記書込むべき情報を前記不揮発性記憶媒体に書込む際に前記記憶媒体制御情報を更新し、前記不揮発性記憶媒体への前記書込むべき情報の書込み完了に際して前記記憶媒体制御情報を更新することを特徴とする。   In order to solve the above-described problem, the invention described in claim 1 is an information processing apparatus that can be connected to and controlled by a nonvolatile storage medium capable of reading and writing information, and is a nonvolatile memory different from the nonvolatile storage medium A spare storage medium control unit that controls a spare storage medium that is a storage medium and writes at least spare storage medium control information related to a state of writing information to the spare storage medium to the spare storage medium, and the nonvolatile storage medium A storage medium control unit that writes at least storage medium control information related to a state of writing information to the nonvolatile storage medium to the nonvolatile storage medium, at least the spare storage medium control information and the storage medium control information And a startup processing control unit that controls startup processing of the information processing apparatus based on the one side, and the spare storage medium control unit stores information on the nonvolatile storage medium. Information to be written to the non-volatile storage medium at the time of writing, the spare storage medium control information is updated when the information to be written is written to the spare storage medium, and the spare storage medium The spare storage medium control information is updated upon completion of writing of the information to be written to the storage medium, and the storage medium control unit completes writing of the information to be written to the spare storage medium by the spare storage medium control unit. Subsequently, the information to be written is written to the nonvolatile storage medium, the storage medium control information is updated when the information to be written is written to the nonvolatile storage medium, and the writing to the nonvolatile storage medium is performed. The storage medium control information is updated when writing of information to be stored is completed.

また、請求項2に記載の発明は、請求項1に記載の情報処理装置において、前記起動処理制御部は、前記記憶媒体制御情報に基づいて前記不揮発性記憶媒体への前記書込むべき情報の不完全な書込みを判断し、前記記憶媒体制御部は、前記判断に基づいて前記予備記憶媒体に書込まれた前記書込むべき情報を前記不揮発性記憶媒体に書込むことを特徴とする。   According to a second aspect of the present invention, in the information processing apparatus according to the first aspect, the activation process control unit is configured to store the information to be written to the nonvolatile storage medium based on the storage medium control information. The incomplete writing is determined, and the storage medium control unit writes the information to be written written in the spare storage medium based on the determination into the non-volatile storage medium.

また、請求項3に記載の発明は、請求項2に記載の情報処理装置において、前記記憶媒体制御情報は、前記不揮発性記憶媒体への情報の書込み処理を実行中か否かを示す情報であり、前記記憶媒体制御部は、前記書込むべき情報を前記不揮発性記憶媒体に書込む際に、前記不揮発性記憶媒体への情報の書込み処理を実行中であることを示すように前記記憶媒体制御情報を更新し、前記不揮発性記憶媒体への前記書込むべき情報の書込み完了に際して、前記不揮発性記憶媒体への情報の書込み処理を非実行中であることを示すように前記記憶媒体制御情報を更新し、前記起動処理制御部は、前記記憶媒体制御情報が前記書込み処理を実行中であることを示す場合に前記不揮発性記憶媒体への前記書込むべき情報の不完全な書込みを判断することを特徴とする。   Further, in the information processing apparatus according to claim 2, the storage medium control information is information indicating whether or not a process of writing information to the nonvolatile storage medium is being executed. And the storage medium control unit indicates that when writing the information to be written to the nonvolatile storage medium, the storage medium control unit is executing a process of writing information to the nonvolatile storage medium. The storage medium control information is updated so as to indicate that a process of writing information to the nonvolatile storage medium is not being executed upon completion of writing of the information to be written to the nonvolatile storage medium. And the activation processing control unit determines incomplete writing of the information to be written to the nonvolatile storage medium when the storage medium control information indicates that the writing process is being executed. thing And features.

また、請求項4に記載の発明は、請求項2または3に記載の情報処理装置において、前記予備記憶媒体制御部は、前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報の内容に関する内容情報を前記予備記憶媒体に書込み、前記記憶媒体制御部は、前記内容情報に基づいて前記予備記憶媒体に書込まれた前記書込むべき情報を前記不揮発性記憶媒体に書込むことを特徴とする。   According to a fourth aspect of the present invention, in the information processing apparatus according to the second or third aspect, the spare storage medium control unit writes the information to the non-volatile storage medium when writing information to the non-volatile storage medium. Content information relating to the content of information to be written is written to the spare storage medium, and the storage medium control unit writes the information to be written written to the spare storage medium based on the content information to the nonvolatile storage medium. It is characterized by writing.

また、請求項5に記載の発明は、請求項1乃至4に記載の情報処理装置において、前記起動処理制御部は、前記予備記憶媒体制御情報に基づいて前記書込むべき情報の不完全な書込みを判断し、前記書込むべき情報の前記不揮発性記憶媒体への書込みが未完であることを通知することを特徴とする。   According to a fifth aspect of the present invention, in the information processing apparatus according to any one of the first to fourth aspects, the activation processing control unit writes the information to be written incompletely based on the spare storage medium control information. And notifying that the writing of the information to be written into the nonvolatile storage medium is incomplete.

また、請求項6に記載の発明は、請求項5に記載の情報処理装置において、前記予備記憶媒体制御情報は、前記予備記憶媒体への情報の書込み処理を実行中か否かを示す情報であり、前記予備記憶媒体制御部は、前記書込むべき情報を前記予備記憶媒体に書込む際に、前記予備記憶媒体への情報の書込み処理を実行中であることを示すように前記予備記憶媒体制御情報を更新し、前記予備記憶媒体への前記書込むべき情報の書込み完了に際して、前記予備記憶媒体への情報の書込み処理を非実行中であることを示すように前記予備記憶媒体制御情報を更新し、
前記起動処理制御部は、前記予備記憶媒体制御情報が前記書込み処理を実行中であることを示す場合に前記書込むべき情報の不完全な書込みを判断することを特徴とする。
Further, in the information processing apparatus according to claim 5, the spare storage medium control information is information indicating whether or not information writing processing to the spare storage medium is being executed. And the spare storage medium control unit indicates that when the information to be written is written into the spare storage medium, the spare storage medium is in a process of writing information to the spare storage medium. Update the control information, and upon completion of writing of the information to be written to the spare storage medium, the spare storage medium control information is set to indicate that the information writing process to the spare storage medium is not being executed. Updated,
The activation process control unit determines that the information to be written is incompletely written when the spare storage medium control information indicates that the write process is being executed.

また、請求項7に記載の発明は、請求項5または6に記載の情報処理装置において、前記予備記憶媒体制御部は、前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報の内容に関する内容情報を前記予備記憶媒体に書込み、前記起動処理制御部は、前記書込みが未完であることの通知において前記内容情報に基づいて前記書込むべき情報の内容を通知することを特徴とする。   The invention according to claim 7 is the information processing apparatus according to claim 5 or 6, wherein the spare storage medium control unit writes the information to the nonvolatile storage medium when writing information to the nonvolatile storage medium. Content information relating to the content of information to be written is written to the spare storage medium, and the activation processing control unit notifies the content of the information to be written based on the content information in a notification that the writing is incomplete It is characterized by.

また、請求項8に記載の発明は、請求項1乃至7いずれか1項に記載の情報処理装置において、前記不揮発性記憶媒体は、前記情報処理装置の動作制御において用いられる動作制御情報を記憶していることを特徴とする。   The invention according to claim 8 is the information processing apparatus according to any one of claims 1 to 7, wherein the nonvolatile storage medium stores operation control information used in operation control of the information processing apparatus. It is characterized by that.

また、請求項9に記載の発明は、請求項4または7に記載の情報処理装置において、前記不揮発性記憶媒体は、前記情報処理装置の動作制御において用いられる動作制御情報を記憶しており、前記内容情報は、前記情報処理装置の動作制御項目のいずれかを示す情報であることを特徴とする。   The invention according to claim 9 is the information processing apparatus according to claim 4 or 7, wherein the nonvolatile storage medium stores operation control information used in operation control of the information processing apparatus, The content information is information indicating any one of operation control items of the information processing apparatus.

また、請求項10に記載の発明は、情報の読み書きが可能な不揮発性記憶媒体を接続して制御可能な情報処理装置の制御方法であって、前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報を前記不揮発性記憶媒体とは異なる不揮発性の記憶媒体である予備記憶媒体に書込み、前記書込むべき情報を前記予備記憶媒体に書込む際に前記予備記憶媒体に記憶されている情報であって前記予備記憶媒体への情報の書込み状態に関する予備記憶媒体制御情報を更新し、前記予備記憶媒体への前記書込むべき情報の書込み完了に際して前記予備記憶媒体制御情報を更新し、前記予備記憶媒体制御部による前記予備記憶媒体への前記書込むべき情報の書込み完了に続いて前記書込むべき情報を前記不揮発性記憶媒体に書込み、前記書込むべき情報を前記不揮発性記憶媒体に書込む際に前記不揮発性記憶媒体に記憶されている情報であって前記不揮発性記憶媒体への情報の書込み状態に関する記憶媒体制御情報を更新し、前記不揮発性記憶媒体への前記書込むべき情報の書込み完了に際して前記記憶媒体制御情報を更新し、前記予備記憶媒体制御情報及び前記記憶媒体制御情報の少なくとも一方に基づいて前記情報処理装置の起動処理を制御することを特徴とする。   The invention according to claim 10 is a method of controlling an information processing apparatus that can be controlled by connecting a non-volatile storage medium capable of reading and writing information, and when writing information to the non-volatile storage medium, Information to be written to a nonvolatile storage medium is written to a spare storage medium that is a nonvolatile storage medium different from the nonvolatile storage medium, and the spare storage medium is written when the information to be written is written to the spare storage medium Is updated, and the spare storage medium control information regarding the writing state of the information to the spare storage medium is updated, and when the writing of the information to be written to the spare storage medium is completed, the spare storage medium control information is updated. The information to be written is written to the nonvolatile storage medium following completion of writing of the information to be written to the spare storage medium by the spare storage medium control unit. And when the information to be written is written to the nonvolatile storage medium, the storage medium control information relating to the state of writing the information to the nonvolatile storage medium is updated. And updating the storage medium control information upon completion of writing of the information to be written to the non-volatile storage medium, based on at least one of the spare storage medium control information and the storage medium control information. It controls the starting process.

また、請求項11に記載の発明は、請求項10に記載の情報処理装置の制御方法において、前記記憶媒体制御情報に基づいて前記不揮発性記憶媒体への前記書込むべき情報の不完全な書込みを判断し、前記判断に基づいて前記予備記憶媒体に書込まれた前記書込むべき情報を前記不揮発性記憶媒体に書込むことを特徴とする。   According to an eleventh aspect of the present invention, in the information processing apparatus control method according to the tenth aspect, incomplete writing of the information to be written to the nonvolatile storage medium based on the storage medium control information. And the information to be written written in the spare storage medium based on the determination is written in the nonvolatile storage medium.

また、請求項12に記載の発明は、請求項11に記載の情報処理装置の制御方法において、前記記憶媒体制御情報は、前記不揮発性記憶媒体への情報の書込み処理を実行中か否かを示す情報であり、前記書込むべき情報を前記不揮発性記憶媒体に書込む際に、前記不揮発性記憶媒体への情報の書込み処理を実行中であることを示すように前記記憶媒体制御情報を更新し、前記不揮発性記憶媒体への前記書込むべき情報の書込み完了に際して、前記不揮発性記憶媒体への情報の書込み処理を非実行中であることを示すように前記記憶媒体制御情報を更新し、前記記憶媒体制御情報が前記書込み処理を実行中であることを示す場合に前記不揮発性記憶媒体への前記書込むべき情報の不完全な書込みを判断することを特徴とする。   The invention according to claim 12 is the method of controlling an information processing apparatus according to claim 11, wherein the storage medium control information indicates whether or not a process of writing information to the nonvolatile storage medium is being executed. When the information to be written is written to the non-volatile storage medium, the storage medium control information is updated to indicate that the information writing process to the non-volatile storage medium is being executed. And upon completion of writing of the information to be written to the nonvolatile storage medium, the storage medium control information is updated to indicate that the process of writing information to the nonvolatile storage medium is not being executed, When the storage medium control information indicates that the writing process is being performed, incomplete writing of the information to be written to the nonvolatile storage medium is determined.

また、請求項13に記載の発明は、請求項11または12に記載の情報処理装置の制御方法において、前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報の内容に関する内容情報を前記予備記憶媒体に書込み、前記内容情報に基づいて前記予備記憶媒体に書込まれた前記書込むべき情報を前記不揮発性記憶媒体に書込むことを特徴とする。   The invention according to claim 13 is the information processing apparatus control method according to claim 11 or 12, wherein the content of the information to be written to the nonvolatile storage medium when the information is written to the nonvolatile storage medium. The content information regarding is written in the spare storage medium, and the information to be written written in the spare storage medium based on the content information is written in the nonvolatile storage medium.

また、請求項14に記載の発明は、請求項10乃至13に記載の情報処理装置の制御方法において、前記予備記憶媒体制御情報に基づいて前記書込むべき情報の不完全な書込みを判断し、前記書込むべき情報の前記不揮発性記憶媒体への書込みが未完であることを通知することを特徴とする。   The invention according to claim 14 is the information processing apparatus control method according to any one of claims 10 to 13, wherein incomplete writing of the information to be written is determined based on the spare storage medium control information. It is notified that writing of the information to be written into the nonvolatile storage medium is incomplete.

また、請求項15に記載の発明は、請求項14に記載の情報処理装置の制御方法において、前記予備記憶媒体制御情報は、前記予備記憶媒体への情報の書込み処理を実行中か否かを示す情報であり、前記書込むべき情報を前記予備記憶媒体に書込む際に、前記予備記憶媒体への情報の書込み処理を実行中であることを示すように前記予備記憶媒体制御情報を更新し、前記予備記憶媒体への前記書込むべき情報の書込み完了に際して、前記予備記憶媒体への情報の書込み処理を非実行中であることを示すように前記予備記憶媒体制御情報を更新し、前記予備記憶媒体制御情報が前記書込み処理を実行中であることを示す場合に前記書込むべき情報の不完全な書込みを判断することを特徴とする。   The invention according to claim 15 is the information processing apparatus control method according to claim 14, wherein the spare storage medium control information indicates whether or not a process of writing information to the spare storage medium is being executed. When the information to be written is written to the spare storage medium, the spare storage medium control information is updated so as to indicate that the process of writing information to the spare storage medium is being executed. , Upon completion of writing of the information to be written to the spare storage medium, the spare storage medium control information is updated to indicate that the process of writing information to the spare storage medium is not being executed, and the spare storage medium is updated. When the storage medium control information indicates that the writing process is being executed, incomplete writing of the information to be written is determined.

また、請求項16に記載の発明は、請求項15に記載の情報処理装置の制御方法において、前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報の内容に関する内容情報を前記予備記憶媒体に書込み、前記書込みが未完であることの通知において前記内容情報に基づいて前記書込むべき情報の内容を通知することを特徴とする。   The invention according to claim 16 is a method for controlling an information processing apparatus according to claim 15, wherein the information relates to the content of information to be written to the nonvolatile storage medium when information is written to the nonvolatile storage medium. Information is written to the spare storage medium, and the content of the information to be written is notified based on the content information in a notification that the writing is incomplete.

また、請求項17に記載の発明は、制御プログラムであって、請求項10乃至16いずれか1項に記載の制御方法を情報処理装置に実行させることを特徴とする。   The invention described in claim 17 is a control program, and causes the information processing apparatus to execute the control method described in any one of claims 10 to 16.

また、請求項18に記載の発明は、記録媒体であって、請求項17に記載の制御プログラムを情報処理装置が読み取り可能な形式で記録したことを特徴とする。   The invention according to claim 18 is a recording medium, wherein the control program according to claim 17 is recorded in a format readable by the information processing apparatus.

本発明によれば、不揮発性記憶媒体を搭載する情報処理装置において、情報の書込みが不完全である場合に起こり得る不具合を回避することができる。   ADVANTAGE OF THE INVENTION According to this invention, in the information processing apparatus carrying a non-volatile storage medium, the malfunction which may occur when the writing of information is incomplete can be avoided.

以下、図面を参照して、本発明の実施形態を詳細に説明する。
本実施形態においては、不揮発性記憶媒体を搭載する情報処理装置の例として、プリンタ、スキャナ、複写機及びファクシミリ等の機能を実行可能な複合機として動作する画像処理装置を例として説明する。
図1は、本実施形態に係る画像処理装置1のハードウェア構成を示すブロック図である。図2に示すように、本実施形態に係る画像処理装置1は、一般的なサーバやPC(Personal Computer)等の情報処理端末と同様の構成を有する。即ち、本実施形態に係る画像処理装置1は、CPU(Central Processing Unit)10、RAM(Random Access Memory)20、エンジン30、ROM(Read Only Memory)40、NVRAM(Non―Volatile Random Access Memory)50及びI/F60がバス90を介して接続されている。また、I/F60にはLCD(Liquid Crystal Display)70及び操作部80が接続されている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
In this embodiment, an image processing apparatus that operates as a multifunction machine capable of executing functions such as a printer, a scanner, a copier, and a facsimile will be described as an example of an information processing apparatus equipped with a nonvolatile storage medium.
FIG. 1 is a block diagram illustrating a hardware configuration of the image processing apparatus 1 according to the present embodiment. As shown in FIG. 2, the image processing apparatus 1 according to the present embodiment has the same configuration as an information processing terminal such as a general server or a PC (Personal Computer). That is, the image processing apparatus 1 according to the present embodiment includes a CPU (Central Processing Unit) 10, a RAM (Random Access Memory) 20, an engine 30, a ROM (Read Only Memory) 40, and an NVRAM (Non-Volatile Random Access Memory) 50. And the I / F 60 are connected via a bus 90. Further, an LCD (Liquid Crystal Display) 70 and an operation unit 80 are connected to the I / F 60.

CPU10は演算手段であり、画像処理装置1全体の動作を制御する。RAM20は、情報の高速な読み書きが可能な揮発性の記憶媒体であり、CPU10が情報を処理する際の作業領域として用いられる。エンジン30は、スキャナやプリンタ等の画像処理機能を実行する画像処理エンジンである。ROM40は、読み出し専用の不揮発性記憶媒体であり、ファームウェア等のプログラムが格納されている。   The CPU 10 is a calculation unit and controls the operation of the entire image processing apparatus 1. The RAM 20 is a volatile storage medium capable of reading and writing information at high speed, and is used as a work area when the CPU 10 processes information. The engine 30 is an image processing engine that executes an image processing function such as a scanner or a printer. The ROM 40 is a read-only nonvolatile storage medium and stores a program such as firmware.

NVRAM50は、情報の読み書きが可能な不揮発性の記憶媒体であり、OS(Operating System)や各種の制御プログラム、アプリケーション・プログラム及びアプリケーション・プログラムの動作パラメータの情報等が格納される。I/F60は、バス90と各種のハードウェアやネットワーク等を接続し制御する。LCD70は、ユーザが画像処理装置1の状態を確認するための視覚的ユーザインタフェースである。操作部80は、キーボードやマウス等、ユーザが画像処理装置1に情報を入力するためのユーザインタフェースである。   The NVRAM 50 is a non-volatile storage medium capable of reading and writing information, and stores information such as an OS (Operating System), various control programs, application programs, and operation parameters of the application programs. The I / F 60 connects and controls the bus 90 and various hardware and networks. The LCD 70 is a visual user interface for the user to check the state of the image processing apparatus 1. The operation unit 80 is a user interface for a user to input information to the image processing apparatus 1 such as a keyboard and a mouse.

このようなハードウェア構成において、ROM40やNVRAM50若しくは図示しないHDD(Hard Disk Drive)や光学ディスク等の記憶媒体に格納されたプログラムがRAM20に読み出され、CPU10の制御に従って動作することにより、ソフトウェア制御部が構成される。このようにして構成されたソフトウェア制御部と、ハードウェアとの組み合わせによって、本実施形態に係る画像処理装置1の機能を実現する機能ブロックが構成される。   In such a hardware configuration, a program stored in a storage medium such as ROM 40, NVRAM 50, HDD (Hard Disk Drive) or optical disk (not shown) is read out to RAM 20, and operates according to the control of CPU 10 for software control. The part is composed. A functional block that realizes the functions of the image processing apparatus 1 according to the present embodiment is configured by a combination of the software control unit configured as described above and hardware.

図2は、本実施形態に係る画像処理装置1の機能構成を示すブロック図である。図2に示すように、本実施例に係る画像処理装置1は、コントローラ100、ADF(Auto Document Feeder:原稿自動搬送装置)101、スキャナユニット102、排紙トレイ103、ネットワークI/F104、ディスプレイパネル105、給紙テーブル106、プリントエンジン107、排紙トレイ108、システムNVRAM109及びサブNVRAM110を有する。また、コントローラ100は、主制御部111、エンジン制御部112、入出力制御部113、画像処理部114及びメモリコントローラ115を有する。尚、図2においては、電気的接続を実線の矢印で示しており、用紙若しくは文書束の流れを破線の矢印で示している。   FIG. 2 is a block diagram illustrating a functional configuration of the image processing apparatus 1 according to the present embodiment. As shown in FIG. 2, the image processing apparatus 1 according to the present embodiment includes a controller 100, an ADF (Auto Document Feeder) 101, a scanner unit 102, a paper discharge tray 103, a network I / F 104, a display panel. 105, a paper feed table 106, a print engine 107, a paper discharge tray 108, a system NVRAM 109, and a sub NVRAM 110. The controller 100 includes a main control unit 111, an engine control unit 112, an input / output control unit 113, an image processing unit 114, and a memory controller 115. In FIG. 2, the electrical connection is indicated by a solid arrow, and the flow of a sheet or document bundle is indicated by a broken arrow.

ネットワークI/F104は、画像処理装置1がホスト装置等の他の機器と通信する際のインターフェースであり、図1に示すI/F60によって実現される。ホスト装置が送信した印刷ジョブは、ネットワークI/F104を介してコントローラ100に入力され、コントローラ100の制御に従って印刷ジョブに基づいた画像形成処理が実行される。ディスプレイパネル105は、画像処理装置1の状態を視覚的に表示する出力インターフェースであると共に、タッチパネルとしてユーザが画像処理装置1を直接操作する際の入力インターフェースでもあり、図1に示すLCD70及び操作部80によって実現される。   The network I / F 104 is an interface used when the image processing apparatus 1 communicates with another device such as a host apparatus, and is realized by the I / F 60 illustrated in FIG. The print job transmitted from the host device is input to the controller 100 via the network I / F 104, and image forming processing based on the print job is executed under the control of the controller 100. The display panel 105 is an output interface that visually displays the state of the image processing apparatus 1 and is also an input interface when a user directly operates the image processing apparatus 1 as a touch panel. The display panel 105 includes an LCD 70 and an operation unit illustrated in FIG. 80.

システムNVRAM109及びサブNVRAM110は、不揮発性の半導体記憶媒体であり、図1に示すNVRAM50によって実現される。システムNVRAM109は、画像処理装置1においてコントローラ100を構成するための制御プログラムやプログラム動作用のパラメータ情報等が記憶される。図3に、システムNVRAM109に記憶される情報の例を示す。図3に示すように、本実施形態に係るシステムNVRAM109には、エンジン制御部112がスキャナユニット102やプリントエンジン107等の画像処理エンジンを制御する際のパラメータ情報が格納されている。   The system NVRAM 109 and the sub NVRAM 110 are nonvolatile semiconductor storage media, and are realized by the NVRAM 50 shown in FIG. The system NVRAM 109 stores a control program for configuring the controller 100 in the image processing apparatus 1, parameter information for program operation, and the like. FIG. 3 shows an example of information stored in the system NVRAM 109. As shown in FIG. 3, the system NVRAM 109 according to the present embodiment stores parameter information when the engine control unit 112 controls an image processing engine such as the scanner unit 102 or the print engine 107.

また、サブNVRAM110は、コントローラ100の制御によりシステムNVRAM109に格納されるべき情報を補完し若しくはシステムNVRAM109のエラーの内容を判断する情報を記憶する。即ち、サブNVRAM110は、予備記憶媒体として用いられる。コントローラ100は、上述したように、RAM20にロードされたプログラムがCPU10の制御に従って動作することにより構成されるソフトウェアとハードウェアとの組み合わせによって構成される。コントローラ100は、画像処理装置1全体を制御する制御部として機能する。   Further, the sub NVRAM 110 stores information for complementing information to be stored in the system NVRAM 109 under the control of the controller 100 or determining an error content of the system NVRAM 109. That is, the sub NVRAM 110 is used as a spare storage medium. As described above, the controller 100 is configured by a combination of software and hardware configured by a program loaded in the RAM 20 operating according to the control of the CPU 10. The controller 100 functions as a control unit that controls the entire image processing apparatus 1.

主制御部111は、コントローラ100に含まれる各部を制御する役割を担い、コントローラ100の各部に命令を与える。エンジン制御部112は、プリントエンジン107やスキャナユニット102等を制御若しくは駆動する駆動手段としての役割を担う。入出力制御部113は、ネットワークI/F104を介して入力される印刷ジョブやディスプレイパネル105からユーザによって入力される操作情報を主制御部111に入力すると共に、主制御部111の命令に従ってディスプレイパネル105に情報表示を行い若しくはネットワークI/F104を介してホスト装置に情報を送信する。   The main control unit 111 plays a role of controlling each unit included in the controller 100, and gives a command to each unit of the controller 100. The engine control unit 112 serves as a driving unit that controls or drives the print engine 107, the scanner unit 102, and the like. The input / output control unit 113 inputs a print job input via the network I / F 104 and operation information input by the user from the display panel 105 to the main control unit 111, and displays the display panel according to an instruction from the main control unit 111. Information is displayed on 105 or the information is transmitted to the host device via the network I / F 104.

画像処理部114は、主制御部111の制御に従い、印刷ジョブに含まれる情報等に基づいて描画情報を生成する。この描画情報とは、プリントエンジン107が画像形成動作において形成すべき画像を描画するための情報である。また、画像処理部114は、スキャナユニット102から入力される撮像データを処理し、画像データを生成する。この画像データとは、スキャナ動作の結果物として図示しないHDDに格納され若しくはネットワークI/F104を介してホスト装置に送信される情報である。   The image processing unit 114 generates drawing information based on information included in the print job according to the control of the main control unit 111. This drawing information is information for drawing an image to be formed by the print engine 107 in the image forming operation. The image processing unit 114 processes image data input from the scanner unit 102 and generates image data. The image data is information stored in a HDD (not shown) as a result of the scanner operation or transmitted to the host device via the network I / F 104.

メモリコントローラ115は、主制御部111の制御に従い、システムNVRAM109及びサブNVRAM110への情報の格納及び情報の読み出しを制御する。また、本実施形態に係るメモリコントローラ115は、システムNVRAM109への情報書込みに際して、所定の処理を実行することにより、システムNVRAM109への不完全な書込みによる画像処理装置1の不具合を防止する機能を実現する。メモリコントローラ115によるこのような機能が本実施形態の要旨の1つとなる。メモリコントローラ115が実現する機能については、後に詳述する。   The memory controller 115 controls the storage of information in the system NVRAM 109 and the sub NVRAM 110 and the reading of information according to the control of the main control unit 111. In addition, the memory controller 115 according to the present embodiment realizes a function of preventing a malfunction of the image processing apparatus 1 due to incomplete writing to the system NVRAM 109 by executing predetermined processing when information is written to the system NVRAM 109. To do. Such a function by the memory controller 115 is one of the gist of the present embodiment. The functions realized by the memory controller 115 will be described in detail later.

画像処理装置1がプリンタとして動作する場合は、まず、入出力制御部113がホストI/F104に接続されたUSB(Universal Serial Bus)やLAN(Local Area Network)を介して印刷ジョブを受信することにより印刷ジョブが発生する。印刷ジョブが発生すると、画像処理部114が主制御部111の命令に従い、印刷ジョブ若しくはHDD109に含まれる蓄積文書等の情報に基づいて描画情報を生成する。画像処理部114によって生成された描画情報は、順次図示しないHDDにスプールされる。   When the image processing apparatus 1 operates as a printer, first, the input / output control unit 113 receives a print job via a USB (Universal Serial Bus) or a LAN (Local Area Network) connected to the host I / F 104. As a result, a print job is generated. When a print job occurs, the image processing unit 114 generates drawing information based on information such as a print job or an accumulated document included in the HDD 109 in accordance with an instruction from the main control unit 111. The drawing information generated by the image processing unit 114 is sequentially spooled to an HDD (not shown).

エンジン制御部112は、主制御部111の制御に従い、給紙テーブル106を駆動して印刷用紙をプリントエンジン107に搬送する。また、エンジン制御部112は、図示しないHDDにスプールされた描画情報を取得し、プリントエンジン107に入力する。プリントエンジン107は、エンジン制御部112から受信した描画情報に基づき、給紙テーブル106から搬送される用紙に対して画像形成を実行する。即ち、プリントエンジン107が画像形成部として動作する。プリントエンジン107の具体的態様としては、インクジェット方式による画像形成機構や電子写真方式による画像形成機構等を用いることが可能である。プリントエンジン107によって画像形成が施された文書は排紙トレイ108に排紙される。   The engine control unit 112 drives the paper feed table 106 under the control of the main control unit 111 and conveys printing paper to the print engine 107. In addition, the engine control unit 112 acquires drawing information spooled in an HDD (not shown) and inputs the drawing information to the print engine 107. The print engine 107 executes image formation on the paper conveyed from the paper feed table 106 based on the drawing information received from the engine control unit 112. That is, the print engine 107 operates as an image forming unit. As a specific aspect of the print engine 107, an image forming mechanism using an ink jet method, an image forming mechanism using an electrophotographic method, or the like can be used. A document on which image formation has been performed by the print engine 107 is discharged to a discharge tray 108.

画像処理装置1がスキャナとして動作する場合は、ユーザによるディスプレイパネル105の操作若しくはネットワークI/F104を介して外部のホスト装置から入力されるスキャン実行指示に応じて入出力制御部113が主制御部111にスキャン実行信号を送信する。主制御部111は、入出力制御部113から受信したスキャン実行信号に基づき、エンジン制御部112を制御する。エンジン制御部112は、ADF101を駆動し、ADF101にセットされた撮像対象原稿をスキャナユニット102に搬送する。また、エンジン制御部112は、スキャナユニット102を駆動し、ADF101から搬送される原稿を撮像する。また、ADF101に原稿がセットされておらず、スキャナユニット102に直接原稿がセットされた場合、スキャナユニット102は、エンジン制御部112の制御に従い、セットされた原稿を撮像する。即ち、スキャナユニット102が撮像部として動作する。   When the image processing apparatus 1 operates as a scanner, the input / output control unit 113 operates as a main control unit in response to a user operation on the display panel 105 or a scan execution instruction input from an external host device via the network I / F 104. A scan execution signal is transmitted to 111. The main control unit 111 controls the engine control unit 112 based on the scan execution signal received from the input / output control unit 113. The engine control unit 112 drives the ADF 101 and conveys the document to be imaged set on the ADF 101 to the scanner unit 102. In addition, the engine control unit 112 drives the scanner unit 102 and images a document conveyed from the ADF 101. In addition, when a document is not set on the ADF 101 and a document is directly set on the scanner unit 102, the scanner unit 102 images the set document according to the control of the engine control unit 112. That is, the scanner unit 102 operates as an imaging unit.

撮像動作においては、スキャナユニット102に含まれるCCD等の撮像素子が原稿を光学的に走査し、光学情報に基づいて生成された撮像情報が生成される。エンジン制御部112は、スキャナユニット102が生成した撮像情報を画像処理部114に転送する。画像処理部114は、主制御部111の制御に従い、エンジン制御部112から受信した撮像情報に基づき画像情報を生成する。画像処理部114が生成した画像情報は順次図示しないHDDにスプールされる。画像処理部114によって生成され、HDDにスプールされた画像情報は、ユーザの指示に応じてHDDに格納され若しくは入出力制御部113及びネットワークI/F104を介して外部のホスト装置に送信される。   In the imaging operation, an imaging element such as a CCD included in the scanner unit 102 optically scans the document, and imaging information generated based on the optical information is generated. The engine control unit 112 transfers the imaging information generated by the scanner unit 102 to the image processing unit 114. The image processing unit 114 generates image information based on the imaging information received from the engine control unit 112 according to the control of the main control unit 111. Image information generated by the image processing unit 114 is sequentially spooled to an HDD (not shown). The image information generated by the image processing unit 114 and spooled in the HDD is stored in the HDD or transmitted to an external host device via the input / output control unit 113 and the network I / F 104 according to a user instruction.

また、画像処理装置1が複写機として動作する場合は、エンジン制御部112がスキャナユニット102から受信した撮像情報若しくは画像処理部114が生成しHDDに格納された画像情報に基づき、画像処理部114が描画情報を生成する。その描画情報に基づいてプリンタ動作の場合と同様に、エンジン制御部112がプリントエンジン107を駆動する。   Further, when the image processing apparatus 1 operates as a copying machine, the image processing unit 114 is based on the imaging information received from the scanner unit 102 by the engine control unit 112 or the image information generated by the image processing unit 114 and stored in the HDD. Generates drawing information. Based on the drawing information, the engine control unit 112 drives the print engine 107 as in the case of the printer operation.

このような画像処理装置1において、本実施形態は、図3において説明したような、システムNVRAM109に格納されているパラメータ情報を更新する処理を要旨とする。以下、本実施形態に係るメモリコントローラ115がシステムNVRAM109に記憶されている情報を更新する処理について説明する。図4は、本実施形態に係るメモリコントローラ115が主制御部111の制御に基づき、システムNVRAM109に格納されているパラメータ情報を更新する処理の動作を示すフローチャートである。   In such an image processing apparatus 1, the present embodiment is summarized in a process for updating parameter information stored in the system NVRAM 109 as described in FIG. 3. Hereinafter, a process in which the memory controller 115 according to the present embodiment updates information stored in the system NVRAM 109 will be described. FIG. 4 is a flowchart showing an operation of processing in which the memory controller 115 according to the present embodiment updates parameter information stored in the system NVRAM 109 based on the control of the main control unit 111.

図4に示すように、メモリコントローラ115は、主制御部111からシステムNVRAM109への書込み命令を受信する(S401)。この書込み命令は、ユーザがディスプレイパネル105を操作し、若しくはネットワークI/F104を介して外部のホスト装置から情報を入力することにより発生する。システムNVRAM109への書込み命令としてユーザが入力する情報としては、図3において説明したようなパラメータ情報の変更命令である。   As shown in FIG. 4, the memory controller 115 receives a write command to the system NVRAM 109 from the main control unit 111 (S401). This write command is generated when the user operates the display panel 105 or inputs information from an external host device via the network I / F 104. Information input by the user as a write command to the system NVRAM 109 is a parameter information change command as described with reference to FIG.

図4の例において、ユーザの命令によりシステムNVRAM109へに書込むべき情報として指定される情報を図5に示す。図5に示すように、本実施形態においては、データ1、データ2及びデータ3がシステムNVRAM109に書込み若しくは更新すべき情報として指定される。図5に示すような情報をシステムNVRAM109に書込む場合において、サブNVRAM110に書込まれる情報を図6に示す。図6に示すように、図5に示すような情報をシステムNVRAM109に書込む場合、サブNVRAM110には、データ1、データ2及びデータ3に加えてインデックス情報及び書込むフラグが書込まれる。 In the example of FIG. 4, information designated as information to be written into the system NVRAM 109 by a user command is shown in FIG. As shown in FIG. 5, in the present embodiment, data 1 , data 2, and data 3 are designated as information to be written or updated in the system NVRAM 109. FIG. 6 shows information written in the sub NVRAM 110 when information shown in FIG. 5 is written in the system NVRAM 109. As shown in FIG. 6, when information as shown in FIG. 5 is written in the system NVRAM 109, index information and a flag to be written are written in the sub NVRAM 110 in addition to data 1 , data 2 and data 3 .

図6に示すインデックス情報とは、システムNVRAM109への書込みが指示された情報の種類を示す情報である。換言すると、インデックス情報は、図5に示すデータ1〜データ3の内容を示す内容情報として用いられる。このインデックス情報について、図7を参照して説明する。図7は、システムNVRAM109に記憶されているパラメータ情報の種類とサブNVRAM110にインデックス情報として書込まれるインデックスIDとを関連付けて示すテーブルの図である。図7に示すテーブルは、メモリコントローラ115を構成するプログラムの一部として含まれ、メモリコントローラ115が保持している。 The index information shown in FIG. 6 is information indicating the type of information instructed to be written to the system NVRAM 109. In other words, the index information is used as content information indicating the contents of data 1 to data 3 shown in FIG. This index information will be described with reference to FIG. FIG. 7 is a table showing the types of parameter information stored in the system NVRAM 109 and the index IDs written as index information in the sub NVRAM 110 in association with each other. The table shown in FIG. 7 is included as a part of the program that configures the memory controller 115 and is held by the memory controller 115.

図5に示すような情報をシステムNVRAM109に書込む場合において、システムNVRAM110に実際に書込まれる情報を図8に示す。図8に示すように、図5に示すような情報をシステムNVRAM109に書込む場合、サブNVRAM110には、データ1、データ2及びデータ3に加えて書込みフラグが書込まれる。 FIG. 8 shows information actually written in the system NVRAM 110 when information as shown in FIG. 5 is written in the system NVRAM 109. As shown in FIG. 8, when information as shown in FIG. 5 is written into the system NVRAM 109, a write flag is written in the sub NVRAM 110 in addition to data 1 , data 2 and data 3 .

図6及び図8に示す書込みフラグとは、システムNVRAM109及びサブNVRAM110に対して情報の書込みが正常に完了したか否かを示す情報であり、夫々のNVRAMにおいてデータの書込み開始に際してONとされ、データの書込み完了に際してOFFとされる。即ち、夫々のNVRAMにおいて、データの書込みに関係なく書込みフラグがONとなっている場合、データの書込みが正常に完了していないことを示している。換言すると、図6に示す書込みフラグは、サブNVRAM110への情報の書込み状態に関する情報、即ち予備記憶媒体制御情報として用いられる。また、図8に示す書込みフラグは、システムNVRAM109への情報の書込み状態に関する情報、即ち記憶媒体制御情報として用いられる。   The write flag shown in FIG. 6 and FIG. 8 is information indicating whether or not the writing of information to the system NVRAM 109 and the sub NVRAM 110 has been normally completed, and is turned ON at the start of data writing in each NVRAM. Turns OFF when data writing is completed. That is, in each NVRAM, when the write flag is ON regardless of the data write, it indicates that the data write is not normally completed. In other words, the write flag shown in FIG. 6 is used as information relating to a state of writing information to the sub NVRAM 110, that is, spare storage medium control information. Further, the write flag shown in FIG. 8 is used as information relating to a state of writing information to the system NVRAM 109, that is, storage medium control information.

主制御部111からシステムNVRAM109への書込み命令を受信したメモリコントローラ115は、サブNVRAM110にインデックス情報を書込む(S402)。ここで書込まれるインデックス情報とは、図7において説明したインデックスIDである。即ち、メモリコントローラ115は、ユーザによって更新が指示されたパラメータ情報の種類に応じたインデックスIDを、インデックス情報としてサブNVRAM110に書込む。   The memory controller 115 that has received a write command to the system NVRAM 109 from the main control unit 111 writes index information into the sub NVRAM 110 (S402). The index information written here is the index ID described in FIG. That is, the memory controller 115 writes an index ID corresponding to the type of parameter information instructed to be updated by the user as index information in the sub NVRAM 110.

インデックス情報の書込みが完了すると、メモリコントローラ115は、サブNVRAM110の書込みフラグをONに更新し(S403)、図5において説明したデータの書込みを実行する(S404)。即ち、メモリコントローラ115が予備記憶媒体制御部として機能する。サブNVRAM110へのデータの書込み完了に際し、メモリコントローラ115は、サブNVRAM110の書込みフラグをOFFに更新する(S405)。即ち、書込みフラグは、サブNVRAM110へのデータ書込み処理を実行中か否かを示す情報である。具体的には、ONである場合、データ書込みが実行中であることを示し、OFFである場合データ書込みが非実行中であることを示す。   When the writing of the index information is completed, the memory controller 115 updates the write flag of the sub NVRAM 110 to ON (S403), and executes the data writing described with reference to FIG. 5 (S404). That is, the memory controller 115 functions as a spare storage medium control unit. Upon completion of data writing to the sub NVRAM 110, the memory controller 115 updates the write flag of the sub NVRAM 110 to OFF (S405). That is, the write flag is information indicating whether or not a data write process to the sub NVRAM 110 is being executed. Specifically, when it is ON, it indicates that data writing is being executed, and when it is OFF, it indicates that data writing is not being executed.

サブNVRAM110へのデータ書込みが完了し、書込みフラグがOFFとなると、メモリコントローラ115は、システムNVRAM109の書込みフラグをONに更新し(S406)、図5において説明したデータ、即ち、サブNVRAM110へ書込んだデータと同様のデータをシステムNVRAM109へ書込む(S407)。即ち、メモリコントローラ115が記憶媒体制御部として機能する。システムNVRAM109へのデータの書込み完了に際し、メモリコントローラ115は、サブNVRAM109の書込みフラグをOFFに更新し(S408)、処理を終了する。即ち、書込みフラグは、システムNVRAM109へのデータ書込み処理を実行中か否かを示す情報である。具体的には、ONである場合、データ書込みが実行中であることを示し、OFFである場合データ書込みが非実行中であることを示す。   When data writing to the sub NVRAM 110 is completed and the write flag is turned OFF, the memory controller 115 updates the write flag of the system NVRAM 109 to ON (S406), and writes the data described in FIG. 5, that is, the sub NVRAM 110. Data similar to the data is written into the system NVRAM 109 (S407). That is, the memory controller 115 functions as a storage medium control unit. Upon completion of data writing to the system NVRAM 109, the memory controller 115 updates the write flag of the sub NVRAM 109 to OFF (S408) and ends the process. That is, the write flag is information indicating whether or not a data write process to the system NVRAM 109 is being executed. Specifically, when it is ON, it indicates that data writing is being executed, and when it is OFF, it indicates that data writing is not being executed.

図4に示す動作の特徴は、システムNVRAM109にデータを書込む前に、サブNVRAM110にデータを書込むこと及びデータの書込みに際して、書込みフラグをON/OFFすることである。図4の夫々の処理タイミングにおけるサブNVRAM110及びシステムNVRAMの書込みフラグの状態を、図9を参照して説明する。図9は、サブNVRAM及びシステムNVRAM109へのデータ書込みが正常に完了する場合の例を示すタイミングチャートである。   The feature of the operation shown in FIG. 4 is that before the data is written in the system NVRAM 109, the data is written into the sub NVRAM 110 and the write flag is turned ON / OFF when the data is written. The state of the write flag of the sub NVRAM 110 and the system NVRAM at each processing timing of FIG. 4 will be described with reference to FIG. FIG. 9 is a timing chart showing an example of a case where data writing to the sub NVRAM and the system NVRAM 109 is normally completed.

図9に示すように、図4のフローチャートにおいて、書込み命令が発生し(S401)、サブNVRAM110へのインデックス情報の書込みが完了して(S402)、サブNVRAM110の書込みフラグをONとする(S403)タイミングt1において、サブNVRAM110の書込みフラグがONとなる。その後、サブNVRAM110へのデータの書込みが完了し(S404)、サブNVRAM110の書込みフラグをOFFとする(S405)タイミングt2において、サブNVRAM110の書込みフラグがOFFとなり、システムNVRAM109の書込みフラグがONとなる(S406)。 As shown in FIG. 9, in the flowchart of FIG. 4, a write command is generated (S401), the writing of index information to the sub NVRAM 110 is completed (S402), and the write flag of the sub NVRAM 110 is turned ON (S403). At timing t 1 , the write flag of the sub NVRAM 110 is turned on. Then, to complete the writing of data into sub NVRAM 110 (S404), the write flag to OFF (S405) the timing t 2 of the sub NVRAM 110, the write flag is turned OFF sub NVRAM 110, the write flag of the system NVRAM109 and ON (S406).

システムNVRAM109の書込みフラグがONとなると、システムNVRAM109へのデータ書込みが実行され(S407)、システムNVRAM109へのデータ書込みが完了してシステムNVRAM110の書込みフラグをOFFとする(S408)タイミングt3において、システムNVRAM109の書込みフラグがOFFとなり、処理が終了する。このような処理により、例えば画像処理装置1の起動時において、サブNVRAM110及びシステムNVRAM109の書込みフラグがいずれもOFFとなっていれば、サブNVRAM110及びシステムNVRAM109へのデータ書込みは正常に完了したと言うことができる。 When the write flag of the system NVRAM109 is ON, the system NVRAM109 data write to is executed (S407), and turns OFF the write flag of the system NVRAM110 and writing of data to the system NVRAM109 is completed (S408) at the timing t 3, The write flag of the system NVRAM 109 is turned off, and the process ends. By such processing, for example, when the image processing apparatus 1 is started up, if the write flags of the sub NVRAM 110 and the system NVRAM 109 are both OFF, the data writing to the sub NVRAM 110 and the system NVRAM 109 is normally completed. be able to.

次に、サブNVRAM110へのデータ書込みが不完全な状態で終了した場合の例について図10を参照して説明する。図10は、図9と同様のタイミングチャートにおいて、サブNVRAM110へのデータ書込みの実行中に、処理が中断された場合の例を示す。このように処理が中断される場合の例としては、画像処理装置1の主電源が強制的にOFFとされた場合等が考えられる。このような場合、S405の書込みフラグをOFFとする処理を経ることなく処理が強制的に終了するため、サブNVRAM110の書込みフラグはONのままとなる。   Next, an example in which data writing to the sub NVRAM 110 is completed in an incomplete state will be described with reference to FIG. FIG. 10 shows an example in which processing is interrupted during execution of data writing to the sub NVRAM 110 in the same timing chart as FIG. As an example of the case where the processing is interrupted in this way, a case where the main power supply of the image processing apparatus 1 is forcibly turned off can be considered. In such a case, since the process is forcibly terminated without passing through the process of turning off the write flag in S405, the write flag of the sub NVRAM 110 remains ON.

図10に示す例の場合、S402のインデックス情報の書込み処理により、サブNVRAM110にはインデックス情報が書込まれている。従って、メモリコントローラ115は、サブNVRAM110の書込みフラグがONであることを理由としてパラメータ情報の更新がユーザの指示通りに実行されていないことを判断すると共に、ユーザが更新を指示したパラメータ情報が何かをインデックス情報に基づいて判断することができる。また、システムNVRAM109に対しては何の書込み処理も行なわれていないため、更新途中の不完全なデータで画像処理装置1が動作してしまうこともない。   In the case of the example illustrated in FIG. 10, the index information is written in the sub NVRAM 110 by the index information writing process in S <b> 402. Therefore, the memory controller 115 determines that the update of the parameter information is not executed as instructed by the user because the write flag of the sub NVRAM 110 is ON, and what is the parameter information that the user has instructed to update. Can be determined based on the index information. Further, since no writing process is performed on the system NVRAM 109, the image processing apparatus 1 does not operate with incomplete data being updated.

次に、システムNVRAM109へのデータ書込みが不完全な状態で終了した場合の例について図11を参照して、説明する。図11は、図9と同様のタイミングチャートにおいて、システムNVRAM109へのデータ書込みの実行中に、処理が中断された場合の例を示す。このような場合、S405を経ているため、サブNVRAM110の書込みフラグはOFFとなっている。一方、S406の後S408を経ることなく処理が終了しているため、システムNVRAM109の書込みフラグはONとなっている。   Next, an example in which data writing to the system NVRAM 109 is completed in an incomplete state will be described with reference to FIG. FIG. 11 shows an example in the case where the processing is interrupted during execution of data writing to the system NVRAM 109 in the same timing chart as FIG. In such a case, since S405 is passed, the write flag of the sub NVRAM 110 is OFF. On the other hand, since the processing is completed without passing through S408 after S406, the write flag of the system NVRAM 109 is ON.

図11の例の場合、サブNVRAM110へのデータ書込みは正常に完了しているため、サブNVRAM110には、ユーザの指示通りのデータ(本実施形態においては、データ1〜データ3)が書込まれている。また、インデックス情報が書込まれているため、サブNVRAM110に書込まれているデータをシステムNVRAM109に記憶されているパラメータ情報のいずれに適用するべきかを判断することができる。 In the case of the example of FIG. 11, since the data writing to the sub NVRAM 110 has been normally completed, data according to the user's instruction (data 1 to data 3 in this embodiment) is written to the sub NVRAM 110. ing. Further, since the index information is written, it can be determined to which of the parameter information stored in the system NVRAM 109 the data written in the sub NVRAM 110 should be applied.

従って、メモリコントローラ115は、システムNVRAM109の書込みフラグがONであることを理由としてパラメータ情報の更新がユーザの指示通りに実行されていないことを判断する。また、ユーザが更新を指示したパラメータ情報が何かをインデックス情報に基づいて判断すると共に、サブNVRAM109に書込まれている情報を用いてシステムNVRAM109の情報を更新し、ユーザの指示通りにパラメータ情報の更新を完了することができる。   Therefore, the memory controller 115 determines that the update of the parameter information is not performed as instructed by the user because the write flag of the system NVRAM 109 is ON. In addition, the parameter information that the user has instructed to update is determined based on the index information, and the information in the system NVRAM 109 is updated using the information written in the sub NVRAM 109. Can complete the update.

上述したようなサブNVRAM110及びシステムNVRAM109の書込みフラグのチェックは、例えば画像処理装置1の起動時に実行することが好ましい。起動時に実行することにより、画像処理装置1が誤ったパラメータ情報に基づいて起動され、動作することを防ぐことができる。即ち、メモリコントローラ115が起動処理制御部として機能する。画像処理装置1の起動時にサブNVRAM110及びシステムNVRAM109の書込みフラグのチェックを実行する処理について、図12を参照して説明する。   The check of the write flag of the sub NVRAM 110 and the system NVRAM 109 as described above is preferably executed when the image processing apparatus 1 is started, for example. By executing it at the time of activation, it is possible to prevent the image processing apparatus 1 from being activated and operated based on incorrect parameter information. That is, the memory controller 115 functions as an activation process control unit. Processing for checking the write flag of the sub NVRAM 110 and the system NVRAM 109 when the image processing apparatus 1 is started will be described with reference to FIG.

図12は、本実施形態に係る画像処理装置1の起動時の動作を示すフローチャートである。図12に示すように、画像処理装置1に電源が投入されると(S1201)、図2に示すコントローラ100が構成される(S1202)。尚、S1202においてコントローラ100が構成される際、図2に示すコントローラ100に含まれるすべてのブロックが構成される必要はなく、少なくとも主制御部111及びメモリコントローラ115が構成されれば良い。メモリコントローラ115は、主制御部111の制御に従い、システムNVRAM109の書込みフラグをチェックする(S1203)。   FIG. 12 is a flowchart showing an operation at the start-up of the image processing apparatus 1 according to the present embodiment. As shown in FIG. 12, when the image processing apparatus 1 is powered on (S1201), the controller 100 shown in FIG. 2 is configured (S1202). When the controller 100 is configured in S1202, it is not necessary to configure all the blocks included in the controller 100 shown in FIG. 2, and at least the main control unit 111 and the memory controller 115 may be configured. The memory controller 115 checks the write flag of the system NVRAM 109 according to the control of the main control unit 111 (S1203).

システムNVRAM109の書込みフラグがONである場合(S1203/YES)、即ち、上述した図11の状態である場合、メモリコントローラ115は、サブNVRAM110に記憶されているデータを、サブNVRAM110に書込まれているインデックス情報に基づき、システムNVRAM109に書込む(S1204)。これにより、図11において説明したように、システムNVRAM109に記憶されているパラメータ情報が、ユーザの指示通りの情報に更新される。システムNVRAM109の情報の更新が完了すると、主制御部111がその他の起動処理を実行し、画像処理装置1が起動して(S1207)、処理を終了する。   When the write flag of the system NVRAM 109 is ON (S1203 / YES), that is, in the state of FIG. 11 described above, the memory controller 115 writes the data stored in the sub NVRAM 110 to the sub NVRAM 110. Based on the stored index information, the system NVRAM 109 is written (S1204). As a result, as described in FIG. 11, the parameter information stored in the system NVRAM 109 is updated to information as instructed by the user. When the update of the information in the system NVRAM 109 is completed, the main control unit 111 executes other activation processing, the image processing apparatus 1 is activated (S1207), and the processing is terminated.

システムNVRAM109の書込みフラグがOFFである場合(S1203/NO)、即ち、上述した図10の状態である場合、メモリコントローラ115は、サブNVRAM110の書込みフラグをチェックする(S1205)。サブNVRAM110の書込みフラグがONである場合(S1205/YES)、メモリコントローラ115は、サブNVRAM110に記憶されているインデックス情報に基づいて情報の更新が不完全なパラメータ情報を判断し、主制御部111に通知する。   If the write flag of the system NVRAM 109 is OFF (S1203 / NO), that is, if it is in the state of FIG. 10 described above, the memory controller 115 checks the write flag of the sub NVRAM 110 (S1205). When the write flag of the sub NVRAM 110 is ON (S1205 / YES), the memory controller 115 determines parameter information whose information has been updated incompletely based on the index information stored in the sub NVRAM 110, and the main controller 111 Notify

主制御部111は、メモリコントローラ115からの通知に基づいて入出力制御部113を制御し、ディスプレイパネル105に情報の更新が不完全なパラメータ情報を表示する(S1206)。これにより、ユーザに対してパラメータ情報の更新が不完全であることを通知し、パラメータ情報の再設定を促すことができる。尚、S1206までに入出力制御部113が構成されていない場合、主制御部111は、入出力制御部113を構成するためのプログラムをロードして入出力制御部113を構成した上でS1206の処理を実行する。   The main control unit 111 controls the input / output control unit 113 based on the notification from the memory controller 115, and displays parameter information with incomplete update of information on the display panel 105 (S1206). Accordingly, it is possible to notify the user that the update of the parameter information is incomplete and prompt the user to reset the parameter information. If the input / output control unit 113 has not been configured up to S1206, the main control unit 111 loads the program for configuring the input / output control unit 113 to configure the input / output control unit 113, and then proceeds to S1206. Execute the process.

ディスプレイパネル105へのエラー表示が完了すると、主制御部111がその他の起動処理を実行し、画像処理装置1が起動して(S1207)、処理を終了する。尚、S1206の処理の後、パラメータ情報が更新されたことをきっかけとしてS1207の処理に進むようにしても良い。これにより、不正確なパラメータによる装置の起動をより確実に回避することができる。サブNVRAM110の書込みフラグがOFFである場合(S1205/NO)、主制御部111がその他の起動処理を実行し、画像処理装置1が起動して(S1207)、処理を終了する。   When the error display on the display panel 105 is completed, the main control unit 111 executes other activation processing, the image processing apparatus 1 is activated (S1207), and the processing is terminated. Note that after the process of S1206, the process may proceed to S1207 when the parameter information is updated. As a result, it is possible to more reliably avoid activation of the apparatus due to inaccurate parameters. When the write flag of the sub NVRAM 110 is OFF (S1205 / NO), the main control unit 111 executes other activation processing, the image processing apparatus 1 is activated (S1207), and the processing ends.

本実施形態におけるサブNVRAM110及びシステムNVRAM109の書込みフラグの状態、画像処理装置1の電源がOFFとなった際の態様及びメモリコントローラ115による起動時の処理を関連付けたテーブルを図13に示す。図13に示すように、システムNVRAM109(図13中においてシステムNV)及びサブNVRAM110(図13中においてサブNV)の書込みフラグが共にOFF(図13中において“0”)である場合、画像処理装置1の電源は正当な処理を経てOFFとされている。従って、画像処理装置1を再度起動する際は、通常の起動処理を実行する。   FIG. 13 shows a table in which the state of the write flag of the sub NVRAM 110 and the system NVRAM 109, the mode when the power of the image processing apparatus 1 is turned off, and the process at the start-up by the memory controller 115 in this embodiment are associated. As shown in FIG. 13, when both the write flag of system NVRAM 109 (system NV in FIG. 13) and sub NVRAM 110 (sub NV in FIG. 13) are OFF (“0” in FIG. 13), the image processing apparatus The power source 1 is turned off after a proper process. Therefore, when the image processing apparatus 1 is started again, normal startup processing is executed.

システムNVRAM109の書込みフラグがOFF(図13中において“0”)であって且つサブNVRAM110の書込みフラグがON(図13中において“1”)である場合、サブNVRAM110への情報書込み中に画像処理装置1の電源がOFFされたことを示している。この場合、画像処理装置1の起動時には、図12のS1206に示すエラー表示を実行する。   When the write flag of the system NVRAM 109 is OFF (“0” in FIG. 13) and the write flag of the sub NVRAM 110 is ON (“1” in FIG. 13), image processing is performed during information writing to the sub NVRAM 110. It shows that the power supply of the apparatus 1 is turned off. In this case, when the image processing apparatus 1 is activated, an error display shown in S1206 of FIG. 12 is executed.

システムNVRAM109の書込みフラグがON(図13中において“1”)であって且つサブNVRAM110の書込みフラグがOFF(図13中において“0”)である場合、システムNVRAM109への情報書込み中に画像処理装置1の電源がOFFされたことを示している。この場合、画像処理装置1の起動時には、図12のS1204に示す情報の復元処理を実行する。   When the write flag of the system NVRAM 109 is ON (“1” in FIG. 13) and the write flag of the sub NVRAM 110 is OFF (“0” in FIG. 13), image processing is performed during information writing to the system NVRAM 109. It shows that the power supply of the apparatus 1 is turned off. In this case, when the image processing apparatus 1 is activated, the information restoration process shown in S1204 of FIG. 12 is executed.

以上説明したように、本実施形態に係る画像処理装置1においては、装置動作のパラメータ情報を記憶するシステムNVRAM109に加えてサブNVRAM110を設ける。そして、ユーザの指示に応じてシステムNVRAM109の情報を更新する前に、サブNVRAM110にインデックス情報及び更新すべきパラメータ情報を書込む。サブNVRAM110への情報の書込みが完了した後に、システムNVRAM109に更新すべきパラメータ情報を書込む。このような処理により、画像処理装置1の動作を制御する際のパラメータ情報の設定が適正に行なわれていることを確認し、可能であれば適正な設定を保証し、少なくともパラメータ情報の設定が不正であることを検知してユーザに通知することが可能となり、不揮発性記憶媒体を搭載する情報処理装置において、情報の書込みが不完全である場合に起こり得る不具合を回避することができる。   As described above, the image processing apparatus 1 according to the present embodiment includes the sub NVRAM 110 in addition to the system NVRAM 109 that stores apparatus operation parameter information. Then, before updating the information in the system NVRAM 109 according to the user's instruction, the index information and the parameter information to be updated are written into the sub NVRAM 110. After the writing of information to the sub NVRAM 110 is completed, parameter information to be updated is written to the system NVRAM 109. By such processing, it is confirmed that the parameter information is set appropriately when controlling the operation of the image processing apparatus 1, and if possible, the appropriate setting is guaranteed, and at least the parameter information is set. It is possible to detect fraud and notify the user, and in an information processing apparatus equipped with a non-volatile storage medium, it is possible to avoid problems that may occur when information writing is incomplete.

また、本実施形態においては、システムNVRAM109へのデータ書込みを実行する前にサブNVRAM110へのデータ書込みを実行する。従って、システムNVRAM109へのデータ書込み中に書込みが中断した場合は、書込むべき情報がサブNVRAM110に記憶されているため、上述したようにデータの更新が可能となる。また、サブNVRAM110へのデータ書込み中に書込みが中断した場合は、システムNVRAM110に記憶されていたデータはそのまま残っているため、不完全な情報で装置が起動され、不具合が発生することを防ぐことができる。   In the present embodiment, data writing to the sub NVRAM 110 is executed before data writing to the system NVRAM 109 is executed. Therefore, when the writing is interrupted during the data writing to the system NVRAM 109, the information to be written is stored in the sub NVRAM 110, so that the data can be updated as described above. In addition, if writing is interrupted while data is being written to the sub-NVRAM 110, the data stored in the system NVRAM 110 remains as it is, so that the apparatus is activated with incomplete information to prevent a malfunction from occurring. Can do.

尚、上記の実施形態においては、不揮発性記憶媒体の例として、NVRAMを例として説明した。この他、HDD等の磁気記憶媒体や光学ディスク記憶媒体等、情報の読み書きが可能な不揮発性記憶媒体であれば同様に適用することが可能である。   In the above embodiment, the NVRAM has been described as an example of the nonvolatile storage medium. In addition, any non-volatile storage medium capable of reading and writing information, such as a magnetic storage medium such as an HDD or an optical disk storage medium, can be similarly applied.

また、上記の実施形態においては、システムNVRAM109に記憶される情報として、図3において説明したように、パラメータ情報を例として説明した。上述したように、本実施形態に係る記憶情報の保証方法をパラメータ情報のような装置動作に係る情報に適用することにより、装置が誤ったパラメータに基づいて駆動されてしまうことを回避することができるため、記憶情報の保証による効果をより顕著に得ることができる。しかしながら、本実施形態に係る記憶情報の保証方法は、パラメータ情報のような装置動作に係る情報以外であっても適用可能であり、情報の正当性をチェックするという上記と同様の効果を得ることができる。   In the above embodiment, the parameter information is described as an example of the information stored in the system NVRAM 109 as described in FIG. As described above, by applying the storage information guarantee method according to the present embodiment to information related to device operation such as parameter information, the device can be prevented from being driven based on an incorrect parameter. Therefore, the effect of guaranteeing the stored information can be obtained more remarkably. However, the storage information guarantee method according to the present embodiment can be applied to information other than device operation information such as parameter information, and obtains the same effect as described above in checking the validity of information. Can do.

本発明の実施形態に係る画像処理装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the image processing apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る画像処理装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the image processing apparatus which concerns on embodiment of this invention. 本発明の実施形態に係るシステムNVRAMに記憶されている情報の例を示す図である。It is a figure which shows the example of the information memorize | stored in system NVRAM which concerns on embodiment of this invention. 本発明の実施形態に係るシステムNVRAMへのデータ書込み動作を示すフローチャートである。It is a flowchart which shows the data write-in operation | movement to the system NVRAM which concerns on embodiment of this invention. 本発明の実施形態においてシステムNVRAMに書込むべき情報の例を示す図である。It is a figure which shows the example of the information which should be written in system NVRAM in embodiment of this invention. 本発明の実施形態においてサブNVRAMに実際に書込まれる情報を示す図である。It is a figure which shows the information actually written in sub NVRAM in embodiment of this invention. 本発明の実施形態においてシステムNVRAMに実際に書込まれる情報を示す図である。It is a figure which shows the information actually written in system NVRAM in embodiment of this invention. 本発明の実施形態に係るインデックス情報の例について示す図である。It is a figure shown about the example of the index information which concerns on embodiment of this invention. 本発明の実施形態に係るシステムNVRAMへのデータ書込み動作における書込みフラグの状態を示すタイミングチャートである。It is a timing chart which shows the state of the write flag in the data write operation to the system NVRAM according to the embodiment of the present invention. 本発明の実施形態に係るシステムNVRAMへのデータ書込み動作における書込みフラグの状態を示すタイミングチャートである。It is a timing chart which shows the state of the write flag in the data write operation to the system NVRAM according to the embodiment of the present invention. 本発明の実施形態に係るシステムNVRAMへのデータ書込み動作における書込みフラグの状態を示すタイミングチャートである。It is a timing chart which shows the state of the write flag in the data write operation to the system NVRAM according to the embodiment of the present invention. 本発明の実施形態に係る画像処理装置の起動動作を示すフローチャートである。5 is a flowchart showing a start-up operation of the image processing apparatus according to the embodiment of the present invention. 本発明の実施形態に係る画像処理装置において書込みフラグと電源OFF態様及び起動時の処理を関連付けて示す図である。FIG. 5 is a diagram illustrating a write flag, a power-off mode, and processing at startup in association with each other in the image processing apparatus according to the embodiment of the present invention.

符号の説明Explanation of symbols

1 画像処理装置
10 CPU
20 RAM
30 エンジン
40 ROM
50 NVRAM
60 I/F
70 LCD
80 操作部
100 コントローラ
101 ADF
102 スキャナユニット
103 排紙トレイ
104 ネットワークI/F
105 ディスプレイパネル
106 給紙テーブル
107 プリントエンジン
108 排紙トレイ
109 システムNVRAM
110 サブNVRAM
111 主制御部
112 エンジン制御部
113 入出力制御部
114 画像処理部
115 メモリコントローラ
1 Image processing apparatus 10 CPU
20 RAM
30 Engine 40 ROM
50 NVRAM
60 I / F
70 LCD
80 Operation unit 100 Controller 101 ADF
102 Scanner unit 103 Output tray 104 Network I / F
105 Display Panel 106 Paper Feed Table 107 Print Engine 108 Paper Discharge Tray 109 System NVRAM
110 Sub NVRAM
111 Main Control Unit 112 Engine Control Unit 113 Input / Output Control Unit 114 Image Processing Unit 115 Memory Controller

Claims (18)

情報の読み書きが可能な不揮発性記憶媒体を接続して制御可能な情報処理装置であって、
前記不揮発性記憶媒体とは異なる不揮発性の記憶媒体である予備記憶媒体を制御し、少なくとも前記予備記憶媒体に当該予備記憶媒体への情報の書込み状態に関する予備記憶媒体制御情報を書込む予備記憶媒体制御部と、
前記不揮発性記憶媒体を制御し、少なくとも前記不揮発性記憶媒体に当該不揮発性記憶媒体への情報の書込み状態に関する記憶媒体制御情報を書込む記憶媒体制御部と、
前記予備記憶媒体制御情報及び前記記憶媒体制御情報の少なくとも一方に基づいて前記情報処理装置の起動処理を制御する起動処理制御部とを有し、
前記予備記憶媒体制御部は、
前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報を前記予備記憶媒体に書込み、
前記書込むべき情報を前記予備記憶媒体に書込む際に前記予備記憶媒体制御情報を更新し、
前記予備記憶媒体への前記書込むべき情報の書込み完了に際して前記予備記憶媒体制御情報を更新し、
前記記憶媒体制御部は、
前記予備記憶媒体制御部による前記予備記憶媒体への前記書込むべき情報の書込み完了に続いて前記書込むべき情報を前記不揮発性記憶媒体に書込み、
前記書込むべき情報を前記不揮発性記憶媒体に書込む際に前記記憶媒体制御情報を更新し、
前記不揮発性記憶媒体への前記書込むべき情報の書込み完了に際して前記記憶媒体制御情報を更新することを特徴とする、情報処理装置。
An information processing apparatus that can be controlled by connecting a nonvolatile storage medium that can read and write information,
A spare storage medium that controls a spare storage medium that is a nonvolatile storage medium different from the nonvolatile storage medium and writes at least spare storage medium control information related to a state of writing information to the spare storage medium in the spare storage medium A control unit;
A storage medium control unit that controls the nonvolatile storage medium and writes storage medium control information relating to a writing state of information to the nonvolatile storage medium to at least the nonvolatile storage medium;
A startup process control unit that controls a startup process of the information processing apparatus based on at least one of the preliminary storage medium control information and the storage medium control information;
The spare storage medium controller is
Information to be written to the nonvolatile storage medium when the information is written to the nonvolatile storage medium is written to the spare storage medium;
Updating the spare storage medium control information when writing the information to be written to the spare storage medium;
Updating the spare storage medium control information upon completion of writing the information to be written to the spare storage medium,
The storage medium controller is
Writing the information to be written to the nonvolatile storage medium following completion of writing of the information to be written to the spare storage medium by the spare storage medium control unit;
Updating the storage medium control information when writing the information to be written to the nonvolatile storage medium;
An information processing apparatus that updates the storage medium control information upon completion of writing of the information to be written to the nonvolatile storage medium.
前記起動処理制御部は、前記記憶媒体制御情報に基づいて前記不揮発性記憶媒体への前記書込むべき情報の不完全な書込みを判断し、
前記記憶媒体制御部は、前記判断に基づいて前記予備記憶媒体に書込まれた前記書込むべき情報を前記不揮発性記憶媒体に書込むことを特徴とする、請求項1に記載の情報処理装置。
The activation process control unit determines incomplete writing of the information to be written to the nonvolatile storage medium based on the storage medium control information,
2. The information processing apparatus according to claim 1, wherein the storage medium control unit writes the information to be written, which has been written to the spare storage medium based on the determination, to the nonvolatile storage medium. .
前記記憶媒体制御情報は、前記不揮発性記憶媒体への情報の書込み処理を実行中か否かを示す情報であり、
前記記憶媒体制御部は、
前記書込むべき情報を前記不揮発性記憶媒体に書込む際に、前記不揮発性記憶媒体への情報の書込み処理を実行中であることを示すように前記記憶媒体制御情報を更新し、
前記不揮発性記憶媒体への前記書込むべき情報の書込み完了に際して、前記不揮発性記憶媒体への情報の書込み処理を非実行中であることを示すように前記記憶媒体制御情報を更新し、
前記起動処理制御部は、前記記憶媒体制御情報が前記書込み処理を実行中であることを示す場合に前記不揮発性記憶媒体への前記書込むべき情報の不完全な書込みを判断することを特徴とする、請求項2に記載の情報処理装置。
The storage medium control information is information indicating whether or not a process of writing information to the nonvolatile storage medium is being executed,
The storage medium controller is
When the information to be written is written to the non-volatile storage medium, the storage medium control information is updated to indicate that information writing processing to the non-volatile storage medium is being executed,
Upon completion of writing of the information to be written to the non-volatile storage medium, the storage medium control information is updated to indicate that the process of writing information to the non-volatile storage medium is not being executed,
The activation process control unit determines incomplete writing of the information to be written to the nonvolatile storage medium when the storage medium control information indicates that the write process is being executed. The information processing apparatus according to claim 2.
前記予備記憶媒体制御部は、前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報の内容に関する内容情報を前記予備記憶媒体に書込み、
前記記憶媒体制御部は、前記内容情報に基づいて前記予備記憶媒体に書込まれた前記書込むべき情報を前記不揮発性記憶媒体に書込むことを特徴とする、請求項2または3に記載の情報処理装置。
The spare storage medium control unit writes content information on the content of information to be written to the nonvolatile storage medium when writing information to the nonvolatile storage medium,
4. The storage medium control unit according to claim 2, wherein the storage medium control unit writes the information to be written written in the spare storage medium based on the content information in the nonvolatile storage medium. 5. Information processing device.
前記起動処理制御部は、前記予備記憶媒体制御情報に基づいて前記書込むべき情報の不完全な書込みを判断し、前記書込むべき情報の前記不揮発性記憶媒体への書込みが未完であることを通知することを特徴とする、請求項1乃至4に記載の情報処理装置。   The activation processing control unit determines incomplete writing of the information to be written based on the spare storage medium control information, and indicates that writing of the information to be written to the nonvolatile storage medium is incomplete. The information processing apparatus according to claim 1, wherein notification is performed. 前記予備記憶媒体制御情報は、前記予備記憶媒体への情報の書込み処理を実行中か否かを示す情報であり、
前記予備記憶媒体制御部は、
前記書込むべき情報を前記予備記憶媒体に書込む際に、前記予備記憶媒体への情報の書込み処理を実行中であることを示すように前記予備記憶媒体制御情報を更新し、
前記予備記憶媒体への前記書込むべき情報の書込み完了に際して、前記予備記憶媒体への情報の書込み処理を非実行中であることを示すように前記予備記憶媒体制御情報を更新し、
前記起動処理制御部は、前記予備記憶媒体制御情報が前記書込み処理を実行中であることを示す場合に前記書込むべき情報の不完全な書込みを判断することを特徴とする、請求項5に記載の情報処理装置。
The spare storage medium control information is information indicating whether or not a process of writing information to the spare storage medium is being executed,
The spare storage medium controller is
When the information to be written is written to the spare storage medium, the spare storage medium control information is updated to indicate that information writing processing to the spare storage medium is being executed,
Upon completion of writing of the information to be written to the spare storage medium, the spare storage medium control information is updated to indicate that the process of writing information to the spare storage medium is not being executed,
6. The activation process control unit according to claim 5, wherein when the spare storage medium control information indicates that the writing process is being executed, the activation process control unit determines incomplete writing of the information to be written. The information processing apparatus described.
前記予備記憶媒体制御部は、前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報の内容に関する内容情報を前記予備記憶媒体に書込み、
前記起動処理制御部は、前記書込みが未完であることの通知において前記内容情報に基づいて前記書込むべき情報の内容を通知することを特徴とする、請求項5または6に記載の情報処理装置。
The spare storage medium control unit writes content information on the content of information to be written to the nonvolatile storage medium when writing information to the nonvolatile storage medium,
The information processing apparatus according to claim 5, wherein the activation processing control unit notifies the content of the information to be written based on the content information in the notification that the writing is incomplete. .
前記不揮発性記憶媒体は、前記情報処理装置の動作制御において用いられる動作制御情報を記憶していることを特徴とする、請求項1乃至7いずれか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the nonvolatile storage medium stores operation control information used in operation control of the information processing apparatus. 前記不揮発性記憶媒体は、前記情報処理装置の動作制御において用いられる動作制御情報を記憶しており、
前記内容情報は、前記情報処理装置の動作制御項目のいずれかを示す情報であることを特徴とする、請求項4または7に記載の情報処理装置。
The nonvolatile storage medium stores operation control information used in operation control of the information processing apparatus,
The information processing apparatus according to claim 4, wherein the content information is information indicating any one of operation control items of the information processing apparatus.
情報の読み書きが可能な不揮発性記憶媒体を接続して制御可能な情報処理装置の制御方法であって、
前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報を前記不揮発性記憶媒体とは異なる不揮発性の記憶媒体である予備記憶媒体に書込み、
前記書込むべき情報を前記予備記憶媒体に書込む際に前記予備記憶媒体に記憶されている情報であって前記予備記憶媒体への情報の書込み状態に関する予備記憶媒体制御情報を更新し、
前記予備記憶媒体への前記書込むべき情報の書込み完了に際して前記予備記憶媒体制御情報を更新し、
前記予備記憶媒体制御部による前記予備記憶媒体への前記書込むべき情報の書込み完了に続いて前記書込むべき情報を前記不揮発性記憶媒体に書込み、
前記書込むべき情報を前記不揮発性記憶媒体に書込む際に前記不揮発性記憶媒体に記憶されている情報であって前記不揮発性記憶媒体への情報の書込み状態に関する記憶媒体制御情報を更新し、
前記不揮発性記憶媒体への前記書込むべき情報の書込み完了に際して前記記憶媒体制御情報を更新し、
前記予備記憶媒体制御情報及び前記記憶媒体制御情報の少なくとも一方に基づいて前記情報処理装置の起動処理を制御することを特徴とする、情報処理装置の制御方法。
A method of controlling an information processing apparatus that can be controlled by connecting a nonvolatile storage medium capable of reading and writing information,
Writing information to be written to the nonvolatile storage medium when writing information to the nonvolatile storage medium to a spare storage medium that is a nonvolatile storage medium different from the nonvolatile storage medium;
Updating the spare storage medium control information relating to the state of writing of information to the spare storage medium, which is information stored in the spare storage medium when the information to be written is written to the spare storage medium;
Updating the spare storage medium control information upon completion of writing the information to be written to the spare storage medium,
Writing the information to be written to the nonvolatile storage medium following completion of writing of the information to be written to the spare storage medium by the spare storage medium control unit;
Updating the storage medium control information relating to the state of writing information to the nonvolatile storage medium, which is information stored in the nonvolatile storage medium when writing the information to be written to the nonvolatile storage medium,
Updating the storage medium control information upon completion of writing of the information to be written to the nonvolatile storage medium;
A method for controlling an information processing apparatus, comprising: controlling a startup process of the information processing apparatus based on at least one of the preliminary storage medium control information and the storage medium control information.
前記記憶媒体制御情報に基づいて前記不揮発性記憶媒体への前記書込むべき情報の不完全な書込みを判断し、
前記判断に基づいて前記予備記憶媒体に書込まれた前記書込むべき情報を前記不揮発性記憶媒体に書込むことを特徴とする、請求項10に記載の情報処理装置の制御方法。
Determining incomplete writing of the information to be written to the nonvolatile storage medium based on the storage medium control information;
The information processing apparatus control method according to claim 10, wherein the information to be written written in the spare storage medium is written in the nonvolatile storage medium based on the determination.
前記記憶媒体制御情報は、前記不揮発性記憶媒体への情報の書込み処理を実行中か否かを示す情報であり、
前記書込むべき情報を前記不揮発性記憶媒体に書込む際に、前記不揮発性記憶媒体への情報の書込み処理を実行中であることを示すように前記記憶媒体制御情報を更新し、
前記不揮発性記憶媒体への前記書込むべき情報の書込み完了に際して、前記不揮発性記憶媒体への情報の書込み処理を非実行中であることを示すように前記記憶媒体制御情報を更新し、
前記記憶媒体制御情報が前記書込み処理を実行中であることを示す場合に前記不揮発性記憶媒体への前記書込むべき情報の不完全な書込みを判断することを特徴とする、請求項11に記載の情報処理装置の制御方法。
The storage medium control information is information indicating whether or not a process of writing information to the nonvolatile storage medium is being executed,
When the information to be written is written to the non-volatile storage medium, the storage medium control information is updated to indicate that information writing processing to the non-volatile storage medium is being executed,
Upon completion of writing of the information to be written to the non-volatile storage medium, the storage medium control information is updated to indicate that the process of writing information to the non-volatile storage medium is not being executed,
12. The incomplete writing of the information to be written to the nonvolatile storage medium is determined when the storage medium control information indicates that the writing process is being executed. Method for controlling the information processing apparatus.
前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報の内容に関する内容情報を前記予備記憶媒体に書込み、
前記内容情報に基づいて前記予備記憶媒体に書込まれた前記書込むべき情報を前記不揮発性記憶媒体に書込むことを特徴とする、請求項11または12に記載の情報処理装置の制御方法。
Writing content information on the content of information to be written to the nonvolatile storage medium when writing information to the nonvolatile storage medium to the spare storage medium,
13. The information processing apparatus control method according to claim 11 or 12, wherein the information to be written, which is written in the spare storage medium based on the content information, is written in the nonvolatile storage medium.
前記予備記憶媒体制御情報に基づいて前記書込むべき情報の不完全な書込みを判断し、前記書込むべき情報の前記不揮発性記憶媒体への書込みが未完であることを通知することを特徴とする、請求項10乃至13に記載の情報処理装置の制御方法。   Incomplete writing of the information to be written is determined based on the spare storage medium control information, and notification that writing of the information to be written to the nonvolatile storage medium is incomplete is provided. 14. A method for controlling an information processing apparatus according to claim 10. 前記予備記憶媒体制御情報は、前記予備記憶媒体への情報の書込み処理を実行中か否かを示す情報であり、
前記書込むべき情報を前記予備記憶媒体に書込む際に、前記予備記憶媒体への情報の書込み処理を実行中であることを示すように前記予備記憶媒体制御情報を更新し、
前記予備記憶媒体への前記書込むべき情報の書込み完了に際して、前記予備記憶媒体への情報の書込み処理を非実行中であることを示すように前記予備記憶媒体制御情報を更新し、
前記予備記憶媒体制御情報が前記書込み処理を実行中であることを示す場合に前記書込むべき情報の不完全な書込みを判断することを特徴とする、請求項14に記載の情報処理装置の制御方法。
The spare storage medium control information is information indicating whether or not a process of writing information to the spare storage medium is being executed,
When the information to be written is written to the spare storage medium, the spare storage medium control information is updated to indicate that information writing processing to the spare storage medium is being executed,
Upon completion of writing of the information to be written to the spare storage medium, the spare storage medium control information is updated to indicate that the process of writing information to the spare storage medium is not being executed,
15. The information processing apparatus control according to claim 14, wherein incomplete writing of the information to be written is determined when the spare storage medium control information indicates that the writing process is being executed. Method.
前記不揮発性記憶媒体への情報の書込みに際して前記不揮発性記憶媒体に書込むべき情報の内容に関する内容情報を前記予備記憶媒体に書込み、
前記書込みが未完であることの通知において前記内容情報に基づいて前記書込むべき情報の内容を通知することを特徴とする、請求項15に記載の情報処理装置の制御方法。
Writing content information on the content of information to be written to the nonvolatile storage medium when writing information to the nonvolatile storage medium to the spare storage medium,
The information processing apparatus control method according to claim 15, wherein the content of the information to be written is notified based on the content information in the notification that the writing is incomplete.
請求項10乃至16いずれか1項に記載の制御方法を情報処理装置に実行させることを特徴とする制御プログラム。   A control program for causing an information processing apparatus to execute the control method according to any one of claims 10 to 16. 請求項17に記載の制御プログラムを情報処理装置が読み取り可能な形式で記録したことを特徴とする記録媒体。   A recording medium in which the control program according to claim 17 is recorded in a format readable by an information processing apparatus.
JP2008054145A 2008-03-04 2008-03-04 Information processor, control method of information processor, control program and recording medium Pending JP2009211435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008054145A JP2009211435A (en) 2008-03-04 2008-03-04 Information processor, control method of information processor, control program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008054145A JP2009211435A (en) 2008-03-04 2008-03-04 Information processor, control method of information processor, control program and recording medium

Publications (1)

Publication Number Publication Date
JP2009211435A true JP2009211435A (en) 2009-09-17

Family

ID=41184507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008054145A Pending JP2009211435A (en) 2008-03-04 2008-03-04 Information processor, control method of information processor, control program and recording medium

Country Status (1)

Country Link
JP (1) JP2009211435A (en)

Similar Documents

Publication Publication Date Title
KR102331166B1 (en) Image forming apparatus and method for controlling the same
JP2011161774A (en) Printer and method of controlling the same
JP5768954B2 (en) Image forming apparatus, image forming system, and image forming program
JP2013218371A (en) Information processor and data storage processing method in the same
JP5103307B2 (en) Image forming apparatus
US8380892B2 (en) Apparatus, method and program
JP5967945B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP4788974B2 (en) Image processing device
JP2009211435A (en) Information processor, control method of information processor, control program and recording medium
JP4990178B2 (en) Image processing apparatus, image processing apparatus control method, control program, and recording medium
JP5251543B2 (en) Image processing apparatus, performance improvement preventing method and program for image processing apparatus
JP2007190715A (en) Printer
JP2008022456A (en) Image processing device and image processing control method
US10782648B2 (en) Image forming apparatus and control method therefor
JP7242941B2 (en) IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD, AND PROGRAM
JP2008284711A (en) Image forming apparatus
US20230262184A1 (en) Image forming apparatus, control method thereof, and storage medium
JP6213438B2 (en) Image forming apparatus
JP2008172491A (en) Facsimile
JP2009302809A (en) Image forming apparatus
JP6459570B2 (en) Image forming apparatus, activation control method, and activation control program
JP2021026319A (en) Image forming apparatus and method for controlling image forming apparatus
JP2008037011A (en) Printing apparatus, its control method, and program
JP5447112B2 (en) Image forming apparatus
JP2011170803A (en) Information processing device and image forming apparatus