JP2003122647A - Information processor - Google Patents

Information processor

Info

Publication number
JP2003122647A
JP2003122647A JP2001314156A JP2001314156A JP2003122647A JP 2003122647 A JP2003122647 A JP 2003122647A JP 2001314156 A JP2001314156 A JP 2001314156A JP 2001314156 A JP2001314156 A JP 2001314156A JP 2003122647 A JP2003122647 A JP 2003122647A
Authority
JP
Japan
Prior art keywords
ram disk
storage means
file
contents
main storage
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.)
Granted
Application number
JP2001314156A
Other languages
Japanese (ja)
Other versions
JP4055386B2 (en
Inventor
Atsushi Setsutsu
敦 攝津
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2001314156A priority Critical patent/JP4055386B2/en
Publication of JP2003122647A publication Critical patent/JP2003122647A/en
Application granted granted Critical
Publication of JP4055386B2 publication Critical patent/JP4055386B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an information processor where the contents of an RAM disk on a main storage means can be prevented from being erased even when a power source is unintentionally interrupted due to a failure or the like. SOLUTION: An OS program stored in a secondary storage device 2 and the contents of an RAM disk are loaded to a main storage means 3 when the information processor is started, and the changed RAM disk contents obtained by adding the executed result of the OS program to the RAM disk contents are stored in the main storage means 3, and the changed RAM disk contents stored in the main storage means 3 are stored in the secondary storage device 2 at the time of detecting failure.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、異常発生時の情
報処理装置1の復元方式に関し、特にRAMディスクの
復元方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of restoring the information processing apparatus 1 when an abnormality occurs, and more particularly to a method of restoring a RAM disk.

【0002】[0002]

【従来の技術】情報処理装置1において、ファイルの保
存場所として考えられる装置としてHDDがあるが、H
DDの場合、リセットなどで内容が消去されないもの
の、アクセスが低速であるという欠点がある。そこで、
OSやプログラムが配置され、高速にアクセスできる主
記憶の一部をファイル保存場所として扱うことができる
RAMディスクが考え出されたが、RAMディスクの場
合、情報処理装置1の電源OFF又はリセットなどによ
り、データが消去される問題があった。
2. Description of the Related Art In the information processing apparatus 1, an HDD is considered as a device for storing files.
In the case of DD, although the contents are not erased by reset or the like, there is a drawback that the access is slow. Therefore,
A RAM disk has been devised in which the OS and programs are arranged and a part of the main memory that can be accessed at high speed can be treated as a file storage location. However, in the case of a RAM disk, the information processing apparatus 1 is powered off or reset. , There was a problem that the data is erased.

【0003】これを解決する方式の1つとして、例え
ば、特開平9−244934号公報に記載の従来の媒体
環境更新装置がある。図22は、この従来の媒体環境更
新装置の構成図である。図において、51はコンピュー
タプログラムにより実現される媒体環境更新装置、52
はメモリカード、53はRAMディスクを示す。メモリ
カード52およびRAMディスク53には、それぞれの
記憶領域を監視して環境構築情報(システムのバージョ
ン情報)や記憶情報の移行情報を管理するための更新管
理フラグを管理する情報管理部21、31が設けられて
いる。
As one of the methods for solving this, for example, there is a conventional medium environment updating device described in JP-A-9-244934. FIG. 22 is a block diagram of this conventional medium environment updating apparatus. In the figure, reference numeral 51 denotes a medium environment updating device realized by a computer program, and 52.
Is a memory card, and 53 is a RAM disk. In the memory card 52 and the RAM disk 53, information management units 21 and 31 for managing respective storage areas and managing update management flags for managing environment construction information (system version information) and storage information migration information. Is provided.

【0004】また、媒体環境更新装置51には、実装さ
れたメモリカード52やRAMディスク53の環境やそ
の更新状況、あるいは記憶情報等を管理する媒体管理部
61と、この媒体管理部61における処理の実行状況を
表す更新管理フラグを生成する更新管理フラグ設定部6
2と、処理中断後の再起動時に中断チェック処理を行っ
て所要の後続処理を振り分ける処理振り分け部63と、
媒体管理部61における処理の中断を検出する処理中断
検出部64と、各部61〜64の起動及び実行制御を行
う主制御部15とから構成される。媒体管理部61は、
媒体評価部91、媒体初期化部92、情報変換処理部9
3、及び情報転送部94を備えている。
In the medium environment updating device 51, a medium management unit 61 for managing the environment of the mounted memory card 52 and RAM disk 53, the update status thereof, stored information, and the like, and the processing in the medium management unit 61. Update management flag setting unit 6 that generates an update management flag indicating the execution status of
2, and a process distribution unit 63 that performs a stop check process at the time of restart after the process is interrupted and distributes required subsequent processes,
The medium management unit 61 includes a process interruption detection unit 64 that detects interruption of processing, and a main control unit 15 that controls activation and execution of the units 61 to 64. The medium management unit 61
Medium evaluation unit 91, medium initialization unit 92, information conversion processing unit 9
3 and an information transfer unit 94.

【0005】図22の例では、メモリカード52の新環
境をRAMディスク53に移行する際に、処理内にチェ
ックポイントを設け、メモリカード52およびRAMデ
ィスク53への更新処理が終了する度に、メモリカード
52およびRAMディスク53内の不揮発性の情報管理
部71、81に現在の状態を書き込む。不意の電源断や
情報処理装置1の故障により、情報処理装置1が再起動
されると、情報管理部71、81の情報から電源断前の
作業状態を知ることにより、移行処理の途中から作業を
行うことができるようにしたものである。
In the example of FIG. 22, when a new environment of the memory card 52 is transferred to the RAM disk 53, a checkpoint is provided in the processing, and each time the update processing to the memory card 52 and the RAM disk 53 is completed, The current state is written in the nonvolatile information management units 71 and 81 in the memory card 52 and the RAM disk 53. When the information processing apparatus 1 is restarted due to an unexpected power failure or a failure of the information processing apparatus 1, the work state before the power is cut off is known from the information of the information management units 71 and 81. Is something that can be done.

【0006】[0006]

【発明が解決しようとする課題】以上のように従来の媒
体環境更新装置では、メモリカード52およびRAMデ
ィスク53への更新処理が終了する度に、メモリカード
52およびRAMディスク53内の不揮発性の情報管理
部71、81に現在の状態を書き込むものの、故障など
の不意の電源断によっては、前回書き込みから次回書き
込みまでの情報、即ち実行中のメモリカード52やRA
Mディスク53の内容の一部が消去してしまうという課
題があった。
As described above, in the conventional medium environment updating apparatus, each time the updating process for the memory card 52 and the RAM disk 53 is completed, the nonvolatile memory in the memory card 52 and the RAM disk 53 is changed. Although the current state is written in the information management units 71 and 81, the information from the previous writing to the next writing, that is, the memory card 52 and RA being executed, may be written due to an unexpected power failure such as a failure.
There is a problem that a part of the contents of the M disc 53 is erased.

【0007】この発明は、上記のような課題を解消する
ためになされたもので、故障などによる不意の電源断が
生じても、主記憶手段3上のRAMディスクの内容が消
去されない情報処理装置を提供することを目的とする。
The present invention has been made in order to solve the above problems, and the information processing apparatus in which the contents of the RAM disk in the main storage means 3 are not erased even if the power is suddenly cut off due to a failure or the like. The purpose is to provide.

【0008】[0008]

【課題を解決するための手段】第1の発明は、OSプロ
グラムとRAMディスクとが格納された二次記憶手段
と、上記OSプログラムと上記RAMディスクのRAM
ディスク内容とを起動時にロードするOSファイルロー
ド手段と、上記OSファイルロード手段によりロードさ
れた上記OSプログラムにより実行された実行結果を上
記OSファイルロード手段によりロードされた上記RA
Mディスク内容に追加した変更RAMディスク内容を格
納する主記憶手段と、故障を検出する故障検出手段と、
上記故障検出手段による故障検出時に、上記主記憶手段
に格納された上記変更RAMディスク内容を上記二次記
憶手段の上記RAMディスクに保存する保存手段とを備
えたものである。
According to a first aspect of the present invention, a secondary storage means in which an OS program and a RAM disk are stored, the OS program and the RAM of the RAM disk.
An OS file loading means for loading the contents of the disk at startup, and the RA loaded by the OS file loading means for the execution result executed by the OS program loaded by the OS file loading means.
Main memory means for storing the contents of the modified RAM disk added to the contents of the M disk; failure detection means for detecting a failure;
When the failure detection means detects a failure, the storage means is provided for saving the contents of the modified RAM disk stored in the main storage means in the RAM disk of the secondary storage means.

【0009】第2の発明は、上記主記憶手段に格納され
た上記変更RAMディスク内容を保存するRAMディス
ク保存手段と、上記RAMディスク保存手段に保存され
た上記変更RAMディスク内容を上記主記憶手段にロー
ドするRAMディスク復元手段とを備え、上記保存手段
は、上記故障検出手段による故障検出時に、上記主記憶
手段に格納された上記変更RAMディスク内容を上記R
AMディスク保存手段に保存するものである。
A second aspect of the present invention is a RAM disk storage unit for storing the modified RAM disk contents stored in the main storage unit, and the modified RAM disk contents stored in the RAM disk storage unit for the main storage unit. RAM disk restoring means for loading the modified RAM disk contents stored in the main storage means upon detection of a failure by the failure detecting means.
It is stored in the AM disk storage means.

【0010】第3の発明は、上記RAMディスク保存手
段に保存された上記変更RAMディスク内容を上記主記
憶手段にロードし、上記OSファイルロード手段により
上記主記憶手段にロードされた上記RAMディスク内容
に上記上記変更RAMディスク内容を上書きするRAM
ディスク復元手段を備えたものである。
A third aspect of the invention is to load the modified RAM disk content stored in the RAM disk storage means into the main storage means and load the RAM disk content into the main storage means by the OS file loading means. RAM for overwriting the contents of the above modified RAM disk
It is provided with a disk restoring means.

【0011】第4の発明は、上記二次記憶手段に保存さ
れた上記OSプログラムを起動時に上記主記憶手段にロ
ードするOSファイルロード手段と、上記RAMディス
ク保存手段に保存された上記変更RAMディスク内容を
起動時に上記主記憶手段にロードするRAMディスク復
元手段とを備えたものである。
According to a fourth aspect of the present invention, an OS file loading means for loading the OS program stored in the secondary storage means into the main storage means at startup, and the modified RAM disk stored in the RAM disk storage means. RAM disk restoring means for loading the contents into the main storage means at the time of startup is provided.

【0012】第5の発明は、上記RAMディスク保存に
保存された上記変更RAMディスク内容を上記主記憶手
段にロードするか、又は上記二次記憶手段に保存された
上記RAMディスクの内容を上記主記憶手段にロードす
るかを示す示すフラグを備え、上記RAMディスク復元
手段は、上記フラグに基づいて上記変更RAMディスク
内容又は上記RAMディスクの内容を起動時に上記主記
憶手段にロードするものである。
A fifth aspect of the present invention loads the modified RAM disk contents stored in the RAM disk storage into the main storage means, or loads the contents of the RAM disk stored in the secondary storage means into the main storage means. The RAM disk restoring means is provided with a flag indicating whether to load the storage means, and the RAM disk restoring means loads the changed RAM disk content or the RAM disk content into the main memory means at the time of start-up based on the flag.

【0013】第6の発明は、上記RAMディスクの内容
への読み書き操作実行中は上記RAMディスクの内容を
上記主記憶手段にロードする上記フラグを表示し、又上
記RAMディスクの内容への読み書き操作終了時は上記
変更RAMディスク内容を上記主記憶手段にロードする
上記フラグを表示するRAMディスク操作手段を備えた
ものである。
A sixth aspect of the present invention displays the flag for loading the contents of the RAM disk into the main memory during the read / write operation to the contents of the RAM disk, and the read / write operation to the contents of the RAM disk. At the end, the RAM disk operating means for displaying the flag for loading the changed RAM disk contents into the main memory means is provided.

【0014】第7の発明は、上記主記憶手段に格納され
た上記変更RAMディスク内容を圧縮する圧縮手段を有
する保存手段と、上記圧縮手段により圧縮された上記変
更RAMディスク内容を復元する復元手段を有するRA
Mディスク復元手段とを備えたものである。
A seventh aspect of the present invention is a storage means having a compression means for compressing the contents of the modified RAM disk stored in the main storage means, and a restoration means for restoring the contents of the modified RAM disk compressed by the compression means. RA with
And M disk restoring means.

【0015】第8の発明は、上記変更RAMディスク内
容が格納されるファイルの管理情報が記録されるファイ
ル管理情報ブロック領域とファイルデータが記録される
ファイルブロック領域とにより構成されたRAMディス
ク領域を有する主記憶手段と、上記ファイル管理情報ブ
ロック領域と上記ファイルブロック領域の中から上記変
更RAMディスク内容が格納されたファイルの管理情報
が記録された有効ファイル管理情報ブロックとファイル
データが記録されたファイルブロックとを検索するチェ
ック手段を備え、上記チェック手段により検索された上
記有効ファイル管理情報ブロックと上記有効ファイルブ
ロックとを上記RAMディスク保存手段に保存する保存
手段と、上記RAMディスク保存手段に保存された上記
有効ファイル管理情報ブロックと上記有効ファイルブロ
ックとに基づいてRAMディスクの内容を復元し、上記
主記憶手段にロードするディスク復元手段を有するRA
Mディスク復元手段とを備えたものである。
According to an eighth aspect of the present invention, there is provided a RAM disk area constituted by a file management information block area in which management information of a file in which the changed RAM disk contents are stored and a file block area in which file data is recorded. A main storage means, a file management information block area, and an effective file management information block in which management information of a file in which the contents of the modified RAM disk are stored from the file block area and the file data are recorded. A check means for searching a block, and a saving means for saving the valid file management information block and the valid file block searched by the checking means in the RAM disk saving means; and a saving means saved in the RAM disk saving means. Effective file management To restore the contents of the RAM disk on the basis of the distribution block and the valid file block, RA with disk restoration means for loading to the main memory means
And M disk restoring means.

【0016】第9の発明は、一定時間電気供給を行う小
容量バッテリを備え、上記故障検出手段は電源断を検出
し、上記保存手段は、上記故障検出手段により電源断が
検出されると、上記小容量バッテリによる一定時間の電
気供給に基づいて上記主記憶手段に格納された上記変更
RAMディスク内容を上記二次記憶手段の上記RAMデ
ィスクに保存するものである。
A ninth aspect of the present invention comprises a small capacity battery that supplies electricity for a certain period of time, wherein the failure detecting means detects a power failure, and the storage means detects a power failure by the failure detecting means. The contents of the modified RAM disk stored in the main storage means are stored in the RAM disk of the secondary storage means based on the electricity supply from the small capacity battery for a certain period of time.

【0017】[0017]

【発明の実施の形態】実施の形態1.以下、実施の形態
1を図を参照して説明する。図1は実施の形態1の情報
処理装置1の構成図である。図1において、1は情報処
理装置、2は二次記憶手段である二次記憶装置を示して
おり、二次記憶装置2には、OSプログラムが格納され
たOSファイル4が存在する。OSファイル4は、OS
プログラムそのものが格納されたOS領域6と、RAM
ディスクが格納されたRAMディスク領域7とで構成さ
れる。また、3は主記憶手段であり、情報処理装置1が
動作中の時には、OS領域6およびRAMディスク領域
7の内容が主記憶手段3に展開される。即ち、二次記憶
装置2のOS領域6に格納されたOSプログラムとRA
Mディスク領域7に格納されたRAMディスクの内容が
それぞれ主記憶手段3のOS領域12およびRAMディ
スク領域13に格納される。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiment 1. Hereinafter, the first embodiment will be described with reference to the drawings. FIG. 1 is a configuration diagram of the information processing device 1 according to the first embodiment. In FIG. 1, 1 denotes an information processing device and 2 denotes a secondary storage device which is a secondary storage means. The secondary storage device 2 has an OS file 4 in which an OS program is stored. OS file 4 is the OS
OS area 6 in which the program itself is stored, and RAM
It is composed of a RAM disk area 7 in which a disk is stored. Further, 3 is a main storage means, and the contents of the OS area 6 and the RAM disk area 7 are expanded in the main storage means 3 when the information processing apparatus 1 is operating. That is, the OS program and RA stored in the OS area 6 of the secondary storage device 2
The contents of the RAM disk stored in the M disk area 7 are stored in the OS area 12 and the RAM disk area 13 of the main storage means 3, respectively.

【0018】図1では、説明をし易くするため、主記憶
手段3とは別の位置にOS8を設置した例を示してい
る。OS8には、情報処理装置1の故障を検出する故障
検出手段9と、主記憶手段3上のRAMディスク領域1
3のRAMディスクの内容を保存する保存手段10とが
存在する。また、11は二次記憶装置2上のOSファイ
ル4の内容を主記憶手段3上に展開するためのOSファ
イルロード手段である。
FIG. 1 shows an example in which the OS 8 is installed at a position different from the main storage means 3 for ease of explanation. The OS 8 includes a failure detection unit 9 that detects a failure of the information processing apparatus 1 and a RAM disk area 1 on the main storage unit 3.
3 storage means 10 for storing the contents of the RAM disk. Reference numeral 11 denotes an OS file loading means for loading the contents of the OS file 4 on the secondary storage device 2 on the main storage means 3.

【0019】次に、情報処理装置1の起動時の動作につ
いて説明する。図2は、情報処理装置1の起動時の動作
を示す説明図である。情報処理装置1の電源がON、又
はH/Wリセットが入るとOSファイルロード手段11
が起動される(ステップS101)。OSファイルロー
ド手段11は、二次記憶装置2内にあるOSファイル4
を参照し、OS領域6に格納されたOSプログラムを主
記憶手段3上のOS領域12に、RAMディスク領域7
に格納されたRAMディスクの内容を主記憶手段3上の
RAMディスク領域13にそれぞれロードする(ステッ
プS102)。そして、OSファイルロード手段11
は、主記憶手段3上のOS領域12に格納されたOSプ
ログラムを実行することで、OS8が起動し(ステップ
S103)、情報処理装置1が動作状態になる。以上
が、情報処理装置1の起動時の動作である。
Next, the operation of the information processing apparatus 1 at the time of starting will be described. FIG. 2 is an explanatory diagram showing an operation at the time of starting the information processing device 1. When the power of the information processing apparatus 1 is turned on or the H / W reset is turned on, the OS file loading means 11
Is activated (step S101). The OS file loading means 11 uses the OS file 4 in the secondary storage device 2.
The OS program stored in the OS area 6 is stored in the OS area 12 on the main memory 3 and the RAM disk area 7
The contents of the RAM disk stored in are loaded into the RAM disk area 13 on the main storage means 3 (step S102). Then, the OS file loading means 11
By executing the OS program stored in the OS area 12 on the main storage means 3, the OS 8 is activated (step S103), and the information processing device 1 is put into operation. The above is the operation when the information processing apparatus 1 is activated.

【0020】ここで、情報処理装置1は、主記憶手段3
上のOS領域12に格納されたOSプログラムを実行す
ることによりOS8が起動しプログラムが実行される。
この実行結果が主記憶手段3上のRAMディスク領域1
3に格納されたRAMディスクの内容に追加されてRA
Mディスクの内容が変更される。即ち、この実行結果が
追加された変更RAMディスク内容が主記憶手段3上の
RAMディスク領域13に格納される。このように、主
記憶手段3上のRAMディスク領域13のRAMディス
ク内容は、情報処理装置1の実行に伴って変更されるも
のである。
Here, the information processing apparatus 1 includes the main storage means 3
By executing the OS program stored in the upper OS area 12, the OS 8 is activated and the program is executed.
The result of this execution is the RAM disk area 1 on the main storage means 3.
RA added to the contents of the RAM disk stored in 3.
The contents of the M disc are changed. That is, the contents of the modified RAM disk to which this execution result is added are stored in the RAM disk area 13 on the main storage means 3. As described above, the RAM disk contents of the RAM disk area 13 on the main storage means 3 are changed as the information processing apparatus 1 is executed.

【0021】次に、情報処理装置1の故障発生時の動作
について説明する。図3は、情報処理装置1の故障発生
時の動作を示す説明図である。情報処理装置1で故障が
発生すると(ステップS201)、OS8の故障検出手
段9が故障を検出する。故障検出手段9は、故障内容の
把握を行い、情報処理装置1を再起動しなければならな
いと判断した場合、保存手段10を起動し、保存手段1
0に主記憶手段3上のRAMディスク領域13の内容を
二次記憶装置2内のOSファイル4内にあるRAMディ
スク領域7に格納されたRAMディスクに保存するよう
指示をする(ステップS202)。
Next, the operation of the information processing apparatus 1 when a failure occurs will be described. FIG. 3 is an explanatory diagram showing an operation when a failure occurs in the information processing device 1. When a failure occurs in the information processing device 1 (step S201), the failure detecting means 9 of the OS 8 detects the failure. The failure detection means 9 recognizes the details of the failure, and when it determines that the information processing apparatus 1 needs to be restarted, it activates the storage means 10 to save the storage means 1.
0 is instructed to save the contents of the RAM disk area 13 in the main storage means 3 to the RAM disk stored in the RAM disk area 7 in the OS file 4 in the secondary storage device 2 (step S202).

【0022】保存手段10は、主記憶手段3上のRAM
ディスク領域13の内容を二次記憶装置2内のOSファ
イル4内にあるRAMディスク領域7に格納されたRA
Mディスクに保存する(ステップS203)。なおここ
で、保存される主記憶手段3上のRAMディスク領域1
3の内容は、OSプログラムを実行することにより生じ
た実行結果が元のRAMディスクの内容に追加された変
更RAMディスク内容である。保存完了後、情報処理装
置1にH/Wリセットがかかり、情報処理装置1が再起
動される。以上が、情報処理装置1の故障発生時の動作
である。
The storage means 10 is a RAM on the main storage means 3.
RA stored in the RAM disk area 7 in the OS file 4 in the secondary storage device 2
The data is stored in the M disc (step S203). Here, the RAM disk area 1 on the main storage means 3 to be stored
The content of 3 is the modified RAM disk content in which the execution result generated by executing the OS program is added to the content of the original RAM disk. After the storage is completed, the information processing device 1 is reset by H / W, and the information processing device 1 is restarted. The above is the operation when the information processing device 1 fails.

【0023】以上のように本実施の形態によれば、情報
処理装置1の故障発生時に主記憶手段3上のRAMディ
スク内容を二次記憶装置2にあるOSファイル4内のR
AMディスク領域7に格納されたRAMディスクに書き
込み保存し、情報処理装置1の起動時にRAMディスク
領域7に格納されたRAMディスクの内容を主記憶手段
3上のRAMディスク領域13にロードすることによ
り、情報処理装置1の再起動後に、故障発生前のRAM
ディスク内容が主記憶手段3に展開されるので、情報処
理装置1の故障発生による再起動でも、RAMディスク
の内容が消去されない情報処理装置1を得ることができ
る。
As described above, according to this embodiment, the contents of the RAM disk on the main storage means 3 are stored in the OS file 4 in the secondary storage device 2 when the failure of the information processing device 1 occurs.
By writing and saving in the RAM disk stored in the AM disk area 7 and loading the contents of the RAM disk stored in the RAM disk area 7 into the RAM disk area 13 on the main storage means 3 when the information processing apparatus 1 is started up. , RAM after the information processing device 1 is restarted and before the failure occurs
Since the disk contents are expanded in the main storage means 3, it is possible to obtain the information processing device 1 in which the contents of the RAM disk are not erased even when the information processing device 1 is restarted due to a failure.

【0024】実施の形態2.以下、実施の形態2を図を
参照して説明する。図4は、実施の形態2の情報処理装
置1の構成図であり、図1と同一符号は同一又は相当部
分を示し説明を省略する。図4において、情報処理装置
1は、主記憶手段3上のRAMディスク領域13の内容
を保存するRAMディスク保存手段であるRAMディス
ク保存ファイル14と、情報処理装置1の起動時にRA
Mディスク保存ファイル14を主記憶手段3上のRAM
ディスク領域13にロードするRAMディスク復元手段
15とを備えている。
Embodiment 2. Hereinafter, the second embodiment will be described with reference to the drawings. FIG. 4 is a configuration diagram of the information processing apparatus 1 according to the second embodiment, and the same reference numerals as those in FIG. 1 denote the same or corresponding parts, and description thereof will be omitted. In FIG. 4, the information processing apparatus 1 includes a RAM disk saving file 14 that is a RAM disk saving unit that saves the contents of the RAM disk area 13 on the main storage unit 3, and a RA disk when the information processing apparatus 1 is activated.
The M disk storage file 14 is stored in the RAM on the main storage means 3.
A RAM disk restoring means 15 to be loaded in the disk area 13 is provided.

【0025】次に、情報処理装置1の故障発生時の動作
について説明する。図5は、情報処理装置1の故障発生
時の動作を示す説明図である。情報処理装置1で故障が
発生すると(ステップS301)、OS8の故障検出手
段9が故障を検出する。故障検出手段9は、故障内容の
把握を行い、情報処理装置1を再起動しなければならな
いと判断した場合、保存手段10を起動し、保存手段1
0に主記憶手段3上のRAMディスク領域13の内容を
二次記憶装置2内のRAMディスク保存ファイル14に
保存するよう指示をする(ステップS302)。
Next, the operation when the information processing apparatus 1 fails will be described. FIG. 5 is an explanatory diagram showing an operation when a failure occurs in the information processing device 1. When a failure occurs in the information processing device 1 (step S301), the failure detecting means 9 of the OS 8 detects the failure. The failure detection means 9 recognizes the details of the failure, and when it determines that the information processing apparatus 1 needs to be restarted, it activates the storage means 10 to save the storage means 1.
0 is instructed to save the contents of the RAM disk area 13 on the main storage means 3 in the RAM disk save file 14 in the secondary storage device 2 (step S302).

【0026】保存手段10は、主記憶手段3上のRAM
ディスク領域13の内容を二次記憶装置2内のRAMデ
ィスク保存ファイル14に保存する(ステップS30
3)。なおここで、保存される主記憶手段3上のRAM
ディスク領域13の内容は、OSプログラムを実行する
ことにより生じた実行結果が元のRAMディスクの内容
に追加された変更RAMディスク内容である。保存完了
後、情報処理装置1にH/Wリセットがかかり、情報処
理装置1が再起動される。以上が、情報処理装置1の故
障発生時の動作である。
The storage means 10 is a RAM on the main storage means 3.
The contents of the disk area 13 are saved in the RAM disk save file 14 in the secondary storage device 2 (step S30).
3). Here, the RAM on the main storage means 3 to be stored
The content of the disk area 13 is the modified RAM disk content in which the execution result generated by executing the OS program is added to the content of the original RAM disk. After the storage is completed, the information processing device 1 is reset by H / W, and the information processing device 1 is restarted. The above is the operation when the information processing device 1 fails.

