JP6072521B2 - Computer start system, computer start program, computer, and computer start method - Google Patents

Computer start system, computer start program, computer, and computer start method Download PDF

Info

Publication number
JP6072521B2
JP6072521B2 JP2012259740A JP2012259740A JP6072521B2 JP 6072521 B2 JP6072521 B2 JP 6072521B2 JP 2012259740 A JP2012259740 A JP 2012259740A JP 2012259740 A JP2012259740 A JP 2012259740A JP 6072521 B2 JP6072521 B2 JP 6072521B2
Authority
JP
Japan
Prior art keywords
initialization
computer
initialization process
execution
peripheral device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012259740A
Other languages
Japanese (ja)
Other versions
JP2014106772A (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.)
NEC Platforms Ltd
Original Assignee
NEC Platforms 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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2012259740A priority Critical patent/JP6072521B2/en
Publication of JP2014106772A publication Critical patent/JP2014106772A/en
Application granted granted Critical
Publication of JP6072521B2 publication Critical patent/JP6072521B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)
  • Stored Programmes (AREA)

Description

本発明は、コンピュータ起動システムおよびコンピュータ起動プログラムとコンピュータならびにコンピュータ起動方法に関する。   The present invention relates to a computer activation system, a computer activation program, a computer, and a computer activation method.

予め設定された順序に従ってコンピュータの起動時に周辺装置の初期化処理を実行し、初期化処理の対象とされた全ての周辺装置の初期化処理が正常に終了した場合にはコンピュータのオペレーティング・システム(以下、OSという)を起動する一方、何れかの初期化処理が正常に終了しなかった場合にはコンピュータを再起動して周辺装置の初期化処理を繰り返し実行するようにしたコンピュータ起動システムが既にベイシック・インプット・アウトプット・システム(以下、BIOSという)として公知である。   When the computer is started according to a preset order, the peripheral device initialization process is executed. When the initialization processing of all the peripheral devices subjected to the initialization process is normally completed, the computer operating system ( (Hereinafter referred to as the OS), if any initialization process is not completed normally, a computer activation system has already been established in which the computer is restarted and the initialization process of the peripheral device is repeatedly executed. This is known as a basic input / output system (hereinafter referred to as BIOS).

また、BIOSによる周辺装置の初期化処理の失敗に伴うコンピュータの再起動や初期化処理の無意味な繰り返しを防止するための技術としては、特許文献1に開示される起動プログラムや特許文献2に開示される起動制御方法が提案されている。   Further, as a technique for preventing the computer from restarting due to the failure of the initialization process of the peripheral device by the BIOS and the meaningless repetition of the initialization process, a startup program disclosed in Patent Document 1 and Patent Document 2 are disclosed. A disclosed activation control method has been proposed.

特許文献1に開示される起動プログラムは、BIOSの起動時におけるチェックサムエラーが検出された場合にBIOSの設定を初期化してコンピュータを再起動することによって再度のエラーの発生を防止し、コンピュータのOSを正常に起動させるようにしたものである。
このような構成を適用した場合、初期化処理の対象とする周辺装置や初期化処理の実行の順序等に関連するカスタマイズ設定が全てデフォルトの状態に戻されるので、不適切なカスタマイズ設定による障害が解消され、コンピュータの再起動後に再びエラーが発生するといった問題は改善されるが、ユーザのカスタマイズ設定が完全に無視される結果、初期化処理の対象とすべき周辺装置が初期化されなくなったり初期化処理の実行順序等に変化が生じたりするといった不都合がある。
The boot program disclosed in Patent Document 1 prevents the occurrence of a second error by initializing the BIOS settings and restarting the computer when a checksum error at the time of booting the BIOS is detected. The OS is normally started.
When such a configuration is applied, all of the customization settings related to the peripheral devices targeted for initialization processing and the order of execution of initialization processing are returned to the default state. The problem that the error occurs again after the computer is restarted is improved, but the user's customization settings are completely ignored. As a result, the peripheral device to be initialized cannot be initialized or is initialized. There is an inconvenience that a change occurs in the execution order of the processing.

特許文献2に開示される起動制御方法は、初期化プログラムを格納した第一のリード・オンリー・メモリ(以下、ROMという)と障害復旧用の初期化プログラムを格納した第二のリード・オンリー・メモリとを配置し、第一のリード・オンリー・メモリに格納された初期化プログラムによる初期化処理が失敗した場合に第二のリード・オンリー・メモリに格納された障害復旧用の初期化プログラムを選択してコンピュータを再起動し、再起動の時点て障害復旧用の初期化プログラムを実行することによって再度のエラーの発生を防止し、コンピュータのOSを正常に起動させるようにしたものである。
BIOSの設定をデフォルトの状態に初期化するとした前述の起動プログラムと比較すると、初期化処理が失敗した際に通常の初期化プログラムに代えて障害復旧用の初期化プログラムを利用する点で相違するが、この起動制御方法は2つのリード・オンリー・メモリを必要とすることからコンピュータの製造コストが割高となる不都合がある。
The activation control method disclosed in Patent Document 2 includes a first read-only memory (hereinafter referred to as ROM) storing an initialization program and a second read-only memory storing an initialization program for failure recovery. If the initialization process by the initialization program stored in the first read-only memory fails, the initialization program for failure recovery stored in the second read-only memory The computer is selected and restarted, and the failure recovery error is prevented by executing the failure recovery initialization program at the time of restarting, so that the OS of the computer is normally started.
Compared with the above-described startup program that initializes the BIOS settings to the default state, when the initialization process fails, it is different in that an initialization program for failure recovery is used instead of the normal initialization program. However, since this activation control method requires two read-only memories, there is a disadvantage that the manufacturing cost of the computer becomes high.

また、複数のマイクロプロセッサを有する情報処理差装置において、情報処理装置の稼動中に致命的なエラーを発生したマイクロプロセッサのIDをソフトウェアハンドラにより取得し、このIDに対応するフラグ(ビット)を不揮発性メモリにセットして、BIOSとは独立して機能するソフトウェアハンドラによりシステムをシャットダウンさせて情報処理装置を再起動することにより、致命的なエラーを発生したマイクロプロセッサをシステムから切り離して縮退運転を行なうようにした情報処理装置が特許文献3として開示されている。
しかし、ソフトウェアハンドラはOSの配下で機能するものであるから、OSが正常に起動された後の状態、つまり、情報処理装置の稼動中でなければマイクロプロセッサのエラーを検出したりフラグをセットしたりすることはできない。従って、このような技術をOSが立ち上がる前の初期化処理に転用することはできない。
Further, in an information processing difference apparatus having a plurality of microprocessors, the ID of the microprocessor that has caused a fatal error during operation of the information processing apparatus is acquired by a software handler, and a flag (bit) corresponding to this ID is nonvolatile. The memory handler is set to shut down the system by a software handler that functions independently from the BIOS and the information processing device is restarted. An information processing apparatus configured to perform is disclosed as Patent Document 3.
However, since the software handler functions under the OS, it detects a microprocessor error or sets a flag unless the OS is normally started, that is, when the information processing apparatus is not operating. You ca n’t. Therefore, such a technique cannot be diverted to the initialization process before the OS starts up.

特開2011−81617号公報(段落0011,0018,0026)JP 2011-81617 A (paragraphs 0011, 0018, 0026) 特開2007−172096号公報(段落0018)JP 2007-172096 A (paragraph 0018) 特開2000−322397号公報(段落0005,0009,0010〜0018)JP 2000-322397 A (paragraphs 0005, 0009, 0010 to 0018)

本発明の目的は、オペレーティング・システムの起動前に行われる周辺装置の初期化処理の過程で異常が生じた場合であっても、再起動に際して初期化処理の対象とする周辺装置や初期化処理の実行順序等に関連したカスタマイズ設定を保持したまま異常の生じた周辺装置の初期化処理をスキップして他の周辺装置の初期化処理を実行し、コンピュータのオペレーティング・システムを適切に起動させることのできるコンピュータ起動システムおよびコンピュータ起動プログラムとコンピュータならびにコンピュータ起動方法を提供することにある。   An object of the present invention is to provide a peripheral device or initialization process that is a target of initialization processing upon restart even if an abnormality occurs in the process of initialization processing of the peripheral device performed before the operating system is started. The initialization process of other peripheral devices is skipped while maintaining the customized settings related to the execution order, etc., and other peripheral devices are initialized, and the computer's operating system is started appropriately A computer start system, a computer start program, a computer, and a computer start method are provided.

本発明のコンピュータ起動システムは、前記目的を達成するため、
初期化処理を実行すべき周辺装置として設定された周辺装置の各々を特定する初期化候補特定パラメータと前記設定された周辺装置の各々に対応して実際に初期化処理を実行するか否かを特定する初期化対象特定パラメータとを不揮発的に記憶するパラメータ記憶手段と、
前記パラメータ記憶手段に記憶された初期化候補特定パラメータに対応する周辺装置のうち、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対してのみ順に初期化処理を実行し、その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了しなかった場合には、コンピュータを再起動し、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対して改めて最初から順に初期化処理を実行する一方、初期化処理の対象とされている最後の周辺装置の初期化処理の完了を検知すると前記コンピュータのオペレーティング・システムの起動を許容する初期化処理実行手段と、
前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了した場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに保持する一方、前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了しなかった場合には、少なくともコンピュータの再起動前に、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換えるパラメータ書換手段とを備えたことを特徴とする構成を有する。
In order to achieve the above object, the computer startup system of the present invention provides:
An initialization candidate specifying parameter for specifying each of the peripheral devices set as peripheral devices to execute the initialization process, and whether or not the initialization processing is actually executed corresponding to each of the set peripheral devices. Parameter storage means for storing the initialization target specific parameters to be specified in a nonvolatile manner;
Of the peripheral devices corresponding to the initialization candidate specific parameters stored in the parameter storage means, only the peripheral devices whose corresponding initialization target specific parameters are set to indicate the execution of the initialization process. If initialization processing is executed and the initialization processing of the peripheral device that is the target of initialization processing at that time does not end normally, the computer is restarted and the corresponding initialization target specific parameter The peripheral device whose setting indicates the execution of initialization processing is executed again in order from the beginning, while the initialization processing of the last peripheral device to be initialized is completed. Initialization processing execution means for allowing startup of the operating system of the computer when detecting
When the initialization processing of one peripheral device by the initialization processing execution means is completed normally, the initialization target specific parameter value corresponding to this peripheral device is held in the one indicating the execution of the initialization processing. If the initialization processing of one peripheral device by the initialization processing execution means does not end normally, at least before the computer is restarted, the initialization target specific parameter value corresponding to this peripheral device is initialized. And a parameter rewriting unit that rewrites the processing to indicate non-execution.

また、本発明のコンピュータ起動プログラムは、前記目的を達成するため、コンピュータのマイクロプロセッサを、
初期化処理を実行すべき周辺装置として設定された周辺装置の各々を特定する初期化候補特定パラメータと前記設定された周辺装置の各々に対応して実際に初期化処理を実行するか否かを特定する初期化対象特定パラメータとを不揮発的に記憶するパラメータ記憶手段に記憶された初期化候補特定パラメータに対応する周辺装置のうち、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対してのみ順に初期化処理を実行し、その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了しなかった場合には、コンピュータを再起動し、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対して改めて最初から順に初期化処理を実行する一方、初期化処理の対象とされている最後の周辺装置の初期化処理の完了を検知すると前記コンピュータのオペレーティング・システムの起動を許容する初期化処理実行手段、および、
前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了した場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに保持する一方、前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了しなかった場合には、少なくともコンピュータの再起動前に、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換えるパラメータ書換手段として機能させることを特徴とする構成を有する。
In order to achieve the above object, a computer startup program according to the present invention provides a computer microprocessor.
An initialization candidate specifying parameter for specifying each of the peripheral devices set as peripheral devices to execute the initialization process, and whether or not the initialization processing is actually executed corresponding to each of the set peripheral devices. Among the peripheral devices corresponding to the initialization candidate specific parameters stored in the parameter storage means for storing the initialization target specific parameters to be specified in a nonvolatile manner, the setting of the corresponding initialization target specific parameters executes the initialization process. If the initialization processing is executed in order only for the peripheral devices that are shown, and the initialization processing of the peripheral device that is the target of the initialization processing at that time does not end normally, the computer Execute the initialization process again from the beginning for the peripheral device whose corresponding initialization target specific parameter setting indicates the execution of the initialization process. That one, initialization processing execution means for permitting activation of the operating system of the computer to detect the completion of the initialization process of the last peripheral devices that are subject to the initialization process and,
When the initialization processing of one peripheral device by the initialization processing execution means is completed normally, the initialization target specific parameter value corresponding to this peripheral device is held in the one indicating the execution of the initialization processing. If the initialization processing of one peripheral device by the initialization processing execution means does not end normally, at least before the computer is restarted, the initialization target specific parameter value corresponding to this peripheral device is initialized. And functioning as parameter rewriting means for rewriting to indicate non-execution of the digitizing process.

また、本発明のコンピュータは、前記目的を達成するため、前記コンピュータ起動プログラムがベイシック・インプット・アウトプット・システムのリード・オンリー・メモリのブートブロックに格納されると共に、前記パラメータ記憶手段が前記ベイシック・インプット・アウトプット・システム用のCMOSメモリによって構成されていることを特徴とする構成を有する。   In order to achieve the above object, the computer according to the present invention stores the computer startup program in a boot block of a read-only memory of a basic input / output system, and the parameter storage means includes the basic storage unit. -It has the structure characterized by being comprised by the CMOS memory for input / output systems.

本発明のコンピュータ起動方法は、前記目的を達成するため、
初期化処理を実行すべき周辺装置として設定された周辺装置の各々を特定する初期化候補特定パラメータと前記設定された周辺装置の各々に対応して実際に初期化処理を実行するか否かを特定する初期化対象特定パラメータとをコンピュータのパラメータ記憶手段に予め不揮発的に記憶させておき、
前記パラメータ記憶手段に記憶された初期化候補特定パラメータに対応する周辺装置のうち、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対してのみ順に初期化処理を実行し、その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了した場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに保持する一方、
その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了しなかった場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換えてからコンピュータを再起動し、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対して改めて最初から順に初期化処理を実行し、
初期化処理の対象とされている最後の周辺装置の初期化処理の完了を検知すると、前記コンピュータのオペレーティング・システムの起動を許容することを特徴とした構成を有する。
In order to achieve the above object, the computer startup method of the present invention provides:
An initialization candidate specifying parameter for specifying each of the peripheral devices set as peripheral devices to execute the initialization process, and whether or not the initialization processing is actually executed corresponding to each of the set peripheral devices. The initialization target specific parameters to be specified are stored in advance in a non-volatile manner in the parameter storage means of the computer,
Of the peripheral devices corresponding to the initialization candidate specific parameters stored in the parameter storage means, only the peripheral devices whose corresponding initialization target specific parameters are set to indicate the execution of the initialization process. When initialization processing is executed and the initialization processing of the peripheral device that is the target of initialization processing at that time ends normally, the initialization target specific parameter value corresponding to this peripheral device is initialized. While holding on to indicate the execution of the process,
If the initialization processing of the peripheral device that is the target of initialization processing at that time does not end normally, the initialization target specific parameter value corresponding to this peripheral device is not executed. Reboot the computer after rewriting it to the one shown, execute the initialization process in order from the beginning again for the peripheral device whose corresponding initialization target specific parameter setting indicates the execution of the initialization process,
When the completion of the initialization process of the last peripheral device that is the object of the initialization process is detected, the operating system of the computer is allowed to start.

本発明のコンピュータ起動システムおよびコンピュータ起動プログラムとコンピュータならびにコンピュータ起動方法は、パラメータ記憶手段に記憶された初期化候補特定パラメータに対応する周辺装置のうち、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対してのみ初期化処理を実行し、初期化処理が正常に終了した場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに保持する一方、初期化処理が正常に終了しなかった場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換える。
従って、初期化処理が正常に終了しなかった周辺装置すなわち異常が生じた周辺装置のみがコンピュータの再起動後に行われる次回の初期化処理の実行対象から除外されることになり、他の周辺装置に関しては、初期化処理の対象とする周辺装置や初期化処理の実行順序等に関連したカスタマイズ設定を其のまま保持することができるので、再起動後に実行される初期化処理において、異常が生じた周辺装置の初期化処理をスキップして他の周辺装置の初期化処理を適切に実行し、コンピュータのオペレーティング・システムを適切に起動させることができる。
The computer activation system, the computer activation program, the computer, and the computer activation method according to the present invention initialize the setting of the corresponding initialization target specific parameter among the peripheral devices corresponding to the initialization candidate specific parameters stored in the parameter storage means. When the initialization process is executed only for the peripheral device indicating the execution of the process and the initialization process is normally completed, the initialization target specific parameter value corresponding to this peripheral device is initialized. If the initialization process does not end normally, the initialization target specific parameter value corresponding to this peripheral device is set to indicate the non-execution of the initialization process. rewrite.
Accordingly, only peripheral devices whose initialization processing has not been completed normally, that is, peripheral devices in which an abnormality has occurred are excluded from the execution target of the next initialization processing performed after the computer is restarted. Since the customization settings related to the peripheral device to be initialized and the execution order of the initialization process can be retained as they are, an abnormality occurs in the initialization process executed after rebooting. The peripheral device initialization process can be skipped, the initialization process of other peripheral devices can be appropriately executed, and the operating system of the computer can be started appropriately.

本発明を適用した一実施形態のコンピュータ起動システムの構成について簡略化して示した機能ブロック図である。It is the functional block diagram which simplified and showed the structure of the computer starting system of one Embodiment to which this invention is applied. 同実施形態のコンピュータ起動システムを備えたコンピュータの構成を簡略化して示したブロック図である。It is the block diagram which simplified and showed the structure of the computer provided with the computer starting system of the embodiment. 同実施形態におけるコンピュータ起動プログラムの構成の概略を示したフローチャートである。It is the flowchart which showed the outline of the structure of the computer starting program in the embodiment. 同実施形態のパラメータ記憶手段に設けられたパラメータ記憶テーブルの論理構造を初期状態で示した概念図である。It is the conceptual diagram which showed the logical structure of the parameter storage table provided in the parameter storage means of the embodiment in the initial state. 同実施形態のパラメータ記憶手段に設けられたパラメータ記憶テーブルの論理構造について、第2アドレスに登録された周辺装置の初期化に不都合が生じた状態で示した概念図である。4 is a conceptual diagram showing a logical structure of a parameter storage table provided in the parameter storage means of the embodiment in a state where inconvenience occurs in initialization of a peripheral device registered at a second address. FIG. 同実施形態のパラメータ記憶手段に設けられたパラメータ記憶テーブルの論理構造について、第2アドレスに登録された周辺装置と第nアドレスに登録された周辺装置の初期化に不都合が生じた状態で示した概念図である。The logical structure of the parameter storage table provided in the parameter storage means of the same embodiment is shown in a state where inconvenience occurs in the initialization of the peripheral device registered at the second address and the peripheral device registered at the nth address. It is a conceptual diagram.

次に、本発明を実施するための形態について図面を参照して具体的に説明する。   Next, embodiments for carrying out the present invention will be specifically described with reference to the drawings.

図1は本発明を適用した一実施形態のコンピュータ起動システムの構成について簡略化して示した機能ブロック図である。   FIG. 1 is a functional block diagram schematically showing a configuration of a computer activation system according to an embodiment to which the present invention is applied.

このコンピュータ起動システムAは、0≦i≦nの範囲にある整数iで表され、初期化処理を実行すべき周辺装置として設定されたn+1個の周辺装置M(i)の各々を特定する初期化候補特定パラメータ#(i)と周辺装置M(i)の各々に対応して実際に初期化処理を実行するか否かを特定する初期化対象特定パラメータF(i)とを不揮発的に記憶するパラメータ記憶手段Bを備える。   This computer activation system A is represented by an integer i in a range of 0 ≦ i ≦ n, and is an initial stage for specifying each of n + 1 peripheral devices M (i) set as peripheral devices to be initialized. The initialization target specifying parameter # (i) and the initialization target specifying parameter F (i) for specifying whether to actually execute the initialization process corresponding to each of the peripheral devices M (i) are stored in a nonvolatile manner. Parameter storage means B.

また、コンピュータ起動システムAは、パラメータ記憶手段Bに記憶された初期化候補特定パラメータ#(i)に対応する周辺装置M(i)のうち、対応する初期化対象特定パラメータF(i)の設定が初期化処理の実行を示す値0となっている周辺装置M(i)に対してのみ順に初期化処理を実行し、その時点で初期化処理の対象とされている周辺装置M(i)の初期化処理が正常に終了しなかった場合には、コンピュータを再起動し、対応する初期化対象特定パラメータF(i)の設定が初期化処理の実行を示す値0となっている周辺装置M(i)に対して改めて最初から順に初期化処理を実行する一方、初期化処理の対象とされている最後の周辺装置M(i)の初期化処理の完了を検知するとオペレーティング・システムの起動を許容する初期化処理実行手段Cを備える。
但し、初期化処理の対象とされている最後の周辺装置M(i)が周辺装置M(n)であるとは限らない。初期化処理の実行順序はユーザによるカスタマイズが可能であるから、周辺装置M(n)の初期化処理の実行順序が最下位に設定されているという保証はなく、また、仮に周辺装置M(n)の初期化処理の実行順序が最下位に設定されていたとしても、周辺装置M(n)に対応する初期化対象特定パラメータF(n)に初期化処理の非実行を示す値1が設定されていれば、周辺装置M(n)は初期化処理の対象から外されるからである。
Further, the computer activation system A sets the corresponding initialization target specifying parameter F (i) among the peripheral devices M (i) corresponding to the initialization candidate specifying parameter # (i) stored in the parameter storage unit B. Are sequentially executed only for the peripheral device M (i) having the value 0 indicating the execution of the initialization process, and the peripheral device M (i) that is the target of the initialization process at that time If the initialization process is not completed normally, the computer is restarted, and the setting of the corresponding initialization target specific parameter F (i) has a value 0 indicating the execution of the initialization process. The initialization process is executed again for M (i) in order from the beginning, and when the completion of the initialization process of the last peripheral device M (i) to be initialized is detected, the operating system is started. Allow That includes an initialization process executing means C.
However, the last peripheral device M (i) that is the target of the initialization process is not necessarily the peripheral device M (n). Since the execution order of the initialization process can be customized by the user, there is no guarantee that the execution order of the initialization process of the peripheral device M (n) is set at the lowest order, and the peripheral apparatus M (n ) Is set to the lowest order, the initialization target specific parameter F (n) corresponding to the peripheral device M (n) is set to a value 1 indicating non-execution of the initialization process. This is because the peripheral device M (n) is excluded from the initialization processing target.

コンピュータ起動システムAは、更に、初期化処理実行手段Cによる1つの周辺装置M(i)の初期化処理が正常に終了した場合に、この周辺装置M(i)に対応する初期化対象特定パラメータF(i)の値を初期化処理の実行を示す値0に保持する一方、初期化処理実行手段Cによる1つの周辺装置M(i)の初期化処理が正常に終了しなかった場合には、少なくともコンピュータの再起動前に、この周辺装置M(i)に対応する初期化対象特定パラメータF(i)の値を初期化処理の非実行を示す値1に書き換えるパラメータ書換手段Dを備える。   Further, when the initialization processing of one peripheral device M (i) by the initialization processing execution means C is normally completed, the computer activation system A further specifies the initialization target specifying parameter corresponding to this peripheral device M (i). When the value of F (i) is held at the value 0 indicating the execution of the initialization process, while the initialization process of one peripheral device M (i) by the initialization process execution means C is not completed normally At least before the computer is restarted, parameter rewriting means D is provided for rewriting the value of the initialization target specific parameter F (i) corresponding to the peripheral device M (i) to a value 1 indicating non-execution of the initialization process.

この実施形態にあっては周辺装置M(i)は何れもUSB機器であり、USB機器M(i)の各々を特定する初期化候補特定パラメータ#(i)としては、USB機器M(i)を接続したポートのポート名称#(i)が利用されている。   In this embodiment, the peripheral devices M (i) are all USB devices, and the USB device M (i) is used as the initialization candidate specifying parameter # (i) for specifying each of the USB devices M (i). Port name # (i) of the port to which is connected is used.

図2はコンピュータ起動システムAを備えたコンピュータの構成を簡略化して示したブロック図である。   FIG. 2 is a block diagram showing a simplified configuration of a computer including the computer activation system A.

このコンピュータ1は、演算処理用のマイクロプロセッサ2と、コンピュータ1の起動や其のOSの起動に必要とされるBIOSプログラム等を格納したROM3、および、BIOSが利用する各種のパラメータ等を不揮発的に記憶するCMOSメモリ4と、OSやアプリケーション・プログラムの展開さらには演算データの一時記憶等に利用されるランダム・アクセス・メモリ5(以下、RAM5という)、ならびに、OSやアプリケーション・プログラムおよび各種のデータ等を格納する大容量記憶装置として機能するハードディスクドライブ6と、0≦i≦nの範囲にある整数iで表されるn+1個のUSB機器M(i)を始めとする各種の周辺装置やネットワーク等に接続するための入出力インターフェイス7を備え、マイクロプロセッサ2の入出力回路8には、マン・マシン・インターフェイスとして機能するキーボード9やマウス10およびディスプレイ11とプリンタ12等が接続されている。   This computer 1 nonvolatilely stores a microprocessor 2 for arithmetic processing, a ROM 3 storing a BIOS program and the like necessary for starting the computer 1 and its OS, and various parameters used by the BIOS. CMOS memory 4 stored in memory, development of OS and application programs, random access memory 5 (hereinafter referred to as RAM 5) used for temporary storage of operation data, etc., OS, application programs, and various types Various peripheral devices including a hard disk drive 6 that functions as a mass storage device for storing data and the like, and n + 1 USB devices M (i) represented by an integer i in a range of 0 ≦ i ≦ n I / O interface 7 for connecting to a network etc. The input-output circuit 8 of Tsu support 2, a keyboard 9 and a mouse 10 and a display 11 and a printer 12 or the like which functions as a man-machine interface is connected.

BIOSプログラムはROM3のブートブロックに格納され、BIOSプログラムの一部として、図3に示されるようなコンピュータ起動プログラムが書き加えられている(図3はBIOSプログラムの全貌を示すものではない)。   The BIOS program is stored in the boot block of the ROM 3, and a computer startup program as shown in FIG. 3 is added as a part of the BIOS program (FIG. 3 does not show the entire BIOS program).

CMOSメモリ4は図1におけるパラメータ記憶手段Bとして機能するもので、このCMOSメモリ4には、初期化処理を実行すべき周辺装置として設定されたn+1個のUSB機器M(i)の各々を特定する初期化候補特定パラメータ#(i)つまりUSB機器M(i)を接続した入出力インターフェイス7のポート名称#(i)と、このポートに接続されたUSB機器M(i)に対して実際に初期化処理を実行するか否かを特定する初期化対象特定パラメータF(i)の値つまり0または1とが対応して不揮発的に記憶されている。
既に述べた通り、0は初期化処理の実行を示す値、また、1は初期化処理の非実行を示す値である。
The CMOS memory 4 functions as the parameter storage means B in FIG. 1. The CMOS memory 4 specifies each of n + 1 USB devices M (i) set as peripheral devices to execute initialization processing. To the initialization candidate specifying parameter # (i), that is, the port name # (i) of the input / output interface 7 connected to the USB device M (i) and the USB device M (i) connected to this port. The value of the initialization target specifying parameter F (i) that specifies whether or not to execute the initialization process, that is, 0 or 1, is stored in a non-volatile manner.
As already described, 0 is a value indicating execution of the initialization process, and 1 is a value indicating non-execution of the initialization process.

これらのパラメータを保存するためにCMOSメモリ4内に設けられたパラメータ記憶テーブル13の論理構造を図4の概念図に示す。   The logical structure of the parameter storage table 13 provided in the CMOS memory 4 for storing these parameters is shown in the conceptual diagram of FIG.

図4の例で言えば、例えば、パラメータ記憶テーブル13のアドレス0に登録されたポート名称#(0)のポートにUSB機器M(0)が接続され、USB機器M(0)に対応するポート名称#(0)に対応した初期化対象特定パラメータF(0)の値として0つまり初期化処理の実行を示す値が設定されていることになる。要するに、USB機器M(0)が初期化処理の対象とされており、USB機器M(0)が最初の初期化処理の対象として選択されているということである。   In the example of FIG. 4, for example, the USB device M (0) is connected to the port with the port name # (0) registered at address 0 of the parameter storage table 13, and the port corresponding to the USB device M (0). As a value of the initialization target specific parameter F (0) corresponding to the name # (0), 0, that is, a value indicating execution of the initialization process is set. In short, the USB device M (0) is the target of the initialization process, and the USB device M (0) is selected as the target of the first initialization process.

既に述べた通り、初期化処理を実行すべき対象とするUSB機器M(i)を表すポート名称#(i)を選択してパラメータ記憶テーブル13に登録する処理、および、ポート名称#(i)のポートに接続されたUSB機器M(i)に対して初期化処理の実行順序を設定する処理等に関しては、ユーザによるカスタマイズが可能であり、図4のパラメータ記憶テーブル13の例では、テーブルの上の欄から順にテーブルのアドレスに従って初期化処理が実行されるようにしている。
図4のパラメータ記憶テーブル13の例では最初に初期化処理の対象とされるのはアドレス0に登録されたポート名称#(0)のポートに接続されたUSB機器M(0)、その次に初期化処理の対象とされるのがアドレス1に登録されたポート名称#(1)のポートに接続されたUSB機器M(1)ということになるが、仮に、パラメータ記憶テーブル13の最上位の欄すなわちアドレス0にポート名称#(1)が登録され、その次の欄すなわちアドレス1にポート名称#(0)が登録されていたとした場合には、最初に初期化処理の対象とされるのがポート名称#(1)のポートに接続されたUSB機器、その次に初期化処理の対象とされるのがポート名称#(0)のポートに接続されたUSB機器となる。
この種のカスタマイズを行なうバイオスセットアップ(BIOS Setup)等のプログラムは既に公知である。
As already described, the process of selecting the port name # (i) representing the USB device M (i) to be subjected to the initialization process and registering it in the parameter storage table 13, and the port name # (i) The process for setting the execution order of the initialization process for the USB device M (i) connected to the other port can be customized by the user. In the example of the parameter storage table 13 in FIG. The initialization process is executed according to the address of the table in order from the upper column.
In the example of the parameter storage table 13 in FIG. 4, the USB device M (0) connected to the port with the port name # (0) registered at the address 0 is first subjected to the initialization process, and next. The target of initialization processing is the USB device M (1) connected to the port with the port name # (1) registered in the address 1, but it is assumed that the highest level of the parameter storage table 13 is assumed. If port name # (1) is registered in the column, that is, address 0, and port name # (0) is registered in the next column, that is, address 1, it is first subjected to initialization processing. Is the USB device connected to the port with the port name # (1), and the USB device connected to the port with the port name # (0) is the next target for initialization processing.
Programs such as BIOS Setup for performing this kind of customization are already known.

コンピュータ1におけるコンピュータ起動システムAの主要部は、パラメータ記憶手段Bとして機能するCMOSメモリ4に保存されたパラメータ記憶テーブル13と、コンピュータ1のマイクロプロセッサ2と、このマイクロプロセッサ2を初期化処理実行手段Cおよびパラメータ書換手段Dとして機能させるためにROM3のブートブロックにBIOSプログラムの一部として書き込まれたコンピュータ起動プログラムとによって構成される。   The main part of the computer activation system A in the computer 1 is a parameter storage table 13 stored in a CMOS memory 4 functioning as parameter storage means B, a microprocessor 2 of the computer 1, and an initialization processing execution means for the microprocessor 2. C and a computer start program written as a part of the BIOS program in the boot block of the ROM 3 to function as the parameter rewriting means D.

次に、図3に示したコンピュータ起動プログラムのフローチャートを参照して、初期化処理実行手段Cおよびパラメータ書換手段Dとして機能するコンピュータ1のマイクロプロセッサ2の処理動作について具体的に説明する。   Next, the processing operation of the microprocessor 2 of the computer 1 functioning as the initialization processing execution means C and the parameter rewriting means D will be described in detail with reference to the flowchart of the computer startup program shown in FIG.

コンピュータ1に電源が投入されると、マイクロプロセッサ2は、ROM3のブートブロックに格納されたBIOSプログラムおよびBIOSプログラムの一部としてROM3に書き込まれたコンピュータ起動プログラムをRAM5に読み込んで処理を開始する。   When the computer 1 is turned on, the microprocessor 2 reads the BIOS program stored in the boot block of the ROM 3 and the computer startup program written in the ROM 3 as a part of the BIOS program into the RAM 5 and starts processing.

そして、マイクロプロセッサ2は、まず、パラメータ記憶手段Bとして機能するCMOSメモリ4のパラメータ記憶テーブル13から初期化処理の対象とすべきUSB機器M(i)に対応するポート名称#(i)を順に選択する際に用いられるポート選択指標iの値を0に初期化する(ステップS1)。   First, the microprocessor 2 sequentially selects the port name # (i) corresponding to the USB device M (i) to be initialized from the parameter storage table 13 of the CMOS memory 4 functioning as the parameter storage means B. The port selection index i used for selection is initialized to 0 (step S1).

次いで、初期化処理実行手段Cとして機能するマイクロプロセッサ2が、ポート選択指標iの現在値で特定される第iアドレスの初期化対象特定パラメータF(i)の値をパラメータ記憶テーブル13から読み込み、その値が、初期化処理の実行を示す値0となっているのか初期化処理の非実行を示す値1となっているのかを判定する(ステップS2)。
なお、当初はi=0,1,2,3,・・・,nのn+1個のUSB機器M(i)の何れにも障害がないことを前提としてパラメータ記憶テーブル13が生成されるので、初期段階では、図4に示されるように、i=0,1,2,3,・・・,nの全ての初期化対象特定パラメータF(i)に初期化処理の実行を示す値0が設定されている。
マイクロプロセッサ2とROM3およびCMOSメモリ4は同一ボード上に設置されて相互に内部バスで接続されているので、データの入出力のための格別な初期化処理は不要であり、ハードディスクドライブ6や入出力インターフェイス7の各ポートあるいは入出力回路8等に障害が生じているような状況下でも相互間のデータの入出力が保証される。
Next, the microprocessor 2 functioning as the initialization processing execution means C reads the value of the initialization target specifying parameter F (i) at the i-th address specified by the current value of the port selection index i from the parameter storage table 13, It is determined whether the value is a value 0 indicating execution of the initialization process or a value 1 indicating non-execution of the initialization process (step S2).
Initially, the parameter storage table 13 is generated on the assumption that there is no failure in any of the n + 1 USB devices M (i) where i = 0, 1, 2, 3,..., N. In the initial stage, as shown in FIG. 4, the value 0 indicating the execution of the initialization process is set in all initialization target specific parameters F (i) of i = 0, 1, 2, 3,. Is set.
Since the microprocessor 2, the ROM 3 and the CMOS memory 4 are installed on the same board and connected to each other via an internal bus, no special initialization process for data input / output is required. Input / output of data between each other is guaranteed even in a situation where each port of the output interface 7 or the input / output circuit 8 has a failure.

ステップS2の判定結果が偽となって初期化対象特定パラメータF(i)に初期化処理の実行を示す値0が設定されていることが確認された場合には、パラメータ記憶テーブル13の第iアドレスに登録されているポート名称#(i)のポートに接続されたUSB機器M(i)に対して初期化処理を実行する必要があることを意味するので、初期化処理の開始に先立ち、まず、パラメータ書換手段Dとして機能するマイクロプロセッサ2が、この時点で初期化処理の対象となるUSB機器M(i)に対応した初期化対象特定パラメータF(i)の値を初期化処理の実行を示す値0から初期化処理の非実行を示す値1に書き換える(ステップS3)。   If the determination result in step S2 is false and it is confirmed that the initialization target specific parameter F (i) is set to the value 0 indicating the execution of the initialization process, the i-th parameter storage table 13 This means that it is necessary to execute the initialization process for the USB device M (i) connected to the port with the port name # (i) registered in the address, so before starting the initialization process, First, the microprocessor 2 functioning as the parameter rewriting means D executes the initialization process using the value of the initialization target specific parameter F (i) corresponding to the USB device M (i) to be initialized at this time. Is replaced with a value 1 indicating non-execution of the initialization process (step S3).

次いで、マイクロプロセッサ2が、図示しない分周器等の信号に基づいて初期化処理の所要時間の計測を開始すると共に(ステップS4)、初期化処理実行手段Cとして機能するマイクロプロセッサ2が、ポート名称#(i)のポートに接続されたUSB機器M(i)に対する初期化処理を開始し(ステップS5)、初期化処理が正常に終了するか、もしくは、初期化処理の所要時間がエラー判定値に達するのを待つ待機状態に入る(ステップS6〜ステップS7)。   Next, the microprocessor 2 starts measuring the time required for the initialization process based on a signal from a frequency divider (not shown) (step S4), and the microprocessor 2 functioning as the initialization process execution means C The initialization process for the USB device M (i) connected to the port with the name # (i) is started (step S5), and the initialization process ends normally or the time required for the initialization process is determined as an error. A standby state is waited for until the value is reached (steps S6 to S7).

この間にステップS6の判定結果が真となって初期化処理が正常に終了したことが確認された場合には、パラメータ書換手段Dとして機能するマイクロプロセッサ2が、初期化処理の対象となったUSB機器M(i)に対応する初期化対象特定パラメータF(i)に、初期化処理の実行を示す値0を改めて設定する(ステップS8)。   During this time, if the determination result in step S6 is true and it is confirmed that the initialization process has been completed normally, the microprocessor 2 functioning as the parameter rewriting means D has received the USB subjected to the initialization process. A value 0 indicating the execution of the initialization process is newly set in the initialization target specific parameter F (i) corresponding to the device M (i) (step S8).

次いで、初期化処理実行手段Cとして機能するマイクロプロセッサ2がポート選択指標iの値を1インクリメントし(ステップS9)、該指標iの現在値が、USB機器に対応したポート名称を記憶しているパラメータ記憶テーブル13の最終アドレスの値nを超えているか否かを判定する(ステッブS10)。   Next, the microprocessor 2 functioning as the initialization processing execution means C increments the value of the port selection index i by 1 (step S9), and the current value of the index i stores the port name corresponding to the USB device. It is determined whether or not the final address value n in the parameter storage table 13 is exceeded (step S10).

ステップS10の判定結果が偽となってポート選択指標iの現在値がパラメータ記憶テーブル13の最終アドレスの値nを超えていないことが確認された場合には、初期化処理の対象の候補とされたUSB機器を接続したポートを表すポート名称#(i)が此の他にもパラメータ記憶テーブル13に記憶されていることを意味するので、マイクロプロセッサ2は、更新されたポート選択指標iの現在値に基いて、ステップS7もしくはステップS10の判定結果が真となるまで、前記と同様にしてステップS2〜ステップS10から成るループ処理を繰り返し実行する。   If the determination result in step S10 is false and it is confirmed that the current value of the port selection index i does not exceed the final address value n of the parameter storage table 13, it is determined as a candidate for initialization processing. This means that the port name # (i) representing the port connected to the USB device is stored in the parameter storage table 13 in addition to this, so that the microprocessor 2 indicates the current port selection index i. Based on the value, the loop process including steps S2 to S10 is repeatedly executed in the same manner as described above until the determination result in step S7 or step S10 becomes true.

ステップS2〜ステップS10のループ処理を繰り返し実行する間にステップS10の判定結果が真となった場合には、ステップS2〜ステップS10から成るループ処理が初回を含めてn+1回実行され、i=0,1,2,3,・・・,nのポート#(i)に接続されたi=0,1,2,3,・・・,nの全てのUSB機器M(i)がエラー判定値で特定される許容時間内に適切に初期化されたことを意味する。   When the determination result of step S10 becomes true while the loop processing of step S2 to step S10 is repeatedly executed, the loop processing including step S2 to step S10 is executed n + 1 times including the first time, and i = 0 , 1, 2, 3,..., N connected to port # (i), all USB devices M (i) of i = 0, 1, 2, 3,. It means that it was properly initialized within the allowable time specified in.

従って、この場合、初期化処理実行手段Cとして機能するマイクロプロセッサ2は、n+1回のループ処理におけるステップS9の処理でポート選択指標iの値がnからn+1にインクリメントされてステップS10の判定結果が真となった時点で、初期化処理の対象としてパラメータ記憶テーブル13にポート名称#(i)を登録された最後のUSB機器M(i)、つまり、この場合はUSB機器M(n)の初期化処理が完了したものと見做し、BIOSプログラムの他部たとえば他の周辺装置の初期化処理等を実行してからOSの起動を許容する。   Therefore, in this case, the microprocessor 2 functioning as the initialization process execution means C increments the value of the port selection index i from n to n + 1 in the process of step S9 in the n + 1 loop process, and the determination result of step S10 is obtained. When it becomes true, the last USB device M (i) whose port name # (i) is registered in the parameter storage table 13 as an object of initialization processing, that is, in this case, the initial of the USB device M (n) Assuming that the initialization process has been completed, initialization of other parts of the BIOS program, for example, initialization of other peripheral devices, etc. is executed, and then the OS is allowed to start.

OSの起動処理に関しては既に公知であるから、ここでは特に説明しない。   Since the OS startup process is already known, it will not be described here.

この実施形態にあっては、パラメータ書換手段Dとして機能するマイクロプロセッサ2が、初期化処理の開始に先立って、其の時点で初期化処理の対象とされているUSB機器M(i)に対応した初期化対象特定パラメータF(i)の値を初期化処理の実行を示す値0から初期化処理の非実行を示す値1に書き換える処理を実行するが、初期化処理実行手段Cとして機能するマイクロプロセッサ2によるUSB機器M(i)の初期化処理が成功した場合には初期化対象特定パラメータF(i)の値は初期化処理の実行を示す値0に必ず書き戻されるので、初期化処理が失敗しない限り、図3に示すようなコンピュータ起動プログラムの実行前後で、パラメータ記憶テーブル13の設定内容に変化が生じることはない(ステップS3〜ステップS8,図4参照)。   In this embodiment, the microprocessor 2 functioning as the parameter rewriting means D corresponds to the USB device M (i) that is the target of the initialization process at that time prior to the start of the initialization process. The initialization target specific parameter F (i) is rewritten from the value 0 indicating execution of the initialization process to the value 1 indicating non-execution of the initialization process, but functions as the initialization process execution means C. If the initialization process of the USB device M (i) by the microprocessor 2 is successful, the value of the initialization target specific parameter F (i) is always written back to the value 0 indicating the execution of the initialization process. Unless the processing fails, there is no change in the setting contents of the parameter storage table 13 before and after the execution of the computer startup program as shown in FIG. 3 (steps S3 to S3). 8, see Fig. 4).

一方、ステップS2〜ステップS10のループ処理を繰り返し実行する間にステップS7の判定結果が真となった場合には、その時点で初期化処理の対象とされていたUSB機器M(i)の初期化処理がエラー判定値で特定される許容時間内に完了しなかったこと、つまり、USB機器M(i)の初期化処理が失敗したことを意味する。   On the other hand, if the determination result of step S7 becomes true while the loop processing of step S2 to step S10 is repeatedly executed, the initial state of the USB device M (i) that is the object of initialization processing at that time This means that the initialization process of the USB device M (i) has not been completed within the allowable time specified by the error determination value.

この場合、初期化対象特定パラメータF(i)の値を初期化処理の実行を示す値0に書き戻すステップS8の処理は非実行とされるので、ステップS7の判定結果が真となった時点で、初期化処理の対象のUSB機器M(i)に対応した初期化対象特定パラメータF(i)の値は初期化処理の非実行を示す値1のままとなる。   In this case, since the process of step S8 for rewriting the value of the initialization target specific parameter F (i) to the value 0 indicating the execution of the initialization process is not executed, the time when the determination result of step S7 becomes true Thus, the value of the initialization target specifying parameter F (i) corresponding to the USB device M (i) that is the target of the initialization process remains the value 1 indicating that the initialization process is not executed.

従って、例えば、初回のループ処理でパラメータ記憶テーブル13のアドレス0に登録されたポート名称#(0)のポートに接続されたUSB機器M(0)の初期化に成功し、更に、2回目のループ処理でパラメータ記憶テーブル13のアドレス1に登録されたポート名称#(1)のポートに接続されたUSB機器M(1)の初期化に成功した後、3回目のループ処理でパラメータ記憶テーブル13のアドレス2に登録されたポート名称#(2)のポートに接続されたUSB機器M(2)の初期化に失敗したとすれば、3回目のループ処理が完了してステップS7の判定結果が真となった時点で、パラメータ記憶テーブル13の設定内容は図4のようなものから図5のようなものに変化する。   Therefore, for example, the initialization of the USB device M (0) connected to the port with the port name # (0) registered at the address 0 of the parameter storage table 13 in the first loop processing was successful, and the second time After successful initialization of the USB device M (1) connected to the port with the port name # (1) registered at address 1 of the parameter storage table 13 by the loop processing, the parameter storage table 13 is executed by the third loop processing. If the initialization of the USB device M (2) connected to the port with the port name # (2) registered at the address 2 is failed, the third loop processing is completed and the determination result of step S7 is When it becomes true, the setting content of the parameter storage table 13 changes from the one shown in FIG. 4 to the one shown in FIG.

このようにしてステップS7の判定処理でUSB機器M(i)の初期化処理の失敗が確認された場合にあっては、初期化処理実行手段Cとして機能するマイクロプロセッサ2は其れ以上の初期化処理を実行することなく直ちにコンピュータ1を再起動させる(ステップS11)。   In this way, if the failure of the initialization process of the USB device M (i) is confirmed in the determination process of step S7, the microprocessor 2 functioning as the initialization process execution means C is further initialized. The computer 1 is immediately restarted without executing the conversion process (step S11).

USB機器M(i)の初期化に失敗した場合にあってはRAM5に読み込まれたプログラムや一時的なデータに損傷が生じる場合があるが、コンピュータ1の再起動に関わる処理はROM3のブートブロックに格納されたBIOSプログラムによって実行されるので、初期化処理の失敗による影響は受けない。   If the initialization of the USB device M (i) fails, the program or temporary data read into the RAM 5 may be damaged, but the processing related to the restart of the computer 1 is a boot block of the ROM 3 Since it is executed by the BIOS program stored in, it is not affected by the failure of the initialization process.

また、RAM5に読み込まれたプログラムや一時的なデータに損傷が生じた場合にあっては次のUSB機器M(i+1)の初期化処理の実行はおろか初期化対象特定パラメータF(i)の値を書き換えるといった処理が困難となることもあるが、この実施形態にあっては、初期化処理の開始に先立って其の時点で初期化処理の対象とされているUSB機器M(i)に対応した初期化対象特定パラメータF(i)の値を初期化処理の実行を示す値0から初期化処理の非実行を示す値1に書き換え、USB機器M(i)の初期化が成功した場合に限って初期化対象特定パラメータF(i)の値を初期化処理の実行を示す値0に書き戻すといった処理を採用しているので、RAM5に読み込まれたプログラムや一時的なデータに初期化処理の失敗による影響があった場合でも、USB機器M(i)の初期化処理の失敗に関連する情報すなわち初期化対象特定パラメータF(i)=1の内容をCMOSメモリ4内のパラメータ記憶テーブル13に確実に保存して確保することができる。   If the program or temporary data read into the RAM 5 is damaged, the initialization process of the next USB device M (i + 1) is executed, and the value of the initialization target specific parameter F (i) is used. However, in this embodiment, prior to the start of the initialization process, the USB device M (i) that is the target of the initialization process at that time is supported. When the initialization target specific parameter F (i) is rewritten from the value 0 indicating execution of the initialization process to the value 1 indicating non-execution of the initialization process, and the initialization of the USB device M (i) is successful Since the process of writing back the value of the initialization target specific parameter F (i) to the value 0 indicating the execution of the initialization process is employed for the limited time, the initialization process is performed on the program or temporary data read into the RAM 5 On failure Even if there is an influence, the information related to the failure of the initialization process of the USB device M (i), that is, the content of the initialization target specific parameter F (i) = 1 is surely stored in the parameter storage table 13 in the CMOS memory 4. Can be saved and secured.

コンピュータ1が再起動されると、マイクロプロセッサ2は、ROM3のブートブロックに格納されたBIOSプログラムおよびBIOSプログラムの一部としてROM3に書き込まれたコンピュータ起動プログラムをRAM5に読み込んで前記と同様にして図3に示したコンピュータ起動プログラムの処理を開始し、まず、最初にポート選択指標iの値を0に初期化して(ステップS1)、ステップS2〜ステップS10から成る初回のループ処理でパラメータ記憶テーブル13のアドレス0に登録されたポート名称#(0)のポートに接続されたUSB機器M(0)の初期化に成功し、更に、2回目のループ処理でパラメータ記憶テーブル13のアドレス1に登録されたポート名称#(1)のポートに接続されたUSB機器M(1)の初期化に成功し、2回目のループ処理におけるステップS9の処理でポート選択指標iの値が1から2へ更新される。   When the computer 1 is restarted, the microprocessor 2 reads the BIOS program stored in the boot block of the ROM 3 and the computer startup program written in the ROM 3 as a part of the BIOS program into the RAM 5 and performs the same process as described above. 3 is started. First, the value of the port selection index i is initialized to 0 (step S1), and the parameter storage table 13 is first looped from step S2 to step S10. The USB device M (0) connected to the port with the port name # (0) registered at the address 0 of the first is successfully initialized, and further registered at the address 1 of the parameter storage table 13 in the second loop processing. The first USB device M (1) connected to the port with the specified port name # (1) Successful reduction, the value of port selection index i is updated from 1 to 2 in the processing of step S9 in the second loop process.

そして、3回目のループ処理では、初期化処理実行手段Cとして機能するマイクロプロセッサ2が、ポート選択指標iの現在値2に基いて第2アドレスの初期化対象特定パラメータF(2)の値をパラメータ記憶テーブル13から読み込み、その値が、初期化処理の実行を示す値0となっているのか初期化処理の非実行を示す値1となっているのかを判定するが(ステップS2)、この場合は初期化対象特定パラメータF(2)の値が初期化処理の非実行を示す値1となっているので(図5参照)、ステップS2の判定結果は真となり、ポート名称#(2)のポートに接続されたUSB機器M(2)に関連するステップS3〜ステップS7の処理つまり初期化処理が非実行とされる。   In the third loop process, the microprocessor 2 functioning as the initialization process execution means C sets the value of the initialization target specifying parameter F (2) at the second address based on the current value 2 of the port selection index i. It is read from the parameter storage table 13 and it is determined whether the value is a value 0 indicating the execution of the initialization process or a value 1 indicating the non-execution of the initialization process (step S2). In this case, since the value of the initialization target specific parameter F (2) is a value 1 indicating non-execution of the initialization process (see FIG. 5), the determination result in step S2 is true, and the port name # (2) The processing of step S3 to step S7 related to the USB device M (2) connected to this port, that is, the initialization processing is not executed.

つまり、パラメータ記憶テーブル13にポート名称#(i)を登録されたUSB機器M(i)、即ち、初期化処理の対象の候補とされたUSB機器M(i)のうち、実際に初期化処理の対象とされるのは、対応する初期化対象特定パラメータF(i)の設定が初期化処理の実行を示す値0となっているUSB機器M(i)のみであり、過去に初期化に失敗したUSB機器M(i)、要するに、初期化処理の失敗が再度発生する可能性のあるUSB機器M(i)に対する初期化処理がスキップされるので、システム上での障害を生じることなく次のUSB機器M(i+1)の初期化を確実に実行することが可能となる。   That is, among the USB devices M (i) whose port names # (i) are registered in the parameter storage table 13, that is, among the USB devices M (i) that are candidates for initialization processing, the initialization processing is actually performed. Only the USB device M (i) in which the setting of the corresponding initialization target specific parameter F (i) has a value 0 indicating execution of the initialization process is the target of initialization. Since the initialization process for the failed USB device M (i), in other words, the USB device M (i) in which the failure of the initialization process may occur again is skipped, the next without causing a failure on the system. It is possible to reliably execute initialization of the USB device M (i + 1).

次いで、初期化処理実行手段Cとして機能するマイクロプロセッサ2がポート選択指標iの値を1インクリメントし(ステップS9)、該指標iの現在値がパラメータ記憶テーブル13の最終アドレスの値nを超えているか否かを判定するが(ステッブS10)、この段階ではポート選択指標iの現在値は3であるからステップS10の判定結果は偽となり、次のループ処理つまり4回目のループ処理でパラメータ記憶テーブル13のアドレス3に登録されたポート名称#(3)のポートに接続されたUSB機器M(3)の初期化処理が実行されることになる。   Next, the microprocessor 2 functioning as the initialization processing execution means C increments the value of the port selection index i by 1 (step S9), and the current value of the index i exceeds the value n of the final address in the parameter storage table 13. At this stage, since the current value of the port selection index i is 3, the determination result in step S10 is false, and the parameter storage table is used in the next loop process, that is, the fourth loop process. The initialization process of the USB device M (3) connected to the port of the port name # (3) registered at the address 3 of 13 is executed.

以下同様にして、パラメータ記憶テーブル13のアドレス4に登録されたポート名称#(4)のポートに接続されたUSB機器M(4)〜パラメータ記憶テーブル13のアドレスnに登録されたポート名称#(n)のポートに接続されたUSB機器M(n)に対して5回目〜n+1回目のループ処理が実行される。   Similarly, the USB device M (4) connected to the port of the port name # (4) registered at the address 4 in the parameter storage table 13 to the port name # (registered at the address n in the parameter storage table 13 are used. The fifth to n + 1th loop processing is executed for the USB device M (n) connected to the port n).

そして、n+1回目のループ処理におけるステップS10の判定結果が真となった時点で、初期化処理実行手段Cとして機能するマイクロプロセッサ2は、初期化処理の対象としてパラメータ記憶テーブル13にポート名称#(i)を登録された最後のUSB機器M(i)、つまり、この場合はUSB機器M(n)の初期化処理が完了したものと見做し、BIOSプログラムの他部たとえば他の周辺装置の初期化処理等を実行してからOSの起動を許容する。
但し、この場合はポート名称#(2)のポートに接続されたUSB機器M(2)は作動しない。
When the determination result of step S10 in the n + 1th loop processing becomes true, the microprocessor 2 functioning as the initialization processing execution means C stores the port name # ( i) is regarded as the initialization of the last USB device M (i) registered, that is, the USB device M (n) in this case, and other parts of the BIOS program, for example, other peripheral devices The OS is allowed to start after the initialization process or the like is executed.
However, in this case, the USB device M (2) connected to the port with the port name # (2) does not operate.

以上に述べた通り、順次インクリメントされるポート選択指標iの現在値に基いて初期化処理の対象の候補とすべきUSB機器M(i)のポート名称#(i)がパラメータ記憶テーブル13から順に選択されることになるが、実際に初期化処理の実行対象となるのは初期化対象特定パラメータF(i)の値として初期化処理の実行を示す値0が設定されたものに制限されるので、初期化に一旦失敗したUSB機器M(i)がコンピュータ1の再起動あるいは通常の起動後に実行されるコンピュータ起動プログラムで初期化の対象とされることはなく、初期化処理におけるエラーの発生および其れに伴うシステム障害の発生が未然に防止され、コンピュータ1のOSを確実に起動させることができるようになる。   As described above, the port names # (i) of the USB devices M (i) to be candidates for the initialization process based on the current value of the port selection index i that is sequentially incremented are sequentially listed from the parameter storage table 13. Although it is selected, what is actually targeted for execution of the initialization process is limited to the value set to 0 indicating the execution of the initialization process as the value of the initialization target specific parameter F (i). Therefore, the USB device M (i) once failed in initialization is not targeted for initialization by the computer startup program executed after the computer 1 is restarted or normally started, and an error occurs in the initialization process. Further, the occurrence of a system failure associated therewith can be prevented in advance, and the OS of the computer 1 can be reliably started.

また、例えば、前述した再起動後の初期化処理において、初回のループ処理でパラメータ記憶テーブル13のアドレス0に登録されたポート名称#(0)のポートに接続されたUSB機器M(0)の初期化に成功し、更に、2回目のループ処理でパラメータ記憶テーブル13のアドレス1に登録されたポート名称#(1)のポートに接続されたUSB機器M(1)の初期化に成功し、ポート名称#(2)のポートに接続されたUSB機器M(2)の初期化を当初の目的とした3回目のループ処理をスキップして、4回目〜n回目のループ処理でパラメータ記憶テーブル13のアドレス3〜アドレスn−1に登録されたポート名称#(3)〜ポート名称#(n−1)の各ポートに接続されたUSB機器M(3)〜USB機器M(n−1)の初期化に成功し、最後となるn+1回目のループ処理でパラメータ記憶テーブル13のアドレスnに登録されたポート名称#(n)のポートに接続されたUSB機器M(n)の初期化に失敗したとすれば、n+1回目のループ処理が完了してステップS7の判定結果が真となった時点で、パラメータ記憶テーブル13の設定内容は図5のようなものから図6のようなものに変化することになる。   Further, for example, in the initialization process after the restart described above, the USB device M (0) connected to the port of the port name # (0) registered at the address 0 of the parameter storage table 13 in the first loop process. Successful initialization, and further successful initialization of the USB device M (1) connected to the port of the port name # (1) registered at address 1 of the parameter storage table 13 in the second loop processing, The parameter processing table 13 is skipped in the fourth to n-th loop processing, skipping the third loop processing for initial initialization of the USB device M (2) connected to the port of the port name # (2). Of USB device M (3) to USB device M (n-1) connected to each port of port name # (3) to port name # (n-1) registered at addresses 3 to n-1. initial If the initialization of the USB device M (n) connected to the port of the port name # (n) registered at the address n of the parameter storage table 13 is failed in the last (n + 1) th loop processing. For example, when the n + 1-th loop processing is completed and the determination result in step S7 becomes true, the setting content of the parameter storage table 13 changes from the one shown in FIG. 5 to the one shown in FIG. Become.

この場合はコンピュータ1が改めて再起動され、マイクロプロセッサ2は、ROM3のブートブロックに格納されたBIOSプログラムおよびBIOSプログラムの一部としてROM3に書き込まれたコンピュータ起動プログラムをRAM5に読み込んで前記と同様にして図3に示したコンピュータ起動プログラムの処理を開始し、まず、最初にポート選択指標iの値を0に初期化して(ステップS1)、ステップS2〜ステップS10から成る初回のループ処理でパラメータ記憶テーブル13のアドレス0に登録されたポート名称#(0)のポートに接続されたUSB機器M(0)の初期化に成功し、更に、2回目のループ処理でパラメータ記憶テーブル13のアドレス1に登録されたポート名称#(1)のポートに接続されたUSB機器M(1)の初期化に成功し、2回目のループ処理におけるステップS9の処理でポート選択指標iの値が1から2へ更新される。   In this case, the computer 1 is restarted again, and the microprocessor 2 reads the BIOS program stored in the boot block of the ROM 3 and the computer startup program written in the ROM 3 as a part of the BIOS program into the RAM 5 and performs the same as described above. 3 is started. First, the value of the port selection index i is initialized to 0 (step S1), and the parameters are stored in the first loop processing including steps S2 to S10. Successful initialization of the USB device M (0) connected to the port with the port name # (0) registered at address 0 of the table 13 and further to the address 1 of the parameter storage table 13 in the second loop processing. USB device connected to registered port name # (1) Successful initialization (1), the value of port selection index i is updated from 1 to 2 in the processing of step S9 in the second loop process.

そして、3回目のループ処理では、初期化処理実行手段Cとして機能するマイクロプロセッサ2が、ポート選択指標iの現在値2に基いて第2アドレスの初期化対象特定パラメータF(2)の値をパラメータ記憶テーブル13から読み込み、その値が、初期化処理の実行を示す値0となっているのか初期化処理の非実行を示す値1となっているのかを判定するが(ステップS2)、この場合は初期化対象特定パラメータF(2)の値が初期化処理の非実行を示す値1となっているので(図6参照)、ステップS2の判定結果は真となり、ポート名称#(2)のポートに接続されたUSB機器M(2)に関連するステップS3〜ステップS7の処理つまり初期化処理が非実行とされる。   In the third loop process, the microprocessor 2 functioning as the initialization process execution means C sets the value of the initialization target specifying parameter F (2) at the second address based on the current value 2 of the port selection index i. It is read from the parameter storage table 13 and it is determined whether the value is a value 0 indicating the execution of the initialization process or a value 1 indicating the non-execution of the initialization process (step S2). In this case, since the value of the initialization target specific parameter F (2) is a value 1 indicating non-execution of the initialization process (see FIG. 6), the determination result in step S2 is true and the port name # (2) The processing of step S3 to step S7 related to the USB device M (2) connected to this port, that is, the initialization processing is not executed.

次いで、初期化処理実行手段Cとして機能するマイクロプロセッサ2がポート選択指標iの値を1インクリメントし(ステップS9)、該指標iの現在値がパラメータ記憶テーブル13の最終アドレスの値nを超えているか否かを判定するが(ステッブS10)、この段階ではポート選択指標iの現在値は3であるからステップS10の判定結果は偽となり、次のループ処理つまり4回目のループ処理でパラメータ記憶テーブル13のアドレス3に登録されたポート名称#(3)のポートに接続されたUSB機器M(3)の初期化が実行されることになる。   Next, the microprocessor 2 functioning as the initialization processing execution means C increments the value of the port selection index i by 1 (step S9), and the current value of the index i exceeds the value n of the final address in the parameter storage table 13. At this stage, since the current value of the port selection index i is 3, the determination result in step S10 is false, and the parameter storage table is used in the next loop process, that is, the fourth loop process. The initialization of the USB device M (3) connected to the port of the port name # (3) registered at the address 3 of 13 is executed.

以下、同様にして、パラメータ記憶テーブル13のアドレス4に登録されたポート名称#(4)のポートに接続されたUSB機器M(4)〜パラメータ記憶テーブル13のアドレスn−1に登録されたポート名称#(n−1)のポートに接続されたUSB機器M(n−1)に対して5回目〜n回目のループ処理で初期化処理が実行され、n回目のループ処理におけるステップS9の処理でポート選択指標iの値がn−1からnへ更新される。   Hereinafter, similarly, the USB device M (4) connected to the port of the port name # (4) registered at address 4 of the parameter storage table 13 to the port registered at address n-1 of the parameter storage table 13 Initialization processing is executed in the fifth to n-th loop processing for the USB device M (n-1) connected to the port of name # (n-1), and the processing in step S9 in the n-th loop processing Thus, the value of the port selection index i is updated from n-1 to n.

そして、n+1回目のループ処理では、初期化処理実行手段Cとして機能するマイクロプロセッサ2が、ポート選択指標iの現在値nに基いて第nアドレスの初期化対象特定パラメータF(n)の値をパラメータ記憶テーブル13から読み込み、その値が、初期化処理の実行を示す値0となっているのか初期化処理の非実行を示す値1となっているのかを判定するが(ステップS2)、この場合は初期化対象特定パラメータF(n)の値が初期化処理の非実行を示す値1となっているので(図6参照)、ステップS2の判定結果は真となり、ポート名称#(n)のポートに接続されたUSB機器M(n)に関連するステップS3〜ステップS7の処理つまり初期化処理が非実行とされる。   In the (n + 1) th loop processing, the microprocessor 2 functioning as the initialization processing execution means C sets the value of the initialization target specifying parameter F (n) at the nth address based on the current value n of the port selection index i. It is read from the parameter storage table 13 and it is determined whether the value is a value 0 indicating the execution of the initialization process or a value 1 indicating the non-execution of the initialization process (step S2). In this case, since the value of the initialization target specific parameter F (n) is a value 1 indicating non-execution of the initialization process (see FIG. 6), the determination result in step S2 is true and the port name # (n) The processing in step S3 to step S7 related to the USB device M (n) connected to this port, that is, the initialization processing is not executed.

次いで、初期化処理実行手段Cとして機能するマイクロプロセッサ2がポート選択指標iの値をnからn+1にインクリメントし(ステップS9)、該指標iの現在値がパラメータ記憶テーブル13の最終アドレスの値nを超えているか否かを判定するが(ステッブS10)、この段階ではポート選択指標iの現在値がn+1となっているからステップS10の判定結果は真となり、初期化処理実行手段Cとして機能するマイクロプロセッサ2は、BIOSプログラムの他部たとえば他の周辺装置の初期化処理等を実行してからOSの起動を許容する。   Next, the microprocessor 2 functioning as the initialization processing execution means C increments the value of the port selection index i from n to n + 1 (step S9), and the current value of the index i is the value n of the final address in the parameter storage table 13. (Step S10). At this stage, since the current value of the port selection index i is n + 1, the determination result in step S10 is true and functions as the initialization processing execution means C. The microprocessor 2 permits the startup of the OS after executing initialization of other parts of the BIOS program, for example, other peripheral devices.

この場合、ポート名称#(n)のポートに接続されたUSB機器M(n)に関連する初期化処理は非実行とされているので、ステップS10の判定処理は、初期化処理の対象の候補としてパラメータ記憶テーブル13にポート名称#(i)を登録されたUSB機器のうち、初期化対象特定パラメータF(i)に初期化処理の非実行を示す値1を設定された最後のUSB機器M(i)、つまり、USB機器M(n−1)の初期化処理の完了を判定するための処理として機能することになる。
なお、この場合はポート名称#(2)のポートに接続されたUSB機器M(2)とポート名称#(n)のポートに接続されたUSB機器M(n)が作動しないことになる。
In this case, since the initialization process related to the USB device M (n) connected to the port with the port name # (n) is not executed, the determination process in step S10 is a candidate for the initialization process target. Among the USB devices whose port name # (i) is registered in the parameter storage table 13, the last USB device M in which the initialization target specific parameter F (i) is set to a value 1 indicating non-execution of the initialization process (I) That is, it functions as a process for determining completion of the initialization process of the USB device M (n−1).
In this case, the USB device M (2) connected to the port with the port name # (2) and the USB device M (n) connected to the port with the port name # (n) do not operate.

以上に述べた通り、この実施形態のコンピュータ起動システムAは、予め設定された順序、つまり、パラメータ記憶テーブル13にポート名称#(i)を登録された順序に従ってコンピュータ1の起動時にUSB機器M(i)の初期化処理を実行し、初期化処理の対象とされた全てのUSB機器M(i)、即ち、対応する初期化対象特定パラメータF(i)に初期化処理の実行を示す値0を設定された全てのUSB機器M(i)の初期化処理が正常に終了した場合に限ってコンピュータ1のOSを起動する。
また、初期化処理の対象とされたUSB機器M(i)の何れかの初期化処理が正常に終了しなかった場合には、初期化処理が正常に終了しなかったUSB機器M(i)のポート名称#(i)に対応した初期化対象特定パラメータF(i)の値を初期化処理の非実行を示す値1に書き換えてコンピュータ1を再起動し、パラメータ記憶テーブル13に登録された順序に従って再びUSB機器M(i)の初期化処理を繰り返し実行する。
この結果、再起動後に実行される初期化処理では初期化処理の失敗が再度発生する可能性のあるUSB機器M(i)の初期化処理がスキップされて自動的に非実行となり、初期化処理におけるエラーの発生および其れに起因したシステム上の障害発生が未然に防止されるので、他のUSB機器の初期化処理を確実に実行してコンピュータ1のOSを起動することができる。
As described above, the computer activation system A according to this embodiment has the USB device M (when the computer 1 is activated in accordance with the preset order, that is, the order in which the port names # (i) are registered in the parameter storage table 13. i) The initialization process of i) is executed, and all the USB devices M (i) that are the targets of the initialization process, that is, the value 0 indicating the execution of the initialization process to the corresponding initialization target specific parameter F (i) The OS of the computer 1 is activated only when the initialization processing of all the USB devices M (i) for which is set is normally completed.
In addition, if any initialization process of the USB device M (i) that is the target of the initialization process does not end normally, the USB apparatus M (i) that the initialization process did not end normally The value of the initialization target specific parameter F (i) corresponding to the port name # (i) is rewritten with the value 1 indicating non-execution of the initialization process, the computer 1 is restarted, and is registered in the parameter storage table 13 The initialization processing of the USB device M (i) is repeatedly executed again according to the order.
As a result, in the initialization process that is executed after the restart, the initialization process of the USB device M (i) that may cause a failure of the initialization process again is skipped and automatically non-executed. Occurrence of an error in the system and a system failure caused by the error can be prevented in advance, so that the initialization process of other USB devices can be executed reliably and the OS of the computer 1 can be started.

従って、障害の生じたUSB機器M(i)やポート#(i)を再起動の度に初期化しようとして初期化に失敗し、再起動が無意味に繰り返されるといった不都合も解消される。   Therefore, the inconvenience that the failed USB device M (i) or port # (i) is initialized every time it is restarted and the restart is meaninglessly repeated is also eliminated.

特に、この実施形態にあっては、初期化処理の開始に先立って其の時点で初期化処理の対象とされているUSB機器M(i)に対応した初期化対象特定パラメータF(i)の値を初期化処理の実行を示す値0から初期化処理の非実行を示す値1に一旦書き換え、USB機器M(i)の初期化が成功した場合に限って初期化対象特定パラメータF(i)の値を初期化処理の実行を示す値0に書き戻すといった処理を採用しているので、RAM5に読み込まれたプログラムや一時的なデータに初期化処理の失敗による影響があった場合でも、USB機器M(i)の初期化処理の失敗に関連する情報すなわち初期化対象特定パラメータF(i)=1の内容をCMOSメモリ4内のパラメータ記憶テーブル13に確実に保存して再起動の際の初期化処理に役立てることができる。   In particular, in this embodiment, prior to the start of the initialization process, the initialization target specifying parameter F (i) corresponding to the USB device M (i) that is the target of the initialization process at that time is set. The initialization target specifying parameter F (i) is changed only when the value is temporarily rewritten from the value 0 indicating the execution of the initialization process to the value 1 indicating the non-execution of the initialization process and the initialization of the USB device M (i) is successful. ) Is written back to the value 0 indicating the execution of the initialization process, so even if the program or temporary data read into the RAM 5 is affected by the failure of the initialization process, Information relating to the failure of the initialization process of the USB device M (i), that is, the content of the initialization target specific parameter F (i) = 1 is securely stored in the parameter storage table 13 in the CMOS memory 4 and restarted. Initialization processing Can be useful.

しかも、パラメータ記憶テーブル13はパラメータ記憶手段Bとして機能するCMOSメモリ4内に配置されており、システム障害の発生やコンピュータ1の再起動によって不用意に内容が損傷することないので、初期化処理の対象の候補とされたUSB機器M(i)を特定するためのポート名称#(i)の登録情報やポート名称#(i)の各々に対応して設定された初期化処理の実行順序(パラメータ記憶テーブル13内のアドレス)といったユーザ設定によるカスタマイズ情報が失われてデフォルトの状態に戻ってしまうといった不都合が解消され、また、障害復旧専用の初期化プログラムと通常の初期化プログラムを異なるROMに分散して配置する必要もないので、ROMの複数化による製造コストの問題も発生しない。   In addition, the parameter storage table 13 is disposed in the CMOS memory 4 functioning as the parameter storage means B, and the contents are not inadvertently damaged by the occurrence of a system failure or the restart of the computer 1. Initialization process execution order (parameters) set corresponding to each of the registration information of port name # (i) and port name # (i) for specifying the USB device M (i) that is the target candidate The inconvenience that the customization information by the user setting such as the address in the storage table 13 is lost and the default state is restored is solved, and the initialization program dedicated for failure recovery and the normal initialization program are distributed to different ROMs. Therefore, there is no problem of manufacturing cost due to multiple ROMs.

図3に示されるようなコンピュータ起動プログラムはBIOSプログラムの一部としてROM3のブートブロックに格納されており、コンピュータ1のOSが起動されていない状態つまりシステムコールが利用できない状態でも機能するので、OS起動前の初期化処理においてUSB機器M(i)やポート#(i)の異常を検知してコンピュータ1を再起動させることができる。   The computer startup program as shown in FIG. 3 is stored in the boot block of the ROM 3 as a part of the BIOS program, and functions even when the OS of the computer 1 is not started, that is, when the system call is not available. It is possible to restart the computer 1 by detecting an abnormality in the USB device M (i) or the port # (i) in the initialization process before starting.

ここでは、初期化処理開始後の経過時間や初期化処理の所要時間をエラー判定値と比較することでUSB機器M(i)やポート#(i)の初期化が適切に行なわれたか否かを判定する例について述べているが、初期化処理におけるエラー検知の技術は各種のものが公知であり、その方法は特に問わない。   Here, whether or not the USB device M (i) and port # (i) have been initialized properly by comparing the elapsed time after the start of the initialization process and the time required for the initialization process with the error determination value. However, there are various known error detection techniques in the initialization process, and the method is not particularly limited.

以上に開示した実施形態の一部または全部は、以下の付記に示す記載によって適切に表現され得るが、発明を実施するための形態や発明の技術思想は、これらのものに制限されるものではない。   A part or all of the embodiment disclosed above can be appropriately expressed by the description shown in the following supplementary notes, but the form for carrying out the invention and the technical idea of the invention are not limited to these. Absent.

〔付記1〕
予め設定された順序に従ってコンピュータの起動時に周辺装置の初期化処理を実行し、初期化処理の対象とされた全ての周辺装置の初期化処理が正常に終了した場合にはコンピュータのオペレーティング・システムを起動する一方、何れかの初期化処理が正常に終了しなかった場合にはコンピュータを再起動して前記予め設定された順序に従って周辺装置の初期化処理を繰り返し実行するコンピュータ起動システムにおいて、
初期化処理を実行すべき周辺装置として設定された周辺装置の各々を特定する初期化候補特定パラメータと前記設定された周辺装置の各々に対応して実際に初期化処理を実行するか否かを特定する初期化対象特定パラメータとを不揮発的に記憶するパラメータ記憶手段と、
前記パラメータ記憶手段に記憶された初期化候補特定パラメータに対応する周辺装置のうち、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対してのみ順に初期化処理を実行し、その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了しなかった場合には、コンピュータを再起動し、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対して改めて最初から順に初期化処理を実行する一方、初期化処理の対象とされている最後の周辺装置の初期化処理の完了を検知すると前記オペレーティング・システムの起動を許容する初期化処理実行手段と、
前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了した場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに保持する一方、前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了しなかった場合には、少なくともコンピュータの再起動前に、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換えるパラメータ書換手段とを備えたことを特徴とするコンピュータ起動システム。
[Appendix 1]
When the computer is started up according to a preset order, the peripheral device initialization process is executed, and when the initialization process of all the peripheral devices targeted for the initialization process ends normally, the computer operating system is On the other hand, in the computer startup system that restarts the computer and repeatedly executes the initialization processing of the peripheral device according to the preset order when any initialization processing does not end normally,
An initialization candidate specifying parameter for specifying each of the peripheral devices set as peripheral devices to execute the initialization process, and whether or not the initialization processing is actually executed corresponding to each of the set peripheral devices. Parameter storage means for storing the initialization target specific parameters to be specified in a nonvolatile manner;
Of the peripheral devices corresponding to the initialization candidate specific parameters stored in the parameter storage means, only the peripheral devices whose corresponding initialization target specific parameters are set to indicate the execution of the initialization process. If initialization processing is executed and the initialization processing of the peripheral device that is the target of initialization processing at that time does not end normally, the computer is restarted and the corresponding initialization target specific parameter The peripheral device whose setting indicates the execution of initialization processing is executed again in order from the beginning, while the initialization processing of the last peripheral device to be initialized is completed. Initialization processing execution means for allowing startup of the operating system when detecting
When the initialization processing of one peripheral device by the initialization processing execution means is completed normally, the initialization target specific parameter value corresponding to this peripheral device is held in the one indicating the execution of the initialization processing. If the initialization processing of one peripheral device by the initialization processing execution means does not end normally, at least before the computer is restarted, the initialization target specific parameter value corresponding to this peripheral device is initialized. A computer starting system comprising parameter rewriting means for rewriting to indicate that non-execution processing is not executed.

〔付記2〕
前記パラメータ書換手段は、前記初期化処理実行手段による初期化処理の開始に際し、その時点で初期化処理の対象となる周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換え、前記初期化処理実行手段による初期化処理が正常に終了した場合に限って初期化処理の対象となった周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに書き換えるように構成されていることを特徴とした付記1記載のコンピュータ起動システム。
[Appendix 2]
When the initialization process is started by the initialization process execution unit, the parameter rewriting unit sets the initialization target specific parameter value corresponding to the peripheral device that is the target of the initialization process to the non-execution of the initialization process. The initialization target specific parameter value corresponding to the peripheral device subjected to the initialization process is executed only when the initialization process by the initialization process execution means is normally completed. The computer start-up system according to appendix 1, wherein the computer start-up system is configured so as to be rewritten to indicate the above.

〔付記3〕
前記周辺装置がUSB機器であって、前記初期化候補特定パラメータはUSB機器のポート名称であることを特徴とした付記1または付記2のうち何れか一項に記載のコンピュータ起動システム。
[Appendix 3]
The computer activation system according to any one of Supplementary Note 1 and Supplementary Note 2, wherein the peripheral device is a USB device, and the initialization candidate specifying parameter is a port name of the USB device.

〔付記4〕
前記コンピュータ起動システムがベイシック・インプット・アウトプット・システムに組み込まれ、前記パラメータ記憶手段は前記コンピュータのベイシック・インプット・アウトプット・システム用のCMOSメモリによって構成されていることを特徴とした付記1,付記2または付記3のうち何れか一項に記載のコンピュータ起動システム。
[Appendix 4]
Appendix 1, wherein the computer startup system is incorporated into a basic input / output system, and the parameter storage means is constituted by a CMOS memory for the basic input / output system of the computer. The computer activation system according to any one of Appendix 2 or Appendix 3.

〔付記5〕
予め設定された順序に従ってコンピュータの起動時に周辺装置の初期化処理を実行し、初期化処理の対象とされた全ての周辺装置の初期化処理が正常に終了した場合にはコンピュータのオペレーティング・システムを起動する一方、何れかの初期化処理が正常に終了しなかった場合にはコンピュータを再起動して前記予め設定された順序に従って周辺装置の初期化処理を繰り返し実行するコンピュータ起動システムに配備されたマイクロプロセッサを、
初期化処理を実行すべき周辺装置として設定された周辺装置の各々を特定する初期化候補特定パラメータと前記設定された周辺装置の各々に対応して実際に初期化処理を実行するか否かを特定する初期化対象特定パラメータとを不揮発的に記憶するパラメータ記憶手段に記憶された初期化候補特定パラメータに対応する周辺装置のうち、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対してのみ順に初期化処理を実行し、その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了しなかった場合には、コンピュータを再起動し、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対して改めて最初から順に初期化処理を実行する一方、初期化処理の対象とされている最後の周辺装置の初期化処理の完了を検知すると前記オペレーティング・システムの起動を許容する初期化処理実行手段、および、
前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了した場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに保持する一方、前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了しなかった場合には、少なくともコンピュータの再起動前に、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換えるパラメータ書換手段として機能させることを特徴とするコンピュータ起動プログラム。
[Appendix 5]
When the computer is started up according to a preset order, the peripheral device initialization process is executed, and when the initialization process of all the peripheral devices targeted for the initialization process ends normally, the computer operating system is On the other hand, if any of the initialization processes did not end normally, the computer was restarted and deployed in a computer activation system that repeatedly performed the initialization process of peripheral devices according to the preset order Microprocessor,
An initialization candidate specifying parameter for specifying each of the peripheral devices set as peripheral devices to execute the initialization process, and whether or not the initialization processing is actually executed corresponding to each of the set peripheral devices. Among the peripheral devices corresponding to the initialization candidate specific parameters stored in the parameter storage means for storing the initialization target specific parameters to be specified in a nonvolatile manner, the setting of the corresponding initialization target specific parameters executes the initialization process. If the initialization processing is executed in order only for the peripheral devices that are shown, and the initialization processing of the peripheral device that is the target of the initialization processing at that time does not end normally, the computer Execute the initialization process again from the beginning for the peripheral device whose corresponding initialization target specific parameter setting indicates the execution of the initialization process. That one, initializing process execution means allowing to detect the completion of the initialization process of the last peripheral devices that are subject to the initialization process the activation of the operating system and,
When the initialization processing of one peripheral device by the initialization processing execution means is completed normally, the initialization target specific parameter value corresponding to this peripheral device is held in the one indicating the execution of the initialization processing. If the initialization processing of one peripheral device by the initialization processing execution means does not end normally, at least before the computer is restarted, the initialization target specific parameter value corresponding to this peripheral device is initialized. A computer startup program that functions as a parameter rewriting unit that rewrites a program that indicates non-execution of a computerization process.

〔付記6〕
前記パラメータ書換手段は、前記初期化処理実行手段による初期化処理の開始に際し、その時点で初期化処理の対象となる周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換え、前記初期化処理実行手段による初期化処理が正常に終了した場合に限って初期化処理の対象となった周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに書き換えるように構成されていることを特徴とした付記5記載のコンピュータ起動プログラム。
[Appendix 6]
When the initialization process is started by the initialization process execution unit, the parameter rewriting unit sets the initialization target specific parameter value corresponding to the peripheral device that is the target of the initialization process to the non-execution of the initialization process. The initialization target specific parameter value corresponding to the peripheral device subjected to the initialization process is executed only when the initialization process by the initialization process execution means is normally completed. The computer startup program according to appendix 5, wherein the computer startup program is configured to be rewritten to indicate the above.

〔付記7〕
前記周辺装置がUSB機器であって、前記初期化候補特定パラメータはUSB機器のポート名称であることを特徴とした付記5または付記6のうち何れか一項に記載のコンピュータ起動プログラム。
[Appendix 7]
The computer startup program according to any one of appendix 5 or appendix 6, wherein the peripheral device is a USB device, and the initialization candidate specifying parameter is a port name of the USB device.

〔付記8〕
付記5,付記6または付記7のうち何れか一項に記載のコンピュータ起動プログラムがベイシック・インプット・アウトプット・システムのリード・オンリー・メモリのブートブロックに格納されると共に、前記パラメータ記憶手段が前記ベイシック・インプット・アウトプット・システム用のCMOSメモリによって構成されていることを特徴としたコンピュータ。
[Appendix 8]
The computer startup program according to any one of appendix 5, appendix 6 and appendix 7 is stored in a boot block of a read-only memory of a basic input / output system, and the parameter storage means A computer comprising a CMOS memory for a basic input / output system.

〔付記9〕
予め設定された順序に従ってコンピュータの起動時に周辺装置の初期化処理を実行し、初期化処理の対象とされた全ての周辺装置の初期化処理が正常に終了した場合にはコンピュータのオペレーティング・システムを起動する一方、何れかの初期化処理が正常に終了しなかった場合にはコンピュータを再起動して前記予め設定された順序に従って周辺装置の初期化処理を繰り返し実行するコンピュータ起動方法において、
初期化処理を実行すべき周辺装置として設定された周辺装置の各々を特定する初期化候補特定パラメータと前記設定された周辺装置の各々に対応して実際に初期化処理を実行するか否かを特定する初期化対象特定パラメータとを前記コンピュータのパラメータ記憶手段に予め不揮発的に記憶させておき、
前記パラメータ記憶手段に記憶された初期化候補特定パラメータに対応する周辺装置のうち、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対してのみ順に初期化処理を実行し、その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了した場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに保持する一方、
その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了しなかった場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換えてからコンピュータを再起動し、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対して改めて最初から順に初期化処理を実行し、
初期化処理の対象とされている最後の周辺装置の初期化処理の完了を検知すると、前記オペレーティング・システムの起動を許容することを特徴としたコンピュータ起動方法。
[Appendix 9]
When the computer is started up according to a preset order, the peripheral device initialization process is executed, and when the initialization process of all the peripheral devices targeted for the initialization process ends normally, the computer operating system is On the other hand, in the computer startup method of restarting the computer and repeatedly executing the initialization processing of the peripheral device according to the preset order when any of the initialization processing does not end normally,
An initialization candidate specifying parameter for specifying each of the peripheral devices set as peripheral devices to execute the initialization process, and whether or not the initialization processing is actually executed corresponding to each of the set peripheral devices. The initialization target specific parameter to be specified is stored in advance in a non-volatile manner in the parameter storage means of the computer,
Of the peripheral devices corresponding to the initialization candidate specific parameters stored in the parameter storage means, only the peripheral devices whose corresponding initialization target specific parameters are set to indicate the execution of the initialization process. When initialization processing is executed and the initialization processing of the peripheral device that is the target of initialization processing at that time ends normally, the initialization target specific parameter value corresponding to this peripheral device is initialized. While holding on to indicate the execution of the process,
If the initialization processing of the peripheral device that is the target of initialization processing at that time does not end normally, the initialization target specific parameter value corresponding to this peripheral device is not executed. Reboot the computer after rewriting it to the one shown, execute the initialization process in order from the beginning again for the peripheral device whose corresponding initialization target specific parameter setting indicates the execution of the initialization process,
A computer booting method characterized by permitting booting of the operating system upon detecting completion of initialization processing of the last peripheral device to be initialized.

〔付記10〕
初期化処理の開始に際し、その時点で初期化処理の対象となる周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換え、初期化処理が正常に終了した場合に限って初期化処理の対象となった周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに書き換えることを特徴とした付記9記載のコンピュータ起動方法。
[Appendix 10]
When starting the initialization process, the value of the initialization target specific parameter corresponding to the peripheral device that is the target of the initialization process was rewritten to indicate that the initialization process was not executed, and the initialization process ended normally The computer startup method according to appendix 9, wherein the initialization target specific parameter value corresponding to the peripheral device that is the target of the initialization process is rewritten only to indicate the execution of the initialization process.

〔付記11〕
前記周辺装置がUSB機器であって、前記初期化候補特定パラメータはUSB機器のポート名称であることを特徴とした付記9または付記10のうち何れか一項に記載のコンピュータ起動方法。
[Appendix 11]
The computer activation method according to any one of Supplementary Note 9 and Supplementary Note 10, wherein the peripheral device is a USB device, and the initialization candidate specifying parameter is a port name of the USB device.

〔付記12〕
前記パラメータ記憶手段として前記コンピュータのベイシック・インプット・アウトプット・システム用のCMOSメモリを利用することを特徴とした付記9,付記10または付記11のうち何れか一項に記載のコンピュータ起動方法。
[Appendix 12]
12. The computer activation method according to any one of Supplementary Note 9, Supplementary Note 10, and Supplementary Note 11, wherein a CMOS memory for a basic input / output system of the computer is used as the parameter storage means.

この発明は、各種のコンピュータ、特に、周辺装置の初期化の失敗をリカバリーするための再起動の所要時間がロスタイムとして問題となるような組込み系のコンピュータおよび機器に適する。   The present invention is suitable for various computers, in particular, embedded computers and devices in which the time required for restarting to recover from failure in initialization of peripheral devices becomes a problem as loss time.

1 コンピュータ
2 マイクロプロセッサ(初期化処理実行手段,パラメータ書換手段)
3 リード・オンリー・メモリ(ROM)
4 CMOSメモリ(パラメータ記憶手段)
5 ランダム・アクセス・メモリ(RAM)
6 ハードディスクドライブ
7 入出力インターフェイス
8 入出力回路
9 キーボード
10 マウス
11 ディスプレイ
12 プリンタ
13 パラメータ記憶テーブル
A コンピュータ起動システム
B パラメータ記憶手段
C 初期化処理実行手段
D パラメータ書換手段
M(i) 周辺装置(USB機器)
#(i) 初期化候補特定パラメータ(ポート名称)
F(i) 初期化対象特定パラメータ
i ポート選択指標
1 Computer 2 Microprocessor (initialization processing execution means, parameter rewriting means)
3 Read-only memory (ROM)
4 CMOS memory (parameter storage means)
5 Random access memory (RAM)
6 Hard disk drive 7 Input / output interface 8 Input / output circuit 9 Keyboard 10 Mouse 11 Display 12 Printer 13 Parameter storage table A Computer activation system B Parameter storage means C Initialization execution means D Parameter rewriting means M (i) Peripheral device (USB device) )
# (I) Initialization candidate specific parameter (port name)
F (i) Initialization target specific parameter i Port selection index

Claims (7)

初期化処理を実行すべき周辺装置として設定された周辺装置の各々を特定する初期化候補特定パラメータと前記設定された周辺装置の各々に対応して実際に初期化処理を実行するか否かを特定する初期化対象特定パラメータとを不揮発的に記憶するパラメータ記憶手段と、
前記パラメータ記憶手段に記憶された初期化候補特定パラメータに対応する周辺装置のうち、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対してのみ順に初期化処理を実行し、その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了しなかった場合には、コンピュータを再起動し、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対して改めて最初から順に初期化処理を実行する一方、初期化処理の対象とされている最後の周辺装置の初期化処理の完了を検知すると前記コンピュータのオペレーティング・システムの起動を許容する初期化処理実行手段と、
前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了した場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに保持する一方、前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了しなかった場合には、少なくともコンピュータの再起動前に、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換えるパラメータ書換手段とを備え
前記パラメータ書換手段は、前記初期化処理実行手段による初期化処理の開始に際し、その時点で初期化処理の対象となる周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換え、前記初期化処理実行手段による初期化処理が正常に終了した場合に限って初期化処理の対象となった周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに書き換えるように構成されていることを特徴とするコンピュータ起動システム。
An initialization candidate specifying parameter for specifying each of the peripheral devices set as peripheral devices to execute the initialization process, and whether or not the initialization processing is actually executed corresponding to each of the set peripheral devices. Parameter storage means for storing the initialization target specific parameters to be specified in a nonvolatile manner;
Of the peripheral devices corresponding to the initialization candidate specific parameters stored in the parameter storage means, only the peripheral devices whose corresponding initialization target specific parameters are set to indicate the execution of the initialization process. If initialization processing is executed and the initialization processing of the peripheral device that is the target of initialization processing at that time does not end normally, the computer is restarted and the corresponding initialization target specific parameter The peripheral device whose setting indicates the execution of initialization processing is executed again in order from the beginning, while the initialization processing of the last peripheral device to be initialized is completed. Initialization processing execution means for allowing startup of the operating system of the computer when detecting
When the initialization processing of one peripheral device by the initialization processing execution means is completed normally, the initialization target specific parameter value corresponding to this peripheral device is held in the one indicating the execution of the initialization processing. If the initialization processing of one peripheral device by the initialization processing execution means does not end normally, at least before the computer is restarted, the initialization target specific parameter value corresponding to this peripheral device is initialized. Parameter rewriting means for rewriting to indicate that non-execution processing is not performed ,
When the initialization process is started by the initialization process execution unit, the parameter rewriting unit sets the initialization target specific parameter value corresponding to the peripheral device that is the target of the initialization process to the non-execution of the initialization process. The initialization target specific parameter value corresponding to the peripheral device subjected to the initialization process is executed only when the initialization process by the initialization process execution means is normally completed. A computer start system characterized in that the computer start system is configured to be rewritten to indicate the above .
前記周辺装置がUSB機器であって、前記初期化候補特定パラメータはUSB機器のポート名称であることを特徴とした請求項1に記載のコンピュータ起動システム。 The computer activation system according to claim 1 , wherein the peripheral device is a USB device, and the initialization candidate specifying parameter is a port name of the USB device. 前記コンピュータ起動システムがベイシック・インプット・アウトプット・システムに組み込まれ、前記パラメータ記憶手段は前記コンピュータのベイシック・インプット・アウトプット・システム用のCMOSメモリによって構成されていることを特徴とした請求項1または請求項2に記載のコンピュータ起動システム。 2. The computer start system is incorporated in a basic input / output system, and the parameter storage means is constituted by a CMOS memory for the basic input / output system of the computer. Or the computer starting system of Claim 2 . コンピュータのマイクロプロセッサを、
初期化処理を実行すべき周辺装置として設定された周辺装置の各々を特定する初期化候補特定パラメータと前記設定された周辺装置の各々に対応して実際に初期化処理を実行するか否かを特定する初期化対象特定パラメータとを不揮発的に記憶するパラメータ記憶手段に記憶された初期化候補特定パラメータに対応する周辺装置のうち、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対してのみ順に初期化処理を実行し、その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了しなかった場合には、コンピュータを再起動し、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対して改めて最初から順に初期化処理を実行する一方、初期化処理の対象とされている最後の周辺装置の初期化処理の完了を検知すると前記コンピュータのオペレーティング・システムの起動を許容する初期化処理実行手段、および、
前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了した場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに保持する一方、前記初期化処理実行手段による1つの周辺装置の初期化処理が正常に終了しなかった場合には、少なくともコンピュータの再起動前に、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換えるパラメータ書換手段として機能させ
前記パラメータ書換手段は、前記初期化処理実行手段による初期化処理の開始に際し、その時点で初期化処理の対象となる周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換え、前記初期化処理実行手段による初期化処理が正常に終了した場合に限って初期化処理の対象となった周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに書き換えるように構成されていることを特徴とするコンピュータ起動プログラム。
Computer microprocessor,
An initialization candidate specifying parameter for specifying each of the peripheral devices set as peripheral devices to execute the initialization process, and whether or not the initialization processing is actually executed corresponding to each of the set peripheral devices. Among the peripheral devices corresponding to the initialization candidate specific parameters stored in the parameter storage means for storing the initialization target specific parameters to be specified in a nonvolatile manner, the setting of the corresponding initialization target specific parameters executes the initialization process. If the initialization processing is executed in order only for the peripheral devices that are shown, and the initialization processing of the peripheral device that is the target of the initialization processing at that time does not end normally, the computer Execute the initialization process again from the beginning for the peripheral device whose corresponding initialization target specific parameter setting indicates the execution of the initialization process. That one, initialization processing execution means for permitting activation of the operating system of the computer to detect the completion of the initialization process of the last peripheral devices that are subject to the initialization process and,
When the initialization processing of one peripheral device by the initialization processing execution means is completed normally, the initialization target specific parameter value corresponding to this peripheral device is held in the one indicating the execution of the initialization processing. If the initialization processing of one peripheral device by the initialization processing execution means does not end normally, at least before the computer is restarted, the initialization target specific parameter value corresponding to this peripheral device is initialized. to function as a parameter rewriting means for rewriting the indicates the non-execution of the process,
When the initialization process is started by the initialization process execution unit, the parameter rewriting unit sets the initialization target specific parameter value corresponding to the peripheral device that is the target of the initialization process to the non-execution of the initialization process. The initialization target specific parameter value corresponding to the peripheral device subjected to the initialization process is executed only when the initialization process by the initialization process execution means is normally completed. A computer start program characterized by being configured to be rewritten to indicate the above .
前記周辺装置がUSB機器であって、前記初期化候補特定パラメータはUSB機器のポート名称であることを特徴とした請求項4に記載のコンピュータ起動プログラム。 The computer startup program according to claim 4 , wherein the peripheral device is a USB device, and the initialization candidate specifying parameter is a port name of the USB device. 請求項4または請求項5のうち何れか一項に記載のコンピュータ起動プログラムがベイシック・インプット・アウトプット・システムのリード・オンリー・メモリのブートブロックに格納されると共に、前記パラメータ記憶手段が前記ベイシック・インプット・アウトプット・システム用のCMOSメモリによって構成されていることを特徴としたコンピュータ。 6. The computer startup program according to claim 4 or 5 is stored in a boot block of a read-only memory of a basic input / output system, and the parameter storage means is the basic memory. A computer characterized by a CMOS memory for an input / output system. 初期化処理を実行すべき周辺装置として設定された周辺装置の各々を特定する初期化候補特定パラメータと前記設定された周辺装置の各々に対応して実際に初期化処理を実行するか否かを特定する初期化対象特定パラメータとをコンピュータのパラメータ記憶手段に予め不揮発的に記憶させておき、
前記パラメータ記憶手段に記憶された初期化候補特定パラメータに対応する周辺装置のうち、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対してのみ順に初期化処理を実行し、その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了した場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに保持する一方、
その時点で初期化処理の対象とされている周辺装置の初期化処理が正常に終了しなかった場合には、この周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換えてからコンピュータを再起動し、対応する初期化対象特定パラメータの設定が初期化処理の実行を示すものとなっている周辺装置に対して改めて最初から順に初期化処理を実行し、
初期化処理の対象とされている最後の周辺装置の初期化処理の完了を検知すると、前記コンピュータのオペレーティング・システムの起動を許容し、
初期化処理の開始に際し、その時点で初期化処理の対象となる周辺装置に対応する初期化対象特定パラメータの値を初期化処理の非実行を示すものに書き換え、初期化処理が正常に終了した場合に限って初期化処理の対象となった周辺装置に対応する初期化対象特定パラメータの値を初期化処理の実行を示すものに書き換えることを特徴としたコンピュータ起動方法。
An initialization candidate specifying parameter for specifying each of the peripheral devices set as peripheral devices to execute the initialization process, and whether or not the initialization processing is actually executed corresponding to each of the set peripheral devices. The initialization target specific parameters to be specified are stored in advance in a non-volatile manner in the parameter storage means of the computer,
Of the peripheral devices corresponding to the initialization candidate specific parameters stored in the parameter storage means, only the peripheral devices whose corresponding initialization target specific parameters are set to indicate the execution of the initialization process. When initialization processing is executed and the initialization processing of the peripheral device that is the target of initialization processing at that time ends normally, the initialization target specific parameter value corresponding to this peripheral device is initialized. While holding on to indicate the execution of the process,
If the initialization processing of the peripheral device that is the target of initialization processing at that time does not end normally, the initialization target specific parameter value corresponding to this peripheral device is not executed. Reboot the computer after rewriting it to the one shown, execute the initialization process in order from the beginning again for the peripheral device whose corresponding initialization target specific parameter setting indicates the execution of the initialization process,
Upon detecting the completion of the initialization process of the last peripheral device that is the object of the initialization process, the operating system of the computer is allowed to start ,
When starting the initialization process, the value of the initialization target specific parameter corresponding to the peripheral device that is the target of the initialization process was rewritten to indicate that the initialization process was not executed, and the initialization process ended normally A computer startup method characterized by rewriting the value of an initialization target specific parameter corresponding to a peripheral device that is the target of initialization processing only to a case that indicates execution of the initialization processing .
JP2012259740A 2012-11-28 2012-11-28 Computer start system, computer start program, computer, and computer start method Active JP6072521B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012259740A JP6072521B2 (en) 2012-11-28 2012-11-28 Computer start system, computer start program, computer, and computer start method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012259740A JP6072521B2 (en) 2012-11-28 2012-11-28 Computer start system, computer start program, computer, and computer start method

Publications (2)

Publication Number Publication Date
JP2014106772A JP2014106772A (en) 2014-06-09
JP6072521B2 true JP6072521B2 (en) 2017-02-01

Family

ID=51028197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012259740A Active JP6072521B2 (en) 2012-11-28 2012-11-28 Computer start system, computer start program, computer, and computer start method

Country Status (1)

Country Link
JP (1) JP6072521B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6567912B1 (en) * 2000-03-31 2003-05-20 Motorola, Inc. Method and apparatus for robust initialization of devices
JP2007172096A (en) * 2005-12-20 2007-07-05 Hitachi Ltd Information processor and start control method
JP2012058879A (en) * 2010-09-07 2012-03-22 Toshiba Corp Operating system boot management device

Also Published As

Publication number Publication date
JP2014106772A (en) 2014-06-09

Similar Documents

Publication Publication Date Title
JP5575338B2 (en) Information processing apparatus, information processing method, and computer program
US9367692B2 (en) System and method for validating components during a booting process
US9703635B2 (en) Method, computer program, and computer for restoring set of variables
TWI501253B (en) Handling errors during device bootup from a non-volatile memory
US20040158702A1 (en) Redundancy architecture of computer system using a plurality of BIOS programs
US20080010446A1 (en) Portable apparatus supporting multiple operating systems and supporting method therefor
JP2016164785A (en) Secure recovery apparatus and method
CN106775610B (en) Electronic equipment starting method and electronic equipment
US10146626B2 (en) Detecting and handling an expansion card fault during system initialization
US10083084B2 (en) Method of error detecting during a booting process, and a computer system for implementing the same
CN110737481A (en) Starting method of embedded LINUX operating system based on multiple backup bootstrap programs
CN106775674B (en) Equipment based on universal boot loader and starting method thereof
KR20110055841A (en) Recovery method of system and apparatus for supplying the same
JP2020535504A (en) How to upgrade system version and equipment
JP7393226B2 (en) Information processing equipment and how to start it
KR20230091660A (en) Method and apparatus for verify software integrity
JP2022142263A (en) Information processing apparatus and information processing program
JP6021597B2 (en) Information processing apparatus, information processing method, and computer program
JP2014099097A5 (en)
JP6072521B2 (en) Computer start system, computer start program, computer, and computer start method
Kovacev et al. Implementation of Disaster recovery agent within Android based set-top box
TWI775578B (en) Embedded electronic devices, boot method and embedded electronic devices readable medium with stored programs
EP3798831B1 (en) Resilient upgradable boot loader with power reset
US20150355914A1 (en) Information processing apparatus and program
JP2003122575A (en) Information processing unit

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20140813

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151015

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160726

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160923

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161228

R150 Certificate of patent or registration of utility model

Ref document number: 6072521

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150