Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4648097B2 - Registry information repair method and information processing apparatus - Google Patents
[go: Go Back, main page]

JP4648097B2 - Registry information repair method and information processing apparatus - Google Patents

Registry information repair method and information processing apparatus Download PDF

Info

Publication number
JP4648097B2
JP4648097B2 JP2005165880A JP2005165880A JP4648097B2 JP 4648097 B2 JP4648097 B2 JP 4648097B2 JP 2005165880 A JP2005165880 A JP 2005165880A JP 2005165880 A JP2005165880 A JP 2005165880A JP 4648097 B2 JP4648097 B2 JP 4648097B2
Authority
JP
Japan
Prior art keywords
registry information
registry
stored
information
error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005165880A
Other languages
Japanese (ja)
Other versions
JP2006338610A (en
Inventor
忠博 戸田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2005165880A priority Critical patent/JP4648097B2/en
Publication of JP2006338610A publication Critical patent/JP2006338610A/en
Application granted granted Critical
Publication of JP4648097B2 publication Critical patent/JP4648097B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

本発明は、情報処理装置における情報の修復方法、より詳細にはプログラムが実行される実行条件を定めるレジストリ情報の修復方法およびその修復方法を用いた情報処理装置に関する。   The present invention relates to a method for repairing information in an information processing apparatus, and more particularly to a method for repairing registry information that defines an execution condition for executing a program and an information processing apparatus using the repair method.

情報処理装置、たとえばPDA(Personal Digital Assistance)などのモバイル端末、ハンディターミナル、POS(Point Of Sales)端末、およびパーソナルコンピュータなどのコンピュータシステムは、オペレーティングシステム(以下、OSと略す)およびアプリケーションプログラムなどの動作環境の設定情報を、高速アクセス可能なメモリ、たとえば半導体メモリから構成されるRAM(Random Access Memory)に記憶する。一般に用いられる高速アクセス可能なRAMは、揮発性のメモリであり、電源を切断すると記憶していた情報は消失するため、情報処理装置は、電源を切断するとき、これらの設定情報を不揮発性の記憶装置に退避しておき、OS起動時にRAM上に復帰させる。退避しておくための不揮発性の記憶装置には、たとえば磁気ディスク装置などの記憶装置が用いられるが、手に持って操作することができるハンディタイプの小型のコンピュータなどでは、Flash ROM(Flash Read Only Memory)などの半導体メモリが用いられる。   An information processing apparatus, for example, a mobile terminal such as a PDA (Personal Digital Assistance), a handy terminal, a POS (Point Of Sales) terminal, and a computer system such as a personal computer include an operating system (hereinafter abbreviated as OS) and application programs. The operating environment setting information is stored in a high-speed accessible memory, for example, a RAM (Random Access Memory) composed of a semiconductor memory. Generally used high-speed accessible RAM is a volatile memory, and the stored information is lost when the power is turned off. When the power is turned off, the information processing device stores these setting information in a nonvolatile memory. It is saved in the storage device and restored to the RAM when the OS is activated. As a non-volatile storage device for saving, a storage device such as a magnetic disk device is used. However, in a handy type small computer that can be held and operated by hand, a flash ROM (Flash Read A semiconductor memory such as “Only Memory” is used.

レジストリ情報は、OSおよびアプリケーションプログラムなどのプログラムが実行される実行条件を定める情報であり、OSおよびアプリケーションプログラムなどの動作環境の設定情報を含む。このレジストリ情報が壊れていると、プログラムを正常に実行させることができない。したがって、障害が発生したレジストリ情報の修復は、情報処理装置にとって重要な課題である。   Registry information is information that defines execution conditions for executing programs such as the OS and application programs, and includes operating environment setting information such as OS and application programs. If this registry information is corrupted, the program cannot be executed normally. Therefore, restoration of registry information in which a failure has occurred is an important issue for the information processing apparatus.

コンピュータシステムの障害を受けた部分を検出して、修復することができる従来技術として、コンピュータシステム障害修復方法がある。このコンピュータシステム障害修復方法は、コンピュータシステムに対する変更を監視し、変更があったことを検出すると、検出した変更と、インストールされているアプリケーション毎の作業定義に含まれる必要条件とを比較することによって、その変更が、各アプリケーションとコンフリクトを生じるか否かを判定する。コンフリクトが生じたときは、既知の有効なバージョンのアプリケーションによって修復する。作業定義に含まれる必要条件は、レジストリ情報であるレジストリ設定などの環境および制約条件を含む(たとえば特許文献1参照)。   As a conventional technique capable of detecting and repairing a damaged part of a computer system, there is a computer system fault repairing method. This computer system failure repair method monitors changes to the computer system and, when detected, detects the changes by comparing the detected changes with the requirements contained in the work definition for each installed application. Then, it is determined whether or not the change causes a conflict with each application. When a conflict occurs, it is repaired by a known valid version of the application. The necessary conditions included in the work definition include an environment such as registry settings, which are registry information, and constraint conditions (see, for example, Patent Document 1).

特開2001−356914号公報JP 2001-356914 A

レジストリ情報を不揮発性の記憶装置に記憶しておく上述した従来技術は、レジストリ情報を記憶しておいた不揮発性の記憶装置に障害が発生して、レジストリ情報を読み出せなくなると、たとえばバックアップ用の記録媒体に別途記憶しておいた初期状態のレジストリ情報を用いて修復する必要がある。   The above-described conventional technology for storing registry information in a non-volatile storage device causes a failure in the non-volatile storage device that stores the registry information and cannot read the registry information. It is necessary to restore using the registry information in the initial state separately stored in the recording medium.

特許文献1に記載された従来技術は、レジストリ情報をアプリケーション毎の作業定義として記憶しておくことによって、コンピュータシステムに対する変更によって、アプリケーションに影響が生じると、記憶しておいた作業定義に含まれるレジストリ情報に基づいて、影響を受けたアプリケーションを修復するものである。作業定義を記憶している記憶装置に障害が発生すると、作業定義の内容を読み出せなくなり、この場合も、初期状態のレジストリ情報を用いて修復する必要がある。   The prior art described in Patent Document 1 is included in the stored work definition when registry information is stored as a work definition for each application, and an application is affected by a change to the computer system. It repairs affected applications based on registry information. If a failure occurs in the storage device that stores the work definition, the contents of the work definition cannot be read out. In this case, it is necessary to repair the contents using the registry information in the initial state.

ハンディターミナルなどのハンディタイプのコンピュータを、顧客対応の際に用いているときにレジストリ情報に障害が発生した場合、レジストリ情報を短時間に修復して、コンピュータを使用することができる状態にする必要がある。しかしながら、初期状態のレジストリ情報から、障害が発生する前の状態のレジストリ情報に修復するためには、多大の時間と労力が必要になり、顧客に迷惑を掛けてしまうことがあるという問題がある。   When a handy type computer such as a handy terminal is used when dealing with customers, if a failure occurs in the registry information, it is necessary to repair the registry information in a short time so that the computer can be used. There is. However, it takes a lot of time and effort to restore the registry information from the initial state to the state before the failure occurred, which may cause trouble for customers. .

本発明の目的は、レジストリ情報を短時間にかつより確実に修復することができるレジストリ情報の修復方法および情報処理装置を提供することである。   An object of the present invention is to provide a registry information repair method and an information processing apparatus that can repair registry information in a short time and more reliably.

本発明は、プログラムを実行する際の実行条件を定めたレジストリ情報を記憶する第1の記憶手段と、
第1の記憶手段に記憶されたレジストリ情報を退避させる退避手段と、
レジストリ情報のエラーの有無を検出するエラー検出手段とを含み、
第1の記憶手段に記憶されているレジストリ情報に対してエラー検出手段によるエラー検出を行い、エラーが検出された場合、エラーが検出されたレジストリ情報に変えて、退避手段に退避させたレジストリ情報を使用する情報処理装置であって、
レジストリ情報を複数記憶可能な第2の記憶手段をさらに含み、
退避手段は、
第1の記憶手段に記憶されたレジストリ情報を第2の記憶手段に複数記憶させ、
さらに、第2の記憶手段に記憶されている複数のレジストリ情報のエラーの有無をエラー検出手段に検出させ、前記複数のレジストリ情報の少なくとも1つのレジストリ情報にエラーが検出された場合、第2の記憶手段に記憶されたすべてのレジストリ情報に対して、第1の記憶手段に記憶されているレジストリ情報を退避させることを特徴とする情報処理装置である。
The present invention includes first storage means for storing registry information that defines execution conditions for executing a program;
Saving means for saving registry information stored in the first storage means;
Error detection means for detecting the presence or absence of errors in registry information,
The error information is detected by the error detection means for the registry information stored in the first storage means, and when an error is detected, the registry information saved in the saving means is changed to the registry information in which the error is detected. An information processing apparatus using
A second storage means capable of storing a plurality of registry information;
The evacuation means is
A plurality of registry information stored in the first storage means is stored in the second storage means;
Further, when the error detection means detects the presence or absence of errors in the plurality of registry information stored in the second storage means, and an error is detected in at least one registry information of the plurality of registry information, An information processing apparatus is characterized in that the registry information stored in the first storage unit is saved with respect to all the registry information stored in the storage unit .

本発明に従えば、まず第1の記憶手段によって、プログラムを実行する際の実行条件を定めたレジストリ情報が記憶され、退避手段によって、第1の記憶手段に記憶されたレジストリ情報が退避される。 According to the present invention, first, the first storage means stores registry information that defines execution conditions for executing the program, and the save means saves the registry information stored in the first storage means. .

次に、第1の記憶手段に記憶されているレジストリ情報に対してエラー検出手段によるエラー検出が行なわれて、エラーが検出された場合、エラーが検出されたレジストリ情報に変えて、退避手段に退避させたレジストリ情報が使用される。 Next, when error detection is performed on the registry information stored in the first storage unit and an error is detected, the registry information in which the error is detected is replaced with the registry unit in which the error is detected. The saved registry information is used.

このように、プログラムを実行する際の実行条件を定めたレジストリ情報を、退避手段に退避させるので、第1の記憶手段に記憶されているレジストリ情報にエラーが検出されても、退避手段に退避させたレジスト情報によって修復することができる。 In this way, the registry information that defines the execution conditions for executing the program is saved in the saving means, so even if an error is detected in the registry information stored in the first storage means, the registry information is saved in the saving means. It can be restored by the registered resist information.

また、第2の記憶手段は、レジストリ情報を複数記憶可能であり、退避手段、第1の記憶手段に記憶されたレジストリ情報第2の記憶手段に複数記憶さる。 The second storage means can store a plurality of pieces of registry information, saving means, Ru is more stored in the registry information stored in the first storage means a second storage means.

また、第2の記憶手段に記憶された複数のレジストリ情報のうち、いずれか1つのレジストリ情報にエラーが検出されたとき、第2の記憶手段に記憶されているすべてのレジストリ情報を、第1の記憶手段に記憶されているレジストリ情報によって更新するので、第2の記憶手段に記憶されるレジストリ情報を、エラーのないレジストリ情報に更新することができる。 Further , when an error is detected in any one of the plurality of registry information stored in the second storage unit, all the registry information stored in the second storage unit is stored in the first storage unit. Therefore, the registry information stored in the second storage means can be updated to error-free registry information.

また本発明は、前記退避手段は、電源の切断によって、第1の記憶手段に記憶されたレジストリ情報を、第2の記憶手段に記憶させることを特徴とする。   In the invention, it is preferable that the saving unit stores the registry information stored in the first storage unit in the second storage unit when the power is turned off.

本発明に従えば、情報処理装置1の電源が切断されるときに、第1の記憶手段に記憶されているレジストリ情報を、第2の記憶手段に記憶するので、情報処理装置1の動作中は、レジストリ情報は第2の記憶手段に記憶されない。   According to the present invention, when the information processing apparatus 1 is powered off, the registry information stored in the first storage unit is stored in the second storage unit. The registry information is not stored in the second storage means.

また本発明は、前記退避手段は、第1の記憶手段に記憶されたレジストリ情報の内容が変更された後に、電源が切断されることによって、第1の記憶手段に記憶されたレジストリ情報を第2の記憶手段に記憶させることを特徴とする。   According to the present invention, the saving means stores the registry information stored in the first storage means by turning off the power after the contents of the registry information stored in the first storage means are changed. It memorize | stores in 2 memory | storage means.

本発明に従えば、第1の記憶手段に記憶されたレジストリ情報が変更された後、電源が切断されるときに、第1の記憶手段に記憶されたレジストリ情報を、第2の記憶手段に記憶するので、レジストリ情報が変更されなかったときは、レジストリ情報は、第2の記憶手段に記憶されない。   According to the present invention, the registry information stored in the first storage means is stored in the second storage means when the power is turned off after the registry information stored in the first storage means is changed. Therefore, when the registry information is not changed, the registry information is not stored in the second storage means.

また本発明は、前記復帰手段は、OS起動時に、第2の記憶手段に記憶されている複数のレジストリ情報のうち1つのレジストリ情報を、新たなレジストリ情報として第1の記憶手段に記憶させることを特徴とする。   Further, according to the present invention, when the OS is activated, the restoration unit stores one registry information among a plurality of registry information stored in the second storage unit as new registry information in the first storage unit. It is characterized by.

本発明に従えば、OSが起動されて、第2の記憶手段に記憶された複数のレジストリ情報のうちの1つのレジストリ情報を、新たなレジストリ情報として第1の記憶手段に記憶するときに、記憶された複数のレジストリ情報のうちの一部のレジストリ情報にエラーがあると、記憶された他のレジストリ情報によって、第1の記憶手段のレジストリ情報を修復するので、OSの起動処理の一貫としてレジストリ情報の修復を行なうことができる。   According to the present invention, when the OS is activated and one registry information of the plurality of registry information stored in the second storage unit is stored in the first storage unit as new registry information, If there is an error in some of the plurality of stored registry information, the registry information in the first storage means is repaired by the other stored registry information. Registry information can be repaired.

また本発明は、前記第2の記憶手段と、前記第1の記憶手段とは、異なる種類の記憶媒体であることを特徴とする。   Further, the present invention is characterized in that the second storage means and the first storage means are different types of storage media.

本発明に従えば、第2の記憶手段を、第1の記憶手段と異なる種類の記憶媒体で構成しているので、レジストリ情報をバックアップするために必要な特質を有する記憶媒体を、第2の記憶手段として用いることができる。   According to the present invention, since the second storage means is composed of a storage medium of a different type from the first storage means, the storage medium having the characteristics necessary for backing up the registry information is stored in the second storage means. It can be used as a storage means.

また本発明は、プログラムが実行される実行条件を定めるレジストリ情報を第1の記憶部に記憶する記憶工程と、
第1の記憶部に記憶されたレジストリ情報を退避する退避工程と、
レジストリ情報のエラーを検出するエラー検出工程とを含み、
第1の記憶部に記憶されているレジストリ情報に対してエラー検出工程でエラー検出を行い、エラーが検出された場合、エラーが検出されたレジストリ情報に変えて、退避工程で退避させたレジストリ情報を使用するレジストリ情報の修復方法であって、
退避工程では、
第1の記憶部に記憶されたレジストリ情報を第2の記憶部に複数記憶し、
さらに、第2の記憶部に記憶されている複数のレジストリ情報のエラーの有無をエラー検出工程で検出させ、前記複数のレジストリ情報の少なくとも1つのレジストリ情報にエラーが検出された場合、第2の記憶部に記憶されたすべてのレジストリ情報に対して、第1の記憶部に記憶されているレジストリ情報を退避させることを特徴とするレジストリ情報の修復方法である。
The present invention also includes a storage step of storing registry information that defines an execution condition for executing a program in the first storage unit;
A saving step for saving the registry information stored in the first storage unit;
An error detection step for detecting an error in the registry information,
If the error is detected in the error detection process for the registry information stored in the first storage unit, and the error is detected, the registry information saved in the save process is changed to the registry information in which the error is detected. A method of repairing registry information using
In the evacuation process,
Storing a plurality of registry information stored in the first storage unit in the second storage unit;
Further, when an error detection step detects whether or not there is an error in the plurality of registry information stored in the second storage unit, and an error is detected in at least one registry information of the plurality of registry information, A registry information repairing method characterized in that, with respect to all registry information stored in the storage unit, the registry information stored in the first storage unit is saved .

本発明に従えば、まず記憶工程では、プログラムが実行される実行条件を定めるレジストリ情報を第1の記憶部に記憶し、退避工程では、第1の記憶部に記憶されたレジストリ情報を退避し、エラー検出工程では、レジストリ情報のエラーを検出する。そして、第1の記憶部に記憶されているレジストリ情報に対してエラー検出工程でエラー検出を行い、エラーが検出された場合、エラーが検出されたレジストリ情報に変えて、退避工程で退避させたレジストリ情報を使用する。 According to the present invention, first, in the storing step, registry information that defines an execution condition for executing the program is stored in the first storage unit, and in the saving step, the registry information stored in the first storage unit is saved. in the error detecting step, detecting an error in the registry information. Then, error detection is performed on the registry information stored in the first storage unit in the error detection process. When an error is detected, the registry information in which the error is detected is changed to the registry information in which the error is detected and saved in the save process. Use registry information.

次に、退避工程では、第1の記憶部に記憶されたレジストリ情報を第2の記憶部に複数記憶し、さらに、第2の記憶部に記憶されている複数のレジストリ情報のエラーの有無をエラー検出工程で検出させ、前記複数のレジストリ情報の少なくとも1つのレジストリ情報にエラーが検出された場合、第2の記憶部に記憶されたすべてのレジストリ情報に対して、第1の記憶部に記憶されているレジストリ情報を退避させる。 Next, in the saving step, a plurality of registry information stored in the first storage unit is stored in the second storage unit, and further, whether there is an error in the plurality of registry information stored in the second storage unit is checked. When an error is detected in at least one registry information of the plurality of registry information, all the registry information stored in the second storage unit is stored in the first storage unit. Back up the registered registry information.

このように、プログラムを実行する際の実行条件を定めたレジストリ情報を退避させるので、第1の記憶部に記憶されているレジストリ情報にエラーが検出されても、退避させたレジスト情報によって修復することができる。
また、第2の記憶部に記憶された複数のレジストリ情報のうち、いずれか1つのレジストリ情報にエラーが検出されたとき、第2の記憶部に記憶されているすべてのレジストリ情報を、第1の記憶部に記憶されているレジストリ情報によって更新するので、第2の記憶部に記憶されるレジストリ情報を、エラーのないレジストリ情報に更新することができる。
As described above, since the registry information that defines the execution conditions for executing the program is saved, even if an error is detected in the registry information stored in the first storage unit, the registry information is restored using the saved resist information. be able to.
In addition, when an error is detected in any one of the plurality of registry information stored in the second storage unit, all the registry information stored in the second storage unit is stored in the first storage unit. Therefore, the registry information stored in the second storage unit can be updated to the error-free registry information.

本発明によれば、第1の記憶手段に記憶されているレジストリ情報にエラーが検出されても、退避手段に退避させたレジスト情報によって修復することができるので、レジストリ情報を短時間にかつより確実に修復することができる。 According to the present invention, even if an error is detected in the registry information stored in the first storage unit, it can be repaired by using the resist information saved in the saving unit. It can be reliably repaired.

また第2の記憶手段に記憶された複数のレジストリ情報のうち、いずれか1つのレジストリ情報にエラーが検出されたとき、第2の記憶手段に記憶されるすべてのレジストリ情報を、エラーのないレジストリ情報に更新するので、第2の記憶手段に退避されるレジストリ情報の信頼性を向上することができる。 In addition , when an error is detected in any one of the plurality of registry information stored in the second storage unit, all the registry information stored in the second storage unit is not error-free. Since the registry information is updated, the reliability of the registry information saved in the second storage unit can be improved.

また本発明によれば、情報処理装置1の電源が切断されるときに、レジストリ情報を退避し、情報処理装置1の動作中にはレジストリ情報の退避を行なわないので、動作中の処理性能の低下を回避することができる。   Further, according to the present invention, the registry information is saved when the information processing apparatus 1 is powered off, and the registry information is not saved during the operation of the information processing apparatus 1. A decrease can be avoided.

また本発明によれば、情報処理装置1の電源が切断されるときでも、レジストリ情報が変更されたときにのみ、レジストリ情報を退避するので、レジストリ情報が変更されなかったときは、電源切断時のレジストリ情報退避時間を削減することができる。   According to the present invention, even when the information processing apparatus 1 is powered off, the registry information is saved only when the registry information is changed. Therefore, when the registry information is not changed, the power is turned off. The registry information save time can be reduced.

また本発明によれば、OSが起動されて、退避されたレジストリ情報を、新たなレジストリ情報として第1の記憶手段に記憶するときに、OSの起動処理の一貫としてレジストリ情報の修復を行なうので、レジストリ情報の修復を、ユーザに意識させることなく行なうことができる。   According to the present invention, when the OS is started and the saved registry information is stored in the first storage means as new registry information, the registry information is restored as part of the OS startup process. The registry information can be restored without making the user aware of it.

また本発明によれば、第2の記憶手段として、レジストリ情報をバックアップするために必要な特質を有する記憶媒体を用いることができるので、電源が切断されても、記憶している情報を消失しない不揮発性の記憶媒体を、第2の記憶手段として用いることができる。   According to the present invention, a storage medium having characteristics necessary for backing up registry information can be used as the second storage means, so that stored information is not lost even when the power is turned off. A nonvolatile storage medium can be used as the second storage means.

また本発明によれば、第1の記憶部に記憶されているレジストリ情報にエラーが検出されても、退避手段に退避させたレジスト情報によって修復することができるので、レジストリ情報を短時間にかつより確実に修復することができる。
また、第2の記憶部に記憶された複数のレジストリ情報のうち、いずれか1つのレジストリ情報にエラーが検出されたとき、第2の記憶部に記憶されるすべてのレジストリ情報を、エラーのないレジストリ情報に更新するので、第2の記憶部に退避されるレジストリ情報の信頼性を向上することができる。
Further, according to the present invention, even if an error is detected in the registry information stored in the first storage unit, it can be repaired by using the resist information saved in the saving means. It can be repaired more reliably.
Further, when an error is detected in any one of the plurality of registry information stored in the second storage unit, all of the registry information stored in the second storage unit is not error-free. Since the registry information is updated, the reliability of the registry information saved in the second storage unit can be improved.

図1は、本発明の実施の一形態である情報処理装置1のハードウエアのブロック図である。情報処理装置1は、たとえば人が手にもって操作することができるハンディターミナルであり、プログラムを実行して情報処理装置1全体を制御するCPU(Central
Processing Unit)10と、CPU10によって実行されるOS(Operating System)およびアプリケーションプログラムなどのプログラムならびに処理対象のデータなどを記憶するRAM(Random Access Memory)11と、OSおよびレジストリ情報などの情報をバックアップのために記憶するFlash ROM(Flash Read Only Memory)12と、Flash ROM12に記憶されたOSなどをRAM11にロードするブートローダおよびハードウエアの診断および初期化処理などを行なうプログラムを記憶するBIOS ROM(Basic Input/Output System Read Only Memory)13とを含む。
FIG. 1 is a hardware block diagram of an information processing apparatus 1 according to an embodiment of the present invention. The information processing apparatus 1 is a handy terminal that can be operated by a human hand, for example, and a CPU (Central
Processing Unit) 10, RAM (Random Access Memory) 11 for storing programs such as OS (Operating System) and application programs executed by CPU 10, and data to be processed, and information such as OS and registry information are backed up. A flash ROM (Flash Read Only Memory) 12 for storing the memory, a boot loader for loading the OS stored in the flash ROM 12 into the RAM 11, and a BIOS ROM (Basic Input) for storing a program for performing hardware diagnosis and initialization processing, etc. / Output System Read Only Memory) 13.

RAM11は、CPU10から高速にアクセスすることができる半導体メモリなどで構成されるが、揮発性であるために、情報処理装置1の電源が切断されると、記憶していた情報は消失する。RAM11に記憶している情報のうち、情報処理装置1の電源が投入されて、OSが起動されたときに必要な情報は、不揮発性の記憶装置、たとえばFlash ROM12にバックアップ、つまり退避され、情報処理装置1の電源が投入され、OSが起動されたとき、Flash ROM12からRAM11にリストア、つまり復帰される。Flash ROM12は、書き換え可能の不揮発性のフラッシュメモリなどの半導体メモリであり、電源が切断されても記憶している情報は消失しない。一般的には、不揮発性の記憶装置として、磁気ディスク装置が用いられるが、ハンディターミナルなどのハンディタイプの小型のコンピュータでは、磁気ディスク装置に比べて、比較的消費電力が少なく、かつ耐衝撃性に優れたフラッシュメモリが用いられる。   The RAM 11 is composed of a semiconductor memory or the like that can be accessed at high speed from the CPU 10. However, since the RAM 11 is volatile, the stored information is lost when the information processing apparatus 1 is powered off. Of the information stored in the RAM 11, information required when the information processing apparatus 1 is turned on and the OS is started up is backed up, that is, saved in a nonvolatile storage device such as the Flash ROM 12. When the processing apparatus 1 is turned on and the OS is activated, the processing is restored from the flash ROM 12 to the RAM 11, that is, restored. The flash ROM 12 is a semiconductor memory such as a rewritable nonvolatile flash memory, and stored information is not lost even when the power is turned off. In general, a magnetic disk device is used as a non-volatile storage device. However, a handy-type small computer such as a handy terminal has relatively low power consumption and shock resistance compared to a magnetic disk device. An excellent flash memory is used.

OSおよびアプリケーションプログラムなどのプログラムが実行される実行条件を定めるレジストリ情報は、RAM11に記憶されており、情報処理装置1の電源が切断されるとき、CPU10は、RAM11に記憶しているレジストリ情報をFlash ROM12に退避する。CPU10は、レジストリ情報をFlash ROM12に退避するとき、レジストリ情報に付加情報を付加して、複数の領域のそれぞれに記憶する。付加情報は、たとえばレジストリ情報のエラーの有無を検出するためのチェックサム値などを含む。   Registry information that defines execution conditions for executing programs such as the OS and application programs is stored in the RAM 11. When the information processing apparatus 1 is powered off, the CPU 10 stores the registry information stored in the RAM 11. Retreat to the Flash ROM 12. When saving the registry information to the flash ROM 12, the CPU 10 adds the additional information to the registry information and stores it in each of the plurality of areas. The additional information includes, for example, a checksum value for detecting whether there is an error in the registry information.

情報処理装置1の電源が投入されると、CPU10は、レジストリ情報を記憶したFlash ROM12の領域のうちの1つの領域のレジストリ情報にエラーがあるか否かをチェックする。エラーがないとき、エラーのなかったレジストリ情報をRAM11に書き込む。エラーがあるとき、エラーのチェックを行ったレジストリ情報の領域を除く他の領域のうちの1つの領域のレジストリ情報をRAM11に書き込む。RAM11およびFlash ROM12に記憶される情報の詳細については、後述する。   When the information processing apparatus 1 is powered on, the CPU 10 checks whether there is an error in the registry information in one of the areas of the Flash ROM 12 that stores the registry information. When there is no error, the registry information with no error is written into the RAM 11. When there is an error, the registry information of one of the areas other than the area of the registry information where the error is checked is written into the RAM 11. Details of the information stored in the RAM 11 and the flash ROM 12 will be described later.

情報処理装置1は、さらに、情報を表示する表示画面を有する液晶ディスプレイであるLCD(Liquid Crystal Display)14、LCD14をCPU10からの指示によって制御するLCD Controller15、外部メモリであるCF CARD(Compact
Flash Card)28との情報の転送を制御するCard Controller16、画像を取り込むスキャナであるLASER SCANNER29を制御するSCANNER Controller17、音を出力するSP(Speaker)18、音を入力するMIC(
Microphone)19、CPU10からのデジタル情報を音信号に変換してSP18に出力し、かつMIC19からの音信号をデジタル情報に変換してCPU10に入力するCODEC Controller(Coder Decoder Controller)20、ペン入力するためのTOUCH PANEL21a、ペンで押された位置情報をCPU10に入力するTOUCH PANEL Controller21b、情報処理装置1への情報を入力するKEY BOARD22、時刻情報を生成してCPU10に提供するRTC(Real Time
Clock)23、ユーザへの注意を喚起するための音を出力するBuzzer24、無線通信を制御するBluetooth25、赤外線通信を制御するSIR/FIR(Serial
InfraRed/Fast InfraRed)26、および大量の情報を高速に入出力するためのメモリカードであるSD(Secure Digital)27を含む。
The information processing apparatus 1 further includes an LCD (Liquid Crystal Display) 14 that is a liquid crystal display having a display screen for displaying information, an LCD Controller 15 that controls the LCD 14 according to an instruction from the CPU 10, and a CF CARD (Compact) that is an external memory.
A Card Controller 16 that controls the transfer of information to and from the Flash Card) 28, a SCANNER Controller 17 that controls the LASER SCANNER 29 that captures images, an SP (Speaker) 18 that outputs sound, and an MIC (
Microphone 19, a digital information from CPU 10 is converted into a sound signal and output to SP 18, and a sound signal from MIC 19 is converted into digital information and input to CPU 10, CODEC Controller (Coder Decoder Controller) 20, a pen input TOUCH PANEL 21a for input, TOUCH PANEL Controller 21b for inputting position information pressed by the pen to the CPU 10, KEY BOARD 22 for inputting information to the information processing device 1, and RTC (Real Time) for generating time information and providing it to the CPU 10
Clock) 23, Buzzer 24 for outputting a sound for alerting the user, Bluetooth 25 for controlling wireless communication, SIR / FIR (Serial for controlling infrared communication)
InfraRed / Fast InfraRed) 26 and SD (Secure Digital) 27 which is a memory card for inputting and outputting a large amount of information at high speed.

第1の記憶手段および記憶手段は、たとえばRAM11であり、第2の記憶手段は、たとえばFlash ROM12であり、退避手段、エラー検出手段、および復帰手段は、たとえばCPU10で実行されるプログラムの機能である。   The first storage means and the storage means are, for example, the RAM 11, the second storage means is, for example, the Flash ROM 12, and the save means, error detection means, and return means are functions of a program executed by the CPU 10, for example. is there.

このように、第2の記憶手段であるFlash ROM12を、第1の記憶手段であるRAM11と異なる種類の記憶媒体とするので、第2の記憶手段として、レジストリ情報をバックアップするために必要な特質を有する記憶媒体を用いることができる。レジストリ情報をバックアップするために必要な特質を有する記憶媒体、たとえば不揮発性の記憶媒体としては、フラッシュメモリを用いることができる。   Thus, since the flash ROM 12 as the second storage means is a different type of storage medium from the RAM 11 as the first storage means, the characteristics required for backing up the registry information as the second storage means A storage medium having the following can be used. A flash memory can be used as a storage medium having characteristics necessary for backing up registry information, for example, a nonvolatile storage medium.

すなわち、第2の記憶手段を、第1の記憶手段と異なる種類の記憶媒体で構成しているので、レジストリ情報をバックアップするために必要な特質を有する記憶媒体を、第2の記憶手段として用いることができる。したがって、第2の記憶手段として、レジストリ情報をバックアップするために必要な特質を有する記憶媒体を用いることができるので、電源が切断されても、記憶している情報を消失しない不揮発性の記憶媒体を、第2の記憶手段として用いることができる。   In other words, since the second storage means is composed of a different type of storage medium from the first storage means, a storage medium having characteristics necessary for backing up the registry information is used as the second storage means. be able to. Therefore, a storage medium having the characteristics necessary for backing up the registry information can be used as the second storage means, so that the stored information is not lost even when the power is turned off. Can be used as the second storage means.

