JP4910785B2 - Electronic device, power control program for electronic device, and power control method - Google Patents
Electronic device, power control program for electronic device, and power control method Download PDFInfo
- Publication number
- JP4910785B2 JP4910785B2 JP2007053947A JP2007053947A JP4910785B2 JP 4910785 B2 JP4910785 B2 JP 4910785B2 JP 2007053947 A JP2007053947 A JP 2007053947A JP 2007053947 A JP2007053947 A JP 2007053947A JP 4910785 B2 JP4910785 B2 JP 4910785B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory modules
- power supply
- modules
- memory
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Power Sources (AREA)
- Memory System (AREA)
Description
本発明は、各種の電子機器、電子機器の電源制御プログラムおよび電源制御方法に係わり、特にデータを格納するメモリを備えた複数のモジュールを有する電子機器、電子機器の電源制御プログラムおよび電源制御方法に関する。 The present invention relates to various electronic devices, a power control program for the electronic device, and a power control method, and more particularly to an electronic device having a plurality of modules including a memory for storing data, a power control program for the electronic device, and a power control method. .
各種機器の高度化と共に、メモリやCPU(Central Processing Unit)等の電子部品を組み込んだモジュールを1台の装置に複数使用することが多くなってきている。このような電子機器は、サスペンドモードのように電力消費を抑えた状態で必要なデータを比較的長時間保持するために、データの保存を一斉に行うバックアップ機能が用意されていることが多い。電子機器のバックアップ時には、たとえば液晶ディスプレイといった一部のデバイスへの通電は停止されるものの、データを保持する複数のリソースから構成されるモジュールに対しては、電源を通常運転時と同様に供給する必要がある。これは、これらのデバイスの多くが搭載しているメモリが揮発性であって、電源の供給を遮断されると記憶しているデータが消失することになるからである。 With the advancement of various devices, a plurality of modules incorporating electronic components such as a memory and a CPU (Central Processing Unit) are increasingly used in one apparatus. Such electronic devices are often provided with a backup function for storing data all at once in order to retain necessary data for a relatively long time with reduced power consumption as in the suspend mode. At the time of backing up the electronic device, power supply to some devices such as a liquid crystal display is stopped, but power is supplied to a module composed of a plurality of resources holding data in the same way as during normal operation. There is a need. This is because the memory mounted on many of these devices is volatile, and the stored data is lost when the supply of power is cut off.
図10は、このような複数のモジュールを組み込んだ電子機器の要部を表わしたものである。この電子機器400は、第1〜第4のモジュール401〜404からなるバックアップの対象となるプロセッサモジュール群405を備えている。ここで、第1のモジュール401は、第1のCPU406と第2のCPU407および第1のメモリ408を備えたマルチプロセッサのモジュールとしての構成となっている。第2のモジュール402は第3のCPU409と第2のメモリ410から構成されている。第3のモジュール403は第3のメモリ411のみから構成されている。第4のモジュール404は第4のCPU412と第4のメモリ413から構成されている。
FIG. 10 shows a main part of an electronic apparatus incorporating such a plurality of modules. The
電子機器400には、このプロセッサモジュール群405に存在する第1のメモリ406、第2のメモリ407、第3のメモリ411および第4のメモリ413のバックアップへの移行のタイミングを検知するバックアップ移行検知部421が備えられている。電子機器400には、更に、第1〜第4のメモリ406、407、411、413を含めたシステムの状態を診断する診断機構部422と、プロセッサモジュール群405を構成する第1〜第4のモジュール401〜404についての電源管理機構部423が備えられている。
The
診断機構部422は、バックアップ移行検知部421がバックアップへの移行を検知すると、電源管理機構部423に対して第1〜第4のモジュール401〜404の中で保持する必要のないデータのみを格納しているものがあれば、その電源供給を停止するように指示する。この指示があったとき、第1〜第3のモジュール401〜403内にはそれぞれ保持したいデータが存在しており、第4のモジュール404だけに保持したいデータが存在していないものとする。すると、電源管理機構部423は、バックアップへ移行する際に第4のモジュール404への電源供給のみを停止する。第1〜第3のモジュール401〜403に格納されたデータは保持する必要があるので、電源の供給は継続される。
When the backup
しかしながら、このような電子機器では、第1〜第3のモジュール401〜403に存在する保持したいデータが全体としてわずかであっても、これらのモジュールに対する電源の供給が継続されることになる。
However, in such an electronic device, even if there is a small amount of data to be held in the first to
そこで、同一の構成の複数のモジュールを組み込んだ電子機器で、これらのモジュールに格納されているデータの全体を把握して、バックアップ時には必要により一部のモジュールにデータをまとめることが提案されている(たとえば特許文献1参照)。この提案によれば、それぞれのモジュール内のデータを圧縮してこれらの容量を減少させる。そして、これら圧縮後のデータが格納されるのに必要な総容量を求めると共に、これらのモジュールの1つ当たりのメモリ容量で割り算して、必要とするモジュールの個数を算出している。 Therefore, it has been proposed that an electronic device incorporating a plurality of modules having the same configuration grasps the entire data stored in these modules and collects the data in some modules as necessary at the time of backup. (For example, refer to Patent Document 1). According to this proposal, the data in each module is compressed to reduce their capacity. Then, the total capacity required to store the compressed data is obtained, and the number of modules required is calculated by dividing by the memory capacity per one of these modules.
たとえば図10に示したような第1〜第4のモジュール401〜404がそれぞれ8MB(メカバイト)の揮発性メモリとしてのDRAM(Dynamic Random Access Memory)で構成されているものとする。この提案によると、たとえば第1〜第4のモジュール401〜404の圧縮後のデータが7MBであれば、第1のモジュール401に全部のデータを格納することができる。したがって、第2〜第4のモジュール402〜404の電源を遮断した状態で、消費電力を削減するモードとしてのサスペンドモードに移行することができるようになる。また、第1〜第4のモジュール401〜404の圧縮後のデータが9MBであれば、第1のモジュール401と第2のモジュール402というように2つのモジュールに全部のデータを格納することができる。したがって、この場合には2つのモジュールの電源を遮断した状態でサスペンドモードに移行することができるようになる。
しかしながら、この提案では同一のモジュールを複数使用している。電子機器は各種のモジュールを混在して使用することがある。たとえば、電子機器の買い替えを行ったユーザは、同一のメモリ容量で同一特性のモジュールを複数一度に購入するとは限らず、前に使用していた電子機器のモジュールを部分的に使用して新しく購入した電子機器の当座のメモリ容量を確保する場合がある。このような場合には、新たに購入してセットしたモジュールと以前から使用してきたモジュールでメモリ容量や消費電力といった特性が大きく異なる場合がある。もちろん、電子機器に複数のモジュールが組み込まれている場合に、これらが互いに同一の仕様を持つものとは限らない。 However, this proposal uses multiple identical modules. Electronic devices sometimes use a mixture of various modules. For example, a user who purchased a new electronic device does not always purchase multiple modules with the same memory capacity and the same characteristics at the same time. In some cases, a temporary memory capacity of the electronic device is secured. In such a case, characteristics such as memory capacity and power consumption may be greatly different between a newly purchased module and a module that has been used. Of course, when a plurality of modules are incorporated in an electronic device, they do not necessarily have the same specifications.
このような場合に、従来の技術を適用しても、提案された単純な割り算の式ではバックアップ時のモジュールの使用個数を正しく求めることができなくなる。また、バックアップ時に使用するモジュールの数が分かったとしても、古い技術で製造されたモジュールがバックアップのために選択された場合には、新しい技術で製造されたモジュールに比べて電力消費が大きい場合があり、省電力を効果的に実現することができない。 In such a case, even if the conventional technique is applied, the proposed simple division formula cannot correctly determine the number of modules used at the time of backup. In addition, even if the number of modules used at the time of backup is known, if a module manufactured with the old technology is selected for backup, it may consume more power than a module manufactured with the new technology. Yes, power saving cannot be realized effectively.
そこで本発明の目的は、メモリを少なくとも内蔵したモジュールを複数使用する一方、データの一斉保存時に電力消費の削減を図ってこれらのモジュールの選択的な使用を可能にする電子機器、電子機器の電源制御プログラムおよび電源制御方法を提供することにある。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an electronic device and a power supply for the electronic device that can selectively use these modules while reducing the power consumption when simultaneously storing data while using a plurality of modules having at least a built-in memory. A control program and a power supply control method are provided.
本発明では、(イ)データを格納するデータ格納領域ごとにそれらの所定位置にそれぞれヘッダ領域が設けられており、これらヘッダ領域は該当するデータ格納領域に格納するデータについて圧縮が有効か否かを示すエリア有効情報とデータの格納位置を示す位置情報がそれぞれ記された揮発性の複数のメモリモジュールと、(ロ)これら複数のメモリモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に継続させるタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知手段と、(ハ)この保存継続開始タイミング検知手段が前記した保存継続開始タイミングを検知したとき、前記したエリア有効情報が圧縮を有効とするデータ格納領域のみを圧縮してこれに前記したヘッダ領域における位置情報を個別に付加して圧縮後データとする圧縮後データ作成手段と、(ニ)この圧縮後データ作成手段によって前記した複数のメモリモジュールの全体について圧縮後データが作成されたときこれらのすべてを前記した複数のメモリモジュールの中の一部のメモリモジュールに集結させるようにデータの再配置を行うデータ再配置手段と、(ホ)このデータ再配置手段ですべての圧縮後データが前記した一部のメモリモジュールに集結した後、前記した複数のメモリモジュールのうちの前記した一部のメモリモジュール以外のメモリモジュールへの電源の供給を停止する電源停止手段と、(へ)前記した複数のメモリモジュール全体に対する電源供給の開始をバックアップの終了タイミングとして検知するバックアップ終了タイミング検知手段と、(ト)このバックアップ終了タイミング検知手段がバックアップの終了を検知した後、前記した電源停止手段で電源の供給を停止した前記した一部のメモリモジュール以外のメモリモジュールに対して電源の供給を再開する電源供給再開手段と、(チ)この電源供給再開手段の電源供給再開によって前記した複数のメモリモジュールのすべてが電源の供給を行われるようになった時点で前記した一部のメモリモジュールに集結した圧縮後データにおけるデータ格納領域の復号化と復号化したデータ格納領域のそれぞれをそれらに付加している位置情報の示す前記した複数のメモリモジュールにおける元の位置への転送を行って前記したデータの再配置以前の状態に復帰させるデータ位置復帰手段とを電子機器が具備する。 In the present invention, (a) a header area is provided at each predetermined position for each data storage area for storing data, and whether or not compression is effective for the data stored in the corresponding data storage area. A plurality of volatile memory modules each storing area valid information indicating data and position information indicating data storage position, and (b) storage is required among the data stored in the plurality of memory modules. a storage continuation start timing detecting means for detecting the stored continuous start timing of saving data as a timing to continue in unison, when detecting Save continuation start timing above is (iii) the stored continuous start timing detecting means, and wherein Only the data storage area in which the area valid information enables compression is compressed and the header area described above is compressed. A post-compression data generating means to definitive position information individually added to the post-compression data, (d) thereof when the data after compression for the entire plurality of memory modules said was created by the post-compression data generating means Data rearrangement means for rearranging data so that all of them are gathered in a part of the plurality of memory modules, and (e) all the compressed data is stored in the data rearrangement means. Power concentration stopping means for stopping power supply to memory modules other than the above-mentioned some memory modules among the plurality of memory modules after being assembled in some memory modules; Backup end type that detects the start of power supply to the entire memory module as the backup end timing And (g) after the backup end timing detection means detects the end of the backup, the power supply to the memory modules other than the above-mentioned part of the memory modules whose power supply is stopped by the power supply stop means. A power supply restarting means for restarting the supply of power, and (h) when the power supply restarting of the power supply restarting means causes all of the plurality of memory modules to be supplied with power. Decoding of the data storage area in the compressed data concentrated in the memory module and transferring the decoded data storage area to the original positions in the plurality of memory modules indicated by the position information added to them electronic equipment and data position returning means for returning the rearranged previous state of the data the Te is provided.
また、本発明では、データを格納するデータ格納領域ごとにそれらの所定位置にそれぞれヘッダ領域が設けられており、これらヘッダ領域は該当するデータ格納領域に格納するデータについて圧縮が有効か否かを示すエリア有効情報とデータの格納位置を示す位置情報がそれぞれ記された揮発性の複数のメモリモジュールを備えたCPUに、電子機器の電源制御プログラムとして、(イ)これら複数のメモリモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に継続させるタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知処理と、(ロ)この保存継続開始タイミング検知処理で前記した保存継続開始タイミングを検知したとき、前記したエリア有効情報が圧縮を有効とするデータ格納領域のみを圧縮してこれに前記したヘッダ領域における位置情報を個別に付加して圧縮後データとする圧縮後データ作成処理と、(ハ)この圧縮後データ作成処理によって前記した複数のメモリモジュールの全体について圧縮後データが作成されたときこれらのすべてを前記した複数のメモリモジュールの中の一部のメモリモジュールに集結させるようにデータの再配置を行うデータ再配置処理と、(ニ)このデータ再配置処理ですべての圧縮後データが前記した一部のメモリモジュールに集結した後、前記した複数のメモリモジュールのうちの前記した一部のメモリモジュール以外のメモリモジュールへの電源の供給を停止する電源停止処理と、(ホ)前記した複数のメモリモジュール全体に対する電源供給の開始をバックアップの終了タイミングとして検知するバックアップ終了タイミング検知処理と、(へ)このバックアップ終了タイミング検知処理でバックアップの終了を検知した後、前記した電源停止処理で電源の供給を停止した前記した一部のメモリモジュール以外のメモリモジュールに対して電源の供給を再開する電源供給再開処理と、(ト)この電源供給再開処理による電源供給再開によって前記した複数のメモリモジュールのすべてが電源の供給を行われるようになった時点で前記した一部のメモリモジュールに集結した圧縮後データにおけるデータ格納領域の復号化と復号化したデータ格納領域のそれぞれをそれらに付加している位置情報の示す前記した複数のメモリモジュールにおける元の位置への転送を行って前記したデータの再配置以前の状態に復帰させるデータ位置復帰処理とを実行させることを特徴とする。In the present invention, header areas are provided at predetermined positions for each data storage area for storing data, and these header areas indicate whether or not compression is effective for data stored in the corresponding data storage area. As a power control program for an electronic device, (a) stored in the plurality of memory modules as a power control program for an electronic device in a CPU having a plurality of volatile memory modules each storing area valid information and position information indicating a data storage position. The storage continuation start timing detection process for detecting the storage continuation start timing as the timing for continuing the storage of data that needs to be saved at the same time, and (b) the storage continuation start timing detection process described above. When the storage continuation start timing is detected, the above-mentioned area valid information is data for which compression is valid. (C) a plurality of memory modules described above by compressing only the storage area and individually adding the position information in the header area to the compressed area to obtain compressed data; A data rearrangement process for rearranging data so that all of them are collected in a part of the memory modules when the post-compression data is created for all of the above, (d) After all the compressed data is collected in the memory module described above in the data rearrangement process, the supply of power to the memory modules other than the memory module in the plurality of memory modules described above is stopped. And (e) backup of the start of power supply to the entire memory modules described above. Backup end timing detection processing detected as end timing, and (f) other than the above-mentioned some memory modules that have stopped supplying power in the power supply stop processing after detecting the end of backup in this backup end timing detection processing The power supply restart process for restarting the power supply to the memory module and (g) the power supply restart by this power supply restart process, all of the plurality of memory modules are now supplied with power. Decoding of the data storage area in the compressed data gathered in some of the memory modules described above at the time and the original in the plurality of memory modules indicated by the positional information added to each of the decoded data storage areas To the position before the data relocation as described above. A data position return process to be returned is executed.
更に、本発明では、(イ)データを格納するデータ格納領域ごとにそれらの所定位置にそれぞれヘッダ領域が設けられており、これらヘッダ領域は該当するデータ格納領域に格納するデータについて圧縮が有効か否かを示すエリア有効情報とデータの格納位置を示す位置情報がそれぞれ記された揮発性の複数のメモリモジュールを備えた電子機器におけるこれら複数のメモリモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に継続させるタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知ステップと、(ロ)この保存継続開始タイミング検知ステップで前記した保存継続開始タイミングを検知したとき、前記したエリア有効情報が圧縮を有効とするデータ格納領域のみを圧縮してこれに前記したヘッダ領域における位置情報を個別に付加して圧縮後データとする圧縮後データ作成ステップと、(ハ)この圧縮後データ作成ステップによって前記した複数のメモリモジュールの全体について圧縮後データが作成されたときこれらのすべてを前記した複数のメモリモジュールの中の一部のメモリモジュールに集結させるようにデータの再配置を行うデータ再配置ステップと、(ニ)このデータ再配置ステップですべての圧縮後データが前記した一部のメモリモジュールに集結した後、前記した複数のメモリモジュールのうちの前記した一部のメモリモジュール以外のメモリモジュールへの電源の供給を停止する電源停止ステップと、(ホ)前記した複数のメモリモジュール全体に対する電源供給の開始をバックアップの終了タイミングとして検知するバックアップ終了タイミング検知ステップと、(へ)このバックアップ終了タイミング検知ステップでバックアップの終了を検知した後、前記した電源停止ステップで電源の供給を停止した前記した一部のメモリモジュール以外のメモリモジュールに対して電源の供給を再開する電源供給再開ステップと、(ト)この電源供給再開ステップによる電源供給再開によって前記した複数のメモリモジュールのすべてが電源の供給を行われるようになった時点で前記した一部のメモリモジュールに集結した圧縮後データにおけるデータ格納領域の復号化と復号化したデータ格納領域のそれぞれをそれらに付加している位置情報の示す前記した複数のメモリモジュールにおける元の位置への転送を行って前記したデータの再配置以前の状態に復帰させるデータ位置復帰ステップとを電子機器の電源制御方法が具備する。Further, in the present invention, (a) header areas are provided at predetermined positions for each data storage area for storing data, and these header areas are compressed for data stored in the corresponding data storage area. It is necessary to save the data stored in the plurality of memory modules in an electronic device having a plurality of volatile memory modules in which the area valid information indicating whether or not the data is stored and the position information indicating the storage position of the data. A storage continuation start timing detection step for detecting a storage continuation start timing as a timing for continuing the storage of data to be taken at the same time, and The above-mentioned area effective information compresses only the data storage area for which compression is effective. A post-compression data creation step for individually adding position information in the header area to the post-compression data, and (c) post-compression data creation step, the post-compression data for all the plurality of memory modules A data rearrangement step for rearranging data so that all of these are gathered into some of the memory modules described above when created, and (d) all data in this data rearrangement step A power stop step of stopping the supply of power to the memory modules other than the above-mentioned some of the plurality of memory modules after the compressed data is collected in the above-mentioned some of the memory modules; E) The start of power supply to the whole of the plurality of memory modules is the end of the backup. Backup end timing detection step detected as a timing, and (f) after detecting the end of backup in this backup end timing detection step, and other than the above-mentioned some memory modules that stopped supplying power in the power stop step described above A power supply restarting step for restarting the power supply to the memory module; and (g) a point in time when all of the plurality of memory modules are supplied with power by restarting the power supply in the power supply restarting step. In the plurality of memory modules described above, the decoding of the data storage area in the compressed data concentrated in the part of the memory modules described above and the original information in the plurality of memory modules indicated by the position information added to each of the decoded data storage areas Transfer to the location and re- The electronic apparatus power control method includes a data position return step for returning to a state before arrangement.
以上説明したように本発明によれば、揮発性の複数のメモリモジュールにそれぞれのデータを格納するデータ格納領域を配置すると共に、これらのデータ格納領域に格納するデータについて圧縮が有効か否かを示すエリア有効情報とデータの格納位置を示す位置情報がそれぞれ記されたヘッダ領域を配置することにした。そして、保存継続開始タイミングが検知された場合にはエリア有効情報が圧縮を有効とするデータ格納領域のみを圧縮してこれに前記した位置情報を個別に付加して前記した複数のメモリモジュールの中の一部のメモリモジュールに集結させるようにデータの再配置を行うことにし、残りのメモリモジュールへの電源の供給を停止した。これにより、全メモリモジュールに対する電源の供給が再開されるまで、電力の使用量を低減できるだけでなく、残りのメモリモジュールに記憶されていた圧縮を有効としないデータ格納領域のデータは、電源の供給がオフになった状態で不要なデータとして特別の操作を行う必要なく削除されるという効果がある。 As described above, according to the present invention, a data storage area for storing each data is arranged in a plurality of volatile memory modules, and whether or not compression is effective for the data stored in these data storage areas is determined. The header area in which the area valid information to be shown and the position information to indicate the data storage position are respectively arranged is arranged. When the storage continuation start timing is detected, the area valid information compresses only the data storage area for which the compression is valid and adds the position information individually to the data storage area. The data was rearranged so as to be collected in some of the memory modules, and the supply of power to the remaining memory modules was stopped. As a result, not only can the power consumption be reduced until the power supply to all memory modules is resumed, but the data stored in the data storage area that does not enable compression stored in the remaining memory modules is supplied with power. In the state where is turned off, there is an effect that the data is deleted as unnecessary data without performing a special operation.
以下実施例につき本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail with reference to examples.
図1は、本発明の一実施例における電子機器の要部を表わしたものである。電子機器100は、一例としては大型コンピュータにおける拡張記憶装置であるが、PDA(Personal Digital Assistant)のように小型で内部にバックアップ用の記憶装置を備えるものであってもよい。本実施例でバックアップとは、省電力を図ってデータを比較的長時間保存させ得るデータ保存形態をいう。
FIG. 1 shows a main part of an electronic device according to an embodiment of the present invention. The
電子機器100は、第1〜第3のモジュール101〜103からなるバックアップの対象となるプロセッサモジュール群104を備えている。ここで、第1のモジュール101は、第1のCPU105と第2のCPU106および第1のメモリ107を備えたマルチプロセッサのモジュールとしての構成となっている。第2のモジュール102は第3のCPU108と第2のメモリ109から構成されている。第3のモジュール103は第3のメモリ111のみから構成されている。
The
電子機器100には、このプロセッサモジュール群104に存在する第1のメモリ107、第2のメモリ109および第3のメモリ111のバックアップへの移行のタイミングを検知するバックアップ移行検知部113が備えられている。たとえばユーザが、この電子機器100をサスペンドモードに移行させるための図示しないスイッチを押したような場合には、バックアップへの移行のタイミングが検知される。
The
電子機器100には、更に、第1〜第3のメモリ107、109、111を含めたシステムの状態を診断する診断機構部114と、これらのメモリ107、109、111のデータを圧縮するメモリデータ圧縮機構部115と、バックアップ時に最小の消費電力のモジュール構成とするための最小消費電力モジュール構成選択機構部116と、これらのメモリ107、109、111に格納されたデータを必要に応じてこれらの一部に転送するデータ転送機構部117および電源管理機構部118が備えられている。
The
診断機構部114には、この電子機器100のプロセッサモジュール群104に対するバックアップ制御を行うCPU121と、バックアップ制御を行う制御プログラムを格納した磁気ディスク等の記憶媒体からなる制御プログラム格納部122が配置されている。診断機構部114のCPU121は、この電子機器100の全般の制御を兼用するものであってもよい。また、最小消費電力モジュール構成選択機構部116等のデータのバックアップに用いられるデバイスの少なくとも一部が、CPU121による制御プログラムの実行によってソフトウェアにより実現されるものであってもよい。
The
最小消費電力モジュール構成選択機構部116には、プロセッサモジュール群104のバックアップ時の電源制御を行う際に使用する情報を格納したバックアップ管理テーブル124が用意されている。最小消費電力モジュール構成選択機構部116は、第1〜第3のモジュール101〜103の消費電力を、電子機器100の通常運転時に予め判別する図示しない消費電力判別回路を備えており、バックアップモード移行時に消費電力が最小となるモジュールの構成を選択するようになっている。消費電力判別回路を備える代わりに、第1〜第3のモジュール101〜103の消費電力を前記したオペレータや保守管理者が予めセットするようにしてもよい。
The minimum power consumption module configuration
図2は、本実施例のバックアップ管理テーブルの要部を表わしたものである。バックアップ管理テーブル124には、第1〜第3のモジュール101〜103のそれぞれの消費電力と、第1のモジュール101における第1のメモリ107と、第2のモジュール102における第2のメモリ109と、第3のモジュール103における第3のメモリ111のそれぞれのメモリ容量が記されている。本実施例では、これらを「大」、「中」および「小」の3段階に分類してテーブル値として格納することにしているが、具体的な値が格納されるようになっていてもよい。
FIG. 2 shows the main part of the backup management table of this embodiment. The backup management table 124 includes the power consumption of each of the first to
図1におけるデータ転送機構部117は、最小消費電力モジュール構成選択機構部116に対してプロセッサモジュール群104におけるデータ転送を指示する回路部分である。最小消費電力モジュール構成選択機構部116は、図2に示したバックアップ管理テーブル124を参照して、第1〜第3のメモリ107、109、111におけるデータの転送形態を選択するようになっている。これは、第1〜第3のメモリ107、109、111の一部に全データを集めてバックアップを行うことで、消費電力の低減を図るためである。このようにバックアップ時にデータを一時的に第1〜第3のメモリ107、109、111の一部に集める場合、バックアップが終了したときにこれらは元の場所に返される。このため、転送の対象となるそれぞれのデータには、第1〜第3のメモリ107、109、111のどの位置に格納されていたかを示す位置情報が付与されるようになっている。
The data
メモリデータ圧縮機構部115は、第1〜第3のメモリ107、109、111の一部に全データを集めてバックアップを行う際に、データを圧縮する処理を行う。圧縮処理は必要に応じて行われるようになっていてもよい。また、それぞれのデータに圧縮を有効とするエリアであるか否かを示すエリア有効情報が付けられている場合には、圧縮を有効とするエリアのみを対象として圧縮するようにしてもよい。
The memory
なお、本実施例で圧縮を有効としないエリアとは、データが存在するのにそれをバックアップの対象としないとするエリアと、もともとデータが存在せずバックアップの対象とならないエリアの双方の意味がある。前者の場合には、第1〜第3のメモリ107、109、111が揮発性であれば、バックアップの対象としないデータは、後に説明するようにモジュールないの電源を遮断したときに消失することになる。したがって、保存の価値のないデータは圧縮を有効としない指標を付けておくことで、バックアップの際にこれらを自動的に削除する処理を行うことができる。
In this embodiment, the area where compression is not effective means both an area where data exists but is not subject to backup, and an area where data originally does not exist and is not subject to backup. is there. In the former case, if the first to
電源管理機構部118は、第1〜第3のモジュール101〜103のそれぞれの電力制御を行うようになっている。たとえば、圧縮処理の結果として第1〜第3のモジュール101〜103内の全データが第1のメモリ107にバックアップ用に一時的にまとめて格納されたとすると、電源管理機構部118はバックアップ時に第2および第3のモジュール102、103に対する電力供給をオフにすることで、全体的な消費電力の節減を図ることになる。
The power
図3は、本実施例の電子機器のバックアップ開始までの制御の様子を表わしたものである。図1および図2と共に説明を行う。 FIG. 3 shows the state of control up to the start of backup of the electronic apparatus of this embodiment. The description will be made with reference to FIGS.
診断機構部114は、バックアップ移行検知部113からバックアップに移行したことの検知信号が入力されるのを待機している(ステップS201)。バックアップに移行したことの検知信号が入力されると(Y)、メモリデータ圧縮機構部115に指示して第1〜第3のモジュール101〜103からそれらの第1〜第3のメモリ107、109、111に格納されたデータを順に読み出して、圧縮が有効なものについて圧縮し、これらにどのアドレスに存在していたかを示す位置情報を付記する(ステップS202)。たとえば圧縮データのそれぞれのヘッダ領域に位置情報の格納が行われる。
The
図4は、データの圧縮が行われる前の所定のモジュール内のメモリにおけるデータ格納部位の格納状態の一部を表わしたものである。メモリ領域130には、1つ1つのデータ格納領域1311、1312、……ごとに先頭位置にヘッダ領域132が設けられており、それに続いてデータ133が格納されている。データ格納領域1311、1312、……は、それぞれ固定長のバイト数の領域として構成されていてもよいし、任意のバイト数の領域として構成されていてもよい。
FIG. 4 shows a part of the storage state of the data storage part in the memory in the predetermined module before the data is compressed. In the
ヘッダ領域132には、メモリ領域131における位置を示す位置情報1341、1342、……と、圧縮が有効か無効かを示すエリア有効情報1351、1352、……が組み込まれるようになっている。位置情報1341、1342、……には、該当するメモリ領域131におけるアドレス情報だけでなく、図1に示した第1〜第3のモジュール101〜103のどれを構成するメモリに格納されているかを示す情報が含まれていてもよい。
In the
図5は、データの圧縮が行われた後の所定のモジュール内のメモリにおけるデータ格納部位の格納状態の一部を表わしたものである。メモリ領域131には、図4のヘッダ領域132のエリア有効情報135が「有効」とされたデータ格納領域1311、1313、……についての圧縮データ1371、1373、……がそれらの位置情報1341、1343、……をそれぞれの先頭に配置した形で格納されている。位置情報1341、1343、……は、圧縮データ1371、1373、……をそれぞれ復号したときに、図4に示した元の位置にデータが再格納されるようにするための情報である。
FIG. 5 shows a part of the storage state of the data storage part in the memory in the predetermined module after the data compression. In the
このようにして第1〜第3のモジュール101〜103におけるデータの圧縮処理が終了したら、最小消費電力モジュール構成選択機構部116は、圧縮後の第1〜第3のメモリ107、109、111のデータ量D1、D2およびD3の合計値を算出する(ステップS203)。この計算の際には、位置情報を示すデータの量も加算される。次に、図2に示したバックアップ管理テーブル124から第1〜第3のモジュール101〜103のそれぞれのメモリ容量(サイズ)C1、C2、C3を読み出す(ステップS204)。図1に示した例ではそれぞれのモジュール101〜103に1つずつメモリ107、109、111が配置されているが、仮にあるモジュールに複数のメモリが物理的に配置されている場合、そのメモリ容量は同一モジュール内のメモリのメモリ容量の合計値となる。
When the data compression processing in the first to
最小消費電力モジュール構成選択機構部116は、バックアップ管理テーブル124に示される最大容量のモジュールのメモリ容量が、圧縮後の第1〜第3のメモリ107、109、111のデータ量D1、D2およびD3の合計値よりも大きいかを判別する(ステップS205)。大きいと判別される場合には(Y)、圧縮後の第1〜第3のメモリ107、109、111の全データが最大容量のモジュールのメモリに格納できることになる。そこで、この場合には、これら第1〜第3のモジュール101〜103の全データを最大容量のモジュールのメモリに集結させることになる(ステップS206)。具体的には、バックアップ管理テーブル124を見ると第3のモジュール103のメモリ容量C3が最大である。そこで、第3のメモリ111に対してデータ転送機構部117は第1および第2のメモリ107、109の圧縮後のデータとこれらの位置情報を転送することになる。
The minimum power consumption module configuration
このようにして第1〜第3のモジュール101〜103の全データを1つのモジュールに集結したら、電源管理機構部118が不要モジュールの電源を一時的に遮断する(ステップS207)。本実施例の場合には、第3のメモリ111に第1〜第3のモジュール101〜103の全データが集結する。これにより第1および第2のモジュール101、102内にはバックアップの対象となるデータが存在しなくなる。そこで第1および第2のモジュール101、102が不要モジュールとなり、これらへの電源供給が遮断される。この後、データのバックアップが実行される(ステップS208)。
When all the data of the first to
次に、バックアップ管理テーブル124に示される最大容量のモジュールのメモリ容量が、圧縮後の第1〜第3のメモリ107、109、111のデータ量D1、D2およびD3の合計値以下であると判別された場合を説明する。この場合(ステップS205:N)、最小消費電力モジュール構成選択機構部116は、バックアップ管理テーブル124を参照して、メモリ容量の一番大きなモジュールと次に大きなモジュールのメモリ容量の合計値が、圧縮後の第1〜第3のメモリ107、109、111のデータ量D1、D2およびD3の合計値よりも大きいかを判別する(ステップS209)。
Next, the memory capacity of the module having the maximum capacity shown in the backup management table 124 is equal to or less than the total value of the data amounts D 1 , D 2 and D 3 of the first to
大きいと判別される場合には(Y)、圧縮後の第1〜第3のメモリ107、109、111の全データが最大容量と次に大きな容量のメモリに格納できることになる。そこで、この場合には、これら第1〜第3のモジュール101〜103の全データをこれら2つのモジュールのメモリに集結させることになる(ステップS210)。具体的には、バックアップ管理テーブル124を見ると第3のモジュール103のメモリ容量C3が最大であり、第2のモジュール102のメモリ容量C2がこれに続く。そこで、第2および第3のメモリ109、111に対してデータ転送機構部117は第1のメモリ107の圧縮後のデータとこれらの位置情報を転送することになる。
When it is determined that it is large (Y), all the data in the compressed first to
この後、ステップS207の処理が行われる。本実施例の場合には、第2および第3のメモリ109、111に第1〜第3のモジュール101〜103の全データが集結する。これにより第1のモジュール101内にはバックアップの対象となるデータが存在しなくなる。そこで第1のモジュール101が不要モジュールとなり、これへの電源供給が遮断される。この後、データのバックアップが実行される(ステップS208)。
Thereafter, the process of step S207 is performed. In the case of this embodiment, all data of the first to
ところで、メモリ容量の一番大きなモジュールと次に大きなモジュールのメモリ容量の合計値が、圧縮後の第1〜第3のメモリ107、109、111のデータ量D1、D2およびD3の合計値以下であると判別される場合がある(ステップS209:N)。第1〜第3のモジュール101〜103を備えるこの例では、少なくとも1つのモジュール内のデータを他のモジュールに全部転送することができない。そこで、この場合にはデータ転送機構部117がデータの転送を行うことなく、ステップS208に進んでバックアップ処理が開始することになる。
Incidentally, the sum of the memory capacities of the module having the largest memory capacity and the next largest module is the sum of the data amounts D 1 , D 2 and D 3 of the first to
もちろん、図1に示したプロセッサモジュール群104を構成するモジュールの数がたとえば4つの場合には、更に3つのモジュールに残りの1つのモジュールのデータをすべて転送できるかどうかの判別を行うことができる。このようにプロセッサモジュール群104を構成するモジュールの数が幾つかによって、図3に示したバックアップ開始までの処理の詳細を異ならせることができる。
Of course, when the number of modules constituting the
図6は、バックアップ終了時のデータの復帰処理の様子を表わしたものである。図1と共に説明する。バックアップが終了すると、バックアップ移行検知部113がバックアップの終了を診断機構部114に知らせるので、診断機構部114はこれを基にして電源管理機構部118にプロセッサモジュール群104を構成する全モジュール101〜103の一部が電源停止状態であるかどうかを問い合わせる(ステップS221)。第1〜第3のモジュール101〜103の一部がデータを全部排出した結果として電源を停止している場合があるからである。
FIG. 6 shows the state of data restoration processing at the end of backup. This will be described with reference to FIG. When the backup is completed, the backup
第1〜第3のモジュール101〜103の一部が電源を停止していたら(Y)、これらについても電源を投入させる(ステップS222)。そして、データ転送機構部117は、一部のモジュールに集結していた圧縮後のデータを、第1〜第3のモジュール101〜103の元の配置に戻す(ステップS223)。この後、メモリデータ圧縮機構部115が第1〜第3のモジュール101〜103のデータを復号化する(ステップS224)。なお、復号化を1つのモジュールで終了させた後に次のモジュールで開始するといった処理を行う場合、待機中のモジュールについてはデータの転送や復号化が行われるまで、その電源を停止状態にすることが可能である。
If some of the first to
それぞれのモジュール101〜103について復号化が終了したら、位置情報を基にしてそれぞれのデータを元の位置に配置して(ステップS225)、処理を終了させる。なお、圧縮後のデータが集結していたモジュール内で容量的にすべてのデータの復号化が可能であれば、これら1つまたは複数のモジュールで復号化処理を行い、その後に残りのモジュールの電源を投入して復号化後のデータをこれらのモジュールに転送するようにしてもよい。
When the decoding is completed for each of the
ステップS221で第1〜第3のモジュール101〜103の電源がすべて動作状態であった場合には(N)、モジュール間でバックアップのためのデータの転送が行われていない。そこでこの場合にはステップS224に進んで、それぞれのモジュール内でデータの復号化が行われ、位置情報に合わせてデータの配置が行われることになる(ステップS225)。
If all the power sources of the first to
以上説明した実施例では、モジュールに格納するデータのエリアに圧縮を有効とするエリアであるか否かを示すエリア有効情報を付けたので、バックアップを実行するごとに不要なデータを整理することができるという利点がある。 In the embodiment described above, area valid information indicating whether or not compression is valid is added to the data area stored in the module, so that unnecessary data can be organized every time backup is executed. There is an advantage that you can.
本発明では、図1に示したプロセッサモジュール群104の構成を変化させてバックアップ時の消費電力を全体的に軽減させることが特徴である。このため、本発明には各種の変形が可能である。そこで、このうちの代表的なものを示すことにする。
The present invention is characterized in that the power consumption during backup is reduced overall by changing the configuration of the
<発明の第1の変形例> <First Modification of Invention>
図7は、本発明の第1の変形例で電子機器のバックアップ開始までの制御の様子を表わしたものである。図1および図2と共に説明を行う。また、図3と同一部分には同一のステップ番号を付しており、これらの説明は適宜省略する。バックアップモードへの移行が検知されて、第1〜第3のモジュール101〜103内の第1〜第3のメモリ107、109、111のデータを圧縮し位置情報を付加すること(ステップS201、ステップS202)までは実施例と同じである。
FIG. 7 shows a state of control up to the start of backup of the electronic device in the first modification of the present invention. The description will be made with reference to FIGS. The same parts as those in FIG. 3 are denoted by the same step numbers, and description thereof will be omitted as appropriate. When the transition to the backup mode is detected, the data of the first to
その次のステップS301で最小消費電力モジュール構成選択機構部116は、第1〜第3のモジュール101〜103内の圧縮後のデータ量D1、D2およびD3を算出する(ステップS301)。そして、これらのモジュール101〜103内の残メモリ容量B1、B2およびB3を算出する(ステップS302)。そして、最大の残容量は、それの属するモジュール以外のモジュール同士のデータ量の和よりも大であるかの判別が行われる(ステップS303)。そして、そうであれば(Y)、最大の残容量のモジュールにそれ以外のモジュールのデータを転送する(ステップS304)。これ以後は、不要モジュールの電源が停止されて(ステップS207)、データのバックアップが行われることになる(ステップS208)。
In the next step S301, the minimum power consumption module configuration
次に、第1〜第3のモジュール101〜103における最大の残容量が、それの属するモジュール以外のモジュール同士のデータ量の和以下であると判別された場合について説明する。この場合には(ステップS303:N)、第1〜第3のモジュール101〜103における最大の残容量と次に大きな残容量の和がそれら以外のモジュールのデータ量よりも大きいかが判別される(ステップS305)。そうであれば(Y)、最大の残容量と次に大きな残容量のモジュールに、これら以外のモジュールのデータが転送される(ステップS306)。これ以降は、ステップS207に処理が進むことになる。
Next, a case where it is determined that the maximum remaining capacity in the first to
ステップS305で、第1〜第3のモジュール101〜103における最大の残容量と次に大きな残容量の和がそれら以外のモジュールのデータ量以下であると判別された場合には(N)、バックアップのために各モジュール101〜103間のデータ転送が行われない。そして、この状態でデータのバックアップが行われる(ステップS208)。
If it is determined in step S305 that the sum of the maximum remaining capacity and the next largest remaining capacity in the first to
以上説明したように、この第1の変形例では空き容量が一番存在するモジュールに他のモジュールのデータが集結可能であるかを判別するようにしている。そして、これが可能であればそのようなデータ転送を行うことになる。したがって、それぞれのモジュール101〜103の格納できるデータ容量に大差がないような場合には、空き容量の大きなモジュールにデータが転送されて、他のモジュールの省電力を図ることができる。
As described above, in the first modification, it is determined whether data of other modules can be collected in the module having the most free space. If this is possible, such data transfer is performed. Therefore, when there is no large difference in the data capacity that can be stored in each of the
<発明の第2の変形例> <Second Modification of Invention>
図8は、本発明の第2の変形例として、複数のモジュールの中から省電力の最も効果があるモジュールを選択する選択処理を表わしたものである。図1および図2と共に説明する。また、図8で図3と同一部分には同一のステップ番号を付している。 FIG. 8 shows a selection process for selecting a module having the most effective power saving among a plurality of modules as a second modification of the present invention. This will be described with reference to FIGS. In FIG. 8, the same steps as those in FIG. 3 are denoted by the same step numbers.
第1の変形例では、図1に示した最小消費電力モジュール構成選択機構部116が第1〜第3のモジュール101〜103の一部に、圧縮した後のデータを集結できるかどうかを判別する(ステップS321)。図1に示すプロセッサモジュール群104を構成するモジュールの数を減らしてバックアップ処理を行うことが不可能な場合には(N)、バックアップ用のデータの転送処理を行うことなく、データのバックアップが行われる(ステップS208)。
In the first modification, the minimum power consumption module
これに対して、プロセッサモジュール群104を構成するモジュールの数を減らしてバックアップが可能な場合には(ステップS321:Y)、このようなモジュールの全組み合わせを演算する(ステップS322)。そして、演算結果として複数の組み合わせが得られた場合には(ステップS323:Y)、バックアップ管理テーブル124における第1〜第3のモジュール101〜103の消費電力を参照して、モジュールの組み合わせごとに必要とするプロセッサモジュール群104の総消費電力を演算する(ステップS324)。この演算の前提となるのは、組み合わせから外したモジュールの電源供給は停止することである。
On the other hand, when the number of modules constituting the
このようにしてプロセッサモジュール群104全体として最小の総消費電力となるモジュールの組み合わせが決定される(ステップS325)。そして、データを集結するために選択されたモジュールにそれ以外のモジュールのデータが集結するようにデータ転送が実行される(ステップS326)。
なお、ステップS323でモジュールの組み合わせが単数であった場合には(N)、その組み合わせに対してステップS326のデータ転送が実行されることになる。
In this way, the combination of modules that provides the minimum total power consumption for the entire
If there is a single combination of modules in step S323 (N), the data transfer in step S326 is executed for that combination.
以上のようにして第1〜第3のモジュール101〜103の中の一部のモジュールからデータがなくなったら、実施例で説明したようにそのモジュールに対する電源の供給が停止される(ステップS207)。そしてバックアップが実行されることになる(ステップS208)。
As described above, when data disappears from some of the first to
<発明の第3の変形例> <Third Modification of the Invention>
図9は、本発明の第3の変形例におけるバックアップ開始までの処理の流れを示したものである。図1および図2と共に説明する。また、図9で図3と同一部分には同一のステップ番号を付している。 FIG. 9 shows the flow of processing up to the start of backup in the third modification of the present invention. This will be described with reference to FIGS. In FIG. 9, the same step numbers are assigned to the same portions as those in FIG.
この第3の変形例で診断機構部114は、バックアップ移行検知部113からバックアップに移行したことの検知信号が入力されるのを待機している(ステップS201)。バックアップに移行したことの検知信号が入力されると(Y)、最小消費電力モジュール構成選択機構部116は、圧縮を行っていない状態での第1〜第3のメモリ107、109、111のデータ量d1、d2およびd3の合計値を算出する(ステップS341)。次に、図2に示したバックアップ管理テーブル124から第1〜第3のモジュール101〜103のそれぞれのメモリ容量(サイズ)C1、C2、C3を読み出す(ステップS204)。図1に示した例ではそれぞれのモジュール101〜103に1つずつメモリ107、109、111が配置されているが、仮にあるモジュールに複数のメモリが物理的に配置されている場合、そのメモリ容量は同一モジュール内のメモリのメモリ容量の合計値となる。
In the third modified example, the
最小消費電力モジュール構成選択機構部116は、バックアップ管理テーブル124に示される最大容量のモジュールのメモリ容量が、第1〜第3のメモリ107、109、111の圧縮を行っていないデータ量d1、d2およびd3の合計値よりも大きいかを判別する(ステップS342)。大きいと判別される場合には(Y)、第1〜第3のメモリ107、109、111の全データが最大容量のモジュールのメモリに格納できることになる。そこで、この場合には、これら第1〜第3のモジュール101〜103の全データを最大容量のモジュールのメモリに集結させることになる(ステップS206)。具体的には、バックアップ管理テーブル124を見ると第3のモジュール103のメモリ容量C3が最大である。そこで、第3のメモリ111に対してデータ転送機構部117は第1および第2のメモリ107、109の圧縮を行っていないデータとこれらの位置情報を転送することになる。
The minimum power consumption module configuration selecting
このようにして第1〜第3のモジュール101〜103の全データを1つのモジュールに集結したら、電源管理機構部118が不要モジュールの電源を一時的に遮断する(ステップS207)。この例では第3のメモリ111に第1〜第3のモジュール101〜103の全データが集結する。これにより第1および第2のモジュール101、102内にはバックアップの対象となるデータが存在しなくなる。そこで第1および第2のモジュール101、102が不要モジュールとなり、これらへの電源供給が遮断される。この後、データのバックアップが実行される(ステップS208)。
When all the data of the first to
次に、バックアップ管理テーブル124に示される最大容量のモジュールのメモリ容量が、圧縮を行っていない第1〜第3のメモリ107、109、111のデータ量d1、d2およびd3の合計値以下であると判別された場合を説明する。この場合(ステップS342:N)、最小消費電力モジュール構成選択機構部116は、バックアップ管理テーブル124を参照して、メモリ容量の一番大きなモジュールと次に大きなモジュールのメモリ容量の合計値が、圧縮を行っていない第1〜第3のメモリ107、109、111のデータ量d1、d2およびd3の合計値よりも大きいかを判別する(ステップS343)。
Next, the memory capacity of the module having the maximum capacity shown in the backup management table 124 is the total value of the data amounts d 1 , d 2 and d 3 of the first to
大きいと判別される場合には(Y)、圧縮後の第1〜第3のメモリ107、109、111の全データが最大容量と次に大きな容量のメモリに格納できることになる。そこで、この場合には、これら第1〜第3のモジュール101〜103の全データをこれら2つのモジュールのメモリに集結させることになる(ステップS210)。具体的には、バックアップ管理テーブル124を見ると第3のモジュール103のメモリ容量C3が最大であり、第2のモジュール102のメモリ容量C2がこれに続く。そこで、第2および第3のメモリ109、111に対してデータ転送機構部117は第1のメモリ107の圧縮後のデータとこれらの位置情報を転送することになる。
When it is determined that it is large (Y), all the data in the compressed first to
この後、ステップS207の処理が行われる。この変形例の場合には、第2および第3のメモリ109、111に第1〜第3のモジュール101〜103の全データが集結する。これにより第1のモジュール101内にはバックアップの対象となるデータが存在しなくなる。そこで第1のモジュール101が不要モジュールとなり、これへの電源供給が遮断される。この後、データのバックアップが実行される(ステップS208)。
Thereafter, the process of step S207 is performed. In the case of this modification, all data of the first to
ところで、メモリ容量の一番大きなモジュールと次に大きなモジュールのメモリ容量の合計値が、圧縮を行っていない第1〜第3のメモリ107、109、111のデータ量d1、d2およびd3の合計値以下であると判別される場合がある(ステップS343:N)。第1〜第3のモジュール101〜103を備えるこの例では、少なくとも1つのモジュール内のデータを他のモジュールに全部転送することができない。そこで、この場合にはデータ転送機構部117が図3のステップS202以降で示したデータ圧縮による処理を実行することになる(ステップS344)。これについての説明は省略する。
Incidentally, the total value of the memory capacities of the module having the largest memory capacity and the next largest module is the data amount d 1 , d 2 and d 3 of the first to
100 電子機器
101 第1のモジュール
102 第2のモジュール
103 第3のモジュール
104 プロセッサモジュール群
105 第1のCPU
106 第2のCPU
107 第1のメモリ
108 第3のCPU
109 第2のメモリ
111 第3のメモリ
113 バックアップ移行検知部
114 診断機構部
115 メモリデータ圧縮機構部
116 最小消費電力モジュール構成選択機構部
117 データ転送機構部
118 電源管理機構部
121 CPU
122 制御プログラム格納部
124 バックアップ管理テーブル
DESCRIPTION OF
106 Second CPU
107 first memory 108 third CPU
109
122 Control
Claims (6)
これら複数のメモリモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に継続させるタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知手段と、
この保存継続開始タイミング検知手段が前記保存継続開始タイミングを検知したとき、前記エリア有効情報が圧縮を有効とするデータ格納領域のみを圧縮してこれに前記ヘッダ領域における位置情報を個別に付加して圧縮後データとする圧縮後データ作成手段と、
この圧縮後データ作成手段によって前記複数のメモリモジュールの全体について圧縮後データが作成されたときこれらのすべてを前記複数のメモリモジュールの中の一部のメモリモジュールに集結させるようにデータの再配置を行うデータ再配置手段と、
このデータ再配置手段ですべての圧縮後データが前記一部のメモリモジュールに集結した後、前記複数のメモリモジュールのうちの前記一部のメモリモジュール以外のメモリモジュールへの電源の供給を停止する電源停止手段と、
前記複数のメモリモジュール全体に対する電源供給の開始をバックアップの終了タイミングとして検知するバックアップ終了タイミング検知手段と、
このバックアップ終了タイミング検知手段がバックアップの終了を検知した後、前記電源停止手段で電源の供給を停止した前記一部のメモリモジュール以外のメモリモジュールに対して電源の供給を再開する電源供給再開手段と、
この電源供給再開手段の電源供給再開によって前記複数のメモリモジュールのすべてが電源の供給を行われるようになった時点で前記一部のメモリモジュールに集結した圧縮後データにおけるデータ格納領域の復号化と復号化したデータ格納領域のそれぞれをそれらに付加している位置情報の示す前記複数のメモリモジュールにおける元の位置への転送を行って前記データの再配置以前の状態に復帰させるデータ位置復帰手段
とを具備することを特徴とする電子機器。 Each data storage area for storing data has a header area at a predetermined position thereof, and these header areas are area valid information and data indicating whether or not compression is valid for data stored in the corresponding data storage area. A plurality of volatile memory modules each having position information indicating a storage position thereof , and
A storage continuation start timing detecting means for detecting the stored continuous start timing of the storage of data which is required conserved among the data stored in the plurality of memory modules as the timing to continue in unison,
When the storage continuation start timing detecting means detects the storage continuation start timing, the area valid information compresses only the data storage area for which the compression is valid, and the position information in the header area is individually added thereto. Means for creating post-compression data as post-compression data ;
When the post-compression data creation means creates post-compression data for the whole of the plurality of memory modules, the data is rearranged so that all of them are collected in some of the memory modules. Data relocation means to perform;
A power supply for stopping the supply of power to memory modules other than the some of the plurality of memory modules after all the compressed data is collected in the some memory modules by the data rearranging means Stop means;
Backup end timing detection means for detecting the start of power supply to the whole of the plurality of memory modules as a backup end timing;
Power supply restarting means for restarting power supply to memory modules other than the part of the memory modules whose power supply is stopped by the power supply stop means after the backup end timing detection means detects the end of backup; ,
Decoding of the data storage area in the compressed data concentrated in the part of the memory modules when all of the plurality of memory modules are supplied with power by restarting the power supply of the power supply restarting means; Data position return means for transferring each of the decrypted data storage areas to the original position in the plurality of memory modules indicated by the position information added thereto and returning to the state before the data relocation < An electronic device comprising:
これら複数のメモリモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に継続させるタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知処理と、
この保存継続開始タイミング検知処理で前記保存継続開始タイミングを検知したとき、前記エリア有効情報が圧縮を有効とするデータ格納領域のみを圧縮してこれに前記ヘッダ領域における位置情報を個別に付加して圧縮後データとする圧縮後データ作成処理と、
この圧縮後データ作成処理によって前記複数のメモリモジュールの全体について圧縮後データが作成されたときこれらのすべてを前記複数のメモリモジュールの中の一部のメモリモジュールに集結させるようにデータの再配置を行うデータ再配置処理と、
このデータ再配置処理ですべての圧縮後データが前記一部のメモリモジュールに集結した後、前記複数のメモリモジュールのうちの前記一部のメモリモジュール以外のメモリモジュールへの電源の供給を停止する電源停止処理と、
前記複数のメモリモジュール全体に対する電源供給の開始をバックアップの終了タイミングとして検知するバックアップ終了タイミング検知処理と、
このバックアップ終了タイミング検知処理でバックアップの終了を検知した後、前記電源停止処理で電源の供給を停止した前記一部のメモリモジュール以外のメモリモジュールに対して電源の供給を再開する電源供給再開処理と、
この電源供給再開処理による電源供給再開によって前記複数のメモリモジュールのすべてが電源の供給を行われるようになった時点で前記一部のメモリモジュールに集結した圧縮後データにおけるデータ格納領域の復号化と復号化したデータ格納領域のそれぞれをそれらに付加している位置情報の示す前記複数のメモリモジュールにおける元の位置への転送を行って前記データの再配置以前の状態に復帰させるデータ位置復帰処理
とを実行させることを特徴とする電子機器の電源制御プログラム。 Each data storage area for storing data has a header area at a predetermined position thereof, and these header areas are area valid information and data indicating whether or not compression is valid for data stored in the corresponding data storage area. In a CPU having a plurality of volatile memory modules each of which is written position information indicating the storage position of
A storage continuation start timing detection process for detecting a storage continuation start timing as a timing for continually saving data that needs to be saved among the data stored in the plurality of memory modules,
When the storage continuation start timing is detected in this storage continuation start timing detection process, the area valid information compresses only the data storage area for which compression is valid, and the position information in the header area is individually added thereto. Post-compression data creation processing as post-compression data ;
When post-compression data creation processing creates post-compression data for all of the plurality of memory modules, the data is rearranged so that all of them are collected in some of the memory modules. Data relocation processing to be performed,
A power supply for stopping the supply of power to memory modules other than the some of the plurality of memory modules after all the compressed data is collected in the some memory modules in the data rearrangement process Stop processing,
A backup end timing detection process for detecting a start of power supply to the whole of the plurality of memory modules as a backup end timing;
A power supply resumption process for resuming the supply of power to memory modules other than the part of the memory modules that has stopped supplying power in the power supply stop process after detecting the end of backup in the backup end timing detection process; ,
Decoding of the data storage area in the compressed data concentrated in the partial memory module when all of the plurality of memory modules are supplied with power by resuming power supply by the power supply restart process Data position return processing for transferring each of the decrypted data storage areas to the original position in the plurality of memory modules indicated by the position information added thereto and returning the data to the state before the relocation
And a power supply control program for an electronic device.
この保存継続開始タイミング検知ステップで前記保存継続開始タイミングを検知したとき、前記エリア有効情報が圧縮を有効とするデータ格納領域のみを圧縮してこれに前記ヘッダ領域における位置情報を個別に付加して圧縮後データとする圧縮後データ作成ステップと、
この圧縮後データ作成ステップによって前記複数のメモリモジュールの全体について圧縮後データが作成されたときこれらのすべてを前記複数のメモリモジュールの中の一部のメモリモジュールに集結させるようにデータの再配置を行うデータ再配置ステップと、
このデータ再配置ステップですべての圧縮後データが前記一部のメモリモジュールに集結した後、前記複数のメモリモジュールのうちの前記一部のメモリモジュール以外のメモリモジュールへの電源の供給を停止する電源停止ステップと、
前記複数のメモリモジュール全体に対する電源供給の開始をバックアップの終了タイミングとして検知するバックアップ終了タイミング検知ステップと、
このバックアップ終了タイミング検知ステップでバックアップの終了を検知した後、前記電源停止ステップで電源の供給を停止した前記一部のメモリモジュール以外のメモリモジュールに対して電源の供給を再開する電源供給再開ステップと、
この電源供給再開ステップによる電源供給再開によって前記複数のメモリモジュールのすべてが電源の供給を行われるようになった時点で前記一部のメモリモジュールに集結した圧縮後データにおけるデータ格納領域の復号化と復号化したデータ格納領域のそれぞれをそれらに付加している位置情報の示す前記複数のメモリモジュールにおける元の位置への転送を行って前記データの再配置以前の状態に復帰させるデータ位置復帰ステップ
とを実行させることを特徴とする電子機器の電源制御方法。 Each data storage area for storing data has a header area at a predetermined position thereof, and these header areas are area valid information and data indicating whether or not compression is valid for data stored in the corresponding data storage area. In an electronic device having a plurality of volatile memory modules each storing position information indicating the storage location of the data, all of the data stored in the plurality of memory modules is stored simultaneously. A storage continuation start timing detection step for detecting a storage continuation start timing as a timing to continue,
When the storage continuation start timing is detected in this storage continuation start timing detection step, the area valid information compresses only the data storage area for which compression is valid, and the position information in the header area is individually added thereto. A post-compression data creation step to be post-compression data ;
When the post-compression data creation step creates post-compression data for the whole of the plurality of memory modules, the data is rearranged so that all of them are collected in a part of the memory modules. A data relocation step to be performed;
A power supply for stopping the supply of power to memory modules other than the some memory modules of the plurality of memory modules after all the compressed data is collected in the some memory modules in the data rearrangement step A stop step;
A backup end timing detection step for detecting the start of power supply to the entire memory modules as a backup end timing;
A power supply restarting step for restarting power supply to memory modules other than the part of the memory modules that has stopped supplying power in the power supply stop step after detecting the end of backup in the backup end timing detection step; ,
Decoding the data storage area in the compressed data concentrated in the part of the memory modules when all of the plurality of memory modules are supplied with power by resuming power supply in the power supply resuming step; A data position return step of transferring each of the decrypted data storage areas to the original position in the plurality of memory modules indicated by the position information added to the data storage area and returning to the state before the data relocation
And a method for controlling the power supply of the electronic device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007053947A JP4910785B2 (en) | 2007-03-05 | 2007-03-05 | Electronic device, power control program for electronic device, and power control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007053947A JP4910785B2 (en) | 2007-03-05 | 2007-03-05 | Electronic device, power control program for electronic device, and power control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008217421A JP2008217421A (en) | 2008-09-18 |
JP4910785B2 true JP4910785B2 (en) | 2012-04-04 |
Family
ID=39837384
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007053947A Expired - Fee Related JP4910785B2 (en) | 2007-03-05 | 2007-03-05 | Electronic device, power control program for electronic device, and power control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4910785B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5636677B2 (en) * | 2009-01-20 | 2014-12-10 | 株式会社リコー | Electronic device, power saving control method thereof, and program |
JP4962921B2 (en) | 2009-08-26 | 2012-06-27 | 日本電気株式会社 | Computer memory relocation control method and program, and computer system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04260142A (en) * | 1991-02-15 | 1992-09-16 | Nec Corp | Disk file saving system |
JPH09212416A (en) * | 1995-11-30 | 1997-08-15 | Toshiba Corp | Computer system and its power managing method |
JPH11282587A (en) * | 1998-03-26 | 1999-10-15 | Canon Inc | Memory backup device |
JP4108283B2 (en) * | 2001-03-05 | 2008-06-25 | 株式会社リコー | Facsimile machine |
-
2007
- 2007-03-05 JP JP2007053947A patent/JP4910785B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008217421A (en) | 2008-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8009501B2 (en) | Storage apparatus and power saving method thereof | |
CN103959234A (en) | Fast platform hibernation and resumption for computing systems | |
US7971014B2 (en) | Information processing apparatus and data recovering method | |
US6473569B1 (en) | Camera and information processing apparatus | |
CN103870212A (en) | Mobile device and method of managing data using swap thereof | |
JP2011095916A (en) | Electronic apparatus | |
CN101796495A (en) | Memory device and file system | |
JP4717922B2 (en) | Information processing system, control method in information processing system, and management apparatus | |
JP4521038B2 (en) | Storage device, relay device, and operation state control method | |
WO2014008653A1 (en) | Method for switching a device between hibernat mode and wake-up | |
JP2007207014A (en) | Electronic device and collection method for maintenance information | |
US20120233451A1 (en) | Method for fast resuming computer system and computer system | |
JP4910785B2 (en) | Electronic device, power control program for electronic device, and power control method | |
JPH09330277A (en) | Service interruption processing system for disk cache system and method therefor | |
JP2005115720A (en) | Information processor and program for use in the same | |
US20070271311A1 (en) | Disk array device and data management method for managing master data and replication data replicated from master data | |
JP2008152339A (en) | Information processor and information processing method | |
JP5206103B2 (en) | Storage device, storage device control system, storage device control method, and program | |
JP2004252570A (en) | Disk array device, and image forming apparatus | |
CN101169754B (en) | Computer system and control method thereof | |
JP2007018417A (en) | Ata disk array device, and operation control method and operation control program for ata disk array device | |
JPH0566951A (en) | Computer system | |
JP4498091B2 (en) | Information processing device | |
JP3191282B2 (en) | Failure information data collection method | |
KR100970706B1 (en) | Method for entering and resuming suspend mode in portable computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100218 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110511 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110517 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110701 |
|
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: 20111220 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120102 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4910785 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150127 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |