JPH04223510A - Information processor - Google Patents

Information processor

Info

Publication number
JPH04223510A
JPH04223510A JP2406727A JP40672790A JPH04223510A JP H04223510 A JPH04223510 A JP H04223510A JP 2406727 A JP2406727 A JP 2406727A JP 40672790 A JP40672790 A JP 40672790A JP H04223510 A JPH04223510 A JP H04223510A
Authority
JP
Japan
Prior art keywords
data
storage means
power supply
power
main power
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
JP2406727A
Other languages
Japanese (ja)
Inventor
Noboru 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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2406727A priority Critical patent/JPH04223510A/en
Publication of JPH04223510A publication Critical patent/JPH04223510A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce power consumption for resume processing by compressing all of data when shutting off the main power supply, and by supplying only a storage area that stored the compressed data with power from an auxiliary power supply. CONSTITUTION:Storage means 3-5 for storing data are divided for each area, and turning on and off power supply 8 is made possible for each storage means. Further, a means 2 for data compression and expansion is installed to continue supplying only the storage means that stored compressed data with power from the auxiliary power supply 8 when turning off the main power supply. Furthermore, when turning on the main power supply again, data is expanded to make the execution of resume processing possible.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、情報処理装置に関し、
詳しくは、主記憶装置等に対するレジューム処理機能を
具えた情報処理装置に関する。
[Industrial Application Field] The present invention relates to an information processing device,
More specifically, the present invention relates to an information processing device having a resume processing function for a main storage device or the like.

【0002】0002

【従来の技術】従来、レジューム処理機能を具えたパソ
コン等の情報処理装置においてはレジューム処理用プロ
グラムを有しており、パワースイッチにより主電源が遮
断されると、上記プログラムが自動的に起動されること
によりCRT等の周辺装置やCPU自体への電源供給は
停止されるが、CPUのレジスタやメインメモリにその
内容を保持させるために引続き電源の供給が継続される
。また、パワースイッチが“オン”にされると、再びレ
ジューム処理によりパワースイッチが“オフ”の時の実
行状態に戻してそこから起動可能なようにすることがで
きる。
[Prior Art] Conventionally, information processing devices such as personal computers equipped with a resume processing function have a resume processing program, and when the main power is cut off by a power switch, the above program is automatically started. As a result, the power supply to peripheral devices such as a CRT and the CPU itself is stopped, but the power supply is continued in order to cause the registers and main memory of the CPU to retain their contents. Furthermore, when the power switch is turned "on", the resume processing can be performed again to return to the execution state when the power switch was "off", and it is possible to start from there.

【0003】0003

【発明が解決しようとする課題】しかしながら、一般的
に、レジューム処理機能を具えているブックサイズのパ
ーソナルコンピュータ等の電子機器においては、記憶保
持のための電源に電池が使用されており、その延命を図
るためにいかにして省力化を図るかが問題であって、全
ての記憶装置に電源を供給することは好ましいことでは
ない。
[Problem to be Solved by the Invention] However, in general, electronic devices such as book-sized personal computers that have a resume processing function use batteries as a power source for memory retention, and it is difficult to extend their lifespan. The problem is how to save labor in order to achieve this, and it is not desirable to supply power to all storage devices.

【0004】本発明の目的は、上記従来の問題に着目し
、その解決を図るべく、小ない電源供給でしかもレジュ
ーム機能を十分に活用することのできる情報処理装置を
提供することにある。
An object of the present invention is to focus on the above-mentioned conventional problems, and to solve the problems, it is an object of the present invention to provide an information processing apparatus that requires a small power supply and can fully utilize the resume function.

【0005】[0005]

【課題を解決するための手段】かかる目的を達成するた
めに、本発明は、主電源の遮断・投入にかかわるレジュ
ーム処理機能を有し、該レジューム処理のために記憶手
段に予備電源の供給がなされるようにした情報処理装置
において、領域別に分割された記憶手段と、該分割され
た記憶手段の領域別に前記予備および主電源の遮断・投
入が可能な電源制御手段と、前記記憶手段に格納された
全てのデータを圧縮および伸張可能なデータ圧縮・伸張
手段と、前記主電源の遮断時には、該データ圧縮・伸張
手段により前記全てのデータを圧縮した上、圧縮された
データを格納した記憶手段の領域にのみ前記予備電源の
供給を行い、前記主電源の投入時には、前記圧縮された
データを格納した以外の記憶手段の領域に対して前記主
電源を供給した上、前記圧縮したデータを前記データ圧
縮・伸張手段により伸張して前記記憶手段の各領域に戻
すように制御する手段とを具備したことを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the present invention has a resume processing function related to turning off and turning on the main power, and for the resume processing, the storage means is supplied with backup power. In the information processing device, the storage means is divided into areas, a power supply control means is capable of turning off and on the backup and main power sources for each area of the divided storage means, and storage means is provided in the storage means. a data compression/expansion means capable of compressing and decompressing all the data; and a storage means storing the compressed data after compressing all the data by the data compression/expansion means when the main power supply is cut off. When the main power is turned on, the main power is supplied only to the area of the storage means other than the area in which the compressed data is stored, and the compressed data is It is characterized by comprising means for controlling the data to be expanded by the data compression/expansion means and returned to each area of the storage means.

【0006】[0006]

【作用】本発明によれば、主電源の遮断時においてレジ
ューム処理を実施するにあたり、まず、全領域のデータ
を圧縮して記憶手段に格納すると共にその格納された領
域にのみ予備電源を供給するようにするもので、これに
よって、省電力化を図ることができると共に、主電源の
再投入時には圧縮された全データを元通りに伸張してレ
ジューム機能に対応させることができる。
[Operation] According to the present invention, when performing resume processing when the main power is cut off, data in the entire area is first compressed and stored in the storage means, and backup power is supplied only to the area where the data is stored. As a result, it is possible to save power, and when the main power is turned on again, all compressed data can be expanded to their original state to support the resume function.

【0007】[0007]

【実施例】以下に、図面に基づいて本発明の実施例を詳
細かつ具体的に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples of the present invention will be described in detail and specifically below with reference to the drawings.

【0008】図1は本発明の構成の一例を示す。ここで
、1はCPU、2はリード・オンリー・メモリ(ROM
)、3,4および5は3つの領域RAMA,RAMBお
よびVRAMに分割されたランダム・アクセス・メモリ
であり、これらのメモリ3,4および5はROM2と共
に図2に示すメモリマップとして構成されている。なお
、VRAM5はCRT6のための表示用ビデオメモリで
ある。7は本発明にかかる電源制御装置であり、レジュ
ーム処理時やその他の必要に応じて電源を電池8に切換
えて各部に供給する動作を制御する。9はデータバス、
10は電源供給線である。
FIG. 1 shows an example of the configuration of the present invention. Here, 1 is the CPU, 2 is the read-only memory (ROM)
), 3, 4, and 5 are random access memories divided into three areas RAMA, RAMB, and VRAM, and these memories 3, 4, and 5 are configured as a memory map shown in FIG. 2 together with ROM2. . Note that the VRAM 5 is a display video memory for the CRT 6. Reference numeral 7 denotes a power supply control device according to the present invention, which controls the operation of switching the power supply to the battery 8 and supplying it to each part at the time of resume processing or other needs. 9 is a data bus,
10 is a power supply line.

【0009】更にここで、ROM2は電源制御装置7に
指令する電源制御プログラム,レジューム処理プログラ
ムの他に、メモリ3,4および5に格納されているデー
タの圧縮および伸張が可能な周知のデータ圧縮・伸張プ
ログラムを格納しており、レジューム処理時にはCPU
1により後述する手順に従って諸動作が行われる。なお
、本実施例ではメインメモリとして64Kビットのもの
を想定している。
Furthermore, the ROM 2 has a power supply control program and a resume processing program which instruct the power supply control device 7, as well as a well-known data compression program capable of compressing and decompressing data stored in the memories 3, 4 and 5.・It stores the decompression program, and the CPU uses it during resume processing.
1, various operations are performed according to the procedure described later. In this embodiment, it is assumed that the main memory is 64K bits.

【0010】ついで、図3に従い本実施例によるレジュ
ーム処理にかかわる制御動作の手順について説明する。 図3の(a)はパワースイッチが“オフ”されたときの
動作を示す。この場合は、主電源が遮断されるとまずス
テップS1でRAMB4,VRAM5およびRAMA3
に格納されているデータが順次圧縮されつつ、図2に示
すメモリマップの絶対アドレスに従ってRAMBの上位
から順次に書込まれていく。そして、ステップS2で圧
縮して書込まれたデータの量が計られて、ステップS3
でそのデータが4のRAMBに入り切るか否かを判断す
る。しかして肯定の判断、すなわち、RAMB4のみで
書込み可能との判断の場合はステップS4に移り、ここ
で、VRAM5およびRAMA3への電源を断った上で
ステップS5に進み、従来通りのレジューム処理を実施
する。また、ステップS3で否定の判断の場合はそのま
まステップS5に進んでレジューム処理を行う。但し、
図示はしないが、ステップS3で否定の判断の場合、そ
のデータが次のVRAM5までの領域内におさまるか否
かを判断するステップを設けて、肯定であればRAMA
3の電源のみを“オフ”としてステップ5に進むように
してもよい。
Next, referring to FIG. 3, a control operation procedure related to resume processing according to this embodiment will be explained. FIG. 3(a) shows the operation when the power switch is turned "off". In this case, when the main power is cut off, first in step S1 RAMB4, VRAM5 and RAM3
The data stored in RAMB is sequentially compressed and sequentially written from the upper part of RAMB according to the absolute addresses of the memory map shown in FIG. Then, in step S2, the amount of compressed and written data is measured, and in step S3
It is determined whether the data can fit into 4 RAMBs. However, if the judgment is affirmative, that is, if it is judged that writing is possible only in RAMB4, the process moves to step S4, where the power to VRAM5 and RAMA3 is cut off, and then the process moves to step S5, where the conventional resume process is performed. do. If the determination in step S3 is negative, the process directly advances to step S5 and resume processing is performed. however,
Although not shown in the figure, if the determination in step S3 is negative, a step is provided to determine whether the data fits within the area up to the next VRAM5.
Alternatively, only the power source No. 3 may be turned off and the process proceeds to Step S5.

【0011】ついで、パワースイッチが“オン”された
場合は図3の(b)に示す手順に従い、まずステップS
11で電源が遮断されているメモリ、すなわち、(a)
の手順のステップS4でVRAM5およびRAMA3へ
の電源供給が遮断されているのであれば、これらに対す
る電源を投入する。そして、次のステップS12でRA
MB4に格納されている圧縮データの伸張を行いつつ、
伸張されたデータをその順でRAMB,VRAM,RA
MAに格納し、ステップS13で従来通りのレジューム
処理を実施する。なお、(a)に示す手順のステップS
3で圧縮データがRAMB4におさまらないために、V
RAM5やRAMA3への電源が投入のままの状態にあ
る場合等でも(b)の手順のステップS11としてこれ
らの再投入を行うようにすることができるのはいうまで
もなく、この場合、2重に電源の投入が行われることは
ない。
Next, when the power switch is turned on, step S is performed according to the procedure shown in FIG. 3(b).
Memory whose power is cut off at 11, i.e. (a)
If the power supply to the VRAM 5 and RAMA 3 has been cut off in step S4 of the procedure, the power to these is turned on. Then, in the next step S12, RA
While decompressing the compressed data stored in MB4,
The decompressed data is stored in RAMB, VRAM, and RAM in that order.
The data is stored in the MA, and conventional resume processing is performed in step S13. Note that step S of the procedure shown in (a)
3, the compressed data does not fit into RAMB4, so V
It goes without saying that even if the power to RAM5 and RAM3 is left on, it is possible to turn them on again as step S11 of the procedure (b). Power is never turned on.

【0012】また、以上に述べた実施例では、ROM2
にデータの圧縮・伸張を含めたロジカルなプログラムを
格納して、そのプログラムに従って動作を行わせるよう
にしたが、データの圧縮や伸張等のために特別にハード
回路を設けるようになして、その回路を駆動するように
構成することもできる。
Furthermore, in the embodiment described above, the ROM2
A logical program including data compression and expansion was stored in the computer, and the operation was performed according to that program. It can also be configured to drive a circuit.

【0013】[0013]

【発明の効果】以上説明してきたように、本発明によれ
ば、主電源の遮断・投入にかかわるレジューム処理機能
を有し、該レジューム処理のために記憶手段に予備電源
の供給がなされるようにした情報処理装置において、領
域別に分割された記憶手段と、該分割された記憶手段の
領域別に前記予備および主電源の遮断・投入が可能な電
源制御手段と、前記記憶手段に格納された全てのデータ
を圧縮および伸張可能なデータ圧縮・伸張手段と、前記
主電源の遮断時には、該データ圧縮・伸張手段により前
記全てのデータを圧縮した上、圧縮されたデータを格納
した記憶手段の領域にのみ前記予備電源の供給を行い、
前記主電源の投入時には、前記圧縮されたデータを格納
した以外の記憶手段の領域に対して前記主電源を供給し
た上、前記圧縮したデータを前記データ圧縮・伸張手段
により伸張して前記記憶手段の各領域に戻すように制御
する手段とを具備したことによって、少ない電力消費で
レジューム機能を有効に活用することのできる情報処理
装置を提供することができる。
As described above, the present invention has a resume processing function related to shutting off and turning on the main power, and supplies backup power to the storage means for the resume processing. In the information processing apparatus, a storage means divided into areas, a power supply control means capable of turning off and on the backup and main power sources for each area of the divided storage means, and all of the storage means stored in the storage means are provided. data compression/expansion means capable of compressing and decompressing data; and when the main power supply is cut off, all the data is compressed by the data compression/expansion means, and the compressed data is stored in the area of the storage means. only supplying said backup power;
When the main power is turned on, the main power is supplied to an area of the storage means other than the area in which the compressed data is stored, and the compressed data is expanded by the data compression/expansion means and the storage means is expanded. By providing control means for returning to each area, it is possible to provide an information processing device that can effectively utilize the resume function with low power consumption.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の構成の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of the configuration of the present invention.

【図2】本発明によるメモリマップの構成図である。FIG. 2 is a configuration diagram of a memory map according to the present invention.

【図3】本発明によるレジューム処理動作の手順を示す
フローチャートである。
FIG. 3 is a flowchart showing the procedure of a resume processing operation according to the present invention.

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

1  CPU 2  ROM 3  RAMA 4  RAMB 5  VRAM 6  CRT 7  電源制御装置 8  電池 9  データバス 10  電源供給線 1 CPU 2 ROM 3 RAMA 4 RAMB 5 VRAM 6 CRT 7 Power control device 8 Batteries 9 Data bus 10 Power supply line

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  主電源の遮断・投入にかかわるレジュ
ーム処理機能を有し、該レジューム処理のために記憶手
段に予備電源の供給がなされるようにした情報処理装置
において、領域別に分割された記憶手段と、該分割され
た記憶手段の領域別に前記予備および主電源の遮断・投
入が可能な電源制御手段と、前記記憶手段に格納された
全てのデータを圧縮および伸張可能なデータ圧縮・伸張
手段と、前記主電源の遮断時には、該データ圧縮・伸張
手段により前記全てのデータを圧縮した上、圧縮された
データを格納した記憶手段の領域にのみ前記予備電源の
供給を行い、前記主電源の投入時には、前記圧縮された
データを格納した以外の記憶手段の領域に対して前記主
電源を供給した上、前記圧縮したデータを前記データ圧
縮・伸張手段により伸張して前記記憶手段の各領域に戻
すように制御する手段とを具備したことを特徴とする情
報処理装置。
Claim 1. An information processing device having a resume processing function related to shutting off and turning on the main power, and supplying backup power to storage means for the resume processing, wherein the storage is divided into areas. a power control means capable of turning off and on the backup and main power sources for each area of the divided storage means; and a data compression/expansion means capable of compressing and expanding all data stored in the storage means. When the main power supply is cut off, all the data is compressed by the data compression/expansion means, and the backup power supply is supplied only to the area of the storage means in which the compressed data is stored. When the power is turned on, the main power is supplied to areas of the storage means other than those storing the compressed data, and the compressed data is expanded by the data compression/expansion means to each area of the storage means. An information processing device characterized by comprising: means for controlling to return to the original state.
JP2406727A 1990-12-26 1990-12-26 Information processor Pending JPH04223510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2406727A JPH04223510A (en) 1990-12-26 1990-12-26 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2406727A JPH04223510A (en) 1990-12-26 1990-12-26 Information processor

Publications (1)

Publication Number Publication Date
JPH04223510A true JPH04223510A (en) 1992-08-13

Family

ID=18516348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2406727A Pending JPH04223510A (en) 1990-12-26 1990-12-26 Information processor

Country Status (1)

Country Link
JP (1) JPH04223510A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2439428A (en) * 2006-06-08 2007-12-27 Intel Corp Increasing the battery life of a mobile computing system in reduced power state through memory compression
JP2010191951A (en) * 2009-01-20 2010-09-02 Ricoh Co Ltd Electronic device, power saving control method for the same, and program
JP2013250964A (en) * 2012-05-02 2013-12-12 Semiconductor Energy Lab Co Ltd Processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2439428A (en) * 2006-06-08 2007-12-27 Intel Corp Increasing the battery life of a mobile computing system in reduced power state through memory compression
GB2439428B (en) * 2006-06-08 2010-10-06 Intel Corp Reducing power consumption in a reduced power state through memory compression
JP2010191951A (en) * 2009-01-20 2010-09-02 Ricoh Co Ltd Electronic device, power saving control method for the same, and program
JP2013250964A (en) * 2012-05-02 2013-12-12 Semiconductor Energy Lab Co Ltd Processor

Similar Documents

Publication Publication Date Title
JP3799130B2 (en) Method for switching power saving mode of computer having power saving function while using network
US6647472B2 (en) Fast suspend to disk
KR930008258B1 (en) Computer system w/control processor of power supply for memoery unit
JPH09212416A (en) Computer system and its power managing method
US6438708B1 (en) Information processing apparatus that can hold internal information
US5781782A (en) Electronic device with a power saving function
US20020103984A1 (en) Information processing system, information processing method and readable-by-computer recording medium
EP0481508B1 (en) Back-up/restore information processing system
JPH04223510A (en) Information processor
JPH11282587A (en) Memory backup device
JPH10240391A (en) Portable document display/processor and power management control method to be applied to the same
JPH11259162A (en) Suspending/resuming method
JPH10116138A (en) Controller for supplying power to memory
JP3274780B2 (en) Power supply method
JP2667411B2 (en) Personal computer
KR101236393B1 (en) Electric device and control method thereof
JPH06314134A (en) Computer with suspending/resuming function
JPH08328967A (en) Portable information processor
JP2003044356A (en) Memory mapping system
JPH0660645A (en) Power saving storage device
KR930002263Y1 (en) Resume processor
JPH04118705A (en) Programmable controller
JPH05333976A (en) Information processor
JP2001134384A (en) Information processor
JPH04296954A (en) Memory system