図2は、図1に示したFlash ROM12のメモリ領域の割り当てを示す図である。Flash ROM12は、たとえば64MB(メガバイト)のメモリ容量を有し、32MBのOSイメージ格納領域、1MBのレジストリ保存領域、および31MBのFlash Disk領域から構成される。OSイメージ格納領域は、RAM11にロードするためのOSを記憶する領域であり、デフォールトのレジストリ情報、つまり初期状態のレジストリ情報も記憶する。   FIG. 2 is a diagram showing allocation of memory areas of the flash ROM 12 shown in FIG. The flash ROM 12 has a memory capacity of 64 MB (megabytes), for example, and is composed of a 32 MB OS image storage area, a 1 MB registry storage area, and a 31 MB flash disk area. The OS image storage area is an area for storing an OS to be loaded into the RAM 11, and also stores default registry information, that is, registry information in an initial state.

レジストリ保存領域は、A面およびB面の2つの領域に分割され、それぞれ512KBのメモリ容量を有する。A面およびB面は、同じデータ構造であり、それぞれヘッダ部および実データ部を有する。ヘッダ部には、レジストリ情報を管理するためのフラグ情報、実データ部のデータ長を示す実データのサイズ、レジストリ情報のエラーの有無をチェックするためのサムチェック値、およびレジストリ情報をレジストリ保存領域に書き込んだ書き込み回数などの付加情報が記憶される。実データ部には、レジストリ情報が記憶される。図2に示した実施の形態では、レジストリ保存領域をA面およびB面の2面として説明したが、3面以上の領域を確保して、レジストリ情報を3つ以上退避することも可能である。   The registry storage area is divided into two areas of A side and B side, and each has a memory capacity of 512 KB. The A side and the B side have the same data structure, and have a header part and an actual data part, respectively. In the header part, the flag information for managing the registry information, the actual data size indicating the data length of the actual data part, the sum check value for checking whether there is an error in the registry information, and the registry information are stored in the registry Additional information such as the number of writes written in is stored. Registry information is stored in the actual data portion. In the embodiment shown in FIG. 2, the registry storage area has been described as two faces, A and B. However, it is possible to secure three or more areas and save three or more registry information. .

Flash Disk領域は、磁気ディスク装置をエミュレートするFlash Diskとして構成され、OSから磁気ディスク装置としてアクセスされる領域である。このFlash Disk領域には、レジストリ情報のバックアップファイルが記憶される。   The flash disk area is configured as a flash disk that emulates a magnetic disk device, and is accessed from the OS as a magnetic disk device. In the Flash Disk area, a backup file of registry information is stored.

図3は、図1に示したRAM11に記憶されるレジストリ情報のバックアップおよびリストアの動作を説明するための図である。RAM11は、たとえば64MBのメモリ容量を有し、プログラム実行用メモリの領域と、データ記憶用メモリの領域とに分けられる。プログラム実行用メモリの領域には、OSおよびアプリケーションプログラムなどのプログラムを記憶する。データ記憶用メモリの領域は、磁気ディスク装置をエミュレートするRAM Diskとして構成され、OSから磁気ディスク装置としてアクセスされる領域である。データ記憶用メモリの領域には、レジストリ情報および処理対象であるデータなどが記憶される。   FIG. 3 is a diagram for explaining the backup and restore operations of registry information stored in the RAM 11 shown in FIG. The RAM 11 has a memory capacity of 64 MB, for example, and is divided into a program execution memory area and a data storage memory area. Programs such as an OS and application programs are stored in the program execution memory area. The data storage memory area is configured as a RAM Disk that emulates a magnetic disk device, and is accessed from the OS as a magnetic disk device. In the data storage memory area, registry information, data to be processed, and the like are stored.

図3に示した矢印B1は、情報処理装置1に組み込まれているレジストリバックアップツールによって、RAM11のデータ記憶用メモリの領域に記憶されたレジストリ情報を、Flash ROM12のFlash Disk領域にバックアップする場合を示している。レジストリ情報は、OSが動作しているとき、RAM11のデータ記憶用メモリの領域に記憶されている。レジストリバックアップツールは、レジストリ情報をバックアップするためのプログラムからなるツールであり、ユーザは、必要に応じて、そのレジストリバックアップツールを用いて、レジストリ情報をバックアップすることができる。レジストリバックアップツールを用いて、RAM11のデータ記憶用メモリの領域に記憶されたレジストリ情報をバックアップすると、Flash ROM12のFlash Disk領域に、レジストリ情報のバックファイルファイルが生成される。   An arrow B1 shown in FIG. 3 indicates a case in which the registry information stored in the data storage memory area of the RAM 11 is backed up in the flash disk area of the flash ROM 12 by the registry backup tool incorporated in the information processing apparatus 1. Show. Registry information is stored in the data storage memory area of the RAM 11 when the OS is operating. The registry backup tool is a tool including a program for backing up registry information, and the user can back up the registry information using the registry backup tool as necessary. When the registry information stored in the data storage memory area of the RAM 11 is backed up using the registry backup tool, a back file file of the registry information is generated in the flash disk area of the flash ROM 12.

図3に示した矢印B2は、RAM11のデータ記憶用メモリに記憶されたレジストリ情報を、Flash ROM12のレジストリ保存領域にバックアップ、つまり退避する場合を示している。情報処理装置1の電源が切断されるとき、情報処理装置1は、データ記憶用メモリの領域に記憶されたレジストリ情報を、Flash ROM12のレジストリ保存領域のA面およびB面のそれぞれに記憶する。   An arrow B2 shown in FIG. 3 indicates a case where the registry information stored in the data storage memory of the RAM 11 is backed up, that is, saved in the registry storage area of the flash ROM 12. When the information processing apparatus 1 is turned off, the information processing apparatus 1 stores the registry information stored in the data storage memory area on each of the A side and B side of the registry storage area of the Flash ROM 12.

このように、情報処理装置1の電源が切断されるときに、第1の記憶手段であるRAM11に記憶されているレジストリ情報を、第2の記憶手段であるFlash ROM12のレジストリ保存領域に記憶して退避するので、レジストリ情報の退避は、情報処理装置1の動作中には行なわれない。   As described above, when the information processing apparatus 1 is powered off, the registry information stored in the RAM 11 as the first storage means is stored in the registry storage area of the flash ROM 12 as the second storage means. Therefore, the registry information is not saved during the operation of the information processing apparatus 1.

すなわち、情報処理装置1の電源が切断されるときに、第1の記憶手段に記憶されているレジストリ情報を、第2の記憶手段に記憶するので、情報処理装置1の動作中は、レジストリ情報は第2の記憶手段に記憶されない。したがって、情報処理装置1の電源が切断されるときに、レジストリ情報を退避し、情報処理装置1の動作中にはレジストリ情報の退避を行なわないので、動作中の処理性能の低下を回避することができる。   That is, when the information processing apparatus 1 is powered off, the registry information stored in the first storage means is stored in the second storage means. Therefore, during the operation of the information processing apparatus 1, the registry information is stored. Is not stored in the second storage means. Therefore, when the information processing apparatus 1 is powered off, the registry information is saved, and the registry information is not saved during the operation of the information processing apparatus 1, thereby avoiding a decrease in processing performance during the operation. Can do.

あるいは、電源が切断されるときに、無条件に、RAM11のデータ記憶用メモリの領域に記憶されたレジストリ情報を、Flash ROM12のレジストリ保存領域のA面およびB面のそれぞれに記憶するのではなく、RAM11のデータ記憶用メモリに記憶されたレジストリ情報が変更された後電源が切断されるときに、データ記憶用メモリの領域に記憶されたレジストリ情報を、レジストリ保存領域のA面およびB面のそれぞれに記憶するようにしてもよい。   Alternatively, when the power is turned off, the registry information stored in the data storage memory area of the RAM 11 is not stored unconditionally in each of the A side and B side of the registry storage area of the Flash ROM 12. When the power is turned off after the registry information stored in the data storage memory of the RAM 11 is changed, the registry information stored in the data storage memory area is stored in the A and B sides of the registry storage area. You may make it memorize | store in each.

このように、第1の記憶手段であるRAM11のデータ記憶用メモリに記憶されたレジストリ情報が変更された後、情報処理装置1の電源が切断されるときに、RAM11のデータ記憶用メモリに記憶されたレジストリ情報を、第2の記憶手段であるFlash ROM12のレジストリ保存領域のA面およびB面に記憶するので、レジストリ情報が変更されなかったときは、RAM11のデータ記憶用メモリに記憶されたレジストリ情報は、Flash ROM12に記憶されない。   As described above, when the information processing apparatus 1 is powered off after the registry information stored in the data storage memory of the RAM 11 serving as the first storage means is changed, the information is stored in the data storage memory of the RAM 11. The stored registry information is stored in the A and B sides of the registry storage area of the flash ROM 12 as the second storage means. When the registry information is not changed, it is stored in the data storage memory of the RAM 11. Registry information is not stored in the Flash ROM 12.

すなわち、第1の記憶手段に記憶されたレジストリ情報が変更された後、電源が切断されるときに、第1の記憶手段に記憶されたレジストリ情報を、第2の記憶手段に記憶するので、レジストリ情報が変更されなかったときは、レジストリ情報は、第2の記憶手段に記憶されない。したがって、情報処理装置1の電源が切断されるときでも、レジストリ情報が変更されたときにのみ、レジストリ情報を退避するので、レジストリ情報が変更されなかったときは、電源切断時のレジストリ情報退避時間を削減することができる。   That is, when the power is turned off after the registry information stored in the first storage unit is changed, the registry information stored in the first storage unit is stored in the second storage unit. When the registry information is not changed, the registry information is not stored in the second storage unit. Therefore, even when the information processing apparatus 1 is powered off, the registry information is saved only when the registry information is changed. Therefore, when the registry information is not changed, the registry information saving time when the power is turned off. Can be reduced.

さらに、RAM11のデータ記憶用メモリに記憶されたレジストリ情報が変更されないで電源が切断されるとき、Flash ROM12のレジストリ保存領域のA面およびB面に記憶されたレジストリ情報にエラーがあるか否かを、それぞれA面およびB面のヘッダ部に記憶されたチェックサムを用いてチェックする。そして、いずれかの面に記憶されたレジストリ情報にエラーが検出されたときは、Flash ROM12のレジストリ保存領域のA面およびB面に記憶されたレジストリ情報を、データ記憶用メモリの領域に記憶されたレジストリ情報によって更新し、いずれの面のレジストリ情報にもエラーが検出されなかったときは、Flash ROM12のレジストリ保存領域のA面およびB面に記憶されたレジストリ情報を、更新しないようにしてもよい。   Further, whether or not there is an error in the registry information stored in the A and B sides of the registry storage area of the flash ROM 12 when the power is turned off without changing the registry information stored in the data storage memory of the RAM 11 Are checked using the checksums stored in the header parts of the A and B sides, respectively. When an error is detected in the registry information stored on either side, the registry information stored on the A and B sides of the registry storage area of the flash ROM 12 is stored in the data storage memory area. If no error is detected in the registry information on either side, the registry information stored in the A and B sides of the registry storage area of the Flash ROM 12 may not be updated. Good.

このように、第2の記憶手段であるFlash ROM12に記憶されたレジストリ情報のうち、いずれか1つのレジストリ情報にエラーが検出されたとき、第1の記憶手段であるRAM11に記憶されているレジストリ情報を、Flash ROM12のA面およびB面に記憶されたレジストリ情報によって更新するので、Flash ROM12に記憶されたレジストリ情報を、エラーのないレジストリ情報に更新することができる。   Thus, when an error is detected in any one of the registry information stored in the flash ROM 12 as the second storage means, the registry stored in the RAM 11 as the first storage means. Since the information is updated by the registry information stored in the A and B surfaces of the flash ROM 12, the registry information stored in the flash ROM 12 can be updated to the error-free registry information.

すなわち、第2の記憶手段に記憶された複数のレジストリ情報のうち、いずれか1つのレジストリ情報にエラーが検出されたとき、第2の記憶手段に記憶されているすべてのレジストリ情報を、第1の記憶手段に記憶されているレジストリ情報によって更新するので、第2の記憶手段に記憶されるレジストリ情報を、エラーのないレジストリ情報に更新することができる。したがって、第2の記憶手段に記憶された複数のレジストリ情報のうち、いずれか1つのレジストリ情報にエラーが検出されたとき、第2の記憶手段に記憶されるすべてのレジストリ情報を、エラーのないレジストリ情報に更新するので、第2の記憶手段に退避されるレジストリ情報の信頼性を向上することができる。   That is, when an error is detected in any one of the plurality of registry information stored in the second storage unit, all the registry information stored in the second storage unit is stored in the first storage unit. Therefore, the registry information stored in the second storage means can be updated to error-free registry information. Therefore, when an error is detected in any one of the plurality of registry information stored in the second storage unit, all the registry information stored in the second storage unit is not error-free. Since the registry information is updated, the reliability of the registry information saved in the second storage unit can be improved.

あるいは、いずれかの面のレジストリ情報にエラーを検出したとき、A面およびB面とも更新するのではなく、エラーを検出した面のレジストリ情報のみを更新するようにしてもよい。具体的には、データ記憶用メモリに記憶されたレジストリ情報が変更されないで電源が切断されるとき、まず、Flash ROM12のレジストリ保存領域のA面に記憶されたレジストリ情報にエラーがあるか否かを、A面のヘッダ部に記憶されたチェックサムを用いてチェックする。エラーがあると、レジストリ保存領域のA面に記憶されたレジストリ情報を、データ記憶用メモリの領域に記憶されたレジストリ情報によって更新する。エラーがないと、レジストリ保存領域のA面に記憶されたレジストリ情報は更新しない。   Alternatively, when an error is detected in the registry information on either side, it is also possible to update only the registry information on the side where the error is detected, instead of updating both the A side and the B side. Specifically, when the power is turned off without changing the registry information stored in the data storage memory, first, whether or not there is an error in the registry information stored in the A side of the registry storage area of the Flash ROM 12 Is checked using the checksum stored in the header part of the A side. If there is an error, the registry information stored in the A side of the registry storage area is updated with the registry information stored in the data storage memory area. If there is no error, the registry information stored in the A side of the registry storage area is not updated.

次に、Flash ROM12のレジストリ保存領域のB面に記憶されたレジストリ情報にエラーがあるか否かを、B面のヘッダ部に記憶されたチェックサムを用いてチェックする。エラーがあると、レジストリ保存領域のB面に記憶されたレジストリ情報を、データ記憶用メモリの領域に記憶されたレジストリ情報によって更新する。エラーがないと、レジストリ保存領域のB面に記憶されたレジストリ情報は更新しない。   Next, whether or not there is an error in the registry information stored in the B side of the registry storage area of the flash ROM 12 is checked using the checksum stored in the header part of the B side. When there is an error, the registry information stored in the B side of the registry storage area is updated with the registry information stored in the data storage memory area. If there is no error, the registry information stored in side B of the registry storage area is not updated.

このように、第2の記憶手段であるFlash ROM12のA面に記憶されたレジストリ情報にエラーが検出されたとき、A面に記憶されたレジストリ情報を、第1の記憶手段であるRAM11に記憶されているレジストリ情報によって更新し、さらにFlash ROM12のB面に記憶されたレジストリ情報にエラーが検出されたとき、B面に記憶されたレジストリ情報を、RAM11に記憶されているレジストリ情報によって更新するので、エラーが検出された面のレジストリ情報を、エラーのないレジストリ情報に、更新することができる。   As described above, when an error is detected in the registry information stored in the A side of the Flash ROM 12 as the second storage unit, the registry information stored in the A side is stored in the RAM 11 as the first storage unit. Updated with the stored registry information, and when an error is detected in the registry information stored on the B side of the flash ROM 12, the registry information stored on the B side is updated with the registry information stored in the RAM 11. Therefore, the registry information of the surface where the error is detected can be updated to the registry information having no error.

すなわち、第2の記憶手段に記憶された複数のレジストリ情報うちエラーが検出されたレジストリ情報を、第1の記憶手段に記憶されているレジストリ情報によって更新するので、複数のレジストリ情報のうちエラーが検出されたレジストリ情報を、エラーのないレジストリ情報に更新することができる。したがって、複数のレジストリ情報のうちエラーが検出されたレジストリ情報のみを、エラーのないレジストリ情報に更新するので、レジストリ情報の退避時間を短縮することができる。   That is, among the plurality of registry information stored in the second storage unit, the registry information in which the error is detected is updated with the registry information stored in the first storage unit. The detected registry information can be updated to error-free registry information. Therefore, only the registry information in which an error is detected among the plurality of registry information is updated to the registry information without an error, so that the saving time of the registry information can be shortened.

図3に示した矢印R2は、Flash ROM12のレジストリ保存領域にバックアップ、つまり退避されていたレジストリ情報を、RAM11のデータ記憶用メモリにリストア、つまり復帰する場合を示している。OSが起動されたとき、たとえば情報処理装置1の電源が投入されたとき、Flash ROM12のレジストリ保存領域のA面に記憶されたレジストリ情報にエラーがあるか否かを、A面のヘッダ部に記憶されたサムチェック値を用いてチェックする。エラーがないと、A面に記憶されたレジストリ情報を、RAM11のデータ記憶用メモリに記憶する。エラーがあると、B面に記憶されたレジストリ情報を、RAM11のデータ記憶用メモリに記憶する。   An arrow R2 shown in FIG. 3 indicates a case where the registry information that has been backed up, that is, saved in the registry storage area of the flash ROM 12 is restored, that is, restored to the data storage memory of the RAM 11. When the OS is started, for example, when the information processing apparatus 1 is turned on, whether or not there is an error in the registry information stored in the A side of the registry storage area of the Flash ROM 12 is displayed in the A side header part. Check using the stored sum check value. If there is no error, the registry information stored in the A side is stored in the data storage memory of the RAM 11. When there is an error, the registry information stored in the B side is stored in the data storage memory of the RAM 11.

図3に示した実施の各形態では、レジストリ保存領域をA面およびB面の2面として説明したが、3面以上の領域を確保して、レジストリ情報を3つ以上退避することも可能である。   In each of the embodiments shown in FIG. 3, the registry storage area has been described as the two faces A and B. However, it is possible to secure three or more areas and save three or more registry information. is there.

このように、複数のレジストリ情報を第2の記憶手段であるFlash ROM12に記憶して退避しておくので、退避された複数のレジストリ情報のうちのいずれかにエラーが生じても、退避された他のレジストリ情報によって、第1の記憶手段であるRAM11に記憶するレジストリ情報を修復することができる。   In this way, since a plurality of registry information is stored and saved in the flash ROM 12 as the second storage means, even if an error occurs in any of the saved registry information, it is saved. The registry information stored in the RAM 11 serving as the first storage means can be restored by other registry information.

すなわち、レジストリ情報を第2の記憶手段に、複数のレジストリ情報として記憶しておくので、記憶した複数のレジストリ情報のうちの一部のレジストリ情報にエラーが生じても、他のレジストリ情報によって、第1の記憶手段に記憶するレジストリ情報を修復することができる。したがって、第2の記憶手段に記憶された複数のレジストリ情報のうちの一部のレジストリ情報にエラーが生じても、他のレジストリ情報によって、第1の記憶手段に記憶するレジストリ情報をレジストリ情報を修復することができるので、レジストリ情報を短時間にかつより確実に修復することができる。   That is, since the registry information is stored as a plurality of registry information in the second storage means, even if an error occurs in a part of the stored registry information, the other registry information Registry information stored in the first storage means can be restored. Therefore, even if an error occurs in a part of the plurality of registry information stored in the second storage unit, the registry information stored in the first storage unit is changed to the registry information by another registry information. Since it can be restored, the registry information can be restored in a short time and more reliably.

さらに、OSが起動されて、第2の記憶手段であるFlash ROM12に記憶されたレジストリ情報を、第1の記憶手段であるRAM11にリストア、つまり復帰するときに、退避された複数のレジストリ情報の一部のレジストリ情報にエラーがあると、退避された他のレジストリ情報によって、RAM11のレジストリ情報を修復するので、OSの起動処理の一貫としてレジストリ情報の修復を行なうことができる。   Further, when the OS is started and the registry information stored in the flash ROM 12 as the second storage means is restored to the RAM 11 as the first storage means, that is, when the restoration is restored, a plurality of saved registry information is restored. If there is an error in some of the registry information, the registry information in the RAM 11 is repaired by the other saved registry information, so that the registry information can be repaired as part of the OS startup process.

すなわち、OSが起動されて、第2の記憶手段に記憶された複数のレジストリ情報のうちの1つのレジストリ情報を、新たなレジストリ情報として第1の記憶手段に記憶するときに、記憶された複数のレジストリ情報のうちの一部のレジストリ情報にエラーがあると、記憶された他のレジストリ情報によって、第1の記憶手段のレジストリ情報を修復するので、OSの起動処理の一貫としてレジストリ情報の修復を行なうことができる。したがって、OSが起動されて、退避されたレジストリ情報を、新たなレジストリ情報として第1の記憶手段に記憶するときに、OSの起動処理の一貫としてレジストリ情報の修復を行なうので、レジストリ情報の修復を、ユーザに意識させることなく行なうことができる。   That is, when the OS is started and one registry information of the plurality of registry information stored in the second storage unit is stored as new registry information in the first storage unit, the plurality of stored registry information is stored. If there is an error in some of the registry information, the registry information in the first storage means is repaired by the other stored registry information, so that the registry information is restored as part of the OS startup process. Can be performed. Therefore, when the OS is started and the saved registry information is stored in the first storage means as new registry information, the registry information is restored as part of the OS startup process. Can be performed without making the user aware of it.

あるいは、レジストリ保存領域のA面に記憶されたレジストリ情報にエラーがあると、無条件に、B面に記憶されたレジストリ情報を、RAM11のデータ記憶用メモリに記憶するのではなく、B面に記憶されたレジストリ情報にエラーがあるか否かを、B面のヘッダ部に記憶されたサムチェック値を用いてチェックした後に、B面に記憶されたレジストリ情報を、RAM11のデータ記憶用メモリに記憶してもよい。すなわち、B面に記憶されたレジストリ情報にエラーがあるか否かを、B面のヘッダ部に記憶されたサムチェック値を用いてチェックして、エラーがないとき、B面に記憶されたレジストリ情報を、RAM11のデータ記憶用メモリに記憶する。   Alternatively, if there is an error in the registry information stored in the A side of the registry storage area, the registry information stored in the B side is not stored in the data storage memory of the RAM 11 unconditionally. After checking whether or not there is an error in the stored registry information using the sum check value stored in the header part of the B side, the registry information stored in the B side is stored in the data storage memory of the RAM 11. You may remember. That is, whether or not there is an error in the registry information stored in the B side is checked using the sum check value stored in the header part of the B side, and if there is no error, the registry stored in the B side Information is stored in the data storage memory of the RAM 11.

A面およびB面に記憶されたレジストリ情報にエラーがあるときは、図3に示した矢印R1のように、Flash ROM12のFlash Disk領域のレジストリ情報のバックアップファイルを用いて、RAM11のデータ記憶用メモリのレジストリ情報を復帰する。Flash Disk領域にレジストリ情報のバックアップファイルがあるか否かをチェックし、バックアップファイルがあるとき、Flash Disk領域のレジストリ情報を、RAM11のデータ記憶用メモリに記憶する。Flash Disk領域にレジストリ情報のバックアップファイルがないとき、Flash ROM12のOSイメージ格納領域に記憶されているデフォールトのレジストリ情報を、RAM11のデータ記憶用メモリに記憶する。   When there is an error in the registry information stored in the A side and the B side, as shown by the arrow R1 in FIG. 3, the backup data of the registry information in the flash disk area of the flash ROM 12 is used to store data in the RAM 11. Restore memory registry information. It is checked whether or not there is a backup file of registry information in the flash disk area. When there is a backup file, the registry information of the flash disk area is stored in the data storage memory of the RAM 11. When there is no backup file of registry information in the Flash Disk area, the default registry information stored in the OS image storage area of the Flash ROM 12 is stored in the data storage memory of the RAM 11.

このように、レジストリ格納領域のA面およびB面のレジストリ情報にエラーが検出されても、Flash Disk領域に記憶されたレジストリ情報のバックアップファイルがあれば、そのバックアップファイルによって、RAM11のレジストリ情報を修復することができるので、より信頼性を向上することができる。   As described above, even if an error is detected in the registry information on the A and B sides of the registry storage area, if there is a backup file of the registry information stored in the flash disk area, the registry information of the RAM 11 is stored by the backup file. Since it can be repaired, the reliability can be further improved.

図4は、図3に示したレジストリ情報のバックアップの処理手順の一例を示すフローチャートである。このフローチャートは、CPU10が、レジストリ情報をFlash Disk領域にバックアップする処理手順を示すものである。まだ情報処理装置1にアプリケーションプログラムなどがインストールされていない状態で、情報処理装置1の電源が投入されたとき、ステップS1に移る。   FIG. 4 is a flowchart showing an example of a backup processing procedure of the registry information shown in FIG. This flowchart shows a processing procedure in which the CPU 10 backs up the registry information in the flash disk area. When the information processing apparatus 1 is turned on with no application program installed in the information processing apparatus 1, the process proceeds to step S1.

ステップS1では、BIOS ROM13に記憶されたプログラムによって、情報処理装置1のハードウエアの初期化処理が行なわれ、Flash ROM12のOSイメージ格納領域に記憶されたOSをRAM11のプログラム実行用メモリの領域にロードする。ステップS2では、OSがRAM11のプログラム実行用メモリの領域にロードされると、ロードされたOSが起動される。このとき、Flash ROM12のOSイメージ格納領域に記憶されていたデフォールトのレジストリ情報、つまり初期状態のレジストリ情報が、RAM11のデータ記憶用メモリの領域にロードされる。   In step S1, the hardware stored in the information processing apparatus 1 is initialized by the program stored in the BIOS ROM 13, and the OS stored in the OS image storage area of the flash ROM 12 is stored in the program execution memory area of the RAM 11. Load it. In step S2, when the OS is loaded into the program execution memory area of the RAM 11, the loaded OS is activated. At this time, the default registry information stored in the OS image storage area of the flash ROM 12, that is, the registry information in the initial state is loaded into the data storage memory area of the RAM 11.

ステップS3では、アプリケーションプログラムのインストールを行なう。ステップS4では、システム、つまりOSおよびインストールされたアプリケーションプログラムなどの動作環境の設定を行なう。設定された動作環境は、RAM11のデータ記憶用メモリの領域にロードされたレジストリ情報に登録され、レジストリ情報は初期状態から変更される。ステップS5では、レジストリバックアップツールを実行し、ユーザが操作する指示に従って、RAM11のデータ記憶用メモリの領域に記憶されているレジストリ情報を、Flash ROM12のFlash Disk領域に、レジストリ情報のバックアップファイルとして記憶し、処理を終了する。   In step S3, an application program is installed. In step S4, an operating environment such as a system, that is, an OS and an installed application program is set. The set operating environment is registered in the registry information loaded in the data storage memory area of the RAM 11, and the registry information is changed from the initial state. In step S5, the registry backup tool is executed, and the registry information stored in the data storage memory area of the RAM 11 is stored as a backup file of the registry information in the flash disk area of the flash ROM 12 in accordance with an instruction operated by the user. Then, the process ends.

このように、Flash ROM12のFlash Disk領域へのレジストリ情報のバックアップファイルの生成は、ユーザからの指示によって行なわれ、ユーザによっては、Flash ROM12のFlash Disk領域に、レジストリ情報のバックアップファイルが生成されない場合もある。レジストリ情報のバックアップファイルが、Flash ROM12のFlash Disk領域に生成されている場合は、レジストリ保存領域のA面およびB面のレジストリ情報にエラーが検出されても、このレジストリ情報のバックアップファイルを用いて、RAM11のレジストリ情報を復帰することができる。   As described above, generation of a backup file of registry information in the flash disk area of the flash ROM 12 is performed according to an instruction from the user, and depending on the user, a backup file of registry information is not generated in the flash disk area of the flash ROM 12. There is also. When a backup file of registry information is generated in the flash disk area of the flash ROM 12, even if an error is detected in the registry information on the A side and B side of the registry storage area, the backup file of this registry information is used. The registry information in the RAM 11 can be restored.

図5は、図3に示したレジストリ情報のバックアップの処理手順の他の例を示すフローチャートである。このフローチャートは、CPU10が、RAM11に記憶されているレジストリ情報を、Flash ROM12のレジストリ保存領域にバックアップする処理手順を示すものである。情報処理装置1の電源が切断されるとき、ステップT1に移る。   FIG. 5 is a flowchart showing another example of the backup procedure of the registry information shown in FIG. This flowchart shows a processing procedure in which the CPU 10 backs up the registry information stored in the RAM 11 to the registry storage area of the flash ROM 12. When the information processing apparatus 1 is powered off, the process proceeds to step T1.

ステップT1では、RAM11のデータ記憶用エリアの領域に記憶されているレジストリ情報が変更されたか否かを判定する。レジストリ情報が変更されたか否かは、たとえばレジストリ情報の変更を行なったときに、レジストリ情報の変更が行なわれたことを示す変更情報を、RAM11のデータ記憶用エリアの領域に記憶しておき、その変更情報を参照することによって、変更が行なわれたか否かを判定することができる。レジストリ情報の変更が行なわれたとき、ステップT8に進み、レジストリ情報の変更が行なわれなかったとき、ステップT2に進む。   In step T1, it is determined whether or not the registry information stored in the data storage area of the RAM 11 has been changed. Whether the registry information has been changed is determined by, for example, storing change information indicating that the registry information has been changed in the area of the data storage area of the RAM 11 when the registry information has been changed. It is possible to determine whether or not a change has been made by referring to the change information. When the registry information is changed, the process proceeds to step T8, and when the registry information is not changed, the process proceeds to step T2.

ステップT2では、Flash ROM12のレジストリ保存領域のA面にレジストリ情報が記憶されているか否かを判定する。レジストリ保存領域のA面にレジストリ情報が記憶されているか否かは、たとえばA面に記憶されているヘッダ部のフラグ情報を参照することによって、判定することができる。A面にレジストリ情報が記憶されていないとき、ステップT6に進み、A面にレジストリ情報が記憶されているとき、ステップT3に進む。ステップT3では、レジストリ保存領域のA面に記憶されているレジストリ情報にエラーがあるか否かを、ヘッダ部に記憶されているサムチェック値を用いてチェックする。エラーがあるとき、ステップT6に進み、エラーがないとき、ステップT4に進む。   In step T2, it is determined whether registry information is stored in the A side of the registry storage area of the flash ROM 12. Whether or not the registry information is stored in the A side of the registry storage area can be determined by referring to the flag information of the header part stored in the A side, for example. When registry information is not stored on the A side, the process proceeds to step T6, and when registry information is stored on the A side, the process proceeds to step T3. In step T3, it is checked whether or not there is an error in the registry information stored in the A side of the registry storage area using the sum check value stored in the header portion. When there is an error, the process proceeds to step T6, and when there is no error, the process proceeds to step T4.

ステップT4では、Flash ROM12のレジストリ保存領域のB面にレジストリ情報が記憶されているか否かを判定する。レジストリ保存領域のB面にレジストリ情報が記憶されているか否かは、たとえばB面に記憶されているヘッダ部のフラグ情報を参照することによって、判定することができる。B面にレジストリ情報が記憶されていないとき、ステップT7に進み、B面にレジストリ情報が記憶されているとき、ステップT5に進む。ステップT5では、レジストリ保存領域のB面に記憶されているレジストリ情報にエラーがあるか否かを、ヘッダ部に記憶されているサムチュック値を用いてチェックする。エラーがあるとき、ステップT7に進み、エラーがないとき終了する。   In step T4, it is determined whether or not registry information is stored in the B side of the registry storage area of the flash ROM 12. Whether or not registry information is stored on the B side of the registry storage area can be determined by referring to, for example, the flag information of the header portion stored on the B side. When the registry information is not stored on the B side, the process proceeds to step T7, and when the registry information is stored on the B side, the process proceeds to step T5. In step T5, it is checked whether or not there is an error in the registry information stored in the B side of the registry storage area, using the thumbchuck value stored in the header portion. When there is an error, the process proceeds to step T7, and when there is no error, the process ends.

ステップT6では、RAM11のデータ記憶用エリアの領域に記憶されているレジストリ情報を、Flash ROM12のレジストリ保存領域のA面に記憶して、ステップT4に進む。ステップT7では、RAM11のデータ記憶用メモリの領域に記憶されているレジストリ情報を、Flash ROM12のレジストリ保存領域のB面に記憶して、処理を終了する。ステップT8では、RAM11のデータ記憶用エリアの領域に記憶されているレジストリ情報を、Flash ROM12のレジストリ保存領域のA面に記憶した後、ステップT7に進む。   In step T6, the registry information stored in the data storage area of the RAM 11 is stored in the A side of the registry storage area of the flash ROM 12, and the process proceeds to step T4. In step T7, the registry information stored in the data storage memory area of the RAM 11 is stored in the B side of the registry storage area of the flash ROM 12, and the process ends. In step T8, the registry information stored in the data storage area of the RAM 11 is stored in the A side of the registry storage area of the flash ROM 12, and then the process proceeds to step T7.

図5に示した処理手順では、レジストリ保存領域のA面およびB面に記憶されているレジストリ情報を、それぞれ個別にチェックを行い、エラーが検出されたレジストリ情報を、RAM11のデータ記憶用メモリの領域に記憶されているレジストリ情報によって更新しているが、レジストリ保存領域のA面およびB面に記憶されているレジストリ情報のいずれかにエラーが検出されたとき、A面およびB面のレジストリ情報を、RAM11のデータ記憶用メモリの領域に記憶されているレジストリ情報によって更新してもよい。   In the processing procedure shown in FIG. 5, the registry information stored in the A side and B side of the registry storage area is individually checked, and the registry information in which an error is detected is stored in the data storage memory of the RAM 11. When the registry information stored in the area is updated but an error is detected in any of the registry information stored in the A and B sides of the registry storage area, the A and B side registry information May be updated with the registry information stored in the data storage memory area of the RAM 11.

図6は、図3に示したレジストリ情報のリストアの処理手順の一例を示す図である。このフローチャートは、CPU10が、レジストリ情報をRAM11にリストア、つまり復帰する処理手順を示すものである。すでに情報処理装置1にアプリケーションプログラムなどがインストールされている状態で、情報処理装置1の電源が投入されたとき、ステップU1に進む。   FIG. 6 is a diagram illustrating an example of a processing procedure for restoring the registry information illustrated in FIG. 3. This flowchart shows a processing procedure in which the CPU 10 restores the registry information to the RAM 11, that is, restores it. When the information processing apparatus 1 is turned on while an application program or the like is already installed in the information processing apparatus 1, the process proceeds to step U1.

ステップU1では、BIOS ROM13に記憶されたプログラムによって、情報処理装置1のハードウエアの初期化処理が行なわれ、Flash ROM12のOSイメージ格納領域に記憶されたOSがRAM11のプログラム実行用メモリの領域にロードされる。ステップU2では、レジストリ情報が、Flash ROM12のレジストリ保存領域のA面に記憶されているか否かを判定する。レジストリ保存領域のA面にレジストリ情報が記憶されているか否かは、たとえばA面に記憶されているヘッダ部のフラグ情報を参照することによって、判定することができる。A面にレジストリ情報が記憶されていないとき、ステップU5に進み、A面にレジストリ情報が記憶されているとき、ステップU3に進む。   In step U1, the hardware stored in the information processing apparatus 1 is initialized by the program stored in the BIOS ROM 13, and the OS stored in the OS image storage area of the flash ROM 12 is stored in the program execution memory area of the RAM 11. Loaded. In step U2, it is determined whether or not the registry information is stored in the A side of the registry storage area of the flash ROM 12. Whether or not the registry information is stored in the A side of the registry storage area can be determined by referring to the flag information of the header part stored in the A side, for example. When registry information is not stored on the A side, the process proceeds to step U5. When registry information is stored on the A side, the process proceeds to step U3.

ステップU3では、レジストリ保存領域のA面に記憶されているレジストリ情報にエラーがあるか否かを、ヘッダ部に記憶されているサムチェック値を用いてチェックする。A面に記憶されているレジストリ情報にエラーがあるとき、ステップU5に進み、A面に記憶されているレジストリ情報にエラーがないとき、ステップU4に進む。ステップU4では、Flash ROM12のレジストリ保存領域のA面に記憶されているレジストリ情報を、RAM11のデータ記憶用メモリの領域にコピーして、処理を終了する。   In step U3, it is checked whether or not there is an error in the registry information stored in the A side of the registry storage area using the sum check value stored in the header portion. When there is an error in the registry information stored in the A side, the process proceeds to Step U5, and when there is no error in the registry information stored in the A side, the process proceeds to Step U4. In step U4, the registry information stored in the A side of the registry storage area of the flash ROM 12 is copied to the data storage memory area of the RAM 11, and the process ends.

ステップU5では、レジストリ情報が、Flash ROM12のレジストリ保存領域のB面に記憶されているか否かを判定する。レジストリ保存領域のB面にレジストリ情報が記憶されているか否かは、たとえばB面に記憶されているヘッダ部のフラグ情報を参照することによって、判定することができる。B面にレジストリ情報が記憶されていないとき、ステップU8に進み、B面にレジストリ情報が記憶されているとき、ステップU6に進む。   In step U5, it is determined whether or not the registry information is stored in the B side of the registry storage area of the flash ROM 12. Whether or not registry information is stored on the B side of the registry storage area can be determined by referring to, for example, the flag information of the header portion stored on the B side. When registry information is not stored on the B side, the process proceeds to step U8. When registry information is stored on the B side, the process proceeds to step U6.

ステップU6では、レジストリ保存領域のB面に記憶されているレジストリ情報にエラーがあるか否かを、ヘッダ部に記憶されているサムチェック値を用いてチェックする。B面に記憶されているレジストリ情報にエラーがあるとき、ステップU8に進み、B面に記憶されているレジストリ情報にエラーがないとき、ステップU7に進む。ステップU7では、Flash ROM12のレジストリ保存領域のB面に記憶されているレジストリ情報を、RAM11のデータ記憶用メモリの領域にコピーして、処理を終了する。   In step U6, whether or not there is an error in the registry information stored in the B side of the registry storage area is checked using the sum check value stored in the header portion. When there is an error in the registry information stored in the B side, the process proceeds to step U8, and when there is no error in the registry information stored in the B side, the process proceeds to step U7. In step U7, the registry information stored in the B side of the registry storage area of the flash ROM 12 is copied to the data storage memory area of the RAM 11, and the process ends.

ステップU8では、Flash Disk領域に、レジストリ情報のバックアップファイルがあるか否かを判定する。バックアップファイルがあるか否かは、レジストリ情報のバックアップファイルのファイル名が、Flash Disk領域にあるか否かを検索することによって、判定することができる。Flash Disk領域にレジストリ情報のバックアップファイルがあるとき、ステップU9に進み、Flash Disk領域にレジストリ情報のバックアップファイルがないとき、ステップU10に進む。   In step U8, it is determined whether there is a backup file of registry information in the flash disk area. Whether there is a backup file can be determined by searching whether the file name of the backup file in the registry information is in the Flash Disk area. When there is a backup file of registry information in the Flash Disk area, the process proceeds to Step U9, and when there is no backup file of registry information in the Flash Disk area, the process proceeds to Step U10.

ステップU9では、Flash Disk領域に記憶されているバックアップファイルのレジストリ情報を、RAM11のデータ記憶用メモリの領域にコピーして終了する。ステップU10では、Flash ROM12のOSイメージ格納領域に記憶されているデフォールトのレジストリ情報、つまり初期状態のレジストリ情報を、RAM11のデータ記憶用メモリの領域にコピーして終了する。デフォールトのレジストリ情報をコピーした場合は、情報処理装置1の電源を切断する前のレジストリ情報と同じ内容ではないので、たとえば図4に示したフローチャートと同じ処理手順で、レジストリ情報を修復する必要がある。   In step U9, the registry information of the backup file stored in the flash disk area is copied to the data storage memory area of the RAM 11, and the process ends. In step U10, the default registry information stored in the OS image storage area of the flash ROM 12, that is, the registry information in the initial state is copied to the data storage memory area of the RAM 11, and the process ends. When the default registry information is copied, it does not have the same contents as the registry information before the information processing apparatus 1 is turned off. For example, it is necessary to repair the registry information by the same processing procedure as the flowchart shown in FIG. is there.

図4〜図6に示した実施の各形態では、レジストリ保存領域をA面およびB面として説明したが、3面以上の領域を確保して、レジストリ情報を3つ以上退避することも可能である。第1の記憶部は、たとえばRAM11であり、第2の記憶部は、たとえばFlash ROM12である。   In each of the embodiments shown in FIGS. 4 to 6, the registry storage area is described as the A side and the B side. However, it is possible to secure three or more areas and save three or more registry information. is there. The first storage unit is, for example, the RAM 11, and the second storage unit is, for example, the flash ROM 12.

このように、複数のレジストリ情報を第2の記憶部であるFlash ROM12に記憶して退避しておくので、退避された複数のレジストリ情報のうちのいずれかにエラーが生じても、退避された他のレジストリ情報によって、第1の記憶部であるRAM11に記憶するレジストリ情報を修復することができる。   As described above, since a plurality of registry information is stored and saved in the flash ROM 12 as the second storage unit, even if an error occurs in any of the saved registry information, it is saved. The registry information stored in the RAM 11 serving as the first storage unit can be restored by using other registry information.

すなわち、レジストリ情報を第2の記憶部に、複数のレジストリ情報として記憶しておくので、記憶した複数のレジストリ情報のうちの一部のレジストリ情報にエラーが生じても、他のレジストリ情報によって、第1の記憶部に記憶するレジストリ情報を修復することができる。したがって、第2の記憶部に記憶された複数のレジストリ情報のうちの一部のレジストリ情報にエラーが生じても、他のレジストリ情報によって、第1の記憶部に記憶するレジストリ情報を修復することができるので、レジストリ情報を短時間にかつより確実に修復することができる。   That is, since the registry information is stored as a plurality of registry information in the second storage unit, even if an error occurs in a part of the stored registry information, the other registry information Registry information stored in the first storage unit can be restored. Therefore, even if an error occurs in a part of the plurality of registry information stored in the second storage unit, the registry information stored in the first storage unit is repaired by other registry information. Therefore, the registry information can be restored in a short time and more reliably.

さらに、情報処理装置1が、レジストリ情報を自動的に修復して、RAM11にロードするので、ユーザが手動操作で修復した場合に発生する可能性のある誤操作を回避することができ、誤操作に起因する障害を防止することができる。さらにまた、自動的に修復を行ったことを、障害回復ログ、つまり障害回復を行った履歴情報として残しておくことによって、障害原因を早く究明することができるので、保守効率を向上することができ、情報処理装置1のメンテナンスのコストを低減することもできる。   Furthermore, since the information processing apparatus 1 automatically repairs the registry information and loads it into the RAM 11, it is possible to avoid an erroneous operation that may occur when the user manually repairs the registry information. Can prevent the failure. Furthermore, it is possible to quickly determine the cause of the failure by leaving the automatic repair as the failure recovery log, that is, the history information of the failure recovery, thus improving the maintenance efficiency. In addition, the maintenance cost of the information processing apparatus 1 can be reduced.

レジストリ保存領域に3面以上の領域を確保して、レジストリ情報を3つ以上退避すると、情報処理装置1の電源を切断するときに、RAM11上のレジストリ情報をFlash ROM12に記憶するためのバックアップ時間が増加する。バックアップ時間が増加すると、ユーザが、電源切断のスイッチを押してから、実際に電源が切断されるまでの時間が伸びることになり、操作性に問題が出てくる。レジストリ情報を修復することができる確率を増やすと共に、電源切断時の操作性を確保するには、レジストリ保存領域を2面で構成することが好ましい。   If three or more areas are secured in the registry storage area and three or more registry information are saved, the backup time for storing the registry information on the RAM 11 in the flash ROM 12 when the information processing apparatus 1 is turned off. Will increase. As the backup time increases, the time from when the user presses the power-off switch to when the power is actually turned off increases, which causes a problem in operability. In order to increase the probability that the registry information can be restored and to ensure operability when the power is turned off, it is preferable to configure the registry storage area with two surfaces.

上述した実施の各形態では、レジストリ情報のFlash ROM12への退避を、情報処理装置1の電源切断時に行なったが、たとえばユーザが指示したときにレジストリ情報を退避するようにしてもよいし、定期的に、たとえば12時間毎あるいは48時間毎などの時間間隔でレジストリ情報を退避するようにしてもよい。   In each of the above-described embodiments, the registry information is saved to the flash ROM 12 when the information processing apparatus 1 is powered off. For example, the registry information may be saved when the user instructs it, or periodically. For example, the registry information may be saved at time intervals such as every 12 hours or every 48 hours.

上述した情報処理装置1は、ハンディターミナルを例に説明したが、PDAなどのモバイル端末、POS端末、パーソナルコンピュータ、およびバックアップシステムなど、レジストリ情報、つまりOSなどの設定情報を用いて動作するコンピュータに対して本発明を好適に実施することができる。   The information processing apparatus 1 described above has been described by taking a handy terminal as an example. However, the information processing apparatus 1 is a computer that operates using registry information, that is, setting information such as an OS, such as a mobile terminal such as a PDA, a POS terminal, a personal computer, and a backup system. In contrast, the present invention can be suitably implemented.

本発明の実施の一形態である情報処理装置1のハードウエアのブロック図である。It is a hardware block diagram of the information processor 1 which is one embodiment of the present invention. 図1に示したFlash ROM12のメモリ領域の割り当てを示す図である。It is a figure which shows the allocation of the memory area of Flash ROM12 shown in FIG. 図1に示したRAM11に記憶されるレジストリ情報のバックアップおよびリストアの動作を説明するための図である。It is a figure for demonstrating the operation | movement of backup and a restoration of the registry information memorize | stored in RAM11 shown in FIG. 図3に示したレジストリ情報のバックアップの処理手順の一例を示すフローチャートである。4 is a flowchart illustrating an example of a backup processing procedure for registry information illustrated in FIG. 3. 図3に示したレジストリ情報のバックアップの処理手順の他の例を示すフローチャートである。4 is a flowchart showing another example of the backup procedure of the registry information shown in FIG. 3. 図3に示したレジストリ情報のリストアの処理手順の一例を示す図である。FIG. 4 is a diagram illustrating an example of a processing procedure for restoring registry information illustrated in FIG. 3.

符号の説明Explanation of symbols

1 情報処理装置
10 CPU
11 RAM
12 Flash ROM
13 BIOS ROM
14 LCD
15 LCD Controller
16 Card Controller
17 SCANNER Controller
18 SP
19 MIC
20 CODEC Controller
21a TOUCH PANEL
21b TOUCH PANEL Controller
22 KEY BOARD
23 RTC
24 Buzzer
25 Bluetooth
26 SIR/FIR
27 SD
28 CF CARD
29 LASER SCANNER
1 Information processing device 10 CPU
11 RAM
12 Flash ROM
13 BIOS ROM
14 LCD
15 LCD Controller
16 Card Controller
17 SCANNER Controller
18 SP
19 MIC
20 CODEC Controller
21a TOUCH PANEL
21b TOUCH PANEL Controller
22 KEY BOARD
23 RTC
24 Buzzer
25 Bluetooth
26 SIR / FIR
27 SD
28 CF CARD
29 LASER SCANNER

Claims (6)

プログラムを実行する際の実行条件を定めたレジストリ情報を記憶する第1の記憶手段と、
第1の記憶手段に記憶されたレジストリ情報を退避させる退避手段と、
レジストリ情報のエラーの有無を検出するエラー検出手段とを含み、
第1の記憶手段に記憶されているレジストリ情報に対してエラー検出手段によるエラー検出を行い、エラーが検出された場合、エラーが検出されたレジストリ情報に変えて、退避手段に退避させたレジストリ情報を使用する情報処理装置であって、
レジストリ情報を複数記憶可能な第2の記憶手段をさらに含み、
退避手段は、
第1の記憶手段に記憶されたレジストリ情報を第2の記憶手段に複数記憶させ、
さらに、第2の記憶手段に記憶されている複数のレジストリ情報のエラーの有無をエラー検出手段に検出させ、前記複数のレジストリ情報の少なくとも1つのレジストリ情報にエラーが検出された場合、第2の記憶手段に記憶されたすべてのレジストリ情報に対して、第1の記憶手段に記憶されているレジストリ情報を退避させることを特徴とする情報処理装置。
First storage means for storing registry information defining execution conditions for executing the program;
Saving means for saving registry information stored in the first storage means;
Error detection means for detecting the presence or absence of errors in registry information,
The error information is detected by the error detection means for the registry information stored in the first storage means, and when an error is detected, the registry information saved in the saving means is changed to the registry information in which the error is detected. An information processing apparatus using
A second storage means capable of storing a plurality of registry information;
The evacuation means is
A plurality of registry information stored in the first storage means is stored in the second storage means;
Further, when the error detection means detects the presence or absence of errors in the plurality of registry information stored in the second storage means, and an error is detected in at least one registry information of the plurality of registry information, An information processing apparatus characterized in that the registry information stored in the first storage means is saved with respect to all registry information stored in the storage means .
前記退避手段は、電源の切断によって、第1の記憶手段に記憶されたレジストリ情報を、第2の記憶手段に記憶させることを特徴とする請求項に記載の情報処理装置。 The information processing apparatus according to claim 1 , wherein the saving unit stores the registry information stored in the first storage unit in the second storage unit when the power is turned off. 前記退避手段は、第1の記憶手段に記憶されたレジストリ情報の内容が変更された後に、電源が切断されることによって、第1の記憶手段に記憶されたレジストリ情報を第2の記憶手段に記憶させることを特徴とする請求項に記載の情報処理装置。 The saving unit stores the registry information stored in the first storage unit in the second storage unit by turning off the power after the contents of the registry information stored in the first storage unit are changed. The information processing apparatus according to claim 1 , wherein the information processing apparatus is stored. 前記復帰手段は、OS起動時に、第2の記憶手段に記憶されている複数のレジストリ情報のうち1つのレジストリ情報を、新たなレジストリ情報として第1の記憶手段に記憶させることを特徴とする請求項に記載の情報処理装置。 The restoration unit stores one registry information among a plurality of registry information stored in the second storage unit as new registry information in the first storage unit when the OS is started. Item 4. The information processing apparatus according to Item 1 . 前記第2の記憶手段と、前記第1の記憶手段とは、異なる種類の記憶媒体であることを特徴とする請求項に記載の情報処理装置。 The information processing apparatus according to claim 1 , wherein the second storage unit and the first storage unit are different types of storage media. プログラムが実行される実行条件を定めるレジストリ情報を第1の記憶部に記憶する記憶工程と、
第1の記憶部に記憶されたレジストリ情報を退避する退避工程と、
レジストリ情報のエラーを検出するエラー検出工程とを含み、
第1の記憶部に記憶されているレジストリ情報に対してエラー検出工程でエラー検出を行い、エラーが検出された場合、エラーが検出されたレジストリ情報に変えて、退避工程で退避させたレジストリ情報を使用するレジストリ情報の修復方法であって、
退避工程では、
第1の記憶部に記憶されたレジストリ情報を第2の記憶部に複数記憶し、
さらに、第2の記憶部に記憶されている複数のレジストリ情報のエラーの有無をエラー検出工程で検出させ、前記複数のレジストリ情報の少なくとも1つのレジストリ情報にエラーが検出された場合、第2の記憶部に記憶されたすべてのレジストリ情報に対して、第1の記憶部に記憶されているレジストリ情報を退避させることを特徴とするレジストリ情報の修復方法。
A storage step of storing, in the first storage unit, registry information that defines an execution condition for executing the program;
A saving step for saving the registry information stored in the first storage unit;
An error detection step for detecting an error in the registry information,
If the error is detected in the error detection process for the registry information stored in the first storage unit, and the error is detected, the registry information saved in the save process is changed to the registry information in which the error is detected. A method of repairing registry information using
In the evacuation process,
Storing a plurality of registry information stored in the first storage unit in the second storage unit;
Further, when an error detection step detects whether or not there is an error in the plurality of registry information stored in the second storage unit, and an error is detected in at least one registry information of the plurality of registry information, A method of repairing registry information, comprising: saving registry information stored in a first storage unit for all registry information stored in a storage unit .
JP2005165880A 2005-06-06 2005-06-06 Registry information repair method and information processing apparatus Expired - Fee Related JP4648097B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005165880A JP4648097B2 (en) 2005-06-06 2005-06-06 Registry information repair method and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005165880A JP4648097B2 (en) 2005-06-06 2005-06-06 Registry information repair method and information processing apparatus

Publications (2)

Publication Number Publication Date
JP2006338610A JP2006338610A (en) 2006-12-14
JP4648097B2 true JP4648097B2 (en) 2011-03-09

Family

ID=37559075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005165880A Expired - Fee Related JP4648097B2 (en) 2005-06-06 2005-06-06 Registry information repair method and information processing apparatus

Country Status (1)

Country Link
JP (1) JP4648097B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5133230B2 (en) * 2008-12-19 2013-01-30 株式会社リコー Information processing apparatus, information processing method, and program
JP2010152514A (en) 2008-12-24 2010-07-08 Toshiba Corp Memory system
JP5915490B2 (en) * 2012-10-05 2016-05-11 株式会社デンソー Electronic control unit

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0741642U (en) * 1993-12-28 1995-07-21 横河電機株式会社 Redundant storage device
JP2968728B2 (en) * 1996-07-29 1999-11-02 埼玉日本電気株式会社 ID data backup method and portable terminal using the same
DE19740525C1 (en) * 1997-09-15 1999-02-04 Siemens Ag Method of data storage and recovery in control system, esp. in motor vehicle, such as taxi
JP2000347947A (en) * 1999-06-09 2000-12-15 Nec Corp System for managing inherent information of personal computer
JP4280964B2 (en) * 2001-05-30 2009-06-17 横河電機株式会社 Control data protection device
JP2003122645A (en) * 2001-10-11 2003-04-25 Noritsu Koki Co Ltd Photo processing equipment

Also Published As

Publication number Publication date
JP2006338610A (en) 2006-12-14

Similar Documents

Publication Publication Date Title
CN102385535B (en) Handling errors during device bootup from a non-volatile memory
US7941700B2 (en) Operating system-based application recovery
JP4346659B2 (en) Information processing apparatus, backup storage apparatus, and information processing method
JP5077726B1 (en) Computer, control method thereof and program
JP4965824B2 (en) Information processing apparatus and data relief method
US20070055969A1 (en) System and method for updating firmware
CN102165422A (en) Firmware update device and method
JP4456653B2 (en) Information processing system and method for starting / recovering the system
TW201520895A (en) System and method for automatically recovering BIOS of a computer
CN101308470A (en) Computer system for actively restoring, backing up and updating BIOS
JP6698467B2 (en) Electronic circuit system and method for starting control device
US20070174689A1 (en) Computer platform embedded operating system backup switching handling method and system
CN103514065A (en) Electronic device with automatic detection and recovery function and method
US20160062838A1 (en) Information processing apparatus, method of controlling the same, and storage medium
JP4940599B2 (en) Information processing apparatus, information processing apparatus control program, and information processing apparatus control method
JPWO2006104197A1 (en) Processing device, program, and storage medium
CN101923500A (en) Backup and update method and device of bootstrap program in embedded equipment
JP4648097B2 (en) Registry information repair method and information processing apparatus
CN113050887B (en) Flash memory partition data processing method, device, computer equipment and storage medium
CN115599461B (en) System and method for boot activation of firmware images
CN101470644A (en) Operating system recovery device and method
JP2005149248A (en) Metadata restoration system, method thereof, storage device and program therefor
JP6160688B2 (en) Information processing apparatus, information processing method, and information processing program
JP2011210117A (en) Pos terminal device and pos terminal control method
CN102831032A (en) Repair system and method for master boot record of hard disc

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070604

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101115

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101207

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101209

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4648097

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees