JP2000172574A - Information processor - Google Patents

Information processor

Info

Publication number
JP2000172574A
JP2000172574A JP10342533A JP34253398A JP2000172574A JP 2000172574 A JP2000172574 A JP 2000172574A JP 10342533 A JP10342533 A JP 10342533A JP 34253398 A JP34253398 A JP 34253398A JP 2000172574 A JP2000172574 A JP 2000172574A
Authority
JP
Japan
Prior art keywords
recorded
memory
data
address
file
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.)
Withdrawn
Application number
JP10342533A
Other languages
Japanese (ja)
Inventor
Tsuyoshi Tamura
剛志 田村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP10342533A priority Critical patent/JP2000172574A/en
Publication of JP2000172574A publication Critical patent/JP2000172574A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an information processor which can shorten the hibernation processing time. SOLUTION: This information processor includes a nonvolatile auxiliary memory 1 where a file describing a processing execution program is recorded and then shifts the file recorded in the memory 1 to a main memory 2 to execute the processing there. Then a header is added to record an address where the rewritable data on the file recorded in the memory 1 are recorded together with a hibernation processing part 3 which records the address data on the memory 2 corresponding to the address recorded on the head in a temporary store area IC of the memory 1 when a hibernation state occurs.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はハイバネーション処
理時間を短縮させるようにした情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus for shortening a hibernation processing time.

【0002】[0002]

【従来の技術】情報処理装置においては、揮発性のRA
Mで構成される主メモリに、不揮発性の補助メモリに記
録されている処理を実行させるプログラムが記載されて
いるファイルをロードし、処理を実行させている。
2. Description of the Related Art In an information processing apparatus, a volatile RA
A file in which a program for executing a process recorded in a non-volatile auxiliary memory is loaded into a main memory constituted by M, and the process is executed.

【0003】また処理を実行中に何らかの要因によって
電源をオフする場合(例えばノートブックコンピュータ
においては電池の残量が減少して処理が実行されなくな
った場合)が発生したときは、後で処理を連続して再開
始できるようにするため、主メモリに記録されているデ
ータを不揮発性のメモリに移換えた後で電源をオフし、
要因が解消して電源をオンして処理を再開される時は不
揮発性メモリに記録されているデータを主メモリに移換
えて処理を再開させるハイバネーション処理が行われて
いる。
When the power is turned off for some reason during the execution of a process (for example, in a notebook computer, when the remaining battery power decreases and the process is not executed), the process is executed later. In order to be able to restart continuously, the data recorded in the main memory is transferred to the non-volatile memory and then turned off,
When the cause is eliminated and the power is turned on to resume the processing, hibernation processing is performed in which data recorded in the nonvolatile memory is transferred to the main memory and the processing is resumed.

【0004】このようなハイバネーション処理時におけ
る主メモリより不揮発性のメモリへのデータの移換には
長時間を要し、これを解決するために特開平9−319
667号公報および特開平9−44418号公報では、
主メモリの有効領域(実際に使用されている領域)のデ
ータを不揮発性メモリに移換えて移換時間を短縮してい
る。
It takes a long time to transfer data from the main memory to the non-volatile memory during such a hibernation process.
667 and JP-A-9-44418,
The data in the effective area (the area actually used) of the main memory is transferred to the nonvolatile memory to reduce the transfer time.

【0005】また特開平8−328967号公報および
特開平9−44417号公報においては、主メモリを複
数のブロックに分割し、処理にデータが更新されたブロ
ックのみを不揮発性メモリに移換えて移換時間を短縮し
ている。
In Japanese Patent Application Laid-Open Nos. 8-328968 and 9-44417, the main memory is divided into a plurality of blocks, and only the blocks whose data has been updated during processing are transferred to the non-volatile memory. Switching time has been reduced.

【0006】[0006]

【発明が解決しようとする課題】しかし、上述した従来
例においても移換を要するデータ量は多く、移換に長時
間を要している。本発明はハイバネーション処理時間を
短縮させるようにした情報処理装置を提供することを課
題とする。
However, even in the above-described conventional example, the amount of data that needs to be transferred is large, and the transfer requires a long time. SUMMARY OF THE INVENTION It is an object of the present invention to provide an information processing apparatus in which the hibernation processing time is reduced.

【0007】[0007]

【課題を解決するための手段】前述の課題を解決するた
めに、請求項1の発明においては、処理を実行させるプ
ログラムが記載されているファイルが記録されている不
揮発性の補助メモリと、前記補助メモリに記録されてい
るファイルを主メモリに移して処理を実行させる情報処
理装置において、前記補助メモリに、記録されているフ
ァイルの書換可能なデータが記録されるアドレスを記録
させたヘッダを設け、ハイバネーション発生時に、前記
ヘッダに記録されたアドレスに対応する前記主メモリの
アドレスのデータを前記補助メモリの一時ストア領域に
記録させるハイバネーション処理部を設ける。
According to a first aspect of the present invention, there is provided a nonvolatile auxiliary memory storing a file in which a program for executing a process is described; In an information processing apparatus for moving a file recorded in an auxiliary memory to a main memory and executing a process, the auxiliary memory is provided with a header for recording an address at which rewritable data of the recorded file is recorded. A hibernation processing unit that records data of an address of the main memory corresponding to an address recorded in the header in a temporary storage area of the auxiliary memory when hibernation occurs.

【0008】また請求項2の発明においては、前記ハイ
バネーション処理部が、処理再開時に、処理を再開させ
るファイルを前記補助メモリより前記主メモリに移し、
その後前記一時ストア領域よりデータを読出し、前記ヘ
ッダに記録されているアドレスに対応する前記主メモリ
のデータを書換える。
Further, in the invention according to claim 2, the hibernation processing unit transfers a file to be resumed from the auxiliary memory to the main memory when the process is resumed,
Thereafter, data is read from the temporary store area, and data in the main memory corresponding to the address recorded in the header is rewritten.

【0009】[0009]

【発明の実施の形態】本発明の一実施の形態を図1〜図
3を参照して説明する。図1は本発明の実施例の構成
図、図2は同実施例の補助メモリの具体例、図3は同実
施例の動作フローチャートである。図1において、1は
不揮発性の補助メモリ、2は主メモリ、3はハイバネー
ション処理部、4は表示部、5は入力部、6はインタフ
ェース(I/O)、7は処理を行うプロセッサ(CP
U)である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a configuration diagram of an embodiment of the present invention, FIG. 2 is a specific example of an auxiliary memory of the embodiment, and FIG. 3 is an operation flowchart of the embodiment. In FIG. 1, 1 is a nonvolatile auxiliary memory, 2 is a main memory, 3 is a hibernation processing unit, 4 is a display unit, 5 is an input unit, 6 is an interface (I / O), and 7 is a processor (CP
U).

【0010】不揮発性メモリ1には、図2で示されるよ
うに、処理を実行させるプログラムが記載されているフ
ァイル1Aとファイル1Aの中の書換可能なデータが記
録されているアドレスが記録されているヘッダ1B、お
よびハイバネーション時に主メモリ1のデータを一時ス
トアする一時ストア領域1Cが設けられている。ヘッダ
1Bに記録されるアドレスは、例えば次の方法によって
選択されてヘッダとして記録される。
As shown in FIG. 2, the non-volatile memory 1 stores a file 1A in which a program for executing a process is described and an address at which rewritable data in the file 1A is recorded. And a temporary storage area 1C for temporarily storing data in the main memory 1 during hibernation. The address recorded in the header 1B is selected, for example, by the following method and recorded as a header.

【0011】処理を実行させるプログラムは一般に高級
言語で書かれており、これをコンパイルし、コンパイル
されたデータがファイル1Aに記録されている。プログ
ラムをコンパイルするコンパイラは、読取ったデータが
命令語であるか変数であるか、または配列であるかを認
識し、認識結果に基づいて機械語に変換する。
A program for executing the processing is generally written in a high-level language, which is compiled, and the compiled data is recorded in a file 1A. A compiler that compiles a program recognizes whether the read data is an instruction word, a variable, or an array, and converts the read data into a machine language based on the recognition result.

【0012】したがって、プログラムをコンパイルする
とき、変数または配列等のように処理実行中にデータが
書換えられる可能性のあるデータに対しては、コンパイ
ルされた書換えられる可能性のあるデータのアドレスを
ヘッダ1Aに記録させる。
Therefore, when compiling a program, for data whose data may be rewritten during processing, such as a variable or an array, an address of the compiled data that may be rewritten is added to the header. Record on 1A.

【0013】つぎに、図3を参照して、実施例の動作を
説明する。ステップS1では、入力部5より指示された
ファイルを補助メモリ1より読出し、主メモリ2に記録
する。ステップS2では、入力部5よりの処理開始指示
よりCPU7は主メモリ2に記録されたプログラムの処
理を実行する。
Next, the operation of the embodiment will be described with reference to FIG. In step S1, the file specified by the input unit 5 is read from the auxiliary memory 1 and recorded in the main memory 2. In step S2, the CPU 7 executes the processing of the program recorded in the main memory 2 according to the processing start instruction from the input unit 5.

【0014】ステップS3では、ハイバネーション処理
部3は、ハイバネーション処理を実行する要因が発生し
たか否かを判定し、判定がNOならばステップS2およ
びS3を繰返して実行する。ステップS4では、ハイバ
ネーション処理部3は、ステップS2での処理を中断
し、ヘッダ1Bに記録されているアドレスに対応する主
メモリ2のデータを補助メモリ1の一時ストア領域に記
録する。また、必要に応じて表示部4で表示させている
データ等も一時ストア領域に記録する。
In step S3, the hibernation processing section 3 determines whether or not a factor for executing the hibernation processing has occurred. If the determination is NO, steps S2 and S3 are repeated. In step S4, the hibernation processing unit 3 interrupts the process in step S2, and records the data of the main memory 2 corresponding to the address recorded in the header 1B in the temporary storage area of the auxiliary memory 1. Further, data and the like displayed on the display unit 4 are also recorded in the temporary storage area as needed.

【0015】一時ストア領域への記録が完了すると電源
をオフにする。これにより主メモリ2、表示部4で表示
させているデータは消滅する。ステップS5では、電源
がオンされて、入力部5より処理再開の指令が入力され
るとステップS6に移る。
When the recording in the temporary store area is completed, the power is turned off. As a result, the data displayed on the main memory 2 and the display unit 4 disappears. In step S5, when the power is turned on and a command to restart processing is input from the input unit 5, the process proceeds to step S6.

【0016】ステップS6では、ハイバネーション処理
部3は、ステップS1と同様に、電源オフ前に処理を実
行していたファイル1Aを補助メモリ1より読出し、主
メモリ2に記録する。ステップS7では、ハイバネーシ
ョン処理部3は、補助メモリ1の一時ストア領域1Cに
記録されているデータを読出し、ヘッダ1Bに記録され
ているアドレスに対応する主メモリ2のアドレスのデー
タを書換える。ステップS8では、ハイバネーション処
理部3は、データの書換が終了すると処理を再開させ
る。
In step S6, the hibernation processing unit 3 reads out the file 1A, which was being processed before the power was turned off, from the auxiliary memory 1 and records it in the main memory 2, as in step S1. In step S7, the hibernation processing unit 3 reads the data recorded in the temporary storage area 1C of the auxiliary memory 1, and rewrites the data at the address of the main memory 2 corresponding to the address recorded in the header 1B. In step S8, the hibernation processing unit 3 restarts the processing when the data rewriting is completed.

【0017】[0017]

【発明の効果】以上説明したように、本発明によれば、
不揮発性メモリに、ファイルの書換可能なデータが記録
されているアドレスを記録させ、ハイバネーション時に
は、ファイルの書換可能なデータが記録されているアド
レスに対応する主メモリのデータのみを不揮発性メモリ
に記録させるようにしたので、ハイバネーション処理時
間を短縮させることができる。
As described above, according to the present invention,
The non-volatile memory records the address where the rewritable data of the file is recorded. During hibernation, only the data in the main memory corresponding to the address where the rewritable data of the file is recorded is recorded in the non-volatile memory As a result, the hibernation processing time can be reduced.

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

【図1】本発明の実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】同実施例の補助メモリの具体例である。FIG. 2 is a specific example of an auxiliary memory according to the embodiment.

【図3】同実施例の動作フローチャートである。FIG. 3 is an operation flowchart of the embodiment.

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

1 補助メモリ 1A ファイル 1B ヘッダ 1C 一時ストア領域 2 主メモリ 3 ハイバネーション処理部 4 表示部 5 入力部 6 インタフェース(I/O) 7 プロセッサ(CPU) Reference Signs List 1 auxiliary memory 1A file 1B header 1C temporary storage area 2 main memory 3 hibernation processing unit 4 display unit 5 input unit 6 interface (I / O) 7 processor (CPU)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 処理を実行させるプログラムが記載され
ているファイルが記録されている不揮発性の補助メモリ
と、前記補助メモリに記録されているファイルを主メモ
リに移して処理を実行させる情報処理装置において、 前記補助メモリに、記録されているファイルの書換可能
なデータが記録されるアドレスを記録させたヘッダを設
け、 ハイバネーション発生時に、前記ヘッダに記録されたア
ドレスに対応する前記主メモリのアドレスのデータを前
記補助メモリの一時ストア領域に記録させるハイバネー
ション処理部を設けたことを特徴とする情報処理装置。
1. A non-volatile auxiliary memory in which a file in which a program for executing a process is described is recorded, and an information processing apparatus for executing a process by transferring a file recorded in the auxiliary memory to a main memory In the auxiliary memory, a header in which an address at which rewritable data of a recorded file is recorded is provided, and when a hibernation occurs, an address of the main memory corresponding to the address recorded in the header is provided. An information processing apparatus comprising a hibernation processing unit for recording data in a temporary storage area of the auxiliary memory.
【請求項2】 前記ハイバネーション処理部が、処理再
開時に、処理を再開させるファイルを前記補助メモリよ
り前記主メモリに移し、その後前記一時ストア領域より
データを読出し、前記ヘッダに記録されているアドレス
に対応する前記主メモリのデータを書換えるようにした
ことを特徴とする請求項1記載の情報処理装置。
2. The hibernation processing unit, when processing is resumed, moves a file whose processing is to be resumed from the auxiliary memory to the main memory, reads data from the temporary store area, and stores the data in the address recorded in the header. 2. The information processing apparatus according to claim 1, wherein the corresponding data in said main memory is rewritten.
JP10342533A 1998-12-02 1998-12-02 Information processor Withdrawn JP2000172574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10342533A JP2000172574A (en) 1998-12-02 1998-12-02 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10342533A JP2000172574A (en) 1998-12-02 1998-12-02 Information processor

Publications (1)

Publication Number Publication Date
JP2000172574A true JP2000172574A (en) 2000-06-23

Family

ID=18354492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10342533A Withdrawn JP2000172574A (en) 1998-12-02 1998-12-02 Information processor

Country Status (1)

Country Link
JP (1) JP2000172574A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7574590B2 (en) * 2005-10-26 2009-08-11 Sigmatel, Inc. Method for booting a system on a chip integrated circuit
US8788746B2 (en) 2009-03-18 2014-07-22 Ricoh Company, Ltd. Information processing apparatus, image forming apparatus, data recovery method, and computer-readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7574590B2 (en) * 2005-10-26 2009-08-11 Sigmatel, Inc. Method for booting a system on a chip integrated circuit
US8788746B2 (en) 2009-03-18 2014-07-22 Ricoh Company, Ltd. Information processing apparatus, image forming apparatus, data recovery method, and computer-readable recording medium

Similar Documents

Publication Publication Date Title
KR100415371B1 (en) Computer
US6785808B2 (en) System and method for altering an operating system start-up sequence prior to operating system loading
CN113641378A (en) Optical module program upgrading method, device, equipment and readable storage medium
JPH10214203A (en) Information processor
JP2000172574A (en) Information processor
JPH09146774A (en) Personal computer system
JPH0410081B2 (en)
JPH09259029A (en) Control system for storage device using eeprom
JP3022011B2 (en) Data backup system
JP2000267707A (en) Sequence controller, maintenance method for maintenance area in the same device, and recording medium for storing computer program for executing the same method
JPH09330253A (en) Memory dump method and memory damp system applying the same
JP2713218B2 (en) Checkpoint / restart processing method
JP2008171246A (en) Flash memory drive device, its control method, and its program
JP2001134384A (en) Information processor
JP2000353359A (en) Storage device initializing method
JPH0496122A (en) Information processor
JPH0454548A (en) Memory check system for computer system
JP2000222198A (en) Information processor
JPS6051736B2 (en) information processing equipment
JP2005038180A (en) Program starting method, program starting program, and computer-readable storage medium
JPH0158522B2 (en)
JP3442972B2 (en) Information processing apparatus and rewritable nonvolatile memory rewriting method
JPH07152574A (en) Program loading system
JPH11154096A (en) Flash memory management device and method, and interruption management device and method
JP3730684B2 (en) Display device for programmable controller and display information writing method thereof

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060207