【0027】次に、情報処理装置1の起動時の動作につ
いて説明する。図6は、情報処理装置1の起動時の動作
を示す説明図である。情報処理装置1の電源がON、又
はH/Wリセットが入るとOSファイルロード手段11
が起動される(ステップS401)。OSファイルロー
ド手段11は、二次記憶装置2内にあるOSファイル4
を参照し、OS領域6に格納されたOSプログラムを主
記憶手段3上のOS領域12に、RAMディスク領域7
に格納されたRAMディスクの内容を主記憶手段3上の
RAMディスク領域13にそれぞれロードする(ステッ
プS402)。そして、OSファイルロード手段11
は、RAMディスク復元手段15にRAMディスク保存
ファイル14の内容を主記憶手段3上のRAMディスク
領域13にロードするよう指示をする(ステップS40
3)。
Next, the operation when the information processing apparatus 1 is started will be described. FIG. 6 is an explanatory diagram showing an operation at the time of starting the information processing device 1. When the power of the information processing apparatus 1 is turned on or the H / W reset is turned on, the OS file loading means 11
Is activated (step S401). The OS file loading means 11 uses the OS file 4 in the secondary storage device 2.
The OS program stored in the OS area 6 is stored in the OS area 12 on the main memory 3 and the RAM disk area 7
The contents of the RAM disk stored in are loaded into the RAM disk area 13 on the main storage means 3 (step S402). Then, the OS file loading means 11
Instructs the RAM disk restoration means 15 to load the contents of the RAM disk save file 14 into the RAM disk area 13 on the main storage means 3 (step S40).
3).

