JPH1091296A - Information processing device and method - Google Patents

Information processing device and method

Info

Publication number
JPH1091296A
JPH1091296A JP8240300A JP24030096A JPH1091296A JP H1091296 A JPH1091296 A JP H1091296A JP 8240300 A JP8240300 A JP 8240300A JP 24030096 A JP24030096 A JP 24030096A JP H1091296 A JPH1091296 A JP H1091296A
Authority
JP
Japan
Prior art keywords
data
storage unit
main storage
stored
register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8240300A
Other languages
Japanese (ja)
Inventor
Koichi Satake
浩一 佐竹
Takashi Kobayashi
敬 小林
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP8240300A priority Critical patent/JPH1091296A/en
Publication of JPH1091296A publication Critical patent/JPH1091296A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To secure the using facility of an information processor for its user by using the data stored in a main storage part as the backup data as long as the data are not destroyed and using the data stored in a magnetic disk device as the backup data if the data of the main storage part are destroyed. SOLUTION: A power switch is turned on and the supply of power is started to all devices (11), and it's confirmed whether the data are backed up or not (12). When the data are backed up, the checksum value is calculated in every byte against the data stored in a main storage part (14). Then this checksum value is compared with the checksum value that is stored in a CMOS (15). If both value are equal to each other, it's decided that the data of the main storage part are not destroyed and these data are sued as the backup data (17). If both value are not equal to each other, it's decided that the data of the main storage part are destroyed and the data stored in a magnetic disk device are used as the backup data (16).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はパーソナルコンピュ
ータ等の情報処理装置におけるユーザーの使い勝手とデ
ータ保護の両立を実現させる制御装置及びその方法に関
するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a control apparatus and method for realizing both user convenience and data protection in an information processing apparatus such as a personal computer.

【0002】[0002]

【従来の技術】従来ノートブックパソコン等の携帯型パ
ソコンにおいては、ユーザーの利便性を考慮したデータ
バックアップ方式が種々提案されている。その一つは、
電源スイッチがオフされたときも主記憶部に電気供給を
継続し、電源スイッチをオフしたときの主記憶部及びレ
ジスタの状態をバックアップしておき、次に電源スイッ
チをオンしたときに即座に中断した仕事を続けて行える
ようにしている方式(いわゆるサスペンド/レジューム
方式)である。
2. Description of the Related Art Conventionally, for portable personal computers such as notebook personal computers, various data backup methods have been proposed in consideration of user's convenience. One of them is
When the power switch is turned off, the power is continuously supplied to the main memory, the state of the main memory and the register when the power switch is turned off is backed up, and the operation is immediately interrupted the next time the power switch is turned on. This is a method (so-called suspend / resume method) that allows the user to continue performing the same work.

【0003】また他のデータバックアップの方式とし
て、電源スイッチをオフしたときに、主記憶部およびレ
ジスタのデータを磁気ディスク装置等の不揮発性の記憶
手段にバックアップし、次に電源スイッチをオンしたと
きは、磁気ディスク装置等の不揮発性の記憶手段からバ
ックアップしたデータを主記憶部およびレジスタに転送
することにより、中断した仕事を続けて行えるようにし
ている方式(いわゆるハイバネーション方式)もある。
As another data backup method, when a power switch is turned off, data in a main memory and a register is backed up in a non-volatile storage means such as a magnetic disk device, and then when a power switch is turned on. There is also a method (so-called hibernation method) in which interrupted work can be continued by transferring data backed up from a non-volatile storage means such as a magnetic disk device to a main storage unit and a register.

【0004】[0004]

【発明が解決しようとする課題】近年ノートブックパソ
コン等の携帯型パソコンのみならず据え置き型のデスク
トップパソコンにおいても、電源スイッチをオンしたと
きに即座に中断した仕事を続けることができるように、
バックアップ機能を備えたものが要求されるようになっ
てきた。デスクトップパソコンは、バッテリー装置を備
えていないため、AC電源からの電気供給が瞬断等で少
しでも途絶えた場合は、主記憶部の保存したデータが直
ちに失われてしまう。従って主記憶部上でデータをバッ
クアップする場合、この点に注意しなければならなかっ
た。
In recent years, not only portable personal computers such as notebook personal computers, but also stationary desktop personal computers, so that the interrupted work can be immediately continued when the power switch is turned on.
Devices with a backup function have been required. Since the desktop personal computer does not have a battery device, if the power supply from the AC power supply is interrupted even a little due to a momentary interruption or the like, the data stored in the main storage unit is immediately lost. Therefore, when backing up data on the main storage unit, this point must be considered.

【0005】本発明は以上の問題点を解決するものであ
り、デスクトップパソコン等のバッテリーを有しない情
報処理装置において、ユーザの利便性を確保しつつ確実
にデータを保護できる情報処理装置を提供することを目
的とする。
The present invention solves the above-mentioned problems, and provides an information processing apparatus having no battery, such as a desktop personal computer, which can securely protect data while ensuring user convenience. The purpose is to:

【0006】[0006]

【課題を解決するための手段】データをバックアップす
る際に、主記憶部と磁気ディスク装置等の不揮発性の記
憶手段の両方にデータを保存しておき、主記憶部上で保
存データが壊れていなければ、主記憶部の保存データを
バックアップデータとして使用し、保存データが壊れて
いれば、磁気ディスク装置の保存データをバックアップ
データとして使用することにより、ユーザの利便をはか
りつつ、万一主記憶部のデータが失われた場合でも、確
実にデータを保護することを可能にする。
When data is backed up, the data is stored in both the main storage unit and a non-volatile storage unit such as a magnetic disk device, and the stored data is damaged on the main storage unit. If not, the data stored in the main storage unit is used as backup data, and if the stored data is corrupted, the data stored in the magnetic disk device is used as backup data, thereby ensuring the convenience of the user while maintaining the main storage. Even if some data is lost, it is possible to reliably protect the data.

【0007】[0007]

【発明の実施の形態】本発明の請求項1に記載の発明
は、パーソナルコンピュータ等の情報処理装置におい
て、磁気ディスク装置等の不揮発性の記憶手段と、電源
スイッチと、電源と、主記憶部と、レジスタとを有し、
前記電源スイッチがオフされたときは、前記主記憶部の
データと前記レジスタのデータを、前記主記憶部と前記
不揮発性の記憶手段にともに保存し、前記電源スイッチ
がオンされたときに、前記主記憶部に保存された前記主
記憶部のデータと前記レジスタのデータが壊れていなけ
れば、前記主記憶部の保存データを前記主記憶部と前記
レジスタで使用し、壊れていれば、前記不揮発性の記憶
手段から、前記主記憶部と前記レジスタに保存データを
転送して使用することを特徴とする情報処理装置であ
り、ユーザの利便をはかりつつ、万一主記憶部のデータ
が失われた場合でも確実にデータを保護することが可能
になるという効果を有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention according to claim 1 of the present invention relates to an information processing apparatus such as a personal computer, a nonvolatile storage means such as a magnetic disk drive, a power switch, a power supply, and a main storage unit. And a register,
When the power switch is turned off, the data in the main storage unit and the data in the register are stored together in the main storage unit and the nonvolatile storage unit, and when the power switch is turned on, If the data in the main storage unit and the data in the register stored in the main storage unit are not damaged, the data stored in the main storage unit is used in the main storage unit and the register. An information processing apparatus characterized in that the stored data is transferred from the storage means to the main storage unit and the register and used, and the data in the main storage unit is lost while maintaining the convenience of the user. This has the effect that the data can be reliably protected even in the case where the error occurs.

【0008】本発明の請求項2に記載の発明は、パーソ
ナルコンピュータ等の情報処理装置において、電源スイ
ッチがオフされたときに、主記憶部のデータとレジスタ
のデータを、前記主記憶部と磁気ディスク装置等の不揮
発性の記憶手段にともに保存するステップと、電源スイ
ッチがオンされたときに、前記主記憶部に保存された主
記憶部のデータとレジスタのデータが壊れているかどう
か判定するステップと、壊れていなければ、前記主記憶
部の保存データを、前記主記憶部と前記レジスタで使用
し、壊れていれば、前記不揮発性の記憶手段から前記主
記憶部と前記レジスタに保存データを転送して使用する
ステップからなる情報処理方法であり、ユーザの利便を
はかりつつ、万一主記憶部のデータが失われた場合でも
確実にデータを保護することが可能になるという効果を
有する。
According to a second aspect of the present invention, in an information processing apparatus such as a personal computer, when a power switch is turned off, data in a main storage unit and data in a register are transferred from the main storage unit to a magnetic storage device. Storing both in a non-volatile storage means such as a disk device, and determining whether data in the main storage unit and data in the register stored in the main storage unit are damaged when a power switch is turned on. If not, the stored data in the main storage unit is used in the main storage unit and the register, and if broken, the stored data is stored in the main storage unit and the register from the nonvolatile storage unit. This is an information processing method that consists of the steps of transferring and using the data. For the convenience of the user, even if the data in the main memory is lost, the data is securely stored. An effect that is possible to.

【0009】以下本発明の実施の形態について図1と図
2を用いて説明する。 (実施の形態1)図1は電源スイッチをオンしたときの
制御を示すフローチャートであり、図2は電源スイッチ
をオフしたときの制御を示すフローチャートである。
An embodiment of the present invention will be described below with reference to FIGS. (Embodiment 1) FIG. 1 is a flowchart showing control when the power switch is turned on, and FIG. 2 is a flowchart showing control when the power switch is turned off.

【0010】まず最初に図2を用いて、電源スイッチを
オフしたときの動作について説明する。
First, the operation when the power switch is turned off will be described with reference to FIG.

【0011】図2において、電源スイッチをオフしたと
きは、ステップ21でデータをバックアップするかどう
かを確認する。データをバックアップしないときはステ
ップ22へ移行し、すべての装置への電気供給を停止す
る。データをバックアップするときはステップ23へ移
行し、主記憶部のデータ及びレジスタのデータを主記憶
部に保存する。次にステップ24へ移行し、今保存した
主記憶部のデータに対してバイト単位でチェックサムを
計算し、計算したチェックサム値をCMOS(電池でバ
ックアップされたメモリー)に保存する。次にステップ
25へ移行し、主記憶部のデータ及びレジスタのデータ
をHDDに保存する。次にステップ26へ移行し、主記
憶部に対する電気供給のみ継続し、その他の装置に対す
る電気供給を停止する。
In FIG. 2, when the power switch is turned off, it is checked in step 21 whether data is backed up. If the data is not to be backed up, the process proceeds to step 22, and the power supply to all devices is stopped. When the data is backed up, the process proceeds to step 23, where the data in the main storage unit and the data in the register are stored in the main storage unit. Next, the process proceeds to step 24, where a checksum is calculated in bytes for the data of the main storage unit that has just been stored, and the calculated checksum value is stored in a CMOS (memory backed up by a battery). Next, the process proceeds to step 25, where the data in the main storage unit and the data in the register are stored in the HDD. Next, the process proceeds to step 26, where only the power supply to the main storage unit is continued, and the power supply to the other devices is stopped.

【0012】次に図1を用いて、電源スイッチをオンし
たときの動作について説明する。図1において、電源ス
イッチをオンしたとき、ステップ11ですべての装置に
対する電気供給を開始する。次にステップ12でデータ
がバックアップされているかどうかを確認する。データ
がバックアップされていない場合は、ステップ13へ移
行し、通常の電源立ち上げ時の初期化処理であるレジス
タ等の初期化を行う。ステップ12でデータがバックア
ップされている場合は、ステップ14へ移行し、主記憶
部の保存データに対して、バイト単位でチェックサムを
計算する。次にステップ15に移行し、計算したチェッ
クサム値と電源をオフした際にCMOSに保存した正し
いチェックサム値と比較する。比較結果が等しければ、
主記憶部の保存データは壊れていないと判断し、ステッ
プ17へ移行する。ステップ17では、主記憶部の保存
データを主記憶部およびレジスタに戻す。実際には主記
憶部に戻す必要のあるデータは、バックアップされる前
の状態で保存されているので、主記憶部に保存されたレ
ジスタのデータのみを対応するレジスタに戻せばよい。
ステップ15で、チェックサム値の比較結果が等しくな
ければ主記憶部の保存データは壊れていると判断し、ス
テップ16へ移行し、HDDの保存データを主記憶部お
よびレジスタに戻す。
Next, the operation when the power switch is turned on will be described with reference to FIG. In FIG. 1, when the power switch is turned on, in step 11, the electric supply to all the devices is started. Next, at step 12, it is confirmed whether data is backed up. If the data has not been backed up, the process proceeds to step 13, where initialization of registers and the like, which is initialization processing at the time of normal power-on, is performed. If the data has been backed up in step 12, the process proceeds to step 14, where a checksum is calculated for the data stored in the main storage unit in byte units. Next, the process proceeds to step 15, where the calculated checksum value is compared with the correct checksum value stored in the CMOS when the power is turned off. If the comparison results are equal,
It is determined that the data stored in the main storage unit is not broken, and the process proceeds to step S17. In step 17, the data stored in the main storage unit is returned to the main storage unit and the register. Actually, the data that needs to be returned to the main storage unit is stored in a state before being backed up, so only the data of the register stored in the main storage unit needs to be returned to the corresponding register.
In step 15, if the comparison results of the checksum values are not equal, it is determined that the data stored in the main storage unit is broken, and the process proceeds to step 16, where the data stored in the HDD is returned to the main storage unit and the register.

【0013】[0013]

【発明の効果】以上詳細に説明したように本発明は、電
源スイッチをオフしたときに、主記憶部のデータ及びレ
ジスタのデータを主記憶部とHDDにともにバックアッ
プして保存しておき、次に電源スイッチをオンしたとき
に、主記憶部の保存したデータが壊れているか否かに応
じて、主記憶部から主記憶部およびレジスタにデータを
戻したり、HDDから主記憶部およびレジスタにデータ
を戻したりするものであり、ユーザの利便性と確実なデ
ータ保護を実現した使い勝手のよい情報処理装置を提供
することが可能となりその効果は極めて大である。
As described above in detail, according to the present invention, when the power switch is turned off, the data in the main memory and the data in the register are backed up and stored in the main memory and the HDD together. When the power switch is turned on, the data is returned from the main storage unit to the main storage unit and the register, and the data is returned from the HDD to the main storage unit and the register, depending on whether the data stored in the main storage unit is damaged. It is possible to provide an easy-to-use information processing device that realizes user convenience and reliable data protection, and the effect is extremely large.

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

【図1】電源スイッチをオンしたときの動作を示すフロ
ーチャート
FIG. 1 is a flowchart showing an operation when a power switch is turned on.

【図2】電源スイッチをオフしたときの動作を示すフロ
ーチャート
FIG. 2 is a flowchart showing an operation when a power switch is turned off.

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

11 すべての装置に対する電気供給を開始するステッ
プ 12 データはバックアップされているかどうかを確認
するステップ 13 レジスタ等の初期化処理を行うステップ 14 主記憶部の保存データに対して、バイト単位でチ
ェックサムを計算するステップ 15 CMOSに保存してあるチェックサム値と等しい
か確認するステップ 16 HDDの保存データを主記憶部およびレジスタに
戻すステップ 17 主記憶部の保存データを主記憶部およびレジスタ
に戻すステップ 21 データをバックアップするかどうかを確認するス
テップ 22 すべての装置に対する電気供給を停止するステッ
プ 23 主記憶部のデータ及びレジスタのデータを主記憶
部に保存するステップ 24 保存した主記憶部のデータに対してバイト単位で
チェックサムを計算し、チェックサム値をCMOSに保
存するステップ 25 主記憶部のデータ及びレジスタのデータをHDD
に保存するステップ 26 主記憶部に対する電気供給のみ継続し、その他の
装置に対する電気供給を停止するステップ
11 Step of starting electric supply to all devices 12 Step of confirming whether data is backed up 13 Step of initializing registers etc. 14 Checksum of data stored in main memory in byte units Step of calculating 15 Step of confirming that it is equal to the checksum value stored in the CMOS 16 Step of returning the data stored in the HDD to the main memory and the register 17 Step of returning the data stored in the main memory to the main memory and the register 21 Step 22 of confirming whether to back up data 22 Step of stopping power supply to all devices 23 Step of saving data of the main storage unit and data of the register in the main storage unit 24 For the stored data of the main storage unit Calculate checksum in bytes , HDD data in the data and registers in step 25 main storage unit for storing the checksum value in CMOS
Step 26 of continuing only power supply to the main storage unit and stopping power supply to other devices

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 パーソナルコンピュータ等の情報処理装
置において、磁気ディスク装置等の不揮発性の記憶手段
と、電源スイッチと、電源と、主記憶部と、レジスタと
を有し、前記電源スイッチがオフされたときは、前記主
記憶部のデータと前記レジスタのデータを、前記主記憶
部と前記不揮発性の記憶手段にともに保存し、前記電源
スイッチがオンされたときに、前記主記憶部に保存され
た前記主記憶部のデータと前記レジスタのデータが壊れ
ていなければ、前記主記憶部の保存データを前記主記憶
部と前記レジスタで使用し、壊れていれば、前記不揮発
性の記憶手段から、前記主記憶部と前記レジスタに保存
データを転送して使用することを特徴とする情報処理装
置。
An information processing apparatus such as a personal computer includes a nonvolatile storage unit such as a magnetic disk drive, a power switch, a power supply, a main storage unit, and a register, wherein the power switch is turned off. When the power switch is turned on, the data of the main storage unit and the data of the register are stored in the main storage unit and the non-volatile storage unit, and are stored in the main storage unit when the power switch is turned on. If the data in the main storage unit and the data in the register are not damaged, the stored data in the main storage unit is used in the main storage unit and the register. An information processing apparatus, wherein stored data is transferred to the main storage unit and the register for use.
【請求項2】 パーソナルコンピュータ等の情報処理装
置において、電源スイッチがオフされたときに、主記憶
部のデータとレジスタのデータを、前記主記憶部と磁気
ディスク装置等の不揮発性の記憶手段にともに保存する
ステップと、電源スイッチがオンされたときに、前記主
記憶部に保存された主記憶部のデータとレジスタのデー
タが壊れているかどうか判定するステップと、壊れてい
なければ、前記主記憶部の保存データを、前記主記憶部
と前記レジスタで使用し、壊れていれば、前記不揮発性
の記憶手段から、前記主記憶部と前記レジスタに保存デ
ータを転送して使用するステップからなる情報処理方
法。
2. In an information processing apparatus such as a personal computer, when a power switch is turned off, data of a main storage unit and data of a register are transferred to said main storage unit and a nonvolatile storage unit such as a magnetic disk device. Saving together, and when the power switch is turned on, determining whether the data in the main storage unit and the data in the register stored in the main storage unit are damaged. Using the stored data of the unit in the main storage unit and the register, and transferring and using the stored data from the non-volatile storage means to the main storage unit and the register if the storage data is broken. Processing method.
JP8240300A 1996-09-11 1996-09-11 Information processing device and method Pending JPH1091296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8240300A JPH1091296A (en) 1996-09-11 1996-09-11 Information processing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8240300A JPH1091296A (en) 1996-09-11 1996-09-11 Information processing device and method

Publications (1)

Publication Number Publication Date
JPH1091296A true JPH1091296A (en) 1998-04-10

Family

ID=17057422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8240300A Pending JPH1091296A (en) 1996-09-11 1996-09-11 Information processing device and method

Country Status (1)

Country Link
JP (1) JPH1091296A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001178947A (en) * 1999-12-22 2001-07-03 Sophia Co Ltd Game machine and game equipment
JP2001286610A (en) * 2000-04-06 2001-10-16 Daiman:Kk Game machine
US6457136B1 (en) 1998-06-29 2002-09-24 Nec Corporation Power management method detecting interruption of AC power in suspended state of computer system
JP2008204459A (en) * 2007-02-19 2008-09-04 Arm Ltd Hibernation of processing apparatus for processing secure data
JP2010266976A (en) * 2009-05-13 2010-11-25 Hitachi Automotive Systems Ltd Built-in controller using floating point operation
JP2015215684A (en) * 2014-05-08 2015-12-03 富士ゼロックス株式会社 Information processing apparatus and information processing program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6457136B1 (en) 1998-06-29 2002-09-24 Nec Corporation Power management method detecting interruption of AC power in suspended state of computer system
JP2001178947A (en) * 1999-12-22 2001-07-03 Sophia Co Ltd Game machine and game equipment
JP2001286610A (en) * 2000-04-06 2001-10-16 Daiman:Kk Game machine
JP2008204459A (en) * 2007-02-19 2008-09-04 Arm Ltd Hibernation of processing apparatus for processing secure data
JP2010266976A (en) * 2009-05-13 2010-11-25 Hitachi Automotive Systems Ltd Built-in controller using floating point operation
JP2015215684A (en) * 2014-05-08 2015-12-03 富士ゼロックス株式会社 Information processing apparatus and information processing program

Similar Documents

Publication Publication Date Title
JP3677252B2 (en) Information device, storage medium, and initial state restoration method
US8327171B2 (en) Method and apparatus for facilitating device hibernation
US6647498B1 (en) Method and apparatus for preventing personal computer from being illegally used
KR0167810B1 (en) Desktop computer system having system suspend
US8984316B2 (en) Fast platform hibernation and resumption of computing systems providing secure storage of context data
US6459624B1 (en) Memory structure capable of preventing data loss therein and method for protecting the same
US20120239920A1 (en) Approaches for updating bios
JPS62169218A (en) Application suspension restarter for information processing system
JP2004531814A (en) Method and apparatus for improving the reliability of write-back cache information
TW201011525A (en) Method and controller for power management
JPH0291749A (en) Nonvolatile type semiconductor memory device
US5551008A (en) Method and system for resuming data processing in computer
TWI326955B (en) Operational state preservation in the absence of ac power
JP2019133623A (en) Computer system for preserving data in memory module and computer-implemented method using the same
US7657716B2 (en) Save and restore of a protected area
JPH1091296A (en) Information processing device and method
US20060206652A1 (en) Machine state storage apparatus and method
JPH03171310A (en) Personal computer
EP0429781B1 (en) Resume control system and method for executing resume processing while checking operation mode of CPU
JP3080005B2 (en) Data processing device
JPH10149236A (en) Method for recovering hibernation
WO2022159107A1 (en) Application security and mobility
JPH06261593A (en) Motor control device
JPH10254780A (en) Disk cache control system
JPH02100743A (en) Electronic equipment

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050623

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050712

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050803

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060322