【0028】RAMディスク復元手段15は、RAMデ
ィスク保存ファイル14の内容を主記憶手段3上のRA
Mディスク領域13にロードし、処理を終了する(ステ
ップS404)。ここで、RAMディスク保存ファイル
14の内容は、上記に説明したように実行結果が追加さ
れた変更RAMディスク内容であり、RAMディスク保
存ファイル14の内容は先にロードされたRAMディス
ク領域7に格納されたRAMディスクの内容に上書き追
加される。RAMディスク復元手段15の処理が終了す
ると、OSファイルロード手段11は、主記憶手段3上
のOS領域12のプログラムを実行することで、OS8
が起動し(ステップS405)、情報処理装置1が動作
状態になる。以上が情報処理装置1の起動時の動作であ
る。
The RAM disk restoring means 15 stores the contents of the RAM disk save file 14 in the RA on the main storage means 3.
The M disk area 13 is loaded, and the process ends (step S404). Here, the content of the RAM disk save file 14 is the modified RAM disk content to which the execution result is added as described above, and the content of the RAM disk save file 14 is stored in the RAM disk area 7 that has been loaded previously. The added contents of the RAM disk are overwritten and added. When the processing of the RAM disk restoring means 15 is completed, the OS file loading means 11 executes the program in the OS area 12 on the main storage means 3, thereby the OS 8
Is started (step S405), and the information processing device 1 is put into operation. The above is the operation when the information processing apparatus 1 is activated.

【0029】以上のように本実施の形態によれば、情報
処理装置1の故障発生時に、主記憶手段3上のRAMデ
ィスク内容を二次記憶装置2内のOSファイル4とは独
立したRAMディスク保存ファイル14に保存し、情報
処理装置1の再起動時にOS領域6のOSプログラム
と、RAMディスク領域7のRAMディスク内容とのO
Sファイル4の内容を主記憶手段3上に展開した後に、
RAMディスク保存ファイル14の内容を既に展開され
ている主記憶手段3上のRAMディスク領域13に上書
き追加するようにしたので、最初に二次記憶手段に保存
された初期状態のRAMディスク内容がそのまま保存さ
れ、かつ情報処理装置1の故障発生による再起動でもこ
の初期状態のRAMディスクの内容が消去されない情報
処理装置1を得ることができる。
As described above, according to this embodiment, when a failure occurs in the information processing device 1, the contents of the RAM disk on the main storage means 3 are independent of the OS file 4 in the secondary storage device 2 on the RAM disk. When the information processing apparatus 1 is restarted, the OS program in the OS area 6 and the contents of the RAM disk in the RAM disk area 7 are saved in the save file 14.
After expanding the contents of the S file 4 on the main storage means 3,
Since the contents of the RAM disk save file 14 are added by overwriting the already expanded RAM disk area 13 on the main storage means 3, the contents of the RAM disk in the initial state initially saved in the secondary storage means remain unchanged. It is possible to obtain the information processing apparatus 1 which is saved and whose contents in the RAM disk in the initial state are not erased even if the information processing apparatus 1 is restarted due to a failure.

【0030】また、主記憶手段3上に既に展開されてい
るRAMディスク領域7のRAMディスク内容、即ち初
期状態のRAMディスク内容に、RAMディスク保存フ
ァイル14のRAMディスク内容、即ちOSプログラム
を実行することにより生じた実行結果が元のRAMディ
スクの内容に追加された変更RAMディスク内容が上書
きされるので、常に新しいRAMディスクの内容を主記
憶手段3に展開することが可能な情報処理装置1を得る
ことができる。
The RAM disk content of the RAM disk save file 14, that is, the OS program is executed on the RAM disk content of the RAM disk area 7 already developed on the main storage means 3, that is, the RAM disk content in the initial state. Since the execution result caused by this overwrites the contents of the modified RAM disk added to the contents of the original RAM disk, the information processing apparatus 1 capable of constantly expanding the contents of the new RAM disk into the main storage means 3. Obtainable.

【0031】実施の形態3.以下、実施の形態3を図を
参照して説明する。実施の形態3における情報処理装置
1の構成は実施の形態2の図4と同様である。実施の形
態3では、RAMディスク復元手段15の動作が実施の
形態2と違う他は、他の構成要素の動作は実施の形態2
と同様である。
Embodiment 3. The third embodiment will be described below with reference to the drawings. The configuration of the information processing device 1 in the third embodiment is the same as that in FIG. 4 of the second embodiment. In the third embodiment, the operation of the RAM disk restoring means 15 is different from that of the second embodiment, and the operation of other components is the same as that of the second embodiment.
Is the same as.

【0032】次に、情報処理装置1の起動時の動作につ
いて説明する。図7は、情報処理装置1の起動時の動作
を示す説明図である。情報処理装置1の電源がON、又
はH/Wリセットが入るとOSファイルロード手段11
が起動される(ステップS501)。OSファイルロー
ド手段11は、二次記憶装置2内にあるOSファイル4
を参照し、OS領域6に格納されたOSプログラムを主
記憶手段3上のOS領域12にロードする(ステップS
502)。そして、OSファイルロード手段11は、R
AMディスク復元手段15にRAMディスク保存ファイ
ル14の内容を主記憶手段3上のRAMディスク領域1
3にロードするよう指示をする(ステップS503)。
Next, the operation when the information processing apparatus 1 is activated will be described. FIG. 7 is an explanatory diagram showing an operation at the time of starting the information processing device 1. When the power of the information processing apparatus 1 is turned on or the H / W reset is turned on, the OS file loading means 11
Is activated (step S501). The OS file loading means 11 uses the OS file 4 in the secondary storage device 2.
Referring to, the OS program stored in the OS area 6 is loaded into the OS area 12 on the main storage means 3 (step S
502). Then, the OS file loading means 11 uses the R
The contents of the RAM disk save file 14 are stored in the AM disk restoring means 15 in the RAM disk area 1 on the main storage means 3.
It is instructed to load the data in No. 3 (step S503).

【0033】RAMディスク復元手段15は、RAMデ
ィスク保存ファイル14の内容を主記憶手段3上のRA
Mディスク領域13にロードし、処理を終了する(ステ
ップS504)。RAMディスク復元手段15の処理が
終了すると、OSファイルロード手段11は、主記憶手
段3上のOS領域12のプログラムを実行することで、
OS8が起動し(ステップS505)、情報処理装置1
が動作状態になる。以上が情報処理装置1の起動時の動
作である。
The RAM disk restoration means 15 stores the contents of the RAM disk save file 14 in the RA on the main storage means 3.
It is loaded into the M disk area 13 and the process is terminated (step S504). When the processing of the RAM disk restoring means 15 is completed, the OS file loading means 11 executes the program of the OS area 12 on the main storage means 3,
The OS 8 starts up (step S505), and the information processing device 1
Becomes active. The above is the operation when the information processing apparatus 1 is activated.

【0034】以上のように本実施の形態によれば、情報
処理装置1の再起動時において、二次記憶装置2内のO
Sファイル4中のOS領域6に格納されたOSプログラ
ムみを主記憶手段3に展開し、その後、二次記憶装置2
内のRAMディスク保存ファイル14の内容を主記憶手
段3に展開するようにしたので、OSファイル4内のR
AMディスクを主記憶手段3に展開する展開処理にかか
る時間を短縮できる情報処理装置1を得ることができ
る。なお、本実施の形態では、OSファイルロード手段
11でOSファイル4内のOS領域6を主記憶手段3に
展開した後、RAMディスク復元手段15でRAMディ
スク保存ファイル14の内容を主記憶手段3に展開して
いるが、RAMディスク保存ファイル14をOS領域6
よりも先にロードしても結果が同じであることは自明で
ある。
As described above, according to the present embodiment, when the information processing apparatus 1 is restarted, the O in the secondary storage device 2 is restarted.
Only the OS program stored in the OS area 6 in the S file 4 is expanded in the main storage means 3, and then the secondary storage device 2
Since the contents of the RAM disk save file 14 in the OS file 4 are expanded in the main storage means 3,
It is possible to obtain the information processing apparatus 1 that can reduce the time required for the expansion process of expanding the AM disk in the main storage unit 3. In the present embodiment, the OS file loading means 11 expands the OS area 6 in the OS file 4 into the main storage means 3, and then the RAM disk restoring means 15 loads the contents of the RAM disk save file 14 into the main storage means 3. The RAM disk save file 14 has been expanded to the OS area 6
Obviously the result will be the same if loaded before.

【0035】実施の形態4.以下、実施の形態4を図を
参照して説明する。図8は、実施の形態4の情報処理装
置1の構成図であり、図4と同一符号は同一又は相当部
分を示し説明を省略する。図8において、情報処理装置
1は、RAMディスク保存ファイル14の内容が有効で
あるか無効であるかを示すフラグ16を備えている。
Fourth Embodiment Hereinafter, Embodiment 4 will be described with reference to the drawings. FIG. 8 is a configuration diagram of the information processing apparatus 1 according to the fourth embodiment, and the same reference numerals as those in FIG. 4 denote the same or corresponding portions, and description thereof will be omitted. In FIG. 8, the information processing apparatus 1 includes a flag 16 indicating whether the content of the RAM disk save file 14 is valid or invalid.

【0036】次に、情報処理装置1の起動時の動作につ
いて説明する。図9は、情報処理装置1の起動時の動作
を示す説明図である。情報処理装置1の電源がON、又
はH/Wリセットが入るとOSファイルロード手段11
が起動される(ステップS601)。OSファイルロー
ド手段11は、二次記憶装置2内にあるOSファイル4
を参照し、OS領域6に格納されたOSプログラムを主
記憶手段3上のOS領域12にロードする(ステップS
602)。そして、OSファイルロード手段11は、R
AMディスク復元手段15にRAMディスク保存ファイ
ル14の内容を主記憶手段3上のRAMディスク領域1
3にロードすることによるRAMディスク復元の処理の
指示をする(ステップS603)。
Next, the operation when the information processing apparatus 1 is started will be described. FIG. 9 is an explanatory diagram showing an operation at the time of starting the information processing apparatus 1. When the power of the information processing apparatus 1 is turned on or the H / W reset is turned on, the OS file loading means 11
Is activated (step S601). The OS file loading means 11 uses the OS file 4 in the secondary storage device 2.
Referring to, the OS program stored in the OS area 6 is loaded into the OS area 12 on the main storage means 3 (step S
602). Then, the OS file loading means 11 uses the R
The contents of the RAM disk save file 14 are stored in the AM disk restoring means 15 in the RAM disk area 1 on the main storage means 3.
The RAM disk restoration process is instructed by loading the data in the No. 3 (step S603).

【0037】RAMディスク復元手段15は、フラグ1
6の内容を参照(チェック)する(ステップS60
4)。そして、RAMディスク復元手段15は、フラグ
16の内容が有効の場合、二次記憶装置2内のRAMデ
ィスク保存ファイル14の内容を主記憶手段3上のRA
Mディスク領域13にロードし、フラグ16の内容が無
効の場合、二次記憶装置2内のOSファイル4のRAM
ディスク領域7の内容を主記憶手段3上のRAMディス
ク領域13にロードする(ステップS605)。
The RAM disk restoring means 15 uses the flag 1
Reference (check) the contents of 6 (step S60)
4). Then, the RAM disk restoring unit 15 copies the contents of the RAM disk saving file 14 in the secondary storage device 2 to the RA on the main storage unit 3 when the contents of the flag 16 are valid.
When the contents of the flag 16 are invalid when loaded in the M disk area 13, the RAM of the OS file 4 in the secondary storage device 2
The contents of the disk area 7 are loaded into the RAM disk area 13 on the main storage means 3 (step S605).

【0038】即ち、、フラグ16の内容が有効の場合
は、二次記憶装置2内のRAMディスク保存ファイル1
4の内容である予め保管された初期のRAMディスク保
存ファイル14の内容を主記憶手段3上のRAMディス
ク領域13にロードし、フラグ16の内容が無効の場合
は、二次記憶装置2内のOSファイル4のRAMディス
ク領域7の内容であるOSプログラムにより実行された
実行結果が元のRAMディスクの内容に追加された変更
RAMディスク内容を主記憶手段3上のRAMディスク
領域13にロードする。
That is, when the content of the flag 16 is valid, the RAM disk save file 1 in the secondary storage device 2
4 is loaded into the RAM disk area 13 on the main storage means 3 when the content of the pre-stored initial RAM disk save file 14 is loaded, and the content of the flag 16 is invalid, the secondary storage device 2 The modified RAM disk content obtained by adding the execution result executed by the OS program, which is the content of the RAM disk area 7 of the OS file 4, to the content of the original RAM disk is loaded into the RAM disk area 13 on the main storage means 3.

【0039】RAMディスク復元手段15の処理が終了
すると、OSファイルロード手段11は、主記憶手段3
上のOS領域12のプログラムを実行することで、OS
8が起動し(ステップS606)、情報処理装置1が動
作状態になる。以上が情報処理装置1の起動時の動作で
ある。
When the processing of the RAM disk restoring means 15 is completed, the OS file loading means 11 is put in the main storage means 3.
By executing the program in the upper OS area 12, the OS
8 is activated (step S606), and the information processing device 1 is put into operation. The above is the operation when the information processing apparatus 1 is activated.

【0040】以上のように本実施の形態によれば、二次
記憶装置2内にOSファイル4内のRAMディスク領域
7内の内容を主記憶手段3に展開するか、RAMディス
ク保存ファイル14の内容を保存するかを判定するフラ
グ16を設け、情報処理装置1の再起動時において、フ
ラグ16を参照し、フラグ16の内容からOSファイル
4のRAMディスク領域7又はRAMディスク保存ファ
イル14の内容を主記憶手段3に展開するようにしたの
で、フラグ16の内容を変更することで、初期状態のR
AMディスクで情報処理装置1を起動するか、故障発生
直前のRAMディスクで情報処理装置1を起動するか選
択できる情報処理装置1を得ることができる。
As described above, according to this embodiment, the contents in the RAM disk area 7 in the OS file 4 in the secondary storage device 2 are expanded in the main storage means 3 or the RAM disk save file 14 is stored. A flag 16 for determining whether or not to save the contents is provided. When the information processing apparatus 1 is restarted, the flag 16 is referred to, and the contents of the flag 16 are used to determine the contents of the RAM disk area 7 of the OS file 4 or the contents of the RAM disk save file 14. Is expanded in the main storage means 3, the contents of the flag 16 are changed so that R in the initial state is changed.
It is possible to obtain the information processing apparatus 1 capable of selecting whether to start the information processing apparatus 1 with the AM disk or the RAM disk immediately before the failure occurs.

【0041】実施の形態5.以下、実施の形態5を図を
参照して説明する。図10は、実施の形態5の情報処理
装置1の構成図であり、図4と同一符号は同一又は相当
部分を示し説明を省略する。図10において、情報処理
装置1内のOS8は、主記憶手段3上のRAMディスク
領域13を操作するためのRAMディスク操作手段17
を備えている。
Embodiment 5. Hereinafter, the fifth embodiment will be described with reference to the drawings. FIG. 10 is a configuration diagram of the information processing apparatus 1 according to the fifth embodiment, and the same reference numerals as those in FIG. 4 denote the same or corresponding portions, and description thereof will be omitted. In FIG. 10, the OS 8 in the information processing apparatus 1 has a RAM disk operating means 17 for operating the RAM disk area 13 on the main storage means 3.
Is equipped with.

【0042】次に、情報処理装置1のRAMディスク操
作時の動作について説明する。図11は、情報処理装置
1のRAMディスク操作時の動作を示す説明図である。
情報処理装置1が、主記憶手段3上のRAMディスク領
域13内のRAMディスクの内容が格納されたファイル
へ読み書きを実行する操作をしようとすると、RAMデ
ィスク操作手段17が動作する。RAMディスク操作手
段17は二次記憶装置2内のフラグ16を無効にする
(ステップS701)。そして、主記憶手段3上のRA
Mディスク領域13が操作され、ファイルへの読み書き
が実行される(ステップS702)。
Next, the operation of the information processing apparatus 1 when operating the RAM disk will be described. FIG. 11 is an explanatory diagram showing the operation of the information processing apparatus 1 when operating the RAM disk.
When the information processing apparatus 1 tries to perform an operation of reading / writing a file in which the contents of the RAM disk in the RAM disk area 13 on the main memory 3 are stored, the RAM disk operating means 17 operates. The RAM disk operating means 17 invalidates the flag 16 in the secondary storage device 2 (step S701). Then, the RA on the main storage means 3
The M disk area 13 is operated, and reading / writing of the file is executed (step S702).

【0043】次に、このファイルへの読み書きを実行す
る操作が終了すると、RAMディスク操作手段17はフ
ラグ16を有効にする(ステップS703)。これによ
り、主記憶手段3上のRAMディスク領域13を操作し
ている最中、つまり、RAMディスクの内容が不定にな
っている間はフラグ16が無効になり、RAMディスク
領域13を操作していない間、つまり、RAMディスク
の内容が安定になっている間はフラグ16が有効にな
る。以上が情報処理装置1のRAMディスク操作時の動
作である。
Next, when the operation for reading and writing this file is completed, the RAM disk operating means 17 enables the flag 16 (step S703). As a result, the flag 16 is invalidated while the RAM disk area 13 on the main storage means 3 is being operated, that is, while the contents of the RAM disk are indefinite, and the RAM disk area 13 is being operated. The flag 16 is valid while the contents of the RAM disk are stable. The above is the operation of the information processing apparatus 1 when operating the RAM disk.

【0044】以上のように本実施の形態によれば、主記
憶手段3上のRAMディスクを操作する際において、主
記憶手段3上のRAMディスク内容が格納されたファイ
ルへの読み書きを実行する操作開始時にフラグ16を無
効にし、操作終了時にフラグ16を有効にし、情報処理
装置1の再起動時にフラグ16が無効の場合はOSファ
イル4内のRAMディスク領域7の内容を主記憶手段3
に展開し、フラグ16が有効の場合はRAMディスク保
存ファイル14の内容を主記憶手段3に展開することに
より、上記読み書き実行状況に応じて、初期状態のRA
Mディスクの内容を主記憶手段3に展開するか、故障発
生直前のRAMディスクの内容(上記RAMディスク復
元手段)を主記憶手段3に展開することが可能な情報処
理装置1を得ることができる。
As described above, according to the present embodiment, when the RAM disk on the main storage means 3 is operated, the operation for reading / writing the file in which the RAM disk contents on the main storage means 3 are stored is executed. When the flag 16 is invalidated at the start, the flag 16 is validated at the end of the operation, and when the flag 16 is invalid when the information processing apparatus 1 is restarted, the contents of the RAM disk area 7 in the OS file 4 are stored in the main storage unit 3.
When the flag 16 is valid, the contents of the RAM disk save file 14 are expanded in the main storage means 3 so that the RA in the initial state is changed according to the read / write execution status.
It is possible to obtain the information processing apparatus 1 capable of expanding the contents of the M disk in the main storage means 3 or the contents of the RAM disk immediately before the occurrence of the failure (the RAM disk restoring means) in the main storage means 3. .

【0045】実施の形態6.以下、実施の形態6を図を
参照して説明する。図12は、実施の形態6の情報処理
装置1の構成図であり、図1と同一符号は同一又は相当
部分を示し説明を省略する。図12において、情報処理
装置1は、不意の電源断に対し、一定時間情報処理装置
1が動作するための少容量バッテリ18を備えている。
Sixth Embodiment Embodiment 6 will be described below with reference to the drawings. FIG. 12 is a configuration diagram of the information processing apparatus 1 according to the sixth embodiment, and the same reference numerals as those in FIG. 1 denote the same or corresponding portions, and description thereof will be omitted. In FIG. 12, the information processing device 1 includes a small capacity battery 18 for operating the information processing device 1 for a certain period of time when the power is unexpectedly cut off.

【0046】次に、情報処理装置1の電源断時の動作に
ついて説明する。図13は、情報処理装置1の電源断時
の動作を示す説明図である。情報処理装置1で電源断が
発生すると(ステップS801)、OS8の故障検出手
段9が電源断を故障として検出する。故障検出手段9
は、故障内容の把握を行い、故障原因が電源断であると
把握すると、小容量バッテリ18を用いて、以降の処理
を継続できるように情報処理装置1の電源を確保する
(ステップS802)。
Next, the operation of the information processing apparatus 1 when the power is turned off will be described. FIG. 13 is an explanatory diagram showing the operation of the information processing apparatus 1 when the power is turned off. When a power failure occurs in the information processing device 1 (step S801), the failure detecting unit 9 of the OS 8 detects the power failure as a failure. Failure detection means 9
When the failure content is grasped and it is understood that the cause of the failure is the power failure, the small capacity battery 18 is used to secure the power source of the information processing apparatus 1 so that the subsequent processing can be continued (step S802).

【0047】故障検出手段9は、保存手段10を起動
し、保存手段10に主記憶手段3上のRAMディスク領
域13の内容を二次記憶装置2内のOSファイル4内の
RAMディスク領域7に格納されたRAMディスクに保
存するよう指示をする(ステップS803)。保存手段
10は、主記憶手段3上のRAMディスク領域13の内
容を二次記憶装置2内のOSファイル4内のRAMディ
スク領域7に格納されたRAMディスクに保存する(ス
テップS804)。保存完了後、故障検出手段9は小容
量バッテリ18の電源を切り、情報処理装置1の動作を
停止させる(ステップS805)。以上が情報処理装置
1の電源断時の動作である。
The failure detection means 9 activates the storage means 10, and stores the contents of the RAM disk area 13 in the main storage means 3 in the storage means 10 in the RAM disk area 7 in the OS file 4 in the secondary storage device 2. An instruction is given to save in the stored RAM disk (step S803). The storage unit 10 stores the contents of the RAM disk area 13 in the main storage unit 3 in the RAM disk stored in the RAM disk area 7 in the OS file 4 in the secondary storage device 2 (step S804). After the storage is completed, the failure detection unit 9 turns off the small capacity battery 18 and stops the operation of the information processing device 1 (step S805). The above is the operation when the information processing apparatus 1 is powered off.

【0048】以上のように本実施の形態によれば、情報
処理装置1内に小容量のバッテリを備え、情報処理装置
1の不意の電源断でも小容量のバッテリによって情報処
理装置1を一定時間動作させ、その間に電源断発生時の
主記憶手段3上のRAMディスク内容を二次記憶装置内
のOSファイルのRAMディスク領域の保存することに
より、電源断発生時の主記憶手段3上のRAMディスク
内容を二次記憶装置2内のOSファイル4のRAMディ
スク領域7に保存でき、情報処理装置1の不意の電源断
に対しても、RAMディスク内容が消去されない情報処
理装置1を得ることができる。
As described above, according to the present embodiment, the information processing apparatus 1 is provided with a small capacity battery, and even if the information processing apparatus 1 is unexpectedly turned off, the information processing apparatus 1 can be operated for a predetermined time by the small capacity battery. The RAM on the main storage means 3 when the power is cut off is stored in the RAM disk area of the OS file in the secondary storage device during operation, and the RAM disk contents on the main storage means 3 when the power is cut off are saved during the operation. It is possible to obtain the information processing apparatus 1 in which the disk content can be saved in the RAM disk area 7 of the OS file 4 in the secondary storage device 2 and the RAM disk content is not erased even when the information processing apparatus 1 is unexpectedly turned off. it can.

【0049】実施の形態7.以下、実施の形態7を図を
参照して説明する。図14は、実施の形態7の情報処理
装置1の構成図であり、図4と同一符号は同一又は相当
部分を示し説明を省略する。図14において、OS8の
保存手段10はデータを圧縮する圧縮手段19を備えて
おり、RAMディスク復元手段15は圧縮されたデータ
を元のデータに戻す復元手段20を備えている。
Embodiment 7. Hereinafter, the seventh embodiment will be described with reference to the drawings. FIG. 14 is a configuration diagram of the information processing apparatus 1 according to the seventh embodiment, and the same reference numerals as those in FIG. 4 denote the same or corresponding portions, and description thereof will be omitted. In FIG. 14, the storage unit 10 of the OS 8 includes a compression unit 19 that compresses data, and the RAM disk decompression unit 15 includes a decompression unit 20 that restores the compressed data to the original data.

【0050】次に、情報処理装置1の故障発生時の動作
について説明する。図15は、情報処理装置1の故障発
生時の動作を示す説明図である。情報処理装置1で故障
が発生すると(ステップS901)、OS8の故障検出
手段9が故障を検出する。故障検出手段9は、故障内容
の把握を行い、情報処理装置1を再起動しなければなら
ないと判断した場合、保存手段10を起動し、保存手段
10に主記憶手段3上のRAMディスク領域13の内容
を二次記憶装置2内のRAMディスク保存ファイル14
に保存するよう指示をする(ステップS902)。
Next, the operation of the information processing apparatus 1 when a failure occurs will be described. FIG. 15 is an explanatory diagram showing an operation when a failure occurs in the information processing device 1. When a failure occurs in the information processing device 1 (step S901), the failure detecting means 9 of the OS 8 detects the failure. The failure detecting means 9 grasps the details of the failure, and when it determines that the information processing apparatus 1 has to be restarted, it activates the saving means 10 and causes the saving means 10 to store the RAM disk area 13 on the main storage means 3. Contents of the RAM disk save file 14 in the secondary storage device 2
To save the data (step S902).

【0051】保存手段10は、主記憶手段3上のRAM
ディスク領域13の内容を二次記憶装置2内のRAMデ
ィスク保存ファイル14に保存する(ステップS90
3)。この時、主記憶手段3上のRAMディスク領域1
3の内容をデータとみなし、圧縮手段19を用いてデー
タ圧縮を行い、圧縮されたデータをRAMディスク保存
ファイル14に保存する。保存完了後、情報処理装置1
にH/Wリセットがかかり、情報処理装置1が再起動さ
れる。以上が、情報処理装置1の故障発生時の動作であ
る。
The storage means 10 is a RAM on the main storage means 3.
The contents of the disk area 13 are saved in the RAM disk save file 14 in the secondary storage device 2 (step S90).
3). At this time, the RAM disk area 1 on the main storage means 3
The contents of No. 3 are regarded as data, data compression is performed using the compression means 19, and the compressed data is saved in the RAM disk save file 14. After the storage is completed, the information processing device 1
H / W reset is applied to and the information processing device 1 is restarted. The above is the operation when the information processing device 1 fails.

【0052】次に、情報処理装置1の起動時の動作につ
いて説明する。図16は、情報処理装置1の起動時の動
作を示す説明図である。情報処理装置1の電源がON、
又はH/Wリセットが入るとOSファイルロード手段1
1が起動される(ステップS1001)。OSファイル
ロード手段11は二次記憶装置2内にあるOSファイル
4を参照し、OS領域6に格納されたOSプログラムを
主記憶手段3上のOS領域12に、RAMディスク領域
7に格納されたRAMディスクの内容を主記憶手段3上
のRAMディスク領域13にそれぞれロードする(ステ
ップS1002)。そして、OSファイルロード手段1
1は、RAMディスク復元手段15にRAMディスク保
存ファイル14の内容を主記憶手段3上のRAMディス
ク領域13にロードするよう指示をする(ステップS1
003)。
Next, the operation when the information processing apparatus 1 is started will be described. FIG. 16 is an explanatory diagram showing an operation at the time of starting the information processing device 1. The information processing device 1 is powered on,
Or when the H / W reset is entered, the OS file loading means 1
1 is activated (step S1001). The OS file loading means 11 refers to the OS file 4 in the secondary storage device 2, and stores the OS program stored in the OS area 6 in the OS area 12 on the main storage means 3 and in the RAM disk area 7. The contents of the RAM disk are loaded into the RAM disk area 13 on the main storage means 3 (step S1002). Then, the OS file loading means 1
1 instructs the RAM disk restoring means 15 to load the contents of the RAM disk save file 14 into the RAM disk area 13 on the main storage means 3 (step S1).
003).

【0053】RAMディスク復元手段15は、RAMデ
ィスク保存ファイル14の内容を主記憶手段3上のRA
Mディスク領域13にロードし、RAMディスク復元の
処理を終了する(ステップS1004)。この時、RA
Mディスク保存ファイル14のデータは、保存手段10
の圧縮手段19を用いてデータ圧縮されているので、R
AMディスク復元手段15は、復元手段20を用いてR
AMディスク保存ファイル14にある圧縮されたデータ
を元のデータに復元してから、主記憶手段3上のRAM
ディスク領域13にロードする。RAMディスク復元手
段15の処理が終了すると、OSファイルロード手段1
1は、主記憶手段3上のOS領域12のプログラムを実
行することで、OS8が起動し(ステップS100
5)、情報処理装置1が動作状態になる。以上が情報処
理装置1の起動時の動作である。
The RAM disk restoring means 15 stores the contents of the RAM disk save file 14 in the RA on the main storage means 3.
The M disk area 13 is loaded, and the RAM disk restoration processing ends (step S1004). At this time, RA
The data of the M disk storage file 14 is stored in the storage means 10.
Since the data is compressed using the compression means 19 of
The AM disk restoring means 15 uses the restoring means 20 to read R
After the compressed data in the AM disk save file 14 is restored to the original data, the RAM on the main storage means 3 is restored.
It is loaded into the disk area 13. When the processing of the RAM disk restoring means 15 is completed, the OS file loading means 1
1 executes the program in the OS area 12 on the main storage means 3 to start the OS 8 (step S100).
5) Then, the information processing device 1 is put into operation. The above is the operation when the information processing apparatus 1 is activated.

【0054】以上のように本実施の形態によれば、情報
処理装置1の故障検出時において、主記憶手段3上のR
AMディスク内容をRAMディスク保存ファイル14に
保存する際、主記憶手段3上のRAMディスク内容をデ
ータ圧縮して保存し、情報処理装置1の起動時におい
て、RAMディスク保存ファイル14に保存された圧縮
データを復元して主記憶手段3上のRAMディスク領域
13に展開することにより、RAMディスク保存ファイ
ル14のサイズを小さくし、二次記憶装置2の容量が少
なくて済む情報処理装置1を得ることができる。
As described above, according to the present embodiment, when the failure of the information processing device 1 is detected, the R on the main storage means 3 is detected.
When the AM disk content is saved in the RAM disk save file 14, the RAM disk content in the main storage means 3 is compressed and saved, and when the information processing apparatus 1 is started up, the compression saved in the RAM disk save file 14 is performed. To restore the data and expand it in the RAM disk area 13 on the main storage means 3 to reduce the size of the RAM disk storage file 14 and obtain the information processing apparatus 1 in which the capacity of the secondary storage device 2 is small. You can

【0055】実施の形態8.以下、実施の形態8を図を
参照して説明する。図17は、実施の形態8の情報処理
装置1の構成図であり、図4と同一符号は同一又は相当
部分を示し説明を省略する。図17において、OS8の
保存手段10は、RAMディスクの内容から有効なファ
イル管理情報ブロックと有効なファイルブロックを検索
するチェック手段21を備えており、RAMディスク復
元手段15は、有効なファイル管理情報ブロックと有効
なファイルブロックを元にRAMディスクの内容を復元
するディスク復元手段22を備えている。
Embodiment 8. The eighth embodiment will be described below with reference to the drawings. FIG. 17 is a configuration diagram of the information processing apparatus 1 according to the eighth embodiment, and the same reference numerals as those in FIG. 4 denote the same or corresponding portions, and description thereof will be omitted. In FIG. 17, the storage means 10 of the OS 8 is provided with a valid file management information block and a checking means 21 for searching a valid file block from the contents of the RAM disk, and the RAM disk restoration means 15 is provided with the valid file management information. A disk restoring means 22 for restoring the contents of the RAM disk on the basis of blocks and valid file blocks is provided.

【0056】図18、図19は、主記憶手段3上のRA
Mディスク領域13のデータ構造を示す図である。図1
8、図19を用いて、主記憶手段3上のRAMディスク
領域13のデータ構造について説明する。RAMディス
ク領域13は大きく3つの領域に分かれる。1つ目はR
AMディスク全体の状態を管理するディスク管理情報領
域23、2つ目はファイルのタイプや更新日時、および
次に説明するファイルブロック上の該当ファイルの位置
など各ファイルの管理情報が記録されているファイル管
理情報ブロック領域24、3つ目は実際のファイルデー
タが記録されているファイルブロック領域25である。
18 and 19 show the RA on the main storage means 3.
6 is a diagram showing a data structure of an M disc area 13. FIG. Figure 1
The data structure of the RAM disk area 13 on the main memory 3 will be described with reference to FIGS. The RAM disk area 13 is roughly divided into three areas. The first is R
A disk management information area 23 for managing the state of the entire AM disk, the second is a file in which management information of each file such as the file type and update date and time, and the position of the file on the file block described below is recorded. The management information block area 24 and the third is a file block area 25 in which actual file data is recorded.

【0057】ディスク管理情報領域23には、ファイル
管理情報ブロック領域24内で有効、即ち使用中のファ
イル管理情報ブロックを連結し、一覧を参照できるよう
にした有効ファイル管理情報ブロックリスト26と、フ
ァイルブロック領域25内で有効、即ち使用中のファイ
ルブロックを連結し、一覧を参照できるようにした有効
ファイル管理情報ブロックリスト27が格納されてお
り、通常のRAMディスク操作では、本リストを操作
し、空きファイルの検索や新規ファイルの作成が行われ
る。有効ファイル管理情報ブロックリスト26および有
効ファイル管理情報ブロックリスト27の終端は0にな
っており、これによりリストの終端を知ることができ
る。
In the disk management information area 23, a valid file management information block list 26 in which file management information blocks valid in the file management information block area 24, that is, used file management information blocks are linked and a list can be referred to, A valid file management information block list 27 is stored in which the file blocks that are valid, that is, in use, are linked in the block area 25 and the list can be referred to. In a normal RAM disk operation, this list is operated, Free files are searched and new files are created. The end of the valid file management information block list 26 and the valid file management information block list 27 is 0, so that the end of the list can be known.

【0058】次に、情報処理装置1の故障発生時の動作
について説明する。図20は、情報処理装置1の故障発
生時の動作を示す説明図である。情報処理装置1で故障
が発生すると(ステップS1101)、OS8の故障検
出手段9が故障を検出する。故障検出手段9は、故障内
容の把握を行い、情報処理装置1を再起動しなければな
らないと判断した場合、保存手段10を起動し、保存手
段10に主記憶手段3上のRAMディスク領域13の内
容を二次記憶装置2内のRAMディスク保存ファイル1
4に保存するよう指示をする(ステップS1102)。
Next, the operation of the information processing apparatus 1 when a failure occurs will be described. FIG. 20 is an explanatory diagram showing an operation when a failure occurs in the information processing device 1. When a failure occurs in the information processing device 1 (step S1101), the failure detection means 9 of the OS 8 detects the failure. The failure detecting means 9 grasps the details of the failure, and when it determines that the information processing apparatus 1 has to be restarted, it activates the saving means 10 and causes the saving means 10 to store the RAM disk area 13 on the main storage means 3. Contents of the RAM disk save file 1 in the secondary storage device 2
4 is instructed to be saved (step S1102).

【0059】保存手段10は、主記憶手段3上のRAM
ディスク領域13の内容を二次記憶装置2内のRAMデ
ィスク保存ファイル14に保存する(ステップS110
3)。この時、保存手段10は、チェック手段21が主
記憶手段3上のRAMディスク領域13のディスク管理
情報領域23の内容からRAMディスク領域13内の有
効なファイル管理情報ブロックと、有効なファイルブロ
ックとを検索し、この検索した有効なファイル管理情報
ブロックと有効なファイルブロックとをRAMディスク
保存ファイル14に保存する。
The storage means 10 is a RAM on the main storage means 3.
The contents of the disk area 13 are saved in the RAM disk save file 14 in the secondary storage device 2 (step S110).
3). At this time, in the storing means 10, the checking means 21 determines the valid file management information block in the RAM disk area 13 and the valid file block from the contents of the disk management information area 23 of the RAM disk area 13 on the main storage means 3. Is searched, and the searched valid file management information block and valid file block are saved in the RAM disk save file 14.

【0060】具体的には、ディスク管理情報領域23の
有効ファイル管理情報ブロックリスト26から、ファイ
ル管理情報ブロック領域24内の使用中のブロックを検
索し、当該ブロックのファイル管理情報ブロック領域2
4内の位置情報とともに内容をRAMディスク保存ファ
イル14内に書き込む。
Specifically, a block in use in the file management information block area 24 is searched from the valid file management information block list 26 of the disk management information area 23, and the file management information block area 2 of the block is searched.
The contents are written in the RAM disk save file 14 together with the position information in the RAM 4.

【0061】同じく、ディスク管理情報領域23の有効
ファイルブロックリスト25から、ファイルブロック領
域25内の使用中のブロックを検索し、当該ブロックの
ファイルブロック領域25内の位置情報とともに内容を
RAMディスク保存ファイル14内に書き込む。保存手
段10の処理終了後、情報処理装置1にH/Wリセット
がかかり、情報処理装置1が起動される。以上が、情報
処理装置1の故障発生時の動作である。
Similarly, a block in use in the file block area 25 is searched from the valid file block list 25 in the disk management information area 23, and the contents are stored together with the position information in the file block area 25 of the RAM block storage file. Write in 14 After the processing of the storage unit 10 is completed, the information processing device 1 is reset by H / W, and the information processing device 1 is activated. The above is the operation when the information processing device 1 fails.

【0062】次に、情報処理装置1の起動時の動作につ
いて説明する。図21は、情報処理装置1の起動時の動
作を示す説明図である。情報処理装置1の電源がON、
又はH/Wリセットが入るとOSファイルロード手段1
1が起動される(ステップS1201)。OSファイル
ロード手段11は二次記憶装置2内にあるOSファイル
4を参照し、OS領域6の内容を主記憶手段3上のOS
領域12に、RAMディスク領域7の内容を主記憶手段
3上のRAMディスク領域13にそれぞれロードする
(ステップS1202)。そして、OSファイルロード
手段11は、RAMディスク復元手段15にRAMディ
スク保存ファイル14の内容を主記憶手段3上のRAM
ディスク領域13にロードすることによるRAMディス
ク復元の処理の指示をする(ステップS1203)。
Next, the operation when the information processing apparatus 1 is started will be described. FIG. 21 is an explanatory diagram showing an operation at the time of starting the information processing device 1. The information processing device 1 is powered on,
Or when the H / W reset is entered, the OS file loading means 1
1 is activated (step S1201). The OS file loading means 11 refers to the OS file 4 in the secondary storage device 2, and sets the contents of the OS area 6 to the OS on the main storage means 3.
The contents of the RAM disk area 7 are loaded into the area 12 into the RAM disk area 13 on the main storage means 3 (step S1202). Then, the OS file loading means 11 causes the RAM disk restoring means 15 to copy the contents of the RAM disk save file 14 to the RAM on the main storage means 3.
The RAM disk restoration process by loading in the disk area 13 is instructed (step S1203).

【0063】RAMディスク復元手段15は、RAMデ
ィスク保存ファイル14の内容を主記憶手段3上のRA
Mディスク領域13にロードし、処理終了する(ステッ
プS1204)。この時、RAMディスク保存手段13
内のディスク復元手段22を用いて、RAMディスク保
存ファイル14内に格納されている有効なファイル管理
情報ブロックと有効なファイルブロックを元に、RAM
ディスクを復元し、主記憶手段3上のRAMディスク領
域13に展開する。
The RAM disk restoring means 15 stores the contents of the RAM disk save file 14 in the RA on the main storage means 3.
The data is loaded into the M disk area 13 and the process ends (step S1204). At this time, the RAM disk storage means 13
Using the disk restoring means 22 in the RAM, the RAM is stored based on the valid file management information block and the valid file block stored in the RAM disk save file 14.
The disk is restored and expanded in the RAM disk area 13 on the main storage means 3.

【0064】具体的には、情報処理装置1の故障時に、
RAMディスク保存ファイル14には保存手段10によ
って有効なファイル管理情報ブロックの内容と当該ブロ
ックのファイル管理情報ブロック領域24内での位置、
および有効なファイルブロックの内容と当該ブロックの
ファイルブロック領域25内での位置が格納されている
ので、ディスク復元手段22は、該データを元に、ディ
スク管理情報領域23を作成し、同時に該データを元に
ファイル管理情報ブロック領域24およびファイルブロ
ック領域25の有効ブロックを作成したあと、ファイル
管理情報ブロック領域24およびファイルブロック領域
25の領域の残りのブロックを空きブロックとして作成
する。
Specifically, when the information processing device 1 fails,
In the RAM disk save file 14, the contents of the file management information block valid by the saving means 10 and the position of the block in the file management information block area 24,
Since the contents of the valid file block and the position of the block in the file block area 25 are stored, the disk restoring means 22 creates the disk management information area 23 based on the data, and at the same time, the data is stored. After the effective blocks of the file management information block area 24 and the file block area 25 are created based on the above, the remaining blocks of the file management information block area 24 and the file block area 25 are created as free blocks.

【0065】RAMディスク復元手段15の処理が終了
すると、OSファイルロード手段11は、主記憶手段3
上のOS領域12のプログラムを実行することで、OS
8が起動し(ステップS1205)、情報処理装置1が
動作状態になる。以上が情報処理装置1の起動時の動作
である。
When the processing of the RAM disk restoring means 15 is finished, the OS file loading means 11 is in the main storage means 3.
By executing the program in the upper OS area 12, the OS
8 is activated (step S1205), and the information processing device 1 is activated. The above is the operation when the information processing apparatus 1 is activated.

【0066】以上のように本実施の形態によれば、情報
処理装置1の故障検出時の、主記憶手段3上のRAMデ
ィスクの内容をRAMディスク保存ファイル14に保存
する際において、主記憶手段3上のRAMディスク内の
管理情報を参照し、有効なファイル管理情報ブロックと
有効なファイルブロックのみをRAMディスク保存ファ
イル14に保存し、情報処理装置1の再起動時において
RAMディスク保存ファイル14にある有効なファイル
管理情報ブロックと有効なファイルブロックからRAM
ディスクを再構成し、RAMディスクを主記憶手段3上
に展開することにより、RAMディスク保存ファイル1
4のサイズを小さくし、二次記憶装置2の容量が少なく
て済む情報処理装置1を得ることができる。
As described above, according to the present embodiment, when the contents of the RAM disk on the main storage means 3 are stored in the RAM disk storage file 14 when the failure of the information processing device 1 is detected, the main storage means is stored. 3, the valid file management information blocks and valid file blocks are stored in the RAM disk save file 14, and the RAM disk save file 14 is restarted when the information processing apparatus 1 is restarted. RAM from a valid file management information block and valid file block
By reconstructing the disk and expanding the RAM disk on the main storage means 3, the RAM disk save file 1
It is possible to obtain the information processing device 1 in which the size of the storage device 4 is reduced and the capacity of the secondary storage device 2 is small.

【0067】[0067]

【発明の効果】この発明は、以上説明したように構成さ
れているので、以下に示すような効果を奏する。
Since the present invention is constructed as described above, it has the following effects.

【0068】第1の発明では、起動時に二次記憶手段に
格納されたOSプログラムとRAMディスクの内容とを
主記憶手段にロードし、主記憶手段はOSプログラムに
より実行された実行結果がRAMディスク内容に追加さ
れた変更RAMディスク内容を格納し、故障検出時に主
記憶手段に格納された上記変更RAMディスク内容を二
次記憶手段に保存することにより、故障などによる不意
の電源断が生じても、主記憶手段上のRAMディスクの
内容が消去されない情報処理装置を提供できるという効
果がある。
In the first invention, the OS program stored in the secondary storage means and the contents of the RAM disk are loaded into the main storage means at the time of startup, and the execution result executed by the OS program is stored in the RAM disk in the main storage means. By storing the modified RAM disk content added to the content and storing the modified RAM disk content stored in the main storage means in the secondary storage means when a failure is detected, even if an unexpected power failure occurs due to a failure or the like. There is an effect that it is possible to provide an information processing device in which the contents of the RAM disk on the main storage means are not erased.

【0069】第2の発明では、故障検出時に、主記憶手
段に格納された変更RAMディスク内容をRAMディス
ク保存手段に保存することにより、故障などによる不意
の電源断が生じても最初に二次記憶手段に保存されたが
消去されない情報処理装置を提供できるという効果があ
る。
In the second invention, when the failure is detected, the contents of the modified RAM disk stored in the main storage means are saved in the RAM disk saving means, so that even if an unexpected power failure occurs due to a failure or the like, the secondary power is first used. There is an effect that it is possible to provide an information processing device which is stored in the storage means but is not erased.

【0070】第3の発明では、OSファイルロード手段
により主記憶手段にロードされたRAMディスク内容に
上記変更RAMディスク内容を上書きすることにより、
常に新しいRAMディスク内容を主記憶手段に展開可能
な情報処理装置を提供できるという効果がある。
In the third invention, the contents of the modified RAM disk are overwritten on the contents of the RAM disk loaded into the main storage means by the OS file loading means.
There is an effect that it is possible to provide an information processing apparatus capable of constantly expanding new RAM disk contents into the main storage means.

【0071】第4の発明では、OSファイルロード手段
が二次記憶手段に保存された上記OSプログラムを起動
時に主記憶手段にロードし、RAMディスク復元手段が
RAMディスク保存手段に保存された変更RAMディス
ク内容を起動時に主記憶手段にロードすることにより、
OSファイル内のRAMディスクの展開処理にかかる時
間の短縮が可能な情報処理装置を提供できるという効果
がある。
In the fourth invention, the OS file loading means loads the above OS program stored in the secondary storage means into the main storage means at the time of starting, and the RAM disk restoring means stores the modified RAM stored in the RAM disk storage means. By loading the disk contents into the main storage means at startup,
There is an effect that it is possible to provide an information processing device capable of reducing the time required for the expansion processing of the RAM disk in the OS file.

【0072】第5の発明では、RAMディスク保存に保
存された変更RAMディスク内容を主記憶手段にロード
するか、又は上記二次記憶手段に保存されたRAMディ
スクの内容を主記憶手段にロードするかを示す示すフラ
グに基づいて変更RAMディスク内容又はRAMディス
クの内容を起動時に主記憶手段にロードすることによ
り、初期状態のRAMディスクで情報処理装置を起動す
るか、故障発生直前のRAMディスクで情報処理装置を
起動するか選択可能な情報処理装置を提供できるという
効果がある。
In the fifth invention, the contents of the modified RAM disk stored in the RAM disk storage are loaded into the main storage means, or the contents of the RAM disk stored in the secondary storage means are loaded into the main storage means. By loading the modified RAM disk contents or the contents of the RAM disk into the main memory means at the time of startup, the information processing device is started by the RAM disk in the initial state or the RAM disk just before the failure occurs. There is an effect that it is possible to provide an information processing apparatus capable of selecting whether to start the information processing apparatus.

【0073】第6の発明では、RAMディスクの内容へ
の読み書き操作実行中はRAMディスクの内容を主記憶
手段にロードするフラグを表示し、又RAMディスクの
内容への読み書き操作終了時は変更RAMディスク内容
を主記憶手段にロードするフラグを表示するすることに
より、主記憶手段のRAMディスク内容が格納されたフ
ァイルへの読み書き実行状況に応じて主記憶手段3にR
AMディスクの内容を展開することが可能な情報処理装
置を提供できるという効果がある。
According to the sixth aspect of the present invention, a flag for loading the contents of the RAM disk into the main storage means is displayed during the reading / writing operation to the contents of the RAM disk, and the change RAM is displayed when the reading / writing operation to the contents of the RAM disk is completed. By displaying a flag for loading the disk contents into the main storage means, R is stored in the main storage means 3 according to the read / write execution status of the file in which the RAM disk contents of the main storage means are stored.
There is an effect that it is possible to provide an information processing apparatus capable of expanding the contents of the AM disk.

【0074】第7の発明では、上記主記憶手段に格納さ
れた上記変更RAMディスク内容を圧縮する圧縮手段
と、圧縮手段により圧縮された変更RAMディスク内容
を復元する復元手段とを備えたことにより、RAMディ
スク保存ファイルのサイズを小さくし、二次記憶装置の
容量が少なくて済む情報処理装置を提供できるという効
果がある。
According to the seventh aspect of the invention, there is provided compression means for compressing the contents of the modified RAM disk stored in the main storage means, and decompression means for decompressing the modified RAM disk content compressed by the compression means. Thus, there is an effect that the size of the RAM disk storage file can be reduced and an information processing apparatus that requires a small capacity of the secondary storage device can be provided.

【0075】第8の発明では、チェック手段により検索
された有効ファイル管理情報ブロックと有効ファイルブ
ロックとをRAMディスク保存手段に保存し、RAMデ
ィスク保存手段に保存された有効ファイル管理情報ブロ
ックと有効ファイルブロックとに基づいてRAMディス
クの内容を復元し、主記憶手段にロードすることによ
り、RAMディスク保存ファイル14のサイズを小さく
し、二次記憶装置2の容量が少なくて済む情報処理装置
を提供できるという効果がある。
In the eighth invention, the valid file management information block and the valid file block retrieved by the checking means are stored in the RAM disk storage means, and the valid file management information block and the valid file stored in the RAM disk storage means. By restoring the content of the RAM disk based on the blocks and loading it in the main storage means, it is possible to provide an information processing apparatus in which the size of the RAM disk save file 14 can be reduced and the capacity of the secondary storage device 2 can be reduced. There is an effect.

【0076】第9の発明では、故障検出手段により電源
断が検出された時に小容量バッテリによる一定時間の電
気供給に基づいて主記憶手段に格納された変更RAMデ
ィスク内容を二次記憶手段のRAMディスクに保存する
ことにより、情報処理装置1の不意の電源断に対して
も、RAMディスク内容が消去されない情報処理装置を
提供できるという効果がある。
According to the ninth aspect of the invention, the contents of the modified RAM disk stored in the main storage means are stored in the RAM of the secondary storage means on the basis of the electricity supply from the small capacity battery for a certain time when the power failure is detected by the failure detection means. By storing the information in the disk, it is possible to provide an information processing apparatus in which the contents of the RAM disk are not erased even when the information processing apparatus 1 is unexpectedly turned off.

【図面の簡単な説明】[Brief description of drawings]

【図1】 実施の形態1の情報処理装置1の構成図。FIG. 1 is a configuration diagram of an information processing device 1 according to a first embodiment.

【図2】 実施の形態1おける情報処理装置1の起動時
の動作を示す説明図。
FIG. 2 is an explanatory diagram showing an operation at the time of activation of the information processing device 1 according to the first embodiment.

【図3】 実施の形態1おける情報処理装置1の故障発
生時の動作を示す説明図。
FIG. 3 is an explanatory diagram showing an operation when a failure occurs in the information processing device 1 according to the first embodiment.

【図4】 実施の形態2の情報処理装置1の構成図。FIG. 4 is a configuration diagram of an information processing device 1 according to a second embodiment.

【図5】 実施の形態2おける情報処理装置1の故障発
生時の動作を示す説明図。
FIG. 5 is an explanatory diagram showing an operation when a failure occurs in the information processing device 1 according to the second embodiment.

【図6】 実施の形態2おける情報処理装置1の起動時
の動作を示す説明図。
FIG. 6 is an explanatory diagram showing an operation at the time of activation of the information processing device 1 according to the second embodiment.

【図7】 実施の形態3おける情報処理装置1の起動時
の動作を示す説明図。
FIG. 7 is an explanatory diagram showing an operation at the time of activation of the information processing device 1 according to the third embodiment.

【図8】 実施の形態4の情報処理装置1の構成図。FIG. 8 is a configuration diagram of an information processing device 1 according to a fourth embodiment.

【図9】 実施の形態4おける情報処理装置1の起動時
の動作を示す説明図。
FIG. 9 is an explanatory diagram showing an operation at the time of activation of the information processing device 1 according to the fourth embodiment.

【図10】 実施の形態5の情報処理装置1の構成図。FIG. 10 is a configuration diagram of an information processing device 1 according to a fifth embodiment.

【図11】 実施の形態5おける情報処理装置1のRA
Mディスク操作時の動作を示す説明図。
FIG. 11 RA of the information processing apparatus 1 according to the fifth embodiment
Explanatory drawing which shows the operation | movement at the time of M disk operation.

【図12】 実施の形態6の情報処理装置1の構成図。FIG. 12 is a configuration diagram of an information processing device 1 according to a sixth embodiment.

【図13】 実施の形態6おける情報処理装置1の電源
断時の動作を示す説明図。
FIG. 13 is an explanatory diagram showing the operation of the information processing apparatus 1 according to the sixth embodiment when the power is turned off.

【図14】 実施の形態7の情報処理装置1の構成図。FIG. 14 is a configuration diagram of an information processing device 1 according to a seventh embodiment.

【図15】 実施の形態7おける情報処理装置1の故障
発生時の動作を示す説明図。
FIG. 15 is an explanatory diagram showing an operation when a failure occurs in the information processing device 1 according to the seventh embodiment.

【図16】 実施の形態7おける情報処理装置1の起動
時の動作を示す説明図。
FIG. 16 is an explanatory diagram showing an operation at the time of activation of the information processing device 1 according to the seventh embodiment.

【図17】 実施の形態8の情報処理装置1の構成図。FIG. 17 is a configuration diagram of the information processing device 1 according to the eighth embodiment.

【図18】 実施の形態8おける主記憶手段3上のRA
Mディスク領域13のデータ構造を示す図。
FIG. 18 RA on the main storage means 3 in the eighth embodiment
The figure which shows the data structure of M disk area | region 13.

【図19】 実施の形態8おける主記憶手段3上のRA
Mディスク領域13のデータ構造を示す図。
FIG. 19 RA on the main storage means 3 in the eighth embodiment
The figure which shows the data structure of M disk area | region 13.

【図20】 実施の形態8おける情報処理装置1の故障
発生時の動作を示す説明図。
FIG. 20 is an explanatory diagram showing an operation when a failure occurs in the information processing device 1 according to the eighth embodiment.

【図21】 実施の形態8おける情報処理装置1の起動
時の動作を示す説明図。
FIG. 21 is an explanatory diagram showing an operation at the time of starting the information processing apparatus 1 according to the eighth embodiment.

【図22】 従来の媒体環境更新装置の構成図。FIG. 22 is a block diagram of a conventional medium environment updating device.

【符号の説明】[Explanation of symbols]

1 情報処理装置1、2 二次記憶装置、3 主記憶手
段、4 OSファイル、6 OS領域、7 RAMディ
スク領域、8 OS、9 故障検出手段、10保存手
段、11 OSファイルロード手段、12 OS領域、
13 RAMディスク領域、14 RAMディスク保存
ファイル、 15 RAMディスク復元手段、16 フ
ラグ、17 RAMディスク操作手段、18 少容量バ
ッテリ、19 圧縮手段、20 復元手段、21 チェ
ック手段、22 ディスク復元手段、23 ディスク管
理情報領域、24 ファイル管理情報ブロック領域、2
5ファイルブロック領域、26 有効ファイル管理情報
ブロックリスト、27有効ファイル管理情報ブロックリ
スト。
1 information processing device 1, 2 secondary storage device, 3 main storage means, 4 OS files, 6 OS area, 7 RAM disk area, 8 OS, 9 failure detection means, 10 storage means, 11 OS file loading means, 12 OS region,
13 RAM disk area, 14 RAM disk save file, 15 RAM disk restoring means, 16 flag, 17 RAM disk operating means, 18 low capacity battery, 19 compression means, 20 restoring means, 21 checking means, 22 disk restoring means, 23 disks Management information area, 24 file management information block area, 2
5 file block area, 26 valid file management information block list, 27 valid file management information block list.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 OSプログラムとRAMディスクとが格
納された二次記憶手段と、 上記OSプログラムと上記RAMディスクのRAMディ
スク内容とを起動時にロードするOSファイルロード手
段と、 上記OSファイルロード手段によりロードされた上記O
Sプログラムにより実行された実行結果を上記OSファ
イルロード手段によりロードされた上記RAMディスク
内容に追加した変更RAMディスク内容を格納する主記
憶手段と、 故障を検出する故障検出手段と、 上記故障検出手段による故障検出時に、上記主記憶手段
に格納された上記変更RAMディスク内容を上記二次記
憶手段の上記RAMディスクに保存する保存手段とを備
えたことを特徴とする情報処理装置。
1. A secondary storage means for storing an OS program and a RAM disk; an OS file loading means for loading the OS program and the RAM disk contents of the RAM disk at startup; and the OS file loading means. The above O loaded
Main storage means for storing the modified RAM disk content obtained by adding the execution result executed by the S program to the RAM disk content loaded by the OS file loading means, failure detection means for detecting a failure, and failure detection means An information processing device, which stores the changed RAM disk contents stored in the main storage means in the RAM disk of the secondary storage means when a failure is detected.
【請求項2】 上記主記憶手段に格納された上記変更R
AMディスク内容を保存するRAMディスク保存手段
と、上記RAMディスク保存手段に保存された上記変更
RAMディスク内容を上記主記憶手段にロードするRA
Mディスク復元手段とを備え、 上記保存手段は、上記故障検出手段による故障検出時
に、上記主記憶手段に格納された上記変更RAMディス
ク内容を上記RAMディスク保存手段に保存することを
特徴とする請求項1記載の情報処理装置。
2. The change R stored in the main storage means.
RAM disk saving means for saving AM disk contents, and RA for loading the modified RAM disk contents saved in the RAM disk saving means into the main storage means.
M disk restoring means, wherein the saving means saves the changed RAM disk contents stored in the main storage means in the RAM disk saving means when the failure detecting means detects a failure. The information processing device according to item 1.
【請求項3】 上記RAMディスク復元手段は、上記R
AMディスク保存手段に保存された上記変更RAMディ
スク内容を上記主記憶手段にロードし、上記OSファイ
ルロード手段により上記主記憶手段にロードされた上記
RAMディスク内容に上記上記変更RAMディスク内容
を上書きすることを特徴とする請求項2記載の情報処理
装置。
3. The RAM disk restoring means is the R disk.
The modified RAM disk content stored in the AM disk storage means is loaded into the main storage means, and the modified RAM disk content loaded into the main storage means by the OS file loading means is overwritten with the modified RAM disk content. The information processing apparatus according to claim 2, wherein:
【請求項4】 上記OSファイルロード手段は、上記二
次記憶手段に保存された上記OSプログラムを起動時に
上記主記憶手段にロードし上記RAMディスク復元手段
は、上記RAMディスク保存手段に保存された上記変更
RAMディスク内容を起動時に上記主記憶手段にロード
することを特徴とする請求項2記載の情報処理装置。
4. The OS file loading means loads the OS program stored in the secondary storage means into the main storage means at startup, and the RAM disk restoring means is stored in the RAM disk storage means. 3. The information processing apparatus according to claim 2, wherein the contents of the modified RAM disk are loaded into the main storage means at startup.
【請求項5】 上記RAMディスク保存に保存された上
記変更RAMディスク内容を上記主記憶手段にロードす
るか、又は上記二次記憶手段に保存された上記RAMデ
ィスクの内容を上記主記憶手段にロードするかを示す示
すフラグを備え、 上記RAMディスク復元手段は、上記フラグに基づいて
上記変更RAMディスク内容又は上記RAMディスクの
内容を起動時に上記主記憶手段にロードすることを特徴
とする請求項2記載の情報処理装置。
5. The modified RAM disk content stored in the RAM disk storage is loaded into the main storage means, or the RAM disk content stored in the secondary storage means is loaded into the main storage means. 3. The RAM disk restoring means loads the changed RAM disk content or the RAM disk content into the main storage means at the time of start-up based on the flag. The information processing device described.
【請求項6】 上記RAMディスクの内容への読み書き
操作実行中は上記RAMディスクの内容を上記主記憶手
段にロードする上記フラグを表示し、又上記RAMディ
スクの内容への読み書き操作終了時は上記変更RAMデ
ィスク内容を上記主記憶手段にロードする上記フラグを
表示するRAMディスク操作手段を備えたことを特徴と
する請求項5記載の情報処理装置。
6. The flag for loading the contents of the RAM disk into the main storage means is displayed during execution of the read / write operation to the contents of the RAM disk, and when the read / write operation to the contents of the RAM disk is completed, the flag is displayed. 6. An information processing apparatus according to claim 5, further comprising a RAM disk operating means for displaying the flag for loading the changed RAM disk contents into the main storage means.
【請求項7】 上記保存手段は、上記主記憶手段に格納
された上記変更RAMディスク内容を圧縮する圧縮手段
を備え、 上記RAMディスク復元手段は、上記圧縮手段により圧
縮された上記変更RAMディスク内容を復元する復元手
段を備えたことを特徴とする請求項2記載の情報処理装
置。
7. The storage means comprises compression means for compressing the modified RAM disk content stored in the main storage means, and the RAM disk decompression means is the modified RAM disk content compressed by the compression means. The information processing apparatus according to claim 2, further comprising a restoring unit that restores the information.
【請求項8】 上記主記憶手段は、上記変更RAMディ
スク内容が格納されるファイルの管理情報が記録される
ファイル管理情報ブロック領域とファイルデータが記録
されるファイルブロック領域とにより構成されたRAM
ディスク領域を備え、 上記保存手段は、上記ファイル管理情報ブロック領域と
上記ファイルブロック領域の中から上記変更RAMディ
スク内容が格納されたファイルの管理情報が記録された
有効ファイル管理情報ブロックとファイルデータが記録
されたファイルブロックとを検索するチェック手段を備
え、上記チェック手段により検索された上記有効ファイ
ル管理情報ブロックと上記有効ファイルブロックとを上
記RAMディスク保存手段に保存し、 上記RAMディスク復元手段は、上記RAMディスク保
存手段に保存された上記有効ファイル管理情報ブロック
と上記有効ファイルブロックとに基づいてRAMディス
クの内容を復元し、上記主記憶手段にロードするディス
ク復元手段を備えたことを特徴とする請求項2記載の情
報処理装置。
8. The RAM comprising a file management information block area in which management information of a file in which the contents of the modified RAM disk are stored and a file block area in which file data is recorded are stored in the main storage means.
The storage means includes a disk area, and the storage means stores a valid file management information block and file data in which management information of a file in which the changed RAM disk content is stored is recorded from the file management information block area and the file block area. A check means for searching the recorded file block; and storing the valid file management information block and the valid file block searched by the checking means in the RAM disk saving means, and the RAM disk restoring means, It is characterized by further comprising disk restoring means for restoring the contents of the RAM disk based on the valid file management information block and the valid file block saved in the RAM disk saving means and loading the contents in the main storage means. The information processing apparatus according to claim 2.
【請求項9】 一定時間電気供給を行う小容量バッテリ
を備え、 上記故障検出手段は電源断を検出し、 上記保存手段は、上記故障検出手段により電源断が検出
されると、上記小容量バッテリによる一定時間の電気供
給に基づいて上記主記憶手段に格納された上記変更RA
Mディスク内容を上記二次記憶手段の上記RAMディス
クに保存することを特徴とする請求項1記載の情報処理
装置。
9. A small-capacity battery that supplies electricity for a certain period of time, wherein the failure detection means detects a power failure, and the storage means, when the failure detection means detects a power failure, the small-capacity battery. The changed RA stored in the main storage means based on the electricity supply for a certain time by
The information processing apparatus according to claim 1, wherein the contents of the M disk are stored in the RAM disk of the secondary storage means.
JP2001314156A 2001-10-11 2001-10-11 Information processing device Expired - Fee Related JP4055386B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001314156A JP4055386B2 (en) 2001-10-11 2001-10-11 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001314156A JP4055386B2 (en) 2001-10-11 2001-10-11 Information processing device

Publications (2)

Publication Number Publication Date
JP2003122647A true JP2003122647A (en) 2003-04-25
JP4055386B2 JP4055386B2 (en) 2008-03-05

Family

ID=19132515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001314156A Expired - Fee Related JP4055386B2 (en) 2001-10-11 2001-10-11 Information processing device

Country Status (1)

Country Link
JP (1) JP4055386B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008257584A (en) * 2007-04-06 2008-10-23 Hitachi Ltd Ram disk processing method and system
JP2012008672A (en) * 2010-06-23 2012-01-12 Lenovo Singapore Pte Ltd Backup method of main memory and data protection system
JP2012063884A (en) * 2010-09-14 2012-03-29 Toshiba Corp Storage device, electronics and control method of storage device
US10459650B2 (en) 2014-07-24 2019-10-29 Samsung Electronics Co., Ltd. Data operation method and electronic device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008257584A (en) * 2007-04-06 2008-10-23 Hitachi Ltd Ram disk processing method and system
JP2012008672A (en) * 2010-06-23 2012-01-12 Lenovo Singapore Pte Ltd Backup method of main memory and data protection system
JP2012063884A (en) * 2010-09-14 2012-03-29 Toshiba Corp Storage device, electronics and control method of storage device
US8411526B2 (en) 2010-09-14 2013-04-02 Kabushiki Kaisha Toshiba Storage device, electronic device, and storage device control method
US10459650B2 (en) 2014-07-24 2019-10-29 Samsung Electronics Co., Ltd. Data operation method and electronic device

Also Published As

Publication number Publication date
JP4055386B2 (en) 2008-03-05

Similar Documents

Publication Publication Date Title
JP2779813B2 (en) computer
US7971014B2 (en) Information processing apparatus and data recovering method
CN100394391C (en) Systems and methods for storing data on computer systems
US7472139B2 (en) Database recovery method applying update journal and database log
KR101636870B1 (en) Method and apparatus for generating minimal boot image
US9146928B1 (en) Techniques for storing metadata of a filesystem in persistent memory
US20080082593A1 (en) Using shrinkable read-once snapshots for online data backup
JPH077317B2 (en) System restart device
US20050086551A1 (en) Memory optimization for a computer system having a hibernation mode
JPWO2006104197A1 (en) Processing device, program, and storage medium
KR100692473B1 (en) Information processing apparatus, information processing apparatus control program, and information processing apparatus control method
JP5458749B2 (en) Information processing apparatus, program, and memory power control method
JP2012068797A (en) Start-up acceleration method, information processing apparatus and program
JP2010108253A (en) Apparatus using nonvolatile memory as main memory
JP4055386B2 (en) Information processing device
JP2007128448A (en) File system and file information processing method
JP6080492B2 (en) Information processing apparatus, activation method, and program
JP5161600B2 (en) Information processing apparatus and data recovery method
WO2014147707A1 (en) Informaton processing device, information processing method, and information processing program
JP2003122644A (en) Computer and its storage device
JPH09212424A (en) Disk cache and disk caching method
JPS62242257A (en) Backup system for system
JP7219813B2 (en) Arithmetic processing device, vehicle control device and update method
JPH06309210A (en) File system information controller
JP6080491B2 (en) Information processing apparatus, activation method, and program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040705

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041001

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070522

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070627

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071016

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071203

R151 Written notification of patent or utility model registration

Ref document number: 4055386

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20101221

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111221

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111221

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121221

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121221

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131221

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees